@vc-shell/framework 2.0.0-alpha.33 → 2.0.0-alpha.34

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 (310) hide show
  1. package/CHANGELOG.md +258 -207
  2. package/dist/ai-agent/index.js +4 -4
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js +4485 -0
  4. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js +22109 -0
  5. package/dist/chunks/{index-HNCQdWHc.js → index-CDUdOax4.js} +2 -2
  6. package/dist/chunks/{vendor-boolbase-Cyd7_957.js → vendor-boolbase-DYkUBG-P.js} +1 -1
  7. package/dist/chunks/{vendor-cheerio-DKt5ox2U.js → vendor-cheerio-DE71XQ9x.js} +1 -1
  8. package/dist/chunks/{vendor-cheerio-select-B8BTSEdK.js → vendor-cheerio-select-D-qK1Cpo.js} +2 -2
  9. package/dist/chunks/{vendor-css-select-C4b9igDP.js → vendor-css-select-DqoO1-RK.js} +2 -2
  10. package/dist/chunks/{vendor-dompurify-BIuh5IAZ.js → vendor-dompurify-DpIUMBYC.js} +228 -221
  11. package/dist/chunks/{vendor-gridstack-Dkfw452e.js → vendor-gridstack-Beau2jQ7.js} +230 -160
  12. package/dist/chunks/{vendor-intlify-core-base-BfDxYEHM.js → vendor-intlify-core-base-Cf8V01l9.js} +260 -260
  13. package/dist/chunks/{vendor-intlify-message-compiler-B2Y3gZDu.js → vendor-intlify-message-compiler-h1txdYa8.js} +2 -2
  14. package/dist/chunks/{vendor-intlify-shared-Drx6AmQ9.js → vendor-intlify-shared-D4BJYR57.js} +3 -3
  15. package/dist/chunks/{vendor-iso-639-1-ig8i9Svg.js → vendor-iso-639-1-BEjYyfKo.js} +17 -14
  16. package/dist/chunks/{vendor-lodash-es-BB-IQCna.js → vendor-lodash-es-CfnUOh0o.js} +364 -371
  17. package/dist/chunks/vendor-markdown-it-task-lists-CHKeJZfk.js +69 -0
  18. package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-ufpnHxNR.js +1142 -0
  19. package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-BmGq5cEx.js +247 -0
  20. package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-BdtUi1l8.js +1907 -0
  21. package/dist/chunks/vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js +8406 -0
  22. package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-DXmYt4tG.js +1441 -0
  23. package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-CLbNzgkN.js +610 -0
  24. package/dist/chunks/{vendor-microsoft-applicationinsights-shims-Ds7KyOsR.js → vendor-microsoft-applicationinsights-shims-CGX8KXgN.js} +13 -12
  25. package/dist/chunks/vendor-microsoft-applicationinsights-web-DzgnK2Mn.js +970 -0
  26. package/dist/chunks/{vendor-microsoft-dynamicproto-js-CMXJqDx1.js → vendor-microsoft-dynamicproto-js-D7567TLZ.js} +15 -15
  27. package/dist/chunks/vendor-nevware21-ts-async-BxN_lmkD.js +271 -0
  28. package/dist/chunks/vendor-nevware21-ts-utils-Dr-hD3q9.js +973 -0
  29. package/dist/chunks/{vendor-nth-check-CuyQT_ny.js → vendor-nth-check-D0N1qpsw.js} +1 -1
  30. package/dist/chunks/{vendor-prettier-B0zlh-ye.js → vendor-prettier-2Sf6a5jB.js} +876 -782
  31. package/dist/chunks/{vendor-prosemirror-commands-Bv4ChObl.js → vendor-prosemirror-commands-BaRVaTVO.js} +2 -2
  32. package/dist/chunks/{vendor-prosemirror-dropcursor-kF5UKNFM.js → vendor-prosemirror-dropcursor-PuLxL9JM.js} +2 -2
  33. package/dist/chunks/{vendor-prosemirror-gapcursor-D3tpkzBp.js → vendor-prosemirror-gapcursor-C7MEx13L.js} +3 -3
  34. package/dist/chunks/{vendor-prosemirror-history-CQYKHz3u.js → vendor-prosemirror-history-_AfZxoMt.js} +2 -2
  35. package/dist/chunks/{vendor-prosemirror-keymap-CAfQyvJ7.js → vendor-prosemirror-keymap-tvZqK1zZ.js} +1 -1
  36. package/dist/chunks/{vendor-prosemirror-schema-list-BNJkECdS.js → vendor-prosemirror-schema-list-qDgvFydE.js} +1 -1
  37. package/dist/chunks/{vendor-prosemirror-state-IeimrELV.js → vendor-prosemirror-state-BvFA7AjG.js} +1 -1
  38. package/dist/chunks/{vendor-prosemirror-tables-DIAkeGRL.js → vendor-prosemirror-tables-CbmHRq4G.js} +4 -4
  39. package/dist/chunks/{vendor-prosemirror-transform-BUjWd5Tb.js → vendor-prosemirror-transform-DVGD47fI.js} +118 -102
  40. package/dist/chunks/{vendor-prosemirror-view-Chu67Jpw.js → vendor-prosemirror-view-BW4UqvjQ.js} +7 -5
  41. package/dist/chunks/{vendor-striptags--4dtoP3u.js → vendor-striptags-DtlgQudQ.js} +1 -1
  42. package/dist/chunks/{vendor-tiptap-core-BWgKs47g.js → vendor-tiptap-core-CZbeo7XQ.js} +722 -703
  43. package/dist/chunks/{vendor-tiptap-extension-blockquote-B1RV9c0W.js → vendor-tiptap-extension-blockquote-B8uwrgnZ.js} +1 -1
  44. package/dist/chunks/{vendor-tiptap-extension-bold-BdAf6fWQ.js → vendor-tiptap-extension-bold-Ch9pbrZY.js} +1 -1
  45. package/dist/chunks/{vendor-tiptap-extension-code-_cv4EOBy.js → vendor-tiptap-extension-code-CVh_mZgz.js} +1 -1
  46. package/dist/chunks/{vendor-tiptap-extension-code-block-CT5P4x0D.js → vendor-tiptap-extension-code-block-CfoUSR2N.js} +2 -2
  47. package/dist/chunks/{vendor-tiptap-extension-document-C41wXth1.js → vendor-tiptap-extension-document-C4tn-v0L.js} +1 -1
  48. package/dist/chunks/{vendor-tiptap-extension-hard-break-Ds2hA4at.js → vendor-tiptap-extension-hard-break-CbK1eM89.js} +1 -1
  49. package/dist/chunks/{vendor-tiptap-extension-heading-DvnqoCO-.js → vendor-tiptap-extension-heading-BlkYF-RD.js} +1 -1
  50. package/dist/chunks/{vendor-tiptap-extension-horizontal-rule-BceRNOIu.js → vendor-tiptap-extension-horizontal-rule-DjMOsQCA.js} +2 -2
  51. package/dist/chunks/{vendor-tiptap-extension-image-DLERQS1u.js → vendor-tiptap-extension-image-BpqLcXdw.js} +1 -1
  52. package/dist/chunks/{vendor-tiptap-extension-italic-BGv0ktjJ.js → vendor-tiptap-extension-italic-YDdh6jEW.js} +1 -1
  53. package/dist/chunks/{vendor-tiptap-extension-link-BAzgztbX.js → vendor-tiptap-extension-link-CETrc0Mo.js} +2 -2
  54. package/dist/chunks/{vendor-tiptap-extension-list-rFRwhCY_.js → vendor-tiptap-extension-list-DsiDvJxK.js} +209 -180
  55. package/dist/chunks/vendor-tiptap-extension-paragraph-Bcss4jc0.js +49 -0
  56. package/dist/chunks/vendor-tiptap-extension-placeholder-ClNjQXk_.js +1 -0
  57. package/dist/chunks/{vendor-tiptap-extension-strike-Cqq1i9pe.js → vendor-tiptap-extension-strike-BZiBed9b.js} +1 -1
  58. package/dist/chunks/vendor-tiptap-extension-table-QVjcLO_H.js +409 -0
  59. package/dist/chunks/vendor-tiptap-extension-table-cell-CuXZTKj8.js +1 -0
  60. package/dist/chunks/vendor-tiptap-extension-table-header-CuXZTKj8.js +1 -0
  61. package/dist/chunks/vendor-tiptap-extension-table-row-CuXZTKj8.js +1 -0
  62. package/dist/chunks/{vendor-tiptap-extension-text-BaLQc3hC.js → vendor-tiptap-extension-text-Wofhchrp.js} +1 -1
  63. package/dist/chunks/{vendor-tiptap-extension-text-style-BDbT1PMb.js → vendor-tiptap-extension-text-style-Bc6nvmn0.js} +1 -1
  64. package/dist/chunks/{vendor-tiptap-extension-underline-CiUEdG6D.js → vendor-tiptap-extension-underline-Bo1pXXDN.js} +1 -1
  65. package/dist/chunks/{vendor-tiptap-extensions-pwHVUzkb.js → vendor-tiptap-extensions-D7eaegpB.js} +6 -6
  66. package/dist/chunks/{vendor-tiptap-markdown-D0feGfKk.js → vendor-tiptap-markdown-18K1hcU0.js} +3 -3
  67. package/dist/chunks/vendor-tiptap-pm-yqZPZQMU.js +1 -0
  68. package/dist/chunks/{vendor-tiptap-starter-kit-BEsLVJ4Q.js → vendor-tiptap-starter-kit-ny-AoaO_.js} +17 -17
  69. package/dist/chunks/{vendor-tiptap-vue-3-CdIBiRMV.js → vendor-tiptap-vue-3-BNAw8onj.js} +1 -1
  70. package/dist/chunks/{vendor-truncate-html-DDVwXwPl.js → vendor-truncate-html-ChA1T5zy.js} +1 -1
  71. package/dist/chunks/{vendor-unovis-ts-D3MmJ11i.js → vendor-unovis-ts-stSsHr9j.js} +1 -1
  72. package/dist/chunks/{vendor-unovis-vue-CMGNLXsC.js → vendor-unovis-vue-CZWGT3-0.js} +1 -1
  73. package/dist/chunks/{vendor-vue-i18n-BSCeQYoP.js → vendor-vue-i18n-LO-EJStU.js} +27 -27
  74. package/dist/chunks/{vendor-vue3-application-insights-Cq46Q3rj.js → vendor-vue3-application-insights-CAgbt8pk.js} +2 -2
  75. package/dist/chunks/{vendor-vueuse-components-DRdTsx6e.js → vendor-vueuse-components-BW7i7Uhb.js} +1 -1
  76. package/dist/chunks/{vendor-vueuse-core-D4-2M4AW.js → vendor-vueuse-core-CEdpDfzx.js} +9 -9
  77. package/dist/chunks/{vendor-vueuse-shared-PQ04AyOW.js → vendor-vueuse-shared-BlCOXw5g.js} +8 -8
  78. package/dist/core/api/platform.d.ts +5 -5
  79. package/dist/core/api/platform.d.ts.map +1 -1
  80. package/dist/core/blade-navigation/types/index.d.ts +1 -1
  81. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  82. package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
  83. package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
  84. package/dist/core/composables/usePlatformLocaleSync/index.d.ts +17 -0
  85. package/dist/core/composables/usePlatformLocaleSync/index.d.ts.map +1 -0
  86. package/dist/core/composables/useTheme/index.d.ts.map +1 -1
  87. package/dist/core/composables/useUser/index.d.ts +1 -0
  88. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  89. package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
  90. package/dist/core/directives/index.d.ts +2 -0
  91. package/dist/core/directives/index.d.ts.map +1 -1
  92. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +2 -2
  93. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  94. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
  95. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
  96. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
  97. package/dist/core/plugins/modularity/index.d.ts +1 -1
  98. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  99. package/dist/core/services/widget-service.d.ts.map +1 -1
  100. package/dist/core/types/menu-types.d.ts.map +1 -1
  101. package/dist/framework.js +3188 -3934
  102. package/dist/index.css +2 -2
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/modules/assets/index.d.ts +0 -5
  105. package/dist/modules/assets/index.d.ts.map +1 -1
  106. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  107. package/dist/modules/assets-manager/index.d.ts +0 -6
  108. package/dist/modules/assets-manager/index.d.ts.map +1 -1
  109. package/dist/scripts/check-locales.cjs +3 -0
  110. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +0 -6
  111. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
  112. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +2 -2
  113. package/dist/shell/_internal/notifications/composables/useInstance/index.d.ts.map +1 -1
  114. package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts +1 -1
  115. package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts.map +1 -1
  116. package/dist/shell/_internal/popup/index.d.ts +0 -4
  117. package/dist/shell/_internal/popup/index.d.ts.map +1 -1
  118. package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
  119. package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +1 -1
  120. package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts +2 -2
  121. package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  122. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  123. package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +2 -2
  124. package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  125. package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts +8 -0
  126. package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts.map +1 -0
  127. package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts +13 -0
  128. package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts.map +1 -0
  129. package/dist/shell/auth/_test-utils/shared-stubs.d.ts +33 -0
  130. package/dist/shell/auth/_test-utils/shared-stubs.d.ts.map +1 -0
  131. package/dist/shell/auth/utils.d.ts +25 -0
  132. package/dist/shell/auth/utils.d.ts.map +1 -0
  133. package/dist/shell/components/change-password/change-password.vue.d.ts.map +1 -1
  134. package/dist/shell/components/change-password/index.d.ts +0 -5
  135. package/dist/shell/components/change-password/index.d.ts.map +1 -1
  136. package/dist/shell/components/error-interceptor/index.d.ts +0 -5
  137. package/dist/shell/components/error-interceptor/index.d.ts.map +1 -1
  138. package/dist/shell/components/language-selector/index.d.ts +0 -5
  139. package/dist/shell/components/language-selector/index.d.ts.map +1 -1
  140. package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  141. package/dist/shell/components/notification-dropdown/index.d.ts +0 -5
  142. package/dist/shell/components/notification-dropdown/index.d.ts.map +1 -1
  143. package/dist/shell/components/notification-template/index.d.ts +0 -5
  144. package/dist/shell/components/notification-template/index.d.ts.map +1 -1
  145. package/dist/shell/components/sidebar/index.d.ts +3 -3
  146. package/dist/shell/components/sidebar/sidebar.vue.d.ts +1 -1
  147. package/dist/shell/components/sidebar/sidebar.vue.d.ts.map +1 -1
  148. package/dist/shell/components/user-dropdown-button/index.d.ts +0 -5
  149. package/dist/shell/components/user-dropdown-button/index.d.ts.map +1 -1
  150. package/dist/shell/dashboard/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  151. package/dist/test-helpers.d.ts +6 -18
  152. package/dist/test-helpers.d.ts.map +1 -1
  153. package/dist/test-mock-factories.d.ts +48 -0
  154. package/dist/test-mock-factories.d.ts.map +1 -0
  155. package/dist/tsconfig.tsbuildinfo +1 -1
  156. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +3 -3
  157. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  158. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -2
  159. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  160. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  161. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  162. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +1 -1
  163. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  164. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
  165. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  166. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  167. package/dist/ui/components/molecules/index.d.ts +1 -0
  168. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  169. package/dist/ui/components/molecules/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
  170. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +1 -1
  171. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
  172. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +1 -1
  173. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  174. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
  175. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  176. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +3 -3
  177. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  178. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +3 -3
  179. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  180. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
  181. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  182. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +1 -1
  183. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  184. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +2 -2
  185. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
  186. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  187. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  188. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
  189. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  190. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +3 -3
  191. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  192. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +1 -1
  193. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
  194. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +1 -1
  195. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
  196. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
  197. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  198. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  199. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +2 -2
  200. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +10 -27
  201. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  202. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  203. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts.map +1 -1
  204. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts +3 -3
  205. package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts.map +1 -1
  206. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +1 -1
  207. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
  208. package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
  209. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  210. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +2 -2
  211. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +1 -1
  212. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
  213. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
  214. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +3 -3
  215. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  216. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +19 -17
  217. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  218. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts +1 -1
  219. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -1
  220. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  221. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +2 -2
  222. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  223. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
  224. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  225. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts +1 -1
  226. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -1
  227. package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
  228. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
  229. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
  230. package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -1
  231. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +2 -2
  232. package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -1
  233. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -1
  234. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts +1 -1
  235. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
  236. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +7 -7
  237. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts +2 -2
  238. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
  239. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts +4 -4
  240. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
  241. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
  242. package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
  243. package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts +46 -0
  244. package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -0
  245. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +6 -5
  246. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
  247. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +6 -6
  248. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
  249. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +24 -11
  250. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
  251. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts +6 -9
  252. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -1
  253. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +18 -13
  254. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
  255. package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
  256. package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -1
  257. package/dist/ui/components/organisms/vc-data-table/keys.d.ts +2 -2
  258. package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
  259. package/dist/ui/components/organisms/vc-data-table/types.d.ts +26 -0
  260. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
  261. package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -1
  262. package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts +30 -0
  263. package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts.map +1 -0
  264. package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts +1 -0
  265. package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts.map +1 -1
  266. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +1 -1
  267. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
  268. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
  269. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  270. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  271. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  272. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts.map +1 -1
  273. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -1
  274. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  275. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +1 -1
  276. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
  277. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
  278. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  279. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +8 -8
  280. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  281. package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
  282. package/dist/ui/index.d.ts +1 -0
  283. package/dist/ui/index.d.ts.map +1 -1
  284. package/dist/ui/index.js +87 -81
  285. package/dist/vitest-axe.setup.d.ts.map +1 -1
  286. package/dist/vitest-mocks.setup.d.ts +2 -0
  287. package/dist/vitest-mocks.setup.d.ts.map +1 -0
  288. package/package.json +8 -6
  289. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CrmX4_5C.js +0 -4256
  290. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D9BrIj43.js +0 -21552
  291. package/dist/chunks/vendor-markdown-it-task-lists-xwqUBSah.js +0 -72
  292. package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-Dvbvo5Dl.js +0 -1207
  293. package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-9wxxo7yB.js +0 -261
  294. package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-c-UYe0ly.js +0 -1822
  295. package/dist/chunks/vendor-microsoft-applicationinsights-common-DgFOCv6a.js +0 -1921
  296. package/dist/chunks/vendor-microsoft-applicationinsights-core-js-DYtaESwI.js +0 -4276
  297. package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-BoRkSVPF.js +0 -1407
  298. package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-Ymy9TFDL.js +0 -572
  299. package/dist/chunks/vendor-microsoft-applicationinsights-web-gIbMmGYP.js +0 -487
  300. package/dist/chunks/vendor-nevware21-ts-async-CP171WHM.js +0 -261
  301. package/dist/chunks/vendor-nevware21-ts-utils-Dl8msUu_.js +0 -853
  302. package/dist/chunks/vendor-tiptap-extension-paragraph-EwqudBl5.js +0 -49
  303. package/dist/chunks/vendor-tiptap-extension-placeholder-D1_k7Sra.js +0 -1
  304. package/dist/chunks/vendor-tiptap-extension-table-cell-odWoHoTv.js +0 -1
  305. package/dist/chunks/vendor-tiptap-extension-table-header-odWoHoTv.js +0 -1
  306. package/dist/chunks/vendor-tiptap-extension-table-row-odWoHoTv.js +0 -1
  307. package/dist/chunks/vendor-tiptap-extension-table-tNWQInwa.js +0 -374
  308. package/dist/chunks/vendor-tiptap-pm-CG4ksPkF.js +0 -1
  309. package/dist/ui/types/global-components.d.ts +0 -10
  310. package/dist/ui/types/global-components.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
