@dso-toolkit/core 73.0.1 → 73.2.0
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/{annotation-body-BBlFDtNQ.js → annotation-body-DiF6OSBJ.js} +3 -3
- package/dist/cjs/annotation-body-DiF6OSBJ.js.map +1 -0
- package/dist/cjs/{annotation-list-renvooi-values-BRsXjGPr.js → annotation-list-renvooi-values-BsuXHY9R.js} +3 -3
- package/dist/cjs/annotation-list-renvooi-values-BsuXHY9R.js.map +1 -0
- package/dist/cjs/{annotation-symbol-slot-Ko-yyBqQ.js → annotation-watcher-8xS6vsxu.js} +5 -5
- package/dist/cjs/annotation-watcher-8xS6vsxu.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +3 -3
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +36 -36
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +6 -6
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +7 -7
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter.dso-expandable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
- package/dist/cjs/dso-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +33 -33
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-document-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-document-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +2 -2
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-highlight-box.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-icon.cjs.entry.js +39 -39
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
- package/dist/cjs/dso-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
- package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-logo.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-base-layers.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-overlays.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-overlays.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +4 -4
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +29 -17
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-responsive-element.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-scrollable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-scrollable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-skiplink.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toggletip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tree-view.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1105 -1105
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
- package/dist/cjs/{i18n-D9iWFntP.js → i18n-yRiEgk_k.js} +123 -204
- package/dist/cjs/i18n-yRiEgk_k.js.map +1 -0
- package/dist/cjs/{index-DvrTSHdI.js → index-Bfuot2fD.js} +3 -3
- package/dist/cjs/{index-DvrTSHdI.js.map → index-Bfuot2fD.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.css +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/action-list.js.map +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js.map +1 -1
- package/dist/collection/components/advanced-select/advanced-select.js +3 -3
- package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +4 -4
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
- package/dist/collection/components/annotation/annotation-body.js.map +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +3 -3
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +2 -2
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js.map +1 -1
- package/dist/collection/components/annotation/annotation-list-renvooi-values.js.map +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +2 -2
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js.map +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +3 -3
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/collection/components/annotation/annotation-symbol-slot.js.map +1 -1
- package/dist/collection/components/annotation/annotation.css +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js.map +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/badge/badge.js.map +1 -1
- package/dist/collection/components/banner/banner.js.map +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-container/card-container.js +2 -2
- package/dist/collection/components/card-container/card-container.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +5 -5
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-month.js.map +1 -1
- package/dist/collection/components/document-card/document-card.css +12 -7
- package/dist/collection/components/document-card/document-card.js +2 -2
- package/dist/collection/components/document-card/document-card.js.map +1 -1
- package/dist/collection/components/document-component/document-component-heading.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +3 -3
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +3 -3
- package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/collection/components/expandable/expandable.js +1 -1
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +2 -2
- package/dist/collection/components/highlight-box/highlight-box.js.map +1 -1
- package/dist/collection/components/icon/icon.js +8 -8
- package/dist/collection/components/icon/icon.js.map +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
- package/dist/collection/components/info/info.js +2 -2
- package/dist/collection/components/info/info.js.map +1 -1
- package/dist/collection/components/info-button/info-button.js +2 -2
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +3 -3
- package/dist/collection/components/input-range/input-range.js.map +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +3 -3
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/list-button/list-button.js +2 -2
- package/dist/collection/components/list-button/list-button.js.map +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/logo/logo.js.map +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
- package/dist/collection/components/map-controls/map-controls.css +8 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js.map +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.css +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +3 -3
- package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
- package/dist/collection/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/abbr.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/al.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/al.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/lijst.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/text.node.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +12 -8
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +2 -2
- package/dist/collection/components/plekinfo-card/plekinfo-card.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/project-item/project-item.js +2 -2
- package/dist/collection/components/project-item/project-item.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render-text.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi.js.map +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +2 -2
- package/dist/collection/components/responsive-element/responsive-element.js.map +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js.map +1 -1
- package/dist/collection/components/selectable/selectable.js +2 -2
- package/dist/collection/components/selectable/selectable.js.map +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js.map +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +2 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/tabs/components/tab.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/toggletip/toggletip.js +2 -2
- package/dist/collection/components/toggletip/toggletip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-view/tree-item.js +1 -1
- package/dist/collection/components/tree-view/tree-item.js.map +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/document-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/filterpanel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/collection/utils/i18n.js +2 -2
- package/dist/collection/utils/i18n.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/annotation-body.js.map +1 -1
- package/dist/components/annotation-list-renvooi-values.js.map +1 -1
- package/dist/components/annotation-locatie.js +2 -2
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/{annotation-symbol-slot.js → annotation-watcher.js} +4 -4
- package/dist/components/annotation-watcher.js.map +1 -0
- package/dist/components/attachments-counter.js.map +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-accordion.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +3 -3
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +3 -3
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +3 -3
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +2 -2
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-banner.js.map +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card-container.js.map +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-date-picker-legacy.js +32 -32
- package/dist/components/dso-date-picker-legacy.js.map +1 -1
- package/dist/components/dso-date-picker.js.map +1 -1
- package/dist/components/dso-document-card.js +2 -2
- package/dist/components/dso-document-card.js.map +1 -1
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-highlight-box.js.map +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-input-range.js.map +1 -1
- package/dist/components/dso-legend-item.js +2 -2
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-logo.js.map +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +2 -2
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +2 -2
- package/dist/components/dso-modal.js.map +1 -1
- package/dist/components/dso-onboarding-tip.js +28 -16
- package/dist/components/dso-onboarding-tip.js.map +1 -1
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-plekinfo-card.js +2 -2
- package/dist/components/dso-plekinfo-card.js.map +1 -1
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-progress-bar.js.map +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-project-item.js.map +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-skiplink.js.map +1 -1
- package/dist/components/dso-survey-rating.js +2 -2
- package/dist/components/dso-survey-rating.js.map +1 -1
- package/dist/components/dso-tab.js.map +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tabs.js.map +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-tree-view.js.map +1 -1
- package/dist/components/dso-viewer-grid.js +3 -3
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/dsot-document-component-demo.js +1105 -1105
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/i18n.js +121 -202
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/icon.js +38 -38
- package/dist/components/icon.js.map +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/info.js.map +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +30 -30
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/progress-indicator.js.map +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/responsive-element.js.map +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/scrollable.js.map +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-attachments-counter.dso-expandable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-autosuggest.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-banner.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card-container.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker-legacy.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-document-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-dropdown-menu.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-highlight-box.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-input-range.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-legend-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-logo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-base-layers.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-overlays.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-mark-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-modal.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-pagination.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-indicator.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-project-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-responsive-element.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-scrollable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-skiplink.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tab.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tabs.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toggletip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tooltip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tree-view.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-2d22eaa5.entry.js → p-03fb6237.entry.js} +2 -2
- package/dist/dso-toolkit/p-03fb6237.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-a0960751.entry.js → p-0764520c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-a0960751.entry.js.map → p-0764520c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-638cfb25.entry.js → p-09ec6ce5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-638cfb25.entry.js.map → p-09ec6ce5.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-0c742a6a.entry.js +2 -0
- package/dist/dso-toolkit/{p-ce882c53.entry.js.map → p-0c742a6a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3dc6df90.entry.js → p-0feea762.entry.js} +2 -2
- package/dist/dso-toolkit/p-0feea762.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-13042742.entry.js → p-1107be6c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-13042742.entry.js.map → p-1107be6c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3ada9fe0.entry.js → p-15c901ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-15c901ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-23c5e409.entry.js → p-19af64f1.entry.js} +2 -2
- package/dist/dso-toolkit/p-19af64f1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-45a523e5.entry.js → p-1b3db27c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-45a523e5.entry.js.map → p-1b3db27c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c1f19841.entry.js → p-2510276b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c1f19841.entry.js.map → p-2510276b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6bbde78f.entry.js → p-2b1c6af2.entry.js} +2 -2
- package/dist/dso-toolkit/p-2b1c6af2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js +2 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-49fc2235.entry.js → p-2dc3dc9a.entry.js} +2 -2
- package/dist/dso-toolkit/p-2dc3dc9a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-f35cd2b5.entry.js → p-320629e5.entry.js} +2 -2
- package/dist/dso-toolkit/p-320629e5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-aa6c0df1.entry.js → p-322b7db4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-aa6c0df1.entry.js.map → p-322b7db4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-47936ff6.entry.js → p-32503cd9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-47936ff6.entry.js.map → p-32503cd9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f579815f.entry.js → p-35e1d8a4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f579815f.entry.js.map → p-35e1d8a4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4a034e40.entry.js → p-3888525c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4a034e40.entry.js.map → p-3888525c.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-38a17746.entry.js → p-3c74fd03.entry.js} +2 -2
- package/dist/dso-toolkit/{p-38a17746.entry.js.map → p-3c74fd03.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-60a2339f.entry.js → p-400fede0.entry.js} +2 -2
- package/dist/dso-toolkit/p-400fede0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0917a964.entry.js → p-4160d2e0.entry.js} +2 -2
- package/dist/dso-toolkit/p-4160d2e0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-487f46df.entry.js → p-469ca170.entry.js} +2 -2
- package/dist/dso-toolkit/{p-487f46df.entry.js.map → p-469ca170.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-514665a1.entry.js +2 -0
- package/dist/dso-toolkit/p-514665a1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-52cd0064.entry.js → p-5c7331de.entry.js} +2 -2
- package/dist/dso-toolkit/{p-52cd0064.entry.js.map → p-5c7331de.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-62ecc855.entry.js +2 -0
- package/dist/dso-toolkit/p-62ecc855.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6a156238.entry.js +2 -0
- package/dist/dso-toolkit/p-6a156238.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-15700a11.entry.js → p-6c1feb1f.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6841ccee.entry.js → p-7020a1ec.entry.js} +2 -2
- package/dist/dso-toolkit/{p-6841ccee.entry.js.map → p-7020a1ec.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-8a677aba.entry.js → p-73f027ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-73f027ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-e097b372.entry.js → p-7a3c51ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e097b372.entry.js.map → p-7a3c51ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-78420f02.entry.js → p-7d142b40.entry.js} +2 -2
- package/dist/dso-toolkit/p-7d142b40.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-a676810d.entry.js → p-8084c884.entry.js} +2 -2
- package/dist/dso-toolkit/p-8084c884.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0b902049.entry.js → p-90ead8a5.entry.js} +2 -2
- package/dist/dso-toolkit/p-90ead8a5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-0a38c6fa.entry.js → p-94cea134.entry.js} +2 -2
- package/dist/dso-toolkit/p-94cea134.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-08aa7f78.entry.js → p-9a30700a.entry.js} +2 -2
- package/dist/dso-toolkit/{p-08aa7f78.entry.js.map → p-9a30700a.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-B_kXuEcW.js +2 -0
- package/dist/dso-toolkit/p-B_kXuEcW.js.map +1 -0
- package/dist/dso-toolkit/{p-D2Jo0W7B.js → p-C-b4jsbt.js} +1 -1
- package/dist/dso-toolkit/{p-D2Jo0W7B.js.map → p-C-b4jsbt.js.map} +1 -1
- package/dist/dso-toolkit/{p-ChsEPkam.js → p-D5RszRxh.js} +2 -2
- package/dist/dso-toolkit/p-D5RszRxh.js.map +1 -0
- package/dist/dso-toolkit/p-Ds10WquL.js +2 -0
- package/dist/dso-toolkit/p-Ds10WquL.js.map +1 -0
- package/dist/dso-toolkit/p-LncMPpG-.js +2 -0
- package/dist/dso-toolkit/p-LncMPpG-.js.map +1 -0
- package/dist/dso-toolkit/{p-8123ed2f.entry.js → p-a61470ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8123ed2f.entry.js.map → p-a61470ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4fd85452.entry.js → p-aa5dc824.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4fd85452.entry.js.map → p-aa5dc824.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-ad8a1705.entry.js +2 -0
- package/dist/dso-toolkit/{p-eea3b9c8.entry.js.map → p-ad8a1705.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-be3f30c8.entry.js → p-b615471f.entry.js} +2 -2
- package/dist/dso-toolkit/p-b615471f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-bd717c9b.entry.js +2 -0
- package/dist/dso-toolkit/{p-75819075.entry.js.map → p-bd717c9b.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-c0410277.entry.js +2 -0
- package/dist/dso-toolkit/p-c0410277.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js +2 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-8941035f.entry.js → p-c4fe6ee2.entry.js} +2 -2
- package/dist/dso-toolkit/{p-8941035f.entry.js.map → p-c4fe6ee2.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-1f7f6d8b.entry.js → p-d4db08c7.entry.js} +2 -2
- package/dist/dso-toolkit/p-d4db08c7.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-fa1cbcb0.entry.js → p-db6b2bb9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-fa1cbcb0.entry.js.map → p-db6b2bb9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f0d63537.entry.js → p-dc33f3aa.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f0d63537.entry.js.map → p-dc33f3aa.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-de3ed856.entry.js +2 -0
- package/dist/dso-toolkit/{p-e3ddc3cf.entry.js.map → p-de3ed856.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-1882b8ad.entry.js → p-e9053e12.entry.js} +2 -2
- package/dist/dso-toolkit/p-e9053e12.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-ee4c2669.entry.js → p-eafec507.entry.js} +2 -2
- package/dist/dso-toolkit/p-eafec507.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-49c301fd.entry.js → p-edda55f0.entry.js} +2 -2
- package/dist/dso-toolkit/{p-49c301fd.entry.js.map → p-edda55f0.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f1999525.entry.js +2 -0
- package/dist/dso-toolkit/p-f1999525.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-33acabc1.entry.js → p-f9b41ef6.entry.js} +2 -2
- package/dist/dso-toolkit/p-f9b41ef6.entry.js.map +1 -0
- package/dist/dso-toolkit/p-fa850439.entry.js +2 -0
- package/dist/dso-toolkit/p-fa850439.entry.js.map +1 -0
- package/dist/esm/{annotation-body-C13C3XCU.js → annotation-body-CHp1npGM.js} +3 -3
- package/dist/esm/annotation-body-CHp1npGM.js.map +1 -0
- package/dist/esm/{annotation-list-renvooi-values-D75KxHAC.js → annotation-list-renvooi-values-D1J_Fugb.js} +3 -3
- package/dist/esm/annotation-list-renvooi-values-D1J_Fugb.js.map +1 -0
- package/dist/esm/{annotation-symbol-slot-CRK43mu1.js → annotation-watcher-B4Wi05lj.js} +5 -5
- package/dist/esm/annotation-watcher-B4Wi05lj.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +2 -2
- package/dist/esm/dso-accordion.entry.js.map +1 -1
- package/dist/esm/dso-action-list-item.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +3 -3
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +36 -36
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +6 -6
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +5 -5
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +4 -4
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter.dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-banner.entry.js.map +1 -1
- package/dist/esm/dso-card-container.entry.js +2 -2
- package/dist/esm/dso-card-container.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +33 -33
- package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js.map +1 -1
- package/dist/esm/dso-document-card.entry.js +3 -3
- package/dist/esm/dso-document-card.entry.js.map +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-dropdown-menu.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +2 -2
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-highlight-box.entry.js.map +1 -1
- package/dist/esm/dso-icon.entry.js +39 -39
- package/dist/esm/dso-icon.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +2 -2
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-info_2.entry.js.map +1 -1
- package/dist/esm/dso-input-range.entry.js +3 -3
- package/dist/esm/dso-input-range.entry.js.map +1 -1
- package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
- package/dist/esm/dso-label_3.entry.js +5 -5
- package/dist/esm/dso-label_3.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-logo.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js.map +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +3 -3
- package/dist/esm/dso-map-base-layers.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +4 -4
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +3 -3
- package/dist/esm/dso-map-overlays.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +4 -4
- package/dist/esm/dso-modal.entry.js.map +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +29 -17
- package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +3 -3
- package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +2 -2
- package/dist/esm/dso-progress-bar.entry.js.map +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +3 -3
- package/dist/esm/dso-progress-indicator.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-project-item.entry.js.map +1 -1
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js.map +1 -1
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-scrollable.entry.js.map +1 -1
- package/dist/esm/dso-skiplink.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js.map +1 -1
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-survey-rating.entry.js.map +1 -1
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tab.entry.js.map +1 -1
- package/dist/esm/dso-tabs.entry.js +2 -2
- package/dist/esm/dso-tabs.entry.js.map +1 -1
- package/dist/esm/dso-toggletip.entry.js +2 -2
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-toolkit.js +3 -3
- package/dist/esm/dso-toolkit.js.map +1 -1
- package/dist/esm/dso-tooltip.entry.js +4 -4
- package/dist/esm/dso-tooltip.entry.js.map +1 -1
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-tree-view.entry.js.map +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +4 -4
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1106 -1106
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/{i18n-BbNJ4wXp.js → i18n-B_kXuEcW.js} +123 -204
- package/dist/esm/i18n-B_kXuEcW.js.map +1 -0
- package/dist/esm/{index-D2Jo0W7B.js → index-C-b4jsbt.js} +3 -3
- package/dist/esm/{index-D2Jo0W7B.js.map → index-C-b4jsbt.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/scripts/readme.js +1 -1
- package/dist/scripts/readme.js.map +1 -1
- package/dist/types/components/accordion/components/accordion-section.d.ts +1 -1
- package/dist/types/components/advanced-select/advanced-select.d.ts +1 -1
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +1 -1
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +1 -1
- package/dist/types/components/annotation/annotation-kaart/annotation-kaart.d.ts +1 -1
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +1 -1
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +1 -1
- package/dist/types/components/date-picker-legacy/date-picker-legacy.d.ts +1 -1
- package/dist/types/components/document-component/document-component.d.ts +1 -1
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +1 -1
- package/dist/types/components/mark-bar/mark-bar.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/abbr.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +1 -1
- package/dist/types/components/tree-view/tree-item.d.ts +1 -1
- package/dist/types/components/tree-view/tree-view.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/document-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/main-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -1
- package/package.json +8 -8
- package/dist/cjs/annotation-body-BBlFDtNQ.js.map +0 -1
- package/dist/cjs/annotation-list-renvooi-values-BRsXjGPr.js.map +0 -1
- package/dist/cjs/annotation-symbol-slot-Ko-yyBqQ.js.map +0 -1
- package/dist/cjs/i18n-D9iWFntP.js.map +0 -1
- package/dist/components/annotation-symbol-slot.js.map +0 -1
- package/dist/dso-toolkit/p-0917a964.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0a38c6fa.entry.js.map +0 -1
- package/dist/dso-toolkit/p-0b902049.entry.js.map +0 -1
- package/dist/dso-toolkit/p-13b2dc83.entry.js +0 -2
- package/dist/dso-toolkit/p-13b2dc83.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1882b8ad.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1f7f6d8b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-23c5e409.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2a0e7fab.entry.js +0 -2
- package/dist/dso-toolkit/p-2a0e7fab.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2cac4eb4.entry.js +0 -2
- package/dist/dso-toolkit/p-2cac4eb4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2d22eaa5.entry.js.map +0 -1
- package/dist/dso-toolkit/p-33acabc1.entry.js.map +0 -1
- package/dist/dso-toolkit/p-33e435a4.entry.js +0 -2
- package/dist/dso-toolkit/p-33e435a4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3ada9fe0.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3dc6df90.entry.js.map +0 -1
- package/dist/dso-toolkit/p-49fc2235.entry.js.map +0 -1
- package/dist/dso-toolkit/p-60a2339f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-621a9bbb.entry.js +0 -2
- package/dist/dso-toolkit/p-621a9bbb.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6bbde78f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-75819075.entry.js +0 -2
- package/dist/dso-toolkit/p-78420f02.entry.js.map +0 -1
- package/dist/dso-toolkit/p-8a677aba.entry.js.map +0 -1
- package/dist/dso-toolkit/p-BbNJ4wXp.js +0 -2
- package/dist/dso-toolkit/p-BbNJ4wXp.js.map +0 -1
- package/dist/dso-toolkit/p-COKRRU_q.js +0 -2
- package/dist/dso-toolkit/p-COKRRU_q.js.map +0 -1
- package/dist/dso-toolkit/p-ChsEPkam.js.map +0 -1
- package/dist/dso-toolkit/p-D4cSA4l8.js +0 -2
- package/dist/dso-toolkit/p-D4cSA4l8.js.map +0 -1
- package/dist/dso-toolkit/p-a676810d.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ad5f409c.entry.js +0 -2
- package/dist/dso-toolkit/p-ad5f409c.entry.js.map +0 -1
- package/dist/dso-toolkit/p-be3f30c8.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ce882c53.entry.js +0 -2
- package/dist/dso-toolkit/p-e3ddc3cf.entry.js +0 -2
- package/dist/dso-toolkit/p-e990ee37.entry.js +0 -2
- package/dist/dso-toolkit/p-e990ee37.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ee4c2669.entry.js.map +0 -1
- package/dist/dso-toolkit/p-eea3b9c8.entry.js +0 -2
- package/dist/dso-toolkit/p-eebf32bf.entry.js +0 -2
- package/dist/dso-toolkit/p-eebf32bf.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f35cd2b5.entry.js.map +0 -1
- package/dist/esm/annotation-body-C13C3XCU.js.map +0 -1
- package/dist/esm/annotation-list-renvooi-values-D75KxHAC.js.map +0 -1
- package/dist/esm/annotation-symbol-slot-CRK43mu1.js.map +0 -1
- package/dist/esm/i18n-BbNJ4wXp.js.map +0 -1
- /package/dist/dso-toolkit/{p-15700a11.entry.js.map → p-6c1feb1f.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-C-b4jsbt.js';
|
|
2
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-BFTU3MAI.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -10,12 +10,12 @@ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHe
|
|
|
10
10
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var lodash_random;
|
|
14
|
+
var hasRequiredLodash_random;
|
|
15
15
|
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
|
|
16
|
+
function requireLodash_random () {
|
|
17
|
+
if (hasRequiredLodash_random) return lodash_random;
|
|
18
|
+
hasRequiredLodash_random = 1;
|
|
19
19
|
/** Used as references for various `Number` constants. */
|
|
20
20
|
var INFINITY = 1 / 0,
|
|
21
21
|
MAX_SAFE_INTEGER = 9007199254740991,
|
|
@@ -23,24 +23,9 @@ function requireLodash_samplesize () {
|
|
|
23
23
|
NAN = 0 / 0;
|
|
24
24
|
|
|
25
25
|
/** `Object#toString` result references. */
|
|
26
|
-
var
|
|
27
|
-
funcTag = '[object Function]',
|
|
26
|
+
var funcTag = '[object Function]',
|
|
28
27
|
genTag = '[object GeneratorFunction]',
|
|
29
|
-
|
|
30
|
-
objectTag = '[object Object]',
|
|
31
|
-
promiseTag = '[object Promise]',
|
|
32
|
-
setTag = '[object Set]',
|
|
33
|
-
stringTag = '[object String]',
|
|
34
|
-
symbolTag = '[object Symbol]',
|
|
35
|
-
weakMapTag = '[object WeakMap]';
|
|
36
|
-
|
|
37
|
-
var dataViewTag = '[object DataView]';
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Used to match `RegExp`
|
|
41
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
42
|
-
*/
|
|
43
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
28
|
+
symbolTag = '[object Symbol]';
|
|
44
29
|
|
|
45
30
|
/** Used to match leading and trailing whitespace. */
|
|
46
31
|
var reTrim = /^\s+|\s+$/g;
|
|
@@ -51,1187 +36,886 @@ function requireLodash_samplesize () {
|
|
|
51
36
|
/** Used to detect binary string values. */
|
|
52
37
|
var reIsBinary = /^0b[01]+$/i;
|
|
53
38
|
|
|
54
|
-
/** Used to detect host constructors (Safari). */
|
|
55
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
56
|
-
|
|
57
39
|
/** Used to detect octal string values. */
|
|
58
40
|
var reIsOctal = /^0o[0-7]+$/i;
|
|
59
41
|
|
|
60
42
|
/** Used to detect unsigned integer values. */
|
|
61
43
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
62
44
|
|
|
63
|
-
/** Used to compose unicode character classes. */
|
|
64
|
-
var rsAstralRange = '\\ud800-\\udfff',
|
|
65
|
-
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
66
|
-
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
67
|
-
rsVarRange = '\\ufe0e\\ufe0f';
|
|
68
|
-
|
|
69
|
-
/** Used to compose unicode capture groups. */
|
|
70
|
-
var rsAstral = '[' + rsAstralRange + ']',
|
|
71
|
-
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
72
|
-
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
73
|
-
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
74
|
-
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
75
|
-
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
76
|
-
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
77
|
-
rsZWJ = '\\u200d';
|
|
78
|
-
|
|
79
|
-
/** Used to compose unicode regexes. */
|
|
80
|
-
var reOptMod = rsModifier + '?',
|
|
81
|
-
rsOptVar = '[' + rsVarRange + ']?',
|
|
82
|
-
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
83
|
-
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
84
|
-
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
85
|
-
|
|
86
|
-
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
87
|
-
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
88
|
-
|
|
89
|
-
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
90
|
-
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
91
|
-
|
|
92
45
|
/** Built-in method references without a dependency on `root`. */
|
|
93
|
-
var
|
|
46
|
+
var freeParseFloat = parseFloat,
|
|
47
|
+
freeParseInt = parseInt;
|
|
94
48
|
|
|
95
|
-
/**
|
|
96
|
-
var
|
|
49
|
+
/** Used for built-in method references. */
|
|
50
|
+
var objectProto = Object.prototype;
|
|
97
51
|
|
|
98
|
-
/**
|
|
99
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Used to resolve the
|
|
54
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
55
|
+
* of values.
|
|
56
|
+
*/
|
|
57
|
+
var objectToString = objectProto.toString;
|
|
100
58
|
|
|
101
|
-
|
|
102
|
-
var
|
|
59
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
60
|
+
var nativeFloor = Math.floor,
|
|
61
|
+
nativeMin = Math.min,
|
|
62
|
+
nativeRandom = Math.random;
|
|
103
63
|
|
|
104
64
|
/**
|
|
105
|
-
*
|
|
106
|
-
*
|
|
65
|
+
* The base implementation of `_.random` without support for returning
|
|
66
|
+
* floating-point numbers.
|
|
107
67
|
*
|
|
108
68
|
* @private
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
111
|
-
* @returns {
|
|
69
|
+
* @param {number} lower The lower bound.
|
|
70
|
+
* @param {number} upper The upper bound.
|
|
71
|
+
* @returns {number} Returns the random number.
|
|
112
72
|
*/
|
|
113
|
-
function
|
|
114
|
-
|
|
115
|
-
length = array ? array.length : 0,
|
|
116
|
-
result = Array(length);
|
|
117
|
-
|
|
118
|
-
while (++index < length) {
|
|
119
|
-
result[index] = iteratee(array[index], index, array);
|
|
120
|
-
}
|
|
121
|
-
return result;
|
|
73
|
+
function baseRandom(lower, upper) {
|
|
74
|
+
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
122
75
|
}
|
|
123
76
|
|
|
124
77
|
/**
|
|
125
|
-
*
|
|
78
|
+
* Checks if `value` is a valid array-like index.
|
|
126
79
|
*
|
|
127
80
|
* @private
|
|
128
|
-
* @param {
|
|
129
|
-
* @
|
|
81
|
+
* @param {*} value The value to check.
|
|
82
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
83
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
130
84
|
*/
|
|
131
|
-
function
|
|
132
|
-
|
|
85
|
+
function isIndex(value, length) {
|
|
86
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
87
|
+
return !!length &&
|
|
88
|
+
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
89
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
133
90
|
}
|
|
134
91
|
|
|
135
92
|
/**
|
|
136
|
-
*
|
|
137
|
-
* or max array length checks.
|
|
93
|
+
* Checks if the given arguments are from an iteratee call.
|
|
138
94
|
*
|
|
139
95
|
* @private
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {
|
|
142
|
-
* @
|
|
96
|
+
* @param {*} value The potential iteratee value argument.
|
|
97
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
98
|
+
* @param {*} object The potential iteratee object argument.
|
|
99
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
100
|
+
* else `false`.
|
|
143
101
|
*/
|
|
144
|
-
function
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
while (++index < n) {
|
|
149
|
-
result[index] = iteratee(index);
|
|
102
|
+
function isIterateeCall(value, index, object) {
|
|
103
|
+
if (!isObject(object)) {
|
|
104
|
+
return false;
|
|
150
105
|
}
|
|
151
|
-
|
|
106
|
+
var type = typeof index;
|
|
107
|
+
if (type == 'number'
|
|
108
|
+
? (isArrayLike(object) && isIndex(index, object.length))
|
|
109
|
+
: (type == 'string' && index in object)
|
|
110
|
+
) {
|
|
111
|
+
return eq(object[index], value);
|
|
112
|
+
}
|
|
113
|
+
return false;
|
|
152
114
|
}
|
|
153
115
|
|
|
154
116
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
117
|
+
* Performs a
|
|
118
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
119
|
+
* comparison between two values to determine if they are equivalent.
|
|
158
120
|
*
|
|
159
|
-
* @
|
|
160
|
-
* @
|
|
161
|
-
* @
|
|
162
|
-
* @
|
|
121
|
+
* @static
|
|
122
|
+
* @memberOf _
|
|
123
|
+
* @since 4.0.0
|
|
124
|
+
* @category Lang
|
|
125
|
+
* @param {*} value The value to compare.
|
|
126
|
+
* @param {*} other The other value to compare.
|
|
127
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
128
|
+
* @example
|
|
129
|
+
*
|
|
130
|
+
* var object = { 'a': 1 };
|
|
131
|
+
* var other = { 'a': 1 };
|
|
132
|
+
*
|
|
133
|
+
* _.eq(object, object);
|
|
134
|
+
* // => true
|
|
135
|
+
*
|
|
136
|
+
* _.eq(object, other);
|
|
137
|
+
* // => false
|
|
138
|
+
*
|
|
139
|
+
* _.eq('a', 'a');
|
|
140
|
+
* // => true
|
|
141
|
+
*
|
|
142
|
+
* _.eq('a', Object('a'));
|
|
143
|
+
* // => false
|
|
144
|
+
*
|
|
145
|
+
* _.eq(NaN, NaN);
|
|
146
|
+
* // => true
|
|
163
147
|
*/
|
|
164
|
-
function
|
|
165
|
-
return
|
|
166
|
-
return object[key];
|
|
167
|
-
});
|
|
148
|
+
function eq(value, other) {
|
|
149
|
+
return value === other || (value !== value && other !== other);
|
|
168
150
|
}
|
|
169
151
|
|
|
170
152
|
/**
|
|
171
|
-
*
|
|
153
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
154
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
155
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
172
156
|
*
|
|
173
|
-
* @
|
|
174
|
-
* @
|
|
175
|
-
* @
|
|
176
|
-
* @
|
|
157
|
+
* @static
|
|
158
|
+
* @memberOf _
|
|
159
|
+
* @since 4.0.0
|
|
160
|
+
* @category Lang
|
|
161
|
+
* @param {*} value The value to check.
|
|
162
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
163
|
+
* @example
|
|
164
|
+
*
|
|
165
|
+
* _.isArrayLike([1, 2, 3]);
|
|
166
|
+
* // => true
|
|
167
|
+
*
|
|
168
|
+
* _.isArrayLike(document.body.children);
|
|
169
|
+
* // => true
|
|
170
|
+
*
|
|
171
|
+
* _.isArrayLike('abc');
|
|
172
|
+
* // => true
|
|
173
|
+
*
|
|
174
|
+
* _.isArrayLike(_.noop);
|
|
175
|
+
* // => false
|
|
177
176
|
*/
|
|
178
|
-
function
|
|
179
|
-
return
|
|
177
|
+
function isArrayLike(value) {
|
|
178
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
/**
|
|
183
|
-
* Checks if `
|
|
182
|
+
* Checks if `value` is classified as a `Function` object.
|
|
184
183
|
*
|
|
185
|
-
* @
|
|
186
|
-
* @
|
|
187
|
-
* @
|
|
184
|
+
* @static
|
|
185
|
+
* @memberOf _
|
|
186
|
+
* @since 0.1.0
|
|
187
|
+
* @category Lang
|
|
188
|
+
* @param {*} value The value to check.
|
|
189
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
190
|
+
* @example
|
|
191
|
+
*
|
|
192
|
+
* _.isFunction(_);
|
|
193
|
+
* // => true
|
|
194
|
+
*
|
|
195
|
+
* _.isFunction(/abc/);
|
|
196
|
+
* // => false
|
|
188
197
|
*/
|
|
189
|
-
function
|
|
190
|
-
|
|
198
|
+
function isFunction(value) {
|
|
199
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
200
|
+
// in Safari 8-9 which returns 'object' for typed array and other constructors.
|
|
201
|
+
var tag = isObject(value) ? objectToString.call(value) : '';
|
|
202
|
+
return tag == funcTag || tag == genTag;
|
|
191
203
|
}
|
|
192
204
|
|
|
193
205
|
/**
|
|
194
|
-
* Checks if `value` is a
|
|
206
|
+
* Checks if `value` is a valid array-like length.
|
|
195
207
|
*
|
|
196
|
-
*
|
|
208
|
+
* **Note:** This method is loosely based on
|
|
209
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
210
|
+
*
|
|
211
|
+
* @static
|
|
212
|
+
* @memberOf _
|
|
213
|
+
* @since 4.0.0
|
|
214
|
+
* @category Lang
|
|
197
215
|
* @param {*} value The value to check.
|
|
198
|
-
* @returns {boolean} Returns `true` if `value` is a
|
|
199
|
-
|
|
200
|
-
function isHostObject(value) {
|
|
201
|
-
// Many host objects are `Object` objects that can coerce to strings
|
|
202
|
-
// despite having improperly defined `toString` methods.
|
|
203
|
-
var result = false;
|
|
204
|
-
if (value != null && typeof value.toString != 'function') {
|
|
205
|
-
try {
|
|
206
|
-
result = !!(value + '');
|
|
207
|
-
} catch (e) {}
|
|
208
|
-
}
|
|
209
|
-
return result;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Converts `iterator` to an array.
|
|
216
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
217
|
+
* @example
|
|
214
218
|
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
219
|
+
* _.isLength(3);
|
|
220
|
+
* // => true
|
|
221
|
+
*
|
|
222
|
+
* _.isLength(Number.MIN_VALUE);
|
|
223
|
+
* // => false
|
|
224
|
+
*
|
|
225
|
+
* _.isLength(Infinity);
|
|
226
|
+
* // => false
|
|
227
|
+
*
|
|
228
|
+
* _.isLength('3');
|
|
229
|
+
* // => false
|
|
218
230
|
*/
|
|
219
|
-
function
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
while (!(data = iterator.next()).done) {
|
|
224
|
-
result.push(data.value);
|
|
225
|
-
}
|
|
226
|
-
return result;
|
|
231
|
+
function isLength(value) {
|
|
232
|
+
return typeof value == 'number' &&
|
|
233
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
227
234
|
}
|
|
228
235
|
|
|
229
236
|
/**
|
|
230
|
-
*
|
|
237
|
+
* Checks if `value` is the
|
|
238
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
239
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
231
240
|
*
|
|
232
|
-
* @
|
|
233
|
-
* @
|
|
234
|
-
* @
|
|
241
|
+
* @static
|
|
242
|
+
* @memberOf _
|
|
243
|
+
* @since 0.1.0
|
|
244
|
+
* @category Lang
|
|
245
|
+
* @param {*} value The value to check.
|
|
246
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
247
|
+
* @example
|
|
248
|
+
*
|
|
249
|
+
* _.isObject({});
|
|
250
|
+
* // => true
|
|
251
|
+
*
|
|
252
|
+
* _.isObject([1, 2, 3]);
|
|
253
|
+
* // => true
|
|
254
|
+
*
|
|
255
|
+
* _.isObject(_.noop);
|
|
256
|
+
* // => true
|
|
257
|
+
*
|
|
258
|
+
* _.isObject(null);
|
|
259
|
+
* // => false
|
|
235
260
|
*/
|
|
236
|
-
function
|
|
237
|
-
var
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
map.forEach(function(value, key) {
|
|
241
|
-
result[++index] = [key, value];
|
|
242
|
-
});
|
|
243
|
-
return result;
|
|
261
|
+
function isObject(value) {
|
|
262
|
+
var type = typeof value;
|
|
263
|
+
return !!value && (type == 'object' || type == 'function');
|
|
244
264
|
}
|
|
245
265
|
|
|
246
266
|
/**
|
|
247
|
-
*
|
|
267
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
268
|
+
* and has a `typeof` result of "object".
|
|
248
269
|
*
|
|
249
|
-
* @
|
|
250
|
-
* @
|
|
251
|
-
* @
|
|
252
|
-
* @
|
|
270
|
+
* @static
|
|
271
|
+
* @memberOf _
|
|
272
|
+
* @since 4.0.0
|
|
273
|
+
* @category Lang
|
|
274
|
+
* @param {*} value The value to check.
|
|
275
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
276
|
+
* @example
|
|
277
|
+
*
|
|
278
|
+
* _.isObjectLike({});
|
|
279
|
+
* // => true
|
|
280
|
+
*
|
|
281
|
+
* _.isObjectLike([1, 2, 3]);
|
|
282
|
+
* // => true
|
|
283
|
+
*
|
|
284
|
+
* _.isObjectLike(_.noop);
|
|
285
|
+
* // => false
|
|
286
|
+
*
|
|
287
|
+
* _.isObjectLike(null);
|
|
288
|
+
* // => false
|
|
253
289
|
*/
|
|
254
|
-
function
|
|
255
|
-
return
|
|
256
|
-
return func(transform(arg));
|
|
257
|
-
};
|
|
290
|
+
function isObjectLike(value) {
|
|
291
|
+
return !!value && typeof value == 'object';
|
|
258
292
|
}
|
|
259
293
|
|
|
260
294
|
/**
|
|
261
|
-
*
|
|
295
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
262
296
|
*
|
|
263
|
-
* @
|
|
264
|
-
* @
|
|
265
|
-
* @
|
|
297
|
+
* @static
|
|
298
|
+
* @memberOf _
|
|
299
|
+
* @since 4.0.0
|
|
300
|
+
* @category Lang
|
|
301
|
+
* @param {*} value The value to check.
|
|
302
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
303
|
+
* @example
|
|
304
|
+
*
|
|
305
|
+
* _.isSymbol(Symbol.iterator);
|
|
306
|
+
* // => true
|
|
307
|
+
*
|
|
308
|
+
* _.isSymbol('abc');
|
|
309
|
+
* // => false
|
|
266
310
|
*/
|
|
267
|
-
function
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
set.forEach(function(value) {
|
|
272
|
-
result[++index] = value;
|
|
273
|
-
});
|
|
274
|
-
return result;
|
|
311
|
+
function isSymbol(value) {
|
|
312
|
+
return typeof value == 'symbol' ||
|
|
313
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
275
314
|
}
|
|
276
315
|
|
|
277
316
|
/**
|
|
278
|
-
* Converts `
|
|
317
|
+
* Converts `value` to a finite number.
|
|
279
318
|
*
|
|
280
|
-
* @
|
|
281
|
-
* @
|
|
282
|
-
* @
|
|
319
|
+
* @static
|
|
320
|
+
* @memberOf _
|
|
321
|
+
* @since 4.12.0
|
|
322
|
+
* @category Lang
|
|
323
|
+
* @param {*} value The value to convert.
|
|
324
|
+
* @returns {number} Returns the converted number.
|
|
325
|
+
* @example
|
|
326
|
+
*
|
|
327
|
+
* _.toFinite(3.2);
|
|
328
|
+
* // => 3.2
|
|
329
|
+
*
|
|
330
|
+
* _.toFinite(Number.MIN_VALUE);
|
|
331
|
+
* // => 5e-324
|
|
332
|
+
*
|
|
333
|
+
* _.toFinite(Infinity);
|
|
334
|
+
* // => 1.7976931348623157e+308
|
|
335
|
+
*
|
|
336
|
+
* _.toFinite('3.2');
|
|
337
|
+
* // => 3.2
|
|
283
338
|
*/
|
|
284
|
-
function
|
|
285
|
-
|
|
286
|
-
?
|
|
287
|
-
|
|
339
|
+
function toFinite(value) {
|
|
340
|
+
if (!value) {
|
|
341
|
+
return value === 0 ? value : 0;
|
|
342
|
+
}
|
|
343
|
+
value = toNumber(value);
|
|
344
|
+
if (value === INFINITY || value === -Infinity) {
|
|
345
|
+
var sign = (value < 0 ? -1 : 1);
|
|
346
|
+
return sign * MAX_INTEGER;
|
|
347
|
+
}
|
|
348
|
+
return value === value ? value : 0;
|
|
288
349
|
}
|
|
289
350
|
|
|
290
351
|
/**
|
|
291
|
-
* Converts
|
|
352
|
+
* Converts `value` to a number.
|
|
292
353
|
*
|
|
293
|
-
* @
|
|
294
|
-
* @
|
|
295
|
-
* @
|
|
354
|
+
* @static
|
|
355
|
+
* @memberOf _
|
|
356
|
+
* @since 4.0.0
|
|
357
|
+
* @category Lang
|
|
358
|
+
* @param {*} value The value to process.
|
|
359
|
+
* @returns {number} Returns the number.
|
|
360
|
+
* @example
|
|
361
|
+
*
|
|
362
|
+
* _.toNumber(3.2);
|
|
363
|
+
* // => 3.2
|
|
364
|
+
*
|
|
365
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
366
|
+
* // => 5e-324
|
|
367
|
+
*
|
|
368
|
+
* _.toNumber(Infinity);
|
|
369
|
+
* // => Infinity
|
|
370
|
+
*
|
|
371
|
+
* _.toNumber('3.2');
|
|
372
|
+
* // => 3.2
|
|
296
373
|
*/
|
|
297
|
-
function
|
|
298
|
-
|
|
374
|
+
function toNumber(value) {
|
|
375
|
+
if (typeof value == 'number') {
|
|
376
|
+
return value;
|
|
377
|
+
}
|
|
378
|
+
if (isSymbol(value)) {
|
|
379
|
+
return NAN;
|
|
380
|
+
}
|
|
381
|
+
if (isObject(value)) {
|
|
382
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
383
|
+
value = isObject(other) ? (other + '') : other;
|
|
384
|
+
}
|
|
385
|
+
if (typeof value != 'string') {
|
|
386
|
+
return value === 0 ? value : +value;
|
|
387
|
+
}
|
|
388
|
+
value = value.replace(reTrim, '');
|
|
389
|
+
var isBinary = reIsBinary.test(value);
|
|
390
|
+
return (isBinary || reIsOctal.test(value))
|
|
391
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
392
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
299
393
|
}
|
|
300
394
|
|
|
301
|
-
/** Used for built-in method references. */
|
|
302
|
-
var funcProto = Function.prototype,
|
|
303
|
-
objectProto = Object.prototype;
|
|
304
|
-
|
|
305
|
-
/** Used to detect overreaching core-js shims. */
|
|
306
|
-
var coreJsData = root['__core-js_shared__'];
|
|
307
|
-
|
|
308
|
-
/** Used to detect methods masquerading as native. */
|
|
309
|
-
var maskSrcKey = (function() {
|
|
310
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
311
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
312
|
-
}());
|
|
313
|
-
|
|
314
|
-
/** Used to resolve the decompiled source of functions. */
|
|
315
|
-
var funcToString = funcProto.toString;
|
|
316
|
-
|
|
317
|
-
/** Used to check objects for own properties. */
|
|
318
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
319
|
-
|
|
320
395
|
/**
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
|
|
325
|
-
var objectToString = objectProto.toString;
|
|
326
|
-
|
|
327
|
-
/** Used to detect if a method is native. */
|
|
328
|
-
var reIsNative = RegExp('^' +
|
|
329
|
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
330
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
331
|
-
);
|
|
332
|
-
|
|
333
|
-
/** Built-in value references. */
|
|
334
|
-
var Symbol = root.Symbol,
|
|
335
|
-
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
336
|
-
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
337
|
-
|
|
338
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
339
|
-
var nativeFloor = Math.floor,
|
|
340
|
-
nativeKeys = overArg(Object.keys, Object),
|
|
341
|
-
nativeRandom = Math.random;
|
|
342
|
-
|
|
343
|
-
/* Built-in method references that are verified to be native. */
|
|
344
|
-
var DataView = getNative(root, 'DataView'),
|
|
345
|
-
Map = getNative(root, 'Map'),
|
|
346
|
-
Promise = getNative(root, 'Promise'),
|
|
347
|
-
Set = getNative(root, 'Set'),
|
|
348
|
-
WeakMap = getNative(root, 'WeakMap');
|
|
349
|
-
|
|
350
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
351
|
-
var dataViewCtorString = toSource(DataView),
|
|
352
|
-
mapCtorString = toSource(Map),
|
|
353
|
-
promiseCtorString = toSource(Promise),
|
|
354
|
-
setCtorString = toSource(Set),
|
|
355
|
-
weakMapCtorString = toSource(WeakMap);
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
359
|
-
*
|
|
360
|
-
* @private
|
|
361
|
-
* @param {*} value The value to query.
|
|
362
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
363
|
-
* @returns {Array} Returns the array of property names.
|
|
364
|
-
*/
|
|
365
|
-
function arrayLikeKeys(value, inherited) {
|
|
366
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
367
|
-
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
368
|
-
var result = (isArray(value) || isArguments(value))
|
|
369
|
-
? baseTimes(value.length, String)
|
|
370
|
-
: [];
|
|
371
|
-
|
|
372
|
-
var length = result.length,
|
|
373
|
-
skipIndexes = !!length;
|
|
374
|
-
|
|
375
|
-
for (var key in value) {
|
|
376
|
-
if ((hasOwnProperty.call(value, key)) &&
|
|
377
|
-
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
378
|
-
result.push(key);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
return result;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
386
|
-
*
|
|
387
|
-
* @private
|
|
388
|
-
* @param {number} number The number to clamp.
|
|
389
|
-
* @param {number} [lower] The lower bound.
|
|
390
|
-
* @param {number} upper The upper bound.
|
|
391
|
-
* @returns {number} Returns the clamped number.
|
|
392
|
-
*/
|
|
393
|
-
function baseClamp(number, lower, upper) {
|
|
394
|
-
if (number === number) {
|
|
395
|
-
if (upper !== undefined) {
|
|
396
|
-
number = number <= upper ? number : upper;
|
|
397
|
-
}
|
|
398
|
-
{
|
|
399
|
-
number = number >= lower ? number : lower;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
return number;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* The base implementation of `getTag`.
|
|
407
|
-
*
|
|
408
|
-
* @private
|
|
409
|
-
* @param {*} value The value to query.
|
|
410
|
-
* @returns {string} Returns the `toStringTag`.
|
|
411
|
-
*/
|
|
412
|
-
function baseGetTag(value) {
|
|
413
|
-
return objectToString.call(value);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
418
|
-
*
|
|
419
|
-
* @private
|
|
420
|
-
* @param {*} value The value to check.
|
|
421
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
422
|
-
* else `false`.
|
|
423
|
-
*/
|
|
424
|
-
function baseIsNative(value) {
|
|
425
|
-
if (!isObject(value) || isMasked(value)) {
|
|
426
|
-
return false;
|
|
427
|
-
}
|
|
428
|
-
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
429
|
-
return pattern.test(toSource(value));
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
434
|
-
*
|
|
435
|
-
* @private
|
|
436
|
-
* @param {Object} object The object to query.
|
|
437
|
-
* @returns {Array} Returns the array of property names.
|
|
438
|
-
*/
|
|
439
|
-
function baseKeys(object) {
|
|
440
|
-
if (!isPrototype(object)) {
|
|
441
|
-
return nativeKeys(object);
|
|
442
|
-
}
|
|
443
|
-
var result = [];
|
|
444
|
-
for (var key in Object(object)) {
|
|
445
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
446
|
-
result.push(key);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
return result;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* The base implementation of `_.random` without support for returning
|
|
454
|
-
* floating-point numbers.
|
|
455
|
-
*
|
|
456
|
-
* @private
|
|
457
|
-
* @param {number} lower The lower bound.
|
|
458
|
-
* @param {number} upper The upper bound.
|
|
459
|
-
* @returns {number} Returns the random number.
|
|
460
|
-
*/
|
|
461
|
-
function baseRandom(lower, upper) {
|
|
462
|
-
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Copies the values of `source` to `array`.
|
|
467
|
-
*
|
|
468
|
-
* @private
|
|
469
|
-
* @param {Array} source The array to copy values from.
|
|
470
|
-
* @param {Array} [array=[]] The array to copy values to.
|
|
471
|
-
* @returns {Array} Returns `array`.
|
|
472
|
-
*/
|
|
473
|
-
function copyArray(source, array) {
|
|
474
|
-
var index = -1,
|
|
475
|
-
length = source.length;
|
|
476
|
-
|
|
477
|
-
array || (array = Array(length));
|
|
478
|
-
while (++index < length) {
|
|
479
|
-
array[index] = source[index];
|
|
480
|
-
}
|
|
481
|
-
return array;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* Gets the native function at `key` of `object`.
|
|
486
|
-
*
|
|
487
|
-
* @private
|
|
488
|
-
* @param {Object} object The object to query.
|
|
489
|
-
* @param {string} key The key of the method to get.
|
|
490
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
491
|
-
*/
|
|
492
|
-
function getNative(object, key) {
|
|
493
|
-
var value = getValue(object, key);
|
|
494
|
-
return baseIsNative(value) ? value : undefined;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Gets the `toStringTag` of `value`.
|
|
499
|
-
*
|
|
500
|
-
* @private
|
|
501
|
-
* @param {*} value The value to query.
|
|
502
|
-
* @returns {string} Returns the `toStringTag`.
|
|
503
|
-
*/
|
|
504
|
-
var getTag = baseGetTag;
|
|
505
|
-
|
|
506
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
507
|
-
// for data views in Edge < 14, and promises in Node.js.
|
|
508
|
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
509
|
-
(Map && getTag(new Map) != mapTag) ||
|
|
510
|
-
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
511
|
-
(Set && getTag(new Set) != setTag) ||
|
|
512
|
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
513
|
-
getTag = function(value) {
|
|
514
|
-
var result = objectToString.call(value),
|
|
515
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
516
|
-
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
517
|
-
|
|
518
|
-
if (ctorString) {
|
|
519
|
-
switch (ctorString) {
|
|
520
|
-
case dataViewCtorString: return dataViewTag;
|
|
521
|
-
case mapCtorString: return mapTag;
|
|
522
|
-
case promiseCtorString: return promiseTag;
|
|
523
|
-
case setCtorString: return setTag;
|
|
524
|
-
case weakMapCtorString: return weakMapTag;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
return result;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* Checks if `value` is a valid array-like index.
|
|
533
|
-
*
|
|
534
|
-
* @private
|
|
535
|
-
* @param {*} value The value to check.
|
|
536
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
537
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
538
|
-
*/
|
|
539
|
-
function isIndex(value, length) {
|
|
540
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
541
|
-
return !!length &&
|
|
542
|
-
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
543
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* Checks if the given arguments are from an iteratee call.
|
|
548
|
-
*
|
|
549
|
-
* @private
|
|
550
|
-
* @param {*} value The potential iteratee value argument.
|
|
551
|
-
* @param {*} index The potential iteratee index or key argument.
|
|
552
|
-
* @param {*} object The potential iteratee object argument.
|
|
553
|
-
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
554
|
-
* else `false`.
|
|
555
|
-
*/
|
|
556
|
-
function isIterateeCall(value, index, object) {
|
|
557
|
-
if (!isObject(object)) {
|
|
558
|
-
return false;
|
|
559
|
-
}
|
|
560
|
-
var type = typeof index;
|
|
561
|
-
if (type == 'number'
|
|
562
|
-
? (isArrayLike(object) && isIndex(index, object.length))
|
|
563
|
-
: (type == 'string' && index in object)
|
|
564
|
-
) {
|
|
565
|
-
return eq(object[index], value);
|
|
566
|
-
}
|
|
567
|
-
return false;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Checks if `func` has its source masked.
|
|
572
|
-
*
|
|
573
|
-
* @private
|
|
574
|
-
* @param {Function} func The function to check.
|
|
575
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
576
|
-
*/
|
|
577
|
-
function isMasked(func) {
|
|
578
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* Checks if `value` is likely a prototype object.
|
|
583
|
-
*
|
|
584
|
-
* @private
|
|
585
|
-
* @param {*} value The value to check.
|
|
586
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
587
|
-
*/
|
|
588
|
-
function isPrototype(value) {
|
|
589
|
-
var Ctor = value && value.constructor,
|
|
590
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
591
|
-
|
|
592
|
-
return value === proto;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Converts `func` to its source code.
|
|
597
|
-
*
|
|
598
|
-
* @private
|
|
599
|
-
* @param {Function} func The function to process.
|
|
600
|
-
* @returns {string} Returns the source code.
|
|
601
|
-
*/
|
|
602
|
-
function toSource(func) {
|
|
603
|
-
if (func != null) {
|
|
604
|
-
try {
|
|
605
|
-
return funcToString.call(func);
|
|
606
|
-
} catch (e) {}
|
|
607
|
-
try {
|
|
608
|
-
return (func + '');
|
|
609
|
-
} catch (e) {}
|
|
610
|
-
}
|
|
611
|
-
return '';
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* Gets `n` random elements at unique keys from `collection` up to the
|
|
616
|
-
* size of `collection`.
|
|
617
|
-
*
|
|
618
|
-
* @static
|
|
619
|
-
* @memberOf _
|
|
620
|
-
* @since 4.0.0
|
|
621
|
-
* @category Collection
|
|
622
|
-
* @param {Array|Object} collection The collection to sample.
|
|
623
|
-
* @param {number} [n=1] The number of elements to sample.
|
|
624
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
625
|
-
* @returns {Array} Returns the random elements.
|
|
626
|
-
* @example
|
|
627
|
-
*
|
|
628
|
-
* _.sampleSize([1, 2, 3], 2);
|
|
629
|
-
* // => [3, 1]
|
|
630
|
-
*
|
|
631
|
-
* _.sampleSize([1, 2, 3], 4);
|
|
632
|
-
* // => [2, 3, 1]
|
|
633
|
-
*/
|
|
634
|
-
function sampleSize(collection, n, guard) {
|
|
635
|
-
var index = -1,
|
|
636
|
-
result = toArray(collection),
|
|
637
|
-
length = result.length,
|
|
638
|
-
lastIndex = length - 1;
|
|
639
|
-
|
|
640
|
-
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
641
|
-
n = 1;
|
|
642
|
-
} else {
|
|
643
|
-
n = baseClamp(toInteger(n), 0, length);
|
|
644
|
-
}
|
|
645
|
-
while (++index < n) {
|
|
646
|
-
var rand = baseRandom(index, lastIndex),
|
|
647
|
-
value = result[rand];
|
|
648
|
-
|
|
649
|
-
result[rand] = result[index];
|
|
650
|
-
result[index] = value;
|
|
651
|
-
}
|
|
652
|
-
result.length = n;
|
|
653
|
-
return result;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* Performs a
|
|
658
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
659
|
-
* comparison between two values to determine if they are equivalent.
|
|
660
|
-
*
|
|
661
|
-
* @static
|
|
662
|
-
* @memberOf _
|
|
663
|
-
* @since 4.0.0
|
|
664
|
-
* @category Lang
|
|
665
|
-
* @param {*} value The value to compare.
|
|
666
|
-
* @param {*} other The other value to compare.
|
|
667
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
668
|
-
* @example
|
|
669
|
-
*
|
|
670
|
-
* var object = { 'a': 1 };
|
|
671
|
-
* var other = { 'a': 1 };
|
|
672
|
-
*
|
|
673
|
-
* _.eq(object, object);
|
|
674
|
-
* // => true
|
|
675
|
-
*
|
|
676
|
-
* _.eq(object, other);
|
|
677
|
-
* // => false
|
|
678
|
-
*
|
|
679
|
-
* _.eq('a', 'a');
|
|
680
|
-
* // => true
|
|
681
|
-
*
|
|
682
|
-
* _.eq('a', Object('a'));
|
|
683
|
-
* // => false
|
|
684
|
-
*
|
|
685
|
-
* _.eq(NaN, NaN);
|
|
686
|
-
* // => true
|
|
687
|
-
*/
|
|
688
|
-
function eq(value, other) {
|
|
689
|
-
return value === other || (value !== value && other !== other);
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Checks if `value` is likely an `arguments` object.
|
|
694
|
-
*
|
|
695
|
-
* @static
|
|
696
|
-
* @memberOf _
|
|
697
|
-
* @since 0.1.0
|
|
698
|
-
* @category Lang
|
|
699
|
-
* @param {*} value The value to check.
|
|
700
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
701
|
-
* else `false`.
|
|
702
|
-
* @example
|
|
703
|
-
*
|
|
704
|
-
* _.isArguments(function() { return arguments; }());
|
|
705
|
-
* // => true
|
|
706
|
-
*
|
|
707
|
-
* _.isArguments([1, 2, 3]);
|
|
708
|
-
* // => false
|
|
709
|
-
*/
|
|
710
|
-
function isArguments(value) {
|
|
711
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
712
|
-
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
713
|
-
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* Checks if `value` is classified as an `Array` object.
|
|
718
|
-
*
|
|
719
|
-
* @static
|
|
720
|
-
* @memberOf _
|
|
721
|
-
* @since 0.1.0
|
|
722
|
-
* @category Lang
|
|
723
|
-
* @param {*} value The value to check.
|
|
724
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
725
|
-
* @example
|
|
726
|
-
*
|
|
727
|
-
* _.isArray([1, 2, 3]);
|
|
728
|
-
* // => true
|
|
729
|
-
*
|
|
730
|
-
* _.isArray(document.body.children);
|
|
731
|
-
* // => false
|
|
732
|
-
*
|
|
733
|
-
* _.isArray('abc');
|
|
734
|
-
* // => false
|
|
396
|
+
* Produces a random number between the inclusive `lower` and `upper` bounds.
|
|
397
|
+
* If only one argument is provided a number between `0` and the given number
|
|
398
|
+
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
399
|
+
* floats, a floating-point number is returned instead of an integer.
|
|
735
400
|
*
|
|
736
|
-
*
|
|
737
|
-
*
|
|
738
|
-
*/
|
|
739
|
-
var isArray = Array.isArray;
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
743
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
744
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
401
|
+
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
|
402
|
+
* floating-point values which can produce unexpected results.
|
|
745
403
|
*
|
|
746
404
|
* @static
|
|
747
405
|
* @memberOf _
|
|
748
|
-
* @since
|
|
749
|
-
* @category
|
|
750
|
-
* @param {
|
|
751
|
-
* @
|
|
406
|
+
* @since 0.7.0
|
|
407
|
+
* @category Number
|
|
408
|
+
* @param {number} [lower=0] The lower bound.
|
|
409
|
+
* @param {number} [upper=1] The upper bound.
|
|
410
|
+
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
411
|
+
* @returns {number} Returns the random number.
|
|
752
412
|
* @example
|
|
753
413
|
*
|
|
754
|
-
* _.
|
|
755
|
-
* // =>
|
|
414
|
+
* _.random(0, 5);
|
|
415
|
+
* // => an integer between 0 and 5
|
|
756
416
|
*
|
|
757
|
-
* _.
|
|
758
|
-
* // =>
|
|
417
|
+
* _.random(5);
|
|
418
|
+
* // => also an integer between 0 and 5
|
|
759
419
|
*
|
|
760
|
-
* _.
|
|
761
|
-
* // =>
|
|
420
|
+
* _.random(5, true);
|
|
421
|
+
* // => a floating-point number between 0 and 5
|
|
762
422
|
*
|
|
763
|
-
* _.
|
|
764
|
-
* // =>
|
|
423
|
+
* _.random(1.2, 5.2);
|
|
424
|
+
* // => a floating-point number between 1.2 and 5.2
|
|
765
425
|
*/
|
|
766
|
-
function
|
|
767
|
-
|
|
426
|
+
function random(lower, upper, floating) {
|
|
427
|
+
if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
|
|
428
|
+
upper = floating = undefined;
|
|
429
|
+
}
|
|
430
|
+
if (floating === undefined) {
|
|
431
|
+
if (typeof upper == 'boolean') {
|
|
432
|
+
floating = upper;
|
|
433
|
+
upper = undefined;
|
|
434
|
+
}
|
|
435
|
+
else if (typeof lower == 'boolean') {
|
|
436
|
+
floating = lower;
|
|
437
|
+
lower = undefined;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
if (lower === undefined && upper === undefined) {
|
|
441
|
+
lower = 0;
|
|
442
|
+
upper = 1;
|
|
443
|
+
}
|
|
444
|
+
else {
|
|
445
|
+
lower = toFinite(lower);
|
|
446
|
+
if (upper === undefined) {
|
|
447
|
+
upper = lower;
|
|
448
|
+
lower = 0;
|
|
449
|
+
} else {
|
|
450
|
+
upper = toFinite(upper);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
if (lower > upper) {
|
|
454
|
+
var temp = lower;
|
|
455
|
+
lower = upper;
|
|
456
|
+
upper = temp;
|
|
457
|
+
}
|
|
458
|
+
if (floating || lower % 1 || upper % 1) {
|
|
459
|
+
var rand = nativeRandom();
|
|
460
|
+
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
461
|
+
}
|
|
462
|
+
return baseRandom(lower, upper);
|
|
768
463
|
}
|
|
769
464
|
|
|
465
|
+
lodash_random = random;
|
|
466
|
+
return lodash_random;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
var lodash_randomExports = requireLodash_random();
|
|
470
|
+
var random = /*@__PURE__*/getDefaultExportFromCjs(lodash_randomExports);
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
474
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
475
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
476
|
+
* Released under MIT license <https://lodash.com/license>
|
|
477
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
478
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
479
|
+
*/
|
|
480
|
+
|
|
481
|
+
var lodash_samplesize;
|
|
482
|
+
var hasRequiredLodash_samplesize;
|
|
483
|
+
|
|
484
|
+
function requireLodash_samplesize () {
|
|
485
|
+
if (hasRequiredLodash_samplesize) return lodash_samplesize;
|
|
486
|
+
hasRequiredLodash_samplesize = 1;
|
|
487
|
+
/** Used as references for various `Number` constants. */
|
|
488
|
+
var INFINITY = 1 / 0,
|
|
489
|
+
MAX_SAFE_INTEGER = 9007199254740991,
|
|
490
|
+
MAX_INTEGER = 1.7976931348623157e+308,
|
|
491
|
+
NAN = 0 / 0;
|
|
492
|
+
|
|
493
|
+
/** `Object#toString` result references. */
|
|
494
|
+
var argsTag = '[object Arguments]',
|
|
495
|
+
funcTag = '[object Function]',
|
|
496
|
+
genTag = '[object GeneratorFunction]',
|
|
497
|
+
mapTag = '[object Map]',
|
|
498
|
+
objectTag = '[object Object]',
|
|
499
|
+
promiseTag = '[object Promise]',
|
|
500
|
+
setTag = '[object Set]',
|
|
501
|
+
stringTag = '[object String]',
|
|
502
|
+
symbolTag = '[object Symbol]',
|
|
503
|
+
weakMapTag = '[object WeakMap]';
|
|
504
|
+
|
|
505
|
+
var dataViewTag = '[object DataView]';
|
|
506
|
+
|
|
770
507
|
/**
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
* @static
|
|
775
|
-
* @memberOf _
|
|
776
|
-
* @since 4.0.0
|
|
777
|
-
* @category Lang
|
|
778
|
-
* @param {*} value The value to check.
|
|
779
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
780
|
-
* else `false`.
|
|
781
|
-
* @example
|
|
782
|
-
*
|
|
783
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
|
784
|
-
* // => true
|
|
785
|
-
*
|
|
786
|
-
* _.isArrayLikeObject(document.body.children);
|
|
787
|
-
* // => true
|
|
788
|
-
*
|
|
789
|
-
* _.isArrayLikeObject('abc');
|
|
790
|
-
* // => false
|
|
791
|
-
*
|
|
792
|
-
* _.isArrayLikeObject(_.noop);
|
|
793
|
-
* // => false
|
|
508
|
+
* Used to match `RegExp`
|
|
509
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
794
510
|
*/
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
511
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
512
|
+
|
|
513
|
+
/** Used to match leading and trailing whitespace. */
|
|
514
|
+
var reTrim = /^\s+|\s+$/g;
|
|
515
|
+
|
|
516
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
517
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
518
|
+
|
|
519
|
+
/** Used to detect binary string values. */
|
|
520
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
521
|
+
|
|
522
|
+
/** Used to detect host constructors (Safari). */
|
|
523
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
524
|
+
|
|
525
|
+
/** Used to detect octal string values. */
|
|
526
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
527
|
+
|
|
528
|
+
/** Used to detect unsigned integer values. */
|
|
529
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
530
|
+
|
|
531
|
+
/** Used to compose unicode character classes. */
|
|
532
|
+
var rsAstralRange = '\\ud800-\\udfff',
|
|
533
|
+
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
534
|
+
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
535
|
+
rsVarRange = '\\ufe0e\\ufe0f';
|
|
536
|
+
|
|
537
|
+
/** Used to compose unicode capture groups. */
|
|
538
|
+
var rsAstral = '[' + rsAstralRange + ']',
|
|
539
|
+
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
540
|
+
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
541
|
+
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
542
|
+
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
543
|
+
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
544
|
+
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
545
|
+
rsZWJ = '\\u200d';
|
|
546
|
+
|
|
547
|
+
/** Used to compose unicode regexes. */
|
|
548
|
+
var reOptMod = rsModifier + '?',
|
|
549
|
+
rsOptVar = '[' + rsVarRange + ']?',
|
|
550
|
+
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
551
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
552
|
+
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
553
|
+
|
|
554
|
+
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
555
|
+
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
556
|
+
|
|
557
|
+
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
558
|
+
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
559
|
+
|
|
560
|
+
/** Built-in method references without a dependency on `root`. */
|
|
561
|
+
var freeParseInt = parseInt;
|
|
562
|
+
|
|
563
|
+
/** Detect free variable `global` from Node.js. */
|
|
564
|
+
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
565
|
+
|
|
566
|
+
/** Detect free variable `self`. */
|
|
567
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
568
|
+
|
|
569
|
+
/** Used as a reference to the global object. */
|
|
570
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
798
571
|
|
|
799
572
|
/**
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
* @static
|
|
803
|
-
* @memberOf _
|
|
804
|
-
* @since 0.1.0
|
|
805
|
-
* @category Lang
|
|
806
|
-
* @param {*} value The value to check.
|
|
807
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
808
|
-
* @example
|
|
809
|
-
*
|
|
810
|
-
* _.isFunction(_);
|
|
811
|
-
* // => true
|
|
573
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
574
|
+
* shorthands.
|
|
812
575
|
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
576
|
+
* @private
|
|
577
|
+
* @param {Array} [array] The array to iterate over.
|
|
578
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
579
|
+
* @returns {Array} Returns the new mapped array.
|
|
815
580
|
*/
|
|
816
|
-
function
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
581
|
+
function arrayMap(array, iteratee) {
|
|
582
|
+
var index = -1,
|
|
583
|
+
length = array ? array.length : 0,
|
|
584
|
+
result = Array(length);
|
|
585
|
+
|
|
586
|
+
while (++index < length) {
|
|
587
|
+
result[index] = iteratee(array[index], index, array);
|
|
588
|
+
}
|
|
589
|
+
return result;
|
|
821
590
|
}
|
|
822
591
|
|
|
823
592
|
/**
|
|
824
|
-
*
|
|
825
|
-
*
|
|
826
|
-
* **Note:** This method is loosely based on
|
|
827
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
828
|
-
*
|
|
829
|
-
* @static
|
|
830
|
-
* @memberOf _
|
|
831
|
-
* @since 4.0.0
|
|
832
|
-
* @category Lang
|
|
833
|
-
* @param {*} value The value to check.
|
|
834
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
835
|
-
* @example
|
|
836
|
-
*
|
|
837
|
-
* _.isLength(3);
|
|
838
|
-
* // => true
|
|
839
|
-
*
|
|
840
|
-
* _.isLength(Number.MIN_VALUE);
|
|
841
|
-
* // => false
|
|
842
|
-
*
|
|
843
|
-
* _.isLength(Infinity);
|
|
844
|
-
* // => false
|
|
593
|
+
* Converts an ASCII `string` to an array.
|
|
845
594
|
*
|
|
846
|
-
*
|
|
847
|
-
*
|
|
595
|
+
* @private
|
|
596
|
+
* @param {string} string The string to convert.
|
|
597
|
+
* @returns {Array} Returns the converted array.
|
|
848
598
|
*/
|
|
849
|
-
function
|
|
850
|
-
return
|
|
851
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
599
|
+
function asciiToArray(string) {
|
|
600
|
+
return string.split('');
|
|
852
601
|
}
|
|
853
602
|
|
|
854
603
|
/**
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
858
|
-
*
|
|
859
|
-
* @static
|
|
860
|
-
* @memberOf _
|
|
861
|
-
* @since 0.1.0
|
|
862
|
-
* @category Lang
|
|
863
|
-
* @param {*} value The value to check.
|
|
864
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
865
|
-
* @example
|
|
866
|
-
*
|
|
867
|
-
* _.isObject({});
|
|
868
|
-
* // => true
|
|
869
|
-
*
|
|
870
|
-
* _.isObject([1, 2, 3]);
|
|
871
|
-
* // => true
|
|
872
|
-
*
|
|
873
|
-
* _.isObject(_.noop);
|
|
874
|
-
* // => true
|
|
604
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
605
|
+
* or max array length checks.
|
|
875
606
|
*
|
|
876
|
-
*
|
|
877
|
-
*
|
|
607
|
+
* @private
|
|
608
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
609
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
610
|
+
* @returns {Array} Returns the array of results.
|
|
878
611
|
*/
|
|
879
|
-
function
|
|
880
|
-
var
|
|
881
|
-
|
|
612
|
+
function baseTimes(n, iteratee) {
|
|
613
|
+
var index = -1,
|
|
614
|
+
result = Array(n);
|
|
615
|
+
|
|
616
|
+
while (++index < n) {
|
|
617
|
+
result[index] = iteratee(index);
|
|
618
|
+
}
|
|
619
|
+
return result;
|
|
882
620
|
}
|
|
883
621
|
|
|
884
622
|
/**
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
* @static
|
|
889
|
-
* @memberOf _
|
|
890
|
-
* @since 4.0.0
|
|
891
|
-
* @category Lang
|
|
892
|
-
* @param {*} value The value to check.
|
|
893
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
894
|
-
* @example
|
|
895
|
-
*
|
|
896
|
-
* _.isObjectLike({});
|
|
897
|
-
* // => true
|
|
898
|
-
*
|
|
899
|
-
* _.isObjectLike([1, 2, 3]);
|
|
900
|
-
* // => true
|
|
901
|
-
*
|
|
902
|
-
* _.isObjectLike(_.noop);
|
|
903
|
-
* // => false
|
|
623
|
+
* The base implementation of `_.values` and `_.valuesIn` which creates an
|
|
624
|
+
* array of `object` property values corresponding to the property names
|
|
625
|
+
* of `props`.
|
|
904
626
|
*
|
|
905
|
-
*
|
|
906
|
-
*
|
|
627
|
+
* @private
|
|
628
|
+
* @param {Object} object The object to query.
|
|
629
|
+
* @param {Array} props The property names to get values for.
|
|
630
|
+
* @returns {Object} Returns the array of property values.
|
|
907
631
|
*/
|
|
908
|
-
function
|
|
909
|
-
return
|
|
632
|
+
function baseValues(object, props) {
|
|
633
|
+
return arrayMap(props, function(key) {
|
|
634
|
+
return object[key];
|
|
635
|
+
});
|
|
910
636
|
}
|
|
911
637
|
|
|
912
638
|
/**
|
|
913
|
-
*
|
|
914
|
-
*
|
|
915
|
-
* @static
|
|
916
|
-
* @since 0.1.0
|
|
917
|
-
* @memberOf _
|
|
918
|
-
* @category Lang
|
|
919
|
-
* @param {*} value The value to check.
|
|
920
|
-
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
921
|
-
* @example
|
|
922
|
-
*
|
|
923
|
-
* _.isString('abc');
|
|
924
|
-
* // => true
|
|
639
|
+
* Gets the value at `key` of `object`.
|
|
925
640
|
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
641
|
+
* @private
|
|
642
|
+
* @param {Object} [object] The object to query.
|
|
643
|
+
* @param {string} key The key of the property to get.
|
|
644
|
+
* @returns {*} Returns the property value.
|
|
928
645
|
*/
|
|
929
|
-
function
|
|
930
|
-
return
|
|
931
|
-
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
646
|
+
function getValue(object, key) {
|
|
647
|
+
return object == null ? undefined : object[key];
|
|
932
648
|
}
|
|
933
649
|
|
|
934
650
|
/**
|
|
935
|
-
* Checks if `
|
|
936
|
-
*
|
|
937
|
-
* @static
|
|
938
|
-
* @memberOf _
|
|
939
|
-
* @since 4.0.0
|
|
940
|
-
* @category Lang
|
|
941
|
-
* @param {*} value The value to check.
|
|
942
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
943
|
-
* @example
|
|
944
|
-
*
|
|
945
|
-
* _.isSymbol(Symbol.iterator);
|
|
946
|
-
* // => true
|
|
651
|
+
* Checks if `string` contains Unicode symbols.
|
|
947
652
|
*
|
|
948
|
-
*
|
|
949
|
-
*
|
|
653
|
+
* @private
|
|
654
|
+
* @param {string} string The string to inspect.
|
|
655
|
+
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
|
|
950
656
|
*/
|
|
951
|
-
function
|
|
952
|
-
return
|
|
953
|
-
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
657
|
+
function hasUnicode(string) {
|
|
658
|
+
return reHasUnicode.test(string);
|
|
954
659
|
}
|
|
955
660
|
|
|
956
661
|
/**
|
|
957
|
-
*
|
|
958
|
-
*
|
|
959
|
-
* @static
|
|
960
|
-
* @since 0.1.0
|
|
961
|
-
* @memberOf _
|
|
962
|
-
* @category Lang
|
|
963
|
-
* @param {*} value The value to convert.
|
|
964
|
-
* @returns {Array} Returns the converted array.
|
|
965
|
-
* @example
|
|
966
|
-
*
|
|
967
|
-
* _.toArray({ 'a': 1, 'b': 2 });
|
|
968
|
-
* // => [1, 2]
|
|
969
|
-
*
|
|
970
|
-
* _.toArray('abc');
|
|
971
|
-
* // => ['a', 'b', 'c']
|
|
972
|
-
*
|
|
973
|
-
* _.toArray(1);
|
|
974
|
-
* // => []
|
|
662
|
+
* Checks if `value` is a host object in IE < 9.
|
|
975
663
|
*
|
|
976
|
-
*
|
|
977
|
-
*
|
|
664
|
+
* @private
|
|
665
|
+
* @param {*} value The value to check.
|
|
666
|
+
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
|
|
978
667
|
*/
|
|
979
|
-
function
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
if (
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
return iteratorToArray(value[iteratorSymbol]());
|
|
668
|
+
function isHostObject(value) {
|
|
669
|
+
// Many host objects are `Object` objects that can coerce to strings
|
|
670
|
+
// despite having improperly defined `toString` methods.
|
|
671
|
+
var result = false;
|
|
672
|
+
if (value != null && typeof value.toString != 'function') {
|
|
673
|
+
try {
|
|
674
|
+
result = !!(value + '');
|
|
675
|
+
} catch (e) {}
|
|
988
676
|
}
|
|
989
|
-
|
|
990
|
-
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
991
|
-
|
|
992
|
-
return func(value);
|
|
677
|
+
return result;
|
|
993
678
|
}
|
|
994
679
|
|
|
995
680
|
/**
|
|
996
|
-
* Converts `
|
|
997
|
-
*
|
|
998
|
-
* @static
|
|
999
|
-
* @memberOf _
|
|
1000
|
-
* @since 4.12.0
|
|
1001
|
-
* @category Lang
|
|
1002
|
-
* @param {*} value The value to convert.
|
|
1003
|
-
* @returns {number} Returns the converted number.
|
|
1004
|
-
* @example
|
|
1005
|
-
*
|
|
1006
|
-
* _.toFinite(3.2);
|
|
1007
|
-
* // => 3.2
|
|
1008
|
-
*
|
|
1009
|
-
* _.toFinite(Number.MIN_VALUE);
|
|
1010
|
-
* // => 5e-324
|
|
1011
|
-
*
|
|
1012
|
-
* _.toFinite(Infinity);
|
|
1013
|
-
* // => 1.7976931348623157e+308
|
|
681
|
+
* Converts `iterator` to an array.
|
|
1014
682
|
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
683
|
+
* @private
|
|
684
|
+
* @param {Object} iterator The iterator to convert.
|
|
685
|
+
* @returns {Array} Returns the converted array.
|
|
1017
686
|
*/
|
|
1018
|
-
function
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
var sign = (value < 0 ? -1 : 1);
|
|
1025
|
-
return sign * MAX_INTEGER;
|
|
687
|
+
function iteratorToArray(iterator) {
|
|
688
|
+
var data,
|
|
689
|
+
result = [];
|
|
690
|
+
|
|
691
|
+
while (!(data = iterator.next()).done) {
|
|
692
|
+
result.push(data.value);
|
|
1026
693
|
}
|
|
1027
|
-
return
|
|
694
|
+
return result;
|
|
1028
695
|
}
|
|
1029
696
|
|
|
1030
697
|
/**
|
|
1031
|
-
* Converts `
|
|
1032
|
-
*
|
|
1033
|
-
* **Note:** This method is loosely based on
|
|
1034
|
-
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1035
|
-
*
|
|
1036
|
-
* @static
|
|
1037
|
-
* @memberOf _
|
|
1038
|
-
* @since 4.0.0
|
|
1039
|
-
* @category Lang
|
|
1040
|
-
* @param {*} value The value to convert.
|
|
1041
|
-
* @returns {number} Returns the converted integer.
|
|
1042
|
-
* @example
|
|
1043
|
-
*
|
|
1044
|
-
* _.toInteger(3.2);
|
|
1045
|
-
* // => 3
|
|
1046
|
-
*
|
|
1047
|
-
* _.toInteger(Number.MIN_VALUE);
|
|
1048
|
-
* // => 0
|
|
1049
|
-
*
|
|
1050
|
-
* _.toInteger(Infinity);
|
|
1051
|
-
* // => 1.7976931348623157e+308
|
|
698
|
+
* Converts `map` to its key-value pairs.
|
|
1052
699
|
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
700
|
+
* @private
|
|
701
|
+
* @param {Object} map The map to convert.
|
|
702
|
+
* @returns {Array} Returns the key-value pairs.
|
|
1055
703
|
*/
|
|
1056
|
-
function
|
|
1057
|
-
var
|
|
1058
|
-
|
|
704
|
+
function mapToArray(map) {
|
|
705
|
+
var index = -1,
|
|
706
|
+
result = Array(map.size);
|
|
1059
707
|
|
|
1060
|
-
|
|
708
|
+
map.forEach(function(value, key) {
|
|
709
|
+
result[++index] = [key, value];
|
|
710
|
+
});
|
|
711
|
+
return result;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
716
|
+
*
|
|
717
|
+
* @private
|
|
718
|
+
* @param {Function} func The function to wrap.
|
|
719
|
+
* @param {Function} transform The argument transform.
|
|
720
|
+
* @returns {Function} Returns the new function.
|
|
721
|
+
*/
|
|
722
|
+
function overArg(func, transform) {
|
|
723
|
+
return function(arg) {
|
|
724
|
+
return func(transform(arg));
|
|
725
|
+
};
|
|
1061
726
|
}
|
|
1062
727
|
|
|
1063
728
|
/**
|
|
1064
|
-
* Converts `
|
|
1065
|
-
*
|
|
1066
|
-
* @static
|
|
1067
|
-
* @memberOf _
|
|
1068
|
-
* @since 4.0.0
|
|
1069
|
-
* @category Lang
|
|
1070
|
-
* @param {*} value The value to process.
|
|
1071
|
-
* @returns {number} Returns the number.
|
|
1072
|
-
* @example
|
|
1073
|
-
*
|
|
1074
|
-
* _.toNumber(3.2);
|
|
1075
|
-
* // => 3.2
|
|
1076
|
-
*
|
|
1077
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
1078
|
-
* // => 5e-324
|
|
1079
|
-
*
|
|
1080
|
-
* _.toNumber(Infinity);
|
|
1081
|
-
* // => Infinity
|
|
729
|
+
* Converts `set` to an array of its values.
|
|
1082
730
|
*
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
731
|
+
* @private
|
|
732
|
+
* @param {Object} set The set to convert.
|
|
733
|
+
* @returns {Array} Returns the values.
|
|
1085
734
|
*/
|
|
1086
|
-
function
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
1095
|
-
value = isObject(other) ? (other + '') : other;
|
|
1096
|
-
}
|
|
1097
|
-
if (typeof value != 'string') {
|
|
1098
|
-
return value === 0 ? value : +value;
|
|
1099
|
-
}
|
|
1100
|
-
value = value.replace(reTrim, '');
|
|
1101
|
-
var isBinary = reIsBinary.test(value);
|
|
1102
|
-
return (isBinary || reIsOctal.test(value))
|
|
1103
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
1104
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
735
|
+
function setToArray(set) {
|
|
736
|
+
var index = -1,
|
|
737
|
+
result = Array(set.size);
|
|
738
|
+
|
|
739
|
+
set.forEach(function(value) {
|
|
740
|
+
result[++index] = value;
|
|
741
|
+
});
|
|
742
|
+
return result;
|
|
1105
743
|
}
|
|
1106
744
|
|
|
1107
745
|
/**
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
* **Note:** Non-object values are coerced to objects. See the
|
|
1111
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1112
|
-
* for more details.
|
|
1113
|
-
*
|
|
1114
|
-
* @static
|
|
1115
|
-
* @since 0.1.0
|
|
1116
|
-
* @memberOf _
|
|
1117
|
-
* @category Object
|
|
1118
|
-
* @param {Object} object The object to query.
|
|
1119
|
-
* @returns {Array} Returns the array of property names.
|
|
1120
|
-
* @example
|
|
1121
|
-
*
|
|
1122
|
-
* function Foo() {
|
|
1123
|
-
* this.a = 1;
|
|
1124
|
-
* this.b = 2;
|
|
1125
|
-
* }
|
|
1126
|
-
*
|
|
1127
|
-
* Foo.prototype.c = 3;
|
|
1128
|
-
*
|
|
1129
|
-
* _.keys(new Foo);
|
|
1130
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
746
|
+
* Converts `string` to an array.
|
|
1131
747
|
*
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
748
|
+
* @private
|
|
749
|
+
* @param {string} string The string to convert.
|
|
750
|
+
* @returns {Array} Returns the converted array.
|
|
1134
751
|
*/
|
|
1135
|
-
function
|
|
1136
|
-
return
|
|
752
|
+
function stringToArray(string) {
|
|
753
|
+
return hasUnicode(string)
|
|
754
|
+
? unicodeToArray(string)
|
|
755
|
+
: asciiToArray(string);
|
|
1137
756
|
}
|
|
1138
757
|
|
|
1139
758
|
/**
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1142
|
-
* **Note:** Non-object values are coerced to objects.
|
|
1143
|
-
*
|
|
1144
|
-
* @static
|
|
1145
|
-
* @since 0.1.0
|
|
1146
|
-
* @memberOf _
|
|
1147
|
-
* @category Object
|
|
1148
|
-
* @param {Object} object The object to query.
|
|
1149
|
-
* @returns {Array} Returns the array of property values.
|
|
1150
|
-
* @example
|
|
1151
|
-
*
|
|
1152
|
-
* function Foo() {
|
|
1153
|
-
* this.a = 1;
|
|
1154
|
-
* this.b = 2;
|
|
1155
|
-
* }
|
|
1156
|
-
*
|
|
1157
|
-
* Foo.prototype.c = 3;
|
|
1158
|
-
*
|
|
1159
|
-
* _.values(new Foo);
|
|
1160
|
-
* // => [1, 2] (iteration order is not guaranteed)
|
|
759
|
+
* Converts a Unicode `string` to an array.
|
|
1161
760
|
*
|
|
1162
|
-
*
|
|
1163
|
-
*
|
|
761
|
+
* @private
|
|
762
|
+
* @param {string} string The string to convert.
|
|
763
|
+
* @returns {Array} Returns the converted array.
|
|
1164
764
|
*/
|
|
1165
|
-
function
|
|
1166
|
-
return
|
|
765
|
+
function unicodeToArray(string) {
|
|
766
|
+
return string.match(reUnicode) || [];
|
|
1167
767
|
}
|
|
1168
768
|
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
769
|
+
/** Used for built-in method references. */
|
|
770
|
+
var funcProto = Function.prototype,
|
|
771
|
+
objectProto = Object.prototype;
|
|
1172
772
|
|
|
1173
|
-
|
|
1174
|
-
var
|
|
773
|
+
/** Used to detect overreaching core-js shims. */
|
|
774
|
+
var coreJsData = root['__core-js_shared__'];
|
|
1175
775
|
|
|
1176
|
-
/**
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1182
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1183
|
-
*/
|
|
776
|
+
/** Used to detect methods masquerading as native. */
|
|
777
|
+
var maskSrcKey = (function() {
|
|
778
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
779
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
780
|
+
}());
|
|
1184
781
|
|
|
1185
|
-
|
|
1186
|
-
var
|
|
782
|
+
/** Used to resolve the decompiled source of functions. */
|
|
783
|
+
var funcToString = funcProto.toString;
|
|
1187
784
|
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
hasRequiredLodash_random = 1;
|
|
1191
|
-
/** Used as references for various `Number` constants. */
|
|
1192
|
-
var INFINITY = 1 / 0,
|
|
1193
|
-
MAX_SAFE_INTEGER = 9007199254740991,
|
|
1194
|
-
MAX_INTEGER = 1.7976931348623157e+308,
|
|
1195
|
-
NAN = 0 / 0;
|
|
785
|
+
/** Used to check objects for own properties. */
|
|
786
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1196
787
|
|
|
1197
|
-
/**
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
788
|
+
/**
|
|
789
|
+
* Used to resolve the
|
|
790
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
791
|
+
* of values.
|
|
792
|
+
*/
|
|
793
|
+
var objectToString = objectProto.toString;
|
|
1201
794
|
|
|
1202
|
-
/** Used to
|
|
1203
|
-
var
|
|
795
|
+
/** Used to detect if a method is native. */
|
|
796
|
+
var reIsNative = RegExp('^' +
|
|
797
|
+
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
798
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
799
|
+
);
|
|
1204
800
|
|
|
1205
|
-
/**
|
|
1206
|
-
var
|
|
801
|
+
/** Built-in value references. */
|
|
802
|
+
var Symbol = root.Symbol,
|
|
803
|
+
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
804
|
+
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
1207
805
|
|
|
1208
|
-
|
|
1209
|
-
var
|
|
806
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
807
|
+
var nativeFloor = Math.floor,
|
|
808
|
+
nativeKeys = overArg(Object.keys, Object),
|
|
809
|
+
nativeRandom = Math.random;
|
|
1210
810
|
|
|
1211
|
-
|
|
1212
|
-
var
|
|
811
|
+
/* Built-in method references that are verified to be native. */
|
|
812
|
+
var DataView = getNative(root, 'DataView'),
|
|
813
|
+
Map = getNative(root, 'Map'),
|
|
814
|
+
Promise = getNative(root, 'Promise'),
|
|
815
|
+
Set = getNative(root, 'Set'),
|
|
816
|
+
WeakMap = getNative(root, 'WeakMap');
|
|
1213
817
|
|
|
1214
|
-
/** Used to detect
|
|
1215
|
-
var
|
|
818
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
819
|
+
var dataViewCtorString = toSource(DataView),
|
|
820
|
+
mapCtorString = toSource(Map),
|
|
821
|
+
promiseCtorString = toSource(Promise),
|
|
822
|
+
setCtorString = toSource(Set),
|
|
823
|
+
weakMapCtorString = toSource(WeakMap);
|
|
1216
824
|
|
|
1217
|
-
/**
|
|
1218
|
-
|
|
1219
|
-
|
|
825
|
+
/**
|
|
826
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
827
|
+
*
|
|
828
|
+
* @private
|
|
829
|
+
* @param {*} value The value to query.
|
|
830
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
831
|
+
* @returns {Array} Returns the array of property names.
|
|
832
|
+
*/
|
|
833
|
+
function arrayLikeKeys(value, inherited) {
|
|
834
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
835
|
+
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
836
|
+
var result = (isArray(value) || isArguments(value))
|
|
837
|
+
? baseTimes(value.length, String)
|
|
838
|
+
: [];
|
|
839
|
+
|
|
840
|
+
var length = result.length,
|
|
841
|
+
skipIndexes = !!length;
|
|
842
|
+
|
|
843
|
+
for (var key in value) {
|
|
844
|
+
if ((hasOwnProperty.call(value, key)) &&
|
|
845
|
+
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
846
|
+
result.push(key);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
return result;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
854
|
+
*
|
|
855
|
+
* @private
|
|
856
|
+
* @param {number} number The number to clamp.
|
|
857
|
+
* @param {number} [lower] The lower bound.
|
|
858
|
+
* @param {number} upper The upper bound.
|
|
859
|
+
* @returns {number} Returns the clamped number.
|
|
860
|
+
*/
|
|
861
|
+
function baseClamp(number, lower, upper) {
|
|
862
|
+
if (number === number) {
|
|
863
|
+
if (upper !== undefined) {
|
|
864
|
+
number = number <= upper ? number : upper;
|
|
865
|
+
}
|
|
866
|
+
{
|
|
867
|
+
number = number >= lower ? number : lower;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
return number;
|
|
871
|
+
}
|
|
1220
872
|
|
|
1221
|
-
/**
|
|
1222
|
-
|
|
873
|
+
/**
|
|
874
|
+
* The base implementation of `getTag`.
|
|
875
|
+
*
|
|
876
|
+
* @private
|
|
877
|
+
* @param {*} value The value to query.
|
|
878
|
+
* @returns {string} Returns the `toStringTag`.
|
|
879
|
+
*/
|
|
880
|
+
function baseGetTag(value) {
|
|
881
|
+
return objectToString.call(value);
|
|
882
|
+
}
|
|
1223
883
|
|
|
1224
884
|
/**
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1227
|
-
*
|
|
885
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
886
|
+
*
|
|
887
|
+
* @private
|
|
888
|
+
* @param {*} value The value to check.
|
|
889
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
890
|
+
* else `false`.
|
|
1228
891
|
*/
|
|
1229
|
-
|
|
892
|
+
function baseIsNative(value) {
|
|
893
|
+
if (!isObject(value) || isMasked(value)) {
|
|
894
|
+
return false;
|
|
895
|
+
}
|
|
896
|
+
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
897
|
+
return pattern.test(toSource(value));
|
|
898
|
+
}
|
|
1230
899
|
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
900
|
+
/**
|
|
901
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
902
|
+
*
|
|
903
|
+
* @private
|
|
904
|
+
* @param {Object} object The object to query.
|
|
905
|
+
* @returns {Array} Returns the array of property names.
|
|
906
|
+
*/
|
|
907
|
+
function baseKeys(object) {
|
|
908
|
+
if (!isPrototype(object)) {
|
|
909
|
+
return nativeKeys(object);
|
|
910
|
+
}
|
|
911
|
+
var result = [];
|
|
912
|
+
for (var key in Object(object)) {
|
|
913
|
+
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
914
|
+
result.push(key);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
return result;
|
|
918
|
+
}
|
|
1235
919
|
|
|
1236
920
|
/**
|
|
1237
921
|
* The base implementation of `_.random` without support for returning
|
|
@@ -1246,6 +930,72 @@ function requireLodash_random () {
|
|
|
1246
930
|
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
1247
931
|
}
|
|
1248
932
|
|
|
933
|
+
/**
|
|
934
|
+
* Copies the values of `source` to `array`.
|
|
935
|
+
*
|
|
936
|
+
* @private
|
|
937
|
+
* @param {Array} source The array to copy values from.
|
|
938
|
+
* @param {Array} [array=[]] The array to copy values to.
|
|
939
|
+
* @returns {Array} Returns `array`.
|
|
940
|
+
*/
|
|
941
|
+
function copyArray(source, array) {
|
|
942
|
+
var index = -1,
|
|
943
|
+
length = source.length;
|
|
944
|
+
|
|
945
|
+
array || (array = Array(length));
|
|
946
|
+
while (++index < length) {
|
|
947
|
+
array[index] = source[index];
|
|
948
|
+
}
|
|
949
|
+
return array;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Gets the native function at `key` of `object`.
|
|
954
|
+
*
|
|
955
|
+
* @private
|
|
956
|
+
* @param {Object} object The object to query.
|
|
957
|
+
* @param {string} key The key of the method to get.
|
|
958
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
959
|
+
*/
|
|
960
|
+
function getNative(object, key) {
|
|
961
|
+
var value = getValue(object, key);
|
|
962
|
+
return baseIsNative(value) ? value : undefined;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Gets the `toStringTag` of `value`.
|
|
967
|
+
*
|
|
968
|
+
* @private
|
|
969
|
+
* @param {*} value The value to query.
|
|
970
|
+
* @returns {string} Returns the `toStringTag`.
|
|
971
|
+
*/
|
|
972
|
+
var getTag = baseGetTag;
|
|
973
|
+
|
|
974
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
975
|
+
// for data views in Edge < 14, and promises in Node.js.
|
|
976
|
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
977
|
+
(Map && getTag(new Map) != mapTag) ||
|
|
978
|
+
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
979
|
+
(Set && getTag(new Set) != setTag) ||
|
|
980
|
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
981
|
+
getTag = function(value) {
|
|
982
|
+
var result = objectToString.call(value),
|
|
983
|
+
Ctor = result == objectTag ? value.constructor : undefined,
|
|
984
|
+
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
985
|
+
|
|
986
|
+
if (ctorString) {
|
|
987
|
+
switch (ctorString) {
|
|
988
|
+
case dataViewCtorString: return dataViewTag;
|
|
989
|
+
case mapCtorString: return mapTag;
|
|
990
|
+
case promiseCtorString: return promiseTag;
|
|
991
|
+
case setCtorString: return setTag;
|
|
992
|
+
case weakMapCtorString: return weakMapTag;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
return result;
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
|
|
1249
999
|
/**
|
|
1250
1000
|
* Checks if `value` is a valid array-like index.
|
|
1251
1001
|
*
|
|
@@ -1285,6 +1035,92 @@ function requireLodash_random () {
|
|
|
1285
1035
|
return false;
|
|
1286
1036
|
}
|
|
1287
1037
|
|
|
1038
|
+
/**
|
|
1039
|
+
* Checks if `func` has its source masked.
|
|
1040
|
+
*
|
|
1041
|
+
* @private
|
|
1042
|
+
* @param {Function} func The function to check.
|
|
1043
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
1044
|
+
*/
|
|
1045
|
+
function isMasked(func) {
|
|
1046
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Checks if `value` is likely a prototype object.
|
|
1051
|
+
*
|
|
1052
|
+
* @private
|
|
1053
|
+
* @param {*} value The value to check.
|
|
1054
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
1055
|
+
*/
|
|
1056
|
+
function isPrototype(value) {
|
|
1057
|
+
var Ctor = value && value.constructor,
|
|
1058
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
1059
|
+
|
|
1060
|
+
return value === proto;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* Converts `func` to its source code.
|
|
1065
|
+
*
|
|
1066
|
+
* @private
|
|
1067
|
+
* @param {Function} func The function to process.
|
|
1068
|
+
* @returns {string} Returns the source code.
|
|
1069
|
+
*/
|
|
1070
|
+
function toSource(func) {
|
|
1071
|
+
if (func != null) {
|
|
1072
|
+
try {
|
|
1073
|
+
return funcToString.call(func);
|
|
1074
|
+
} catch (e) {}
|
|
1075
|
+
try {
|
|
1076
|
+
return (func + '');
|
|
1077
|
+
} catch (e) {}
|
|
1078
|
+
}
|
|
1079
|
+
return '';
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Gets `n` random elements at unique keys from `collection` up to the
|
|
1084
|
+
* size of `collection`.
|
|
1085
|
+
*
|
|
1086
|
+
* @static
|
|
1087
|
+
* @memberOf _
|
|
1088
|
+
* @since 4.0.0
|
|
1089
|
+
* @category Collection
|
|
1090
|
+
* @param {Array|Object} collection The collection to sample.
|
|
1091
|
+
* @param {number} [n=1] The number of elements to sample.
|
|
1092
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
1093
|
+
* @returns {Array} Returns the random elements.
|
|
1094
|
+
* @example
|
|
1095
|
+
*
|
|
1096
|
+
* _.sampleSize([1, 2, 3], 2);
|
|
1097
|
+
* // => [3, 1]
|
|
1098
|
+
*
|
|
1099
|
+
* _.sampleSize([1, 2, 3], 4);
|
|
1100
|
+
* // => [2, 3, 1]
|
|
1101
|
+
*/
|
|
1102
|
+
function sampleSize(collection, n, guard) {
|
|
1103
|
+
var index = -1,
|
|
1104
|
+
result = toArray(collection),
|
|
1105
|
+
length = result.length,
|
|
1106
|
+
lastIndex = length - 1;
|
|
1107
|
+
|
|
1108
|
+
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
1109
|
+
n = 1;
|
|
1110
|
+
} else {
|
|
1111
|
+
n = baseClamp(toInteger(n), 0, length);
|
|
1112
|
+
}
|
|
1113
|
+
while (++index < n) {
|
|
1114
|
+
var rand = baseRandom(index, lastIndex),
|
|
1115
|
+
value = result[rand];
|
|
1116
|
+
|
|
1117
|
+
result[rand] = result[index];
|
|
1118
|
+
result[index] = value;
|
|
1119
|
+
}
|
|
1120
|
+
result.length = n;
|
|
1121
|
+
return result;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1288
1124
|
/**
|
|
1289
1125
|
* Performs a
|
|
1290
1126
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -1302,24 +1138,73 @@ function requireLodash_random () {
|
|
|
1302
1138
|
* var object = { 'a': 1 };
|
|
1303
1139
|
* var other = { 'a': 1 };
|
|
1304
1140
|
*
|
|
1305
|
-
* _.eq(object, object);
|
|
1141
|
+
* _.eq(object, object);
|
|
1142
|
+
* // => true
|
|
1143
|
+
*
|
|
1144
|
+
* _.eq(object, other);
|
|
1145
|
+
* // => false
|
|
1146
|
+
*
|
|
1147
|
+
* _.eq('a', 'a');
|
|
1148
|
+
* // => true
|
|
1149
|
+
*
|
|
1150
|
+
* _.eq('a', Object('a'));
|
|
1151
|
+
* // => false
|
|
1152
|
+
*
|
|
1153
|
+
* _.eq(NaN, NaN);
|
|
1154
|
+
* // => true
|
|
1155
|
+
*/
|
|
1156
|
+
function eq(value, other) {
|
|
1157
|
+
return value === other || (value !== value && other !== other);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Checks if `value` is likely an `arguments` object.
|
|
1162
|
+
*
|
|
1163
|
+
* @static
|
|
1164
|
+
* @memberOf _
|
|
1165
|
+
* @since 0.1.0
|
|
1166
|
+
* @category Lang
|
|
1167
|
+
* @param {*} value The value to check.
|
|
1168
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1169
|
+
* else `false`.
|
|
1170
|
+
* @example
|
|
1171
|
+
*
|
|
1172
|
+
* _.isArguments(function() { return arguments; }());
|
|
1173
|
+
* // => true
|
|
1174
|
+
*
|
|
1175
|
+
* _.isArguments([1, 2, 3]);
|
|
1176
|
+
* // => false
|
|
1177
|
+
*/
|
|
1178
|
+
function isArguments(value) {
|
|
1179
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
1180
|
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
1181
|
+
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Checks if `value` is classified as an `Array` object.
|
|
1186
|
+
*
|
|
1187
|
+
* @static
|
|
1188
|
+
* @memberOf _
|
|
1189
|
+
* @since 0.1.0
|
|
1190
|
+
* @category Lang
|
|
1191
|
+
* @param {*} value The value to check.
|
|
1192
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
1193
|
+
* @example
|
|
1194
|
+
*
|
|
1195
|
+
* _.isArray([1, 2, 3]);
|
|
1306
1196
|
* // => true
|
|
1307
1197
|
*
|
|
1308
|
-
* _.
|
|
1198
|
+
* _.isArray(document.body.children);
|
|
1309
1199
|
* // => false
|
|
1310
1200
|
*
|
|
1311
|
-
* _.
|
|
1312
|
-
* // => true
|
|
1313
|
-
*
|
|
1314
|
-
* _.eq('a', Object('a'));
|
|
1201
|
+
* _.isArray('abc');
|
|
1315
1202
|
* // => false
|
|
1316
1203
|
*
|
|
1317
|
-
* _.
|
|
1318
|
-
* // =>
|
|
1204
|
+
* _.isArray(_.noop);
|
|
1205
|
+
* // => false
|
|
1319
1206
|
*/
|
|
1320
|
-
|
|
1321
|
-
return value === other || (value !== value && other !== other);
|
|
1322
|
-
}
|
|
1207
|
+
var isArray = Array.isArray;
|
|
1323
1208
|
|
|
1324
1209
|
/**
|
|
1325
1210
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
@@ -1350,6 +1235,35 @@ function requireLodash_random () {
|
|
|
1350
1235
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
1351
1236
|
}
|
|
1352
1237
|
|
|
1238
|
+
/**
|
|
1239
|
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
1240
|
+
* is an object.
|
|
1241
|
+
*
|
|
1242
|
+
* @static
|
|
1243
|
+
* @memberOf _
|
|
1244
|
+
* @since 4.0.0
|
|
1245
|
+
* @category Lang
|
|
1246
|
+
* @param {*} value The value to check.
|
|
1247
|
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
1248
|
+
* else `false`.
|
|
1249
|
+
* @example
|
|
1250
|
+
*
|
|
1251
|
+
* _.isArrayLikeObject([1, 2, 3]);
|
|
1252
|
+
* // => true
|
|
1253
|
+
*
|
|
1254
|
+
* _.isArrayLikeObject(document.body.children);
|
|
1255
|
+
* // => true
|
|
1256
|
+
*
|
|
1257
|
+
* _.isArrayLikeObject('abc');
|
|
1258
|
+
* // => false
|
|
1259
|
+
*
|
|
1260
|
+
* _.isArrayLikeObject(_.noop);
|
|
1261
|
+
* // => false
|
|
1262
|
+
*/
|
|
1263
|
+
function isArrayLikeObject(value) {
|
|
1264
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1353
1267
|
/**
|
|
1354
1268
|
* Checks if `value` is classified as a `Function` object.
|
|
1355
1269
|
*
|
|
@@ -1463,6 +1377,28 @@ function requireLodash_random () {
|
|
|
1463
1377
|
return !!value && typeof value == 'object';
|
|
1464
1378
|
}
|
|
1465
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* Checks if `value` is classified as a `String` primitive or object.
|
|
1382
|
+
*
|
|
1383
|
+
* @static
|
|
1384
|
+
* @since 0.1.0
|
|
1385
|
+
* @memberOf _
|
|
1386
|
+
* @category Lang
|
|
1387
|
+
* @param {*} value The value to check.
|
|
1388
|
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
1389
|
+
* @example
|
|
1390
|
+
*
|
|
1391
|
+
* _.isString('abc');
|
|
1392
|
+
* // => true
|
|
1393
|
+
*
|
|
1394
|
+
* _.isString(1);
|
|
1395
|
+
* // => false
|
|
1396
|
+
*/
|
|
1397
|
+
function isString(value) {
|
|
1398
|
+
return typeof value == 'string' ||
|
|
1399
|
+
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1466
1402
|
/**
|
|
1467
1403
|
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
1468
1404
|
*
|
|
@@ -1485,6 +1421,45 @@ function requireLodash_random () {
|
|
|
1485
1421
|
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
1486
1422
|
}
|
|
1487
1423
|
|
|
1424
|
+
/**
|
|
1425
|
+
* Converts `value` to an array.
|
|
1426
|
+
*
|
|
1427
|
+
* @static
|
|
1428
|
+
* @since 0.1.0
|
|
1429
|
+
* @memberOf _
|
|
1430
|
+
* @category Lang
|
|
1431
|
+
* @param {*} value The value to convert.
|
|
1432
|
+
* @returns {Array} Returns the converted array.
|
|
1433
|
+
* @example
|
|
1434
|
+
*
|
|
1435
|
+
* _.toArray({ 'a': 1, 'b': 2 });
|
|
1436
|
+
* // => [1, 2]
|
|
1437
|
+
*
|
|
1438
|
+
* _.toArray('abc');
|
|
1439
|
+
* // => ['a', 'b', 'c']
|
|
1440
|
+
*
|
|
1441
|
+
* _.toArray(1);
|
|
1442
|
+
* // => []
|
|
1443
|
+
*
|
|
1444
|
+
* _.toArray(null);
|
|
1445
|
+
* // => []
|
|
1446
|
+
*/
|
|
1447
|
+
function toArray(value) {
|
|
1448
|
+
if (!value) {
|
|
1449
|
+
return [];
|
|
1450
|
+
}
|
|
1451
|
+
if (isArrayLike(value)) {
|
|
1452
|
+
return isString(value) ? stringToArray(value) : copyArray(value);
|
|
1453
|
+
}
|
|
1454
|
+
if (iteratorSymbol && value[iteratorSymbol]) {
|
|
1455
|
+
return iteratorToArray(value[iteratorSymbol]());
|
|
1456
|
+
}
|
|
1457
|
+
var tag = getTag(value),
|
|
1458
|
+
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
1459
|
+
|
|
1460
|
+
return func(value);
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1488
1463
|
/**
|
|
1489
1464
|
* Converts `value` to a finite number.
|
|
1490
1465
|
*
|
|
@@ -1520,6 +1495,39 @@ function requireLodash_random () {
|
|
|
1520
1495
|
return value === value ? value : 0;
|
|
1521
1496
|
}
|
|
1522
1497
|
|
|
1498
|
+
/**
|
|
1499
|
+
* Converts `value` to an integer.
|
|
1500
|
+
*
|
|
1501
|
+
* **Note:** This method is loosely based on
|
|
1502
|
+
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1503
|
+
*
|
|
1504
|
+
* @static
|
|
1505
|
+
* @memberOf _
|
|
1506
|
+
* @since 4.0.0
|
|
1507
|
+
* @category Lang
|
|
1508
|
+
* @param {*} value The value to convert.
|
|
1509
|
+
* @returns {number} Returns the converted integer.
|
|
1510
|
+
* @example
|
|
1511
|
+
*
|
|
1512
|
+
* _.toInteger(3.2);
|
|
1513
|
+
* // => 3
|
|
1514
|
+
*
|
|
1515
|
+
* _.toInteger(Number.MIN_VALUE);
|
|
1516
|
+
* // => 0
|
|
1517
|
+
*
|
|
1518
|
+
* _.toInteger(Infinity);
|
|
1519
|
+
* // => 1.7976931348623157e+308
|
|
1520
|
+
*
|
|
1521
|
+
* _.toInteger('3.2');
|
|
1522
|
+
* // => 3
|
|
1523
|
+
*/
|
|
1524
|
+
function toInteger(value) {
|
|
1525
|
+
var result = toFinite(value),
|
|
1526
|
+
remainder = result % 1;
|
|
1527
|
+
|
|
1528
|
+
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1523
1531
|
/**
|
|
1524
1532
|
* Converts `value` to a number.
|
|
1525
1533
|
*
|
|
@@ -1565,81 +1573,73 @@ function requireLodash_random () {
|
|
|
1565
1573
|
}
|
|
1566
1574
|
|
|
1567
1575
|
/**
|
|
1568
|
-
*
|
|
1569
|
-
* If only one argument is provided a number between `0` and the given number
|
|
1570
|
-
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
1571
|
-
* floats, a floating-point number is returned instead of an integer.
|
|
1576
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
1572
1577
|
*
|
|
1573
|
-
* **Note:**
|
|
1574
|
-
*
|
|
1578
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
1579
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1580
|
+
* for more details.
|
|
1575
1581
|
*
|
|
1576
1582
|
* @static
|
|
1583
|
+
* @since 0.1.0
|
|
1577
1584
|
* @memberOf _
|
|
1578
|
-
* @
|
|
1579
|
-
* @
|
|
1580
|
-
* @
|
|
1581
|
-
* @param {number} [upper=1] The upper bound.
|
|
1582
|
-
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
1583
|
-
* @returns {number} Returns the random number.
|
|
1585
|
+
* @category Object
|
|
1586
|
+
* @param {Object} object The object to query.
|
|
1587
|
+
* @returns {Array} Returns the array of property names.
|
|
1584
1588
|
* @example
|
|
1585
1589
|
*
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
1590
|
+
* function Foo() {
|
|
1591
|
+
* this.a = 1;
|
|
1592
|
+
* this.b = 2;
|
|
1593
|
+
* }
|
|
1588
1594
|
*
|
|
1589
|
-
*
|
|
1590
|
-
* // => also an integer between 0 and 5
|
|
1595
|
+
* Foo.prototype.c = 3;
|
|
1591
1596
|
*
|
|
1592
|
-
* _.
|
|
1593
|
-
* // => a
|
|
1597
|
+
* _.keys(new Foo);
|
|
1598
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
1594
1599
|
*
|
|
1595
|
-
* _.
|
|
1596
|
-
* // =>
|
|
1600
|
+
* _.keys('hi');
|
|
1601
|
+
* // => ['0', '1']
|
|
1597
1602
|
*/
|
|
1598
|
-
function
|
|
1599
|
-
|
|
1600
|
-
upper = floating = undefined;
|
|
1601
|
-
}
|
|
1602
|
-
if (floating === undefined) {
|
|
1603
|
-
if (typeof upper == 'boolean') {
|
|
1604
|
-
floating = upper;
|
|
1605
|
-
upper = undefined;
|
|
1606
|
-
}
|
|
1607
|
-
else if (typeof lower == 'boolean') {
|
|
1608
|
-
floating = lower;
|
|
1609
|
-
lower = undefined;
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
if (lower === undefined && upper === undefined) {
|
|
1613
|
-
lower = 0;
|
|
1614
|
-
upper = 1;
|
|
1615
|
-
}
|
|
1616
|
-
else {
|
|
1617
|
-
lower = toFinite(lower);
|
|
1618
|
-
if (upper === undefined) {
|
|
1619
|
-
upper = lower;
|
|
1620
|
-
lower = 0;
|
|
1621
|
-
} else {
|
|
1622
|
-
upper = toFinite(upper);
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
if (lower > upper) {
|
|
1626
|
-
var temp = lower;
|
|
1627
|
-
lower = upper;
|
|
1628
|
-
upper = temp;
|
|
1629
|
-
}
|
|
1630
|
-
if (floating || lower % 1 || upper % 1) {
|
|
1631
|
-
var rand = nativeRandom();
|
|
1632
|
-
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
1633
|
-
}
|
|
1634
|
-
return baseRandom(lower, upper);
|
|
1603
|
+
function keys(object) {
|
|
1604
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1635
1605
|
}
|
|
1636
1606
|
|
|
1637
|
-
|
|
1638
|
-
|
|
1607
|
+
/**
|
|
1608
|
+
* Creates an array of the own enumerable string keyed property values of `object`.
|
|
1609
|
+
*
|
|
1610
|
+
* **Note:** Non-object values are coerced to objects.
|
|
1611
|
+
*
|
|
1612
|
+
* @static
|
|
1613
|
+
* @since 0.1.0
|
|
1614
|
+
* @memberOf _
|
|
1615
|
+
* @category Object
|
|
1616
|
+
* @param {Object} object The object to query.
|
|
1617
|
+
* @returns {Array} Returns the array of property values.
|
|
1618
|
+
* @example
|
|
1619
|
+
*
|
|
1620
|
+
* function Foo() {
|
|
1621
|
+
* this.a = 1;
|
|
1622
|
+
* this.b = 2;
|
|
1623
|
+
* }
|
|
1624
|
+
*
|
|
1625
|
+
* Foo.prototype.c = 3;
|
|
1626
|
+
*
|
|
1627
|
+
* _.values(new Foo);
|
|
1628
|
+
* // => [1, 2] (iteration order is not guaranteed)
|
|
1629
|
+
*
|
|
1630
|
+
* _.values('hi');
|
|
1631
|
+
* // => ['h', 'i']
|
|
1632
|
+
*/
|
|
1633
|
+
function values(object) {
|
|
1634
|
+
return object ? baseValues(object, keys(object)) : [];
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
lodash_samplesize = sampleSize;
|
|
1638
|
+
return lodash_samplesize;
|
|
1639
1639
|
}
|
|
1640
1640
|
|
|
1641
|
-
var
|
|
1642
|
-
var
|
|
1641
|
+
var lodash_samplesizeExports = requireLodash_samplesize();
|
|
1642
|
+
var sampleSize = /*@__PURE__*/getDefaultExportFromCjs(lodash_samplesizeExports);
|
|
1643
1643
|
|
|
1644
1644
|
const documentComponentDemoCss = ".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";
|
|
1645
1645
|
|
|
@@ -1825,7 +1825,7 @@ const DocumentComponentDemo = class {
|
|
|
1825
1825
|
render() {
|
|
1826
1826
|
var _a, _b;
|
|
1827
1827
|
const { DocumentComponent, MenuButton } = this;
|
|
1828
|
-
return (h("dso-responsive-element", { key: '
|
|
1828
|
+
return (h("dso-responsive-element", { key: '035af6f3f084c434155b8a7cea1fd2a054af9bfc', class: "dso-document-components" }, h("div", { key: 'baa05e7f091391fb8a1779365a5f98fa5e552af5', class: "dso-navbar" }, h("ul", { key: '030d2050156fe948be7678fcf456d113d9107ba3', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: '13387515126f7264942f57be563c9031b3593b49', path: [this.document] })));
|
|
1829
1829
|
}
|
|
1830
1830
|
static get watchers() { return {
|
|
1831
1831
|
"jsonFile": ["jsonFileWatcher"],
|