@esri/solutions-components 0.8.37 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
- package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_da.json +1 -1
- package/dist/assets/t9n/layer-list/resources_de.json +1 -1
- package/dist/assets/t9n/layer-list/resources_el.json +1 -1
- package/dist/assets/t9n/layer-list/resources_es.json +1 -1
- package/dist/assets/t9n/layer-list/resources_et.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_he.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
- package/dist/assets/t9n/layer-list/resources_id.json +1 -1
- package/dist/assets/t9n/layer-list/resources_it.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_th.json +1 -1
- package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
- package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
- package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
- package/dist/cjs/Heading-f1f9e2dd.js +25 -0
- package/dist/cjs/Validation-425b2de4.js +20 -0
- package/dist/cjs/ar-a2f57db2.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-cb903045.js +83 -0
- package/dist/cjs/breakpoints-7d21666f.js +17 -0
- package/dist/cjs/browser-d12b6cd5.js +25 -0
- package/dist/cjs/bs-3690f22d.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/ca-fec18921.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/common-03600219.js +38 -0
- package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
- package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-b061b441.js +148 -0
- package/dist/cjs/da-e3c379ae.js +67 -0
- package/dist/cjs/date-874bf94e.js +261 -0
- package/dist/cjs/de-65d2876f.js +92 -0
- package/dist/cjs/de-at-16b7b50e.js +91 -0
- package/dist/cjs/de-ch-11dcd113.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-839a1425.js +3165 -0
- package/dist/cjs/el-321d43b5.js +67 -0
- package/dist/cjs/en-au-c48e6b73.js +67 -0
- package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
- package/dist/cjs/en-gb-8ced841b.js +70 -0
- package/dist/cjs/es-aca5e6b4.js +67 -0
- package/dist/cjs/es-mx-b69f0ebb.js +66 -0
- package/dist/cjs/et-7e29340d.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +7 -7
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-f215f4d1.js +116 -0
- package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
- package/dist/cjs/form-71a108a7.js +381 -0
- package/dist/cjs/fr-0daba4be.js +69 -0
- package/dist/cjs/fr-ch-76f752e9.js +67 -0
- package/dist/cjs/he-32860a76.js +106 -0
- package/dist/cjs/helpers-7cee3150.js +940 -0
- package/dist/cjs/hi-c5639f76.js +66 -0
- package/dist/cjs/hr-eb700fd5.js +81 -0
- package/dist/cjs/hu-e30e3d3a.js +89 -0
- package/dist/cjs/id-a3e96e5b.js +67 -0
- package/dist/cjs/index-97020c9d.js +201 -0
- package/dist/cjs/index-ff18be0d.js +1739 -0
- package/dist/cjs/index.es-dd4d4842.js +11317 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
- package/dist/cjs/interactive-7e5c7df4.js +154 -0
- package/dist/cjs/it-acd3cf54.js +67 -0
- package/dist/cjs/it-ch-c78435e7.js +67 -0
- package/dist/cjs/ja-ede2132a.js +73 -0
- package/dist/cjs/ko-fcd96551.js +73 -0
- package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
- package/dist/cjs/languageUtil-d23251cd.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-4189814e.js +23 -0
- package/dist/cjs/loadable-5d538ba2.js +94 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-62f4cef2.js +91 -0
- package/dist/cjs/locale-6973733d.js +161 -0
- package/dist/cjs/locale-d2a1066a.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-a30330ef.js +98 -0
- package/dist/cjs/lv-ac3b6560.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
- package/dist/cjs/mapViewUtils-78b14528.js +510 -0
- package/dist/cjs/mk-a3053dea.js +67 -0
- package/dist/cjs/mode-3478ba36.js +19 -0
- package/dist/cjs/nb-7ab0bac1.js +68 -0
- package/dist/cjs/nl-7fa437ef.js +68 -0
- package/dist/cjs/observers-2a59d471.js +55 -0
- package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pciUtils-f1adcf64.js +847 -0
- package/dist/cjs/pl-ea95b104.js +115 -0
- package/dist/cjs/popupUtils-bae7f923.js +111 -0
- package/dist/cjs/pt-472083c2.js +68 -0
- package/dist/cjs/pt-br-5f18543e.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +28 -16
- package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-afc74285.js +919 -0
- package/dist/cjs/ro-e8b3d65c.js +67 -0
- package/dist/cjs/ru-becefd01.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-6491aae1.js +365 -0
- package/dist/cjs/sk-2f5fd4e0.js +149 -0
- package/dist/cjs/sl-3ae17da6.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-ffe3c333.js +145 -0
- package/dist/cjs/solution-store-c8bada29.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/sr-7d6b8d1b.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/styles-ef2b1e04.js +13 -0
- package/dist/cjs/sv-9c51da5c.js +72 -0
- package/dist/cjs/t9n-ef615628.js +100 -0
- package/dist/cjs/th-fec0a074.js +66 -0
- package/dist/cjs/time-089ab043.js +289 -0
- package/dist/cjs/tr-8d7c18a1.js +67 -0
- package/dist/cjs/uk-46a61312.js +105 -0
- package/dist/cjs/utils-1de4eaa0.js +130 -0
- package/dist/cjs/utils-d237cb85.js +65 -0
- package/dist/cjs/vi-4114aa90.js +71 -0
- package/dist/cjs/zh-cn-30aca6fe.js +95 -0
- package/dist/cjs/zh-hk-5971eb67.js +72 -0
- package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +1 -0
- package/dist/collection/components/feature-details/feature-details.js +10 -15
- package/dist/collection/components/public-notification/public-notification.js +20 -8
- package/dist/collection/utils/mapViewUtils.js +2 -0
- package/dist/collection/utils/mapViewUtils.ts +2 -0
- package/dist/collection/utils/pciUtils.js +1 -1
- package/dist/collection/utils/pciUtils.ts +2 -2
- package/dist/components/breakpoints.js +5 -5
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/consent-manager.js +7 -1029
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/feature-details2.js +10 -15
- package/dist/components/helpers.js +723 -691
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-create.js +47 -45
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +24 -24
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +10 -10
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +44 -44
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +3 -3
- package/dist/components/instant-apps-social-share2.js +12 -11
- package/dist/components/instant-apps-splash.js +7 -7
- package/dist/components/languageUtil.js +43 -43
- package/dist/components/loadModules2.js +3 -3
- package/dist/components/locale3.js +58 -58
- package/dist/components/mapViewUtils.js +2 -0
- package/dist/components/mode.js +6 -6
- package/dist/components/public-notification.js +20 -8
- package/dist/components/restHelpersGet.js +329 -382
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-store.js +482 -482
- package/dist/components/store.js +66 -66
- package/dist/components/styles.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/utils4.js +80 -80
- package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
- package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
- package/dist/esm/Heading-63031c74.js +22 -0
- package/dist/esm/Validation-6712b322.js +18 -0
- package/dist/esm/ar-19d4f5c7.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/bg-63235b1a.js +81 -0
- package/dist/esm/breakpoints-3afa0fd9.js +15 -0
- package/dist/esm/browser-e76c94f7.js +23 -0
- package/dist/esm/bs-a1b74ac8.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-b29c38ed.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +4 -4
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +7 -7
- package/dist/esm/calcite-action-group.entry.js +6 -6
- package/dist/esm/calcite-action-menu_3.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +11 -11
- package/dist/esm/calcite-action_2.entry.js +7 -7
- package/dist/esm/calcite-alert_4.entry.js +13 -13
- package/dist/esm/calcite-avatar_2.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block_5.entry.js +55 -54
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel-item.entry.js +1 -1
- package/dist/esm/calcite-carousel.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_6.entry.js +20 -25
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
- package/dist/esm/calcite-input-time-picker.entry.js +12 -12
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-meter.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +9 -9
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +8 -8
- package/dist/esm/calcite-pick-list.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +4 -4
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +7 -7
- package/dist/esm/common-8697fccd.js +36 -0
- package/dist/esm/conditionalSlot-56bdb202.js +51 -0
- package/dist/esm/consent-manager.entry.js +10 -1031
- package/dist/esm/crowdsource-manager.entry.js +4 -4
- package/dist/esm/crowdsource-reporter.entry.js +4 -4
- package/dist/esm/cs-da7231d6.js +146 -0
- package/dist/esm/da-7e105037.js +65 -0
- package/dist/esm/date-93ae46b9.js +245 -0
- package/dist/esm/de-at-1d9434bb.js +89 -0
- package/dist/esm/de-b5646b5d.js +90 -0
- package/dist/esm/de-ch-7beada93.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/downloadUtils-97acca92.js +3158 -0
- package/dist/esm/el-0f4bf89b.js +65 -0
- package/dist/esm/en-au-5c144cef.js +65 -0
- package/dist/esm/en-ca-1160089a.js +64 -0
- package/dist/esm/en-gb-ae98fc58.js +68 -0
- package/dist/esm/es-88e1743a.js +65 -0
- package/dist/esm/es-mx-020dfaaa.js +64 -0
- package/dist/esm/esri-loader-3080dcc0.js +311 -0
- package/dist/esm/et-84f63ef8.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +8 -8
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-1016ee6e.js +114 -0
- package/dist/esm/floating-ui-f086572c.js +2287 -0
- package/dist/esm/form-8fd73cbd.js +372 -0
- package/dist/esm/fr-0e7ffd73.js +67 -0
- package/dist/esm/fr-ch-e18bae2c.js +65 -0
- package/dist/esm/he-0cebe004.js +104 -0
- package/dist/esm/helpers-7c88b974.js +913 -0
- package/dist/esm/hi-cded031d.js +64 -0
- package/dist/esm/hr-5643b2ab.js +79 -0
- package/dist/esm/html2canvas-fd387d87.js +7845 -0
- package/dist/esm/hu-6d605858.js +87 -0
- package/dist/esm/id-7d804c46.js +65 -0
- package/dist/esm/index-83b693bc.js +1705 -0
- package/dist/esm/index-d97f4f15.js +199 -0
- package/dist/esm/index.es-ee5497bc.js +11230 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-create.entry.js +53 -51
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +12 -12
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +2 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -8
- package/dist/esm/instant-apps-splash.entry.js +12 -12
- package/dist/esm/interactive-3b9600a6.js +149 -0
- package/dist/esm/it-849be361.js +65 -0
- package/dist/esm/it-ch-453fa26d.js +65 -0
- package/dist/esm/ja-edff1441.js +71 -0
- package/dist/esm/ko-dc103450.js +71 -0
- package/dist/esm/languageSwitcher-0f693a04.js +57 -0
- package/dist/esm/languageUtil-de206286.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-43119ac8.js +21 -0
- package/dist/esm/loadable-b765a6f6.js +89 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-42369411.js +156 -0
- package/dist/esm/locale-70630b7c.js +86 -0
- package/dist/esm/locale-a4cbae12.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-270cc811.js +96 -0
- package/dist/esm/lv-c877043c.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +9 -9
- package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
- package/dist/esm/mk-a816a702.js +65 -0
- package/dist/esm/mode-8c5f5dc9.js +17 -0
- package/dist/esm/nb-e9c09b70.js +66 -0
- package/dist/esm/nl-56e70f3b.js +66 -0
- package/dist/esm/observers-fcb1c07b.js +53 -0
- package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pciUtils-986ddad9.js +844 -0
- package/dist/esm/pl-687b559a.js +113 -0
- package/dist/esm/popupUtils-98ad70f3.js +109 -0
- package/dist/esm/pt-8b05fed2.js +66 -0
- package/dist/esm/pt-br-85bdf812.js +64 -0
- package/dist/esm/public-notification.entry.js +29 -17
- package/dist/esm/publicNotificationStore-08faccff.js +45 -0
- package/dist/esm/purify-caded4cd.js +1714 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-dab84057.js +906 -0
- package/dist/esm/ro-0975d6bb.js +65 -0
- package/dist/esm/ru-24b83704.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-07a20fc5.js +343 -0
- package/dist/esm/sk-8179af4d.js +147 -0
- package/dist/esm/sl-e6922692.js +167 -0
- package/dist/esm/solution-configuration.entry.js +7 -7
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-a2fff3bf.js +142 -0
- package/dist/esm/solution-store-30a19a45.js +1342 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +5 -5
- package/dist/esm/sr-1d30e69e.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/styles-b3492d9f.js +11 -0
- package/dist/esm/sv-ea3c4b80.js +70 -0
- package/dist/esm/t9n-dd2a98fc.js +95 -0
- package/dist/esm/th-0f1b35bc.js +64 -0
- package/dist/esm/time-bc97792f.js +274 -0
- package/dist/esm/tr-eb4e860e.js +65 -0
- package/dist/esm/uk-f3ebd952.js +103 -0
- package/dist/esm/utils-9bb48951.js +121 -0
- package/dist/esm/utils-bf012a3f.js +54 -0
- package/dist/esm/vi-872e449d.js +69 -0
- package/dist/esm/zh-cn-8c5a3222.js +93 -0
- package/dist/esm/zh-hk-247683c2.js +70 -0
- package/dist/esm/zh-tw-76a429e9.js +91 -0
- package/dist/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
- package/dist/solutions-components/p-01ba6099.js +6 -0
- package/dist/solutions-components/p-03178c37.js +6 -0
- package/dist/solutions-components/p-046acd6b.entry.js +6 -0
- package/dist/solutions-components/p-0a053ed7.js +6 -0
- package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
- package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
- package/dist/solutions-components/p-11094d76.entry.js +29 -0
- package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
- package/dist/solutions-components/p-123fcb43.entry.js +6 -0
- package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
- package/dist/solutions-components/p-132b1138.entry.js +21 -0
- package/dist/solutions-components/p-13b513ed.entry.js +11 -0
- package/dist/solutions-components/p-15e08453.js +6 -0
- package/dist/solutions-components/p-17feaae0.entry.js +17 -0
- package/dist/solutions-components/p-1983d6e8.js +6 -0
- package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
- package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
- package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
- package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
- package/dist/solutions-components/p-1d369231.js +21 -0
- package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
- package/dist/solutions-components/p-20a567b0.entry.js +6 -0
- package/dist/solutions-components/p-21965dcd.entry.js +11 -0
- package/dist/solutions-components/p-2305749d.entry.js +17 -0
- package/dist/solutions-components/p-24634430.entry.js +11 -0
- package/dist/solutions-components/p-2599399f.entry.js +6 -0
- package/dist/solutions-components/p-27c68097.js +11 -0
- package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
- package/dist/solutions-components/p-28fd26ed.js +6 -0
- package/dist/solutions-components/p-293d376c.js +6 -0
- package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
- package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
- package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
- package/dist/solutions-components/p-2a990146.entry.js +6 -0
- package/dist/solutions-components/p-2b4e50ed.js +6 -0
- package/dist/solutions-components/p-2d99bd61.js +6 -0
- package/dist/solutions-components/p-2e401f51.js +6 -0
- package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
- package/dist/solutions-components/p-3102119d.entry.js +11 -0
- package/dist/solutions-components/p-3137377f.entry.js +11 -0
- package/dist/solutions-components/p-34722455.entry.js +6 -0
- package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
- package/dist/solutions-components/p-37e2754a.js +6 -0
- package/dist/solutions-components/p-398ff315.js +11 -0
- package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
- package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
- package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
- package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
- package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
- package/dist/solutions-components/p-3eb49703.js +489 -0
- package/dist/solutions-components/p-42ea2581.js +6 -0
- package/dist/solutions-components/p-44043ef6.entry.js +11 -0
- package/dist/solutions-components/p-44bfa87d.js +11 -0
- package/dist/solutions-components/p-45db29e2.js +6 -0
- package/dist/solutions-components/p-465fbfc2.js +6 -0
- package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
- package/dist/solutions-components/p-49250010.js +6 -0
- package/dist/solutions-components/p-4b80b699.entry.js +6 -0
- package/dist/solutions-components/p-4b85c3dc.js +6 -0
- package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
- package/dist/solutions-components/p-4fbd1a02.js +6 -0
- package/dist/solutions-components/p-50aa0e5a.js +6 -0
- package/dist/solutions-components/p-52bcd209.entry.js +6 -0
- package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
- package/dist/solutions-components/p-5443995c.entry.js +11 -0
- package/dist/solutions-components/p-55730588.js +6 -0
- package/dist/solutions-components/p-57961ae0.entry.js +6 -0
- package/dist/solutions-components/p-57a03a95.js +17 -0
- package/dist/solutions-components/p-59f016a1.js +61 -0
- package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
- package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
- package/dist/solutions-components/p-5db64297.entry.js +11 -0
- package/dist/solutions-components/p-5eb6219c.js +11 -0
- package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
- package/dist/solutions-components/p-5ed825c4.js +6 -0
- package/dist/solutions-components/p-5f1fdaf9.js +11 -0
- package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
- package/dist/solutions-components/p-61dcdc62.js +6 -0
- package/dist/solutions-components/p-622f33ee.entry.js +6 -0
- package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
- package/dist/solutions-components/p-652140aa.entry.js +6 -0
- package/dist/solutions-components/p-6809e050.entry.js +11 -0
- package/dist/solutions-components/p-69cfc738.entry.js +6 -0
- package/dist/solutions-components/p-69db1e2c.js +6 -0
- package/dist/solutions-components/p-6acf6c8f.js +7 -0
- package/dist/solutions-components/p-6bf91f6e.js +6 -0
- package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
- package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
- package/dist/solutions-components/p-6d51c6bf.js +6 -0
- package/dist/solutions-components/p-6df9b158.entry.js +11 -0
- package/dist/solutions-components/p-716a0878.js +11 -0
- package/dist/solutions-components/p-71c212e6.entry.js +12 -0
- package/dist/solutions-components/p-71ed8170.entry.js +11 -0
- package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
- package/dist/solutions-components/p-7388563d.js +6 -0
- package/dist/solutions-components/p-747d4b59.js +21 -0
- package/dist/solutions-components/p-74dbad36.js +6 -0
- package/dist/solutions-components/p-7638ce3d.js +6 -0
- package/dist/solutions-components/p-76f51550.entry.js +11 -0
- package/dist/solutions-components/p-7773d8ea.js +6 -0
- package/dist/solutions-components/p-7822e93b.js +16 -0
- package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
- package/dist/solutions-components/p-7996f123.js +50 -0
- package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
- package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
- package/dist/solutions-components/p-7a646a97.js +6 -0
- package/dist/solutions-components/p-7afca6b4.js +26 -0
- package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
- package/dist/solutions-components/p-7efcfb47.js +6 -0
- package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
- package/dist/solutions-components/p-7fe77355.js +6 -0
- package/dist/solutions-components/p-7fea6d8a.js +6 -0
- package/dist/solutions-components/p-8008449b.entry.js +16 -0
- package/dist/solutions-components/p-813d004f.js +16 -0
- package/dist/solutions-components/p-8241b179.entry.js +17 -0
- package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
- package/dist/solutions-components/p-853d952d.entry.js +6 -0
- package/dist/solutions-components/p-89f6ff72.js +6 -0
- package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
- package/dist/solutions-components/p-8babc507.entry.js +6 -0
- package/dist/solutions-components/p-8c6d9b5a.js +6 -0
- package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
- package/dist/solutions-components/p-8ed6ce4d.js +11 -0
- package/dist/solutions-components/p-9088fa3a.js +6 -0
- package/dist/solutions-components/p-90e3ce7f.js +6 -0
- package/dist/solutions-components/p-9271710d.js +6 -0
- package/dist/solutions-components/p-9377260c.js +6 -0
- package/dist/solutions-components/p-941e55f0.entry.js +6 -0
- package/dist/solutions-components/p-946ee345.js +145 -0
- package/dist/solutions-components/p-97421bb9.js +6 -0
- package/dist/solutions-components/p-9808250d.entry.js +6 -0
- package/dist/solutions-components/p-9a7e00b8.js +6 -0
- package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
- package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
- package/dist/solutions-components/p-9c6c056a.js +12 -0
- package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
- package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
- package/dist/solutions-components/p-9e77f5c7.js +11 -0
- package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
- package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
- package/dist/solutions-components/p-a204dcff.entry.js +11 -0
- package/dist/solutions-components/p-a2390bee.entry.js +6 -0
- package/dist/solutions-components/p-a805c11f.entry.js +6 -0
- package/dist/solutions-components/p-a89e61f4.js +11 -0
- package/dist/solutions-components/p-aa967a48.entry.js +6 -0
- package/dist/solutions-components/p-ab8039f5.js +6 -0
- package/dist/solutions-components/p-acef743f.entry.js +11 -0
- package/dist/solutions-components/p-ada34f83.js +6 -0
- package/dist/solutions-components/p-af1c9389.entry.js +6 -0
- package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
- package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
- package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
- package/dist/solutions-components/p-b25e8339.js +6 -0
- package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
- package/dist/solutions-components/p-b2f11718.entry.js +11 -0
- package/dist/solutions-components/p-b4230022.entry.js +11 -0
- package/dist/solutions-components/p-b442aa02.entry.js +17 -0
- package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
- package/dist/solutions-components/p-b5c88983.js +6 -0
- package/dist/solutions-components/p-b64cc55e.js +11 -0
- package/dist/solutions-components/p-b77b6c26.js +6 -0
- package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
- package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
- package/dist/solutions-components/p-ba569f8b.js +11 -0
- package/dist/solutions-components/p-bac8a4cd.js +6 -0
- package/dist/solutions-components/p-bd459df3.entry.js +11 -0
- package/dist/solutions-components/p-bf27cd5f.js +6 -0
- package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
- package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
- package/dist/solutions-components/p-c4160bf7.js +6 -0
- package/dist/solutions-components/p-c4ddb206.js +21 -0
- package/dist/solutions-components/p-c554abce.entry.js +11 -0
- package/dist/solutions-components/p-c63a8225.entry.js +6 -0
- package/dist/solutions-components/p-c8935707.entry.js +11 -0
- package/dist/solutions-components/p-c96bde1d.js +6 -0
- package/dist/solutions-components/p-c9b22653.js +36 -0
- package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
- package/dist/solutions-components/p-cc07069d.entry.js +11 -0
- package/dist/solutions-components/p-cc388a08.js +11 -0
- package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
- package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
- package/dist/solutions-components/p-d029b513.js +6 -0
- package/dist/solutions-components/p-d11d941c.js +6 -0
- package/dist/solutions-components/p-d27ab863.js +37 -0
- package/dist/solutions-components/p-d31a139f.entry.js +11 -0
- package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
- package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
- package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
- package/dist/solutions-components/p-da75df88.entry.js +6 -0
- package/dist/solutions-components/p-de279d51.entry.js +6 -0
- package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
- package/dist/solutions-components/p-df0a1d4b.js +11 -0
- package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
- package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
- package/dist/solutions-components/p-e11a4728.entry.js +6 -0
- package/dist/solutions-components/p-e528c321.js +6 -0
- package/dist/solutions-components/p-e6c9e6af.js +11 -0
- package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
- package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
- package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
- package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
- package/dist/solutions-components/p-ee309d0b.js +6 -0
- package/dist/solutions-components/p-ee7f7c24.js +6 -0
- package/dist/solutions-components/p-ef54f211.js +6 -0
- package/dist/solutions-components/p-ef930f76.entry.js +11 -0
- package/dist/solutions-components/p-f163a137.js +6 -0
- package/dist/solutions-components/p-f1ae51dc.js +21 -0
- package/dist/solutions-components/p-f480b275.js +6 -0
- package/dist/solutions-components/p-f539a342.entry.js +11 -0
- package/dist/solutions-components/p-f8c45269.entry.js +6 -0
- package/dist/solutions-components/p-fa1ceaf9.js +7 -0
- package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
- package/dist/solutions-components/p-fc9a49db.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
- package/dist/solutions-components/utils/pciUtils.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/package.json +41 -40
- package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
- package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
- package/dist/cjs/Heading-1f831135.js +0 -25
- package/dist/cjs/Validation-eb9afded.js +0 -20
- package/dist/cjs/ar-1013e0a6.js +0 -105
- package/dist/cjs/bg-7013971e.js +0 -83
- package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
- package/dist/cjs/browser-a96d0614.js +0 -25
- package/dist/cjs/bs-97bd61eb.js +0 -52
- package/dist/cjs/ca-2a76034c.js +0 -72
- package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
- package/dist/cjs/common-6d2c14c6.js +0 -38
- package/dist/cjs/conditionalSlot-93779916.js +0 -54
- package/dist/cjs/cs-b189af7b.js +0 -148
- package/dist/cjs/da-ebb3b688.js +0 -67
- package/dist/cjs/date-456675b2.js +0 -261
- package/dist/cjs/de-01ac3f09.js +0 -92
- package/dist/cjs/de-at-1437180c.js +0 -91
- package/dist/cjs/de-ch-b9a068a3.js +0 -91
- package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
- package/dist/cjs/el-7ce5c99d.js +0 -67
- package/dist/cjs/en-au-c3ca3a9f.js +0 -67
- package/dist/cjs/en-ca-34007cde.js +0 -66
- package/dist/cjs/en-gb-2db136a2.js +0 -70
- package/dist/cjs/es-f00ce3f0.js +0 -67
- package/dist/cjs/es-mx-503b9e1a.js +0 -66
- package/dist/cjs/et-556f49fd.js +0 -93
- package/dist/cjs/fi-47ef7686.js +0 -116
- package/dist/cjs/floating-ui-06d961ad.js +0 -2295
- package/dist/cjs/form-a27f759c.js +0 -381
- package/dist/cjs/fr-5ba5763a.js +0 -69
- package/dist/cjs/fr-ch-9b02cb30.js +0 -67
- package/dist/cjs/he-07cce409.js +0 -106
- package/dist/cjs/helpers-618a3f7d.js +0 -907
- package/dist/cjs/hi-7b691fb6.js +0 -66
- package/dist/cjs/hr-ebd3ae66.js +0 -81
- package/dist/cjs/hu-b177f75e.js +0 -89
- package/dist/cjs/id-ffab63fb.js +0 -67
- package/dist/cjs/index-79b35510.js +0 -1682
- package/dist/cjs/index-c078ea5f.js +0 -201
- package/dist/cjs/index.es-4e523f8b.js +0 -11317
- package/dist/cjs/interactive-f08f0369.js +0 -154
- package/dist/cjs/it-8646ff2a.js +0 -67
- package/dist/cjs/it-ch-6c949267.js +0 -67
- package/dist/cjs/ja-cf48eff1.js +0 -73
- package/dist/cjs/ko-294e5fae.js +0 -73
- package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
- package/dist/cjs/languageUtil-da436671.js +0 -69
- package/dist/cjs/loadModules-b28900c2.js +0 -23
- package/dist/cjs/loadable-b374ef4b.js +0 -94
- package/dist/cjs/locale-3fd260e3.js +0 -91
- package/dist/cjs/locale-48d76c59.js +0 -161
- package/dist/cjs/locale-5efdf085.js +0 -584
- package/dist/cjs/lt-a592829c.js +0 -98
- package/dist/cjs/lv-39a6d278.js +0 -67
- package/dist/cjs/mapViewUtils-911698e5.js +0 -508
- package/dist/cjs/mk-afea13c6.js +0 -67
- package/dist/cjs/mode-d6c12b38.js +0 -19
- package/dist/cjs/nb-b7cf648c.js +0 -68
- package/dist/cjs/nl-72021978.js +0 -68
- package/dist/cjs/observers-4fa351d9.js +0 -55
- package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
- package/dist/cjs/pciUtils-a238f3a1.js +0 -847
- package/dist/cjs/pl-82312f6a.js +0 -115
- package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
- package/dist/cjs/pt-42d95816.js +0 -68
- package/dist/cjs/pt-br-b0b546fc.js +0 -66
- package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
- package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
- package/dist/cjs/ro-e7948270.js +0 -67
- package/dist/cjs/ru-3526e86f.js +0 -127
- package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
- package/dist/cjs/sk-0f35900e.js +0 -149
- package/dist/cjs/sl-abc6455f.js +0 -169
- package/dist/cjs/solution-resource-a577e84f.js +0 -145
- package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
- package/dist/cjs/sr-fe2d4b5b.js +0 -102
- package/dist/cjs/styles-c9e1375a.js +0 -13
- package/dist/cjs/sv-6503d7e1.js +0 -72
- package/dist/cjs/t9n-9d199056.js +0 -100
- package/dist/cjs/th-9600cb11.js +0 -66
- package/dist/cjs/time-d250cbf5.js +0 -289
- package/dist/cjs/tr-faae7cc6.js +0 -67
- package/dist/cjs/uk-5e626d2b.js +0 -105
- package/dist/cjs/utils-e3996e43.js +0 -65
- package/dist/cjs/utils-f3710824.js +0 -130
- package/dist/cjs/vi-74653398.js +0 -71
- package/dist/cjs/zh-cn-b53af030.js +0 -95
- package/dist/cjs/zh-hk-96b751d5.js +0 -72
- package/dist/cjs/zh-tw-50d1a248.js +0 -93
- package/dist/esm/ExpandToggle-73432b0a.js +0 -110
- package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
- package/dist/esm/Heading-03b41bf8.js +0 -22
- package/dist/esm/Validation-59757032.js +0 -18
- package/dist/esm/ar-a0f8473e.js +0 -103
- package/dist/esm/bg-4a8059f0.js +0 -81
- package/dist/esm/breakpoints-f0f1417d.js +0 -15
- package/dist/esm/browser-9897260d.js +0 -23
- package/dist/esm/bs-3d9fa4b7.js +0 -50
- package/dist/esm/ca-a74ba459.js +0 -70
- package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
- package/dist/esm/common-7f72122b.js +0 -36
- package/dist/esm/conditionalSlot-16953b0d.js +0 -51
- package/dist/esm/cs-cd3323d4.js +0 -146
- package/dist/esm/da-eccb7ace.js +0 -65
- package/dist/esm/date-562b6fba.js +0 -245
- package/dist/esm/de-269c8d62.js +0 -90
- package/dist/esm/de-at-742cc453.js +0 -89
- package/dist/esm/de-ch-b4ff8ebb.js +0 -89
- package/dist/esm/downloadUtils-571a502d.js +0 -3158
- package/dist/esm/el-e7e0181b.js +0 -65
- package/dist/esm/en-au-0f12d4ae.js +0 -65
- package/dist/esm/en-ca-d692f9a4.js +0 -64
- package/dist/esm/en-gb-e91744e9.js +0 -68
- package/dist/esm/es-867bace7.js +0 -65
- package/dist/esm/es-mx-cde6ed6f.js +0 -64
- package/dist/esm/esri-loader-2bf735ed.js +0 -311
- package/dist/esm/et-a2613f53.js +0 -91
- package/dist/esm/fi-07875b7a.js +0 -114
- package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
- package/dist/esm/form-6d38f4ee.js +0 -372
- package/dist/esm/fr-669ba3b9.js +0 -67
- package/dist/esm/fr-ch-da569be6.js +0 -65
- package/dist/esm/he-6cbfe53b.js +0 -104
- package/dist/esm/helpers-61b05164.js +0 -881
- package/dist/esm/hi-913d1595.js +0 -64
- package/dist/esm/hr-8f581dc9.js +0 -79
- package/dist/esm/html2canvas-28c7de60.js +0 -7845
- package/dist/esm/hu-02bb4a04.js +0 -87
- package/dist/esm/id-306dcc93.js +0 -65
- package/dist/esm/index-ba5da2b0.js +0 -1648
- package/dist/esm/index-c06194fa.js +0 -199
- package/dist/esm/index.es-2f9f04c5.js +0 -11230
- package/dist/esm/interactive-52276a00.js +0 -149
- package/dist/esm/it-3f0c20a1.js +0 -65
- package/dist/esm/it-ch-fe18a6c5.js +0 -65
- package/dist/esm/ja-41455a15.js +0 -71
- package/dist/esm/ko-88a4fc75.js +0 -71
- package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
- package/dist/esm/languageUtil-36f8f4ef.js +0 -66
- package/dist/esm/loadModules-496086ee.js +0 -21
- package/dist/esm/loadable-cca582a3.js +0 -89
- package/dist/esm/locale-353c1c36.js +0 -571
- package/dist/esm/locale-69333b8e.js +0 -86
- package/dist/esm/locale-a490c4f6.js +0 -156
- package/dist/esm/lt-5c1c3aa4.js +0 -96
- package/dist/esm/lv-acb76551.js +0 -65
- package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
- package/dist/esm/mk-b12a886b.js +0 -65
- package/dist/esm/mode-66911cb5.js +0 -17
- package/dist/esm/nb-50bbf4fa.js +0 -66
- package/dist/esm/nl-6dd1488e.js +0 -66
- package/dist/esm/observers-19e5cb73.js +0 -53
- package/dist/esm/openCloseComponent-04234cea.js +0 -90
- package/dist/esm/pciUtils-73d4b6b4.js +0 -844
- package/dist/esm/pl-f0ccb3a4.js +0 -113
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popupUtils-8efd3cde.js +0 -109
- package/dist/esm/pt-3adf4f5e.js +0 -66
- package/dist/esm/pt-br-5ad78776.js +0 -64
- package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
- package/dist/esm/purify-dbd0968e.js +0 -1714
- package/dist/esm/restHelpersGet-1bd54274.js +0 -959
- package/dist/esm/ro-ba24a126.js +0 -65
- package/dist/esm/ru-2feffc99.js +0 -125
- package/dist/esm/shared-list-render-aaa69039.js +0 -343
- package/dist/esm/sk-097e96ba.js +0 -147
- package/dist/esm/sl-27721fe2.js +0 -167
- package/dist/esm/solution-resource-0d0eb597.js +0 -142
- package/dist/esm/solution-store-997e0cb8.js +0 -1342
- package/dist/esm/sr-b421770e.js +0 -100
- package/dist/esm/styles-367380b5.js +0 -11
- package/dist/esm/sv-3bad8e53.js +0 -70
- package/dist/esm/t9n-165900a5.js +0 -95
- package/dist/esm/th-7cc88e5d.js +0 -64
- package/dist/esm/time-d605c462.js +0 -274
- package/dist/esm/tr-0a2743e1.js +0 -65
- package/dist/esm/uk-6d2572d0.js +0 -103
- package/dist/esm/utils-26baa5d3.js +0 -54
- package/dist/esm/utils-bd72a603.js +0 -121
- package/dist/esm/vi-e8feb97f.js +0 -69
- package/dist/esm/zh-cn-fdec5be5.js +0 -93
- package/dist/esm/zh-hk-07c60ac2.js +0 -70
- package/dist/esm/zh-tw-b1e4174b.js +0 -91
- package/dist/solutions-components/p-011892f2.entry.js +0 -11
- package/dist/solutions-components/p-022edd7a.entry.js +0 -11
- package/dist/solutions-components/p-02651dd3.entry.js +0 -11
- package/dist/solutions-components/p-04af53a2.js +0 -6
- package/dist/solutions-components/p-053be79f.entry.js +0 -12
- package/dist/solutions-components/p-0669c156.entry.js +0 -17
- package/dist/solutions-components/p-06748b7a.entry.js +0 -6
- package/dist/solutions-components/p-070b98cd.entry.js +0 -17
- package/dist/solutions-components/p-0894d584.js +0 -6
- package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
- package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
- package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
- package/dist/solutions-components/p-0c523112.js +0 -6
- package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
- package/dist/solutions-components/p-0d17246a.entry.js +0 -6
- package/dist/solutions-components/p-0fba267c.entry.js +0 -12
- package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
- package/dist/solutions-components/p-105d8256.js +0 -6
- package/dist/solutions-components/p-11881a54.js +0 -6
- package/dist/solutions-components/p-11e873c7.entry.js +0 -6
- package/dist/solutions-components/p-12c80030.js +0 -11
- package/dist/solutions-components/p-1506751c.entry.js +0 -11
- package/dist/solutions-components/p-17674f66.js +0 -6
- package/dist/solutions-components/p-177a139d.entry.js +0 -11
- package/dist/solutions-components/p-18b27561.entry.js +0 -11
- package/dist/solutions-components/p-19dbfe71.js +0 -6
- package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
- package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
- package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
- package/dist/solutions-components/p-1e915546.entry.js +0 -47
- package/dist/solutions-components/p-229ec6a3.js +0 -11
- package/dist/solutions-components/p-238d8710.entry.js +0 -11
- package/dist/solutions-components/p-23d35d76.js +0 -6
- package/dist/solutions-components/p-2445cf51.js +0 -7
- package/dist/solutions-components/p-2455bcb0.js +0 -21
- package/dist/solutions-components/p-246b1648.entry.js +0 -12
- package/dist/solutions-components/p-261880f7.entry.js +0 -11
- package/dist/solutions-components/p-2665663a.entry.js +0 -6
- package/dist/solutions-components/p-26eb1225.entry.js +0 -6
- package/dist/solutions-components/p-2775f82b.js +0 -6
- package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
- package/dist/solutions-components/p-287d2d49.entry.js +0 -11
- package/dist/solutions-components/p-28d2ab1a.js +0 -6
- package/dist/solutions-components/p-28e582b0.entry.js +0 -11
- package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
- package/dist/solutions-components/p-2e625f11.js +0 -11
- package/dist/solutions-components/p-302fccc1.entry.js +0 -6
- package/dist/solutions-components/p-314dc933.entry.js +0 -6
- package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
- package/dist/solutions-components/p-328fbf6d.js +0 -11
- package/dist/solutions-components/p-334e6394.js +0 -37
- package/dist/solutions-components/p-3365a6de.entry.js +0 -11
- package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
- package/dist/solutions-components/p-370283a4.js +0 -6
- package/dist/solutions-components/p-392be4a7.js +0 -6
- package/dist/solutions-components/p-3b7e0d5a.js +0 -26
- package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
- package/dist/solutions-components/p-3ce690d9.js +0 -6
- package/dist/solutions-components/p-3da83eee.entry.js +0 -22
- package/dist/solutions-components/p-3e33078e.entry.js +0 -11
- package/dist/solutions-components/p-400a584e.js +0 -6
- package/dist/solutions-components/p-415d519f.entry.js +0 -6
- package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
- package/dist/solutions-components/p-4370de50.js +0 -6
- package/dist/solutions-components/p-43d1b0bd.js +0 -11
- package/dist/solutions-components/p-4870be89.entry.js +0 -6
- package/dist/solutions-components/p-489be360.entry.js +0 -11
- package/dist/solutions-components/p-490e4875.entry.js +0 -11
- package/dist/solutions-components/p-4ac019d3.js +0 -6
- package/dist/solutions-components/p-4ba6f8f0.js +0 -6
- package/dist/solutions-components/p-4ca83bea.js +0 -6
- package/dist/solutions-components/p-4e07c030.entry.js +0 -11
- package/dist/solutions-components/p-502172da.entry.js +0 -17
- package/dist/solutions-components/p-50741707.entry.js +0 -6
- package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
- package/dist/solutions-components/p-51d5532f.entry.js +0 -6
- package/dist/solutions-components/p-52dba022.js +0 -489
- package/dist/solutions-components/p-530b73ce.js +0 -66
- package/dist/solutions-components/p-533a9cca.entry.js +0 -11
- package/dist/solutions-components/p-570a3777.js +0 -6
- package/dist/solutions-components/p-57eeed77.js +0 -61
- package/dist/solutions-components/p-5862de8d.entry.js +0 -6
- package/dist/solutions-components/p-591175a6.js +0 -6
- package/dist/solutions-components/p-5974ba05.js +0 -16
- package/dist/solutions-components/p-5b654493.entry.js +0 -6
- package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
- package/dist/solutions-components/p-5f873153.js +0 -6
- package/dist/solutions-components/p-6085ab9c.js +0 -11
- package/dist/solutions-components/p-614ebce7.js +0 -6
- package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
- package/dist/solutions-components/p-628874a6.entry.js +0 -6
- package/dist/solutions-components/p-62c34f96.entry.js +0 -11
- package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
- package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
- package/dist/solutions-components/p-680a43bb.entry.js +0 -6
- package/dist/solutions-components/p-6bdafe3f.js +0 -6
- package/dist/solutions-components/p-6d753a3d.js +0 -7
- package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
- package/dist/solutions-components/p-7348c869.entry.js +0 -6
- package/dist/solutions-components/p-74a283fb.entry.js +0 -11
- package/dist/solutions-components/p-76d70d3e.js +0 -6
- package/dist/solutions-components/p-77cd573b.entry.js +0 -6
- package/dist/solutions-components/p-7883b885.entry.js +0 -17
- package/dist/solutions-components/p-790ab21b.js +0 -6
- package/dist/solutions-components/p-798d20c2.entry.js +0 -11
- package/dist/solutions-components/p-79e2e203.entry.js +0 -6
- package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
- package/dist/solutions-components/p-7b17e929.entry.js +0 -6
- package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
- package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
- package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
- package/dist/solutions-components/p-814ad17b.js +0 -6
- package/dist/solutions-components/p-820d8935.js +0 -11
- package/dist/solutions-components/p-8294d644.js +0 -21
- package/dist/solutions-components/p-82e085d0.js +0 -6
- package/dist/solutions-components/p-84913712.js +0 -6
- package/dist/solutions-components/p-865a9a2b.js +0 -6
- package/dist/solutions-components/p-8674e740.js +0 -11
- package/dist/solutions-components/p-86a8cf0e.js +0 -11
- package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
- package/dist/solutions-components/p-896c9644.js +0 -36
- package/dist/solutions-components/p-89a0889f.js +0 -21
- package/dist/solutions-components/p-8f760a96.js +0 -11
- package/dist/solutions-components/p-8fd36ce2.js +0 -6
- package/dist/solutions-components/p-92eadd14.entry.js +0 -6
- package/dist/solutions-components/p-937f5a14.js +0 -6
- package/dist/solutions-components/p-96c901b4.entry.js +0 -6
- package/dist/solutions-components/p-96e9c88b.js +0 -6
- package/dist/solutions-components/p-972fd6e2.js +0 -11
- package/dist/solutions-components/p-996a9b86.js +0 -6
- package/dist/solutions-components/p-997ed04c.js +0 -6
- package/dist/solutions-components/p-9c05337d.entry.js +0 -6
- package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
- package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
- package/dist/solutions-components/p-9db9645e.js +0 -12
- package/dist/solutions-components/p-9f11bcc0.js +0 -6
- package/dist/solutions-components/p-9f27fdfb.js +0 -6
- package/dist/solutions-components/p-9f635891.js +0 -17
- package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
- package/dist/solutions-components/p-a008937e.entry.js +0 -6
- package/dist/solutions-components/p-a24e5541.js +0 -6
- package/dist/solutions-components/p-a25bbcc1.js +0 -11
- package/dist/solutions-components/p-a520fedd.js +0 -6
- package/dist/solutions-components/p-a5f1bbe9.js +0 -6
- package/dist/solutions-components/p-a87405cb.entry.js +0 -11
- package/dist/solutions-components/p-ab2c8a60.entry.js +0 -6
- package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
- package/dist/solutions-components/p-ac77e72f.js +0 -6
- package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
- package/dist/solutions-components/p-b0a4644b.js +0 -6
- package/dist/solutions-components/p-b5bfe190.js +0 -16
- package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
- package/dist/solutions-components/p-b965c059.entry.js +0 -16
- package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
- package/dist/solutions-components/p-bb53e532.js +0 -6
- package/dist/solutions-components/p-bc82830a.js +0 -6
- package/dist/solutions-components/p-bdcf99c0.js +0 -6
- package/dist/solutions-components/p-bfd3d428.js +0 -11
- package/dist/solutions-components/p-c02351ae.entry.js +0 -11
- package/dist/solutions-components/p-c0c5c7a9.js +0 -6
- package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
- package/dist/solutions-components/p-c151a297.entry.js +0 -6
- package/dist/solutions-components/p-c4a44f66.js +0 -6
- package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
- package/dist/solutions-components/p-c5becad1.entry.js +0 -6
- package/dist/solutions-components/p-c6be0487.entry.js +0 -6
- package/dist/solutions-components/p-c757c37b.js +0 -6
- package/dist/solutions-components/p-c791e836.entry.js +0 -6
- package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
- package/dist/solutions-components/p-c8233fcd.entry.js +0 -6
- package/dist/solutions-components/p-c8260cf0.js +0 -145
- package/dist/solutions-components/p-c9653aec.js +0 -6
- package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
- package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
- package/dist/solutions-components/p-cce71e60.entry.js +0 -11
- package/dist/solutions-components/p-cd190ff9.js +0 -6
- package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
- package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
- package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
- package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
- package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
- package/dist/solutions-components/p-d893cddf.entry.js +0 -11
- package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
- package/dist/solutions-components/p-d8da6406.entry.js +0 -6
- package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
- package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
- package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
- package/dist/solutions-components/p-deb3adb8.js +0 -6
- package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
- package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
- package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
- package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
- package/dist/solutions-components/p-e96d0b39.js +0 -6
- package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
- package/dist/solutions-components/p-ec843a3e.js +0 -6
- package/dist/solutions-components/p-eda6994e.entry.js +0 -6
- package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
- package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
- package/dist/solutions-components/p-ee81a7c3.js +0 -6
- package/dist/solutions-components/p-eeaed243.js +0 -11
- package/dist/solutions-components/p-f1822d63.js +0 -6
- package/dist/solutions-components/p-f22a4439.js +0 -21
- package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
- package/dist/solutions-components/p-f4456214.js +0 -6
- package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
- package/dist/solutions-components/p-f9475704.js +0 -6
- package/dist/solutions-components/p-fac36b42.entry.js +0 -6
- package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
- package/dist/solutions-components/p-fc79eaaf.js +0 -6
- package/dist/solutions-components/p-fcb11407.entry.js +0 -11
- package/dist/solutions-components/p-fd28754c.entry.js +0 -6
- package/dist/solutions-components/p-fd6f2ba3.js +0 -6
- package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
- /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
- /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
- /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
- /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -1,1714 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { a as commonjsGlobal } from './esri-loader-2bf735ed.js';
|
7
|
-
|
8
|
-
var purify$2 = {exports: {}};
|
9
|
-
|
10
|
-
/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */
|
11
|
-
|
12
|
-
(function (module, exports) {
|
13
|
-
(function (global, factory) {
|
14
|
-
module.exports = factory() ;
|
15
|
-
})(commonjsGlobal, (function () {
|
16
|
-
function _typeof(obj) {
|
17
|
-
"@babel/helpers - typeof";
|
18
|
-
|
19
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
20
|
-
return typeof obj;
|
21
|
-
} : function (obj) {
|
22
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
23
|
-
}, _typeof(obj);
|
24
|
-
}
|
25
|
-
|
26
|
-
function _setPrototypeOf(o, p) {
|
27
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
28
|
-
o.__proto__ = p;
|
29
|
-
return o;
|
30
|
-
};
|
31
|
-
|
32
|
-
return _setPrototypeOf(o, p);
|
33
|
-
}
|
34
|
-
|
35
|
-
function _isNativeReflectConstruct() {
|
36
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
37
|
-
if (Reflect.construct.sham) return false;
|
38
|
-
if (typeof Proxy === "function") return true;
|
39
|
-
|
40
|
-
try {
|
41
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
42
|
-
return true;
|
43
|
-
} catch (e) {
|
44
|
-
return false;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
function _construct(Parent, args, Class) {
|
49
|
-
if (_isNativeReflectConstruct()) {
|
50
|
-
_construct = Reflect.construct;
|
51
|
-
} else {
|
52
|
-
_construct = function _construct(Parent, args, Class) {
|
53
|
-
var a = [null];
|
54
|
-
a.push.apply(a, args);
|
55
|
-
var Constructor = Function.bind.apply(Parent, a);
|
56
|
-
var instance = new Constructor();
|
57
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
58
|
-
return instance;
|
59
|
-
};
|
60
|
-
}
|
61
|
-
|
62
|
-
return _construct.apply(null, arguments);
|
63
|
-
}
|
64
|
-
|
65
|
-
function _toConsumableArray(arr) {
|
66
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
67
|
-
}
|
68
|
-
|
69
|
-
function _arrayWithoutHoles(arr) {
|
70
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
71
|
-
}
|
72
|
-
|
73
|
-
function _iterableToArray(iter) {
|
74
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
75
|
-
}
|
76
|
-
|
77
|
-
function _unsupportedIterableToArray(o, minLen) {
|
78
|
-
if (!o) return;
|
79
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
80
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
81
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
82
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
83
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
84
|
-
}
|
85
|
-
|
86
|
-
function _arrayLikeToArray(arr, len) {
|
87
|
-
if (len == null || len > arr.length) len = arr.length;
|
88
|
-
|
89
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
90
|
-
|
91
|
-
return arr2;
|
92
|
-
}
|
93
|
-
|
94
|
-
function _nonIterableSpread() {
|
95
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
96
|
-
}
|
97
|
-
|
98
|
-
var hasOwnProperty = Object.hasOwnProperty,
|
99
|
-
setPrototypeOf = Object.setPrototypeOf,
|
100
|
-
isFrozen = Object.isFrozen,
|
101
|
-
getPrototypeOf = Object.getPrototypeOf,
|
102
|
-
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
103
|
-
var freeze = Object.freeze,
|
104
|
-
seal = Object.seal,
|
105
|
-
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
106
|
-
|
107
|
-
var _ref = typeof Reflect !== 'undefined' && Reflect,
|
108
|
-
apply = _ref.apply,
|
109
|
-
construct = _ref.construct;
|
110
|
-
|
111
|
-
if (!apply) {
|
112
|
-
apply = function apply(fun, thisValue, args) {
|
113
|
-
return fun.apply(thisValue, args);
|
114
|
-
};
|
115
|
-
}
|
116
|
-
|
117
|
-
if (!freeze) {
|
118
|
-
freeze = function freeze(x) {
|
119
|
-
return x;
|
120
|
-
};
|
121
|
-
}
|
122
|
-
|
123
|
-
if (!seal) {
|
124
|
-
seal = function seal(x) {
|
125
|
-
return x;
|
126
|
-
};
|
127
|
-
}
|
128
|
-
|
129
|
-
if (!construct) {
|
130
|
-
construct = function construct(Func, args) {
|
131
|
-
return _construct(Func, _toConsumableArray(args));
|
132
|
-
};
|
133
|
-
}
|
134
|
-
|
135
|
-
var arrayForEach = unapply(Array.prototype.forEach);
|
136
|
-
var arrayPop = unapply(Array.prototype.pop);
|
137
|
-
var arrayPush = unapply(Array.prototype.push);
|
138
|
-
var stringToLowerCase = unapply(String.prototype.toLowerCase);
|
139
|
-
var stringToString = unapply(String.prototype.toString);
|
140
|
-
var stringMatch = unapply(String.prototype.match);
|
141
|
-
var stringReplace = unapply(String.prototype.replace);
|
142
|
-
var stringIndexOf = unapply(String.prototype.indexOf);
|
143
|
-
var stringTrim = unapply(String.prototype.trim);
|
144
|
-
var regExpTest = unapply(RegExp.prototype.test);
|
145
|
-
var typeErrorCreate = unconstruct(TypeError);
|
146
|
-
function unapply(func) {
|
147
|
-
return function (thisArg) {
|
148
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
149
|
-
args[_key - 1] = arguments[_key];
|
150
|
-
}
|
151
|
-
|
152
|
-
return apply(func, thisArg, args);
|
153
|
-
};
|
154
|
-
}
|
155
|
-
function unconstruct(func) {
|
156
|
-
return function () {
|
157
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
158
|
-
args[_key2] = arguments[_key2];
|
159
|
-
}
|
160
|
-
|
161
|
-
return construct(func, args);
|
162
|
-
};
|
163
|
-
}
|
164
|
-
/* Add properties to a lookup table */
|
165
|
-
|
166
|
-
function addToSet(set, array, transformCaseFunc) {
|
167
|
-
transformCaseFunc = transformCaseFunc ? transformCaseFunc : stringToLowerCase;
|
168
|
-
|
169
|
-
if (setPrototypeOf) {
|
170
|
-
// Make 'in' and truthy checks like Boolean(set.constructor)
|
171
|
-
// independent of any properties defined on Object.prototype.
|
172
|
-
// Prevent prototype setters from intercepting set as a this value.
|
173
|
-
setPrototypeOf(set, null);
|
174
|
-
}
|
175
|
-
|
176
|
-
var l = array.length;
|
177
|
-
|
178
|
-
while (l--) {
|
179
|
-
var element = array[l];
|
180
|
-
|
181
|
-
if (typeof element === 'string') {
|
182
|
-
var lcElement = transformCaseFunc(element);
|
183
|
-
|
184
|
-
if (lcElement !== element) {
|
185
|
-
// Config presets (e.g. tags.js, attrs.js) are immutable.
|
186
|
-
if (!isFrozen(array)) {
|
187
|
-
array[l] = lcElement;
|
188
|
-
}
|
189
|
-
|
190
|
-
element = lcElement;
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
set[element] = true;
|
195
|
-
}
|
196
|
-
|
197
|
-
return set;
|
198
|
-
}
|
199
|
-
/* Shallow clone an object */
|
200
|
-
|
201
|
-
function clone(object) {
|
202
|
-
var newObject = create(null);
|
203
|
-
var property;
|
204
|
-
|
205
|
-
for (property in object) {
|
206
|
-
if (apply(hasOwnProperty, object, [property]) === true) {
|
207
|
-
newObject[property] = object[property];
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
return newObject;
|
212
|
-
}
|
213
|
-
/* IE10 doesn't support __lookupGetter__ so lets'
|
214
|
-
* simulate it. It also automatically checks
|
215
|
-
* if the prop is function or getter and behaves
|
216
|
-
* accordingly. */
|
217
|
-
|
218
|
-
function lookupGetter(object, prop) {
|
219
|
-
while (object !== null) {
|
220
|
-
var desc = getOwnPropertyDescriptor(object, prop);
|
221
|
-
|
222
|
-
if (desc) {
|
223
|
-
if (desc.get) {
|
224
|
-
return unapply(desc.get);
|
225
|
-
}
|
226
|
-
|
227
|
-
if (typeof desc.value === 'function') {
|
228
|
-
return unapply(desc.value);
|
229
|
-
}
|
230
|
-
}
|
231
|
-
|
232
|
-
object = getPrototypeOf(object);
|
233
|
-
}
|
234
|
-
|
235
|
-
function fallbackValue(element) {
|
236
|
-
console.warn('fallback value for', element);
|
237
|
-
return null;
|
238
|
-
}
|
239
|
-
|
240
|
-
return fallbackValue;
|
241
|
-
}
|
242
|
-
|
243
|
-
var html$1 = freeze(['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', 'section', 'select', 'shadow', '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']); // SVG
|
244
|
-
|
245
|
-
var svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
246
|
-
var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
|
247
|
-
// We still need to know them so that we can do namespace
|
248
|
-
// checks properly in case one wants to add them to
|
249
|
-
// allow-list.
|
250
|
-
|
251
|
-
var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', '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']);
|
252
|
-
var mathMl$1 = freeze(['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']); // Similarly to SVG, we want to know all MathML elements,
|
253
|
-
// even those that we disallow by default.
|
254
|
-
|
255
|
-
var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
256
|
-
var text = freeze(['#text']);
|
257
|
-
|
258
|
-
var html = freeze(['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', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', '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', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);
|
259
|
-
var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', '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', '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', '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', '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', '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', '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']);
|
260
|
-
var mathMl = freeze(['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']);
|
261
|
-
var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
262
|
-
|
263
|
-
var MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
264
|
-
|
265
|
-
var ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
266
|
-
var TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
|
267
|
-
var DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape
|
268
|
-
|
269
|
-
var ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
270
|
-
|
271
|
-
var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
|
272
|
-
);
|
273
|
-
var IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
274
|
-
var ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
|
275
|
-
);
|
276
|
-
var DOCTYPE_NAME = seal(/^html$/i);
|
277
|
-
|
278
|
-
var getGlobal = function getGlobal() {
|
279
|
-
return typeof window === 'undefined' ? null : window;
|
280
|
-
};
|
281
|
-
/**
|
282
|
-
* Creates a no-op policy for internal use only.
|
283
|
-
* Don't export this function outside this module!
|
284
|
-
* @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.
|
285
|
-
* @param {Document} document The document object (to determine policy name suffix)
|
286
|
-
* @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
|
287
|
-
* are not supported).
|
288
|
-
*/
|
289
|
-
|
290
|
-
|
291
|
-
var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
|
292
|
-
if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
|
293
|
-
return null;
|
294
|
-
} // Allow the callers to control the unique policy name
|
295
|
-
// by adding a data-tt-policy-suffix to the script element with the DOMPurify.
|
296
|
-
// Policy creation with duplicate names throws in Trusted Types.
|
297
|
-
|
298
|
-
|
299
|
-
var suffix = null;
|
300
|
-
var ATTR_NAME = 'data-tt-policy-suffix';
|
301
|
-
|
302
|
-
if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
|
303
|
-
suffix = document.currentScript.getAttribute(ATTR_NAME);
|
304
|
-
}
|
305
|
-
|
306
|
-
var policyName = 'dompurify' + (suffix ? '#' + suffix : '');
|
307
|
-
|
308
|
-
try {
|
309
|
-
return trustedTypes.createPolicy(policyName, {
|
310
|
-
createHTML: function createHTML(html) {
|
311
|
-
return html;
|
312
|
-
},
|
313
|
-
createScriptURL: function createScriptURL(scriptUrl) {
|
314
|
-
return scriptUrl;
|
315
|
-
}
|
316
|
-
});
|
317
|
-
} catch (_) {
|
318
|
-
// Policy creation failed (most likely another DOMPurify script has
|
319
|
-
// already run). Skip creating the policy, as this will only cause errors
|
320
|
-
// if TT are enforced.
|
321
|
-
console.warn('TrustedTypes policy ' + policyName + ' could not be created.');
|
322
|
-
return null;
|
323
|
-
}
|
324
|
-
};
|
325
|
-
|
326
|
-
function createDOMPurify() {
|
327
|
-
var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
328
|
-
|
329
|
-
var DOMPurify = function DOMPurify(root) {
|
330
|
-
return createDOMPurify(root);
|
331
|
-
};
|
332
|
-
/**
|
333
|
-
* Version label, exposed for easier checks
|
334
|
-
* if DOMPurify is up to date or not
|
335
|
-
*/
|
336
|
-
|
337
|
-
|
338
|
-
DOMPurify.version = '2.4.3';
|
339
|
-
/**
|
340
|
-
* Array of elements that DOMPurify removed during sanitation.
|
341
|
-
* Empty if nothing was removed.
|
342
|
-
*/
|
343
|
-
|
344
|
-
DOMPurify.removed = [];
|
345
|
-
|
346
|
-
if (!window || !window.document || window.document.nodeType !== 9) {
|
347
|
-
// Not running in a browser, provide a factory function
|
348
|
-
// so that you can pass your own Window
|
349
|
-
DOMPurify.isSupported = false;
|
350
|
-
return DOMPurify;
|
351
|
-
}
|
352
|
-
|
353
|
-
var originalDocument = window.document;
|
354
|
-
var document = window.document;
|
355
|
-
var DocumentFragment = window.DocumentFragment,
|
356
|
-
HTMLTemplateElement = window.HTMLTemplateElement,
|
357
|
-
Node = window.Node,
|
358
|
-
Element = window.Element,
|
359
|
-
NodeFilter = window.NodeFilter,
|
360
|
-
_window$NamedNodeMap = window.NamedNodeMap,
|
361
|
-
NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,
|
362
|
-
HTMLFormElement = window.HTMLFormElement,
|
363
|
-
DOMParser = window.DOMParser,
|
364
|
-
trustedTypes = window.trustedTypes;
|
365
|
-
var ElementPrototype = Element.prototype;
|
366
|
-
var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
367
|
-
var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
|
368
|
-
var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
|
369
|
-
var getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a
|
370
|
-
// new document created via createHTMLDocument. As per the spec
|
371
|
-
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
372
|
-
// a new empty registry is used when creating a template contents owner
|
373
|
-
// document, so we use that as our parent document to ensure nothing
|
374
|
-
// is inherited.
|
375
|
-
|
376
|
-
if (typeof HTMLTemplateElement === 'function') {
|
377
|
-
var template = document.createElement('template');
|
378
|
-
|
379
|
-
if (template.content && template.content.ownerDocument) {
|
380
|
-
document = template.content.ownerDocument;
|
381
|
-
}
|
382
|
-
}
|
383
|
-
|
384
|
-
var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
|
385
|
-
|
386
|
-
var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
|
387
|
-
var _document = document,
|
388
|
-
implementation = _document.implementation,
|
389
|
-
createNodeIterator = _document.createNodeIterator,
|
390
|
-
createDocumentFragment = _document.createDocumentFragment,
|
391
|
-
getElementsByTagName = _document.getElementsByTagName;
|
392
|
-
var importNode = originalDocument.importNode;
|
393
|
-
var documentMode = {};
|
394
|
-
|
395
|
-
try {
|
396
|
-
documentMode = clone(document).documentMode ? document.documentMode : {};
|
397
|
-
} catch (_) {}
|
398
|
-
|
399
|
-
var hooks = {};
|
400
|
-
/**
|
401
|
-
* Expose whether this browser supports running the full DOMPurify.
|
402
|
-
*/
|
403
|
-
|
404
|
-
DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;
|
405
|
-
var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,
|
406
|
-
ERB_EXPR$1 = ERB_EXPR,
|
407
|
-
TMPLIT_EXPR$1 = TMPLIT_EXPR,
|
408
|
-
DATA_ATTR$1 = DATA_ATTR,
|
409
|
-
ARIA_ATTR$1 = ARIA_ATTR,
|
410
|
-
IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,
|
411
|
-
ATTR_WHITESPACE$1 = ATTR_WHITESPACE;
|
412
|
-
var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;
|
413
|
-
/**
|
414
|
-
* We consider the elements and attributes below to be safe. Ideally
|
415
|
-
* don't add any new ones but feel free to remove unwanted ones.
|
416
|
-
*/
|
417
|
-
|
418
|
-
/* allowed element names */
|
419
|
-
|
420
|
-
var ALLOWED_TAGS = null;
|
421
|
-
var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));
|
422
|
-
/* Allowed attribute names */
|
423
|
-
|
424
|
-
var ALLOWED_ATTR = null;
|
425
|
-
var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));
|
426
|
-
/*
|
427
|
-
* Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.
|
428
|
-
* @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
|
429
|
-
* @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
|
430
|
-
* @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
|
431
|
-
*/
|
432
|
-
|
433
|
-
var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {
|
434
|
-
tagNameCheck: {
|
435
|
-
writable: true,
|
436
|
-
configurable: false,
|
437
|
-
enumerable: true,
|
438
|
-
value: null
|
439
|
-
},
|
440
|
-
attributeNameCheck: {
|
441
|
-
writable: true,
|
442
|
-
configurable: false,
|
443
|
-
enumerable: true,
|
444
|
-
value: null
|
445
|
-
},
|
446
|
-
allowCustomizedBuiltInElements: {
|
447
|
-
writable: true,
|
448
|
-
configurable: false,
|
449
|
-
enumerable: true,
|
450
|
-
value: false
|
451
|
-
}
|
452
|
-
}));
|
453
|
-
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
454
|
-
|
455
|
-
var FORBID_TAGS = null;
|
456
|
-
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
457
|
-
|
458
|
-
var FORBID_ATTR = null;
|
459
|
-
/* Decide if ARIA attributes are okay */
|
460
|
-
|
461
|
-
var ALLOW_ARIA_ATTR = true;
|
462
|
-
/* Decide if custom data attributes are okay */
|
463
|
-
|
464
|
-
var ALLOW_DATA_ATTR = true;
|
465
|
-
/* Decide if unknown protocols are okay */
|
466
|
-
|
467
|
-
var ALLOW_UNKNOWN_PROTOCOLS = false;
|
468
|
-
/* Output should be safe for common template engines.
|
469
|
-
* This means, DOMPurify removes data attributes, mustaches and ERB
|
470
|
-
*/
|
471
|
-
|
472
|
-
var SAFE_FOR_TEMPLATES = false;
|
473
|
-
/* Decide if document with <html>... should be returned */
|
474
|
-
|
475
|
-
var WHOLE_DOCUMENT = false;
|
476
|
-
/* Track whether config is already set on this instance of DOMPurify. */
|
477
|
-
|
478
|
-
var SET_CONFIG = false;
|
479
|
-
/* Decide if all elements (e.g. style, script) must be children of
|
480
|
-
* document.body. By default, browsers might move them to document.head */
|
481
|
-
|
482
|
-
var FORCE_BODY = false;
|
483
|
-
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
|
484
|
-
* string (or a TrustedHTML object if Trusted Types are supported).
|
485
|
-
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
486
|
-
*/
|
487
|
-
|
488
|
-
var RETURN_DOM = false;
|
489
|
-
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html
|
490
|
-
* string (or a TrustedHTML object if Trusted Types are supported) */
|
491
|
-
|
492
|
-
var RETURN_DOM_FRAGMENT = false;
|
493
|
-
/* Try to return a Trusted Type object instead of a string, return a string in
|
494
|
-
* case Trusted Types are not supported */
|
495
|
-
|
496
|
-
var RETURN_TRUSTED_TYPE = false;
|
497
|
-
/* Output should be free from DOM clobbering attacks?
|
498
|
-
* This sanitizes markups named with colliding, clobberable built-in DOM APIs.
|
499
|
-
*/
|
500
|
-
|
501
|
-
var SANITIZE_DOM = true;
|
502
|
-
/* Achieve full DOM Clobbering protection by isolating the namespace of named
|
503
|
-
* properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
|
504
|
-
*
|
505
|
-
* HTML/DOM spec rules that enable DOM Clobbering:
|
506
|
-
* - Named Access on Window (§7.3.3)
|
507
|
-
* - DOM Tree Accessors (§3.1.5)
|
508
|
-
* - Form Element Parent-Child Relations (§4.10.3)
|
509
|
-
* - Iframe srcdoc / Nested WindowProxies (§4.8.5)
|
510
|
-
* - HTMLCollection (§4.2.10.2)
|
511
|
-
*
|
512
|
-
* Namespace isolation is implemented by prefixing `id` and `name` attributes
|
513
|
-
* with a constant string, i.e., `user-content-`
|
514
|
-
*/
|
515
|
-
|
516
|
-
var SANITIZE_NAMED_PROPS = false;
|
517
|
-
var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
|
518
|
-
/* Keep element content when removing element? */
|
519
|
-
|
520
|
-
var KEEP_CONTENT = true;
|
521
|
-
/* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
|
522
|
-
* of importing it into a new Document and returning a sanitized copy */
|
523
|
-
|
524
|
-
var IN_PLACE = false;
|
525
|
-
/* Allow usage of profiles like html, svg and mathMl */
|
526
|
-
|
527
|
-
var USE_PROFILES = {};
|
528
|
-
/* Tags to ignore content of when KEEP_CONTENT is true */
|
529
|
-
|
530
|
-
var FORBID_CONTENTS = null;
|
531
|
-
var DEFAULT_FORBID_CONTENTS = addToSet({}, ['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']);
|
532
|
-
/* Tags that are safe for data: URIs */
|
533
|
-
|
534
|
-
var DATA_URI_TAGS = null;
|
535
|
-
var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
|
536
|
-
/* Attributes safe for values like "javascript:" */
|
537
|
-
|
538
|
-
var URI_SAFE_ATTRIBUTES = null;
|
539
|
-
var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
|
540
|
-
var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
541
|
-
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
542
|
-
var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
|
543
|
-
/* Document namespace */
|
544
|
-
|
545
|
-
var NAMESPACE = HTML_NAMESPACE;
|
546
|
-
var IS_EMPTY_INPUT = false;
|
547
|
-
/* Allowed XHTML+XML namespaces */
|
548
|
-
|
549
|
-
var ALLOWED_NAMESPACES = null;
|
550
|
-
var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
551
|
-
/* Parsing of strict XHTML documents */
|
552
|
-
|
553
|
-
var PARSER_MEDIA_TYPE;
|
554
|
-
var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
|
555
|
-
var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
|
556
|
-
var transformCaseFunc;
|
557
|
-
/* Keep a reference to config to pass to hooks */
|
558
|
-
|
559
|
-
var CONFIG = null;
|
560
|
-
/* Ideally, do not touch anything below this line */
|
561
|
-
|
562
|
-
/* ______________________________________________ */
|
563
|
-
|
564
|
-
var formElement = document.createElement('form');
|
565
|
-
|
566
|
-
var isRegexOrFunction = function isRegexOrFunction(testValue) {
|
567
|
-
return testValue instanceof RegExp || testValue instanceof Function;
|
568
|
-
};
|
569
|
-
/**
|
570
|
-
* _parseConfig
|
571
|
-
*
|
572
|
-
* @param {Object} cfg optional config literal
|
573
|
-
*/
|
574
|
-
// eslint-disable-next-line complexity
|
575
|
-
|
576
|
-
|
577
|
-
var _parseConfig = function _parseConfig(cfg) {
|
578
|
-
if (CONFIG && CONFIG === cfg) {
|
579
|
-
return;
|
580
|
-
}
|
581
|
-
/* Shield configuration object from tampering */
|
582
|
-
|
583
|
-
|
584
|
-
if (!cfg || _typeof(cfg) !== 'object') {
|
585
|
-
cfg = {};
|
586
|
-
}
|
587
|
-
/* Shield configuration object from prototype pollution */
|
588
|
-
|
589
|
-
|
590
|
-
cfg = clone(cfg);
|
591
|
-
PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes
|
592
|
-
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
593
|
-
|
594
|
-
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
595
|
-
/* Set configuration parameters */
|
596
|
-
|
597
|
-
ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
598
|
-
ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
599
|
-
ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
600
|
-
URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), // eslint-disable-line indent
|
601
|
-
cfg.ADD_URI_SAFE_ATTR, // eslint-disable-line indent
|
602
|
-
transformCaseFunc // eslint-disable-line indent
|
603
|
-
) // eslint-disable-line indent
|
604
|
-
: DEFAULT_URI_SAFE_ATTRIBUTES;
|
605
|
-
DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), // eslint-disable-line indent
|
606
|
-
cfg.ADD_DATA_URI_TAGS, // eslint-disable-line indent
|
607
|
-
transformCaseFunc // eslint-disable-line indent
|
608
|
-
) // eslint-disable-line indent
|
609
|
-
: DEFAULT_DATA_URI_TAGS;
|
610
|
-
FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
611
|
-
FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
612
|
-
FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
613
|
-
USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
|
614
|
-
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
615
|
-
|
616
|
-
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
617
|
-
|
618
|
-
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
619
|
-
|
620
|
-
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
|
621
|
-
|
622
|
-
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
|
623
|
-
|
624
|
-
RETURN_DOM = cfg.RETURN_DOM || false; // Default false
|
625
|
-
|
626
|
-
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
|
627
|
-
|
628
|
-
RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
|
629
|
-
|
630
|
-
FORCE_BODY = cfg.FORCE_BODY || false; // Default false
|
631
|
-
|
632
|
-
SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
|
633
|
-
|
634
|
-
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
635
|
-
|
636
|
-
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
637
|
-
|
638
|
-
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
639
|
-
|
640
|
-
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;
|
641
|
-
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
642
|
-
|
643
|
-
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
644
|
-
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
645
|
-
}
|
646
|
-
|
647
|
-
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
|
648
|
-
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
|
649
|
-
}
|
650
|
-
|
651
|
-
if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
|
652
|
-
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
|
653
|
-
}
|
654
|
-
|
655
|
-
if (SAFE_FOR_TEMPLATES) {
|
656
|
-
ALLOW_DATA_ATTR = false;
|
657
|
-
}
|
658
|
-
|
659
|
-
if (RETURN_DOM_FRAGMENT) {
|
660
|
-
RETURN_DOM = true;
|
661
|
-
}
|
662
|
-
/* Parse profile info */
|
663
|
-
|
664
|
-
|
665
|
-
if (USE_PROFILES) {
|
666
|
-
ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));
|
667
|
-
ALLOWED_ATTR = [];
|
668
|
-
|
669
|
-
if (USE_PROFILES.html === true) {
|
670
|
-
addToSet(ALLOWED_TAGS, html$1);
|
671
|
-
addToSet(ALLOWED_ATTR, html);
|
672
|
-
}
|
673
|
-
|
674
|
-
if (USE_PROFILES.svg === true) {
|
675
|
-
addToSet(ALLOWED_TAGS, svg$1);
|
676
|
-
addToSet(ALLOWED_ATTR, svg);
|
677
|
-
addToSet(ALLOWED_ATTR, xml);
|
678
|
-
}
|
679
|
-
|
680
|
-
if (USE_PROFILES.svgFilters === true) {
|
681
|
-
addToSet(ALLOWED_TAGS, svgFilters);
|
682
|
-
addToSet(ALLOWED_ATTR, svg);
|
683
|
-
addToSet(ALLOWED_ATTR, xml);
|
684
|
-
}
|
685
|
-
|
686
|
-
if (USE_PROFILES.mathMl === true) {
|
687
|
-
addToSet(ALLOWED_TAGS, mathMl$1);
|
688
|
-
addToSet(ALLOWED_ATTR, mathMl);
|
689
|
-
addToSet(ALLOWED_ATTR, xml);
|
690
|
-
}
|
691
|
-
}
|
692
|
-
/* Merge configuration parameters */
|
693
|
-
|
694
|
-
|
695
|
-
if (cfg.ADD_TAGS) {
|
696
|
-
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
697
|
-
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
698
|
-
}
|
699
|
-
|
700
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
701
|
-
}
|
702
|
-
|
703
|
-
if (cfg.ADD_ATTR) {
|
704
|
-
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
705
|
-
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
706
|
-
}
|
707
|
-
|
708
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
709
|
-
}
|
710
|
-
|
711
|
-
if (cfg.ADD_URI_SAFE_ATTR) {
|
712
|
-
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
713
|
-
}
|
714
|
-
|
715
|
-
if (cfg.FORBID_CONTENTS) {
|
716
|
-
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
717
|
-
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
718
|
-
}
|
719
|
-
|
720
|
-
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
721
|
-
}
|
722
|
-
/* Add #text in case KEEP_CONTENT is set to true */
|
723
|
-
|
724
|
-
|
725
|
-
if (KEEP_CONTENT) {
|
726
|
-
ALLOWED_TAGS['#text'] = true;
|
727
|
-
}
|
728
|
-
/* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
|
729
|
-
|
730
|
-
|
731
|
-
if (WHOLE_DOCUMENT) {
|
732
|
-
addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
|
733
|
-
}
|
734
|
-
/* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
|
735
|
-
|
736
|
-
|
737
|
-
if (ALLOWED_TAGS.table) {
|
738
|
-
addToSet(ALLOWED_TAGS, ['tbody']);
|
739
|
-
delete FORBID_TAGS.tbody;
|
740
|
-
} // Prevent further manipulation of configuration.
|
741
|
-
// Not available in IE8, Safari 5, etc.
|
742
|
-
|
743
|
-
|
744
|
-
if (freeze) {
|
745
|
-
freeze(cfg);
|
746
|
-
}
|
747
|
-
|
748
|
-
CONFIG = cfg;
|
749
|
-
};
|
750
|
-
|
751
|
-
var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
|
752
|
-
var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']); // Certain elements are allowed in both SVG and HTML
|
753
|
-
// namespace. We need to specify them explicitly
|
754
|
-
// so that they don't get erroneously deleted from
|
755
|
-
// HTML namespace.
|
756
|
-
|
757
|
-
var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
|
758
|
-
/* Keep track of all possible SVG and MathML tags
|
759
|
-
* so that we can perform the namespace checks
|
760
|
-
* correctly. */
|
761
|
-
|
762
|
-
var ALL_SVG_TAGS = addToSet({}, svg$1);
|
763
|
-
addToSet(ALL_SVG_TAGS, svgFilters);
|
764
|
-
addToSet(ALL_SVG_TAGS, svgDisallowed);
|
765
|
-
var ALL_MATHML_TAGS = addToSet({}, mathMl$1);
|
766
|
-
addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
|
767
|
-
/**
|
768
|
-
*
|
769
|
-
*
|
770
|
-
* @param {Element} element a DOM element whose namespace is being checked
|
771
|
-
* @returns {boolean} Return false if the element has a
|
772
|
-
* namespace that a spec-compliant parser would never
|
773
|
-
* return. Return true otherwise.
|
774
|
-
*/
|
775
|
-
|
776
|
-
var _checkValidNamespace = function _checkValidNamespace(element) {
|
777
|
-
var parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode
|
778
|
-
// can be null. We just simulate parent in this case.
|
779
|
-
|
780
|
-
if (!parent || !parent.tagName) {
|
781
|
-
parent = {
|
782
|
-
namespaceURI: NAMESPACE,
|
783
|
-
tagName: 'template'
|
784
|
-
};
|
785
|
-
}
|
786
|
-
|
787
|
-
var tagName = stringToLowerCase(element.tagName);
|
788
|
-
var parentTagName = stringToLowerCase(parent.tagName);
|
789
|
-
|
790
|
-
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
791
|
-
return false;
|
792
|
-
}
|
793
|
-
|
794
|
-
if (element.namespaceURI === SVG_NAMESPACE) {
|
795
|
-
// The only way to switch from HTML namespace to SVG
|
796
|
-
// is via <svg>. If it happens via any other tag, then
|
797
|
-
// it should be killed.
|
798
|
-
if (parent.namespaceURI === HTML_NAMESPACE) {
|
799
|
-
return tagName === 'svg';
|
800
|
-
} // The only way to switch from MathML to SVG is via`
|
801
|
-
// svg if parent is either <annotation-xml> or MathML
|
802
|
-
// text integration points.
|
803
|
-
|
804
|
-
|
805
|
-
if (parent.namespaceURI === MATHML_NAMESPACE) {
|
806
|
-
return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
|
807
|
-
} // We only allow elements that are defined in SVG
|
808
|
-
// spec. All others are disallowed in SVG namespace.
|
809
|
-
|
810
|
-
|
811
|
-
return Boolean(ALL_SVG_TAGS[tagName]);
|
812
|
-
}
|
813
|
-
|
814
|
-
if (element.namespaceURI === MATHML_NAMESPACE) {
|
815
|
-
// The only way to switch from HTML namespace to MathML
|
816
|
-
// is via <math>. If it happens via any other tag, then
|
817
|
-
// it should be killed.
|
818
|
-
if (parent.namespaceURI === HTML_NAMESPACE) {
|
819
|
-
return tagName === 'math';
|
820
|
-
} // The only way to switch from SVG to MathML is via
|
821
|
-
// <math> and HTML integration points
|
822
|
-
|
823
|
-
|
824
|
-
if (parent.namespaceURI === SVG_NAMESPACE) {
|
825
|
-
return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
|
826
|
-
} // We only allow elements that are defined in MathML
|
827
|
-
// spec. All others are disallowed in MathML namespace.
|
828
|
-
|
829
|
-
|
830
|
-
return Boolean(ALL_MATHML_TAGS[tagName]);
|
831
|
-
}
|
832
|
-
|
833
|
-
if (element.namespaceURI === HTML_NAMESPACE) {
|
834
|
-
// The only way to switch from SVG to HTML is via
|
835
|
-
// HTML integration points, and from MathML to HTML
|
836
|
-
// is via MathML text integration points
|
837
|
-
if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
|
838
|
-
return false;
|
839
|
-
}
|
840
|
-
|
841
|
-
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
842
|
-
return false;
|
843
|
-
} // We disallow tags that are specific for MathML
|
844
|
-
// or SVG and should never appear in HTML namespace
|
845
|
-
|
846
|
-
|
847
|
-
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
848
|
-
} // For XHTML and XML documents that support custom namespaces
|
849
|
-
|
850
|
-
|
851
|
-
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
852
|
-
return true;
|
853
|
-
} // The code should never reach this place (this means
|
854
|
-
// that the element somehow got namespace that is not
|
855
|
-
// HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
|
856
|
-
// Return false just in case.
|
857
|
-
|
858
|
-
|
859
|
-
return false;
|
860
|
-
};
|
861
|
-
/**
|
862
|
-
* _forceRemove
|
863
|
-
*
|
864
|
-
* @param {Node} node a DOM node
|
865
|
-
*/
|
866
|
-
|
867
|
-
|
868
|
-
var _forceRemove = function _forceRemove(node) {
|
869
|
-
arrayPush(DOMPurify.removed, {
|
870
|
-
element: node
|
871
|
-
});
|
872
|
-
|
873
|
-
try {
|
874
|
-
// eslint-disable-next-line unicorn/prefer-dom-node-remove
|
875
|
-
node.parentNode.removeChild(node);
|
876
|
-
} catch (_) {
|
877
|
-
try {
|
878
|
-
node.outerHTML = emptyHTML;
|
879
|
-
} catch (_) {
|
880
|
-
node.remove();
|
881
|
-
}
|
882
|
-
}
|
883
|
-
};
|
884
|
-
/**
|
885
|
-
* _removeAttribute
|
886
|
-
*
|
887
|
-
* @param {String} name an Attribute name
|
888
|
-
* @param {Node} node a DOM node
|
889
|
-
*/
|
890
|
-
|
891
|
-
|
892
|
-
var _removeAttribute = function _removeAttribute(name, node) {
|
893
|
-
try {
|
894
|
-
arrayPush(DOMPurify.removed, {
|
895
|
-
attribute: node.getAttributeNode(name),
|
896
|
-
from: node
|
897
|
-
});
|
898
|
-
} catch (_) {
|
899
|
-
arrayPush(DOMPurify.removed, {
|
900
|
-
attribute: null,
|
901
|
-
from: node
|
902
|
-
});
|
903
|
-
}
|
904
|
-
|
905
|
-
node.removeAttribute(name); // We void attribute values for unremovable "is"" attributes
|
906
|
-
|
907
|
-
if (name === 'is' && !ALLOWED_ATTR[name]) {
|
908
|
-
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
909
|
-
try {
|
910
|
-
_forceRemove(node);
|
911
|
-
} catch (_) {}
|
912
|
-
} else {
|
913
|
-
try {
|
914
|
-
node.setAttribute(name, '');
|
915
|
-
} catch (_) {}
|
916
|
-
}
|
917
|
-
}
|
918
|
-
};
|
919
|
-
/**
|
920
|
-
* _initDocument
|
921
|
-
*
|
922
|
-
* @param {String} dirty a string of dirty markup
|
923
|
-
* @return {Document} a DOM, filled with the dirty markup
|
924
|
-
*/
|
925
|
-
|
926
|
-
|
927
|
-
var _initDocument = function _initDocument(dirty) {
|
928
|
-
/* Create a HTML document */
|
929
|
-
var doc;
|
930
|
-
var leadingWhitespace;
|
931
|
-
|
932
|
-
if (FORCE_BODY) {
|
933
|
-
dirty = '<remove></remove>' + dirty;
|
934
|
-
} else {
|
935
|
-
/* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
|
936
|
-
var matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
937
|
-
leadingWhitespace = matches && matches[0];
|
938
|
-
}
|
939
|
-
|
940
|
-
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
|
941
|
-
// Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
|
942
|
-
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
|
943
|
-
}
|
944
|
-
|
945
|
-
var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
946
|
-
/*
|
947
|
-
* Use the DOMParser API by default, fallback later if needs be
|
948
|
-
* DOMParser not work for svg when has multiple root element.
|
949
|
-
*/
|
950
|
-
|
951
|
-
if (NAMESPACE === HTML_NAMESPACE) {
|
952
|
-
try {
|
953
|
-
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
954
|
-
} catch (_) {}
|
955
|
-
}
|
956
|
-
/* Use createHTMLDocument in case DOMParser is not available */
|
957
|
-
|
958
|
-
|
959
|
-
if (!doc || !doc.documentElement) {
|
960
|
-
doc = implementation.createDocument(NAMESPACE, 'template', null);
|
961
|
-
|
962
|
-
try {
|
963
|
-
doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
|
964
|
-
} catch (_) {// Syntax error if dirtyPayload is invalid xml
|
965
|
-
}
|
966
|
-
}
|
967
|
-
|
968
|
-
var body = doc.body || doc.documentElement;
|
969
|
-
|
970
|
-
if (dirty && leadingWhitespace) {
|
971
|
-
body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
972
|
-
}
|
973
|
-
/* Work on whole document or just its body */
|
974
|
-
|
975
|
-
|
976
|
-
if (NAMESPACE === HTML_NAMESPACE) {
|
977
|
-
return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
978
|
-
}
|
979
|
-
|
980
|
-
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
981
|
-
};
|
982
|
-
/**
|
983
|
-
* _createIterator
|
984
|
-
*
|
985
|
-
* @param {Document} root document/fragment to create iterator for
|
986
|
-
* @return {Iterator} iterator instance
|
987
|
-
*/
|
988
|
-
|
989
|
-
|
990
|
-
var _createIterator = function _createIterator(root) {
|
991
|
-
return createNodeIterator.call(root.ownerDocument || root, root, // eslint-disable-next-line no-bitwise
|
992
|
-
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null, false);
|
993
|
-
};
|
994
|
-
/**
|
995
|
-
* _isClobbered
|
996
|
-
*
|
997
|
-
* @param {Node} elm element to check for clobbering attacks
|
998
|
-
* @return {Boolean} true if clobbered, false if safe
|
999
|
-
*/
|
1000
|
-
|
1001
|
-
|
1002
|
-
var _isClobbered = function _isClobbered(elm) {
|
1003
|
-
return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');
|
1004
|
-
};
|
1005
|
-
/**
|
1006
|
-
* _isNode
|
1007
|
-
*
|
1008
|
-
* @param {Node} obj object to check whether it's a DOM node
|
1009
|
-
* @return {Boolean} true is object is a DOM node
|
1010
|
-
*/
|
1011
|
-
|
1012
|
-
|
1013
|
-
var _isNode = function _isNode(object) {
|
1014
|
-
return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';
|
1015
|
-
};
|
1016
|
-
/**
|
1017
|
-
* _executeHook
|
1018
|
-
* Execute user configurable hooks
|
1019
|
-
*
|
1020
|
-
* @param {String} entryPoint Name of the hook's entry point
|
1021
|
-
* @param {Node} currentNode node to work on with the hook
|
1022
|
-
* @param {Object} data additional hook parameters
|
1023
|
-
*/
|
1024
|
-
|
1025
|
-
|
1026
|
-
var _executeHook = function _executeHook(entryPoint, currentNode, data) {
|
1027
|
-
if (!hooks[entryPoint]) {
|
1028
|
-
return;
|
1029
|
-
}
|
1030
|
-
|
1031
|
-
arrayForEach(hooks[entryPoint], function (hook) {
|
1032
|
-
hook.call(DOMPurify, currentNode, data, CONFIG);
|
1033
|
-
});
|
1034
|
-
};
|
1035
|
-
/**
|
1036
|
-
* _sanitizeElements
|
1037
|
-
*
|
1038
|
-
* @protect nodeName
|
1039
|
-
* @protect textContent
|
1040
|
-
* @protect removeChild
|
1041
|
-
*
|
1042
|
-
* @param {Node} currentNode to check for permission to exist
|
1043
|
-
* @return {Boolean} true if node was killed, false if left alive
|
1044
|
-
*/
|
1045
|
-
|
1046
|
-
|
1047
|
-
var _sanitizeElements = function _sanitizeElements(currentNode) {
|
1048
|
-
var content;
|
1049
|
-
/* Execute a hook if present */
|
1050
|
-
|
1051
|
-
_executeHook('beforeSanitizeElements', currentNode, null);
|
1052
|
-
/* Check if element is clobbered or can clobber */
|
1053
|
-
|
1054
|
-
|
1055
|
-
if (_isClobbered(currentNode)) {
|
1056
|
-
_forceRemove(currentNode);
|
1057
|
-
|
1058
|
-
return true;
|
1059
|
-
}
|
1060
|
-
/* Check if tagname contains Unicode */
|
1061
|
-
|
1062
|
-
|
1063
|
-
if (regExpTest(/[\u0080-\uFFFF]/, currentNode.nodeName)) {
|
1064
|
-
_forceRemove(currentNode);
|
1065
|
-
|
1066
|
-
return true;
|
1067
|
-
}
|
1068
|
-
/* Now let's check the element's type and name */
|
1069
|
-
|
1070
|
-
|
1071
|
-
var tagName = transformCaseFunc(currentNode.nodeName);
|
1072
|
-
/* Execute a hook if present */
|
1073
|
-
|
1074
|
-
_executeHook('uponSanitizeElement', currentNode, {
|
1075
|
-
tagName: tagName,
|
1076
|
-
allowedTags: ALLOWED_TAGS
|
1077
|
-
});
|
1078
|
-
/* Detect mXSS attempts abusing namespace confusion */
|
1079
|
-
|
1080
|
-
|
1081
|
-
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
1082
|
-
_forceRemove(currentNode);
|
1083
|
-
|
1084
|
-
return true;
|
1085
|
-
}
|
1086
|
-
/* Mitigate a problem with templates inside select */
|
1087
|
-
|
1088
|
-
|
1089
|
-
if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {
|
1090
|
-
_forceRemove(currentNode);
|
1091
|
-
|
1092
|
-
return true;
|
1093
|
-
}
|
1094
|
-
/* Remove element if anything forbids its presence */
|
1095
|
-
|
1096
|
-
|
1097
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1098
|
-
/* Check if we have a custom element to handle */
|
1099
|
-
if (!FORBID_TAGS[tagName] && _basicCustomElementTest(tagName)) {
|
1100
|
-
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;
|
1101
|
-
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
|
1102
|
-
}
|
1103
|
-
/* Keep content except for bad-listed elements */
|
1104
|
-
|
1105
|
-
|
1106
|
-
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
1107
|
-
var parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
1108
|
-
var childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
1109
|
-
|
1110
|
-
if (childNodes && parentNode) {
|
1111
|
-
var childCount = childNodes.length;
|
1112
|
-
|
1113
|
-
for (var i = childCount - 1; i >= 0; --i) {
|
1114
|
-
parentNode.insertBefore(cloneNode(childNodes[i], true), getNextSibling(currentNode));
|
1115
|
-
}
|
1116
|
-
}
|
1117
|
-
}
|
1118
|
-
|
1119
|
-
_forceRemove(currentNode);
|
1120
|
-
|
1121
|
-
return true;
|
1122
|
-
}
|
1123
|
-
/* Check whether element has a valid namespace */
|
1124
|
-
|
1125
|
-
|
1126
|
-
if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
|
1127
|
-
_forceRemove(currentNode);
|
1128
|
-
|
1129
|
-
return true;
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
if ((tagName === 'noscript' || tagName === 'noembed') && regExpTest(/<\/no(script|embed)/i, currentNode.innerHTML)) {
|
1133
|
-
_forceRemove(currentNode);
|
1134
|
-
|
1135
|
-
return true;
|
1136
|
-
}
|
1137
|
-
/* Sanitize element content to be template-safe */
|
1138
|
-
|
1139
|
-
|
1140
|
-
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
|
1141
|
-
/* Get the element's text content */
|
1142
|
-
content = currentNode.textContent;
|
1143
|
-
content = stringReplace(content, MUSTACHE_EXPR$1, ' ');
|
1144
|
-
content = stringReplace(content, ERB_EXPR$1, ' ');
|
1145
|
-
content = stringReplace(content, TMPLIT_EXPR$1, ' ');
|
1146
|
-
|
1147
|
-
if (currentNode.textContent !== content) {
|
1148
|
-
arrayPush(DOMPurify.removed, {
|
1149
|
-
element: currentNode.cloneNode()
|
1150
|
-
});
|
1151
|
-
currentNode.textContent = content;
|
1152
|
-
}
|
1153
|
-
}
|
1154
|
-
/* Execute a hook if present */
|
1155
|
-
|
1156
|
-
|
1157
|
-
_executeHook('afterSanitizeElements', currentNode, null);
|
1158
|
-
|
1159
|
-
return false;
|
1160
|
-
};
|
1161
|
-
/**
|
1162
|
-
* _isValidAttribute
|
1163
|
-
*
|
1164
|
-
* @param {string} lcTag Lowercase tag name of containing element.
|
1165
|
-
* @param {string} lcName Lowercase attribute name.
|
1166
|
-
* @param {string} value Attribute value.
|
1167
|
-
* @return {Boolean} Returns true if `value` is valid, otherwise false.
|
1168
|
-
*/
|
1169
|
-
// eslint-disable-next-line complexity
|
1170
|
-
|
1171
|
-
|
1172
|
-
var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
1173
|
-
/* Make sure attribute cannot clobber */
|
1174
|
-
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
1175
|
-
return false;
|
1176
|
-
}
|
1177
|
-
/* Allow valid data-* attributes: At least one character after "-"
|
1178
|
-
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
1179
|
-
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
1180
|
-
We don't need to check the value; it's always URI safe. */
|
1181
|
-
|
1182
|
-
|
1183
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
1184
|
-
if ( // First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
1185
|
-
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1186
|
-
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
1187
|
-
_basicCustomElementTest(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
1188
|
-
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1189
|
-
lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
|
1190
|
-
return false;
|
1191
|
-
}
|
1192
|
-
/* Check value is safe. First, is attr inert? If so, is safe */
|
1193
|
-
|
1194
|
-
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if (!value) ; else {
|
1195
|
-
return false;
|
1196
|
-
}
|
1197
|
-
|
1198
|
-
return true;
|
1199
|
-
};
|
1200
|
-
/**
|
1201
|
-
* _basicCustomElementCheck
|
1202
|
-
* checks if at least one dash is included in tagName, and it's not the first char
|
1203
|
-
* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
|
1204
|
-
* @param {string} tagName name of the tag of the node to sanitize
|
1205
|
-
*/
|
1206
|
-
|
1207
|
-
|
1208
|
-
var _basicCustomElementTest = function _basicCustomElementTest(tagName) {
|
1209
|
-
return tagName.indexOf('-') > 0;
|
1210
|
-
};
|
1211
|
-
/**
|
1212
|
-
* _sanitizeAttributes
|
1213
|
-
*
|
1214
|
-
* @protect attributes
|
1215
|
-
* @protect nodeName
|
1216
|
-
* @protect removeAttribute
|
1217
|
-
* @protect setAttribute
|
1218
|
-
*
|
1219
|
-
* @param {Node} currentNode to sanitize
|
1220
|
-
*/
|
1221
|
-
|
1222
|
-
|
1223
|
-
var _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
1224
|
-
var attr;
|
1225
|
-
var value;
|
1226
|
-
var lcName;
|
1227
|
-
var l;
|
1228
|
-
/* Execute a hook if present */
|
1229
|
-
|
1230
|
-
_executeHook('beforeSanitizeAttributes', currentNode, null);
|
1231
|
-
|
1232
|
-
var attributes = currentNode.attributes;
|
1233
|
-
/* Check if we have attributes; if not we might have a text node */
|
1234
|
-
|
1235
|
-
if (!attributes) {
|
1236
|
-
return;
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
var hookEvent = {
|
1240
|
-
attrName: '',
|
1241
|
-
attrValue: '',
|
1242
|
-
keepAttr: true,
|
1243
|
-
allowedAttributes: ALLOWED_ATTR
|
1244
|
-
};
|
1245
|
-
l = attributes.length;
|
1246
|
-
/* Go backwards over all attributes; safely remove bad ones */
|
1247
|
-
|
1248
|
-
while (l--) {
|
1249
|
-
attr = attributes[l];
|
1250
|
-
var _attr = attr,
|
1251
|
-
name = _attr.name,
|
1252
|
-
namespaceURI = _attr.namespaceURI;
|
1253
|
-
value = name === 'value' ? attr.value : stringTrim(attr.value);
|
1254
|
-
lcName = transformCaseFunc(name);
|
1255
|
-
/* Execute a hook if present */
|
1256
|
-
|
1257
|
-
hookEvent.attrName = lcName;
|
1258
|
-
hookEvent.attrValue = value;
|
1259
|
-
hookEvent.keepAttr = true;
|
1260
|
-
hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
|
1261
|
-
|
1262
|
-
_executeHook('uponSanitizeAttribute', currentNode, hookEvent);
|
1263
|
-
|
1264
|
-
value = hookEvent.attrValue;
|
1265
|
-
/* Did the hooks approve of the attribute? */
|
1266
|
-
|
1267
|
-
if (hookEvent.forceKeepAttr) {
|
1268
|
-
continue;
|
1269
|
-
}
|
1270
|
-
/* Remove attribute */
|
1271
|
-
|
1272
|
-
|
1273
|
-
_removeAttribute(name, currentNode);
|
1274
|
-
/* Did the hooks approve of the attribute? */
|
1275
|
-
|
1276
|
-
|
1277
|
-
if (!hookEvent.keepAttr) {
|
1278
|
-
continue;
|
1279
|
-
}
|
1280
|
-
/* Work around a security issue in jQuery 3.0 */
|
1281
|
-
|
1282
|
-
|
1283
|
-
if (regExpTest(/\/>/i, value)) {
|
1284
|
-
_removeAttribute(name, currentNode);
|
1285
|
-
|
1286
|
-
continue;
|
1287
|
-
}
|
1288
|
-
/* Sanitize attribute content to be template-safe */
|
1289
|
-
|
1290
|
-
|
1291
|
-
if (SAFE_FOR_TEMPLATES) {
|
1292
|
-
value = stringReplace(value, MUSTACHE_EXPR$1, ' ');
|
1293
|
-
value = stringReplace(value, ERB_EXPR$1, ' ');
|
1294
|
-
value = stringReplace(value, TMPLIT_EXPR$1, ' ');
|
1295
|
-
}
|
1296
|
-
/* Is `value` valid for this attribute? */
|
1297
|
-
|
1298
|
-
|
1299
|
-
var lcTag = transformCaseFunc(currentNode.nodeName);
|
1300
|
-
|
1301
|
-
if (!_isValidAttribute(lcTag, lcName, value)) {
|
1302
|
-
continue;
|
1303
|
-
}
|
1304
|
-
/* Full DOM Clobbering protection via namespace isolation,
|
1305
|
-
* Prefix id and name attributes with `user-content-`
|
1306
|
-
*/
|
1307
|
-
|
1308
|
-
|
1309
|
-
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
1310
|
-
// Remove the attribute with this value
|
1311
|
-
_removeAttribute(name, currentNode); // Prefix the value and later re-create the attribute with the sanitized value
|
1312
|
-
|
1313
|
-
|
1314
|
-
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
1315
|
-
}
|
1316
|
-
/* Handle attributes that require Trusted Types */
|
1317
|
-
|
1318
|
-
|
1319
|
-
if (trustedTypesPolicy && _typeof(trustedTypes) === 'object' && typeof trustedTypes.getAttributeType === 'function') {
|
1320
|
-
if (namespaceURI) ; else {
|
1321
|
-
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
1322
|
-
case 'TrustedHTML':
|
1323
|
-
value = trustedTypesPolicy.createHTML(value);
|
1324
|
-
break;
|
1325
|
-
|
1326
|
-
case 'TrustedScriptURL':
|
1327
|
-
value = trustedTypesPolicy.createScriptURL(value);
|
1328
|
-
break;
|
1329
|
-
}
|
1330
|
-
}
|
1331
|
-
}
|
1332
|
-
/* Handle invalid data-* attribute set by try-catching it */
|
1333
|
-
|
1334
|
-
|
1335
|
-
try {
|
1336
|
-
if (namespaceURI) {
|
1337
|
-
currentNode.setAttributeNS(namespaceURI, name, value);
|
1338
|
-
} else {
|
1339
|
-
/* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
|
1340
|
-
currentNode.setAttribute(name, value);
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
arrayPop(DOMPurify.removed);
|
1344
|
-
} catch (_) {}
|
1345
|
-
}
|
1346
|
-
/* Execute a hook if present */
|
1347
|
-
|
1348
|
-
|
1349
|
-
_executeHook('afterSanitizeAttributes', currentNode, null);
|
1350
|
-
};
|
1351
|
-
/**
|
1352
|
-
* _sanitizeShadowDOM
|
1353
|
-
*
|
1354
|
-
* @param {DocumentFragment} fragment to iterate over recursively
|
1355
|
-
*/
|
1356
|
-
|
1357
|
-
|
1358
|
-
var _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
|
1359
|
-
var shadowNode;
|
1360
|
-
|
1361
|
-
var shadowIterator = _createIterator(fragment);
|
1362
|
-
/* Execute a hook if present */
|
1363
|
-
|
1364
|
-
|
1365
|
-
_executeHook('beforeSanitizeShadowDOM', fragment, null);
|
1366
|
-
|
1367
|
-
while (shadowNode = shadowIterator.nextNode()) {
|
1368
|
-
/* Execute a hook if present */
|
1369
|
-
_executeHook('uponSanitizeShadowNode', shadowNode, null);
|
1370
|
-
/* Sanitize tags and elements */
|
1371
|
-
|
1372
|
-
|
1373
|
-
if (_sanitizeElements(shadowNode)) {
|
1374
|
-
continue;
|
1375
|
-
}
|
1376
|
-
/* Deep shadow DOM detected */
|
1377
|
-
|
1378
|
-
|
1379
|
-
if (shadowNode.content instanceof DocumentFragment) {
|
1380
|
-
_sanitizeShadowDOM(shadowNode.content);
|
1381
|
-
}
|
1382
|
-
/* Check attributes, sanitize if necessary */
|
1383
|
-
|
1384
|
-
|
1385
|
-
_sanitizeAttributes(shadowNode);
|
1386
|
-
}
|
1387
|
-
/* Execute a hook if present */
|
1388
|
-
|
1389
|
-
|
1390
|
-
_executeHook('afterSanitizeShadowDOM', fragment, null);
|
1391
|
-
};
|
1392
|
-
/**
|
1393
|
-
* Sanitize
|
1394
|
-
* Public method providing core sanitation functionality
|
1395
|
-
*
|
1396
|
-
* @param {String|Node} dirty string or DOM node
|
1397
|
-
* @param {Object} configuration object
|
1398
|
-
*/
|
1399
|
-
// eslint-disable-next-line complexity
|
1400
|
-
|
1401
|
-
|
1402
|
-
DOMPurify.sanitize = function (dirty) {
|
1403
|
-
var cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1404
|
-
var body;
|
1405
|
-
var importedNode;
|
1406
|
-
var currentNode;
|
1407
|
-
var oldNode;
|
1408
|
-
var returnNode;
|
1409
|
-
/* Make sure we have a string to sanitize.
|
1410
|
-
DO NOT return early, as this will return the wrong type if
|
1411
|
-
the user has requested a DOM object rather than a string */
|
1412
|
-
|
1413
|
-
IS_EMPTY_INPUT = !dirty;
|
1414
|
-
|
1415
|
-
if (IS_EMPTY_INPUT) {
|
1416
|
-
dirty = '<!-->';
|
1417
|
-
}
|
1418
|
-
/* Stringify, in case dirty is an object */
|
1419
|
-
|
1420
|
-
|
1421
|
-
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
1422
|
-
// eslint-disable-next-line no-negated-condition
|
1423
|
-
if (typeof dirty.toString !== 'function') {
|
1424
|
-
throw typeErrorCreate('toString is not a function');
|
1425
|
-
} else {
|
1426
|
-
dirty = dirty.toString();
|
1427
|
-
|
1428
|
-
if (typeof dirty !== 'string') {
|
1429
|
-
throw typeErrorCreate('dirty is not a string, aborting');
|
1430
|
-
}
|
1431
|
-
}
|
1432
|
-
}
|
1433
|
-
/* Check we can run. Otherwise fall back or ignore */
|
1434
|
-
|
1435
|
-
|
1436
|
-
if (!DOMPurify.isSupported) {
|
1437
|
-
if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {
|
1438
|
-
if (typeof dirty === 'string') {
|
1439
|
-
return window.toStaticHTML(dirty);
|
1440
|
-
}
|
1441
|
-
|
1442
|
-
if (_isNode(dirty)) {
|
1443
|
-
return window.toStaticHTML(dirty.outerHTML);
|
1444
|
-
}
|
1445
|
-
}
|
1446
|
-
|
1447
|
-
return dirty;
|
1448
|
-
}
|
1449
|
-
/* Assign config vars */
|
1450
|
-
|
1451
|
-
|
1452
|
-
if (!SET_CONFIG) {
|
1453
|
-
_parseConfig(cfg);
|
1454
|
-
}
|
1455
|
-
/* Clean up removed elements */
|
1456
|
-
|
1457
|
-
|
1458
|
-
DOMPurify.removed = [];
|
1459
|
-
/* Check if dirty is correctly typed for IN_PLACE */
|
1460
|
-
|
1461
|
-
if (typeof dirty === 'string') {
|
1462
|
-
IN_PLACE = false;
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
if (IN_PLACE) {
|
1466
|
-
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
1467
|
-
if (dirty.nodeName) {
|
1468
|
-
var tagName = transformCaseFunc(dirty.nodeName);
|
1469
|
-
|
1470
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1471
|
-
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
1472
|
-
}
|
1473
|
-
}
|
1474
|
-
} else if (dirty instanceof Node) {
|
1475
|
-
/* If dirty is a DOM element, append to an empty document to avoid
|
1476
|
-
elements being stripped by the parser */
|
1477
|
-
body = _initDocument('<!---->');
|
1478
|
-
importedNode = body.ownerDocument.importNode(dirty, true);
|
1479
|
-
|
1480
|
-
if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {
|
1481
|
-
/* Node is already a body, use as is */
|
1482
|
-
body = importedNode;
|
1483
|
-
} else if (importedNode.nodeName === 'HTML') {
|
1484
|
-
body = importedNode;
|
1485
|
-
} else {
|
1486
|
-
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
1487
|
-
body.appendChild(importedNode);
|
1488
|
-
}
|
1489
|
-
} else {
|
1490
|
-
/* Exit directly if we have nothing to do */
|
1491
|
-
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes
|
1492
|
-
dirty.indexOf('<') === -1) {
|
1493
|
-
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
1494
|
-
}
|
1495
|
-
/* Initialize the document to work on */
|
1496
|
-
|
1497
|
-
|
1498
|
-
body = _initDocument(dirty);
|
1499
|
-
/* Check we have a DOM node from the data */
|
1500
|
-
|
1501
|
-
if (!body) {
|
1502
|
-
return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
|
1503
|
-
}
|
1504
|
-
}
|
1505
|
-
/* Remove first element node (ours) if FORCE_BODY is set */
|
1506
|
-
|
1507
|
-
|
1508
|
-
if (body && FORCE_BODY) {
|
1509
|
-
_forceRemove(body.firstChild);
|
1510
|
-
}
|
1511
|
-
/* Get node iterator */
|
1512
|
-
|
1513
|
-
|
1514
|
-
var nodeIterator = _createIterator(IN_PLACE ? dirty : body);
|
1515
|
-
/* Now start iterating over the created document */
|
1516
|
-
|
1517
|
-
|
1518
|
-
while (currentNode = nodeIterator.nextNode()) {
|
1519
|
-
/* Fix IE's strange behavior with manipulated textNodes #89 */
|
1520
|
-
if (currentNode.nodeType === 3 && currentNode === oldNode) {
|
1521
|
-
continue;
|
1522
|
-
}
|
1523
|
-
/* Sanitize tags and elements */
|
1524
|
-
|
1525
|
-
|
1526
|
-
if (_sanitizeElements(currentNode)) {
|
1527
|
-
continue;
|
1528
|
-
}
|
1529
|
-
/* Shadow DOM detected, sanitize it */
|
1530
|
-
|
1531
|
-
|
1532
|
-
if (currentNode.content instanceof DocumentFragment) {
|
1533
|
-
_sanitizeShadowDOM(currentNode.content);
|
1534
|
-
}
|
1535
|
-
/* Check attributes, sanitize if necessary */
|
1536
|
-
|
1537
|
-
|
1538
|
-
_sanitizeAttributes(currentNode);
|
1539
|
-
|
1540
|
-
oldNode = currentNode;
|
1541
|
-
}
|
1542
|
-
|
1543
|
-
oldNode = null;
|
1544
|
-
/* If we sanitized `dirty` in-place, return it. */
|
1545
|
-
|
1546
|
-
if (IN_PLACE) {
|
1547
|
-
return dirty;
|
1548
|
-
}
|
1549
|
-
/* Return sanitized string or DOM */
|
1550
|
-
|
1551
|
-
|
1552
|
-
if (RETURN_DOM) {
|
1553
|
-
if (RETURN_DOM_FRAGMENT) {
|
1554
|
-
returnNode = createDocumentFragment.call(body.ownerDocument);
|
1555
|
-
|
1556
|
-
while (body.firstChild) {
|
1557
|
-
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
1558
|
-
returnNode.appendChild(body.firstChild);
|
1559
|
-
}
|
1560
|
-
} else {
|
1561
|
-
returnNode = body;
|
1562
|
-
}
|
1563
|
-
|
1564
|
-
if (ALLOWED_ATTR.shadowroot) {
|
1565
|
-
/*
|
1566
|
-
AdoptNode() is not used because internal state is not reset
|
1567
|
-
(e.g. the past names map of a HTMLFormElement), this is safe
|
1568
|
-
in theory but we would rather not risk another attack vector.
|
1569
|
-
The state that is cloned by importNode() is explicitly defined
|
1570
|
-
by the specs.
|
1571
|
-
*/
|
1572
|
-
returnNode = importNode.call(originalDocument, returnNode, true);
|
1573
|
-
}
|
1574
|
-
|
1575
|
-
return returnNode;
|
1576
|
-
}
|
1577
|
-
|
1578
|
-
var serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
1579
|
-
/* Serialize doctype if allowed */
|
1580
|
-
|
1581
|
-
if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
1582
|
-
serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
|
1583
|
-
}
|
1584
|
-
/* Sanitize final string template-safe */
|
1585
|
-
|
1586
|
-
|
1587
|
-
if (SAFE_FOR_TEMPLATES) {
|
1588
|
-
serializedHTML = stringReplace(serializedHTML, MUSTACHE_EXPR$1, ' ');
|
1589
|
-
serializedHTML = stringReplace(serializedHTML, ERB_EXPR$1, ' ');
|
1590
|
-
serializedHTML = stringReplace(serializedHTML, TMPLIT_EXPR$1, ' ');
|
1591
|
-
}
|
1592
|
-
|
1593
|
-
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
1594
|
-
};
|
1595
|
-
/**
|
1596
|
-
* Public method to set the configuration once
|
1597
|
-
* setConfig
|
1598
|
-
*
|
1599
|
-
* @param {Object} cfg configuration object
|
1600
|
-
*/
|
1601
|
-
|
1602
|
-
|
1603
|
-
DOMPurify.setConfig = function (cfg) {
|
1604
|
-
_parseConfig(cfg);
|
1605
|
-
|
1606
|
-
SET_CONFIG = true;
|
1607
|
-
};
|
1608
|
-
/**
|
1609
|
-
* Public method to remove the configuration
|
1610
|
-
* clearConfig
|
1611
|
-
*
|
1612
|
-
*/
|
1613
|
-
|
1614
|
-
|
1615
|
-
DOMPurify.clearConfig = function () {
|
1616
|
-
CONFIG = null;
|
1617
|
-
SET_CONFIG = false;
|
1618
|
-
};
|
1619
|
-
/**
|
1620
|
-
* Public method to check if an attribute value is valid.
|
1621
|
-
* Uses last set config, if any. Otherwise, uses config defaults.
|
1622
|
-
* isValidAttribute
|
1623
|
-
*
|
1624
|
-
* @param {string} tag Tag name of containing element.
|
1625
|
-
* @param {string} attr Attribute name.
|
1626
|
-
* @param {string} value Attribute value.
|
1627
|
-
* @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.
|
1628
|
-
*/
|
1629
|
-
|
1630
|
-
|
1631
|
-
DOMPurify.isValidAttribute = function (tag, attr, value) {
|
1632
|
-
/* Initialize shared config vars if necessary. */
|
1633
|
-
if (!CONFIG) {
|
1634
|
-
_parseConfig({});
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
var lcTag = transformCaseFunc(tag);
|
1638
|
-
var lcName = transformCaseFunc(attr);
|
1639
|
-
return _isValidAttribute(lcTag, lcName, value);
|
1640
|
-
};
|
1641
|
-
/**
|
1642
|
-
* AddHook
|
1643
|
-
* Public method to add DOMPurify hooks
|
1644
|
-
*
|
1645
|
-
* @param {String} entryPoint entry point for the hook to add
|
1646
|
-
* @param {Function} hookFunction function to execute
|
1647
|
-
*/
|
1648
|
-
|
1649
|
-
|
1650
|
-
DOMPurify.addHook = function (entryPoint, hookFunction) {
|
1651
|
-
if (typeof hookFunction !== 'function') {
|
1652
|
-
return;
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
hooks[entryPoint] = hooks[entryPoint] || [];
|
1656
|
-
arrayPush(hooks[entryPoint], hookFunction);
|
1657
|
-
};
|
1658
|
-
/**
|
1659
|
-
* RemoveHook
|
1660
|
-
* Public method to remove a DOMPurify hook at a given entryPoint
|
1661
|
-
* (pops it from the stack of hooks if more are present)
|
1662
|
-
*
|
1663
|
-
* @param {String} entryPoint entry point for the hook to remove
|
1664
|
-
* @return {Function} removed(popped) hook
|
1665
|
-
*/
|
1666
|
-
|
1667
|
-
|
1668
|
-
DOMPurify.removeHook = function (entryPoint) {
|
1669
|
-
if (hooks[entryPoint]) {
|
1670
|
-
return arrayPop(hooks[entryPoint]);
|
1671
|
-
}
|
1672
|
-
};
|
1673
|
-
/**
|
1674
|
-
* RemoveHooks
|
1675
|
-
* Public method to remove all DOMPurify hooks at a given entryPoint
|
1676
|
-
*
|
1677
|
-
* @param {String} entryPoint entry point for the hooks to remove
|
1678
|
-
*/
|
1679
|
-
|
1680
|
-
|
1681
|
-
DOMPurify.removeHooks = function (entryPoint) {
|
1682
|
-
if (hooks[entryPoint]) {
|
1683
|
-
hooks[entryPoint] = [];
|
1684
|
-
}
|
1685
|
-
};
|
1686
|
-
/**
|
1687
|
-
* RemoveAllHooks
|
1688
|
-
* Public method to remove all DOMPurify hooks
|
1689
|
-
*
|
1690
|
-
*/
|
1691
|
-
|
1692
|
-
|
1693
|
-
DOMPurify.removeAllHooks = function () {
|
1694
|
-
hooks = {};
|
1695
|
-
};
|
1696
|
-
|
1697
|
-
return DOMPurify;
|
1698
|
-
}
|
1699
|
-
|
1700
|
-
var purify = createDOMPurify();
|
1701
|
-
|
1702
|
-
return purify;
|
1703
|
-
|
1704
|
-
}));
|
1705
|
-
|
1706
|
-
}(purify$2));
|
1707
|
-
|
1708
|
-
const purify = purify$2.exports;
|
1709
|
-
|
1710
|
-
const purify$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), purify$2.exports, {
|
1711
|
-
'default': purify
|
1712
|
-
}));
|
1713
|
-
|
1714
|
-
export { purify$1 as p };
|