@fewangsit/wangsvue-fats 1.0.0-alpha.41 → 1.0.0-alpha.42

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 (281) hide show
  1. package/assets/lottiejs/loading-page-B9ooQcfF.system.js +1 -0
  2. package/assets/lottiejs/loading-page-CQ0mKER2.es.js +15 -0
  3. package/assets/lottiejs/loading-table-B4T3FYiI.system.js +1 -0
  4. package/assets/lottiejs/loading-table-BnpbX8Ew.es.js +15 -0
  5. package/assets/lottiejs/no-data-CMWnya_k.system.js +1 -0
  6. package/{no-data-DLHO1L_u.js → assets/lottiejs/no-data-DOy8kIGF.es.js} +13 -2
  7. package/components/animation/Animation-6756VN9N.system.js +1 -0
  8. package/components/animation/Animation-COWVilAA.es.js +428 -0
  9. package/components/approverinfo/ApproverInfo-BdqBpNjY.system.js +1 -0
  10. package/components/approverinfo/ApproverInfo-C3_ibV8c.es.js +321 -0
  11. package/components/assetinfo/AssetInfo-BBgKToRP.system.js +1 -0
  12. package/components/assetinfo/AssetInfo-CmwgOU74.es.js +298 -0
  13. package/components/backgroundimagecropper/BackgroundImageCropper-DFHtaSyE.system.js +1 -0
  14. package/components/backgroundimagecropper/BackgroundImageCropper-HKzUEXq-.es.js +57 -0
  15. package/components/badge/Badge-CndPv5v9.system.js +1 -0
  16. package/components/badge/Badge-DA-XiE1C.es.js +115 -0
  17. package/components/badgegroup/BadgeGroup-Bj0EjoML.es.js +68 -0
  18. package/components/badgegroup/BadgeGroup-Y-HhiHk8.system.js +1 -0
  19. package/components/basecalendar/BaseCalendar-47ahYXrt.es.js +867 -0
  20. package/components/basecalendar/BaseCalendar-Ce46jOkg.system.js +1 -0
  21. package/components/basetree/BaseTree-DDu1qI7t.system.js +1 -0
  22. package/components/basetree/BaseTree-DLSA5FMh.es.js +167 -0
  23. package/components/breadcrumb/Breadcrumb-B5bAijry.system.js +1 -0
  24. package/components/breadcrumb/Breadcrumb-BWSmLPqn.es.js +46 -0
  25. package/components/button/Button-D-MSv_AS.es.js +120 -0
  26. package/components/button/Button-Okx1_kOu.system.js +1 -0
  27. package/components/buttonbulkaction/ButtonBulkAction-B4RcdWmb.es.js +185 -0
  28. package/components/buttonbulkaction/ButtonBulkAction-DLmvicRL.system.js +1 -0
  29. package/components/buttoncopy/ButtonCopy-BZgQAFOM.es.js +31 -0
  30. package/components/buttoncopy/ButtonCopy-CKi1bBpz.system.js +1 -0
  31. package/components/buttondownload/ButtonDownload-Bw9T3mbW.es.js +92 -0
  32. package/components/buttondownload/ButtonDownload-CpA0ryUT.system.js +1 -0
  33. package/components/buttonfilter/ButtonFilter-BIE-jM2i.es.js +28 -0
  34. package/components/buttonfilter/ButtonFilter-C4WRvUrj.system.js +1 -0
  35. package/components/buttonradio/ButtonRadio-5VUY8o5h.es.js +83 -0
  36. package/components/buttonradio/ButtonRadio-B2wWrgB5.system.js +1 -0
  37. package/components/buttonscan/ButtonScan-BCScT2cx.es.js +421 -0
  38. package/components/buttonscan/ButtonScan-TbyhlW5M.system.js +1 -0
  39. package/components/buttonsearch/ButtonSearch-Clbafqts.es.js +70 -0
  40. package/components/buttonsearch/ButtonSearch-e57pD5r3.system.js +1 -0
  41. package/components/buttonselecttree/ButtonSelectTree-B-_Iw5sB.es.js +218 -0
  42. package/components/buttonselecttree/ButtonSelectTree-Cbq1oeVK.system.js +1 -0
  43. package/components/buttonselectuser/ButtonSelectUser-Ar7Y8tVR.es.js +101 -0
  44. package/components/buttonselectuser/ButtonSelectUser-Cfe6m75Z.system.js +1 -0
  45. package/components/buttonsync/ButtonSync-Bc1GZXT6.es.js +29 -0
  46. package/components/buttonsync/ButtonSync-ClllEdAy.system.js +1 -0
  47. package/components/buttontoggle/ButtonToggle-DIy3M8Pz.es.js +11 -0
  48. package/components/buttontoggle/ButtonToggle-VNp0lbcW.system.js +1 -0
  49. package/components/buttonviewlog/ButtonViewLog-Ct8QwEey.system.js +1 -0
  50. package/components/buttonviewlog/ButtonViewLog-h9uVv5A5.es.js +21 -0
  51. package/components/calendar/Calendar-7yBKZsvj.system.js +1 -0
  52. package/components/calendar/Calendar-Df6CnW-l.es.js +112 -0
  53. package/components/card/Card-BUKU2FcT.system.js +1 -0
  54. package/components/card/Card-CwnxKNdM.es.js +47 -0
  55. package/components/checkbox/Checkbox-CCtItmVW.system.js +1 -0
  56. package/components/checkbox/Checkbox-DdsR222S.es.js +135 -0
  57. package/components/codesnippet/CodeSnippet-Bpps-Iyc.es.js +127 -0
  58. package/components/codesnippet/CodeSnippet-DvTtZ28b.system.js +2 -0
  59. package/components/codesnippetadapter/CodeSnippetAdapter-BtSqWBl1.system.js +1 -0
  60. package/components/codesnippetadapter/CodeSnippetAdapter-jgXoPKzr.es.js +26 -0
  61. package/components/columnlist/ColumnList-Bh3LZlOa.system.js +1 -0
  62. package/components/columnlist/ColumnList-Bp7soiys.es.js +204 -0
  63. package/components/customcolumn/CustomColumn-CVhAbTGn.system.js +1 -0
  64. package/components/customcolumn/CustomColumn-Dblxjw_0.es.js +138 -0
  65. package/components/datatable/DataTable--mHUKNUr.system.js +1 -0
  66. package/components/datatable/DataTable-J1j-OKsW.es.js +983 -0
  67. package/components/dialog/Dialog-Dy93f91f.es.js +121 -0
  68. package/components/dialog/Dialog-WEl66uTI.system.js +1 -0
  69. package/components/dialogconfirm/DialogConfirm-BOFb7rJD.es.js +139 -0
  70. package/components/dialogconfirm/DialogConfirm-o7_v7F31.system.js +1 -0
  71. package/components/dialogform/DialogForm-C15nC1wH.es.js +223 -0
  72. package/components/dialogform/DialogForm-CdpY1_-F.system.js +1 -0
  73. package/components/dialogselecttree/DialogSelectTree-BA8xEqco.es.js +268 -0
  74. package/components/dialogselecttree/DialogSelectTree-DKxWI9Re.system.js +1 -0
  75. package/components/dialogselectuser/DialogSelectUser-BZTSktHZ.system.js +1 -0
  76. package/components/dialogselectuser/DialogSelectUser-Bu5TDAPt.es.js +186 -0
  77. package/components/dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js +1 -0
  78. package/components/dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js +40 -0
  79. package/components/dropdown/Dropdown-D4S52rW5.es.js +252 -0
  80. package/components/dropdown/Dropdown-DuvNYyq0.system.js +1 -0
  81. package/components/editor/Editor-DQ7Xdy30.es.js +1036 -0
  82. package/components/editor/Editor-IfYw2Tps.system.js +1 -0
  83. package/components/editorbutton/EditorButton-DDgS2vga.es.js +28 -0
  84. package/components/editorbutton/EditorButton-DmVrr4Bk.system.js +1 -0
  85. package/components/fieldwrapper/FieldWrapper-C6HJ2HnC.es.js +34 -0
  86. package/components/fieldwrapper/FieldWrapper-DFjw9hA8.system.js +1 -0
  87. package/components/fileupload/FileUpload-B6PAucnD.es.js +175 -0
  88. package/components/fileupload/FileUpload-iVAJXujV.system.js +1 -0
  89. package/components/filtercontainer/FilterContainer-CuMaq5Sv.es.js +284 -0
  90. package/components/filtercontainer/FilterContainer-DUeVLHgZ.system.js +1 -0
  91. package/components/form/Form-D-e0VI8V.system.js +1 -0
  92. package/components/form/Form-eSj-nb1y.es.js +181 -0
  93. package/components/hardwaresync/HardwareSync--HomfQuH.system.js +1 -0
  94. package/components/hardwaresync/HardwareSync-DUsVwHx1.es.js +236 -0
  95. package/components/icon/Icon-DUylRmY4.system.js +1 -0
  96. package/components/icon/Icon-mDqG7urn.es.js +82 -0
  97. package/components/image/Image-BZ31CL-y.es.js +169 -0
  98. package/components/image/Image-DX6uB7Ns.system.js +1 -0
  99. package/components/imagecompressor/ImageCompressor-BLeJDvN3.system.js +1 -0
  100. package/components/imagecompressor/ImageCompressor-DaW0ak9c.es.js +501 -0
  101. package/components/imageinputinfo/ImageInputInfo-C5F14hbF.system.js +1 -0
  102. package/components/imageinputinfo/ImageInputInfo-oTtVBxzO.es.js +46 -0
  103. package/components/inlinemessage/InlineMessage-19w6FOcP.system.js +1 -0
  104. package/components/inlinemessage/InlineMessage-CBZT3jWS.es.js +94 -0
  105. package/components/inputbadge/InputBadge-CsdT7M7-.es.js +186 -0
  106. package/components/inputbadge/InputBadge-dgANMV70.system.js +1 -0
  107. package/components/inputcurrency/InputCurrency-B96npK8W.es.js +1208 -0
  108. package/components/inputcurrency/InputCurrency-ChqGX5L8.system.js +1 -0
  109. package/components/inputemail/InputEmail-BMzumenA.es.js +49 -0
  110. package/components/inputemail/InputEmail-CYILS9bp.system.js +1 -0
  111. package/components/inputgroup/InputGroup-G9TEI4vX.system.js +1 -0
  112. package/components/inputgroup/InputGroup-eNDRlJ5R.es.js +56 -0
  113. package/components/inputnumber/InputNumber-Bzk_YzWM.es.js +232 -0
  114. package/components/inputnumber/InputNumber-CRyg8Xw_.system.js +1 -0
  115. package/components/inputpassword/InputPassword-BMHMWLgU.es.js +121 -0
  116. package/components/inputpassword/InputPassword-BjB6FsoL.system.js +1 -0
  117. package/components/inputphonenumber/InputPhoneNumber-CVM2oK5q.es.js +591 -0
  118. package/components/inputphonenumber/InputPhoneNumber-DIbd3upL.system.js +1 -0
  119. package/components/inputrangenumber/InputRangeNumber-B1aAoKVj.es.js +134 -0
  120. package/components/inputrangenumber/InputRangeNumber-C28xgFBY.system.js +1 -0
  121. package/components/inputsearch/InputSearch--KHwTBTm.system.js +1 -0
  122. package/components/inputsearch/InputSearch-cPq3vqhy.es.js +53 -0
  123. package/components/inputtext/InputText-93zDNfC3.system.js +1 -0
  124. package/components/inputtext/InputText-_xEnXysf.es.js +241 -0
  125. package/components/inputurl/InputURL-aqx1PVKL.es.js +61 -0
  126. package/components/inputurl/InputURL-kWIiKGEG.system.js +1 -0
  127. package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +27 -0
  128. package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +1 -0
  129. package/components/litedropdown/LiteDropdown-3KsCx4wX.system.js +1 -0
  130. package/components/litedropdown/LiteDropdown-DcSzP11l.es.js +102 -0
  131. package/components/loading/Loading-D8M801C9.es.js +24 -0
  132. package/components/loading/Loading-Diwog8dc.system.js +1 -0
  133. package/components/mentionlist/MentionList--7AymnhE.es.js +58 -0
  134. package/components/mentionlist/MentionList-600dsWhX.system.js +1 -0
  135. package/components/mentionsection/MentionSection-C1gWOzH2.system.js +3 -0
  136. package/components/mentionsection/MentionSection-C_c4qbpq.es.js +52 -0
  137. package/components/menu/Menu-BmTMFwBD.es.js +73 -0
  138. package/components/menu/Menu-OR25pAK3.system.js +1 -0
  139. package/components/menuitem/MenuItem-LoZMc0T9.es.js +65 -0
  140. package/components/menuitem/MenuItem-imQ-hYTP.system.js +1 -0
  141. package/components/multirow/MultiRow-ClSMxrEx.es.js +52 -0
  142. package/components/multirow/MultiRow-DKu6uIsI.system.js +1 -0
  143. package/components/multiselect/MultiSelect-DGhS1EyX.es.js +189 -0
  144. package/components/multiselect/MultiSelect-DKFYq47E.system.js +1 -0
  145. package/components/overlaypanel/OverlayPanel-C_WCcNPw.system.js +1 -0
  146. package/components/overlaypanel/OverlayPanel-DXNek7Yb.es.js +49 -0
  147. package/components/tabmenu/TabMenu-CAQqu-ff.system.js +1 -0
  148. package/components/tabmenu/TabMenu-iMeZa8gy.es.js +108 -0
  149. package/components/tagtype/TagType-CX7BVRrE.es.js +49 -0
  150. package/components/tagtype/TagType-IMYg8AJf.system.js +1 -0
  151. package/components/textarea/Textarea-ClnQ2qmf.es.js +108 -0
  152. package/components/textarea/Textarea-DlkzVURV.system.js +1 -0
  153. package/components/timeline/Timeline-BMRdV_mH.es.js +120 -0
  154. package/components/timeline/Timeline-D7SYc3QX.system.js +1 -0
  155. package/components/timelinecontentbytype/TimelineContentByType-BmWsZID0.system.js +1 -0
  156. package/components/timelinecontentbytype/TimelineContentByType-ehFLzTA1.es.js +111 -0
  157. package/components/toast/Toast-DnALWJkx.es.js +74 -0
  158. package/components/toast/Toast-Pc_DOZ5-.system.js +1 -0
  159. package/components/toggleswitch/ToggleSwitch-WHdD3oYL.system.js +1 -0
  160. package/components/toggleswitch/ToggleSwitch-wRjnHRIw.es.js +90 -0
  161. package/components/transactionroles/TransactionRoles-B_67h5wb.es.js +223 -0
  162. package/components/transactionroles/TransactionRoles-DSXBVwPM.system.js +1 -0
  163. package/components/tree/Tree-BoVGYw5N.system.js +1 -0
  164. package/components/tree/Tree-DnaIZZ8S.es.js +268 -0
  165. package/components/treenode/TreeNode-D5aepDIU.system.js +1 -0
  166. package/components/treenode/TreeNode-KJOUvlTH.es.js +499 -0
  167. package/components/treesearchinput/TreeSearchInput-B1PmhE7k.es.js +56 -0
  168. package/components/treesearchinput/TreeSearchInput-C-hXPV61.system.js +1 -0
  169. package/components/username/UserName-CCyPAYG6.system.js +1 -0
  170. package/components/username/UserName-CWs83BX6.es.js +130 -0
  171. package/components/userwithicon/UserWithIcon-CFjQcbAS.system.js +1 -0
  172. package/components/userwithicon/UserWithIcon-Dn3aNKdq.es.js +18 -0
  173. package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +19 -0
  174. package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +1 -0
  175. package/package.json +1 -1
  176. package/stats.html +1 -1
  177. package/style.css +1 -1
  178. package/vendor/@popperjs/core-BDAJHTVh.es.js +905 -0
  179. package/vendor/@popperjs/core-DpNOCyB0.system.js +1 -0
  180. package/vendor/@tiptap/core-BLz8iRA3.es.js +2868 -0
  181. package/vendor/@tiptap/core-bnIgGWIt.system.js +80 -0
  182. package/vendor/@tiptap/extension-bold-BnsTNqIJ.es.js +71 -0
  183. package/vendor/@tiptap/extension-bold-C_KVm_D0.system.js +1 -0
  184. package/vendor/@tiptap/extension-bubble-menu-D421L1EU.system.js +1 -0
  185. package/vendor/@tiptap/extension-bubble-menu-D9Vgq7yO.es.js +128 -0
  186. package/vendor/@tiptap/extension-bullet-list-GNj3sKw9.es.js +53 -0
  187. package/vendor/@tiptap/extension-bullet-list-kXXFF-_p.system.js +1 -0
  188. package/vendor/@tiptap/extension-code-CfQ7g1i2.es.js +51 -0
  189. package/vendor/@tiptap/extension-code-Q8P1EHjz.system.js +1 -0
  190. package/vendor/@tiptap/extension-floating-menu-8rFSweor.system.js +1 -0
  191. package/vendor/@tiptap/extension-floating-menu-CSQuJzDM.es.js +99 -0
  192. package/vendor/@tiptap/extension-heading-BE64-Rg_.system.js +1 -0
  193. package/vendor/@tiptap/extension-heading-ZTlCgdtc.es.js +54 -0
  194. package/vendor/@tiptap/extension-history-GLkLmX-Y.system.js +1 -0
  195. package/vendor/@tiptap/extension-history-eJIThEn-.es.js +35 -0
  196. package/vendor/@tiptap/extension-image-B8NPUVFM.es.js +64 -0
  197. package/vendor/@tiptap/extension-image-rKrdkZpJ.system.js +1 -0
  198. package/vendor/@tiptap/extension-italic-C_CyJubw.es.js +70 -0
  199. package/vendor/@tiptap/extension-italic-Dg0Nosoc.system.js +1 -0
  200. package/vendor/@tiptap/extension-link-Cd8bTMBz.system.js +1 -0
  201. package/vendor/@tiptap/extension-link-D4PFdLvA.es.js +262 -0
  202. package/vendor/@tiptap/extension-list-item-7pIJ7t09.es.js +33 -0
  203. package/vendor/@tiptap/extension-list-item-Mnhfw2gP.system.js +1 -0
  204. package/vendor/@tiptap/extension-mention-DVF3rX_z.system.js +1 -0
  205. package/vendor/@tiptap/extension-mention-Dkg-tbrz.es.js +130 -0
  206. package/vendor/@tiptap/extension-ordered-list-DLI4xDN8.es.js +71 -0
  207. package/vendor/@tiptap/extension-ordered-list-Hl0QU8Zt.system.js +1 -0
  208. package/vendor/@tiptap/extension-placeholder-BeLl2T-f.system.js +1 -0
  209. package/vendor/@tiptap/extension-placeholder-V0iTxU19.es.js +52 -0
  210. package/vendor/@tiptap/extension-underline-BdcAQ4JH.system.js +1 -0
  211. package/vendor/@tiptap/extension-underline-DsGbvz80.es.js +40 -0
  212. package/vendor/@tiptap/suggestion-BpZSO8Lm.system.js +1 -0
  213. package/vendor/@tiptap/suggestion-C4sBhJAD.es.js +131 -0
  214. package/vendor/@tiptap/vue-3-BH1pZykd.system.js +1 -0
  215. package/vendor/@tiptap/vue-3-DceiR7pK.es.js +436 -0
  216. package/vendor/highlight.js-BAruEf1H.system.js +2 -0
  217. package/vendor/highlight.js-DHowhWoU.es.js +2493 -0
  218. package/vendor/linkifyjs-BxsOjwQz.es.js +705 -0
  219. package/vendor/linkifyjs-CMLfIa6I.system.js +5 -0
  220. package/vendor/lodash-DbIT-6qv.es.js +127 -0
  221. package/vendor/lodash-DbvKLWSv.system.js +1 -0
  222. package/vendor/lodash-es-C3G1Cc1m.system.js +1 -0
  223. package/vendor/lodash-es-CJerBxJQ.es.js +766 -0
  224. package/vendor/orderedmap-B3SOk52B.es.js +103 -0
  225. package/vendor/orderedmap-Dwr31MF0.system.js +1 -0
  226. package/vendor/primevue-CadmDhWp.es.js +13928 -0
  227. package/vendor/primevue-u6FsQONA.system.js +193 -0
  228. package/vendor/prosemirror-commands-DLmzIpoS.es.js +383 -0
  229. package/vendor/prosemirror-commands-DgY3QRzI.system.js +2 -0
  230. package/vendor/prosemirror-history-BMpJFORS.es.js +248 -0
  231. package/vendor/prosemirror-history-BrK-FTBv.system.js +1 -0
  232. package/vendor/prosemirror-keymap-COb3Dq2o.system.js +1 -0
  233. package/vendor/prosemirror-keymap-DF8LLxca.es.js +60 -0
  234. package/vendor/prosemirror-model-D2n-Dx_L.es.js +2736 -0
  235. package/vendor/prosemirror-model-DTWK5xnv.system.js +4 -0
  236. package/vendor/prosemirror-schema-list-BPpAP8wR.system.js +1 -0
  237. package/vendor/prosemirror-schema-list-BvrICwYb.es.js +87 -0
  238. package/vendor/prosemirror-state-CwkYUmNs.es.js +820 -0
  239. package/vendor/prosemirror-state-DzPLD-6l.system.js +1 -0
  240. package/vendor/prosemirror-transform-DvAmofec.es.js +1507 -0
  241. package/vendor/prosemirror-transform-VaXuT0NM.system.js +2 -0
  242. package/vendor/prosemirror-view-JTdpiWMD.system.js +5 -0
  243. package/vendor/prosemirror-view-ta7l3rKk.es.js +3742 -0
  244. package/vendor/rope-sequence-4t46C6az.system.js +1 -0
  245. package/vendor/rope-sequence-sEGCUMi8.es.js +100 -0
  246. package/vendor/simplebar-core-71xT5g0m.system.js +1 -0
  247. package/vendor/simplebar-core-Db65-Ath.es.js +333 -0
  248. package/vendor/simplebar-vue-BFEeFUIv.system.js +1 -0
  249. package/vendor/simplebar-vue-DAxqu0eM.es.js +176 -0
  250. package/vendor/tippy.js-CuKTz0UR.system.js +1 -0
  251. package/vendor/tippy.js-DNnwm2RY.es.js +721 -0
  252. package/vendor/uuid-93tp0umt.es.js +9 -0
  253. package/vendor/uuid-Cymn6orr.system.js +1 -0
  254. package/vendor/vee-validate-Cc_B-qII.system.js +5 -0
  255. package/vendor/vee-validate-RE5RuswC.es.js +1309 -0
  256. package/vendor/vue-advanced-cropper-CshlvNaD.es.js +1380 -0
  257. package/vendor/vue-advanced-cropper-NG93jHnU.system.js +20 -0
  258. package/vendor/w3c-keyname-BSD-PgAi.system.js +1 -0
  259. package/vendor/w3c-keyname-CLxH8j-f.es.js +92 -0
  260. package/wangsvue-fats.js +542 -0
  261. package/wangsvue-fats.system.js +1 -313
  262. package/loading-page-BrQattYE.js +0 -1
  263. package/loading-page-CoC9UhfC.js +0 -4
  264. package/loading-page-DbLuqCHa.js +0 -1
  265. package/loading-page-f8D03l3G.js +0 -4
  266. package/loading-plane-CgfbWppy.js +0 -1
  267. package/loading-plane-CoXtqoc9.js +0 -4
  268. package/loading-table-Bdr9ZhtP.js +0 -1
  269. package/loading-table-ByUoWqUo.js +0 -4
  270. package/loading-table-BygEMzFM.js +0 -4
  271. package/loading-table-BzrSQlA0.js +0 -1
  272. package/loading-table-D9bw9OcI.js +0 -4
  273. package/loading-table-chOgXi94.js +0 -1
  274. package/no-data-CTKux8RI.js +0 -4
  275. package/no-data-Cgze_Rvp.js +0 -1
  276. package/no-data-Dep79CBh.js +0 -1
  277. package/no-data-g0dJCy2p.js +0 -4
  278. package/no-data-y1X5WtcQ.js +0 -1
  279. package/wangsvue-fats.es.js +0 -51894
  280. /package/{loading-page-CgfbWppy.js → assets/lottiejs/loading-plane-CgfbWppy.system.js} +0 -0
  281. /package/{loading-page-CoXtqoc9.js → assets/lottiejs/loading-plane-CoXtqoc9.es.js} +0 -0
