@vc-shell/framework 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/core/composables/useDynamicProperties/index.ts +5 -9
  2. package/dist/assets/042c75b764bc78a7.svg +1 -0
  3. package/dist/assets/0ba156439a339f2a.svg +1 -0
  4. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  5. package/dist/assets/0f590f8a94577092.svg +1 -0
  6. package/dist/assets/0fc5820f8be53a1b.svg +1 -0
  7. package/dist/assets/105efd028edc1dfe.woff +0 -0
  8. package/dist/assets/10768e2cc79fc60b.svg +1 -0
  9. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  10. package/dist/assets/154365acf3010d96.woff2 +0 -0
  11. package/dist/assets/157b8721e0600ea8.svg +1 -0
  12. package/dist/assets/15e91cdd649cde9a.svg +1 -0
  13. package/dist/assets/19275e398ae57130.woff2 +0 -0
  14. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  15. package/dist/assets/1de63eb118636cce.svg +1 -0
  16. package/dist/assets/1ea01de36eb5491b.svg +1 -0
  17. package/dist/assets/204eaf512fde2023.svg +1 -0
  18. package/dist/assets/2088983edf42e153.svg +1 -0
  19. package/dist/assets/208f810a9321a327.svg +1 -0
  20. package/dist/assets/21220a9d10e6c558.svg +1 -0
  21. package/dist/assets/220db345a102045d.woff2 +0 -0
  22. package/dist/assets/225da11d23968333.svg +1 -0
  23. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  24. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  25. package/dist/assets/259e6ad461a52ad7.svg +1 -0
  26. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  27. package/dist/assets/262f46a0b6d94bb6.svg +1 -0
  28. package/dist/assets/2857c513073467da.svg +1 -0
  29. package/dist/assets/2b3be7889467d98f.woff +0 -0
  30. package/dist/assets/2d4e6190eec72737.svg +1 -0
  31. package/dist/assets/2eba973185078bc8.woff +0 -0
  32. package/dist/assets/334d3f6bc766c516.woff +0 -0
  33. package/dist/assets/34ff7dd0c2285956.svg +1 -0
  34. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  35. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  36. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  37. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  38. package/dist/assets/41275bcb979cb650.svg +1 -0
  39. package/dist/assets/434f7982590e462f.woff +0 -0
  40. package/dist/assets/475937116ee3314a.woff2 +0 -0
  41. package/dist/assets/489710fb710e73f0.woff +0 -0
  42. package/dist/assets/49791943b3872376.woff2 +0 -0
  43. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  44. package/dist/assets/4d7a77b0e5373992.svg +1 -0
  45. package/dist/assets/4e43c74354534fb3.svg +1 -0
  46. package/dist/assets/4fe75f5117100705.svg +1 -0
  47. package/dist/assets/52e261a005074e1b.woff +0 -0
  48. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  49. package/dist/assets/54cda5482c6c9218.woff +0 -0
  50. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  51. package/dist/assets/572bb1bb4156a9c1.svg +1 -0
  52. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  53. package/dist/assets/617c4736236e199e.woff +0 -0
  54. package/dist/assets/67230f05dc94a265.svg +1 -0
  55. package/dist/assets/6798e4dd4add9b48.svg +1 -0
  56. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  57. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  58. package/dist/assets/6a3e73faf406cf33.svg +1 -0
  59. package/dist/assets/72de3a63bc0b70dd.svg +1 -0
  60. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  61. package/dist/assets/74ed5f8a78e71106.svg +1 -0
  62. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  63. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  64. package/dist/assets/7d55399c2a7bc985.svg +1 -0
  65. package/dist/assets/7d970675c69fca1d.woff +0 -0
  66. package/dist/assets/7eda727273fd98d3.svg +1 -0
  67. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  68. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  69. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  70. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  71. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  72. package/dist/assets/910b0d99b9e26568.svg +1 -0
  73. package/dist/assets/91fe94e424323d61.woff +0 -0
  74. package/dist/assets/92508f8707159b51.svg +1 -0
  75. package/dist/assets/9392bf1d591e1abb.svg +1 -0
  76. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  77. package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
  78. package/dist/assets/9d37314695c0b68d.woff +0 -0
  79. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  80. package/dist/assets/a18404194e3f9047.svg +1 -0
  81. package/dist/assets/a2017fe7f0a26510.svg +1 -0
  82. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  83. package/dist/assets/abf88f301a0730f4.svg +1 -0
  84. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  85. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  86. package/dist/assets/b1a596e31ad1185a.svg +1 -0
  87. package/dist/assets/b27767411c8427be.woff +0 -0
  88. package/dist/assets/b325adcae33bbe7a.svg +1 -0
  89. package/dist/assets/b372390551ca2fa1.svg +1 -0
  90. package/dist/assets/b5bb1e8fc975decd.svg +1 -0
  91. package/dist/assets/b645a4a2181b9dc1.svg +1 -0
  92. package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
  93. package/dist/assets/b94421fadd23b0f2.svg +1 -0
  94. package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
  95. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  96. package/dist/assets/ca791c5ca5848a03.svg +1 -0
  97. package/dist/assets/cb32840ce330103f.woff +0 -0
  98. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  99. package/dist/assets/d084bda16abe8a56.svg +1 -0
  100. package/dist/assets/d32b129cae2fffd6.svg +1 -0
  101. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  102. package/dist/assets/d3f792f54ae4c307.svg +1 -0
  103. package/dist/assets/d5a5b8630120073d.svg +1 -0
  104. package/dist/assets/d5f9664ebbfb104b.svg +1 -0
  105. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  106. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  107. package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
  108. package/dist/assets/e2ad5b3428289141.woff +0 -0
  109. package/dist/assets/e38acaa1757232e0.svg +1 -0
  110. package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
  111. package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
  112. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  113. package/dist/assets/e72bb11356af94c7.svg +1 -0
  114. package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
  115. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  116. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  117. package/dist/assets/f09d89268e4c0317.svg +1 -0
  118. package/dist/assets/f239394367fcf005.woff2 +0 -0
  119. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  120. package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
  121. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  122. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  123. package/dist/assets/fed13b0d59903483.svg +1 -0
  124. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  125. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  126. package/dist/core/composables/useDynamicProperties/index.d.ts +1 -1
  127. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  128. package/dist/framework.js +25035 -0
  129. package/dist/index.css +9 -0
  130. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
  131. package/dist/shared/components/notifications/components/notification-container/index.d.ts +10 -10
  132. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  133. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  134. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +4 -4
  135. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  136. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  137. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  138. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  139. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  140. package/dist/tsconfig.tsbuildinfo +1 -1
  141. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  142. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  143. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  144. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  145. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  146. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  147. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  148. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +1 -1
  149. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
  150. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  151. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
  152. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  153. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +1 -1
  154. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  155. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  156. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  157. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  158. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
  159. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  160. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  161. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
  162. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  163. package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
  164. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  165. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  166. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  167. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  168. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  169. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +5 -5
  170. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  171. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  172. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  173. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  174. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  175. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
  176. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
  177. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +3 -3
  178. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +1 -1
  179. package/dist/vendor-boolbase-A_-Pp38P.js +23 -0
  180. package/dist/vendor-cheerio-C46iBpCu.js +1053 -0
  181. package/dist/vendor-cheerio-select-C8emRZsx.js +191 -0
  182. package/dist/vendor-core-js-DDuR6YMQ.js +1206 -0
  183. package/dist/vendor-css-select-DR9bp36p.js +622 -0
  184. package/dist/vendor-css-what-CZZaquJM.js +267 -0
  185. package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +769 -0
  186. package/dist/vendor-date-fns-sZ1zMzTH.js +3008 -0
  187. package/dist/vendor-dom-serializer-Sk3xHhQk.js +213 -0
  188. package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
  189. package/dist/vendor-domhandler-CL40eeX9.js +311 -0
  190. package/dist/vendor-dompurify-BuxjWxA2.js +553 -0
  191. package/dist/vendor-domutils-BiVCXO8c.js +386 -0
  192. package/dist/vendor-entities-CCReaWqU.js +364 -0
  193. package/dist/vendor-floating-ui-core-Cl9nBI4j.js +349 -0
  194. package/dist/vendor-floating-ui-dom-3z44E4mf.js +395 -0
  195. package/dist/vendor-floating-ui-utils-D2sT7feD.js +259 -0
  196. package/dist/vendor-floating-ui-vue-ClrgkeO5.js +107 -0
  197. package/dist/vendor-headlessui-vue-D7tzx4PC.js +961 -0
  198. package/dist/vendor-htmlparser2-CpQu33io.js +735 -0
  199. package/dist/vendor-intlify-core-base-Da62SG4M.js +1130 -0
  200. package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +952 -0
  201. package/dist/vendor-intlify-shared-jWBPd9WB.js +144 -0
  202. package/dist/vendor-iso-639-1-BJO6WZAt.js +781 -0
  203. package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
  204. package/dist/vendor-linkifyjs-dCH9UYes.js +701 -0
  205. package/dist/vendor-lodash-es-BqkGj3Jl.js +4816 -0
  206. package/dist/vendor-lucide-vue-next-m0L4DzUL.js +29780 -0
  207. package/dist/vendor-markdown-it-Czg9qJTh.js +2263 -0
  208. package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +69 -0
  209. package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
  210. package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +1207 -0
  211. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +261 -0
  212. package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +1822 -0
  213. package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +1921 -0
  214. package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +4276 -0
  215. package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +1407 -0
  216. package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +572 -0
  217. package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
  218. package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +487 -0
  219. package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
  220. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
  221. package/dist/vendor-moment-DMLRxgRE.js +2589 -0
  222. package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +261 -0
  223. package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
  224. package/dist/vendor-nth-check-CS1D-zr5.js +45 -0
  225. package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
  226. package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +143 -0
  227. package/dist/vendor-parse5-zq5Hn0y9.js +5749 -0
  228. package/dist/vendor-prettier-cZc5sCiS.js +4875 -0
  229. package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +385 -0
  230. package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +86 -0
  231. package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +203 -0
  232. package/dist/vendor-prosemirror-history-DzRcbrCw.js +248 -0
  233. package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +62 -0
  234. package/dist/vendor-prosemirror-markdown-OyxRuawK.js +650 -0
  235. package/dist/vendor-prosemirror-model-DFp4ML7B.js +2730 -0
  236. package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +87 -0
  237. package/dist/vendor-prosemirror-state-DHaVEu5h.js +821 -0
  238. package/dist/vendor-prosemirror-tables-mYok4vGT.js +1711 -0
  239. package/dist/vendor-prosemirror-transform-CAHmg-qG.js +1508 -0
  240. package/dist/vendor-prosemirror-view-CspJa44O.js +3751 -0
  241. package/dist/vendor-punycode-js-CgGegfA_.js +133 -0
  242. package/dist/vendor-rope-sequence-BWC2FSrq.js +100 -0
  243. package/dist/vendor-semver-Dar8oU3V.js +1023 -0
  244. package/dist/vendor-swiper-1bp0oJwt.js +3387 -0
  245. package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +1 -0
  246. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
  247. package/dist/vendor-tiptap-core-8RGSOCZs.js +3442 -0
  248. package/dist/vendor-tiptap-extension-blockquote-BVmAuV7o.js +54 -0
  249. package/dist/vendor-tiptap-extension-bold-BOh8AIRZ.js +74 -0
  250. package/dist/vendor-tiptap-extension-code-R4pc2wFE.js +52 -0
  251. package/dist/vendor-tiptap-extension-code-block-DibKlZFG.js +215 -0
  252. package/dist/vendor-tiptap-extension-document-BwORJR1k.js +12 -0
  253. package/dist/vendor-tiptap-extension-hard-break-DH36OfVk.js +55 -0
  254. package/dist/vendor-tiptap-extension-heading-oMLORiPI.js +63 -0
  255. package/dist/vendor-tiptap-extension-horizontal-rule-BMHSoB_Y.js +56 -0
  256. package/dist/vendor-tiptap-extension-image-DF1ZJ94q.js +80 -0
  257. package/dist/vendor-tiptap-extension-italic-BzqrUuB0.js +73 -0
  258. package/dist/vendor-tiptap-extension-link-hMFZ0hfl.js +298 -0
  259. package/dist/vendor-tiptap-extension-list-Bj5AK6Pq.js +707 -0
  260. package/dist/vendor-tiptap-extension-paragraph-Bs1wl42E.js +41 -0
  261. package/dist/vendor-tiptap-extension-placeholder-CupUGaI_.js +1 -0
  262. package/dist/vendor-tiptap-extension-strike-C4YpGyzc.js +64 -0
  263. package/dist/vendor-tiptap-extension-table-D8RFr_6X.js +368 -0
  264. package/dist/vendor-tiptap-extension-table-cell-k9uLwyL6.js +1 -0
  265. package/dist/vendor-tiptap-extension-table-header-k9uLwyL6.js +1 -0
  266. package/dist/vendor-tiptap-extension-table-row-k9uLwyL6.js +1 -0
  267. package/dist/vendor-tiptap-extension-text-C4dQW13r.js +13 -0
  268. package/dist/vendor-tiptap-extension-text-style-a_NYjXT6.js +235 -0
  269. package/dist/vendor-tiptap-extension-underline-DthCaPX3.js +65 -0
  270. package/dist/vendor-tiptap-extensions-C8rF1qdq.js +290 -0
  271. package/dist/vendor-tiptap-markdown-DRc3qhBU.js +826 -0
  272. package/dist/vendor-tiptap-pm-d91nGny8.js +1 -0
  273. package/dist/vendor-tiptap-starter-kit-BfUUblkP.js +28 -0
  274. package/dist/vendor-tiptap-vue-3-DYxT2sf6.js +157 -0
  275. package/dist/vendor-truncate-html-DYC0Lj9o.js +145 -0
  276. package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
  277. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
  278. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
  279. package/dist/vendor-vue-currency-input-BqaYAdhD.js +317 -0
  280. package/dist/vendor-vue-demi-CD9yLWd7.js +1 -0
  281. package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
  282. package/dist/vendor-vue-i18n-CO5LWKE0.js +1370 -0
  283. package/dist/vendor-vue3-application-insights-BKiiWnf2.js +69 -0
  284. package/dist/vendor-vue3-touch-events-DqysuuWh.js +169 -0
  285. package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +4998 -0
  286. package/dist/vendor-vueuse-components-B0zqjNRW.js +542 -0
  287. package/dist/vendor-vueuse-core-CYgwn-B2.js +5130 -0
  288. package/dist/vendor-vueuse-shared-B_uDJJ6V.js +1169 -0
  289. package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
  290. package/package.json +5 -5
