@gsc-basic/components 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1055) hide show
  1. package/LICENSE +6 -0
  2. package/README.md +4 -0
  3. package/dist/es/Button/index.js +14 -0
  4. package/dist/es/Button/src/Button.css +14 -0
  5. package/dist/es/Button/src/Button.vue.js +14 -0
  6. package/dist/{lib/src → es}/Button/src/Button2.css +14 -1
  7. package/dist/es/CodeEditor/index.js +14 -0
  8. package/dist/es/CodeEditor/src/index.css +14 -0
  9. package/dist/es/CodeEditor/src/index.vue.js +14 -0
  10. package/dist/es/{src/CodeEditor → CodeEditor}/src/index2.css +14 -1
  11. package/dist/es/ConfigProvider/index.js +14 -0
  12. package/dist/es/ConfigProvider/src/configProvider.js +14 -0
  13. package/dist/es/ConfigProvider/src/configProviderProps.js +14 -0
  14. package/dist/es/ConfigProvider/src/constants.js +14 -0
  15. package/dist/es/ConfigProvider/src/useGlobalConfig.js +14 -0
  16. package/dist/es/CountTo/index.js +14 -0
  17. package/dist/es/CountTo/src/index.css +14 -0
  18. package/dist/es/CountTo/src/index.vue.js +14 -0
  19. package/dist/es/Ellipsis/index.js +14 -0
  20. package/dist/es/Ellipsis/src/components/JsEllipsis.css +14 -0
  21. package/dist/es/Ellipsis/src/components/JsEllipsis.vue.js +14 -0
  22. package/dist/es/Ellipsis/src/components/NativeEllipsis.css +14 -0
  23. package/dist/es/Ellipsis/src/components/NativeEllipsis.vue.js +14 -0
  24. package/dist/es/Ellipsis/src/components/NativeEllipsis2.css +14 -0
  25. package/dist/es/{src/Grid/src/components/ActionBar.css → Ellipsis/src/index.css} +14 -1
  26. package/dist/es/Ellipsis/src/index.vue.js +14 -0
  27. package/dist/es/Ellipsis/src/utils/utils.js +14 -0
  28. package/dist/es/Form/index.js +14 -0
  29. package/dist/{lib/src → es}/Form/src/Form.css +14 -1
  30. package/dist/es/Form/src/Form.vue.js +14 -0
  31. package/dist/es/{src/Form → Form}/src/styles/form.css +13 -0
  32. package/dist/es/Grid/index.js +14 -0
  33. package/dist/{lib/src → es}/Grid/src/Grid.css +14 -1
  34. package/dist/es/Grid/src/Grid.vue.js +14 -0
  35. package/dist/es/Grid/src/components/ActionBar.css +14 -0
  36. package/dist/es/Grid/src/components/ActionBar.vue.js +14 -0
  37. package/dist/es/Grid/src/components/CellEditor.css +14 -0
  38. package/dist/es/Grid/src/components/CellEditor.vue.js +14 -0
  39. package/dist/{lib/src → es}/Grid/src/components/CellEditor2.css +14 -1
  40. package/dist/es/{src/Grid → Grid}/src/components/ColumnFilter.css +14 -1
  41. package/dist/es/Grid/src/components/ColumnFilter.vue.js +14 -0
  42. package/dist/es/{src/Grid → Grid}/src/components/ColumnSettings.css +14 -1
  43. package/dist/es/Grid/src/components/ColumnSettings.vue.js +14 -0
  44. package/dist/{lib/src → es}/Grid/src/components/DataTable.css +14 -1
  45. package/dist/es/Grid/src/components/DataTable.vue.js +14 -0
  46. package/dist/es/{src/Grid → Grid}/src/components/Pager.css +14 -1
  47. package/dist/es/Grid/src/components/Pager.vue.js +14 -0
  48. package/dist/es/{src/Grid → Grid}/src/components/QueryBar.css +14 -1
  49. package/dist/es/Grid/src/components/QueryBar.vue.js +14 -0
  50. package/dist/es/Grid/src/composables/useCellEditor.js +14 -0
  51. package/dist/es/Grid/src/composables/useGridTable.js +14 -0
  52. package/dist/es/{src/Grid → Grid}/src/styles/table.css +13 -0
  53. package/dist/es/Marquee/index.js +14 -0
  54. package/dist/es/Marquee/src/index.css +14 -0
  55. package/dist/es/Marquee/src/index.vue.js +14 -0
  56. package/dist/es/{src/Form/src/Form.css → Marquee/src/index2.css} +14 -1
  57. package/dist/es/Overlay/index.js +14 -0
  58. package/dist/es/Overlay/src/Message.css +14 -0
  59. package/dist/es/Overlay/src/Message.vue.js +14 -0
  60. package/dist/es/{src/Overlay → Overlay}/src/Message2.css +14 -1
  61. package/dist/es/Overlay/src/Modal.css +14 -0
  62. package/dist/es/Overlay/src/Modal.vue.js +14 -0
  63. package/dist/es/{src/Overlay → Overlay}/src/Modal2.css +14 -1
  64. package/dist/es/Overlay/src/Notice.css +14 -0
  65. package/dist/es/Overlay/src/Notice.vue.js +14 -0
  66. package/dist/es/{src/Overlay → Overlay}/src/Notice2.css +14 -1
  67. package/dist/es/RichTextEditor/index.js +14 -0
  68. package/dist/es/RichTextEditor/src/ToolbarPanel.css +14 -0
  69. package/dist/es/RichTextEditor/src/ToolbarPanel.vue.js +14 -0
  70. package/dist/es/RichTextEditor/src/ToolbarPanel2.css +14 -0
  71. package/dist/es/{src/Grid/src/components/CellEditor2.css → RichTextEditor/src/components/BlockquoteButton.css} +14 -1
  72. package/dist/es/RichTextEditor/src/components/BlockquoteButton.vue.js +14 -0
  73. package/dist/es/{src/Grid/src/Grid.css → RichTextEditor/src/components/CodeBlockButton.css} +14 -1
  74. package/dist/es/RichTextEditor/src/components/CodeBlockButton.vue.js +14 -0
  75. package/dist/es/{src/Button/src/Button2.css → RichTextEditor/src/components/ColorHighlightPopover.css} +14 -1
  76. package/dist/es/RichTextEditor/src/components/ColorHighlightPopover.vue.js +14 -0
  77. package/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.css +14 -0
  78. package/dist/es/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +14 -0
  79. package/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.css +14 -0
  80. package/dist/es/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +14 -0
  81. package/dist/es/RichTextEditor/src/components/ImageUploadButton.css +14 -0
  82. package/dist/es/RichTextEditor/src/components/ImageUploadButton.vue.js +14 -0
  83. package/dist/es/RichTextEditor/src/components/LinkPopover.css +14 -0
  84. package/dist/es/RichTextEditor/src/components/LinkPopover.vue.js +14 -0
  85. package/dist/{lib/src/Grid/src/components/ActionBar.css → es/RichTextEditor/src/components/ListDropdownMenu.css} +14 -1
  86. package/dist/es/RichTextEditor/src/components/ListDropdownMenu.vue.js +14 -0
  87. package/dist/es/RichTextEditor/src/components/MarkButton.css +14 -0
  88. package/dist/es/RichTextEditor/src/components/MarkButton.vue.js +14 -0
  89. package/dist/es/RichTextEditor/src/components/TableButton.css +14 -0
  90. package/dist/es/RichTextEditor/src/components/TableButton.vue.js +14 -0
  91. package/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.css +14 -0
  92. package/dist/es/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +14 -0
  93. package/dist/es/RichTextEditor/src/components/TextColorPopover.css +14 -0
  94. package/dist/es/RichTextEditor/src/components/TextColorPopover.vue.js +14 -0
  95. package/dist/es/RichTextEditor/src/components/ToolbarGroup.css +14 -0
  96. package/dist/es/RichTextEditor/src/components/ToolbarGroup.vue.js +14 -0
  97. package/dist/es/RichTextEditor/src/components/ToolbarSeparator.css +14 -0
  98. package/dist/es/RichTextEditor/src/components/ToolbarSeparator.vue.js +14 -0
  99. package/dist/es/RichTextEditor/src/components/UndoRedoButton.css +14 -0
  100. package/dist/es/RichTextEditor/src/components/UndoRedoButton.vue.js +14 -0
  101. package/dist/es/RichTextEditor/src/components/VideoUploadButton.css +14 -0
  102. package/dist/es/RichTextEditor/src/components/VideoUploadButton.vue.js +14 -0
  103. package/dist/es/RichTextEditor/src/components/basic/ColorPicker.css +14 -0
  104. package/dist/es/RichTextEditor/src/components/basic/ColorPicker.vue.js +14 -0
  105. package/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.css +14 -0
  106. package/dist/es/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +14 -0
  107. package/dist/es/RichTextEditor/src/components/basic/SelectMenu.css +14 -0
  108. package/dist/es/RichTextEditor/src/components/basic/SelectMenu.vue.js +14 -0
  109. package/dist/es/RichTextEditor/src/components/basic/SelectMenu2.css +14 -0
  110. package/dist/es/RichTextEditor/src/components/icons.js +14 -0
  111. package/dist/es/RichTextEditor/src/constant/index.js +14 -0
  112. package/dist/es/RichTextEditor/src/extensions/video.js +14 -0
  113. package/dist/es/RichTextEditor/src/index.css +14 -0
  114. package/dist/es/RichTextEditor/src/index.vue.js +14 -0
  115. package/dist/es/RichTextEditor/src/index2.css +14 -0
  116. package/dist/es/RichTextEditor/src/props.js +14 -0
  117. package/dist/es/ScaleScreen/index.js +14 -0
  118. package/dist/es/ScaleScreen/src/index.css +14 -0
  119. package/dist/es/ScaleScreen/src/index.vue.js +14 -0
  120. package/dist/es/{src/ScaleScreen → ScaleScreen}/src/index2.css +13 -0
  121. package/dist/es/Transition/index.js +14 -0
  122. package/dist/es/Transition/src/CollapseTransition.css +14 -0
  123. package/dist/es/Transition/src/CollapseTransition.vue.js +14 -0
  124. package/dist/es/Transition/src/CreateTransition.js +16 -0
  125. package/dist/es/Transition/src/ExpandTransition.js +14 -0
  126. package/dist/es/Transition/src/style/index.css +14 -0
  127. package/dist/es/VideoBackground/index.js +14 -0
  128. package/dist/es/VideoBackground/src/helper.js +14 -0
  129. package/dist/es/VideoBackground/src/index.css +14 -0
  130. package/dist/es/VideoBackground/src/index.vue.js +14 -0
  131. package/dist/es/VideoBackground/src/index2.css +14 -0
  132. package/dist/es/{src/VideoBackground → VideoBackground}/src/index3.css +13 -0
  133. package/dist/es/VideoBackground/src/videoBackground.js +14 -0
  134. package/dist/es/VideoPlayer/index.js +14 -0
  135. package/dist/es/VideoPlayer/src/index.css +14 -0
  136. package/dist/es/VideoPlayer/src/index.vue.js +14 -0
  137. package/dist/es/VideoPlayer/src/localeSetting.js +14 -0
  138. package/dist/es/VirtualScroll/index.js +14 -0
  139. package/dist/es/VirtualScroll/src/index.css +14 -0
  140. package/dist/es/VirtualScroll/src/index.vue.js +14 -0
  141. package/dist/es/VirtualScroll/src/index.vue2.js +14 -0
  142. package/dist/es/VirtualScroll/src/index2.css +14 -0
  143. package/dist/es/_virtual/_commonjsHelpers.js +14 -0
  144. package/dist/es/_virtual/_plugin-vue_export-helper.js +14 -9
  145. package/dist/es/_virtual/delegate.js +14 -0
  146. package/dist/es/_virtual/download.js +14 -0
  147. package/dist/es/_virtual/download2.js +14 -0
  148. package/dist/es/_virtual/index.js +14 -0
  149. package/dist/es/_virtual/index2.js +14 -0
  150. package/dist/es/hooks/useLocale.js +14 -0
  151. package/dist/es/hooks/useNamespace.js +14 -0
  152. package/dist/es/index.js +14 -53
  153. package/dist/es/locale/lang/en-US.js +14 -0
  154. package/dist/es/locale/lang/ja-JP.js +14 -0
  155. package/dist/es/locale/lang/zh-CN.js +14 -0
  156. package/dist/es/node_modules/@codemirror/autocomplete/dist/index.js +14 -1371
  157. package/dist/es/node_modules/@codemirror/commands/dist/index.js +14 -844
  158. package/dist/es/node_modules/@codemirror/lang-java/dist/index.js +16 -38
  159. package/dist/es/node_modules/@codemirror/lang-javascript/dist/index.js +30 -300
  160. package/dist/es/node_modules/@codemirror/lang-json/dist/index.js +16 -48
  161. package/dist/es/node_modules/@codemirror/lang-python/dist/index.js +25 -399
  162. package/dist/es/node_modules/@codemirror/lang-sql/dist/index.js +17 -497
  163. package/dist/es/node_modules/@codemirror/lang-xml/dist/index.js +17 -216
  164. package/dist/es/node_modules/@codemirror/lang-yaml/dist/index.js +16 -51
  165. package/dist/es/node_modules/@codemirror/language/dist/index.js +14 -1299
  166. package/dist/es/node_modules/@codemirror/lint/dist/index.js +16 -649
  167. package/dist/es/node_modules/@codemirror/search/dist/index.js +15 -839
  168. package/dist/es/node_modules/@codemirror/state/dist/index.js +14 -2643
  169. package/dist/es/node_modules/@codemirror/theme-one-dark/dist/index.js +14 -132
  170. package/dist/es/node_modules/@codemirror/view/dist/index.js +14 -7365
  171. package/dist/es/node_modules/@lezer/common/dist/index.js +15 -1431
  172. package/dist/es/node_modules/@lezer/highlight/dist/index.js +14 -637
  173. package/dist/es/node_modules/@lezer/java/dist/index.js +14 -62
  174. package/dist/es/node_modules/@lezer/javascript/dist/index.js +14 -161
  175. package/dist/es/node_modules/@lezer/json/dist/index.js +14 -34
  176. package/dist/es/node_modules/@lezer/lr/dist/index.js +14 -1309
  177. package/dist/es/node_modules/@lezer/python/dist/index.js +14 -221
  178. package/dist/es/node_modules/@lezer/xml/dist/index.js +14 -100
  179. package/dist/es/node_modules/@lezer/yaml/dist/index.js +14 -274
  180. package/dist/es/node_modules/@marijn/find-cluster-break/src/index.js +14 -69
  181. package/dist/es/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +14 -178
  182. package/dist/es/node_modules/@tanstack/form-core/dist/esm/EventClient.js +14 -13
  183. package/dist/es/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +14 -406
  184. package/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +14 -772
  185. package/dist/es/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +14 -55
  186. package/dist/es/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +15 -109
  187. package/dist/es/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +14 -45
  188. package/dist/es/node_modules/@tanstack/form-core/dist/esm/utils.js +14 -213
  189. package/dist/es/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +14 -29
  190. package/dist/es/node_modules/@tanstack/store/dist/esm/derived.js +14 -74
  191. package/dist/es/node_modules/@tanstack/store/dist/esm/scheduler.js +14 -79
  192. package/dist/es/node_modules/@tanstack/store/dist/esm/store.js +14 -21
  193. package/dist/es/node_modules/@tanstack/store/dist/esm/types.js +14 -6
  194. package/dist/es/node_modules/@tanstack/table-core/build/lib/index.js +14 -1885
  195. package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useField.js +14 -38
  196. package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useForm.js +14 -33
  197. package/dist/es/node_modules/@tanstack/vue-store/dist/esm/index.js +14 -48
  198. package/dist/es/node_modules/@tanstack/vue-table/build/lib/index.js +14 -159
  199. package/dist/es/node_modules/@tiptap/core/dist/index.js +14 -0
  200. package/dist/es/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +14 -0
  201. package/dist/es/node_modules/@tiptap/extension-blockquote/dist/index.js +15 -0
  202. package/dist/es/node_modules/@tiptap/extension-bold/dist/index.js +15 -0
  203. package/dist/es/node_modules/@tiptap/extension-character-count/dist/index.js +14 -0
  204. package/dist/es/node_modules/@tiptap/extension-code/dist/index.js +14 -0
  205. package/dist/es/node_modules/@tiptap/extension-code-block/dist/index.js +14 -0
  206. package/dist/es/node_modules/@tiptap/extension-document/dist/index.js +14 -0
  207. package/dist/es/node_modules/@tiptap/extension-hard-break/dist/index.js +14 -0
  208. package/dist/es/node_modules/@tiptap/extension-heading/dist/index.js +14 -0
  209. package/dist/es/node_modules/@tiptap/extension-highlight/dist/index.js +14 -0
  210. package/dist/es/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +14 -0
  211. package/dist/es/node_modules/@tiptap/extension-image/dist/index.js +14 -0
  212. package/dist/es/node_modules/@tiptap/extension-italic/dist/index.js +14 -0
  213. package/dist/es/node_modules/@tiptap/extension-link/dist/index.js +14 -0
  214. package/dist/es/node_modules/@tiptap/extension-list/dist/index.js +14 -0
  215. package/dist/es/node_modules/@tiptap/extension-paragraph/dist/index.js +14 -0
  216. package/dist/es/node_modules/@tiptap/extension-strike/dist/index.js +14 -0
  217. package/dist/es/node_modules/@tiptap/extension-subscript/dist/index.js +14 -0
  218. package/dist/es/node_modules/@tiptap/extension-superscript/dist/index.js +14 -0
  219. package/dist/es/node_modules/@tiptap/extension-table/dist/index.js +14 -0
  220. package/dist/es/node_modules/@tiptap/extension-task-item/dist/index.js +14 -0
  221. package/dist/es/node_modules/@tiptap/extension-task-list/dist/index.js +14 -0
  222. package/dist/es/node_modules/@tiptap/extension-text/dist/index.js +14 -0
  223. package/dist/es/node_modules/@tiptap/extension-text-align/dist/index.js +14 -0
  224. package/dist/es/node_modules/@tiptap/extension-text-style/dist/index.js +14 -0
  225. package/dist/es/node_modules/@tiptap/extension-underline/dist/index.js +14 -0
  226. package/dist/es/node_modules/@tiptap/extensions/dist/index.js +14 -0
  227. package/dist/es/node_modules/@tiptap/starter-kit/dist/index.js +14 -0
  228. package/dist/es/node_modules/@tiptap/vue-3/dist/index.js +14 -0
  229. package/dist/es/node_modules/@vueuse/core/dist/index.js +14 -125
  230. package/dist/es/node_modules/@vueuse/shared/dist/index.js +14 -55
  231. package/dist/es/node_modules/codemirror/dist/index.js +14 -40
  232. package/dist/es/node_modules/crelt/index.js +14 -27
  233. package/dist/es/node_modules/delegate/src/closest.js +14 -0
  234. package/dist/es/node_modules/delegate/src/delegate.js +14 -0
  235. package/dist/es/node_modules/downloadjs/download.js +14 -0
  236. package/dist/es/node_modules/eventemitter3/index.js +14 -0
  237. package/dist/es/node_modules/linkifyjs/dist/linkify.js +14 -0
  238. package/dist/es/node_modules/lodash-es/_DataView.js +14 -0
  239. package/dist/es/node_modules/lodash-es/_Hash.js +14 -20
  240. package/dist/es/node_modules/lodash-es/_ListCache.js +14 -20
  241. package/dist/es/node_modules/lodash-es/_Map.js +14 -6
  242. package/dist/es/node_modules/lodash-es/_MapCache.js +14 -20
  243. package/dist/es/node_modules/lodash-es/_Promise.js +14 -0
  244. package/dist/es/node_modules/lodash-es/_Set.js +14 -0
  245. package/dist/es/node_modules/lodash-es/_Stack.js +14 -0
  246. package/dist/es/node_modules/lodash-es/_Symbol.js +14 -5
  247. package/dist/es/node_modules/lodash-es/_Uint8Array.js +14 -0
  248. package/dist/es/node_modules/lodash-es/_WeakMap.js +14 -0
  249. package/dist/es/node_modules/lodash-es/_apply.js +14 -0
  250. package/dist/es/node_modules/lodash-es/_arrayEach.js +14 -0
  251. package/dist/es/node_modules/lodash-es/_arrayFilter.js +14 -0
  252. package/dist/es/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
  253. package/dist/es/node_modules/lodash-es/_arrayMap.js +14 -8
  254. package/dist/es/node_modules/lodash-es/_arrayPush.js +14 -0
  255. package/dist/es/node_modules/lodash-es/_assignValue.js +14 -0
  256. package/dist/es/node_modules/lodash-es/_assocIndexOf.js +14 -10
  257. package/dist/es/node_modules/lodash-es/_baseAssignValue.js +14 -0
  258. package/dist/es/node_modules/lodash-es/_baseClone.js +14 -0
  259. package/dist/es/node_modules/lodash-es/_baseFlatten.js +14 -0
  260. package/dist/es/node_modules/lodash-es/_baseGet.js +14 -11
  261. package/dist/es/node_modules/lodash-es/_baseGetAllKeys.js +14 -0
  262. package/dist/es/node_modules/lodash-es/_baseGetTag.js +14 -10
  263. package/dist/es/node_modules/lodash-es/_baseIsArguments.js +14 -0
  264. package/dist/es/node_modules/lodash-es/_baseIsMap.js +14 -0
  265. package/dist/es/node_modules/lodash-es/_baseIsNative.js +14 -16
  266. package/dist/es/node_modules/lodash-es/_baseIsRegExp.js +14 -0
  267. package/dist/es/node_modules/lodash-es/_baseIsSet.js +14 -0
  268. package/dist/es/node_modules/lodash-es/_baseIsTypedArray.js +14 -0
  269. package/dist/es/node_modules/lodash-es/_baseKeysIn.js +14 -0
  270. package/dist/es/node_modules/lodash-es/_baseSetToString.js +14 -0
  271. package/dist/es/node_modules/lodash-es/_baseSlice.js +14 -0
  272. package/dist/es/node_modules/lodash-es/_baseTimes.js +14 -0
  273. package/dist/es/node_modules/lodash-es/_baseToString.js +14 -18
  274. package/dist/es/node_modules/lodash-es/_baseUnary.js +14 -0
  275. package/dist/es/node_modules/lodash-es/_baseUnset.js +14 -0
  276. package/dist/es/node_modules/lodash-es/_castPath.js +14 -10
  277. package/dist/es/node_modules/lodash-es/_cloneArrayBuffer.js +14 -0
  278. package/dist/es/node_modules/lodash-es/_cloneBuffer.js +14 -0
  279. package/dist/es/node_modules/lodash-es/_cloneDataView.js +14 -0
  280. package/dist/es/node_modules/lodash-es/_cloneRegExp.js +14 -0
  281. package/dist/es/node_modules/lodash-es/_cloneSymbol.js +14 -0
  282. package/dist/es/node_modules/lodash-es/_cloneTypedArray.js +14 -0
  283. package/dist/es/node_modules/lodash-es/_copyObject.js +14 -0
  284. package/dist/es/node_modules/lodash-es/_coreJsData.js +14 -5
  285. package/dist/es/node_modules/lodash-es/_customOmitClone.js +14 -0
  286. package/dist/es/node_modules/lodash-es/_defineProperty.js +14 -0
  287. package/dist/es/node_modules/lodash-es/_flatRest.js +14 -0
  288. package/dist/es/node_modules/lodash-es/_freeGlobal.js +14 -4
  289. package/dist/es/node_modules/lodash-es/_getAllKeysIn.js +14 -0
  290. package/dist/es/node_modules/lodash-es/_getMapData.js +14 -8
  291. package/dist/es/node_modules/lodash-es/_getNative.js +14 -9
  292. package/dist/es/node_modules/lodash-es/_getPrototype.js +14 -0
  293. package/dist/es/node_modules/lodash-es/_getRawTag.js +14 -15
  294. package/dist/es/node_modules/lodash-es/_getSymbols.js +14 -0
  295. package/dist/es/node_modules/lodash-es/_getSymbolsIn.js +14 -0
  296. package/dist/es/node_modules/lodash-es/_getTag.js +14 -0
  297. package/dist/es/node_modules/lodash-es/_getValue.js +14 -6
  298. package/dist/es/node_modules/lodash-es/_hashClear.js +14 -7
  299. package/dist/es/node_modules/lodash-es/_hashDelete.js +14 -7
  300. package/dist/es/node_modules/lodash-es/_hashGet.js +14 -13
  301. package/dist/es/node_modules/lodash-es/_hashHas.js +14 -9
  302. package/dist/es/node_modules/lodash-es/_hashSet.js +14 -9
  303. package/dist/es/node_modules/lodash-es/_initCloneArray.js +14 -0
  304. package/dist/es/node_modules/lodash-es/_initCloneByTag.js +14 -0
  305. package/dist/es/node_modules/lodash-es/_isFlattenable.js +14 -0
  306. package/dist/es/node_modules/lodash-es/_isIndex.js +14 -0
  307. package/dist/es/node_modules/lodash-es/_isKey.js +14 -12
  308. package/dist/es/node_modules/lodash-es/_isKeyable.js +14 -7
  309. package/dist/es/node_modules/lodash-es/_isMasked.js +14 -11
  310. package/dist/es/node_modules/lodash-es/_isPrototype.js +14 -0
  311. package/dist/es/node_modules/lodash-es/_listCacheClear.js +14 -6
  312. package/dist/es/node_modules/lodash-es/_listCacheDelete.js +14 -12
  313. package/dist/es/node_modules/lodash-es/_listCacheGet.js +14 -8
  314. package/dist/es/node_modules/lodash-es/_listCacheHas.js +14 -7
  315. package/dist/es/node_modules/lodash-es/_listCacheSet.js +14 -8
  316. package/dist/es/node_modules/lodash-es/_mapCacheClear.js +14 -13
  317. package/dist/es/node_modules/lodash-es/_mapCacheDelete.js +14 -8
  318. package/dist/es/node_modules/lodash-es/_mapCacheGet.js +14 -7
  319. package/dist/es/node_modules/lodash-es/_mapCacheHas.js +14 -7
  320. package/dist/es/node_modules/lodash-es/_mapCacheSet.js +14 -8
  321. package/dist/es/node_modules/lodash-es/_memoizeCapped.js +14 -11
  322. package/dist/es/node_modules/lodash-es/_nativeCreate.js +14 -5
  323. package/dist/es/node_modules/lodash-es/_nativeKeysIn.js +14 -0
  324. package/dist/es/node_modules/lodash-es/_nodeUtil.js +14 -0
  325. package/dist/es/node_modules/lodash-es/_objectToString.js +14 -7
  326. package/dist/es/node_modules/lodash-es/_overArg.js +14 -0
  327. package/dist/es/node_modules/lodash-es/_overRest.js +14 -0
  328. package/dist/es/node_modules/lodash-es/_parent.js +14 -0
  329. package/dist/es/node_modules/lodash-es/_root.js +14 -5
  330. package/dist/es/node_modules/lodash-es/_setToString.js +14 -0
  331. package/dist/es/node_modules/lodash-es/_shortOut.js +14 -0
  332. package/dist/es/node_modules/lodash-es/_stackClear.js +14 -0
  333. package/dist/es/node_modules/lodash-es/_stackDelete.js +14 -0
  334. package/dist/es/node_modules/lodash-es/_stackGet.js +14 -0
  335. package/dist/es/node_modules/lodash-es/_stackHas.js +14 -0
  336. package/dist/es/node_modules/lodash-es/_stackSet.js +14 -0
  337. package/dist/es/node_modules/lodash-es/_stringToPath.js +14 -10
  338. package/dist/es/node_modules/lodash-es/_toKey.js +14 -10
  339. package/dist/es/node_modules/lodash-es/_toSource.js +14 -17
  340. package/dist/es/node_modules/lodash-es/constant.js +14 -0
  341. package/dist/es/node_modules/lodash-es/eq.js +14 -6
  342. package/dist/es/node_modules/lodash-es/flatten.js +14 -0
  343. package/dist/es/node_modules/lodash-es/get.js +14 -8
  344. package/dist/es/node_modules/lodash-es/identity.js +14 -0
  345. package/dist/es/node_modules/lodash-es/isArguments.js +14 -0
  346. package/dist/es/node_modules/lodash-es/isArray.js +14 -4
  347. package/dist/es/node_modules/lodash-es/isArrayLike.js +14 -0
  348. package/dist/es/node_modules/lodash-es/isBuffer.js +14 -0
  349. package/dist/es/node_modules/lodash-es/isFinite.js +14 -0
  350. package/dist/es/node_modules/lodash-es/isFunction.js +14 -12
  351. package/dist/es/node_modules/lodash-es/isLength.js +14 -0
  352. package/dist/es/node_modules/lodash-es/isMap.js +14 -0
  353. package/dist/es/node_modules/lodash-es/isNaN.js +14 -0
  354. package/dist/es/node_modules/lodash-es/isNil.js +14 -6
  355. package/dist/es/node_modules/lodash-es/isNumber.js +14 -0
  356. package/dist/es/node_modules/lodash-es/isObject.js +14 -7
  357. package/dist/es/node_modules/lodash-es/isObjectLike.js +14 -6
  358. package/dist/es/node_modules/lodash-es/isPlainObject.js +14 -0
  359. package/dist/es/node_modules/lodash-es/isRegExp.js +14 -0
  360. package/dist/es/node_modules/lodash-es/isSet.js +14 -0
  361. package/dist/es/node_modules/lodash-es/isString.js +14 -10
  362. package/dist/es/node_modules/lodash-es/isSymbol.js +14 -9
  363. package/dist/es/node_modules/lodash-es/isTypedArray.js +14 -0
  364. package/dist/es/node_modules/lodash-es/keysIn.js +14 -0
  365. package/dist/es/node_modules/lodash-es/last.js +14 -0
  366. package/dist/es/node_modules/lodash-es/memoize.js +14 -18
  367. package/dist/es/node_modules/lodash-es/omit.js +14 -0
  368. package/dist/es/node_modules/lodash-es/stubArray.js +14 -0
  369. package/dist/es/node_modules/lodash-es/stubFalse.js +14 -0
  370. package/dist/es/node_modules/lodash-es/toString.js +14 -7
  371. package/dist/es/node_modules/orderedmap/dist/index.js +14 -0
  372. package/dist/es/node_modules/prosemirror-commands/dist/index.js +14 -0
  373. package/dist/es/node_modules/prosemirror-dropcursor/dist/index.js +14 -0
  374. package/dist/es/node_modules/prosemirror-gapcursor/dist/index.js +14 -0
  375. package/dist/es/node_modules/prosemirror-history/dist/index.js +14 -0
  376. package/dist/es/node_modules/prosemirror-keymap/dist/index.js +14 -0
  377. package/dist/es/node_modules/prosemirror-model/dist/index.js +14 -0
  378. package/dist/es/node_modules/prosemirror-schema-list/dist/index.js +14 -0
  379. package/dist/es/node_modules/prosemirror-state/dist/index.js +14 -0
  380. package/dist/es/node_modules/prosemirror-tables/dist/index.js +14 -0
  381. package/dist/es/node_modules/prosemirror-transform/dist/index.js +14 -0
  382. package/dist/es/node_modules/prosemirror-view/dist/index.js +14 -0
  383. package/dist/es/node_modules/rope-sequence/dist/index.js +14 -0
  384. package/dist/es/node_modules/style-mod/src/style-mod.js +14 -109
  385. package/dist/es/node_modules/vue-codemirror/dist/vue-codemirror.esm.js +14 -132
  386. package/dist/es/node_modules/w3c-keyname/index.js +14 -93
  387. package/dist/es/node_modules/xgplayer/dist/index.min.css +14 -0
  388. package/dist/es/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +14 -0
  389. package/dist/es/node_modules/xgplayer/es/constant.js +14 -0
  390. package/dist/es/node_modules/xgplayer/es/defaultConfig.js +14 -0
  391. package/dist/es/node_modules/xgplayer/es/error.js +14 -0
  392. package/dist/es/node_modules/xgplayer/es/events.js +14 -0
  393. package/dist/es/node_modules/xgplayer/es/index.umd.js +14 -0
  394. package/dist/es/node_modules/xgplayer/es/instManager.js +14 -0
  395. package/dist/es/node_modules/xgplayer/es/lang/en.js +14 -0
  396. package/dist/es/node_modules/xgplayer/es/lang/i18n.js +14 -0
  397. package/dist/es/node_modules/xgplayer/es/lang/jp.js +14 -0
  398. package/dist/es/node_modules/xgplayer/es/lang/zh-cn.js +14 -0
  399. package/dist/es/node_modules/xgplayer/es/mediaProxy.js +14 -0
  400. package/dist/es/node_modules/xgplayer/es/player.js +14 -0
  401. package/dist/es/node_modules/xgplayer/es/plugin/basePlugin.js +14 -0
  402. package/dist/es/node_modules/xgplayer/es/plugin/hooksDescriptor.js +14 -0
  403. package/dist/es/node_modules/xgplayer/es/plugin/plugin.js +14 -0
  404. package/dist/es/node_modules/xgplayer/es/plugin/pluginsManager.js +14 -0
  405. package/dist/es/node_modules/xgplayer/es/plugin/preset.js +14 -0
  406. package/dist/es/node_modules/xgplayer/es/plugin/resizeObserver.js +14 -0
  407. package/dist/es/node_modules/xgplayer/es/plugins/assets/back.js +14 -0
  408. package/dist/es/node_modules/xgplayer/es/plugins/assets/download.js +14 -0
  409. package/dist/es/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +14 -0
  410. package/dist/es/node_modules/xgplayer/es/plugins/assets/exitFull.js +14 -0
  411. package/dist/es/node_modules/xgplayer/es/plugins/assets/loading.js +14 -0
  412. package/dist/es/node_modules/xgplayer/es/plugins/assets/pause.js +14 -0
  413. package/dist/es/node_modules/xgplayer/es/plugins/assets/pipIcon.js +14 -0
  414. package/dist/es/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +14 -0
  415. package/dist/es/node_modules/xgplayer/es/plugins/assets/play.js +14 -0
  416. package/dist/es/node_modules/xgplayer/es/plugins/assets/playNext.js +14 -0
  417. package/dist/es/node_modules/xgplayer/es/plugins/assets/replay.js +14 -0
  418. package/dist/es/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +14 -0
  419. package/dist/es/node_modules/xgplayer/es/plugins/assets/requestFull.js +14 -0
  420. package/dist/es/node_modules/xgplayer/es/plugins/assets/rotate.js +14 -0
  421. package/dist/es/node_modules/xgplayer/es/plugins/assets/seekicon.js +14 -0
  422. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +14 -0
  423. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +14 -0
  424. package/dist/es/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +14 -0
  425. package/dist/es/node_modules/xgplayer/es/plugins/common/iconPlugin.js +14 -0
  426. package/dist/es/node_modules/xgplayer/es/plugins/common/iconTools.js +14 -0
  427. package/dist/es/node_modules/xgplayer/es/plugins/common/optionList.js +14 -0
  428. package/dist/es/node_modules/xgplayer/es/plugins/common/optionsIcon.js +14 -0
  429. package/dist/es/node_modules/xgplayer/es/plugins/common/thumbnail.js +14 -0
  430. package/dist/es/node_modules/xgplayer/es/plugins/controls/index.js +14 -0
  431. package/dist/es/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +14 -0
  432. package/dist/es/node_modules/xgplayer/es/plugins/definition/index.js +14 -0
  433. package/dist/es/node_modules/xgplayer/es/plugins/download/index.js +14 -0
  434. package/dist/es/node_modules/xgplayer/es/plugins/dynamicBg/index.js +15 -0
  435. package/dist/es/node_modules/xgplayer/es/plugins/enter/index.js +14 -0
  436. package/dist/es/node_modules/xgplayer/es/plugins/error/index.js +14 -0
  437. package/dist/es/node_modules/xgplayer/es/plugins/fpsDetect/index.js +14 -0
  438. package/dist/es/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +14 -0
  439. package/dist/es/node_modules/xgplayer/es/plugins/fullscreen/index.js +14 -0
  440. package/dist/es/node_modules/xgplayer/es/plugins/gapJump/index.js +14 -0
  441. package/dist/es/node_modules/xgplayer/es/plugins/keyboard/index.js +14 -0
  442. package/dist/es/node_modules/xgplayer/es/plugins/loading/index.js +14 -0
  443. package/dist/es/node_modules/xgplayer/es/plugins/logger/index.js +15 -0
  444. package/dist/es/node_modules/xgplayer/es/plugins/miniScreen/index.js +14 -0
  445. package/dist/es/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +14 -0
  446. package/dist/es/node_modules/xgplayer/es/plugins/mobile/index.js +14 -0
  447. package/dist/es/node_modules/xgplayer/es/plugins/mobile/touch.js +14 -0
  448. package/dist/es/node_modules/xgplayer/es/plugins/pc/index.js +14 -0
  449. package/dist/es/node_modules/xgplayer/es/plugins/pip/index.js +14 -0
  450. package/dist/es/node_modules/xgplayer/es/plugins/play/index.js +14 -0
  451. package/dist/es/node_modules/xgplayer/es/plugins/playNext/index.js +14 -0
  452. package/dist/es/node_modules/xgplayer/es/plugins/playbackRate/index.js +14 -0
  453. package/dist/es/node_modules/xgplayer/es/plugins/poster/index.js +14 -0
  454. package/dist/es/node_modules/xgplayer/es/plugins/progress/index.js +14 -0
  455. package/dist/es/node_modules/xgplayer/es/plugins/progress/innerList.js +14 -0
  456. package/dist/es/node_modules/xgplayer/es/plugins/progress/miniProgress.js +14 -0
  457. package/dist/es/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +14 -0
  458. package/dist/es/node_modules/xgplayer/es/plugins/progressPreview/index.js +14 -0
  459. package/dist/es/node_modules/xgplayer/es/plugins/prompt/index.js +14 -0
  460. package/dist/es/node_modules/xgplayer/es/plugins/replay/index.js +14 -0
  461. package/dist/es/node_modules/xgplayer/es/plugins/rotate/index.js +14 -0
  462. package/dist/es/node_modules/xgplayer/es/plugins/screenShot/index.js +14 -0
  463. package/dist/es/node_modules/xgplayer/es/plugins/start/index.js +14 -0
  464. package/dist/es/node_modules/xgplayer/es/plugins/stats/index.js +14 -0
  465. package/dist/es/node_modules/xgplayer/es/plugins/testspeed/index.js +14 -0
  466. package/dist/es/node_modules/xgplayer/es/plugins/time/index.js +14 -0
  467. package/dist/es/node_modules/xgplayer/es/plugins/time/timesegments.js +14 -0
  468. package/dist/es/node_modules/xgplayer/es/plugins/volume/index.js +14 -0
  469. package/dist/es/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +14 -0
  470. package/dist/es/node_modules/xgplayer/es/presets/default.js +14 -0
  471. package/dist/es/node_modules/xgplayer/es/state.js +14 -0
  472. package/dist/es/node_modules/xgplayer/es/stateClassMap.js +14 -0
  473. package/dist/es/node_modules/xgplayer/es/utils/database.js +14 -0
  474. package/dist/es/node_modules/xgplayer/es/utils/debug.js +14 -0
  475. package/dist/es/node_modules/xgplayer/es/utils/draggabilly.js +14 -0
  476. package/dist/es/node_modules/xgplayer/es/utils/sniffer.js +14 -0
  477. package/dist/es/node_modules/xgplayer/es/utils/util.js +14 -0
  478. package/dist/es/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +14 -0
  479. package/dist/es/node_modules/xgplayer/es/version.js +14 -0
  480. package/dist/es/packages/components/index.js +14 -0
  481. package/dist/es/{src/styles → styles}/tokens.css +13 -0
  482. package/dist/lib/Button/index.js +14 -0
  483. package/dist/lib/Button/src/Button.css +14 -0
  484. package/dist/lib/Button/src/Button.vue.js +14 -0
  485. package/dist/lib/Button/src/Button2.css +14 -0
  486. package/dist/lib/CodeEditor/index.js +14 -0
  487. package/dist/lib/CodeEditor/src/index.css +14 -0
  488. package/dist/lib/CodeEditor/src/index.vue.js +14 -0
  489. package/dist/lib/{src/CodeEditor → CodeEditor}/src/index2.css +14 -1
  490. package/dist/lib/ConfigProvider/index.js +14 -0
  491. package/dist/lib/ConfigProvider/src/configProvider.js +14 -0
  492. package/dist/lib/ConfigProvider/src/configProviderProps.js +14 -0
  493. package/dist/lib/ConfigProvider/src/constants.js +14 -0
  494. package/dist/lib/ConfigProvider/src/useGlobalConfig.js +14 -0
  495. package/dist/lib/CountTo/index.js +14 -0
  496. package/dist/lib/CountTo/src/index.css +14 -0
  497. package/dist/lib/CountTo/src/index.vue.js +14 -0
  498. package/dist/lib/Ellipsis/index.js +14 -0
  499. package/dist/lib/Ellipsis/src/components/JsEllipsis.css +14 -0
  500. package/dist/lib/Ellipsis/src/components/JsEllipsis.vue.js +14 -0
  501. package/dist/lib/Ellipsis/src/components/NativeEllipsis.css +14 -0
  502. package/dist/lib/Ellipsis/src/components/NativeEllipsis.vue.js +14 -0
  503. package/dist/lib/Ellipsis/src/components/NativeEllipsis2.css +14 -0
  504. package/dist/lib/Ellipsis/src/index.css +14 -0
  505. package/dist/lib/Ellipsis/src/index.vue.js +14 -0
  506. package/dist/lib/Ellipsis/src/utils/utils.js +14 -0
  507. package/dist/lib/Form/index.js +14 -0
  508. package/dist/lib/Form/src/Form.css +14 -0
  509. package/dist/lib/Form/src/Form.vue.js +14 -0
  510. package/dist/lib/{src/Form → Form}/src/styles/form.css +13 -0
  511. package/dist/lib/Grid/index.js +14 -0
  512. package/dist/lib/Grid/src/Grid.css +14 -0
  513. package/dist/lib/Grid/src/Grid.vue.js +14 -0
  514. package/dist/lib/Grid/src/components/ActionBar.css +14 -0
  515. package/dist/lib/Grid/src/components/ActionBar.vue.js +14 -0
  516. package/dist/lib/Grid/src/components/CellEditor.css +14 -0
  517. package/dist/lib/Grid/src/components/CellEditor.vue.js +14 -0
  518. package/dist/lib/Grid/src/components/CellEditor2.css +14 -0
  519. package/dist/lib/{src/Grid → Grid}/src/components/ColumnFilter.css +14 -1
  520. package/dist/lib/Grid/src/components/ColumnFilter.vue.js +14 -0
  521. package/dist/lib/{src/Grid → Grid}/src/components/ColumnSettings.css +14 -1
  522. package/dist/lib/Grid/src/components/ColumnSettings.vue.js +14 -0
  523. package/dist/{es/src → lib}/Grid/src/components/DataTable.css +14 -1
  524. package/dist/lib/Grid/src/components/DataTable.vue.js +14 -0
  525. package/dist/lib/{src/Grid → Grid}/src/components/Pager.css +14 -1
  526. package/dist/lib/Grid/src/components/Pager.vue.js +14 -0
  527. package/dist/lib/{src/Grid → Grid}/src/components/QueryBar.css +14 -1
  528. package/dist/lib/Grid/src/components/QueryBar.vue.js +14 -0
  529. package/dist/lib/Grid/src/composables/useCellEditor.js +14 -0
  530. package/dist/lib/Grid/src/composables/useGridTable.js +14 -0
  531. package/dist/lib/{src/Grid → Grid}/src/styles/table.css +13 -0
  532. package/dist/lib/Marquee/index.js +14 -0
  533. package/dist/lib/Marquee/src/index.css +14 -0
  534. package/dist/lib/Marquee/src/index.vue.js +14 -0
  535. package/dist/lib/Marquee/src/index2.css +14 -0
  536. package/dist/lib/Overlay/index.js +14 -0
  537. package/dist/lib/Overlay/src/Message.css +14 -0
  538. package/dist/lib/Overlay/src/Message.vue.js +14 -0
  539. package/dist/lib/{src/Overlay → Overlay}/src/Message2.css +14 -1
  540. package/dist/lib/Overlay/src/Modal.css +14 -0
  541. package/dist/lib/Overlay/src/Modal.vue.js +14 -0
  542. package/dist/lib/{src/Overlay → Overlay}/src/Modal2.css +14 -1
  543. package/dist/lib/Overlay/src/Notice.css +14 -0
  544. package/dist/lib/Overlay/src/Notice.vue.js +14 -0
  545. package/dist/lib/{src/Overlay → Overlay}/src/Notice2.css +14 -1
  546. package/dist/lib/RichTextEditor/index.js +14 -0
  547. package/dist/lib/RichTextEditor/src/ToolbarPanel.css +14 -0
  548. package/dist/lib/RichTextEditor/src/ToolbarPanel.vue.js +14 -0
  549. package/dist/lib/RichTextEditor/src/ToolbarPanel2.css +14 -0
  550. package/dist/lib/RichTextEditor/src/components/BlockquoteButton.css +14 -0
  551. package/dist/lib/RichTextEditor/src/components/BlockquoteButton.vue.js +14 -0
  552. package/dist/lib/RichTextEditor/src/components/CodeBlockButton.css +14 -0
  553. package/dist/lib/RichTextEditor/src/components/CodeBlockButton.vue.js +14 -0
  554. package/dist/lib/RichTextEditor/src/components/ColorHighlightPopover.css +14 -0
  555. package/dist/lib/RichTextEditor/src/components/ColorHighlightPopover.vue.js +14 -0
  556. package/dist/lib/RichTextEditor/src/components/FontSizeDropdownMenu.css +14 -0
  557. package/dist/lib/RichTextEditor/src/components/FontSizeDropdownMenu.vue.js +14 -0
  558. package/dist/lib/RichTextEditor/src/components/HeadingDropdownMenu.css +14 -0
  559. package/dist/lib/RichTextEditor/src/components/HeadingDropdownMenu.vue.js +14 -0
  560. package/dist/lib/RichTextEditor/src/components/ImageUploadButton.css +14 -0
  561. package/dist/lib/RichTextEditor/src/components/ImageUploadButton.vue.js +14 -0
  562. package/dist/lib/RichTextEditor/src/components/LinkPopover.css +14 -0
  563. package/dist/lib/RichTextEditor/src/components/LinkPopover.vue.js +14 -0
  564. package/dist/lib/RichTextEditor/src/components/ListDropdownMenu.css +14 -0
  565. package/dist/lib/RichTextEditor/src/components/ListDropdownMenu.vue.js +14 -0
  566. package/dist/lib/RichTextEditor/src/components/MarkButton.css +14 -0
  567. package/dist/lib/RichTextEditor/src/components/MarkButton.vue.js +14 -0
  568. package/dist/lib/RichTextEditor/src/components/TableButton.css +14 -0
  569. package/dist/lib/RichTextEditor/src/components/TableButton.vue.js +14 -0
  570. package/dist/lib/RichTextEditor/src/components/TextAlignDropdownMenu.css +14 -0
  571. package/dist/lib/RichTextEditor/src/components/TextAlignDropdownMenu.vue.js +14 -0
  572. package/dist/lib/RichTextEditor/src/components/TextColorPopover.css +14 -0
  573. package/dist/lib/RichTextEditor/src/components/TextColorPopover.vue.js +14 -0
  574. package/dist/lib/RichTextEditor/src/components/ToolbarGroup.css +14 -0
  575. package/dist/lib/RichTextEditor/src/components/ToolbarGroup.vue.js +14 -0
  576. package/dist/lib/RichTextEditor/src/components/ToolbarSeparator.css +14 -0
  577. package/dist/lib/RichTextEditor/src/components/ToolbarSeparator.vue.js +14 -0
  578. package/dist/lib/RichTextEditor/src/components/UndoRedoButton.css +14 -0
  579. package/dist/lib/RichTextEditor/src/components/UndoRedoButton.vue.js +14 -0
  580. package/dist/lib/RichTextEditor/src/components/VideoUploadButton.css +14 -0
  581. package/dist/lib/RichTextEditor/src/components/VideoUploadButton.vue.js +14 -0
  582. package/dist/lib/RichTextEditor/src/components/basic/ColorPicker.css +14 -0
  583. package/dist/lib/RichTextEditor/src/components/basic/ColorPicker.vue.js +14 -0
  584. package/dist/lib/RichTextEditor/src/components/basic/MediaUploadModal.css +14 -0
  585. package/dist/lib/RichTextEditor/src/components/basic/MediaUploadModal.vue.js +14 -0
  586. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu.css +14 -0
  587. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu.vue.js +14 -0
  588. package/dist/lib/RichTextEditor/src/components/basic/SelectMenu2.css +14 -0
  589. package/dist/lib/RichTextEditor/src/components/icons.js +14 -0
  590. package/dist/lib/RichTextEditor/src/constant/index.js +14 -0
  591. package/dist/lib/RichTextEditor/src/extensions/video.js +14 -0
  592. package/dist/lib/RichTextEditor/src/index.css +14 -0
  593. package/dist/lib/RichTextEditor/src/index.vue.js +14 -0
  594. package/dist/lib/RichTextEditor/src/index2.css +14 -0
  595. package/dist/lib/RichTextEditor/src/props.js +14 -0
  596. package/dist/lib/ScaleScreen/index.js +14 -0
  597. package/dist/lib/ScaleScreen/src/index.css +14 -0
  598. package/dist/lib/ScaleScreen/src/index.vue.js +14 -0
  599. package/dist/lib/{src/ScaleScreen → ScaleScreen}/src/index2.css +13 -0
  600. package/dist/lib/Transition/index.js +14 -0
  601. package/dist/lib/Transition/src/CollapseTransition.css +14 -0
  602. package/dist/lib/Transition/src/CollapseTransition.vue.js +14 -0
  603. package/dist/lib/Transition/src/CreateTransition.js +14 -0
  604. package/dist/lib/Transition/src/ExpandTransition.js +14 -0
  605. package/dist/lib/Transition/src/style/index.css +14 -0
  606. package/dist/lib/VideoBackground/index.js +14 -0
  607. package/dist/lib/VideoBackground/src/helper.js +14 -0
  608. package/dist/lib/VideoBackground/src/index.css +14 -0
  609. package/dist/lib/VideoBackground/src/index.vue.js +14 -0
  610. package/dist/lib/VideoBackground/src/index2.css +14 -0
  611. package/dist/lib/{src/VideoBackground → VideoBackground}/src/index3.css +13 -0
  612. package/dist/lib/VideoBackground/src/videoBackground.js +14 -0
  613. package/dist/lib/VideoPlayer/index.js +14 -0
  614. package/dist/lib/VideoPlayer/src/index.css +14 -0
  615. package/dist/lib/VideoPlayer/src/index.vue.js +14 -0
  616. package/dist/lib/VideoPlayer/src/localeSetting.js +14 -0
  617. package/dist/lib/VirtualScroll/index.js +14 -0
  618. package/dist/lib/VirtualScroll/src/index.css +14 -0
  619. package/dist/lib/VirtualScroll/src/index.vue.js +14 -0
  620. package/dist/lib/VirtualScroll/src/index.vue2.js +14 -0
  621. package/dist/lib/VirtualScroll/src/index2.css +14 -0
  622. package/dist/lib/_virtual/_commonjsHelpers.js +14 -0
  623. package/dist/lib/_virtual/_plugin-vue_export-helper.js +14 -1
  624. package/dist/lib/_virtual/delegate.js +14 -0
  625. package/dist/lib/_virtual/download.js +14 -0
  626. package/dist/lib/_virtual/download2.js +14 -0
  627. package/dist/lib/_virtual/index.js +14 -0
  628. package/dist/lib/_virtual/index2.js +14 -0
  629. package/dist/lib/hooks/useLocale.js +14 -0
  630. package/dist/lib/hooks/useNamespace.js +14 -0
  631. package/dist/lib/index.js +14 -1
  632. package/dist/lib/locale/lang/en-US.js +14 -0
  633. package/dist/lib/locale/lang/ja-JP.js +14 -0
  634. package/dist/lib/locale/lang/zh-CN.js +14 -0
  635. package/dist/lib/node_modules/@codemirror/autocomplete/dist/index.js +14 -1
  636. package/dist/lib/node_modules/@codemirror/commands/dist/index.js +14 -1
  637. package/dist/lib/node_modules/@codemirror/lang-java/dist/index.js +14 -1
  638. package/dist/lib/node_modules/@codemirror/lang-javascript/dist/index.js +14 -13
  639. package/dist/lib/node_modules/@codemirror/lang-json/dist/index.js +14 -1
  640. package/dist/lib/node_modules/@codemirror/lang-python/dist/index.js +14 -3
  641. package/dist/lib/node_modules/@codemirror/lang-sql/dist/index.js +14 -2
  642. package/dist/lib/node_modules/@codemirror/lang-xml/dist/index.js +14 -1
  643. package/dist/lib/node_modules/@codemirror/lang-yaml/dist/index.js +14 -1
  644. package/dist/lib/node_modules/@codemirror/language/dist/index.js +14 -1
  645. package/dist/lib/node_modules/@codemirror/lint/dist/index.js +14 -1
  646. package/dist/lib/node_modules/@codemirror/search/dist/index.js +14 -2
  647. package/dist/lib/node_modules/@codemirror/state/dist/index.js +14 -5
  648. package/dist/lib/node_modules/@codemirror/theme-one-dark/dist/index.js +14 -1
  649. package/dist/lib/node_modules/@codemirror/view/dist/index.js +14 -5
  650. package/dist/lib/node_modules/@lezer/common/dist/index.js +14 -1
  651. package/dist/lib/node_modules/@lezer/highlight/dist/index.js +14 -1
  652. package/dist/lib/node_modules/@lezer/java/dist/index.js +14 -1
  653. package/dist/lib/node_modules/@lezer/javascript/dist/index.js +14 -1
  654. package/dist/lib/node_modules/@lezer/json/dist/index.js +14 -1
  655. package/dist/lib/node_modules/@lezer/lr/dist/index.js +14 -1
  656. package/dist/lib/node_modules/@lezer/python/dist/index.js +14 -1
  657. package/dist/lib/node_modules/@lezer/xml/dist/index.js +14 -1
  658. package/dist/lib/node_modules/@lezer/yaml/dist/index.js +14 -1
  659. package/dist/lib/node_modules/@marijn/find-cluster-break/src/index.js +14 -1
  660. package/dist/lib/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +14 -1
  661. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/EventClient.js +14 -1
  662. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +14 -1
  663. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FormApi.js +14 -1
  664. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +14 -1
  665. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +14 -1
  666. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +14 -1
  667. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/utils.js +14 -1
  668. package/dist/lib/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +14 -1
  669. package/dist/lib/node_modules/@tanstack/store/dist/esm/derived.js +14 -1
  670. package/dist/lib/node_modules/@tanstack/store/dist/esm/scheduler.js +14 -1
  671. package/dist/lib/node_modules/@tanstack/store/dist/esm/store.js +14 -1
  672. package/dist/lib/node_modules/@tanstack/store/dist/esm/types.js +14 -1
  673. package/dist/lib/node_modules/@tanstack/table-core/build/lib/index.js +14 -4
  674. package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useField.js +14 -1
  675. package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useForm.js +14 -1
  676. package/dist/lib/node_modules/@tanstack/vue-store/dist/esm/index.js +14 -1
  677. package/dist/lib/node_modules/@tanstack/vue-table/build/lib/index.js +14 -1
  678. package/dist/lib/node_modules/@tiptap/core/dist/index.js +14 -0
  679. package/dist/lib/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +14 -0
  680. package/dist/lib/node_modules/@tiptap/extension-blockquote/dist/index.js +14 -0
  681. package/dist/lib/node_modules/@tiptap/extension-bold/dist/index.js +14 -0
  682. package/dist/lib/node_modules/@tiptap/extension-character-count/dist/index.js +14 -0
  683. package/dist/lib/node_modules/@tiptap/extension-code/dist/index.js +14 -0
  684. package/dist/lib/node_modules/@tiptap/extension-code-block/dist/index.js +14 -0
  685. package/dist/lib/node_modules/@tiptap/extension-document/dist/index.js +14 -0
  686. package/dist/lib/node_modules/@tiptap/extension-hard-break/dist/index.js +14 -0
  687. package/dist/lib/node_modules/@tiptap/extension-heading/dist/index.js +14 -0
  688. package/dist/lib/node_modules/@tiptap/extension-highlight/dist/index.js +14 -0
  689. package/dist/lib/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +14 -0
  690. package/dist/lib/node_modules/@tiptap/extension-image/dist/index.js +14 -0
  691. package/dist/lib/node_modules/@tiptap/extension-italic/dist/index.js +14 -0
  692. package/dist/lib/node_modules/@tiptap/extension-link/dist/index.js +14 -0
  693. package/dist/lib/node_modules/@tiptap/extension-list/dist/index.js +14 -0
  694. package/dist/lib/node_modules/@tiptap/extension-paragraph/dist/index.js +14 -0
  695. package/dist/lib/node_modules/@tiptap/extension-strike/dist/index.js +14 -0
  696. package/dist/lib/node_modules/@tiptap/extension-subscript/dist/index.js +14 -0
  697. package/dist/lib/node_modules/@tiptap/extension-superscript/dist/index.js +14 -0
  698. package/dist/lib/node_modules/@tiptap/extension-table/dist/index.js +14 -0
  699. package/dist/lib/node_modules/@tiptap/extension-task-item/dist/index.js +14 -0
  700. package/dist/lib/node_modules/@tiptap/extension-task-list/dist/index.js +14 -0
  701. package/dist/lib/node_modules/@tiptap/extension-text/dist/index.js +14 -0
  702. package/dist/lib/node_modules/@tiptap/extension-text-align/dist/index.js +14 -0
  703. package/dist/lib/node_modules/@tiptap/extension-text-style/dist/index.js +14 -0
  704. package/dist/lib/node_modules/@tiptap/extension-underline/dist/index.js +14 -0
  705. package/dist/lib/node_modules/@tiptap/extensions/dist/index.js +14 -0
  706. package/dist/lib/node_modules/@tiptap/starter-kit/dist/index.js +14 -0
  707. package/dist/lib/node_modules/@tiptap/vue-3/dist/index.js +14 -0
  708. package/dist/lib/node_modules/@vueuse/core/dist/index.js +14 -1
  709. package/dist/lib/node_modules/@vueuse/shared/dist/index.js +14 -1
  710. package/dist/lib/node_modules/codemirror/dist/index.js +14 -1
  711. package/dist/lib/node_modules/crelt/index.js +14 -1
  712. package/dist/lib/node_modules/delegate/src/closest.js +14 -0
  713. package/dist/lib/node_modules/delegate/src/delegate.js +14 -0
  714. package/dist/lib/node_modules/downloadjs/download.js +14 -0
  715. package/dist/lib/node_modules/eventemitter3/index.js +14 -0
  716. package/dist/lib/node_modules/linkifyjs/dist/linkify.js +14 -0
  717. package/dist/lib/node_modules/lodash-es/_DataView.js +14 -0
  718. package/dist/lib/node_modules/lodash-es/_Hash.js +14 -1
  719. package/dist/lib/node_modules/lodash-es/_ListCache.js +14 -1
  720. package/dist/lib/node_modules/lodash-es/_Map.js +14 -1
  721. package/dist/lib/node_modules/lodash-es/_MapCache.js +14 -1
  722. package/dist/lib/node_modules/lodash-es/_Promise.js +14 -0
  723. package/dist/lib/node_modules/lodash-es/_Set.js +14 -0
  724. package/dist/lib/node_modules/lodash-es/_Stack.js +14 -0
  725. package/dist/lib/node_modules/lodash-es/_Symbol.js +14 -1
  726. package/dist/lib/node_modules/lodash-es/_Uint8Array.js +14 -0
  727. package/dist/lib/node_modules/lodash-es/_WeakMap.js +14 -0
  728. package/dist/lib/node_modules/lodash-es/_apply.js +14 -0
  729. package/dist/lib/node_modules/lodash-es/_arrayEach.js +14 -0
  730. package/dist/lib/node_modules/lodash-es/_arrayFilter.js +14 -0
  731. package/dist/lib/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
  732. package/dist/lib/node_modules/lodash-es/_arrayMap.js +14 -1
  733. package/dist/lib/node_modules/lodash-es/_arrayPush.js +14 -0
  734. package/dist/lib/node_modules/lodash-es/_assignValue.js +14 -0
  735. package/dist/lib/node_modules/lodash-es/_assocIndexOf.js +14 -1
  736. package/dist/lib/node_modules/lodash-es/_baseAssignValue.js +14 -0
  737. package/dist/lib/node_modules/lodash-es/_baseClone.js +14 -0
  738. package/dist/lib/node_modules/lodash-es/_baseFlatten.js +14 -0
  739. package/dist/lib/node_modules/lodash-es/_baseGet.js +14 -1
  740. package/dist/lib/node_modules/lodash-es/_baseGetAllKeys.js +14 -0
  741. package/dist/lib/node_modules/lodash-es/_baseGetTag.js +14 -1
  742. package/dist/lib/node_modules/lodash-es/_baseIsArguments.js +14 -0
  743. package/dist/lib/node_modules/lodash-es/_baseIsMap.js +14 -0
  744. package/dist/lib/node_modules/lodash-es/_baseIsNative.js +14 -1
  745. package/dist/lib/node_modules/lodash-es/_baseIsRegExp.js +14 -0
  746. package/dist/lib/node_modules/lodash-es/_baseIsSet.js +14 -0
  747. package/dist/lib/node_modules/lodash-es/_baseIsTypedArray.js +14 -0
  748. package/dist/lib/node_modules/lodash-es/_baseKeysIn.js +14 -0
  749. package/dist/lib/node_modules/lodash-es/_baseSetToString.js +14 -0
  750. package/dist/lib/node_modules/lodash-es/_baseSlice.js +14 -0
  751. package/dist/lib/node_modules/lodash-es/_baseTimes.js +14 -0
  752. package/dist/lib/node_modules/lodash-es/_baseToString.js +14 -1
  753. package/dist/lib/node_modules/lodash-es/_baseUnary.js +14 -0
  754. package/dist/lib/node_modules/lodash-es/_baseUnset.js +14 -0
  755. package/dist/lib/node_modules/lodash-es/_castPath.js +14 -1
  756. package/dist/lib/node_modules/lodash-es/_cloneArrayBuffer.js +14 -0
  757. package/dist/lib/node_modules/lodash-es/_cloneBuffer.js +14 -0
  758. package/dist/lib/node_modules/lodash-es/_cloneDataView.js +14 -0
  759. package/dist/lib/node_modules/lodash-es/_cloneRegExp.js +14 -0
  760. package/dist/lib/node_modules/lodash-es/_cloneSymbol.js +14 -0
  761. package/dist/lib/node_modules/lodash-es/_cloneTypedArray.js +14 -0
  762. package/dist/lib/node_modules/lodash-es/_copyObject.js +14 -0
  763. package/dist/lib/node_modules/lodash-es/_coreJsData.js +14 -1
  764. package/dist/lib/node_modules/lodash-es/_customOmitClone.js +14 -0
  765. package/dist/lib/node_modules/lodash-es/_defineProperty.js +14 -0
  766. package/dist/lib/node_modules/lodash-es/_flatRest.js +14 -0
  767. package/dist/lib/node_modules/lodash-es/_freeGlobal.js +14 -1
  768. package/dist/lib/node_modules/lodash-es/_getAllKeysIn.js +14 -0
  769. package/dist/lib/node_modules/lodash-es/_getMapData.js +14 -1
  770. package/dist/lib/node_modules/lodash-es/_getNative.js +14 -1
  771. package/dist/lib/node_modules/lodash-es/_getPrototype.js +14 -0
  772. package/dist/lib/node_modules/lodash-es/_getRawTag.js +14 -1
  773. package/dist/lib/node_modules/lodash-es/_getSymbols.js +14 -0
  774. package/dist/lib/node_modules/lodash-es/_getSymbolsIn.js +14 -0
  775. package/dist/lib/node_modules/lodash-es/_getTag.js +14 -0
  776. package/dist/lib/node_modules/lodash-es/_getValue.js +14 -1
  777. package/dist/lib/node_modules/lodash-es/_hashClear.js +14 -1
  778. package/dist/lib/node_modules/lodash-es/_hashDelete.js +14 -1
  779. package/dist/lib/node_modules/lodash-es/_hashGet.js +14 -1
  780. package/dist/lib/node_modules/lodash-es/_hashHas.js +14 -1
  781. package/dist/lib/node_modules/lodash-es/_hashSet.js +14 -1
  782. package/dist/lib/node_modules/lodash-es/_initCloneArray.js +14 -0
  783. package/dist/lib/node_modules/lodash-es/_initCloneByTag.js +14 -0
  784. package/dist/lib/node_modules/lodash-es/_isFlattenable.js +14 -0
  785. package/dist/lib/node_modules/lodash-es/_isIndex.js +14 -0
  786. package/dist/lib/node_modules/lodash-es/_isKey.js +14 -1
  787. package/dist/lib/node_modules/lodash-es/_isKeyable.js +14 -1
  788. package/dist/lib/node_modules/lodash-es/_isMasked.js +14 -1
  789. package/dist/lib/node_modules/lodash-es/_isPrototype.js +14 -0
  790. package/dist/lib/node_modules/lodash-es/_listCacheClear.js +14 -1
  791. package/dist/lib/node_modules/lodash-es/_listCacheDelete.js +14 -1
  792. package/dist/lib/node_modules/lodash-es/_listCacheGet.js +14 -1
  793. package/dist/lib/node_modules/lodash-es/_listCacheHas.js +14 -1
  794. package/dist/lib/node_modules/lodash-es/_listCacheSet.js +14 -1
  795. package/dist/lib/node_modules/lodash-es/_mapCacheClear.js +14 -1
  796. package/dist/lib/node_modules/lodash-es/_mapCacheDelete.js +14 -1
  797. package/dist/lib/node_modules/lodash-es/_mapCacheGet.js +14 -1
  798. package/dist/lib/node_modules/lodash-es/_mapCacheHas.js +14 -1
  799. package/dist/lib/node_modules/lodash-es/_mapCacheSet.js +14 -1
  800. package/dist/lib/node_modules/lodash-es/_memoizeCapped.js +14 -1
  801. package/dist/lib/node_modules/lodash-es/_nativeCreate.js +14 -1
  802. package/dist/lib/node_modules/lodash-es/_nativeKeysIn.js +14 -0
  803. package/dist/lib/node_modules/lodash-es/_nodeUtil.js +14 -0
  804. package/dist/lib/node_modules/lodash-es/_objectToString.js +14 -1
  805. package/dist/lib/node_modules/lodash-es/_overArg.js +14 -0
  806. package/dist/lib/node_modules/lodash-es/_overRest.js +14 -0
  807. package/dist/lib/node_modules/lodash-es/_parent.js +14 -0
  808. package/dist/lib/node_modules/lodash-es/_root.js +14 -1
  809. package/dist/lib/node_modules/lodash-es/_setToString.js +14 -0
  810. package/dist/lib/node_modules/lodash-es/_shortOut.js +14 -0
  811. package/dist/lib/node_modules/lodash-es/_stackClear.js +14 -0
  812. package/dist/lib/node_modules/lodash-es/_stackDelete.js +14 -0
  813. package/dist/lib/node_modules/lodash-es/_stackGet.js +14 -0
  814. package/dist/lib/node_modules/lodash-es/_stackHas.js +14 -0
  815. package/dist/lib/node_modules/lodash-es/_stackSet.js +14 -0
  816. package/dist/lib/node_modules/lodash-es/_stringToPath.js +14 -1
  817. package/dist/lib/node_modules/lodash-es/_toKey.js +14 -1
  818. package/dist/lib/node_modules/lodash-es/_toSource.js +14 -1
  819. package/dist/lib/node_modules/lodash-es/constant.js +14 -0
  820. package/dist/lib/node_modules/lodash-es/eq.js +14 -1
  821. package/dist/lib/node_modules/lodash-es/flatten.js +14 -0
  822. package/dist/lib/node_modules/lodash-es/get.js +14 -1
  823. package/dist/lib/node_modules/lodash-es/identity.js +14 -0
  824. package/dist/lib/node_modules/lodash-es/isArguments.js +14 -0
  825. package/dist/lib/node_modules/lodash-es/isArray.js +14 -1
  826. package/dist/lib/node_modules/lodash-es/isArrayLike.js +14 -0
  827. package/dist/lib/node_modules/lodash-es/isBuffer.js +14 -0
  828. package/dist/lib/node_modules/lodash-es/isFinite.js +14 -0
  829. package/dist/lib/node_modules/lodash-es/isFunction.js +14 -1
  830. package/dist/lib/node_modules/lodash-es/isLength.js +14 -0
  831. package/dist/lib/node_modules/lodash-es/isMap.js +14 -0
  832. package/dist/lib/node_modules/lodash-es/isNaN.js +14 -0
  833. package/dist/lib/node_modules/lodash-es/isNil.js +14 -1
  834. package/dist/lib/node_modules/lodash-es/isNumber.js +14 -0
  835. package/dist/lib/node_modules/lodash-es/isObject.js +14 -1
  836. package/dist/lib/node_modules/lodash-es/isObjectLike.js +14 -1
  837. package/dist/lib/node_modules/lodash-es/isPlainObject.js +14 -0
  838. package/dist/lib/node_modules/lodash-es/isRegExp.js +14 -0
  839. package/dist/lib/node_modules/lodash-es/isSet.js +14 -0
  840. package/dist/lib/node_modules/lodash-es/isString.js +14 -1
  841. package/dist/lib/node_modules/lodash-es/isSymbol.js +14 -1
  842. package/dist/lib/node_modules/lodash-es/isTypedArray.js +14 -0
  843. package/dist/lib/node_modules/lodash-es/keysIn.js +14 -0
  844. package/dist/lib/node_modules/lodash-es/last.js +14 -0
  845. package/dist/lib/node_modules/lodash-es/memoize.js +14 -1
  846. package/dist/lib/node_modules/lodash-es/omit.js +14 -0
  847. package/dist/lib/node_modules/lodash-es/stubArray.js +14 -0
  848. package/dist/lib/node_modules/lodash-es/stubFalse.js +14 -0
  849. package/dist/lib/node_modules/lodash-es/toString.js +14 -1
  850. package/dist/lib/node_modules/orderedmap/dist/index.js +14 -0
  851. package/dist/lib/node_modules/prosemirror-commands/dist/index.js +14 -0
  852. package/dist/lib/node_modules/prosemirror-dropcursor/dist/index.js +14 -0
  853. package/dist/lib/node_modules/prosemirror-gapcursor/dist/index.js +14 -0
  854. package/dist/lib/node_modules/prosemirror-history/dist/index.js +14 -0
  855. package/dist/lib/node_modules/prosemirror-keymap/dist/index.js +14 -0
  856. package/dist/lib/node_modules/prosemirror-model/dist/index.js +14 -0
  857. package/dist/lib/node_modules/prosemirror-schema-list/dist/index.js +14 -0
  858. package/dist/lib/node_modules/prosemirror-state/dist/index.js +14 -0
  859. package/dist/lib/node_modules/prosemirror-tables/dist/index.js +14 -0
  860. package/dist/lib/node_modules/prosemirror-transform/dist/index.js +14 -0
  861. package/dist/lib/node_modules/prosemirror-view/dist/index.js +14 -0
  862. package/dist/lib/node_modules/rope-sequence/dist/index.js +14 -0
  863. package/dist/lib/node_modules/style-mod/src/style-mod.js +14 -3
  864. package/dist/lib/node_modules/vue-codemirror/dist/vue-codemirror.esm.js +14 -1
  865. package/dist/lib/node_modules/w3c-keyname/index.js +14 -1
  866. package/dist/lib/node_modules/xgplayer/dist/index.min.css +14 -0
  867. package/dist/lib/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +14 -0
  868. package/dist/lib/node_modules/xgplayer/es/constant.js +14 -0
  869. package/dist/lib/node_modules/xgplayer/es/defaultConfig.js +14 -0
  870. package/dist/lib/node_modules/xgplayer/es/error.js +14 -0
  871. package/dist/lib/node_modules/xgplayer/es/events.js +14 -0
  872. package/dist/lib/node_modules/xgplayer/es/index.umd.js +14 -0
  873. package/dist/lib/node_modules/xgplayer/es/instManager.js +14 -0
  874. package/dist/lib/node_modules/xgplayer/es/lang/en.js +14 -0
  875. package/dist/lib/node_modules/xgplayer/es/lang/i18n.js +14 -0
  876. package/dist/lib/node_modules/xgplayer/es/lang/jp.js +14 -0
  877. package/dist/lib/node_modules/xgplayer/es/lang/zh-cn.js +14 -0
  878. package/dist/lib/node_modules/xgplayer/es/mediaProxy.js +14 -0
  879. package/dist/lib/node_modules/xgplayer/es/player.js +14 -0
  880. package/dist/lib/node_modules/xgplayer/es/plugin/basePlugin.js +14 -0
  881. package/dist/lib/node_modules/xgplayer/es/plugin/hooksDescriptor.js +14 -0
  882. package/dist/lib/node_modules/xgplayer/es/plugin/plugin.js +14 -0
  883. package/dist/lib/node_modules/xgplayer/es/plugin/pluginsManager.js +14 -0
  884. package/dist/lib/node_modules/xgplayer/es/plugin/preset.js +14 -0
  885. package/dist/lib/node_modules/xgplayer/es/plugin/resizeObserver.js +14 -0
  886. package/dist/lib/node_modules/xgplayer/es/plugins/assets/back.js +14 -0
  887. package/dist/lib/node_modules/xgplayer/es/plugins/assets/download.js +14 -0
  888. package/dist/lib/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +14 -0
  889. package/dist/lib/node_modules/xgplayer/es/plugins/assets/exitFull.js +14 -0
  890. package/dist/lib/node_modules/xgplayer/es/plugins/assets/loading.js +14 -0
  891. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pause.js +14 -0
  892. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pipIcon.js +14 -0
  893. package/dist/lib/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +14 -0
  894. package/dist/lib/node_modules/xgplayer/es/plugins/assets/play.js +14 -0
  895. package/dist/lib/node_modules/xgplayer/es/plugins/assets/playNext.js +14 -0
  896. package/dist/lib/node_modules/xgplayer/es/plugins/assets/replay.js +14 -0
  897. package/dist/lib/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +14 -0
  898. package/dist/lib/node_modules/xgplayer/es/plugins/assets/requestFull.js +14 -0
  899. package/dist/lib/node_modules/xgplayer/es/plugins/assets/rotate.js +14 -0
  900. package/dist/lib/node_modules/xgplayer/es/plugins/assets/seekicon.js +14 -0
  901. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +14 -0
  902. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +14 -0
  903. package/dist/lib/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +14 -0
  904. package/dist/lib/node_modules/xgplayer/es/plugins/common/iconPlugin.js +14 -0
  905. package/dist/lib/node_modules/xgplayer/es/plugins/common/iconTools.js +14 -0
  906. package/dist/lib/node_modules/xgplayer/es/plugins/common/optionList.js +14 -0
  907. package/dist/lib/node_modules/xgplayer/es/plugins/common/optionsIcon.js +14 -0
  908. package/dist/lib/node_modules/xgplayer/es/plugins/common/thumbnail.js +14 -0
  909. package/dist/lib/node_modules/xgplayer/es/plugins/controls/index.js +14 -0
  910. package/dist/lib/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +14 -0
  911. package/dist/lib/node_modules/xgplayer/es/plugins/definition/index.js +14 -0
  912. package/dist/lib/node_modules/xgplayer/es/plugins/download/index.js +14 -0
  913. package/dist/lib/node_modules/xgplayer/es/plugins/dynamicBg/index.js +14 -0
  914. package/dist/lib/node_modules/xgplayer/es/plugins/enter/index.js +14 -0
  915. package/dist/lib/node_modules/xgplayer/es/plugins/error/index.js +14 -0
  916. package/dist/lib/node_modules/xgplayer/es/plugins/fpsDetect/index.js +14 -0
  917. package/dist/lib/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +14 -0
  918. package/dist/lib/node_modules/xgplayer/es/plugins/fullscreen/index.js +14 -0
  919. package/dist/lib/node_modules/xgplayer/es/plugins/gapJump/index.js +14 -0
  920. package/dist/lib/node_modules/xgplayer/es/plugins/keyboard/index.js +14 -0
  921. package/dist/lib/node_modules/xgplayer/es/plugins/loading/index.js +14 -0
  922. package/dist/lib/node_modules/xgplayer/es/plugins/logger/index.js +14 -0
  923. package/dist/lib/node_modules/xgplayer/es/plugins/miniScreen/index.js +14 -0
  924. package/dist/lib/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +14 -0
  925. package/dist/lib/node_modules/xgplayer/es/plugins/mobile/index.js +14 -0
  926. package/dist/lib/node_modules/xgplayer/es/plugins/mobile/touch.js +14 -0
  927. package/dist/lib/node_modules/xgplayer/es/plugins/pc/index.js +14 -0
  928. package/dist/lib/node_modules/xgplayer/es/plugins/pip/index.js +14 -0
  929. package/dist/lib/node_modules/xgplayer/es/plugins/play/index.js +14 -0
  930. package/dist/lib/node_modules/xgplayer/es/plugins/playNext/index.js +14 -0
  931. package/dist/lib/node_modules/xgplayer/es/plugins/playbackRate/index.js +14 -0
  932. package/dist/lib/node_modules/xgplayer/es/plugins/poster/index.js +14 -0
  933. package/dist/lib/node_modules/xgplayer/es/plugins/progress/index.js +14 -0
  934. package/dist/lib/node_modules/xgplayer/es/plugins/progress/innerList.js +14 -0
  935. package/dist/lib/node_modules/xgplayer/es/plugins/progress/miniProgress.js +14 -0
  936. package/dist/lib/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +14 -0
  937. package/dist/lib/node_modules/xgplayer/es/plugins/progressPreview/index.js +14 -0
  938. package/dist/lib/node_modules/xgplayer/es/plugins/prompt/index.js +14 -0
  939. package/dist/lib/node_modules/xgplayer/es/plugins/replay/index.js +14 -0
  940. package/dist/lib/node_modules/xgplayer/es/plugins/rotate/index.js +14 -0
  941. package/dist/lib/node_modules/xgplayer/es/plugins/screenShot/index.js +14 -0
  942. package/dist/lib/node_modules/xgplayer/es/plugins/start/index.js +14 -0
  943. package/dist/lib/node_modules/xgplayer/es/plugins/stats/index.js +14 -0
  944. package/dist/lib/node_modules/xgplayer/es/plugins/testspeed/index.js +14 -0
  945. package/dist/lib/node_modules/xgplayer/es/plugins/time/index.js +14 -0
  946. package/dist/lib/node_modules/xgplayer/es/plugins/time/timesegments.js +14 -0
  947. package/dist/lib/node_modules/xgplayer/es/plugins/volume/index.js +14 -0
  948. package/dist/lib/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +14 -0
  949. package/dist/lib/node_modules/xgplayer/es/presets/default.js +14 -0
  950. package/dist/lib/node_modules/xgplayer/es/state.js +14 -0
  951. package/dist/lib/node_modules/xgplayer/es/stateClassMap.js +14 -0
  952. package/dist/lib/node_modules/xgplayer/es/utils/database.js +14 -0
  953. package/dist/lib/node_modules/xgplayer/es/utils/debug.js +14 -0
  954. package/dist/lib/node_modules/xgplayer/es/utils/draggabilly.js +14 -0
  955. package/dist/lib/node_modules/xgplayer/es/utils/sniffer.js +14 -0
  956. package/dist/lib/node_modules/xgplayer/es/utils/util.js +14 -0
  957. package/dist/lib/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +14 -0
  958. package/dist/lib/node_modules/xgplayer/es/version.js +14 -0
  959. package/dist/lib/packages/components/index.js +14 -0
  960. package/dist/lib/{src/styles → styles}/tokens.css +13 -0
  961. package/package.json +32 -16
  962. package/dist/es/src/Button/index.js +0 -6
  963. package/dist/es/src/Button/src/Button.css +0 -1
  964. package/dist/es/src/Button/src/Button.vue.js +0 -41
  965. package/dist/es/src/CodeEditor/index.js +0 -6
  966. package/dist/es/src/CodeEditor/src/index.css +0 -1
  967. package/dist/es/src/CodeEditor/src/index.vue.js +0 -131
  968. package/dist/es/src/ConfigProvider/index.js +0 -6
  969. package/dist/es/src/ConfigProvider/src/configProvider.js +0 -14
  970. package/dist/es/src/ConfigProvider/src/configProviderProps.js +0 -22
  971. package/dist/es/src/ConfigProvider/src/constants.js +0 -9
  972. package/dist/es/src/ConfigProvider/src/useGlobalConfig.js +0 -45
  973. package/dist/es/src/Form/index.js +0 -6
  974. package/dist/es/src/Form/src/Form.vue.js +0 -208
  975. package/dist/es/src/Grid/index.js +0 -6
  976. package/dist/es/src/Grid/src/Grid.vue.js +0 -180
  977. package/dist/es/src/Grid/src/components/ActionBar.vue.js +0 -65
  978. package/dist/es/src/Grid/src/components/CellEditor.css +0 -1
  979. package/dist/es/src/Grid/src/components/CellEditor.vue.js +0 -132
  980. package/dist/es/src/Grid/src/components/ColumnFilter.vue.js +0 -72
  981. package/dist/es/src/Grid/src/components/ColumnSettings.vue.js +0 -109
  982. package/dist/es/src/Grid/src/components/DataTable.vue.js +0 -556
  983. package/dist/es/src/Grid/src/components/Pager.vue.js +0 -64
  984. package/dist/es/src/Grid/src/components/QueryBar.vue.js +0 -156
  985. package/dist/es/src/Grid/src/composables/useCellEditor.js +0 -20
  986. package/dist/es/src/Grid/src/composables/useGridTable.js +0 -213
  987. package/dist/es/src/Overlay/index.js +0 -61
  988. package/dist/es/src/Overlay/src/Message.css +0 -1
  989. package/dist/es/src/Overlay/src/Message.vue.js +0 -36
  990. package/dist/es/src/Overlay/src/Modal.css +0 -1
  991. package/dist/es/src/Overlay/src/Modal.vue.js +0 -67
  992. package/dist/es/src/Overlay/src/Notice.css +0 -1
  993. package/dist/es/src/Overlay/src/Notice.vue.js +0 -37
  994. package/dist/es/src/ScaleScreen/index.js +0 -6
  995. package/dist/es/src/ScaleScreen/src/index.css +0 -1
  996. package/dist/es/src/ScaleScreen/src/index.vue.js +0 -115
  997. package/dist/es/src/VideoBackground/index.js +0 -6
  998. package/dist/es/src/VideoBackground/src/helper.js +0 -29
  999. package/dist/es/src/VideoBackground/src/index.css +0 -1
  1000. package/dist/es/src/VideoBackground/src/index.vue.js +0 -108
  1001. package/dist/es/src/VideoBackground/src/index2.css +0 -1
  1002. package/dist/es/src/VideoBackground/src/videoBackground.js +0 -31
  1003. package/dist/es/src/hooks/useLocale.js +0 -24
  1004. package/dist/es/src/hooks/useNamespace.js +0 -8
  1005. package/dist/es/src/index.js +0 -44
  1006. package/dist/es/src/locale/lang/en-US.js +0 -72
  1007. package/dist/es/src/locale/lang/ja-JP.js +0 -72
  1008. package/dist/es/src/locale/lang/zh-CN.js +0 -72
  1009. package/dist/lib/src/Button/index.js +0 -1
  1010. package/dist/lib/src/Button/src/Button.css +0 -1
  1011. package/dist/lib/src/Button/src/Button.vue.js +0 -1
  1012. package/dist/lib/src/CodeEditor/index.js +0 -1
  1013. package/dist/lib/src/CodeEditor/src/index.css +0 -1
  1014. package/dist/lib/src/CodeEditor/src/index.vue.js +0 -1
  1015. package/dist/lib/src/ConfigProvider/index.js +0 -1
  1016. package/dist/lib/src/ConfigProvider/src/configProvider.js +0 -1
  1017. package/dist/lib/src/ConfigProvider/src/configProviderProps.js +0 -1
  1018. package/dist/lib/src/ConfigProvider/src/constants.js +0 -1
  1019. package/dist/lib/src/ConfigProvider/src/useGlobalConfig.js +0 -1
  1020. package/dist/lib/src/Form/index.js +0 -1
  1021. package/dist/lib/src/Form/src/Form.vue.js +0 -1
  1022. package/dist/lib/src/Grid/index.js +0 -1
  1023. package/dist/lib/src/Grid/src/Grid.vue.js +0 -1
  1024. package/dist/lib/src/Grid/src/components/ActionBar.vue.js +0 -1
  1025. package/dist/lib/src/Grid/src/components/CellEditor.css +0 -1
  1026. package/dist/lib/src/Grid/src/components/CellEditor.vue.js +0 -1
  1027. package/dist/lib/src/Grid/src/components/ColumnFilter.vue.js +0 -1
  1028. package/dist/lib/src/Grid/src/components/ColumnSettings.vue.js +0 -1
  1029. package/dist/lib/src/Grid/src/components/DataTable.vue.js +0 -1
  1030. package/dist/lib/src/Grid/src/components/Pager.vue.js +0 -1
  1031. package/dist/lib/src/Grid/src/components/QueryBar.vue.js +0 -1
  1032. package/dist/lib/src/Grid/src/composables/useCellEditor.js +0 -1
  1033. package/dist/lib/src/Grid/src/composables/useGridTable.js +0 -1
  1034. package/dist/lib/src/Overlay/index.js +0 -1
  1035. package/dist/lib/src/Overlay/src/Message.css +0 -1
  1036. package/dist/lib/src/Overlay/src/Message.vue.js +0 -1
  1037. package/dist/lib/src/Overlay/src/Modal.css +0 -1
  1038. package/dist/lib/src/Overlay/src/Modal.vue.js +0 -1
  1039. package/dist/lib/src/Overlay/src/Notice.css +0 -1
  1040. package/dist/lib/src/Overlay/src/Notice.vue.js +0 -1
  1041. package/dist/lib/src/ScaleScreen/index.js +0 -1
  1042. package/dist/lib/src/ScaleScreen/src/index.css +0 -1
  1043. package/dist/lib/src/ScaleScreen/src/index.vue.js +0 -1
  1044. package/dist/lib/src/VideoBackground/index.js +0 -1
  1045. package/dist/lib/src/VideoBackground/src/helper.js +0 -1
  1046. package/dist/lib/src/VideoBackground/src/index.css +0 -1
  1047. package/dist/lib/src/VideoBackground/src/index.vue.js +0 -1
  1048. package/dist/lib/src/VideoBackground/src/index2.css +0 -1
  1049. package/dist/lib/src/VideoBackground/src/videoBackground.js +0 -1
  1050. package/dist/lib/src/hooks/useLocale.js +0 -1
  1051. package/dist/lib/src/hooks/useNamespace.js +0 -1
  1052. package/dist/lib/src/index.js +0 -1
  1053. package/dist/lib/src/locale/lang/en-US.js +0 -1
  1054. package/dist/lib/src/locale/lang/ja-JP.js +0 -1
  1055. package/dist/lib/src/locale/lang/zh-CN.js +0 -1
