@nldd/design-system 0.30.0 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/custom-elements.json +5 -5
  2. package/dist/cdn/autoloader.js +139 -139
  3. package/dist/cdn/chunks/{accordion-DgR70Lf-.js → accordion-BcgFdNtq.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-BDevWF9t.js → accordion-item-DIoa4wMw.js} +6 -6
  5. package/dist/cdn/chunks/{activity-indicator-B-iqA8XF.js → activity-indicator-BmpMwyBH.js} +7 -7
  6. package/dist/cdn/chunks/{admonition-PKX7ePb3.js → admonition-DUsuT-qK.js} +6 -6
  7. package/dist/cdn/chunks/{avatar-Bm_cbn5X.js → avatar-BFnVbTB9.js} +8 -8
  8. package/dist/cdn/chunks/{avatar-group-5XxwtbbC.js → avatar-group-BDgLxUn9.js} +16 -16
  9. package/dist/cdn/chunks/{badge-CpxDQfHS.js → badge-CAN4lWcI.js} +7 -7
  10. package/dist/cdn/chunks/{banner-Ccc9LgDk.js → banner-BncAmkYl.js} +9 -9
  11. package/dist/cdn/chunks/{bar-split-view-0yxggCZe.js → bar-split-view-hlmRlFit.js} +6 -6
  12. package/dist/cdn/chunks/{blockquote-CmbDjlPB.js → blockquote-DUAwVT6v.js} +6 -6
  13. package/dist/cdn/chunks/{box-DQjgR2YI.js → box-CasAZ5pk.js} +4 -4
  14. package/dist/cdn/chunks/{breadcrumbs-C8yzb9pA.js → breadcrumbs-DBHmoFPu.js} +7 -7
  15. package/dist/cdn/chunks/{button-D_KfPyHS.js → button-IRm7Oibq.js} +12 -12
  16. package/dist/cdn/chunks/{button-bar-f-qcw_zA.js → button-bar-CocGraYA.js} +5 -5
  17. package/dist/cdn/chunks/{button-group-Dq3q44jB.js → button-group-BfNf2BZe.js} +4 -4
  18. package/dist/cdn/chunks/{card-CDT7nkKG.js → card-BaomP9oB.js} +5 -5
  19. package/dist/cdn/chunks/{cell-B7ksoCyd.js → cell-Dir3g5vA.js} +8 -8
  20. package/dist/cdn/chunks/{checkbox-CUReiYVg.js → checkbox-CIXkUW3R.js} +7 -7
  21. package/dist/cdn/chunks/{checkbox-field-CkQ8WLSq.js → checkbox-field-DQ4MlASP.js} +9 -9
  22. package/dist/cdn/chunks/{checkbox-group-BpDzGuFk.js → checkbox-group-C8E46V4D.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-BQWXee9F.js → class-map-D0fkDSLP.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-CwLcukqn.js → code-editor-C8YqZrN-.js} +6 -6
  25. package/dist/cdn/chunks/{code-viewer-CvSF5fyg.js → code-viewer-Ck7wxfDo.js} +10 -10
  26. package/dist/cdn/chunks/{codemirror-input-CcaHTu9u.js → codemirror-input-DNrSyYSw.js} +142 -143
  27. package/dist/cdn/chunks/{collection-DqqkdrVS.js → collection-DprNdn8V.js} +9 -9
  28. package/dist/cdn/chunks/{combo-box-BQ9jS1fP.js → combo-box-B2L79FY5.js} +10 -10
  29. package/dist/cdn/chunks/{container-BC5PiMvR.js → container-Cg4kOUN8.js} +5 -5
  30. package/dist/cdn/chunks/{custom-element-DGdiDiuN.js → custom-element-CDepWGgp.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-Dmli_GlI.js → date-field-Dsw2EkcZ.js} +13 -13
  32. package/dist/cdn/chunks/{date-picker-BCHBh6vd.js → date-picker-ugS3-VBq.js} +13 -13
  33. package/dist/cdn/chunks/{decorate-D2snH_th.js → decorate-CuJsiFnl.js} +10 -12
  34. package/dist/cdn/chunks/{described-by-mixin-Doan1yj6.js → described-by-mixin-Ih_IoqBD.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-QL0CUcxH.js → description-cell-DiLwKDva.js} +8 -8
  36. package/dist/cdn/chunks/{dev-checks-BQsZ10CZ.js → dev-checks-Bfy3qHxO.js} +2 -2
  37. package/dist/cdn/chunks/{directive-helpers-BtIbEaBv.js → directive-helpers-DEvA8txp.js} +1 -1
  38. package/dist/cdn/chunks/{dist-Dtn2rsM6.js → dist-BEZuPWxd.js} +78 -79
  39. package/dist/cdn/chunks/{dist-CUCs0edm.js → dist-BFGGXlGI.js} +113 -114
  40. package/dist/cdn/chunks/{dist-DM49yEzE.js → dist-BYPfq6x4.js} +5 -6
  41. package/dist/cdn/chunks/{dist-CeovKDYB.js → dist-C8wDJyDH.js} +69 -70
  42. package/dist/cdn/chunks/{dist-0sEOO4c9.js → dist-CUXioD4z.js} +296 -297
  43. package/dist/cdn/chunks/{dist-BTUxFM2V.js → dist-Cr0OiT-0.js} +1 -1
  44. package/dist/cdn/chunks/{dist-QheJD595.js → dist-CrMq7oqC.js} +2 -2
  45. package/dist/cdn/chunks/{dist-BX-aE56q.js → dist-DPnEBzju.js} +44 -45
  46. package/dist/cdn/chunks/{dist-CoM5yDHD.js → dist-Djmp37M0.js} +54 -55
  47. package/dist/cdn/chunks/{dist-Dj0pXI2B.js → dist-DsQS8bTi.js} +33 -34
  48. package/dist/cdn/chunks/{dist-CJ-hLN4o.js → dist-UpdpX10o.js} +88 -89
  49. package/dist/cdn/chunks/{dist-DizTxYTi.js → dist-cg8p9qPS.js} +17 -18
  50. package/dist/cdn/chunks/{dist-3C80SZN9.js → dist-s2b8iJ30.js} +82 -83
  51. package/dist/cdn/chunks/{divider-D8o0JPE2.js → divider-DeLH4QwC.js} +2 -2
  52. package/dist/cdn/chunks/{document-tab-bar-BX6UhFBl.js → document-tab-bar-bOkWFMdJ.js} +10 -10
  53. package/dist/cdn/chunks/{dropdown-afozwXVW.js → dropdown-C1NBctuB.js} +6 -6
  54. package/dist/cdn/chunks/{file-field-BKhUYcHf.js → file-field-DFjBl7rn.js} +16 -16
  55. package/dist/cdn/chunks/{floating-ui.dom-CB34tcZx.js → floating-ui.dom-DlsknQ4T.js} +3 -3
  56. package/dist/cdn/chunks/{form-actions-Ddg9vIVq.js → form-actions-DcsN5H-J.js} +2 -2
  57. package/dist/cdn/chunks/{form-associated-mixin-BMQQpMlL.js → form-associated-mixin-YG9BXK0j.js} +2 -2
  58. package/dist/cdn/chunks/{form-field-DDBYuAl_.js → form-field-BWtox2o0.js} +17 -8
  59. package/dist/cdn/chunks/{form-DnZIiX9b.js → form-mkjbjprY.js} +1 -1
  60. package/dist/cdn/chunks/{form-section-Co0TM35-.js → form-section-CLuotkhm.js} +3 -3
  61. package/dist/cdn/chunks/{full-bleed-section-DD8ibmsa.js → full-bleed-section-CZfvZFDs.js} +4 -4
  62. package/dist/cdn/chunks/{hero-BYrY2MZc.js → hero-C_x5gAKl.js} +5 -5
  63. package/dist/cdn/chunks/{icon-BzeHXcdi.js → icon-CeybqndL.js} +4 -4
  64. package/dist/cdn/chunks/{icon-button-BErQf42w.js → icon-button-BLe-iiU5.js} +12 -12
  65. package/dist/cdn/chunks/{icon-cell-DGIMXKxK.js → icon-cell-DUBctf2q.js} +8 -7
  66. package/dist/cdn/chunks/{identity-Cq-WnU6u.js → identity-C4FW2LCv.js} +10 -10
  67. package/dist/cdn/chunks/{if-defined-CuY6t6gH.js → if-defined-DwzUaXrb.js} +1 -1
  68. package/dist/cdn/chunks/{image-BjjyqV0V.js → image-7aQSrryL.js} +10 -10
  69. package/dist/cdn/chunks/{inline-dialog-Bk2G7f5r.js → inline-dialog-B9o9ckxL.js} +10 -10
  70. package/dist/cdn/chunks/{just-in-time-education-Dxh5DNCy.js → just-in-time-education-C-3THmVJ.js} +7 -7
  71. package/dist/cdn/chunks/{kanban-BvmtB9D9.js → kanban-BemPSLk8.js} +7 -7
  72. package/dist/cdn/chunks/{kanban-column-CJ2g7pgA.js → kanban-column-CYZjUBUd.js} +38 -37
  73. package/dist/cdn/chunks/{keyboard-shortcut-BV5DFQtT.js → keyboard-shortcut-BK35aEeR.js} +5 -5
  74. package/dist/cdn/chunks/{languages-DJjHEjGl.js → languages-CT6Im_c5.js} +3475 -1841
  75. package/dist/cdn/chunks/{link-BcukwT5Y.js → link-Lbw4Ut52.js} +7 -7
  76. package/dist/cdn/chunks/{link-group-Ci1q3uEd.js → link-group-B1XXP70E.js} +3 -3
  77. package/dist/cdn/chunks/{list-CFFHWUSC.js → list-D2vWEpYC.js} +11 -11
  78. package/dist/cdn/chunks/{list-item-Bg1NyOXd.js → list-item-Y0wOQqRa.js} +7 -7
  79. package/dist/cdn/chunks/{list-item-segment-DJ8pk08-.js → list-item-segment-BamNSRcL.js} +5 -5
  80. package/dist/cdn/chunks/{menu-BEjqhn1-.js → menu-Cvwt6mA5.js} +13 -13
  81. package/dist/cdn/chunks/{menu-bar-DkjXy-TE.js → menu-bar-D9Etcq_r.js} +7 -7
  82. package/dist/cdn/chunks/{menu-bar-item-3cJS29Ey.js → menu-bar-item-BUVqi3o-.js} +7 -7
  83. package/dist/cdn/chunks/{menu-divider-CYmEimsb.js → menu-divider-BqRMxjF3.js} +4 -4
  84. package/dist/cdn/chunks/{menu-group-ggwAcgis.js → menu-group-BSnRGQgm.js} +6 -6
  85. package/dist/cdn/chunks/{menu-item-BzH9H87h.js → menu-item-UQoejlK0.js} +6 -6
  86. package/dist/cdn/chunks/{menu.template-PG82-P20.js → menu.template-CewvJO-Y.js} +10 -7
  87. package/dist/cdn/chunks/{modal-dialog-Bu7ETELf.js → modal-dialog-C6XUoI95.js} +5 -5
  88. package/dist/cdn/chunks/{multi-line-text-field-CQTKNBN7.js → multi-line-text-field-4Vn5Nrjo.js} +7 -7
  89. package/dist/cdn/chunks/{navigation-split-view-elMoUjHh.js → navigation-split-view-BEwcAHWu.js} +5 -5
  90. package/dist/cdn/chunks/{nl.generated-Lu29XEF3.js → nl.generated-CrkPlg69.js} +1 -1
  91. package/dist/cdn/chunks/{notification-DCjXGfbY.js → notification-DxsARz6U.js} +8 -8
  92. package/dist/cdn/chunks/{number-field-BUQUcG--.js → number-field-wFK_taVU.js} +10 -10
  93. package/dist/cdn/chunks/{one-half-one-half-section-DiGkeUVr.js → one-half-one-half-section-CyedWMlH.js} +4 -4
  94. package/dist/cdn/chunks/{one-third-two-thirds-section-q_AP4qIJ.js → one-third-two-thirds-section-LRJlzoAZ.js} +4 -4
  95. package/dist/cdn/chunks/{one-time-code-field-BybS_l6h.js → one-time-code-field-BYQfRePV.js} +9 -9
  96. package/dist/cdn/chunks/{overflow-menu-Duey_XJs.js → overflow-menu-BdEHECvL.js} +1 -1
  97. package/dist/cdn/chunks/{page-BrIeWp1b.js → page-DpGgV58g.js} +7 -7
  98. package/dist/cdn/chunks/{page-footer-DPQg9Qbw.js → page-footer-DxaWwS8U.js} +6 -6
  99. package/dist/cdn/chunks/{page-section-mixin-B8FbeXaK.js → page-section-mixin-DigQhtVE.js} +4 -4
  100. package/dist/cdn/chunks/{pagination-CfLJwflH.js → pagination-Ch0EdxDX.js} +8 -8
  101. package/dist/cdn/chunks/{password-field-CmoopbNF.js → password-field-Dm8ah1v8.js} +10 -10
  102. package/dist/cdn/chunks/{popover-CPAR4N_a.js → popover-Bhr3Nbst.js} +9 -9
  103. package/dist/cdn/chunks/{progress-bar-vKGXvxfe.js → progress-bar-BBpNc1Wm.js} +9 -9
  104. package/dist/cdn/chunks/{progress-circle-dweisHzt.js → progress-circle-DfbawfeQ.js} +9 -9
  105. package/dist/cdn/chunks/{radio-button-DE1K49_2.js → radio-button-D_KTcIAN.js} +6 -6
  106. package/dist/cdn/chunks/{radio-button-field-DCrWiVoA.js → radio-button-field-H_NQqcZp.js} +8 -8
  107. package/dist/cdn/chunks/{radio-button-group-oLP_1cGy.js → radio-button-group-kbaWn4YY.js} +3 -3
  108. package/dist/cdn/chunks/{reflect-non-default-Bu3rpCvg.js → reflect-non-default-DUOcGZKf.js} +1 -1
  109. package/dist/cdn/chunks/{render-marked-BE3kBc1D.js → render-marked-DnJwRVpy.js} +1 -1
  110. package/dist/cdn/chunks/{reorder-handle-cell-COCN6knt.js → reorder-handle-cell-BI4CugME.js} +5 -5
  111. package/dist/cdn/chunks/{reorder-handle-mixin-CG-KhmuT.js → reorder-handle-mixin-LPcbGhhD.js} +2 -2
  112. package/dist/cdn/chunks/{repeat-D69H_dsv.js → repeat-BBqtniIo.js} +2 -2
  113. package/dist/cdn/chunks/{rich-text-jEyIU58i.js → rich-text-xlU1NiF6.js} +4 -4
  114. package/dist/cdn/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
  115. package/dist/cdn/chunks/{row-header-mixin-BejxhOCs.js → row-header-mixin-CyqWb67i.js} +2 -2
  116. package/dist/cdn/chunks/{scroll-fade-Cae9xqXr.js → scroll-fade-CTn6QJuM.js} +2 -2
  117. package/dist/cdn/chunks/{search-field-B8woxFh-.js → search-field-OpYujGwS.js} +11 -11
  118. package/dist/cdn/chunks/{segmented-control-DbOi6Wk6.js → segmented-control-8NtY_sU6.js} +8 -8
  119. package/dist/cdn/chunks/{shadow-resets-CNmJbdJw.js → shadow-resets-CtbMaZlz.js} +2 -2
  120. package/dist/cdn/chunks/{sheet-bK663_K4.js → sheet-C_biEFcb.js} +4 -4
  121. package/dist/cdn/chunks/{shell-DLu1fHOH.js → shell-OXRr3zFb.js} +4 -4
  122. package/dist/cdn/chunks/{side-by-side-split-view-vNhUmTiE.js → side-by-side-split-view-DVXrHULp.js} +6 -6
  123. package/dist/cdn/chunks/{sidebar-section-CoE5F_h5.js → sidebar-section-DYa_6OWF.js} +9 -9
  124. package/dist/cdn/chunks/{simple-section-1v7a_ZgI.js → simple-section-CGUSyUAl.js} +4 -4
  125. package/dist/cdn/chunks/{skip-link-C6B6mMkA.js → skip-link-Dl2ouKZk.js} +6 -6
  126. package/dist/cdn/chunks/{slider-BT-q6SP2.js → slider-Do-LOJNR.js} +10 -10
  127. package/dist/cdn/chunks/{spacer-DlFn3NtV.js → spacer-BgHrBz2X.js} +4 -4
  128. package/dist/cdn/chunks/{spacer-cell-Dy_twSDQ.js → spacer-cell-CiQ8Ufpp.js} +6 -6
  129. package/dist/cdn/chunks/{split-button-URHM5eTx.js → split-button-Sd_-qYSD.js} +8 -8
  130. package/dist/cdn/chunks/{split-view-divider-DeLyeDBx.js → split-view-divider-D1TzV2VR.js} +4 -4
  131. package/dist/cdn/chunks/{stacked-split-view-D0kiQJmL.js → stacked-split-view-Ctlqwe0S.js} +6 -6
  132. package/dist/cdn/chunks/{static-html-CAKb1-Ht.js → static-html-C8oeEnJZ.js} +1 -1
  133. package/dist/cdn/chunks/{status-bar-Bov-LrPy.js → status-bar-u2SmYnKZ.js} +14 -6
  134. package/dist/cdn/chunks/{step-bar-BLtsl_S_.js → step-bar-BA852p33.js} +7 -7
  135. package/dist/cdn/chunks/{step-cell-cxM7vhtH.js → step-cell-DF9xadrF.js} +6 -6
  136. package/dist/cdn/chunks/{stepper-DeIcLT7G.js → stepper-dRpkKCse.js} +9 -9
  137. package/dist/cdn/chunks/{style-map-CQX4CmTz.js → style-map-eCE91iAi.js} +1 -1
  138. package/dist/cdn/chunks/{swatch-picker-A7AU6Agu.js → swatch-picker-Bjv3Yyk1.js} +7 -7
  139. package/dist/cdn/chunks/{switch-D0UPsKws.js → switch-DJBzXPfD.js} +7 -7
  140. package/dist/cdn/chunks/{switch-field-D63lc5C0.js → switch-field-uMAxSz6L.js} +8 -8
  141. package/dist/cdn/chunks/{tab-bar-CzGSRfKd.js → tab-bar-DLHqLs6Y.js} +21 -17
  142. package/dist/cdn/chunks/tab-bar.i18n-9sChoP56.js +6 -0
  143. package/dist/cdn/chunks/{table-DfunY2Dn.js → table-BLvkO5AG.js} +6 -6
  144. package/dist/cdn/chunks/{tag-DSWjjDBo.js → tag-DYhl2u2I.js} +6 -6
  145. package/dist/cdn/chunks/{term-Bk9cdlCz.js → term-D79d-lz3.js} +12 -12
  146. package/dist/cdn/chunks/{text-cell-DUOJAXZo.js → text-cell-BbVoThab.js} +11 -11
  147. package/dist/cdn/chunks/{text-editor-BIbYF0AB.js → text-editor-dZhei5Gg.js} +13 -13
  148. package/dist/cdn/chunks/{text-field-CAnQNcXB.js → text-field-DmKGVJvm.js} +7 -7
  149. package/dist/cdn/chunks/{text-CDBiVulh.js → text-kRZ3cyId.js} +5 -5
  150. package/dist/cdn/chunks/{text-wrap-COu7AY91.js → text-wrap-C6QQbSuj.js} +2 -2
  151. package/dist/cdn/chunks/{time-field-xriXgFMl.js → time-field-BXVxhV80.js} +15 -15
  152. package/dist/cdn/chunks/{time-picker-D3_KbYUW.js → time-picker-BjJfPmir.js} +9 -9
  153. package/dist/cdn/chunks/{title-HPn4c-s5.js → title-DsOLSMHj.js} +6 -6
  154. package/dist/cdn/chunks/{title-cell-BXMZkbXf.js → title-cell-DXcur6Eb.js} +10 -10
  155. package/dist/cdn/chunks/{toggle-button-DY22KEwY.js → toggle-button-7fasRpr1.js} +10 -10
  156. package/dist/cdn/chunks/{toggle-button-group-DsjZofEG.js → toggle-button-group-B9No_FIj.js} +3 -3
  157. package/dist/cdn/chunks/{token-DwT2i71b.js → token-BYCl-dDP.js} +7 -7
  158. package/dist/cdn/chunks/{token-field-CQxSARGi.js → token-field-C9fGsIxB.js} +11 -11
  159. package/dist/cdn/chunks/{toolbar-CaDvhCqm.js → toolbar-CBs6yMNd.js} +10 -10
  160. package/dist/cdn/chunks/{toolbar-item-BDl4ys-w.js → toolbar-item-DYVo5I60.js} +5 -8
  161. package/dist/cdn/chunks/{toolbar-title-yGR8Hzhp.js → toolbar-title-Bu5PbFPP.js} +5 -5
  162. package/dist/cdn/chunks/{toolbar.styles-DlyfZkRq.js → toolbar.styles-BUS-XIdr.js} +4 -3
  163. package/dist/cdn/chunks/{tooltip-BDiYghAz.js → tooltip-yXDfEbZ1.js} +8 -8
  164. package/dist/cdn/chunks/{top-navigation-bar-ibsjezN_.js → top-navigation-bar-DW6xYKY0.js} +19 -19
  165. package/dist/cdn/chunks/{top-title-bar-BKdwEZfj.js → top-title-bar-Fk4jzs8I.js} +12 -9
  166. package/dist/cdn/chunks/{two-thirds-one-third-section-DmumCsGo.js → two-thirds-one-third-section-B9a1YYXm.js} +4 -4
  167. package/dist/cdn/chunks/{validation-list-CXcJfvOJ.js → validation-list-BAyP6Ccd.js} +5 -5
  168. package/dist/cdn/chunks/{visibility-mixin-C7s59UlL.js → visibility-mixin-9Nr_J68Z.js} +2 -2
  169. package/dist/cdn/chunks/{visually-hidden-CMzKHcSc.js → visually-hidden-BN6jVrRE.js} +2 -2
  170. package/dist/cdn/chunks/{window-CSNx5wt1.js → window-D4rLzdHo.js} +5 -5
  171. package/dist/cdn/chunks/{with-translations-0oyNXfdD.js → with-translations-RkK-Bq8M.js} +3 -3
  172. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  173. package/dist/components/actions/menu/menu.styles.js +4 -1
  174. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  175. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  176. package/dist/components/actions/toolbar/toolbar-item.js +1 -7
  177. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  178. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  179. package/dist/components/actions/toolbar/toolbar.styles.js +1 -0
  180. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  181. package/dist/components/content/identity/identity.d.ts +6 -0
  182. package/dist/components/content/identity/identity.d.ts.map +1 -1
  183. package/dist/components/content/identity/identity.js +6 -0
  184. package/dist/components/content/identity/identity.js.map +1 -1
  185. package/dist/components/content/identity/identity.styles.js +2 -2
  186. package/dist/components/content/rich-text/rich-text.d.ts +8 -8
  187. package/dist/components/content/rich-text/rich-text.js +8 -8
  188. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  189. package/dist/components/forms/form-field/form-field.styles.js +9 -0
  190. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  191. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -0
  192. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  193. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -0
  194. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  195. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  196. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +2 -1
  197. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  198. package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -0
  199. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  200. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts +1 -0
  201. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts.map +1 -1
  202. package/dist/components/navigation/tab-bar/tab-bar.i18n.js +1 -0
  203. package/dist/components/navigation/tab-bar/tab-bar.i18n.js.map +1 -1
  204. package/dist/components/navigation/tab-bar/tab-bar.js +16 -0
  205. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  206. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  207. package/dist/components/navigation/tab-bar/tab-bar.template.js +3 -2
  208. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  209. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  210. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  211. package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -1
  212. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  213. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -6
  214. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  215. package/dist/components/status-and-feedback/status-bar/status-bar.js +28 -7
  216. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  217. package/dist/css/rich-text.css +5 -0
  218. package/dist/nldd.min.js +1711 -1696
  219. package/dist/translations/en-US.d.ts.map +1 -1
  220. package/dist/translations/en-US.js +1 -0
  221. package/dist/translations/en-US.js.map +1 -1
  222. package/dist/translations/fy.d.ts.map +1 -1
  223. package/dist/translations/fy.js +1 -0
  224. package/dist/translations/fy.js.map +1 -1
  225. package/dist/translations/nl.generated.d.ts +1 -0
  226. package/dist/translations/nl.generated.d.ts.map +1 -1
  227. package/dist/translations/pap-AW.d.ts.map +1 -1
  228. package/dist/translations/pap-AW.js +1 -0
  229. package/dist/translations/pap-AW.js.map +1 -1
  230. package/dist/translations/pap-CW.d.ts.map +1 -1
  231. package/dist/translations/pap-CW.js +1 -0
  232. package/dist/translations/pap-CW.js.map +1 -1
  233. package/dist/types/react.d.ts +4 -4
  234. package/dist/types/vue.d.ts +4 -4
  235. package/dist/utilities/dev-rules.generated.js +1 -1
  236. package/dist/utilities/dev-rules.generated.js.map +1 -1
  237. package/dist/utilities/reflect-non-default.d.ts +2 -1
  238. package/dist/utilities/reflect-non-default.d.ts.map +1 -1
  239. package/dist/utilities/reflect-non-default.js +3 -2
  240. package/dist/utilities/reflect-non-default.js.map +1 -1
  241. package/lint/data.generated.json +1 -1
  242. package/package.json +6 -6
  243. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +0 -1583
  244. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +0 -3