@@ -0,0 +1,735 @@
1
+ import { x as _, h as D, d as L, B as T, r as V, f as E } from "./vendor-entities-CCReaWqU.js";
2
+ import { f as F } from "./vendor-domhandler-CL40eeX9.js";
3
+ var a;
4
+ (function(e) {
5
+ e[e.Tab = 9] = "Tab", e[e.NewLine = 10] = "NewLine", e[e.FormFeed = 12] = "FormFeed", e[e.CarriageReturn = 13] = "CarriageReturn", e[e.Space = 32] = "Space", e[e.ExclamationMark = 33] = "ExclamationMark", e[e.Number = 35] = "Number", e[e.Amp = 38] = "Amp", e[e.SingleQuote = 39] = "SingleQuote", e[e.DoubleQuote = 34] = "DoubleQuote", e[e.Dash = 45] = "Dash", e[e.Slash = 47] = "Slash", e[e.Zero = 48] = "Zero", e[e.Nine = 57] = "Nine", e[e.Semi = 59] = "Semi", e[e.Lt = 60] = "Lt", e[e.Eq = 61] = "Eq", e[e.Gt = 62] = "Gt", e[e.Questionmark = 63] = "Questionmark", e[e.UpperA = 65] = "UpperA", e[e.LowerA = 97] = "LowerA", e[e.UpperF = 70] = "UpperF", e[e.LowerF = 102] = "LowerF", e[e.UpperZ = 90] = "UpperZ", e[e.LowerZ = 122] = "LowerZ", e[e.LowerX = 120] = "LowerX", e[e.OpeningSquareBracket = 91] = "OpeningSquareBracket";
6
+ })(a || (a = {}));
7
+ var i;
8
+ (function(e) {
9
+ e[e.Text = 1] = "Text", e[e.BeforeTagName = 2] = "BeforeTagName", e[e.InTagName = 3] = "InTagName", e[e.InSelfClosingTag = 4] = "InSelfClosingTag", e[e.BeforeClosingTagName = 5] = "BeforeClosingTagName", e[e.InClosingTagName = 6] = "InClosingTagName", e[e.AfterClosingTagName = 7] = "AfterClosingTagName", e[e.BeforeAttributeName = 8] = "BeforeAttributeName", e[e.InAttributeName = 9] = "InAttributeName", e[e.AfterAttributeName = 10] = "AfterAttributeName", e[e.BeforeAttributeValue = 11] = "BeforeAttributeValue", e[e.InAttributeValueDq = 12] = "InAttributeValueDq", e[e.InAttributeValueSq = 13] = "InAttributeValueSq", e[e.InAttributeValueNq = 14] = "InAttributeValueNq", e[e.BeforeDeclaration = 15] = "BeforeDeclaration", e[e.InDeclaration = 16] = "InDeclaration", e[e.InProcessingInstruction = 17] = "InProcessingInstruction", e[e.BeforeComment = 18] = "BeforeComment", e[e.CDATASequence = 19] = "CDATASequence", e[e.InSpecialComment = 20] = "InSpecialComment", e[e.InCommentLike = 21] = "InCommentLike", e[e.BeforeSpecialS = 22] = "BeforeSpecialS", e[e.SpecialStartSequence = 23] = "SpecialStartSequence", e[e.InSpecialTag = 24] = "InSpecialTag", e[e.BeforeEntity = 25] = "BeforeEntity", e[e.BeforeNumericEntity = 26] = "BeforeNumericEntity", e[e.InNamedEntity = 27] = "InNamedEntity", e[e.InNumericEntity = 28] = "InNumericEntity", e[e.InHexEntity = 29] = "InHexEntity";
10
+ })(i || (i = {}));
11
+ function b(e) {
12
+ return e === a.Space || e === a.NewLine || e === a.Tab || e === a.FormFeed || e === a.CarriageReturn;
13
+ }
14
+ function S(e) {
15
+ return e === a.Slash || e === a.Gt || b(e);
16
+ }
17
+ function y(e) {
18
+ return e >= a.Zero && e <= a.Nine;
19
+ }
20
+ function U(e) {
21
+ return e >= a.LowerA && e <= a.LowerZ || e >= a.UpperA && e <= a.UpperZ;
22
+ }
23
+ function G(e) {
24
+ return e >= a.UpperA && e <= a.UpperF || e >= a.LowerA && e <= a.LowerF;
25
+ }
26
+ var d;
27
+ (function(e) {
28
+ e[e.NoValue = 0] = "NoValue", e[e.Unquoted = 1] = "Unquoted", e[e.Single = 2] = "Single", e[e.Double = 3] = "Double";
29
+ })(d || (d = {}));
30
+ const u = {
31
+ Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
32
+ CdataEnd: new Uint8Array([93, 93, 62]),
33
+ CommentEnd: new Uint8Array([45, 45, 62]),
34
+ ScriptEnd: new Uint8Array([60, 47, 115, 99, 114, 105, 112, 116]),
35
+ StyleEnd: new Uint8Array([60, 47, 115, 116, 121, 108, 101]),
36
+ TitleEnd: new Uint8Array([60, 47, 116, 105, 116, 108, 101])
37
+ // `</title`
38
+ };
39
+ class O {
40
+ constructor({ xmlMode: t = !1, decodeEntities: s = !0 }, n) {
41
+ this.cbs = n, this.state = i.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = i.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.trieIndex = 0, this.trieCurrent = 0, this.entityResult = 0, this.entityExcess = 0, this.xmlMode = t, this.decodeEntities = s, this.entityTrie = t ? _ : D;
42
+ }
43
+ reset() {
44
+ this.state = i.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = i.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
45
+ }
46
+ write(t) {
47
+ this.offset += this.buffer.length, this.buffer = t, this.parse();
48
+ }
49
+ end() {
50
+ this.running && this.finish();
51
+ }
52
+ pause() {
53
+ this.running = !1;
54
+ }
55
+ resume() {
56
+ this.running = !0, this.index < this.buffer.length + this.offset && this.parse();
57
+ }
58
+ /**
59
+ * The current index within all of the written data.
60
+ */
61
+ getIndex() {
62
+ return this.index;
63
+ }
64
+ /**
65
+ * The start of the current section.
66
+ */
67
+ getSectionStart() {
68
+ return this.sectionStart;
69
+ }
70
+ stateText(t) {
71
+ t === a.Lt || !this.decodeEntities && this.fastForwardTo(a.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = i.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && t === a.Amp && (this.state = i.BeforeEntity);
72
+ }
73
+ stateSpecialStartSequence(t) {
74
+ const s = this.sequenceIndex === this.currentSequence.length;
75
+ if (!(s ? (
76
+ // If we are at the end of the sequence, make sure the tag name has ended
77
+ S(t)
78
+ ) : (
79
+ // Otherwise, do a case-insensitive comparison
80
+ (t | 32) === this.currentSequence[this.sequenceIndex]
81
+ )))
82
+ this.isSpecial = !1;
83
+ else if (!s) {
84
+ this.sequenceIndex++;
85
+ return;
86
+ }
87
+ this.sequenceIndex = 0, this.state = i.InTagName, this.stateInTagName(t);
88
+ }
89
+ /** Look for an end tag. For <title> tags, also decode entities. */
90
+ stateInSpecialTag(t) {
91
+ if (this.sequenceIndex === this.currentSequence.length) {
92
+ if (t === a.Gt || b(t)) {
93
+ const s = this.index - this.currentSequence.length;
94
+ if (this.sectionStart < s) {
95
+ const n = this.index;
96
+ this.index = s, this.cbs.ontext(this.sectionStart, s), this.index = n;
97
+ }
98
+ this.isSpecial = !1, this.sectionStart = s + 2, this.stateInClosingTagName(t);
99
+ return;
100
+ }
101
+ this.sequenceIndex = 0;
102
+ }
103
+ (t | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === u.TitleEnd ? this.decodeEntities && t === a.Amp && (this.state = i.BeforeEntity) : this.fastForwardTo(a.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(t === a.Lt);
104
+ }
105
+ stateCDATASequence(t) {
106
+ t === u.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === u.Cdata.length && (this.state = i.InCommentLike, this.currentSequence = u.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = i.InDeclaration, this.stateInDeclaration(t));
107
+ }
108
+ /**
109
+ * When we wait for one specific character, we can speed things up
110
+ * by skipping through the buffer until we find it.
111
+ *
112
+ * @returns Whether the character was found.
113
+ */
114
+ fastForwardTo(t) {
115
+ for (; ++this.index < this.buffer.length + this.offset; )
116
+ if (this.buffer.charCodeAt(this.index - this.offset) === t)
117
+ return !0;
118
+ return this.index = this.buffer.length + this.offset - 1, !1;
119
+ }
120
+ /**
121
+ * Comments and CDATA end with `-->` and `]]>`.
122
+ *
123
+ * Their common qualities are:
124
+ * - Their end sequences have a distinct character they start with.
125
+ * - That character is then repeated, so we have to check multiple repeats.
126
+ * - All characters but the start character of the sequence can be skipped.
127
+ */
128
+ stateInCommentLike(t) {
129
+ t === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === u.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = i.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : t !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
130
+ }
131
+ /**
132
+ * HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
133
+ *
134
+ * XML allows a lot more characters here (@see https://www.w3.org/TR/REC-xml/#NT-NameStartChar).
135
+ * We allow anything that wouldn't end the tag.
136
+ */
137
+ isTagStartChar(t) {
138
+ return this.xmlMode ? !S(t) : U(t);
139
+ }
140
+ startSpecial(t, s) {
141
+ this.isSpecial = !0, this.currentSequence = t, this.sequenceIndex = s, this.state = i.SpecialStartSequence;
142
+ }
143
+ stateBeforeTagName(t) {
144
+ if (t === a.ExclamationMark)
145
+ this.state = i.BeforeDeclaration, this.sectionStart = this.index + 1;
146
+ else if (t === a.Questionmark)
147
+ this.state = i.InProcessingInstruction, this.sectionStart = this.index + 1;
148
+ else if (this.isTagStartChar(t)) {
149
+ const s = t | 32;
150
+ this.sectionStart = this.index, !this.xmlMode && s === u.TitleEnd[2] ? this.startSpecial(u.TitleEnd, 3) : this.state = !this.xmlMode && s === u.ScriptEnd[2] ? i.BeforeSpecialS : i.InTagName;
151
+ } else t === a.Slash ? this.state = i.BeforeClosingTagName : (this.state = i.Text, this.stateText(t));
152
+ }
153
+ stateInTagName(t) {
154
+ S(t) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = i.BeforeAttributeName, this.stateBeforeAttributeName(t));
155
+ }
156
+ stateBeforeClosingTagName(t) {
157
+ b(t) || (t === a.Gt ? this.state = i.Text : (this.state = this.isTagStartChar(t) ? i.InClosingTagName : i.InSpecialComment, this.sectionStart = this.index));
158
+ }
159
+ stateInClosingTagName(t) {
160
+ (t === a.Gt || b(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = i.AfterClosingTagName, this.stateAfterClosingTagName(t));
161
+ }
162
+ stateAfterClosingTagName(t) {
163
+ (t === a.Gt || this.fastForwardTo(a.Gt)) && (this.state = i.Text, this.baseState = i.Text, this.sectionStart = this.index + 1);
164
+ }
165
+ stateBeforeAttributeName(t) {
166
+ t === a.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = i.InSpecialTag, this.sequenceIndex = 0) : this.state = i.Text, this.baseState = this.state, this.sectionStart = this.index + 1) : t === a.Slash ? this.state = i.InSelfClosingTag : b(t) || (this.state = i.InAttributeName, this.sectionStart = this.index);
167
+ }
168
+ stateInSelfClosingTag(t) {
169
+ t === a.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = i.Text, this.baseState = i.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : b(t) || (this.state = i.BeforeAttributeName, this.stateBeforeAttributeName(t));
170
+ }
171
+ stateInAttributeName(t) {
172
+ (t === a.Eq || S(t)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = -1, this.state = i.AfterAttributeName, this.stateAfterAttributeName(t));
173
+ }
174
+ stateAfterAttributeName(t) {
175
+ t === a.Eq ? this.state = i.BeforeAttributeValue : t === a.Slash || t === a.Gt ? (this.cbs.onattribend(d.NoValue, this.index), this.state = i.BeforeAttributeName, this.stateBeforeAttributeName(t)) : b(t) || (this.cbs.onattribend(d.NoValue, this.index), this.state = i.InAttributeName, this.sectionStart = this.index);
176
+ }
177
+ stateBeforeAttributeValue(t) {
178
+ t === a.DoubleQuote ? (this.state = i.InAttributeValueDq, this.sectionStart = this.index + 1) : t === a.SingleQuote ? (this.state = i.InAttributeValueSq, this.sectionStart = this.index + 1) : b(t) || (this.sectionStart = this.index, this.state = i.InAttributeValueNq, this.stateInAttributeValueNoQuotes(t));
179
+ }
180
+ handleInAttributeValue(t, s) {
181
+ t === s || !this.decodeEntities && this.fastForwardTo(s) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(s === a.DoubleQuote ? d.Double : d.Single, this.index), this.state = i.BeforeAttributeName) : this.decodeEntities && t === a.Amp && (this.baseState = this.state, this.state = i.BeforeEntity);
182
+ }
183
+ stateInAttributeValueDoubleQuotes(t) {
184
+ this.handleInAttributeValue(t, a.DoubleQuote);
185
+ }
186
+ stateInAttributeValueSingleQuotes(t) {
187
+ this.handleInAttributeValue(t, a.SingleQuote);
188
+ }
189
+ stateInAttributeValueNoQuotes(t) {
190
+ b(t) || t === a.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(d.Unquoted, this.index), this.state = i.BeforeAttributeName, this.stateBeforeAttributeName(t)) : this.decodeEntities && t === a.Amp && (this.baseState = this.state, this.state = i.BeforeEntity);
191
+ }
192
+ stateBeforeDeclaration(t) {
193
+ t === a.OpeningSquareBracket ? (this.state = i.CDATASequence, this.sequenceIndex = 0) : this.state = t === a.Dash ? i.BeforeComment : i.InDeclaration;
194
+ }
195
+ stateInDeclaration(t) {
196
+ (t === a.Gt || this.fastForwardTo(a.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = i.Text, this.sectionStart = this.index + 1);
197
+ }
198
+ stateInProcessingInstruction(t) {
199
+ (t === a.Gt || this.fastForwardTo(a.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = i.Text, this.sectionStart = this.index + 1);
200
+ }
201
+ stateBeforeComment(t) {
202
+ t === a.Dash ? (this.state = i.InCommentLike, this.currentSequence = u.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = i.InDeclaration;
203
+ }
204
+ stateInSpecialComment(t) {
205
+ (t === a.Gt || this.fastForwardTo(a.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = i.Text, this.sectionStart = this.index + 1);
206
+ }
207
+ stateBeforeSpecialS(t) {
208
+ const s = t | 32;
209
+ s === u.ScriptEnd[3] ? this.startSpecial(u.ScriptEnd, 4) : s === u.StyleEnd[3] ? this.startSpecial(u.StyleEnd, 4) : (this.state = i.InTagName, this.stateInTagName(t));
210
+ }
211
+ stateBeforeEntity(t) {
212
+ this.entityExcess = 1, this.entityResult = 0, t === a.Number ? this.state = i.BeforeNumericEntity : t === a.Amp || (this.trieIndex = 0, this.trieCurrent = this.entityTrie[0], this.state = i.InNamedEntity, this.stateInNamedEntity(t));
213
+ }
214
+ stateInNamedEntity(t) {
215
+ if (this.entityExcess += 1, this.trieIndex = L(this.entityTrie, this.trieCurrent, this.trieIndex + 1, t), this.trieIndex < 0) {
216
+ this.emitNamedEntity(), this.index--;
217
+ return;
218
+ }
219
+ this.trieCurrent = this.entityTrie[this.trieIndex];
220
+ const s = this.trieCurrent & T.VALUE_LENGTH;
221
+ if (s) {
222
+ const n = (s >> 14) - 1;
223
+ if (!this.allowLegacyEntity() && t !== a.Semi)
224
+ this.trieIndex += n;
225
+ else {
226
+ const r = this.index - this.entityExcess + 1;
227
+ r > this.sectionStart && this.emitPartial(this.sectionStart, r), this.entityResult = this.trieIndex, this.trieIndex += n, this.entityExcess = 0, this.sectionStart = this.index + 1, n === 0 && this.emitNamedEntity();
228
+ }
229
+ }
230
+ }
231
+ emitNamedEntity() {
232
+ if (this.state = this.baseState, this.entityResult === 0)
233
+ return;
234
+ switch ((this.entityTrie[this.entityResult] & T.VALUE_LENGTH) >> 14) {
235
+ case 1: {
236
+ this.emitCodePoint(this.entityTrie[this.entityResult] & ~T.VALUE_LENGTH);
237
+ break;
238
+ }
239
+ case 2: {
240
+ this.emitCodePoint(this.entityTrie[this.entityResult + 1]);
241
+ break;
242
+ }
243
+ case 3:
244
+ this.emitCodePoint(this.entityTrie[this.entityResult + 1]), this.emitCodePoint(this.entityTrie[this.entityResult + 2]);
245
+ }
246
+ }
247
+ stateBeforeNumericEntity(t) {
248
+ (t | 32) === a.LowerX ? (this.entityExcess++, this.state = i.InHexEntity) : (this.state = i.InNumericEntity, this.stateInNumericEntity(t));
249
+ }
250
+ emitNumericEntity(t) {
251
+ const s = this.index - this.entityExcess - 1;
252
+ s + 2 + +(this.state === i.InHexEntity) !== this.index && (s > this.sectionStart && this.emitPartial(this.sectionStart, s), this.sectionStart = this.index + Number(t), this.emitCodePoint(V(this.entityResult))), this.state = this.baseState;
253
+ }
254
+ stateInNumericEntity(t) {
255
+ t === a.Semi ? this.emitNumericEntity(!0) : y(t) ? (this.entityResult = this.entityResult * 10 + (t - a.Zero), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state = this.baseState, this.index--);
256
+ }
257
+ stateInHexEntity(t) {
258
+ t === a.Semi ? this.emitNumericEntity(!0) : y(t) ? (this.entityResult = this.entityResult * 16 + (t - a.Zero), this.entityExcess++) : G(t) ? (this.entityResult = this.entityResult * 16 + ((t | 32) - a.LowerA + 10), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state = this.baseState, this.index--);
259
+ }
260
+ allowLegacyEntity() {
261
+ return !this.xmlMode && (this.baseState === i.Text || this.baseState === i.InSpecialTag);
262
+ }
263
+ /**
264
+ * Remove data that has already been consumed from the buffer.
265
+ */
266
+ cleanup() {
267
+ this.running && this.sectionStart !== this.index && (this.state === i.Text || this.state === i.InSpecialTag && this.sequenceIndex === 0 ? (this.cbs.ontext(this.sectionStart, this.index), this.sectionStart = this.index) : (this.state === i.InAttributeValueDq || this.state === i.InAttributeValueSq || this.state === i.InAttributeValueNq) && (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = this.index));
268
+ }
269
+ shouldContinue() {
270
+ return this.index < this.buffer.length + this.offset && this.running;
271
+ }
272
+ /**
273
+ * Iterates through the buffer, calling the function corresponding to the current state.
274
+ *
275
+ * States that are more likely to be hit are higher up, as a performance improvement.
276
+ */
277
+ parse() {
278
+ for (; this.shouldContinue(); ) {
279
+ const t = this.buffer.charCodeAt(this.index - this.offset);
280
+ switch (this.state) {
281
+ case i.Text: {
282
+ this.stateText(t);
283
+ break;
284
+ }
285
+ case i.SpecialStartSequence: {
286
+ this.stateSpecialStartSequence(t);
287
+ break;
288
+ }
289
+ case i.InSpecialTag: {
290
+ this.stateInSpecialTag(t);
291
+ break;
292
+ }
293
+ case i.CDATASequence: {
294
+ this.stateCDATASequence(t);
295
+ break;
296
+ }
297
+ case i.InAttributeValueDq: {
298
+ this.stateInAttributeValueDoubleQuotes(t);
299
+ break;
300
+ }
301
+ case i.InAttributeName: {
302
+ this.stateInAttributeName(t);
303
+ break;
304
+ }
305
+ case i.InCommentLike: {
306
+ this.stateInCommentLike(t);
307
+ break;
308
+ }
309
+ case i.InSpecialComment: {
310
+ this.stateInSpecialComment(t);
311
+ break;
312
+ }
313
+ case i.BeforeAttributeName: {
314
+ this.stateBeforeAttributeName(t);
315
+ break;
316
+ }
317
+ case i.InTagName: {
318
+ this.stateInTagName(t);
319
+ break;
320
+ }
321
+ case i.InClosingTagName: {
322
+ this.stateInClosingTagName(t);
323
+ break;
324
+ }
325
+ case i.BeforeTagName: {
326
+ this.stateBeforeTagName(t);
327
+ break;
328
+ }
329
+ case i.AfterAttributeName: {
330
+ this.stateAfterAttributeName(t);
331
+ break;
332
+ }
333
+ case i.InAttributeValueSq: {
334
+ this.stateInAttributeValueSingleQuotes(t);
335
+ break;
336
+ }
337
+ case i.BeforeAttributeValue: {
338
+ this.stateBeforeAttributeValue(t);
339
+ break;
340
+ }
341
+ case i.BeforeClosingTagName: {
342
+ this.stateBeforeClosingTagName(t);
343
+ break;
344
+ }
345
+ case i.AfterClosingTagName: {
346
+ this.stateAfterClosingTagName(t);
347
+ break;
348
+ }
349
+ case i.BeforeSpecialS: {
350
+ this.stateBeforeSpecialS(t);
351
+ break;
352
+ }
353
+ case i.InAttributeValueNq: {
354
+ this.stateInAttributeValueNoQuotes(t);
355
+ break;
356
+ }
357
+ case i.InSelfClosingTag: {
358
+ this.stateInSelfClosingTag(t);
359
+ break;
360
+ }
361
+ case i.InDeclaration: {
362
+ this.stateInDeclaration(t);
363
+ break;
364
+ }
365
+ case i.BeforeDeclaration: {
366
+ this.stateBeforeDeclaration(t);
367
+ break;
368
+ }
369
+ case i.BeforeComment: {
370
+ this.stateBeforeComment(t);
371
+ break;
372
+ }
373
+ case i.InProcessingInstruction: {
374
+ this.stateInProcessingInstruction(t);
375
+ break;
376
+ }
377
+ case i.InNamedEntity: {
378
+ this.stateInNamedEntity(t);
379
+ break;
380
+ }
381
+ case i.BeforeEntity: {
382
+ this.stateBeforeEntity(t);
383
+ break;
384
+ }
385
+ case i.InHexEntity: {
386
+ this.stateInHexEntity(t);
387
+ break;
388
+ }
389
+ case i.InNumericEntity: {
390
+ this.stateInNumericEntity(t);
391
+ break;
392
+ }
393
+ default:
394
+ this.stateBeforeNumericEntity(t);
395
+ }
396
+ this.index++;
397
+ }
398
+ this.cleanup();
399
+ }
400
+ finish() {
401
+ this.state === i.InNamedEntity && this.emitNamedEntity(), this.sectionStart < this.index && this.handleTrailingData(), this.cbs.onend();
402
+ }
403
+ /** Handle any trailing data. */
404
+ handleTrailingData() {
405
+ const t = this.buffer.length + this.offset;
406
+ this.state === i.InCommentLike ? this.currentSequence === u.CdataEnd ? this.cbs.oncdata(this.sectionStart, t, 0) : this.cbs.oncomment(this.sectionStart, t, 0) : this.state === i.InNumericEntity && this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state === i.InHexEntity && this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state === i.InTagName || this.state === i.BeforeAttributeName || this.state === i.BeforeAttributeValue || this.state === i.AfterAttributeName || this.state === i.InAttributeName || this.state === i.InAttributeValueSq || this.state === i.InAttributeValueDq || this.state === i.InAttributeValueNq || this.state === i.InClosingTagName || this.cbs.ontext(this.sectionStart, t);
407
+ }
408
+ emitPartial(t, s) {
409
+ this.baseState !== i.Text && this.baseState !== i.InSpecialTag ? this.cbs.onattribdata(t, s) : this.cbs.ontext(t, s);
410
+ }
411
+ emitCodePoint(t) {
412
+ this.baseState !== i.Text && this.baseState !== i.InSpecialTag ? this.cbs.onattribentity(t) : this.cbs.ontextentity(t);
413
+ }
414
+ }
415
+ const I = /* @__PURE__ */ new Set([
416
+ "input",
417
+ "option",
418
+ "optgroup",
419
+ "select",
420
+ "button",
421
+ "datalist",
422
+ "textarea"
423
+ ]), h = /* @__PURE__ */ new Set(["p"]), w = /* @__PURE__ */ new Set(["thead", "tbody"]), q = /* @__PURE__ */ new Set(["dd", "dt"]), k = /* @__PURE__ */ new Set(["rt", "rp"]), P = /* @__PURE__ */ new Map([
424
+ ["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
425
+ ["th", /* @__PURE__ */ new Set(["th"])],
426
+ ["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
427
+ ["body", /* @__PURE__ */ new Set(["head", "link", "script"])],
428
+ ["li", /* @__PURE__ */ new Set(["li"])],
429
+ ["p", h],
430
+ ["h1", h],
431
+ ["h2", h],
432
+ ["h3", h],
433
+ ["h4", h],
434
+ ["h5", h],
435
+ ["h6", h],
436
+ ["select", I],
437
+ ["input", I],
438
+ ["output", I],
439
+ ["button", I],
440
+ ["datalist", I],
441
+ ["textarea", I],
442
+ ["option", /* @__PURE__ */ new Set(["option"])],
443
+ ["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
444
+ ["dd", q],
445
+ ["dt", q],
446
+ ["address", h],
447
+ ["article", h],
448
+ ["aside", h],
449
+ ["blockquote", h],
450
+ ["details", h],
451
+ ["div", h],
452
+ ["dl", h],
453
+ ["fieldset", h],
454
+ ["figcaption", h],
455
+ ["figure", h],
456
+ ["footer", h],
457
+ ["form", h],
458
+ ["header", h],
459
+ ["hr", h],
460
+ ["main", h],
461
+ ["nav", h],
462
+ ["ol", h],
463
+ ["pre", h],
464
+ ["section", h],
465
+ ["table", h],
466
+ ["ul", h],
467
+ ["rt", k],
468
+ ["rp", k],
469
+ ["tbody", w],
470
+ ["tfoot", w]
471
+ ]), R = /* @__PURE__ */ new Set([
472
+ "area",
473
+ "base",
474
+ "basefont",
475
+ "br",
476
+ "col",
477
+ "command",
478
+ "embed",
479
+ "frame",
480
+ "hr",
481
+ "img",
482
+ "input",
483
+ "isindex",
484
+ "keygen",
485
+ "link",
486
+ "meta",
487
+ "param",
488
+ "source",
489
+ "track",
490
+ "wbr"
491
+ ]), v = /* @__PURE__ */ new Set(["math", "svg"]), B = /* @__PURE__ */ new Set([
492
+ "mi",
493
+ "mo",
494
+ "mn",
495
+ "ms",
496
+ "mtext",
497
+ "annotation-xml",
498
+ "foreignobject",
499
+ "desc",
500
+ "title"
501
+ ]), M = /\s|\//;
502
+ class z {
503
+ constructor(t, s = {}) {
504
+ var n, r, o, c, l;
505
+ this.options = s, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.foreignContext = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = t ?? {}, this.lowerCaseTagNames = (n = s.lowerCaseTags) !== null && n !== void 0 ? n : !s.xmlMode, this.lowerCaseAttributeNames = (r = s.lowerCaseAttributeNames) !== null && r !== void 0 ? r : !s.xmlMode, this.tokenizer = new ((o = s.Tokenizer) !== null && o !== void 0 ? o : O)(this.options, this), (l = (c = this.cbs).onparserinit) === null || l === void 0 || l.call(c, this);
506
+ }
507
+ // Tokenizer event handlers
508
+ /** @internal */
509
+ ontext(t, s) {
510
+ var n, r;
511
+ const o = this.getSlice(t, s);
512
+ this.endIndex = s - 1, (r = (n = this.cbs).ontext) === null || r === void 0 || r.call(n, o), this.startIndex = s;
513
+ }
514
+ /** @internal */
515
+ ontextentity(t) {
516
+ var s, n;
517
+ const r = this.tokenizer.getSectionStart();
518
+ this.endIndex = r - 1, (n = (s = this.cbs).ontext) === null || n === void 0 || n.call(s, E(t)), this.startIndex = r;
519
+ }
520
+ isVoidElement(t) {
521
+ return !this.options.xmlMode && R.has(t);
522
+ }
523
+ /** @internal */
524
+ onopentagname(t, s) {
525
+ this.endIndex = s;
526
+ let n = this.getSlice(t, s);
527
+ this.lowerCaseTagNames && (n = n.toLowerCase()), this.emitOpenTag(n);
528
+ }
529
+ emitOpenTag(t) {
530
+ var s, n, r, o;
531
+ this.openTagStart = this.startIndex, this.tagname = t;
532
+ const c = !this.options.xmlMode && P.get(t);
533
+ if (c)
534
+ for (; this.stack.length > 0 && c.has(this.stack[this.stack.length - 1]); ) {
535
+ const l = this.stack.pop();
536
+ (n = (s = this.cbs).onclosetag) === null || n === void 0 || n.call(s, l, !0);
537
+ }
538
+ this.isVoidElement(t) || (this.stack.push(t), v.has(t) ? this.foreignContext.push(!0) : B.has(t) && this.foreignContext.push(!1)), (o = (r = this.cbs).onopentagname) === null || o === void 0 || o.call(r, t), this.cbs.onopentag && (this.attribs = {});
539
+ }
540
+ endOpenTag(t) {
541
+ var s, n;
542
+ this.startIndex = this.openTagStart, this.attribs && ((n = (s = this.cbs).onopentag) === null || n === void 0 || n.call(s, this.tagname, this.attribs, t), this.attribs = null), this.cbs.onclosetag && this.isVoidElement(this.tagname) && this.cbs.onclosetag(this.tagname, !0), this.tagname = "";
543
+ }
544
+ /** @internal */
545
+ onopentagend(t) {
546
+ this.endIndex = t, this.endOpenTag(!1), this.startIndex = t + 1;
547
+ }
548
+ /** @internal */
549
+ onclosetag(t, s) {
550
+ var n, r, o, c, l, m;
551
+ this.endIndex = s;
552
+ let f = this.getSlice(t, s);
553
+ if (this.lowerCaseTagNames && (f = f.toLowerCase()), (v.has(f) || B.has(f)) && this.foreignContext.pop(), this.isVoidElement(f))
554
+ !this.options.xmlMode && f === "br" && ((r = (n = this.cbs).onopentagname) === null || r === void 0 || r.call(n, "br"), (c = (o = this.cbs).onopentag) === null || c === void 0 || c.call(o, "br", {}, !0), (m = (l = this.cbs).onclosetag) === null || m === void 0 || m.call(l, "br", !1));
555
+ else {
556
+ const x = this.stack.lastIndexOf(f);
557
+ if (x !== -1)
558
+ if (this.cbs.onclosetag) {
559
+ let g = this.stack.length - x;
560
+ for (; g--; )
561
+ this.cbs.onclosetag(this.stack.pop(), g !== 0);
562
+ } else
563
+ this.stack.length = x;
564
+ else !this.options.xmlMode && f === "p" && (this.emitOpenTag("p"), this.closeCurrentTag(!0));
565
+ }
566
+ this.startIndex = s + 1;
567
+ }
568
+ /** @internal */
569
+ onselfclosingtag(t) {
570
+ this.endIndex = t, this.options.xmlMode || this.options.recognizeSelfClosing || this.foreignContext[this.foreignContext.length - 1] ? (this.closeCurrentTag(!1), this.startIndex = t + 1) : this.onopentagend(t);
571
+ }
572
+ closeCurrentTag(t) {
573
+ var s, n;
574
+ const r = this.tagname;
575
+ this.endOpenTag(t), this.stack[this.stack.length - 1] === r && ((n = (s = this.cbs).onclosetag) === null || n === void 0 || n.call(s, r, !t), this.stack.pop());
576
+ }
577
+ /** @internal */
578
+ onattribname(t, s) {
579
+ this.startIndex = t;
580
+ const n = this.getSlice(t, s);
581
+ this.attribname = this.lowerCaseAttributeNames ? n.toLowerCase() : n;
582
+ }
583
+ /** @internal */
584
+ onattribdata(t, s) {
585
+ this.attribvalue += this.getSlice(t, s);
586
+ }
587
+ /** @internal */
588
+ onattribentity(t) {
589
+ this.attribvalue += E(t);
590
+ }
591
+ /** @internal */
592
+ onattribend(t, s) {
593
+ var n, r;
594
+ this.endIndex = s, (r = (n = this.cbs).onattribute) === null || r === void 0 || r.call(n, this.attribname, this.attribvalue, t === d.Double ? '"' : t === d.Single ? "'" : t === d.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
595
+ }
596
+ getInstructionName(t) {
597
+ const s = t.search(M);
598
+ let n = s < 0 ? t : t.substr(0, s);
599
+ return this.lowerCaseTagNames && (n = n.toLowerCase()), n;
600
+ }
601
+ /** @internal */
602
+ ondeclaration(t, s) {
603
+ this.endIndex = s;
604
+ const n = this.getSlice(t, s);
605
+ if (this.cbs.onprocessinginstruction) {
606
+ const r = this.getInstructionName(n);
607
+ this.cbs.onprocessinginstruction(`!${r}`, `!${n}`);
608
+ }
609
+ this.startIndex = s + 1;
610
+ }
611
+ /** @internal */
612
+ onprocessinginstruction(t, s) {
613
+ this.endIndex = s;
614
+ const n = this.getSlice(t, s);
615
+ if (this.cbs.onprocessinginstruction) {
616
+ const r = this.getInstructionName(n);
617
+ this.cbs.onprocessinginstruction(`?${r}`, `?${n}`);
618
+ }
619
+ this.startIndex = s + 1;
620
+ }
621
+ /** @internal */
622
+ oncomment(t, s, n) {
623
+ var r, o, c, l;
624
+ this.endIndex = s, (o = (r = this.cbs).oncomment) === null || o === void 0 || o.call(r, this.getSlice(t, s - n)), (l = (c = this.cbs).oncommentend) === null || l === void 0 || l.call(c), this.startIndex = s + 1;
625
+ }
626
+ /** @internal */
627
+ oncdata(t, s, n) {
628
+ var r, o, c, l, m, f, x, g, N, p;
629
+ this.endIndex = s;
630
+ const A = this.getSlice(t, s - n);
631
+ this.options.xmlMode || this.options.recognizeCDATA ? ((o = (r = this.cbs).oncdatastart) === null || o === void 0 || o.call(r), (l = (c = this.cbs).ontext) === null || l === void 0 || l.call(c, A), (f = (m = this.cbs).oncdataend) === null || f === void 0 || f.call(m)) : ((g = (x = this.cbs).oncomment) === null || g === void 0 || g.call(x, `[CDATA[${A}]]`), (p = (N = this.cbs).oncommentend) === null || p === void 0 || p.call(N)), this.startIndex = s + 1;
632
+ }
633
+ /** @internal */
634
+ onend() {
635
+ var t, s;
636
+ if (this.cbs.onclosetag) {
637
+ this.endIndex = this.startIndex;
638
+ for (let n = this.stack.length; n > 0; this.cbs.onclosetag(this.stack[--n], !0))
639
+ ;
640
+ }
641
+ (s = (t = this.cbs).onend) === null || s === void 0 || s.call(t);
642
+ }
643
+ /**
644
+ * Resets the parser to a blank state, ready to parse a new HTML document
645
+ */
646
+ reset() {
647
+ var t, s, n, r;
648
+ (s = (t = this.cbs).onreset) === null || s === void 0 || s.call(t), this.tokenizer.reset(), this.tagname = "", this.attribname = "", this.attribs = null, this.stack.length = 0, this.startIndex = 0, this.endIndex = 0, (r = (n = this.cbs).onparserinit) === null || r === void 0 || r.call(n, this), this.buffers.length = 0, this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1;
649
+ }
650
+ /**
651
+ * Resets the parser, then parses a complete document and
652
+ * pushes it to the handler.
653
+ *
654
+ * @param data Document to parse.
655
+ */
656
+ parseComplete(t) {
657
+ this.reset(), this.end(t);
658
+ }
659
+ getSlice(t, s) {
660
+ for (; t - this.bufferOffset >= this.buffers[0].length; )
661
+ this.shiftBuffer();
662
+ let n = this.buffers[0].slice(t - this.bufferOffset, s - this.bufferOffset);
663
+ for (; s - this.bufferOffset > this.buffers[0].length; )
664
+ this.shiftBuffer(), n += this.buffers[0].slice(0, s - this.bufferOffset);
665
+ return n;
666
+ }
667
+ shiftBuffer() {
668
+ this.bufferOffset += this.buffers[0].length, this.writeIndex--, this.buffers.shift();
669
+ }
670
+ /**
671
+ * Parses a chunk of data and calls the corresponding callbacks.
672
+ *
673
+ * @param chunk Chunk to parse.
674
+ */
675
+ write(t) {
676
+ var s, n;
677
+ if (this.ended) {
678
+ (n = (s = this.cbs).onerror) === null || n === void 0 || n.call(s, new Error(".write() after done!"));
679
+ return;
680
+ }
681
+ this.buffers.push(t), this.tokenizer.running && (this.tokenizer.write(t), this.writeIndex++);
682
+ }
683
+ /**
684
+ * Parses the end of the buffer and clears the stack, calls onend.
685
+ *
686
+ * @param chunk Optional final chunk to parse.
687
+ */
688
+ end(t) {
689
+ var s, n;
690
+ if (this.ended) {
691
+ (n = (s = this.cbs).onerror) === null || n === void 0 || n.call(s, new Error(".end() after done!"));
692
+ return;
693
+ }
694
+ t && this.write(t), this.ended = !0, this.tokenizer.end();
695
+ }
696
+ /**
697
+ * Pauses parsing. The parser won't emit events until `resume` is called.
698
+ */
699
+ pause() {
700
+ this.tokenizer.pause();
701
+ }
702
+ /**
703
+ * Resumes parsing after `pause` was called.
704
+ */
705
+ resume() {
706
+ for (this.tokenizer.resume(); this.tokenizer.running && this.writeIndex < this.buffers.length; )
707
+ this.tokenizer.write(this.buffers[this.writeIndex++]);
708
+ this.ended && this.tokenizer.end();
709
+ }
710
+ /**
711
+ * Alias of `write`, for backwards compatibility.
712
+ *
713
+ * @param chunk Chunk to parse.
714
+ * @deprecated
715
+ */
716
+ parseChunk(t) {
717
+ this.write(t);
718
+ }
719
+ /**
720
+ * Alias of `end`, for backwards compatibility.
721
+ *
722
+ * @param chunk Optional final chunk to parse.
723
+ * @deprecated
724
+ */
725
+ done(t) {
726
+ this.end(t);
727
+ }
728
+ }
729
+ function C(e, t) {
730
+ const s = new F(void 0, t);
731
+ return new z(s, t).end(e), s.root;
732
+ }
733
+ export {
734
+ C as p
735
+ };