- /*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
1
+ /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
2
2
  const {
3
- entries: _t,
4
- setPrototypeOf: ct,
3
+ entries: gt,
4
+ setPrototypeOf: ft,
5
5
  isFrozen: Yt,
6
6
  getPrototypeOf: Xt,
7
7
  getOwnPropertyDescriptor: jt
@@ -9,10 +9,10 @@ const {
9
9
  let {
10
10
  freeze: S,
11
11
  seal: b,
12
- create: me
12
+ create: ne
13
13
  } = Object, {
14
- apply: ve,
15
- construct: Ue
14
+ apply: Ue,
15
+ construct: Fe
16
16
  } = typeof Reflect < "u" && Reflect;
17
17
  S || (S = function(o) {
18
18
  return o;
@@ -20,41 +20,41 @@ S || (S = function(o) {
20
20
  b || (b = function(o) {
21
21
  return o;
22
22
  });
23
- ve || (ve = function(o, l) {
24
- for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), D = 2; D < a; D++)
25
- c[D - 2] = arguments[D];
23
+ Ue || (Ue = function(o, l) {
24
+ for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), O = 2; O < a; O++)
25
+ c[O - 2] = arguments[O];
26
26
  return o.apply(l, c);
27
27
  });
28
- Ue || (Ue = function(o) {
28
+ Fe || (Fe = function(o) {
29
29
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
30
30
  a[c - 1] = arguments[c];
31
31
  return new o(...a);
32
32
  });
33
- const fe = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), pe = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Me = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), L = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
33
+ const Z = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ut = R(Array.prototype.pop), J = R(Array.prototype.push), $t = R(Array.prototype.splice), Ee = R(String.prototype.toLowerCase), Me = R(String.prototype.toString), we = R(String.prototype.match), B = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), C = R(Object.prototype.hasOwnProperty), A = R(RegExp.prototype.test), Q = Zt(TypeError);
34
34
  function R(s) {
35
35
  return function(o) {
36
36
  o instanceof RegExp && (o.lastIndex = 0);
37
37
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
38
38
  a[c - 1] = arguments[c];
39
- return ve(s, o, a);
39
+ return Ue(s, o, a);
40
40
  };
41
41
  }
42
42
  function Zt(s) {
43
43
  return function() {
44
44
  for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++)
45
45
  l[a] = arguments[a];
46
- return Ue(s, l);
46
+ return Fe(s, l);
47
47
  };
48
48
  }
49
49
  function r(s, o) {
50
- let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pe;
51
- ct && ct(s, null);
50
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ee;
51
+ ft && ft(s, null);
52
52
  let a = o.length;
53
53
  for (; a--; ) {
54
54
  let c = o[a];
55
55
  if (typeof c == "string") {
56
- const D = l(c);
57
- D !== c && (Yt(o) || (o[a] = D), c = D);
56
+ const O = l(c);
57
+ O !== c && (Yt(o) || (o[a] = O), c = O);
58
58
  }
59
59
  s[c] = !0;
60
60
  }
@@ -62,16 +62,16 @@ function r(s, o) {
62
62
  }
63
63
  function Jt(s) {
64
64
  for (let o = 0; o < s.length; o++)
65
- L(s, o) || (s[o] = null);
65
+ C(s, o) || (s[o] = null);
66
66
  return s;
67
67
  }
68
- function C(s) {
69
- const o = me(null);
70
- for (const [l, a] of _t(s))
71
- L(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = C(a) : o[l] = a);
68
+ function M(s) {
69
+ const o = ne(null);
70
+ for (const [l, a] of gt(s))
71
+ C(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = M(a) : o[l] = a);
72
72
  return o;
73
73
  }
74
- function J(s, o) {
74
+ function ee(s, o) {
75
75
  for (; s !== null; ) {
76
76
  const a = jt(s, o);
77
77
  if (a) {
@@ -87,14 +87,14 @@ function J(s, o) {
87
87
  }
88
88
  return l;
89
89
  }
90
- const ut = S(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), we = S(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), xe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pe = S(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ke = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Tt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ue = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = b(/<%[\w\W]*|[\w\W]*%>/gm), on = b(/\$\{[\w\W]*/gm), an = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = b(/^aria-[\-\w]+$/), gt = b(
90
+ const mt = S(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), xe = S(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Pe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ke = S(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pt = S(["#text"]), Tt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ve = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), dt = S(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), de = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = b(/<%[\w\W]*|[\w\W]*%>/gm), on = b(/\$\{[\w\W]*/gm), an = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = b(/^aria-[\-\w]+$/), ht = b(
91
91
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
92
  // eslint-disable-line no-useless-escape
93
93
  ), sn = b(/^(?:\w+script|data):/i), ln = b(
94
94
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
95
  // eslint-disable-line no-control-regex
96
96
  ), At = b(/^html$/i), cn = b(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
- var dt = /* @__PURE__ */ Object.freeze({
97
+ var Et = /* @__PURE__ */ Object.freeze({
98
98
  __proto__: null,
99
99
  ARIA_ATTR: rn,
100
100
  ATTR_WHITESPACE: ln,
@@ -102,12 +102,12 @@ var dt = /* @__PURE__ */ Object.freeze({
102
102
  DATA_ATTR: an,
103
103
  DOCTYPE_NAME: At,
104
104
  ERB_EXPR: nn,
105
- IS_ALLOWED_URI: gt,
105
+ IS_ALLOWED_URI: ht,
106
106
  IS_SCRIPT_OR_DATA: sn,
107
107
  MUSTACHE_EXPR: tn,
108
108
  TMPLIT_EXPR: on
109
109
  });
110
- const Q = {
110
+ const te = {
111
111
  element: 1,
112
112
  text: 3,
113
113
  // Deprecated
@@ -122,20 +122,20 @@ const Q = {
122
122
  let a = null;
123
123
  const c = "data-tt-policy-suffix";
124
124
  l && l.hasAttribute(c) && (a = l.getAttribute(c));
125
- const D = "dompurify" + (a ? "#" + a : "");
125
+ const O = "dompurify" + (a ? "#" + a : "");
126
126
  try {
127
- return o.createPolicy(D, {
128
- createHTML(v) {
129
- return v;
127
+ return o.createPolicy(O, {
128
+ createHTML(F) {
129
+ return F;
130
130
  },
131
- createScriptURL(v) {
132
- return v;
131
+ createScriptURL(F) {
132
+ return F;
133
133
  }
134
134
  });
135
135
  } catch {
136
- return console.warn("TrustedTypes policy " + D + " could not be created."), null;
136
+ return console.warn("TrustedTypes policy " + O + " could not be created."), null;
137
137
  }
138
- }, Et = function() {
138
+ }, _t = function() {
139
139
  return {
140
140
  afterSanitizeAttributes: [],
141
141
  afterSanitizeElements: [],
@@ -148,57 +148,57 @@ const Q = {
148
148
  uponSanitizeShadowNode: []
149
149
  };
150
150
  };
151
- function ht() {
151
+ function St() {
152
152
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn();
153
- const o = (i) => ht(i);
154
- if (o.version = "3.3.3", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
153
+ const o = (i) => St(i);
154
+ if (o.version = "3.4.0", o.removed = [], !s || !s.document || s.document.nodeType !== te.document || !s.Element)
155
155
  return o.isSupported = !1, o;
156
156
  let {
157
157
  document: l
158
158
  } = s;
159
159
  const a = l, c = a.currentScript, {
160
- DocumentFragment: D,
161
- HTMLTemplateElement: v,
162
- Node: Te,
163
- Element: Fe,
164
- NodeFilter: B,
165
- NamedNodeMap: St = s.NamedNodeMap || s.MozNamedAttrMap,
166
- HTMLFormElement: Rt,
160
+ DocumentFragment: O,
161
+ HTMLTemplateElement: F,
162
+ Node: _e,
163
+ Element: He,
164
+ NodeFilter: Y,
165
+ NamedNodeMap: Rt = s.NamedNodeMap || s.MozNamedAttrMap,
166
+ HTMLFormElement: Ot,
167
167
  DOMParser: Dt,
168
- trustedTypes: ee
169
- } = s, Y = Fe.prototype, Ot = J(Y, "cloneNode"), Lt = J(Y, "remove"), bt = J(Y, "nextSibling"), yt = J(Y, "childNodes"), te = J(Y, "parentNode");
170
- if (typeof v == "function") {
168
+ trustedTypes: oe
169
+ } = s, X = He.prototype, Lt = ee(X, "cloneNode"), bt = ee(X, "remove"), yt = ee(X, "nextSibling"), Ct = ee(X, "childNodes"), ie = ee(X, "parentNode");
170
+ if (typeof F == "function") {
171
171
  const i = l.createElement("template");
172
172
  i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
173
173
  }
174
- let g, X = "";
174
+ let g, j = "";
175
175
  const {
176
- implementation: de,
177
- createNodeIterator: Nt,
178
- createDocumentFragment: Ct,
179
- getElementsByTagName: It
176
+ implementation: ge,
177
+ createNodeIterator: It,
178
+ createDocumentFragment: Nt,
179
+ getElementsByTagName: Mt
180
180
  } = l, {
181
- importNode: Mt
181
+ importNode: wt
182
182
  } = a;
183
- let A = Et();
184
- o.isSupported = typeof _t == "function" && typeof te == "function" && de && de.createHTMLDocument !== void 0;
183
+ let h = _t();
184
+ o.isSupported = typeof gt == "function" && typeof ie == "function" && ge && ge.createHTMLDocument !== void 0;
185
185
  const {
186
- MUSTACHE_EXPR: Ee,
187
- ERB_EXPR: _e,
188
- TMPLIT_EXPR: ge,
189
- DATA_ATTR: wt,
190
- ARIA_ATTR: xt,
191
- IS_SCRIPT_OR_DATA: Pt,
192
- ATTR_WHITESPACE: He,
193
- CUSTOM_ELEMENT: kt
194
- } = dt;
186
+ MUSTACHE_EXPR: ae,
187
+ ERB_EXPR: re,
188
+ TMPLIT_EXPR: se,
189
+ DATA_ATTR: xt,
190
+ ARIA_ATTR: Pt,
191
+ IS_SCRIPT_OR_DATA: kt,
192
+ ATTR_WHITESPACE: ze,
193
+ CUSTOM_ELEMENT: vt
194
+ } = Et;
195
195
  let {
196
- IS_ALLOWED_URI: ze
197
- } = dt, T = null;
198
- const Ge = r({}, [...ut, ...we, ...xe, ...Pe, ...mt]);
196
+ IS_ALLOWED_URI: Ge
197
+ } = Et, T = null;
198
+ const We = r({}, [...mt, ...xe, ...Pe, ...ke, ...pt]);
199
199
  let d = null;
200
- const We = r({}, [...pt, ...ke, ...Tt, ...ue]);
201
- let u = Object.seal(me(null, {
200
+ const Be = r({}, [...Tt, ...ve, ...dt, ...de]);
201
+ let u = Object.seal(ne(null, {
202
202
  tagNameCheck: {
203
203
  writable: !0,
204
204
  configurable: !1,
@@ -217,8 +217,8 @@ function ht() {
217
217
  enumerable: !0,
218
218
  value: !1
219
219
  }
220
- })), j = null, ne = null;
221
- const x = Object.seal(me(null, {
220
+ })), V = null, le = null;
221
+ const x = Object.seal(ne(null, {
222
222
  tagCheck: {
223
223
  writable: !0,
224
224
  configurable: !1,
@@ -232,70 +232,70 @@ function ht() {
232
232
  value: null
233
233
  }
234
234
  }));
235
- let Be = !0, Ae = !0, Ye = !1, Xe = !0, U = !1, oe = !0, P = !1, he = !1, Se = !1, F = !1, ie = !1, ae = !1, je = !0, Ve = !1;
236
- const vt = "user-content-";
237
- let Re = !0, V = !1, H = {}, y = null;
238
- const De = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
239
- let $e = null;
240
- const qe = r({}, ["audio", "video", "img", "source", "image", "track"]);
241
- let Oe = null;
242
- const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), re = "http://www.w3.org/1998/Math/MathML", se = "http://www.w3.org/2000/svg", I = "http://www.w3.org/1999/xhtml";
243
- let z = I, Le = !1, be = null;
244
- const Ut = r({}, [re, se, I], Ie);
245
- let le = r({}, ["mi", "mo", "mn", "ms", "mtext"]), ce = r({}, ["annotation-xml"]);
246
- const Ft = r({}, ["title", "style", "font", "a", "script"]);
247
- let $ = null;
248
- const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
249
- let p = null, G = null;
250
- const Gt = l.createElement("form"), Ze = function(e) {
235
+ let Ye = !0, he = !0, Xe = !1, je = !0, k = !1, $ = !0, v = !1, Ae = !1, Se = !1, H = !1, ce = !1, fe = !1, Ve = !0, $e = !1;
236
+ const Ut = "user-content-";
237
+ let Re = !0, q = !1, z = {}, I = null;
238
+ const Oe = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
239
+ let qe = null;
240
+ const Ke = r({}, ["audio", "video", "img", "source", "image", "track"]);
241
+ let De = null;
242
+ const Ze = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ue = "http://www.w3.org/1998/Math/MathML", me = "http://www.w3.org/2000/svg", N = "http://www.w3.org/1999/xhtml";
243
+ let G = N, Le = !1, be = null;
244
+ const Ft = r({}, [ue, me, N], Me);
245
+ let pe = r({}, ["mi", "mo", "mn", "ms", "mtext"]), Te = r({}, ["annotation-xml"]);
246
+ const Ht = r({}, ["title", "style", "font", "a", "script"]);
247
+ let K = null;
248
+ const zt = ["application/xhtml+xml", "text/html"], Gt = "text/html";
249
+ let p = null, W = null;
250
+ const Wt = l.createElement("form"), Je = function(e) {
251
251
  return e instanceof RegExp || e instanceof Function;
252
252
  }, ye = function() {
253
253
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
254
- if (!(G && G === e)) {
255
- if ((!e || typeof e != "object") && (e = {}), e = C(e), $ = // eslint-disable-next-line unicorn/prefer-includes
256
- Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : pe, T = L(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = L(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, be = L(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = L(e, "ADD_URI_SAFE_ATTR") ? r(C(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = L(e, "ADD_DATA_URI_TAGS") ? r(C(qe), e.ADD_DATA_URI_TAGS, p) : qe, y = L(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : De, j = L(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : C({}), ne = L(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : C({}), H = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ae = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, oe = e.SAFE_FOR_XML !== !1, P = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, ie = e.RETURN_DOM_FRAGMENT || !1, ae = e.RETURN_TRUSTED_TYPE || !1, Se = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || I, le = e.MATHML_TEXT_INTEGRATION_POINTS || le, ce = e.HTML_INTEGRATION_POINTS || ce, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Ae = !1), ie && (F = !0), H && (T = r({}, mt), d = me(null), H.html === !0 && (r(T, ut), r(d, pt)), H.svg === !0 && (r(T, we), r(d, ke), r(d, ue)), H.svgFilters === !0 && (r(T, xe), r(d, ke), r(d, ue)), H.mathMl === !0 && (r(T, Pe), r(d, Tt), r(d, ue))), L(e, "ADD_TAGS") || (x.tagCheck = null), L(e, "ADD_ATTR") || (x.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T === Ge && (T = C(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === We && (d = C(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.ADD_FORBID_CONTENTS, p)), Re && (T["#text"] = !0), P && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
254
+ if (!(W && W === e)) {
255
+ if ((!e || typeof e != "object") && (e = {}), e = M(e), K = // eslint-disable-next-line unicorn/prefer-includes
256
+ zt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Gt : e.PARSER_MEDIA_TYPE, p = K === "application/xhtml+xml" ? Me : Ee, T = C(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : We, d = C(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : Be, be = C(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Me) : Ft, De = C(e, "ADD_URI_SAFE_ATTR") ? r(M(Ze), e.ADD_URI_SAFE_ATTR, p) : Ze, qe = C(e, "ADD_DATA_URI_TAGS") ? r(M(Ke), e.ADD_DATA_URI_TAGS, p) : Ke, I = C(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : Oe, V = C(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : M({}), le = C(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : M({}), z = C(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ye = e.ALLOW_ARIA_ATTR !== !1, he = e.ALLOW_DATA_ATTR !== !1, Xe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, je = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, k = e.SAFE_FOR_TEMPLATES || !1, $ = e.SAFE_FOR_XML !== !1, v = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, ce = e.RETURN_DOM_FRAGMENT || !1, fe = e.RETURN_TRUSTED_TYPE || !1, Se = e.FORCE_BODY || !1, Ve = e.SANITIZE_DOM !== !1, $e = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, q = e.IN_PLACE || !1, Ge = e.ALLOWED_URI_REGEXP || ht, G = e.NAMESPACE || N, pe = e.MATHML_TEXT_INTEGRATION_POINTS || pe, Te = e.HTML_INTEGRATION_POINTS || Te, u = e.CUSTOM_ELEMENT_HANDLING || ne(null), e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), k && (he = !1), ce && (H = !0), z && (T = r({}, pt), d = ne(null), z.html === !0 && (r(T, mt), r(d, Tt)), z.svg === !0 && (r(T, xe), r(d, ve), r(d, de)), z.svgFilters === !0 && (r(T, Pe), r(d, ve), r(d, de)), z.mathMl === !0 && (r(T, ke), r(d, dt), r(d, de))), x.tagCheck = null, x.attributeCheck = null, e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T === We && (T = M(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === Be && (d = M(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(De, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (I === Oe && (I = M(I)), r(I, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (I === Oe && (I = M(I)), r(I, e.ADD_FORBID_CONTENTS, p)), Re && (T["#text"] = !0), v && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete V.tbody), e.TRUSTED_TYPES_POLICY) {
257
257
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
258
- throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
258
+ throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
259
259
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
260
- throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
261
- g = e.TRUSTED_TYPES_POLICY, X = g.createHTML("");
260
+ throw Q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
261
+ g = e.TRUSTED_TYPES_POLICY, j = g.createHTML("");
262
262
  } else
263
- g === void 0 && (g = un(ee, c)), g !== null && typeof X == "string" && (X = g.createHTML(""));
264
- S && S(e), G = e;
263
+ g === void 0 && (g = un(oe, c)), g !== null && typeof j == "string" && (j = g.createHTML(""));
264
+ S && S(e), W = e;
265
265
  }
266
- }, Je = r({}, [...we, ...xe, ...Qt]), Qe = r({}, [...Pe, ...en]), Wt = function(e) {
267
- let t = te(e);
266
+ }, Qe = r({}, [...xe, ...Pe, ...Qt]), et = r({}, [...ke, ...en]), Bt = function(e) {
267
+ let t = ie(e);
268
268
  (!t || !t.tagName) && (t = {
269
- namespaceURI: z,
269
+ namespaceURI: G,
270
270
  tagName: "template"
271
271
  });
272
- const n = pe(e.tagName), f = pe(t.tagName);
273
- return be[e.namespaceURI] ? e.namespaceURI === se ? t.namespaceURI === I ? n === "svg" : t.namespaceURI === re ? n === "svg" && (f === "annotation-xml" || le[f]) : !!Je[n] : e.namespaceURI === re ? t.namespaceURI === I ? n === "math" : t.namespaceURI === se ? n === "math" && ce[f] : !!Qe[n] : e.namespaceURI === I ? t.namespaceURI === se && !ce[f] || t.namespaceURI === re && !le[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && be[e.namespaceURI]) : !1;
274
- }, N = function(e) {
275
- q(o.removed, {
272
+ const n = Ee(e.tagName), f = Ee(t.tagName);
273
+ return be[e.namespaceURI] ? e.namespaceURI === me ? t.namespaceURI === N ? n === "svg" : t.namespaceURI === ue ? n === "svg" && (f === "annotation-xml" || pe[f]) : !!Qe[n] : e.namespaceURI === ue ? t.namespaceURI === N ? n === "math" : t.namespaceURI === me ? n === "math" && Te[f] : !!et[n] : e.namespaceURI === N ? t.namespaceURI === me && !Te[f] || t.namespaceURI === ue && !pe[f] ? !1 : !et[n] && (Ht[n] || !Qe[n]) : !!(K === "application/xhtml+xml" && be[e.namespaceURI]) : !1;
274
+ }, y = function(e) {
275
+ J(o.removed, {
276
276
  element: e
277
277
  });
278
278
  try {
279
- te(e).removeChild(e);
279
+ ie(e).removeChild(e);
280
280
  } catch {
281
- Lt(e);
281
+ bt(e);
282
282
  }
283
- }, k = function(e, t) {
283
+ }, U = function(e, t) {
284
284
  try {
285
- q(o.removed, {
285
+ J(o.removed, {
286
286
  attribute: t.getAttributeNode(e),
287
287
  from: t
288
288
  });
289
289
  } catch {
290
- q(o.removed, {
290
+ J(o.removed, {
291
291
  attribute: null,
292
292
  from: t
293
293
  });
294
294
  }
295
295
  if (t.removeAttribute(e), e === "is")
296
- if (F || ie)
296
+ if (H || ce)
297
297
  try {
298
- N(t);
298
+ y(t);
299
299
  } catch {
300
300
  }
301
301
  else
@@ -303,97 +303,97 @@ function ht() {
303
303
  t.setAttribute(e, "");
304
304
  } catch {
305
305
  }
306
- }, et = function(e) {
306
+ }, tt = function(e) {
307
307
  let t = null, n = null;
308
308
  if (Se)
309
309
  e = "<remove></remove>" + e;
310
310
  else {
311
- const m = Me(e, /^[\r\n\t ]+/);
311
+ const m = we(e, /^[\r\n\t ]+/);
312
312
  n = m && m[0];
313
313
  }
314
- $ === "application/xhtml+xml" && z === I && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
314
+ K === "application/xhtml+xml" && G === N && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
315
315
  const f = g ? g.createHTML(e) : e;
316
- if (z === I)
316
+ if (G === N)
317
317
  try {
318
- t = new Dt().parseFromString(f, $);
318
+ t = new Dt().parseFromString(f, K);
319
319
  } catch {
320
320
  }
321
321
  if (!t || !t.documentElement) {
322
- t = de.createDocument(z, "template", null);
322
+ t = ge.createDocument(G, "template", null);
323
323
  try {
324
- t.documentElement.innerHTML = Le ? X : f;
324
+ t.documentElement.innerHTML = Le ? j : f;
325
325
  } catch {
326
326
  }
327
327
  }
328
328
  const _ = t.body || t.documentElement;
329
- return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === I ? It.call(t, P ? "html" : "body")[0] : P ? t.documentElement : _;
330
- }, tt = function(e) {
331
- return Nt.call(
329
+ return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), G === N ? Mt.call(t, v ? "html" : "body")[0] : v ? t.documentElement : _;
330
+ }, nt = function(e) {
331
+ return It.call(
332
332
  e.ownerDocument || e,
333
333
  e,
334
334
  // eslint-disable-next-line no-bitwise
335
- B.SHOW_ELEMENT | B.SHOW_COMMENT | B.SHOW_TEXT | B.SHOW_PROCESSING_INSTRUCTION | B.SHOW_CDATA_SECTION,
335
+ Y.SHOW_ELEMENT | Y.SHOW_COMMENT | Y.SHOW_TEXT | Y.SHOW_PROCESSING_INSTRUCTION | Y.SHOW_CDATA_SECTION,
336
336
  null
337
337
  );
338
- }, Ne = function(e) {
339
- return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
340
- }, nt = function(e) {
341
- return typeof Te == "function" && e instanceof Te;
338
+ }, Ce = function(e) {
339
+ return e instanceof Ot && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Rt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
340
+ }, Ie = function(e) {
341
+ return typeof _e == "function" && e instanceof _e;
342
342
  };
343
- function M(i, e, t) {
344
- fe(i, (n) => {
345
- n.call(o, e, t, G);
343
+ function w(i, e, t) {
344
+ Z(i, (n) => {
345
+ n.call(o, e, t, W);
346
346
  });
347
347
  }
348
348
  const ot = function(e) {
349
349
  let t = null;
350
- if (M(A.beforeSanitizeElements, e, null), Ne(e))
351
- return N(e), !0;
350
+ if (w(h.beforeSanitizeElements, e, null), Ce(e))
351
+ return y(e), !0;
352
352
  const n = p(e.nodeName);
353
- if (M(A.uponSanitizeElement, e, {
353
+ if (w(h.uponSanitizeElement, e, {
354
354
  tagName: n,
355
355
  allowedTags: T
356
- }), oe && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || oe && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
357
- return N(e), !0;
358
- if (!(x.tagCheck instanceof Function && x.tagCheck(n)) && (!T[n] || j[n])) {
359
- if (!j[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
356
+ }), $ && e.hasChildNodes() && !Ie(e.firstElementChild) && A(/<[/\w!]/g, e.innerHTML) && A(/<[/\w!]/g, e.textContent) || $ && e.namespaceURI === N && n === "style" && Ie(e.firstElementChild) || e.nodeType === te.progressingInstruction || $ && e.nodeType === te.comment && A(/<[/\w]/g, e.data))
357
+ return y(e), !0;
358
+ if (V[n] || !(x.tagCheck instanceof Function && x.tagCheck(n)) && !T[n]) {
359
+ if (!V[n] && at(n) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
360
360
  return !1;
361
- if (Re && !y[n]) {
362
- const f = te(e) || e.parentNode, _ = yt(e) || e.childNodes;
361
+ if (Re && !I[n]) {
362
+ const f = ie(e) || e.parentNode, _ = Ct(e) || e.childNodes;
363
363
  if (_ && f) {
364
364
  const m = _.length;
365
- for (let O = m - 1; O >= 0; --O) {
366
- const w = Ot(_[O], !0);
367
- w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, bt(e));
365
+ for (let D = m - 1; D >= 0; --D) {
366
+ const L = Lt(_[D], !0);
367
+ L.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(L, yt(e));
368
368
  }
369
369
  }
370
370
  }
371
- return N(e), !0;
371
+ return y(e), !0;
372
372
  }
373
- return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, fe([Ee, _e, ge], (f) => {
374
- t = K(t, f, " ");
375
- }), e.textContent !== t && (q(o.removed, {
373
+ return e instanceof He && !Bt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && A(/<\/no(script|embed|frames)/i, e.innerHTML) ? (y(e), !0) : (k && e.nodeType === te.text && (t = e.textContent, Z([ae, re, se], (f) => {
374
+ t = B(t, f, " ");
375
+ }), e.textContent !== t && (J(o.removed, {
376
376
  element: e.cloneNode()
377
- }), e.textContent = t)), M(A.afterSanitizeElements, e, null), !1);
377
+ }), e.textContent = t)), w(h.afterSanitizeElements, e, null), !1);
378
378
  }, it = function(e, t, n) {
379
- if (ne[t] || je && (t === "id" || t === "name") && (n in l || n in Gt))
379
+ if (le[t] || Ve && (t === "id" || t === "name") && (n in l || n in Wt))
380
380
  return !1;
381
- if (!(Ae && !ne[t] && h(wt, t))) {
382
- if (!(Be && h(xt, t))) {
381
+ if (!(he && !le[t] && A(xt, t))) {
382
+ if (!(Ye && A(Pt, t))) {
383
383
  if (!(x.attributeCheck instanceof Function && x.attributeCheck(t, e))) {
384
- if (!d[t] || ne[t]) {
384
+ if (!d[t] || le[t]) {
385
385
  if (
386
386
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
387
387
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
388
388
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
389
- !(at(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
389
+ !(at(e) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && A(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
390
390
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
391
- t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
391
+ t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
392
392
  ) return !1;
393
- } else if (!Oe[t]) {
394
- if (!h(ze, K(n, He, ""))) {
395
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && $e[e])) {
396
- if (!(Ye && !h(Pt, K(n, He, "")))) {
393
+ } else if (!De[t]) {
394
+ if (!A(Ge, B(n, ze, ""))) {
395
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && qe[e])) {
396
+ if (!(Xe && !A(kt, B(n, ze, "")))) {
397
397
  if (n)
398
398
  return !1;
399
399
  }
@@ -405,13 +405,13 @@ function ht() {
405
405
  }
406
406
  return !0;
407
407
  }, at = function(e) {
408
- return e !== "annotation-xml" && Me(e, kt);
408
+ return e !== "annotation-xml" && we(e, vt);
409
409
  }, rt = function(e) {
410
- M(A.beforeSanitizeAttributes, e, null);
410
+ w(h.beforeSanitizeAttributes, e, null);
411
411
  const {
412
412
  attributes: t
413
413
  } = e;
414
- if (!t || Ne(e))
414
+ if (!t || Ce(e))
415
415
  return;
416
416
  const n = {
417
417
  attrName: "",
@@ -424,38 +424,38 @@ function ht() {
424
424
  for (; f--; ) {
425
425
  const _ = t[f], {
426
426
  name: m,
427
- namespaceURI: O,
428
- value: w
429
- } = _, W = p(m), Ce = w;
430
- let E = m === "value" ? Ce : Kt(Ce);
431
- if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (k(m, e), E = vt + E), oe && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
432
- k(m, e);
427
+ namespaceURI: D,
428
+ value: L
429
+ } = _, P = p(m), Ne = L;
430
+ let E = m === "value" ? Ne : Kt(Ne);
431
+ if (n.attrName = P, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, w(h.uponSanitizeAttribute, e, n), E = n.attrValue, $e && (P === "id" || P === "name") && (U(m, e), E = Ut + E), $ && A(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
432
+ U(m, e);
433
433
  continue;
434
434
  }
435
- if (W === "attributename" && Me(E, "href")) {
436
- k(m, e);
435
+ if (P === "attributename" && we(E, "href")) {
436
+ U(m, e);
437
437
  continue;
438
438
  }
439
439
  if (n.forceKeepAttr)
440
440
  continue;
441
441
  if (!n.keepAttr) {
442
- k(m, e);
442
+ U(m, e);
443
443
  continue;
444
444
  }
445
- if (!Xe && h(/\/>/i, E)) {
446
- k(m, e);
445
+ if (!je && A(/\/>/i, E)) {
446
+ U(m, e);
447
447
  continue;
448
448
  }
449
- U && fe([Ee, _e, ge], (lt) => {
450
- E = K(E, lt, " ");
449
+ k && Z([ae, re, se], (ct) => {
450
+ E = B(E, ct, " ");
451
451
  });
452
- const st = p(e.nodeName);
453
- if (!it(st, W, E)) {
454
- k(m, e);
452
+ const lt = p(e.nodeName);
453
+ if (!it(lt, P, E)) {
454
+ U(m, e);
455
455
  continue;
456
456
  }
457
- if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !O)
458
- switch (ee.getAttributeType(st, W)) {
457
+ if (g && typeof oe == "object" && typeof oe.getAttributeType == "function" && !D)
458
+ switch (oe.getAttributeType(lt, P)) {
459
459
  case "TrustedHTML": {
460
460
  E = g.createHTML(E);
461
461
  break;
@@ -465,89 +465,96 @@ function ht() {
465
465
  break;
466
466
  }
467
467
  }
468
- if (E !== Ce)
468
+ if (E !== Ne)
469
469
  try {
470
- O ? e.setAttributeNS(O, m, E) : e.setAttribute(m, E), Ne(e) ? N(e) : ft(o.removed);
470
+ D ? e.setAttributeNS(D, m, E) : e.setAttribute(m, E), Ce(e) ? y(e) : ut(o.removed);
471
471
  } catch {
472
- k(m, e);
472
+ U(m, e);
473
473
  }
474
474
  }
475
- M(A.afterSanitizeAttributes, e, null);
476
- }, Bt = function i(e) {
475
+ w(h.afterSanitizeAttributes, e, null);
476
+ }, st = function(e) {
477
477
  let t = null;
478
- const n = tt(e);
479
- for (M(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
480
- M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof D && i(t.content);
481
- M(A.afterSanitizeShadowDOM, e, null);
478
+ const n = nt(e);
479
+ for (w(h.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
480
+ w(h.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof O && st(t.content);
481
+ w(h.afterSanitizeShadowDOM, e, null);
482
482
  };
483
483
  return o.sanitize = function(i) {
484
484
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _ = null;
485
- if (Le = !i, Le && (i = "<!-->"), typeof i != "string" && !nt(i))
485
+ if (Le = !i, Le && (i = "<!-->"), typeof i != "string" && !Ie(i))
486
486
  if (typeof i.toString == "function") {
487
487
  if (i = i.toString(), typeof i != "string")
488
- throw Z("dirty is not a string, aborting");
488
+ throw Q("dirty is not a string, aborting");
489
489
  } else
490
- throw Z("toString is not a function");
490
+ throw Q("toString is not a function");
491
491
  if (!o.isSupported)
492
492
  return i;
493
- if (he || ye(e), o.removed = [], typeof i == "string" && (V = !1), V) {
493
+ if (Ae || ye(e), o.removed = [], typeof i == "string" && (q = !1), q) {
494
494
  if (i.nodeName) {
495
- const w = p(i.nodeName);
496
- if (!T[w] || j[w])
497
- throw Z("root node is forbidden and cannot be sanitized in-place");
495
+ const L = p(i.nodeName);
496
+ if (!T[L] || V[L])
497
+ throw Q("root node is forbidden and cannot be sanitized in-place");
498
498
  }
499
- } else if (i instanceof Te)
500
- t = et("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
499
+ } else if (i instanceof _e)
500
+ t = tt("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === te.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
501
501
  else {
502
- if (!F && !U && !P && // eslint-disable-next-line unicorn/prefer-includes
502
+ if (!H && !k && !v && // eslint-disable-next-line unicorn/prefer-includes
503
503
  i.indexOf("<") === -1)
504
- return g && ae ? g.createHTML(i) : i;
505
- if (t = et(i), !t)
506
- return F ? null : ae ? X : "";
504
+ return g && fe ? g.createHTML(i) : i;
505
+ if (t = tt(i), !t)
506
+ return H ? null : fe ? j : "";
507
507
  }
508
- t && Se && N(t.firstChild);
509
- const m = tt(V ? i : t);
508
+ t && Se && y(t.firstChild);
509
+ const m = nt(q ? i : t);
510
510
  for (; f = m.nextNode(); )
511
- ot(f), rt(f), f.content instanceof D && Bt(f.content);
512
- if (V)
511
+ ot(f), rt(f), f.content instanceof O && st(f.content);
512
+ if (q)
513
513
  return i;
514
- if (F) {
515
- if (ie)
516
- for (_ = Ct.call(t.ownerDocument); t.firstChild; )
514
+ if (H) {
515
+ if (k) {
516
+ t.normalize();
517
+ let L = t.innerHTML;
518
+ Z([ae, re, se], (P) => {
519
+ L = B(L, P, " ");
520
+ }), t.innerHTML = L;
521
+ }
522
+ if (ce)
523
+ for (_ = Nt.call(t.ownerDocument); t.firstChild; )
517
524
  _.appendChild(t.firstChild);
518
525
  else
519
526
  _ = t;
520
- return (d.shadowroot || d.shadowrootmode) && (_ = Mt.call(a, _, !0)), _;
527
+ return (d.shadowroot || d.shadowrootmode) && (_ = wt.call(a, _, !0)), _;
521
528
  }
522
- let O = P ? t.outerHTML : t.innerHTML;
523
- return P && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (O = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
524
- ` + O), U && fe([Ee, _e, ge], (w) => {
525
- O = K(O, w, " ");
526
- }), g && ae ? g.createHTML(O) : O;
529
+ let D = v ? t.outerHTML : t.innerHTML;
530
+ return v && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && A(At, t.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
531
+ ` + D), k && Z([ae, re, se], (L) => {
532
+ D = B(D, L, " ");
533
+ }), g && fe ? g.createHTML(D) : D;
527
534
  }, o.setConfig = function() {
528
535
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
529
- ye(i), he = !0;
536
+ ye(i), Ae = !0;
530
537
  }, o.clearConfig = function() {
531
- G = null, he = !1;
538
+ W = null, Ae = !1;
532
539
  }, o.isValidAttribute = function(i, e, t) {
533
- G || ye({});
540
+ W || ye({});
534
541
  const n = p(i), f = p(e);
535
542
  return it(n, f, t);
536
543
  }, o.addHook = function(i, e) {
537
- typeof e == "function" && q(A[i], e);
544
+ typeof e == "function" && J(h[i], e);
538
545
  }, o.removeHook = function(i, e) {
539
546
  if (e !== void 0) {
540
- const t = Vt(A[i], e);
541
- return t === -1 ? void 0 : $t(A[i], t, 1)[0];
547
+ const t = Vt(h[i], e);
548
+ return t === -1 ? void 0 : $t(h[i], t, 1)[0];
542
549
  }
543
- return ft(A[i]);
550
+ return ut(h[i]);
544
551
  }, o.removeHooks = function(i) {
545
- A[i] = [];
552
+ h[i] = [];
546
553
  }, o.removeAllHooks = function() {
547
- A = Et();
554
+ h = _t();
548
555
  }, o;
549
556
  }
550
- var mn = ht();
557
+ var mn = St();
551
558
  export {
552
559
  mn as p
553
560
  };