@@ -1,33 +1,32 @@
1
- import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { $ as t, H as n, O as r, S as i, T as a, c as o, d as s, et as c, j as l, l as u, m as d, mt as f, rt as p, u as m, v as h, w as g, y as ee } from "./languages-DJjHEjGl.js";
3
- import { t as te } from "./dist-QheJD595.js";
4
- import { d as _, g as ne, i as re, l as v, m as y, n as ie, o as b, p as ae, u as oe } from "./style-mod-DGMhzWuk.js";
5
- import { n as se, r as ce } from "./dist-CeovKDYB.js";
1
+ import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
2
+ import { $ as t, Ct as n, Dt as r, Et as i, H as a, O as o, Ot as s, S as c, St as l, T as u, _t as d, c as f, d as p, et as m, j as h, l as ee, m as te, mt as g, rt as ne, u as re, v as ie, vt as _, w as ae, wt as v, y as oe, yt as y } from "./languages-CT6Im_c5.js";
3
+ import { t as se } from "./dist-CrMq7oqC.js";
4
+ import { n as ce, r as le } from "./dist-C8wDJyDH.js";
6
5
  // node_modules/@lezer/markdown/dist/index.js
7
- var le = class e {
6
+ var ue = class e {
8
7
  static create(t, n, r, i, a) {
9
8
  let o = i + (i << 8) + t + (n << 4) | 0;
10
9
  return new e(t, n, r, o, a, [], []);
11
10
  }
12
11
  constructor(e, t, n, r, i, a, o) {
13
- this.type = e, this.value = t, this.from = n, this.hash = r, this.end = i, this.children = a, this.positions = o, this.hashProp = [[v.contextHash, r]];
12
+ this.type = e, this.value = t, this.from = n, this.hash = r, this.end = i, this.children = a, this.positions = o, this.hashProp = [[l.contextHash, r]];
14
13
  }
15
14
  addChild(e, t) {
16
- e.prop(v.contextHash) != this.hash && (e = new y(e.type, e.children, e.positions, e.length, this.hashProp)), this.children.push(e), this.positions.push(t);
15
+ e.prop(l.contextHash) != this.hash && (e = new r(e.type, e.children, e.positions, e.length, this.hashProp)), this.children.push(e), this.positions.push(t);
17
16
  }
18
17
  toTree(e, t = this.end) {
19
18
  let n = this.children.length - 1;
20
- return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new y(e.types[this.type], this.children, this.positions, t - this.from).balance({ makeTree: (e, t, n) => new y(_.none, e, t, n, this.hashProp) });
19
+ return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new r(e.types[this.type], this.children, this.positions, t - this.from).balance({ makeTree: (e, t, n) => new r(v.none, e, t, n, this.hashProp) });
21
20
  }
22
- }, x;
21
+ }, b;
23
22
  (function(e) {
24
23
  e[e.Document = 1] = "Document", e[e.CodeBlock = 2] = "CodeBlock", e[e.FencedCode = 3] = "FencedCode", e[e.Blockquote = 4] = "Blockquote", e[e.HorizontalRule = 5] = "HorizontalRule", e[e.BulletList = 6] = "BulletList", e[e.OrderedList = 7] = "OrderedList", e[e.ListItem = 8] = "ListItem", e[e.ATXHeading1 = 9] = "ATXHeading1", e[e.ATXHeading2 = 10] = "ATXHeading2", e[e.ATXHeading3 = 11] = "ATXHeading3", e[e.ATXHeading4 = 12] = "ATXHeading4", e[e.ATXHeading5 = 13] = "ATXHeading5", e[e.ATXHeading6 = 14] = "ATXHeading6", e[e.SetextHeading1 = 15] = "SetextHeading1", e[e.SetextHeading2 = 16] = "SetextHeading2", e[e.HTMLBlock = 17] = "HTMLBlock", e[e.LinkReference = 18] = "LinkReference", e[e.Paragraph = 19] = "Paragraph", e[e.CommentBlock = 20] = "CommentBlock", e[e.ProcessingInstructionBlock = 21] = "ProcessingInstructionBlock", e[e.Escape = 22] = "Escape", e[e.Entity = 23] = "Entity", e[e.HardBreak = 24] = "HardBreak", e[e.Emphasis = 25] = "Emphasis", e[e.StrongEmphasis = 26] = "StrongEmphasis", e[e.Link = 27] = "Link", e[e.Image = 28] = "Image", e[e.InlineCode = 29] = "InlineCode", e[e.HTMLTag = 30] = "HTMLTag", e[e.Comment = 31] = "Comment", e[e.ProcessingInstruction = 32] = "ProcessingInstruction", e[e.Autolink = 33] = "Autolink", e[e.HeaderMark = 34] = "HeaderMark", e[e.QuoteMark = 35] = "QuoteMark", e[e.ListMark = 36] = "ListMark", e[e.LinkMark = 37] = "LinkMark", e[e.EmphasisMark = 38] = "EmphasisMark", e[e.CodeMark = 39] = "CodeMark", e[e.CodeText = 40] = "CodeText", e[e.CodeInfo = 41] = "CodeInfo", e[e.LinkTitle = 42] = "LinkTitle", e[e.LinkLabel = 43] = "LinkLabel", e[e.URL = 44] = "URL";
25
- })(x || (x = {}));
26
- var ue = class {
24
+ })(b || (b = {}));
25
+ var de = class {
27
26
  constructor(e, t) {
28
27
  this.start = e, this.content = t, this.marks = [], this.parsers = [];
29
28
  }
30
- }, de = class {
29
+ }, fe = class {
31
30
  constructor() {
32
31
  this.text = "", this.baseIndent = 0, this.basePos = 0, this.depth = 0, this.markers = [], this.pos = 0, this.indent = 0, this.next = -1;
33
32
  }
@@ -39,7 +38,7 @@ var ue = class {
39
38
  this.indent = this.countIndent(e, this.pos, this.indent), this.pos = e, this.next = e == this.text.length ? -1 : this.text.charCodeAt(e);
40
39
  }
41
40
  skipSpace(e) {
42
- return C(this.text, e);
41
+ return S(this.text, e);
43
42
  }
44
43
  reset(e) {
45
44
  for (this.text = e, this.baseIndent = this.basePos = this.pos = this.indent = 0, this.forwardInner(), this.depth = 1; this.markers.length;) this.markers.pop();
@@ -69,37 +68,37 @@ var ue = class {
69
68
  return e + this.text.slice(this.basePos);
70
69
  }
71
70
  };
72
- function fe(e, t, n) {
71
+ function pe(e, t, n) {
73
72
  if (n.pos == n.text.length || e != t.block && n.indent >= t.stack[n.depth + 1].value + n.baseIndent) return !0;
74
73
  if (n.indent >= n.baseIndent + 4) return !1;
75
- let r = (e.type == x.OrderedList ? D : E)(n, t, !1);
76
- return r > 0 && (e.type != x.BulletList || w(n, t, !1) < 0) && n.text.charCodeAt(n.pos + r - 1) == e.value;
74
+ let r = (e.type == b.OrderedList ? D : E)(n, t, !1);
75
+ return r > 0 && (e.type != b.BulletList || T(n, t, !1) < 0) && n.text.charCodeAt(n.pos + r - 1) == e.value;
77
76
  }
78
- var pe = {
79
- [x.Blockquote](e, t, n) {
80
- return n.next == 62 && (n.markers.push(R(x.QuoteMark, t.lineStart + n.pos, t.lineStart + n.pos + 1)), n.moveBase(n.pos + (S(n.text.charCodeAt(n.pos + 1)) ? 2 : 1)), e.end = t.lineStart + n.text.length, !0);
77
+ var me = {
78
+ [b.Blockquote](e, t, n) {
79
+ return n.next == 62 && (n.markers.push(R(b.QuoteMark, t.lineStart + n.pos, t.lineStart + n.pos + 1)), n.moveBase(n.pos + (x(n.text.charCodeAt(n.pos + 1)) ? 2 : 1)), e.end = t.lineStart + n.text.length, !0);
81
80
  },
82
- [x.ListItem](e, t, n) {
81
+ [b.ListItem](e, t, n) {
83
82
  return n.indent < n.baseIndent + e.value && n.next > -1 ? !1 : (n.moveBaseColumn(n.baseIndent + e.value), !0);
84
83
  },
85
- [x.OrderedList]: fe,
86
- [x.BulletList]: fe,
87
- [x.Document]() {
84
+ [b.OrderedList]: pe,
85
+ [b.BulletList]: pe,
86
+ [b.Document]() {
88
87
  return !0;
89
88
  }
90
89
  };
91
- function S(e) {
90
+ function x(e) {
92
91
  return e == 32 || e == 9 || e == 10 || e == 13;
93
92
  }
94
- function C(e, t = 0) {
95
- for (; t < e.length && S(e.charCodeAt(t));) t++;
93
+ function S(e, t = 0) {
94
+ for (; t < e.length && x(e.charCodeAt(t));) t++;
96
95
  return t;
97
96
  }
98
- function me(e, t, n) {
99
- for (; t > n && S(e.charCodeAt(t - 1));) t--;
97
+ function he(e, t, n) {
98
+ for (; t > n && x(e.charCodeAt(t - 1));) t--;
100
99
  return t;
101
100
  }
102
- function he(e) {
101
+ function C(e) {
103
102
  if (e.next != 96 && e.next != 126) return -1;
104
103
  let t = e.pos + 1;
105
104
  for (; t < e.text.length && e.text.charCodeAt(t) == e.next;) t++;
@@ -109,25 +108,25 @@ function he(e) {
109
108
  }
110
109
  return t;
111
110
  }
112
- function ge(e) {
111
+ function w(e) {
113
112
  return e.next == 62 ? e.text.charCodeAt(e.pos + 1) == 32 ? 2 : 1 : -1;
114
113
  }
115
- function w(e, t, n) {
114
+ function T(e, t, n) {
116
115
  if (e.next != 42 && e.next != 45 && e.next != 95) return -1;
117
116
  let r = 1;
118
117
  for (let t = e.pos + 1; t < e.text.length; t++) {
119
118
  let n = e.text.charCodeAt(t);
120
119
  if (n == e.next) r++;
121
- else if (!S(n)) return -1;
120
+ else if (!x(n)) return -1;
122
121
  }
123
122
  return n && e.next == 45 && ve(e) > -1 && e.depth == t.stack.length && t.parser.leafBlockParsers.indexOf(Te.SetextHeading) > -1 || r < 3 ? -1 : 1;
124
123
  }
125
- function T(e, t) {
124
+ function ge(e, t) {
126
125
  for (let n = e.stack.length - 1; n >= 0; n--) if (e.stack[n].type == t) return !0;
127
126
  return !1;
128
127
  }
129
128
  function E(e, t, n) {
130
- return (e.next == 45 || e.next == 43 || e.next == 42) && (e.pos == e.text.length - 1 || S(e.text.charCodeAt(e.pos + 1))) && (!n || T(t, x.BulletList) || e.skipSpace(e.pos + 2) < e.text.length) ? 1 : -1;
129
+ return (e.next == 45 || e.next == 43 || e.next == 42) && (e.pos == e.text.length - 1 || x(e.text.charCodeAt(e.pos + 1))) && (!n || ge(t, b.BulletList) || e.skipSpace(e.pos + 2) < e.text.length) ? 1 : -1;
131
130
  }
132
131
  function D(e, t, n) {
133
132
  let r = e.pos, i = e.next;
@@ -135,7 +134,7 @@ function D(e, t, n) {
135
134
  if (r++, r == e.text.length) return -1;
136
135
  i = e.text.charCodeAt(r);
137
136
  }
138
- return r == e.pos || r > e.pos + 9 || i != 46 && i != 41 || r < e.text.length - 1 && !S(e.text.charCodeAt(r + 1)) || n && !T(t, x.OrderedList) && (e.skipSpace(r + 1) == e.text.length || r > e.pos + 1 || e.next != 49) ? -1 : r + 1 - e.pos;
137
+ return r == e.pos || r > e.pos + 9 || i != 46 && i != 41 || r < e.text.length - 1 && !x(e.text.charCodeAt(r + 1)) || n && !ge(t, b.OrderedList) && (e.skipSpace(r + 1) == e.text.length || r > e.pos + 1 || e.next != 49) ? -1 : r + 1 - e.pos;
139
138
  }
140
139
  function _e(e) {
141
140
  if (e.next != 35) return -1;
@@ -150,7 +149,7 @@ function ve(e) {
150
149
  let t = e.pos + 1;
151
150
  for (; t < e.text.length && e.text.charCodeAt(t) == e.next;) t++;
152
151
  let n = t;
153
- for (; t < e.text.length && S(e.text.charCodeAt(t));) t++;
152
+ for (; t < e.text.length && x(e.text.charCodeAt(t));) t++;
154
153
  return t == e.text.length ? n : -1;
155
154
  }
156
155
  var O = /^[ \t]*$/, ye = /-->/, be = /\?>/, k = [
@@ -174,7 +173,7 @@ function Se(e, t) {
174
173
  }
175
174
  function A(e, t, n) {
176
175
  let r = e.length - 1;
177
- r >= 0 && e[r].to == t && e[r].type == x.CodeText ? e[r].to = n : e.push(R(x.CodeText, t, n));
176
+ r >= 0 && e[r].to == t && e[r].type == b.CodeText ? e[r].to = n : e.push(R(b.CodeText, t, n));
178
177
  }
179
178
  var j = {
180
179
  LinkReference: void 0,
@@ -188,7 +187,7 @@ var j = {
188
187
  } else if (t.indent < n) break;
189
188
  else {
190
189
  if (s.length) {
191
- for (let e of s) e.type == x.CodeText ? A(o, e.from, e.to) : o.push(e);
190
+ for (let e of s) e.type == b.CodeText ? A(o, e.from, e.to) : o.push(e);
192
191
  s = [];
193
192
  }
194
193
  A(o, e.lineStart - 1, e.lineStart);
@@ -197,19 +196,19 @@ var j = {
197
196
  let n = e.lineStart + t.findColumn(t.baseIndent + 4);
198
197
  n < a && A(o, n, a);
199
198
  }
200
- return s.length && (s = s.filter((e) => e.type != x.CodeText), s.length && (t.markers = s.concat(t.markers))), e.addNode(e.buffer.writeElements(o, -i).finish(x.CodeBlock, a - i), i), !0;
199
+ return s.length && (s = s.filter((e) => e.type != b.CodeText), s.length && (t.markers = s.concat(t.markers))), e.addNode(e.buffer.writeElements(o, -i).finish(b.CodeBlock, a - i), i), !0;
201
200
  },
202
201
  FencedCode(e, t) {
203
- let n = he(t);
202
+ let n = C(t);
204
203
  if (n < 0) return !1;
205
- let r = e.lineStart + t.pos, i = t.next, a = n - t.pos, o = t.skipSpace(n), s = me(t.text, t.text.length, o), c = [R(x.CodeMark, r, r + a)];
206
- o < s && c.push(R(x.CodeInfo, e.lineStart + o, e.lineStart + s));
204
+ let r = e.lineStart + t.pos, i = t.next, a = n - t.pos, o = t.skipSpace(n), s = he(t.text, t.text.length, o), c = [R(b.CodeMark, r, r + a)];
205
+ o < s && c.push(R(b.CodeInfo, e.lineStart + o, e.lineStart + s));
207
206
  for (let n = !0, r = !0, o = !1; e.nextLine() && t.depth >= e.stack.length; n = !1) {
208
207
  let s = t.pos;
209
208
  if (t.indent - t.baseIndent < 4) for (; s < t.text.length && t.text.charCodeAt(s) == i;) s++;
210
209
  if (s - t.pos >= a && t.skipSpace(s) == t.text.length) {
211
210
  for (let e of t.markers) c.push(e);
212
- r && o && A(c, e.lineStart - 1, e.lineStart), c.push(R(x.CodeMark, e.lineStart + t.pos, e.lineStart + s)), e.nextLine();
211
+ r && o && A(c, e.lineStart - 1, e.lineStart), c.push(R(b.CodeMark, e.lineStart + t.pos, e.lineStart + s)), e.nextLine();
213
212
  break;
214
213
  }
215
214
  {
@@ -219,40 +218,40 @@ var j = {
219
218
  i < a && (A(c, i, a), r = !1);
220
219
  }
221
220
  }
222
- return e.addNode(e.buffer.writeElements(c, -r).finish(x.FencedCode, e.prevLineEnd() - r), r), !0;
221
+ return e.addNode(e.buffer.writeElements(c, -r).finish(b.FencedCode, e.prevLineEnd() - r), r), !0;
223
222
  },
224
223
  Blockquote(e, t) {
225
- let n = ge(t);
226
- return n < 0 ? !1 : (e.startContext(x.Blockquote, t.pos), e.addNode(x.QuoteMark, e.lineStart + t.pos, e.lineStart + t.pos + 1), t.moveBase(t.pos + n), null);
224
+ let n = w(t);
225
+ return n < 0 ? !1 : (e.startContext(b.Blockquote, t.pos), e.addNode(b.QuoteMark, e.lineStart + t.pos, e.lineStart + t.pos + 1), t.moveBase(t.pos + n), null);
227
226
  },
228
227
  HorizontalRule(e, t) {
229
- if (w(t, e, !1) < 0) return !1;
228
+ if (T(t, e, !1) < 0) return !1;
230
229
  let n = e.lineStart + t.pos;
231
- return e.nextLine(), e.addNode(x.HorizontalRule, n), !0;
230
+ return e.nextLine(), e.addNode(b.HorizontalRule, n), !0;
232
231
  },
233
232
  BulletList(e, t) {
234
233
  let n = E(t, e, !1);
235
234
  if (n < 0) return !1;
236
- e.block.type != x.BulletList && e.startContext(x.BulletList, t.basePos, t.next);
235
+ e.block.type != b.BulletList && e.startContext(b.BulletList, t.basePos, t.next);
237
236
  let r = Se(t, t.pos + 1);
238
- return e.startContext(x.ListItem, t.basePos, r - t.baseIndent), e.addNode(x.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
237
+ return e.startContext(b.ListItem, t.basePos, r - t.baseIndent), e.addNode(b.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
239
238
  },
240
239
  OrderedList(e, t) {
241
240
  let n = D(t, e, !1);
242
241
  if (n < 0) return !1;
243
- e.block.type != x.OrderedList && e.startContext(x.OrderedList, t.basePos, t.text.charCodeAt(t.pos + n - 1));
242
+ e.block.type != b.OrderedList && e.startContext(b.OrderedList, t.basePos, t.text.charCodeAt(t.pos + n - 1));
244
243
  let r = Se(t, t.pos + n);
245
- return e.startContext(x.ListItem, t.basePos, r - t.baseIndent), e.addNode(x.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
244
+ return e.startContext(b.ListItem, t.basePos, r - t.baseIndent), e.addNode(b.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
246
245
  },
247
246
  ATXHeading(e, t) {
248
247
  let n = _e(t);
249
248
  if (n < 0) return !1;
250
- let r = t.pos, i = e.lineStart + r, a = me(t.text, t.text.length, r), o = a;
249
+ let r = t.pos, i = e.lineStart + r, a = he(t.text, t.text.length, r), o = a;
251
250
  for (; o > r && t.text.charCodeAt(o - 1) == t.next;) o--;
252
- o != a && o != r && S(t.text.charCodeAt(o - 1)) || (o = t.text.length);
253
- let s = e.buffer.write(x.HeaderMark, 0, n).writeElements(e.parser.parseInline(t.text.slice(r + n + 1, o), i + n + 1), -i);
254
- o < t.text.length && s.write(x.HeaderMark, o - r, a - r);
255
- let c = s.finish(x.ATXHeading1 - 1 + n, t.text.length - r);
251
+ o != a && o != r && x(t.text.charCodeAt(o - 1)) || (o = t.text.length);
252
+ let s = e.buffer.write(b.HeaderMark, 0, n).writeElements(e.parser.parseInline(t.text.slice(r + n + 1, o), i + n + 1), -i);
253
+ o < t.text.length && s.write(b.HeaderMark, o - r, a - r);
254
+ let c = s.finish(b.ATXHeading1 - 1 + n, t.text.length - r);
256
255
  return e.nextLine(), e.addNode(c, i), !0;
257
256
  },
258
257
  HTMLBlock(e, t) {
@@ -267,7 +266,7 @@ var j = {
267
266
  for (let e of t.markers) a.push(e);
268
267
  }
269
268
  o && e.nextLine();
270
- let s = i == ye ? x.CommentBlock : i == be ? x.ProcessingInstructionBlock : x.HTMLBlock, c = e.prevLineEnd();
269
+ let s = i == ye ? b.CommentBlock : i == be ? b.ProcessingInstructionBlock : b.HTMLBlock, c = e.prevLineEnd();
271
270
  return e.addNode(e.buffer.writeElements(a, -r).finish(s, c - r), r), !0;
272
271
  },
273
272
  SetextHeading: void 0
@@ -281,10 +280,10 @@ var j = {
281
280
  return i > -1 && i < r.length && this.complete(e, n, i);
282
281
  }
283
282
  finish(e, t) {
284
- return (this.stage == 2 || this.stage == 3) && C(t.content, this.pos) == t.content.length && this.complete(e, t, t.content.length);
283
+ return (this.stage == 2 || this.stage == 3) && S(t.content, this.pos) == t.content.length && this.complete(e, t, t.content.length);
285
284
  }
286
285
  complete(e, t, n) {
287
- return e.addLeafElement(t, R(x.LinkReference, this.start, this.start + n, this.elts)), !0;
286
+ return e.addLeafElement(t, R(b.LinkReference, this.start, this.start + n, this.elts)), !0;
288
287
  }
289
288
  nextStage(e) {
290
289
  return e ? (this.pos = e.to - this.start, this.elts.push(e), this.stage++, !0) : (e === !1 && (this.stage = -1), !1);
@@ -294,11 +293,11 @@ var j = {
294
293
  else if (this.stage == 0) {
295
294
  if (!this.nextStage(Be(e, this.pos, this.start, !0))) return -1;
296
295
  if (e.charCodeAt(this.pos) != 58) return this.stage = -1;
297
- this.elts.push(R(x.LinkMark, this.pos + this.start, this.pos + this.start + 1)), this.pos++;
296
+ this.elts.push(R(b.LinkMark, this.pos + this.start, this.pos + this.start + 1)), this.pos++;
298
297
  } else if (this.stage == 1) {
299
- if (!this.nextStage(Re(e, C(e, this.pos), this.start))) return -1;
298
+ if (!this.nextStage(Re(e, S(e, this.pos), this.start))) return -1;
300
299
  } else if (this.stage == 2) {
301
- let t = C(e, this.pos), n = 0;
300
+ let t = S(e, this.pos), n = 0;
302
301
  if (t > this.pos) {
303
302
  let r = ze(e, t, this.start);
304
303
  if (r) {
@@ -314,7 +313,7 @@ function M(e, t) {
314
313
  for (; t < e.length; t++) {
315
314
  let n = e.charCodeAt(t);
316
315
  if (n == 10) break;
317
- if (!S(n)) return -1;
316
+ if (!x(n)) return -1;
318
317
  }
319
318
  return t;
320
319
  }
@@ -322,8 +321,8 @@ var we = class {
322
321
  nextLine(e, t, n) {
323
322
  let r = t.depth < e.stack.length ? -1 : ve(t), i = t.next;
324
323
  if (r < 0) return !1;
325
- let a = R(x.HeaderMark, e.lineStart + t.pos, e.lineStart + r);
326
- return e.nextLine(), e.addLeafElement(n, R(i == 61 ? x.SetextHeading1 : x.SetextHeading2, n.start, e.prevLineEnd(), [...e.parser.parseInline(n.content, n.start), a])), !0;
324
+ let a = R(b.HeaderMark, e.lineStart + t.pos, e.lineStart + r);
325
+ return e.nextLine(), e.addLeafElement(n, R(i == 61 ? b.SetextHeading1 : b.SetextHeading2, n.start, e.prevLineEnd(), [...e.parser.parseInline(n.content, n.start), a])), !0;
327
326
  }
328
327
  finish() {
329
328
  return !1;
@@ -337,18 +336,18 @@ var we = class {
337
336
  }
338
337
  }, Ee = [
339
338
  (e, t) => _e(t) >= 0,
340
- (e, t) => he(t) >= 0,
341
- (e, t) => ge(t) >= 0,
339
+ (e, t) => C(t) >= 0,
340
+ (e, t) => w(t) >= 0,
342
341
  (e, t) => E(t, e, !0) >= 0,
343
342
  (e, t) => D(t, e, !0) >= 0,
344
- (e, t) => w(t, e, !0) >= 0,
343
+ (e, t) => T(t, e, !0) >= 0,
345
344
  (e, t) => xe(t, e, !0) >= 0
346
345
  ], De = {
347
346
  text: "",
348
347
  end: 0
349
348
  }, Oe = class {
350
349
  constructor(e, t, n, r) {
351
- this.parser = e, this.input = t, this.ranges = r, this.line = new de(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = r[r.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = r[0].from, this.block = le.create(x.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new He(n, t) : null, this.readLine();
350
+ this.parser = e, this.input = t, this.ranges = r, this.line = new fe(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = r[r.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = r[0].from, this.block = ue.create(b.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new He(n, t) : null, this.readLine();
352
351
  }
353
352
  get parsedPos() {
354
353
  return this.absoluteLineStart;
@@ -370,26 +369,26 @@ var we = class {
370
369
  if (!this.nextLine()) return this.finish();
371
370
  }
372
371
  if (this.fragments && this.reuseFragment(e.basePos)) return null;
373
- start: for (;;) {
372
+ e: for (;;) {
374
373
  for (let t of this.parser.blockParsers) if (t) {
375
374
  let n = t(this, e);
376
375
  if (n != 0) {
377
376
  if (n == 1) return null;
378
377
  e.forward();
379
- continue start;
378
+ continue e;
380
379
  }
381
380
  }
382
381
  break;
383
382
  }
384
383
  if (e.pos == e.text.length) return this.nextLine() ? null : this.finish();
385
- let t = new ue(this.lineStart + e.pos, e.text.slice(e.pos));
384
+ let t = new de(this.lineStart + e.pos, e.text.slice(e.pos));
386
385
  for (let e of this.parser.leafBlockParsers) if (e) {
387
386
  let n = e(this, t);
388
387
  n && t.parsers.push(n);
389
388
  }
390
- lines: for (; this.nextLine() && e.pos != e.text.length;) {
389
+ e: for (; this.nextLine() && e.pos != e.text.length;) {
391
390
  if (e.indent < e.baseIndent + 4) {
392
- for (let n of this.parser.endLeafBlock) if (n(this, e, t)) break lines;
391
+ for (let n of this.parser.endLeafBlock) if (n(this, e, t)) break e;
393
392
  }
394
393
  for (let n of t.parsers) if (n.nextLine(this, e, t)) return null;
395
394
  t.content += "\n" + e.scrub();
@@ -438,7 +437,7 @@ var we = class {
438
437
  let { line: e } = this, { text: t, end: n } = this.scanLine(this.absoluteLineStart);
439
438
  for (this.absoluteLineEnd = n, e.reset(t); e.depth < this.stack.length; e.depth++) {
440
439
  let t = this.stack[e.depth], n = this.parser.skipContextMarkup[t.type];
441
- if (!n) throw Error("Unhandled block context " + x[t.type]);
440
+ if (!n) throw Error("Unhandled block context " + b[t.type]);
442
441
  let r = this.line.markers.length;
443
442
  if (!n(t, this, e)) {
444
443
  this.line.markers.length > r && (t.end = this.line.markers[this.line.markers.length - 1].to), e.forward();
@@ -460,13 +459,13 @@ var we = class {
460
459
  return this.atEnd ? this.lineStart : this.lineStart - 1;
461
460
  }
462
461
  startContext(e, t, n = 0) {
463
- this.block = le.create(e, n, this.lineStart + t, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block);
462
+ this.block = ue.create(e, n, this.lineStart + t, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block);
464
463
  }
465
464
  startComposite(e, t, n = 0) {
466
465
  this.startContext(this.parser.getNodeType(e), t, n);
467
466
  }
468
467
  addNode(e, t, n) {
469
- typeof e == "number" && (e = new y(this.parser.nodeSet.types[e], I, I, (n ?? this.prevLineEnd()) - t)), this.block.addChild(e, t - this.block.from);
468
+ typeof e == "number" && (e = new r(this.parser.nodeSet.types[e], I, I, (n ?? this.prevLineEnd()) - t)), this.block.addChild(e, t - this.block.from);
470
469
  }
471
470
  addElement(e) {
472
471
  this.block.addChild(e.toTree(this.parser.nodeSet), e.from - this.block.from);
@@ -488,7 +487,7 @@ var we = class {
488
487
  finishLeaf(e) {
489
488
  for (let t of e.parsers) if (t.finish(this, e)) return;
490
489
  let t = G(this.parser.parseInline(e.content, e.start), e.marks);
491
- this.addNode(this.buffer.writeElements(t, -e.start).finish(x.Paragraph, e.content.length), e.start);
490
+ this.addNode(this.buffer.writeElements(t, -e.start).finish(b.Paragraph, e.content.length), e.start);
492
491
  }
493
492
  elt(e, t, n, r) {
494
493
  return typeof e == "string" ? R(this.parser.getNodeType(e), t, n, r) : new Ne(e, t);
@@ -497,22 +496,22 @@ var we = class {
497
496
  return new Me(this.parser.nodeSet);
498
497
  }
499
498
  };
500
- function ke(e, t, n, r, i) {
501
- let a = e[t].to, o = [], s = [], c = n.from + r;
502
- function l(n, i) {
503
- for (; i ? n >= a : n > a;) {
504
- let i = e[t + 1].from - a;
505
- r += i, n += i, t++, a = e[t].to;
499
+ function ke(e, t, n, i, a) {
500
+ let o = e[t].to, s = [], c = [], l = n.from + i;
501
+ function u(n, r) {
502
+ for (; r ? n >= o : n > o;) {
503
+ let r = e[t + 1].from - o;
504
+ i += r, n += r, t++, o = e[t].to;
506
505
  }
507
506
  }
508
- for (let u = n.firstChild; u; u = u.nextSibling) {
509
- l(u.from + r, !0);
510
- let n = u.from + r, d, f = i.get(u.tree);
511
- f ? d = f : u.to + r > a ? (d = ke(e, t, u, r, i), l(u.to + r, !1)) : d = u.toTree(), o.push(d), s.push(n - c);
507
+ for (let r = n.firstChild; r; r = r.nextSibling) {
508
+ u(r.from + i, !0);
509
+ let n = r.from + i, d, f = a.get(r.tree);
510
+ f ? d = f : r.to + i > o ? (d = ke(e, t, r, i, a), u(r.to + i, !1)) : d = r.toTree(), s.push(d), c.push(n - l);
512
511
  }
513
- return l(n.to + r, !1), new y(n.type, o, s, n.to + r - c, n.tree ? n.tree.propValues : void 0);
512
+ return u(n.to + i, !1), new r(n.type, s, c, n.to + i - l, n.tree ? n.tree.propValues : void 0);
514
513
  }
515
- var Ae = class e extends ae {
514
+ var Ae = class e extends i {
516
515
  constructor(e, t, n, r, i, a, o, s, c) {
517
516
  super(), this.nodeSet = e, this.blockParsers = t, this.leafBlockParsers = n, this.blockNames = r, this.endLeafBlock = i, this.skipContextMarkup = a, this.inlineParsers = o, this.inlineNames = s, this.wrappers = c, this.nodeTypes = Object.create(null);
518
517
  for (let t of e.types) this.nodeTypes[t.name] = t.id;
@@ -523,51 +522,51 @@ var Ae = class e extends ae {
523
522
  return r;
524
523
  }
525
524
  configure(t) {
526
- let n = P(t);
527
- if (!n) return this;
528
- let { nodeSet: r, skipContextMarkup: i } = this, a = this.blockParsers.slice(), o = this.leafBlockParsers.slice(), s = this.blockNames.slice(), c = this.inlineParsers.slice(), l = this.inlineNames.slice(), u = this.endLeafBlock.slice(), d = this.wrappers;
529
- if (N(n.defineNodes)) {
530
- i = Object.assign({}, i);
531
- let e = r.types.slice(), t;
532
- for (let r of n.defineNodes) {
533
- let { name: n, block: a, composite: o, style: s } = typeof r == "string" ? { name: r } : r;
534
- if (e.some((e) => e.name == n)) continue;
535
- o && (i[e.length] = (e, t, n) => o(t, n, e.value));
536
- let c = e.length, l = o ? ["Block", "BlockContext"] : a ? c >= x.ATXHeading1 && c <= x.SetextHeading2 ? [
525
+ let r = P(t);
526
+ if (!r) return this;
527
+ let { nodeSet: i, skipContextMarkup: a } = this, o = this.blockParsers.slice(), s = this.leafBlockParsers.slice(), c = this.blockNames.slice(), u = this.inlineParsers.slice(), f = this.inlineNames.slice(), p = this.endLeafBlock.slice(), m = this.wrappers;
528
+ if (N(r.defineNodes)) {
529
+ a = Object.assign({}, a);
530
+ let e = i.types.slice(), t;
531
+ for (let n of r.defineNodes) {
532
+ let { name: r, block: i, composite: o, style: s } = typeof n == "string" ? { name: n } : n;
533
+ if (e.some((e) => e.name == r)) continue;
534
+ o && (a[e.length] = (e, t, n) => o(t, n, e.value));
535
+ let c = e.length, u = o ? ["Block", "BlockContext"] : i ? c >= b.ATXHeading1 && c <= b.SetextHeading2 ? [
537
536
  "Block",
538
537
  "LeafBlock",
539
538
  "Heading"
540
539
  ] : ["Block", "LeafBlock"] : void 0;
541
- e.push(_.define({
540
+ e.push(v.define({
542
541
  id: c,
543
- name: n,
544
- props: l && [[v.group, l]]
545
- })), s && (t || (t = {}), Array.isArray(s) || s instanceof ie ? t[n] = s : Object.assign(t, s));
542
+ name: r,
543
+ props: u && [[l.group, u]]
544
+ })), s && (t || (t = {}), Array.isArray(s) || s instanceof d ? t[r] = s : Object.assign(t, s));
546
545
  }
547
- r = new oe(e), t && (r = r.extend(re(t)));
546
+ i = new n(e), t && (i = i.extend(_(t)));
548
547
  }
549
- if (N(n.props) && (r = r.extend(...n.props)), N(n.remove)) for (let e of n.remove) {
548
+ if (N(r.props) && (i = i.extend(...r.props)), N(r.remove)) for (let e of r.remove) {
550
549
  let t = this.blockNames.indexOf(e), n = this.inlineNames.indexOf(e);
551
- t > -1 && (a[t] = o[t] = void 0), n > -1 && (c[n] = void 0);
550
+ t > -1 && (o[t] = s[t] = void 0), n > -1 && (u[n] = void 0);
552
551
  }
553
- if (N(n.parseBlock)) for (let e of n.parseBlock) {
554
- let t = s.indexOf(e.name);
555
- if (t > -1) a[t] = e.parse, o[t] = e.leaf;
552
+ if (N(r.parseBlock)) for (let e of r.parseBlock) {
553
+ let t = c.indexOf(e.name);
554
+ if (t > -1) o[t] = e.parse, s[t] = e.leaf;
556
555
  else {
557
- let t = e.before ? F(s, e.before) : e.after ? F(s, e.after) + 1 : s.length - 1;
558
- a.splice(t, 0, e.parse), o.splice(t, 0, e.leaf), s.splice(t, 0, e.name);
556
+ let t = e.before ? F(c, e.before) : e.after ? F(c, e.after) + 1 : c.length - 1;
557
+ o.splice(t, 0, e.parse), s.splice(t, 0, e.leaf), c.splice(t, 0, e.name);
559
558
  }
560
- e.endLeaf && u.push(e.endLeaf);
559
+ e.endLeaf && p.push(e.endLeaf);
561
560
  }
562
- if (N(n.parseInline)) for (let e of n.parseInline) {
563
- let t = l.indexOf(e.name);
564
- if (t > -1) c[t] = e.parse;
561
+ if (N(r.parseInline)) for (let e of r.parseInline) {
562
+ let t = f.indexOf(e.name);
563
+ if (t > -1) u[t] = e.parse;
565
564
  else {
566
- let t = e.before ? F(l, e.before) : e.after ? F(l, e.after) + 1 : l.length - 1;
567
- c.splice(t, 0, e.parse), l.splice(t, 0, e.name);
565
+ let t = e.before ? F(f, e.before) : e.after ? F(f, e.after) + 1 : f.length - 1;
566
+ u.splice(t, 0, e.parse), f.splice(t, 0, e.name);
568
567
  }
569
568
  }
570
- return n.wrap && (d = d.concat(n.wrap)), new e(r, a, o, s, u, i, c, l, d);
569
+ return r.wrap && (m = m.concat(r.wrap)), new e(i, o, s, c, p, a, u, f, m);
571
570
  }
572
571
  getNodeType(e) {
573
572
  let t = this.nodeTypes[e];
@@ -576,13 +575,13 @@ var Ae = class e extends ae {
576
575
  }
577
576
  parseInline(e, t) {
578
577
  let n = new W(this, e, t);
579
- outer: for (let e = t; e < n.end;) {
578
+ e: for (let e = t; e < n.end;) {
580
579
  let t = n.char(e);
581
580
  for (let r of this.inlineParsers) if (r) {
582
581
  let i = r(n, t, e);
583
582
  if (i >= 0) {
584
583
  e = i;
585
- continue outer;
584
+ continue e;
586
585
  }
587
586
  }
588
587
  e++;
@@ -615,11 +614,11 @@ function F(e, t) {
615
614
  if (n < 0) throw RangeError(`Position specified relative to unknown parser ${t}`);
616
615
  return n;
617
616
  }
618
- var je = [_.none];
619
- for (let e = 1, t; t = x[e]; e++) je[e] = _.define({
617
+ var je = [v.none];
618
+ for (let e = 1, t; t = b[e]; e++) je[e] = v.define({
620
619
  id: e,
621
620
  name: t,
622
- props: e >= x.Escape ? [] : [[v.group, e in pe ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]],
621
+ props: e >= b.Escape ? [] : [[l.group, e in me ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]],
623
622
  top: t == "Document"
624
623
  });
625
624
  var I = [], Me = class {
@@ -634,7 +633,7 @@ var I = [], Me = class {
634
633
  return this;
635
634
  }
636
635
  finish(e, t) {
637
- return y.build({
636
+ return r.build({
638
637
  buffer: this.content,
639
638
  nodeSet: this.nodeSet,
640
639
  reused: this.nodes,
@@ -694,13 +693,13 @@ var U = {
694
693
  Escape(e, t, n) {
695
694
  if (t != 92 || n == e.end - 1) return -1;
696
695
  let r = e.char(n + 1);
697
- for (let t = 0; t < 32; t++) if (Ie.charCodeAt(t) == r) return e.append(R(x.Escape, n, n + 2));
696
+ for (let t = 0; t < 32; t++) if (Ie.charCodeAt(t) == r) return e.append(R(b.Escape, n, n + 2));
698
697
  return -1;
699
698
  },
700
699
  Entity(e, t, n) {
701
700
  if (t != 38) return -1;
702
701
  let r = /^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n + 1, n + 31));
703
- return r ? e.append(R(x.Entity, n, n + 1 + r[0].length)) : -1;
702
+ return r ? e.append(R(b.Entity, n, n + 1 + r[0].length)) : -1;
704
703
  },
705
704
  InlineCode(e, t, n) {
706
705
  if (t != 96 || n && e.char(n - 1) == 96) return -1;
@@ -708,24 +707,24 @@ var U = {
708
707
  for (; r < e.end && e.char(r) == 96;) r++;
709
708
  let i = r - n, a = 0;
710
709
  for (; r < e.end; r++) if (e.char(r) == 96) {
711
- if (a++, a == i && e.char(r + 1) != 96) return e.append(R(x.InlineCode, n, r + 1, [R(x.CodeMark, n, n + i), R(x.CodeMark, r + 1 - i, r + 1)]));
710
+ if (a++, a == i && e.char(r + 1) != 96) return e.append(R(b.InlineCode, n, r + 1, [R(b.CodeMark, n, n + i), R(b.CodeMark, r + 1 - i, r + 1)]));
712
711
  } else a = 0;
713
712
  return -1;
714
713
  },
715
714
  HTMLTag(e, t, n) {
716
715
  if (t != 60 || n == e.end - 1) return -1;
717
716
  let r = e.slice(n + 1, e.end), i = /^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);
718
- if (i) return e.append(R(x.Autolink, n, n + 1 + i[0].length, [
719
- R(x.LinkMark, n, n + 1),
720
- R(x.URL, n + 1, n + i[0].length),
721
- R(x.LinkMark, n + i[0].length, n + 1 + i[0].length)
717
+ if (i) return e.append(R(b.Autolink, n, n + 1 + i[0].length, [
718
+ R(b.LinkMark, n, n + 1),
719
+ R(b.URL, n + 1, n + i[0].length),
720
+ R(b.LinkMark, n + i[0].length, n + 1 + i[0].length)
722
721
  ]));
723
722
  let a = /^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);
724
- if (a) return e.append(R(x.Comment, n, n + 1 + a[0].length));
723
+ if (a) return e.append(R(b.Comment, n, n + 1 + a[0].length));
725
724
  let o = /^\?[^]*?\?>/.exec(r);
726
- if (o) return e.append(R(x.ProcessingInstruction, n, n + 1 + o[0].length));
725
+ if (o) return e.append(R(b.ProcessingInstruction, n, n + 1 + o[0].length));
727
726
  let s = /^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);
728
- return s ? e.append(R(x.HTMLTag, n, n + 1 + s[0].length)) : -1;
727
+ return s ? e.append(R(b.HTMLTag, n, n + 1 + s[0].length)) : -1;
729
728
  },
730
729
  Emphasis(e, t, n) {
731
730
  if (t != 95 && t != 42) return -1;
@@ -735,11 +734,11 @@ var U = {
735
734
  return e.append(new V(t == 95 ? Pe : Fe, n, r, !!f | (p ? 2 : 0)));
736
735
  },
737
736
  HardBreak(e, t, n) {
738
- if (t == 92 && e.char(n + 1) == 10) return e.append(R(x.HardBreak, n, n + 2));
737
+ if (t == 92 && e.char(n + 1) == 10) return e.append(R(b.HardBreak, n, n + 2));
739
738
  if (t == 32) {
740
739
  let t = n + 1;
741
740
  for (; e.char(t) == 32;) t++;
742
- if (e.char(t) == 10 && t >= n + 2) return e.append(R(x.HardBreak, n, t + 1));
741
+ if (e.char(t) == 10 && t >= n + 2) return e.append(R(b.HardBreak, n, t + 1));
743
742
  }
744
743
  return -1;
745
744
  },
@@ -755,7 +754,7 @@ var U = {
755
754
  let r = e.parts[t];
756
755
  if (r instanceof V && (r.type == z || r.type == B)) {
757
756
  if (!r.side || e.skipSpace(r.to) == n && !/[(\[]/.test(e.slice(n + 1, n + 2))) return e.parts[t] = null, -1;
758
- let i = e.takeContent(t), a = e.parts[t] = Le(e, i, r.type == z ? x.Link : x.Image, r.from, n + 1);
757
+ let i = e.takeContent(t), a = e.parts[t] = Le(e, i, r.type == z ? b.Link : b.Image, r.from, n + 1);
759
758
  if (r.type == z) for (let n = 0; n < t; n++) {
760
759
  let t = e.parts[n];
761
760
  t instanceof V && t.type == z && (t.side = 0);
@@ -768,9 +767,9 @@ var U = {
768
767
  };
769
768
  function Le(e, t, n, r, i) {
770
769
  let { text: a } = e, o = e.char(i), s = i;
771
- if (t.unshift(R(x.LinkMark, r, r + (n == x.Image ? 2 : 1))), t.push(R(x.LinkMark, i - 1, i)), o == 40) {
770
+ if (t.unshift(R(b.LinkMark, r, r + (n == b.Image ? 2 : 1))), t.push(R(b.LinkMark, i - 1, i)), o == 40) {
772
771
  let n = e.skipSpace(i + 1), r = Re(a, n - e.offset, e.offset), o;
773
- r && (n = e.skipSpace(r.to), n != r.to && (o = ze(a, n - e.offset, e.offset), o && (n = e.skipSpace(o.to)))), e.char(n) == 41 && (t.push(R(x.LinkMark, i, i + 1)), s = n + 1, r && t.push(r), o && t.push(o), t.push(R(x.LinkMark, n, s)));
772
+ r && (n = e.skipSpace(r.to), n != r.to && (o = ze(a, n - e.offset, e.offset), o && (n = e.skipSpace(o.to)))), e.char(n) == 41 && (t.push(R(b.LinkMark, i, i + 1)), s = n + 1, r && t.push(r), o && t.push(o), t.push(R(b.LinkMark, n, s)));
774
773
  } else if (o == 91) {
775
774
  let n = Be(a, i - e.offset, e.offset, !1);
776
775
  n && (t.push(n), s = n.to);
@@ -781,7 +780,7 @@ function Re(e, t, n) {
781
780
  if (e.charCodeAt(t) == 60) {
782
781
  for (let r = t + 1; r < e.length; r++) {
783
782
  let i = e.charCodeAt(r);
784
- if (i == 62) return R(x.URL, t + n, r + 1 + n);
783
+ if (i == 62) return R(b.URL, t + n, r + 1 + n);
785
784
  if (i == 60 || i == 10) return !1;
786
785
  }
787
786
  return null;
@@ -790,7 +789,7 @@ function Re(e, t, n) {
790
789
  let r = 0, i = t;
791
790
  for (let t = !1; i < e.length; i++) {
792
791
  let n = e.charCodeAt(i);
793
- if (S(n)) break;
792
+ if (x(n)) break;
794
793
  if (t) t = !1;
795
794
  else if (n == 40) r++;
796
795
  else if (n == 41) {
@@ -798,7 +797,7 @@ function Re(e, t, n) {
798
797
  r--;
799
798
  } else n == 92 && (t = !0);
800
799
  }
801
- return i > t ? R(x.URL, t + n, i + n) : i == e.length && null;
800
+ return i > t ? R(b.URL, t + n, i + n) : i == e.length && null;
802
801
  }
803
802
  }
804
803
  function ze(e, t, n) {
@@ -808,7 +807,7 @@ function ze(e, t, n) {
808
807
  for (let r = t + 1, a = !1; r < e.length; r++) {
809
808
  let o = e.charCodeAt(r);
810
809
  if (a) a = !1;
811
- else if (o == i) return R(x.LinkTitle, t + n, r + 1 + n);
810
+ else if (o == i) return R(b.LinkTitle, t + n, r + 1 + n);
812
811
  else o == 92 && (a = !0);
813
812
  }
814
813
  return null;
@@ -817,9 +816,9 @@ function Be(e, t, n, r) {
817
816
  for (let i = !1, a = t + 1, o = Math.min(e.length, a + 999); a < o; a++) {
818
817
  let o = e.charCodeAt(a);
819
818
  if (i) i = !1;
820
- else if (o == 93) return !r && R(x.LinkLabel, t + n, a + 1 + n);
819
+ else if (o == 93) return !r && R(b.LinkLabel, t + n, a + 1 + n);
821
820
  else {
822
- if (r && !S(o) && (r = !1), o == 91) return !1;
821
+ if (r && !x(o) && (r = !1), o == 91) return !1;
823
822
  o == 92 && (i = !0);
824
823
  }
825
824
  }
@@ -901,7 +900,7 @@ var W = class {
901
900
  return t instanceof V ? t : null;
902
901
  }
903
902
  skipSpace(e) {
904
- return C(this.text, e - this.offset) + this.offset;
903
+ return S(this.text, e - this.offset) + this.offset;
905
904
  }
906
905
  elt(e, t, n, r) {
907
906
  return typeof e == "string" ? R(this.parser.getNodeType(e), t, n, r) : new Ne(e, t);
@@ -922,10 +921,10 @@ function G(e, t) {
922
921
  return n;
923
922
  }
924
923
  var Ve = [
925
- x.CodeBlock,
926
- x.ListItem,
927
- x.OrderedList,
928
- x.BulletList
924
+ b.CodeBlock,
925
+ b.ListItem,
926
+ b.OrderedList,
927
+ b.BulletList
929
928
  ], He = class {
930
929
  constructor(e, t) {
931
930
  this.fragments = e, this.input = t, this.i = 0, this.fragment = null, this.fragmentEnd = -1, this.cursor = null, e.length && (this.fragment = e[this.i++]);
@@ -952,25 +951,25 @@ var Ve = [
952
951
  }
953
952
  matches(e) {
954
953
  let t = this.cursor.tree;
955
- return t && t.prop(v.contextHash) == e;
954
+ return t && t.prop(l.contextHash) == e;
956
955
  }
957
956
  takeNodes(e) {
958
- let t = this.cursor, n = this.fragment.offset, r = this.fragmentEnd - +!!this.fragment.openEnd, i = e.absoluteLineStart, a = i, o = e.block.children.length, s = a, c = o;
957
+ let t = this.cursor, n = this.fragment.offset, i = this.fragmentEnd - +!!this.fragment.openEnd, a = e.absoluteLineStart, o = a, s = e.block.children.length, c = o, l = s;
959
958
  for (;;) {
960
- if (t.to - n > r) {
959
+ if (t.to - n > i) {
961
960
  if (t.type.isAnonymous && t.firstChild()) continue;
962
961
  break;
963
962
  }
964
- let i = Ue(t.from - n, e.ranges);
965
- if (t.to - n <= e.ranges[e.rangeI].to) e.addNode(t.tree, i);
963
+ let a = Ue(t.from - n, e.ranges);
964
+ if (t.to - n <= e.ranges[e.rangeI].to) e.addNode(t.tree, a);
966
965
  else {
967
- let n = new y(e.parser.nodeSet.types[x.Paragraph], [], [], 0, e.block.hashProp);
968
- e.reusePlaceholders.set(n, t.tree), e.addNode(n, i);
966
+ let n = new r(e.parser.nodeSet.types[b.Paragraph], [], [], 0, e.block.hashProp);
967
+ e.reusePlaceholders.set(n, t.tree), e.addNode(n, a);
969
968
  }
970
- if (t.type.is("Block") && (Ve.indexOf(t.type.id) < 0 ? (a = t.to - n, o = e.block.children.length) : (a = s, o = c), s = t.to - n, c = e.block.children.length), !t.nextSibling()) break;
969
+ if (t.type.is("Block") && (Ve.indexOf(t.type.id) < 0 ? (o = t.to - n, s = e.block.children.length) : (o = c, s = l), c = t.to - n, l = e.block.children.length), !t.nextSibling()) break;
971
970
  }
972
- for (; e.block.children.length > o;) e.block.children.pop(), e.block.positions.pop();
973
- return a - i;
971
+ for (; e.block.children.length > s;) e.block.children.pop(), e.block.positions.pop();
972
+ return o - a;
974
973
  }
975
974
  };
976
975
  function Ue(e, t) {
@@ -981,30 +980,30 @@ function Ue(e, t) {
981
980
  }
982
981
  return n;
983
982
  }
984
- var We = re({
985
- "Blockquote/...": b.quote,
986
- HorizontalRule: b.contentSeparator,
987
- "ATXHeading1/... SetextHeading1/...": b.heading1,
988
- "ATXHeading2/... SetextHeading2/...": b.heading2,
989
- "ATXHeading3/...": b.heading3,
990
- "ATXHeading4/...": b.heading4,
991
- "ATXHeading5/...": b.heading5,
992
- "ATXHeading6/...": b.heading6,
993
- "Comment CommentBlock": b.comment,
994
- Escape: b.escape,
995
- Entity: b.character,
996
- "Emphasis/...": b.emphasis,
997
- "StrongEmphasis/...": b.strong,
998
- "Link/... Image/...": b.link,
999
- "OrderedList/... BulletList/...": b.list,
1000
- "BlockQuote/...": b.quote,
1001
- "InlineCode CodeText": b.monospace,
1002
- "URL Autolink": b.url,
1003
- "HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark": b.processingInstruction,
1004
- "CodeInfo LinkLabel": b.labelName,
1005
- LinkTitle: b.string,
1006
- Paragraph: b.content
1007
- }), Ge = new Ae(new oe(je).extend(We), Object.keys(j).map((e) => j[e]), Object.keys(j).map((e) => Te[e]), Object.keys(j), Ee, pe, Object.keys(U).map((e) => U[e]), Object.keys(U), []);
983
+ var We = _({
984
+ "Blockquote/...": y.quote,
985
+ HorizontalRule: y.contentSeparator,
986
+ "ATXHeading1/... SetextHeading1/...": y.heading1,
987
+ "ATXHeading2/... SetextHeading2/...": y.heading2,
988
+ "ATXHeading3/...": y.heading3,
989
+ "ATXHeading4/...": y.heading4,
990
+ "ATXHeading5/...": y.heading5,
991
+ "ATXHeading6/...": y.heading6,
992
+ "Comment CommentBlock": y.comment,
993
+ Escape: y.escape,
994
+ Entity: y.character,
995
+ "Emphasis/...": y.emphasis,
996
+ "StrongEmphasis/...": y.strong,
997
+ "Link/... Image/...": y.link,
998
+ "OrderedList/... BulletList/...": y.list,
999
+ "BlockQuote/...": y.quote,
1000
+ "InlineCode CodeText": y.monospace,
1001
+ "URL Autolink": y.url,
1002
+ "HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark": y.processingInstruction,
1003
+ "CodeInfo LinkLabel": y.labelName,
1004
+ LinkTitle: y.string,
1005
+ Paragraph: y.content
1006
+ }), Ge = new Ae(new n(je).extend(We), Object.keys(j).map((e) => j[e]), Object.keys(j).map((e) => Te[e]), Object.keys(j), Ee, me, Object.keys(U).map((e) => U[e]), Object.keys(U), []);
1008
1007
  function Ke(e, t, n) {
1009
1008
  let r = [];
1010
1009
  for (let i = e.firstChild, a = t;; i = i.nextSibling) {
@@ -1019,21 +1018,21 @@ function Ke(e, t, n) {
1019
1018
  }
1020
1019
  function qe(e) {
1021
1020
  let { codeParser: t, htmlParser: n } = e;
1022
- return { wrap: ne((e, r) => {
1021
+ return { wrap: s((e, r) => {
1023
1022
  let i = e.type.id;
1024
- if (t && (i == x.CodeBlock || i == x.FencedCode)) {
1023
+ if (t && (i == b.CodeBlock || i == b.FencedCode)) {
1025
1024
  let n = "";
1026
- if (i == x.FencedCode) {
1027
- let t = e.node.getChild(x.CodeInfo);
1025
+ if (i == b.FencedCode) {
1026
+ let t = e.node.getChild(b.CodeInfo);
1028
1027
  t && (n = r.read(t.from, t.to));
1029
1028
  }
1030
1029
  let a = t(n);
1031
1030
  if (a) return {
1032
1031
  parser: a,
1033
- overlay: (e) => e.type.id == x.CodeText,
1034
- bracketed: i == x.FencedCode
1032
+ overlay: (e) => e.type.id == b.CodeText,
1033
+ bracketed: i == b.FencedCode
1035
1034
  };
1036
- } else if (n && (i == x.HTMLBlock || i == x.HTMLTag || i == x.CommentBlock)) return {
1035
+ } else if (n && (i == b.HTMLBlock || i == b.HTMLTag || i == b.CommentBlock)) return {
1037
1036
  parser: n,
1038
1037
  overlay: Ke(e.node, e.from, e.to)
1039
1038
  };
@@ -1046,10 +1045,10 @@ var Je = {
1046
1045
  }, Ye = {
1047
1046
  defineNodes: [{
1048
1047
  name: "Strikethrough",
1049
- style: { "Strikethrough/...": b.strikethrough }
1048
+ style: { "Strikethrough/...": y.strikethrough }
1050
1049
  }, {
1051
1050
  name: "StrikethroughMark",
1052
- style: b.processingInstruction
1051
+ style: y.processingInstruction
1053
1052
  }],
1054
1053
  parseInline: [{
1055
1054
  name: "Strikethrough",
@@ -1108,16 +1107,16 @@ var Ze = /^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/, Qe = class {
1108
1107
  },
1109
1108
  {
1110
1109
  name: "TableHeader",
1111
- style: { "TableHeader/...": b.heading }
1110
+ style: { "TableHeader/...": y.heading }
1112
1111
  },
1113
1112
  "TableRow",
1114
1113
  {
1115
1114
  name: "TableCell",
1116
- style: b.content
1115
+ style: y.content
1117
1116
  },
1118
1117
  {
1119
1118
  name: "TableDelimiter",
1120
- style: b.processingInstruction
1119
+ style: y.processingInstruction
1121
1120
  }
1122
1121
  ],
1123
1122
  parseBlock: [{
@@ -1143,10 +1142,10 @@ var Ze = /^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/, Qe = class {
1143
1142
  defineNodes: [{
1144
1143
  name: "Task",
1145
1144
  block: !0,
1146
- style: b.list
1145
+ style: y.list
1147
1146
  }, {
1148
1147
  name: "TaskMarker",
1149
- style: b.atom
1148
+ style: y.atom
1150
1149
  }],
1151
1150
  parseBlock: [{
1152
1151
  name: "TaskList",
@@ -1203,7 +1202,7 @@ function dt(e, t, n) {
1203
1202
  for (let i = a + 1; i < r.end; i++) {
1204
1203
  let s = r.char(i);
1205
1204
  if (s == e) return r.addElement(r.elt(t, a, i + 1, o.concat(r.elt(n, i, i + 1))));
1206
- if (s == 92 && o.push(r.elt("Escape", i, i++ + 2)), S(s)) break;
1205
+ if (s == 92 && o.push(r.elt("Escape", i, i++ + 2)), x(s)) break;
1207
1206
  }
1208
1207
  return -1;
1209
1208
  };
@@ -1211,10 +1210,10 @@ function dt(e, t, n) {
1211
1210
  var ft = {
1212
1211
  defineNodes: [{
1213
1212
  name: "Superscript",
1214
- style: b.special(b.content)
1213
+ style: y.special(y.content)
1215
1214
  }, {
1216
1215
  name: "SuperscriptMark",
1217
- style: b.processingInstruction
1216
+ style: y.processingInstruction
1218
1217
  }],
1219
1218
  parseInline: [{
1220
1219
  name: "Superscript",
@@ -1223,10 +1222,10 @@ var ft = {
1223
1222
  }, pt = {
1224
1223
  defineNodes: [{
1225
1224
  name: "Subscript",
1226
- style: b.special(b.content)
1225
+ style: y.special(y.content)
1227
1226
  }, {
1228
1227
  name: "SubscriptMark",
1229
- style: b.processingInstruction
1228
+ style: y.processingInstruction
1230
1229
  }],
1231
1230
  parseInline: [{
1232
1231
  name: "Subscript",
@@ -1235,7 +1234,7 @@ var ft = {
1235
1234
  }, mt = {
1236
1235
  defineNodes: [{
1237
1236
  name: "Emoji",
1238
- style: b.character
1237
+ style: y.character
1239
1238
  }],
1240
1239
  parseInline: [{
1241
1240
  name: "Emoji",
@@ -1244,17 +1243,17 @@ var ft = {
1244
1243
  return t != 58 || !(r = /^[a-zA-Z_0-9]+:/.exec(e.slice(n + 1, e.end))) ? -1 : e.addElement(e.elt("Emoji", n, n + 1 + r[0].length));
1245
1244
  }
1246
1245
  }]
1247
- }, ht = /* @__PURE__ */ e({ markdown: () => Ft }), gt = /*@__PURE__*/ d({ commentTokens: { block: {
1246
+ }, ht = /* @__PURE__ */ e({ markdown: () => Ft }), gt = /*@__PURE__*/ te({ commentTokens: { block: {
1248
1247
  open: "<!--",
1249
1248
  close: "-->"
1250
- } } }), _t = /*@__PURE__*/ new v(), vt = /*@__PURE__*/ Ge.configure({ props: [
1251
- /*@__PURE__*/ h.add((e) => !e.is("Block") || e.is("Document") || q(e) != null || yt(e) ? void 0 : (e, t) => ({
1249
+ } } }), _t = /*@__PURE__*/ new l(), vt = /*@__PURE__*/ Ge.configure({ props: [
1250
+ /*@__PURE__*/ ie.add((e) => !e.is("Block") || e.is("Document") || q(e) != null || yt(e) ? void 0 : (e, t) => ({
1252
1251
  from: t.doc.lineAt(e.from).to,
1253
1252
  to: e.to
1254
1253
  })),
1255
1254
  /*@__PURE__*/ _t.add(q),
1256
- /*@__PURE__*/ i.add({ Document: () => null }),
1257
- /*@__PURE__*/ a.add({ Document: gt })
1255
+ /*@__PURE__*/ c.add({ Document: () => null }),
1256
+ /*@__PURE__*/ u.add({ Document: gt })
1258
1257
  ] });
1259
1258
  function q(e) {
1260
1259
  let t = /^(?:ATX|Setext)Heading(\d)$/.exec(e.name);
@@ -1272,11 +1271,11 @@ function bt(e, t) {
1272
1271
  }
1273
1272
  return n.to;
1274
1273
  }
1275
- var xt = /*@__PURE__*/ ee.of((e, t, n) => {
1276
- for (let i = r(e).resolveInner(n, -1); i && !(i.from < t); i = i.parent) {
1277
- let e = i.type.prop(_t);
1274
+ var xt = /*@__PURE__*/ oe.of((e, t, n) => {
1275
+ for (let r = o(e).resolveInner(n, -1); r && !(r.from < t); r = r.parent) {
1276
+ let e = r.type.prop(_t);
1278
1277
  if (e == null) continue;
1279
- let t = bt(i, e);
1278
+ let t = bt(r, e);
1280
1279
  if (t > n) return {
1281
1280
  from: n,
1282
1281
  to: t
@@ -1285,14 +1284,14 @@ var xt = /*@__PURE__*/ ee.of((e, t, n) => {
1285
1284
  return null;
1286
1285
  });
1287
1286
  function J(e) {
1288
- return new o(gt, e, [], "markdown");
1287
+ return new f(gt, e, [], "markdown");
1289
1288
  }
1290
1289
  var St = /*@__PURE__*/ J(vt), Y = /*@__PURE__*/ J(/* @__PURE__ */ vt.configure([
1291
1290
  ut,
1292
1291
  pt,
1293
1292
  ft,
1294
1293
  mt,
1295
- { props: [/*@__PURE__*/ h.add({ Table: (e, t) => ({
1294
+ { props: [/*@__PURE__*/ ie.add({ Table: (e, t) => ({
1296
1295
  from: t.doc.lineAt(e.from).to,
1297
1296
  to: e.to
1298
1297
  }) })] }
@@ -1301,7 +1300,7 @@ function Ct(e, t) {
1301
1300
  return (n) => {
1302
1301
  if (n && e) {
1303
1302
  let t = null;
1304
- if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) : u.matchLanguageName(e, n, !0), t instanceof u) return t.support ? t.support.language.parser : s.getSkippingParser(t.load());
1303
+ if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) : ee.matchLanguageName(e, n, !0), t instanceof ee) return t.support ? t.support.language.parser : p.getSkippingParser(t.load());
1305
1304
  if (t) return t.parser;
1306
1305
  }
1307
1306
  return t ? t.parser : null;
@@ -1370,40 +1369,40 @@ function Z(e, t, n, r = 0) {
1370
1369
  }
1371
1370
  function Q(e, t) {
1372
1371
  let n = /^[ \t]*/.exec(e)[0].length;
1373
- if (!n || t.facet(g) != " ") return e;
1374
- let r = f(e, 4, n), i = "";
1372
+ if (!n || t.facet(ae) != " ") return e;
1373
+ let r = g(e, 4, n), i = "";
1375
1374
  for (let e = r; e > 0;) e >= 4 ? (i += " ", e -= 4) : (i += " ", e--);
1376
1375
  return i + e.slice(n);
1377
1376
  }
1378
- var Et = (e = {}) => ({ state: n, dispatch: i }) => {
1379
- let a = r(n), { doc: o } = n, s = null, c = n.changeByRange((r) => {
1377
+ var Et = (e = {}) => ({ state: n, dispatch: r }) => {
1378
+ let i = o(n), { doc: a } = n, s = null, c = n.changeByRange((r) => {
1380
1379
  if (!r.empty || !Y.isActiveAt(n, r.from, -1) && !Y.isActiveAt(n, r.from, 1)) return s = { range: r };
1381
- let i = r.from, c = o.lineAt(i), l = wt(a.resolveInner(i, -1), o);
1382
- for (; l.length && l[l.length - 1].from > i - c.from;) l.pop();
1380
+ let o = r.from, c = a.lineAt(o), l = wt(i.resolveInner(o, -1), a);
1381
+ for (; l.length && l[l.length - 1].from > o - c.from;) l.pop();
1383
1382
  if (!l.length) return s = { range: r };
1384
1383
  let u = l[l.length - 1];
1385
- if (u.to - u.spaceAfter.length > i - c.from) return s = { range: r };
1386
- let d = i >= u.to - u.spaceAfter.length && !/\S/.test(c.text.slice(u.to));
1384
+ if (u.to - u.spaceAfter.length > o - c.from) return s = { range: r };
1385
+ let d = o >= u.to - u.spaceAfter.length && !/\S/.test(c.text.slice(u.to));
1387
1386
  if (u.item && d) {
1388
1387
  if (u.item.from < c.from && !/^[\s>]*$/.test(c.text.slice(0, u.to))) return s = { range: r };
1389
- let a = u.node.firstChild, d = u.node.getChild("ListItem", "ListItem");
1390
- if (a.to >= i || d && d.to < i || c.from > 0 && !/[^\s>]/.test(o.lineAt(c.from - 1).text) || e.nonTightLists === !1) {
1388
+ let i = u.node.firstChild, d = u.node.getChild("ListItem", "ListItem");
1389
+ if (i.to >= o || d && d.to < o || c.from > 0 && !/[^\s>]/.test(a.lineAt(c.from - 1).text) || e.nonTightLists === !1) {
1391
1390
  let e = l.length > 1 ? l[l.length - 2] : null, n, r = "";
1392
- e && e.item ? (n = c.from + e.from, r = e.marker(o, 1)) : n = c.from + (e ? e.to : 0);
1393
- let a = [{
1391
+ e && e.item ? (n = c.from + e.from, r = e.marker(a, 1)) : n = c.from + (e ? e.to : 0);
1392
+ let i = [{
1394
1393
  from: n,
1395
- to: i,
1394
+ to: o,
1396
1395
  insert: r
1397
1396
  }];
1398
- return u.node.name == "OrderedList" && Z(u.item, o, a, -2), e && e.node.name == "OrderedList" && Z(e.item, o, a), {
1397
+ return u.node.name == "OrderedList" && Z(u.item, a, i, -2), e && e.node.name == "OrderedList" && Z(e.item, a, i), {
1399
1398
  range: t.cursor(n + r.length),
1400
- changes: a
1399
+ changes: i
1401
1400
  };
1402
1401
  }
1403
1402
  {
1404
1403
  let e = At(l, n, c);
1405
1404
  return {
1406
- range: t.cursor(i + e.length + 1),
1405
+ range: t.cursor(o + e.length + 1),
1407
1406
  changes: {
1408
1407
  from: c.from,
1409
1408
  insert: e + n.lineBreak
@@ -1412,7 +1411,7 @@ var Et = (e = {}) => ({ state: n, dispatch: i }) => {
1412
1411
  }
1413
1412
  }
1414
1413
  if (u.node.name == "Blockquote" && d && c.from) {
1415
- let e = o.lineAt(c.from - 1), t = />\s*$/.exec(e.text);
1414
+ let e = a.lineAt(c.from - 1), t = />\s*$/.exec(e.text);
1416
1415
  if (t && t.index == u.from) {
1417
1416
  let i = n.changes([{
1418
1417
  from: e.from + t.index,
@@ -1427,22 +1426,22 @@ var Et = (e = {}) => ({ state: n, dispatch: i }) => {
1427
1426
  };
1428
1427
  }
1429
1428
  }
1430
- let p = [];
1431
- u.node.name == "OrderedList" && Z(u.item, o, p);
1432
- let m = u.item && u.item.from < c.from, h = "";
1433
- if (!m || /^[\s\d.)\-+*>]*/.exec(c.text)[0].length >= u.to) for (let e = 0, t = l.length - 1; e <= t; e++) h += e == t && !m ? l[e].marker(o, 1) : l[e].blank(e < t ? f(c.text, 4, l[e + 1].from) - h.length : null);
1434
- let g = i;
1435
- for (; g > c.from && /\s/.test(c.text.charAt(g - c.from - 1));) g--;
1436
- return h = Q(h, n), kt(u.node, n.doc) && (h = At(l, n, c) + n.lineBreak + h), p.push({
1437
- from: g,
1438
- to: i,
1439
- insert: n.lineBreak + h
1429
+ let f = [];
1430
+ u.node.name == "OrderedList" && Z(u.item, a, f);
1431
+ let p = u.item && u.item.from < c.from, m = "";
1432
+ if (!p || /^[\s\d.)\-+*>]*/.exec(c.text)[0].length >= u.to) for (let e = 0, t = l.length - 1; e <= t; e++) m += e == t && !p ? l[e].marker(a, 1) : l[e].blank(e < t ? g(c.text, 4, l[e + 1].from) - m.length : null);
1433
+ let h = o;
1434
+ for (; h > c.from && /\s/.test(c.text.charAt(h - c.from - 1));) h--;
1435
+ return m = Q(m, n), kt(u.node, n.doc) && (m = At(l, n, c) + n.lineBreak + m), f.push({
1436
+ from: h,
1437
+ to: o,
1438
+ insert: n.lineBreak + m
1440
1439
  }), {
1441
- range: t.cursor(g + h.length + 1),
1442
- changes: p
1440
+ range: t.cursor(h + m.length + 1),
1441
+ changes: f
1443
1442
  };
1444
1443
  });
1445
- return !s && (i(n.update(c, {
1444
+ return !s && (r(n.update(c, {
1446
1445
  scrollIntoView: !0,
1447
1446
  userEvent: "input"
1448
1447
  })), !0);
@@ -1459,7 +1458,7 @@ function kt(e, t) {
1459
1458
  }
1460
1459
  function At(e, t, n) {
1461
1460
  let r = "";
1462
- for (let t = 0, i = e.length - 2; t <= i; t++) r += e[t].blank(t < i ? f(n.text, 4, e[t + 1].from) - r.length : null, t < i);
1461
+ for (let t = 0, i = e.length - 2; t <= i; t++) r += e[t].blank(t < i ? g(n.text, 4, e[t + 1].from) - r.length : null, t < i);
1463
1462
  return Q(r, t);
1464
1463
  }
1465
1464
  function jt(e, t) {
@@ -1471,45 +1470,45 @@ function jt(e, t) {
1471
1470
  return n;
1472
1471
  }
1473
1472
  var Mt = ({ state: e, dispatch: n }) => {
1474
- let i = r(e), a = null, o = e.changeByRange((n) => {
1475
- let r = n.from, { doc: o } = e;
1473
+ let r = o(e), i = null, a = e.changeByRange((n) => {
1474
+ let a = n.from, { doc: o } = e;
1476
1475
  if (n.empty && Y.isActiveAt(e, n.from)) {
1477
- let n = o.lineAt(r), a = wt(jt(i, r), o);
1478
- if (a.length) {
1479
- let i = a[a.length - 1], o = i.to - i.spaceAfter.length + +!!i.spaceAfter;
1480
- if (r - n.from > o && !/\S/.test(n.text.slice(o, r - n.from))) return {
1476
+ let n = o.lineAt(a), i = wt(jt(r, a), o);
1477
+ if (i.length) {
1478
+ let r = i[i.length - 1], o = r.to - r.spaceAfter.length + +!!r.spaceAfter;
1479
+ if (a - n.from > o && !/\S/.test(n.text.slice(o, a - n.from))) return {
1481
1480
  range: t.cursor(n.from + o),
1482
1481
  changes: {
1483
1482
  from: n.from + o,
1484
- to: r
1483
+ to: a
1485
1484
  }
1486
1485
  };
1487
- if (r - n.from == o && (i.item && n.from <= i.item.from || /^[\s>]*$/.test(n.text.slice(0, i.to)))) {
1488
- let a = n.from + i.from;
1489
- if (i.item && i.node.from < i.item.from && /\S/.test(n.text.slice(i.from, i.to))) {
1490
- let r = i.blank(f(n.text, 4, i.to) - f(n.text, 4, i.from));
1491
- return a == n.from && (r = Q(r, e)), {
1492
- range: t.cursor(a + r.length),
1486
+ if (a - n.from == o && (r.item && n.from <= r.item.from || /^[\s>]*$/.test(n.text.slice(0, r.to)))) {
1487
+ let i = n.from + r.from;
1488
+ if (r.item && r.node.from < r.item.from && /\S/.test(n.text.slice(r.from, r.to))) {
1489
+ let a = r.blank(g(n.text, 4, r.to) - g(n.text, 4, r.from));
1490
+ return i == n.from && (a = Q(a, e)), {
1491
+ range: t.cursor(i + a.length),
1493
1492
  changes: {
1494
- from: a,
1495
- to: n.from + i.to,
1496
- insert: r
1493
+ from: i,
1494
+ to: n.from + r.to,
1495
+ insert: a
1497
1496
  }
1498
1497
  };
1499
1498
  }
1500
- if (a < r) return {
1501
- range: t.cursor(a),
1499
+ if (i < a) return {
1500
+ range: t.cursor(i),
1502
1501
  changes: {
1503
- from: a,
1504
- to: r
1502
+ from: i,
1503
+ to: a
1505
1504
  }
1506
1505
  };
1507
1506
  }
1508
1507
  }
1509
1508
  }
1510
- return a = { range: n };
1509
+ return i = { range: n };
1511
1510
  });
1512
- return !a && (n(e.update(o, {
1511
+ return !i && (n(e.update(a, {
1513
1512
  scrollIntoView: !0,
1514
1513
  userEvent: "delete"
1515
1514
  })), !0);
@@ -1519,30 +1518,30 @@ var Mt = ({ state: e, dispatch: n }) => {
1519
1518
  }, {
1520
1519
  key: "Backspace",
1521
1520
  run: Mt
1522
- }], Pt = /*@__PURE__*/ se({ matchClosingTags: !1 });
1521
+ }], Pt = /*@__PURE__*/ ce({ matchClosingTags: !1 });
1523
1522
  function Ft(e = {}) {
1524
- let { codeLanguages: t, defaultCodeLanguage: r, addKeymap: i = !0, base: { parser: a } = St, completeHTMLTags: o = !0, pasteURLAsLink: s = !0, htmlTagLanguage: c = Pt } = e;
1525
- if (!(a instanceof Ae)) throw RangeError("Base parser provided to `markdown` should be a Markdown parser");
1523
+ let { codeLanguages: t, defaultCodeLanguage: n, addKeymap: r = !0, base: { parser: i } = St, completeHTMLTags: o = !0, pasteURLAsLink: s = !0, htmlTagLanguage: c = Pt } = e;
1524
+ if (!(i instanceof Ae)) throw RangeError("Base parser provided to `markdown` should be a Markdown parser");
1526
1525
  let l = e.extensions ? [e.extensions] : [], u = [c.support, xt], d;
1527
- s && u.push(zt), r instanceof m ? (u.push(r.support), d = r.language) : r && (d = r);
1526
+ s && u.push(zt), n instanceof re ? (u.push(n.support), d = n.language) : n && (d = n);
1528
1527
  let f = t || d ? Ct(t, d) : void 0;
1529
1528
  l.push(qe({
1530
1529
  codeParser: f,
1531
1530
  htmlParser: c.language.parser
1532
- })), i && u.push(p.high(n.of(Nt)));
1533
- let h = J(a.configure(l));
1534
- return o && u.push(h.data.of({ autocomplete: It })), new m(h, u);
1531
+ })), r && u.push(ne.high(a.of(Nt)));
1532
+ let p = J(i.configure(l));
1533
+ return o && u.push(p.data.of({ autocomplete: It })), new re(p, u);
1535
1534
  }
1536
1535
  function It(e) {
1537
- let { state: t, pos: n } = e, i = /<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n - 25, n));
1538
- if (!i) return null;
1539
- let a = r(t).resolveInner(n, -1);
1540
- for (; a && !a.type.isTop;) {
1541
- if (a.name == "CodeBlock" || a.name == "FencedCode" || a.name == "ProcessingInstructionBlock" || a.name == "CommentBlock" || a.name == "Link" || a.name == "Image") return null;
1542
- a = a.parent;
1536
+ let { state: t, pos: n } = e, r = /<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n - 25, n));
1537
+ if (!r) return null;
1538
+ let i = o(t).resolveInner(n, -1);
1539
+ for (; i && !i.type.isTop;) {
1540
+ if (i.name == "CodeBlock" || i.name == "FencedCode" || i.name == "ProcessingInstructionBlock" || i.name == "CommentBlock" || i.name == "Link" || i.name == "Image") return null;
1541
+ i = i.parent;
1543
1542
  }
1544
1543
  return {
1545
- from: n - i[0].length,
1544
+ from: n - r[0].length,
1546
1545
  to: n,
1547
1546
  options: Lt(),
1548
1547
  validFor: /^<[:\-\.\w\u00b7-\uffff]*$/
@@ -1551,31 +1550,31 @@ function It(e) {
1551
1550
  var $ = null;
1552
1551
  function Lt() {
1553
1552
  if ($) return $;
1554
- let e = ce(new te(c.create({ extensions: Pt }), 0, !0));
1553
+ let e = le(new se(m.create({ extensions: Pt }), 0, !0));
1555
1554
  return $ = e ? e.options : [];
1556
1555
  }
1557
- var Rt = /code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i, zt = /*@__PURE__*/ l.domEventHandlers({ paste: (e, t) => {
1556
+ var Rt = /code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i, zt = /*@__PURE__*/ h.domEventHandlers({ paste: (e, t) => {
1558
1557
  let { main: n } = t.state.selection;
1559
1558
  if (n.empty) return !1;
1560
- let i = e.clipboardData?.getData("text/plain");
1561
- if (!i || !/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i) || (/^www\./.test(i) && (i = "https://" + i), !Y.isActiveAt(t.state, n.from, 1))) return !1;
1562
- let a = r(t.state), o = !1;
1563
- return a.iterate({
1559
+ let r = e.clipboardData?.getData("text/plain");
1560
+ if (!r || !/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(r) || (/^www\./.test(r) && (r = "https://" + r), !Y.isActiveAt(t.state, n.from, 1))) return !1;
1561
+ let i = o(t.state), a = !1;
1562
+ return i.iterate({
1564
1563
  from: n.from,
1565
1564
  to: n.to,
1566
1565
  enter: (e) => {
1567
- (e.from > n.from || Rt.test(e.name)) && (o = !0);
1566
+ (e.from > n.from || Rt.test(e.name)) && (a = !0);
1568
1567
  },
1569
1568
  leave: (e) => {
1570
- e.to < n.to && (o = !0);
1569
+ e.to < n.to && (a = !0);
1571
1570
  }
1572
- }), !o && (t.dispatch({
1571
+ }), !a && (t.dispatch({
1573
1572
  changes: [{
1574
1573
  from: n.from,
1575
1574
  insert: "["
1576
1575
  }, {
1577
1576
  from: n.to,
1578
- insert: `](${i})`
1577
+ insert: `](${r})`
1579
1578
  }],
1580
1579
  userEvent: "input.paste",
1581
1580
  scrollIntoView: !0