@designsystem-se/af 39.1.0-beta.2 → 39.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/README.md +1 -1
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.js +11 -22
- package/components/digi-bar-chart.js +32 -45
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +141 -217
- package/components/digi-calendar-week-view.js +69 -82
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +34 -37
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +43 -53
- package/components/digi-code.js +14 -29
- package/components/digi-context-menu.js +29 -38
- package/components/digi-dialog.js +73 -92
- package/components/digi-expandable-accordion.js +22 -54
- package/components/digi-expandable-faq-item.js +24 -52
- package/components/digi-expandable-faq.js +13 -20
- package/components/digi-footer-card.js +10 -15
- package/components/digi-footer.js +65 -70
- package/components/digi-form-category-filter.js +16 -53
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +78 -94
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +68 -105
- package/components/digi-form-filter.js +37 -56
- package/components/digi-form-input-search.js +49 -63
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +46 -78
- package/components/digi-form-receipt.js +64 -85
- package/components/digi-form-select-filter.js +120 -172
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +46 -64
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +58 -45
- package/components/digi-header-navigation-item.js +11 -11
- package/components/digi-header-navigation.js +81 -91
- package/components/digi-header-notification.js +12 -12
- package/components/digi-header.js +77 -77
- package/components/digi-icon-accessibility-deaf.js +14 -16
- package/components/digi-icon-accessibility-universal.js +14 -16
- package/components/digi-icon-apple.js +14 -16
- package/components/digi-icon-archive-outline.js +14 -16
- package/components/digi-icon-archive.js +14 -16
- package/components/digi-icon-arrow-back.js +14 -16
- package/components/digi-icon-arrow-down.js +14 -16
- package/components/digi-icon-arrow-left.js +14 -16
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +14 -16
- package/components/digi-icon-arrow-sign-out.js +14 -16
- package/components/digi-icon-arrow-up.js +14 -16
- package/components/digi-icon-at.js +14 -16
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +14 -16
- package/components/digi-icon-bell.js +14 -16
- package/components/digi-icon-book.js +14 -16
- package/components/digi-icon-bookmark-outline.js +14 -16
- package/components/digi-icon-bookmark-solid.js +14 -16
- package/components/digi-icon-bubble-ellipsis.js +14 -16
- package/components/digi-icon-bubble.js +14 -16
- package/components/digi-icon-building-outline.js +14 -16
- package/components/digi-icon-building-solid.js +14 -16
- package/components/digi-icon-bullseye.js +14 -16
- package/components/digi-icon-calculator-solid.js +14 -16
- package/components/digi-icon-calendar-alt-alert.js +14 -16
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +14 -16
- package/components/digi-icon-caret-circle-right.js +14 -16
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +14 -16
- package/components/digi-icon-caret-right.js +14 -16
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +14 -16
- package/components/digi-icon-check-circle-reg-alt.js +14 -16
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +14 -16
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.js +14 -16
- package/components/digi-icon-clock.js +14 -16
- package/components/digi-icon-communication-play-solid.js +14 -16
- package/components/digi-icon-compress-alt.js +14 -16
- package/components/digi-icon-comunication-case.js +14 -16
- package/components/digi-icon-comunication-flag.js +14 -16
- package/components/digi-icon-comunication-graduate.js +14 -16
- package/components/digi-icon-comunication-play.js +14 -16
- package/components/digi-icon-cooperation.js +14 -16
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +14 -16
- package/components/digi-icon-download.js +14 -16
- package/components/digi-icon-dxa.js +14 -16
- package/components/digi-icon-edit.js +14 -16
- package/components/digi-icon-ellipsis.js +14 -16
- package/components/digi-icon-envelope-filled.js +14 -16
- package/components/digi-icon-envelope.js +14 -16
- package/components/digi-icon-exclamation-circle-filled.js +14 -16
- package/components/digi-icon-exclamation-triangle-filled.js +14 -16
- package/components/digi-icon-exclamation-triangle-warning.js +14 -16
- package/components/digi-icon-exclamation-triangle.js +14 -16
- package/components/digi-icon-expand-alt.js +14 -16
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +14 -16
- package/components/digi-icon-eye.js +14 -16
- package/components/digi-icon-facebook-square.js +14 -16
- package/components/digi-icon-file-add.js +13 -15
- package/components/digi-icon-file-document.js +14 -16
- package/components/digi-icon-file-excel.js +14 -16
- package/components/digi-icon-file-export.js +13 -15
- package/components/digi-icon-file-governing.js +14 -16
- package/components/digi-icon-file-pdf.js +14 -16
- package/components/digi-icon-file-powerpoint.js +14 -16
- package/components/digi-icon-file-remove.js +13 -15
- package/components/digi-icon-file-word.js +14 -16
- package/components/digi-icon-film.js +14 -16
- package/components/digi-icon-filter.js +14 -16
- package/components/digi-icon-folder-add.js +13 -15
- package/components/digi-icon-folder-directory.js +13 -15
- package/components/digi-icon-folder-open.js +13 -15
- package/components/digi-icon-folder.js +13 -15
- package/components/digi-icon-globe-filled.js +14 -16
- package/components/digi-icon-globe.js +14 -16
- package/components/digi-icon-headphones.js +14 -16
- package/components/digi-icon-heart-solid.js +14 -16
- package/components/digi-icon-heart.js +14 -16
- package/components/digi-icon-history.js +14 -16
- package/components/digi-icon-home.js +14 -16
- package/components/digi-icon-image.js +14 -16
- package/components/digi-icon-info-circle-solid.js +14 -16
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +14 -16
- package/components/digi-icon-job-suggestion.js +14 -16
- package/components/digi-icon-language-outline.js +14 -16
- package/components/digi-icon-language.js +14 -16
- package/components/digi-icon-laptop-phone.js +14 -16
- package/components/digi-icon-lattlast.js +14 -16
- package/components/digi-icon-licence-bus.js +14 -16
- package/components/digi-icon-licence-car.js +14 -16
- package/components/digi-icon-licence-motorcycle.js +14 -16
- package/components/digi-icon-licence-truck.js +14 -16
- package/components/digi-icon-lightbulb.js +14 -16
- package/components/digi-icon-linkedin-in.js +14 -16
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +14 -16
- package/components/digi-icon-marker-filled.js +14 -16
- package/components/digi-icon-marker.js +14 -16
- package/components/digi-icon-media-course.js +14 -16
- package/components/digi-icon-media-podcast.js +14 -16
- package/components/digi-icon-microphone-off.js +14 -16
- package/components/digi-icon-microphone.js +14 -16
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +14 -16
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.js +14 -16
- package/components/digi-icon-online-meeting.js +14 -16
- package/components/digi-icon-online-task.js +14 -16
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +14 -16
- package/components/digi-icon-palette.js +14 -16
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +13 -15
- package/components/digi-icon-pen.js +14 -16
- package/components/digi-icon-phone-hangup.js +14 -16
- package/components/digi-icon-phone.js +14 -16
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +14 -16
- package/components/digi-icon-read.js +14 -16
- package/components/digi-icon-redo.js +14 -16
- package/components/digi-icon-scale.js +13 -15
- package/components/digi-icon-screensharing-off.js +14 -16
- package/components/digi-icon-screensharing.js +14 -16
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +14 -16
- package/components/digi-icon-send-solid.js +14 -16
- package/components/digi-icon-settings.js +14 -16
- package/components/digi-icon-share-alt.js +14 -16
- package/components/digi-icon-share-chain.js +14 -16
- package/components/digi-icon-sign.js +14 -16
- package/components/digi-icon-sliders-h.js +14 -16
- package/components/digi-icon-sokkandidat.js +14 -16
- package/components/digi-icon-sort-down.js +14 -16
- package/components/digi-icon-sort-up.js +14 -16
- package/components/digi-icon-sort.js +14 -16
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +14 -16
- package/components/digi-icon-star.js +14 -16
- package/components/digi-icon-suitcase-outline.js +14 -16
- package/components/digi-icon-suitcase-solid.js +14 -16
- package/components/digi-icon-system-assistance.js +14 -16
- package/components/digi-icon-table-column.js +14 -16
- package/components/digi-icon-table-row.js +14 -16
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +14 -16
- package/components/digi-icon-toggle-off.js +14 -16
- package/components/digi-icon-toggle-on.js +14 -16
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +14 -16
- package/components/digi-icon-tyck-till.js +14 -16
- package/components/digi-icon-unlock.js +14 -16
- package/components/digi-icon-update.js +14 -16
- package/components/digi-icon-upload.js +14 -16
- package/components/digi-icon-user-add.js +13 -15
- package/components/digi-icon-user-alt.js +14 -16
- package/components/digi-icon-user-edit.js +13 -15
- package/components/digi-icon-users-solid.js +14 -16
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.js +14 -16
- package/components/digi-icon-videocamera.js +14 -16
- package/components/digi-icon-volume.js +14 -16
- package/components/digi-icon-web-tv.js +14 -16
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +14 -16
- package/components/digi-icon-wifi-signal1.js +14 -16
- package/components/digi-icon-wifi-signal2.js +14 -16
- package/components/digi-icon-wifi-signal3.js +14 -16
- package/components/digi-icon-window.js +14 -16
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +14 -16
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +14 -16
- package/components/digi-info-card-multi-container.js +14 -13
- package/components/digi-info-card-multi.js +44 -54
- package/components/digi-info-card.js +30 -49
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.js +30 -36
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.js +20 -29
- package/components/digi-loader-skeleton.js +9 -18
- package/components/digi-loader-spinner.js +12 -16
- package/components/digi-logo.js +15 -24
- package/components/digi-media-figure.js +11 -15
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +35 -72
- package/components/digi-navigation-pagination.js +74 -90
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +36 -72
- package/components/digi-navigation-vertical-menu-item.js +24 -51
- package/components/digi-navigation-vertical-menu.js +13 -26
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +347 -88
- package/components/digi-progress-circle.js +36 -59
- package/components/digi-progress-indicator.js +65 -76
- package/components/digi-progress-list-item.js +26 -64
- package/components/digi-progress-list.js +16 -47
- package/components/digi-progressbar.js +48 -60
- package/components/digi-quote.js +20 -33
- package/components/digi-table.js +12 -25
- package/components/digi-tablist-panel.js +7 -8
- package/components/digi-tablist.js +41 -68
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +17 -27
- package/components/digi-title-logo.js +66 -62
- package/components/digi-tools-feedback-banner.js +59 -80
- package/components/digi-tools-feedback-rating.js +48 -74
- package/components/digi-tools-feedback.js +71 -102
- package/components/digi-tools-theme-provider.js +11 -16
- package/components/digi-typography-heading-jumbo.js +11 -23
- package/components/digi-typography-meta.js +11 -16
- package/components/digi-typography-preamble.js +10 -11
- package/components/digi-typography-time.js +13 -24
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +9 -15
- package/components/digi-util-detect-focus-outside.js +9 -15
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +8 -10
- package/components/digi-util-mutation-observer.js +1 -94
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +0 -1
- package/components/index.js +51 -51
- package/components/p-01264cdd.js +46 -0
- package/components/p-02cac754.js +46 -0
- package/components/p-02ebe13f.js +46 -0
- package/components/p-06905c58.js +46 -0
- package/components/p-0e6a31ff.js +58 -0
- package/components/p-14119afa.js +46 -0
- package/components/p-1e730762.js +46 -0
- package/components/p-210a5fb1.js +46 -0
- package/components/p-222f510d.js +72 -0
- package/components/p-22bcbe8a.js +70 -0
- package/components/p-2881b363.js +38 -0
- package/components/p-2f619b66.js +79 -0
- package/components/p-36826879.js +176 -0
- package/components/p-36b65cd5.js +46 -0
- package/components/p-430607cb.js +7 -0
- package/components/p-433c995f.js +46 -0
- package/components/p-43c92e65.js +46 -0
- package/components/p-4851d4b6.js +46 -0
- package/components/p-4b44f757.js +46 -0
- package/components/p-4c4c38fd.js +46 -0
- package/components/p-4cdabbdb.js +88 -0
- package/components/p-517dba78.js +46 -0
- package/components/p-58f84239.js +46 -0
- package/components/p-59ead9fe.js +96 -0
- package/components/p-6ee85572.js +172 -0
- package/components/p-704e0126.js +276 -0
- package/components/p-70c8d84e.js +52 -0
- package/components/p-70fad0ea.js +165 -0
- package/components/p-71afaf70.js +132 -0
- package/components/p-77d8d575.js +157 -0
- package/components/p-7af943bd.js +46 -0
- package/components/p-7d7af765.js +46 -0
- package/components/p-7e9f8ee6.js +46 -0
- package/components/p-7f08536e.js +46 -0
- package/components/p-806d4bbf.js +64 -0
- package/components/p-88605ec3.js +71 -0
- package/components/p-8d67da4c.js +46 -0
- package/components/p-8ee7ec0b.js +46 -0
- package/components/p-965c3fa4.js +177 -0
- package/components/p-96ef4705.js +46 -0
- package/components/p-9963ea8d.js +99 -0
- package/components/p-9df35672.js +57 -0
- package/components/p-9e98bc1f.js +46 -0
- package/components/p-9f757d46.js +46 -0
- package/components/p-a1255d30.js +133 -0
- package/components/p-a43d5fe6.js +46 -0
- package/components/p-a480e81e.js +46 -0
- package/components/p-a53686b3.js +2052 -0
- package/components/p-ac5035f1.js +93 -0
- package/components/p-b18e3596.js +46 -0
- package/components/p-b53be17d.js +46 -0
- package/components/p-c7949525.js +865 -0
- package/components/p-d0f35bd6.js +23 -0
- package/components/p-d2b12caf.js +46 -0
- package/components/p-d851dc90.js +66 -0
- package/components/p-dab20489.js +98 -0
- package/components/p-db0d140d.js +79 -0
- package/components/p-db6386c7.js +46 -0
- package/components/p-db81738c.js +46 -0
- package/components/p-dbb0665a.js +596 -0
- package/components/p-de2295b7.js +47 -0
- package/components/p-e2a68e2b.js +242 -0
- package/components/p-e6b042b3.js +47 -0
- package/components/p-e788c4e0.js +46 -0
- package/components/p-e78c723f.js +75 -0
- package/components/p-ee33960b.js +7 -0
- package/components/p-f25f9ca8.js +2431 -0
- package/components/p-f461911c.js +46 -0
- package/components/p-f884ee43.js +46 -0
- package/components/p-f9a1a787.js +3722 -0
- package/components/p-fe63f0b9.js +17 -0
- package/components/p-ff74fdd6.js +46 -0
- package/custom-elements.json +13 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/button-size.enum-1fd86b9e.js +7 -0
- package/dist/cjs/button-type.enum-406723db.js +8 -0
- package/dist/cjs/code-example-variation.enum-c6557727.js +27 -0
- package/dist/cjs/detectClickOutside.util-3e764eb3.js +9 -0
- package/dist/cjs/detectFocusOutside.util-03c62976.js +9 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +8 -28
- package/dist/cjs/digi-badge-notification.cjs.entry.js +9 -11
- package/dist/cjs/digi-badge-status.cjs.entry.js +9 -16
- package/dist/cjs/digi-bar-chart.cjs.entry.js +74 -81
- package/dist/cjs/digi-button.cjs.entry.js +130 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +86 -148
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +55 -58
- package/dist/cjs/digi-calendar_2.cjs.entry.js +32 -58
- package/dist/cjs/digi-chart-line.cjs.entry.js +123 -120
- package/dist/cjs/digi-code-block_3.cjs.entry.js +88 -112
- package/dist/cjs/digi-code-example.cjs.entry.js +22 -25
- package/dist/cjs/digi-code.cjs.entry.js +11 -20
- package/dist/cjs/digi-context-menu.cjs.entry.js +20 -21
- package/dist/cjs/digi-dialog.cjs.entry.js +64 -75
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +14 -40
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +16 -38
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +10 -13
- package/dist/cjs/digi-footer-card.cjs.entry.js +7 -8
- package/dist/cjs/digi-footer.cjs.entry.js +57 -54
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +7 -38
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +25 -27
- package/dist/cjs/digi-form-error-list.cjs.entry.js +60 -68
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +49 -79
- package/dist/cjs/digi-form-filter.cjs.entry.js +26 -35
- package/dist/cjs/digi-form-input-search.cjs.entry.js +35 -39
- package/dist/cjs/digi-form-input.cjs.entry.js +194 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +22 -52
- package/dist/cjs/digi-form-receipt.cjs.entry.js +58 -71
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +605 -0
- package/dist/cjs/digi-form-select_2.cjs.entry.js +49 -64
- package/dist/cjs/digi-form-textarea.cjs.entry.js +31 -39
- package/dist/cjs/digi-header-avatar.cjs.entry.js +50 -34
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +8 -4
- package/dist/cjs/digi-header-navigation.cjs.entry.js +68 -68
- package/dist/cjs/digi-header-notification.cjs.entry.js +9 -5
- package/dist/cjs/digi-header.cjs.entry.js +63 -55
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-apple.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-archive.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-at.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bars.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bell.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-book.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-chat.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +36 -34
- package/dist/cjs/digi-icon-check_6.cjs.entry.js +340 -0
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-clock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-copy.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-download.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-edit.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +21 -13
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-eye.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-film.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-filter.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-globe.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-heart.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-history.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-home.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-image.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-language.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +52 -50
- package/dist/cjs/digi-icon-lock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-marker.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-move.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +36 -34
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-palette.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-paste.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-pen.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-phone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-print.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-read.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-redo.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-scale.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-search.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-settings.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sign.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-star.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-update.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-upload.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-volume.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-window.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-x.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +12 -10
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +9 -4
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +19 -21
- package/dist/cjs/digi-info-card.cjs.entry.js +17 -28
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +22 -31
- package/dist/cjs/digi-layout-columns.cjs.entry.js +9 -13
- package/dist/cjs/digi-link-button.cjs.entry.js +23 -26
- package/dist/cjs/digi-link-internal.cjs.entry.js +11 -13
- package/dist/cjs/digi-link.cjs.entry.js +17 -17
- package/dist/cjs/digi-list.cjs.entry.js +13 -18
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +7 -12
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +8 -8
- package/dist/cjs/digi-logo.cjs.entry.js +13 -18
- package/dist/cjs/digi-media-figure.cjs.entry.js +8 -8
- package/dist/cjs/digi-media-image_2.cjs.entry.js +18 -31
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +24 -61
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +63 -71
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +9 -8
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +22 -48
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +15 -32
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +10 -19
- package/dist/cjs/digi-notification-alert.cjs.entry.js +59 -75
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +334 -66
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +17 -51
- package/dist/cjs/digi-progress-list.cjs.entry.js +11 -38
- package/dist/cjs/digi-progressbar.cjs.entry.js +36 -46
- package/dist/cjs/digi-quote.cjs.entry.js +13 -22
- package/dist/cjs/digi-table.cjs.entry.js +9 -18
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +4 -1
- package/dist/cjs/digi-tablist.cjs.entry.js +27 -36
- package/dist/cjs/digi-tag-media.cjs.entry.js +10 -10
- package/dist/cjs/digi-tag.cjs.entry.js +11 -17
- package/dist/cjs/digi-title-logo.cjs.entry.js +62 -50
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +33 -52
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +31 -50
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +64 -85
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +8 -9
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +9 -17
- package/dist/cjs/digi-typography-meta.cjs.entry.js +8 -9
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +7 -4
- package/dist/cjs/digi-typography-time.cjs.entry.js +10 -15
- package/dist/cjs/digi-typography.cjs.entry.js +8 -4
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +8 -5
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +7 -9
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +7 -9
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +83 -0
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +5 -3
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +6 -3
- package/dist/cjs/form-file-upload-variation.enum-634cfae8.js +24 -0
- package/dist/cjs/form-input-search-variation.enum-c50239bc.js +8 -0
- package/dist/cjs/form-input-type.enum-9c8ee12a.js +25 -0
- package/dist/cjs/form-input-variation.enum-c750520c.js +29 -0
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
- package/dist/cjs/index-7a477838.js +3225 -0
- package/dist/cjs/index-ac8e01b4.js +884 -0
- package/dist/cjs/index-cad91a90.js +66 -0
- package/dist/cjs/index.cjs.js +578 -304
- package/dist/cjs/linear-86314cb2.js +3737 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/prism-git-df985529.js +2433 -0
- package/dist/cjs/progress-indicator-heading-level.enum-13c38ed0.js +39 -0
- package/dist/cjs/typography-variation.enum-50512a4e.js +238 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/_badge/badge-notification/badge-notification.js +4 -7
- package/dist/collection/components/_badge/badge-status/badge-status.js +12 -25
- package/dist/collection/components/_button/button/button.js +54 -59
- package/dist/collection/components/_calendar/calendar/calendar.js +10 -29
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +2 -2
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +39 -99
- package/dist/collection/components/_calendar/week-view/calendar-week-view.js +11 -21
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +11 -21
- package/dist/collection/components/_chart/chart-line/chart-line.js +9 -8
- package/dist/collection/components/_code/code/code.js +9 -21
- package/dist/collection/components/_code/code-block/code-block.js +10 -26
- package/dist/collection/components/_code/code-example/code-example.js +21 -30
- package/dist/collection/components/_dialog/dialog/dialog.js +23 -44
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +14 -42
- package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +8 -16
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +17 -42
- package/dist/collection/components/_footer/footer/footer.js +2 -7
- package/dist/collection/components/_footer/footer-card/footer-card.js +2 -7
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +8 -41
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +50 -54
- package/dist/collection/components/_form/form-error-list/form-error-list.js +12 -29
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +16 -27
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +8 -15
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +66 -102
- package/dist/collection/components/_form/form-filter/form-filter.js +39 -50
- package/dist/collection/components/_form/form-input/form-input.js +89 -102
- package/dist/collection/components/_form/form-input-search/form-input-search.js +54 -63
- package/dist/collection/components/_form/form-label/form-label.js +18 -28
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +39 -43
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +23 -59
- package/dist/collection/components/_form/form-receipt/form-receipt.js +8 -31
- package/dist/collection/components/_form/form-select/form-select.js +64 -80
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +78 -126
- package/dist/collection/components/_form/form-textarea/form-textarea.js +61 -68
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +3 -8
- package/dist/collection/components/_header/header/header.js +12 -12
- package/dist/collection/components/_header/header-avatar/header-avatar.css +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.js +24 -46
- package/dist/collection/components/_header/header-navigation/header-navigation.js +24 -30
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +6 -3
- package/dist/collection/components/_header/header-notification/header-notification.js +7 -4
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +12 -13
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +12 -13
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +12 -13
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +12 -13
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +12 -13
- package/dist/collection/components/_icon/icon-at/icon-at.js +12 -13
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +12 -13
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +12 -13
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +12 -13
- package/dist/collection/components/_icon/icon-book/icon-book.js +12 -13
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +12 -13
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +12 -13
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +12 -13
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +12 -13
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +12 -13
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +12 -13
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +12 -13
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +12 -13
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +12 -13
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +12 -13
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +12 -13
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +12 -13
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +12 -13
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +12 -13
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +12 -13
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +12 -13
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +12 -13
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +12 -13
- package/dist/collection/components/_icon/icon-check/icon-check.js +12 -13
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +12 -13
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +12 -13
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +12 -13
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +12 -13
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +12 -13
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +12 -13
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +12 -13
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +12 -13
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +12 -13
- package/dist/collection/components/_icon/icon-download/icon-download.js +12 -13
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +12 -13
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +12 -13
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +12 -13
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +12 -13
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +12 -13
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +12 -13
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +12 -13
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +12 -13
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +12 -13
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +12 -13
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +11 -12
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +12 -13
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +12 -13
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +11 -12
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +12 -13
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +12 -13
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +12 -13
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +11 -12
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +12 -13
- package/dist/collection/components/_icon/icon-film/icon-film.js +12 -13
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +12 -13
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +11 -12
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +11 -12
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +11 -12
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +11 -12
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +12 -13
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +12 -13
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +12 -13
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +12 -13
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +12 -13
- package/dist/collection/components/_icon/icon-history/icon-history.js +12 -13
- package/dist/collection/components/_icon/icon-home/icon-home.js +12 -13
- package/dist/collection/components/_icon/icon-image/icon-image.js +12 -13
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +12 -13
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +12 -13
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +12 -13
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +12 -13
- package/dist/collection/components/_icon/icon-language/icon-language.js +12 -13
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +12 -13
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +12 -13
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +12 -13
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +12 -13
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +12 -13
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +12 -13
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +12 -13
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +12 -13
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +12 -13
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +12 -13
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +12 -13
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +12 -13
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +12 -13
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +12 -13
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +12 -13
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +12 -13
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +12 -13
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +12 -13
- package/dist/collection/components/_icon/icon-move/icon-move.js +12 -13
- package/dist/collection/components/_icon/icon-news/icon-news.js +12 -13
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +12 -13
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +12 -13
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +12 -13
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +12 -13
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +12 -13
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +12 -13
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +12 -13
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +12 -13
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +12 -13
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +12 -13
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +12 -13
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +12 -13
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +11 -12
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +12 -13
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +12 -13
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +12 -13
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +12 -13
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +12 -13
- package/dist/collection/components/_icon/icon-print/icon-print.js +12 -13
- package/dist/collection/components/_icon/icon-read/icon-read.js +12 -13
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +12 -13
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +11 -12
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +12 -13
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +12 -13
- package/dist/collection/components/_icon/icon-search/icon-search.js +12 -13
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +12 -13
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +12 -13
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +12 -13
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +12 -13
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +12 -13
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +12 -13
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +12 -13
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +12 -13
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +12 -13
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +12 -13
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +12 -13
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +12 -13
- package/dist/collection/components/_icon/icon-star/icon-star.js +12 -13
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +12 -13
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +12 -13
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +12 -13
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +12 -13
- package/dist/collection/components/_icon/icon-table/icon-table.js +12 -13
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +12 -13
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +12 -13
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +12 -13
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +12 -13
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +12 -13
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +12 -13
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +12 -13
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +12 -13
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +12 -13
- package/dist/collection/components/_icon/icon-update/icon-update.js +12 -13
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +12 -13
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +11 -12
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +12 -13
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +11 -12
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +12 -13
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +12 -13
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +12 -13
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +12 -13
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +12 -13
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +12 -13
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +12 -13
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +12 -13
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +12 -13
- package/dist/collection/components/_icon/icon-window/icon-window.js +12 -13
- package/dist/collection/components/_icon/icon-x/icon-x.js +12 -13
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +12 -13
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +12 -13
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +12 -13
- package/dist/collection/components/_info-card/info-card/info-card.js +28 -43
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +27 -31
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +10 -7
- package/dist/collection/components/_layout/layout-block/layout-block.js +14 -21
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +9 -19
- package/dist/collection/components/_layout/layout-container/layout-container.js +17 -23
- package/dist/collection/components/_link/link/link.css +16 -61
- package/dist/collection/components/_link/link/link.js +24 -25
- package/dist/collection/components/_link/link-button/link-button.css +7 -64
- package/dist/collection/components/_link/link-button/link-button.js +31 -33
- package/dist/collection/components/_link/link-external/link-external.css +0 -3
- package/dist/collection/components/_link/link-external/link-external.js +18 -11
- package/dist/collection/components/_link/link-internal/link-internal.css +10 -5
- package/dist/collection/components/_link/link-internal/link-internal.js +15 -20
- package/dist/collection/components/_list/list/list.css +1 -23
- package/dist/collection/components/_list/list/list.js +8 -17
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -12
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +5 -9
- package/dist/collection/components/_logo/logo/logo.js +15 -24
- package/dist/collection/components/_logo/title-logo/title-logo.js +9 -4
- package/dist/collection/components/_media/media-figure/media-figure.js +5 -9
- package/dist/collection/components/_media/media-image/media-image.js +26 -30
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +18 -56
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +30 -36
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +16 -31
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +40 -69
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +7 -9
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +29 -31
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +4 -3
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +8 -22
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +19 -33
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +12 -38
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +13 -11
- package/dist/collection/components/_progress/progress-circle/progress-circle-heading-level.enum.js +9 -0
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +70 -59
- package/dist/collection/components/_progress/progress-indicator/progress-indicator-heading-level.enum.js +9 -0
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +87 -67
- package/dist/collection/components/_progress/progress-list/progress-list.js +17 -50
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +28 -69
- package/dist/collection/components/_progress/progressbar/progressbar.js +36 -47
- package/dist/collection/components/_quote/quote/quote.js +21 -37
- package/dist/collection/components/_table/table/table.js +6 -20
- package/dist/collection/components/_tag/tag/tag.js +11 -21
- package/dist/collection/components/_tag/tag-media/tag-media.js +7 -11
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +16 -45
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +28 -48
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +73 -72
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +3 -8
- package/dist/collection/components/_typography/typography/typography.js +6 -3
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +9 -22
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +3 -8
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +9 -15
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +2 -6
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +2 -6
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +3 -11
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-mutation-observer/util-mutation-observer.js +6 -17
- package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/collection/enums.js +2 -0
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +15 -17
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-01874a31.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-01a1b9c9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-02854c3f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-04033c3a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0464dca2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-05ca733b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-075bd3c6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-09ded933.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b2e2c33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b586930.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0c66c1d8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0ef5ec06.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0ff7a0b3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10261517.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10ada07d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1122ceea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-118d3294.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-11d24d40.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1324a098.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-138540b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-153e6f52.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1541bdea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-15562b33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1649e5cf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-16d86f97.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-197903bf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a984b8d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1c575074.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1d9cc992.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-21b5747f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-22d204d6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-269ef8dc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2788683e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-27c75cf5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2938e001.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-295dddb9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-29b838ce.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2b134ff1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2c685e4f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2dd2a2de.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2f94203c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-305262db.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-328bd8e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-332ed107.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3510d041.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-366e18f4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-386e5da9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3ae4cb29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c8e2e00.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3dfd0cea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3efa2f0b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4128b648.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-41f4b689.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-430607cb.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4319f1b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-443c70b2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-44c75bab.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-44f2fa8c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4588ebc2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-45fba8fe.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-45fceb9c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-46224607.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-48eee8b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49182a51.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-498e1eff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49914705.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49a4fe71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4a5a934d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4bb2bf83.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4d74331b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e8439d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e9f2f05.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-505d6802.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-51f1f0a2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-52e3bb32.js +2 -0
- package/dist/digi-arbetsformedlingen/p-544bf960.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-54d5aa93.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-565cb408.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-56edf062.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-59182ae9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a3f2339.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a5babd1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a602122.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ad1a828.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f981b60.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-60916953.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6274431e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6546c48d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-658863ba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-675fe9ae.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69922ec2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69aeb038.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69cdbd95.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6abd8d58.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6b7e7040.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bc1255b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bd37def.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6c8491a5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6ca83bc0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6cf784b6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6f5f87eb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6ff42bef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-70744e7e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-741ec2d5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7581e47c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-784b28bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-78794f38.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7933b555.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7a4abd41.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7aa50e36.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7af556aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7afe3783.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7b82a34b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7c2c13ba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7c3f6a30.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e77bbe7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e85c9e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7ed49934.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-801f8747.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-81c5af98.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-821d5a2c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82611050.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-83643aa3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8442b257.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-84bff8ef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-851fe52d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8713df13.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8846018d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-898bc9f7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-89ea748b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-89ef4ec1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8c91e232.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8de3b839.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8e53e821.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8ef41ad9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8f33b97c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
- package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-931057a8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-93158bc8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-942700b8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-951bedf9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9526fbc3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-97aab77e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-991c8ab8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-99b2094a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9a72b453.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b6afae4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9cdbe632.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9d0704a6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e13d85b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2008b0a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2420f61.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3c8bff0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3eeb86f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a48de93b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a5810f26.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a682d6d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a75e7291.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8705ac5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8a75edb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a902ddef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a9114fb8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-aa0a3d89.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac212ad2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad186c98.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad62f485.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ae5326a8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b0c82cd5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b207a2ac.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3cd12d2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b58169ec.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bb96a67a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bb9ae588.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +1 -0
- package/dist/digi-arbetsformedlingen/p-be2ff8df.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c1fd535b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c21e4aa2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c3efe169.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c590fb8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c5dcd4a3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c604694f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7a512ee.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7d079d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c89542dc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cb4b3028.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cb74e4f3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cbc32f8f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cbd72c5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cea5ef63.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cedbe18a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cef82303.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cf977a1e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d03e21e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d0d10d50.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d13202aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d3e14568.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d55628aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d7f91b57.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d8985c32.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d8f12bc6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d926e01a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d945efbc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9a9ce27.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9ee06b3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9fe47c6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-da66642b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-db7c0461.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dc2900ed.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dd4dbce9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e1255160.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e23d905e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e2673aa1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e325cf29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e41c954e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e4b39465.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e54c2bba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e64c656d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7816175.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e88d7860.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ea57a1da.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ebd9596f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ecc2e481.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee33960b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee9589e6.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f1857d71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f1e9e690.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f25f9ca8.js +9 -0
- package/dist/digi-arbetsformedlingen/p-f2e16531.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f2e9f090.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f489832c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4ca6ba6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f50ab13d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f5bcd77b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f5bd6a43.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f87c0b45.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f96939e4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f9a1a787.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fd094929.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ff346c2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +2 -2
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/button-size.enum-d5ff6ff3.js +7 -0
- package/dist/esm/button-type.enum-5250ae0b.js +8 -0
- package/dist/esm/code-example-variation.enum-e9f9fced.js +27 -0
- package/dist/esm/detectClickOutside.util-72594957.js +7 -0
- package/dist/esm/detectFocusOutside.util-a8676bee.js +7 -0
- package/dist/esm/digi-arbetsformedlingen.js +5 -26
- package/dist/esm/digi-badge-notification.entry.js +7 -11
- package/dist/esm/digi-badge-status.entry.js +7 -16
- package/dist/esm/digi-bar-chart.entry.js +13 -22
- package/dist/esm/digi-button.entry.js +126 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +89 -153
- package/dist/esm/digi-calendar-week-view.entry.js +53 -58
- package/dist/esm/digi-calendar_2.entry.js +30 -58
- package/dist/esm/digi-chart-line.entry.js +19 -18
- package/dist/esm/digi-code-block_3.entry.js +85 -111
- package/dist/esm/digi-code-example.entry.js +18 -23
- package/dist/esm/digi-code.entry.js +9 -20
- package/dist/esm/digi-context-menu.entry.js +18 -21
- package/dist/esm/digi-dialog.entry.js +61 -74
- package/dist/esm/digi-expandable-accordion.entry.js +12 -40
- package/dist/esm/digi-expandable-faq-item.entry.js +14 -38
- package/dist/esm/digi-expandable-faq.entry.js +8 -13
- package/dist/esm/digi-footer-card.entry.js +5 -8
- package/dist/esm/digi-footer.entry.js +55 -54
- package/dist/esm/digi-form-category-filter.entry.js +5 -38
- package/dist/esm/digi-form-checkbox.entry.js +23 -27
- package/dist/esm/digi-form-error-list.entry.js +58 -68
- package/dist/esm/digi-form-file-upload.entry.js +41 -73
- package/dist/esm/digi-form-filter.entry.js +24 -35
- package/dist/esm/digi-form-input-search.entry.js +28 -34
- package/dist/esm/digi-form-input.entry.js +190 -0
- package/dist/esm/digi-form-label_3.entry.js +123 -0
- package/dist/esm/digi-form-radiogroup.entry.js +20 -52
- package/dist/esm/digi-form-receipt.entry.js +56 -71
- package/dist/esm/digi-form-select-filter.entry.js +601 -0
- package/dist/esm/digi-form-select_2.entry.js +47 -64
- package/dist/esm/digi-form-textarea.entry.js +29 -39
- package/dist/esm/digi-header-avatar.entry.js +48 -34
- package/dist/esm/digi-header-navigation-item.entry.js +6 -4
- package/dist/esm/digi-header-navigation.entry.js +66 -68
- package/dist/esm/digi-header-notification.entry.js +7 -5
- package/dist/esm/digi-header.entry.js +61 -55
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +10 -10
- package/dist/esm/digi-icon-accessibility-universal.entry.js +10 -10
- package/dist/esm/digi-icon-apple.entry.js +10 -10
- package/dist/esm/digi-icon-archive-outline.entry.js +10 -10
- package/dist/esm/digi-icon-archive.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-back.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-down.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-left.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-right.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-up.entry.js +10 -10
- package/dist/esm/digi-icon-at.entry.js +10 -10
- package/dist/esm/digi-icon-bars.entry.js +10 -10
- package/dist/esm/digi-icon-bell-filled.entry.js +10 -10
- package/dist/esm/digi-icon-bell.entry.js +10 -10
- package/dist/esm/digi-icon-book.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-outline.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-bubble.entry.js +10 -10
- package/dist/esm/digi-icon-building-outline.entry.js +10 -10
- package/dist/esm/digi-icon-building-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bullseye.entry.js +10 -10
- package/dist/esm/digi-icon-calculator-solid.entry.js +10 -10
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +10 -10
- package/dist/esm/digi-icon-calendar.entry.js +10 -10
- package/dist/esm/digi-icon-caret-circle-right.entry.js +10 -10
- package/dist/esm/digi-icon-caret-down_2.entry.js +18 -18
- package/dist/esm/digi-icon-caret-left.entry.js +10 -10
- package/dist/esm/digi-icon-caret-right.entry.js +10 -10
- package/dist/esm/digi-icon-chart_2.entry.js +18 -18
- package/dist/esm/digi-icon-chat.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +34 -34
- package/dist/esm/digi-icon-check_6.entry.js +331 -0
- package/dist/esm/digi-icon-checklist.entry.js +10 -10
- package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-left_2.entry.js +18 -18
- package/dist/esm/digi-icon-chevron-up.entry.js +10 -10
- package/dist/esm/digi-icon-clock.entry.js +10 -10
- package/dist/esm/digi-icon-communication-play-solid.entry.js +10 -10
- package/dist/esm/digi-icon-compress-alt.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-case.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-flag.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-graduate.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-play.entry.js +10 -10
- package/dist/esm/digi-icon-cooperation.entry.js +10 -10
- package/dist/esm/digi-icon-copy.entry.js +10 -10
- package/dist/esm/digi-icon-danger-outline.entry.js +10 -10
- package/dist/esm/digi-icon-download.entry.js +10 -10
- package/dist/esm/digi-icon-dxa.entry.js +10 -10
- package/dist/esm/digi-icon-edit.entry.js +10 -10
- package/dist/esm/digi-icon-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-envelope-filled.entry.js +10 -10
- package/dist/esm/digi-icon-envelope.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +10 -10
- package/dist/esm/digi-icon-expand-alt.entry.js +10 -10
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +19 -13
- package/dist/esm/digi-icon-eye-slash.entry.js +10 -10
- package/dist/esm/digi-icon-eye.entry.js +10 -10
- package/dist/esm/digi-icon-facebook-square.entry.js +10 -10
- package/dist/esm/digi-icon-file-add.entry.js +9 -9
- package/dist/esm/digi-icon-file-document.entry.js +10 -10
- package/dist/esm/digi-icon-file-excel.entry.js +10 -10
- package/dist/esm/digi-icon-file-export.entry.js +9 -9
- package/dist/esm/digi-icon-file-governing.entry.js +10 -10
- package/dist/esm/digi-icon-file-pdf.entry.js +10 -10
- package/dist/esm/digi-icon-file-powerpoint.entry.js +10 -10
- package/dist/esm/digi-icon-file-remove.entry.js +9 -9
- package/dist/esm/digi-icon-file-word.entry.js +10 -10
- package/dist/esm/digi-icon-film.entry.js +10 -10
- package/dist/esm/digi-icon-filter.entry.js +10 -10
- package/dist/esm/digi-icon-folder-add.entry.js +9 -9
- package/dist/esm/digi-icon-folder-directory.entry.js +9 -9
- package/dist/esm/digi-icon-folder-open.entry.js +9 -9
- package/dist/esm/digi-icon-folder.entry.js +9 -9
- package/dist/esm/digi-icon-globe-filled.entry.js +10 -10
- package/dist/esm/digi-icon-globe.entry.js +10 -10
- package/dist/esm/digi-icon-headphones.entry.js +10 -10
- package/dist/esm/digi-icon-heart-solid.entry.js +10 -10
- package/dist/esm/digi-icon-heart.entry.js +10 -10
- package/dist/esm/digi-icon-history.entry.js +10 -10
- package/dist/esm/digi-icon-home.entry.js +10 -10
- package/dist/esm/digi-icon-image.entry.js +10 -10
- package/dist/esm/digi-icon-info-circle-solid.entry.js +10 -10
- package/dist/esm/digi-icon-instagram.entry.js +10 -10
- package/dist/esm/digi-icon-job-suggestion.entry.js +10 -10
- package/dist/esm/digi-icon-language-outline.entry.js +10 -10
- package/dist/esm/digi-icon-language.entry.js +10 -10
- package/dist/esm/digi-icon-laptop-phone.entry.js +10 -10
- package/dist/esm/digi-icon-lattlast.entry.js +10 -10
- package/dist/esm/digi-icon-licence-bus.entry.js +10 -10
- package/dist/esm/digi-icon-licence-car.entry.js +10 -10
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +10 -10
- package/dist/esm/digi-icon-licence-truck.entry.js +10 -10
- package/dist/esm/digi-icon-lightbulb.entry.js +10 -10
- package/dist/esm/digi-icon-linkedin-in.entry.js +10 -10
- package/dist/esm/digi-icon-list-ul_6.entry.js +50 -50
- package/dist/esm/digi-icon-lock.entry.js +10 -10
- package/dist/esm/digi-icon-marker-filled.entry.js +10 -10
- package/dist/esm/digi-icon-marker.entry.js +10 -10
- package/dist/esm/digi-icon-media-course.entry.js +10 -10
- package/dist/esm/digi-icon-media-podcast.entry.js +10 -10
- package/dist/esm/digi-icon-microphone-off.entry.js +10 -10
- package/dist/esm/digi-icon-microphone.entry.js +10 -10
- package/dist/esm/digi-icon-minus_2.entry.js +18 -18
- package/dist/esm/digi-icon-move.entry.js +10 -10
- package/dist/esm/digi-icon-notification-error_4.entry.js +34 -34
- package/dist/esm/digi-icon-online-interview.entry.js +10 -10
- package/dist/esm/digi-icon-online-meeting.entry.js +10 -10
- package/dist/esm/digi-icon-online-task.entry.js +10 -10
- package/dist/esm/digi-icon-open-source.entry.js +10 -10
- package/dist/esm/digi-icon-palette.entry.js +10 -10
- package/dist/esm/digi-icon-paste.entry.js +9 -9
- package/dist/esm/digi-icon-pen.entry.js +10 -10
- package/dist/esm/digi-icon-phone-hangup.entry.js +10 -10
- package/dist/esm/digi-icon-phone.entry.js +10 -10
- package/dist/esm/digi-icon-print.entry.js +10 -10
- package/dist/esm/digi-icon-read.entry.js +10 -10
- package/dist/esm/digi-icon-redo.entry.js +10 -10
- package/dist/esm/digi-icon-scale.entry.js +9 -9
- package/dist/esm/digi-icon-screensharing-off.entry.js +10 -10
- package/dist/esm/digi-icon-screensharing.entry.js +10 -10
- package/dist/esm/digi-icon-search.entry.js +10 -10
- package/dist/esm/digi-icon-send-outline.entry.js +10 -10
- package/dist/esm/digi-icon-send-solid.entry.js +10 -10
- package/dist/esm/digi-icon-settings.entry.js +10 -10
- package/dist/esm/digi-icon-share-alt.entry.js +10 -10
- package/dist/esm/digi-icon-share-chain.entry.js +10 -10
- package/dist/esm/digi-icon-sign.entry.js +10 -10
- package/dist/esm/digi-icon-sliders-h.entry.js +10 -10
- package/dist/esm/digi-icon-sokkandidat.entry.js +10 -10
- package/dist/esm/digi-icon-sort-down.entry.js +10 -10
- package/dist/esm/digi-icon-sort-up.entry.js +10 -10
- package/dist/esm/digi-icon-sort.entry.js +10 -10
- package/dist/esm/digi-icon-spinner.entry.js +10 -10
- package/dist/esm/digi-icon-star-reg.entry.js +10 -10
- package/dist/esm/digi-icon-star.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-outline.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-solid.entry.js +10 -10
- package/dist/esm/digi-icon-system-assistance.entry.js +10 -10
- package/dist/esm/digi-icon-table-column.entry.js +10 -10
- package/dist/esm/digi-icon-table-row.entry.js +10 -10
- package/dist/esm/digi-icon-task-done.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-off.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-on.entry.js +10 -10
- package/dist/esm/digi-icon-twitter.entry.js +10 -10
- package/dist/esm/digi-icon-tyck-till.entry.js +10 -10
- package/dist/esm/digi-icon-unlock.entry.js +10 -10
- package/dist/esm/digi-icon-update.entry.js +10 -10
- package/dist/esm/digi-icon-upload.entry.js +10 -10
- package/dist/esm/digi-icon-user-add.entry.js +9 -9
- package/dist/esm/digi-icon-user-alt.entry.js +10 -10
- package/dist/esm/digi-icon-user-edit.entry.js +9 -9
- package/dist/esm/digi-icon-users-solid.entry.js +10 -10
- package/dist/esm/digi-icon-videocamera-off.entry.js +10 -10
- package/dist/esm/digi-icon-videocamera.entry.js +10 -10
- package/dist/esm/digi-icon-volume.entry.js +10 -10
- package/dist/esm/digi-icon-web-tv.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal0.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal1.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal2.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal3.entry.js +10 -10
- package/dist/esm/digi-icon-window.entry.js +10 -10
- package/dist/esm/digi-icon-x-button.entry.js +10 -10
- package/dist/esm/digi-icon-x.entry.js +10 -10
- package/dist/esm/digi-icon-youtube.entry.js +10 -10
- package/dist/esm/digi-info-card-multi-container.entry.js +7 -4
- package/dist/esm/digi-info-card-multi.entry.js +17 -21
- package/dist/esm/digi-info-card.entry.js +15 -28
- package/dist/esm/digi-layout-block_2.entry.js +20 -31
- package/dist/esm/digi-layout-columns.entry.js +7 -13
- package/dist/esm/digi-link-button.entry.js +21 -26
- package/dist/esm/digi-link-internal.entry.js +9 -13
- package/dist/esm/digi-link.entry.js +15 -17
- package/dist/esm/digi-list.entry.js +11 -18
- package/dist/esm/digi-loader-skeleton.entry.js +5 -12
- package/dist/esm/digi-loader-spinner.entry.js +6 -8
- package/dist/esm/digi-logo.entry.js +11 -18
- package/dist/esm/digi-media-figure.entry.js +6 -8
- package/dist/esm/digi-media-image_2.entry.js +16 -31
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +22 -61
- package/dist/esm/digi-navigation-pagination.entry.js +61 -71
- package/dist/esm/digi-navigation-sidebar-button.entry.js +7 -8
- package/dist/esm/digi-navigation-sidebar.entry.js +20 -48
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +13 -32
- package/dist/esm/digi-navigation-vertical-menu.entry.js +8 -19
- package/dist/esm/digi-notification-alert.entry.js +57 -75
- package/dist/esm/digi-notification-error-page.entry.js +332 -66
- package/dist/esm/digi-progress-list-item.entry.js +15 -51
- package/dist/esm/digi-progress-list.entry.js +9 -38
- package/dist/esm/digi-progressbar.entry.js +34 -46
- package/dist/esm/digi-quote.entry.js +11 -22
- package/dist/esm/digi-table.entry.js +7 -18
- package/dist/esm/digi-tablist-panel.entry.js +2 -1
- package/dist/esm/digi-tablist.entry.js +25 -36
- package/dist/esm/digi-tag-media.entry.js +8 -10
- package/dist/esm/digi-tag.entry.js +9 -17
- package/dist/esm/digi-title-logo.entry.js +60 -50
- package/dist/esm/digi-tools-feedback-banner.entry.js +31 -52
- package/dist/esm/digi-tools-feedback-rating.entry.js +29 -50
- package/dist/esm/digi-tools-feedback.entry.js +60 -83
- package/dist/esm/digi-tools-theme-provider.entry.js +6 -9
- package/dist/esm/digi-typography-heading-jumbo.entry.js +7 -17
- package/dist/esm/digi-typography-meta.entry.js +6 -9
- package/dist/esm/digi-typography-preamble.entry.js +5 -4
- package/dist/esm/digi-typography-time.entry.js +8 -15
- package/dist/esm/digi-typography.entry.js +6 -4
- package/dist/esm/digi-util-breakpoint-observer.entry.js +6 -5
- package/dist/esm/digi-util-detect-click-outside.entry.js +5 -9
- package/dist/esm/digi-util-detect-focus-outside.entry.js +5 -9
- package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
- package/dist/esm/digi-util-keyup-handler.entry.js +3 -3
- package/dist/esm/digi-util-resize-observer.entry.js +4 -3
- package/dist/esm/form-file-upload-variation.enum-9c49ec5e.js +24 -0
- package/dist/esm/form-input-search-variation.enum-f9d669f2.js +8 -0
- package/dist/esm/form-input-type.enum-3da3db27.js +25 -0
- package/dist/esm/form-input-variation.enum-64d9450f.js +29 -0
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
- package/dist/esm/index-148a7577.js +3195 -0
- package/dist/esm/index-2fce392f.js +865 -0
- package/dist/esm/index-5b6c95c6.js +63 -0
- package/dist/esm/index.js +52 -48
- package/dist/esm/linear-78b9219d.js +3722 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/prism-git-92a0d5cd.js +2431 -0
- package/dist/esm/progress-indicator-heading-level.enum-ace13afe.js +39 -0
- package/dist/esm/typography-variation.enum-8c3ff25c.js +238 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +1 -3
- package/dist/types/components/_form/form-select/form-select.d.ts +1 -2
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +1 -1
- package/dist/types/components/_link/link-button/link-button.d.ts +4 -0
- package/dist/types/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.d.ts +1 -4
- package/dist/types/components/_progress/progress-circle/progress-circle-heading-level.enum.d.ts +8 -0
- package/dist/types/components/_progress/progress-circle/progress-circle.d.ts +7 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator-heading-level.enum.d.ts +8 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator.d.ts +9 -1
- package/dist/types/components/_progress/progressbar/progressbar.d.ts +2 -1
- package/dist/types/components/_tools/tools-feedback-banner/tools-feedback-banner.d.ts +2 -1
- package/dist/types/components/_tools/tools-feedback-rating/tools-feedback-rating.d.ts +8 -0
- package/dist/types/components/_util/util-mutation-observer/util-mutation-observer.d.ts +3 -3
- package/dist/types/components.d.ts +611 -3559
- package/dist/types/enums.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -204
- package/hydrate/index.d.ts +7 -52
- package/hydrate/index.js +7147 -13235
- package/hydrate/index.mjs +7147 -13233
- package/loader/package.json +11 -0
- package/package.json +1 -1
- package/components/p--RxphPe_.js +0 -172
- package/components/p--ZuKDULH.js +0 -48
- package/components/p-37OSb7i5.js +0 -171
- package/components/p-6OPMMTWC.js +0 -100
- package/components/p-9_M1AU0w.js +0 -48
- package/components/p-B-pDXa1I.js +0 -3032
- package/components/p-B-skL7jb.js +0 -48
- package/components/p-B7vPoZZ1.js +0 -48
- package/components/p-B7ySbjLX.js +0 -48
- package/components/p-BNaLCgyB.js +0 -48
- package/components/p-BUevqckQ.js +0 -48
- package/components/p-BWafqFGT.js +0 -48
- package/components/p-Bez-IpRZ.js +0 -48
- package/components/p-BfpDLsk8.js +0 -141
- package/components/p-BhUSv9Tx.js +0 -105
- package/components/p-BjQfGb3o.js +0 -72
- package/components/p-Bpwy3fl1.js +0 -48
- package/components/p-BtWOyQUR.js +0 -95
- package/components/p-BypBypc4.js +0 -49
- package/components/p-C32dTT4K.js +0 -152
- package/components/p-C33Pdme5.js +0 -48
- package/components/p-C4cIvg7J.js +0 -7
- package/components/p-C5wMIedF.js +0 -48
- package/components/p-CEuXK8qB.js +0 -81
- package/components/p-CLQ4pNhc.js +0 -48
- package/components/p-CP-F50PI.js +0 -48
- package/components/p-CSbNpd4b.js +0 -48
- package/components/p-CXE3XLMF.js +0 -59
- package/components/p-CXEUAghk.js +0 -48
- package/components/p-CXvUvwhd.js +0 -38
- package/components/p-CZha43zL.js +0 -48
- package/components/p-CZrDWyoh.js +0 -7
- package/components/p-CawlWrYM.js +0 -48
- package/components/p-CbFLEMCv.js +0 -48
- package/components/p-CdcGvoTs.js +0 -2465
- package/components/p-CfNd9HJm.js +0 -48
- package/components/p-Cj_CEKJ0.js +0 -48
- package/components/p-Csv9l_VB.js +0 -48
- package/components/p-DCIb7eD_.js +0 -87
- package/components/p-DDK_G64l.js +0 -48
- package/components/p-DDZ0nalw.js +0 -60
- package/components/p-DE9VXsrm.js +0 -48
- package/components/p-DHimVTR7.js +0 -48
- package/components/p-DL00PIFj.js +0 -75
- package/components/p-DMrSPsPW.js +0 -13
- package/components/p-DNWabI1w.js +0 -48
- package/components/p-DZybm_x7.js +0 -48
- package/components/p-DbBOgLZR.js +0 -856
- package/components/p-DcANgscM.js +0 -48
- package/components/p-DcgYXHOJ.js +0 -297
- package/components/p-DkUpuIVH.js +0 -630
- package/components/p-DktWHFdS.js +0 -102
- package/components/p-DoxcSmni.js +0 -48
- package/components/p-Dq9EWvk8.js +0 -200
- package/components/p-DrQguBS0.js +0 -187
- package/components/p-Dt8-iBiI.js +0 -81
- package/components/p-DtMATLkl.js +0 -86
- package/components/p-DwLPI0Vz.js +0 -53
- package/components/p-DzcqVx6i.js +0 -125
- package/components/p-FY5wP3tw.js +0 -48
- package/components/p-JD3sZh4E.js +0 -55
- package/components/p-L3j8lIki.js +0 -48
- package/components/p-LoxMejwP.js +0 -48
- package/components/p-M12oZQxr.js +0 -259
- package/components/p-PRn7QHy8.js +0 -48
- package/components/p-SEimRMvt.js +0 -60
- package/components/p-lPbx4RHH.js +0 -3780
- package/components/p-nlZEONZC.js +0 -48
- package/components/p-oOtcntHo.js +0 -48
- package/components/p-w8pbG68a.js +0 -7
- package/dist/cjs/code-example-variation.enum-BCENTUV2.js +0 -33
- package/dist/cjs/detectClickOutside.util-DKR8Sdiw.js +0 -9
- package/dist/cjs/detectFocusOutside.util-BNHrXMJ2.js +0 -9
- package/dist/cjs/digi-button_11.cjs.entry.js +0 -1274
- package/dist/cjs/digi-progress-circle.cjs.entry.js +0 -103
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -148
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -75
- package/dist/cjs/form-input-type.enum-B2CsNSBg.js +0 -39
- package/dist/cjs/form-validation-message-variation.enum-DgkifAnP.js +0 -31
- package/dist/cjs/index-Bdlw-Iuy.js +0 -875
- package/dist/cjs/index-r0sb9TCr.js +0 -66
- package/dist/cjs/index-tbq85ezH.js +0 -4328
- package/dist/cjs/prism-git-BqyC7bKv.js +0 -2467
- package/dist/cjs/progress-circle-role.enum-DCkczyl8.js +0 -7
- package/dist/cjs/progress-indicator-variation.enum-3KORUGDH.js +0 -13
- package/dist/cjs/transform-DteoCOaq.js +0 -3795
- package/dist/cjs/typography-variation.enum-4snUBTF7.js +0 -266
- package/dist/digi-arbetsformedlingen/p-02c58b9b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-02e10363.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-031eae5a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-044b506e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-06f61c0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07383e97.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0767666f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07a2b181.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-08294cde.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-084d3ee6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0abd9cc0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0abe895e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0d02ea92.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0d7edb19.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0dc8c1f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0deb49e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0df0f326.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0e660f15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-102df53c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11b15639.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-144b1853.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d011c8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d96e28.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-15925a66.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1674f819.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1788ac95.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-19b7e0e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a035f0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a1e4fb1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a6ebf27.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1c7fe613.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-200e7bd2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-20b64adb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-21271c0f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2290f981.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-23a7989c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-26055f0c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-27bd7e51.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-286c4dfa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-286cf43f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-28d80523.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-28e43058.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2adb74c5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2b337e70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2c716660.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2cd96585.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2cf36f22.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2e10b84a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2e727b11.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-30f53f1f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-31d3b121.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3317e035.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3560704d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-35a4901b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-36434ac5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-364360bd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-364ddc47.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-375d8b7a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-37a709ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3890fd08.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-389db61b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38d6c196.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-396eac33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3ab2a15c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b3bb443.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b622a7d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c060627.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d82d1a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3dd9c1f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f1671c1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-403243b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-41c7f06b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-435a0dba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44c16261.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45f30e15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4683cd13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4756df5e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-478dd735.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4989639d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-49f03697.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4a752caa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4c3c79f6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4c4d950c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ded8d67.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e994f05.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ee30389.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5006e02f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-50b38a4b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5143d041.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51fd7a80.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5265c8bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-52ccb445.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-54145dbe.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5515f605.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5682d42d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57755d00.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57cf0217.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-591509af.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-595dae1e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-598d254d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-59cd8482.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5aa16cb5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c6fe9a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c7adb9a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5ce7a0cc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5d45b98c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5d5b94df.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5df19f2f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-60b5521a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-61017b7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6176ea32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-62b9bb8f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-62c988f0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-63f759d2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-66607908.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-66c5a455.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-692d9b87.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6dc5624b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6e1454de.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6fa5ac48.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-706dc7fb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70c61feb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-720e3b1d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-72467e23.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-734f0081.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-737fc4ac.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-738fa191.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-76e1e837.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-77d355fe.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-79d0015d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7b33d599.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7bd087d7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7d82fcfa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e22dfaa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e47ec88.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7f49feb0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-80102f44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-801aff33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82bff4f2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8580f7a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-85fbfc44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-86c9bfbf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-87e74383.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b6d8f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ab3bfef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8b178670.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8c4b642e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8cdcfc32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8d1ed6b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8e34f6fa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ecf90b9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8f837246.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fb4e6a3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-90156bca.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-916c6a0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93367afb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9548dfcd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-95766ae4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-95a4c837.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-96cf06d2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-972e842a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-979551ad.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9ba04395.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9c07d750.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9cdd7e2e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9d5651f3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9fc3ca68.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BDBYHWrh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-C4cIvg7J.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CZrDWyoh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CdcGvoTs.js +0 -9
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Co_lVhh_.js +0 -3
- package/dist/digi-arbetsformedlingen/p-DbBOgLZR.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a1b1cf3c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a242d391.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2828f13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2a82c7a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3a46f12.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a5aa7bbc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a95fbeac.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa210eb6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aaeddc10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab4cf798.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab84eed8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad204374.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad53075b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af521167.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af6d2f18.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-afd6f901.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b0cce211.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b0fbb427.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b153be5d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b1f075bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b3bbeaad.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b50f6e63.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b7556224.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b75eaf8d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b8df813f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b9890b11.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b9f0e9b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ba3fc023.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ba608189.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd635299.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd6b1662.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-be67603d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c0a969a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c273763e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c38b51ed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c3d1227d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c6527446.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c68f2ca3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c73ddbe2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9b6b7ce.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9d3fba8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ca26822e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ca52fec4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-caf49b30.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cd90ab0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cf4de879.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cfe0bcf9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d130518a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1b3ddb6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d28b4c70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d40a352a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d441cad3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d53829d7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d6c21995.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d79a6e5b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d916c84c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-de2f8cfd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dea2e950.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-deda4b10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dfe13724.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e127de34.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e23f783e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e247bf5d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e43ace8f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e57591e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e5e69c70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7279c3b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7732122.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7cd01a6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7f1925e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e88410f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e90d61e2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e91421aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e92c111b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ebf96a2e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ec61c989.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f1d12296.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f31c94f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f7c3711a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f7cd0818.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fb699428.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fd330ef0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fe09b0d6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fed80c68.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-lPbx4RHH.js +0 -1
- package/dist/digi-arbetsformedlingen/p-m9xS70Ez.js +0 -1
- package/dist/digi-arbetsformedlingen/p-w8pbG68a.js +0 -1
- package/dist/esm/code-example-variation.enum-Ooszw6tl.js +0 -33
- package/dist/esm/detectClickOutside.util-ROzp1Ej2.js +0 -7
- package/dist/esm/detectFocusOutside.util-aFLLVVle.js +0 -7
- package/dist/esm/digi-button_11.entry.js +0 -1262
- package/dist/esm/digi-progress-circle.entry.js +0 -101
- package/dist/esm/digi-progress-indicator.entry.js +0 -146
- package/dist/esm/digi-util-mutation-observer.entry.js +0 -73
- package/dist/esm/form-input-type.enum-CN1mgrt1.js +0 -39
- package/dist/esm/form-validation-message-variation.enum-9n7Okhf1.js +0 -31
- package/dist/esm/index-BsIL3T_0.js +0 -63
- package/dist/esm/index-Co_lVhh_.js +0 -4298
- package/dist/esm/index-DnTiPaEs.js +0 -856
- package/dist/esm/prism-git-CdcGvoTs.js +0 -2465
- package/dist/esm/progress-circle-role.enum-w8pbG68a.js +0 -7
- package/dist/esm/progress-indicator-variation.enum-DMrSPsPW.js +0 -13
- package/dist/esm/transform-lPbx4RHH.js +0 -3780
- package/dist/esm/typography-variation.enum-BDBYHWrh.js +0 -266
- /package/components/{p-CAr8ZNeD.js → p-06625463.js} +0 -0
- /package/components/{p-DoZkBEe8.js → p-06f939ab.js} +0 -0
- /package/components/{p-DJCufAhy.js → p-07303cb5.js} +0 -0
- /package/components/{p-DBcU_EnL.js → p-0f3fbb1e.js} +0 -0
- /package/components/{p-CkIb3cUS.js → p-0f6c0360.js} +0 -0
- /package/components/{p-CES5gUEo.js → p-1f68d501.js} +0 -0
- /package/components/{p-DcnvI7UR.js → p-24fe2189.js} +0 -0
- /package/components/{p-CPzcg9n3.js → p-2a023831.js} +0 -0
- /package/components/{p-DPkRL9Bv.js → p-3b20ec86.js} +0 -0
- /package/components/{p-evtVuhQt.js → p-40657c82.js} +0 -0
- /package/components/{p-bQJ38En_.js → p-46cbbcb5.js} +0 -0
- /package/components/{p-CmH9mJ43.js → p-484a1d6d.js} +0 -0
- /package/components/{p-DpDyNuVC.js → p-4bad4fb0.js} +0 -0
- /package/components/{p-CflatMTG.js → p-517dd6a0.js} +0 -0
- /package/components/{p-CsNHGpkJ.js → p-5ba6737a.js} +0 -0
- /package/components/{p-qc6KRZue.js → p-5d21a361.js} +0 -0
- /package/components/{p-oKq_eErM.js → p-5f8dc01a.js} +0 -0
- /package/components/{p-CAmn5qzb.js → p-6e383896.js} +0 -0
- /package/components/{p-CKoZU0-H.js → p-717306ef.js} +0 -0
- /package/components/{p-BbGPkkqr.js → p-768f56d4.js} +0 -0
- /package/components/{p-DXqRzyRP.js → p-77a93845.js} +0 -0
- /package/components/{p-B8hpiXmh.js → p-7933b555.js} +0 -0
- /package/components/{p-BixPaBHw.js → p-7aacd45f.js} +0 -0
- /package/components/{p-DH_-wpLB.js → p-7e32c40b.js} +0 -0
- /package/components/{p-6-MpaVf8.js → p-8142cc73.js} +0 -0
- /package/components/{p-_ycZeBN4.js → p-814ca2ad.js} +0 -0
- /package/components/{p-BvcVTm_t.js → p-820e795b.js} +0 -0
- /package/components/{p-m9xS70Ez.js → p-8cd2d6dd.js} +0 -0
- /package/components/{p-DsO1BTml.js → p-903a27d9.js} +0 -0
- /package/components/{p-BfyJgcLA.js → p-905ccb30.js} +0 -0
- /package/components/{p-Dp9SgP94.js → p-9a1bec0e.js} +0 -0
- /package/components/{p-DogB9kfH.js → p-9c5a93d8.js} +0 -0
- /package/components/{p-Chk3GCYK.js → p-9dd41cc4.js} +0 -0
- /package/components/{p-C0A-p3cU.js → p-a4a001e1.js} +0 -0
- /package/components/{p-CHxBAbI8.js → p-a6ca40fc.js} +0 -0
- /package/components/{p-DwNlf6Sh.js → p-ad16c7a1.js} +0 -0
- /package/components/{p-rhVqmQwC.js → p-b0e88537.js} +0 -0
- /package/components/{p-BvWKyXb_.js → p-bc3d2778.js} +0 -0
- /package/components/{p-DwBvm-Nc.js → p-bdd811bc.js} +0 -0
- /package/components/{p-7F-7XlTz.js → p-c8429245.js} +0 -0
- /package/components/{p-DPq588Q4.js → p-cdcaf0eb.js} +0 -0
- /package/components/{p-DNjGvZvz.js → p-d1886fff.js} +0 -0
- /package/components/{p-DrVSK7Ws.js → p-d74742b8.js} +0 -0
- /package/components/{p-rbgkevJv.js → p-d8a98b3b.js} +0 -0
- /package/components/{p-DPeoHh1J.js → p-dcdffb3c.js} +0 -0
- /package/components/{p-DdB9j8uV.js → p-e3d2e899.js} +0 -0
- /package/components/{p-D_VIx0pC.js → p-e4a9f8f0.js} +0 -0
- /package/components/{p-DzSu1-K0.js → p-ee88e3f1.js} +0 -0
- /package/components/{p-ArGkfrXt.js → p-f2a6768b.js} +0 -0
- /package/components/{p-C6B2KRZo.js → p-f40f4b2a.js} +0 -0
- /package/components/{p-DCS1KcvC.js → p-f447b984.js} +0 -0
- /package/components/{p-DNHRmpND.js → p-f518a4cf.js} +0 -0
- /package/components/{p-V-HTxO5a.js → p-f600576a.js} +0 -0
- /package/components/{p-BGaIliX6.js → p-ffe5c0e8.js} +0 -0
- /package/dist/cjs/{badge-notification-shape.enum-CEyEo2G5.js → badge-notification-shape.enum-ff802554.js} +0 -0
- /package/dist/cjs/{badge-status-variation.enum-XX8d--rj.js → badge-status-variation.enum-0a5adc21.js} +0 -0
- /package/dist/cjs/{bar-chart-variation.enum-BZFN4377.js → bar-chart-variation.enum-a4e866b6.js} +0 -0
- /package/dist/cjs/{button-variation.enum-DkUalo9f.js → button-variation.enum-bc521499.js} +0 -0
- /package/dist/cjs/{calendar-week-view-heading-level.enum-NEkm5SUq.js → calendar-week-view-heading-level.enum-fd0c841b.js} +0 -0
- /package/dist/cjs/{code-variation.enum-BM-hhQuD.js → code-variation.enum-c4a4e6fd.js} +0 -0
- /package/dist/cjs/{detectClosest.util-D1z809xM.js → detectClosest.util-85b3507b.js} +0 -0
- /package/dist/cjs/{expandable-accordion-header-level.enum-CjL9V3Kt.js → expandable-accordion-header-level.enum-45483252.js} +0 -0
- /package/dist/cjs/{expandable-faq-item-variation.enum-aKkYAQgd.js → expandable-faq-item-variation.enum-89427195.js} +0 -0
- /package/dist/cjs/{expandable-faq-variation.enum-FEybT9s4.js → expandable-faq-variation.enum-af923f49.js} +0 -0
- /package/dist/cjs/{footer-card-variation.enum-BPnpkC45.js → footer-card-variation.enum-99555edc.js} +0 -0
- /package/dist/cjs/{form-checkbox-variation.enum-BfOGU4Qt.js → form-checkbox-variation.enum-d2ca879e.js} +0 -0
- /package/dist/cjs/{form-radiogroup-validation.enum-DBDbjF6N.js → form-radiogroup-validation.enum-03a17d4d.js} +0 -0
- /package/dist/cjs/{form-select-variation.enum-e6wjWyaS.js → form-select-variation.enum-528c1bf0.js} +0 -0
- /package/dist/cjs/{form-textarea-variation.enum-BcEyaR5W.js → form-textarea-variation.enum-9c90d40f.js} +0 -0
- /package/dist/cjs/{index-Snltmefx.js → index-e8333bcc.js} +0 -0
- /package/dist/cjs/{info-card-multi-type.enum-pqhvdrsN.js → info-card-multi-type.enum-14746572.js} +0 -0
- /package/dist/cjs/{info-card-variation.enum-B1cqmknX.js → info-card-variation.enum-64cef637.js} +0 -0
- /package/dist/cjs/{keyboardHandler.util-Co9WoNpM.js → keyboardHandler.util-d8600adb.js} +0 -0
- /package/dist/cjs/{layout-block-variation.enum-BldWvnDk.js → layout-block-variation.enum-f6102119.js} +0 -0
- /package/dist/cjs/{layout-columns-variation.enum-OgD-hvRN.js → layout-columns-variation.enum-65675649.js} +0 -0
- /package/dist/cjs/{layout-container-max-width.enum-DqWtU7WK.js → layout-container-max-width.enum-7e637f44.js} +0 -0
- /package/dist/cjs/{link-button-variation.enum-03cHZQxx.js → link-button-variation.enum-137785e3.js} +0 -0
- /package/dist/cjs/{list-type.enum-CkFOn-eB.js → list-type.enum-aea4d012.js} +0 -0
- /package/dist/cjs/{loader-skeleton-variation.enum-UvPtdesw.js → loader-skeleton-variation.enum-d52ba55e.js} +0 -0
- /package/dist/cjs/{loader-spinner-size.enum-u5AQs-UJ.js → loader-spinner-size.enum-db2973f0.js} +0 -0
- /package/dist/cjs/{logger.util-DUhrcCTY.js → logger.util-fdafc086.js} +0 -0
- /package/dist/cjs/{logo-color.enum-BJZv-f6R.js → logo-color.enum-76f6c506.js} +0 -0
- /package/dist/cjs/{media-figure-alignment.enum-BWO1sg67.js → media-figure-alignment.enum-3885aba5.js} +0 -0
- /package/dist/cjs/{navigation-sidebar-variation.enum-70NIGQoi.js → navigation-sidebar-variation.enum-1c0c3064.js} +0 -0
- /package/dist/cjs/{navigation-tablist.types-B5QU-sSH.js → navigation-tablist.types-f042f1bd.js} +0 -0
- /package/dist/cjs/{navigation-vertical-menu-variation.enum-7IUICId3.js → navigation-vertical-menu-variation.enum-c237edd3.js} +0 -0
- /package/dist/cjs/{progress-list-item-variation.enum-Dk3YS--x.js → progress-list-item-variation.enum-90e4c874.js} +0 -0
- /package/dist/cjs/{progress-list-variation.enum-BvLLJK9O.js → progress-list-variation.enum-06d5ce27.js} +0 -0
- /package/dist/cjs/{progressbar-variation.enum-CnRJPSs7.js → progressbar-variation.enum-aff9fa80.js} +0 -0
- /package/dist/cjs/{quote-image-inner-position.enum-CLifVlj0.js → quote-image-inner-position.enum-e64e7a6d.js} +0 -0
- /package/dist/cjs/{randomIdGenerator.util-C8XR2Tn1.js → randomIdGenerator.util-e7f4b6de.js} +0 -0
- /package/dist/cjs/{table-variation.enum-DlDZKXbq.js → table-variation.enum-25df2ad7.js} +0 -0
- /package/dist/cjs/{tag-media-icon.enum-DzhiwvjI.js → tag-media-icon.enum-372563c5.js} +0 -0
- /package/dist/cjs/{tag-size.enum-DFom3Smn.js → tag-size.enum-387c516c.js} +0 -0
- /package/dist/cjs/{text-Cu3CaHGj.js → text-65b1b58c.js} +0 -0
- /package/dist/cjs/{tools-feedback-banner-type.enum-Dyeg3XNb.js → tools-feedback-banner-type.enum-de373ba0.js} +0 -0
- /package/dist/cjs/{tools-feedback-rating-variation.enum-CBI4GhXs.js → tools-feedback-rating-variation.enum-2f71e84d.js} +0 -0
- /package/dist/cjs/{tools-theme-provider.brand.enum-BzduvCUY.js → tools-theme-provider.brand.enum-bc855272.js} +0 -0
- /package/dist/cjs/{typography-heading-jumbo-variation.enum-Di1Jeh0G.js → typography-heading-jumbo-variation.enum-8677e099.js} +0 -0
- /package/dist/cjs/{typography-meta-variation.enum-lvDemnSz.js → typography-meta-variation.enum-13ac3538.js} +0 -0
- /package/dist/cjs/{typography-time-variation.enum-D2gIVzYH.js → typography-time-variation.enum-bce1d87e.js} +0 -0
- /package/dist/cjs/{util-breakpoint-observer-breakpoints.enum-zoJiezkV.js → util-breakpoint-observer-breakpoints.enum-e96d3a84.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DXqRzyRP.js → p-06f939ab.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DJCufAhy.js → p-07303cb5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DBcU_EnL.js → p-0f3fbb1e.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CkIb3cUS.js → p-0f6c0360.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-C6B2KRZo.js → p-1f68d501.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DcnvI7UR.js → p-24fe2189.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CPzcg9n3.js → p-2a023831.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CuhrrYGE.js → p-300aa9ef.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPkRL9Bv.js → p-3b20ec86.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-evtVuhQt.js → p-40657c82.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-bQJ38En_.js → p-46cbbcb5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CmH9mJ43.js → p-484a1d6d.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DpDyNuVC.js → p-4bad4fb0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CflatMTG.js → p-517dd6a0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CsNHGpkJ.js → p-5ba6737a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-qc6KRZue.js → p-5d21a361.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CAmn5qzb.js → p-6e383896.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CKoZU0-H.js → p-717306ef.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DoZkBEe8.js → p-77a93845.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BixPaBHw.js → p-7aacd45f.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DH_-wpLB.js → p-7e32c40b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-6-MpaVf8.js → p-8142cc73.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-_ycZeBN4.js → p-814ca2ad.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BvcVTm_t.js → p-820e795b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DMrSPsPW.js → p-8cd2d6dd.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DsO1BTml.js → p-903a27d9.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DogB9kfH.js → p-9c5a93d8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-Chk3GCYK.js → p-9dd41cc4.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CWFirwyE.js → p-a39f86c9.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-C0A-p3cU.js → p-a4a001e1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CHxBAbI8.js → p-a6ca40fc.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DwNlf6Sh.js → p-ad16c7a1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-rhVqmQwC.js → p-b0e88537.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-Ua3MxeBh.js → p-b4022c44.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DwBvm-Nc.js → p-bdd811bc.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPq588Q4.js → p-cdcaf0eb.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-y5Nm4oWF.js → p-cf3ce3c5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DNjGvZvz.js → p-d1886fff.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DrVSK7Ws.js → p-d74742b8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPeoHh1J.js → p-dcdffb3c.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DdB9j8uV.js → p-e3d2e899.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-D_VIx0pC.js → p-e4a9f8f0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DzSu1-K0.js → p-ee88e3f1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ArGkfrXt.js → p-f2a6768b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CES5gUEo.js → p-f40f4b2a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DCS1KcvC.js → p-f447b984.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-V-HTxO5a.js → p-f600576a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BGaIliX6.js → p-ffe5c0e8.js} +0 -0
- /package/dist/esm/{badge-notification-shape.enum-CKoZU0-H.js → badge-notification-shape.enum-e15a6245.js} +0 -0
- /package/dist/esm/{badge-status-variation.enum-C0A-p3cU.js → badge-status-variation.enum-8d6370ff.js} +0 -0
- /package/dist/esm/{bar-chart-variation.enum-DPeoHh1J.js → bar-chart-variation.enum-97c0b47f.js} +0 -0
- /package/dist/esm/{button-variation.enum-y5Nm4oWF.js → button-variation.enum-94fffdd6.js} +0 -0
- /package/dist/esm/{calendar-week-view-heading-level.enum-DH_-wpLB.js → calendar-week-view-heading-level.enum-6774297c.js} +0 -0
- /package/dist/esm/{code-variation.enum-qc6KRZue.js → code-variation.enum-1eee7c7a.js} +0 -0
- /package/dist/esm/{detectClosest.util-DwBvm-Nc.js → detectClosest.util-58a7504f.js} +0 -0
- /package/dist/esm/{expandable-accordion-header-level.enum-DwNlf6Sh.js → expandable-accordion-header-level.enum-85681e2f.js} +0 -0
- /package/dist/esm/{expandable-faq-item-variation.enum-C6B2KRZo.js → expandable-faq-item-variation.enum-a8cb225b.js} +0 -0
- /package/dist/esm/{expandable-faq-variation.enum-CES5gUEo.js → expandable-faq-variation.enum-6934c367.js} +0 -0
- /package/dist/esm/{footer-card-variation.enum-DzSu1-K0.js → footer-card-variation.enum-cc732148.js} +0 -0
- /package/dist/esm/{form-checkbox-variation.enum-6-MpaVf8.js → form-checkbox-variation.enum-83e906fc.js} +0 -0
- /package/dist/esm/{form-radiogroup-validation.enum-DcnvI7UR.js → form-radiogroup-validation.enum-d790fc66.js} +0 -0
- /package/dist/esm/{form-select-variation.enum-DCS1KcvC.js → form-select-variation.enum-f2f6098d.js} +0 -0
- /package/dist/esm/{form-textarea-variation.enum-DogB9kfH.js → form-textarea-variation.enum-05017e8e.js} +0 -0
- /package/dist/esm/{index-BixPaBHw.js → index-8685f88d.js} +0 -0
- /package/dist/esm/{info-card-multi-type.enum-CkIb3cUS.js → info-card-multi-type.enum-07ee124f.js} +0 -0
- /package/dist/esm/{info-card-variation.enum-_ycZeBN4.js → info-card-variation.enum-2ccc52c1.js} +0 -0
- /package/dist/esm/{keyboardHandler.util-CflatMTG.js → keyboardHandler.util-383c0054.js} +0 -0
- /package/dist/esm/{layout-block-variation.enum-CWFirwyE.js → layout-block-variation.enum-b7a20db4.js} +0 -0
- /package/dist/esm/{layout-columns-variation.enum-DJCufAhy.js → layout-columns-variation.enum-34f7754e.js} +0 -0
- /package/dist/esm/{layout-container-max-width.enum-CuhrrYGE.js → layout-container-max-width.enum-c40018ac.js} +0 -0
- /package/dist/esm/{link-button-variation.enum-CPzcg9n3.js → link-button-variation.enum-84d4976f.js} +0 -0
- /package/dist/esm/{list-type.enum-CsNHGpkJ.js → list-type.enum-fbb331ad.js} +0 -0
- /package/dist/esm/{loader-skeleton-variation.enum-D_VIx0pC.js → loader-skeleton-variation.enum-f9f867b4.js} +0 -0
- /package/dist/esm/{loader-spinner-size.enum-ArGkfrXt.js → loader-spinner-size.enum-0b246fa0.js} +0 -0
- /package/dist/esm/{logger.util-DdB9j8uV.js → logger.util-ede3c48a.js} +0 -0
- /package/dist/esm/{logo-color.enum-Chk3GCYK.js → logo-color.enum-8593dca6.js} +0 -0
- /package/dist/esm/{media-figure-alignment.enum-evtVuhQt.js → media-figure-alignment.enum-a1d36567.js} +0 -0
- /package/dist/esm/{navigation-sidebar-variation.enum-V-HTxO5a.js → navigation-sidebar-variation.enum-8fead764.js} +0 -0
- /package/dist/esm/{navigation-tablist.types-Ua3MxeBh.js → navigation-tablist.types-61def4f1.js} +0 -0
- /package/dist/esm/{navigation-vertical-menu-variation.enum-DPkRL9Bv.js → navigation-vertical-menu-variation.enum-c30b0ea9.js} +0 -0
- /package/dist/esm/{progress-list-item-variation.enum-DXqRzyRP.js → progress-list-item-variation.enum-384b9a3a.js} +0 -0
- /package/dist/esm/{progress-list-variation.enum-DoZkBEe8.js → progress-list-variation.enum-300bd89d.js} +0 -0
- /package/dist/esm/{progressbar-variation.enum-m9xS70Ez.js → progressbar-variation.enum-40adaab4.js} +0 -0
- /package/dist/esm/{quote-image-inner-position.enum-CmH9mJ43.js → quote-image-inner-position.enum-8e9b1e65.js} +0 -0
- /package/dist/esm/{randomIdGenerator.util-BGaIliX6.js → randomIdGenerator.util-56406f2e.js} +0 -0
- /package/dist/esm/{table-variation.enum-DBcU_EnL.js → table-variation.enum-dd9366b6.js} +0 -0
- /package/dist/esm/{tag-media-icon.enum-BvcVTm_t.js → tag-media-icon.enum-fefa191c.js} +0 -0
- /package/dist/esm/{tag-size.enum-bQJ38En_.js → tag-size.enum-403e0cd8.js} +0 -0
- /package/dist/esm/{text-DsO1BTml.js → text-8f88c0f6.js} +0 -0
- /package/dist/esm/{tools-feedback-banner-type.enum-DrVSK7Ws.js → tools-feedback-banner-type.enum-74b4e580.js} +0 -0
- /package/dist/esm/{tools-feedback-rating-variation.enum-CAmn5qzb.js → tools-feedback-rating-variation.enum-29058ff2.js} +0 -0
- /package/dist/esm/{tools-theme-provider.brand.enum-DpDyNuVC.js → tools-theme-provider.brand.enum-8c5a98c9.js} +0 -0
- /package/dist/esm/{typography-heading-jumbo-variation.enum-DNjGvZvz.js → typography-heading-jumbo-variation.enum-eb737f1b.js} +0 -0
- /package/dist/esm/{typography-meta-variation.enum-CHxBAbI8.js → typography-meta-variation.enum-1f7c2878.js} +0 -0
- /package/dist/esm/{typography-time-variation.enum-rhVqmQwC.js → typography-time-variation.enum-34c830ef.js} +0 -0
- /package/dist/esm/{util-breakpoint-observer-breakpoints.enum-DPq588Q4.js → util-breakpoint-observer-breakpoints.enum-6d004731.js} +0 -0
|
@@ -0,0 +1,3737 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function ascending$1(a, b) {
|
|
4
|
+
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function descending(a, b) {
|
|
8
|
+
return a == null || b == null ? NaN
|
|
9
|
+
: b < a ? -1
|
|
10
|
+
: b > a ? 1
|
|
11
|
+
: b >= a ? 0
|
|
12
|
+
: NaN;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function bisector(f) {
|
|
16
|
+
let compare1, compare2, delta;
|
|
17
|
+
|
|
18
|
+
// If an accessor is specified, promote it to a comparator. In this case we
|
|
19
|
+
// can test whether the search value is (self-) comparable. We can’t do this
|
|
20
|
+
// for a comparator (except for specific, known comparators) because we can’t
|
|
21
|
+
// tell if the comparator is symmetric, and an asymmetric comparator can’t be
|
|
22
|
+
// used to test whether a single value is comparable.
|
|
23
|
+
if (f.length !== 2) {
|
|
24
|
+
compare1 = ascending$1;
|
|
25
|
+
compare2 = (d, x) => ascending$1(f(d), x);
|
|
26
|
+
delta = (d, x) => f(d) - x;
|
|
27
|
+
} else {
|
|
28
|
+
compare1 = f === ascending$1 || f === descending ? f : zero$1;
|
|
29
|
+
compare2 = f;
|
|
30
|
+
delta = f;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function left(a, x, lo = 0, hi = a.length) {
|
|
34
|
+
if (lo < hi) {
|
|
35
|
+
if (compare1(x, x) !== 0) return hi;
|
|
36
|
+
do {
|
|
37
|
+
const mid = (lo + hi) >>> 1;
|
|
38
|
+
if (compare2(a[mid], x) < 0) lo = mid + 1;
|
|
39
|
+
else hi = mid;
|
|
40
|
+
} while (lo < hi);
|
|
41
|
+
}
|
|
42
|
+
return lo;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function right(a, x, lo = 0, hi = a.length) {
|
|
46
|
+
if (lo < hi) {
|
|
47
|
+
if (compare1(x, x) !== 0) return hi;
|
|
48
|
+
do {
|
|
49
|
+
const mid = (lo + hi) >>> 1;
|
|
50
|
+
if (compare2(a[mid], x) <= 0) lo = mid + 1;
|
|
51
|
+
else hi = mid;
|
|
52
|
+
} while (lo < hi);
|
|
53
|
+
}
|
|
54
|
+
return lo;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function center(a, x, lo = 0, hi = a.length) {
|
|
58
|
+
const i = left(a, x, lo, hi - 1);
|
|
59
|
+
return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return {left, center, right};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function zero$1() {
|
|
66
|
+
return 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function number$2(x) {
|
|
70
|
+
return x === null ? NaN : +x;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const ascendingBisect = bisector(ascending$1);
|
|
74
|
+
const bisectRight = ascendingBisect.right;
|
|
75
|
+
bisector(number$2).center;
|
|
76
|
+
const bisect = bisectRight;
|
|
77
|
+
|
|
78
|
+
class InternMap extends Map {
|
|
79
|
+
constructor(entries, key = keyof) {
|
|
80
|
+
super();
|
|
81
|
+
Object.defineProperties(this, {_intern: {value: new Map()}, _key: {value: key}});
|
|
82
|
+
if (entries != null) for (const [key, value] of entries) this.set(key, value);
|
|
83
|
+
}
|
|
84
|
+
get(key) {
|
|
85
|
+
return super.get(intern_get(this, key));
|
|
86
|
+
}
|
|
87
|
+
has(key) {
|
|
88
|
+
return super.has(intern_get(this, key));
|
|
89
|
+
}
|
|
90
|
+
set(key, value) {
|
|
91
|
+
return super.set(intern_set(this, key), value);
|
|
92
|
+
}
|
|
93
|
+
delete(key) {
|
|
94
|
+
return super.delete(intern_delete(this, key));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function intern_get({_intern, _key}, value) {
|
|
99
|
+
const key = _key(value);
|
|
100
|
+
return _intern.has(key) ? _intern.get(key) : value;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function intern_set({_intern, _key}, value) {
|
|
104
|
+
const key = _key(value);
|
|
105
|
+
if (_intern.has(key)) return _intern.get(key);
|
|
106
|
+
_intern.set(key, value);
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function intern_delete({_intern, _key}, value) {
|
|
111
|
+
const key = _key(value);
|
|
112
|
+
if (_intern.has(key)) {
|
|
113
|
+
value = _intern.get(key);
|
|
114
|
+
_intern.delete(key);
|
|
115
|
+
}
|
|
116
|
+
return value;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function keyof(value) {
|
|
120
|
+
return value !== null && typeof value === "object" ? value.valueOf() : value;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const e10 = Math.sqrt(50),
|
|
124
|
+
e5 = Math.sqrt(10),
|
|
125
|
+
e2 = Math.sqrt(2);
|
|
126
|
+
|
|
127
|
+
function tickSpec(start, stop, count) {
|
|
128
|
+
const step = (stop - start) / Math.max(0, count),
|
|
129
|
+
power = Math.floor(Math.log10(step)),
|
|
130
|
+
error = step / Math.pow(10, power),
|
|
131
|
+
factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
132
|
+
let i1, i2, inc;
|
|
133
|
+
if (power < 0) {
|
|
134
|
+
inc = Math.pow(10, -power) / factor;
|
|
135
|
+
i1 = Math.round(start * inc);
|
|
136
|
+
i2 = Math.round(stop * inc);
|
|
137
|
+
if (i1 / inc < start) ++i1;
|
|
138
|
+
if (i2 / inc > stop) --i2;
|
|
139
|
+
inc = -inc;
|
|
140
|
+
} else {
|
|
141
|
+
inc = Math.pow(10, power) * factor;
|
|
142
|
+
i1 = Math.round(start / inc);
|
|
143
|
+
i2 = Math.round(stop / inc);
|
|
144
|
+
if (i1 * inc < start) ++i1;
|
|
145
|
+
if (i2 * inc > stop) --i2;
|
|
146
|
+
}
|
|
147
|
+
if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
148
|
+
return [i1, i2, inc];
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function ticks(start, stop, count) {
|
|
152
|
+
stop = +stop, start = +start, count = +count;
|
|
153
|
+
if (!(count > 0)) return [];
|
|
154
|
+
if (start === stop) return [start];
|
|
155
|
+
const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);
|
|
156
|
+
if (!(i2 >= i1)) return [];
|
|
157
|
+
const n = i2 - i1 + 1, ticks = new Array(n);
|
|
158
|
+
if (reverse) {
|
|
159
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;
|
|
160
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;
|
|
161
|
+
} else {
|
|
162
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;
|
|
163
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;
|
|
164
|
+
}
|
|
165
|
+
return ticks;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function tickIncrement(start, stop, count) {
|
|
169
|
+
stop = +stop, start = +start, count = +count;
|
|
170
|
+
return tickSpec(start, stop, count)[2];
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
function tickStep(start, stop, count) {
|
|
174
|
+
stop = +stop, start = +start, count = +count;
|
|
175
|
+
const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
176
|
+
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function max(values, valueof) {
|
|
180
|
+
let max;
|
|
181
|
+
if (valueof === undefined) {
|
|
182
|
+
for (const value of values) {
|
|
183
|
+
if (value != null
|
|
184
|
+
&& (max < value || (max === undefined && value >= value))) {
|
|
185
|
+
max = value;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
} else {
|
|
189
|
+
let index = -1;
|
|
190
|
+
for (let value of values) {
|
|
191
|
+
if ((value = valueof(value, ++index, values)) != null
|
|
192
|
+
&& (max < value || (max === undefined && value >= value))) {
|
|
193
|
+
max = value;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
return max;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
function min(values, valueof) {
|
|
201
|
+
let min;
|
|
202
|
+
if (valueof === undefined) {
|
|
203
|
+
for (const value of values) {
|
|
204
|
+
if (value != null
|
|
205
|
+
&& (min > value || (min === undefined && value >= value))) {
|
|
206
|
+
min = value;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
} else {
|
|
210
|
+
let index = -1;
|
|
211
|
+
for (let value of values) {
|
|
212
|
+
if ((value = valueof(value, ++index, values)) != null
|
|
213
|
+
&& (min > value || (min === undefined && value >= value))) {
|
|
214
|
+
min = value;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return min;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function range(start, stop, step) {
|
|
222
|
+
start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
|
|
223
|
+
|
|
224
|
+
var i = -1,
|
|
225
|
+
n = Math.max(0, Math.ceil((stop - start) / step)) | 0,
|
|
226
|
+
range = new Array(n);
|
|
227
|
+
|
|
228
|
+
while (++i < n) {
|
|
229
|
+
range[i] = start + i * step;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
return range;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
function identity$3(x) {
|
|
236
|
+
return x;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
var top = 1,
|
|
240
|
+
right = 2,
|
|
241
|
+
bottom = 3,
|
|
242
|
+
left = 4,
|
|
243
|
+
epsilon = 1e-6;
|
|
244
|
+
|
|
245
|
+
function translateX(x) {
|
|
246
|
+
return "translate(" + x + ",0)";
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function translateY(y) {
|
|
250
|
+
return "translate(0," + y + ")";
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function number$1(scale) {
|
|
254
|
+
return d => +scale(d);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function center(scale, offset) {
|
|
258
|
+
offset = Math.max(0, scale.bandwidth() - offset * 2) / 2;
|
|
259
|
+
if (scale.round()) offset = Math.round(offset);
|
|
260
|
+
return d => +scale(d) + offset;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
function entering() {
|
|
264
|
+
return !this.__axis;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
function axis(orient, scale) {
|
|
268
|
+
var tickArguments = [],
|
|
269
|
+
tickValues = null,
|
|
270
|
+
tickFormat = null,
|
|
271
|
+
tickSizeInner = 6,
|
|
272
|
+
tickSizeOuter = 6,
|
|
273
|
+
tickPadding = 3,
|
|
274
|
+
offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5,
|
|
275
|
+
k = orient === top || orient === left ? -1 : 1,
|
|
276
|
+
x = orient === left || orient === right ? "x" : "y",
|
|
277
|
+
transform = orient === top || orient === bottom ? translateX : translateY;
|
|
278
|
+
|
|
279
|
+
function axis(context) {
|
|
280
|
+
var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,
|
|
281
|
+
format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity$3) : tickFormat,
|
|
282
|
+
spacing = Math.max(tickSizeInner, 0) + tickPadding,
|
|
283
|
+
range = scale.range(),
|
|
284
|
+
range0 = +range[0] + offset,
|
|
285
|
+
range1 = +range[range.length - 1] + offset,
|
|
286
|
+
position = (scale.bandwidth ? center : number$1)(scale.copy(), offset),
|
|
287
|
+
selection = context.selection ? context.selection() : context,
|
|
288
|
+
path = selection.selectAll(".domain").data([null]),
|
|
289
|
+
tick = selection.selectAll(".tick").data(values, scale).order(),
|
|
290
|
+
tickExit = tick.exit(),
|
|
291
|
+
tickEnter = tick.enter().append("g").attr("class", "tick"),
|
|
292
|
+
line = tick.select("line"),
|
|
293
|
+
text = tick.select("text");
|
|
294
|
+
|
|
295
|
+
path = path.merge(path.enter().insert("path", ".tick")
|
|
296
|
+
.attr("class", "domain")
|
|
297
|
+
.attr("stroke", "currentColor"));
|
|
298
|
+
|
|
299
|
+
tick = tick.merge(tickEnter);
|
|
300
|
+
|
|
301
|
+
line = line.merge(tickEnter.append("line")
|
|
302
|
+
.attr("stroke", "currentColor")
|
|
303
|
+
.attr(x + "2", k * tickSizeInner));
|
|
304
|
+
|
|
305
|
+
text = text.merge(tickEnter.append("text")
|
|
306
|
+
.attr("fill", "currentColor")
|
|
307
|
+
.attr(x, k * spacing)
|
|
308
|
+
.attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em"));
|
|
309
|
+
|
|
310
|
+
if (context !== selection) {
|
|
311
|
+
path = path.transition(context);
|
|
312
|
+
tick = tick.transition(context);
|
|
313
|
+
line = line.transition(context);
|
|
314
|
+
text = text.transition(context);
|
|
315
|
+
|
|
316
|
+
tickExit = tickExit.transition(context)
|
|
317
|
+
.attr("opacity", epsilon)
|
|
318
|
+
.attr("transform", function(d) { return isFinite(d = position(d)) ? transform(d + offset) : this.getAttribute("transform"); });
|
|
319
|
+
|
|
320
|
+
tickEnter
|
|
321
|
+
.attr("opacity", epsilon)
|
|
322
|
+
.attr("transform", function(d) { var p = this.parentNode.__axis; return transform((p && isFinite(p = p(d)) ? p : position(d)) + offset); });
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
tickExit.remove();
|
|
326
|
+
|
|
327
|
+
path
|
|
328
|
+
.attr("d", orient === left || orient === right
|
|
329
|
+
? (tickSizeOuter ? "M" + k * tickSizeOuter + "," + range0 + "H" + offset + "V" + range1 + "H" + k * tickSizeOuter : "M" + offset + "," + range0 + "V" + range1)
|
|
330
|
+
: (tickSizeOuter ? "M" + range0 + "," + k * tickSizeOuter + "V" + offset + "H" + range1 + "V" + k * tickSizeOuter : "M" + range0 + "," + offset + "H" + range1));
|
|
331
|
+
|
|
332
|
+
tick
|
|
333
|
+
.attr("opacity", 1)
|
|
334
|
+
.attr("transform", function(d) { return transform(position(d) + offset); });
|
|
335
|
+
|
|
336
|
+
line
|
|
337
|
+
.attr(x + "2", k * tickSizeInner);
|
|
338
|
+
|
|
339
|
+
text
|
|
340
|
+
.attr(x, k * spacing)
|
|
341
|
+
.text(format);
|
|
342
|
+
|
|
343
|
+
selection.filter(entering)
|
|
344
|
+
.attr("fill", "none")
|
|
345
|
+
.attr("font-size", 10)
|
|
346
|
+
.attr("font-family", "sans-serif")
|
|
347
|
+
.attr("text-anchor", orient === right ? "start" : orient === left ? "end" : "middle");
|
|
348
|
+
|
|
349
|
+
selection
|
|
350
|
+
.each(function() { this.__axis = position; });
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
axis.scale = function(_) {
|
|
354
|
+
return arguments.length ? (scale = _, axis) : scale;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
axis.ticks = function() {
|
|
358
|
+
return tickArguments = Array.from(arguments), axis;
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
axis.tickArguments = function(_) {
|
|
362
|
+
return arguments.length ? (tickArguments = _ == null ? [] : Array.from(_), axis) : tickArguments.slice();
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
axis.tickValues = function(_) {
|
|
366
|
+
return arguments.length ? (tickValues = _ == null ? null : Array.from(_), axis) : tickValues && tickValues.slice();
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
axis.tickFormat = function(_) {
|
|
370
|
+
return arguments.length ? (tickFormat = _, axis) : tickFormat;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
axis.tickSize = function(_) {
|
|
374
|
+
return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
axis.tickSizeInner = function(_) {
|
|
378
|
+
return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
axis.tickSizeOuter = function(_) {
|
|
382
|
+
return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
axis.tickPadding = function(_) {
|
|
386
|
+
return arguments.length ? (tickPadding = +_, axis) : tickPadding;
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
axis.offset = function(_) {
|
|
390
|
+
return arguments.length ? (offset = +_, axis) : offset;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
return axis;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function axisBottom(scale) {
|
|
397
|
+
return axis(bottom, scale);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
function axisLeft(scale) {
|
|
401
|
+
return axis(left, scale);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
var noop = {value: () => {}};
|
|
405
|
+
|
|
406
|
+
function dispatch() {
|
|
407
|
+
for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {
|
|
408
|
+
if (!(t = arguments[i] + "") || (t in _) || /[\s.]/.test(t)) throw new Error("illegal type: " + t);
|
|
409
|
+
_[t] = [];
|
|
410
|
+
}
|
|
411
|
+
return new Dispatch(_);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
function Dispatch(_) {
|
|
415
|
+
this._ = _;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
function parseTypenames$1(typenames, types) {
|
|
419
|
+
return typenames.trim().split(/^|\s+/).map(function(t) {
|
|
420
|
+
var name = "", i = t.indexOf(".");
|
|
421
|
+
if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
|
|
422
|
+
if (t && !types.hasOwnProperty(t)) throw new Error("unknown type: " + t);
|
|
423
|
+
return {type: t, name: name};
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
Dispatch.prototype = dispatch.prototype = {
|
|
428
|
+
constructor: Dispatch,
|
|
429
|
+
on: function(typename, callback) {
|
|
430
|
+
var _ = this._,
|
|
431
|
+
T = parseTypenames$1(typename + "", _),
|
|
432
|
+
t,
|
|
433
|
+
i = -1,
|
|
434
|
+
n = T.length;
|
|
435
|
+
|
|
436
|
+
// If no callback was specified, return the callback of the given type and name.
|
|
437
|
+
if (arguments.length < 2) {
|
|
438
|
+
while (++i < n) if ((t = (typename = T[i]).type) && (t = get$1(_[t], typename.name))) return t;
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
// If a type was specified, set the callback for the given type and name.
|
|
443
|
+
// Otherwise, if a null callback was specified, remove callbacks of the given name.
|
|
444
|
+
if (callback != null && typeof callback !== "function") throw new Error("invalid callback: " + callback);
|
|
445
|
+
while (++i < n) {
|
|
446
|
+
if (t = (typename = T[i]).type) _[t] = set$1(_[t], typename.name, callback);
|
|
447
|
+
else if (callback == null) for (t in _) _[t] = set$1(_[t], typename.name, null);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
return this;
|
|
451
|
+
},
|
|
452
|
+
copy: function() {
|
|
453
|
+
var copy = {}, _ = this._;
|
|
454
|
+
for (var t in _) copy[t] = _[t].slice();
|
|
455
|
+
return new Dispatch(copy);
|
|
456
|
+
},
|
|
457
|
+
call: function(type, that) {
|
|
458
|
+
if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];
|
|
459
|
+
if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);
|
|
460
|
+
for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
|
|
461
|
+
},
|
|
462
|
+
apply: function(type, that, args) {
|
|
463
|
+
if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);
|
|
464
|
+
for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
function get$1(type, name) {
|
|
469
|
+
for (var i = 0, n = type.length, c; i < n; ++i) {
|
|
470
|
+
if ((c = type[i]).name === name) {
|
|
471
|
+
return c.value;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
function set$1(type, name, callback) {
|
|
477
|
+
for (var i = 0, n = type.length; i < n; ++i) {
|
|
478
|
+
if (type[i].name === name) {
|
|
479
|
+
type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
if (callback != null) type.push({name: name, value: callback});
|
|
484
|
+
return type;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
var xhtml = "http://www.w3.org/1999/xhtml";
|
|
488
|
+
|
|
489
|
+
const namespaces = {
|
|
490
|
+
svg: "http://www.w3.org/2000/svg",
|
|
491
|
+
xhtml: xhtml,
|
|
492
|
+
xlink: "http://www.w3.org/1999/xlink",
|
|
493
|
+
xml: "http://www.w3.org/XML/1998/namespace",
|
|
494
|
+
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
function namespace(name) {
|
|
498
|
+
var prefix = name += "", i = prefix.indexOf(":");
|
|
499
|
+
if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
|
|
500
|
+
return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name; // eslint-disable-line no-prototype-builtins
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
function creatorInherit(name) {
|
|
504
|
+
return function() {
|
|
505
|
+
var document = this.ownerDocument,
|
|
506
|
+
uri = this.namespaceURI;
|
|
507
|
+
return uri === xhtml && document.documentElement.namespaceURI === xhtml
|
|
508
|
+
? document.createElement(name)
|
|
509
|
+
: document.createElementNS(uri, name);
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
function creatorFixed(fullname) {
|
|
514
|
+
return function() {
|
|
515
|
+
return this.ownerDocument.createElementNS(fullname.space, fullname.local);
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
function creator(name) {
|
|
520
|
+
var fullname = namespace(name);
|
|
521
|
+
return (fullname.local
|
|
522
|
+
? creatorFixed
|
|
523
|
+
: creatorInherit)(fullname);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
function none() {}
|
|
527
|
+
|
|
528
|
+
function selector(selector) {
|
|
529
|
+
return selector == null ? none : function() {
|
|
530
|
+
return this.querySelector(selector);
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
function selection_select(select) {
|
|
535
|
+
if (typeof select !== "function") select = selector(select);
|
|
536
|
+
|
|
537
|
+
for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
|
|
538
|
+
for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
|
|
539
|
+
if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
|
|
540
|
+
if ("__data__" in node) subnode.__data__ = node.__data__;
|
|
541
|
+
subgroup[i] = subnode;
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
return new Selection$1(subgroups, this._parents);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
// Given something array like (or null), returns something that is strictly an
|
|
550
|
+
// array. This is used to ensure that array-like objects passed to d3.selectAll
|
|
551
|
+
// or selection.selectAll are converted into proper arrays when creating a
|
|
552
|
+
// selection; we don’t ever want to create a selection backed by a live
|
|
553
|
+
// HTMLCollection or NodeList. However, note that selection.selectAll will use a
|
|
554
|
+
// static NodeList as a group, since it safely derived from querySelectorAll.
|
|
555
|
+
function array(x) {
|
|
556
|
+
return x == null ? [] : Array.isArray(x) ? x : Array.from(x);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
function empty() {
|
|
560
|
+
return [];
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
function selectorAll(selector) {
|
|
564
|
+
return selector == null ? empty : function() {
|
|
565
|
+
return this.querySelectorAll(selector);
|
|
566
|
+
};
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
function arrayAll(select) {
|
|
570
|
+
return function() {
|
|
571
|
+
return array(select.apply(this, arguments));
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
function selection_selectAll(select) {
|
|
576
|
+
if (typeof select === "function") select = arrayAll(select);
|
|
577
|
+
else select = selectorAll(select);
|
|
578
|
+
|
|
579
|
+
for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
|
|
580
|
+
for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
|
|
581
|
+
if (node = group[i]) {
|
|
582
|
+
subgroups.push(select.call(node, node.__data__, i, group));
|
|
583
|
+
parents.push(node);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
return new Selection$1(subgroups, parents);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
function matcher(selector) {
|
|
592
|
+
return function() {
|
|
593
|
+
return this.matches(selector);
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
function childMatcher(selector) {
|
|
598
|
+
return function(node) {
|
|
599
|
+
return node.matches(selector);
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
var find = Array.prototype.find;
|
|
604
|
+
|
|
605
|
+
function childFind(match) {
|
|
606
|
+
return function() {
|
|
607
|
+
return find.call(this.children, match);
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
function childFirst() {
|
|
612
|
+
return this.firstElementChild;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
function selection_selectChild(match) {
|
|
616
|
+
return this.select(match == null ? childFirst
|
|
617
|
+
: childFind(typeof match === "function" ? match : childMatcher(match)));
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
var filter = Array.prototype.filter;
|
|
621
|
+
|
|
622
|
+
function children() {
|
|
623
|
+
return Array.from(this.children);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
function childrenFilter(match) {
|
|
627
|
+
return function() {
|
|
628
|
+
return filter.call(this.children, match);
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
function selection_selectChildren(match) {
|
|
633
|
+
return this.selectAll(match == null ? children
|
|
634
|
+
: childrenFilter(typeof match === "function" ? match : childMatcher(match)));
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
function selection_filter(match) {
|
|
638
|
+
if (typeof match !== "function") match = matcher(match);
|
|
639
|
+
|
|
640
|
+
for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
|
|
641
|
+
for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
|
|
642
|
+
if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
|
|
643
|
+
subgroup.push(node);
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
return new Selection$1(subgroups, this._parents);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
function sparse(update) {
|
|
652
|
+
return new Array(update.length);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
function selection_enter() {
|
|
656
|
+
return new Selection$1(this._enter || this._groups.map(sparse), this._parents);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
function EnterNode(parent, datum) {
|
|
660
|
+
this.ownerDocument = parent.ownerDocument;
|
|
661
|
+
this.namespaceURI = parent.namespaceURI;
|
|
662
|
+
this._next = null;
|
|
663
|
+
this._parent = parent;
|
|
664
|
+
this.__data__ = datum;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
EnterNode.prototype = {
|
|
668
|
+
constructor: EnterNode,
|
|
669
|
+
appendChild: function(child) { return this._parent.insertBefore(child, this._next); },
|
|
670
|
+
insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },
|
|
671
|
+
querySelector: function(selector) { return this._parent.querySelector(selector); },
|
|
672
|
+
querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
function constant$1(x) {
|
|
676
|
+
return function() {
|
|
677
|
+
return x;
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
function bindIndex(parent, group, enter, update, exit, data) {
|
|
682
|
+
var i = 0,
|
|
683
|
+
node,
|
|
684
|
+
groupLength = group.length,
|
|
685
|
+
dataLength = data.length;
|
|
686
|
+
|
|
687
|
+
// Put any non-null nodes that fit into update.
|
|
688
|
+
// Put any null nodes into enter.
|
|
689
|
+
// Put any remaining data into enter.
|
|
690
|
+
for (; i < dataLength; ++i) {
|
|
691
|
+
if (node = group[i]) {
|
|
692
|
+
node.__data__ = data[i];
|
|
693
|
+
update[i] = node;
|
|
694
|
+
} else {
|
|
695
|
+
enter[i] = new EnterNode(parent, data[i]);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
// Put any non-null nodes that don’t fit into exit.
|
|
700
|
+
for (; i < groupLength; ++i) {
|
|
701
|
+
if (node = group[i]) {
|
|
702
|
+
exit[i] = node;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
function bindKey(parent, group, enter, update, exit, data, key) {
|
|
708
|
+
var i,
|
|
709
|
+
node,
|
|
710
|
+
nodeByKeyValue = new Map,
|
|
711
|
+
groupLength = group.length,
|
|
712
|
+
dataLength = data.length,
|
|
713
|
+
keyValues = new Array(groupLength),
|
|
714
|
+
keyValue;
|
|
715
|
+
|
|
716
|
+
// Compute the key for each node.
|
|
717
|
+
// If multiple nodes have the same key, the duplicates are added to exit.
|
|
718
|
+
for (i = 0; i < groupLength; ++i) {
|
|
719
|
+
if (node = group[i]) {
|
|
720
|
+
keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + "";
|
|
721
|
+
if (nodeByKeyValue.has(keyValue)) {
|
|
722
|
+
exit[i] = node;
|
|
723
|
+
} else {
|
|
724
|
+
nodeByKeyValue.set(keyValue, node);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
// Compute the key for each datum.
|
|
730
|
+
// If there a node associated with this key, join and add it to update.
|
|
731
|
+
// If there is not (or the key is a duplicate), add it to enter.
|
|
732
|
+
for (i = 0; i < dataLength; ++i) {
|
|
733
|
+
keyValue = key.call(parent, data[i], i, data) + "";
|
|
734
|
+
if (node = nodeByKeyValue.get(keyValue)) {
|
|
735
|
+
update[i] = node;
|
|
736
|
+
node.__data__ = data[i];
|
|
737
|
+
nodeByKeyValue.delete(keyValue);
|
|
738
|
+
} else {
|
|
739
|
+
enter[i] = new EnterNode(parent, data[i]);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// Add any remaining nodes that were not bound to data to exit.
|
|
744
|
+
for (i = 0; i < groupLength; ++i) {
|
|
745
|
+
if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) {
|
|
746
|
+
exit[i] = node;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
function datum(node) {
|
|
752
|
+
return node.__data__;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
function selection_data(value, key) {
|
|
756
|
+
if (!arguments.length) return Array.from(this, datum);
|
|
757
|
+
|
|
758
|
+
var bind = key ? bindKey : bindIndex,
|
|
759
|
+
parents = this._parents,
|
|
760
|
+
groups = this._groups;
|
|
761
|
+
|
|
762
|
+
if (typeof value !== "function") value = constant$1(value);
|
|
763
|
+
|
|
764
|
+
for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {
|
|
765
|
+
var parent = parents[j],
|
|
766
|
+
group = groups[j],
|
|
767
|
+
groupLength = group.length,
|
|
768
|
+
data = arraylike(value.call(parent, parent && parent.__data__, j, parents)),
|
|
769
|
+
dataLength = data.length,
|
|
770
|
+
enterGroup = enter[j] = new Array(dataLength),
|
|
771
|
+
updateGroup = update[j] = new Array(dataLength),
|
|
772
|
+
exitGroup = exit[j] = new Array(groupLength);
|
|
773
|
+
|
|
774
|
+
bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);
|
|
775
|
+
|
|
776
|
+
// Now connect the enter nodes to their following update node, such that
|
|
777
|
+
// appendChild can insert the materialized enter node before this node,
|
|
778
|
+
// rather than at the end of the parent node.
|
|
779
|
+
for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {
|
|
780
|
+
if (previous = enterGroup[i0]) {
|
|
781
|
+
if (i0 >= i1) i1 = i0 + 1;
|
|
782
|
+
while (!(next = updateGroup[i1]) && ++i1 < dataLength);
|
|
783
|
+
previous._next = next || null;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
update = new Selection$1(update, parents);
|
|
789
|
+
update._enter = enter;
|
|
790
|
+
update._exit = exit;
|
|
791
|
+
return update;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
// Given some data, this returns an array-like view of it: an object that
|
|
795
|
+
// exposes a length property and allows numeric indexing. Note that unlike
|
|
796
|
+
// selectAll, this isn’t worried about “live” collections because the resulting
|
|
797
|
+
// array will only be used briefly while data is being bound. (It is possible to
|
|
798
|
+
// cause the data to change while iterating by using a key function, but please
|
|
799
|
+
// don’t; we’d rather avoid a gratuitous copy.)
|
|
800
|
+
function arraylike(data) {
|
|
801
|
+
return typeof data === "object" && "length" in data
|
|
802
|
+
? data // Array, TypedArray, NodeList, array-like
|
|
803
|
+
: Array.from(data); // Map, Set, iterable, string, or anything else
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
function selection_exit() {
|
|
807
|
+
return new Selection$1(this._exit || this._groups.map(sparse), this._parents);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
function selection_join(onenter, onupdate, onexit) {
|
|
811
|
+
var enter = this.enter(), update = this, exit = this.exit();
|
|
812
|
+
if (typeof onenter === "function") {
|
|
813
|
+
enter = onenter(enter);
|
|
814
|
+
if (enter) enter = enter.selection();
|
|
815
|
+
} else {
|
|
816
|
+
enter = enter.append(onenter + "");
|
|
817
|
+
}
|
|
818
|
+
if (onupdate != null) {
|
|
819
|
+
update = onupdate(update);
|
|
820
|
+
if (update) update = update.selection();
|
|
821
|
+
}
|
|
822
|
+
if (onexit == null) exit.remove(); else onexit(exit);
|
|
823
|
+
return enter && update ? enter.merge(update).order() : update;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
function selection_merge(context) {
|
|
827
|
+
var selection = context.selection ? context.selection() : context;
|
|
828
|
+
|
|
829
|
+
for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
|
|
830
|
+
for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
|
|
831
|
+
if (node = group0[i] || group1[i]) {
|
|
832
|
+
merge[i] = node;
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
for (; j < m0; ++j) {
|
|
838
|
+
merges[j] = groups0[j];
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
return new Selection$1(merges, this._parents);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
function selection_order() {
|
|
845
|
+
|
|
846
|
+
for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {
|
|
847
|
+
for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
|
|
848
|
+
if (node = group[i]) {
|
|
849
|
+
if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
|
|
850
|
+
next = node;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
return this;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
function selection_sort(compare) {
|
|
859
|
+
if (!compare) compare = ascending;
|
|
860
|
+
|
|
861
|
+
function compareNode(a, b) {
|
|
862
|
+
return a && b ? compare(a.__data__, b.__data__) : !a - !b;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {
|
|
866
|
+
for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {
|
|
867
|
+
if (node = group[i]) {
|
|
868
|
+
sortgroup[i] = node;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
sortgroup.sort(compareNode);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
return new Selection$1(sortgroups, this._parents).order();
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
function ascending(a, b) {
|
|
878
|
+
return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
function selection_call() {
|
|
882
|
+
var callback = arguments[0];
|
|
883
|
+
arguments[0] = this;
|
|
884
|
+
callback.apply(null, arguments);
|
|
885
|
+
return this;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
function selection_nodes() {
|
|
889
|
+
return Array.from(this);
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
function selection_node() {
|
|
893
|
+
|
|
894
|
+
for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
|
|
895
|
+
for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {
|
|
896
|
+
var node = group[i];
|
|
897
|
+
if (node) return node;
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
return null;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
function selection_size() {
|
|
905
|
+
let size = 0;
|
|
906
|
+
for (const node of this) ++size; // eslint-disable-line no-unused-vars
|
|
907
|
+
return size;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
function selection_empty() {
|
|
911
|
+
return !this.node();
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
function selection_each(callback) {
|
|
915
|
+
|
|
916
|
+
for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
|
|
917
|
+
for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
|
|
918
|
+
if (node = group[i]) callback.call(node, node.__data__, i, group);
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
return this;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
function attrRemove$1(name) {
|
|
926
|
+
return function() {
|
|
927
|
+
this.removeAttribute(name);
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
function attrRemoveNS$1(fullname) {
|
|
932
|
+
return function() {
|
|
933
|
+
this.removeAttributeNS(fullname.space, fullname.local);
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
function attrConstant$1(name, value) {
|
|
938
|
+
return function() {
|
|
939
|
+
this.setAttribute(name, value);
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
function attrConstantNS$1(fullname, value) {
|
|
944
|
+
return function() {
|
|
945
|
+
this.setAttributeNS(fullname.space, fullname.local, value);
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
function attrFunction$1(name, value) {
|
|
950
|
+
return function() {
|
|
951
|
+
var v = value.apply(this, arguments);
|
|
952
|
+
if (v == null) this.removeAttribute(name);
|
|
953
|
+
else this.setAttribute(name, v);
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
function attrFunctionNS$1(fullname, value) {
|
|
958
|
+
return function() {
|
|
959
|
+
var v = value.apply(this, arguments);
|
|
960
|
+
if (v == null) this.removeAttributeNS(fullname.space, fullname.local);
|
|
961
|
+
else this.setAttributeNS(fullname.space, fullname.local, v);
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
function selection_attr(name, value) {
|
|
966
|
+
var fullname = namespace(name);
|
|
967
|
+
|
|
968
|
+
if (arguments.length < 2) {
|
|
969
|
+
var node = this.node();
|
|
970
|
+
return fullname.local
|
|
971
|
+
? node.getAttributeNS(fullname.space, fullname.local)
|
|
972
|
+
: node.getAttribute(fullname);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
return this.each((value == null
|
|
976
|
+
? (fullname.local ? attrRemoveNS$1 : attrRemove$1) : (typeof value === "function"
|
|
977
|
+
? (fullname.local ? attrFunctionNS$1 : attrFunction$1)
|
|
978
|
+
: (fullname.local ? attrConstantNS$1 : attrConstant$1)))(fullname, value));
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
function defaultView(node) {
|
|
982
|
+
return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node
|
|
983
|
+
|| (node.document && node) // node is a Window
|
|
984
|
+
|| node.defaultView; // node is a Document
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
function styleRemove$1(name) {
|
|
988
|
+
return function() {
|
|
989
|
+
this.style.removeProperty(name);
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function styleConstant$1(name, value, priority) {
|
|
994
|
+
return function() {
|
|
995
|
+
this.style.setProperty(name, value, priority);
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
function styleFunction$1(name, value, priority) {
|
|
1000
|
+
return function() {
|
|
1001
|
+
var v = value.apply(this, arguments);
|
|
1002
|
+
if (v == null) this.style.removeProperty(name);
|
|
1003
|
+
else this.style.setProperty(name, v, priority);
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
function selection_style(name, value, priority) {
|
|
1008
|
+
return arguments.length > 1
|
|
1009
|
+
? this.each((value == null
|
|
1010
|
+
? styleRemove$1 : typeof value === "function"
|
|
1011
|
+
? styleFunction$1
|
|
1012
|
+
: styleConstant$1)(name, value, priority == null ? "" : priority))
|
|
1013
|
+
: styleValue(this.node(), name);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
function styleValue(node, name) {
|
|
1017
|
+
return node.style.getPropertyValue(name)
|
|
1018
|
+
|| defaultView(node).getComputedStyle(node, null).getPropertyValue(name);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
function propertyRemove(name) {
|
|
1022
|
+
return function() {
|
|
1023
|
+
delete this[name];
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
function propertyConstant(name, value) {
|
|
1028
|
+
return function() {
|
|
1029
|
+
this[name] = value;
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
function propertyFunction(name, value) {
|
|
1034
|
+
return function() {
|
|
1035
|
+
var v = value.apply(this, arguments);
|
|
1036
|
+
if (v == null) delete this[name];
|
|
1037
|
+
else this[name] = v;
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
function selection_property(name, value) {
|
|
1042
|
+
return arguments.length > 1
|
|
1043
|
+
? this.each((value == null
|
|
1044
|
+
? propertyRemove : typeof value === "function"
|
|
1045
|
+
? propertyFunction
|
|
1046
|
+
: propertyConstant)(name, value))
|
|
1047
|
+
: this.node()[name];
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
function classArray(string) {
|
|
1051
|
+
return string.trim().split(/^|\s+/);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
function classList(node) {
|
|
1055
|
+
return node.classList || new ClassList(node);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
function ClassList(node) {
|
|
1059
|
+
this._node = node;
|
|
1060
|
+
this._names = classArray(node.getAttribute("class") || "");
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
ClassList.prototype = {
|
|
1064
|
+
add: function(name) {
|
|
1065
|
+
var i = this._names.indexOf(name);
|
|
1066
|
+
if (i < 0) {
|
|
1067
|
+
this._names.push(name);
|
|
1068
|
+
this._node.setAttribute("class", this._names.join(" "));
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
remove: function(name) {
|
|
1072
|
+
var i = this._names.indexOf(name);
|
|
1073
|
+
if (i >= 0) {
|
|
1074
|
+
this._names.splice(i, 1);
|
|
1075
|
+
this._node.setAttribute("class", this._names.join(" "));
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
contains: function(name) {
|
|
1079
|
+
return this._names.indexOf(name) >= 0;
|
|
1080
|
+
}
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
function classedAdd(node, names) {
|
|
1084
|
+
var list = classList(node), i = -1, n = names.length;
|
|
1085
|
+
while (++i < n) list.add(names[i]);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
function classedRemove(node, names) {
|
|
1089
|
+
var list = classList(node), i = -1, n = names.length;
|
|
1090
|
+
while (++i < n) list.remove(names[i]);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
function classedTrue(names) {
|
|
1094
|
+
return function() {
|
|
1095
|
+
classedAdd(this, names);
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
function classedFalse(names) {
|
|
1100
|
+
return function() {
|
|
1101
|
+
classedRemove(this, names);
|
|
1102
|
+
};
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
function classedFunction(names, value) {
|
|
1106
|
+
return function() {
|
|
1107
|
+
(value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);
|
|
1108
|
+
};
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
function selection_classed(name, value) {
|
|
1112
|
+
var names = classArray(name + "");
|
|
1113
|
+
|
|
1114
|
+
if (arguments.length < 2) {
|
|
1115
|
+
var list = classList(this.node()), i = -1, n = names.length;
|
|
1116
|
+
while (++i < n) if (!list.contains(names[i])) return false;
|
|
1117
|
+
return true;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
return this.each((typeof value === "function"
|
|
1121
|
+
? classedFunction : value
|
|
1122
|
+
? classedTrue
|
|
1123
|
+
: classedFalse)(names, value));
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
function textRemove() {
|
|
1127
|
+
this.textContent = "";
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
function textConstant$1(value) {
|
|
1131
|
+
return function() {
|
|
1132
|
+
this.textContent = value;
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
function textFunction$1(value) {
|
|
1137
|
+
return function() {
|
|
1138
|
+
var v = value.apply(this, arguments);
|
|
1139
|
+
this.textContent = v == null ? "" : v;
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
function selection_text(value) {
|
|
1144
|
+
return arguments.length
|
|
1145
|
+
? this.each(value == null
|
|
1146
|
+
? textRemove : (typeof value === "function"
|
|
1147
|
+
? textFunction$1
|
|
1148
|
+
: textConstant$1)(value))
|
|
1149
|
+
: this.node().textContent;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
function htmlRemove() {
|
|
1153
|
+
this.innerHTML = "";
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
function htmlConstant(value) {
|
|
1157
|
+
return function() {
|
|
1158
|
+
this.innerHTML = value;
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
function htmlFunction(value) {
|
|
1163
|
+
return function() {
|
|
1164
|
+
var v = value.apply(this, arguments);
|
|
1165
|
+
this.innerHTML = v == null ? "" : v;
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
function selection_html(value) {
|
|
1170
|
+
return arguments.length
|
|
1171
|
+
? this.each(value == null
|
|
1172
|
+
? htmlRemove : (typeof value === "function"
|
|
1173
|
+
? htmlFunction
|
|
1174
|
+
: htmlConstant)(value))
|
|
1175
|
+
: this.node().innerHTML;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
function raise() {
|
|
1179
|
+
if (this.nextSibling) this.parentNode.appendChild(this);
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
function selection_raise() {
|
|
1183
|
+
return this.each(raise);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
function lower() {
|
|
1187
|
+
if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
function selection_lower() {
|
|
1191
|
+
return this.each(lower);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
function selection_append(name) {
|
|
1195
|
+
var create = typeof name === "function" ? name : creator(name);
|
|
1196
|
+
return this.select(function() {
|
|
1197
|
+
return this.appendChild(create.apply(this, arguments));
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
function constantNull() {
|
|
1202
|
+
return null;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
function selection_insert(name, before) {
|
|
1206
|
+
var create = typeof name === "function" ? name : creator(name),
|
|
1207
|
+
select = before == null ? constantNull : typeof before === "function" ? before : selector(before);
|
|
1208
|
+
return this.select(function() {
|
|
1209
|
+
return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
function remove() {
|
|
1214
|
+
var parent = this.parentNode;
|
|
1215
|
+
if (parent) parent.removeChild(this);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
function selection_remove() {
|
|
1219
|
+
return this.each(remove);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
function selection_cloneShallow() {
|
|
1223
|
+
var clone = this.cloneNode(false), parent = this.parentNode;
|
|
1224
|
+
return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
function selection_cloneDeep() {
|
|
1228
|
+
var clone = this.cloneNode(true), parent = this.parentNode;
|
|
1229
|
+
return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
function selection_clone(deep) {
|
|
1233
|
+
return this.select(deep ? selection_cloneDeep : selection_cloneShallow);
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
function selection_datum(value) {
|
|
1237
|
+
return arguments.length
|
|
1238
|
+
? this.property("__data__", value)
|
|
1239
|
+
: this.node().__data__;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
function contextListener(listener) {
|
|
1243
|
+
return function(event) {
|
|
1244
|
+
listener.call(this, event, this.__data__);
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
function parseTypenames(typenames) {
|
|
1249
|
+
return typenames.trim().split(/^|\s+/).map(function(t) {
|
|
1250
|
+
var name = "", i = t.indexOf(".");
|
|
1251
|
+
if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
|
|
1252
|
+
return {type: t, name: name};
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
function onRemove(typename) {
|
|
1257
|
+
return function() {
|
|
1258
|
+
var on = this.__on;
|
|
1259
|
+
if (!on) return;
|
|
1260
|
+
for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {
|
|
1261
|
+
if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {
|
|
1262
|
+
this.removeEventListener(o.type, o.listener, o.options);
|
|
1263
|
+
} else {
|
|
1264
|
+
on[++i] = o;
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
if (++i) on.length = i;
|
|
1268
|
+
else delete this.__on;
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
function onAdd(typename, value, options) {
|
|
1273
|
+
return function() {
|
|
1274
|
+
var on = this.__on, o, listener = contextListener(value);
|
|
1275
|
+
if (on) for (var j = 0, m = on.length; j < m; ++j) {
|
|
1276
|
+
if ((o = on[j]).type === typename.type && o.name === typename.name) {
|
|
1277
|
+
this.removeEventListener(o.type, o.listener, o.options);
|
|
1278
|
+
this.addEventListener(o.type, o.listener = listener, o.options = options);
|
|
1279
|
+
o.value = value;
|
|
1280
|
+
return;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
this.addEventListener(typename.type, listener, options);
|
|
1284
|
+
o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options};
|
|
1285
|
+
if (!on) this.__on = [o];
|
|
1286
|
+
else on.push(o);
|
|
1287
|
+
};
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
function selection_on(typename, value, options) {
|
|
1291
|
+
var typenames = parseTypenames(typename + ""), i, n = typenames.length, t;
|
|
1292
|
+
|
|
1293
|
+
if (arguments.length < 2) {
|
|
1294
|
+
var on = this.node().__on;
|
|
1295
|
+
if (on) for (var j = 0, m = on.length, o; j < m; ++j) {
|
|
1296
|
+
for (i = 0, o = on[j]; i < n; ++i) {
|
|
1297
|
+
if ((t = typenames[i]).type === o.type && t.name === o.name) {
|
|
1298
|
+
return o.value;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
return;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
on = value ? onAdd : onRemove;
|
|
1306
|
+
for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options));
|
|
1307
|
+
return this;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
function dispatchEvent(node, type, params) {
|
|
1311
|
+
var window = defaultView(node),
|
|
1312
|
+
event = window.CustomEvent;
|
|
1313
|
+
|
|
1314
|
+
if (typeof event === "function") {
|
|
1315
|
+
event = new event(type, params);
|
|
1316
|
+
} else {
|
|
1317
|
+
event = window.document.createEvent("Event");
|
|
1318
|
+
if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;
|
|
1319
|
+
else event.initEvent(type, false, false);
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
node.dispatchEvent(event);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
function dispatchConstant(type, params) {
|
|
1326
|
+
return function() {
|
|
1327
|
+
return dispatchEvent(this, type, params);
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
function dispatchFunction(type, params) {
|
|
1332
|
+
return function() {
|
|
1333
|
+
return dispatchEvent(this, type, params.apply(this, arguments));
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
function selection_dispatch(type, params) {
|
|
1338
|
+
return this.each((typeof params === "function"
|
|
1339
|
+
? dispatchFunction
|
|
1340
|
+
: dispatchConstant)(type, params));
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
function* selection_iterator() {
|
|
1344
|
+
for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
|
|
1345
|
+
for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
|
|
1346
|
+
if (node = group[i]) yield node;
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
var root = [null];
|
|
1352
|
+
|
|
1353
|
+
function Selection$1(groups, parents) {
|
|
1354
|
+
this._groups = groups;
|
|
1355
|
+
this._parents = parents;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
function selection() {
|
|
1359
|
+
return new Selection$1([[document.documentElement]], root);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
function selection_selection() {
|
|
1363
|
+
return this;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
Selection$1.prototype = selection.prototype = {
|
|
1367
|
+
constructor: Selection$1,
|
|
1368
|
+
select: selection_select,
|
|
1369
|
+
selectAll: selection_selectAll,
|
|
1370
|
+
selectChild: selection_selectChild,
|
|
1371
|
+
selectChildren: selection_selectChildren,
|
|
1372
|
+
filter: selection_filter,
|
|
1373
|
+
data: selection_data,
|
|
1374
|
+
enter: selection_enter,
|
|
1375
|
+
exit: selection_exit,
|
|
1376
|
+
join: selection_join,
|
|
1377
|
+
merge: selection_merge,
|
|
1378
|
+
selection: selection_selection,
|
|
1379
|
+
order: selection_order,
|
|
1380
|
+
sort: selection_sort,
|
|
1381
|
+
call: selection_call,
|
|
1382
|
+
nodes: selection_nodes,
|
|
1383
|
+
node: selection_node,
|
|
1384
|
+
size: selection_size,
|
|
1385
|
+
empty: selection_empty,
|
|
1386
|
+
each: selection_each,
|
|
1387
|
+
attr: selection_attr,
|
|
1388
|
+
style: selection_style,
|
|
1389
|
+
property: selection_property,
|
|
1390
|
+
classed: selection_classed,
|
|
1391
|
+
text: selection_text,
|
|
1392
|
+
html: selection_html,
|
|
1393
|
+
raise: selection_raise,
|
|
1394
|
+
lower: selection_lower,
|
|
1395
|
+
append: selection_append,
|
|
1396
|
+
insert: selection_insert,
|
|
1397
|
+
remove: selection_remove,
|
|
1398
|
+
clone: selection_clone,
|
|
1399
|
+
datum: selection_datum,
|
|
1400
|
+
on: selection_on,
|
|
1401
|
+
dispatch: selection_dispatch,
|
|
1402
|
+
[Symbol.iterator]: selection_iterator
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
function select(selector) {
|
|
1406
|
+
return typeof selector === "string"
|
|
1407
|
+
? new Selection$1([[document.querySelector(selector)]], [document.documentElement])
|
|
1408
|
+
: new Selection$1([[selector]], root);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
function define(constructor, factory, prototype) {
|
|
1412
|
+
constructor.prototype = factory.prototype = prototype;
|
|
1413
|
+
prototype.constructor = constructor;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
function extend(parent, definition) {
|
|
1417
|
+
var prototype = Object.create(parent.prototype);
|
|
1418
|
+
for (var key in definition) prototype[key] = definition[key];
|
|
1419
|
+
return prototype;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
function Color() {}
|
|
1423
|
+
|
|
1424
|
+
var darker = 0.7;
|
|
1425
|
+
var brighter = 1 / darker;
|
|
1426
|
+
|
|
1427
|
+
var reI = "\\s*([+-]?\\d+)\\s*",
|
|
1428
|
+
reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
|
|
1429
|
+
reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
|
|
1430
|
+
reHex = /^#([0-9a-f]{3,8})$/,
|
|
1431
|
+
reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),
|
|
1432
|
+
reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),
|
|
1433
|
+
reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),
|
|
1434
|
+
reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),
|
|
1435
|
+
reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),
|
|
1436
|
+
reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
|
|
1437
|
+
|
|
1438
|
+
var named = {
|
|
1439
|
+
aliceblue: 0xf0f8ff,
|
|
1440
|
+
antiquewhite: 0xfaebd7,
|
|
1441
|
+
aqua: 0x00ffff,
|
|
1442
|
+
aquamarine: 0x7fffd4,
|
|
1443
|
+
azure: 0xf0ffff,
|
|
1444
|
+
beige: 0xf5f5dc,
|
|
1445
|
+
bisque: 0xffe4c4,
|
|
1446
|
+
black: 0x000000,
|
|
1447
|
+
blanchedalmond: 0xffebcd,
|
|
1448
|
+
blue: 0x0000ff,
|
|
1449
|
+
blueviolet: 0x8a2be2,
|
|
1450
|
+
brown: 0xa52a2a,
|
|
1451
|
+
burlywood: 0xdeb887,
|
|
1452
|
+
cadetblue: 0x5f9ea0,
|
|
1453
|
+
chartreuse: 0x7fff00,
|
|
1454
|
+
chocolate: 0xd2691e,
|
|
1455
|
+
coral: 0xff7f50,
|
|
1456
|
+
cornflowerblue: 0x6495ed,
|
|
1457
|
+
cornsilk: 0xfff8dc,
|
|
1458
|
+
crimson: 0xdc143c,
|
|
1459
|
+
cyan: 0x00ffff,
|
|
1460
|
+
darkblue: 0x00008b,
|
|
1461
|
+
darkcyan: 0x008b8b,
|
|
1462
|
+
darkgoldenrod: 0xb8860b,
|
|
1463
|
+
darkgray: 0xa9a9a9,
|
|
1464
|
+
darkgreen: 0x006400,
|
|
1465
|
+
darkgrey: 0xa9a9a9,
|
|
1466
|
+
darkkhaki: 0xbdb76b,
|
|
1467
|
+
darkmagenta: 0x8b008b,
|
|
1468
|
+
darkolivegreen: 0x556b2f,
|
|
1469
|
+
darkorange: 0xff8c00,
|
|
1470
|
+
darkorchid: 0x9932cc,
|
|
1471
|
+
darkred: 0x8b0000,
|
|
1472
|
+
darksalmon: 0xe9967a,
|
|
1473
|
+
darkseagreen: 0x8fbc8f,
|
|
1474
|
+
darkslateblue: 0x483d8b,
|
|
1475
|
+
darkslategray: 0x2f4f4f,
|
|
1476
|
+
darkslategrey: 0x2f4f4f,
|
|
1477
|
+
darkturquoise: 0x00ced1,
|
|
1478
|
+
darkviolet: 0x9400d3,
|
|
1479
|
+
deeppink: 0xff1493,
|
|
1480
|
+
deepskyblue: 0x00bfff,
|
|
1481
|
+
dimgray: 0x696969,
|
|
1482
|
+
dimgrey: 0x696969,
|
|
1483
|
+
dodgerblue: 0x1e90ff,
|
|
1484
|
+
firebrick: 0xb22222,
|
|
1485
|
+
floralwhite: 0xfffaf0,
|
|
1486
|
+
forestgreen: 0x228b22,
|
|
1487
|
+
fuchsia: 0xff00ff,
|
|
1488
|
+
gainsboro: 0xdcdcdc,
|
|
1489
|
+
ghostwhite: 0xf8f8ff,
|
|
1490
|
+
gold: 0xffd700,
|
|
1491
|
+
goldenrod: 0xdaa520,
|
|
1492
|
+
gray: 0x808080,
|
|
1493
|
+
green: 0x008000,
|
|
1494
|
+
greenyellow: 0xadff2f,
|
|
1495
|
+
grey: 0x808080,
|
|
1496
|
+
honeydew: 0xf0fff0,
|
|
1497
|
+
hotpink: 0xff69b4,
|
|
1498
|
+
indianred: 0xcd5c5c,
|
|
1499
|
+
indigo: 0x4b0082,
|
|
1500
|
+
ivory: 0xfffff0,
|
|
1501
|
+
khaki: 0xf0e68c,
|
|
1502
|
+
lavender: 0xe6e6fa,
|
|
1503
|
+
lavenderblush: 0xfff0f5,
|
|
1504
|
+
lawngreen: 0x7cfc00,
|
|
1505
|
+
lemonchiffon: 0xfffacd,
|
|
1506
|
+
lightblue: 0xadd8e6,
|
|
1507
|
+
lightcoral: 0xf08080,
|
|
1508
|
+
lightcyan: 0xe0ffff,
|
|
1509
|
+
lightgoldenrodyellow: 0xfafad2,
|
|
1510
|
+
lightgray: 0xd3d3d3,
|
|
1511
|
+
lightgreen: 0x90ee90,
|
|
1512
|
+
lightgrey: 0xd3d3d3,
|
|
1513
|
+
lightpink: 0xffb6c1,
|
|
1514
|
+
lightsalmon: 0xffa07a,
|
|
1515
|
+
lightseagreen: 0x20b2aa,
|
|
1516
|
+
lightskyblue: 0x87cefa,
|
|
1517
|
+
lightslategray: 0x778899,
|
|
1518
|
+
lightslategrey: 0x778899,
|
|
1519
|
+
lightsteelblue: 0xb0c4de,
|
|
1520
|
+
lightyellow: 0xffffe0,
|
|
1521
|
+
lime: 0x00ff00,
|
|
1522
|
+
limegreen: 0x32cd32,
|
|
1523
|
+
linen: 0xfaf0e6,
|
|
1524
|
+
magenta: 0xff00ff,
|
|
1525
|
+
maroon: 0x800000,
|
|
1526
|
+
mediumaquamarine: 0x66cdaa,
|
|
1527
|
+
mediumblue: 0x0000cd,
|
|
1528
|
+
mediumorchid: 0xba55d3,
|
|
1529
|
+
mediumpurple: 0x9370db,
|
|
1530
|
+
mediumseagreen: 0x3cb371,
|
|
1531
|
+
mediumslateblue: 0x7b68ee,
|
|
1532
|
+
mediumspringgreen: 0x00fa9a,
|
|
1533
|
+
mediumturquoise: 0x48d1cc,
|
|
1534
|
+
mediumvioletred: 0xc71585,
|
|
1535
|
+
midnightblue: 0x191970,
|
|
1536
|
+
mintcream: 0xf5fffa,
|
|
1537
|
+
mistyrose: 0xffe4e1,
|
|
1538
|
+
moccasin: 0xffe4b5,
|
|
1539
|
+
navajowhite: 0xffdead,
|
|
1540
|
+
navy: 0x000080,
|
|
1541
|
+
oldlace: 0xfdf5e6,
|
|
1542
|
+
olive: 0x808000,
|
|
1543
|
+
olivedrab: 0x6b8e23,
|
|
1544
|
+
orange: 0xffa500,
|
|
1545
|
+
orangered: 0xff4500,
|
|
1546
|
+
orchid: 0xda70d6,
|
|
1547
|
+
palegoldenrod: 0xeee8aa,
|
|
1548
|
+
palegreen: 0x98fb98,
|
|
1549
|
+
paleturquoise: 0xafeeee,
|
|
1550
|
+
palevioletred: 0xdb7093,
|
|
1551
|
+
papayawhip: 0xffefd5,
|
|
1552
|
+
peachpuff: 0xffdab9,
|
|
1553
|
+
peru: 0xcd853f,
|
|
1554
|
+
pink: 0xffc0cb,
|
|
1555
|
+
plum: 0xdda0dd,
|
|
1556
|
+
powderblue: 0xb0e0e6,
|
|
1557
|
+
purple: 0x800080,
|
|
1558
|
+
rebeccapurple: 0x663399,
|
|
1559
|
+
red: 0xff0000,
|
|
1560
|
+
rosybrown: 0xbc8f8f,
|
|
1561
|
+
royalblue: 0x4169e1,
|
|
1562
|
+
saddlebrown: 0x8b4513,
|
|
1563
|
+
salmon: 0xfa8072,
|
|
1564
|
+
sandybrown: 0xf4a460,
|
|
1565
|
+
seagreen: 0x2e8b57,
|
|
1566
|
+
seashell: 0xfff5ee,
|
|
1567
|
+
sienna: 0xa0522d,
|
|
1568
|
+
silver: 0xc0c0c0,
|
|
1569
|
+
skyblue: 0x87ceeb,
|
|
1570
|
+
slateblue: 0x6a5acd,
|
|
1571
|
+
slategray: 0x708090,
|
|
1572
|
+
slategrey: 0x708090,
|
|
1573
|
+
snow: 0xfffafa,
|
|
1574
|
+
springgreen: 0x00ff7f,
|
|
1575
|
+
steelblue: 0x4682b4,
|
|
1576
|
+
tan: 0xd2b48c,
|
|
1577
|
+
teal: 0x008080,
|
|
1578
|
+
thistle: 0xd8bfd8,
|
|
1579
|
+
tomato: 0xff6347,
|
|
1580
|
+
turquoise: 0x40e0d0,
|
|
1581
|
+
violet: 0xee82ee,
|
|
1582
|
+
wheat: 0xf5deb3,
|
|
1583
|
+
white: 0xffffff,
|
|
1584
|
+
whitesmoke: 0xf5f5f5,
|
|
1585
|
+
yellow: 0xffff00,
|
|
1586
|
+
yellowgreen: 0x9acd32
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
define(Color, color, {
|
|
1590
|
+
copy(channels) {
|
|
1591
|
+
return Object.assign(new this.constructor, this, channels);
|
|
1592
|
+
},
|
|
1593
|
+
displayable() {
|
|
1594
|
+
return this.rgb().displayable();
|
|
1595
|
+
},
|
|
1596
|
+
hex: color_formatHex, // Deprecated! Use color.formatHex.
|
|
1597
|
+
formatHex: color_formatHex,
|
|
1598
|
+
formatHex8: color_formatHex8,
|
|
1599
|
+
formatHsl: color_formatHsl,
|
|
1600
|
+
formatRgb: color_formatRgb,
|
|
1601
|
+
toString: color_formatRgb
|
|
1602
|
+
});
|
|
1603
|
+
|
|
1604
|
+
function color_formatHex() {
|
|
1605
|
+
return this.rgb().formatHex();
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
function color_formatHex8() {
|
|
1609
|
+
return this.rgb().formatHex8();
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
function color_formatHsl() {
|
|
1613
|
+
return hslConvert(this).formatHsl();
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
function color_formatRgb() {
|
|
1617
|
+
return this.rgb().formatRgb();
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
function color(format) {
|
|
1621
|
+
var m, l;
|
|
1622
|
+
format = (format + "").trim().toLowerCase();
|
|
1623
|
+
return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
|
|
1624
|
+
: l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00
|
|
1625
|
+
: l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
|
|
1626
|
+
: l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000
|
|
1627
|
+
: null) // invalid hex
|
|
1628
|
+
: (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
|
|
1629
|
+
: (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
|
|
1630
|
+
: (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
|
|
1631
|
+
: (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
|
|
1632
|
+
: (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
|
|
1633
|
+
: (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
|
|
1634
|
+
: named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
|
|
1635
|
+
: format === "transparent" ? new Rgb(NaN, NaN, NaN, 0)
|
|
1636
|
+
: null;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
function rgbn(n) {
|
|
1640
|
+
return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
function rgba(r, g, b, a) {
|
|
1644
|
+
if (a <= 0) r = g = b = NaN;
|
|
1645
|
+
return new Rgb(r, g, b, a);
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
function rgbConvert(o) {
|
|
1649
|
+
if (!(o instanceof Color)) o = color(o);
|
|
1650
|
+
if (!o) return new Rgb;
|
|
1651
|
+
o = o.rgb();
|
|
1652
|
+
return new Rgb(o.r, o.g, o.b, o.opacity);
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
function rgb(r, g, b, opacity) {
|
|
1656
|
+
return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
function Rgb(r, g, b, opacity) {
|
|
1660
|
+
this.r = +r;
|
|
1661
|
+
this.g = +g;
|
|
1662
|
+
this.b = +b;
|
|
1663
|
+
this.opacity = +opacity;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
define(Rgb, rgb, extend(Color, {
|
|
1667
|
+
brighter(k) {
|
|
1668
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
1669
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
1670
|
+
},
|
|
1671
|
+
darker(k) {
|
|
1672
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
1673
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
1674
|
+
},
|
|
1675
|
+
rgb() {
|
|
1676
|
+
return this;
|
|
1677
|
+
},
|
|
1678
|
+
clamp() {
|
|
1679
|
+
return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
|
|
1680
|
+
},
|
|
1681
|
+
displayable() {
|
|
1682
|
+
return (-0.5 <= this.r && this.r < 255.5)
|
|
1683
|
+
&& (-0.5 <= this.g && this.g < 255.5)
|
|
1684
|
+
&& (-0.5 <= this.b && this.b < 255.5)
|
|
1685
|
+
&& (0 <= this.opacity && this.opacity <= 1);
|
|
1686
|
+
},
|
|
1687
|
+
hex: rgb_formatHex, // Deprecated! Use color.formatHex.
|
|
1688
|
+
formatHex: rgb_formatHex,
|
|
1689
|
+
formatHex8: rgb_formatHex8,
|
|
1690
|
+
formatRgb: rgb_formatRgb,
|
|
1691
|
+
toString: rgb_formatRgb
|
|
1692
|
+
}));
|
|
1693
|
+
|
|
1694
|
+
function rgb_formatHex() {
|
|
1695
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
function rgb_formatHex8() {
|
|
1699
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
function rgb_formatRgb() {
|
|
1703
|
+
const a = clampa(this.opacity);
|
|
1704
|
+
return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
function clampa(opacity) {
|
|
1708
|
+
return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
function clampi(value) {
|
|
1712
|
+
return Math.max(0, Math.min(255, Math.round(value) || 0));
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
function hex(value) {
|
|
1716
|
+
value = clampi(value);
|
|
1717
|
+
return (value < 16 ? "0" : "") + value.toString(16);
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
function hsla(h, s, l, a) {
|
|
1721
|
+
if (a <= 0) h = s = l = NaN;
|
|
1722
|
+
else if (l <= 0 || l >= 1) h = s = NaN;
|
|
1723
|
+
else if (s <= 0) h = NaN;
|
|
1724
|
+
return new Hsl(h, s, l, a);
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
function hslConvert(o) {
|
|
1728
|
+
if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
|
|
1729
|
+
if (!(o instanceof Color)) o = color(o);
|
|
1730
|
+
if (!o) return new Hsl;
|
|
1731
|
+
if (o instanceof Hsl) return o;
|
|
1732
|
+
o = o.rgb();
|
|
1733
|
+
var r = o.r / 255,
|
|
1734
|
+
g = o.g / 255,
|
|
1735
|
+
b = o.b / 255,
|
|
1736
|
+
min = Math.min(r, g, b),
|
|
1737
|
+
max = Math.max(r, g, b),
|
|
1738
|
+
h = NaN,
|
|
1739
|
+
s = max - min,
|
|
1740
|
+
l = (max + min) / 2;
|
|
1741
|
+
if (s) {
|
|
1742
|
+
if (r === max) h = (g - b) / s + (g < b) * 6;
|
|
1743
|
+
else if (g === max) h = (b - r) / s + 2;
|
|
1744
|
+
else h = (r - g) / s + 4;
|
|
1745
|
+
s /= l < 0.5 ? max + min : 2 - max - min;
|
|
1746
|
+
h *= 60;
|
|
1747
|
+
} else {
|
|
1748
|
+
s = l > 0 && l < 1 ? 0 : h;
|
|
1749
|
+
}
|
|
1750
|
+
return new Hsl(h, s, l, o.opacity);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
function hsl(h, s, l, opacity) {
|
|
1754
|
+
return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
function Hsl(h, s, l, opacity) {
|
|
1758
|
+
this.h = +h;
|
|
1759
|
+
this.s = +s;
|
|
1760
|
+
this.l = +l;
|
|
1761
|
+
this.opacity = +opacity;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
define(Hsl, hsl, extend(Color, {
|
|
1765
|
+
brighter(k) {
|
|
1766
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
1767
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
1768
|
+
},
|
|
1769
|
+
darker(k) {
|
|
1770
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
1771
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
1772
|
+
},
|
|
1773
|
+
rgb() {
|
|
1774
|
+
var h = this.h % 360 + (this.h < 0) * 360,
|
|
1775
|
+
s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
|
|
1776
|
+
l = this.l,
|
|
1777
|
+
m2 = l + (l < 0.5 ? l : 1 - l) * s,
|
|
1778
|
+
m1 = 2 * l - m2;
|
|
1779
|
+
return new Rgb(
|
|
1780
|
+
hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
|
|
1781
|
+
hsl2rgb(h, m1, m2),
|
|
1782
|
+
hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
|
|
1783
|
+
this.opacity
|
|
1784
|
+
);
|
|
1785
|
+
},
|
|
1786
|
+
clamp() {
|
|
1787
|
+
return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
|
|
1788
|
+
},
|
|
1789
|
+
displayable() {
|
|
1790
|
+
return (0 <= this.s && this.s <= 1 || isNaN(this.s))
|
|
1791
|
+
&& (0 <= this.l && this.l <= 1)
|
|
1792
|
+
&& (0 <= this.opacity && this.opacity <= 1);
|
|
1793
|
+
},
|
|
1794
|
+
formatHsl() {
|
|
1795
|
+
const a = clampa(this.opacity);
|
|
1796
|
+
return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
|
|
1797
|
+
}
|
|
1798
|
+
}));
|
|
1799
|
+
|
|
1800
|
+
function clamph(value) {
|
|
1801
|
+
value = (value || 0) % 360;
|
|
1802
|
+
return value < 0 ? value + 360 : value;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
function clampt(value) {
|
|
1806
|
+
return Math.max(0, Math.min(1, value || 0));
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/* From FvD 13.37, CSS Color Module Level 3 */
|
|
1810
|
+
function hsl2rgb(h, m1, m2) {
|
|
1811
|
+
return (h < 60 ? m1 + (m2 - m1) * h / 60
|
|
1812
|
+
: h < 180 ? m2
|
|
1813
|
+
: h < 240 ? m1 + (m2 - m1) * (240 - h) / 60
|
|
1814
|
+
: m1) * 255;
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
const constant = x => () => x;
|
|
1818
|
+
|
|
1819
|
+
function linear$2(a, d) {
|
|
1820
|
+
return function(t) {
|
|
1821
|
+
return a + t * d;
|
|
1822
|
+
};
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
function exponential(a, b, y) {
|
|
1826
|
+
return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
|
|
1827
|
+
return Math.pow(a + t * b, y);
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
function gamma(y) {
|
|
1832
|
+
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
1833
|
+
return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
|
|
1834
|
+
};
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
function nogamma(a, b) {
|
|
1838
|
+
var d = b - a;
|
|
1839
|
+
return d ? linear$2(a, d) : constant(isNaN(a) ? b : a);
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
const interpolateRgb = (function rgbGamma(y) {
|
|
1843
|
+
var color = gamma(y);
|
|
1844
|
+
|
|
1845
|
+
function rgb$1(start, end) {
|
|
1846
|
+
var r = color((start = rgb(start)).r, (end = rgb(end)).r),
|
|
1847
|
+
g = color(start.g, end.g),
|
|
1848
|
+
b = color(start.b, end.b),
|
|
1849
|
+
opacity = nogamma(start.opacity, end.opacity);
|
|
1850
|
+
return function(t) {
|
|
1851
|
+
start.r = r(t);
|
|
1852
|
+
start.g = g(t);
|
|
1853
|
+
start.b = b(t);
|
|
1854
|
+
start.opacity = opacity(t);
|
|
1855
|
+
return start + "";
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
rgb$1.gamma = rgbGamma;
|
|
1860
|
+
|
|
1861
|
+
return rgb$1;
|
|
1862
|
+
})(1);
|
|
1863
|
+
|
|
1864
|
+
function numberArray(a, b) {
|
|
1865
|
+
if (!b) b = [];
|
|
1866
|
+
var n = a ? Math.min(b.length, a.length) : 0,
|
|
1867
|
+
c = b.slice(),
|
|
1868
|
+
i;
|
|
1869
|
+
return function(t) {
|
|
1870
|
+
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
|
|
1871
|
+
return c;
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
function isNumberArray(x) {
|
|
1876
|
+
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
function genericArray(a, b) {
|
|
1880
|
+
var nb = b ? b.length : 0,
|
|
1881
|
+
na = a ? Math.min(nb, a.length) : 0,
|
|
1882
|
+
x = new Array(na),
|
|
1883
|
+
c = new Array(nb),
|
|
1884
|
+
i;
|
|
1885
|
+
|
|
1886
|
+
for (i = 0; i < na; ++i) x[i] = interpolate$1(a[i], b[i]);
|
|
1887
|
+
for (; i < nb; ++i) c[i] = b[i];
|
|
1888
|
+
|
|
1889
|
+
return function(t) {
|
|
1890
|
+
for (i = 0; i < na; ++i) c[i] = x[i](t);
|
|
1891
|
+
return c;
|
|
1892
|
+
};
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
function date(a, b) {
|
|
1896
|
+
var d = new Date;
|
|
1897
|
+
return a = +a, b = +b, function(t) {
|
|
1898
|
+
return d.setTime(a * (1 - t) + b * t), d;
|
|
1899
|
+
};
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
function interpolateNumber(a, b) {
|
|
1903
|
+
return a = +a, b = +b, function(t) {
|
|
1904
|
+
return a * (1 - t) + b * t;
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
function object(a, b) {
|
|
1909
|
+
var i = {},
|
|
1910
|
+
c = {},
|
|
1911
|
+
k;
|
|
1912
|
+
|
|
1913
|
+
if (a === null || typeof a !== "object") a = {};
|
|
1914
|
+
if (b === null || typeof b !== "object") b = {};
|
|
1915
|
+
|
|
1916
|
+
for (k in b) {
|
|
1917
|
+
if (k in a) {
|
|
1918
|
+
i[k] = interpolate$1(a[k], b[k]);
|
|
1919
|
+
} else {
|
|
1920
|
+
c[k] = b[k];
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
return function(t) {
|
|
1925
|
+
for (k in i) c[k] = i[k](t);
|
|
1926
|
+
return c;
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
|
|
1931
|
+
reB = new RegExp(reA.source, "g");
|
|
1932
|
+
|
|
1933
|
+
function zero(b) {
|
|
1934
|
+
return function() {
|
|
1935
|
+
return b;
|
|
1936
|
+
};
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
function one(b) {
|
|
1940
|
+
return function(t) {
|
|
1941
|
+
return b(t) + "";
|
|
1942
|
+
};
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
function interpolateString(a, b) {
|
|
1946
|
+
var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b
|
|
1947
|
+
am, // current match in a
|
|
1948
|
+
bm, // current match in b
|
|
1949
|
+
bs, // string preceding current number in b, if any
|
|
1950
|
+
i = -1, // index in s
|
|
1951
|
+
s = [], // string constants and placeholders
|
|
1952
|
+
q = []; // number interpolators
|
|
1953
|
+
|
|
1954
|
+
// Coerce inputs to strings.
|
|
1955
|
+
a = a + "", b = b + "";
|
|
1956
|
+
|
|
1957
|
+
// Interpolate pairs of numbers in a & b.
|
|
1958
|
+
while ((am = reA.exec(a))
|
|
1959
|
+
&& (bm = reB.exec(b))) {
|
|
1960
|
+
if ((bs = bm.index) > bi) { // a string precedes the next number in b
|
|
1961
|
+
bs = b.slice(bi, bs);
|
|
1962
|
+
if (s[i]) s[i] += bs; // coalesce with previous string
|
|
1963
|
+
else s[++i] = bs;
|
|
1964
|
+
}
|
|
1965
|
+
if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match
|
|
1966
|
+
if (s[i]) s[i] += bm; // coalesce with previous string
|
|
1967
|
+
else s[++i] = bm;
|
|
1968
|
+
} else { // interpolate non-matching numbers
|
|
1969
|
+
s[++i] = null;
|
|
1970
|
+
q.push({i: i, x: interpolateNumber(am, bm)});
|
|
1971
|
+
}
|
|
1972
|
+
bi = reB.lastIndex;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
// Add remains of b.
|
|
1976
|
+
if (bi < b.length) {
|
|
1977
|
+
bs = b.slice(bi);
|
|
1978
|
+
if (s[i]) s[i] += bs; // coalesce with previous string
|
|
1979
|
+
else s[++i] = bs;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
// Special optimization for only a single match.
|
|
1983
|
+
// Otherwise, interpolate each of the numbers and rejoin the string.
|
|
1984
|
+
return s.length < 2 ? (q[0]
|
|
1985
|
+
? one(q[0].x)
|
|
1986
|
+
: zero(b))
|
|
1987
|
+
: (b = q.length, function(t) {
|
|
1988
|
+
for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
|
|
1989
|
+
return s.join("");
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
function interpolate$1(a, b) {
|
|
1994
|
+
var t = typeof b, c;
|
|
1995
|
+
return b == null || t === "boolean" ? constant(b)
|
|
1996
|
+
: (t === "number" ? interpolateNumber
|
|
1997
|
+
: t === "string" ? ((c = color(b)) ? (b = c, interpolateRgb) : interpolateString)
|
|
1998
|
+
: b instanceof color ? interpolateRgb
|
|
1999
|
+
: b instanceof Date ? date
|
|
2000
|
+
: isNumberArray(b) ? numberArray
|
|
2001
|
+
: Array.isArray(b) ? genericArray
|
|
2002
|
+
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
|
|
2003
|
+
: interpolateNumber)(a, b);
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
function interpolateRound(a, b) {
|
|
2007
|
+
return a = +a, b = +b, function(t) {
|
|
2008
|
+
return Math.round(a * (1 - t) + b * t);
|
|
2009
|
+
};
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
var degrees = 180 / Math.PI;
|
|
2013
|
+
|
|
2014
|
+
var identity$2 = {
|
|
2015
|
+
translateX: 0,
|
|
2016
|
+
translateY: 0,
|
|
2017
|
+
rotate: 0,
|
|
2018
|
+
skewX: 0,
|
|
2019
|
+
scaleX: 1,
|
|
2020
|
+
scaleY: 1
|
|
2021
|
+
};
|
|
2022
|
+
|
|
2023
|
+
function decompose(a, b, c, d, e, f) {
|
|
2024
|
+
var scaleX, scaleY, skewX;
|
|
2025
|
+
if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
|
|
2026
|
+
if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
|
|
2027
|
+
if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
|
|
2028
|
+
if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
|
|
2029
|
+
return {
|
|
2030
|
+
translateX: e,
|
|
2031
|
+
translateY: f,
|
|
2032
|
+
rotate: Math.atan2(b, a) * degrees,
|
|
2033
|
+
skewX: Math.atan(skewX) * degrees,
|
|
2034
|
+
scaleX: scaleX,
|
|
2035
|
+
scaleY: scaleY
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
var svgNode;
|
|
2040
|
+
|
|
2041
|
+
/* eslint-disable no-undef */
|
|
2042
|
+
function parseCss(value) {
|
|
2043
|
+
const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + "");
|
|
2044
|
+
return m.isIdentity ? identity$2 : decompose(m.a, m.b, m.c, m.d, m.e, m.f);
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
function parseSvg(value) {
|
|
2048
|
+
if (value == null) return identity$2;
|
|
2049
|
+
if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
|
|
2050
|
+
svgNode.setAttribute("transform", value);
|
|
2051
|
+
if (!(value = svgNode.transform.baseVal.consolidate())) return identity$2;
|
|
2052
|
+
value = value.matrix;
|
|
2053
|
+
return decompose(value.a, value.b, value.c, value.d, value.e, value.f);
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
function interpolateTransform(parse, pxComma, pxParen, degParen) {
|
|
2057
|
+
|
|
2058
|
+
function pop(s) {
|
|
2059
|
+
return s.length ? s.pop() + " " : "";
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
function translate(xa, ya, xb, yb, s, q) {
|
|
2063
|
+
if (xa !== xb || ya !== yb) {
|
|
2064
|
+
var i = s.push("translate(", null, pxComma, null, pxParen);
|
|
2065
|
+
q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});
|
|
2066
|
+
} else if (xb || yb) {
|
|
2067
|
+
s.push("translate(" + xb + pxComma + yb + pxParen);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
function rotate(a, b, s, q) {
|
|
2072
|
+
if (a !== b) {
|
|
2073
|
+
if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
|
|
2074
|
+
q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: interpolateNumber(a, b)});
|
|
2075
|
+
} else if (b) {
|
|
2076
|
+
s.push(pop(s) + "rotate(" + b + degParen);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
function skewX(a, b, s, q) {
|
|
2081
|
+
if (a !== b) {
|
|
2082
|
+
q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: interpolateNumber(a, b)});
|
|
2083
|
+
} else if (b) {
|
|
2084
|
+
s.push(pop(s) + "skewX(" + b + degParen);
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
function scale(xa, ya, xb, yb, s, q) {
|
|
2089
|
+
if (xa !== xb || ya !== yb) {
|
|
2090
|
+
var i = s.push(pop(s) + "scale(", null, ",", null, ")");
|
|
2091
|
+
q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});
|
|
2092
|
+
} else if (xb !== 1 || yb !== 1) {
|
|
2093
|
+
s.push(pop(s) + "scale(" + xb + "," + yb + ")");
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
return function(a, b) {
|
|
2098
|
+
var s = [], // string constants and placeholders
|
|
2099
|
+
q = []; // number interpolators
|
|
2100
|
+
a = parse(a), b = parse(b);
|
|
2101
|
+
translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
|
|
2102
|
+
rotate(a.rotate, b.rotate, s, q);
|
|
2103
|
+
skewX(a.skewX, b.skewX, s, q);
|
|
2104
|
+
scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
|
|
2105
|
+
a = b = null; // gc
|
|
2106
|
+
return function(t) {
|
|
2107
|
+
var i = -1, n = q.length, o;
|
|
2108
|
+
while (++i < n) s[(o = q[i]).i] = o.x(t);
|
|
2109
|
+
return s.join("");
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
var interpolateTransformCss = interpolateTransform(parseCss, "px, ", "px)", "deg)");
|
|
2115
|
+
var interpolateTransformSvg = interpolateTransform(parseSvg, ", ", ")", ")");
|
|
2116
|
+
|
|
2117
|
+
var frame = 0, // is an animation frame pending?
|
|
2118
|
+
timeout$1 = 0, // is a timeout pending?
|
|
2119
|
+
interval = 0, // are any timers active?
|
|
2120
|
+
pokeDelay = 1000, // how frequently we check for clock skew
|
|
2121
|
+
taskHead,
|
|
2122
|
+
taskTail,
|
|
2123
|
+
clockLast = 0,
|
|
2124
|
+
clockNow = 0,
|
|
2125
|
+
clockSkew = 0,
|
|
2126
|
+
clock = typeof performance === "object" && performance.now ? performance : Date,
|
|
2127
|
+
setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };
|
|
2128
|
+
|
|
2129
|
+
function now() {
|
|
2130
|
+
return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
function clearNow() {
|
|
2134
|
+
clockNow = 0;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
function Timer() {
|
|
2138
|
+
this._call =
|
|
2139
|
+
this._time =
|
|
2140
|
+
this._next = null;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
Timer.prototype = timer.prototype = {
|
|
2144
|
+
constructor: Timer,
|
|
2145
|
+
restart: function(callback, delay, time) {
|
|
2146
|
+
if (typeof callback !== "function") throw new TypeError("callback is not a function");
|
|
2147
|
+
time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);
|
|
2148
|
+
if (!this._next && taskTail !== this) {
|
|
2149
|
+
if (taskTail) taskTail._next = this;
|
|
2150
|
+
else taskHead = this;
|
|
2151
|
+
taskTail = this;
|
|
2152
|
+
}
|
|
2153
|
+
this._call = callback;
|
|
2154
|
+
this._time = time;
|
|
2155
|
+
sleep();
|
|
2156
|
+
},
|
|
2157
|
+
stop: function() {
|
|
2158
|
+
if (this._call) {
|
|
2159
|
+
this._call = null;
|
|
2160
|
+
this._time = Infinity;
|
|
2161
|
+
sleep();
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2166
|
+
function timer(callback, delay, time) {
|
|
2167
|
+
var t = new Timer;
|
|
2168
|
+
t.restart(callback, delay, time);
|
|
2169
|
+
return t;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
function timerFlush() {
|
|
2173
|
+
now(); // Get the current time, if not already set.
|
|
2174
|
+
++frame; // Pretend we’ve set an alarm, if we haven’t already.
|
|
2175
|
+
var t = taskHead, e;
|
|
2176
|
+
while (t) {
|
|
2177
|
+
if ((e = clockNow - t._time) >= 0) t._call.call(undefined, e);
|
|
2178
|
+
t = t._next;
|
|
2179
|
+
}
|
|
2180
|
+
--frame;
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
function wake() {
|
|
2184
|
+
clockNow = (clockLast = clock.now()) + clockSkew;
|
|
2185
|
+
frame = timeout$1 = 0;
|
|
2186
|
+
try {
|
|
2187
|
+
timerFlush();
|
|
2188
|
+
} finally {
|
|
2189
|
+
frame = 0;
|
|
2190
|
+
nap();
|
|
2191
|
+
clockNow = 0;
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
function poke() {
|
|
2196
|
+
var now = clock.now(), delay = now - clockLast;
|
|
2197
|
+
if (delay > pokeDelay) clockSkew -= delay, clockLast = now;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
function nap() {
|
|
2201
|
+
var t0, t1 = taskHead, t2, time = Infinity;
|
|
2202
|
+
while (t1) {
|
|
2203
|
+
if (t1._call) {
|
|
2204
|
+
if (time > t1._time) time = t1._time;
|
|
2205
|
+
t0 = t1, t1 = t1._next;
|
|
2206
|
+
} else {
|
|
2207
|
+
t2 = t1._next, t1._next = null;
|
|
2208
|
+
t1 = t0 ? t0._next = t2 : taskHead = t2;
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
taskTail = t0;
|
|
2212
|
+
sleep(time);
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
function sleep(time) {
|
|
2216
|
+
if (frame) return; // Soonest alarm already set, or will be.
|
|
2217
|
+
if (timeout$1) timeout$1 = clearTimeout(timeout$1);
|
|
2218
|
+
var delay = time - clockNow; // Strictly less than if we recomputed clockNow.
|
|
2219
|
+
if (delay > 24) {
|
|
2220
|
+
if (time < Infinity) timeout$1 = setTimeout(wake, time - clock.now() - clockSkew);
|
|
2221
|
+
if (interval) interval = clearInterval(interval);
|
|
2222
|
+
} else {
|
|
2223
|
+
if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);
|
|
2224
|
+
frame = 1, setFrame(wake);
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
function timeout(callback, delay, time) {
|
|
2229
|
+
var t = new Timer;
|
|
2230
|
+
delay = delay == null ? 0 : +delay;
|
|
2231
|
+
t.restart(elapsed => {
|
|
2232
|
+
t.stop();
|
|
2233
|
+
callback(elapsed + delay);
|
|
2234
|
+
}, delay, time);
|
|
2235
|
+
return t;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
var emptyOn = dispatch("start", "end", "cancel", "interrupt");
|
|
2239
|
+
var emptyTween = [];
|
|
2240
|
+
|
|
2241
|
+
var CREATED = 0;
|
|
2242
|
+
var SCHEDULED = 1;
|
|
2243
|
+
var STARTING = 2;
|
|
2244
|
+
var STARTED = 3;
|
|
2245
|
+
var RUNNING = 4;
|
|
2246
|
+
var ENDING = 5;
|
|
2247
|
+
var ENDED = 6;
|
|
2248
|
+
|
|
2249
|
+
function schedule(node, name, id, index, group, timing) {
|
|
2250
|
+
var schedules = node.__transition;
|
|
2251
|
+
if (!schedules) node.__transition = {};
|
|
2252
|
+
else if (id in schedules) return;
|
|
2253
|
+
create(node, id, {
|
|
2254
|
+
name: name,
|
|
2255
|
+
index: index, // For context during callback.
|
|
2256
|
+
group: group, // For context during callback.
|
|
2257
|
+
on: emptyOn,
|
|
2258
|
+
tween: emptyTween,
|
|
2259
|
+
time: timing.time,
|
|
2260
|
+
delay: timing.delay,
|
|
2261
|
+
duration: timing.duration,
|
|
2262
|
+
ease: timing.ease,
|
|
2263
|
+
timer: null,
|
|
2264
|
+
state: CREATED
|
|
2265
|
+
});
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
function init(node, id) {
|
|
2269
|
+
var schedule = get(node, id);
|
|
2270
|
+
if (schedule.state > CREATED) throw new Error("too late; already scheduled");
|
|
2271
|
+
return schedule;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
function set(node, id) {
|
|
2275
|
+
var schedule = get(node, id);
|
|
2276
|
+
if (schedule.state > STARTED) throw new Error("too late; already running");
|
|
2277
|
+
return schedule;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
function get(node, id) {
|
|
2281
|
+
var schedule = node.__transition;
|
|
2282
|
+
if (!schedule || !(schedule = schedule[id])) throw new Error("transition not found");
|
|
2283
|
+
return schedule;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
function create(node, id, self) {
|
|
2287
|
+
var schedules = node.__transition,
|
|
2288
|
+
tween;
|
|
2289
|
+
|
|
2290
|
+
// Initialize the self timer when the transition is created.
|
|
2291
|
+
// Note the actual delay is not known until the first callback!
|
|
2292
|
+
schedules[id] = self;
|
|
2293
|
+
self.timer = timer(schedule, 0, self.time);
|
|
2294
|
+
|
|
2295
|
+
function schedule(elapsed) {
|
|
2296
|
+
self.state = SCHEDULED;
|
|
2297
|
+
self.timer.restart(start, self.delay, self.time);
|
|
2298
|
+
|
|
2299
|
+
// If the elapsed delay is less than our first sleep, start immediately.
|
|
2300
|
+
if (self.delay <= elapsed) start(elapsed - self.delay);
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
function start(elapsed) {
|
|
2304
|
+
var i, j, n, o;
|
|
2305
|
+
|
|
2306
|
+
// If the state is not SCHEDULED, then we previously errored on start.
|
|
2307
|
+
if (self.state !== SCHEDULED) return stop();
|
|
2308
|
+
|
|
2309
|
+
for (i in schedules) {
|
|
2310
|
+
o = schedules[i];
|
|
2311
|
+
if (o.name !== self.name) continue;
|
|
2312
|
+
|
|
2313
|
+
// While this element already has a starting transition during this frame,
|
|
2314
|
+
// defer starting an interrupting transition until that transition has a
|
|
2315
|
+
// chance to tick (and possibly end); see d3/d3-transition#54!
|
|
2316
|
+
if (o.state === STARTED) return timeout(start);
|
|
2317
|
+
|
|
2318
|
+
// Interrupt the active transition, if any.
|
|
2319
|
+
if (o.state === RUNNING) {
|
|
2320
|
+
o.state = ENDED;
|
|
2321
|
+
o.timer.stop();
|
|
2322
|
+
o.on.call("interrupt", node, node.__data__, o.index, o.group);
|
|
2323
|
+
delete schedules[i];
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
// Cancel any pre-empted transitions.
|
|
2327
|
+
else if (+i < id) {
|
|
2328
|
+
o.state = ENDED;
|
|
2329
|
+
o.timer.stop();
|
|
2330
|
+
o.on.call("cancel", node, node.__data__, o.index, o.group);
|
|
2331
|
+
delete schedules[i];
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
// Defer the first tick to end of the current frame; see d3/d3#1576.
|
|
2336
|
+
// Note the transition may be canceled after start and before the first tick!
|
|
2337
|
+
// Note this must be scheduled before the start event; see d3/d3-transition#16!
|
|
2338
|
+
// Assuming this is successful, subsequent callbacks go straight to tick.
|
|
2339
|
+
timeout(function() {
|
|
2340
|
+
if (self.state === STARTED) {
|
|
2341
|
+
self.state = RUNNING;
|
|
2342
|
+
self.timer.restart(tick, self.delay, self.time);
|
|
2343
|
+
tick(elapsed);
|
|
2344
|
+
}
|
|
2345
|
+
});
|
|
2346
|
+
|
|
2347
|
+
// Dispatch the start event.
|
|
2348
|
+
// Note this must be done before the tween are initialized.
|
|
2349
|
+
self.state = STARTING;
|
|
2350
|
+
self.on.call("start", node, node.__data__, self.index, self.group);
|
|
2351
|
+
if (self.state !== STARTING) return; // interrupted
|
|
2352
|
+
self.state = STARTED;
|
|
2353
|
+
|
|
2354
|
+
// Initialize the tween, deleting null tween.
|
|
2355
|
+
tween = new Array(n = self.tween.length);
|
|
2356
|
+
for (i = 0, j = -1; i < n; ++i) {
|
|
2357
|
+
if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {
|
|
2358
|
+
tween[++j] = o;
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
tween.length = j + 1;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
function tick(elapsed) {
|
|
2365
|
+
var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),
|
|
2366
|
+
i = -1,
|
|
2367
|
+
n = tween.length;
|
|
2368
|
+
|
|
2369
|
+
while (++i < n) {
|
|
2370
|
+
tween[i].call(node, t);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
// Dispatch the end event.
|
|
2374
|
+
if (self.state === ENDING) {
|
|
2375
|
+
self.on.call("end", node, node.__data__, self.index, self.group);
|
|
2376
|
+
stop();
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
function stop() {
|
|
2381
|
+
self.state = ENDED;
|
|
2382
|
+
self.timer.stop();
|
|
2383
|
+
delete schedules[id];
|
|
2384
|
+
for (var i in schedules) return; // eslint-disable-line no-unused-vars
|
|
2385
|
+
delete node.__transition;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
function interrupt(node, name) {
|
|
2390
|
+
var schedules = node.__transition,
|
|
2391
|
+
schedule,
|
|
2392
|
+
active,
|
|
2393
|
+
empty = true,
|
|
2394
|
+
i;
|
|
2395
|
+
|
|
2396
|
+
if (!schedules) return;
|
|
2397
|
+
|
|
2398
|
+
name = name == null ? null : name + "";
|
|
2399
|
+
|
|
2400
|
+
for (i in schedules) {
|
|
2401
|
+
if ((schedule = schedules[i]).name !== name) { empty = false; continue; }
|
|
2402
|
+
active = schedule.state > STARTING && schedule.state < ENDING;
|
|
2403
|
+
schedule.state = ENDED;
|
|
2404
|
+
schedule.timer.stop();
|
|
2405
|
+
schedule.on.call(active ? "interrupt" : "cancel", node, node.__data__, schedule.index, schedule.group);
|
|
2406
|
+
delete schedules[i];
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
if (empty) delete node.__transition;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
function selection_interrupt(name) {
|
|
2413
|
+
return this.each(function() {
|
|
2414
|
+
interrupt(this, name);
|
|
2415
|
+
});
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
function tweenRemove(id, name) {
|
|
2419
|
+
var tween0, tween1;
|
|
2420
|
+
return function() {
|
|
2421
|
+
var schedule = set(this, id),
|
|
2422
|
+
tween = schedule.tween;
|
|
2423
|
+
|
|
2424
|
+
// If this node shared tween with the previous node,
|
|
2425
|
+
// just assign the updated shared tween and we’re done!
|
|
2426
|
+
// Otherwise, copy-on-write.
|
|
2427
|
+
if (tween !== tween0) {
|
|
2428
|
+
tween1 = tween0 = tween;
|
|
2429
|
+
for (var i = 0, n = tween1.length; i < n; ++i) {
|
|
2430
|
+
if (tween1[i].name === name) {
|
|
2431
|
+
tween1 = tween1.slice();
|
|
2432
|
+
tween1.splice(i, 1);
|
|
2433
|
+
break;
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
schedule.tween = tween1;
|
|
2439
|
+
};
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
function tweenFunction(id, name, value) {
|
|
2443
|
+
var tween0, tween1;
|
|
2444
|
+
if (typeof value !== "function") throw new Error;
|
|
2445
|
+
return function() {
|
|
2446
|
+
var schedule = set(this, id),
|
|
2447
|
+
tween = schedule.tween;
|
|
2448
|
+
|
|
2449
|
+
// If this node shared tween with the previous node,
|
|
2450
|
+
// just assign the updated shared tween and we’re done!
|
|
2451
|
+
// Otherwise, copy-on-write.
|
|
2452
|
+
if (tween !== tween0) {
|
|
2453
|
+
tween1 = (tween0 = tween).slice();
|
|
2454
|
+
for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {
|
|
2455
|
+
if (tween1[i].name === name) {
|
|
2456
|
+
tween1[i] = t;
|
|
2457
|
+
break;
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
if (i === n) tween1.push(t);
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
schedule.tween = tween1;
|
|
2464
|
+
};
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
function transition_tween(name, value) {
|
|
2468
|
+
var id = this._id;
|
|
2469
|
+
|
|
2470
|
+
name += "";
|
|
2471
|
+
|
|
2472
|
+
if (arguments.length < 2) {
|
|
2473
|
+
var tween = get(this.node(), id).tween;
|
|
2474
|
+
for (var i = 0, n = tween.length, t; i < n; ++i) {
|
|
2475
|
+
if ((t = tween[i]).name === name) {
|
|
2476
|
+
return t.value;
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
return null;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
function tweenValue(transition, name, value) {
|
|
2486
|
+
var id = transition._id;
|
|
2487
|
+
|
|
2488
|
+
transition.each(function() {
|
|
2489
|
+
var schedule = set(this, id);
|
|
2490
|
+
(schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);
|
|
2491
|
+
});
|
|
2492
|
+
|
|
2493
|
+
return function(node) {
|
|
2494
|
+
return get(node, id).value[name];
|
|
2495
|
+
};
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
function interpolate(a, b) {
|
|
2499
|
+
var c;
|
|
2500
|
+
return (typeof b === "number" ? interpolateNumber
|
|
2501
|
+
: b instanceof color ? interpolateRgb
|
|
2502
|
+
: (c = color(b)) ? (b = c, interpolateRgb)
|
|
2503
|
+
: interpolateString)(a, b);
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
function attrRemove(name) {
|
|
2507
|
+
return function() {
|
|
2508
|
+
this.removeAttribute(name);
|
|
2509
|
+
};
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
function attrRemoveNS(fullname) {
|
|
2513
|
+
return function() {
|
|
2514
|
+
this.removeAttributeNS(fullname.space, fullname.local);
|
|
2515
|
+
};
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
function attrConstant(name, interpolate, value1) {
|
|
2519
|
+
var string00,
|
|
2520
|
+
string1 = value1 + "",
|
|
2521
|
+
interpolate0;
|
|
2522
|
+
return function() {
|
|
2523
|
+
var string0 = this.getAttribute(name);
|
|
2524
|
+
return string0 === string1 ? null
|
|
2525
|
+
: string0 === string00 ? interpolate0
|
|
2526
|
+
: interpolate0 = interpolate(string00 = string0, value1);
|
|
2527
|
+
};
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
function attrConstantNS(fullname, interpolate, value1) {
|
|
2531
|
+
var string00,
|
|
2532
|
+
string1 = value1 + "",
|
|
2533
|
+
interpolate0;
|
|
2534
|
+
return function() {
|
|
2535
|
+
var string0 = this.getAttributeNS(fullname.space, fullname.local);
|
|
2536
|
+
return string0 === string1 ? null
|
|
2537
|
+
: string0 === string00 ? interpolate0
|
|
2538
|
+
: interpolate0 = interpolate(string00 = string0, value1);
|
|
2539
|
+
};
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
function attrFunction(name, interpolate, value) {
|
|
2543
|
+
var string00,
|
|
2544
|
+
string10,
|
|
2545
|
+
interpolate0;
|
|
2546
|
+
return function() {
|
|
2547
|
+
var string0, value1 = value(this), string1;
|
|
2548
|
+
if (value1 == null) return void this.removeAttribute(name);
|
|
2549
|
+
string0 = this.getAttribute(name);
|
|
2550
|
+
string1 = value1 + "";
|
|
2551
|
+
return string0 === string1 ? null
|
|
2552
|
+
: string0 === string00 && string1 === string10 ? interpolate0
|
|
2553
|
+
: (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
|
|
2554
|
+
};
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
function attrFunctionNS(fullname, interpolate, value) {
|
|
2558
|
+
var string00,
|
|
2559
|
+
string10,
|
|
2560
|
+
interpolate0;
|
|
2561
|
+
return function() {
|
|
2562
|
+
var string0, value1 = value(this), string1;
|
|
2563
|
+
if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);
|
|
2564
|
+
string0 = this.getAttributeNS(fullname.space, fullname.local);
|
|
2565
|
+
string1 = value1 + "";
|
|
2566
|
+
return string0 === string1 ? null
|
|
2567
|
+
: string0 === string00 && string1 === string10 ? interpolate0
|
|
2568
|
+
: (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
function transition_attr(name, value) {
|
|
2573
|
+
var fullname = namespace(name), i = fullname === "transform" ? interpolateTransformSvg : interpolate;
|
|
2574
|
+
return this.attrTween(name, typeof value === "function"
|
|
2575
|
+
? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, tweenValue(this, "attr." + name, value))
|
|
2576
|
+
: value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname)
|
|
2577
|
+
: (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
function attrInterpolate(name, i) {
|
|
2581
|
+
return function(t) {
|
|
2582
|
+
this.setAttribute(name, i.call(this, t));
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
function attrInterpolateNS(fullname, i) {
|
|
2587
|
+
return function(t) {
|
|
2588
|
+
this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
function attrTweenNS(fullname, value) {
|
|
2593
|
+
var t0, i0;
|
|
2594
|
+
function tween() {
|
|
2595
|
+
var i = value.apply(this, arguments);
|
|
2596
|
+
if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);
|
|
2597
|
+
return t0;
|
|
2598
|
+
}
|
|
2599
|
+
tween._value = value;
|
|
2600
|
+
return tween;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
function attrTween(name, value) {
|
|
2604
|
+
var t0, i0;
|
|
2605
|
+
function tween() {
|
|
2606
|
+
var i = value.apply(this, arguments);
|
|
2607
|
+
if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);
|
|
2608
|
+
return t0;
|
|
2609
|
+
}
|
|
2610
|
+
tween._value = value;
|
|
2611
|
+
return tween;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
function transition_attrTween(name, value) {
|
|
2615
|
+
var key = "attr." + name;
|
|
2616
|
+
if (arguments.length < 2) return (key = this.tween(key)) && key._value;
|
|
2617
|
+
if (value == null) return this.tween(key, null);
|
|
2618
|
+
if (typeof value !== "function") throw new Error;
|
|
2619
|
+
var fullname = namespace(name);
|
|
2620
|
+
return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
function delayFunction(id, value) {
|
|
2624
|
+
return function() {
|
|
2625
|
+
init(this, id).delay = +value.apply(this, arguments);
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
function delayConstant(id, value) {
|
|
2630
|
+
return value = +value, function() {
|
|
2631
|
+
init(this, id).delay = value;
|
|
2632
|
+
};
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
function transition_delay(value) {
|
|
2636
|
+
var id = this._id;
|
|
2637
|
+
|
|
2638
|
+
return arguments.length
|
|
2639
|
+
? this.each((typeof value === "function"
|
|
2640
|
+
? delayFunction
|
|
2641
|
+
: delayConstant)(id, value))
|
|
2642
|
+
: get(this.node(), id).delay;
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
function durationFunction(id, value) {
|
|
2646
|
+
return function() {
|
|
2647
|
+
set(this, id).duration = +value.apply(this, arguments);
|
|
2648
|
+
};
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
function durationConstant(id, value) {
|
|
2652
|
+
return value = +value, function() {
|
|
2653
|
+
set(this, id).duration = value;
|
|
2654
|
+
};
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
function transition_duration(value) {
|
|
2658
|
+
var id = this._id;
|
|
2659
|
+
|
|
2660
|
+
return arguments.length
|
|
2661
|
+
? this.each((typeof value === "function"
|
|
2662
|
+
? durationFunction
|
|
2663
|
+
: durationConstant)(id, value))
|
|
2664
|
+
: get(this.node(), id).duration;
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
function easeConstant(id, value) {
|
|
2668
|
+
if (typeof value !== "function") throw new Error;
|
|
2669
|
+
return function() {
|
|
2670
|
+
set(this, id).ease = value;
|
|
2671
|
+
};
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
function transition_ease(value) {
|
|
2675
|
+
var id = this._id;
|
|
2676
|
+
|
|
2677
|
+
return arguments.length
|
|
2678
|
+
? this.each(easeConstant(id, value))
|
|
2679
|
+
: get(this.node(), id).ease;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
function easeVarying(id, value) {
|
|
2683
|
+
return function() {
|
|
2684
|
+
var v = value.apply(this, arguments);
|
|
2685
|
+
if (typeof v !== "function") throw new Error;
|
|
2686
|
+
set(this, id).ease = v;
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
function transition_easeVarying(value) {
|
|
2691
|
+
if (typeof value !== "function") throw new Error;
|
|
2692
|
+
return this.each(easeVarying(this._id, value));
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
function transition_filter(match) {
|
|
2696
|
+
if (typeof match !== "function") match = matcher(match);
|
|
2697
|
+
|
|
2698
|
+
for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
|
|
2699
|
+
for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
|
|
2700
|
+
if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
|
|
2701
|
+
subgroup.push(node);
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
return new Transition(subgroups, this._parents, this._name, this._id);
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
function transition_merge(transition) {
|
|
2710
|
+
if (transition._id !== this._id) throw new Error;
|
|
2711
|
+
|
|
2712
|
+
for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
|
|
2713
|
+
for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
|
|
2714
|
+
if (node = group0[i] || group1[i]) {
|
|
2715
|
+
merge[i] = node;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
for (; j < m0; ++j) {
|
|
2721
|
+
merges[j] = groups0[j];
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
return new Transition(merges, this._parents, this._name, this._id);
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
function start(name) {
|
|
2728
|
+
return (name + "").trim().split(/^|\s+/).every(function(t) {
|
|
2729
|
+
var i = t.indexOf(".");
|
|
2730
|
+
if (i >= 0) t = t.slice(0, i);
|
|
2731
|
+
return !t || t === "start";
|
|
2732
|
+
});
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
function onFunction(id, name, listener) {
|
|
2736
|
+
var on0, on1, sit = start(name) ? init : set;
|
|
2737
|
+
return function() {
|
|
2738
|
+
var schedule = sit(this, id),
|
|
2739
|
+
on = schedule.on;
|
|
2740
|
+
|
|
2741
|
+
// If this node shared a dispatch with the previous node,
|
|
2742
|
+
// just assign the updated shared dispatch and we’re done!
|
|
2743
|
+
// Otherwise, copy-on-write.
|
|
2744
|
+
if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);
|
|
2745
|
+
|
|
2746
|
+
schedule.on = on1;
|
|
2747
|
+
};
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
function transition_on(name, listener) {
|
|
2751
|
+
var id = this._id;
|
|
2752
|
+
|
|
2753
|
+
return arguments.length < 2
|
|
2754
|
+
? get(this.node(), id).on.on(name)
|
|
2755
|
+
: this.each(onFunction(id, name, listener));
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
function removeFunction(id) {
|
|
2759
|
+
return function() {
|
|
2760
|
+
var parent = this.parentNode;
|
|
2761
|
+
for (var i in this.__transition) if (+i !== id) return;
|
|
2762
|
+
if (parent) parent.removeChild(this);
|
|
2763
|
+
};
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
function transition_remove() {
|
|
2767
|
+
return this.on("end.remove", removeFunction(this._id));
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
function transition_select(select) {
|
|
2771
|
+
var name = this._name,
|
|
2772
|
+
id = this._id;
|
|
2773
|
+
|
|
2774
|
+
if (typeof select !== "function") select = selector(select);
|
|
2775
|
+
|
|
2776
|
+
for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
|
|
2777
|
+
for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
|
|
2778
|
+
if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
|
|
2779
|
+
if ("__data__" in node) subnode.__data__ = node.__data__;
|
|
2780
|
+
subgroup[i] = subnode;
|
|
2781
|
+
schedule(subgroup[i], name, id, i, subgroup, get(node, id));
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
return new Transition(subgroups, this._parents, name, id);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
function transition_selectAll(select) {
|
|
2790
|
+
var name = this._name,
|
|
2791
|
+
id = this._id;
|
|
2792
|
+
|
|
2793
|
+
if (typeof select !== "function") select = selectorAll(select);
|
|
2794
|
+
|
|
2795
|
+
for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
|
|
2796
|
+
for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
|
|
2797
|
+
if (node = group[i]) {
|
|
2798
|
+
for (var children = select.call(node, node.__data__, i, group), child, inherit = get(node, id), k = 0, l = children.length; k < l; ++k) {
|
|
2799
|
+
if (child = children[k]) {
|
|
2800
|
+
schedule(child, name, id, k, children, inherit);
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
subgroups.push(children);
|
|
2804
|
+
parents.push(node);
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
return new Transition(subgroups, parents, name, id);
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
var Selection = selection.prototype.constructor;
|
|
2813
|
+
|
|
2814
|
+
function transition_selection() {
|
|
2815
|
+
return new Selection(this._groups, this._parents);
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
function styleNull(name, interpolate) {
|
|
2819
|
+
var string00,
|
|
2820
|
+
string10,
|
|
2821
|
+
interpolate0;
|
|
2822
|
+
return function() {
|
|
2823
|
+
var string0 = styleValue(this, name),
|
|
2824
|
+
string1 = (this.style.removeProperty(name), styleValue(this, name));
|
|
2825
|
+
return string0 === string1 ? null
|
|
2826
|
+
: string0 === string00 && string1 === string10 ? interpolate0
|
|
2827
|
+
: interpolate0 = interpolate(string00 = string0, string10 = string1);
|
|
2828
|
+
};
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
function styleRemove(name) {
|
|
2832
|
+
return function() {
|
|
2833
|
+
this.style.removeProperty(name);
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
function styleConstant(name, interpolate, value1) {
|
|
2838
|
+
var string00,
|
|
2839
|
+
string1 = value1 + "",
|
|
2840
|
+
interpolate0;
|
|
2841
|
+
return function() {
|
|
2842
|
+
var string0 = styleValue(this, name);
|
|
2843
|
+
return string0 === string1 ? null
|
|
2844
|
+
: string0 === string00 ? interpolate0
|
|
2845
|
+
: interpolate0 = interpolate(string00 = string0, value1);
|
|
2846
|
+
};
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
function styleFunction(name, interpolate, value) {
|
|
2850
|
+
var string00,
|
|
2851
|
+
string10,
|
|
2852
|
+
interpolate0;
|
|
2853
|
+
return function() {
|
|
2854
|
+
var string0 = styleValue(this, name),
|
|
2855
|
+
value1 = value(this),
|
|
2856
|
+
string1 = value1 + "";
|
|
2857
|
+
if (value1 == null) string1 = value1 = (this.style.removeProperty(name), styleValue(this, name));
|
|
2858
|
+
return string0 === string1 ? null
|
|
2859
|
+
: string0 === string00 && string1 === string10 ? interpolate0
|
|
2860
|
+
: (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
|
|
2861
|
+
};
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
function styleMaybeRemove(id, name) {
|
|
2865
|
+
var on0, on1, listener0, key = "style." + name, event = "end." + key, remove;
|
|
2866
|
+
return function() {
|
|
2867
|
+
var schedule = set(this, id),
|
|
2868
|
+
on = schedule.on,
|
|
2869
|
+
listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined;
|
|
2870
|
+
|
|
2871
|
+
// If this node shared a dispatch with the previous node,
|
|
2872
|
+
// just assign the updated shared dispatch and we’re done!
|
|
2873
|
+
// Otherwise, copy-on-write.
|
|
2874
|
+
if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);
|
|
2875
|
+
|
|
2876
|
+
schedule.on = on1;
|
|
2877
|
+
};
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
function transition_style(name, value, priority) {
|
|
2881
|
+
var i = (name += "") === "transform" ? interpolateTransformCss : interpolate;
|
|
2882
|
+
return value == null ? this
|
|
2883
|
+
.styleTween(name, styleNull(name, i))
|
|
2884
|
+
.on("end.style." + name, styleRemove(name))
|
|
2885
|
+
: typeof value === "function" ? this
|
|
2886
|
+
.styleTween(name, styleFunction(name, i, tweenValue(this, "style." + name, value)))
|
|
2887
|
+
.each(styleMaybeRemove(this._id, name))
|
|
2888
|
+
: this
|
|
2889
|
+
.styleTween(name, styleConstant(name, i, value), priority)
|
|
2890
|
+
.on("end.style." + name, null);
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
function styleInterpolate(name, i, priority) {
|
|
2894
|
+
return function(t) {
|
|
2895
|
+
this.style.setProperty(name, i.call(this, t), priority);
|
|
2896
|
+
};
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
function styleTween(name, value, priority) {
|
|
2900
|
+
var t, i0;
|
|
2901
|
+
function tween() {
|
|
2902
|
+
var i = value.apply(this, arguments);
|
|
2903
|
+
if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);
|
|
2904
|
+
return t;
|
|
2905
|
+
}
|
|
2906
|
+
tween._value = value;
|
|
2907
|
+
return tween;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
function transition_styleTween(name, value, priority) {
|
|
2911
|
+
var key = "style." + (name += "");
|
|
2912
|
+
if (arguments.length < 2) return (key = this.tween(key)) && key._value;
|
|
2913
|
+
if (value == null) return this.tween(key, null);
|
|
2914
|
+
if (typeof value !== "function") throw new Error;
|
|
2915
|
+
return this.tween(key, styleTween(name, value, priority == null ? "" : priority));
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
function textConstant(value) {
|
|
2919
|
+
return function() {
|
|
2920
|
+
this.textContent = value;
|
|
2921
|
+
};
|
|
2922
|
+
}
|
|
2923
|
+
|
|
2924
|
+
function textFunction(value) {
|
|
2925
|
+
return function() {
|
|
2926
|
+
var value1 = value(this);
|
|
2927
|
+
this.textContent = value1 == null ? "" : value1;
|
|
2928
|
+
};
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
function transition_text(value) {
|
|
2932
|
+
return this.tween("text", typeof value === "function"
|
|
2933
|
+
? textFunction(tweenValue(this, "text", value))
|
|
2934
|
+
: textConstant(value == null ? "" : value + ""));
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
function textInterpolate(i) {
|
|
2938
|
+
return function(t) {
|
|
2939
|
+
this.textContent = i.call(this, t);
|
|
2940
|
+
};
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
function textTween(value) {
|
|
2944
|
+
var t0, i0;
|
|
2945
|
+
function tween() {
|
|
2946
|
+
var i = value.apply(this, arguments);
|
|
2947
|
+
if (i !== i0) t0 = (i0 = i) && textInterpolate(i);
|
|
2948
|
+
return t0;
|
|
2949
|
+
}
|
|
2950
|
+
tween._value = value;
|
|
2951
|
+
return tween;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
function transition_textTween(value) {
|
|
2955
|
+
var key = "text";
|
|
2956
|
+
if (arguments.length < 1) return (key = this.tween(key)) && key._value;
|
|
2957
|
+
if (value == null) return this.tween(key, null);
|
|
2958
|
+
if (typeof value !== "function") throw new Error;
|
|
2959
|
+
return this.tween(key, textTween(value));
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
function transition_transition() {
|
|
2963
|
+
var name = this._name,
|
|
2964
|
+
id0 = this._id,
|
|
2965
|
+
id1 = newId();
|
|
2966
|
+
|
|
2967
|
+
for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
|
|
2968
|
+
for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
|
|
2969
|
+
if (node = group[i]) {
|
|
2970
|
+
var inherit = get(node, id0);
|
|
2971
|
+
schedule(node, name, id1, i, group, {
|
|
2972
|
+
time: inherit.time + inherit.delay + inherit.duration,
|
|
2973
|
+
delay: 0,
|
|
2974
|
+
duration: inherit.duration,
|
|
2975
|
+
ease: inherit.ease
|
|
2976
|
+
});
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
return new Transition(groups, this._parents, name, id1);
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
function transition_end() {
|
|
2985
|
+
var on0, on1, that = this, id = that._id, size = that.size();
|
|
2986
|
+
return new Promise(function(resolve, reject) {
|
|
2987
|
+
var cancel = {value: reject},
|
|
2988
|
+
end = {value: function() { if (--size === 0) resolve(); }};
|
|
2989
|
+
|
|
2990
|
+
that.each(function() {
|
|
2991
|
+
var schedule = set(this, id),
|
|
2992
|
+
on = schedule.on;
|
|
2993
|
+
|
|
2994
|
+
// If this node shared a dispatch with the previous node,
|
|
2995
|
+
// just assign the updated shared dispatch and we’re done!
|
|
2996
|
+
// Otherwise, copy-on-write.
|
|
2997
|
+
if (on !== on0) {
|
|
2998
|
+
on1 = (on0 = on).copy();
|
|
2999
|
+
on1._.cancel.push(cancel);
|
|
3000
|
+
on1._.interrupt.push(cancel);
|
|
3001
|
+
on1._.end.push(end);
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
schedule.on = on1;
|
|
3005
|
+
});
|
|
3006
|
+
|
|
3007
|
+
// The selection was empty, resolve end immediately
|
|
3008
|
+
if (size === 0) resolve();
|
|
3009
|
+
});
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
var id = 0;
|
|
3013
|
+
|
|
3014
|
+
function Transition(groups, parents, name, id) {
|
|
3015
|
+
this._groups = groups;
|
|
3016
|
+
this._parents = parents;
|
|
3017
|
+
this._name = name;
|
|
3018
|
+
this._id = id;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
function newId() {
|
|
3022
|
+
return ++id;
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
var selection_prototype = selection.prototype;
|
|
3026
|
+
|
|
3027
|
+
Transition.prototype = {
|
|
3028
|
+
constructor: Transition,
|
|
3029
|
+
select: transition_select,
|
|
3030
|
+
selectAll: transition_selectAll,
|
|
3031
|
+
selectChild: selection_prototype.selectChild,
|
|
3032
|
+
selectChildren: selection_prototype.selectChildren,
|
|
3033
|
+
filter: transition_filter,
|
|
3034
|
+
merge: transition_merge,
|
|
3035
|
+
selection: transition_selection,
|
|
3036
|
+
transition: transition_transition,
|
|
3037
|
+
call: selection_prototype.call,
|
|
3038
|
+
nodes: selection_prototype.nodes,
|
|
3039
|
+
node: selection_prototype.node,
|
|
3040
|
+
size: selection_prototype.size,
|
|
3041
|
+
empty: selection_prototype.empty,
|
|
3042
|
+
each: selection_prototype.each,
|
|
3043
|
+
on: transition_on,
|
|
3044
|
+
attr: transition_attr,
|
|
3045
|
+
attrTween: transition_attrTween,
|
|
3046
|
+
style: transition_style,
|
|
3047
|
+
styleTween: transition_styleTween,
|
|
3048
|
+
text: transition_text,
|
|
3049
|
+
textTween: transition_textTween,
|
|
3050
|
+
remove: transition_remove,
|
|
3051
|
+
tween: transition_tween,
|
|
3052
|
+
delay: transition_delay,
|
|
3053
|
+
duration: transition_duration,
|
|
3054
|
+
ease: transition_ease,
|
|
3055
|
+
easeVarying: transition_easeVarying,
|
|
3056
|
+
end: transition_end,
|
|
3057
|
+
[Symbol.iterator]: selection_prototype[Symbol.iterator]
|
|
3058
|
+
};
|
|
3059
|
+
|
|
3060
|
+
const linear$1 = t => +t;
|
|
3061
|
+
|
|
3062
|
+
function cubicInOut(t) {
|
|
3063
|
+
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
var exponent$1 = 3;
|
|
3067
|
+
|
|
3068
|
+
var polyInOut = (function custom(e) {
|
|
3069
|
+
e = +e;
|
|
3070
|
+
|
|
3071
|
+
function polyInOut(t) {
|
|
3072
|
+
return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
polyInOut.exponent = custom;
|
|
3076
|
+
|
|
3077
|
+
return polyInOut;
|
|
3078
|
+
})(exponent$1);
|
|
3079
|
+
|
|
3080
|
+
var defaultTiming = {
|
|
3081
|
+
time: null, // Set on use.
|
|
3082
|
+
delay: 0,
|
|
3083
|
+
duration: 250,
|
|
3084
|
+
ease: cubicInOut
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
function inherit(node, id) {
|
|
3088
|
+
var timing;
|
|
3089
|
+
while (!(timing = node.__transition) || !(timing = timing[id])) {
|
|
3090
|
+
if (!(node = node.parentNode)) {
|
|
3091
|
+
throw new Error(`transition ${id} not found`);
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
return timing;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
function selection_transition(name) {
|
|
3098
|
+
var id,
|
|
3099
|
+
timing;
|
|
3100
|
+
|
|
3101
|
+
if (name instanceof Transition) {
|
|
3102
|
+
id = name._id, name = name._name;
|
|
3103
|
+
} else {
|
|
3104
|
+
id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + "";
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
|
|
3108
|
+
for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
|
|
3109
|
+
if (node = group[i]) {
|
|
3110
|
+
schedule(node, name, id, i, group, timing || inherit(node, id));
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
return new Transition(groups, this._parents, name, id);
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
selection.prototype.interrupt = selection_interrupt;
|
|
3119
|
+
selection.prototype.transition = selection_transition;
|
|
3120
|
+
|
|
3121
|
+
function formatDecimal(x) {
|
|
3122
|
+
return Math.abs(x = Math.round(x)) >= 1e21
|
|
3123
|
+
? x.toLocaleString("en").replace(/,/g, "")
|
|
3124
|
+
: x.toString(10);
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
// Computes the decimal coefficient and exponent of the specified number x with
|
|
3128
|
+
// significant digits p, where x is positive and p is in [1, 21] or undefined.
|
|
3129
|
+
// For example, formatDecimalParts(1.23) returns ["123", 0].
|
|
3130
|
+
function formatDecimalParts(x, p) {
|
|
3131
|
+
if (!isFinite(x) || x === 0) return null; // NaN, ±Infinity, ±0
|
|
3132
|
+
var i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e"), coefficient = x.slice(0, i);
|
|
3133
|
+
|
|
3134
|
+
// The string returned by toExponential either has the form \d\.\d+e[-+]\d+
|
|
3135
|
+
// (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).
|
|
3136
|
+
return [
|
|
3137
|
+
coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,
|
|
3138
|
+
+x.slice(i + 1)
|
|
3139
|
+
];
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
function exponent(x) {
|
|
3143
|
+
return x = formatDecimalParts(Math.abs(x)), x ? x[1] : NaN;
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
function formatGroup(grouping, thousands) {
|
|
3147
|
+
return function(value, width) {
|
|
3148
|
+
var i = value.length,
|
|
3149
|
+
t = [],
|
|
3150
|
+
j = 0,
|
|
3151
|
+
g = grouping[0],
|
|
3152
|
+
length = 0;
|
|
3153
|
+
|
|
3154
|
+
while (i > 0 && g > 0) {
|
|
3155
|
+
if (length + g + 1 > width) g = Math.max(1, width - length);
|
|
3156
|
+
t.push(value.substring(i -= g, i + g));
|
|
3157
|
+
if ((length += g + 1) > width) break;
|
|
3158
|
+
g = grouping[j = (j + 1) % grouping.length];
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
return t.reverse().join(thousands);
|
|
3162
|
+
};
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
function formatNumerals(numerals) {
|
|
3166
|
+
return function(value) {
|
|
3167
|
+
return value.replace(/[0-9]/g, function(i) {
|
|
3168
|
+
return numerals[+i];
|
|
3169
|
+
});
|
|
3170
|
+
};
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
// [[fill]align][sign][symbol][0][width][,][.precision][~][type]
|
|
3174
|
+
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
3175
|
+
|
|
3176
|
+
function formatSpecifier(specifier) {
|
|
3177
|
+
if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
|
|
3178
|
+
var match;
|
|
3179
|
+
return new FormatSpecifier({
|
|
3180
|
+
fill: match[1],
|
|
3181
|
+
align: match[2],
|
|
3182
|
+
sign: match[3],
|
|
3183
|
+
symbol: match[4],
|
|
3184
|
+
zero: match[5],
|
|
3185
|
+
width: match[6],
|
|
3186
|
+
comma: match[7],
|
|
3187
|
+
precision: match[8] && match[8].slice(1),
|
|
3188
|
+
trim: match[9],
|
|
3189
|
+
type: match[10]
|
|
3190
|
+
});
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof
|
|
3194
|
+
|
|
3195
|
+
function FormatSpecifier(specifier) {
|
|
3196
|
+
this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
|
|
3197
|
+
this.align = specifier.align === undefined ? ">" : specifier.align + "";
|
|
3198
|
+
this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
|
|
3199
|
+
this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
|
|
3200
|
+
this.zero = !!specifier.zero;
|
|
3201
|
+
this.width = specifier.width === undefined ? undefined : +specifier.width;
|
|
3202
|
+
this.comma = !!specifier.comma;
|
|
3203
|
+
this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
|
|
3204
|
+
this.trim = !!specifier.trim;
|
|
3205
|
+
this.type = specifier.type === undefined ? "" : specifier.type + "";
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
FormatSpecifier.prototype.toString = function() {
|
|
3209
|
+
return this.fill
|
|
3210
|
+
+ this.align
|
|
3211
|
+
+ this.sign
|
|
3212
|
+
+ this.symbol
|
|
3213
|
+
+ (this.zero ? "0" : "")
|
|
3214
|
+
+ (this.width === undefined ? "" : Math.max(1, this.width | 0))
|
|
3215
|
+
+ (this.comma ? "," : "")
|
|
3216
|
+
+ (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0))
|
|
3217
|
+
+ (this.trim ? "~" : "")
|
|
3218
|
+
+ this.type;
|
|
3219
|
+
};
|
|
3220
|
+
|
|
3221
|
+
// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.
|
|
3222
|
+
function formatTrim(s) {
|
|
3223
|
+
out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
|
|
3224
|
+
switch (s[i]) {
|
|
3225
|
+
case ".": i0 = i1 = i; break;
|
|
3226
|
+
case "0": if (i0 === 0) i0 = i; i1 = i; break;
|
|
3227
|
+
default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break;
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
var prefixExponent;
|
|
3234
|
+
|
|
3235
|
+
function formatPrefixAuto(x, p) {
|
|
3236
|
+
var d = formatDecimalParts(x, p);
|
|
3237
|
+
if (!d) return prefixExponent = undefined, x.toPrecision(p);
|
|
3238
|
+
var coefficient = d[0],
|
|
3239
|
+
exponent = d[1],
|
|
3240
|
+
i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
|
|
3241
|
+
n = coefficient.length;
|
|
3242
|
+
return i === n ? coefficient
|
|
3243
|
+
: i > n ? coefficient + new Array(i - n + 1).join("0")
|
|
3244
|
+
: i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i)
|
|
3245
|
+
: "0." + new Array(1 - i).join("0") + formatDecimalParts(x, Math.max(0, p + i - 1))[0]; // less than 1y!
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
function formatRounded(x, p) {
|
|
3249
|
+
var d = formatDecimalParts(x, p);
|
|
3250
|
+
if (!d) return x + "";
|
|
3251
|
+
var coefficient = d[0],
|
|
3252
|
+
exponent = d[1];
|
|
3253
|
+
return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient
|
|
3254
|
+
: coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1)
|
|
3255
|
+
: coefficient + new Array(exponent - coefficient.length + 2).join("0");
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
const formatTypes = {
|
|
3259
|
+
"%": (x, p) => (x * 100).toFixed(p),
|
|
3260
|
+
"b": (x) => Math.round(x).toString(2),
|
|
3261
|
+
"c": (x) => x + "",
|
|
3262
|
+
"d": formatDecimal,
|
|
3263
|
+
"e": (x, p) => x.toExponential(p),
|
|
3264
|
+
"f": (x, p) => x.toFixed(p),
|
|
3265
|
+
"g": (x, p) => x.toPrecision(p),
|
|
3266
|
+
"o": (x) => Math.round(x).toString(8),
|
|
3267
|
+
"p": (x, p) => formatRounded(x * 100, p),
|
|
3268
|
+
"r": formatRounded,
|
|
3269
|
+
"s": formatPrefixAuto,
|
|
3270
|
+
"X": (x) => Math.round(x).toString(16).toUpperCase(),
|
|
3271
|
+
"x": (x) => Math.round(x).toString(16)
|
|
3272
|
+
};
|
|
3273
|
+
|
|
3274
|
+
function identity$1(x) {
|
|
3275
|
+
return x;
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
var map = Array.prototype.map,
|
|
3279
|
+
prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
|
|
3280
|
+
|
|
3281
|
+
function formatLocale(locale) {
|
|
3282
|
+
var group = locale.grouping === undefined || locale.thousands === undefined ? identity$1 : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
|
|
3283
|
+
currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
|
|
3284
|
+
currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
|
|
3285
|
+
decimal = locale.decimal === undefined ? "." : locale.decimal + "",
|
|
3286
|
+
numerals = locale.numerals === undefined ? identity$1 : formatNumerals(map.call(locale.numerals, String)),
|
|
3287
|
+
percent = locale.percent === undefined ? "%" : locale.percent + "",
|
|
3288
|
+
minus = locale.minus === undefined ? "−" : locale.minus + "",
|
|
3289
|
+
nan = locale.nan === undefined ? "NaN" : locale.nan + "";
|
|
3290
|
+
|
|
3291
|
+
function newFormat(specifier, options) {
|
|
3292
|
+
specifier = formatSpecifier(specifier);
|
|
3293
|
+
|
|
3294
|
+
var fill = specifier.fill,
|
|
3295
|
+
align = specifier.align,
|
|
3296
|
+
sign = specifier.sign,
|
|
3297
|
+
symbol = specifier.symbol,
|
|
3298
|
+
zero = specifier.zero,
|
|
3299
|
+
width = specifier.width,
|
|
3300
|
+
comma = specifier.comma,
|
|
3301
|
+
precision = specifier.precision,
|
|
3302
|
+
trim = specifier.trim,
|
|
3303
|
+
type = specifier.type;
|
|
3304
|
+
|
|
3305
|
+
// The "n" type is an alias for ",g".
|
|
3306
|
+
if (type === "n") comma = true, type = "g";
|
|
3307
|
+
|
|
3308
|
+
// The "" type, and any invalid type, is an alias for ".12~g".
|
|
3309
|
+
else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = "g";
|
|
3310
|
+
|
|
3311
|
+
// If zero fill is specified, padding goes after sign and before digits.
|
|
3312
|
+
if (zero || (fill === "0" && align === "=")) zero = true, fill = "0", align = "=";
|
|
3313
|
+
|
|
3314
|
+
// Compute the prefix and suffix.
|
|
3315
|
+
// For SI-prefix, the suffix is lazily computed.
|
|
3316
|
+
var prefix = (options && options.prefix !== undefined ? options.prefix : "") + (symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : ""),
|
|
3317
|
+
suffix = (symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : "") + (options && options.suffix !== undefined ? options.suffix : "");
|
|
3318
|
+
|
|
3319
|
+
// What format function should we use?
|
|
3320
|
+
// Is this an integer type?
|
|
3321
|
+
// Can this type generate exponential notation?
|
|
3322
|
+
var formatType = formatTypes[type],
|
|
3323
|
+
maybeSuffix = /[defgprs%]/.test(type);
|
|
3324
|
+
|
|
3325
|
+
// Set the default precision if not specified,
|
|
3326
|
+
// or clamp the specified precision to the supported range.
|
|
3327
|
+
// For significant precision, it must be in [1, 21].
|
|
3328
|
+
// For fixed precision, it must be in [0, 20].
|
|
3329
|
+
precision = precision === undefined ? 6
|
|
3330
|
+
: /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))
|
|
3331
|
+
: Math.max(0, Math.min(20, precision));
|
|
3332
|
+
|
|
3333
|
+
function format(value) {
|
|
3334
|
+
var valuePrefix = prefix,
|
|
3335
|
+
valueSuffix = suffix,
|
|
3336
|
+
i, n, c;
|
|
3337
|
+
|
|
3338
|
+
if (type === "c") {
|
|
3339
|
+
valueSuffix = formatType(value) + valueSuffix;
|
|
3340
|
+
value = "";
|
|
3341
|
+
} else {
|
|
3342
|
+
value = +value;
|
|
3343
|
+
|
|
3344
|
+
// Determine the sign. -0 is not less than 0, but 1 / -0 is!
|
|
3345
|
+
var valueNegative = value < 0 || 1 / value < 0;
|
|
3346
|
+
|
|
3347
|
+
// Perform the initial formatting.
|
|
3348
|
+
value = isNaN(value) ? nan : formatType(Math.abs(value), precision);
|
|
3349
|
+
|
|
3350
|
+
// Trim insignificant zeros.
|
|
3351
|
+
if (trim) value = formatTrim(value);
|
|
3352
|
+
|
|
3353
|
+
// If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.
|
|
3354
|
+
if (valueNegative && +value === 0 && sign !== "+") valueNegative = false;
|
|
3355
|
+
|
|
3356
|
+
// Compute the prefix and suffix.
|
|
3357
|
+
valuePrefix = (valueNegative ? (sign === "(" ? sign : minus) : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
|
|
3358
|
+
valueSuffix = (type === "s" && !isNaN(value) && prefixExponent !== undefined ? prefixes[8 + prefixExponent / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : "");
|
|
3359
|
+
|
|
3360
|
+
// Break the formatted value into the integer “value” part that can be
|
|
3361
|
+
// grouped, and fractional or exponential “suffix” part that is not.
|
|
3362
|
+
if (maybeSuffix) {
|
|
3363
|
+
i = -1, n = value.length;
|
|
3364
|
+
while (++i < n) {
|
|
3365
|
+
if (c = value.charCodeAt(i), 48 > c || c > 57) {
|
|
3366
|
+
valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
|
|
3367
|
+
value = value.slice(0, i);
|
|
3368
|
+
break;
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
// If the fill character is not "0", grouping is applied before padding.
|
|
3375
|
+
if (comma && !zero) value = group(value, Infinity);
|
|
3376
|
+
|
|
3377
|
+
// Compute the padding.
|
|
3378
|
+
var length = valuePrefix.length + value.length + valueSuffix.length,
|
|
3379
|
+
padding = length < width ? new Array(width - length + 1).join(fill) : "";
|
|
3380
|
+
|
|
3381
|
+
// If the fill character is "0", grouping is applied after padding.
|
|
3382
|
+
if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = "";
|
|
3383
|
+
|
|
3384
|
+
// Reconstruct the final output based on the desired alignment.
|
|
3385
|
+
switch (align) {
|
|
3386
|
+
case "<": value = valuePrefix + value + valueSuffix + padding; break;
|
|
3387
|
+
case "=": value = valuePrefix + padding + value + valueSuffix; break;
|
|
3388
|
+
case "^": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;
|
|
3389
|
+
default: value = padding + valuePrefix + value + valueSuffix; break;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
return numerals(value);
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
format.toString = function() {
|
|
3396
|
+
return specifier + "";
|
|
3397
|
+
};
|
|
3398
|
+
|
|
3399
|
+
return format;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
function formatPrefix(specifier, value) {
|
|
3403
|
+
var e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,
|
|
3404
|
+
k = Math.pow(10, -e),
|
|
3405
|
+
f = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier), {suffix: prefixes[8 + e / 3]});
|
|
3406
|
+
return function(value) {
|
|
3407
|
+
return f(k * value);
|
|
3408
|
+
};
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
return {
|
|
3412
|
+
format: newFormat,
|
|
3413
|
+
formatPrefix: formatPrefix
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
var locale;
|
|
3418
|
+
var format;
|
|
3419
|
+
var formatPrefix;
|
|
3420
|
+
|
|
3421
|
+
defaultLocale({
|
|
3422
|
+
thousands: ",",
|
|
3423
|
+
grouping: [3],
|
|
3424
|
+
currency: ["$", ""]
|
|
3425
|
+
});
|
|
3426
|
+
|
|
3427
|
+
function defaultLocale(definition) {
|
|
3428
|
+
locale = formatLocale(definition);
|
|
3429
|
+
format = locale.format;
|
|
3430
|
+
formatPrefix = locale.formatPrefix;
|
|
3431
|
+
return locale;
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
function precisionFixed(step) {
|
|
3435
|
+
return Math.max(0, -exponent(Math.abs(step)));
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
function precisionPrefix(step, value) {
|
|
3439
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
function precisionRound(step, max) {
|
|
3443
|
+
step = Math.abs(step), max = Math.abs(max) - step;
|
|
3444
|
+
return Math.max(0, exponent(max) - exponent(step)) + 1;
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
function initRange(domain, range) {
|
|
3448
|
+
switch (arguments.length) {
|
|
3449
|
+
case 0: break;
|
|
3450
|
+
case 1: this.range(domain); break;
|
|
3451
|
+
default: this.range(range).domain(domain); break;
|
|
3452
|
+
}
|
|
3453
|
+
return this;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
const implicit = Symbol("implicit");
|
|
3457
|
+
|
|
3458
|
+
function ordinal() {
|
|
3459
|
+
var index = new InternMap(),
|
|
3460
|
+
domain = [],
|
|
3461
|
+
range = [],
|
|
3462
|
+
unknown = implicit;
|
|
3463
|
+
|
|
3464
|
+
function scale(d) {
|
|
3465
|
+
let i = index.get(d);
|
|
3466
|
+
if (i === undefined) {
|
|
3467
|
+
if (unknown !== implicit) return unknown;
|
|
3468
|
+
index.set(d, i = domain.push(d) - 1);
|
|
3469
|
+
}
|
|
3470
|
+
return range[i % range.length];
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
scale.domain = function(_) {
|
|
3474
|
+
if (!arguments.length) return domain.slice();
|
|
3475
|
+
domain = [], index = new InternMap();
|
|
3476
|
+
for (const value of _) {
|
|
3477
|
+
if (index.has(value)) continue;
|
|
3478
|
+
index.set(value, domain.push(value) - 1);
|
|
3479
|
+
}
|
|
3480
|
+
return scale;
|
|
3481
|
+
};
|
|
3482
|
+
|
|
3483
|
+
scale.range = function(_) {
|
|
3484
|
+
return arguments.length ? (range = Array.from(_), scale) : range.slice();
|
|
3485
|
+
};
|
|
3486
|
+
|
|
3487
|
+
scale.unknown = function(_) {
|
|
3488
|
+
return arguments.length ? (unknown = _, scale) : unknown;
|
|
3489
|
+
};
|
|
3490
|
+
|
|
3491
|
+
scale.copy = function() {
|
|
3492
|
+
return ordinal(domain, range).unknown(unknown);
|
|
3493
|
+
};
|
|
3494
|
+
|
|
3495
|
+
initRange.apply(scale, arguments);
|
|
3496
|
+
|
|
3497
|
+
return scale;
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
function constants(x) {
|
|
3501
|
+
return function() {
|
|
3502
|
+
return x;
|
|
3503
|
+
};
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
function number(x) {
|
|
3507
|
+
return +x;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
var unit = [0, 1];
|
|
3511
|
+
|
|
3512
|
+
function identity(x) {
|
|
3513
|
+
return x;
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
function normalize(a, b) {
|
|
3517
|
+
return (b -= (a = +a))
|
|
3518
|
+
? function(x) { return (x - a) / b; }
|
|
3519
|
+
: constants(isNaN(b) ? NaN : 0.5);
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
function clamper(a, b) {
|
|
3523
|
+
var t;
|
|
3524
|
+
if (a > b) t = a, a = b, b = t;
|
|
3525
|
+
return function(x) { return Math.max(a, Math.min(b, x)); };
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
// normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].
|
|
3529
|
+
// interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].
|
|
3530
|
+
function bimap(domain, range, interpolate) {
|
|
3531
|
+
var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];
|
|
3532
|
+
if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);
|
|
3533
|
+
else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
|
|
3534
|
+
return function(x) { return r0(d0(x)); };
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3537
|
+
function polymap(domain, range, interpolate) {
|
|
3538
|
+
var j = Math.min(domain.length, range.length) - 1,
|
|
3539
|
+
d = new Array(j),
|
|
3540
|
+
r = new Array(j),
|
|
3541
|
+
i = -1;
|
|
3542
|
+
|
|
3543
|
+
// Reverse descending domains.
|
|
3544
|
+
if (domain[j] < domain[0]) {
|
|
3545
|
+
domain = domain.slice().reverse();
|
|
3546
|
+
range = range.slice().reverse();
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
while (++i < j) {
|
|
3550
|
+
d[i] = normalize(domain[i], domain[i + 1]);
|
|
3551
|
+
r[i] = interpolate(range[i], range[i + 1]);
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
return function(x) {
|
|
3555
|
+
var i = bisect(domain, x, 1, j) - 1;
|
|
3556
|
+
return r[i](d[i](x));
|
|
3557
|
+
};
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
function copy(source, target) {
|
|
3561
|
+
return target
|
|
3562
|
+
.domain(source.domain())
|
|
3563
|
+
.range(source.range())
|
|
3564
|
+
.interpolate(source.interpolate())
|
|
3565
|
+
.clamp(source.clamp())
|
|
3566
|
+
.unknown(source.unknown());
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
function transformer() {
|
|
3570
|
+
var domain = unit,
|
|
3571
|
+
range = unit,
|
|
3572
|
+
interpolate = interpolate$1,
|
|
3573
|
+
transform,
|
|
3574
|
+
untransform,
|
|
3575
|
+
unknown,
|
|
3576
|
+
clamp = identity,
|
|
3577
|
+
piecewise,
|
|
3578
|
+
output,
|
|
3579
|
+
input;
|
|
3580
|
+
|
|
3581
|
+
function rescale() {
|
|
3582
|
+
var n = Math.min(domain.length, range.length);
|
|
3583
|
+
if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
|
|
3584
|
+
piecewise = n > 2 ? polymap : bimap;
|
|
3585
|
+
output = input = null;
|
|
3586
|
+
return scale;
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3589
|
+
function scale(x) {
|
|
3590
|
+
return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
scale.invert = function(y) {
|
|
3594
|
+
return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));
|
|
3595
|
+
};
|
|
3596
|
+
|
|
3597
|
+
scale.domain = function(_) {
|
|
3598
|
+
return arguments.length ? (domain = Array.from(_, number), rescale()) : domain.slice();
|
|
3599
|
+
};
|
|
3600
|
+
|
|
3601
|
+
scale.range = function(_) {
|
|
3602
|
+
return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
scale.rangeRound = function(_) {
|
|
3606
|
+
return range = Array.from(_), interpolate = interpolateRound, rescale();
|
|
3607
|
+
};
|
|
3608
|
+
|
|
3609
|
+
scale.clamp = function(_) {
|
|
3610
|
+
return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
scale.interpolate = function(_) {
|
|
3614
|
+
return arguments.length ? (interpolate = _, rescale()) : interpolate;
|
|
3615
|
+
};
|
|
3616
|
+
|
|
3617
|
+
scale.unknown = function(_) {
|
|
3618
|
+
return arguments.length ? (unknown = _, scale) : unknown;
|
|
3619
|
+
};
|
|
3620
|
+
|
|
3621
|
+
return function(t, u) {
|
|
3622
|
+
transform = t, untransform = u;
|
|
3623
|
+
return rescale();
|
|
3624
|
+
};
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
function continuous() {
|
|
3628
|
+
return transformer()(identity, identity);
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3631
|
+
function tickFormat(start, stop, count, specifier) {
|
|
3632
|
+
var step = tickStep(start, stop, count),
|
|
3633
|
+
precision;
|
|
3634
|
+
specifier = formatSpecifier(specifier == null ? ",f" : specifier);
|
|
3635
|
+
switch (specifier.type) {
|
|
3636
|
+
case "s": {
|
|
3637
|
+
var value = Math.max(Math.abs(start), Math.abs(stop));
|
|
3638
|
+
if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;
|
|
3639
|
+
return formatPrefix(specifier, value);
|
|
3640
|
+
}
|
|
3641
|
+
case "":
|
|
3642
|
+
case "e":
|
|
3643
|
+
case "g":
|
|
3644
|
+
case "p":
|
|
3645
|
+
case "r": {
|
|
3646
|
+
if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
|
|
3647
|
+
break;
|
|
3648
|
+
}
|
|
3649
|
+
case "f":
|
|
3650
|
+
case "%": {
|
|
3651
|
+
if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
|
|
3652
|
+
break;
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
return format(specifier);
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
function linearish(scale) {
|
|
3659
|
+
var domain = scale.domain;
|
|
3660
|
+
|
|
3661
|
+
scale.ticks = function(count) {
|
|
3662
|
+
var d = domain();
|
|
3663
|
+
return ticks(d[0], d[d.length - 1], count == null ? 10 : count);
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
scale.tickFormat = function(count, specifier) {
|
|
3667
|
+
var d = domain();
|
|
3668
|
+
return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
scale.nice = function(count) {
|
|
3672
|
+
if (count == null) count = 10;
|
|
3673
|
+
|
|
3674
|
+
var d = domain();
|
|
3675
|
+
var i0 = 0;
|
|
3676
|
+
var i1 = d.length - 1;
|
|
3677
|
+
var start = d[i0];
|
|
3678
|
+
var stop = d[i1];
|
|
3679
|
+
var prestep;
|
|
3680
|
+
var step;
|
|
3681
|
+
var maxIter = 10;
|
|
3682
|
+
|
|
3683
|
+
if (stop < start) {
|
|
3684
|
+
step = start, start = stop, stop = step;
|
|
3685
|
+
step = i0, i0 = i1, i1 = step;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
while (maxIter-- > 0) {
|
|
3689
|
+
step = tickIncrement(start, stop, count);
|
|
3690
|
+
if (step === prestep) {
|
|
3691
|
+
d[i0] = start;
|
|
3692
|
+
d[i1] = stop;
|
|
3693
|
+
return domain(d);
|
|
3694
|
+
} else if (step > 0) {
|
|
3695
|
+
start = Math.floor(start / step) * step;
|
|
3696
|
+
stop = Math.ceil(stop / step) * step;
|
|
3697
|
+
} else if (step < 0) {
|
|
3698
|
+
start = Math.ceil(start * step) / step;
|
|
3699
|
+
stop = Math.floor(stop * step) / step;
|
|
3700
|
+
} else {
|
|
3701
|
+
break;
|
|
3702
|
+
}
|
|
3703
|
+
prestep = step;
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
return scale;
|
|
3707
|
+
};
|
|
3708
|
+
|
|
3709
|
+
return scale;
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
function linear() {
|
|
3713
|
+
var scale = continuous();
|
|
3714
|
+
|
|
3715
|
+
scale.copy = function() {
|
|
3716
|
+
return copy(scale, linear());
|
|
3717
|
+
};
|
|
3718
|
+
|
|
3719
|
+
initRange.apply(scale, arguments);
|
|
3720
|
+
|
|
3721
|
+
return linearish(scale);
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
exports.axisBottom = axisBottom;
|
|
3725
|
+
exports.axisLeft = axisLeft;
|
|
3726
|
+
exports.dispatch = dispatch;
|
|
3727
|
+
exports.formatLocale = formatLocale;
|
|
3728
|
+
exports.initRange = initRange;
|
|
3729
|
+
exports.interpolate = interpolate$1;
|
|
3730
|
+
exports.linear = linear;
|
|
3731
|
+
exports.linear$1 = linear$1;
|
|
3732
|
+
exports.max = max;
|
|
3733
|
+
exports.min = min;
|
|
3734
|
+
exports.ordinal = ordinal;
|
|
3735
|
+
exports.polyInOut = polyInOut;
|
|
3736
|
+
exports.range = range;
|
|
3737
|
+
exports.select = select;
|