@esri/solutions-components 0.10.18 → 0.10.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
- package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
- package/dist/cjs/Heading-63b5c82c.js +25 -0
- package/dist/cjs/Validation-9bab9a69.js +20 -0
- package/dist/cjs/app-globals-d2085e28.js +67 -0
- package/dist/cjs/ar-ce94723b.js +106 -0
- package/dist/cjs/array-708fd433.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
- package/dist/cjs/bg-8ab5661c.js +84 -0
- package/dist/cjs/browser-2893460e.js +35 -0
- package/dist/cjs/bs-f15b7a3d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-321e7e4f.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
- package/dist/cjs/common-eee0c33f.js +38 -0
- package/dist/cjs/component-7f2bd646.js +33 -0
- package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
- package/dist/cjs/config-7c16c710.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
- package/dist/cjs/cs-66742e3a.js +149 -0
- package/dist/cjs/da-933e7031.js +69 -0
- package/dist/cjs/date-e01a99aa.js +264 -0
- package/dist/cjs/de-87706bda.js +93 -0
- package/dist/cjs/de-at-752f7be1.js +92 -0
- package/dist/cjs/de-ch-41dc3fef.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-3d3a8f25.js +1215 -0
- package/dist/cjs/downloadUtils-5864e6b2.js +3164 -0
- package/dist/cjs/el-23b7e02b.js +68 -0
- package/dist/cjs/en-au-4f9fe083.js +68 -0
- package/dist/cjs/en-ca-afba9508.js +67 -0
- package/dist/cjs/en-gb-78a49c6a.js +71 -0
- package/dist/cjs/es-ea5faae0.js +68 -0
- package/dist/cjs/es-mx-47a5667a.js +67 -0
- package/dist/cjs/et-72505ea1.js +94 -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 +25 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-7b4ac88c.js +117 -0
- package/dist/cjs/filter-a9429bde.js +778 -0
- package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
- package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
- package/dist/cjs/form-8132060d.js +381 -0
- package/dist/cjs/fr-8077e2e8.js +70 -0
- package/dist/cjs/fr-ch-04f427a0.js +68 -0
- package/dist/cjs/guid-42cda8c9.js +26 -0
- package/dist/cjs/he-93b37a58.js +107 -0
- package/dist/cjs/hi-cb320ba3.js +67 -0
- package/dist/cjs/hr-15e455d9.js +82 -0
- package/dist/cjs/hu-10c42dd5.js +90 -0
- package/dist/cjs/id-813844ef.js +68 -0
- package/dist/cjs/index.es-c82ac9f0.js +11318 -0
- package/dist/cjs/input-3efc5a5e.js +60 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-3b85d8df.js +167 -0
- package/dist/cjs/it-090375c5.js +68 -0
- package/dist/cjs/it-ch-6cc91215.js +68 -0
- package/dist/cjs/ja-e6697420.js +74 -0
- package/dist/cjs/key-82084ef6.js +19 -0
- package/dist/cjs/ko-522250be.js +74 -0
- package/dist/cjs/label-e7d3c371.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-0e357195.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-351282c5.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-309df5d9.js +61 -0
- package/dist/cjs/lt-c2f9fd21.js +99 -0
- package/dist/cjs/lv-a1930986.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
- package/dist/cjs/math-14740338.js +60 -0
- package/dist/cjs/mk-deb11706.js +68 -0
- package/dist/cjs/nb-3859b631.js +69 -0
- package/dist/cjs/nl-6c2c838d.js +69 -0
- package/dist/cjs/observers-5f9f67ee.js +58 -0
- package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-fcb7899e.js +116 -0
- package/dist/cjs/popupUtils-f92ecd7f.js +121 -0
- package/dist/cjs/pt-416d2cf8.js +69 -0
- package/dist/cjs/pt-br-bae3d576.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/purify-0805e9f8.js +1562 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-4446499e.js +39 -0
- package/dist/cjs/resources-4c3e1c50.js +68 -0
- package/dist/cjs/resources-6f65a67f.js +29 -0
- package/dist/cjs/resources-87ed79dd.js +23 -0
- package/dist/cjs/resources-9b04cd8c.js +23 -0
- package/dist/cjs/resources-a1ca0958.js +27 -0
- package/dist/cjs/resources-c5f09989.js +68 -0
- package/dist/cjs/resources-dbc687b5.js +26 -0
- package/dist/cjs/resources-f11e9bd6.js +39 -0
- package/dist/cjs/resources-f8785f51.js +21 -0
- package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
- package/dist/cjs/ro-bda94f37.js +68 -0
- package/dist/cjs/ru-7258ce51.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
- package/dist/cjs/sk-3a398547.js +150 -0
- package/dist/cjs/sl-bfb5a728.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
- package/dist/cjs/solution-resource-40e70253.js +145 -0
- package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-8684e273.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
- package/dist/cjs/sr-58554054.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +5 -4
- package/dist/cjs/sv-335a4402.js +73 -0
- package/dist/cjs/t9n-e41672d2.js +108 -0
- package/dist/cjs/templates-0b7f886f.js +408 -0
- package/dist/cjs/th-14ebad2e.js +67 -0
- package/dist/cjs/time-9a5e2f2d.js +301 -0
- package/dist/cjs/tr-36bcc20f.js +68 -0
- package/dist/cjs/uk-dcff92bd.js +106 -0
- package/dist/cjs/utils-29c97686.js +2304 -0
- package/dist/cjs/utils-edb4e372.js +78 -0
- package/dist/cjs/vi-284fec96.js +72 -0
- package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
- package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
- package/dist/cjs/zh-tw-e0b3117d.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
- package/dist/collection/components/create-feature/create-feature.css +6 -1
- package/dist/collection/components/create-feature/create-feature.js +50 -3
- package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +0 -8
- package/dist/collection/components/feature-details/feature-details.js +58 -10
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +29 -10
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-reporter.html +24 -25
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/basemap-gallery2.js +10 -1
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +11 -4
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/common.js +1 -0
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +47 -5
- package/dist/components/create-related-feature2.js +32 -5
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +73 -33
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +27 -26
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +31 -11
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +20 -8
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +2117 -162
- package/dist/components/index3.js +162 -2117
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +10 -10
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +2 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +275 -429
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +16 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +27 -26
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +2 -1
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +2 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/templates.js +1 -0
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-b5147279.js +108 -0
- package/dist/esm/FloatingArrow-9a505e89.js +46 -0
- package/dist/esm/Heading-cae0b34c.js +22 -0
- package/dist/esm/Validation-bd0a53ec.js +18 -0
- package/dist/esm/app-globals-530c75ff.js +65 -0
- package/dist/esm/ar-e0e64e78.js +104 -0
- package/dist/esm/array-ddb2593b.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +15 -7
- package/dist/esm/bg-d2d8dbe0.js +82 -0
- package/dist/esm/browser-a791205e.js +32 -0
- package/dist/esm/bs-d883901d.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-064729ad.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +15 -15
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_5.entry.js +55 -27
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +27 -27
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +50 -18
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +23 -17
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +19 -19
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +8 -7
- package/dist/esm/common-c3bbba83.js +36 -0
- package/dist/esm/component-d35983a4.js +30 -0
- package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
- package/dist/esm/config-8d1c3431.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +71 -32
- package/dist/esm/cs-3751e560.js +147 -0
- package/dist/esm/da-227f8ad5.js +67 -0
- package/dist/esm/date-87a67cb4.js +248 -0
- package/dist/esm/de-a5d2b25b.js +91 -0
- package/dist/esm/de-at-66232b80.js +90 -0
- package/dist/esm/de-ch-1264ed4c.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-63d2d41c.js +1180 -0
- package/dist/esm/downloadUtils-a065e9cd.js +3157 -0
- package/dist/esm/el-f5bf7ca3.js +66 -0
- package/dist/esm/en-au-2ac8f62e.js +66 -0
- package/dist/esm/en-ca-a1602b49.js +65 -0
- package/dist/esm/en-gb-28354b2e.js +69 -0
- package/dist/esm/es-feb7aad2.js +66 -0
- package/dist/esm/es-mx-5d64f899.js +65 -0
- package/dist/esm/et-173d2f49.js +92 -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 +25 -12
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-ff9bb719.js +115 -0
- package/dist/esm/filter-6ee02739.js +775 -0
- package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
- package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
- package/dist/esm/form-08e1bcb7.js +372 -0
- package/dist/esm/fr-ch-491f1abe.js +66 -0
- package/dist/esm/fr-e3af6835.js +68 -0
- package/dist/esm/guid-42656051.js +24 -0
- package/dist/esm/he-47aa8dde.js +105 -0
- package/dist/esm/hi-1700df3e.js +65 -0
- package/dist/esm/hr-68b828f5.js +80 -0
- package/dist/esm/hu-df6a8f29.js +88 -0
- package/dist/esm/id-8091582d.js +66 -0
- package/dist/esm/index.es-4b7e52e4.js +11231 -0
- package/dist/esm/input-7f3fc18b.js +58 -0
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-b2a41b8b.js +162 -0
- package/dist/esm/it-1f5e149d.js +66 -0
- package/dist/esm/it-ch-bf7fcac6.js +66 -0
- package/dist/esm/ja-a5117166.js +72 -0
- package/dist/esm/key-d6dfb50e.js +16 -0
- package/dist/esm/ko-9d7a9e79.js +72 -0
- package/dist/esm/label-4c4e06d6.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-1a9b14b8.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-4441c976.js +591 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-3188b9c3.js +59 -0
- package/dist/esm/lt-2e1c53de.js +97 -0
- package/dist/esm/lv-ca1ba866.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -6
- package/dist/esm/math-9afe1f6d.js +54 -0
- package/dist/esm/mk-421d0d41.js +66 -0
- package/dist/esm/nb-5b103e32.js +67 -0
- package/dist/esm/nl-eac33461.js +67 -0
- package/dist/esm/observers-6cac5525.js +56 -0
- package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-03531ccb.js +114 -0
- package/dist/esm/popupUtils-07732cb9.js +119 -0
- package/dist/esm/pt-b5d8bffc.js +67 -0
- package/dist/esm/pt-br-dee45728.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/purify-cb56797a.js +1560 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-119ae117.js +23 -0
- package/dist/esm/resources-244d70ca.js +22 -0
- package/dist/esm/resources-3f56d4e7.js +19 -0
- package/dist/esm/resources-57625076.js +63 -0
- package/dist/esm/resources-5b213c89.js +35 -0
- package/dist/esm/resources-61eab899.js +20 -0
- package/dist/esm/resources-745dec87.js +34 -0
- package/dist/esm/resources-9494c015.js +21 -0
- package/dist/esm/resources-d6566b8a.js +62 -0
- package/dist/esm/resources-d7e0fbbf.js +24 -0
- package/dist/esm/restHelpersGet-48113381.js +976 -0
- package/dist/esm/ro-df6cb584.js +66 -0
- package/dist/esm/ru-e7c02faa.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-cadae2eb.js +339 -0
- package/dist/esm/sk-cae387d2.js +148 -0
- package/dist/esm/sl-2892ad87.js +168 -0
- package/dist/esm/solution-configuration.entry.js +31 -30
- package/dist/esm/solution-contents_3.entry.js +8 -7
- package/dist/esm/solution-resource-f5809979.js +142 -0
- package/dist/esm/solution-store-ca4d55de.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -3
- package/dist/esm/sr-11e6839f.js +101 -0
- package/dist/esm/store-manager.entry.js +5 -4
- package/dist/esm/sv-fd5c6ca5.js +71 -0
- package/dist/esm/t9n-b7ea1a61.js +103 -0
- package/dist/esm/templates-0b442208.js +402 -0
- package/dist/esm/th-170cf6b1.js +65 -0
- package/dist/esm/time-a7f1020b.js +286 -0
- package/dist/esm/tr-1d6ca382.js +66 -0
- package/dist/esm/uk-35eec84e.js +104 -0
- package/dist/esm/utils-62514064.js +65 -0
- package/dist/esm/utils-d2524a35.js +2274 -0
- package/dist/esm/vi-2713ee26.js +70 -0
- package/dist/esm/zh-cn-ed066014.js +94 -0
- package/dist/esm/zh-hk-a118dced.js +92 -0
- package/dist/esm/zh-tw-c9bbf220.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
- package/dist/solutions-components/p-01588d2c.js +61 -0
- package/dist/solutions-components/p-01bdd59d.entry.js +6 -0
- package/dist/solutions-components/p-01dae909.js +6 -0
- package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
- package/dist/solutions-components/p-040b6e44.entry.js +6 -0
- package/dist/solutions-components/p-04294b8e.js +6 -0
- package/dist/solutions-components/p-062e5705.entry.js +6 -0
- package/dist/solutions-components/p-062f4457.js +6 -0
- package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
- package/dist/solutions-components/p-08d1cc1f.js +11 -0
- package/dist/solutions-components/p-0a165419.js +18 -0
- package/dist/solutions-components/p-0b6e5486.js +6 -0
- package/dist/solutions-components/p-0d6b3f44.js +6 -0
- package/dist/solutions-components/p-0dc73313.js +6 -0
- package/dist/solutions-components/p-0e851a4b.js +6 -0
- package/dist/solutions-components/p-0ef9d36b.js +11 -0
- package/dist/solutions-components/p-1017609e.js +11 -0
- package/dist/solutions-components/p-14f027b5.js +11 -0
- package/dist/solutions-components/p-150394be.js +11 -0
- package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
- package/dist/solutions-components/p-16b24981.entry.js +11 -0
- package/dist/solutions-components/p-19b466d0.js +6 -0
- package/dist/solutions-components/p-1a06bf01.js +6 -0
- package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
- package/dist/solutions-components/p-1b229454.js +11 -0
- package/dist/solutions-components/p-1c249530.js +11 -0
- package/dist/solutions-components/p-1ce2608d.js +12 -0
- package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
- package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
- package/dist/solutions-components/p-222e0445.entry.js +11 -0
- package/dist/solutions-components/p-2230d4cc.js +11 -0
- package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
- package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
- package/dist/solutions-components/p-23dd68de.entry.js +17 -0
- package/dist/solutions-components/p-245c35ce.js +6 -0
- package/dist/solutions-components/p-24a813a4.entry.js +6 -0
- package/dist/solutions-components/p-25b5ffea.js +6 -0
- package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
- package/dist/solutions-components/p-270ead49.js +16 -0
- package/dist/solutions-components/p-27d462c0.js +11 -0
- package/dist/solutions-components/p-2868a42b.js +11 -0
- package/dist/solutions-components/p-29a09798.js +17 -0
- package/dist/solutions-components/p-2a53ba0d.js +489 -0
- package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
- package/dist/solutions-components/p-2d17790c.js +6 -0
- package/dist/solutions-components/p-2e06ec97.js +6 -0
- package/dist/solutions-components/p-304cef31.js +16 -0
- package/dist/solutions-components/p-33db098c.js +6 -0
- package/dist/solutions-components/p-347d9ce0.js +6 -0
- package/dist/solutions-components/p-36e59391.js +143 -0
- package/dist/solutions-components/p-3792492a.js +11 -0
- package/dist/solutions-components/p-38a87c63.js +11 -0
- package/dist/solutions-components/p-39ca5896.entry.js +6 -0
- package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
- package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
- package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
- package/dist/solutions-components/p-3e828614.js +11 -0
- package/dist/solutions-components/p-40175313.entry.js +11 -0
- package/dist/solutions-components/p-40f5df15.entry.js +11 -0
- package/dist/solutions-components/p-42cd083f.entry.js +20 -0
- package/dist/solutions-components/p-47a0be20.js +11 -0
- package/dist/solutions-components/p-4920ee12.js +11 -0
- package/dist/solutions-components/p-49bbe45e.js +6 -0
- package/dist/solutions-components/p-4b9b7778.js +11 -0
- package/dist/solutions-components/p-4c179300.entry.js +11 -0
- package/dist/solutions-components/p-4e7aa926.js +6 -0
- package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
- package/dist/solutions-components/p-508b2b7b.js +6 -0
- package/dist/solutions-components/p-52f19286.entry.js +11 -0
- package/dist/solutions-components/p-53b5a39e.js +6 -0
- package/dist/solutions-components/p-5440c8dd.js +6 -0
- package/dist/solutions-components/p-54a9017c.entry.js +11 -0
- package/dist/solutions-components/p-54b7e680.js +6 -0
- package/dist/solutions-components/p-550da58b.js +6 -0
- package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
- package/dist/solutions-components/p-57025491.entry.js +6 -0
- package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
- package/dist/solutions-components/p-5de67b86.js +11 -0
- package/dist/solutions-components/p-5e71e72a.js +21 -0
- package/dist/solutions-components/p-5f705984.js +6 -0
- package/dist/solutions-components/p-5f7c1e49.js +6 -0
- package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
- package/dist/solutions-components/p-6319ca20.js +6 -0
- package/dist/solutions-components/p-64a34d92.js +11 -0
- package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
- package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
- package/dist/solutions-components/p-66b01781.js +11 -0
- package/dist/solutions-components/p-67c34d05.entry.js +16 -0
- package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
- package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
- package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
- package/dist/solutions-components/p-712873f0.js +6 -0
- package/dist/solutions-components/p-732bb88c.entry.js +6 -0
- package/dist/solutions-components/p-744d9575.js +11 -0
- package/dist/solutions-components/p-7586e1de.entry.js +6 -0
- package/dist/solutions-components/p-770a0e12.js +6 -0
- package/dist/solutions-components/p-793f1b14.entry.js +11 -0
- package/dist/solutions-components/p-798b9928.entry.js +11 -0
- package/dist/solutions-components/p-79f5a8be.js +11 -0
- package/dist/solutions-components/p-79f78acc.entry.js +11 -0
- package/dist/solutions-components/p-7ae41cd8.js +6 -0
- package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
- package/dist/solutions-components/p-7c854814.js +11 -0
- package/dist/solutions-components/p-7fce703f.entry.js +12 -0
- package/dist/solutions-components/p-80f49acc.js +6 -0
- package/dist/solutions-components/p-8537518d.entry.js +11 -0
- package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
- package/dist/solutions-components/p-87f928a5.entry.js +17 -0
- package/dist/solutions-components/p-8bb2c169.js +11 -0
- package/dist/solutions-components/p-8bce991a.js +11 -0
- package/dist/solutions-components/p-8bfa18b7.js +11 -0
- package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
- package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
- package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
- package/dist/solutions-components/p-919e9de7.entry.js +11 -0
- package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
- package/dist/solutions-components/p-924ec704.js +6 -0
- package/dist/solutions-components/p-9277a339.entry.js +22 -0
- package/dist/solutions-components/p-92ba99ff.js +6 -0
- package/dist/solutions-components/p-936037e4.js +6 -0
- package/dist/solutions-components/p-9384cc65.entry.js +11 -0
- package/dist/solutions-components/p-94ae78d6.js +6 -0
- package/dist/solutions-components/p-9524e5e4.js +6 -0
- package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
- package/dist/solutions-components/p-95c3b305.entry.js +12 -0
- package/dist/solutions-components/p-986ff43b.entry.js +17 -0
- package/dist/solutions-components/p-990d8b4b.js +6 -0
- package/dist/solutions-components/p-996daf05.entry.js +6 -0
- package/dist/solutions-components/p-9bb44f57.js +65 -0
- package/dist/solutions-components/p-9bc84681.js +6 -0
- package/dist/solutions-components/p-9c5f4347.js +6 -0
- package/dist/solutions-components/p-9db30b19.entry.js +6 -0
- package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
- package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
- package/dist/solutions-components/p-a471ceb6.js +11 -0
- package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
- package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
- package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
- package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
- package/dist/solutions-components/p-aa341d46.entry.js +11 -0
- package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
- package/dist/solutions-components/p-aa85b136.entry.js +6 -0
- package/dist/solutions-components/p-aaa56cbf.js +11 -0
- package/dist/solutions-components/p-abd1cb78.js +21 -0
- package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
- package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
- package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
- package/dist/solutions-components/p-b5575639.js +11 -0
- package/dist/solutions-components/p-b5b66530.js +11 -0
- package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
- package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
- package/dist/solutions-components/p-b8b78283.entry.js +29 -0
- package/dist/solutions-components/p-b8ce880d.js +6 -0
- package/dist/solutions-components/p-b8f33145.js +6 -0
- package/dist/solutions-components/p-bae65813.entry.js +6 -0
- package/dist/solutions-components/p-bb0f549a.js +6 -0
- package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
- package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
- package/dist/solutions-components/p-c151da98.entry.js +11 -0
- package/dist/solutions-components/p-c163b67f.js +6 -0
- package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
- package/dist/solutions-components/p-c25e8c35.js +17 -0
- package/dist/solutions-components/p-c40b0ec5.js +16 -0
- package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
- package/dist/solutions-components/p-c5facecd.entry.js +6 -0
- package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
- package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
- package/dist/solutions-components/p-ca6055a3.js +6 -0
- package/dist/solutions-components/p-cadbe907.entry.js +11 -0
- package/dist/solutions-components/p-cb07016a.entry.js +11 -0
- package/dist/solutions-components/p-cd6eee11.js +6 -0
- package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
- package/dist/solutions-components/p-d0d020a5.js +37 -0
- package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
- package/dist/solutions-components/p-d36878db.js +11 -0
- package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
- package/dist/solutions-components/p-d75ef009.entry.js +11 -0
- package/dist/solutions-components/p-d784f756.entry.js +23 -0
- package/dist/solutions-components/p-d9e930c8.js +11 -0
- package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
- package/dist/solutions-components/p-dcef5e1a.entry.js +6 -0
- package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
- package/dist/solutions-components/p-de8121a4.js +6 -0
- package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
- package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
- package/dist/solutions-components/p-e378184f.entry.js +6 -0
- package/dist/solutions-components/p-e3fe81ae.js +7 -0
- package/dist/solutions-components/p-e4ef6f49.js +6 -0
- package/dist/solutions-components/p-e74bc7b3.js +6 -0
- package/dist/solutions-components/p-e9d3365f.js +22 -0
- package/dist/solutions-components/p-eb2859d6.js +6 -0
- package/dist/solutions-components/p-ec8f8ff9.entry.js +17 -0
- package/dist/solutions-components/p-ee9b7fab.js +6 -0
- package/dist/solutions-components/p-ef67c743.js +11 -0
- package/dist/solutions-components/p-f222a84e.entry.js +6 -0
- package/dist/solutions-components/p-f3166d51.entry.js +6 -0
- package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
- package/dist/solutions-components/p-f6c3501c.js +16 -0
- package/dist/solutions-components/p-f6f2018a.js +11 -0
- package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
- package/dist/solutions-components/p-f88c3477.entry.js +6 -0
- package/dist/solutions-components/p-f8d23498.js +11 -0
- package/dist/solutions-components/p-fa56b7c2.js +11 -0
- package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
- package/dist/solutions-components/p-fb3e0eae.js +6 -0
- package/dist/solutions-components/p-fcd33b4f.js +6 -0
- package/dist/solutions-components/p-fedbf657.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
- package/dist/types/components/create-feature/create-feature.d.ts +20 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
- package/dist/types/components/feature-details/feature-details.d.ts +8 -0
- package/dist/types/components/feature-list/feature-list.d.ts +3 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/dist/types/components.d.ts +28 -1
- package/dist/types/preact.d.ts +3 -1
- package/package.json +8 -7
- package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
- package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
- package/dist/cjs/Heading-f01dc40c.js +0 -25
- package/dist/cjs/Validation-c52e0b30.js +0 -20
- package/dist/cjs/app-globals-587d5fc5.js +0 -67
- package/dist/cjs/ar-406e323c.js +0 -106
- package/dist/cjs/array-7ee883b3.js +0 -17
- package/dist/cjs/bg-56abe1a2.js +0 -84
- package/dist/cjs/browser-e9eb8b2e.js +0 -35
- package/dist/cjs/bs-43ed4dcb.js +0 -53
- package/dist/cjs/ca-ad58f302.js +0 -73
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
- package/dist/cjs/common-4d4cf291.js +0 -37
- package/dist/cjs/component-ab59efe0.js +0 -33
- package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
- package/dist/cjs/config-90915d7e.js +0 -40
- package/dist/cjs/cs-eef992e9.js +0 -149
- package/dist/cjs/da-4957191f.js +0 -69
- package/dist/cjs/date-09eabd7c.js +0 -264
- package/dist/cjs/de-64947d33.js +0 -93
- package/dist/cjs/de-at-976bd625.js +0 -92
- package/dist/cjs/de-ch-9c2f85be.js +0 -92
- package/dist/cjs/dom-5fd0c11a.js +0 -1215
- package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
- package/dist/cjs/el-17064e96.js +0 -68
- package/dist/cjs/en-au-bf34aa99.js +0 -68
- package/dist/cjs/en-ca-20b7aeab.js +0 -67
- package/dist/cjs/en-gb-72ebc333.js +0 -71
- package/dist/cjs/es-996df974.js +0 -68
- package/dist/cjs/es-mx-cf34d408.js +0 -67
- package/dist/cjs/et-fe1aba97.js +0 -94
- package/dist/cjs/fi-154d8730.js +0 -117
- package/dist/cjs/filter-1906ce7b.js +0 -778
- package/dist/cjs/floating-ui-b477f602.js +0 -2373
- package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
- package/dist/cjs/form-fba99326.js +0 -381
- package/dist/cjs/fr-21a56733.js +0 -70
- package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
- package/dist/cjs/guid-81a8c49f.js +0 -26
- package/dist/cjs/he-249d58b9.js +0 -107
- package/dist/cjs/hi-7015dbc4.js +0 -67
- package/dist/cjs/hr-e57553fd.js +0 -82
- package/dist/cjs/hu-e0a32fbd.js +0 -90
- package/dist/cjs/id-6eeb6f33.js +0 -68
- package/dist/cjs/index.es-5ad1b7be.js +0 -11317
- package/dist/cjs/input-cb7565cc.js +0 -60
- package/dist/cjs/interactive-d349d0f0.js +0 -167
- package/dist/cjs/it-21b9179c.js +0 -68
- package/dist/cjs/it-ch-ed862b1c.js +0 -68
- package/dist/cjs/ja-a5d93dac.js +0 -74
- package/dist/cjs/key-a0f7c4f3.js +0 -19
- package/dist/cjs/ko-1913cf25.js +0 -74
- package/dist/cjs/label-dc906a73.js +0 -186
- package/dist/cjs/loadable-d9a2a731.js +0 -98
- package/dist/cjs/locale-4d172288.js +0 -605
- package/dist/cjs/logger-dc99f85b.js +0 -61
- package/dist/cjs/lt-aeec2286.js +0 -99
- package/dist/cjs/lv-9055202a.js +0 -68
- package/dist/cjs/math-8d9588b6.js +0 -60
- package/dist/cjs/mk-98948b48.js +0 -68
- package/dist/cjs/nb-d88ea8dc.js +0 -69
- package/dist/cjs/nl-a8df29cd.js +0 -69
- package/dist/cjs/observers-b83abbfc.js +0 -58
- package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
- package/dist/cjs/pl-0c9cc2cf.js +0 -116
- package/dist/cjs/popupUtils-948e8990.js +0 -121
- package/dist/cjs/pt-5d70043e.js +0 -69
- package/dist/cjs/pt-br-fed6323a.js +0 -67
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-03698411.js +0 -39
- package/dist/cjs/resources-085b5a9c.js +0 -23
- package/dist/cjs/resources-08ceff44.js +0 -21
- package/dist/cjs/resources-32b7c652.js +0 -23
- package/dist/cjs/resources-3e7e7fb7.js +0 -26
- package/dist/cjs/resources-44438f5c.js +0 -68
- package/dist/cjs/resources-b4193681.js +0 -27
- package/dist/cjs/resources-bcc3f2b2.js +0 -68
- package/dist/cjs/resources-e3a7e2f5.js +0 -29
- package/dist/cjs/resources-e5bab826.js +0 -39
- package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
- package/dist/cjs/ro-021065c9.js +0 -68
- package/dist/cjs/ru-9ec3c8de.js +0 -128
- package/dist/cjs/shared-list-render-79567fc0.js +0 -361
- package/dist/cjs/sk-09cbe5ba.js +0 -150
- package/dist/cjs/sl-3a4381a4.js +0 -170
- package/dist/cjs/solution-resource-16c7510c.js +0 -1843
- package/dist/cjs/solution-store-1218246d.js +0 -1353
- package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
- package/dist/cjs/sr-c18bc63a.js +0 -103
- package/dist/cjs/sv-e721be29.js +0 -73
- package/dist/cjs/t9n-c8d7a2ec.js +0 -108
- package/dist/cjs/templates-2f44c01b.js +0 -407
- package/dist/cjs/th-baa740bc.js +0 -67
- package/dist/cjs/time-087f0346.js +0 -301
- package/dist/cjs/tr-c0b17a53.js +0 -68
- package/dist/cjs/uk-68a75a5a.js +0 -106
- package/dist/cjs/utils-8f400dfd.js +0 -78
- package/dist/cjs/utils-9a063f23.js +0 -2304
- package/dist/cjs/vi-bf3bf360.js +0 -72
- package/dist/cjs/zh-cn-f36908e8.js +0 -96
- package/dist/cjs/zh-hk-79863fdd.js +0 -94
- package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
- package/dist/esm/ExpandToggle-f909e195.js +0 -108
- package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
- package/dist/esm/Heading-19e46a14.js +0 -22
- package/dist/esm/Validation-0b8675a8.js +0 -18
- package/dist/esm/app-globals-0fc0d343.js +0 -65
- package/dist/esm/ar-2b7701c9.js +0 -104
- package/dist/esm/array-0d5d845c.js +0 -15
- package/dist/esm/bg-cfd918d6.js +0 -82
- package/dist/esm/browser-d0009bfe.js +0 -32
- package/dist/esm/bs-6e26541f.js +0 -51
- package/dist/esm/ca-3edf7b06.js +0 -71
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
- package/dist/esm/common-3b99e350.js +0 -35
- package/dist/esm/component-0f26d27a.js +0 -30
- package/dist/esm/conditionalSlot-56fa9723.js +0 -51
- package/dist/esm/config-e0237f7c.js +0 -36
- package/dist/esm/cs-93a3355b.js +0 -147
- package/dist/esm/da-f4d05bf2.js +0 -67
- package/dist/esm/date-dd3d9d2f.js +0 -248
- package/dist/esm/de-04f477b6.js +0 -91
- package/dist/esm/de-at-1b4e56b9.js +0 -90
- package/dist/esm/de-ch-59c96703.js +0 -90
- package/dist/esm/dom-9e8610a2.js +0 -1180
- package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
- package/dist/esm/el-134dd039.js +0 -66
- package/dist/esm/en-au-ec33ef70.js +0 -66
- package/dist/esm/en-ca-ab1fbea4.js +0 -65
- package/dist/esm/en-gb-ceb65f79.js +0 -69
- package/dist/esm/es-e023cfc8.js +0 -66
- package/dist/esm/es-mx-e0a5ee8c.js +0 -65
- package/dist/esm/et-572b1e56.js +0 -92
- package/dist/esm/fi-f13fae4c.js +0 -115
- package/dist/esm/filter-3c649b00.js +0 -775
- package/dist/esm/floating-ui-9d9558a6.js +0 -2365
- package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
- package/dist/esm/form-a992bc7e.js +0 -372
- package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
- package/dist/esm/fr-e9b456c3.js +0 -68
- package/dist/esm/guid-52aae62c.js +0 -24
- package/dist/esm/he-dfaa7ea1.js +0 -105
- package/dist/esm/hi-efa0d8e7.js +0 -65
- package/dist/esm/hr-7c04c969.js +0 -80
- package/dist/esm/hu-fc6efaba.js +0 -88
- package/dist/esm/id-2d884294.js +0 -66
- package/dist/esm/index.es-6d52a4cf.js +0 -11230
- package/dist/esm/input-b18c3393.js +0 -58
- package/dist/esm/interactive-353bf495.js +0 -162
- package/dist/esm/it-913dabbb.js +0 -66
- package/dist/esm/it-ch-d4c2b23e.js +0 -66
- package/dist/esm/ja-b6c332b1.js +0 -72
- package/dist/esm/key-a9ffa61d.js +0 -16
- package/dist/esm/ko-b220c903.js +0 -72
- package/dist/esm/label-026b99b7.js +0 -179
- package/dist/esm/loadable-4841127f.js +0 -93
- package/dist/esm/locale-8a2aae09.js +0 -591
- package/dist/esm/logger-29d1dc0e.js +0 -59
- package/dist/esm/lt-e97a19a7.js +0 -97
- package/dist/esm/lv-c4e1d066.js +0 -66
- package/dist/esm/math-dd484f87.js +0 -54
- package/dist/esm/mk-fec9b21d.js +0 -66
- package/dist/esm/nb-28189f31.js +0 -67
- package/dist/esm/nl-194a064e.js +0 -67
- package/dist/esm/observers-3af27a40.js +0 -56
- package/dist/esm/openCloseComponent-00e6186d.js +0 -63
- package/dist/esm/pl-c0a7eacf.js +0 -114
- package/dist/esm/popupUtils-75294be5.js +0 -119
- package/dist/esm/pt-48180eaa.js +0 -67
- package/dist/esm/pt-br-e378640f.js +0 -65
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-0b9430f0.js +0 -21
- package/dist/esm/resources-2117aee0.js +0 -63
- package/dist/esm/resources-29504413.js +0 -34
- package/dist/esm/resources-37d6b520.js +0 -35
- package/dist/esm/resources-75518fcf.js +0 -23
- package/dist/esm/resources-8e7f2865.js +0 -22
- package/dist/esm/resources-8fe9ef4a.js +0 -20
- package/dist/esm/resources-966e32ad.js +0 -62
- package/dist/esm/resources-a1cc283e.js +0 -24
- package/dist/esm/resources-f4406546.js +0 -19
- package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
- package/dist/esm/ro-a116f43c.js +0 -66
- package/dist/esm/ru-53b48473.js +0 -126
- package/dist/esm/shared-list-render-7df95a79.js +0 -339
- package/dist/esm/sk-6e16e781.js +0 -148
- package/dist/esm/sl-0b5a108a.js +0 -168
- package/dist/esm/solution-resource-966f8511.js +0 -1840
- package/dist/esm/solution-store-61fd39ea.js +0 -1351
- package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
- package/dist/esm/sr-c91ad375.js +0 -101
- package/dist/esm/sv-99a8436f.js +0 -71
- package/dist/esm/t9n-d5539b3a.js +0 -103
- package/dist/esm/templates-9330d7b8.js +0 -401
- package/dist/esm/th-f448c101.js +0 -65
- package/dist/esm/time-8f4af53a.js +0 -286
- package/dist/esm/tr-1c4d126e.js +0 -66
- package/dist/esm/uk-afcd7307.js +0 -104
- package/dist/esm/utils-057404c5.js +0 -2274
- package/dist/esm/utils-6391b35c.js +0 -65
- package/dist/esm/vi-13e0626d.js +0 -70
- package/dist/esm/zh-cn-80512388.js +0 -94
- package/dist/esm/zh-hk-220c6f50.js +0 -92
- package/dist/esm/zh-tw-f9a73c0d.js +0 -92
- package/dist/solutions-components/p-0129abe8.entry.js +0 -11
- package/dist/solutions-components/p-0238f68c.js +0 -6
- package/dist/solutions-components/p-034291c9.entry.js +0 -11
- package/dist/solutions-components/p-042c0134.entry.js +0 -11
- package/dist/solutions-components/p-052d1165.js +0 -11
- package/dist/solutions-components/p-0558fbc7.js +0 -143
- package/dist/solutions-components/p-06c581b3.js +0 -6
- package/dist/solutions-components/p-071a80fb.js +0 -11
- package/dist/solutions-components/p-0ac3d6fb.js +0 -6
- package/dist/solutions-components/p-0afbf455.js +0 -11
- package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
- package/dist/solutions-components/p-0c8cf779.js +0 -6
- package/dist/solutions-components/p-0cdda3a9.js +0 -6
- package/dist/solutions-components/p-10a4512a.entry.js +0 -6
- package/dist/solutions-components/p-11149179.js +0 -6
- package/dist/solutions-components/p-111ff298.entry.js +0 -29
- package/dist/solutions-components/p-131ca2b1.js +0 -11
- package/dist/solutions-components/p-13ac2814.js +0 -6
- package/dist/solutions-components/p-14ac7f32.js +0 -17
- package/dist/solutions-components/p-15105f4c.js +0 -6
- package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
- package/dist/solutions-components/p-16af273f.entry.js +0 -6
- package/dist/solutions-components/p-17f35552.entry.js +0 -6
- package/dist/solutions-components/p-1803e66b.entry.js +0 -21
- package/dist/solutions-components/p-18103eee.entry.js +0 -11
- package/dist/solutions-components/p-190de825.js +0 -6
- package/dist/solutions-components/p-19879c48.entry.js +0 -6
- package/dist/solutions-components/p-1b147794.js +0 -11
- package/dist/solutions-components/p-1c45b737.entry.js +0 -6
- package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
- package/dist/solutions-components/p-23c70a46.entry.js +0 -17
- package/dist/solutions-components/p-2483d087.entry.js +0 -11
- package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
- package/dist/solutions-components/p-27bc7520.js +0 -6
- package/dist/solutions-components/p-27eca753.js +0 -6
- package/dist/solutions-components/p-2866ef30.js +0 -11
- package/dist/solutions-components/p-288599db.entry.js +0 -16
- package/dist/solutions-components/p-28b4de12.js +0 -6
- package/dist/solutions-components/p-29a24832.entry.js +0 -6
- package/dist/solutions-components/p-2c7a600b.js +0 -6
- package/dist/solutions-components/p-2cff27c5.js +0 -22
- package/dist/solutions-components/p-2df01fbd.js +0 -6
- package/dist/solutions-components/p-30448906.entry.js +0 -6
- package/dist/solutions-components/p-32539121.js +0 -16
- package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
- package/dist/solutions-components/p-33601437.js +0 -6
- package/dist/solutions-components/p-351b4ea6.js +0 -61
- package/dist/solutions-components/p-363c89e1.js +0 -6
- package/dist/solutions-components/p-3795ce25.js +0 -18
- package/dist/solutions-components/p-3832f6b0.js +0 -11
- package/dist/solutions-components/p-38346d75.js +0 -6
- package/dist/solutions-components/p-39bc5b60.js +0 -6
- package/dist/solutions-components/p-3a4f0ef6.js +0 -6
- package/dist/solutions-components/p-3a839252.entry.js +0 -6
- package/dist/solutions-components/p-3ab1d999.js +0 -6
- package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
- package/dist/solutions-components/p-3edf491f.js +0 -11
- package/dist/solutions-components/p-3f23fa58.js +0 -6
- package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
- package/dist/solutions-components/p-416c0818.js +0 -11
- package/dist/solutions-components/p-42903dc4.entry.js +0 -11
- package/dist/solutions-components/p-432d7aac.entry.js +0 -11
- package/dist/solutions-components/p-443bb48a.js +0 -6
- package/dist/solutions-components/p-44b455ac.js +0 -21
- package/dist/solutions-components/p-461d72a9.entry.js +0 -11
- package/dist/solutions-components/p-4a5f4c12.js +0 -6
- package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
- package/dist/solutions-components/p-4dd4e1f5.js +0 -11
- package/dist/solutions-components/p-4e44d681.entry.js +0 -6
- package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
- package/dist/solutions-components/p-517bc39b.entry.js +0 -6
- package/dist/solutions-components/p-51b004f6.js +0 -11
- package/dist/solutions-components/p-51eb6427.entry.js +0 -11
- package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
- package/dist/solutions-components/p-53e0faf4.js +0 -12
- package/dist/solutions-components/p-54713c54.js +0 -11
- package/dist/solutions-components/p-5501cb25.entry.js +0 -17
- package/dist/solutions-components/p-57729067.entry.js +0 -11
- package/dist/solutions-components/p-58d0a9e8.js +0 -11
- package/dist/solutions-components/p-5ae7ca10.js +0 -6
- package/dist/solutions-components/p-5cd51ba9.js +0 -6
- package/dist/solutions-components/p-5e901f4d.js +0 -6
- package/dist/solutions-components/p-5ea0c09b.js +0 -6
- package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
- package/dist/solutions-components/p-632a3328.js +0 -6
- package/dist/solutions-components/p-64e8c883.js +0 -11
- package/dist/solutions-components/p-659678f1.js +0 -43
- package/dist/solutions-components/p-667f4b68.js +0 -6
- package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
- package/dist/solutions-components/p-6c44ba5f.js +0 -16
- package/dist/solutions-components/p-6d369f32.entry.js +0 -22
- package/dist/solutions-components/p-6d4f59df.js +0 -6
- package/dist/solutions-components/p-6def4549.js +0 -11
- package/dist/solutions-components/p-6df7b770.js +0 -11
- package/dist/solutions-components/p-6eaba85e.js +0 -11
- package/dist/solutions-components/p-6eba7557.entry.js +0 -11
- package/dist/solutions-components/p-6ef00d3c.js +0 -6
- package/dist/solutions-components/p-6f98db75.entry.js +0 -11
- package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
- package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
- package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
- package/dist/solutions-components/p-76c08334.js +0 -16
- package/dist/solutions-components/p-792a8e91.entry.js +0 -17
- package/dist/solutions-components/p-7b0448b1.js +0 -6
- package/dist/solutions-components/p-7c19f274.js +0 -6
- package/dist/solutions-components/p-7c583516.js +0 -50
- package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
- package/dist/solutions-components/p-81012aaa.entry.js +0 -6
- package/dist/solutions-components/p-8145011e.entry.js +0 -11
- package/dist/solutions-components/p-8343f841.entry.js +0 -17
- package/dist/solutions-components/p-85002390.js +0 -11
- package/dist/solutions-components/p-860452b5.entry.js +0 -11
- package/dist/solutions-components/p-8704c6df.entry.js +0 -11
- package/dist/solutions-components/p-871b9b39.entry.js +0 -6
- package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
- package/dist/solutions-components/p-8817162f.js +0 -17
- package/dist/solutions-components/p-88934d2b.js +0 -11
- package/dist/solutions-components/p-88e391ab.entry.js +0 -6
- package/dist/solutions-components/p-89bd8016.entry.js +0 -22
- package/dist/solutions-components/p-8ad16e95.js +0 -16
- package/dist/solutions-components/p-8b54465a.js +0 -11
- package/dist/solutions-components/p-8e85d818.js +0 -6
- package/dist/solutions-components/p-8feb21be.entry.js +0 -17
- package/dist/solutions-components/p-9099acb6.js +0 -6
- package/dist/solutions-components/p-93c9be09.entry.js +0 -17
- package/dist/solutions-components/p-941ec574.entry.js +0 -6
- package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
- package/dist/solutions-components/p-952a4ed2.js +0 -6
- package/dist/solutions-components/p-960baebc.entry.js +0 -6
- package/dist/solutions-components/p-96a7e73d.js +0 -11
- package/dist/solutions-components/p-9905a2cd.js +0 -6
- package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
- package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
- package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
- package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
- package/dist/solutions-components/p-9f943f1a.js +0 -6
- package/dist/solutions-components/p-a2613102.entry.js +0 -11
- package/dist/solutions-components/p-a2c467d7.js +0 -6
- package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
- package/dist/solutions-components/p-a704be29.js +0 -6
- package/dist/solutions-components/p-a7ca67b9.js +0 -11
- package/dist/solutions-components/p-a8638d44.entry.js +0 -11
- package/dist/solutions-components/p-abafd987.entry.js +0 -47
- package/dist/solutions-components/p-abd443e4.entry.js +0 -11
- package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
- package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
- package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
- package/dist/solutions-components/p-ae53daf0.js +0 -11
- package/dist/solutions-components/p-b134cc53.entry.js +0 -11
- package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
- package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
- package/dist/solutions-components/p-b24985b0.entry.js +0 -11
- package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
- package/dist/solutions-components/p-b51111e1.js +0 -11
- package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
- package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
- package/dist/solutions-components/p-bd989e41.js +0 -11
- package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
- package/dist/solutions-components/p-c6296ee6.js +0 -11
- package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
- package/dist/solutions-components/p-c6fe3b6c.js +0 -6
- package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
- package/dist/solutions-components/p-c9193d36.entry.js +0 -6
- package/dist/solutions-components/p-caa665a4.js +0 -11
- package/dist/solutions-components/p-cb860e39.js +0 -11
- package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
- package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
- package/dist/solutions-components/p-cde4f891.entry.js +0 -11
- package/dist/solutions-components/p-cefb0487.js +0 -489
- package/dist/solutions-components/p-d29843c1.js +0 -6
- package/dist/solutions-components/p-d34db378.entry.js +0 -21
- package/dist/solutions-components/p-d3b61974.entry.js +0 -11
- package/dist/solutions-components/p-d7f00451.entry.js +0 -11
- package/dist/solutions-components/p-d81f19b5.js +0 -6
- package/dist/solutions-components/p-d9110df1.entry.js +0 -11
- package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
- package/dist/solutions-components/p-e191b864.entry.js +0 -11
- package/dist/solutions-components/p-e2263afa.entry.js +0 -11
- package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
- package/dist/solutions-components/p-e46f6b68.js +0 -11
- package/dist/solutions-components/p-e683e142.js +0 -6
- package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
- package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
- package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
- package/dist/solutions-components/p-e9488a2a.js +0 -6
- package/dist/solutions-components/p-eacb5b05.js +0 -11
- package/dist/solutions-components/p-ed000576.js +0 -6
- package/dist/solutions-components/p-eec49294.entry.js +0 -11
- package/dist/solutions-components/p-f067a46c.js +0 -21
- package/dist/solutions-components/p-f123e913.entry.js +0 -6
- package/dist/solutions-components/p-f2139e1f.js +0 -11
- package/dist/solutions-components/p-f2e30760.entry.js +0 -11
- package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
- package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
- package/dist/solutions-components/p-f44c8764.js +0 -6
- package/dist/solutions-components/p-f6a94b55.js +0 -11
- package/dist/solutions-components/p-f6c2f78c.js +0 -6
- package/dist/solutions-components/p-f97b2291.js +0 -6
- package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
- package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
- package/dist/solutions-components/p-fc68aaf4.js +0 -6
- package/dist/solutions-components/p-fc8d6dcf.js +0 -11
- package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
- package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
- package/dist/solutions-components/p-fe82bd8a.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/solutions-components/p-ffbe2075.js +0 -11
- /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
- /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
- /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
|
@@ -7,7 +7,7 @@ import { c as commonjsGlobal } from './_commonjsHelpers.js';
|
|
|
7
7
|
|
|
8
8
|
var purify$2 = {exports: {}};
|
|
9
9
|
|
|
10
|
-
/*! @license DOMPurify 2.
|
|
10
|
+
/*! @license DOMPurify 2.5.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.6/LICENSE */
|
|
11
11
|
|
|
12
12
|
(function (module, exports) {
|
|
13
13
|
(function (global, factory) {
|
|
@@ -22,21 +22,17 @@ var purify$2 = {exports: {}};
|
|
|
22
22
|
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
23
23
|
}, _typeof(obj);
|
|
24
24
|
}
|
|
25
|
-
|
|
26
25
|
function _setPrototypeOf(o, p) {
|
|
27
26
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
28
27
|
o.__proto__ = p;
|
|
29
28
|
return o;
|
|
30
29
|
};
|
|
31
|
-
|
|
32
30
|
return _setPrototypeOf(o, p);
|
|
33
31
|
}
|
|
34
|
-
|
|
35
32
|
function _isNativeReflectConstruct() {
|
|
36
33
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
37
34
|
if (Reflect.construct.sham) return false;
|
|
38
35
|
if (typeof Proxy === "function") return true;
|
|
39
|
-
|
|
40
36
|
try {
|
|
41
37
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
42
38
|
return true;
|
|
@@ -44,7 +40,6 @@ var purify$2 = {exports: {}};
|
|
|
44
40
|
return false;
|
|
45
41
|
}
|
|
46
42
|
}
|
|
47
|
-
|
|
48
43
|
function _construct(Parent, args, Class) {
|
|
49
44
|
if (_isNativeReflectConstruct()) {
|
|
50
45
|
_construct = Reflect.construct;
|
|
@@ -58,22 +53,17 @@ var purify$2 = {exports: {}};
|
|
|
58
53
|
return instance;
|
|
59
54
|
};
|
|
60
55
|
}
|
|
61
|
-
|
|
62
56
|
return _construct.apply(null, arguments);
|
|
63
57
|
}
|
|
64
|
-
|
|
65
58
|
function _toConsumableArray(arr) {
|
|
66
59
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
67
60
|
}
|
|
68
|
-
|
|
69
61
|
function _arrayWithoutHoles(arr) {
|
|
70
62
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
71
63
|
}
|
|
72
|
-
|
|
73
64
|
function _iterableToArray(iter) {
|
|
74
65
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
75
66
|
}
|
|
76
|
-
|
|
77
67
|
function _unsupportedIterableToArray(o, minLen) {
|
|
78
68
|
if (!o) return;
|
|
79
69
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -82,56 +72,46 @@ var purify$2 = {exports: {}};
|
|
|
82
72
|
if (n === "Map" || n === "Set") return Array.from(o);
|
|
83
73
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
84
74
|
}
|
|
85
|
-
|
|
86
75
|
function _arrayLikeToArray(arr, len) {
|
|
87
76
|
if (len == null || len > arr.length) len = arr.length;
|
|
88
|
-
|
|
89
77
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
90
|
-
|
|
91
78
|
return arr2;
|
|
92
79
|
}
|
|
93
|
-
|
|
94
80
|
function _nonIterableSpread() {
|
|
95
81
|
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
82
|
}
|
|
97
83
|
|
|
98
84
|
var hasOwnProperty = Object.hasOwnProperty,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
85
|
+
setPrototypeOf = Object.setPrototypeOf,
|
|
86
|
+
isFrozen = Object.isFrozen,
|
|
87
|
+
getPrototypeOf = Object.getPrototypeOf,
|
|
88
|
+
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
103
89
|
var freeze = Object.freeze,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
90
|
+
seal = Object.seal,
|
|
91
|
+
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
|
107
92
|
var _ref = typeof Reflect !== 'undefined' && Reflect,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
93
|
+
apply = _ref.apply,
|
|
94
|
+
construct = _ref.construct;
|
|
111
95
|
if (!apply) {
|
|
112
96
|
apply = function apply(fun, thisValue, args) {
|
|
113
97
|
return fun.apply(thisValue, args);
|
|
114
98
|
};
|
|
115
99
|
}
|
|
116
|
-
|
|
117
100
|
if (!freeze) {
|
|
118
101
|
freeze = function freeze(x) {
|
|
119
102
|
return x;
|
|
120
103
|
};
|
|
121
104
|
}
|
|
122
|
-
|
|
123
105
|
if (!seal) {
|
|
124
106
|
seal = function seal(x) {
|
|
125
107
|
return x;
|
|
126
108
|
};
|
|
127
109
|
}
|
|
128
|
-
|
|
129
110
|
if (!construct) {
|
|
130
111
|
construct = function construct(Func, args) {
|
|
131
112
|
return _construct(Func, _toConsumableArray(args));
|
|
132
113
|
};
|
|
133
114
|
}
|
|
134
|
-
|
|
135
115
|
var arrayForEach = unapply(Array.prototype.forEach);
|
|
136
116
|
var arrayPop = unapply(Array.prototype.pop);
|
|
137
117
|
var arrayPush = unapply(Array.prototype.push);
|
|
@@ -148,7 +128,6 @@ var purify$2 = {exports: {}};
|
|
|
148
128
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
149
129
|
args[_key - 1] = arguments[_key];
|
|
150
130
|
}
|
|
151
|
-
|
|
152
131
|
return apply(func, thisArg, args);
|
|
153
132
|
};
|
|
154
133
|
}
|
|
@@ -157,101 +136,89 @@ var purify$2 = {exports: {}};
|
|
|
157
136
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
158
137
|
args[_key2] = arguments[_key2];
|
|
159
138
|
}
|
|
160
|
-
|
|
161
139
|
return construct(func, args);
|
|
162
140
|
};
|
|
163
141
|
}
|
|
164
|
-
/* Add properties to a lookup table */
|
|
165
142
|
|
|
143
|
+
/* Add properties to a lookup table */
|
|
166
144
|
function addToSet(set, array, transformCaseFunc) {
|
|
167
|
-
|
|
168
|
-
|
|
145
|
+
var _transformCaseFunc;
|
|
146
|
+
transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;
|
|
169
147
|
if (setPrototypeOf) {
|
|
170
148
|
// Make 'in' and truthy checks like Boolean(set.constructor)
|
|
171
149
|
// independent of any properties defined on Object.prototype.
|
|
172
150
|
// Prevent prototype setters from intercepting set as a this value.
|
|
173
151
|
setPrototypeOf(set, null);
|
|
174
152
|
}
|
|
175
|
-
|
|
176
153
|
var l = array.length;
|
|
177
|
-
|
|
178
154
|
while (l--) {
|
|
179
155
|
var element = array[l];
|
|
180
|
-
|
|
181
156
|
if (typeof element === 'string') {
|
|
182
157
|
var lcElement = transformCaseFunc(element);
|
|
183
|
-
|
|
184
158
|
if (lcElement !== element) {
|
|
185
159
|
// Config presets (e.g. tags.js, attrs.js) are immutable.
|
|
186
160
|
if (!isFrozen(array)) {
|
|
187
161
|
array[l] = lcElement;
|
|
188
162
|
}
|
|
189
|
-
|
|
190
163
|
element = lcElement;
|
|
191
164
|
}
|
|
192
165
|
}
|
|
193
|
-
|
|
194
166
|
set[element] = true;
|
|
195
167
|
}
|
|
196
|
-
|
|
197
168
|
return set;
|
|
198
169
|
}
|
|
199
|
-
/* Shallow clone an object */
|
|
200
170
|
|
|
171
|
+
/* Shallow clone an object */
|
|
201
172
|
function clone(object) {
|
|
202
173
|
var newObject = create(null);
|
|
203
174
|
var property;
|
|
204
|
-
|
|
205
175
|
for (property in object) {
|
|
206
176
|
if (apply(hasOwnProperty, object, [property]) === true) {
|
|
207
177
|
newObject[property] = object[property];
|
|
208
178
|
}
|
|
209
179
|
}
|
|
210
|
-
|
|
211
180
|
return newObject;
|
|
212
181
|
}
|
|
182
|
+
|
|
213
183
|
/* IE10 doesn't support __lookupGetter__ so lets'
|
|
214
184
|
* simulate it. It also automatically checks
|
|
215
185
|
* if the prop is function or getter and behaves
|
|
216
186
|
* accordingly. */
|
|
217
|
-
|
|
218
187
|
function lookupGetter(object, prop) {
|
|
219
188
|
while (object !== null) {
|
|
220
189
|
var desc = getOwnPropertyDescriptor(object, prop);
|
|
221
|
-
|
|
222
190
|
if (desc) {
|
|
223
191
|
if (desc.get) {
|
|
224
192
|
return unapply(desc.get);
|
|
225
193
|
}
|
|
226
|
-
|
|
227
194
|
if (typeof desc.value === 'function') {
|
|
228
195
|
return unapply(desc.value);
|
|
229
196
|
}
|
|
230
197
|
}
|
|
231
|
-
|
|
232
198
|
object = getPrototypeOf(object);
|
|
233
199
|
}
|
|
234
|
-
|
|
235
200
|
function fallbackValue(element) {
|
|
236
201
|
console.warn('fallback value for', element);
|
|
237
202
|
return null;
|
|
238
203
|
}
|
|
239
|
-
|
|
240
204
|
return fallbackValue;
|
|
241
205
|
}
|
|
242
206
|
|
|
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']);
|
|
207
|
+
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']);
|
|
244
208
|
|
|
209
|
+
// SVG
|
|
245
210
|
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']);
|
|
211
|
+
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']);
|
|
212
|
+
|
|
213
|
+
// List of SVG elements that are disallowed by default.
|
|
247
214
|
// We still need to know them so that we can do namespace
|
|
248
215
|
// checks properly in case one wants to add them to
|
|
249
216
|
// allow-list.
|
|
250
|
-
|
|
251
217
|
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']);
|
|
253
|
-
// even those that we disallow by default.
|
|
218
|
+
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']);
|
|
254
219
|
|
|
220
|
+
// Similarly to SVG, we want to know all MathML elements,
|
|
221
|
+
// even those that we disallow by default.
|
|
255
222
|
var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
256
223
|
var text = freeze(['#text']);
|
|
257
224
|
|
|
@@ -260,24 +227,24 @@ var purify$2 = {exports: {}};
|
|
|
260
227
|
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
228
|
var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
262
229
|
|
|
230
|
+
// eslint-disable-next-line unicorn/better-regex
|
|
263
231
|
var MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
|
264
|
-
|
|
265
232
|
var ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
266
233
|
var TMPLIT_EXPR = seal(/\${[\w\W]*}/gm);
|
|
267
234
|
var DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape
|
|
268
|
-
|
|
269
235
|
var ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
|
270
|
-
|
|
271
236
|
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
237
|
);
|
|
273
238
|
var IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
|
274
239
|
var ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
|
|
275
240
|
);
|
|
276
241
|
var DOCTYPE_NAME = seal(/^html$/i);
|
|
242
|
+
var CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
277
243
|
|
|
278
244
|
var getGlobal = function getGlobal() {
|
|
279
245
|
return typeof window === 'undefined' ? null : window;
|
|
280
246
|
};
|
|
247
|
+
|
|
281
248
|
/**
|
|
282
249
|
* Creates a no-op policy for internal use only.
|
|
283
250
|
* Don't export this function outside this module!
|
|
@@ -286,25 +253,20 @@ var purify$2 = {exports: {}};
|
|
|
286
253
|
* @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
|
|
287
254
|
* are not supported).
|
|
288
255
|
*/
|
|
289
|
-
|
|
290
|
-
|
|
291
256
|
var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
|
|
292
257
|
if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
|
|
293
258
|
return null;
|
|
294
|
-
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// Allow the callers to control the unique policy name
|
|
295
262
|
// by adding a data-tt-policy-suffix to the script element with the DOMPurify.
|
|
296
263
|
// Policy creation with duplicate names throws in Trusted Types.
|
|
297
|
-
|
|
298
|
-
|
|
299
264
|
var suffix = null;
|
|
300
265
|
var ATTR_NAME = 'data-tt-policy-suffix';
|
|
301
|
-
|
|
302
266
|
if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
|
|
303
267
|
suffix = document.currentScript.getAttribute(ATTR_NAME);
|
|
304
268
|
}
|
|
305
|
-
|
|
306
269
|
var policyName = 'dompurify' + (suffix ? '#' + suffix : '');
|
|
307
|
-
|
|
308
270
|
try {
|
|
309
271
|
return trustedTypes.createPolicy(policyName, {
|
|
310
272
|
createHTML: function createHTML(html) {
|
|
@@ -322,114 +284,106 @@ var purify$2 = {exports: {}};
|
|
|
322
284
|
return null;
|
|
323
285
|
}
|
|
324
286
|
};
|
|
325
|
-
|
|
326
287
|
function createDOMPurify() {
|
|
327
288
|
var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
328
|
-
|
|
329
289
|
var DOMPurify = function DOMPurify(root) {
|
|
330
290
|
return createDOMPurify(root);
|
|
331
291
|
};
|
|
292
|
+
|
|
332
293
|
/**
|
|
333
294
|
* Version label, exposed for easier checks
|
|
334
295
|
* if DOMPurify is up to date or not
|
|
335
296
|
*/
|
|
297
|
+
DOMPurify.version = '2.5.6';
|
|
336
298
|
|
|
337
|
-
|
|
338
|
-
DOMPurify.version = '2.4.3';
|
|
339
299
|
/**
|
|
340
300
|
* Array of elements that DOMPurify removed during sanitation.
|
|
341
301
|
* Empty if nothing was removed.
|
|
342
302
|
*/
|
|
343
|
-
|
|
344
303
|
DOMPurify.removed = [];
|
|
345
|
-
|
|
346
304
|
if (!window || !window.document || window.document.nodeType !== 9) {
|
|
347
305
|
// Not running in a browser, provide a factory function
|
|
348
306
|
// so that you can pass your own Window
|
|
349
307
|
DOMPurify.isSupported = false;
|
|
350
308
|
return DOMPurify;
|
|
351
309
|
}
|
|
352
|
-
|
|
353
310
|
var originalDocument = window.document;
|
|
354
311
|
var document = window.document;
|
|
355
312
|
var DocumentFragment = window.DocumentFragment,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
313
|
+
HTMLTemplateElement = window.HTMLTemplateElement,
|
|
314
|
+
Node = window.Node,
|
|
315
|
+
Element = window.Element,
|
|
316
|
+
NodeFilter = window.NodeFilter,
|
|
317
|
+
_window$NamedNodeMap = window.NamedNodeMap,
|
|
318
|
+
NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,
|
|
319
|
+
HTMLFormElement = window.HTMLFormElement,
|
|
320
|
+
DOMParser = window.DOMParser,
|
|
321
|
+
trustedTypes = window.trustedTypes;
|
|
365
322
|
var ElementPrototype = Element.prototype;
|
|
366
323
|
var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
|
367
324
|
var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
|
|
368
325
|
var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
|
|
369
|
-
var getParentNode = lookupGetter(ElementPrototype, 'parentNode');
|
|
326
|
+
var getParentNode = lookupGetter(ElementPrototype, 'parentNode');
|
|
327
|
+
|
|
328
|
+
// As per issue #47, the web-components registry is inherited by a
|
|
370
329
|
// new document created via createHTMLDocument. As per the spec
|
|
371
330
|
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
|
372
331
|
// a new empty registry is used when creating a template contents owner
|
|
373
332
|
// document, so we use that as our parent document to ensure nothing
|
|
374
333
|
// is inherited.
|
|
375
|
-
|
|
376
334
|
if (typeof HTMLTemplateElement === 'function') {
|
|
377
335
|
var template = document.createElement('template');
|
|
378
|
-
|
|
379
336
|
if (template.content && template.content.ownerDocument) {
|
|
380
337
|
document = template.content.ownerDocument;
|
|
381
338
|
}
|
|
382
339
|
}
|
|
383
|
-
|
|
384
340
|
var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
|
|
385
|
-
|
|
386
341
|
var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
|
|
387
342
|
var _document = document,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
343
|
+
implementation = _document.implementation,
|
|
344
|
+
createNodeIterator = _document.createNodeIterator,
|
|
345
|
+
createDocumentFragment = _document.createDocumentFragment,
|
|
346
|
+
getElementsByTagName = _document.getElementsByTagName;
|
|
392
347
|
var importNode = originalDocument.importNode;
|
|
393
348
|
var documentMode = {};
|
|
394
|
-
|
|
395
349
|
try {
|
|
396
350
|
documentMode = clone(document).documentMode ? document.documentMode : {};
|
|
397
351
|
} catch (_) {}
|
|
398
|
-
|
|
399
352
|
var hooks = {};
|
|
353
|
+
|
|
400
354
|
/**
|
|
401
355
|
* Expose whether this browser supports running the full DOMPurify.
|
|
402
356
|
*/
|
|
403
|
-
|
|
404
|
-
DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;
|
|
357
|
+
DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined && documentMode !== 9;
|
|
405
358
|
var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
359
|
+
ERB_EXPR$1 = ERB_EXPR,
|
|
360
|
+
TMPLIT_EXPR$1 = TMPLIT_EXPR,
|
|
361
|
+
DATA_ATTR$1 = DATA_ATTR,
|
|
362
|
+
ARIA_ATTR$1 = ARIA_ATTR,
|
|
363
|
+
IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,
|
|
364
|
+
ATTR_WHITESPACE$1 = ATTR_WHITESPACE,
|
|
365
|
+
CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;
|
|
412
366
|
var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;
|
|
367
|
+
|
|
413
368
|
/**
|
|
414
369
|
* We consider the elements and attributes below to be safe. Ideally
|
|
415
370
|
* don't add any new ones but feel free to remove unwanted ones.
|
|
416
371
|
*/
|
|
417
372
|
|
|
418
373
|
/* allowed element names */
|
|
419
|
-
|
|
420
374
|
var ALLOWED_TAGS = null;
|
|
421
375
|
var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));
|
|
422
|
-
/* Allowed attribute names */
|
|
423
376
|
|
|
377
|
+
/* Allowed attribute names */
|
|
424
378
|
var ALLOWED_ATTR = null;
|
|
425
379
|
var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));
|
|
380
|
+
|
|
426
381
|
/*
|
|
427
382
|
* Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.
|
|
428
383
|
* @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
|
|
429
384
|
* @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
|
|
430
385
|
* @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
|
|
431
386
|
*/
|
|
432
|
-
|
|
433
387
|
var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {
|
|
434
388
|
tagNameCheck: {
|
|
435
389
|
writable: true,
|
|
@@ -450,55 +404,65 @@ var purify$2 = {exports: {}};
|
|
|
450
404
|
value: false
|
|
451
405
|
}
|
|
452
406
|
}));
|
|
453
|
-
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
|
454
407
|
|
|
408
|
+
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
|
455
409
|
var FORBID_TAGS = null;
|
|
456
|
-
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
|
457
410
|
|
|
411
|
+
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
|
458
412
|
var FORBID_ATTR = null;
|
|
459
|
-
/* Decide if ARIA attributes are okay */
|
|
460
413
|
|
|
414
|
+
/* Decide if ARIA attributes are okay */
|
|
461
415
|
var ALLOW_ARIA_ATTR = true;
|
|
462
|
-
/* Decide if custom data attributes are okay */
|
|
463
416
|
|
|
417
|
+
/* Decide if custom data attributes are okay */
|
|
464
418
|
var ALLOW_DATA_ATTR = true;
|
|
465
|
-
/* Decide if unknown protocols are okay */
|
|
466
419
|
|
|
420
|
+
/* Decide if unknown protocols are okay */
|
|
467
421
|
var ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
422
|
+
|
|
423
|
+
/* Decide if self-closing tags in attributes are allowed.
|
|
424
|
+
* Usually removed due to a mXSS issue in jQuery 3.0 */
|
|
425
|
+
var ALLOW_SELF_CLOSE_IN_ATTR = true;
|
|
426
|
+
|
|
468
427
|
/* Output should be safe for common template engines.
|
|
469
428
|
* This means, DOMPurify removes data attributes, mustaches and ERB
|
|
470
429
|
*/
|
|
471
|
-
|
|
472
430
|
var SAFE_FOR_TEMPLATES = false;
|
|
473
|
-
/* Decide if document with <html>... should be returned */
|
|
474
431
|
|
|
432
|
+
/* Output should be safe even for XML used within HTML and alike.
|
|
433
|
+
* This means, DOMPurify removes comments when containing risky content.
|
|
434
|
+
*/
|
|
435
|
+
var SAFE_FOR_XML = true;
|
|
436
|
+
|
|
437
|
+
/* Decide if document with <html>... should be returned */
|
|
475
438
|
var WHOLE_DOCUMENT = false;
|
|
476
|
-
/* Track whether config is already set on this instance of DOMPurify. */
|
|
477
439
|
|
|
440
|
+
/* Track whether config is already set on this instance of DOMPurify. */
|
|
478
441
|
var SET_CONFIG = false;
|
|
442
|
+
|
|
479
443
|
/* Decide if all elements (e.g. style, script) must be children of
|
|
480
444
|
* document.body. By default, browsers might move them to document.head */
|
|
481
|
-
|
|
482
445
|
var FORCE_BODY = false;
|
|
446
|
+
|
|
483
447
|
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
|
|
484
448
|
* string (or a TrustedHTML object if Trusted Types are supported).
|
|
485
449
|
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
|
486
450
|
*/
|
|
487
|
-
|
|
488
451
|
var RETURN_DOM = false;
|
|
452
|
+
|
|
489
453
|
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html
|
|
490
454
|
* string (or a TrustedHTML object if Trusted Types are supported) */
|
|
491
|
-
|
|
492
455
|
var RETURN_DOM_FRAGMENT = false;
|
|
456
|
+
|
|
493
457
|
/* Try to return a Trusted Type object instead of a string, return a string in
|
|
494
458
|
* case Trusted Types are not supported */
|
|
495
|
-
|
|
496
459
|
var RETURN_TRUSTED_TYPE = false;
|
|
460
|
+
|
|
497
461
|
/* Output should be free from DOM clobbering attacks?
|
|
498
462
|
* This sanitizes markups named with colliding, clobberable built-in DOM APIs.
|
|
499
463
|
*/
|
|
500
|
-
|
|
501
464
|
var SANITIZE_DOM = true;
|
|
465
|
+
|
|
502
466
|
/* Achieve full DOM Clobbering protection by isolating the namespace of named
|
|
503
467
|
* properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
|
|
504
468
|
*
|
|
@@ -512,98 +476,98 @@ var purify$2 = {exports: {}};
|
|
|
512
476
|
* Namespace isolation is implemented by prefixing `id` and `name` attributes
|
|
513
477
|
* with a constant string, i.e., `user-content-`
|
|
514
478
|
*/
|
|
515
|
-
|
|
516
479
|
var SANITIZE_NAMED_PROPS = false;
|
|
517
480
|
var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
|
|
518
|
-
/* Keep element content when removing element? */
|
|
519
481
|
|
|
482
|
+
/* Keep element content when removing element? */
|
|
520
483
|
var KEEP_CONTENT = true;
|
|
484
|
+
|
|
521
485
|
/* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
|
|
522
486
|
* of importing it into a new Document and returning a sanitized copy */
|
|
523
|
-
|
|
524
487
|
var IN_PLACE = false;
|
|
525
|
-
/* Allow usage of profiles like html, svg and mathMl */
|
|
526
488
|
|
|
489
|
+
/* Allow usage of profiles like html, svg and mathMl */
|
|
527
490
|
var USE_PROFILES = {};
|
|
528
|
-
/* Tags to ignore content of when KEEP_CONTENT is true */
|
|
529
491
|
|
|
492
|
+
/* Tags to ignore content of when KEEP_CONTENT is true */
|
|
530
493
|
var FORBID_CONTENTS = null;
|
|
531
494
|
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
495
|
|
|
496
|
+
/* Tags that are safe for data: URIs */
|
|
534
497
|
var DATA_URI_TAGS = null;
|
|
535
498
|
var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
|
|
536
|
-
/* Attributes safe for values like "javascript:" */
|
|
537
499
|
|
|
500
|
+
/* Attributes safe for values like "javascript:" */
|
|
538
501
|
var URI_SAFE_ATTRIBUTES = null;
|
|
539
502
|
var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
|
|
540
503
|
var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
|
541
504
|
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
542
505
|
var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
|
|
543
506
|
/* Document namespace */
|
|
544
|
-
|
|
545
507
|
var NAMESPACE = HTML_NAMESPACE;
|
|
546
508
|
var IS_EMPTY_INPUT = false;
|
|
547
|
-
/* Allowed XHTML+XML namespaces */
|
|
548
509
|
|
|
510
|
+
/* Allowed XHTML+XML namespaces */
|
|
549
511
|
var ALLOWED_NAMESPACES = null;
|
|
550
512
|
var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
|
551
|
-
/* Parsing of strict XHTML documents */
|
|
552
513
|
|
|
514
|
+
/* Parsing of strict XHTML documents */
|
|
553
515
|
var PARSER_MEDIA_TYPE;
|
|
554
516
|
var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
|
|
555
517
|
var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
|
|
556
518
|
var transformCaseFunc;
|
|
557
|
-
/* Keep a reference to config to pass to hooks */
|
|
558
519
|
|
|
520
|
+
/* Keep a reference to config to pass to hooks */
|
|
559
521
|
var CONFIG = null;
|
|
560
|
-
/* Ideally, do not touch anything below this line */
|
|
561
522
|
|
|
523
|
+
/* Ideally, do not touch anything below this line */
|
|
562
524
|
/* ______________________________________________ */
|
|
563
525
|
|
|
564
526
|
var formElement = document.createElement('form');
|
|
565
|
-
|
|
566
527
|
var isRegexOrFunction = function isRegexOrFunction(testValue) {
|
|
567
528
|
return testValue instanceof RegExp || testValue instanceof Function;
|
|
568
529
|
};
|
|
530
|
+
|
|
569
531
|
/**
|
|
570
532
|
* _parseConfig
|
|
571
533
|
*
|
|
572
534
|
* @param {Object} cfg optional config literal
|
|
573
535
|
*/
|
|
574
536
|
// eslint-disable-next-line complexity
|
|
575
|
-
|
|
576
|
-
|
|
577
537
|
var _parseConfig = function _parseConfig(cfg) {
|
|
578
538
|
if (CONFIG && CONFIG === cfg) {
|
|
579
539
|
return;
|
|
580
540
|
}
|
|
581
|
-
/* Shield configuration object from tampering */
|
|
582
|
-
|
|
583
541
|
|
|
542
|
+
/* Shield configuration object from tampering */
|
|
584
543
|
if (!cfg || _typeof(cfg) !== 'object') {
|
|
585
544
|
cfg = {};
|
|
586
545
|
}
|
|
587
|
-
/* Shield configuration object from prototype pollution */
|
|
588
|
-
|
|
589
546
|
|
|
547
|
+
/* Shield configuration object from prototype pollution */
|
|
590
548
|
cfg = clone(cfg);
|
|
591
|
-
PARSER_MEDIA_TYPE =
|
|
592
|
-
|
|
549
|
+
PARSER_MEDIA_TYPE =
|
|
550
|
+
// eslint-disable-next-line unicorn/prefer-includes
|
|
551
|
+
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE;
|
|
593
552
|
|
|
553
|
+
// HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
|
594
554
|
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
|
595
|
-
/* Set configuration parameters */
|
|
596
555
|
|
|
556
|
+
/* Set configuration parameters */
|
|
597
557
|
ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
598
558
|
ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
599
559
|
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),
|
|
601
|
-
|
|
560
|
+
URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),
|
|
561
|
+
// eslint-disable-line indent
|
|
562
|
+
cfg.ADD_URI_SAFE_ATTR,
|
|
563
|
+
// eslint-disable-line indent
|
|
602
564
|
transformCaseFunc // eslint-disable-line indent
|
|
603
565
|
) // eslint-disable-line indent
|
|
604
566
|
: DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
605
|
-
DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),
|
|
606
|
-
|
|
567
|
+
DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),
|
|
568
|
+
// eslint-disable-line indent
|
|
569
|
+
cfg.ADD_DATA_URI_TAGS,
|
|
570
|
+
// eslint-disable-line indent
|
|
607
571
|
transformCaseFunc // eslint-disable-line indent
|
|
608
572
|
) // eslint-disable-line indent
|
|
609
573
|
: DEFAULT_DATA_URI_TAGS;
|
|
@@ -612,158 +576,128 @@ var purify$2 = {exports: {}};
|
|
|
612
576
|
FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
|
613
577
|
USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
|
|
614
578
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
|
615
|
-
|
|
616
579
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
|
617
|
-
|
|
618
580
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
|
619
|
-
|
|
581
|
+
ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true
|
|
620
582
|
SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
|
|
621
|
-
|
|
583
|
+
SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true
|
|
622
584
|
WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
|
|
623
|
-
|
|
624
585
|
RETURN_DOM = cfg.RETURN_DOM || false; // Default false
|
|
625
|
-
|
|
626
586
|
RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
|
|
627
|
-
|
|
628
587
|
RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
|
|
629
|
-
|
|
630
588
|
FORCE_BODY = cfg.FORCE_BODY || false; // Default false
|
|
631
|
-
|
|
632
589
|
SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
|
|
633
|
-
|
|
634
590
|
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
|
635
|
-
|
|
636
591
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
|
637
|
-
|
|
638
592
|
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
|
639
|
-
|
|
640
593
|
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;
|
|
641
594
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
642
|
-
|
|
595
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
|
|
643
596
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
644
597
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
645
598
|
}
|
|
646
|
-
|
|
647
599
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
|
|
648
600
|
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
|
|
649
601
|
}
|
|
650
|
-
|
|
651
602
|
if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
|
|
652
603
|
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
|
|
653
604
|
}
|
|
654
|
-
|
|
655
605
|
if (SAFE_FOR_TEMPLATES) {
|
|
656
606
|
ALLOW_DATA_ATTR = false;
|
|
657
607
|
}
|
|
658
|
-
|
|
659
608
|
if (RETURN_DOM_FRAGMENT) {
|
|
660
609
|
RETURN_DOM = true;
|
|
661
610
|
}
|
|
662
|
-
/* Parse profile info */
|
|
663
|
-
|
|
664
611
|
|
|
612
|
+
/* Parse profile info */
|
|
665
613
|
if (USE_PROFILES) {
|
|
666
614
|
ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));
|
|
667
615
|
ALLOWED_ATTR = [];
|
|
668
|
-
|
|
669
616
|
if (USE_PROFILES.html === true) {
|
|
670
617
|
addToSet(ALLOWED_TAGS, html$1);
|
|
671
618
|
addToSet(ALLOWED_ATTR, html);
|
|
672
619
|
}
|
|
673
|
-
|
|
674
620
|
if (USE_PROFILES.svg === true) {
|
|
675
621
|
addToSet(ALLOWED_TAGS, svg$1);
|
|
676
622
|
addToSet(ALLOWED_ATTR, svg);
|
|
677
623
|
addToSet(ALLOWED_ATTR, xml);
|
|
678
624
|
}
|
|
679
|
-
|
|
680
625
|
if (USE_PROFILES.svgFilters === true) {
|
|
681
626
|
addToSet(ALLOWED_TAGS, svgFilters);
|
|
682
627
|
addToSet(ALLOWED_ATTR, svg);
|
|
683
628
|
addToSet(ALLOWED_ATTR, xml);
|
|
684
629
|
}
|
|
685
|
-
|
|
686
630
|
if (USE_PROFILES.mathMl === true) {
|
|
687
631
|
addToSet(ALLOWED_TAGS, mathMl$1);
|
|
688
632
|
addToSet(ALLOWED_ATTR, mathMl);
|
|
689
633
|
addToSet(ALLOWED_ATTR, xml);
|
|
690
634
|
}
|
|
691
635
|
}
|
|
692
|
-
/* Merge configuration parameters */
|
|
693
|
-
|
|
694
636
|
|
|
637
|
+
/* Merge configuration parameters */
|
|
695
638
|
if (cfg.ADD_TAGS) {
|
|
696
639
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
697
640
|
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
698
641
|
}
|
|
699
|
-
|
|
700
642
|
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
701
643
|
}
|
|
702
|
-
|
|
703
644
|
if (cfg.ADD_ATTR) {
|
|
704
645
|
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
705
646
|
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
706
647
|
}
|
|
707
|
-
|
|
708
648
|
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
709
649
|
}
|
|
710
|
-
|
|
711
650
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
712
651
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
713
652
|
}
|
|
714
|
-
|
|
715
653
|
if (cfg.FORBID_CONTENTS) {
|
|
716
654
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
717
655
|
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
718
656
|
}
|
|
719
|
-
|
|
720
657
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
721
658
|
}
|
|
722
|
-
/* Add #text in case KEEP_CONTENT is set to true */
|
|
723
|
-
|
|
724
659
|
|
|
660
|
+
/* Add #text in case KEEP_CONTENT is set to true */
|
|
725
661
|
if (KEEP_CONTENT) {
|
|
726
662
|
ALLOWED_TAGS['#text'] = true;
|
|
727
663
|
}
|
|
728
|
-
/* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
|
|
729
|
-
|
|
730
664
|
|
|
665
|
+
/* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
|
|
731
666
|
if (WHOLE_DOCUMENT) {
|
|
732
667
|
addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
|
|
733
668
|
}
|
|
734
|
-
/* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
|
|
735
|
-
|
|
736
669
|
|
|
670
|
+
/* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
|
|
737
671
|
if (ALLOWED_TAGS.table) {
|
|
738
672
|
addToSet(ALLOWED_TAGS, ['tbody']);
|
|
739
673
|
delete FORBID_TAGS.tbody;
|
|
740
|
-
}
|
|
741
|
-
// Not available in IE8, Safari 5, etc.
|
|
742
|
-
|
|
674
|
+
}
|
|
743
675
|
|
|
676
|
+
// Prevent further manipulation of configuration.
|
|
677
|
+
// Not available in IE8, Safari 5, etc.
|
|
744
678
|
if (freeze) {
|
|
745
679
|
freeze(cfg);
|
|
746
680
|
}
|
|
747
|
-
|
|
748
681
|
CONFIG = cfg;
|
|
749
682
|
};
|
|
750
|
-
|
|
751
683
|
var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
|
|
752
|
-
var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', '
|
|
684
|
+
var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'annotation-xml']);
|
|
685
|
+
|
|
686
|
+
// Certain elements are allowed in both SVG and HTML
|
|
753
687
|
// namespace. We need to specify them explicitly
|
|
754
688
|
// so that they don't get erroneously deleted from
|
|
755
689
|
// HTML namespace.
|
|
756
|
-
|
|
757
690
|
var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
|
|
691
|
+
|
|
758
692
|
/* Keep track of all possible SVG and MathML tags
|
|
759
693
|
* so that we can perform the namespace checks
|
|
760
694
|
* correctly. */
|
|
761
|
-
|
|
762
695
|
var ALL_SVG_TAGS = addToSet({}, svg$1);
|
|
763
696
|
addToSet(ALL_SVG_TAGS, svgFilters);
|
|
764
697
|
addToSet(ALL_SVG_TAGS, svgDisallowed);
|
|
765
698
|
var ALL_MATHML_TAGS = addToSet({}, mathMl$1);
|
|
766
699
|
addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
|
|
700
|
+
|
|
767
701
|
/**
|
|
768
702
|
*
|
|
769
703
|
*
|
|
@@ -772,64 +706,59 @@ var purify$2 = {exports: {}};
|
|
|
772
706
|
* namespace that a spec-compliant parser would never
|
|
773
707
|
* return. Return true otherwise.
|
|
774
708
|
*/
|
|
775
|
-
|
|
776
709
|
var _checkValidNamespace = function _checkValidNamespace(element) {
|
|
777
|
-
var parent = getParentNode(element);
|
|
778
|
-
// can be null. We just simulate parent in this case.
|
|
710
|
+
var parent = getParentNode(element);
|
|
779
711
|
|
|
712
|
+
// In JSDOM, if we're inside shadow DOM, then parentNode
|
|
713
|
+
// can be null. We just simulate parent in this case.
|
|
780
714
|
if (!parent || !parent.tagName) {
|
|
781
715
|
parent = {
|
|
782
716
|
namespaceURI: NAMESPACE,
|
|
783
717
|
tagName: 'template'
|
|
784
718
|
};
|
|
785
719
|
}
|
|
786
|
-
|
|
787
720
|
var tagName = stringToLowerCase(element.tagName);
|
|
788
721
|
var parentTagName = stringToLowerCase(parent.tagName);
|
|
789
|
-
|
|
790
722
|
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
791
723
|
return false;
|
|
792
724
|
}
|
|
793
|
-
|
|
794
725
|
if (element.namespaceURI === SVG_NAMESPACE) {
|
|
795
726
|
// The only way to switch from HTML namespace to SVG
|
|
796
727
|
// is via <svg>. If it happens via any other tag, then
|
|
797
728
|
// it should be killed.
|
|
798
729
|
if (parent.namespaceURI === HTML_NAMESPACE) {
|
|
799
730
|
return tagName === 'svg';
|
|
800
|
-
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
// The only way to switch from MathML to SVG is via`
|
|
801
734
|
// svg if parent is either <annotation-xml> or MathML
|
|
802
735
|
// text integration points.
|
|
803
|
-
|
|
804
|
-
|
|
805
736
|
if (parent.namespaceURI === MATHML_NAMESPACE) {
|
|
806
737
|
return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
|
|
807
|
-
}
|
|
808
|
-
// spec. All others are disallowed in SVG namespace.
|
|
809
|
-
|
|
738
|
+
}
|
|
810
739
|
|
|
740
|
+
// We only allow elements that are defined in SVG
|
|
741
|
+
// spec. All others are disallowed in SVG namespace.
|
|
811
742
|
return Boolean(ALL_SVG_TAGS[tagName]);
|
|
812
743
|
}
|
|
813
|
-
|
|
814
744
|
if (element.namespaceURI === MATHML_NAMESPACE) {
|
|
815
745
|
// The only way to switch from HTML namespace to MathML
|
|
816
746
|
// is via <math>. If it happens via any other tag, then
|
|
817
747
|
// it should be killed.
|
|
818
748
|
if (parent.namespaceURI === HTML_NAMESPACE) {
|
|
819
749
|
return tagName === 'math';
|
|
820
|
-
}
|
|
821
|
-
// <math> and HTML integration points
|
|
822
|
-
|
|
750
|
+
}
|
|
823
751
|
|
|
752
|
+
// The only way to switch from SVG to MathML is via
|
|
753
|
+
// <math> and HTML integration points
|
|
824
754
|
if (parent.namespaceURI === SVG_NAMESPACE) {
|
|
825
755
|
return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
|
|
826
|
-
}
|
|
827
|
-
// spec. All others are disallowed in MathML namespace.
|
|
828
|
-
|
|
756
|
+
}
|
|
829
757
|
|
|
758
|
+
// We only allow elements that are defined in MathML
|
|
759
|
+
// spec. All others are disallowed in MathML namespace.
|
|
830
760
|
return Boolean(ALL_MATHML_TAGS[tagName]);
|
|
831
761
|
}
|
|
832
|
-
|
|
833
762
|
if (element.namespaceURI === HTML_NAMESPACE) {
|
|
834
763
|
// The only way to switch from SVG to HTML is via
|
|
835
764
|
// HTML integration points, and from MathML to HTML
|
|
@@ -837,39 +766,36 @@ var purify$2 = {exports: {}};
|
|
|
837
766
|
if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
|
|
838
767
|
return false;
|
|
839
768
|
}
|
|
840
|
-
|
|
841
769
|
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
|
842
770
|
return false;
|
|
843
|
-
}
|
|
844
|
-
// or SVG and should never appear in HTML namespace
|
|
845
|
-
|
|
771
|
+
}
|
|
846
772
|
|
|
773
|
+
// We disallow tags that are specific for MathML
|
|
774
|
+
// or SVG and should never appear in HTML namespace
|
|
847
775
|
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
|
848
|
-
}
|
|
849
|
-
|
|
776
|
+
}
|
|
850
777
|
|
|
778
|
+
// For XHTML and XML documents that support custom namespaces
|
|
851
779
|
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
|
852
780
|
return true;
|
|
853
|
-
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
// The code should never reach this place (this means
|
|
854
784
|
// that the element somehow got namespace that is not
|
|
855
785
|
// HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
|
|
856
786
|
// Return false just in case.
|
|
857
|
-
|
|
858
|
-
|
|
859
787
|
return false;
|
|
860
788
|
};
|
|
789
|
+
|
|
861
790
|
/**
|
|
862
791
|
* _forceRemove
|
|
863
792
|
*
|
|
864
793
|
* @param {Node} node a DOM node
|
|
865
794
|
*/
|
|
866
|
-
|
|
867
|
-
|
|
868
795
|
var _forceRemove = function _forceRemove(node) {
|
|
869
796
|
arrayPush(DOMPurify.removed, {
|
|
870
797
|
element: node
|
|
871
798
|
});
|
|
872
|
-
|
|
873
799
|
try {
|
|
874
800
|
// eslint-disable-next-line unicorn/prefer-dom-node-remove
|
|
875
801
|
node.parentNode.removeChild(node);
|
|
@@ -881,14 +807,13 @@ var purify$2 = {exports: {}};
|
|
|
881
807
|
}
|
|
882
808
|
}
|
|
883
809
|
};
|
|
810
|
+
|
|
884
811
|
/**
|
|
885
812
|
* _removeAttribute
|
|
886
813
|
*
|
|
887
814
|
* @param {String} name an Attribute name
|
|
888
815
|
* @param {Node} node a DOM node
|
|
889
816
|
*/
|
|
890
|
-
|
|
891
|
-
|
|
892
817
|
var _removeAttribute = function _removeAttribute(name, node) {
|
|
893
818
|
try {
|
|
894
819
|
arrayPush(DOMPurify.removed, {
|
|
@@ -901,9 +826,9 @@ var purify$2 = {exports: {}};
|
|
|
901
826
|
from: node
|
|
902
827
|
});
|
|
903
828
|
}
|
|
829
|
+
node.removeAttribute(name);
|
|
904
830
|
|
|
905
|
-
|
|
906
|
-
|
|
831
|
+
// We void attribute values for unremovable "is"" attributes
|
|
907
832
|
if (name === 'is' && !ALLOWED_ATTR[name]) {
|
|
908
833
|
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
|
909
834
|
try {
|
|
@@ -916,19 +841,17 @@ var purify$2 = {exports: {}};
|
|
|
916
841
|
}
|
|
917
842
|
}
|
|
918
843
|
};
|
|
844
|
+
|
|
919
845
|
/**
|
|
920
846
|
* _initDocument
|
|
921
847
|
*
|
|
922
848
|
* @param {String} dirty a string of dirty markup
|
|
923
849
|
* @return {Document} a DOM, filled with the dirty markup
|
|
924
850
|
*/
|
|
925
|
-
|
|
926
|
-
|
|
927
851
|
var _initDocument = function _initDocument(dirty) {
|
|
928
852
|
/* Create a HTML document */
|
|
929
853
|
var doc;
|
|
930
854
|
var leadingWhitespace;
|
|
931
|
-
|
|
932
855
|
if (FORCE_BODY) {
|
|
933
856
|
dirty = '<remove></remove>' + dirty;
|
|
934
857
|
} else {
|
|
@@ -936,83 +859,74 @@ var purify$2 = {exports: {}};
|
|
|
936
859
|
var matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
|
937
860
|
leadingWhitespace = matches && matches[0];
|
|
938
861
|
}
|
|
939
|
-
|
|
940
862
|
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
|
|
941
863
|
// Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
|
|
942
864
|
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
|
|
943
865
|
}
|
|
944
|
-
|
|
945
866
|
var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
946
867
|
/*
|
|
947
868
|
* Use the DOMParser API by default, fallback later if needs be
|
|
948
869
|
* DOMParser not work for svg when has multiple root element.
|
|
949
870
|
*/
|
|
950
|
-
|
|
951
871
|
if (NAMESPACE === HTML_NAMESPACE) {
|
|
952
872
|
try {
|
|
953
873
|
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
|
954
874
|
} catch (_) {}
|
|
955
875
|
}
|
|
956
|
-
/* Use createHTMLDocument in case DOMParser is not available */
|
|
957
|
-
|
|
958
876
|
|
|
877
|
+
/* Use createHTMLDocument in case DOMParser is not available */
|
|
959
878
|
if (!doc || !doc.documentElement) {
|
|
960
879
|
doc = implementation.createDocument(NAMESPACE, 'template', null);
|
|
961
|
-
|
|
962
880
|
try {
|
|
963
881
|
doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
|
|
964
|
-
} catch (_) {
|
|
882
|
+
} catch (_) {
|
|
883
|
+
// Syntax error if dirtyPayload is invalid xml
|
|
965
884
|
}
|
|
966
885
|
}
|
|
967
|
-
|
|
968
886
|
var body = doc.body || doc.documentElement;
|
|
969
|
-
|
|
970
887
|
if (dirty && leadingWhitespace) {
|
|
971
888
|
body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
|
972
889
|
}
|
|
973
|
-
/* Work on whole document or just its body */
|
|
974
|
-
|
|
975
890
|
|
|
891
|
+
/* Work on whole document or just its body */
|
|
976
892
|
if (NAMESPACE === HTML_NAMESPACE) {
|
|
977
893
|
return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
|
978
894
|
}
|
|
979
|
-
|
|
980
895
|
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
|
981
896
|
};
|
|
897
|
+
|
|
982
898
|
/**
|
|
983
899
|
* _createIterator
|
|
984
900
|
*
|
|
985
901
|
* @param {Document} root document/fragment to create iterator for
|
|
986
902
|
* @return {Iterator} iterator instance
|
|
987
903
|
*/
|
|
988
|
-
|
|
989
|
-
|
|
990
904
|
var _createIterator = function _createIterator(root) {
|
|
991
|
-
return createNodeIterator.call(root.ownerDocument || root, root,
|
|
992
|
-
|
|
905
|
+
return createNodeIterator.call(root.ownerDocument || root, root,
|
|
906
|
+
// eslint-disable-next-line no-bitwise
|
|
907
|
+
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null, false);
|
|
993
908
|
};
|
|
909
|
+
|
|
994
910
|
/**
|
|
995
911
|
* _isClobbered
|
|
996
912
|
*
|
|
997
913
|
* @param {Node} elm element to check for clobbering attacks
|
|
998
914
|
* @return {Boolean} true if clobbered, false if safe
|
|
999
915
|
*/
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
916
|
var _isClobbered = function _isClobbered(elm) {
|
|
1003
917
|
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
918
|
};
|
|
919
|
+
|
|
1005
920
|
/**
|
|
1006
921
|
* _isNode
|
|
1007
922
|
*
|
|
1008
923
|
* @param {Node} obj object to check whether it's a DOM node
|
|
1009
924
|
* @return {Boolean} true is object is a DOM node
|
|
1010
925
|
*/
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
926
|
var _isNode = function _isNode(object) {
|
|
1014
927
|
return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';
|
|
1015
928
|
};
|
|
929
|
+
|
|
1016
930
|
/**
|
|
1017
931
|
* _executeHook
|
|
1018
932
|
* Execute user configurable hooks
|
|
@@ -1021,17 +935,15 @@ var purify$2 = {exports: {}};
|
|
|
1021
935
|
* @param {Node} currentNode node to work on with the hook
|
|
1022
936
|
* @param {Object} data additional hook parameters
|
|
1023
937
|
*/
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
938
|
var _executeHook = function _executeHook(entryPoint, currentNode, data) {
|
|
1027
939
|
if (!hooks[entryPoint]) {
|
|
1028
940
|
return;
|
|
1029
941
|
}
|
|
1030
|
-
|
|
1031
942
|
arrayForEach(hooks[entryPoint], function (hook) {
|
|
1032
943
|
hook.call(DOMPurify, currentNode, data, CONFIG);
|
|
1033
944
|
});
|
|
1034
945
|
};
|
|
946
|
+
|
|
1035
947
|
/**
|
|
1036
948
|
* _sanitizeElements
|
|
1037
949
|
*
|
|
@@ -1042,108 +954,101 @@ var purify$2 = {exports: {}};
|
|
|
1042
954
|
* @param {Node} currentNode to check for permission to exist
|
|
1043
955
|
* @return {Boolean} true if node was killed, false if left alive
|
|
1044
956
|
*/
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
957
|
var _sanitizeElements = function _sanitizeElements(currentNode) {
|
|
1048
958
|
var content;
|
|
1049
|
-
/* Execute a hook if present */
|
|
1050
959
|
|
|
960
|
+
/* Execute a hook if present */
|
|
1051
961
|
_executeHook('beforeSanitizeElements', currentNode, null);
|
|
1052
|
-
/* Check if element is clobbered or can clobber */
|
|
1053
|
-
|
|
1054
962
|
|
|
963
|
+
/* Check if element is clobbered or can clobber */
|
|
1055
964
|
if (_isClobbered(currentNode)) {
|
|
1056
965
|
_forceRemove(currentNode);
|
|
1057
|
-
|
|
1058
966
|
return true;
|
|
1059
967
|
}
|
|
1060
|
-
/* Check if tagname contains Unicode */
|
|
1061
|
-
|
|
1062
968
|
|
|
969
|
+
/* Check if tagname contains Unicode */
|
|
1063
970
|
if (regExpTest(/[\u0080-\uFFFF]/, currentNode.nodeName)) {
|
|
1064
971
|
_forceRemove(currentNode);
|
|
1065
|
-
|
|
1066
972
|
return true;
|
|
1067
973
|
}
|
|
1068
|
-
/* Now let's check the element's type and name */
|
|
1069
|
-
|
|
1070
974
|
|
|
975
|
+
/* Now let's check the element's type and name */
|
|
1071
976
|
var tagName = transformCaseFunc(currentNode.nodeName);
|
|
1072
|
-
/* Execute a hook if present */
|
|
1073
977
|
|
|
978
|
+
/* Execute a hook if present */
|
|
1074
979
|
_executeHook('uponSanitizeElement', currentNode, {
|
|
1075
980
|
tagName: tagName,
|
|
1076
981
|
allowedTags: ALLOWED_TAGS
|
|
1077
982
|
});
|
|
1078
|
-
/* Detect mXSS attempts abusing namespace confusion */
|
|
1079
|
-
|
|
1080
983
|
|
|
984
|
+
/* Detect mXSS attempts abusing namespace confusion */
|
|
1081
985
|
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
|
1082
986
|
_forceRemove(currentNode);
|
|
1083
|
-
|
|
1084
987
|
return true;
|
|
1085
988
|
}
|
|
1086
|
-
/* Mitigate a problem with templates inside select */
|
|
1087
|
-
|
|
1088
989
|
|
|
990
|
+
/* Mitigate a problem with templates inside select */
|
|
1089
991
|
if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {
|
|
1090
992
|
_forceRemove(currentNode);
|
|
993
|
+
return true;
|
|
994
|
+
}
|
|
1091
995
|
|
|
996
|
+
/* Remove any ocurrence of processing instructions */
|
|
997
|
+
if (currentNode.nodeType === 7) {
|
|
998
|
+
_forceRemove(currentNode);
|
|
1092
999
|
return true;
|
|
1093
1000
|
}
|
|
1094
|
-
/* Remove element if anything forbids its presence */
|
|
1095
1001
|
|
|
1002
|
+
/* Remove any kind of possibly harmful comments */
|
|
1003
|
+
if (SAFE_FOR_XML && currentNode.nodeType === 8 && regExpTest(/<[/\w]/g, currentNode.data)) {
|
|
1004
|
+
_forceRemove(currentNode);
|
|
1005
|
+
return true;
|
|
1006
|
+
}
|
|
1096
1007
|
|
|
1008
|
+
/* Remove element if anything forbids its presence */
|
|
1097
1009
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1098
1010
|
/* Check if we have a custom element to handle */
|
|
1099
1011
|
if (!FORBID_TAGS[tagName] && _basicCustomElementTest(tagName)) {
|
|
1100
1012
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;
|
|
1101
1013
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
|
|
1102
1014
|
}
|
|
1103
|
-
/* Keep content except for bad-listed elements */
|
|
1104
|
-
|
|
1105
1015
|
|
|
1016
|
+
/* Keep content except for bad-listed elements */
|
|
1106
1017
|
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
|
1107
1018
|
var parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
|
1108
1019
|
var childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
|
1109
|
-
|
|
1110
1020
|
if (childNodes && parentNode) {
|
|
1111
1021
|
var childCount = childNodes.length;
|
|
1112
|
-
|
|
1113
1022
|
for (var i = childCount - 1; i >= 0; --i) {
|
|
1114
|
-
|
|
1023
|
+
var childClone = cloneNode(childNodes[i], true);
|
|
1024
|
+
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
1025
|
+
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
1115
1026
|
}
|
|
1116
1027
|
}
|
|
1117
1028
|
}
|
|
1118
|
-
|
|
1119
1029
|
_forceRemove(currentNode);
|
|
1120
|
-
|
|
1121
1030
|
return true;
|
|
1122
1031
|
}
|
|
1123
|
-
/* Check whether element has a valid namespace */
|
|
1124
|
-
|
|
1125
1032
|
|
|
1033
|
+
/* Check whether element has a valid namespace */
|
|
1126
1034
|
if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
|
|
1127
1035
|
_forceRemove(currentNode);
|
|
1128
|
-
|
|
1129
1036
|
return true;
|
|
1130
1037
|
}
|
|
1131
1038
|
|
|
1132
|
-
|
|
1039
|
+
/* Make sure that older browsers don't get fallback-tag mXSS */
|
|
1040
|
+
if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
|
|
1133
1041
|
_forceRemove(currentNode);
|
|
1134
|
-
|
|
1135
1042
|
return true;
|
|
1136
1043
|
}
|
|
1137
|
-
/* Sanitize element content to be template-safe */
|
|
1138
|
-
|
|
1139
1044
|
|
|
1045
|
+
/* Sanitize element content to be template-safe */
|
|
1140
1046
|
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
|
|
1141
1047
|
/* Get the element's text content */
|
|
1142
1048
|
content = currentNode.textContent;
|
|
1143
1049
|
content = stringReplace(content, MUSTACHE_EXPR$1, ' ');
|
|
1144
1050
|
content = stringReplace(content, ERB_EXPR$1, ' ');
|
|
1145
1051
|
content = stringReplace(content, TMPLIT_EXPR$1, ' ');
|
|
1146
|
-
|
|
1147
1052
|
if (currentNode.textContent !== content) {
|
|
1148
1053
|
arrayPush(DOMPurify.removed, {
|
|
1149
1054
|
element: currentNode.cloneNode()
|
|
@@ -1151,13 +1056,12 @@ var purify$2 = {exports: {}};
|
|
|
1151
1056
|
currentNode.textContent = content;
|
|
1152
1057
|
}
|
|
1153
1058
|
}
|
|
1154
|
-
/* Execute a hook if present */
|
|
1155
|
-
|
|
1156
1059
|
|
|
1060
|
+
/* Execute a hook if present */
|
|
1157
1061
|
_executeHook('afterSanitizeElements', currentNode, null);
|
|
1158
|
-
|
|
1159
1062
|
return false;
|
|
1160
1063
|
};
|
|
1064
|
+
|
|
1161
1065
|
/**
|
|
1162
1066
|
* _isValidAttribute
|
|
1163
1067
|
*
|
|
@@ -1167,47 +1071,44 @@ var purify$2 = {exports: {}};
|
|
|
1167
1071
|
* @return {Boolean} Returns true if `value` is valid, otherwise false.
|
|
1168
1072
|
*/
|
|
1169
1073
|
// eslint-disable-next-line complexity
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
1074
|
var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
|
1173
1075
|
/* Make sure attribute cannot clobber */
|
|
1174
1076
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
1175
1077
|
return false;
|
|
1176
1078
|
}
|
|
1079
|
+
|
|
1177
1080
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
1178
1081
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
1179
1082
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
1180
1083
|
We don't need to check the value; it's always URI safe. */
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
1084
|
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 (
|
|
1085
|
+
if (
|
|
1086
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1185
1087
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1186
1088
|
// 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)) ||
|
|
1089
|
+
_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)) ||
|
|
1090
|
+
// Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1188
1091
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1189
1092
|
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
1093
|
return false;
|
|
1191
1094
|
}
|
|
1192
1095
|
/* 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 {
|
|
1096
|
+
} 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) {
|
|
1195
1097
|
return false;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1098
|
+
} else ;
|
|
1198
1099
|
return true;
|
|
1199
1100
|
};
|
|
1101
|
+
|
|
1200
1102
|
/**
|
|
1201
1103
|
* _basicCustomElementCheck
|
|
1202
1104
|
* checks if at least one dash is included in tagName, and it's not the first char
|
|
1203
1105
|
* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
|
|
1204
1106
|
* @param {string} tagName name of the tag of the node to sanitize
|
|
1205
1107
|
*/
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
1108
|
var _basicCustomElementTest = function _basicCustomElementTest(tagName) {
|
|
1209
|
-
return tagName
|
|
1109
|
+
return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT$1);
|
|
1210
1110
|
};
|
|
1111
|
+
|
|
1211
1112
|
/**
|
|
1212
1113
|
* _sanitizeAttributes
|
|
1213
1114
|
*
|
|
@@ -1218,24 +1119,19 @@ var purify$2 = {exports: {}};
|
|
|
1218
1119
|
*
|
|
1219
1120
|
* @param {Node} currentNode to sanitize
|
|
1220
1121
|
*/
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
1122
|
var _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
|
1224
1123
|
var attr;
|
|
1225
1124
|
var value;
|
|
1226
1125
|
var lcName;
|
|
1227
1126
|
var l;
|
|
1228
1127
|
/* Execute a hook if present */
|
|
1229
|
-
|
|
1230
1128
|
_executeHook('beforeSanitizeAttributes', currentNode, null);
|
|
1231
|
-
|
|
1232
1129
|
var attributes = currentNode.attributes;
|
|
1233
|
-
/* Check if we have attributes; if not we might have a text node */
|
|
1234
1130
|
|
|
1131
|
+
/* Check if we have attributes; if not we might have a text node */
|
|
1235
1132
|
if (!attributes) {
|
|
1236
1133
|
return;
|
|
1237
1134
|
}
|
|
1238
|
-
|
|
1239
1135
|
var hookEvent = {
|
|
1240
1136
|
attrName: '',
|
|
1241
1137
|
attrValue: '',
|
|
@@ -1243,95 +1139,92 @@ var purify$2 = {exports: {}};
|
|
|
1243
1139
|
allowedAttributes: ALLOWED_ATTR
|
|
1244
1140
|
};
|
|
1245
1141
|
l = attributes.length;
|
|
1246
|
-
/* Go backwards over all attributes; safely remove bad ones */
|
|
1247
1142
|
|
|
1143
|
+
/* Go backwards over all attributes; safely remove bad ones */
|
|
1248
1144
|
while (l--) {
|
|
1249
1145
|
attr = attributes[l];
|
|
1250
1146
|
var _attr = attr,
|
|
1251
|
-
|
|
1252
|
-
|
|
1147
|
+
name = _attr.name,
|
|
1148
|
+
namespaceURI = _attr.namespaceURI;
|
|
1253
1149
|
value = name === 'value' ? attr.value : stringTrim(attr.value);
|
|
1254
1150
|
lcName = transformCaseFunc(name);
|
|
1255
|
-
/* Execute a hook if present */
|
|
1256
1151
|
|
|
1152
|
+
/* Execute a hook if present */
|
|
1257
1153
|
hookEvent.attrName = lcName;
|
|
1258
1154
|
hookEvent.attrValue = value;
|
|
1259
1155
|
hookEvent.keepAttr = true;
|
|
1260
1156
|
hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
|
|
1261
|
-
|
|
1262
1157
|
_executeHook('uponSanitizeAttribute', currentNode, hookEvent);
|
|
1263
|
-
|
|
1264
1158
|
value = hookEvent.attrValue;
|
|
1265
|
-
/* Did the hooks approve of the attribute? */
|
|
1266
1159
|
|
|
1267
|
-
|
|
1160
|
+
/* Work around a security issue with comments inside attributes */
|
|
1161
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1162
|
+
_removeAttribute(name, currentNode);
|
|
1268
1163
|
continue;
|
|
1269
1164
|
}
|
|
1270
|
-
/* Remove attribute */
|
|
1271
1165
|
|
|
1272
|
-
|
|
1273
|
-
_removeAttribute(name, currentNode);
|
|
1274
1166
|
/* Did the hooks approve of the attribute? */
|
|
1167
|
+
if (hookEvent.forceKeepAttr) {
|
|
1168
|
+
continue;
|
|
1169
|
+
}
|
|
1275
1170
|
|
|
1171
|
+
/* Remove attribute */
|
|
1172
|
+
_removeAttribute(name, currentNode);
|
|
1276
1173
|
|
|
1174
|
+
/* Did the hooks approve of the attribute? */
|
|
1277
1175
|
if (!hookEvent.keepAttr) {
|
|
1278
1176
|
continue;
|
|
1279
1177
|
}
|
|
1280
|
-
/* Work around a security issue in jQuery 3.0 */
|
|
1281
|
-
|
|
1282
1178
|
|
|
1283
|
-
|
|
1179
|
+
/* Work around a security issue in jQuery 3.0 */
|
|
1180
|
+
if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
|
|
1284
1181
|
_removeAttribute(name, currentNode);
|
|
1285
|
-
|
|
1286
1182
|
continue;
|
|
1287
1183
|
}
|
|
1288
|
-
/* Sanitize attribute content to be template-safe */
|
|
1289
|
-
|
|
1290
1184
|
|
|
1185
|
+
/* Sanitize attribute content to be template-safe */
|
|
1291
1186
|
if (SAFE_FOR_TEMPLATES) {
|
|
1292
1187
|
value = stringReplace(value, MUSTACHE_EXPR$1, ' ');
|
|
1293
1188
|
value = stringReplace(value, ERB_EXPR$1, ' ');
|
|
1294
1189
|
value = stringReplace(value, TMPLIT_EXPR$1, ' ');
|
|
1295
1190
|
}
|
|
1296
|
-
/* Is `value` valid for this attribute? */
|
|
1297
|
-
|
|
1298
1191
|
|
|
1192
|
+
/* Is `value` valid for this attribute? */
|
|
1299
1193
|
var lcTag = transformCaseFunc(currentNode.nodeName);
|
|
1300
|
-
|
|
1301
1194
|
if (!_isValidAttribute(lcTag, lcName, value)) {
|
|
1302
1195
|
continue;
|
|
1303
1196
|
}
|
|
1197
|
+
|
|
1304
1198
|
/* Full DOM Clobbering protection via namespace isolation,
|
|
1305
1199
|
* Prefix id and name attributes with `user-content-`
|
|
1306
1200
|
*/
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
1201
|
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
|
1310
1202
|
// Remove the attribute with this value
|
|
1311
|
-
_removeAttribute(name, currentNode);
|
|
1312
|
-
|
|
1203
|
+
_removeAttribute(name, currentNode);
|
|
1313
1204
|
|
|
1205
|
+
// Prefix the value and later re-create the attribute with the sanitized value
|
|
1314
1206
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1315
1207
|
}
|
|
1316
|
-
/* Handle attributes that require Trusted Types */
|
|
1317
|
-
|
|
1318
1208
|
|
|
1209
|
+
/* Handle attributes that require Trusted Types */
|
|
1319
1210
|
if (trustedTypesPolicy && _typeof(trustedTypes) === 'object' && typeof trustedTypes.getAttributeType === 'function') {
|
|
1320
1211
|
if (namespaceURI) ; else {
|
|
1321
1212
|
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
|
1322
1213
|
case 'TrustedHTML':
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1214
|
+
{
|
|
1215
|
+
value = trustedTypesPolicy.createHTML(value);
|
|
1216
|
+
break;
|
|
1217
|
+
}
|
|
1326
1218
|
case 'TrustedScriptURL':
|
|
1327
|
-
|
|
1328
|
-
|
|
1219
|
+
{
|
|
1220
|
+
value = trustedTypesPolicy.createScriptURL(value);
|
|
1221
|
+
break;
|
|
1222
|
+
}
|
|
1329
1223
|
}
|
|
1330
1224
|
}
|
|
1331
1225
|
}
|
|
1332
|
-
/* Handle invalid data-* attribute set by try-catching it */
|
|
1333
|
-
|
|
1334
1226
|
|
|
1227
|
+
/* Handle invalid data-* attribute set by try-catching it */
|
|
1335
1228
|
try {
|
|
1336
1229
|
if (namespaceURI) {
|
|
1337
1230
|
currentNode.setAttributeNS(namespaceURI, name, value);
|
|
@@ -1339,56 +1232,51 @@ var purify$2 = {exports: {}};
|
|
|
1339
1232
|
/* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
|
|
1340
1233
|
currentNode.setAttribute(name, value);
|
|
1341
1234
|
}
|
|
1342
|
-
|
|
1343
|
-
|
|
1235
|
+
if (_isClobbered(currentNode)) {
|
|
1236
|
+
_forceRemove(currentNode);
|
|
1237
|
+
} else {
|
|
1238
|
+
arrayPop(DOMPurify.removed);
|
|
1239
|
+
}
|
|
1344
1240
|
} catch (_) {}
|
|
1345
1241
|
}
|
|
1346
|
-
/* Execute a hook if present */
|
|
1347
|
-
|
|
1348
1242
|
|
|
1243
|
+
/* Execute a hook if present */
|
|
1349
1244
|
_executeHook('afterSanitizeAttributes', currentNode, null);
|
|
1350
1245
|
};
|
|
1246
|
+
|
|
1351
1247
|
/**
|
|
1352
1248
|
* _sanitizeShadowDOM
|
|
1353
1249
|
*
|
|
1354
1250
|
* @param {DocumentFragment} fragment to iterate over recursively
|
|
1355
1251
|
*/
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
1252
|
var _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
|
|
1359
1253
|
var shadowNode;
|
|
1360
|
-
|
|
1361
1254
|
var shadowIterator = _createIterator(fragment);
|
|
1362
|
-
/* Execute a hook if present */
|
|
1363
|
-
|
|
1364
1255
|
|
|
1256
|
+
/* Execute a hook if present */
|
|
1365
1257
|
_executeHook('beforeSanitizeShadowDOM', fragment, null);
|
|
1366
|
-
|
|
1367
1258
|
while (shadowNode = shadowIterator.nextNode()) {
|
|
1368
1259
|
/* Execute a hook if present */
|
|
1369
1260
|
_executeHook('uponSanitizeShadowNode', shadowNode, null);
|
|
1370
|
-
/* Sanitize tags and elements */
|
|
1371
|
-
|
|
1372
1261
|
|
|
1262
|
+
/* Sanitize tags and elements */
|
|
1373
1263
|
if (_sanitizeElements(shadowNode)) {
|
|
1374
1264
|
continue;
|
|
1375
1265
|
}
|
|
1376
|
-
/* Deep shadow DOM detected */
|
|
1377
|
-
|
|
1378
1266
|
|
|
1267
|
+
/* Deep shadow DOM detected */
|
|
1379
1268
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
1380
1269
|
_sanitizeShadowDOM(shadowNode.content);
|
|
1381
1270
|
}
|
|
1382
|
-
/* Check attributes, sanitize if necessary */
|
|
1383
|
-
|
|
1384
1271
|
|
|
1272
|
+
/* Check attributes, sanitize if necessary */
|
|
1385
1273
|
_sanitizeAttributes(shadowNode);
|
|
1386
1274
|
}
|
|
1387
|
-
/* Execute a hook if present */
|
|
1388
|
-
|
|
1389
1275
|
|
|
1276
|
+
/* Execute a hook if present */
|
|
1390
1277
|
_executeHook('afterSanitizeShadowDOM', fragment, null);
|
|
1391
1278
|
};
|
|
1279
|
+
|
|
1392
1280
|
/**
|
|
1393
1281
|
* Sanitize
|
|
1394
1282
|
* Public method providing core sanitation functionality
|
|
@@ -1397,8 +1285,6 @@ var purify$2 = {exports: {}};
|
|
|
1397
1285
|
* @param {Object} configuration object
|
|
1398
1286
|
*/
|
|
1399
1287
|
// eslint-disable-next-line complexity
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
1288
|
DOMPurify.sanitize = function (dirty) {
|
|
1403
1289
|
var cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1404
1290
|
var body;
|
|
@@ -1409,64 +1295,52 @@ var purify$2 = {exports: {}};
|
|
|
1409
1295
|
/* Make sure we have a string to sanitize.
|
|
1410
1296
|
DO NOT return early, as this will return the wrong type if
|
|
1411
1297
|
the user has requested a DOM object rather than a string */
|
|
1412
|
-
|
|
1413
1298
|
IS_EMPTY_INPUT = !dirty;
|
|
1414
|
-
|
|
1415
1299
|
if (IS_EMPTY_INPUT) {
|
|
1416
1300
|
dirty = '<!-->';
|
|
1417
1301
|
}
|
|
1418
|
-
/* Stringify, in case dirty is an object */
|
|
1419
|
-
|
|
1420
1302
|
|
|
1303
|
+
/* Stringify, in case dirty is an object */
|
|
1421
1304
|
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
|
1422
|
-
|
|
1423
|
-
if (typeof dirty.toString !== 'function') {
|
|
1424
|
-
throw typeErrorCreate('toString is not a function');
|
|
1425
|
-
} else {
|
|
1305
|
+
if (typeof dirty.toString === 'function') {
|
|
1426
1306
|
dirty = dirty.toString();
|
|
1427
|
-
|
|
1428
1307
|
if (typeof dirty !== 'string') {
|
|
1429
1308
|
throw typeErrorCreate('dirty is not a string, aborting');
|
|
1430
1309
|
}
|
|
1310
|
+
} else {
|
|
1311
|
+
throw typeErrorCreate('toString is not a function');
|
|
1431
1312
|
}
|
|
1432
1313
|
}
|
|
1433
|
-
/* Check we can run. Otherwise fall back or ignore */
|
|
1434
|
-
|
|
1435
1314
|
|
|
1315
|
+
/* Check we can run. Otherwise fall back or ignore */
|
|
1436
1316
|
if (!DOMPurify.isSupported) {
|
|
1437
1317
|
if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {
|
|
1438
1318
|
if (typeof dirty === 'string') {
|
|
1439
1319
|
return window.toStaticHTML(dirty);
|
|
1440
1320
|
}
|
|
1441
|
-
|
|
1442
1321
|
if (_isNode(dirty)) {
|
|
1443
1322
|
return window.toStaticHTML(dirty.outerHTML);
|
|
1444
1323
|
}
|
|
1445
1324
|
}
|
|
1446
|
-
|
|
1447
1325
|
return dirty;
|
|
1448
1326
|
}
|
|
1449
|
-
/* Assign config vars */
|
|
1450
|
-
|
|
1451
1327
|
|
|
1328
|
+
/* Assign config vars */
|
|
1452
1329
|
if (!SET_CONFIG) {
|
|
1453
1330
|
_parseConfig(cfg);
|
|
1454
1331
|
}
|
|
1455
|
-
/* Clean up removed elements */
|
|
1456
|
-
|
|
1457
1332
|
|
|
1333
|
+
/* Clean up removed elements */
|
|
1458
1334
|
DOMPurify.removed = [];
|
|
1459
|
-
/* Check if dirty is correctly typed for IN_PLACE */
|
|
1460
1335
|
|
|
1336
|
+
/* Check if dirty is correctly typed for IN_PLACE */
|
|
1461
1337
|
if (typeof dirty === 'string') {
|
|
1462
1338
|
IN_PLACE = false;
|
|
1463
1339
|
}
|
|
1464
|
-
|
|
1465
1340
|
if (IN_PLACE) {
|
|
1466
1341
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
|
1467
1342
|
if (dirty.nodeName) {
|
|
1468
1343
|
var tagName = transformCaseFunc(dirty.nodeName);
|
|
1469
|
-
|
|
1470
1344
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1471
1345
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
1472
1346
|
}
|
|
@@ -1476,7 +1350,6 @@ var purify$2 = {exports: {}};
|
|
|
1476
1350
|
elements being stripped by the parser */
|
|
1477
1351
|
body = _initDocument('<!---->');
|
|
1478
1352
|
importedNode = body.ownerDocument.importNode(dirty, true);
|
|
1479
|
-
|
|
1480
1353
|
if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {
|
|
1481
1354
|
/* Node is already a body, use as is */
|
|
1482
1355
|
body = importedNode;
|
|
@@ -1488,71 +1361,61 @@ var purify$2 = {exports: {}};
|
|
|
1488
1361
|
}
|
|
1489
1362
|
} else {
|
|
1490
1363
|
/* Exit directly if we have nothing to do */
|
|
1491
|
-
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
|
|
1364
|
+
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
|
|
1365
|
+
// eslint-disable-next-line unicorn/prefer-includes
|
|
1492
1366
|
dirty.indexOf('<') === -1) {
|
|
1493
1367
|
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
1494
1368
|
}
|
|
1495
|
-
/* Initialize the document to work on */
|
|
1496
|
-
|
|
1497
1369
|
|
|
1370
|
+
/* Initialize the document to work on */
|
|
1498
1371
|
body = _initDocument(dirty);
|
|
1499
|
-
/* Check we have a DOM node from the data */
|
|
1500
1372
|
|
|
1373
|
+
/* Check we have a DOM node from the data */
|
|
1501
1374
|
if (!body) {
|
|
1502
1375
|
return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
|
|
1503
1376
|
}
|
|
1504
1377
|
}
|
|
1505
|
-
/* Remove first element node (ours) if FORCE_BODY is set */
|
|
1506
|
-
|
|
1507
1378
|
|
|
1379
|
+
/* Remove first element node (ours) if FORCE_BODY is set */
|
|
1508
1380
|
if (body && FORCE_BODY) {
|
|
1509
1381
|
_forceRemove(body.firstChild);
|
|
1510
1382
|
}
|
|
1511
|
-
/* Get node iterator */
|
|
1512
|
-
|
|
1513
1383
|
|
|
1384
|
+
/* Get node iterator */
|
|
1514
1385
|
var nodeIterator = _createIterator(IN_PLACE ? dirty : body);
|
|
1515
|
-
/* Now start iterating over the created document */
|
|
1516
|
-
|
|
1517
1386
|
|
|
1387
|
+
/* Now start iterating over the created document */
|
|
1518
1388
|
while (currentNode = nodeIterator.nextNode()) {
|
|
1519
1389
|
/* Fix IE's strange behavior with manipulated textNodes #89 */
|
|
1520
1390
|
if (currentNode.nodeType === 3 && currentNode === oldNode) {
|
|
1521
1391
|
continue;
|
|
1522
1392
|
}
|
|
1523
|
-
/* Sanitize tags and elements */
|
|
1524
|
-
|
|
1525
1393
|
|
|
1394
|
+
/* Sanitize tags and elements */
|
|
1526
1395
|
if (_sanitizeElements(currentNode)) {
|
|
1527
1396
|
continue;
|
|
1528
1397
|
}
|
|
1529
|
-
/* Shadow DOM detected, sanitize it */
|
|
1530
|
-
|
|
1531
1398
|
|
|
1399
|
+
/* Shadow DOM detected, sanitize it */
|
|
1532
1400
|
if (currentNode.content instanceof DocumentFragment) {
|
|
1533
1401
|
_sanitizeShadowDOM(currentNode.content);
|
|
1534
1402
|
}
|
|
1535
|
-
/* Check attributes, sanitize if necessary */
|
|
1536
|
-
|
|
1537
1403
|
|
|
1404
|
+
/* Check attributes, sanitize if necessary */
|
|
1538
1405
|
_sanitizeAttributes(currentNode);
|
|
1539
|
-
|
|
1540
1406
|
oldNode = currentNode;
|
|
1541
1407
|
}
|
|
1542
|
-
|
|
1543
1408
|
oldNode = null;
|
|
1544
|
-
/* If we sanitized `dirty` in-place, return it. */
|
|
1545
1409
|
|
|
1410
|
+
/* If we sanitized `dirty` in-place, return it. */
|
|
1546
1411
|
if (IN_PLACE) {
|
|
1547
1412
|
return dirty;
|
|
1548
1413
|
}
|
|
1549
|
-
/* Return sanitized string or DOM */
|
|
1550
|
-
|
|
1551
1414
|
|
|
1415
|
+
/* Return sanitized string or DOM */
|
|
1552
1416
|
if (RETURN_DOM) {
|
|
1553
1417
|
if (RETURN_DOM_FRAGMENT) {
|
|
1554
1418
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
1555
|
-
|
|
1556
1419
|
while (body.firstChild) {
|
|
1557
1420
|
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
|
1558
1421
|
returnNode.appendChild(body.firstChild);
|
|
@@ -1560,8 +1423,7 @@ var purify$2 = {exports: {}};
|
|
|
1560
1423
|
} else {
|
|
1561
1424
|
returnNode = body;
|
|
1562
1425
|
}
|
|
1563
|
-
|
|
1564
|
-
if (ALLOWED_ATTR.shadowroot) {
|
|
1426
|
+
if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmod) {
|
|
1565
1427
|
/*
|
|
1566
1428
|
AdoptNode() is not used because internal state is not reset
|
|
1567
1429
|
(e.g. the past names map of a HTMLFormElement), this is safe
|
|
@@ -1571,51 +1433,45 @@ var purify$2 = {exports: {}};
|
|
|
1571
1433
|
*/
|
|
1572
1434
|
returnNode = importNode.call(originalDocument, returnNode, true);
|
|
1573
1435
|
}
|
|
1574
|
-
|
|
1575
1436
|
return returnNode;
|
|
1576
1437
|
}
|
|
1577
|
-
|
|
1578
1438
|
var serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
|
1579
|
-
/* Serialize doctype if allowed */
|
|
1580
1439
|
|
|
1440
|
+
/* Serialize doctype if allowed */
|
|
1581
1441
|
if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
|
1582
1442
|
serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
|
|
1583
1443
|
}
|
|
1584
|
-
/* Sanitize final string template-safe */
|
|
1585
|
-
|
|
1586
1444
|
|
|
1445
|
+
/* Sanitize final string template-safe */
|
|
1587
1446
|
if (SAFE_FOR_TEMPLATES) {
|
|
1588
1447
|
serializedHTML = stringReplace(serializedHTML, MUSTACHE_EXPR$1, ' ');
|
|
1589
1448
|
serializedHTML = stringReplace(serializedHTML, ERB_EXPR$1, ' ');
|
|
1590
1449
|
serializedHTML = stringReplace(serializedHTML, TMPLIT_EXPR$1, ' ');
|
|
1591
1450
|
}
|
|
1592
|
-
|
|
1593
1451
|
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
|
1594
1452
|
};
|
|
1453
|
+
|
|
1595
1454
|
/**
|
|
1596
1455
|
* Public method to set the configuration once
|
|
1597
1456
|
* setConfig
|
|
1598
1457
|
*
|
|
1599
1458
|
* @param {Object} cfg configuration object
|
|
1600
1459
|
*/
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
1460
|
DOMPurify.setConfig = function (cfg) {
|
|
1604
1461
|
_parseConfig(cfg);
|
|
1605
|
-
|
|
1606
1462
|
SET_CONFIG = true;
|
|
1607
1463
|
};
|
|
1464
|
+
|
|
1608
1465
|
/**
|
|
1609
1466
|
* Public method to remove the configuration
|
|
1610
1467
|
* clearConfig
|
|
1611
1468
|
*
|
|
1612
1469
|
*/
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
1470
|
DOMPurify.clearConfig = function () {
|
|
1616
1471
|
CONFIG = null;
|
|
1617
1472
|
SET_CONFIG = false;
|
|
1618
1473
|
};
|
|
1474
|
+
|
|
1619
1475
|
/**
|
|
1620
1476
|
* Public method to check if an attribute value is valid.
|
|
1621
1477
|
* Uses last set config, if any. Otherwise, uses config defaults.
|
|
@@ -1626,18 +1482,16 @@ var purify$2 = {exports: {}};
|
|
|
1626
1482
|
* @param {string} value Attribute value.
|
|
1627
1483
|
* @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.
|
|
1628
1484
|
*/
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
1485
|
DOMPurify.isValidAttribute = function (tag, attr, value) {
|
|
1632
1486
|
/* Initialize shared config vars if necessary. */
|
|
1633
1487
|
if (!CONFIG) {
|
|
1634
1488
|
_parseConfig({});
|
|
1635
1489
|
}
|
|
1636
|
-
|
|
1637
1490
|
var lcTag = transformCaseFunc(tag);
|
|
1638
1491
|
var lcName = transformCaseFunc(attr);
|
|
1639
1492
|
return _isValidAttribute(lcTag, lcName, value);
|
|
1640
1493
|
};
|
|
1494
|
+
|
|
1641
1495
|
/**
|
|
1642
1496
|
* AddHook
|
|
1643
1497
|
* Public method to add DOMPurify hooks
|
|
@@ -1645,16 +1499,14 @@ var purify$2 = {exports: {}};
|
|
|
1645
1499
|
* @param {String} entryPoint entry point for the hook to add
|
|
1646
1500
|
* @param {Function} hookFunction function to execute
|
|
1647
1501
|
*/
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
1502
|
DOMPurify.addHook = function (entryPoint, hookFunction) {
|
|
1651
1503
|
if (typeof hookFunction !== 'function') {
|
|
1652
1504
|
return;
|
|
1653
1505
|
}
|
|
1654
|
-
|
|
1655
1506
|
hooks[entryPoint] = hooks[entryPoint] || [];
|
|
1656
1507
|
arrayPush(hooks[entryPoint], hookFunction);
|
|
1657
1508
|
};
|
|
1509
|
+
|
|
1658
1510
|
/**
|
|
1659
1511
|
* RemoveHook
|
|
1660
1512
|
* Public method to remove a DOMPurify hook at a given entryPoint
|
|
@@ -1663,40 +1515,34 @@ var purify$2 = {exports: {}};
|
|
|
1663
1515
|
* @param {String} entryPoint entry point for the hook to remove
|
|
1664
1516
|
* @return {Function} removed(popped) hook
|
|
1665
1517
|
*/
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
1518
|
DOMPurify.removeHook = function (entryPoint) {
|
|
1669
1519
|
if (hooks[entryPoint]) {
|
|
1670
1520
|
return arrayPop(hooks[entryPoint]);
|
|
1671
1521
|
}
|
|
1672
1522
|
};
|
|
1523
|
+
|
|
1673
1524
|
/**
|
|
1674
1525
|
* RemoveHooks
|
|
1675
1526
|
* Public method to remove all DOMPurify hooks at a given entryPoint
|
|
1676
1527
|
*
|
|
1677
1528
|
* @param {String} entryPoint entry point for the hooks to remove
|
|
1678
1529
|
*/
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
1530
|
DOMPurify.removeHooks = function (entryPoint) {
|
|
1682
1531
|
if (hooks[entryPoint]) {
|
|
1683
1532
|
hooks[entryPoint] = [];
|
|
1684
1533
|
}
|
|
1685
1534
|
};
|
|
1535
|
+
|
|
1686
1536
|
/**
|
|
1687
1537
|
* RemoveAllHooks
|
|
1688
1538
|
* Public method to remove all DOMPurify hooks
|
|
1689
1539
|
*
|
|
1690
1540
|
*/
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
1541
|
DOMPurify.removeAllHooks = function () {
|
|
1694
1542
|
hooks = {};
|
|
1695
1543
|
};
|
|
1696
|
-
|
|
1697
1544
|
return DOMPurify;
|
|
1698
1545
|
}
|
|
1699
|
-
|
|
1700
1546
|
var purify = createDOMPurify();
|
|
1701
1547
|
|
|
1702
1548
|
return purify;
|