@@ -0,0 +1,4 @@
1
+ System.register(["./orderedmap-Dwr31MF0.system.js"],function(y,Lt){"use strict";var B;return{setters:[C=>{B=C.O}],execute:function(){function C(l,t,e){for(let n=0;;n++){if(n==l.childCount||n==t.childCount)return l.childCount==t.childCount?null:e;let i=l.child(n),r=t.child(n);if(i==r){e+=i.nodeSize;continue}if(!i.sameMarkup(r))return e;if(i.isText&&i.text!=r.text){for(let s=0;i.text[s]==r.text[s];s++)e++;return e}if(i.content.size||r.content.size){let s=C(i.content,r.content,e+1);if(s!=null)return s}e+=i.nodeSize}}function j(l,t,e,n){for(let i=l.childCount,r=t.childCount;;){if(i==0||r==0)return i==r?null:{a:e,b:n};let s=l.child(--i),o=t.child(--r),h=s.nodeSize;if(s==o){e-=h,n-=h;continue}if(!s.sameMarkup(o))return{a:e,b:n};if(s.isText&&s.text!=o.text){let a=0,f=Math.min(s.text.length,o.text.length);for(;a<f&&s.text[s.text.length-a-1]==o.text[o.text.length-a-1];)a++,e--,n--;return{a:e,b:n}}if(s.content.size||o.content.size){let a=j(s.content,o.content,e-1,n-1);if(a)return a}e-=h,n-=h}}class c{constructor(t,e){if(this.content=t,this.size=e||0,e==null)for(let n=0;n<t.length;n++)this.size+=t[n].nodeSize}nodesBetween(t,e,n,i=0,r){for(let s=0,o=0;o<e;s++){let h=this.content[s],a=o+h.nodeSize;if(a>t&&n(h,i+o,r||null,s)!==!1&&h.content.size){let f=o+1;h.nodesBetween(Math.max(0,t-f),Math.min(h.content.size,e-f),n,i+f)}o=a}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,i){let r="",s=!0;return this.nodesBetween(t,e,(o,h)=>{let a=o.isText?o.text.slice(Math.max(t,h)-h,e-h):o.isLeaf?i?typeof i=="function"?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&a||o.isTextblock)&&n&&(s?s=!1:r+=n),r+=a},0),r}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,i=this.content.slice(),r=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),r=1);r<t.content.length;r++)i.push(t.content[r]);return new c(i,this.size+t.size)}cut(t,e=this.size){if(t==0&&e==this.size)return this;let n=[],i=0;if(e>t)for(let r=0,s=0;s<e;r++){let o=this.content[r],h=s+o.nodeSize;h>t&&((s<t||h>e)&&(o.isText?o=o.cut(Math.max(0,t-s),Math.min(o.text.length,e-s)):o=o.cut(Math.max(0,t-s-1),Math.min(o.content.size,e-s-1))),n.push(o),i+=o.nodeSize),s=h}return new c(n,i)}cutByIndex(t,e){return t==e?c.empty:t==0&&e==this.content.length?this:new c(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let i=this.content.slice(),r=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new c(i,r)}addToStart(t){return new c([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new c(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(t.content[e]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let e=this.content[t];if(!e)throw new RangeError("Index "+t+" out of range for "+this);return e}maybeChild(t){return this.content[t]||null}forEach(t){for(let e=0,n=0;e<this.content.length;e++){let i=this.content[e];t(i,n,e),n+=i.nodeSize}}findDiffStart(t,e=0){return C(this,t,e)}findDiffEnd(t,e=this.size,n=t.size){return j(this,t,e,n)}findIndex(t,e=-1){if(t==0)return b(0,t);if(t==this.size)return b(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=this.child(n),s=i+r.nodeSize;if(s>=t)return s==t||e>0?b(n+1,s):b(n,i);i=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return c.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new c(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return c.empty;let e,n=0;for(let i=0;i<t.length;i++){let r=t[i];n+=r.nodeSize,i&&r.isText&&t[i-1].sameMarkup(r)?(e||(e=t.slice(0,i)),e[e.length-1]=r.withText(e[e.length-1].text+r.text)):e&&e.push(r)}return new c(e||t,n)}static from(t){if(!t)return c.empty;if(t instanceof c)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new c([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}y("F",c),c.empty=new c([],0);const F={index:0,offset:0};function b(l,t){return F.index=l,F.offset=t,F}function T(l,t){if(l===t)return!0;if(!(l&&typeof l=="object")||!(t&&typeof t=="object"))return!1;let e=Array.isArray(l);if(Array.isArray(t)!=e)return!1;if(e){if(l.length!=t.length)return!1;for(let n=0;n<l.length;n++)if(!T(l[n],t[n]))return!1}else{for(let n in l)if(!(n in t)||!T(l[n],t[n]))return!1;for(let n in t)if(!(n in l))return!1}return!0}class u{constructor(t,e){this.type=t,this.attrs=e}addToSet(t){let e,n=!1;for(let i=0;i<t.length;i++){let r=t[i];if(this.eq(r))return t;if(this.type.excludes(r.type))e||(e=t.slice(0,i));else{if(r.type.excludes(this.type))return t;!n&&r.type.rank>this.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return t.slice(0,e).concat(t.slice(e+1));return t}isInSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return!0;return!1}eq(t){return this==t||this.type==t.type&&T(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");let n=t.marks[e.type];if(!n)throw new RangeError(`There is no mark type ${e.type} in this schema`);let i=n.create(e.attrs);return n.checkAttrs(i.attrs),i}static sameSet(t,e){if(t==e)return!0;if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].eq(e[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return u.none;if(t instanceof u)return[t];let e=t.slice();return e.sort((n,i)=>n.type.rank-i.type.rank),e}}y("M",u),u.none=[];class M extends Error{}y("R",M);class d{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=V(this.content,t+this.openStart,e);return n&&new d(n,this.openStart,this.openEnd)}removeBetween(t,e){return new d(U(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return d.empty;let n=e.openStart||0,i=e.openEnd||0;if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new d(c.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0;for(let r=t.firstChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.firstChild)n++;for(let r=t.lastChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.lastChild)i++;return new d(t,n,i)}}y("b",d),d.empty=new d(c.empty,0,0);function U(l,t,e){let{index:n,offset:i}=l.findIndex(t),r=l.maybeChild(n),{index:s,offset:o}=l.findIndex(e);if(i==t||r.isText){if(o!=e&&!l.child(s).isText)throw new RangeError("Removing non-flat range");return l.cut(0,t).append(l.cut(e))}if(n!=s)throw new RangeError("Removing non-flat range");return l.replaceChild(n,r.copy(U(r.content,t-i-1,e-i-1)))}function V(l,t,e,n){let{index:i,offset:r}=l.findIndex(t),s=l.maybeChild(i);if(r==t||s.isText)return l.cut(0,t).append(e).append(l.cut(t));let o=V(s.content,t-r-1,e);return o&&l.replaceChild(i,s.copy(o))}function yt(l,t,e){if(e.openStart>l.depth)throw new M("Inserted content deeper than insertion position");if(l.depth-e.openStart!=t.depth-e.openEnd)throw new M("Inconsistent open depths");return G(l,t,e,0)}function G(l,t,e,n){let i=l.index(n),r=l.node(n);if(i==t.index(n)&&n<l.depth-e.openStart){let s=G(l,t,e,n+1);return r.copy(r.content.replaceChild(i,s))}else if(e.content.size)if(!e.openStart&&!e.openEnd&&l.depth==n&&t.depth==n){let s=l.parent,o=s.content;return w(s,o.cut(0,l.parentOffset).append(e.content).append(o.cut(t.parentOffset)))}else{let{start:s,end:o}=gt(e,l);return w(r,K(l,s,o,t,n))}else return w(r,A(l,t,n))}function H(l,t){if(!t.type.compatibleContent(l.type))throw new M("Cannot join "+t.type.name+" onto "+l.type.name)}function J(l,t,e){let n=l.node(e);return H(n,t.node(e)),n}function m(l,t){let e=t.length-1;e>=0&&l.isText&&l.sameMarkup(t[e])?t[e]=l.withText(t[e].text+l.text):t.push(l)}function S(l,t,e,n){let i=(t||l).node(e),r=0,s=t?t.index(e):i.childCount;l&&(r=l.index(e),l.depth>e?r++:l.textOffset&&(m(l.nodeAfter,n),r++));for(let o=r;o<s;o++)m(i.child(o),n);t&&t.depth==e&&t.textOffset&&m(t.nodeBefore,n)}function w(l,t){return l.type.checkContent(t),l.copy(t)}function K(l,t,e,n,i){let r=l.depth>i&&J(l,t,i+1),s=n.depth>i&&J(e,n,i+1),o=[];return S(null,l,i,o),r&&s&&t.index(i)==e.index(i)?(H(r,s),m(w(r,K(l,t,e,n,i+1)),o)):(r&&m(w(r,A(l,t,i+1)),o),S(t,e,i,o),s&&m(w(s,A(e,n,i+1)),o)),S(n,null,i,o),new c(o)}function A(l,t,e){let n=[];if(S(null,l,e,n),l.depth>e){let i=J(l,t,e+1);m(w(i,A(l,t,e+1)),n)}return S(t,null,e,n),new c(n)}function gt(l,t){let e=t.depth-l.openStart,i=t.node(e).copy(l.content);for(let r=e-1;r>=0;r--)i=t.node(r).copy(c.from(i));return{start:i.resolveNoCache(l.openStart+e),end:i.resolveNoCache(i.content.size-l.openEnd-e)}}class E{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):t==0?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[e*3],i=e==0?0:this.path[e*3-1]+1;for(let r=0;r<t;r++)i+=n.child(r).nodeSize;return i}marks(){let t=this.parent,e=this.index();if(t.content.size==0)return u.none;if(this.textOffset)return t.child(e).marks;let n=t.maybeChild(e-1),i=t.maybeChild(e);if(!n){let o=n;n=i,i=o}let r=n.marks;for(var s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!i||!r[s].isInSet(i.marks))&&(r=r[s--].removeFromSet(r));return r}marksAcross(t){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,i=t.parent.maybeChild(t.index());for(var r=0;r<n.length;r++)n[r].type.spec.inclusive===!1&&(!i||!n[r].isInSet(i.marks))&&(n=n[r--].removeFromSet(n));return n}sharedDepth(t){for(let e=this.depth;e>0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos<this.pos)return t.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);n>=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new X(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let e=1;e<=this.depth;e++)t+=(t?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return t+":"+this.parentOffset}static resolve(t,e){if(!(e>=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let n=[],i=0,r=e;for(let s=t;;){let{index:o,offset:h}=s.content.findIndex(r),a=r-h;if(n.push(s,o,i+h),!a||(s=s.child(o),s.isText))break;r=a-1,i+=h+1}return new E(e,n,r)}static resolveCached(t,e){let n=Q.get(t);if(n)for(let r=0;r<n.elts.length;r++){let s=n.elts[r];if(s.pos==e)return s}else Q.set(t,n=new xt);let i=n.elts[n.i]=E.resolve(t,e);return n.i=(n.i+1)%mt,i}}class xt{constructor(){this.elts=[],this.i=0}}const mt=12,Q=new WeakMap;class X{constructor(t,e,n){this.$from=t,this.$to=e,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}y("c",X);const wt=Object.create(null);class g{constructor(t,e,n,i=u.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||c.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,i=0){this.content.nodesBetween(t,e,n,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,i){return this.content.textBetween(t,e,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&T(this.attrs,e||t.defaultAttrs||wt)&&u.sameSet(this.marks,n||u.none)}copy(t=null){return t==this.content?this:new g(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new g(this.type,this.attrs,this.content,t)}cut(t,e=this.content.size){return t==0&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return d.empty;let i=this.resolve(t),r=this.resolve(e),s=n?0:i.sharedDepth(e),o=i.start(s),a=i.node(s).content.cut(i.pos-o,r.pos-o);return new d(a,i.depth-s,r.depth-s)}replace(t,e,n){return yt(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t);if(e=e.maybeChild(n),!e)return null;if(i==t||e.isText)return e;t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(n<t)return{node:this.content.child(e),index:e,offset:n};let i=this.content.child(e-1);return{node:i,index:e-1,offset:n-i.nodeSize}}resolve(t){return E.resolveCached(this,t)}resolveNoCache(t){return E.resolve(this,t)}rangeHasMark(t,e,n){let i=!1;return e>t&&this.nodesBetween(t,e,r=>(n.isInSet(r.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),Y(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=c.empty,i=0,r=n.childCount){let s=this.contentMatchAt(t).matchFragment(n,i,r),o=s&&s.matchFragment(this.content,e);if(!o||!o.validEnd)return!1;for(let h=i;h<r;h++)if(!this.type.allowsMarks(n.child(h).marks))return!1;return!0}canReplaceWith(t,e,n,i){if(i&&!this.type.allowsMarks(i))return!1;let r=this.contentMatchAt(t).matchType(n),s=r&&r.matchFragment(this.content,e);return s?s.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=u.none;for(let e=0;e<this.marks.length;e++){let n=this.marks[e];n.type.checkAttrs(n.attrs),t=n.addToSet(t)}if(!u.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let n;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if(e.type=="text"){if(typeof e.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(e.text,n)}let i=c.fromJSON(t,e.content),r=t.nodeType(e.type).create(e.attrs,i,n);return r.type.checkAttrs(r.attrs),r}}y("N",g),g.prototype.text=void 0;class N extends g{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Y(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new N(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new N(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return t==0&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function Y(l,t){for(let e=l.length-1;e>=0;e--)t=l[e].type.name+"("+t+")";return t}class k{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new kt(t,e);if(n.next==null)return k.empty;let i=Z(n);n.next&&n.err("Unexpected trailing text");let r=Mt(Tt(i));return At(r,n),r}matchType(t){for(let e=0;e<this.next.length;e++)if(this.next[e].type==t)return this.next[e].next;return null}matchFragment(t,e=0,n=t.childCount){let i=this;for(let r=e;i&&r<n;r++)i=i.matchType(t.child(r).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:e}=this.next[t];if(!(e.isText||e.hasRequiredAttrs()))return e}return null}compatible(t){for(let e=0;e<this.next.length;e++)for(let n=0;n<t.next.length;n++)if(this.next[e].type==t.next[n].type)return!0;return!1}fillBefore(t,e=!1,n=0){let i=[this];function r(s,o){let h=s.matchFragment(t,n);if(h&&(!e||h.validEnd))return c.from(o.map(a=>a.createAndFill()));for(let a=0;a<s.next.length;a++){let{type:f,next:p}=s.next[a];if(!(f.isText||f.hasRequiredAttrs())&&i.indexOf(p)==-1){i.push(p);let x=r(p,o.concat(f));if(x)return x}}return null}return r(this,[])}findWrapping(t){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==t)return this.wrapCache[n+1];let e=this.computeWrapping(t);return this.wrapCache.push(t,e),e}computeWrapping(t){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let i=n.shift(),r=i.match;if(r.matchType(t)){let s=[];for(let o=i;o.type;o=o.via)s.push(o.type);return s.reverse()}for(let s=0;s<r.next.length;s++){let{type:o,next:h}=r.next[s];!o.isLeaf&&!o.hasRequiredAttrs()&&!(o.name in e)&&(!i.type||h.validEnd)&&(n.push({match:o.contentMatch,type:o,via:i}),e[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function e(n){t.push(n);for(let i=0;i<n.next.length;i++)t.indexOf(n.next[i].next)==-1&&e(n.next[i].next)}return e(this),t.map((n,i)=>{let r=i+(n.validEnd?"*":" ")+" ";for(let s=0;s<n.next.length;s++)r+=(s?", ":"")+n.next[s].type.name+"->"+t.indexOf(n.next[s].next);return r}).join(`
2
+ `)}}k.empty=new k(!0);class kt{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function Z(l){let t=[];do t.push(St(l));while(l.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function St(l){let t=[];do t.push(Et(l));while(l.next&&l.next!=")"&&l.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Et(l){let t=bt(l);for(;;)if(l.eat("+"))t={type:"plus",expr:t};else if(l.eat("*"))t={type:"star",expr:t};else if(l.eat("?"))t={type:"opt",expr:t};else if(l.eat("{"))t=Ot(l,t);else break;return t}function _(l){/\D/.test(l.next)&&l.err("Expected number, got '"+l.next+"'");let t=Number(l.next);return l.pos++,t}function Ot(l,t){let e=_(l),n=e;return l.eat(",")&&(l.next!="}"?n=_(l):n=-1),l.eat("}")||l.err("Unclosed braced range"),{type:"range",min:e,max:n,expr:t}}function Ct(l,t){let e=l.nodeTypes,n=e[t];if(n)return[n];let i=[];for(let r in e){let s=e[r];s.isInGroup(t)&&i.push(s)}return i.length==0&&l.err("No node type or group '"+t+"' found"),i}function bt(l){if(l.eat("(")){let t=Z(l);return l.eat(")")||l.err("Missing closing paren"),t}else if(/\W/.test(l.next))l.err("Unexpected token '"+l.next+"'");else{let t=Ct(l,l.next).map(e=>(l.inline==null?l.inline=e.isInline:l.inline!=e.isInline&&l.err("Mixing inline and block content"),{type:"name",value:e}));return l.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function Tt(l){let t=[[]];return i(r(l,0),e()),t;function e(){return t.push([])-1}function n(s,o,h){let a={term:h,to:o};return t[s].push(a),a}function i(s,o){s.forEach(h=>h.to=o)}function r(s,o){if(s.type=="choice")return s.exprs.reduce((h,a)=>h.concat(r(a,o)),[]);if(s.type=="seq")for(let h=0;;h++){let a=r(s.exprs[h],o);if(h==s.exprs.length-1)return a;i(a,o=e())}else if(s.type=="star"){let h=e();return n(o,h),i(r(s.expr,h),h),[n(h)]}else if(s.type=="plus"){let h=e();return i(r(s.expr,o),h),i(r(s.expr,h),h),[n(h)]}else{if(s.type=="opt")return[n(o)].concat(r(s.expr,o));if(s.type=="range"){let h=o;for(let a=0;a<s.min;a++){let f=e();i(r(s.expr,h),f),h=f}if(s.max==-1)i(r(s.expr,h),h);else for(let a=s.min;a<s.max;a++){let f=e();n(h,f),i(r(s.expr,h),f),h=f}return[n(h)]}else{if(s.type=="name")return[n(o,void 0,s.value)];throw new Error("Unknown expr type")}}}}function $(l,t){return t-l}function tt(l,t){let e=[];return n(t),e.sort($);function n(i){let r=l[i];if(r.length==1&&!r[0].term)return n(r[0].to);e.push(i);for(let s=0;s<r.length;s++){let{term:o,to:h}=r[s];!o&&e.indexOf(h)==-1&&n(h)}}}function Mt(l){let t=Object.create(null);return e(tt(l,0));function e(n){let i=[];n.forEach(s=>{l[s].forEach(({term:o,to:h})=>{if(!o)return;let a;for(let f=0;f<i.length;f++)i[f][0]==o&&(a=i[f][1]);tt(l,h).forEach(f=>{a||i.push([o,a=[]]),a.indexOf(f)==-1&&a.push(f)})})});let r=t[n.join(",")]=new k(n.indexOf(l.length-1)>-1);for(let s=0;s<i.length;s++){let o=i[s][1].sort($);r.next.push({type:i[s][0],next:t[o.join(",")]||e(o)})}return r}}function At(l,t){for(let e=0,n=[l];e<n.length;e++){let i=n[e],r=!i.validEnd,s=[];for(let o=0;o<i.next.length;o++){let{type:h,next:a}=i.next[o];s.push(h.name),r&&!(h.isText||h.hasRequiredAttrs())&&(r=!1),n.indexOf(a)==-1&&n.push(a)}r&&t.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function et(l){let t=Object.create(null);for(let e in l){let n=l[e];if(!n.hasDefault)return null;t[e]=n.default}return t}function nt(l,t){let e=Object.create(null);for(let n in l){let i=t&&t[n];if(i===void 0){let r=l[n];if(r.hasDefault)i=r.default;else throw new RangeError("No value supplied for attribute "+n)}e[n]=i}return e}function it(l,t,e,n){for(let i in t)if(!(i in l))throw new RangeError(`Unsupported attribute ${i} for ${e} of type ${i}`);for(let i in l){let r=l[i];r.validate&&r.validate(t[i])}}function rt(l,t){let e=Object.create(null);if(t)for(let n in t)e[n]=new vt(l,n,t[n]);return e}class v{constructor(t,e,n){this.name=t,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=rt(t,n.attrs),this.defaultAttrs=et(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==k.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:nt(this.attrs,t)}create(t=null,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new g(this,this.computeAttrs(t),c.from(e),u.setFrom(n))}createChecked(t=null,e,n){return e=c.from(e),this.checkContent(e),new g(this,this.computeAttrs(t),e,u.setFrom(n))}createAndFill(t=null,e,n){if(t=this.computeAttrs(t),e=c.from(e),e.size){let s=this.contentMatch.fillBefore(e);if(!s)return null;e=s.append(e)}let i=this.contentMatch.matchFragment(e),r=i&&i.fillBefore(c.empty,!0);return r?new g(this,t,e.append(r),u.setFrom(n)):null}validContent(t){let e=this.contentMatch.matchFragment(t);if(!e||!e.validEnd)return!1;for(let n=0;n<t.childCount;n++)if(!this.allowsMarks(t.child(n).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){it(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let e=0;e<t.length;e++)if(!this.allowsMarkType(t[e].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let e;for(let n=0;n<t.length;n++)this.allowsMarkType(t[n].type)?e&&e.push(t[n]):e||(e=t.slice(0,n));return e?e.length?e:u.none:t}static compile(t,e){let n=Object.create(null);t.forEach((r,s)=>n[r]=new v(r,e,s));let i=e.spec.topNode||"doc";if(!n[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let r in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}function Nt(l,t,e){let n=e.split("|");return i=>{let r=i===null?"null":typeof i;if(n.indexOf(r)<0)throw new RangeError(`Expected value of type ${n} for attribute ${t} on type ${l}, got ${r}`)}}class vt{constructor(t,e,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate=typeof n.validate=="string"?Nt(t,e,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class z{constructor(t,e,n,i){this.name=t,this.rank=e,this.schema=n,this.spec=i,this.attrs=rt(t,i.attrs),this.excluded=null;let r=et(this.attrs);this.instance=r?new u(this,r):null}create(t=null){return!t&&this.instance?this.instance:new u(this,nt(this.attrs,t))}static compile(t,e){let n=Object.create(null),i=0;return t.forEach((r,s)=>n[r]=new z(r,i++,e,s)),n}removeFromSet(t){for(var e=0;e<t.length;e++)t[e].type==this&&(t=t.slice(0,e).concat(t.slice(e+1)),e--);return t}isInSet(t){for(let e=0;e<t.length;e++)if(t[e].type==this)return t[e]}checkAttrs(t){it(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}y("d",z);class zt{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let i in t)e[i]=t[i];e.nodes=B.from(t.nodes),e.marks=B.from(t.marks||{}),this.nodes=v.compile(this.spec.nodes,this),this.marks=z.compile(this.spec.marks,this);let n=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let r=this.nodes[i],s=r.spec.content||"",o=r.spec.marks;if(r.contentMatch=n[s]||(n[s]=k.parse(s,this.nodes)),r.inlineContent=r.contentMatch.inlineContent,r.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!r.isInline||!r.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=r}r.markSet=o=="_"?null:o?st(this,o.split(" ")):o==""||!r.inlineContent?[]:null}for(let i in this.marks){let r=this.marks[i],s=r.spec.excludes;r.excluded=s==null?[r]:s==""?[]:st(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof v){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(e,n,i)}text(t,e){let n=this.nodes.text;return new N(n,n.defaultAttrs,t,u.setFrom(e))}mark(t,e){return typeof t=="string"&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return g.fromJSON(this,t)}markFromJSON(t){return u.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}y("S",zt);function st(l,t){let e=[];for(let n=0;n<t.length;n++){let i=t[n],r=l.marks[i],s=r;if(r)e.push(r);else for(let o in l.marks){let h=l.marks[o];(i=="_"||h.spec.group&&h.spec.group.split(" ").indexOf(i)>-1)&&e.push(s=h)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[n]+"'")}return e}function Rt(l){return l.tag!=null}function It(l){return l.style!=null}class R{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[];let n=this.matchedStyles=[];e.forEach(i=>{if(Rt(i))this.tags.push(i);else if(It(i)){let r=/[^=]*/.exec(i.style)[0];n.indexOf(r)<0&&n.push(r),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let n=new at(this,e,!1);return n.addAll(t,u.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new at(this,e,!0);return n.addAll(t,u.none,e.from,e.to),d.maxOpen(n.finish())}matchTag(t,e,n){for(let i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){let r=this.tags[i];if(Bt(t,r.tag)&&(r.namespace===void 0||t.namespaceURI==r.namespace)&&(!r.context||e.matchesContext(r.context))){if(r.getAttrs){let s=r.getAttrs(t);if(s===!1)continue;r.attrs=s||void 0}return r}}}matchStyle(t,e,n,i){for(let r=i?this.styles.indexOf(i)+1:0;r<this.styles.length;r++){let s=this.styles[r],o=s.style;if(!(o.indexOf(t)!=0||s.context&&!n.matchesContext(s.context)||o.length>t.length&&(o.charCodeAt(t.length)!=61||o.slice(t.length+1)!=e))){if(s.getAttrs){let h=s.getAttrs(e);if(h===!1)continue;s.attrs=h||void 0}return s}}}static schemaRules(t){let e=[];function n(i){let r=i.priority==null?50:i.priority,s=0;for(;s<e.length;s++){let o=e[s];if((o.priority==null?50:o.priority)<r)break}e.splice(s,0,i)}for(let i in t.marks){let r=t.marks[i].spec.parseDOM;r&&r.forEach(s=>{n(s=ft(s)),s.mark||s.ignore||s.clearMark||(s.mark=i)})}for(let i in t.nodes){let r=t.nodes[i].spec.parseDOM;r&&r.forEach(s=>{n(s=ft(s)),s.node||s.ignore||s.mark||(s.node=i)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new R(t,R.schemaRules(t)))}}y("a",R);const lt={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Dt={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ot={ol:!0,ul:!0},O=1,q=2,I=4;function ht(l,t,e){return t!=null?(t?O:0)|(t==="full"?q:0):l&&l.whitespace=="pre"?O|q:e&-5}class D{constructor(t,e,n,i,r,s){this.type=t,this.attrs=e,this.marks=n,this.solid=i,this.options=s,this.content=[],this.activeMarks=u.none,this.match=r||(s&I?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(c.from(t));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let n=this.type.contentMatch,i;return(i=n.findWrapping(t.type))?(this.match=n,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&O)){let n=this.content[this.content.length-1],i;if(n&&n.isText&&(i=/[ \t\r\n\u000c]+$/.exec(n.text))){let r=n;n.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-i[0].length))}}let e=c.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(c.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!lt.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class at{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let i=e.topNode,r,s=ht(null,e.preserveWhitespace,0)|(n?I:0);i?r=new D(i.type,i.attrs,u.none,!0,e.topMatch||i.type.contentMatch,s):n?r=new D(null,null,u.none,!0,null,s):r=new D(t.schema.topNodeType,null,u.none,!0,null,s),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){t.nodeType==3?this.addTextNode(t,e):t.nodeType==1&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,i=this.top,r=i.options&q?"full":this.localPreserveWS||(i.options&O)>0;if(r==="full"||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r)r!=="full"?n=n.replace(/\r?\n|\r/g," "):n=n.replace(/\r\n?/g,`
3
+ `);else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let s=i.content[i.content.length-1],o=t.previousSibling;(!s||o&&o.nodeName=="BR"||s.isText&&/[ \t\r\n\u000c]$/.test(s.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),e,!/\S/.test(n)),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let i=this.localPreserveWS,r=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let s=t.nodeName.toLowerCase(),o;ot.hasOwnProperty(s)&&this.parser.normalizeLists&&Pt(t);let h=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(o=this.parser.matchTag(t,this,n));t:if(h?h.ignore:Dt.hasOwnProperty(s))this.findInside(t),this.ignoreFallback(t,e);else if(!h||h.skip||h.closeParent){h&&h.closeParent?this.open=Math.max(0,this.open-1):h&&h.skip.nodeType&&(t=h.skip);let a,f=this.needsBlock;if(lt.hasOwnProperty(s))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),a=!0,r.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);break t}let p=h&&h.skip?e:this.readStyles(t,e);p&&this.addAll(t,p),a&&this.sync(r),this.needsBlock=f}else{let a=this.readStyles(t,e);a&&this.addElementByRule(t,h,a,h.consuming===!1?o:void 0)}this.localPreserveWS=i}leafFallback(t,e){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
4
+ `),e)}ignoreFallback(t,e){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),e,!0)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let r=this.parser.matchedStyles[i],s=n.getPropertyValue(r);if(s)for(let o=void 0;;){let h=this.parser.matchStyle(r,s,this,o);if(!h)break;if(h.ignore)return null;if(h.clearMark?e=e.filter(a=>!h.clearMark(a)):e=e.concat(this.parser.schema.marks[h.mark].create(h.attrs)),h.consuming===!1)o=h;else break}}return e}addElementByRule(t,e,n,i){let r,s;if(e.node)if(s=this.parser.schema.nodes[e.node],s.isLeaf)this.insertNode(s.create(e.attrs),n,t.nodeName=="BR")||this.leafFallback(t,n);else{let h=this.enter(s,e.attrs||null,n,e.preserveWhitespace);h&&(r=!0,n=h)}else{let h=this.parser.schema.marks[e.mark];n=n.concat(h.create(e.attrs))}let o=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,n,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(h=>this.insertNode(h,n,!1));else{let h=t;typeof e.contentElement=="string"?h=t.querySelector(e.contentElement):typeof e.contentElement=="function"?h=e.contentElement(t):e.contentElement&&(h=e.contentElement),this.findAround(t,h,!0),this.addAll(h,n),this.findAround(t,h,!1)}r&&this.sync(o)&&this.open--}addAll(t,e,n,i){let r=n||0;for(let s=n?t.childNodes[n]:t.firstChild,o=i==null?null:t.childNodes[i];s!=o;s=s.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(s,e);this.findAtPoint(t,r)}findPlace(t,e,n){let i,r;for(let s=this.open,o=0;s>=0;s--){let h=this.nodes[s],a=h.findWrapping(t);if(a&&(!i||i.length>a.length+o)&&(i=a,r=h,!a.length))break;if(h.solid){if(n)break;o+=2}}if(!i)return null;this.sync(r);for(let s=0;s<i.length;s++)e=this.enterInner(i[s],null,e,!1);return e}insertNode(t,e,n){if(t.isInline&&this.needsBlock&&!this.top.type){let r=this.textblockFromContext();r&&(e=this.enterInner(r,null,e))}let i=this.findPlace(t,e,n);if(i){this.closeExtra();let r=this.top;r.match&&(r.match=r.match.matchType(t.type));let s=u.none;for(let o of i.concat(t.marks))(r.type?r.type.allowsMarkType(o.type):ct(o.type,t.type))&&(s=o.addToSet(s));return r.content.push(t.mark(s)),!0}return!1}enter(t,e,n,i){let r=this.findPlace(t.create(e),n,!1);return r&&(r=this.enterInner(t,e,n,!0,i)),r}enterInner(t,e,n,i=!1,r){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(t);let o=ht(t,r,s.options);s.options&I&&s.content.length==0&&(o|=I);let h=u.none;return n=n.filter(a=>(s.type?s.type.allowsMarkType(a.type):ct(a.type,t))?(h=a.addToSet(h),!1):!0),this.nodes.push(new D(t,e,h,i,null,o)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(t){for(let e=this.open;e>=0;e--){if(this.nodes[e]==t)return this.open=e,!0;this.localPreserveWS&&(this.nodes[e].options|=O)}return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let i=n.length-1;i>=0;i--)t+=n[i].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].pos==null&&t.nodeType==1&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(t,e,n){if(t!=e&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&e.compareDocumentPosition(this.find[i].node)&(n?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),r=-(n?n.depth+1:0)+(i?0:1),s=(o,h)=>{for(;o>=0;o--){let a=e[o];if(a==""){if(o==e.length-1||o==0)continue;for(;h>=r;h--)if(s(o-1,h))return!0;return!1}else{let f=h>0||h==0&&i?this.nodes[h].type:n&&h>=r?n.node(h-r).type:null;if(!f||f.name!=a&&!f.isInGroup(a))return!1;h--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let n=this.parser.schema.nodes[e];if(n.isTextblock&&n.defaultAttrs)return n}}}function Pt(l){for(let t=l.firstChild,e=null;t;t=t.nextSibling){let n=t.nodeType==1?t.nodeName.toLowerCase():null;n&&ot.hasOwnProperty(n)&&e?(e.appendChild(t),t=e):n=="li"?e=t:n&&(e=null)}}function Bt(l,t){return(l.matches||l.msMatchesSelector||l.webkitMatchesSelector||l.mozMatchesSelector).call(l,t)}function ft(l){let t={};for(let e in l)t[e]=l[e];return t}function ct(l,t){let e=t.schema.nodes;for(let n in e){let i=e[n];if(!i.allowsMarkType(l))continue;let r=[],s=o=>{r.push(o);for(let h=0;h<o.edgeCount;h++){let{type:a,next:f}=o.edge(h);if(a==t||r.indexOf(f)<0&&s(f))return!0}};if(s(i.contentMatch))return!0}}class L{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=W(e).createDocumentFragment());let i=n,r=[];return t.forEach(s=>{if(r.length||s.marks.length){let o=0,h=0;for(;o<r.length&&h<s.marks.length;){let a=s.marks[h];if(!this.marks[a.type.name]){h++;continue}if(!a.eq(r[o][0])||a.type.spec.spanning===!1)break;o++,h++}for(;o<r.length;)i=r.pop()[1];for(;h<s.marks.length;){let a=s.marks[h++],f=this.serializeMark(a,s.isInline,e);f&&(r.push([a,i]),i.appendChild(f.dom),i=f.contentDOM||f.dom)}}i.appendChild(this.serializeNodeInner(s,e))}),n}serializeNodeInner(t,e){let{dom:n,contentDOM:i}=P(W(e),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,e,i)}return n}serializeNode(t,e={}){let n=this.serializeNodeInner(t,e);for(let i=t.marks.length-1;i>=0;i--){let r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name];return i&&P(W(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return P(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new L(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=ut(t.nodes);return e.text||(e.text=n=>n.text),e}static marksFromSchema(t){return ut(t.marks)}}y("D",L);function ut(l){let t={};for(let e in l){let n=l[e].spec.toDOM;n&&(t[e]=n)}return t}function W(l){return l.document||window.document}const pt=new WeakMap;function Ft(l){let t=pt.get(l);return t===void 0&&pt.set(l,t=Jt(l)),t}function Jt(l){let t=null;function e(n){if(n&&typeof n=="object")if(Array.isArray(n))if(typeof n[0]=="string")t||(t=[]),t.push(n);else for(let i=0;i<n.length;i++)e(n[i]);else for(let i in n)e(n[i])}return e(l),t}function P(l,t,e,n){if(typeof t=="string")return{dom:l.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let i=t[0],r;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(n&&(r=Ft(n))&&r.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s=i.indexOf(" ");s>0&&(e=i.slice(0,s),i=i.slice(s+1));let o,h=e?l.createElementNS(e,i):l.createElement(i),a=t[1],f=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){f=2;for(let p in a)if(a[p]!=null){let x=p.indexOf(" ");x>0?h.setAttributeNS(p.slice(0,x),p.slice(x+1),a[p]):h.setAttribute(p,a[p])}}for(let p=f;p<t.length;p++){let x=t[p];if(x===0){if(p<t.length-1||p>f)throw new RangeError("Content hole must be the only child of its parent node");return{dom:h,contentDOM:h}}else{let{dom:qt,contentDOM:dt}=P(l,x,e,n);if(h.appendChild(qt),dt){if(o)throw new RangeError("Multiple content holes");o=dt}}}return{dom:h,contentDOM:o}}}}});
@@ -0,0 +1 @@
1
+ System.register(["./prosemirror-transform-VaXuT0NM.system.js","./prosemirror-model-DTWK5xnv.system.js"],function(L,j){"use strict";var I,w,S,C,R,u,y,$;return{setters:[c=>{I=c.b,w=c.f,S=c.l,C=c.c,R=c.a},c=>{u=c.F,y=c.b,$=c.c}],execute:function(){L({l:k,s:V,w:c});function c(o,t=null){return function(e,l){let{$from:r,$to:n}=e.selection,i=r.blockRange(n);if(!i)return!1;let f=l?e.tr:null;return b(f,i,o,t)?(l&&l(f.scrollIntoView()),!0):!1}}function b(o,t,e,l=null){let r=!1,n=t,i=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(e)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let s=i.resolve(t.start-2);n=new $(s,s,t.depth),t.endIndex<t.parent.childCount&&(t=new $(t.$from,i.resolve(t.$to.end(t.depth)),t.depth)),r=!0}let f=w(n,e,l,t);return f?(o&&v(o,t,f,r,e),!0):!1}function v(o,t,e,l,r){let n=u.empty;for(let d=e.length-1;d>=0;d--)n=u.from(e[d].type.create(e[d].attrs,n));o.step(new I(t.start-(l?2:0),t.end,t.start,t.end,new y(n,0,0),e.length,!0));let i=0;for(let d=0;d<e.length;d++)e[d].type==r&&(i=d+1);let f=e.length-i,s=t.start+e.length-(l?2:0),p=t.parent;for(let d=t.startIndex,a=t.endIndex,m=!0;d<a;d++,m=!1)!m&&R(o.doc,s,f)&&(o.split(s,f),s+=2*f),s+=p.child(d).nodeSize;return o}function k(o){return function(t,e){let{$from:l,$to:r}=t.selection,n=l.blockRange(r,i=>i.childCount>0&&i.firstChild.type==o);return n?e?l.node(n.depth-1).type==o?z(t,e,o,n):O(t,e,n):!0:!1}}function z(o,t,e,l){let r=o.tr,n=l.end,i=l.$to.end(l.depth);n<i&&(r.step(new I(n-1,i,n,i,new y(u.from(e.create(null,l.parent.copy())),1,0),1,!0)),l=new $(r.doc.resolve(l.$from.pos),r.doc.resolve(i),l.depth));const f=S(l);if(f==null)return!1;r.lift(l,f);let s=r.mapping.map(n,-1)-1;return C(r.doc,s)&&r.join(s),t(r.scrollIntoView()),!0}function O(o,t,e){let l=o.tr,r=e.parent;for(let h=e.end,x=e.endIndex-1,A=e.startIndex;x>A;x--)h-=r.child(x).nodeSize,l.delete(h-1,h+1);let n=l.doc.resolve(e.start),i=n.nodeAfter;if(l.mapping.map(e.end)!=e.start+n.nodeAfter.nodeSize)return!1;let f=e.startIndex==0,s=e.endIndex==r.childCount,p=n.node(-1),d=n.index(-1);if(!p.canReplace(d+(f?0:1),d+1,i.content.append(s?u.empty:u.from(r))))return!1;let a=n.pos,m=a+i.nodeSize;return l.step(new I(a-(f?1:0),m+(s?1:0),a+1,m-1,new y((f?u.empty:u.from(r.copy(u.empty))).append(s?u.empty:u.from(r.copy(u.empty))),f?0:1,s?0:1),f?0:1)),t(l.scrollIntoView()),!0}function V(o){return function(t,e){let{$from:l,$to:r}=t.selection,n=l.blockRange(r,p=>p.childCount>0&&p.firstChild.type==o);if(!n)return!1;let i=n.startIndex;if(i==0)return!1;let f=n.parent,s=f.child(i-1);if(s.type!=o)return!1;if(e){let p=s.lastChild&&s.lastChild.type==f.type,d=u.from(p?o.create():null),a=new y(u.from(o.create(null,u.from(f.type.create(null,d)))),p?3:1,0),m=n.start,h=n.end;e(t.tr.step(new I(m-(p?3:1),h,m,h,a,1,!0)).scrollIntoView())}return!0}}}}});
@@ -0,0 +1,87 @@
1
+ import { b as h, f as y, l as C, c as L, a as R } from "./prosemirror-transform-DvAmofec.es.js";
2
+ import { F as u, b as I, c as x } from "./prosemirror-model-D2n-Dx_L.es.js";
3
+ function V(r, t = null) {
4
+ return function(e, l) {
5
+ let { $from: o, $to: n } = e.selection, f = o.blockRange(n);
6
+ if (!f)
7
+ return !1;
8
+ let i = l ? e.tr : null;
9
+ return S(i, f, r, t) ? (l && l(i.scrollIntoView()), !0) : !1;
10
+ };
11
+ }
12
+ function S(r, t, e, l = null) {
13
+ let o = !1, n = t, f = t.$from.doc;
14
+ if (t.depth >= 2 && t.$from.node(t.depth - 1).type.compatibleContent(e) && t.startIndex == 0) {
15
+ if (t.$from.index(t.depth - 1) == 0)
16
+ return !1;
17
+ let d = f.resolve(t.start - 2);
18
+ n = new x(d, d, t.depth), t.endIndex < t.parent.childCount && (t = new x(t.$from, f.resolve(t.$to.end(t.depth)), t.depth)), o = !0;
19
+ }
20
+ let i = y(n, e, l, t);
21
+ return i ? (r && b(r, t, i, o, e), !0) : !1;
22
+ }
23
+ function b(r, t, e, l, o) {
24
+ let n = u.empty;
25
+ for (let s = e.length - 1; s >= 0; s--)
26
+ n = u.from(e[s].type.create(e[s].attrs, n));
27
+ r.step(new h(t.start - (l ? 2 : 0), t.end, t.start, t.end, new I(n, 0, 0), e.length, !0));
28
+ let f = 0;
29
+ for (let s = 0; s < e.length; s++)
30
+ e[s].type == o && (f = s + 1);
31
+ let i = e.length - f, d = t.start + e.length - (l ? 2 : 0), c = t.parent;
32
+ for (let s = t.startIndex, a = t.endIndex, p = !0; s < a; s++, p = !1)
33
+ !p && R(r.doc, d, i) && (r.split(d, i), d += 2 * i), d += c.child(s).nodeSize;
34
+ return r;
35
+ }
36
+ function A(r) {
37
+ return function(t, e) {
38
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (f) => f.childCount > 0 && f.firstChild.type == r);
39
+ return n ? e ? l.node(n.depth - 1).type == r ? v(t, e, r, n) : k(t, e, n) : !0 : !1;
40
+ };
41
+ }
42
+ function v(r, t, e, l) {
43
+ let o = r.tr, n = l.end, f = l.$to.end(l.depth);
44
+ n < f && (o.step(new h(n - 1, f, n, f, new I(u.from(e.create(null, l.parent.copy())), 1, 0), 1, !0)), l = new x(o.doc.resolve(l.$from.pos), o.doc.resolve(f), l.depth));
45
+ const i = C(l);
46
+ if (i == null)
47
+ return !1;
48
+ o.lift(l, i);
49
+ let d = o.mapping.map(n, -1) - 1;
50
+ return L(o.doc, d) && o.join(d), t(o.scrollIntoView()), !0;
51
+ }
52
+ function k(r, t, e) {
53
+ let l = r.tr, o = e.parent;
54
+ for (let m = e.end, $ = e.endIndex - 1, w = e.startIndex; $ > w; $--)
55
+ m -= o.child($).nodeSize, l.delete(m - 1, m + 1);
56
+ let n = l.doc.resolve(e.start), f = n.nodeAfter;
57
+ if (l.mapping.map(e.end) != e.start + n.nodeAfter.nodeSize)
58
+ return !1;
59
+ let i = e.startIndex == 0, d = e.endIndex == o.childCount, c = n.node(-1), s = n.index(-1);
60
+ if (!c.canReplace(s + (i ? 0 : 1), s + 1, f.content.append(d ? u.empty : u.from(o))))
61
+ return !1;
62
+ let a = n.pos, p = a + f.nodeSize;
63
+ return l.step(new h(a - (i ? 1 : 0), p + (d ? 1 : 0), a + 1, p - 1, new I((i ? u.empty : u.from(o.copy(u.empty))).append(d ? u.empty : u.from(o.copy(u.empty))), i ? 0 : 1, d ? 0 : 1), i ? 0 : 1)), t(l.scrollIntoView()), !0;
64
+ }
65
+ function B(r) {
66
+ return function(t, e) {
67
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (c) => c.childCount > 0 && c.firstChild.type == r);
68
+ if (!n)
69
+ return !1;
70
+ let f = n.startIndex;
71
+ if (f == 0)
72
+ return !1;
73
+ let i = n.parent, d = i.child(f - 1);
74
+ if (d.type != r)
75
+ return !1;
76
+ if (e) {
77
+ let c = d.lastChild && d.lastChild.type == i.type, s = u.from(c ? r.create() : null), a = new I(u.from(r.create(null, u.from(i.type.create(null, s)))), c ? 3 : 1, 0), p = n.start, m = n.end;
78
+ e(t.tr.step(new h(p - (c ? 3 : 1), m, p, m, a, 1, !0)).scrollIntoView());
79
+ }
80
+ return !0;
81
+ };
82
+ }
83
+ export {
84
+ A as l,
85
+ B as s,
86
+ V as w
87
+ };