@@ -1,1299 +1,14 @@
1
- import { NodeProp as y, Tree as C, IterMode as _, TreeFragment as M, Parser as Be, NodeType as Q } from "../../../@lezer/common/dist/index.js";
2
- import { Facet as w, Prec as Ie, EditorState as B, RangeSetBuilder as fe, RangeSet as Oe, StateField as X, StateEffect as L, combineConfig as ce, countColumn as Me } from "../../state/dist/index.js";
3
- import { EditorView as b, ViewPlugin as Y, Decoration as p, gutter as Ne, GutterMarker as Ee, logException as Fe, WidgetType as ue, Direction as ee } from "../../view/dist/index.js";
4
- import { tagHighlighter as Le, highlightTree as He, tags as u, styleTags as We } from "../../../@lezer/highlight/dist/index.js";
5
- import { StyleModule as te } from "../../../style-mod/src/style-mod.js";
6
- var U;
7
- const A = /* @__PURE__ */ new y();
8
- function Re(n) {
9
- return w.define({
10
- combine: n ? (e) => e.concat(n) : void 0
11
- });
12
- }
13
- const Ue = /* @__PURE__ */ new y();
14
- class g {
15
- /**
16
- Construct a language object. If you need to invoke this
17
- directly, first define a data facet with
18
- [`defineLanguageFacet`](https://codemirror.net/6/docs/ref/#language.defineLanguageFacet), and then
19
- configure your parser to [attach](https://codemirror.net/6/docs/ref/#language.languageDataProp) it
20
- to the language's outer syntax node.
21
- */
22
- constructor(e, t, r = [], i = "") {
23
- this.data = e, this.name = i, B.prototype.hasOwnProperty("tree") || Object.defineProperty(B.prototype, "tree", { get() {
24
- return k(this);
25
- } }), this.parser = t, this.extension = [
26
- v.of(this),
27
- B.languageData.of((o, s, a) => {
28
- let l = ne(o, s, a), f = l.type.prop(A);
29
- if (!f)
30
- return [];
31
- let c = o.facet(f), h = l.type.prop(Ue);
32
- if (h) {
33
- let m = l.resolve(s - l.from, a);
34
- for (let d of h)
35
- if (d.test(m, o)) {
36
- let S = o.facet(d.facet);
37
- return d.type == "replace" ? S : S.concat(c);
38
- }
39
- }
40
- return c;
41
- })
42
- ].concat(r);
43
- }
44
- /**
45
- Query whether this language is active at the given position.
46
- */
47
- isActiveAt(e, t, r = -1) {
48
- return ne(e, t, r).type.prop(A) == this.data;
49
- }
50
- /**
51
- Find the document regions that were parsed using this language.
52
- The returned regions will _include_ any nested languages rooted
53
- in this language, when those exist.
54
- */
55
- findRegions(e) {
56
- let t = e.facet(v);
57
- if (t?.data == this.data)
58
- return [{ from: 0, to: e.doc.length }];
59
- if (!t || !t.allowsNesting)
60
- return [];
61
- let r = [], i = (o, s) => {
62
- if (o.prop(A) == this.data) {
63
- r.push({ from: s, to: s + o.length });
64
- return;
65
- }
66
- let a = o.prop(y.mounted);
67
- if (a) {
68
- if (a.tree.prop(A) == this.data) {
69
- if (a.overlay)
70
- for (let l of a.overlay)
71
- r.push({ from: l.from + s, to: l.to + s });
72
- else
73
- r.push({ from: s, to: s + o.length });
74
- return;
75
- } else if (a.overlay) {
76
- let l = r.length;
77
- if (i(a.tree, a.overlay[0].from + s), r.length > l)
78
- return;
79
- }
80
- }
81
- for (let l = 0; l < o.children.length; l++) {
82
- let f = o.children[l];
83
- f instanceof C && i(f, o.positions[l] + s);
84
- }
85
- };
86
- return i(k(e), 0), r;
87
- }
88
- /**
89
- Indicates whether this language allows nested languages. The
90
- default implementation returns true.
91
- */
92
- get allowsNesting() {
93
- return !0;
94
- }
95
- }
96
- g.setState = /* @__PURE__ */ L.define();
97
- function ne(n, e, t) {
98
- let r = n.facet(v), i = k(n).topNode;
99
- if (!r || r.allowsNesting)
100
- for (let o = i; o; o = o.enter(e, t, _.ExcludeBuffers | _.EnterBracketed))
101
- o.type.isTop && (i = o);
102
- return i;
103
- }
104
- class G extends g {
105
- constructor(e, t, r) {
106
- super(e, t, [], r), this.parser = t;
107
- }
108
- /**
109
- Define a language from a parser.
110
- */
111
- static define(e) {
112
- let t = Re(e.languageData);
113
- return new G(t, e.parser.configure({
114
- props: [A.add((r) => r.isTop ? t : void 0)]
115
- }), e.name);
116
- }
117
- /**
118
- Create a new instance of this language with a reconfigured
119
- version of its parser and optionally a new name.
120
- */
121
- configure(e, t) {
122
- return new G(this.data, this.parser.configure(e), t || this.name);
123
- }
124
- get allowsNesting() {
125
- return this.parser.hasWrappers();
126
- }
127
- }
128
- function k(n) {
129
- let e = n.field(g.state, !1);
130
- return e ? e.tree : C.empty;
131
- }
132
- class $e {
133
- /**
134
- Create an input object for the given document.
135
- */
136
- constructor(e) {
137
- this.doc = e, this.cursorPos = 0, this.string = "", this.cursor = e.iter();
138
- }
139
- get length() {
140
- return this.doc.length;
141
- }
142
- syncTo(e) {
143
- return this.string = this.cursor.next(e - this.cursorPos).value, this.cursorPos = e + this.string.length, this.cursorPos - this.string.length;
144
- }
145
- chunk(e) {
146
- return this.syncTo(e), this.string;
147
- }
148
- get lineChunks() {
149
- return !0;
150
- }
151
- read(e, t) {
152
- let r = this.cursorPos - this.string.length;
153
- return e < r || t >= this.cursorPos ? this.doc.sliceString(e, t) : this.string.slice(e - r, t - r);
154
- }
155
- }
156
- let D = null;
157
- class N {
158
- constructor(e, t, r = [], i, o, s, a, l) {
159
- this.parser = e, this.state = t, this.fragments = r, this.tree = i, this.treeLen = o, this.viewport = s, this.skipped = a, this.scheduleOn = l, this.parse = null, this.tempSkipped = [];
160
- }
161
- /**
162
- @internal
163
- */
164
- static create(e, t, r) {
165
- return new N(e, t, [], C.empty, 0, r, [], null);
166
- }
167
- startParse() {
168
- return this.parser.startParse(new $e(this.state.doc), this.fragments);
169
- }
170
- /**
171
- @internal
172
- */
173
- work(e, t) {
174
- return t != null && t >= this.state.doc.length && (t = void 0), this.tree != C.empty && this.isDone(t ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
175
- var r;
176
- if (typeof e == "number") {
177
- let i = Date.now() + e;
178
- e = () => Date.now() > i;
179
- }
180
- for (this.parse || (this.parse = this.startParse()), t != null && (this.parse.stoppedAt == null || this.parse.stoppedAt > t) && t < this.state.doc.length && this.parse.stopAt(t); ; ) {
181
- let i = this.parse.advance();
182
- if (i)
183
- if (this.fragments = this.withoutTempSkipped(M.addTree(i, this.fragments, this.parse.stoppedAt != null)), this.treeLen = (r = this.parse.stoppedAt) !== null && r !== void 0 ? r : this.state.doc.length, this.tree = i, this.parse = null, this.treeLen < (t ?? this.state.doc.length))
184
- this.parse = this.startParse();
185
- else
186
- return !0;
187
- if (e())
188
- return !1;
189
- }
190
- });
191
- }
192
- /**
193
- @internal
194
- */
195
- takeTree() {
196
- let e, t;
197
- this.parse && (e = this.parse.parsedPos) >= this.treeLen && ((this.parse.stoppedAt == null || this.parse.stoppedAt > e) && this.parse.stopAt(e), this.withContext(() => {
198
- for (; !(t = this.parse.advance()); )
199
- ;
200
- }), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(M.addTree(this.tree, this.fragments, !0)), this.parse = null);
201
- }
202
- withContext(e) {
203
- let t = D;
204
- D = this;
205
- try {
206
- return e();
207
- } finally {
208
- D = t;
209
- }
210
- }
211
- withoutTempSkipped(e) {
212
- for (let t; t = this.tempSkipped.pop(); )
213
- e = re(e, t.from, t.to);
214
- return e;
215
- }
216
- /**
217
- @internal
218
- */
219
- changes(e, t) {
220
- let { fragments: r, tree: i, treeLen: o, viewport: s, skipped: a } = this;
221
- if (this.takeTree(), !e.empty) {
222
- let l = [];
223
- if (e.iterChangedRanges((f, c, h, m) => l.push({ fromA: f, toA: c, fromB: h, toB: m })), r = M.applyChanges(r, l), i = C.empty, o = 0, s = { from: e.mapPos(s.from, -1), to: e.mapPos(s.to, 1) }, this.skipped.length) {
224
- a = [];
225
- for (let f of this.skipped) {
226
- let c = e.mapPos(f.from, 1), h = e.mapPos(f.to, -1);
227
- c < h && a.push({ from: c, to: h });
228
- }
229
- }
230
- }
231
- return new N(this.parser, t, r, i, o, s, a, this.scheduleOn);
232
- }
233
- /**
234
- @internal
235
- */
236
- updateViewport(e) {
237
- if (this.viewport.from == e.from && this.viewport.to == e.to)
238
- return !1;
239
- this.viewport = e;
240
- let t = this.skipped.length;
241
- for (let r = 0; r < this.skipped.length; r++) {
242
- let { from: i, to: o } = this.skipped[r];
243
- i < e.to && o > e.from && (this.fragments = re(this.fragments, i, o), this.skipped.splice(r--, 1));
244
- }
245
- return this.skipped.length >= t ? !1 : (this.reset(), !0);
246
- }
247
- /**
248
- @internal
249
- */
250
- reset() {
251
- this.parse && (this.takeTree(), this.parse = null);
252
- }
253
- /**
254
- Notify the parse scheduler that the given region was skipped
255
- because it wasn't in view, and the parse should be restarted
256
- when it comes into view.
257
- */
258
- skipUntilInView(e, t) {
259
- this.skipped.push({ from: e, to: t });
260
- }
261
- /**
262
- Returns a parser intended to be used as placeholder when
263
- asynchronously loading a nested parser. It'll skip its input and
264
- mark it as not-really-parsed, so that the next update will parse
265
- it again.
266
-
267
- When `until` is given, a reparse will be scheduled when that
268
- promise resolves.
269
- */
270
- static getSkippingParser(e) {
271
- return new class extends Be {
272
- createParse(t, r, i) {
273
- let o = i[0].from, s = i[i.length - 1].to;
274
- return {
275
- parsedPos: o,
276
- advance() {
277
- let l = D;
278
- if (l) {
279
- for (let f of i)
280
- l.tempSkipped.push(f);
281
- e && (l.scheduleOn = l.scheduleOn ? Promise.all([l.scheduleOn, e]) : e);
282
- }
283
- return this.parsedPos = s, new C(Q.none, [], [], s - o);
284
- },
285
- stoppedAt: null,
286
- stopAt() {
287
- }
288
- };
289
- }
290
- }();
291
- }
292
- /**
293
- @internal
294
- */
295
- isDone(e) {
296
- e = Math.min(e, this.state.doc.length);
297
- let t = this.fragments;
298
- return this.treeLen >= e && t.length && t[0].from == 0 && t[0].to >= e;
299
- }
300
- /**
301
- Get the context for the current parse, or `null` if no editor
302
- parse is in progress.
303
- */
304
- static get() {
305
- return D;
306
- }
307
- }
308
- function re(n, e, t) {
309
- return M.applyChanges(n, [{ fromA: e, toA: t, fromB: e, toB: t }]);
310
- }
311
- class P {
312
- constructor(e) {
313
- this.context = e, this.tree = e.tree;
314
- }
315
- apply(e) {
316
- if (!e.docChanged && this.tree == this.context.tree)
317
- return this;
318
- let t = this.context.changes(e.changes, e.state), r = this.context.treeLen == e.startState.doc.length ? void 0 : Math.max(e.changes.mapPos(this.context.treeLen), t.viewport.to);
319
- return t.work(20, r) || t.takeTree(), new P(t);
320
- }
321
- static init(e) {
322
- let t = Math.min(3e3, e.doc.length), r = N.create(e.facet(v).parser, e, { from: 0, to: t });
323
- return r.work(20, t) || r.takeTree(), new P(r);
324
- }
325
- }
326
- g.state = /* @__PURE__ */ X.define({
327
- create: P.init,
328
- update(n, e) {
329
- for (let t of e.effects)
330
- if (t.is(g.setState))
331
- return t.value;
332
- return e.startState.facet(v) != e.state.facet(v) ? P.init(e.state) : n.apply(e);
333
- }
334
- });
335
- let he = (n) => {
336
- let e = setTimeout(
337
- () => n(),
338
- 500
339
- /* Work.MaxPause */
340
- );
341
- return () => clearTimeout(e);
342
- };
343
- typeof requestIdleCallback < "u" && (he = (n) => {
344
- let e = -1, t = setTimeout(
345
- () => {
346
- e = requestIdleCallback(n, {
347
- timeout: 400
348
- /* Work.MinPause */
349
- });
350
- },
351
- 100
352
- /* Work.MinPause */
353
- );
354
- return () => e < 0 ? clearTimeout(t) : cancelIdleCallback(e);
355
- });
356
- const $ = typeof navigator < "u" && (!((U = navigator.scheduling) === null || U === void 0) && U.isInputPending) ? () => navigator.scheduling.isInputPending() : null, qe = /* @__PURE__ */ Y.fromClass(class {
357
- constructor(e) {
358
- this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
359
- }
360
- update(e) {
361
- let t = this.view.state.field(g.state).context;
362
- (t.updateViewport(e.view.viewport) || this.view.viewport.to > t.treeLen) && this.scheduleWork(), (e.docChanged || e.selectionSet) && (this.view.hasFocus && (this.chunkBudget += 50), this.scheduleWork()), this.checkAsyncSchedule(t);
363
- }
364
- scheduleWork() {
365
- if (this.working)
366
- return;
367
- let { state: e } = this.view, t = e.field(g.state);
368
- (t.tree != t.context.tree || !t.context.isDone(e.doc.length)) && (this.working = he(this.work));
369
- }
370
- work(e) {
371
- this.working = null;
372
- let t = Date.now();
373
- if (this.chunkEnd < t && (this.chunkEnd < 0 || this.view.hasFocus) && (this.chunkEnd = t + 3e4, this.chunkBudget = 3e3), this.chunkBudget <= 0)
374
- return;
375
- let { state: r, viewport: { to: i } } = this.view, o = r.field(g.state);
376
- if (o.tree == o.context.tree && o.context.isDone(
377
- i + 1e5
378
- /* Work.MaxParseAhead */
379
- ))
380
- return;
381
- let s = Date.now() + Math.min(this.chunkBudget, 100, e && !$ ? Math.max(25, e.timeRemaining() - 5) : 1e9), a = o.context.treeLen < i && r.doc.length > i + 1e3, l = o.context.work(() => $ && $() || Date.now() > s, i + (a ? 0 : 1e5));
382
- this.chunkBudget -= Date.now() - t, (l || this.chunkBudget <= 0) && (o.context.takeTree(), this.view.dispatch({ effects: g.setState.of(new P(o.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(o.context);
383
- }
384
- checkAsyncSchedule(e) {
385
- e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((t) => Fe(this.view.state, t)).then(() => this.workScheduled--), e.scheduleOn = null);
386
- }
387
- destroy() {
388
- this.working && this.working();
389
- }
390
- isWorking() {
391
- return !!(this.working || this.workScheduled > 0);
392
- }
393
- }, {
394
- eventHandlers: { focus() {
395
- this.scheduleWork();
396
- } }
397
- }), v = /* @__PURE__ */ w.define({
398
- combine(n) {
399
- return n.length ? n[0] : null;
400
- },
401
- enables: (n) => [
402
- g.state,
403
- qe,
404
- b.contentAttributes.compute([n], (e) => {
405
- let t = e.facet(n);
406
- return t && t.name ? { "data-language": t.name } : {};
407
- })
408
- ]
409
- });
410
- class Et {
411
- /**
412
- Create a language support object.
413
- */
414
- constructor(e, t = []) {
415
- this.language = e, this.support = t, this.extension = [e, t];
416
- }
417
- }
418
- const je = /* @__PURE__ */ w.define(), de = /* @__PURE__ */ w.define({
419
- combine: (n) => {
420
- if (!n.length)
421
- return " ";
422
- let e = n[0];
423
- if (!e || /\S/.test(e) || Array.from(e).some((t) => t != e[0]))
424
- throw new Error("Invalid indent unit: " + JSON.stringify(n[0]));
425
- return e;
426
- }
427
- });
428
- function ze(n) {
429
- let e = n.facet(de);
430
- return e.charCodeAt(0) == 9 ? n.tabSize * e.length : e.length;
431
- }
432
- function Ge(n, e) {
433
- let t = "", r = n.tabSize, i = n.facet(de)[0];
434
- if (i == " ") {
435
- for (; e >= r; )
436
- t += " ", e -= r;
437
- i = " ";
438
- }
439
- for (let o = 0; o < e; o++)
440
- t += i;
441
- return t;
442
- }
443
- function Je(n, e) {
444
- n instanceof B && (n = new pe(n));
445
- for (let r of n.state.facet(je)) {
446
- let i = r(n, e);
447
- if (i !== void 0)
448
- return i;
449
- }
450
- let t = k(n.state);
451
- return t.length >= e ? Ke(n, t, e) : null;
452
- }
453
- class pe {
454
- /**
455
- Create an indent context.
456
- */
457
- constructor(e, t = {}) {
458
- this.state = e, this.options = t, this.unit = ze(e);
459
- }
460
- /**
461
- Get a description of the line at the given position, taking
462
- [simulated line
463
- breaks](https://codemirror.net/6/docs/ref/#language.IndentContext.constructor^options.simulateBreak)
464
- into account. If there is such a break at `pos`, the `bias`
465
- argument determines whether the part of the line line before or
466
- after the break is used.
467
- */
468
- lineAt(e, t = 1) {
469
- let r = this.state.doc.lineAt(e), { simulateBreak: i, simulateDoubleBreak: o } = this.options;
470
- return i != null && i >= r.from && i <= r.to ? o && i == e ? { text: "", from: e } : (t < 0 ? i < e : i <= e) ? { text: r.text.slice(i - r.from), from: i } : { text: r.text.slice(0, i - r.from), from: r.from } : r;
471
- }
472
- /**
473
- Get the text directly after `pos`, either the entire line
474
- or the next 100 characters, whichever is shorter.
475
- */
476
- textAfterPos(e, t = 1) {
477
- if (this.options.simulateDoubleBreak && e == this.options.simulateBreak)
478
- return "";
479
- let { text: r, from: i } = this.lineAt(e, t);
480
- return r.slice(e - i, Math.min(r.length, e + 100 - i));
481
- }
482
- /**
483
- Find the column for the given position.
484
- */
485
- column(e, t = 1) {
486
- let { text: r, from: i } = this.lineAt(e, t), o = this.countColumn(r, e - i), s = this.options.overrideIndentation ? this.options.overrideIndentation(i) : -1;
487
- return s > -1 && (o += s - this.countColumn(r, r.search(/\S|$/))), o;
488
- }
489
- /**
490
- Find the column position (taking tabs into account) of the given
491
- position in the given string.
492
- */
493
- countColumn(e, t = e.length) {
494
- return Me(e, this.state.tabSize, t);
495
- }
496
- /**
497
- Find the indentation column of the line at the given point.
498
- */
499
- lineIndent(e, t = 1) {
500
- let { text: r, from: i } = this.lineAt(e, t), o = this.options.overrideIndentation;
501
- if (o) {
502
- let s = o(i);
503
- if (s > -1)
504
- return s;
505
- }
506
- return this.countColumn(r, r.search(/\S|$/));
507
- }
508
- /**
509
- Returns the [simulated line
510
- break](https://codemirror.net/6/docs/ref/#language.IndentContext.constructor^options.simulateBreak)
511
- for this context, if any.
512
- */
513
- get simulatedBreak() {
514
- return this.options.simulateBreak || null;
515
- }
516
- }
517
- const Ve = /* @__PURE__ */ new y();
518
- function Ke(n, e, t) {
519
- let r = e.resolveStack(t), i = e.resolveInner(t, -1).resolve(t, 0).enterUnfinishedNodesBefore(t);
520
- if (i != r.node) {
521
- let o = [];
522
- for (let s = i; s && !(s.from < r.node.from || s.to > r.node.to || s.from == r.node.from && s.type == r.node.type); s = s.parent)
523
- o.push(s);
524
- for (let s = o.length - 1; s >= 0; s--)
525
- r = { node: o[s], next: r };
526
- }
527
- return me(r, n, t);
528
- }
529
- function me(n, e, t) {
530
- for (let r = n; r; r = r.next) {
531
- let i = Xe(r.node);
532
- if (i)
533
- return i(Z.create(e, t, r));
534
- }
535
- return 0;
536
- }
537
- function Qe(n) {
538
- return n.pos == n.options.simulateBreak && n.options.simulateDoubleBreak;
539
- }
540
- function Xe(n) {
541
- let e = n.type.prop(Ve);
542
- if (e)
543
- return e;
544
- let t = n.firstChild, r;
545
- if (t && (r = t.type.prop(y.closedBy))) {
546
- let i = n.lastChild, o = i && r.indexOf(i.name) > -1;
547
- return (s) => ge(s, !0, 1, void 0, o && !Qe(s) ? i.from : void 0);
548
- }
549
- return n.parent == null ? Ye : null;
550
- }
551
- function Ye() {
552
- return 0;
553
- }
554
- class Z extends pe {
555
- constructor(e, t, r) {
556
- super(e.state, e.options), this.base = e, this.pos = t, this.context = r;
557
- }
558
- /**
559
- The syntax tree node to which the indentation strategy
560
- applies.
561
- */
562
- get node() {
563
- return this.context.node;
564
- }
565
- /**
566
- @internal
567
- */
568
- static create(e, t, r) {
569
- return new Z(e, t, r);
570
- }
571
- /**
572
- Get the text directly after `this.pos`, either the entire line
573
- or the next 100 characters, whichever is shorter.
574
- */
575
- get textAfter() {
576
- return this.textAfterPos(this.pos);
577
- }
578
- /**
579
- Get the indentation at the reference line for `this.node`, which
580
- is the line on which it starts, unless there is a node that is
581
- _not_ a parent of this node covering the start of that line. If
582
- so, the line at the start of that node is tried, again skipping
583
- on if it is covered by another such node.
584
- */
585
- get baseIndent() {
586
- return this.baseIndentFor(this.node);
587
- }
588
- /**
589
- Get the indentation for the reference line of the given node
590
- (see [`baseIndent`](https://codemirror.net/6/docs/ref/#language.TreeIndentContext.baseIndent)).
591
- */
592
- baseIndentFor(e) {
593
- let t = this.state.doc.lineAt(e.from);
594
- for (; ; ) {
595
- let r = e.resolve(t.from);
596
- for (; r.parent && r.parent.from == r.from; )
597
- r = r.parent;
598
- if (Ze(r, e))
599
- break;
600
- t = this.state.doc.lineAt(r.from);
601
- }
602
- return this.lineIndent(t.from);
603
- }
604
- /**
605
- Continue looking for indentations in the node's parent nodes,
606
- and return the result of that.
607
- */
608
- continue() {
609
- return me(this.context.next, this.base, this.pos);
610
- }
611
- }
612
- function Ze(n, e) {
613
- for (let t = e; t; t = t.parent)
614
- if (n == t)
615
- return !0;
616
- return !1;
617
- }
618
- function _e(n) {
619
- let e = n.node, t = e.childAfter(e.from), r = e.lastChild;
620
- if (!t)
621
- return null;
622
- let i = n.options.simulateBreak, o = n.state.doc.lineAt(t.from), s = i == null || i <= o.from ? o.to : Math.min(o.to, i);
623
- for (let a = t.to; ; ) {
624
- let l = e.childAfter(a);
625
- if (!l || l == r)
626
- return null;
627
- if (!l.type.isSkipped) {
628
- if (l.from >= s)
629
- return null;
630
- let f = /^ */.exec(o.text.slice(t.to - o.from))[0].length;
631
- return { from: t.from, to: t.to + f };
632
- }
633
- a = l.to;
634
- }
635
- }
636
- function Ft({ closing: n, align: e = !0, units: t = 1 }) {
637
- return (r) => ge(r, e, t, n);
638
- }
639
- function ge(n, e, t, r, i) {
640
- let o = n.textAfter, s = o.match(/^\s*/)[0].length, a = r && o.slice(s, s + r.length) == r || i == n.pos + s, l = e ? _e(n) : null;
641
- return l ? a ? n.column(l.from) : n.column(l.to) : n.baseIndent + (a ? 0 : n.unit * t);
642
- }
643
- const Lt = (n) => n.baseIndent;
644
- function Ht({ except: n, units: e = 1 } = {}) {
645
- return (t) => {
646
- let r = n && n.test(t.textAfter);
647
- return t.baseIndent + (r ? 0 : e * t.unit);
648
- };
649
- }
650
- const et = 200;
651
- function Wt() {
652
- return B.transactionFilter.of((n) => {
653
- if (!n.docChanged || !n.isUserEvent("input.type") && !n.isUserEvent("input.complete"))
654
- return n;
655
- let e = n.startState.languageDataAt("indentOnInput", n.startState.selection.main.head);
656
- if (!e.length)
657
- return n;
658
- let t = n.newDoc, { head: r } = n.newSelection.main, i = t.lineAt(r);
659
- if (r > i.from + et)
660
- return n;
661
- let o = t.sliceString(i.from, r);
662
- if (!e.some((f) => f.test(o)))
663
- return n;
664
- let { state: s } = n, a = -1, l = [];
665
- for (let { head: f } of s.selection.ranges) {
666
- let c = s.doc.lineAt(f);
667
- if (c.from == a)
668
- continue;
669
- a = c.from;
670
- let h = Je(s, c.from);
671
- if (h == null)
672
- continue;
673
- let m = /^\s*/.exec(c.text)[0], d = Ge(s, h);
674
- m != d && l.push({ from: c.from, to: c.from + m.length, insert: d });
675
- }
676
- return l.length ? [n, { changes: l, sequential: !0 }] : n;
677
- });
678
- }
679
- const tt = /* @__PURE__ */ w.define(), nt = /* @__PURE__ */ new y();
680
- function Rt(n) {
681
- let e = n.firstChild, t = n.lastChild;
682
- return e && e.to < t.from ? { from: e.to, to: t.type.isError ? n.to : t.from } : null;
683
- }
684
- function rt(n, e, t) {
685
- let r = k(n);
686
- if (r.length < t)
687
- return null;
688
- let i = r.resolveStack(t, 1), o = null;
689
- for (let s = i; s; s = s.next) {
690
- let a = s.node;
691
- if (a.to <= t || a.from > t)
692
- continue;
693
- if (o && a.from < e)
694
- break;
695
- let l = a.type.prop(nt);
696
- if (l && (a.to < r.length - 50 || r.length == n.doc.length || !it(a))) {
697
- let f = l(a, n);
698
- f && f.from <= t && f.from >= e && f.to > t && (o = f);
699
- }
700
- }
701
- return o;
702
- }
703
- function it(n) {
704
- let e = n.lastChild;
705
- return e && e.to == n.to && e.type.isError;
706
- }
707
- function E(n, e, t) {
708
- for (let r of n.facet(tt)) {
709
- let i = r(n, e, t);
710
- if (i)
711
- return i;
712
- }
713
- return rt(n, e, t);
714
- }
715
- function ke(n, e) {
716
- let t = e.mapPos(n.from, 1), r = e.mapPos(n.to, -1);
717
- return t >= r ? void 0 : { from: t, to: r };
718
- }
719
- const H = /* @__PURE__ */ L.define({ map: ke }), I = /* @__PURE__ */ L.define({ map: ke });
720
- function be(n) {
721
- let e = [];
722
- for (let { head: t } of n.state.selection.ranges)
723
- e.some((r) => r.from <= t && r.to >= t) || e.push(n.lineBlockAt(t));
724
- return e;
725
- }
726
- const x = /* @__PURE__ */ X.define({
727
- create() {
728
- return p.none;
729
- },
730
- update(n, e) {
731
- e.isUserEvent("delete") && e.changes.iterChangedRanges((t, r) => n = ie(n, t, r)), n = n.map(e.changes);
732
- for (let t of e.effects)
733
- if (t.is(H) && !ot(n, t.value.from, t.value.to)) {
734
- let { preparePlaceholder: r } = e.state.facet(ve), i = r ? p.replace({ widget: new ut(r(e.state, t.value)) }) : oe;
735
- n = n.update({ add: [i.range(t.value.from, t.value.to)] });
736
- } else t.is(I) && (n = n.update({
737
- filter: (r, i) => t.value.from != r || t.value.to != i,
738
- filterFrom: t.value.from,
739
- filterTo: t.value.to
740
- }));
741
- return e.selection && (n = ie(n, e.selection.main.head)), n;
742
- },
743
- provide: (n) => b.decorations.from(n),
744
- toJSON(n, e) {
745
- let t = [];
746
- return n.between(0, e.doc.length, (r, i) => {
747
- t.push(r, i);
748
- }), t;
749
- },
750
- fromJSON(n) {
751
- if (!Array.isArray(n) || n.length % 2)
752
- throw new RangeError("Invalid JSON for fold state");
753
- let e = [];
754
- for (let t = 0; t < n.length; ) {
755
- let r = n[t++], i = n[t++];
756
- if (typeof r != "number" || typeof i != "number")
757
- throw new RangeError("Invalid JSON for fold state");
758
- e.push(oe.range(r, i));
759
- }
760
- return p.set(e, !0);
761
- }
762
- });
763
- function ie(n, e, t = e) {
764
- let r = !1;
765
- return n.between(e, t, (i, o) => {
766
- i < t && o > e && (r = !0);
767
- }), r ? n.update({
768
- filterFrom: e,
769
- filterTo: t,
770
- filter: (i, o) => i >= t || o <= e
771
- }) : n;
772
- }
773
- function F(n, e, t) {
774
- var r;
775
- let i = null;
776
- return (r = n.field(x, !1)) === null || r === void 0 || r.between(e, t, (o, s) => {
777
- (!i || i.from > o) && (i = { from: o, to: s });
778
- }), i;
779
- }
780
- function ot(n, e, t) {
781
- let r = !1;
782
- return n.between(e, e, (i, o) => {
783
- i == e && o == t && (r = !0);
784
- }), r;
785
- }
786
- function ye(n, e) {
787
- return n.field(x, !1) ? e : e.concat(L.appendConfig.of(xe()));
788
- }
789
- const st = (n) => {
790
- for (let e of be(n)) {
791
- let t = E(n.state, e.from, e.to);
792
- if (t)
793
- return n.dispatch({ effects: ye(n.state, [H.of(t), we(n, t)]) }), !0;
794
- }
795
- return !1;
796
- }, lt = (n) => {
797
- if (!n.state.field(x, !1))
798
- return !1;
799
- let e = [];
800
- for (let t of be(n)) {
801
- let r = F(n.state, t.from, t.to);
802
- r && e.push(I.of(r), we(n, r, !1));
803
- }
804
- return e.length && n.dispatch({ effects: e }), e.length > 0;
805
- };
806
- function we(n, e, t = !0) {
807
- let r = n.state.doc.lineAt(e.from).number, i = n.state.doc.lineAt(e.to).number;
808
- return b.announce.of(`${n.state.phrase(t ? "Folded lines" : "Unfolded lines")} ${r} ${n.state.phrase("to")} ${i}.`);
809
- }
810
- const at = (n) => {
811
- let { state: e } = n, t = [];
812
- for (let r = 0; r < e.doc.length; ) {
813
- let i = n.lineBlockAt(r), o = E(e, i.from, i.to);
814
- o && t.push(H.of(o)), r = (o ? n.lineBlockAt(o.to) : i).to + 1;
815
- }
816
- return t.length && n.dispatch({ effects: ye(n.state, t) }), !!t.length;
817
- }, ft = (n) => {
818
- let e = n.state.field(x, !1);
819
- if (!e || !e.size)
820
- return !1;
821
- let t = [];
822
- return e.between(0, n.state.doc.length, (r, i) => {
823
- t.push(I.of({ from: r, to: i }));
824
- }), n.dispatch({ effects: t }), !0;
825
- }, Ut = [
826
- { key: "Ctrl-Shift-[", mac: "Cmd-Alt-[", run: st },
827
- { key: "Ctrl-Shift-]", mac: "Cmd-Alt-]", run: lt },
828
- { key: "Ctrl-Alt-[", run: at },
829
- { key: "Ctrl-Alt-]", run: ft }
830
- ], ct = {
831
- placeholderDOM: null,
832
- preparePlaceholder: null,
833
- placeholderText: "…"
834
- }, ve = /* @__PURE__ */ w.define({
835
- combine(n) {
836
- return ce(n, ct);
837
- }
838
- });
839
- function xe(n) {
840
- return [x, dt];
841
- }
842
- function Se(n, e) {
843
- let { state: t } = n, r = t.facet(ve), i = (s) => {
844
- let a = n.lineBlockAt(n.posAtDOM(s.target)), l = F(n.state, a.from, a.to);
845
- l && n.dispatch({ effects: I.of(l) }), s.preventDefault();
846
- };
847
- if (r.placeholderDOM)
848
- return r.placeholderDOM(n, i, e);
849
- let o = document.createElement("span");
850
- return o.textContent = r.placeholderText, o.setAttribute("aria-label", t.phrase("folded code")), o.title = t.phrase("unfold"), o.className = "cm-foldPlaceholder", o.onclick = i, o;
851
- }
852
- const oe = /* @__PURE__ */ p.replace({ widget: /* @__PURE__ */ new class extends ue {
853
- toDOM(n) {
854
- return Se(n, null);
855
- }
856
- }() });
857
- class ut extends ue {
858
- constructor(e) {
859
- super(), this.value = e;
860
- }
861
- eq(e) {
862
- return this.value == e.value;
863
- }
864
- toDOM(e) {
865
- return Se(e, this.value);
866
- }
867
- }
868
- const ht = {
869
- openText: "⌄",
870
- closedText: "›",
871
- markerDOM: null,
872
- domEventHandlers: {},
873
- foldingChanged: () => !1
874
- };
875
- class q extends Ee {
876
- constructor(e, t) {
877
- super(), this.config = e, this.open = t;
878
- }
879
- eq(e) {
880
- return this.config == e.config && this.open == e.open;
881
- }
882
- toDOM(e) {
883
- if (this.config.markerDOM)
884
- return this.config.markerDOM(this.open);
885
- let t = document.createElement("span");
886
- return t.textContent = this.open ? this.config.openText : this.config.closedText, t.title = e.state.phrase(this.open ? "Fold line" : "Unfold line"), t;
887
- }
888
- }
889
- function $t(n = {}) {
890
- let e = { ...ht, ...n }, t = new q(e, !0), r = new q(e, !1), i = Y.fromClass(class {
891
- constructor(s) {
892
- this.from = s.viewport.from, this.markers = this.buildMarkers(s);
893
- }
894
- update(s) {
895
- (s.docChanged || s.viewportChanged || s.startState.facet(v) != s.state.facet(v) || s.startState.field(x, !1) != s.state.field(x, !1) || k(s.startState) != k(s.state) || e.foldingChanged(s)) && (this.markers = this.buildMarkers(s.view));
896
- }
897
- buildMarkers(s) {
898
- let a = new fe();
899
- for (let l of s.viewportLineBlocks) {
900
- let f = F(s.state, l.from, l.to) ? r : E(s.state, l.from, l.to) ? t : null;
901
- f && a.add(l.from, l.from, f);
902
- }
903
- return a.finish();
904
- }
905
- }), { domEventHandlers: o } = e;
906
- return [
907
- i,
908
- Ne({
909
- class: "cm-foldGutter",
910
- markers(s) {
911
- var a;
912
- return ((a = s.plugin(i)) === null || a === void 0 ? void 0 : a.markers) || Oe.empty;
913
- },
914
- initialSpacer() {
915
- return new q(e, !1);
916
- },
917
- domEventHandlers: {
918
- ...o,
919
- click: (s, a, l) => {
920
- if (o.click && o.click(s, a, l))
921
- return !0;
922
- let f = F(s.state, a.from, a.to);
923
- if (f)
924
- return s.dispatch({ effects: I.of(f) }), !0;
925
- let c = E(s.state, a.from, a.to);
926
- return c ? (s.dispatch({ effects: H.of(c) }), !0) : !1;
927
- }
928
- }
929
- }),
930
- xe()
931
- ];
932
- }
933
- const dt = /* @__PURE__ */ b.baseTheme({
934
- ".cm-foldPlaceholder": {
935
- backgroundColor: "#eee",
936
- border: "1px solid #ddd",
937
- color: "#888",
938
- borderRadius: ".2em",
939
- margin: "0 1px",
940
- padding: "0 1px",
941
- cursor: "pointer"
942
- },
943
- ".cm-foldGutter span": {
944
- padding: "0 1px",
945
- cursor: "pointer"
946
- }
947
- });
948
- class W {
949
- constructor(e, t) {
950
- this.specs = e;
951
- let r;
952
- function i(a) {
953
- let l = te.newName();
954
- return (r || (r = /* @__PURE__ */ Object.create(null)))["." + l] = a, l;
955
- }
956
- const o = typeof t.all == "string" ? t.all : t.all ? i(t.all) : void 0, s = t.scope;
957
- this.scope = s instanceof g ? (a) => a.prop(A) == s.data : s ? (a) => a == s : void 0, this.style = Le(e.map((a) => ({
958
- tag: a.tag,
959
- class: a.class || i(Object.assign({}, a, { tag: null }))
960
- })), {
961
- all: o
962
- }).style, this.module = r ? new te(r) : null, this.themeType = t.themeType;
963
- }
964
- /**
965
- Create a highlighter style that associates the given styles to
966
- the given tags. The specs must be objects that hold a style tag
967
- or array of tags in their `tag` property, and either a single
968
- `class` property providing a static CSS class (for highlighter
969
- that rely on external styling), or a
970
- [`style-mod`](https://github.com/marijnh/style-mod#documentation)-style
971
- set of CSS properties (which define the styling for those tags).
972
-
973
- The CSS rules created for a highlighter will be emitted in the
974
- order of the spec's properties. That means that for elements that
975
- have multiple tags associated with them, styles defined further
976
- down in the list will have a higher CSS precedence than styles
977
- defined earlier.
978
- */
979
- static define(e, t) {
980
- return new W(e, t || {});
981
- }
982
- }
983
- const J = /* @__PURE__ */ w.define(), Te = /* @__PURE__ */ w.define({
984
- combine(n) {
985
- return n.length ? [n[0]] : null;
986
- }
987
- });
988
- function j(n) {
989
- let e = n.facet(J);
990
- return e.length ? e : n.facet(Te);
991
- }
992
- function qt(n, e) {
993
- let t = [mt], r;
994
- return n instanceof W && (n.module && t.push(b.styleModule.of(n.module)), r = n.themeType), e?.fallback ? t.push(Te.of(n)) : r ? t.push(J.computeN([b.darkTheme], (i) => i.facet(b.darkTheme) == (r == "dark") ? [n] : [])) : t.push(J.of(n)), t;
995
- }
996
- class pt {
997
- constructor(e) {
998
- this.markCache = /* @__PURE__ */ Object.create(null), this.tree = k(e.state), this.decorations = this.buildDeco(e, j(e.state)), this.decoratedTo = e.viewport.to;
999
- }
1000
- update(e) {
1001
- let t = k(e.state), r = j(e.state), i = r != j(e.startState), { viewport: o } = e.view, s = e.changes.mapPos(this.decoratedTo, 1);
1002
- t.length < o.to && !i && t.type == this.tree.type && s >= o.to ? (this.decorations = this.decorations.map(e.changes), this.decoratedTo = s) : (t != this.tree || e.viewportChanged || i) && (this.tree = t, this.decorations = this.buildDeco(e.view, r), this.decoratedTo = o.to);
1003
- }
1004
- buildDeco(e, t) {
1005
- if (!t || !this.tree.length)
1006
- return p.none;
1007
- let r = new fe();
1008
- for (let { from: i, to: o } of e.visibleRanges)
1009
- He(this.tree, t, (s, a, l) => {
1010
- r.add(s, a, this.markCache[l] || (this.markCache[l] = p.mark({ class: l })));
1011
- }, i, o);
1012
- return r.finish();
1013
- }
1014
- }
1015
- const mt = /* @__PURE__ */ Ie.high(/* @__PURE__ */ Y.fromClass(pt, {
1016
- decorations: (n) => n.decorations
1017
- })), jt = /* @__PURE__ */ W.define([
1018
- {
1019
- tag: u.meta,
1020
- color: "#404740"
1021
- },
1022
- {
1023
- tag: u.link,
1024
- textDecoration: "underline"
1025
- },
1026
- {
1027
- tag: u.heading,
1028
- textDecoration: "underline",
1029
- fontWeight: "bold"
1030
- },
1031
- {
1032
- tag: u.emphasis,
1033
- fontStyle: "italic"
1034
- },
1035
- {
1036
- tag: u.strong,
1037
- fontWeight: "bold"
1038
- },
1039
- {
1040
- tag: u.strikethrough,
1041
- textDecoration: "line-through"
1042
- },
1043
- {
1044
- tag: u.keyword,
1045
- color: "#708"
1046
- },
1047
- {
1048
- tag: [u.atom, u.bool, u.url, u.contentSeparator, u.labelName],
1049
- color: "#219"
1050
- },
1051
- {
1052
- tag: [u.literal, u.inserted],
1053
- color: "#164"
1054
- },
1055
- {
1056
- tag: [u.string, u.deleted],
1057
- color: "#a11"
1058
- },
1059
- {
1060
- tag: [u.regexp, u.escape, /* @__PURE__ */ u.special(u.string)],
1061
- color: "#e40"
1062
- },
1063
- {
1064
- tag: /* @__PURE__ */ u.definition(u.variableName),
1065
- color: "#00f"
1066
- },
1067
- {
1068
- tag: /* @__PURE__ */ u.local(u.variableName),
1069
- color: "#30a"
1070
- },
1071
- {
1072
- tag: [u.typeName, u.namespace],
1073
- color: "#085"
1074
- },
1075
- {
1076
- tag: u.className,
1077
- color: "#167"
1078
- },
1079
- {
1080
- tag: [/* @__PURE__ */ u.special(u.variableName), u.macroName],
1081
- color: "#256"
1082
- },
1083
- {
1084
- tag: /* @__PURE__ */ u.definition(u.propertyName),
1085
- color: "#00c"
1086
- },
1087
- {
1088
- tag: u.comment,
1089
- color: "#940"
1090
- },
1091
- {
1092
- tag: u.invalid,
1093
- color: "#f00"
1094
- }
1095
- ]), gt = /* @__PURE__ */ b.baseTheme({
1096
- "&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" },
1097
- "&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" }
1098
- }), Ce = 1e4, Ae = "()[]{}", Pe = /* @__PURE__ */ w.define({
1099
- combine(n) {
1100
- return ce(n, {
1101
- afterCursor: !0,
1102
- brackets: Ae,
1103
- maxScanDistance: Ce,
1104
- renderMatch: yt
1105
- });
1106
- }
1107
- }), kt = /* @__PURE__ */ p.mark({ class: "cm-matchingBracket" }), bt = /* @__PURE__ */ p.mark({ class: "cm-nonmatchingBracket" });
1108
- function yt(n) {
1109
- let e = [], t = n.matched ? kt : bt;
1110
- return e.push(t.range(n.start.from, n.start.to)), n.end && e.push(t.range(n.end.from, n.end.to)), e;
1111
- }
1112
- const wt = /* @__PURE__ */ X.define({
1113
- create() {
1114
- return p.none;
1115
- },
1116
- update(n, e) {
1117
- if (!e.docChanged && !e.selection)
1118
- return n;
1119
- let t = [], r = e.state.facet(Pe);
1120
- for (let i of e.state.selection.ranges) {
1121
- if (!i.empty)
1122
- continue;
1123
- let o = O(e.state, i.head, -1, r) || i.head > 0 && O(e.state, i.head - 1, 1, r) || r.afterCursor && (O(e.state, i.head, 1, r) || i.head < e.state.doc.length && O(e.state, i.head + 1, -1, r));
1124
- o && (t = t.concat(r.renderMatch(o, e.state)));
1125
- }
1126
- return p.set(t, !0);
1127
- },
1128
- provide: (n) => b.decorations.from(n)
1129
- }), vt = [
1130
- wt,
1131
- gt
1132
- ];
1133
- function zt(n = {}) {
1134
- return [Pe.of(n), vt];
1135
- }
1136
- const xt = /* @__PURE__ */ new y();
1137
- function V(n, e, t) {
1138
- let r = n.prop(e < 0 ? y.openedBy : y.closedBy);
1139
- if (r)
1140
- return r;
1141
- if (n.name.length == 1) {
1142
- let i = t.indexOf(n.name);
1143
- if (i > -1 && i % 2 == (e < 0 ? 1 : 0))
1144
- return [t[i + e]];
1145
- }
1146
- return null;
1147
- }
1148
- function K(n) {
1149
- let e = n.type.prop(xt);
1150
- return e ? e(n.node) : n;
1151
- }
1152
- function O(n, e, t, r = {}) {
1153
- let i = r.maxScanDistance || Ce, o = r.brackets || Ae, s = k(n), a = s.resolveInner(e, t);
1154
- for (let l = a; l; l = l.parent) {
1155
- let f = V(l.type, t, o);
1156
- if (f && l.from < l.to) {
1157
- let c = K(l);
1158
- if (c && (t > 0 ? e >= c.from && e < c.to : e > c.from && e <= c.to))
1159
- return St(n, e, t, l, c, f, o);
1160
- }
1161
- }
1162
- return Tt(n, e, t, s, a.type, i, o);
1163
- }
1164
- function St(n, e, t, r, i, o, s) {
1165
- let a = r.parent, l = { from: i.from, to: i.to }, f = 0, c = a?.cursor();
1166
- if (c && (t < 0 ? c.childBefore(r.from) : c.childAfter(r.to)))
1167
- do
1168
- if (t < 0 ? c.to <= r.from : c.from >= r.to) {
1169
- if (f == 0 && o.indexOf(c.type.name) > -1 && c.from < c.to) {
1170
- let h = K(c);
1171
- return { start: l, end: h ? { from: h.from, to: h.to } : void 0, matched: !0 };
1172
- } else if (V(c.type, t, s))
1173
- f++;
1174
- else if (V(c.type, -t, s)) {
1175
- if (f == 0) {
1176
- let h = K(c);
1177
- return {
1178
- start: l,
1179
- end: h && h.from < h.to ? { from: h.from, to: h.to } : void 0,
1180
- matched: !1
1181
- };
1182
- }
1183
- f--;
1184
- }
1185
- }
1186
- while (t < 0 ? c.prevSibling() : c.nextSibling());
1187
- return { start: l, matched: !1 };
1188
- }
1189
- function Tt(n, e, t, r, i, o, s) {
1190
- let a = t < 0 ? n.sliceDoc(e - 1, e) : n.sliceDoc(e, e + 1), l = s.indexOf(a);
1191
- if (l < 0 || l % 2 == 0 != t > 0)
1192
- return null;
1193
- let f = { from: t < 0 ? e - 1 : e, to: t > 0 ? e + 1 : e }, c = n.doc.iterRange(e, t > 0 ? n.doc.length : 0), h = 0;
1194
- for (let m = 0; !c.next().done && m <= o; ) {
1195
- let d = c.value;
1196
- t < 0 && (m += d.length);
1197
- let S = e + m * t;
1198
- for (let T = t > 0 ? 0 : d.length - 1, De = t > 0 ? d.length : -1; T != De; T += t) {
1199
- let R = s.indexOf(d[T]);
1200
- if (!(R < 0 || r.resolveInner(S + T, 1).type != i))
1201
- if (R % 2 == 0 == t > 0)
1202
- h++;
1203
- else {
1204
- if (h == 1)
1205
- return { start: f, end: { from: S + T, to: S + T + 1 }, matched: R >> 1 == l >> 1 };
1206
- h--;
1207
- }
1208
- }
1209
- t > 0 && (m += d.length);
1210
- }
1211
- return c.done ? { start: f, matched: !1 } : null;
1212
- }
1213
- const Ct = /* @__PURE__ */ Object.create(null), se = [Q.none], le = [], ae = /* @__PURE__ */ Object.create(null), At = /* @__PURE__ */ Object.create(null);
1214
- for (let [n, e] of [
1215
- ["variable", "variableName"],
1216
- ["variable-2", "variableName.special"],
1217
- ["string-2", "string.special"],
1218
- ["def", "variableName.definition"],
1219
- ["tag", "tagName"],
1220
- ["attribute", "attributeName"],
1221
- ["type", "typeName"],
1222
- ["builtin", "variableName.standard"],
1223
- ["qualifier", "modifier"],
1224
- ["error", "invalid"],
1225
- ["header", "heading"],
1226
- ["property", "propertyName"]
1227
- ])
1228
- At[n] = /* @__PURE__ */ Pt(Ct, e);
1229
- function z(n, e) {
1230
- le.indexOf(n) > -1 || (le.push(n), console.warn(e));
1231
- }
1232
- function Pt(n, e) {
1233
- let t = [];
1234
- for (let a of e.split(" ")) {
1235
- let l = [];
1236
- for (let f of a.split(".")) {
1237
- let c = n[f] || u[f];
1238
- c ? typeof c == "function" ? l.length ? l = l.map(c) : z(f, `Modifier ${f} used at start of tag`) : l.length ? z(f, `Tag ${f} used as modifier`) : l = Array.isArray(c) ? c : [c] : z(f, `Unknown highlighting tag ${f}`);
1239
- }
1240
- for (let f of l)
1241
- t.push(f);
1242
- }
1243
- if (!t.length)
1244
- return 0;
1245
- let r = e.replace(/ /g, "_"), i = r + " " + t.map((a) => a.id), o = ae[i];
1246
- if (o)
1247
- return o.id;
1248
- let s = ae[i] = Q.define({
1249
- id: se.length,
1250
- name: r,
1251
- props: [We({ [r]: t })]
1252
- });
1253
- return se.push(s), s.id;
1254
- }
1255
- ee.RTL, ee.LTR;
1256
- export {
1257
- $e as DocInput,
1258
- W as HighlightStyle,
1259
- pe as IndentContext,
1260
- G as LRLanguage,
1261
- g as Language,
1262
- Et as LanguageSupport,
1263
- N as ParseContext,
1264
- Z as TreeIndentContext,
1265
- zt as bracketMatching,
1266
- xt as bracketMatchingHandle,
1267
- xe as codeFolding,
1268
- Ht as continuedIndent,
1269
- jt as defaultHighlightStyle,
1270
- Re as defineLanguageFacet,
1271
- Ft as delimitedIndent,
1272
- Lt as flatIndent,
1273
- at as foldAll,
1274
- st as foldCode,
1275
- H as foldEffect,
1276
- $t as foldGutter,
1277
- Rt as foldInside,
1278
- Ut as foldKeymap,
1279
- nt as foldNodeProp,
1280
- tt as foldService,
1281
- x as foldState,
1282
- E as foldable,
1283
- ze as getIndentUnit,
1284
- Je as getIndentation,
1285
- Ve as indentNodeProp,
1286
- Wt as indentOnInput,
1287
- je as indentService,
1288
- Ge as indentString,
1289
- de as indentUnit,
1290
- v as language,
1291
- A as languageDataProp,
1292
- O as matchBrackets,
1293
- Ue as sublanguageProp,
1294
- qt as syntaxHighlighting,
1295
- k as syntaxTree,
1296
- ft as unfoldAll,
1297
- lt as unfoldCode,
1298
- I as unfoldEffect
1299
- };
1
+ /*!
2
+ Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
3
+ @license Proprietary
4
+
5
+ This software is the confidential and proprietary property of Lenovo SSG BASD.
6
+ You shall not disclose such Confidential Information and shall use it only in
7
+ accordance with the terms of the license agreement.
8
+
9
+ --- Build Info ---
10
+ Version: 1.0.4
11
+ Build Time: 2026/2/11 18:34:19
12
+ Build Commit: 9b4b89872743098216d14081433fa57d7fa73fd3
13
+ */
14
+ import{NodeProp as t,Tree as e,IterMode as r,TreeFragment as n,Parser as o,NodeType as s}from"../../../@lezer/common/dist/index.js";import{Facet as i,Prec as l,EditorState as a,RangeSetBuilder as c,RangeSet as h,StateField as u,StateEffect as f,combineConfig as d,countColumn as p}from"../../state/dist/index.js";import{EditorView as m,ViewPlugin as g,Decoration as k,gutter as v,GutterMarker as w,logException as x,WidgetType as y,Direction as b}from"../../view/dist/index.js";import{tagHighlighter as A,highlightTree as S,tags as C,styleTags as T}from"../../../@lezer/highlight/dist/index.js";import{StyleModule as D}from"../../../style-mod/src/style-mod.js";var O;const B=/* @__PURE__ */new t;function P(t){return i.define({combine:t?e=>e.concat(t):void 0})}const N=/* @__PURE__ */new t;class I{constructor(t,e,r=[],n=""){this.data=t,this.name=n,a.prototype.hasOwnProperty("tree")||Object.defineProperty(a.prototype,"tree",{get(){return L(this)}}),this.parser=e,this.extension=[J.of(this),a.languageData.of((t,e,r)=>{let n=M(t,e,r),o=n.type.prop(B);if(!o)return[];let s=t.facet(o),i=n.type.prop(N);if(i){let o=n.resolve(e-n.from,r);for(let e of i)if(e.test(o,t)){let r=t.facet(e.facet);return"replace"==e.type?r:r.concat(s)}}return s})].concat(r)}isActiveAt(t,e,r=-1){return M(t,e,r).type.prop(B)==this.data}findRegions(r){let n=r.facet(J);if((null==n?void 0:n.data)==this.data)return[{from:0,to:r.doc.length}];if(!n||!n.allowsNesting)return[];let o=[],s=(r,n)=>{if(r.prop(B)==this.data)return void o.push({from:n,to:n+r.length});let i=r.prop(t.mounted);if(i){if(i.tree.prop(B)==this.data){if(i.overlay)for(let t of i.overlay)o.push({from:t.from+n,to:t.to+n});else o.push({from:n,to:n+r.length});return}if(i.overlay){let t=o.length;if(s(i.tree,i.overlay[0].from+n),o.length>t)return}}for(let t=0;t<r.children.length;t++){let o=r.children[t];o instanceof e&&s(o,r.positions[t]+n)}};return s(L(r),0),o}get allowsNesting(){return!0}}function M(t,e,n){let o=t.facet(J),s=L(t).topNode;if(!o||o.allowsNesting)for(let i=s;i;i=i.enter(e,n,r.ExcludeBuffers|r.EnterBracketed))i.type.isTop&&(s=i);return s}I.setState=/* @__PURE__ */f.define();class E extends I{constructor(t,e,r){super(t,e,[],r),this.parser=e}static define(t){let e=P(t.languageData);return new E(e,t.parser.configure({props:[B.add(t=>t.isTop?e:void 0)]}),t.name)}configure(t,e){return new E(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function L(t){let r=t.field(I.state,!1);return r?r.tree:e.empty}class j{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,e){let r=this.cursorPos-this.string.length;return t<r||e>=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-r,e-r)}}let R=null;class W{constructor(t,e,r=[],n,o,s,i,l){this.parser=t,this.state=e,this.fragments=r,this.tree=n,this.treeLen=o,this.viewport=s,this.skipped=i,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,r,n){return new W(t,r,[],e.empty,0,n,[],null)}startParse(){return this.parser.startParse(new j(this.state.doc),this.fragments)}work(t,r){return null!=r&&r>=this.state.doc.length&&(r=void 0),this.tree!=e.empty&&this.isDone(null!=r?r:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var e;if("number"==typeof t){let e=Date.now()+t;t=()=>Date.now()>e}for(this.parse||(this.parse=this.startParse()),null!=r&&(null==this.parse.stoppedAt||this.parse.stoppedAt>r)&&r<this.state.doc.length&&this.parse.stopAt(r);;){let o=this.parse.advance();if(o){if(this.fragments=this.withoutTempSkipped(n.addTree(o,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(e=this.parse.stoppedAt)&&void 0!==e?e:this.state.doc.length,this.tree=o,this.parse=null,!(this.treeLen<(null!=r?r:this.state.doc.length)))return!0;this.parse=this.startParse()}if(t())return!1}})}takeTree(){let t,e;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(e=this.parse.advance()););}),this.treeLen=t,this.tree=e,this.fragments=this.withoutTempSkipped(n.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let e=R;R=this;try{return t()}finally{R=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=F(t,e.from,e.to);return t}changes(t,r){let{fragments:o,tree:s,treeLen:i,viewport:l,skipped:a}=this;if(this.takeTree(),!t.empty){let r=[];if(t.iterChangedRanges((t,e,n,o)=>r.push({fromA:t,toA:e,fromB:n,toB:o})),o=n.applyChanges(o,r),s=e.empty,i=0,l={from:t.mapPos(l.from,-1),to:t.mapPos(l.to,1)},this.skipped.length){a=[];for(let e of this.skipped){let r=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);r<n&&a.push({from:r,to:n})}}}return new W(this.parser,r,o,s,i,l,a,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let e=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:e,to:n}=this.skipped[r];e<t.to&&n>t.from&&(this.fragments=F(this.fragments,e,n),this.skipped.splice(r--,1))}return!(this.skipped.length>=e)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends o{createParse(r,n,o){let i=o[0].from,l=o[o.length-1].to;return{parsedPos:i,advance(){let r=R;if(r){for(let t of o)r.tempSkipped.push(t);t&&(r.scheduleOn=r.scheduleOn?Promise.all([r.scheduleOn,t]):t)}return this.parsedPos=l,new e(s.none,[],[],l-i)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&0==e[0].from&&e[0].to>=t}static get(){return R}}function F(t,e,r){return n.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}class ${constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);return e.work(20,r)||e.takeTree(),new $(e)}static init(t){let e=Math.min(3e3,t.doc.length),r=W.create(t.facet(J).parser,t,{from:0,to:e});return r.work(20,e)||r.takeTree(),new $(r)}}I.state=/* @__PURE__ */u.define({create:$.init,update(t,e){for(let r of e.effects)if(r.is(I.setState))return r.value;return e.startState.facet(J)!=e.state.facet(J)?$.init(e.state):t.apply(e)}});let U=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};"undefined"!=typeof requestIdleCallback&&(U=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});const q="undefined"!=typeof navigator&&(null===(O=navigator.scheduling)||void 0===O?void 0:O.isInputPending)?()=>navigator.scheduling.isInputPending():null,z=/* @__PURE__ */g.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(I.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(I.state);e.tree==e.context.tree&&e.context.isDone(t.doc.length)||(this.working=U(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=e+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:n}}=this.view,o=r.field(I.state);if(o.tree==o.context.tree&&o.context.isDone(n+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,t&&!q?Math.max(25,t.timeRemaining()-5):1e9),i=o.context.treeLen<n&&r.doc.length>n+1e3,l=o.context.work(()=>q&&q()||Date.now()>s,n+(i?0:1e5));this.chunkBudget-=Date.now()-e,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:I.setState.of(new $(o.context))})),this.chunkBudget>0&&(!l||i)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(t=>x(this.view.state,t)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),J=/* @__PURE__ */i.define({combine:t=>t.length?t[0]:null,enables:t=>[I.state,z,m.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]});class H{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}const V=/* @__PURE__ */i.define(),G=/* @__PURE__ */i.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function _(t){let e=t.facet(G);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function K(t,e){let r="",n=t.tabSize,o=t.facet(G)[0];if("\t"==o){for(;e>=n;)r+="\t",e-=n;o=" "}for(let s=0;s<e;s++)r+=o;return r}function Q(t,e){t instanceof a&&(t=new X(t));for(let n of t.state.facet(V)){let r=n(t,e);if(void 0!==r)return r}let r=L(t.state);return r.length>=e?function(t,e,r){let n=e.resolveStack(r),o=e.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(o!=n.node){let t=[];for(let e=o;e&&!(e.from<n.node.from||e.to>n.node.to||e.from==n.node.from&&e.type==n.node.type);e=e.parent)t.push(e);for(let e=t.length-1;e>=0;e--)n={node:t[e],next:n}}return Z(n,t,r)}(t,r,e):null}class X{constructor(t,e={}){this.state=t,this.options=e,this.unit=_(t)}lineAt(t,e=1){let r=this.state.doc.lineAt(t),{simulateBreak:n,simulateDoubleBreak:o}=this.options;return null!=n&&n>=r.from&&n<=r.to?o&&n==t?{text:"",from:t}:(e<0?n<t:n<=t)?{text:r.text.slice(n-r.from),from:n}:{text:r.text.slice(0,n-r.from),from:r.from}:r}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:r,from:n}=this.lineAt(t,e);return r.slice(t-n,Math.min(r.length,t+100-n))}column(t,e=1){let{text:r,from:n}=this.lineAt(t,e),o=this.countColumn(r,t-n),s=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return s>-1&&(o+=s-this.countColumn(r,r.search(/\S|$/))),o}countColumn(t,e=t.length){return p(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:r,from:n}=this.lineAt(t,e),o=this.options.overrideIndentation;if(o){let t=o(n);if(t>-1)return t}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Y=/* @__PURE__ */new t;function Z(t,e,r){for(let n=t;n;n=n.next){let t=tt(n.node);if(t)return t(rt.create(e,r,n))}return 0}function tt(e){let r=e.type.prop(Y);if(r)return r;let n,o=e.firstChild;if(o&&(n=o.type.prop(t.closedBy))){let t=e.lastChild,r=t&&n.indexOf(t.name)>-1;return e=>st(e,!0,1,void 0,r&&!function(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?et:null}function et(){return 0}class rt extends X{constructor(t,e,r){super(t.state,t.options),this.base=t,this.pos=e,this.context=r}get node(){return this.context.node}static create(t,e,r){return new rt(t,e,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let r=t.resolve(e.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(nt(r,t))break;e=this.state.doc.lineAt(r.from)}return this.lineIndent(e.from)}continue(){return Z(this.context.next,this.base,this.pos)}}function nt(t,e){for(let r=e;r;r=r.parent)if(t==r)return!0;return!1}function ot({closing:t,align:e=!0,units:r=1}){return n=>st(n,e,r,t)}function st(t,e,r,n,o){let s=t.textAfter,i=s.match(/^\s*/)[0].length,l=n&&s.slice(i,i+n.length)==n||o==t.pos+i,a=e?function(t){let e=t.node,r=e.childAfter(e.from),n=e.lastChild;if(!r)return null;let o=t.options.simulateBreak,s=t.state.doc.lineAt(r.from),i=null==o||o<=s.from?s.to:Math.min(s.to,o);for(let l=r.to;;){let t=e.childAfter(l);if(!t||t==n)return null;if(!t.type.isSkipped){if(t.from>=i)return null;let e=/^ */.exec(s.text.slice(r.to-s.from))[0].length;return{from:r.from,to:r.to+e}}l=t.to}}(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*r)}const it=t=>t.baseIndent;function lt({except:t,units:e=1}={}){return r=>{let n=t&&t.test(r.textAfter);return r.baseIndent+(n?0:e*r.unit)}}function at(){return a.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let r=t.newDoc,{head:n}=t.newSelection.main,o=r.lineAt(n);if(n>o.from+200)return t;let s=r.sliceString(o.from,n);if(!e.some(t=>t.test(s)))return t;let{state:i}=t,l=-1,a=[];for(let{head:c}of i.selection.ranges){let t=i.doc.lineAt(c);if(t.from==l)continue;l=t.from;let e=Q(i,t.from);if(null==e)continue;let r=/^\s*/.exec(t.text)[0],n=K(i,e);r!=n&&a.push({from:t.from,to:t.from+r.length,insert:n})}return a.length?[t,{changes:a,sequential:!0}]:t})}const ct=/* @__PURE__ */i.define(),ht=/* @__PURE__ */new t;function ut(t){let e=t.firstChild,r=t.lastChild;return e&&e.to<r.from?{from:e.to,to:r.type.isError?t.to:r.from}:null}function ft(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function dt(t,e,r){for(let n of t.facet(ct)){let o=n(t,e,r);if(o)return o}return function(t,e,r){let n=L(t);if(n.length<r)return null;let o=null;for(let s=n.resolveStack(r,1);s;s=s.next){let i=s.node;if(i.to<=r||i.from>r)continue;if(o&&i.from<e)break;let l=i.type.prop(ht);if(l&&(i.to<n.length-50||n.length==t.doc.length||!ft(i))){let n=l(i,t);n&&n.from<=r&&n.from>=e&&n.to>r&&(o=n)}}return o}(t,e,r)}function pt(t,e){let r=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);return r>=n?void 0:{from:r,to:n}}const mt=/* @__PURE__ */f.define({map:pt}),gt=/* @__PURE__ */f.define({map:pt});function kt(t){let e=[];for(let{head:r}of t.state.selection.ranges)e.some(t=>t.from<=r&&t.to>=r)||e.push(t.lineBlockAt(r));return e}const vt=/* @__PURE__ */u.define({create:()=>k.none,update(t,e){e.isUserEvent("delete")&&e.changes.iterChangedRanges((e,r)=>t=wt(t,e,r)),t=t.map(e.changes);for(let r of e.effects)if(r.is(mt)&&!yt(t,r.value.from,r.value.to)){let{preparePlaceholder:n}=e.state.facet(Pt),o=n?k.replace({widget:new Et(n(e.state,r.value))}):Mt;t=t.update({add:[o.range(r.value.from,r.value.to)]})}else r.is(gt)&&(t=t.update({filter:(t,e)=>r.value.from!=t||r.value.to!=e,filterFrom:r.value.from,filterTo:r.value.to}));return e.selection&&(t=wt(t,e.selection.main.head)),t},provide:t=>m.decorations.from(t),toJSON(t,e){let r=[];return t.between(0,e.doc.length,(t,e)=>{r.push(t,e)}),r},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let r=0;r<t.length;){let n=t[r++],o=t[r++];if("number"!=typeof n||"number"!=typeof o)throw new RangeError("Invalid JSON for fold state");e.push(Mt.range(n,o))}return k.set(e,!0)}});function wt(t,e,r=e){let n=!1;return t.between(e,r,(t,o)=>{t<r&&o>e&&(n=!0)}),n?t.update({filterFrom:e,filterTo:r,filter:(t,n)=>t>=r||n<=e}):t}function xt(t,e,r){var n;let o=null;return null===(n=t.field(vt,!1))||void 0===n||n.between(e,r,(t,e)=>{(!o||o.from>t)&&(o={from:t,to:e})}),o}function yt(t,e,r){let n=!1;return t.between(e,e,(t,o)=>{t==e&&o==r&&(n=!0)}),n}function bt(t,e){return t.field(vt,!1)?e:e.concat(f.appendConfig.of(Nt()))}const At=t=>{for(let e of kt(t)){let r=dt(t.state,e.from,e.to);if(r)return t.dispatch({effects:bt(t.state,[mt.of(r),Ct(t,r)])}),!0}return!1},St=t=>{if(!t.state.field(vt,!1))return!1;let e=[];for(let r of kt(t)){let n=xt(t.state,r.from,r.to);n&&e.push(gt.of(n),Ct(t,n,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function Ct(t,e,r=!0){let n=t.state.doc.lineAt(e.from).number,o=t.state.doc.lineAt(e.to).number;return m.announce.of(`${t.state.phrase(r?"Folded lines":"Unfolded lines")} ${n} ${t.state.phrase("to")} ${o}.`)}const Tt=t=>{let{state:e}=t,r=[];for(let n=0;n<e.doc.length;){let o=t.lineBlockAt(n),s=dt(e,o.from,o.to);s&&r.push(mt.of(s)),n=(s?t.lineBlockAt(s.to):o).to+1}return r.length&&t.dispatch({effects:bt(t.state,r)}),!!r.length},Dt=t=>{let e=t.state.field(vt,!1);if(!e||!e.size)return!1;let r=[];return e.between(0,t.state.doc.length,(t,e)=>{r.push(gt.of({from:t,to:e}))}),t.dispatch({effects:r}),!0},Ot=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:At},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:St},{key:"Ctrl-Alt-[",run:Tt},{key:"Ctrl-Alt-]",run:Dt}],Bt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Pt=/* @__PURE__ */i.define({combine:t=>d(t,Bt)});function Nt(t){return[vt,Wt]}function It(t,e){let{state:r}=t,n=r.facet(Pt),o=e=>{let r=t.lineBlockAt(t.posAtDOM(e.target)),n=xt(t.state,r.from,r.to);n&&t.dispatch({effects:gt.of(n)}),e.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,o,e);let s=document.createElement("span");return s.textContent=n.placeholderText,s.setAttribute("aria-label",r.phrase("folded code")),s.title=r.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=o,s}const Mt=/* @__PURE__ */k.replace({widget:/* @__PURE__ */new class extends y{toDOM(t){return It(t,null)}}});class Et extends y{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return It(t,this.value)}}const Lt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class jt extends w{constructor(t,e){super(),this.config=t,this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");return e.textContent=this.open?this.config.openText:this.config.closedText,e.title=t.state.phrase(this.open?"Fold line":"Unfold line"),e}}function Rt(t={}){let e={...Lt,...t},r=new jt(e,!0),n=new jt(e,!1),o=g.fromClass(class{constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)}update(t){(t.docChanged||t.viewportChanged||t.startState.facet(J)!=t.state.facet(J)||t.startState.field(vt,!1)!=t.state.field(vt,!1)||L(t.startState)!=L(t.state)||e.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view))}buildMarkers(t){let e=new c;for(let o of t.viewportLineBlocks){let s=xt(t.state,o.from,o.to)?n:dt(t.state,o.from,o.to)?r:null;s&&e.add(o.from,o.from,s)}return e.finish()}}),{domEventHandlers:s}=e;return[o,v({class:"cm-foldGutter",markers(t){var e;return(null===(e=t.plugin(o))||void 0===e?void 0:e.markers)||h.empty},initialSpacer:()=>new jt(e,!1),domEventHandlers:{...s,click:(t,e,r)=>{if(s.click&&s.click(t,e,r))return!0;let n=xt(t.state,e.from,e.to);if(n)return t.dispatch({effects:gt.of(n)}),!0;let o=dt(t.state,e.from,e.to);return!!o&&(t.dispatch({effects:mt.of(o)}),!0)}}}),Nt()]}const Wt=/* @__PURE__ */m.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Ft{constructor(t,e){let r;function n(t){let e=D.newName();return(r||(r=/* @__PURE__ */Object.create(null)))["."+e]=t,e}this.specs=t;const o="string"==typeof e.all?e.all:e.all?n(e.all):void 0,s=e.scope;this.scope=s instanceof I?t=>t.prop(B)==s.data:s?t=>t==s:void 0,this.style=A(t.map(t=>({tag:t.tag,class:t.class||n(Object.assign({},t,{tag:null}))})),{all:o}).style,this.module=r?new D(r):null,this.themeType=e.themeType}static define(t,e){return new Ft(t,e||{})}}const $t=/* @__PURE__ */i.define(),Ut=/* @__PURE__ */i.define({combine:t=>t.length?[t[0]]:null});function qt(t){let e=t.facet($t);return e.length?e:t.facet(Ut)}function zt(t,e){let r,n=[Ht];return t instanceof Ft&&(t.module&&n.push(m.styleModule.of(t.module)),r=t.themeType),(null==e?void 0:e.fallback)?n.push(Ut.of(t)):r?n.push($t.computeN([m.darkTheme],e=>e.facet(m.darkTheme)==("dark"==r)?[t]:[])):n.push($t.of(t)),n}class Jt{constructor(t){this.markCache=/* @__PURE__ */Object.create(null),this.tree=L(t.state),this.decorations=this.buildDeco(t,qt(t.state)),this.decoratedTo=t.viewport.to}update(t){let e=L(t.state),r=qt(t.state),n=r!=qt(t.startState),{viewport:o}=t.view,s=t.changes.mapPos(this.decoratedTo,1);e.length<o.to&&!n&&e.type==this.tree.type&&s>=o.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=s):(e!=this.tree||t.viewportChanged||n)&&(this.tree=e,this.decorations=this.buildDeco(t.view,r),this.decoratedTo=o.to)}buildDeco(t,e){if(!e||!this.tree.length)return k.none;let r=new c;for(let{from:n,to:o}of t.visibleRanges)S(this.tree,e,(t,e,n)=>{r.add(t,e,this.markCache[n]||(this.markCache[n]=k.mark({class:n})))},n,o);return r.finish()}}const Ht=/* @__PURE__ */l.high(/* @__PURE__ */g.fromClass(Jt,{decorations:t=>t.decorations})),Vt=/* @__PURE__ */Ft.define([{tag:C.meta,color:"#404740"},{tag:C.link,textDecoration:"underline"},{tag:C.heading,textDecoration:"underline",fontWeight:"bold"},{tag:C.emphasis,fontStyle:"italic"},{tag:C.strong,fontWeight:"bold"},{tag:C.strikethrough,textDecoration:"line-through"},{tag:C.keyword,color:"#708"},{tag:[C.atom,C.bool,C.url,C.contentSeparator,C.labelName],color:"#219"},{tag:[C.literal,C.inserted],color:"#164"},{tag:[C.string,C.deleted],color:"#a11"},{tag:[C.regexp,C.escape,/* @__PURE__ */C.special(C.string)],color:"#e40"},{tag:/* @__PURE__ */C.definition(C.variableName),color:"#00f"},{tag:/* @__PURE__ */C.local(C.variableName),color:"#30a"},{tag:[C.typeName,C.namespace],color:"#085"},{tag:C.className,color:"#167"},{tag:[/* @__PURE__ */C.special(C.variableName),C.macroName],color:"#256"},{tag:/* @__PURE__ */C.definition(C.propertyName),color:"#00c"},{tag:C.comment,color:"#940"},{tag:C.invalid,color:"#f00"}]),Gt=/* @__PURE__ */m.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),_t="()[]{}",Kt=/* @__PURE__ */i.define({combine:t=>d(t,{afterCursor:!0,brackets:_t,maxScanDistance:1e4,renderMatch:Yt})}),Qt=/* @__PURE__ */k.mark({class:"cm-matchingBracket"}),Xt=/* @__PURE__ */k.mark({class:"cm-nonmatchingBracket"});function Yt(t){let e=[],r=t.matched?Qt:Xt;return e.push(r.range(t.start.from,t.start.to)),t.end&&e.push(r.range(t.end.from,t.end.to)),e}const Zt=[/* @__PURE__ */u.define({create:()=>k.none,update(t,e){if(!e.docChanged&&!e.selection)return t;let r=[],n=e.state.facet(Kt);for(let o of e.state.selection.ranges){if(!o.empty)continue;let t=oe(e.state,o.head,-1,n)||o.head>0&&oe(e.state,o.head-1,1,n)||n.afterCursor&&(oe(e.state,o.head,1,n)||o.head<e.state.doc.length&&oe(e.state,o.head+1,-1,n));t&&(r=r.concat(n.renderMatch(t,e.state)))}return k.set(r,!0)},provide:t=>m.decorations.from(t)}),Gt];function te(t={}){return[Kt.of(t),Zt]}const ee=/* @__PURE__ */new t;function re(e,r,n){let o=e.prop(r<0?t.openedBy:t.closedBy);if(o)return o;if(1==e.name.length){let t=n.indexOf(e.name);if(t>-1&&t%2==(r<0?1:0))return[n[t+r]]}return null}function ne(t){let e=t.type.prop(ee);return e?e(t.node):t}function oe(t,e,r,n={}){let o=n.maxScanDistance||1e4,s=n.brackets||_t,i=L(t),l=i.resolveInner(e,r);for(let a=l;a;a=a.parent){let n=re(a.type,r,s);if(n&&a.from<a.to){let o=ne(a);if(o&&(r>0?e>=o.from&&e<o.to:e>o.from&&e<=o.to))return se(t,e,r,a,o,n,s)}}return function(t,e,r,n,o,s,i){let l=r<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),a=i.indexOf(l);if(a<0||a%2==0!=r>0)return null;let c={from:r<0?e-1:e,to:r>0?e+1:e},h=t.doc.iterRange(e,r>0?t.doc.length:0),u=0;for(let f=0;!h.next().done&&f<=s;){let t=h.value;r<0&&(f+=t.length);let s=e+f*r;for(let e=r>0?0:t.length-1,l=r>0?t.length:-1;e!=l;e+=r){let l=i.indexOf(t[e]);if(!(l<0||n.resolveInner(s+e,1).type!=o))if(l%2==0==r>0)u++;else{if(1==u)return{start:c,end:{from:s+e,to:s+e+1},matched:l>>1==a>>1};u--}}r>0&&(f+=t.length)}return h.done?{start:c,matched:!1}:null}(t,e,r,i,l.type,o,s)}function se(t,e,r,n,o,s,i){let l=n.parent,a={from:o.from,to:o.to},c=0,h=null==l?void 0:l.cursor();if(h&&(r<0?h.childBefore(n.from):h.childAfter(n.to)))do{if(r<0?h.to<=n.from:h.from>=n.to){if(0==c&&s.indexOf(h.type.name)>-1&&h.from<h.to){let t=ne(h);return{start:a,end:t?{from:t.from,to:t.to}:void 0,matched:!0}}if(re(h.type,r,i))c++;else if(re(h.type,-r,i)){if(0==c){let t=ne(h);return{start:a,end:t&&t.from<t.to?{from:t.from,to:t.to}:void 0,matched:!1}}c--}}}while(r<0?h.prevSibling():h.nextSibling());return{start:a,matched:!1}}const ie=/* @__PURE__ */Object.create(null),le=[s.none],ae=[],ce=/* @__PURE__ */Object.create(null),he=/* @__PURE__ */Object.create(null);for(let[de,pe]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])he[de]=/* @__PURE__ */fe(ie,pe);function ue(t,e){ae.indexOf(t)>-1||(ae.push(t),console.warn(e))}function fe(t,e){let r=[];for(let s of e.split(" ")){let e=[];for(let r of s.split(".")){let n=t[r]||C[r];n?"function"==typeof n?e.length?e=e.map(n):ue(r,`Modifier ${r} used at start of tag`):e.length?ue(r,`Tag ${r} used as modifier`):e=Array.isArray(n)?n:[n]:ue(r,`Unknown highlighting tag ${r}`)}for(let t of e)r.push(t)}if(!r.length)return 0;let n=e.replace(/ /g,"_"),o=n+" "+r.map(t=>t.id),i=ce[o];if(i)return i.id;let l=ce[o]=s.define({id:le.length,name:n,props:[T({[n]:r})]});return le.push(l),l.id}b.RTL,b.LTR;export{j as DocInput,Ft as HighlightStyle,X as IndentContext,E as LRLanguage,I as Language,H as LanguageSupport,W as ParseContext,rt as TreeIndentContext,te as bracketMatching,ee as bracketMatchingHandle,Nt as codeFolding,lt as continuedIndent,Vt as defaultHighlightStyle,P as defineLanguageFacet,ot as delimitedIndent,it as flatIndent,Tt as foldAll,At as foldCode,mt as foldEffect,Rt as foldGutter,ut as foldInside,Ot as foldKeymap,ht as foldNodeProp,ct as foldService,vt as foldState,dt as foldable,_ as getIndentUnit,Q as getIndentation,Y as indentNodeProp,at as indentOnInput,V as indentService,K as indentString,G as indentUnit,J as language,B as languageDataProp,oe as matchBrackets,N as sublanguageProp,zt as syntaxHighlighting,L as syntaxTree,Dt as unfoldAll,St as unfoldCode,gt as unfoldEffect};