@uva-glass/component-library 3.55.4 → 3.55.5

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 (253) hide show
  1. package/dist/{Accordion-BpnBHYIx.js → Accordion-DvblEUVu.js} +16 -17
  2. package/dist/{Accordion-BpnBHYIx.js.map → Accordion-DvblEUVu.js.map} +1 -1
  3. package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js → AddCatalogueLinkForm-rph4K9P0.js} +24 -25
  4. package/dist/{AddCatalogueLinkForm-Cy6fPNvN.js.map → AddCatalogueLinkForm-rph4K9P0.js.map} +1 -1
  5. package/dist/{CheckboxButtonBar-CalU0IYK.js → CheckboxButtonBar-5UMIFMKH.js} +2 -2
  6. package/dist/{CheckboxButtonBar-CalU0IYK.js.map → CheckboxButtonBar-5UMIFMKH.js.map} +1 -1
  7. package/dist/{ControlsButton-zemVxTlg.js → ControlsButton-B1XRpMUM.js} +15 -16
  8. package/dist/{ControlsButton-zemVxTlg.js.map → ControlsButton-B1XRpMUM.js.map} +1 -1
  9. package/dist/{Drawer-Ggofac6y.js → Drawer-e7UFHVg9.js} +29 -30
  10. package/dist/{Drawer-Ggofac6y.js.map → Drawer-e7UFHVg9.js.map} +1 -1
  11. package/dist/{FieldHint-D0HtbTnt.js → FieldHint-fxnEOsVZ.js} +2 -2
  12. package/dist/{FieldHint-D0HtbTnt.js.map → FieldHint-fxnEOsVZ.js.map} +1 -1
  13. package/dist/Fieldset-0LFsZ3Mz.js +22 -0
  14. package/dist/{Fieldset-CoNu_Owa.js.map → Fieldset-0LFsZ3Mz.js.map} +1 -1
  15. package/dist/{Lexical.prod-DIglXatJ.js → Lexical.prod-sbwgNRjw.js} +575 -568
  16. package/dist/Lexical.prod-sbwgNRjw.js.map +1 -0
  17. package/dist/{LexicalClipboard.prod-Bnzu0sh_.js → LexicalClipboard.prod-DdImsyd1.js} +82 -82
  18. package/dist/{LexicalClipboard.prod-Bnzu0sh_.js.map → LexicalClipboard.prod-DdImsyd1.js.map} +1 -1
  19. package/dist/{LexicalExtension.prod-COPHoPpX.js → LexicalExtension.prod-jTSDl1mh.js} +208 -198
  20. package/dist/LexicalExtension.prod-jTSDl1mh.js.map +1 -0
  21. package/dist/{LexicalLink.prod-Bf9JUdMv.js → LexicalLink.prod-BKLNLyu8.js} +155 -149
  22. package/dist/LexicalLink.prod-BKLNLyu8.js.map +1 -0
  23. package/dist/{LexicalList.prod-DRz8vsM9.js → LexicalList.prod-DEtc4lSr.js} +222 -222
  24. package/dist/{LexicalList.prod-DRz8vsM9.js.map → LexicalList.prod-DEtc4lSr.js.map} +1 -1
  25. package/dist/{LexicalTable.prod-D16GW-aZ.js → LexicalTable.prod-CpIPDW6z.js} +436 -428
  26. package/dist/LexicalTable.prod-CpIPDW6z.js.map +1 -0
  27. package/dist/LexicalUtils.prod-DjjGkphN.js +360 -0
  28. package/dist/LexicalUtils.prod-DjjGkphN.js.map +1 -0
  29. package/dist/{LinkContextMenu-m_CGQEiX.js → LinkContextMenu-CTkNPiIW.js} +2 -2
  30. package/dist/{LinkContextMenu-m_CGQEiX.js.map → LinkContextMenu-CTkNPiIW.js.map} +1 -1
  31. package/dist/{ModalDialog-HUkDdAJ-.js → ModalDialog-N50NGnd4.js} +2 -2
  32. package/dist/{ModalDialog-HUkDdAJ-.js.map → ModalDialog-N50NGnd4.js.map} +1 -1
  33. package/dist/{PageOverlay-D_wG2oie.js → PageOverlay-S4xsqJha.js} +2 -2
  34. package/dist/{PageOverlay-D_wG2oie.js.map → PageOverlay-S4xsqJha.js.map} +1 -1
  35. package/dist/{PasteHandlerPlugin-DjD1wryY.js → PasteHandlerPlugin-YpQruA-w.js} +4 -4
  36. package/dist/{PasteHandlerPlugin-DjD1wryY.js.map → PasteHandlerPlugin-YpQruA-w.js.map} +1 -1
  37. package/dist/{RteEditor.module-Jk80F1FA.js → RteEditor.module-BJLUYSpf.js} +9 -10
  38. package/dist/{RteEditor.module-Jk80F1FA.js.map → RteEditor.module-BJLUYSpf.js.map} +1 -1
  39. package/dist/{Sortable.module-BTUOSbOU.js → Sortable.module-8SoaHfuE.js} +6 -7
  40. package/dist/{Sortable.module-BTUOSbOU.js.map → Sortable.module-8SoaHfuE.js.map} +1 -1
  41. package/dist/{SortableProvider-Dc7hwkb5.js → SortableProvider-8HYiBXJS.js} +2 -2
  42. package/dist/{SortableProvider-Dc7hwkb5.js.map → SortableProvider-8HYiBXJS.js.map} +1 -1
  43. package/dist/Spinner-BpElTDIu.js +30 -0
  44. package/dist/{Spinner-D8tWqg9j.js.map → Spinner-BpElTDIu.js.map} +1 -1
  45. package/dist/{TableCellResizerPlugin-CgYsYsuY.js → TableCellResizerPlugin-Ceof6StD.js} +17 -17
  46. package/dist/{TableCellResizerPlugin-CgYsYsuY.js.map → TableCellResizerPlugin-Ceof6StD.js.map} +1 -1
  47. package/dist/{TextArea-DqKIpOfT.js → TextArea-CuASC9bX.js} +16 -17
  48. package/dist/{TextArea-DqKIpOfT.js.map → TextArea-CuASC9bX.js.map} +1 -1
  49. package/dist/{Tooltip-BzB3jznk.js → Tooltip-D27p9kh4.js} +13 -14
  50. package/dist/{Tooltip-BzB3jznk.js.map → Tooltip-D27p9kh4.js.map} +1 -1
  51. package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js → chunk-SZQXB3JV-KiB8lSa9.js} +5 -5
  52. package/dist/{chunk-SZQXB3JV-D0XG4Tlp.js.map → chunk-SZQXB3JV-KiB8lSa9.js.map} +1 -1
  53. package/dist/{client-UU-mS47K.js → client-CHQ7u_QI.js} +9 -9
  54. package/dist/{client-UU-mS47K.js.map → client-CHQ7u_QI.js.map} +1 -1
  55. package/dist/components/Accordion/Accordion.js +1 -1
  56. package/dist/components/Accordion/Accordion.stories.js +1 -1
  57. package/dist/components/Accordion/Accordion.test.js +4 -7
  58. package/dist/components/Accordion/Accordion.test.js.map +1 -1
  59. package/dist/components/Accordion/index.js +1 -1
  60. package/dist/components/AccordionCard/AccordionCard.test.js +3 -6
  61. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
  62. package/dist/components/ActionList/ActionList.test.js +3 -6
  63. package/dist/components/ActionList/ActionList.test.js.map +1 -1
  64. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -5
  65. package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
  66. package/dist/components/Attention/Attention.test.js +2 -5
  67. package/dist/components/Attention/Attention.test.js.map +1 -1
  68. package/dist/components/Backdrop/Backdrop.test.js +2 -5
  69. package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
  70. package/dist/components/Buttons/Button.stories.js +1 -1
  71. package/dist/components/Buttons/Button.test.js +2 -5
  72. package/dist/components/Buttons/Button.test.js.map +1 -1
  73. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  74. package/dist/components/Buttons/LinkButton.test.js +2 -5
  75. package/dist/components/Buttons/LinkButton.test.js.map +1 -1
  76. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  77. package/dist/components/Buttons/MenuButton.test.js +2 -5
  78. package/dist/components/Buttons/MenuButton.test.js.map +1 -1
  79. package/dist/components/Card/Card.test.js +2 -5
  80. package/dist/components/Card/Card.test.js.map +1 -1
  81. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  82. package/dist/components/Checkbox/Checkbox.test.js +3 -6
  83. package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
  84. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +1 -1
  85. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +2 -2
  86. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +3 -6
  87. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
  88. package/dist/components/CheckboxButtonBar/index.js +1 -1
  89. package/dist/components/CheckboxTree/CheckboxTree.js +1 -2
  90. package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -4
  91. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  92. package/dist/components/CheckboxTree/index.js +1 -2
  93. package/dist/components/Chip/Chip.stories.js +1 -1
  94. package/dist/components/ControlsButton/ControlsButton.js +1 -1
  95. package/dist/components/ControlsButton/ControlsButton.stories.js +2 -2
  96. package/dist/components/ControlsButton/index.js +1 -1
  97. package/dist/components/Drawer/Drawer.js +1 -1
  98. package/dist/components/Drawer/Drawer.stories.js +2 -2
  99. package/dist/components/Drawer/index.js +1 -1
  100. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -5
  101. package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
  102. package/dist/components/FieldHint/FieldHint.js +1 -1
  103. package/dist/components/FieldHint/FieldHint.stories.js +1 -1
  104. package/dist/components/FieldHint/index.js +1 -1
  105. package/dist/components/Fieldset/Fieldset.js +1 -1
  106. package/dist/components/Fieldset/Fieldset.stories.js +1 -1
  107. package/dist/components/Fieldset/index.js +1 -1
  108. package/dist/components/FormInput/FormInput.js +1 -2
  109. package/dist/components/FormInput/FormInput.stories.js +2 -3
  110. package/dist/components/FormInput/FormInput.stories.js.map +1 -1
  111. package/dist/components/FormInput/index.js +1 -2
  112. package/dist/components/IconButton/IconButton.stories.js +6 -7
  113. package/dist/components/IconButton/IconButton.stories.js.map +1 -1
  114. package/dist/components/InputField/InputField.stories.js +1 -3
  115. package/dist/components/InputField/InputField.stories.js.map +1 -1
  116. package/dist/components/Label/Label.test.js +2 -5
  117. package/dist/components/Label/Label.test.js.map +1 -1
  118. package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -4
  119. package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
  120. package/dist/components/ModalDialog/ModalDialog.js +1 -1
  121. package/dist/components/ModalDialog/ModalDialog.stories.js +2 -2
  122. package/dist/components/ModalDialog/index.js +1 -1
  123. package/dist/components/MultiSelect/MultiSelect.js +1 -2
  124. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -3
  125. package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
  126. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -2
  127. package/dist/components/MultiSelect/index.js +1 -2
  128. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  129. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +2 -5
  130. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  131. package/dist/components/Notification/Notification.stories.js +1 -1
  132. package/dist/components/Notification/Notification.test.js +2 -5
  133. package/dist/components/Notification/Notification.test.js.map +1 -1
  134. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +6 -7
  135. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
  136. package/dist/components/PageOverlay/PageOverlay.js +1 -1
  137. package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
  138. package/dist/components/PageOverlay/index.js +1 -1
  139. package/dist/components/PeriodSelector/PeriodSelector.js +1 -2
  140. package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -3
  141. package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
  142. package/dist/components/PeriodSelector/index.js +1 -2
  143. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +0 -2
  144. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
  145. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  146. package/dist/components/RadioGroup/Radiogroup.test.js +2 -5
  147. package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
  148. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -2
  149. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -3
  150. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
  151. package/dist/components/RadioTabSelector/index.js +1 -2
  152. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -2
  153. package/dist/components/RteEditor/EditorHeader/index.js +1 -2
  154. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +2 -2
  155. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
  156. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
  157. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +30 -30
  158. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -2
  159. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -2
  160. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -2
  161. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  162. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -2
  163. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  164. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -2
  165. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +6 -6
  166. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
  167. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
  168. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
  169. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  170. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -2
  171. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -2
  172. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +16 -16
  173. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -2
  174. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -2
  175. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -2
  176. package/dist/components/RteEditor/Plugins/index.js +3 -3
  177. package/dist/components/RteEditor/RteEditor.js +1 -2
  178. package/dist/components/RteEditor/RteEditor.stories.js +1 -2
  179. package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
  180. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  181. package/dist/components/RteEditor/helpers.js +5 -5
  182. package/dist/components/RteEditor/index.js +1 -2
  183. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +14 -14
  184. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +19 -19
  185. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  186. package/dist/components/Sortable/Sortable.js +1 -1
  187. package/dist/components/Sortable/Sortable.stories.js +1 -1
  188. package/dist/components/Sortable/SortableProvider.js +1 -1
  189. package/dist/components/Sortable/components/SortableContainer.js +1 -1
  190. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  191. package/dist/components/Sortable/components/SortableItem.js +2 -2
  192. package/dist/components/Spinner/Spinner.js +1 -1
  193. package/dist/components/Spinner/Spinner.stories.js +1 -1
  194. package/dist/components/Spinner/index.js +1 -1
  195. package/dist/components/StatusBadge/StatusBadge.test.js +2 -5
  196. package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
  197. package/dist/components/TextArea/TextArea.js +1 -1
  198. package/dist/components/TextArea/TextArea.stories.js +2 -2
  199. package/dist/components/TextArea/TextArea.test.js +4 -7
  200. package/dist/components/TextArea/TextArea.test.js.map +1 -1
  201. package/dist/components/TextArea/index.js +1 -1
  202. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  203. package/dist/components/Tooltip/Tooltip.js +1 -1
  204. package/dist/components/Tooltip/Tooltip.stories.js +1 -1
  205. package/dist/components/Tooltip/index.js +1 -1
  206. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  207. package/dist/components/VarIndicator/VarIndicator.test.js +3 -6
  208. package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
  209. package/dist/components/index.js +12 -13
  210. package/dist/{components-MNvdQLv1.js → components-DAwjkky5.js} +436 -436
  211. package/dist/components-DAwjkky5.js.map +1 -0
  212. package/dist/{dist-2TKCXdYZ.js → dist-BIkFjHck.js} +181 -181
  213. package/dist/{dist-2TKCXdYZ.js.map → dist-BIkFjHck.js.map} +1 -1
  214. package/dist/{esm-UNe_gmRA.js → esm-ipAmzhQq.js} +4 -4
  215. package/dist/{esm-UNe_gmRA.js.map → esm-ipAmzhQq.js.map} +1 -1
  216. package/dist/{helpers-BBSxTGRl.js → helpers-MNJmfDe_.js} +7 -7
  217. package/dist/{helpers-BBSxTGRl.js.map → helpers-MNJmfDe_.js.map} +1 -1
  218. package/dist/index.js +12 -13
  219. package/dist/{react-18-CRbkdI-3.js → react-18-Dwpebadr.js} +2 -2
  220. package/dist/{react-18-CRbkdI-3.js.map → react-18-Dwpebadr.js.map} +1 -1
  221. package/dist/{react.esm-CzIhAqlo.js → react.esm-R7eBXTUI.js} +587 -587
  222. package/dist/{react.esm-CzIhAqlo.js.map → react.esm-R7eBXTUI.js.map} +1 -1
  223. package/dist/setupTests.js +1 -2
  224. package/dist/setupTests.js.map +1 -1
  225. package/dist/storybook__react.d.js +97 -97
  226. package/dist/storybook__react.d.js.map +1 -1
  227. package/dist/{test-DQruvi8i.js → test-Cr_l59hN.js} +12 -10
  228. package/dist/{test-DQruvi8i.js.map → test-Cr_l59hN.js.map} +1 -1
  229. package/package.json +27 -27
  230. package/dist/Fieldset-CoNu_Owa.js +0 -23
  231. package/dist/Lexical.prod-DIglXatJ.js.map +0 -1
  232. package/dist/LexicalExtension.prod-COPHoPpX.js.map +0 -1
  233. package/dist/LexicalLink.prod-Bf9JUdMv.js.map +0 -1
  234. package/dist/LexicalTable.prod-D16GW-aZ.js.map +0 -1
  235. package/dist/LexicalUtils.prod-BBTLliac.js +0 -360
  236. package/dist/LexicalUtils.prod-BBTLliac.js.map +0 -1
  237. package/dist/Spinner-D8tWqg9j.js +0 -31
  238. package/dist/components-MNvdQLv1.js.map +0 -1
  239. /package/dist/assets/favicon/{android-chrome-192x192.png → src/assets/favicon/android-chrome-192x192.png} +0 -0
  240. /package/dist/assets/favicon/{android-chrome-512x512.png → src/assets/favicon/android-chrome-512x512.png} +0 -0
  241. /package/dist/assets/favicon/{apple-touch-icon.png → src/assets/favicon/apple-touch-icon.png} +0 -0
  242. /package/dist/assets/favicon/{favicon-16x16.png → src/assets/favicon/favicon-16x16.png} +0 -0
  243. /package/dist/assets/favicon/{favicon-32x32.png → src/assets/favicon/favicon-32x32.png} +0 -0
  244. /package/dist/assets/favicon/{favicon.ico → src/assets/favicon/favicon.ico} +0 -0
  245. /package/dist/assets/favicon/{favicon.svg → src/assets/favicon/favicon.svg} +0 -0
  246. /package/dist/assets/favicon/{site.webmanifest → src/assets/favicon/site.webmanifest} +0 -0
  247. /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff → src/assets/fonts/SourceSans3-Regular.otf.woff} +0 -0
  248. /package/dist/assets/fonts/{SourceSans3-Regular.otf.woff2 → src/assets/fonts/SourceSans3-Regular.otf.woff2} +0 -0
  249. /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff → src/assets/fonts/SourceSans3-Semibold.otf.woff} +0 -0
  250. /package/dist/assets/fonts/{SourceSans3-Semibold.otf.woff2 → src/assets/fonts/SourceSans3-Semibold.otf.woff2} +0 -0
  251. /package/dist/assets/{fonts.css → src/css/fonts.css} +0 -0
  252. /package/dist/assets/{globals.css → src/css/globals.css} +0 -0
  253. /package/dist/assets/{variables.css → src/css/variables.css} +0 -0
