@plumile/ui 0.1.185 → 0.1.188

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 (214) hide show
  1. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +1 -1
  2. package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +4 -2
  3. package/lib/esm/admin/organisms/admin_topbar/adminTopbar.css.js +1 -3
  4. package/lib/esm/atomic/atoms/badge/badge.css.js +7 -7
  5. package/lib/esm/atomic/atoms/button/button.css.js +38 -38
  6. package/lib/esm/atomic/atoms/checkbox/checkbox.css.js +6 -6
  7. package/lib/esm/atomic/atoms/error_message/errorMessage.css.js +1 -1
  8. package/lib/esm/atomic/atoms/input/input.css.js +9 -9
  9. package/lib/esm/atomic/atoms/label/label.css.js +3 -3
  10. package/lib/esm/atomic/atoms/modal/Modal.js +1 -1
  11. package/lib/esm/atomic/atoms/modal/modal.css.js +1 -1
  12. package/lib/esm/atomic/atoms/overlay/overlay.css.js +1 -1
  13. package/lib/esm/atomic/atoms/textarea/textarea.css.js +8 -8
  14. package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuPopover.js +1 -1
  15. package/lib/esm/atomic/molecules/breadcrumb_navigation/breadcrumbNavigation.css.js +1 -1
  16. package/lib/esm/atomic/molecules/checkbox_field/checkboxField.css.js +1 -1
  17. package/lib/esm/atomic/molecules/dropdown/Dropdown.js +75 -95
  18. package/lib/esm/atomic/molecules/dropdown/Dropdown.js.map +1 -1
  19. package/lib/esm/atomic/molecules/dropdown/dropdown.css.js +1 -1
  20. package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js +17 -17
  21. package/lib/esm/atomic/molecules/form/formStyles.css.js +1 -1
  22. package/lib/esm/atomic/molecules/form_error/formError.css.js +1 -1
  23. package/lib/esm/atomic/molecules/form_field/formField.css.js +1 -1
  24. package/lib/esm/atomic/molecules/form_field_layout/FormFieldLayout.js +55 -0
  25. package/lib/esm/atomic/molecules/form_field_layout/FormFieldLayout.js.map +1 -0
  26. package/lib/esm/atomic/molecules/form_field_layout/formFieldLayout.css.js +8 -0
  27. package/lib/esm/atomic/molecules/form_field_layout/formFieldLayout.css.js.map +1 -0
  28. package/lib/esm/atomic/molecules/form_grid/FormGrid.css.js +11 -2
  29. package/lib/esm/atomic/molecules/form_grid/FormGrid.css.js.map +1 -1
  30. package/lib/esm/atomic/molecules/form_grid/FormGrid.js +10 -6
  31. package/lib/esm/atomic/molecules/form_grid/FormGrid.js.map +1 -1
  32. package/lib/esm/atomic/molecules/highlight/HighlightCode.css.js +1 -1
  33. package/lib/esm/atomic/molecules/highlight/highlightStyles.css.js +1 -1
  34. package/lib/esm/atomic/molecules/markdown/LazyMarkdownRenderer.css.js +1 -1
  35. package/lib/esm/atomic/molecules/markdown/LazyMarkdownRenderer.css.js.map +1 -1
  36. package/lib/esm/atomic/molecules/markdown/components/MarkdownArticleContainer.css.js +1 -0
  37. package/lib/esm/atomic/molecules/markdown/components/MarkdownBlockquote.css.js +1 -1
  38. package/lib/esm/atomic/molecules/markdown/components/MarkdownCodeCopyButton.css.js +1 -1
  39. package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnoteDefinition.css.js +1 -1
  40. package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnotesSection.css.js +1 -1
  41. package/lib/esm/atomic/molecules/markdown/components/MarkdownHeading.css.js +1 -1
  42. package/lib/esm/atomic/molecules/markdown/components/MarkdownHtmlFallback.css.js +1 -1
  43. package/lib/esm/atomic/molecules/markdown/components/MarkdownImage.css.js +1 -1
  44. package/lib/esm/atomic/molecules/markdown/components/MarkdownInlineCode.css.js +1 -2
  45. package/lib/esm/atomic/molecules/markdown/components/MarkdownInlineCode.css.js.map +1 -1
  46. package/lib/esm/atomic/molecules/markdown/components/MarkdownLink.css.js +1 -1
  47. package/lib/esm/atomic/molecules/markdown/components/MarkdownList.css.js +1 -1
  48. package/lib/esm/atomic/molecules/markdown/components/MarkdownMark.css.js +1 -1
  49. package/lib/esm/atomic/molecules/markdown/components/MarkdownMermaidBlock.css.js +1 -1
  50. package/lib/esm/atomic/molecules/markdown/components/MarkdownTable.css.js +1 -1
  51. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCaption.css.js +1 -1
  52. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCell.css.js +1 -1
  53. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableHead.css.js +1 -1
  54. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableHeaderCell.css.js +1 -1
  55. package/lib/esm/atomic/molecules/markdown/components/MarkdownTaskListItem.css.js +1 -1
  56. package/lib/esm/atomic/molecules/markdown/components/MarkdownText.css.js +1 -1
  57. package/lib/esm/atomic/molecules/markdown/components/MarkdownThematicBreak.css.js +1 -1
  58. package/lib/esm/atomic/molecules/tabs/tabs.css.js +14 -14
  59. package/lib/esm/atomic/molecules/toast/ToastViewport.js +3 -1
  60. package/lib/esm/atomic/molecules/toast/ToastViewport.js.map +1 -1
  61. package/lib/esm/atomic/molecules/toast/toast.css.js +2 -2
  62. package/lib/esm/atomic/organisms/login_form/loginForm.css.js +1 -1
  63. package/lib/esm/atomic/organisms/sidebar/SidebarContainer.js +1 -1
  64. package/lib/esm/atomic/organisms/sidebar/navigationSidebar.css.js +7 -7
  65. package/lib/esm/atomic/organisms/sidebar/sidebar.css.js +2 -2
  66. package/lib/esm/atomic/templates/auth_layout/authLayout.css.js +1 -1
  67. package/lib/esm/atomic/templates/page-container/pageContainer.css.js +1 -1
  68. package/lib/esm/backoffice/atoms/copyable_text/copyableText.css.js +1 -1
  69. package/lib/esm/backoffice/atoms/shortcut_hint/shortcutHint.css.js +1 -1
  70. package/lib/esm/backoffice/atoms/status_badge/statusBadge.css.js +1 -1
  71. package/lib/esm/backoffice/atoms/tag/tag.css.js +7 -7
  72. package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js +1 -1
  73. package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js +1 -1
  74. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js +3 -3
  75. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.js +1 -1
  76. package/lib/esm/backoffice/molecules/backoffice_filter_field/backofficeFilterField.css.js +1 -1
  77. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.css.js +1 -1
  78. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +1 -1
  79. package/lib/esm/backoffice/molecules/backoffice_json_viewer/backofficeJsonViewer.css.js +1 -1
  80. package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js +1 -1
  81. package/lib/esm/backoffice/molecules/backoffice_key_value_section/backofficeKeyValueSection.css.js +1 -1
  82. package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js +2 -2
  83. package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js +1 -1
  84. package/lib/esm/backoffice/molecules/backoffice_page_header/BackofficePageHeader.js +1 -1
  85. package/lib/esm/backoffice/molecules/backoffice_page_header/backofficePageHeader.css.js +1 -1
  86. package/lib/esm/backoffice/molecules/backoffice_payload_section/backofficePayloadSection.css.js +1 -1
  87. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js +1 -1
  88. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js +1 -1
  89. package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js +1 -1
  90. package/lib/esm/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js +3 -3
  91. package/lib/esm/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.js +1 -1
  92. package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js +1 -1
  93. package/lib/esm/backoffice/molecules/backoffice_sticky_disclosure/BackofficeStickyDisclosure.js +1 -1
  94. package/lib/esm/backoffice/molecules/backoffice_sticky_disclosure/backofficeStickyDisclosure.css.js +4 -4
  95. package/lib/esm/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.js +2 -2
  96. package/lib/esm/backoffice/molecules/backoffice_tool_call_frame/BackofficeToolCallFrame.js +2 -2
  97. package/lib/esm/backoffice/molecules/backoffice_tool_call_frame/backofficeToolCallFrame.css.js +1 -1
  98. package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js +6 -6
  99. package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js +2 -2
  100. package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js +1 -1
  101. package/lib/esm/backoffice/molecules/filter_chip_row/filterChipRow.css.js +1 -1
  102. package/lib/esm/backoffice/molecules/global_search_input/globalSearchInput.css.js +1 -1
  103. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js +1 -1
  104. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +1 -1
  105. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +2 -2
  106. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +1 -1
  107. package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js +2 -2
  108. package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js +5 -5
  109. package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js +3 -3
  110. package/lib/esm/backoffice/organisms/entity_header/entityHeader.css.js +1 -1
  111. package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js +1 -1
  112. package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js +4 -4
  113. package/lib/esm/backoffice/templates/list_page_template/listPageTemplate.css.js +1 -1
  114. package/lib/esm/components/agent/AgentMarkdownCard.css.js +1 -1
  115. package/lib/esm/components/charts/metricHistoryChart.css.js +1 -1
  116. package/lib/esm/components/charts/timeSeriesLineChart.css.js +1 -1
  117. package/lib/esm/components/dashboard/activity_card/ActivityCard.css.js +1 -1
  118. package/lib/esm/components/dashboard/activity_card/ActivityCard.js +2 -2
  119. package/lib/esm/components/dashboard/dashboard_grid/DashboardGrid.css.js +1 -1
  120. package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js +1 -1
  121. package/lib/esm/components/dashboard/dashboard_operational/DashboardEntitySpotlight.css.js +1 -1
  122. package/lib/esm/components/dashboard/dashboard_operational/DashboardEntitySpotlight.js +2 -2
  123. package/lib/esm/components/dashboard/dashboard_operational/DashboardHealthMatrix.css.js +1 -1
  124. package/lib/esm/components/dashboard/dashboard_operational/DashboardItemList.css.js +1 -1
  125. package/lib/esm/components/dashboard/dashboard_operational/DashboardItemList.js +1 -1
  126. package/lib/esm/components/dashboard/dashboard_operational/DashboardLinkedSurface.css.js +1 -1
  127. package/lib/esm/components/dashboard/dashboard_operational/DashboardProgressBar.css.js +1 -1
  128. package/lib/esm/components/dashboard/dashboard_operational/DashboardSlaGauge.css.js +1 -1
  129. package/lib/esm/components/dashboard/dashboard_operational/DashboardToneBadge.css.js +1 -1
  130. package/lib/esm/components/dashboard/dashboard_operational/DashboardTrendMetric.css.js +1 -1
  131. package/lib/esm/components/dashboard/dashboard_operational/DashboardTrendMetric.js +1 -1
  132. package/lib/esm/components/dashboard/dashboard_operational/DashboardWindowControl.css.js +1 -1
  133. package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js +1 -1
  134. package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js +1 -1
  135. package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js +1 -1
  136. package/lib/esm/components/dashboard/metadata_strip/MetadataStrip.css.js +1 -1
  137. package/lib/esm/components/dashboard/metric_card/MetricCard.css.js +2 -2
  138. package/lib/esm/components/dashboard/metric_card/MetricCard.js +2 -2
  139. package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js +1 -1
  140. package/lib/esm/components/dashboard/page_hero/PageHero.css.js +1 -1
  141. package/lib/esm/components/dashboard/page_hero/PageHero.js +2 -2
  142. package/lib/esm/components/dashboard/selectable_card/SelectableCard.css.js +1 -1
  143. package/lib/esm/components/dashboard/selectable_card/SelectableCard.js +1 -1
  144. package/lib/esm/components/dashboard/status_summary_panel/StatusSummaryPanel.css.js +1 -1
  145. package/lib/esm/components/dashboard/status_summary_panel/StatusSummaryPanel.js +1 -1
  146. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js +2 -2
  147. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js +7 -7
  148. package/lib/esm/components/data-table/DataTable.css.js +23 -23
  149. package/lib/esm/components/data-table/DataTable.js +1 -1
  150. package/lib/esm/components/data-table/ResponsiveRecordList.css.js +5 -5
  151. package/lib/esm/components/data-table/TableCell.css.js +2 -2
  152. package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js +1 -1
  153. package/lib/esm/components/feedback/OperationFeedback.css.js +1 -1
  154. package/lib/esm/components/feedback/inlineBanner.css.js +6 -6
  155. package/lib/esm/components/infinite/InfiniteScrollTrigger.js +1 -1
  156. package/lib/esm/components/infinite/infiniteScrollTrigger.css.js +1 -1
  157. package/lib/esm/components/layout/ActionPanel.css.js +1 -1
  158. package/lib/esm/components/layout/ActionPanel.js +1 -1
  159. package/lib/esm/components/layout/AppHeader.css.js +1 -1
  160. package/lib/esm/components/layout/AppHeader.js +2 -2
  161. package/lib/esm/components/layout/ContentLayout.css.js +1 -1
  162. package/lib/esm/components/layout/DetailSummaryHeader.css.js +1 -1
  163. package/lib/esm/components/layout/DetailSummaryHeader.js +2 -2
  164. package/lib/esm/components/layout/PageShell.css.js +1 -1
  165. package/lib/esm/components/layout/PageShell.js +4 -4
  166. package/lib/esm/components/layout/ResizableSplitView.css.js +1 -1
  167. package/lib/esm/components/layout/ResizableSplitView.js +1 -1
  168. package/lib/esm/components/layout/SettingsLayout.css.js +1 -1
  169. package/lib/esm/components/layout/Surface.css.js +9 -9
  170. package/lib/esm/components/layout/Surface.js +2 -2
  171. package/lib/esm/components/layout/toolbar/Toolbar.css.js +3 -3
  172. package/lib/esm/components/layout/top_navigation_shell/TopNavigationShell.css.js +3 -3
  173. package/lib/esm/components/media/imagePreviewModal.css.js +5 -5
  174. package/lib/esm/components/navigation/sidebar/SidebarNavigation.js +1 -1
  175. package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js +1 -1
  176. package/lib/esm/components/responsive/ResponsiveCollectionRenderer.css.js +1 -1
  177. package/lib/esm/components/routing/routeFallback.css.js +1 -1
  178. package/lib/esm/components/routing/routePendingBar.css.js +1 -1
  179. package/lib/esm/components/select/SimpleSelect.css.js +13 -13
  180. package/lib/esm/components/select/SimpleSelect.css.js.map +1 -1
  181. package/lib/esm/components/select/SimpleSelect.js +141 -96
  182. package/lib/esm/components/select/SimpleSelect.js.map +1 -1
  183. package/lib/esm/components/tile/InfoTile.css.js +1 -1
  184. package/lib/esm/components/tile/InfoTile.js +1 -1
  185. package/lib/esm/index.js +245 -244
  186. package/lib/esm/node_modules/dompurify/dist/purify.es.js +127 -125
  187. package/lib/esm/node_modules/dompurify/dist/purify.es.js.map +1 -1
  188. package/lib/esm/shared/anchoredFloatingPosition.js +27 -0
  189. package/lib/esm/shared/anchoredFloatingPosition.js.map +1 -0
  190. package/lib/esm/style.css +1 -1
  191. package/lib/esm/theme/accessibility.css.js +1 -1
  192. package/lib/esm/theme/sprinkles.css.js +8252 -8216
  193. package/lib/esm/theme/sprinkles.css.js.map +1 -1
  194. package/lib/esm/theme/styleRecipes.css.js +7 -7
  195. package/lib/types/atomic/molecules/dropdown/Dropdown.d.ts +2 -1
  196. package/lib/types/atomic/molecules/dropdown/Dropdown.d.ts.map +1 -1
  197. package/lib/types/atomic/molecules/form_field_layout/FormFieldLayout.d.ts +20 -0
  198. package/lib/types/atomic/molecules/form_field_layout/FormFieldLayout.d.ts.map +1 -0
  199. package/lib/types/atomic/molecules/form_field_layout/formFieldLayout.css.d.ts +8 -0
  200. package/lib/types/atomic/molecules/form_field_layout/formFieldLayout.css.d.ts.map +1 -0
  201. package/lib/types/atomic/molecules/form_grid/FormGrid.css.d.ts +6 -1
  202. package/lib/types/atomic/molecules/form_grid/FormGrid.css.d.ts.map +1 -1
  203. package/lib/types/atomic/molecules/form_grid/FormGrid.d.ts +2 -1
  204. package/lib/types/atomic/molecules/form_grid/FormGrid.d.ts.map +1 -1
  205. package/lib/types/atomic/molecules/toast/ToastViewport.d.ts +1 -0
  206. package/lib/types/atomic/molecules/toast/ToastViewport.d.ts.map +1 -1
  207. package/lib/types/components/select/SimpleSelect.css.d.ts.map +1 -1
  208. package/lib/types/components/select/SimpleSelect.d.ts.map +1 -1
  209. package/lib/types/index.d.ts +1 -0
  210. package/lib/types/index.d.ts.map +1 -1
  211. package/lib/types/shared/anchoredFloatingPosition.d.ts +23 -0
  212. package/lib/types/shared/anchoredFloatingPosition.d.ts.map +1 -0
  213. package/lib/types/theme/sprinkles.css.d.ts +28 -28
  214. package/package.json +3 -3