@@ -1,15 +1,18 @@
1
- import { A as e, B as t, C as n, Cn as r, D as i, Dt as a, Fn as o, Ht as s, M as c, Mt as ee, N as te, Nn as l, Ot as ne, P as re, St as u, Tt as ie, Un as d, Vn as ae, Vt as f, W as p, Wn as oe, Xt as se, Z as m, _ as ce, b as le, cn as ue, dn as de, et as fe, fn as pe, g as me, gn as he, it as ge, ln as _e, mn as ve, on as ye, ot as h, p as be, r as g, t as xe, ut as Se, w as _, y as Ce, yt as we } from "./Lexical.prod-DIglXatJ.js";
2
- import { c as Te, n as Ee, t as De, u as Oe } from "./LexicalUtils.prod-BBTLliac.js";
1
+ import { $t as e, C as t, Ct as n, En as r, H as i, L as a, Ln as o, P as s, Pn as c, S as ee, Sn as te, T as ne, Tt as re, U as l, Vn as ie, X as u, Zt as d, at as f, cn as ae, dn as p, f as oe, fn as se, g as ce, hn as le, jt as m, k as ue, kt as de, mn as fe, n as pe, on as me, ot as he, p as ge, pn as _e, r as h, sn as ve, st as ye, t as be, w as xe, wt as Se, x as Ce, y as we, z as Te, zt as Ee } from "./Lexical.prod-sbwgNRjw.js";
2
+ import { c as De, n as Oe, t as ke, u as Ae } from "./LexicalUtils.prod-DjjGkphN.js";
3
3
  //#region node_modules/@lexical/extension/LexicalExtension.prod.mjs
4
- var ke = Symbol.for("preact-signals");
5
- function v() {
6
- if (C > 1) return void C--;
4
+ var je = Symbol.for("preact-signals");
5
+ function g() {
6
+ if (S > 1) return void S--;
7
7
  let e, t = !1;
8
- for (; x !== void 0;) {
9
- let n = x;
10
- for (x = void 0, w++; n !== void 0;) {
11
- let r = n.o;
12
- if (n.o = void 0, n.f &= -3, !(8 & n.f) && k(n)) try {
8
+ for (function() {
9
+ let e = x;
10
+ for (x = void 0; e !== void 0;) e.S.v === e.v && (e.S.i = e.i), e = e.o;
11
+ }(); y !== void 0;) {
12
+ let n = y;
13
+ for (y = void 0, C++; n !== void 0;) {
14
+ let r = n.u;
15
+ if (n.u = void 0, n.f &= -3, !(8 & n.f) && k(n)) try {
13
16
  n.c();
14
17
  } catch (n) {
15
18
  t ||= (e = n, !0);
@@ -17,44 +20,44 @@ function v() {
17
20
  n = r;
18
21
  }
19
22
  }
20
- if (w = 0, C--, t) throw e;
23
+ if (C = 0, S--, t) throw e;
21
24
  }
22
- function y(e) {
23
- if (C > 0) return e();
24
- C++;
25
+ function _(e) {
26
+ if (S > 0) return e();
27
+ w = ++Me, S++;
25
28
  try {
26
29
  return e();
27
30
  } finally {
28
- v();
31
+ g();
29
32
  }
30
33
  }
31
- var b, x;
32
- function S(e) {
33
- let t = b;
34
- b = void 0;
34
+ var v, y;
35
+ function b(e) {
36
+ let t = v;
37
+ v = void 0;
35
38
  try {
36
39
  return e();
37
40
  } finally {
38
- b = t;
41
+ v = t;
39
42
  }
40
43
  }
41
- var C = 0, w = 0, T = 0;
44
+ var x, S = 0, C = 0, Me = 0, w = 0, T = 0;
42
45
  function E(e) {
43
- if (b === void 0) return;
46
+ if (v === void 0) return;
44
47
  let t = e.n;
45
- return t === void 0 || t.t !== b ? (t = {
48
+ return t === void 0 || t.t !== v ? (t = {
46
49
  i: 0,
47
50
  S: e,
48
- p: b.s,
51
+ p: v.s,
49
52
  n: void 0,
50
- t: b,
53
+ t: v,
51
54
  e: void 0,
52
55
  x: void 0,
53
56
  r: t
54
- }, b.s !== void 0 && (b.s.n = t), b.s = t, e.n = t, 32 & b.f && e.S(t), t) : t.i === -1 ? (t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = b.s, t.n = void 0, b.s.n = t, b.s = t), t) : void 0;
57
+ }, v.s !== void 0 && (v.s.n = t), v.s = t, e.n = t, 32 & v.f && e.S(t), t) : t.i === -1 ? (t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = v.s, t.n = void 0, v.s.n = t, v.s = t), t) : void 0;
55
58
  }
56
59
  function D(e, t) {
57
- this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
60
+ this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.l = 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
58
61
  }
59
62
  function O(e, t) {
60
63
  return new D(e, t);
@@ -83,34 +86,34 @@ function j(e) {
83
86
  function M(e, t) {
84
87
  D.call(this, void 0), this.x = e, this.s = void 0, this.g = T - 1, this.f = 4, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
85
88
  }
86
- function Ae(e, t) {
89
+ function Ne(e, t) {
87
90
  return new M(e, t);
88
91
  }
89
- function je(e) {
90
- let t = e.u;
91
- if (e.u = void 0, typeof t == "function") {
92
- C++;
93
- let n = b;
94
- b = void 0;
92
+ function Pe(e) {
93
+ let t = e.m;
94
+ if (e.m = void 0, typeof t == "function") {
95
+ S++;
96
+ let n = v;
97
+ v = void 0;
95
98
  try {
96
99
  t();
97
100
  } catch (t) {
98
101
  throw e.f &= -2, e.f |= 8, N(e), t;
99
102
  } finally {
100
- b = n, v();
103
+ v = n, g();
101
104
  }
102
105
  }
103
106
  }
104
107
  function N(e) {
105
108
  for (let t = e.s; t !== void 0; t = t.n) t.S.U(t);
106
- e.x = void 0, e.s = void 0, je(e);
109
+ e.x = void 0, e.s = void 0, Pe(e);
107
110
  }
108
- function Me(e) {
109
- if (b !== this) throw Error("Out-of-order effect");
110
- j(this), b = e, this.f &= -2, 8 & this.f && N(this), v();
111
+ function Fe(e) {
112
+ if (v !== this) throw Error("Out-of-order effect");
113
+ j(this), v = e, this.f &= -2, 8 & this.f && N(this), g();
111
114
  }
112
115
  function P(e, t) {
113
- this.x = e, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = t?.name;
116
+ this.x = e, this.m = void 0, this.s = void 0, this.u = void 0, this.f = 32, this.name = t?.name;
114
117
  }
115
118
  function F(e, t) {
116
119
  let n = new P(e, t);
@@ -130,30 +133,30 @@ function I(e, t = {}) {
130
133
  }
131
134
  return n;
132
135
  }
133
- D.prototype.brand = ke, D.prototype.h = function() {
136
+ D.prototype.brand = je, D.prototype.h = function() {
134
137
  return !0;
135
138
  }, D.prototype.S = function(e) {
136
139
  let t = this.t;
137
- t !== e && e.e === void 0 && (e.x = t, this.t = e, t === void 0 ? S(() => {
140
+ t !== e && e.e === void 0 && (e.x = t, this.t = e, t === void 0 ? b(() => {
138
141
  var e;
139
142
  (e = this.W) == null || e.call(this);
140
143
  }) : t.e = e);
141
144
  }, D.prototype.U = function(e) {
142
145
  if (this.t !== void 0) {
143
146
  let t = e.e, n = e.x;
144
- t !== void 0 && (t.x = n, e.e = void 0), n !== void 0 && (n.e = t, e.x = void 0), e === this.t && (this.t = n, n === void 0 && S(() => {
147
+ t !== void 0 && (t.x = n, e.e = void 0), n !== void 0 && (n.e = t, e.x = void 0), e === this.t && (this.t = n, n === void 0 && b(() => {
145
148
  var e;
146
149
  (e = this.Z) == null || e.call(this);
147
150
  }));
148
151
  }
149
152
  }, D.prototype.subscribe = function(e) {
150
153
  return F(() => {
151
- let t = this.value, n = b;
152
- b = void 0;
154
+ let t = this.value, n = v;
155
+ v = void 0;
153
156
  try {
154
157
  e(t);
155
158
  } finally {
156
- b = n;
159
+ v = n;
157
160
  }
158
161
  }, { name: "sub" });
159
162
  }, D.prototype.valueOf = function() {
@@ -163,12 +166,12 @@ D.prototype.brand = ke, D.prototype.h = function() {
163
166
  }, D.prototype.toJSON = function() {
164
167
  return this.value;
165
168
  }, D.prototype.peek = function() {
166
- let e = b;
167
- b = void 0;
169
+ let e = v;
170
+ v = void 0;
168
171
  try {
169
172
  return this.value;
170
173
  } finally {
171
- b = e;
174
+ v = e;
172
175
  }
173
176
  }, Object.defineProperty(D.prototype, "value", {
174
177
  get() {
@@ -177,12 +180,19 @@ D.prototype.brand = ke, D.prototype.h = function() {
177
180
  },
178
181
  set(e) {
179
182
  if (e !== this.v) {
180
- if (w > 100) throw Error("Cycle detected");
181
- this.v = e, this.i++, T++, C++;
183
+ if (C > 100) throw Error("Cycle detected");
184
+ (function(e) {
185
+ S !== 0 && C === 0 && e.l !== w && (e.l = w, x = {
186
+ S: e,
187
+ v: e.v,
188
+ i: e.i,
189
+ o: x
190
+ });
191
+ })(this), this.v = e, this.i++, T++, S++;
182
192
  try {
183
193
  for (let e = this.t; e !== void 0; e = e.x) e.t.N();
184
194
  } finally {
185
- v();
195
+ g();
186
196
  }
187
197
  }
188
198
  }
@@ -190,15 +200,15 @@ D.prototype.brand = ke, D.prototype.h = function() {
190
200
  if (this.f &= -3, 1 & this.f) return !1;
191
201
  if ((36 & this.f) == 32 || (this.f &= -5, this.g === T)) return !0;
192
202
  if (this.g = T, this.f |= 1, this.i > 0 && !k(this)) return this.f &= -2, !0;
193
- let e = b;
203
+ let e = v;
194
204
  try {
195
- A(this), b = this;
205
+ A(this), v = this;
196
206
  let e = this.x();
197
207
  (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
198
208
  } catch (e) {
199
209
  this.v = e, this.f |= 16, this.i++;
200
210
  }
201
- return b = e, j(this), this.f &= -2, !0;
211
+ return v = e, j(this), this.f &= -2, !0;
202
212
  }, M.prototype.S = function(e) {
203
213
  if (this.t === void 0) {
204
214
  this.f |= 36;
@@ -225,24 +235,24 @@ D.prototype.brand = ke, D.prototype.h = function() {
225
235
  try {
226
236
  if (8 & this.f || this.x === void 0) return;
227
237
  let e = this.x();
228
- typeof e == "function" && (this.u = e);
238
+ typeof e == "function" && (this.m = e);
229
239
  } finally {
230
240
  e();
231
241
  }
232
242
  }, P.prototype.S = function() {
233
243
  if (1 & this.f) throw Error("Cycle detected");
234
- this.f |= 1, this.f &= -9, je(this), A(this), C++;
235
- let e = b;
236
- return b = this, Me.bind(this, e);
244
+ this.f |= 1, this.f &= -9, Pe(this), A(this), S++;
245
+ let e = v;
246
+ return v = this, Fe.bind(this, e);
237
247
  }, P.prototype.N = function() {
238
- 2 & this.f || (this.f |= 2, this.o = x, x = this);
248
+ 2 & this.f || (this.f |= 2, this.u = y, y = this);
239
249
  }, P.prototype.d = function() {
240
250
  this.f |= 8, 1 & this.f || N(this);
241
251
  }, P.prototype.dispose = function() {
242
252
  this.d();
243
- }, e({
253
+ }, t({
244
254
  build: (e, t, n) => I(t),
245
- config: h({
255
+ config: m({
246
256
  defaultSelection: "rootEnd",
247
257
  disabled: !1
248
258
  }),
@@ -257,29 +267,29 @@ D.prototype.brand = ke, D.prototype.h = function() {
257
267
  }));
258
268
  }
259
269
  });
260
- function Ne() {
261
- let e = d(), t = g(), n = u();
262
- e.clear(), e.append(n), t !== null && n.select(), l(t) && (t.format = 0);
270
+ function Ie() {
271
+ let e = f(), t = h(), n = de();
272
+ e.clear(), e.append(n), t !== null && n.select(), c(t) && (t.format = 0);
263
273
  }
264
- function Pe(e, t = Ne) {
265
- return e.registerCommand(xe, (n) => (e.update(t), !0), 0);
274
+ function Le(e, t = Ie) {
275
+ return e.registerCommand(be, (n) => (e.update(t), !0), 0);
266
276
  }
267
- e({
277
+ t({
268
278
  build: (e, t, n) => I(t),
269
- config: h({ $onClear: Ne }),
279
+ config: m({ $onClear: Ie }),
270
280
  name: "@lexical/extension/ClearEditor",
271
281
  register(e, t, n) {
272
282
  let { $onClear: r } = n.getOutput();
273
- return F(() => Pe(e, r.value));
283
+ return F(() => Le(e, r.value));
274
284
  }
275
285
  });
276
- function Fe(e) {
286
+ function Re(e) {
277
287
  return (typeof e.nodes == "function" ? e.nodes() : e.nodes) || [];
278
288
  }
279
- var L = se("format", { parse: (e) => typeof e == "number" ? e : 0 }), Ie = class extends _ {
289
+ var L = e("format", { parse: (e) => typeof e == "number" ? e : 0 }), ze = class extends l {
280
290
  $config() {
281
291
  return this.config("decorator-text", {
282
- extends: _,
292
+ extends: l,
283
293
  stateConfigs: [{
284
294
  flat: !0,
285
295
  stateConfig: L
@@ -287,20 +297,20 @@ var L = se("format", { parse: (e) => typeof e == "number" ? e : 0 }), Ie = class
287
297
  });
288
298
  }
289
299
  getFormat() {
290
- return he(this, L);
300
+ return le(this, L);
291
301
  }
292
302
  getFormatFlags(e, t) {
293
- return m(this.getFormat(), e, t);
303
+ return Ee(this.getFormat(), e, t);
294
304
  }
295
305
  hasFormat(e) {
296
- let t = ae[e];
306
+ let t = ie[e];
297
307
  return (this.getFormat() & t) !== 0;
298
308
  }
299
309
  setFormat(e) {
300
- return ue(this, L, e);
310
+ return ve(this, L, e);
301
311
  }
302
312
  toggleFormat(e) {
303
- let t = m(this.getFormat(), e, null);
313
+ let t = Ee(this.getFormat(), e, null);
304
314
  return this.setFormat(t);
305
315
  }
306
316
  isInline() {
@@ -313,19 +323,19 @@ var L = se("format", { parse: (e) => typeof e == "number" ? e : 0 }), Ie = class
313
323
  return !1;
314
324
  }
315
325
  };
316
- function Le(e) {
317
- return e instanceof Ie;
326
+ function Be(e) {
327
+ return e instanceof ze;
318
328
  }
319
- e({
329
+ t({
320
330
  name: "@lexical/extension/DecoratorText",
321
- nodes: () => [Ie],
322
- register: (e, t, n) => e.registerCommand(_e, (e) => {
323
- let t = g();
324
- if (fe(t) || l(t)) for (let n of t.getNodes()) Le(n) && n.toggleFormat(e);
331
+ nodes: () => [ze],
332
+ register: (e, t, n) => e.registerCommand(ae, (e) => {
333
+ let t = h();
334
+ if (u(t) || c(t)) for (let n of t.getNodes()) Be(n) && n.toggleFormat(e);
325
335
  return !1;
326
336
  }, 1)
327
337
  });
328
- function Re(e, t) {
338
+ function Ve(e, t) {
329
339
  let n;
330
340
  return O(e(), {
331
341
  unwatched() {
@@ -336,8 +346,8 @@ function Re(e, t) {
336
346
  }
337
347
  });
338
348
  }
339
- var R = e({
340
- build: (e) => Re(() => e.getEditorState(), (t) => e.registerUpdateListener((e) => {
349
+ var R = t({
350
+ build: (e) => Ve(() => e.getEditorState(), (t) => e.registerUpdateListener((e) => {
341
351
  t.value = e.editorState;
342
352
  })),
343
353
  name: "@lexical/extension/EditorState"
@@ -348,27 +358,27 @@ function z(e, ...t) {
348
358
  for (let e of t) r.append("v", e);
349
359
  throw n.search = r.toString(), Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
350
360
  }
351
- function ze(e, t) {
361
+ function He(e, t) {
352
362
  if (e && t && !Array.isArray(t) && typeof e == "object" && typeof t == "object") {
353
363
  let n = e, r = t;
354
- for (let e in r) n[e] = ze(n[e], r[e]);
364
+ for (let e in r) n[e] = He(n[e], r[e]);
355
365
  return e;
356
366
  }
357
367
  return t;
358
368
  }
359
- var B = 0, V = 1, Be = 2, H = 3, U = 4, W = 5, G = 6, K = 7;
369
+ var B = 0, V = 1, Ue = 2, H = 3, U = 4, W = 5, G = 6, K = 7;
360
370
  function q(e) {
361
371
  return e.id === B;
362
372
  }
363
- function Ve(e) {
364
- return e.id === Be;
373
+ function We(e) {
374
+ return e.id === Ue;
365
375
  }
366
- function He(e) {
376
+ function Ge(e) {
367
377
  return function(e) {
368
378
  return e.id === V;
369
- }(e) || z(305, String(e.id), String(V)), Object.assign(e, { id: Be });
379
+ }(e) || z(305, String(e.id), String(V)), Object.assign(e, { id: Ue });
370
380
  }
371
- var Ue = /* @__PURE__ */ new Set(), We = class {
381
+ var Ke = /* @__PURE__ */ new Set(), qe = class {
372
382
  builder;
373
383
  configs;
374
384
  _dependency;
@@ -380,13 +390,13 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
380
390
  this.builder = e, this.extension = t, this.configs = /* @__PURE__ */ new Set(), this.state = { id: B };
381
391
  }
382
392
  mergeConfigs() {
383
- let e = this.extension.config || {}, t = this.extension.mergeConfig ? this.extension.mergeConfig.bind(this.extension) : ee;
393
+ let e = this.extension.config || {}, t = this.extension.mergeConfig ? this.extension.mergeConfig.bind(this.extension) : r;
384
394
  for (let n of this.configs) e = t(e, n);
385
395
  return e;
386
396
  }
387
397
  init(e) {
388
398
  let t = this.state;
389
- Ve(t) || z(306, String(t.id));
399
+ We(t) || z(306, String(t.id));
390
400
  let n = {
391
401
  getDependency: this.getInitDependency.bind(this),
392
402
  getDirectDependentNames: this.getDirectDependentNames.bind(this),
@@ -487,7 +497,7 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
487
497
  }(e) || z(316, String(e.id), String(K)), e;
488
498
  }
489
499
  getDirectDependentNames() {
490
- return this.builder.incomingEdges.get(this.extension.name) || Ue;
500
+ return this.builder.incomingEdges.get(this.extension.name) || Ke;
491
501
  }
492
502
  getPeerNameSet() {
493
503
  let e = this._peerNameSet;
@@ -506,17 +516,17 @@ var Ue = /* @__PURE__ */ new Set(), We = class {
506
516
  }
507
517
  return this._dependency;
508
518
  }
509
- }, Ge = { tag: a };
510
- function Ke() {
511
- let e = d();
512
- e.isEmpty() && e.append(u());
519
+ }, Je = { tag: n };
520
+ function Ye() {
521
+ let e = f();
522
+ e.isEmpty() && e.append(de());
513
523
  }
514
- var qe = e({
515
- config: h({
516
- setOptions: Ge,
517
- updateOptions: Ge
524
+ var Xe = t({
525
+ config: m({
526
+ setOptions: Je,
527
+ updateOptions: Je
518
528
  }),
519
- init: ({ $initialEditorState: e = Ke }) => ({
529
+ init: ({ $initialEditorState: e = Ye }) => ({
520
530
  $initialEditorState: e,
521
531
  initialized: !1
522
532
  }),
@@ -525,7 +535,7 @@ var qe = e({
525
535
  if (!i.initialized) {
526
536
  i.initialized = !0;
527
537
  let { $initialEditorState: r } = i;
528
- if (ie(r)) e.setEditorState(r, n);
538
+ if (s(r)) e.setEditorState(r, n);
529
539
  else if (typeof r == "function") e.update(() => {
530
540
  r(e);
531
541
  }, t);
@@ -538,21 +548,21 @@ var qe = e({
538
548
  },
539
549
  name: "@lexical/extension/InitialState",
540
550
  nodes: [
541
- re,
542
- ye,
543
- i,
551
+ Te,
552
+ me,
553
+ xe,
544
554
  o,
545
- we
555
+ pe
546
556
  ]
547
- }), Je = Symbol.for("@lexical/extension/LexicalBuilder");
548
- function Ye() {}
549
- function Xe(e) {
557
+ }), Ze = Symbol.for("@lexical/extension/LexicalBuilder");
558
+ function Qe() {}
559
+ function $e(e) {
550
560
  throw e;
551
561
  }
552
562
  function J(e) {
553
563
  return Array.isArray(e) ? e : [e];
554
564
  }
555
- var Y = "0.42.0+prod.esm", X = class e {
565
+ var Y = "0.43.0+prod.esm", X = class e {
556
566
  roots;
557
567
  extensionNameMap;
558
568
  outgoingConfigEdges;
@@ -565,12 +575,12 @@ var Y = "0.42.0+prod.esm", X = class e {
565
575
  for (let t of e) this.addExtension(t);
566
576
  }
567
577
  static fromExtensions(t) {
568
- let n = [J(qe)];
578
+ let n = [J(Xe)];
569
579
  for (let e of t) n.push(J(e));
570
580
  return new e(n);
571
581
  }
572
582
  static maybeFromEditor(t) {
573
- let n = t[Je];
583
+ let n = t[Ze];
574
584
  return n && (n.PACKAGE_VERSION !== Y && z(292, n.PACKAGE_VERSION, Y), n instanceof e || z(293)), n;
575
585
  }
576
586
  static fromEditor(t) {
@@ -578,29 +588,29 @@ var Y = "0.42.0+prod.esm", X = class e {
578
588
  return n === void 0 && z(294), n;
579
589
  }
580
590
  constructEditor() {
581
- let { $initialEditorState: e, onError: t, ...n } = this.buildCreateEditorArgs(), r = Object.assign(s({
591
+ let { $initialEditorState: e, onError: t, ...n } = this.buildCreateEditorArgs(), r = Object.assign(_e({
582
592
  ...n,
583
593
  ...t ? { onError: (e) => {
584
594
  t(e, r);
585
595
  } } : {}
586
- }), { [Je]: this });
596
+ }), { [Ze]: this });
587
597
  for (let e of this.sortedExtensionReps()) e.build(r);
588
598
  return r;
589
599
  }
590
600
  buildEditor() {
591
- let e = Ye;
601
+ let e = Qe;
592
602
  function t() {
593
603
  try {
594
604
  e();
595
605
  } finally {
596
- e = Ye;
606
+ e = Qe;
597
607
  }
598
608
  }
599
609
  let n = Object.assign(this.constructEditor(), {
600
610
  dispose: t,
601
611
  [Symbol.dispose]: t
602
612
  });
603
- return e = r(this.registerEditor(n), () => n.setRootElement(null)), n;
613
+ return e = d(this.registerEditor(n), () => n.setRootElement(null)), n;
604
614
  }
605
615
  hasExtensionByName(e) {
606
616
  return this.extensionNameMap.has(e);
@@ -621,7 +631,7 @@ var Y = "0.42.0+prod.esm", X = class e {
621
631
  typeof t.name != "string" && z(297, typeof t.name);
622
632
  let n = this.extensionNameMap.get(t.name);
623
633
  if (n !== void 0 && n.extension !== t && z(298, t.name), !n) {
624
- n = new We(this, t), this.extensionNameMap.set(t.name, n);
634
+ n = new qe(this, t), this.extensionNameMap.set(t.name, n);
625
635
  let e = this.conflicts.get(t.name);
626
636
  typeof e == "string" && z(299, t.name, e);
627
637
  for (let e of t.conflictsWith || []) this.extensionNameMap.has(e) && z(299, t.name, e), this.conflicts.set(e, t.name);
@@ -636,7 +646,7 @@ var Y = "0.42.0+prod.esm", X = class e {
636
646
  if (this._sortedExtensionReps) return this._sortedExtensionReps;
637
647
  let e = [], t = (n, r) => {
638
648
  let i = n.state;
639
- if (Ve(i)) return;
649
+ if (We(i)) return;
640
650
  let a = n.extension.name;
641
651
  var o;
642
652
  q(i) || z(300, a, r || "[unknown]"), q(o = i) || z(304, String(o.id), String(B)), i = Object.assign(o, { id: V }), n.state = i;
@@ -645,7 +655,7 @@ var Y = "0.42.0+prod.esm", X = class e {
645
655
  let n = this.extensionNameMap.get(e);
646
656
  n && t(n, a);
647
657
  }
648
- i = He(i), n.state = i, e.push(n);
658
+ i = Ge(i), n.state = i, e.push(n);
649
659
  };
650
660
  for (let e of this.extensionNameMap.values()) q(e.state) && t(e);
651
661
  for (let t of e) for (let [e, n] of this.outgoingConfigEdges.get(t.extension.name) || []) if (n.length > 0) {
@@ -660,22 +670,22 @@ var Y = "0.42.0+prod.esm", X = class e {
660
670
  return this._sortedExtensionReps = e, this._sortedExtensionReps;
661
671
  }
662
672
  registerEditor(e) {
663
- let t = this.sortedExtensionReps(), n = new AbortController(), i = [() => n.abort()], a = n.signal;
673
+ let t = this.sortedExtensionReps(), n = new AbortController(), r = [() => n.abort()], i = n.signal;
664
674
  for (let n of t) {
665
- let t = n.register(e, a);
666
- t && i.push(t);
675
+ let t = n.register(e, i);
676
+ t && r.push(t);
667
677
  }
668
678
  for (let n of t) {
669
679
  let t = n.afterRegistration(e);
670
- t && i.push(t);
680
+ t && r.push(t);
671
681
  }
672
- return r(...i);
682
+ return d(...r);
673
683
  }
674
684
  buildCreateEditorArgs() {
675
685
  let e = {}, t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = {}, a = {}, o = this.sortedExtensionReps();
676
686
  for (let s of o) {
677
687
  let { extension: o } = s;
678
- if (o.onError !== void 0 && (e.onError = o.onError), o.disableEvents !== void 0 && (e.disableEvents = o.disableEvents), o.parentEditor !== void 0 && (e.parentEditor = o.parentEditor), o.editable !== void 0 && (e.editable = o.editable), o.namespace !== void 0 && (e.namespace = o.namespace), o.$initialEditorState !== void 0 && (e.$initialEditorState = o.$initialEditorState), o.nodes) for (let e of Fe(o)) {
688
+ if (o.onError !== void 0 && (e.onError = o.onError), o.disableEvents !== void 0 && (e.disableEvents = o.disableEvents), o.parentEditor !== void 0 && (e.parentEditor = o.parentEditor), o.editable !== void 0 && (e.editable = o.editable), o.namespace !== void 0 && (e.namespace = o.namespace), o.$initialEditorState !== void 0 && (e.$initialEditorState = o.$initialEditorState), o.nodes) for (let e of Re(o)) {
679
689
  if (typeof e != "function") {
680
690
  let t = n.get(e.replace);
681
691
  t && z(302, o.name, e.replace.name, t.extension.name), n.set(e.replace, s);
@@ -686,42 +696,42 @@ var Y = "0.42.0+prod.esm", X = class e {
686
696
  if (o.html.export) for (let [e, t] of o.html.export.entries()) r.set(e, t);
687
697
  o.html.import && Object.assign(i, o.html.import);
688
698
  }
689
- o.theme && ze(a, o.theme);
699
+ o.theme && He(a, o.theme);
690
700
  }
691
701
  Object.keys(a).length > 0 && (e.theme = a), t.size && (e.nodes = [...t]);
692
702
  let s = Object.keys(i).length > 0, c = r.size > 0;
693
703
  (s || c) && (e.html = {}, s && (e.html.import = i), c && (e.html.export = r));
694
704
  for (let t of o) t.init(e);
695
- return e.onError ||= Xe, e;
705
+ return e.onError ||= $e, e;
696
706
  }
697
707
  };
698
- function Ze(e, t) {
708
+ function et(e, t) {
699
709
  let n = X.fromEditor(e).extensionNameMap.get(t);
700
710
  return n ? n.getExtensionDependency() : void 0;
701
711
  }
702
- var Qe = /* @__PURE__ */ new Set(), $e = e({
712
+ var tt = /* @__PURE__ */ new Set(), nt = t({
703
713
  build(e, t, n) {
704
- let r = n.getDependency(R).output, i = O({ watchedNodeKeys: /* @__PURE__ */ new Map() }), a = Re(() => {}, () => F(() => {
714
+ let r = n.getDependency(R).output, i = O({ watchedNodeKeys: /* @__PURE__ */ new Map() }), a = Ve(() => {}, () => F(() => {
705
715
  let e = a.peek(), { watchedNodeKeys: t } = i.value, n, o = !1;
706
716
  r.value.read(() => {
707
- if (g()) for (let [r, i] of t.entries()) {
717
+ if (h()) for (let [r, i] of t.entries()) {
708
718
  if (i.size === 0) {
709
719
  t.delete(r);
710
720
  continue;
711
721
  }
712
- let a = ge(r), s = a && a.isSelected() || !1;
722
+ let a = ce(r), s = a && a.isSelected() || !1;
713
723
  o ||= s !== (!!e && e.has(r)), s && (n ||= /* @__PURE__ */ new Set(), n.add(r));
714
724
  }
715
725
  }), !o && n && e && n.size === e.size || (a.value = n);
716
726
  }));
717
727
  return { watchNodeKey: function(e) {
718
- let t = Ae(() => (a.value || Qe).has(e)), { watchedNodeKeys: n } = i.peek(), r = n.get(e), o = r !== void 0;
728
+ let t = Ne(() => (a.value || tt).has(e)), { watchedNodeKeys: n } = i.peek(), r = n.get(e), o = r !== void 0;
719
729
  return r ||= /* @__PURE__ */ new Set(), r.add(t), o || (n.set(e, r), i.value = { watchedNodeKeys: n }), t;
720
730
  } };
721
731
  },
722
732
  dependencies: [R],
723
733
  name: "@lexical/extension/NodeSelection"
724
- }), et = pe("INSERT_HORIZONTAL_RULE_COMMAND"), Z = class e extends _ {
734
+ }), rt = se("INSERT_HORIZONTAL_RULE_COMMAND"), Z = class e extends l {
725
735
  static getType() {
726
736
  return "horizontalrule";
727
737
  }
@@ -733,7 +743,7 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
733
743
  }
734
744
  static importDOM() {
735
745
  return { hr: () => ({
736
- conversion: tt,
746
+ conversion: it,
737
747
  priority: 0
738
748
  }) };
739
749
  }
@@ -742,7 +752,7 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
742
752
  }
743
753
  createDOM(e) {
744
754
  let t = document.createElement("hr");
745
- return f(t, e.theme.hr), t;
755
+ return p(t, e.theme.hr), t;
746
756
  }
747
757
  getTextContent() {
748
758
  return "\n";
@@ -754,60 +764,60 @@ var Qe = /* @__PURE__ */ new Set(), $e = e({
754
764
  return !1;
755
765
  }
756
766
  };
757
- function tt() {
767
+ function it() {
758
768
  return { node: Q() };
759
769
  }
760
770
  function Q() {
761
- return c(Z);
771
+ return ne(Z);
762
772
  }
763
- function nt(e) {
773
+ function at(e) {
764
774
  return e instanceof Z;
765
775
  }
766
- e({
767
- dependencies: [R, $e],
776
+ t({
777
+ dependencies: [R, nt],
768
778
  name: "@lexical/extension/HorizontalRule",
769
779
  nodes: () => [Z],
770
- register(e, n, i) {
771
- let { watchNodeKey: a } = i.getDependency($e).output, o = O({ nodeSelections: /* @__PURE__ */ new Map() }), s = e._config.theme.hrSelected ?? "selected";
772
- return r(e.registerCommand(et, (e) => {
773
- let t = g();
774
- return l(t) ? (t.focus.getNode() !== null && Oe(Q()), !0) : !1;
775
- }, 0), e.registerCommand(ve, (e) => {
776
- if (le(e.target)) {
777
- let n = Ce(e.target);
778
- if (nt(n)) return function(e, n = !1) {
779
- let r = g(), i = e.isSelected(), a = e.getKey(), o;
780
- n && fe(r) ? o = r : (o = t(), be(o)), i ? o.delete(a) : o.add(a);
781
- }(n, e.shiftKey), !0;
780
+ register(e, t, n) {
781
+ let { watchNodeKey: r } = n.getDependency(nt).output, i = O({ nodeSelections: /* @__PURE__ */ new Map() }), o = e._config.theme.hrSelected ?? "selected";
782
+ return d(e.registerCommand(rt, (e) => {
783
+ let t = h();
784
+ return c(t) ? (t.focus.getNode() !== null && Ae(Q()), !0) : !1;
785
+ }, 0), e.registerCommand(fe, (e) => {
786
+ if (ee(e.target)) {
787
+ let t = Ce(e.target);
788
+ if (at(t)) return function(e, t = !1) {
789
+ let n = h(), r = e.isSelected(), i = e.getKey(), o;
790
+ t && u(n) ? o = n : (o = a(), Se(o)), r ? o.delete(i) : o.add(i);
791
+ }(t, e.shiftKey), !0;
782
792
  }
783
793
  return !1;
784
794
  }, 1), e.registerMutationListener(Z, (t, n) => {
785
- y(() => {
786
- let n = !1, { nodeSelections: r } = o.peek();
787
- for (let [i, o] of t.entries()) if (o === "destroyed") r.delete(i), n = !0;
795
+ _(() => {
796
+ let n = !1, { nodeSelections: a } = i.peek();
797
+ for (let [i, o] of t.entries()) if (o === "destroyed") a.delete(i), n = !0;
788
798
  else {
789
- let t = r.get(i), o = e.getElementByKey(i);
790
- t ? t.domNode.value = o : (n = !0, r.set(i, {
799
+ let t = a.get(i), o = e.getElementByKey(i);
800
+ t ? t.domNode.value = o : (n = !0, a.set(i, {
791
801
  domNode: O(o),
792
- selectedSignal: a(i)
802
+ selectedSignal: r(i)
793
803
  }));
794
804
  }
795
- n && (o.value = { nodeSelections: r });
805
+ n && (i.value = { nodeSelections: a });
796
806
  });
797
807
  }), F(() => {
798
808
  let e = [];
799
- for (let { domNode: t, selectedSignal: n } of o.value.nodeSelections.values()) e.push(F(() => {
809
+ for (let { domNode: t, selectedSignal: n } of i.value.nodeSelections.values()) e.push(F(() => {
800
810
  let e = t.value;
801
- e && (n.value ? f(e, s) : de(e, s));
811
+ e && (n.value ? p(e, o) : te(e, o));
802
812
  }));
803
- return r(...e);
813
+ return d(...e);
804
814
  }));
805
815
  }
806
- }), e({
816
+ }), t({
807
817
  build: (e, t) => I({ inheritEditableFromParent: t.inheritEditableFromParent }),
808
- config: h({
818
+ config: m({
809
819
  $getParentEditor: function() {
810
- let e = oe();
820
+ let e = ye();
811
821
  return X.fromEditor(e), e;
812
822
  },
813
823
  inheritEditableFromParent: !1
@@ -821,9 +831,9 @@ e({
821
831
  let t = e._parentEditor;
822
832
  if (t && n.getOutput().inheritEditableFromParent.value) return e.setEditable(t.isEditable()), t.registerEditableListener(e.setEditable.bind(e));
823
833
  })
824
- }), e({
834
+ }), t({
825
835
  build: (e, t, n) => I(t),
826
- config: h({
836
+ config: m({
827
837
  disabled: !1,
828
838
  onReposition: void 0
829
839
  }),
@@ -831,43 +841,43 @@ e({
831
841
  register: (e, t, n) => {
832
842
  let r = n.getOutput();
833
843
  return F(() => {
834
- if (!r.disabled.value) return Te(e, r.onReposition.value);
844
+ if (!r.disabled.value) return De(e, r.onReposition.value);
835
845
  });
836
846
  }
837
847
  });
838
848
  function $(e) {
839
849
  return e.canBeEmpty();
840
850
  }
841
- function rt(e, t, i = $) {
842
- return r(e.registerCommand(ce, (t) => {
843
- let r = g();
844
- if (!l(r)) return !1;
851
+ function ot(e, t, n = $) {
852
+ return d(e.registerCommand(ge, (t) => {
853
+ let n = h();
854
+ if (!c(n)) return !1;
845
855
  t.preventDefault();
846
- let i = function(e) {
847
- if (e.getNodes().filter((e) => Se(e) && e.canIndent()).length > 0) return !0;
848
- let t = e.anchor, n = e.focus, r = n.isBefore(t) ? n : t, i = Ee(r.getNode());
856
+ let r = function(e) {
857
+ if (e.getNodes().filter((e) => he(e) && e.canIndent()).length > 0) return !0;
858
+ let t = e.anchor, n = e.focus, r = n.isBefore(t) ? n : t, i = Oe(r.getNode());
849
859
  if (i.canIndent()) {
850
- let e = i.getKey(), t = ne();
851
- if (t.anchor.set(e, 0, "element"), t.focus.set(e, 0, "element"), t = me(t), t.anchor.is(r)) return !0;
860
+ let e = i.getKey(), t = re();
861
+ if (t.anchor.set(e, 0, "element"), t.focus.set(e, 0, "element"), t = oe(t), t.anchor.is(r)) return !0;
852
862
  }
853
863
  return !1;
854
- }(r) ? t.shiftKey ? te : p : n;
855
- return e.dispatchCommand(i, void 0);
856
- }, 0), e.registerCommand(p, () => {
864
+ }(n) ? t.shiftKey ? ue : i : we;
865
+ return e.dispatchCommand(r, void 0);
866
+ }, 0), e.registerCommand(i, () => {
857
867
  let e = typeof t == "number" ? t : t ? t.peek() : null;
858
- if (!l(g())) return !1;
859
- let n = typeof i == "function" ? i : i.peek();
860
- return De((t) => {
861
- if (n(t)) {
868
+ if (!c(h())) return !1;
869
+ let r = typeof n == "function" ? n : n.peek();
870
+ return ke((t) => {
871
+ if (r(t)) {
862
872
  let n = t.getIndent() + 1;
863
873
  (!e || n < e) && t.setIndent(n);
864
874
  }
865
875
  });
866
876
  }, 4));
867
877
  }
868
- e({
878
+ t({
869
879
  build: (e, t, n) => I(t),
870
- config: h({
880
+ config: m({
871
881
  $canIndent: $,
872
882
  disabled: !1,
873
883
  maxIndent: null
@@ -876,11 +886,11 @@ e({
876
886
  register(e, t, n) {
877
887
  let { disabled: r, maxIndent: i, $canIndent: a } = n.getOutput();
878
888
  return F(() => {
879
- if (!r.value) return rt(e, i, a);
889
+ if (!r.value) return ot(e, i, a);
880
890
  });
881
891
  }
882
892
  });
883
893
  //#endregion
884
- export { F as a, X as i, Ze as n, I as o, O as r, y as t };
894
+ export { O as a, et as i, _ as n, F as o, X as r, I as t };
885
895
 
886
- //# sourceMappingURL=LexicalExtension.prod-COPHoPpX.js.map
896
+ //# sourceMappingURL=LexicalExtension.prod-jTSDl1mh.js.map