@@ -251,7 +251,7 @@ var he = d(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
251
251
  };
252
252
  function Ue() {
253
253
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Be(), t = (e) => Ue(e);
254
- if (t.version = "3.4.10", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
254
+ if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
255
255
  let n = e.document, r = n, i = r.currentScript;
256
256
  e.DocumentFragment;
257
257
  let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
@@ -324,14 +324,14 @@ function Ue() {
324
324
  enumerable: !0,
325
325
  value: null
326
326
  }
327
- })), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, yt = !0, V = !1, bt = !1, xt = !1, H = !1, St = !1, Ct = !1, wt = !0, Tt = !1, Et = "user-content-", Dt = !0, Ot = !1, U = {}, W = null, kt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), At = null, jt = E({}, [
327
+ })), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, yt = !0, V = !1, bt = !1, xt = null, St = null, Ct = !1, H = !1, wt = !1, Tt = !1, Et = !0, Dt = !1, Ot = "user-content-", kt = !0, At = !1, U = {}, W = null, jt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Mt = null, Nt = E({}, [
328
328
  "audio",
329
329
  "video",
330
330
  "img",
331
331
  "source",
332
332
  "image",
333
333
  "track"
334
- ]), Mt = null, Nt = E({}, [
334
+ ]), Pt = null, Ft = E({}, [
335
335
  "alt",
336
336
  "class",
337
337
  "for",
@@ -346,36 +346,36 @@ function Ue() {
346
346
  "value",
347
347
  "style",
348
348
  "xmlns"
349
- ]), Pt = "http://www.w3.org/1998/Math/MathML", Ft = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, It = !1, Lt = null, Rt = E({}, [
350
- Pt,
351
- Ft,
349
+ ]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, Rt = !1, zt = null, Bt = E({}, [
350
+ It,
351
+ Lt,
352
352
  G
353
- ], oe), zt = d([
353
+ ], oe), Vt = d([
354
354
  "mi",
355
355
  "mo",
356
356
  "mn",
357
357
  "ms",
358
358
  "mtext"
359
- ]), Bt = E({}, zt), Vt = d(["annotation-xml"]), Ht = E({}, Vt), Ut = E({}, [
359
+ ]), Ht = E({}, Vt), Ut = d(["annotation-xml"]), Wt = E({}, Ut), Gt = E({}, [
360
360
  "title",
361
361
  "style",
362
362
  "font",
363
363
  "a",
364
364
  "script"
365
- ]), q = null, Wt = ["application/xhtml+xml", "text/html"], J = null, Y = null, Gt = n.createElement("form"), Kt = function(e) {
365
+ ]), Kt = null, qt = ["application/xhtml+xml", "text/html"], q = null, J = null, Jt = n.createElement("form"), Yt = function(e) {
366
366
  return e instanceof RegExp || e instanceof Function;
367
- }, qt = function() {
367
+ }, Xt = function() {
368
368
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
369
- if (Y && Y === e) return;
370
- (!e || typeof e != "object") && (e = {}), e = O(e), q = Wt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? oe : ae, I = j(e, "ALLOWED_TAGS", dt, { transform: J }), L = j(e, "ALLOWED_ATTR", ft, { transform: J }), Lt = j(e, "ALLOWED_NAMESPACES", Rt, { transform: oe }), Mt = j(e, "ADD_URI_SAFE_ATTR", Nt, {
371
- transform: J,
369
+ if (J && J === e) return;
370
+ (!e || typeof e != "object") && (e = {}), e = O(e), Kt = qt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, q = Kt === "application/xhtml+xml" ? oe : ae, I = j(e, "ALLOWED_TAGS", dt, { transform: q }), L = j(e, "ALLOWED_ATTR", ft, { transform: q }), zt = j(e, "ALLOWED_NAMESPACES", Bt, { transform: oe }), Pt = j(e, "ADD_URI_SAFE_ATTR", Ft, {
371
+ transform: q,
372
+ base: Ft
373
+ }), Mt = j(e, "ADD_DATA_URI_TAGS", Nt, {
374
+ transform: q,
372
375
  base: Nt
373
- }), At = j(e, "ADD_DATA_URI_TAGS", jt, {
374
- transform: J,
375
- base: jt
376
- }), W = j(e, "FORBID_CONTENTS", kt, { transform: J }), pt = j(e, "FORBID_TAGS", O({}), { transform: J }), mt = j(e, "FORBID_ATTR", O({}), { transform: J }), U = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, yt = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, St = e.RETURN_DOM_FRAGMENT || !1, Ct = e.RETURN_TRUSTED_TYPE || !1, xt = e.FORCE_BODY || !1, wt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, Dt = e.KEEP_CONTENT !== !1, Ot = e.IN_PLACE || !1, ut = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Bt = b(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? O(e.MATHML_TEXT_INTEGRATION_POINTS) : E({}, zt), Ht = b(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? O(e.HTML_INTEGRATION_POINTS) : E({}, Vt);
376
+ }), W = j(e, "FORBID_CONTENTS", jt, { transform: q }), pt = j(e, "FORBID_TAGS", O({}), { transform: q }), mt = j(e, "FORBID_ATTR", O({}), { transform: q }), U = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, yt = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, wt = e.RETURN_DOM_FRAGMENT || !1, Tt = e.RETURN_TRUSTED_TYPE || !1, Ct = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, Dt = e.SANITIZE_NAMED_PROPS || !1, kt = e.KEEP_CONTENT !== !1, At = e.IN_PLACE || !1, ut = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Ht = b(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? O(e.MATHML_TEXT_INTEGRATION_POINTS) : E({}, Vt), Wt = b(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? O(e.HTML_INTEGRATION_POINTS) : E({}, Ut);
377
377
  let t = b(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? O(e.CUSTOM_ELEMENT_HANDLING) : p(null);
378
- if (R = p(null), b(t, "tagNameCheck") && Kt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && Kt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(R), B && (gt = !1), St && (H = !0), U && (I = E({}, xe), L = p(null), U.html === !0 && (E(I, he), E(L, Se)), U.svg === !0 && (E(I, ge), E(L, Ce), E(L, Te)), U.svgFilters === !0 && (E(I, _e), E(L, Ce), E(L, Te)), U.mathMl === !0 && (E(I, ye), E(L, we), E(L, Te))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === dt && (I = O(I)), E(I, e.ADD_TAGS, J))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === ft && (L = O(L)), E(L, e.ADD_ATTR, J))), b(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && E(Mt, e.ADD_URI_SAFE_ATTR, J), b(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (W === kt && (W = O(W)), E(W, e.FORBID_CONTENTS, J)), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (W === kt && (W = O(W)), E(W, e.ADD_FORBID_CONTENTS, J)), Dt && (I["#text"] = !0), V && E(I, [
378
+ if (R = p(null), b(t, "tagNameCheck") && Yt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && Yt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(R), B && (gt = !1), wt && (H = !0), U && (I = E({}, xe), L = p(null), U.html === !0 && (E(I, he), E(L, Se)), U.svg === !0 && (E(I, ge), E(L, Ce), E(L, Te)), U.svgFilters === !0 && (E(I, _e), E(L, Ce), E(L, Te)), U.mathMl === !0 && (E(I, ye), E(L, we), E(L, Te))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === dt && (I = O(I)), E(I, e.ADD_TAGS, q))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === ft && (L = O(L)), E(L, e.ADD_ATTR, q))), b(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && E(Pt, e.ADD_URI_SAFE_ATTR, q), b(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.FORBID_CONTENTS, q)), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.ADD_FORBID_CONTENTS, q)), kt && (I["#text"] = !0), V && E(I, [
379
379
  "html",
380
380
  "head",
381
381
  "body"
@@ -390,33 +390,33 @@ function Ue() {
390
390
  throw M = t, e;
391
391
  }
392
392
  } else e.TRUSTED_TYPES_POLICY === null ? (M = void 0, N = "") : (M === void 0 && (M = Ye()), M && typeof N == "string" && (N = P("")));
393
- (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && I === dt && (I = O(I)), F.uponSanitizeAttribute.length > 0 && L === ft && (L = O(L)), d && d(e), Y = e;
394
- }, Jt = E({}, [
393
+ d && d(e), J = e;
394
+ }, Zt = E({}, [
395
395
  ...ge,
396
396
  ..._e,
397
397
  ...ve
398
- ]), Yt = E({}, [...ye, ...be]), Xt = function(e, t, n) {
399
- return t.namespaceURI === G ? e === "svg" : t.namespaceURI === Pt ? e === "svg" && (n === "annotation-xml" || Bt[n]) : !!Jt[e];
400
- }, Zt = function(e, t, n) {
401
- return t.namespaceURI === G ? e === "math" : t.namespaceURI === Ft ? e === "math" && Ht[n] : !!Yt[e];
402
- }, Qt = function(e, t, n) {
403
- return t.namespaceURI === Ft && !Ht[n] || t.namespaceURI === Pt && !Bt[n] ? !1 : !Yt[e] && (Ut[e] || !Jt[e]);
404
- }, $t = function(e) {
398
+ ]), Qt = E({}, [...ye, ...be]), $t = function(e, t, n) {
399
+ return t.namespaceURI === G ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || Ht[n]) : !!Zt[e];
400
+ }, en = function(e, t, n) {
401
+ return t.namespaceURI === G ? e === "math" : t.namespaceURI === Lt ? e === "math" && Wt[n] : !!Qt[e];
402
+ }, tn = function(e, t, n) {
403
+ return t.namespaceURI === Lt && !Wt[n] || t.namespaceURI === It && !Ht[n] ? !1 : !Qt[e] && (Gt[e] || !Zt[e]);
404
+ }, nn = function(e) {
405
405
  let t = y(e);
406
406
  (!t || !t.tagName) && (t = {
407
407
  namespaceURI: K,
408
408
  tagName: "template"
409
409
  });
410
410
  let n = ae(e.tagName), r = ae(t.tagName);
411
- return Lt[e.namespaceURI] ? e.namespaceURI === Ft ? Xt(n, t, r) : e.namespaceURI === Pt ? Zt(n, t, r) : e.namespaceURI === G ? Qt(n, t, r) : !!(q === "application/xhtml+xml" && Lt[e.namespaceURI]) : !1;
412
- }, X = function(e) {
411
+ return zt[e.namespaceURI] ? e.namespaceURI === Lt ? $t(n, t, r) : e.namespaceURI === It ? en(n, t, r) : e.namespaceURI === G ? tn(n, t, r) : !!(Kt === "application/xhtml+xml" && zt[e.namespaceURI]) : !1;
412
+ }, Y = function(e) {
413
413
  g(t.removed, { element: e });
414
414
  try {
415
415
  y(e).removeChild(e);
416
416
  } catch {
417
417
  if (de(e), !y(e)) throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
418
418
  }
419
- }, en = function(e) {
419
+ }, rn = function(e) {
420
420
  let t = v(e);
421
421
  if (t) {
422
422
  let e = [];
@@ -435,7 +435,7 @@ function Ue() {
435
435
  e.removeAttribute(i);
436
436
  } catch {}
437
437
  }
438
- }, Z = function(e, n) {
438
+ }, X = function(e, n) {
439
439
  try {
440
440
  g(t.removed, {
441
441
  attribute: n.getAttributeNode(e),
@@ -447,71 +447,71 @@ function Ue() {
447
447
  from: n
448
448
  });
449
449
  }
450
- if (n.removeAttribute(e), e === "is") if (H || St) try {
451
- X(n);
450
+ if (n.removeAttribute(e), e === "is") if (H || wt) try {
451
+ Y(n);
452
452
  } catch {}
453
453
  else try {
454
454
  n.setAttribute(e, "");
455
455
  } catch {}
456
- }, tn = function(e) {
456
+ }, an = function(e) {
457
457
  let t = w(e);
458
458
  if (t) for (let n = t.length - 1; n >= 0; --n) {
459
459
  let r = t[n], i = r && r.name;
460
- if (!(typeof i != "string" || L[J(i)])) try {
460
+ if (!(typeof i != "string" || L[q(i)])) try {
461
461
  e.removeAttribute(i);
462
462
  } catch {}
463
463
  }
464
- }, nn = function(e) {
464
+ }, on = function(e) {
465
465
  let t = [e];
466
466
  for (; t.length > 0;) {
467
467
  let e = t.pop();
468
- (T ? T(e) : e.nodeType) === A.element && tn(e);
468
+ (T ? T(e) : e.nodeType) === A.element && an(e);
469
469
  let n = v(e);
470
470
  if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
471
471
  }
472
- }, rn = function(e) {
472
+ }, sn = function(e) {
473
473
  let t = null, r = null;
474
- if (xt) e = "<remove></remove>" + e;
474
+ if (Ct) e = "<remove></remove>" + e;
475
475
  else {
476
476
  let t = se(e, /^[\r\n\t ]+/);
477
477
  r = t && t[0];
478
478
  }
479
- q === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
479
+ Kt === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
480
480
  let i = M ? P(e) : e;
481
481
  if (K === G) try {
482
- t = new u().parseFromString(i, q);
482
+ t = new u().parseFromString(i, Kt);
483
483
  } catch {}
484
484
  if (!t || !t.documentElement) {
485
485
  t = Ze.createDocument(K, "template", null);
486
486
  try {
487
- t.documentElement.innerHTML = It ? N : i;
487
+ t.documentElement.innerHTML = Rt ? N : i;
488
488
  } catch {}
489
489
  }
490
490
  let a = t.body || t.documentElement;
491
491
  return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), K === G ? et.call(t, V ? "html" : "body")[0] : V ? t.documentElement : a;
492
- }, an = function(e) {
492
+ }, cn = function(e) {
493
493
  return Qe.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
494
- }, on = function(e) {
494
+ }, ln = function(e) {
495
495
  return e = ce(e, nt, " "), e = ce(e, rt, " "), e = ce(e, it, " "), e;
496
- }, sn = function(e) {
496
+ }, un = function(e) {
497
497
  e.normalize();
498
498
  let t = Qe.call(e.ownerDocument || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
499
- for (; n;) n.data = on(n.data), n = t.nextNode();
499
+ for (; n;) n.data = ln(n.data), n = t.nextNode();
500
500
  let r = e.querySelectorAll?.call(e, "template");
501
501
  r && te(r, (e) => {
502
- Q(e.content) && sn(e.content);
502
+ Z(e.content) && un(e.content);
503
503
  });
504
- }, cn = function(e) {
504
+ }, dn = function(e) {
505
505
  let t = D ? D(e) : null;
506
- return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
507
- }, Q = function(e) {
506
+ return typeof t != "string" || q(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
507
+ }, Z = function(e) {
508
508
  if (!T || typeof e != "object" || !e) return !1;
509
509
  try {
510
510
  return T(e) === A.documentFragment;
511
511
  } catch {
512
512
  return !1;
513
513
  }
514
- }, ln = function(e) {
514
+ }, Q = function(e) {
515
515
  if (!T || typeof e != "object" || !e) return !1;
516
516
  try {
517
517
  return typeof T(e) == "number";
@@ -521,48 +521,48 @@ function Ue() {
521
521
  };
522
522
  function $(e, n, r) {
523
523
  e.length !== 0 && te(e, (e) => {
524
- e.call(t, n, r, Y);
524
+ e.call(t, n, r, J);
525
525
  });
526
526
  }
527
- let un = function(e, t) {
528
- return !!(yt && e.hasChildNodes() && !ln(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || yt && e.namespaceURI === G && t === "style" && ln(e.firstElementChild) || e.nodeType === A.processingInstruction || yt && e.nodeType === A.comment && S(Le, e.data));
529
- }, dn = function(e, t) {
530
- if (!pt[t] && hn(t) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
531
- if (Dt && !W[t]) {
527
+ let fn = function(e, t) {
528
+ return !!(yt && e.hasChildNodes() && !Q(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || yt && e.namespaceURI === G && t === "style" && Q(e.firstElementChild) || e.nodeType === A.processingInstruction || yt && e.nodeType === A.comment && S(Le, e.data));
529
+ }, pn = function(e, t) {
530
+ if (!pt[t] && _n(t) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
531
+ if (kt && !W[t]) {
532
532
  let t = y(e), n = v(e);
533
533
  if (n && t) {
534
534
  let r = n.length;
535
535
  for (let i = r - 1; i >= 0; --i) {
536
- let r = Ot ? n[i] : ee(n[i], !0);
536
+ let r = At ? n[i] : ee(n[i], !0);
537
537
  t.insertBefore(r, fe(e));
538
538
  }
539
539
  }
540
540
  }
541
- return X(e), !0;
542
- }, fn = function(e) {
543
- if ($(F.beforeSanitizeElements, e, null), cn(e)) return X(e), !0;
544
- let n = J(D ? D(e) : e.nodeName);
541
+ return Y(e), !0;
542
+ }, mn = function(e) {
543
+ if ($(F.beforeSanitizeElements, e, null), dn(e)) return Y(e), !0;
544
+ let n = q(D ? D(e) : e.nodeName);
545
545
  if ($(F.uponSanitizeElement, e, {
546
546
  tagName: n,
547
547
  allowedTags: I
548
- }), un(e, n)) return X(e), !0;
549
- if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !I[n]) return dn(e, n);
550
- if ((T ? T(e) : e.nodeType) === A.element && !$t(e) || (n === "noscript" || n === "noembed" || n === "noframes") && S(Re, e.innerHTML)) return X(e), !0;
548
+ }), fn(e, n)) return Y(e), !0;
549
+ if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !I[n]) return pn(e, n);
550
+ if ((T ? T(e) : e.nodeType) === A.element && !nn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && S(Re, e.innerHTML)) return Y(e), !0;
551
551
  if (B && e.nodeType === A.text) {
552
- let n = on(e.textContent);
552
+ let n = ln(e.textContent);
553
553
  e.textContent !== n && (g(t.removed, { element: e.cloneNode() }), e.textContent = n);
554
554
  }
555
555
  return $(F.afterSanitizeElements, e, null), !1;
556
- }, pn = function(e, t, r) {
557
- if (mt[t] || wt && (t === "id" || t === "name") && (r in n || r in Gt)) return !1;
556
+ }, hn = function(e, t, r) {
557
+ if (mt[t] || Et && (t === "id" || t === "name") && (r in n || r in Jt)) return !1;
558
558
  let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
559
559
  if (!(gt && S(at, t)) && !(ht && S(ot, t))) {
560
560
  if (!i) {
561
- if (!(hn(e) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && S(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
562
- } else if (!Mt[t] && !S(ut, ce(r, ct, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && At[e]) && !(_t && !S(st, ce(r, ct, ""))) && r) return !1;
561
+ if (!(_n(e) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && S(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
562
+ } else if (!Pt[t] && !S(ut, ce(r, ct, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && Mt[e]) && !(_t && !S(st, ce(r, ct, ""))) && r) return !1;
563
563
  }
564
564
  return !0;
565
- }, mn = E({}, [
565
+ }, gn = E({}, [
566
566
  "annotation-xml",
567
567
  "color-profile",
568
568
  "font-face",
@@ -571,66 +571,66 @@ function Ue() {
571
571
  "font-face-src",
572
572
  "font-face-uri",
573
573
  "missing-glyph"
574
- ]), hn = function(e) {
575
- return !mn[ae(e)] && S(lt, e);
576
- }, gn = function(e, t, n, r) {
574
+ ]), _n = function(e) {
575
+ return !gn[ae(e)] && S(lt, e);
576
+ }, vn = function(e, t, n, r) {
577
577
  if (M && typeof m == "object" && typeof m.getAttributeType == "function" && !n) switch (m.getAttributeType(e, t)) {
578
578
  case "TrustedHTML": return P(r);
579
579
  case "TrustedScriptURL": return Je(r);
580
580
  }
581
581
  return r;
582
- }, _n = function(e, n, r, i) {
582
+ }, yn = function(e, n, r, i) {
583
583
  try {
584
- r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), cn(e) ? X(e) : re(t.removed);
584
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), dn(e) ? Y(e) : re(t.removed);
585
585
  } catch {
586
- Z(n, e);
586
+ X(n, e);
587
587
  }
588
- }, vn = function(e) {
588
+ }, bn = function(e) {
589
589
  $(F.beforeSanitizeAttributes, e, null);
590
590
  let t = e.attributes;
591
- if (!t || cn(e)) return;
591
+ if (!t || dn(e)) return;
592
592
  let n = {
593
593
  attrName: "",
594
594
  attrValue: "",
595
595
  keepAttr: !0,
596
596
  allowedAttributes: L,
597
597
  forceKeepAttr: void 0
598
- }, r = t.length, i = J(e.nodeName);
598
+ }, r = t.length, i = q(e.nodeName);
599
599
  for (; r--;) {
600
- let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : ue(u);
601
- if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Tt && (l === "id" || l === "name") && le(d, Et) !== 0 && (Z(o, e), d = Et + d), yt && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
602
- Z(o, e);
600
+ let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = q(o), u = c, d = o === "value" ? u : ue(u);
601
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Dt && (l === "id" || l === "name") && le(d, Ot) !== 0 && (X(o, e), d = Ot + d), yt && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
602
+ X(o, e);
603
603
  continue;
604
604
  }
605
605
  if (l === "attributename" && se(d, "href")) {
606
- Z(o, e);
606
+ X(o, e);
607
607
  continue;
608
608
  }
609
609
  if (!n.forceKeepAttr) {
610
610
  if (!n.keepAttr) {
611
- Z(o, e);
611
+ X(o, e);
612
612
  continue;
613
613
  }
614
614
  if (!vt && S(ze, d)) {
615
- Z(o, e);
615
+ X(o, e);
616
616
  continue;
617
617
  }
618
- if (B && (d = on(d)), !pn(i, l, d)) {
619
- Z(o, e);
618
+ if (B && (d = ln(d)), !hn(i, l, d)) {
619
+ X(o, e);
620
620
  continue;
621
621
  }
622
- d = gn(i, l, s, d), d !== u && _n(e, o, s, d);
622
+ d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
623
623
  }
624
624
  }
625
625
  $(F.afterSanitizeAttributes, e, null);
626
- }, yn = function(e) {
627
- let t = null, n = an(e);
628
- for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), fn(t), vn(t), Q(t.content) && yn(t.content), (T ? T(t) : t.nodeType) === A.element) {
626
+ }, xn = function(e) {
627
+ let t = null, n = cn(e);
628
+ for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), mn(t), bn(t), Z(t.content) && xn(t.content), (T ? T(t) : t.nodeType) === A.element) {
629
629
  let e = x(t);
630
- Q(e) && (bn(e), yn(e));
630
+ Z(e) && (Sn(e), xn(e));
631
631
  }
632
632
  $(F.afterSanitizeShadowDOM, e, null);
633
- }, bn = function(e) {
633
+ }, Sn = function(e) {
634
634
  let t = [{
635
635
  node: e,
636
636
  shadow: null
@@ -638,7 +638,7 @@ function Ue() {
638
638
  for (; t.length > 0;) {
639
639
  let e = t.pop();
640
640
  if (e.shadow) {
641
- yn(e.shadow);
641
+ xn(e.shadow);
642
642
  continue;
643
643
  }
644
644
  let n = e.node, r = (T ? T(n) : n.nodeType) === A.element, i = v(n);
@@ -648,9 +648,9 @@ function Ue() {
648
648
  });
649
649
  if (r) {
650
650
  let e = D ? D(n) : null;
651
- if (typeof e == "string" && J(e) === "template") {
651
+ if (typeof e == "string" && q(e) === "template") {
652
652
  let e = n.content;
653
- Q(e) && t.push({
653
+ Z(e) && t.push({
654
654
  node: e,
655
655
  shadow: null
656
656
  });
@@ -658,7 +658,7 @@ function Ue() {
658
658
  }
659
659
  if (r) {
660
660
  let e = x(n);
661
- Q(e) && t.push({
661
+ Z(e) && t.push({
662
662
  node: null,
663
663
  shadow: e
664
664
  }, {
@@ -670,60 +670,62 @@ function Ue() {
670
670
  };
671
671
  return t.sanitize = function(e) {
672
672
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
673
- if (It = !e, It && (e = "<!-->"), typeof e != "string" && !ln(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
673
+ if (Rt = !e, Rt && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
674
674
  if (!t.isSupported) return e;
675
- bt || qt(n), t.removed = [];
676
- let c = Ot && typeof e != "string" && ln(e);
675
+ bt ? (I = xt, L = St) : Xt(n), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (I = O(I)), F.uponSanitizeAttribute.length > 0 && (L = O(L)), t.removed = [];
676
+ let c = At && typeof e != "string" && Q(e);
677
677
  if (c) {
678
678
  let t = D ? D(e) : e.nodeName;
679
679
  if (typeof t == "string") {
680
- let e = J(t);
680
+ let e = q(t);
681
681
  if (!I[e] || pt[e]) throw C("root node is forbidden and cannot be sanitized in-place");
682
682
  }
683
- if (cn(e)) throw C("root node is clobbered and cannot be sanitized in-place");
683
+ if (dn(e)) throw C("root node is clobbered and cannot be sanitized in-place");
684
684
  try {
685
- bn(e);
685
+ Sn(e);
686
686
  } catch (t) {
687
- throw en(e), t;
687
+ throw rn(e), t;
688
688
  }
689
- } else if (ln(e)) i = rn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), bn(a);
689
+ } else if (Q(e)) i = sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
690
690
  else {
691
- if (!H && !B && !V && e.indexOf("<") === -1) return M && Ct ? P(e) : e;
692
- if (i = rn(e), !i) return H ? null : Ct ? N : "";
691
+ if (!H && !B && !V && e.indexOf("<") === -1) return M && Tt ? P(e) : e;
692
+ if (i = sn(e), !i) return H ? null : Tt ? N : "";
693
693
  }
694
- i && xt && X(i.firstChild);
695
- let l = an(c ? e : i);
694
+ i && Ct && Y(i.firstChild);
695
+ let l = cn(c ? e : i);
696
696
  try {
697
- for (; o = l.nextNode();) fn(o), vn(o), Q(o.content) && yn(o.content);
697
+ for (; o = l.nextNode();) mn(o), bn(o), Z(o.content) && xn(o.content);
698
698
  } catch (t) {
699
- throw c && en(e), t;
699
+ throw c && rn(e), t;
700
700
  }
701
701
  if (c) return te(t.removed, (e) => {
702
- e.element && nn(e.element);
703
- }), B && sn(e), e;
702
+ e.element && on(e.element);
703
+ }), B && un(e), e;
704
704
  if (H) {
705
- if (B && sn(i), St) for (s = $e.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
705
+ if (B && un(i), wt) for (s = $e.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
706
706
  else s = i;
707
707
  return (L.shadowroot || L.shadowrootmode) && (s = tt.call(r, s, !0)), s;
708
708
  }
709
709
  let u = V ? i.outerHTML : i.innerHTML;
710
- return V && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = on(u)), M && Ct ? P(u) : u;
710
+ return V && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = ln(u)), M && Tt ? P(u) : u;
711
711
  }, t.setConfig = function() {
712
- qt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), bt = !0;
712
+ Xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), bt = !0, xt = I, St = L;
713
713
  }, t.clearConfig = function() {
714
- Y = null, bt = !1, M = We, N = "";
714
+ J = null, bt = !1, xt = null, St = null, M = We, N = "";
715
715
  }, t.isValidAttribute = function(e, t, n) {
716
- return Y || qt({}), pn(J(e), J(t), n);
716
+ return J || Xt({}), hn(q(e), q(t), n);
717
717
  }, t.addHook = function(e, t) {
718
- typeof t == "function" && g(F[e], t);
718
+ typeof t == "function" && b(F, e) && g(F[e], t);
719
719
  }, t.removeHook = function(e, t) {
720
- if (t !== void 0) {
721
- let n = ne(F[e], t);
722
- return n === -1 ? void 0 : ie(F[e], n, 1)[0];
720
+ if (b(F, e)) {
721
+ if (t !== void 0) {
722
+ let n = ne(F[e], t);
723
+ return n === -1 ? void 0 : ie(F[e], n, 1)[0];
724
+ }
725
+ return re(F[e]);
723
726
  }
724
- return re(F[e]);
725
727
  }, t.removeHooks = function(e) {
726
- F[e] = [];
728
+ b(F, e) && (F[e] = []);
727
729
  }, t.removeAllHooks = function() {
728
730
  F = He();
729
731
  }, t;