@cfpb/cfpb-design-system 3.2.5 → 3.2.8
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/CHANGELOG.md +251 -94
- package/dist/components/cfpb-buttons/index.css +1 -1
- package/dist/components/cfpb-buttons/index.css.map +2 -2
- package/dist/components/cfpb-buttons/index.js +1 -1
- package/dist/components/cfpb-buttons/index.js.map +1 -1
- package/dist/components/cfpb-expandables/index.css +1 -1
- package/dist/components/cfpb-expandables/index.css.map +2 -2
- package/dist/components/cfpb-expandables/index.js +1 -1
- package/dist/components/cfpb-expandables/index.js.map +2 -2
- package/dist/components/cfpb-forms/index.css +1 -1
- package/dist/components/cfpb-forms/index.css.map +2 -2
- package/dist/components/cfpb-forms/index.js +1 -1
- package/dist/components/cfpb-forms/index.js.map +2 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/utilities/index.css +1 -1
- package/dist/utilities/index.css.map +2 -2
- package/dist/utilities/index.js +1 -1
- package/dist/utilities/index.js.map +2 -2
- package/package.json +3 -15
- package/src/components/cfpb-buttons/button-group.scss +4 -3
- package/src/components/cfpb-buttons/button.scss +1 -0
- package/src/components/cfpb-expandables/summary-minimal.js +0 -1
- package/src/components/cfpb-expandables/summary.js +0 -1
- package/src/components/cfpb-icons/icons/activity-round.svg +1 -1
- package/src/components/cfpb-icons/icons/activity.svg +1 -1
- package/src/components/cfpb-icons/icons/agreement-round.svg +1 -1
- package/src/components/cfpb-icons/icons/agreement.svg +1 -1
- package/src/components/cfpb-icons/icons/appendix-round.svg +1 -1
- package/src/components/cfpb-icons/icons/appendix.svg +1 -1
- package/src/components/cfpb-icons/icons/approved-round.svg +1 -1
- package/src/components/cfpb-icons/icons/approved.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-down-round.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-down.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-left-round.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-left.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-right-round.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-right.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-up-round.svg +1 -1
- package/src/components/cfpb-icons/icons/arrow-up.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-low-round.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-low.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-max-round.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-max.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-medium-round.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-medium.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-mute-round.svg +1 -1
- package/src/components/cfpb-icons/icons/audio-mute.svg +1 -1
- package/src/components/cfpb-icons/icons/bank-round.svg +1 -1
- package/src/components/cfpb-icons/icons/bank.svg +1 -1
- package/src/components/cfpb-icons/icons/book-round.svg +1 -1
- package/src/components/cfpb-icons/icons/book.svg +1 -1
- package/src/components/cfpb-icons/icons/bookmark-round.svg +1 -1
- package/src/components/cfpb-icons/icons/bookmark.svg +1 -1
- package/src/components/cfpb-icons/icons/briefcase-round.svg +1 -1
- package/src/components/cfpb-icons/icons/briefcase.svg +1 -1
- package/src/components/cfpb-icons/icons/broadcast-round.svg +1 -1
- package/src/components/cfpb-icons/icons/broadcast.svg +1 -1
- package/src/components/cfpb-icons/icons/building-credit-round.svg +1 -1
- package/src/components/cfpb-icons/icons/building-credit.svg +1 -1
- package/src/components/cfpb-icons/icons/bullhorn-round.svg +1 -1
- package/src/components/cfpb-icons/icons/bullhorn.svg +1 -1
- package/src/components/cfpb-icons/icons/bus-round.svg +1 -1
- package/src/components/cfpb-icons/icons/bus.svg +1 -1
- package/src/components/cfpb-icons/icons/calculate-round.svg +1 -1
- package/src/components/cfpb-icons/icons/calculate.svg +1 -1
- package/src/components/cfpb-icons/icons/car-round.svg +1 -1
- package/src/components/cfpb-icons/icons/car.svg +1 -1
- package/src/components/cfpb-icons/icons/cart-round.svg +1 -1
- package/src/components/cfpb-icons/icons/cart.svg +1 -1
- package/src/components/cfpb-icons/icons/chart-round.svg +1 -1
- package/src/components/cfpb-icons/icons/chart.svg +1 -1
- package/src/components/cfpb-icons/icons/childcare-round.svg +1 -1
- package/src/components/cfpb-icons/icons/childcare.svg +1 -1
- package/src/components/cfpb-icons/icons/clock-round.svg +1 -1
- package/src/components/cfpb-icons/icons/clock.svg +1 -1
- package/src/components/cfpb-icons/icons/close-quote-round.svg +1 -1
- package/src/components/cfpb-icons/icons/close-quote.svg +1 -1
- package/src/components/cfpb-icons/icons/clothes-round.svg +1 -1
- package/src/components/cfpb-icons/icons/clothes.svg +1 -1
- package/src/components/cfpb-icons/icons/college-round.svg +1 -1
- package/src/components/cfpb-icons/icons/college.svg +1 -1
- package/src/components/cfpb-icons/icons/compass-round.svg +1 -1
- package/src/components/cfpb-icons/icons/compass.svg +1 -1
- package/src/components/cfpb-icons/icons/complaint-round.svg +1 -1
- package/src/components/cfpb-icons/icons/complaint.svg +1 -1
- package/src/components/cfpb-icons/icons/copy-round.svg +1 -1
- package/src/components/cfpb-icons/icons/copy.svg +1 -1
- package/src/components/cfpb-icons/icons/court-round.svg +1 -1
- package/src/components/cfpb-icons/icons/court.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-card-round.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-card.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-payment-round.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-payment.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-repair-round.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-repair.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-report-round.svg +1 -1
- package/src/components/cfpb-icons/icons/credit-report.svg +1 -1
- package/src/components/cfpb-icons/icons/date-round.svg +1 -1
- package/src/components/cfpb-icons/icons/date.svg +1 -1
- package/src/components/cfpb-icons/icons/debt-collection-round.svg +1 -1
- package/src/components/cfpb-icons/icons/debt-collection.svg +1 -1
- package/src/components/cfpb-icons/icons/debt-round.svg +1 -1
- package/src/components/cfpb-icons/icons/debt.svg +1 -1
- package/src/components/cfpb-icons/icons/dialogue-round.svg +1 -1
- package/src/components/cfpb-icons/icons/dialogue.svg +1 -1
- package/src/components/cfpb-icons/icons/dine-out-round.svg +1 -1
- package/src/components/cfpb-icons/icons/dine-out.svg +1 -1
- package/src/components/cfpb-icons/icons/disability-round.svg +1 -1
- package/src/components/cfpb-icons/icons/disability.svg +1 -1
- package/src/components/cfpb-icons/icons/disabled-round.svg +1 -1
- package/src/components/cfpb-icons/icons/disabled.svg +1 -1
- package/src/components/cfpb-icons/icons/divide-round.svg +1 -1
- package/src/components/cfpb-icons/icons/divide.svg +1 -1
- package/src/components/cfpb-icons/icons/document-round.svg +1 -1
- package/src/components/cfpb-icons/icons/document.svg +1 -1
- package/src/components/cfpb-icons/icons/dollar-round.svg +1 -1
- package/src/components/cfpb-icons/icons/dollar.svg +1 -1
- package/src/components/cfpb-icons/icons/down-round.svg +1 -1
- package/src/components/cfpb-icons/icons/down.svg +1 -1
- package/src/components/cfpb-icons/icons/download-round.svg +1 -1
- package/src/components/cfpb-icons/icons/download.svg +1 -1
- package/src/components/cfpb-icons/icons/edit-round.svg +1 -1
- package/src/components/cfpb-icons/icons/edit.svg +1 -1
- package/src/components/cfpb-icons/icons/eight-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/eight-open.svg +1 -1
- package/src/components/cfpb-icons/icons/email-round.svg +1 -1
- package/src/components/cfpb-icons/icons/email-square.svg +1 -1
- package/src/components/cfpb-icons/icons/email.svg +1 -1
- package/src/components/cfpb-icons/icons/entertainment-round.svg +1 -1
- package/src/components/cfpb-icons/icons/entertainment.svg +1 -1
- package/src/components/cfpb-icons/icons/equal-round.svg +1 -1
- package/src/components/cfpb-icons/icons/equal.svg +1 -1
- package/src/components/cfpb-icons/icons/equipment-round.svg +1 -1
- package/src/components/cfpb-icons/icons/equipment.svg +1 -1
- package/src/components/cfpb-icons/icons/error-round.svg +1 -1
- package/src/components/cfpb-icons/icons/error.svg +1 -1
- package/src/components/cfpb-icons/icons/external-link-round.svg +1 -1
- package/src/components/cfpb-icons/icons/external-link.svg +1 -1
- package/src/components/cfpb-icons/icons/facebook-square.svg +1 -1
- package/src/components/cfpb-icons/icons/facebook.svg +1 -1
- package/src/components/cfpb-icons/icons/fall-round.svg +1 -1
- package/src/components/cfpb-icons/icons/fall.svg +1 -1
- package/src/components/cfpb-icons/icons/favorite-round.svg +1 -1
- package/src/components/cfpb-icons/icons/favorite.svg +1 -1
- package/src/components/cfpb-icons/icons/fax-round.svg +1 -1
- package/src/components/cfpb-icons/icons/fax.svg +1 -1
- package/src/components/cfpb-icons/icons/filter-round.svg +1 -1
- package/src/components/cfpb-icons/icons/filter.svg +1 -1
- package/src/components/cfpb-icons/icons/five-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/five-open.svg +1 -1
- package/src/components/cfpb-icons/icons/flag-round.svg +1 -1
- package/src/components/cfpb-icons/icons/flag.svg +1 -1
- package/src/components/cfpb-icons/icons/flickr-square.svg +1 -1
- package/src/components/cfpb-icons/icons/flickr.svg +1 -1
- package/src/components/cfpb-icons/icons/flower-round.svg +1 -1
- package/src/components/cfpb-icons/icons/flower.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-add-round.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-add.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-delete-round.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-delete.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-empty-round.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-empty.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-round.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-save-round.svg +1 -1
- package/src/components/cfpb-icons/icons/folder-save.svg +1 -1
- package/src/components/cfpb-icons/icons/folder.svg +1 -1
- package/src/components/cfpb-icons/icons/foreclosure-round.svg +1 -1
- package/src/components/cfpb-icons/icons/foreclosure.svg +1 -1
- package/src/components/cfpb-icons/icons/fountain-pen-round.svg +1 -1
- package/src/components/cfpb-icons/icons/fountain-pen.svg +1 -1
- package/src/components/cfpb-icons/icons/four-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/four-open.svg +1 -1
- package/src/components/cfpb-icons/icons/furniture-round.svg +1 -1
- package/src/components/cfpb-icons/icons/furniture.svg +1 -1
- package/src/components/cfpb-icons/icons/gambling-round.svg +1 -1
- package/src/components/cfpb-icons/icons/gambling.svg +1 -1
- package/src/components/cfpb-icons/icons/getting-a-credit-card-round.svg +1 -1
- package/src/components/cfpb-icons/icons/getting-a-credit-card.svg +1 -1
- package/src/components/cfpb-icons/icons/gift-round.svg +1 -1
- package/src/components/cfpb-icons/icons/gift.svg +1 -1
- package/src/components/cfpb-icons/icons/github-square.svg +1 -1
- package/src/components/cfpb-icons/icons/github.svg +1 -1
- package/src/components/cfpb-icons/icons/health-insurance-round.svg +1 -1
- package/src/components/cfpb-icons/icons/health-insurance.svg +1 -1
- package/src/components/cfpb-icons/icons/healthcare-round.svg +1 -1
- package/src/components/cfpb-icons/icons/healthcare.svg +1 -1
- package/src/components/cfpb-icons/icons/help-round.svg +1 -1
- package/src/components/cfpb-icons/icons/help.svg +1 -1
- package/src/components/cfpb-icons/icons/history-round.svg +1 -1
- package/src/components/cfpb-icons/icons/history.svg +1 -1
- package/src/components/cfpb-icons/icons/house-round.svg +1 -1
- package/src/components/cfpb-icons/icons/house.svg +1 -1
- package/src/components/cfpb-icons/icons/information-round.svg +1 -1
- package/src/components/cfpb-icons/icons/information.svg +1 -1
- package/src/components/cfpb-icons/icons/insurance-round.svg +1 -1
- package/src/components/cfpb-icons/icons/insurance.svg +1 -1
- package/src/components/cfpb-icons/icons/left-right-round.svg +1 -1
- package/src/components/cfpb-icons/icons/left-right.svg +1 -1
- package/src/components/cfpb-icons/icons/left-round.svg +1 -1
- package/src/components/cfpb-icons/icons/left.svg +1 -1
- package/src/components/cfpb-icons/icons/lightbulb-round.svg +1 -1
- package/src/components/cfpb-icons/icons/lightbulb.svg +1 -1
- package/src/components/cfpb-icons/icons/link-round.svg +1 -1
- package/src/components/cfpb-icons/icons/link.svg +1 -1
- package/src/components/cfpb-icons/icons/linkedin-square.svg +1 -1
- package/src/components/cfpb-icons/icons/linkedin.svg +1 -1
- package/src/components/cfpb-icons/icons/list-round.svg +1 -1
- package/src/components/cfpb-icons/icons/list.svg +1 -1
- package/src/components/cfpb-icons/icons/loan-round.svg +1 -1
- package/src/components/cfpb-icons/icons/loan.svg +1 -1
- package/src/components/cfpb-icons/icons/lock-round.svg +1 -1
- package/src/components/cfpb-icons/icons/lock.svg +1 -1
- package/src/components/cfpb-icons/icons/mail-round.svg +1 -1
- package/src/components/cfpb-icons/icons/mail.svg +1 -1
- package/src/components/cfpb-icons/icons/map-round.svg +1 -1
- package/src/components/cfpb-icons/icons/map.svg +1 -1
- package/src/components/cfpb-icons/icons/menu-round.svg +1 -1
- package/src/components/cfpb-icons/icons/menu.svg +1 -1
- package/src/components/cfpb-icons/icons/microphone-round.svg +1 -1
- package/src/components/cfpb-icons/icons/microphone.svg +1 -1
- package/src/components/cfpb-icons/icons/minus-round.svg +1 -1
- package/src/components/cfpb-icons/icons/minus.svg +1 -1
- package/src/components/cfpb-icons/icons/money-round.svg +1 -1
- package/src/components/cfpb-icons/icons/money-transfer-round.svg +1 -1
- package/src/components/cfpb-icons/icons/money-transfer.svg +1 -1
- package/src/components/cfpb-icons/icons/money.svg +1 -1
- package/src/components/cfpb-icons/icons/monitor-round.svg +1 -1
- package/src/components/cfpb-icons/icons/monitor.svg +1 -1
- package/src/components/cfpb-icons/icons/mortgage-round.svg +1 -1
- package/src/components/cfpb-icons/icons/mortgage.svg +1 -1
- package/src/components/cfpb-icons/icons/newspaper-round.svg +1 -1
- package/src/components/cfpb-icons/icons/newspaper.svg +1 -1
- package/src/components/cfpb-icons/icons/nine-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/nine-open.svg +1 -1
- package/src/components/cfpb-icons/icons/one-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/one-open.svg +1 -1
- package/src/components/cfpb-icons/icons/open-quote-round.svg +1 -1
- package/src/components/cfpb-icons/icons/open-quote.svg +1 -1
- package/src/components/cfpb-icons/icons/paper-clip-round.svg +1 -1
- package/src/components/cfpb-icons/icons/paper-clip.svg +1 -1
- package/src/components/cfpb-icons/icons/parent-round.svg +1 -1
- package/src/components/cfpb-icons/icons/parent.svg +1 -1
- package/src/components/cfpb-icons/icons/payday-loan-round.svg +1 -1
- package/src/components/cfpb-icons/icons/payday-loan.svg +1 -1
- package/src/components/cfpb-icons/icons/percentage-round.svg +1 -1
- package/src/components/cfpb-icons/icons/percentage.svg +1 -1
- package/src/components/cfpb-icons/icons/pet-round.svg +1 -1
- package/src/components/cfpb-icons/icons/pet.svg +1 -1
- package/src/components/cfpb-icons/icons/phone-round.svg +1 -1
- package/src/components/cfpb-icons/icons/phone.svg +1 -1
- package/src/components/cfpb-icons/icons/photo-round.svg +1 -1
- package/src/components/cfpb-icons/icons/photo.svg +1 -1
- package/src/components/cfpb-icons/icons/piggy-bank-check-round.svg +1 -1
- package/src/components/cfpb-icons/icons/piggy-bank-check.svg +1 -1
- package/src/components/cfpb-icons/icons/piggy-bank-round.svg +1 -1
- package/src/components/cfpb-icons/icons/piggy-bank.svg +1 -1
- package/src/components/cfpb-icons/icons/pinterest-square.svg +1 -1
- package/src/components/cfpb-icons/icons/pinterest.svg +1 -1
- package/src/components/cfpb-icons/icons/play-round.svg +1 -1
- package/src/components/cfpb-icons/icons/play.svg +1 -1
- package/src/components/cfpb-icons/icons/plus-round.svg +1 -1
- package/src/components/cfpb-icons/icons/plus.svg +1 -1
- package/src/components/cfpb-icons/icons/policy-round.svg +1 -1
- package/src/components/cfpb-icons/icons/policy.svg +1 -1
- package/src/components/cfpb-icons/icons/pop-up-round.svg +1 -1
- package/src/components/cfpb-icons/icons/pop-up.svg +1 -1
- package/src/components/cfpb-icons/icons/power-round.svg +1 -1
- package/src/components/cfpb-icons/icons/power.svg +1 -1
- package/src/components/cfpb-icons/icons/prepaid-cards-round.svg +1 -1
- package/src/components/cfpb-icons/icons/prepaid-cards.svg +1 -1
- package/src/components/cfpb-icons/icons/presentation-round.svg +1 -1
- package/src/components/cfpb-icons/icons/presentation.svg +1 -1
- package/src/components/cfpb-icons/icons/price-tag-round.svg +1 -1
- package/src/components/cfpb-icons/icons/price-tag.svg +1 -1
- package/src/components/cfpb-icons/icons/print-round.svg +1 -1
- package/src/components/cfpb-icons/icons/print.svg +1 -1
- package/src/components/cfpb-icons/icons/quick-cash-round.svg +1 -1
- package/src/components/cfpb-icons/icons/quick-cash.svg +1 -1
- package/src/components/cfpb-icons/icons/regulation-round.svg +1 -1
- package/src/components/cfpb-icons/icons/regulation.svg +1 -1
- package/src/components/cfpb-icons/icons/right-round.svg +1 -1
- package/src/components/cfpb-icons/icons/right.svg +1 -1
- package/src/components/cfpb-icons/icons/rss-round.svg +1 -1
- package/src/components/cfpb-icons/icons/rss.svg +1 -1
- package/src/components/cfpb-icons/icons/save-round.svg +1 -1
- package/src/components/cfpb-icons/icons/save.svg +1 -1
- package/src/components/cfpb-icons/icons/search-round.svg +1 -1
- package/src/components/cfpb-icons/icons/search.svg +1 -1
- package/src/components/cfpb-icons/icons/serve-round.svg +1 -1
- package/src/components/cfpb-icons/icons/serve.svg +1 -1
- package/src/components/cfpb-icons/icons/servicemembers-round.svg +1 -1
- package/src/components/cfpb-icons/icons/servicemembers.svg +1 -1
- package/src/components/cfpb-icons/icons/settings-round.svg +1 -1
- package/src/components/cfpb-icons/icons/settings.svg +1 -1
- package/src/components/cfpb-icons/icons/seven-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/seven-open.svg +1 -1
- package/src/components/cfpb-icons/icons/share-alt-round.svg +1 -1
- package/src/components/cfpb-icons/icons/share-alt.svg +1 -1
- package/src/components/cfpb-icons/icons/share-round.svg +1 -1
- package/src/components/cfpb-icons/icons/share.svg +1 -1
- package/src/components/cfpb-icons/icons/six-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/six-open.svg +1 -1
- package/src/components/cfpb-icons/icons/sold-round.svg +1 -1
- package/src/components/cfpb-icons/icons/sold.svg +1 -1
- package/src/components/cfpb-icons/icons/speech-bubble-round.svg +1 -1
- package/src/components/cfpb-icons/icons/speech-bubble.svg +1 -1
- package/src/components/cfpb-icons/icons/split-round.svg +1 -1
- package/src/components/cfpb-icons/icons/split.svg +1 -1
- package/src/components/cfpb-icons/icons/spring-round.svg +1 -1
- package/src/components/cfpb-icons/icons/spring.svg +1 -1
- package/src/components/cfpb-icons/icons/summer-round.svg +1 -1
- package/src/components/cfpb-icons/icons/summer.svg +1 -1
- package/src/components/cfpb-icons/icons/supplement-round.svg +1 -1
- package/src/components/cfpb-icons/icons/supplement.svg +1 -1
- package/src/components/cfpb-icons/icons/taxes-round.svg +1 -1
- package/src/components/cfpb-icons/icons/taxes.svg +1 -1
- package/src/components/cfpb-icons/icons/technology-round.svg +1 -1
- package/src/components/cfpb-icons/icons/technology.svg +1 -1
- package/src/components/cfpb-icons/icons/thought-bubble-round.svg +1 -1
- package/src/components/cfpb-icons/icons/thought-bubble.svg +1 -1
- package/src/components/cfpb-icons/icons/three-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/three-open.svg +1 -1
- package/src/components/cfpb-icons/icons/toolbox-round.svg +1 -1
- package/src/components/cfpb-icons/icons/toolbox.svg +1 -1
- package/src/components/cfpb-icons/icons/travel-round.svg +1 -1
- package/src/components/cfpb-icons/icons/travel.svg +1 -1
- package/src/components/cfpb-icons/icons/two-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/two-open.svg +1 -1
- package/src/components/cfpb-icons/icons/unbookmark-round.svg +1 -1
- package/src/components/cfpb-icons/icons/unbookmark.svg +1 -1
- package/src/components/cfpb-icons/icons/unfavorite-round.svg +1 -1
- package/src/components/cfpb-icons/icons/unfavorite.svg +1 -1
- package/src/components/cfpb-icons/icons/unlock-round.svg +1 -1
- package/src/components/cfpb-icons/icons/unlock.svg +1 -1
- package/src/components/cfpb-icons/icons/up-down-round.svg +1 -1
- package/src/components/cfpb-icons/icons/up-down.svg +1 -1
- package/src/components/cfpb-icons/icons/up-round.svg +1 -1
- package/src/components/cfpb-icons/icons/up.svg +1 -1
- package/src/components/cfpb-icons/icons/update-round.svg +1 -1
- package/src/components/cfpb-icons/icons/update.svg +1 -1
- package/src/components/cfpb-icons/icons/updating-round.svg +1 -1
- package/src/components/cfpb-icons/icons/updating.svg +1 -1
- package/src/components/cfpb-icons/icons/upload-round.svg +1 -1
- package/src/components/cfpb-icons/icons/upload.svg +1 -1
- package/src/components/cfpb-icons/icons/user-round.svg +1 -1
- package/src/components/cfpb-icons/icons/user.svg +1 -1
- package/src/components/cfpb-icons/icons/video-round.svg +1 -1
- package/src/components/cfpb-icons/icons/video.svg +1 -1
- package/src/components/cfpb-icons/icons/warning-round.svg +1 -1
- package/src/components/cfpb-icons/icons/warning.svg +1 -1
- package/src/components/cfpb-icons/icons/web-round.svg +1 -1
- package/src/components/cfpb-icons/icons/web.svg +1 -1
- package/src/components/cfpb-icons/icons/wifi-round.svg +1 -1
- package/src/components/cfpb-icons/icons/wifi.svg +1 -1
- package/src/components/cfpb-icons/icons/winter-round.svg +1 -1
- package/src/components/cfpb-icons/icons/winter.svg +1 -1
- package/src/components/cfpb-icons/icons/x-square.svg +1 -1
- package/src/components/cfpb-icons/icons/x.svg +1 -1
- package/src/components/cfpb-icons/icons/youtube-square.svg +1 -1
- package/src/components/cfpb-icons/icons/youtube.svg +1 -1
- package/src/components/cfpb-icons/icons/zero-closed.svg +1 -1
- package/src/components/cfpb-icons/icons/zero-open.svg +1 -1
- package/src/utilities/behavior/behavior.js +0 -1
- package/src/utilities/behavior/flyout-menu.js +0 -1
- package/src/utilities/breakpoint-state.js +1 -1
- package/src/utilities/type-checkers.js +1 -2
- package/changelog-template.hbs +0 -142
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var ut=Object.defineProperty;var ht=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var pt=(a,e,t)=>e in a?ut(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,ve=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&pt(a,t,e[t]);if(ht)for(var t of ht(e))Dt.call(e,t)&&pt(a,t,e[t]);return a};var b=(a,e)=>{for(var t in e)ut(a,t,{get:e[t],enumerable:!0})};var we={};b(we,{default:()=>Lt});var Lt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function jt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let o=t||0,s=r||Number.POSITIVE_INFINITY;return o<=e&&e<=s}function Tt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=jt(re[t],a);return e}var se="mobile",Ot="tablet",zt="desktop";function ke(a){let e=!1,t=Tt();return(a===se&&t.bpXS||a===Ot&&t.bpSM||a===zt&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",le="behavior_",Se="state_";function A(){let a={};function e(i,o){return{}.hasOwnProperty.call(a,i)?a[i].push(o):a[i]=[o],this}function t(i,o){if(!{}.hasOwnProperty.call(a,i))return this;let s=a[i].indexOf(o);return s!==-1&&a[i].splice(s,1),this}function r(i,o){if(!{}.hasOwnProperty.call(a,i))return this;o=o||{};let s=a[i];for(let d=0,c=s.length;d<c;d++)s[d].call(this,o);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Ee=Se+"atomic_init";function It(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Bt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return It(a,e),Bt(a,e)}function M(a){return W(a,Ee)?!1:(L(a,Ee),!0)}function C(a,e,t,r={}){let o=(t||document).querySelectorAll(a),s=[],d,c;for(let p=0,m=o.length;p<m;p++)c=o[p],W(c,Ee)===!1&&(d=new e(c),d.init(r),s.push(d));return s}var De={};b(De,{default:()=>Nt});var Nt={};var Ae={};b(Ae,{default:()=>Ct});var Ct={};var Le={};b(Le,{default:()=>Ht});var Ht={};var je={};b(je,{default:()=>Gt});var Gt={};var Te={};b(Te,{default:()=>Ut});var Ut={};var Oe={};b(Oe,{default:()=>Xt});var Xt={};var ze={};b(ze,{default:()=>Jt});var Jt={};var Ie={};b(Ie,{default:()=>Wt});var Wt={};var Be={};b(Be,{default:()=>Zt});var Zt={};var Me={};b(Me,{default:()=>ea});var ea={};var Ne={};b(Ne,{default:()=>aa});var aa={};var qe={};b(qe,{default:()=>ia});var ia={};var Ce={};b(Ce,{default:()=>na});var na={};var Fe={};b(Fe,{default:()=>la});var la={};var He={};b(He,{default:()=>ca});var ca={};var ma;function ha(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function pa(a,e){return RegExp(ha(e.trim()),"i").test(a)}function ua(a,e,t){let r=a,i=e,o=(t==null?void 0:t.maxSelections)||5,s=[],d=[],c=[],p=[],m=-1;function f(g){return i+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function _(){return d.length>=o}function x(g){let w,D=[],y=!1;for(let O=0,N=g.length;O<N;O++)w=g[O],y=_()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:y}),y&&d.push(O);return D}function j(){return s=x(r),this}function S(g){return s[g].checked=!s[g].checked,d.length<o&&s[g].checked?(d.push(g),d.sort(),!0):(s[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,y){return pa(w.text,y)&&g.push(D),g}function T(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,s.length>0&&(c=s.reduce(function(w,D,y){return E(w,D,y,g)},[])),m=-1,c}function V(g){return s[g]}function R(g){let w=c.length,D=w===0?s.length:w;g<0?m=-1:g>=D?m=D-1:m=g}function z(){return m}return this.init=j,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=_,this.filterIndices=T,this.clearFilter=function(){return c=p=[],ma},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=z,this.setIndex=R,this.resetIndex=function(){return m=-1,m},this.getOption=V,this}var bt=ua;function F(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(i=>{let o=t[i];i in r?r[i]=o:r.setAttribute(i,o)}),e&&e.appendChild(r),r}var gt='<svg xmlns="http://www.w3.org/2000/svg" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>';var ya=gt,H="o-multiselect",xa="a-checkbox",va="a-text-input",ft="prev",de="next",Ve="Enter",wa=" ",_t="Escape",ka="ArrowUp",yt="ArrowDown",xt="Tab",vt={renderTags:!0,maxSelections:5};function ce(a){a.classList.add(H);let e=q(a,H),t=!1,r,i,o,s,d,c,p,m,f,_,x,j=[],S;function E(){x.classList.remove("u-no-results"),x.classList.add("u-filtered");let n=o.getLastFilterIndices();for(let l=0,h=n.length;l<h;l++)j[n[l]].classList.remove("u-filter-match");n=o.getFilterIndices();for(let l=0,h=n.length;l<h;l++)j[n[l]].classList.add("u-filter-match")}function T(){x.classList.remove("u-filtered","u-no-results");for(let n=0,l=x.children.length;n<l;n++)x.children[n].classList.remove("u-filter-match");o.clearFilter()}function V(){x.classList.add("u-no-results"),x.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function z(n){T(),o.resetIndex();let l=o.filterIndices(n);R(l)}function g(){return c.classList.add("u-active"),_.classList.remove("u-invisible"),_.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),_.classList.add("u-invisible"),_.setAttribute("aria-hidden",!0),o.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===de?o.setIndex(o.getIndex()+1):n===ft&&o.setIndex(o.getIndex()-1);let l=o.getIndex();if(l>-1){let h=l,u=o.getFilterIndices();u.length>0&&(h=u[l]);let P=o.getOption(h).value,St=x.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function y(){f.value="",T()}function O(n){let l=n.target;l.tagName==="BUTTON"&&(n.preventDefault(),l.removeEventListener("click",O),l.querySelector("label").click())}function N(n){if(n.key===wa||n.key===Ve){let l=n.target.querySelector("label");x.querySelector("#"+l.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,l){let h=U(l),u=F("li",null,{"data-option":l.value}),k=F("button",u,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+h+">"+l.text+ya+"</label>"});n.appendChild(u),k.addEventListener("click",O),k.addEventListener("keydown",N)}function oe(n){let l=o.getOption(n)||o.getOption(o.getIndex());if(l){if(l.checked){x.classList.contains("u-max-selections")&&x.classList.remove("u-max-selections");let h='[data-option="'+l.value+'"]',u=p.querySelector(h);typeof u!="undefined"&&u&&(p==null||p.removeChild(u))}else d!=null&&d.renderTags&&p&&$(p,l);o.toggleOption(n),o.isAtMaxSelections()&&x.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}o.resetIndex(),t=!1,_.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){oe(Number(n.target.getAttribute("data-index"))),y()}function _e(){m.addEventListener("mousemove",function(h){let u=h.target;h.offsetX>u.offsetWidth-35?u.style.cursor="pointer":u.style.cursor="auto"}),m.addEventListener("mouseup",function(h){let u=h.target;h.offsetX>u.offsetWidth-35&&_.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){z(this.value)}),f.addEventListener("focus",function(){_.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!t&&_.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(h){let u=h.key;_.getAttribute("aria-hidden")==="true"&&u!==xt&&g(),u===Ve?(h.preventDefault(),D(de)):u===_t?(y(),w()):u===yt?D(de):u===xt&&!h.shiftKey&&_.getAttribute("aria-hidden")==="false"&&w()}),x.addEventListener("mousedown",function(){t=!0}),x.addEventListener("keydown",function(h){let u=h.key,k=h.target,P=k.checked;if(u===Ve){h.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else u===_t?(f.focus(),w()):u===ka?D(ft):u===yt&&D(de)}),_.addEventListener("mousedown",function(h){h.target.tagName==="LABEL"&&(t=!0)});let n=x.querySelectorAll("input");for(let h=0,u=n.length;h<u;h++)n[h].addEventListener("change",fe);let l=p.querySelectorAll("button");for(let h=0,u=l.length;h<u;h++)l[h].addEventListener("click",O),l[h].addEventListener("keydown",N)}function ie(){c=document.createElement("div"),c.className=H,p=F("ul",null,{className:"m-tag-group"}),m=F("header",c,{className:H+"__header"}),f=F("input",m,{className:H+"__search "+va,type:"text",placeholder:i||"Select up to five",id:e.id,autocomplete:"off"}),_=F("fieldset",c,{className:H+"__fieldset u-invisible","aria-hidden":"true"});let n=H+"__options";o.isAtMaxSelections()&&(n+=" u-max-selections"),x=F("ul",_,{className:n});let l,h,u;for(let k=0,P=s.length;k<P;k++){l=s[k],h=U(l),u=o.getOption(k).checked;let G=F("li",x,{"data-option":l.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});F("input",G,{id:h,type:"checkbox",value:l.value,name:r,class:xa+" "+H+"__checkbox",checked:u,"data-index":k}),F("label",G,{for:h,textContent:l.text,className:H+"__label a-label"}),j.push(G),u&&(d!=null&&d.renderTags)&&$(p,l)}return c.insertBefore(p,m),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function ye(n=vt){if(!M(e))return this;if(Ge())return this;if(S=this,r=e.name||e.id,i=e.getAttribute("placeholder"),s=e.options||[],d=ve(ve({},vt),n),s.length>0){o=new bt(s,r,d).init();let l=ie();e.parentNode.removeChild(e),e=l,M(e),_e()}return this}function xe(){return o}this.init=ye,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=xe,this.updateSelections=oe,this.selectionClickHandler=O,this.selectionKeyDownHandler=N,this}ce.BASE_CLASS=H;ce.init=a=>C(`.${H}`,ce,void 0,a);var Re={};b(Re,{default:()=>Ea});var Ea={};var Ue={};b(Ue,{default:()=>Aa});var Aa={};var Pe={};b(Pe,{default:()=>ja});var ja={};var Xe={};b(Xe,{default:()=>Oa});var Oa={};var Ke={};b(Ke,{default:()=>Ia});var Ia={};var Je={};b(Je,{default:()=>Ma});var Ma={};var Ye={};b(Ye,{default:()=>qa});var qa={};var We={};b(We,{default:()=>Fa});var Fa={};var $e={};b($e,{default:()=>Va});var Va={};var Ze={};b(Ze,{default:()=>Ra});var Ra={};var Qe={};b(Qe,{default:()=>Pa});var Pa={};var et={};b(et,{default:()=>Ka});var Ka={};var tt={};b(tt,{default:()=>Ya});var Ya={};var at={};b(at,{default:()=>$a});var $a={};var ot={};b(ot,{default:()=>Qa});var Qa={};var it={};b(it,{default:()=>to});var to={};var rt={};b(rt,{default:()=>oo});var oo={};var nt={};b(nt,{default:()=>ro});var ro={};var st={};b(st,{default:()=>so});var so={};var lt={};b(lt,{default:()=>co});var co={};function me(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var mo=Object.prototype.toString;var ho=Array.isArray||function(e){return mo.call(e)==="[object Array]"};function Ge(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ee=le+"flyout-menu",po="["+B+"="+ee;function X(a,e=!0){let t=me(a,ee),r=V(a),i=me(a,ee+"_content"),o=0,s=0,d=1,c=2,p=3,m,f,_,x=$.bind(this),j=U.bind(this),S,E=!0,T=!1;function V(n){let l=[],h=n.querySelectorAll(`${po}_trigger]`),u,k,P;for(let G=h.length>>>0;G--;){for(P=!1,u=h[G],k=u.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(ee)!==-1?(P=!0,k=n):k=k.parentElement;P||l.unshift(h[G])}return l}function R(n=!1){return o=n?p:s,r.forEach(l=>{z("expanded",l,n),l.addEventListener("click",y.bind(this)),l.addEventListener("touchstart",g,{passive:!0}),l.addEventListener("mouseover",w.bind(this)),l.addEventListener("mouseout",D.bind(this))}),i.setAttribute("data-open",n?"true":"false"),e&&!n&&i.setAttribute("hidden",""),ie(),this}function z(n,l,h){let u=String(h);return l.setAttribute("aria-"+n,u),u}function g(){T=!0}function w(n){E||(T||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),T=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function y(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),o){case s:case d:this.expand();break;case c:case p:this.collapse();break}}function O(){if(m==null||m.halt(),o===c||o===p)return this;if(o=c,e&&i.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!_)return j(),this;let n=m==null?void 0:m.isAnimated();return n&&m.addEventListener(v.END_EVENT,j),f(),n||j(),this}function N(){if(m==null||m.halt(),o===d||o===s)return this;for(let l=0,h=r.length;l<h;l++)z("expanded",r[l],!1);if(i.setAttribute("data-open","false"),o=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!_||!f)return x(),this;let n=m==null?void 0:m.isAnimated();return n&&m.addEventListener(v.END_EVENT,x),_(),n||x(),this}function U(){o=p,i.setAttribute("data-open","true"),m&&m.removeEventListener(v.END_EVENT,j),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,l=r.length;n<l;n++)z("expanded",r[n],!0)}function $(){o=s,e&&i.setAttribute("hidden",""),m&&m.removeEventListener(v.END_EVENT,x),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function oe(n,l,h){m=n,l&&l!==_&&(_=l),h&&h!==f&&(f=h)}function fe(){m&&m.remove();let n;m=n,f=n,_=n}function _e(){return{container:t,content:i,trigger:r}}function ie(){return E&&(E=!1),!E}function ye(){return E||(E=!0),E}function xe(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=O,this.collapse=N,this.setTransition=oe,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>m,this.getDom=_e,this.isAnimating=()=>o===c||o===d,this.isExpanded=()=>o===p,this.resume=ie,this.setData=xe,this.suspend=ye,X.BASE_CLASS=ee,this}var he={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function wt(a){let e=new A,t=new v(a,he,this);function r(s){return t.init(s),this}function i(){return t.applyClass(he.ALPHA_100),this}function o(){return t.applyClass(he.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=i,this.fadeOut=o,this.init=r,this}wt.CLASSES=he;function v(a,e,t){let r=e,i=a;if(!t)throw new Error("Child transition argument must be defined!");let o=t,s,d,c,p=!1,m=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function _(){d&&p?(i.addEventListener(d,c),o.dispatchEvent(v.BEGIN_EVENT,{target:o,type:v.BEGIN_EVENT}),i.classList.add(v.ANIMATING_CLASS),m=!0):(o.dispatchEvent(v.BEGIN_EVENT,{target:o,type:v.BEGIN_EVENT}),c())}function x(){i.removeEventListener(d,c)}function j(y){return y&&y.propertyName!==r.CSS_PROPERTY?!1:(x(),i.classList.remove(v.ANIMATING_CLASS),o.dispatchEvent(v.END_EVENT,{target:o,type:v.END_EVENT}),m=!1,!0)}function S(){let y;for(y in r)({}).hasOwnProperty.call(r,y)&&r[y]!==r.BASE_CLASS&&i.classList.contains(r[y])&&i.classList.remove(r[y])}function E(){m&&(i.style.webkitTransitionDuration="0",i.style.mozTransitionDuration="0",i.style.oTransitionDuration="0",i.style.transitionDuration="0",i.removeEventListener(d,c),c(),i.style.webkitTransitionDuration="",i.style.mozTransitionDuration="",i.style.oTransitionDuration="",i.style.transitionDuration="")}function T(){E(),S(),i.classList.remove(r.BASE_CLASS)}function V(){i.classList.remove(v.NO_ANIMATION_CLASS),p=!0}function R(){i.classList.add(v.NO_ANIMATION_CLASS),p=!1}function z(y){if(!y){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let O,N={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in N)if({}.hasOwnProperty.call(N,U)&&typeof y.style[U]!="undefined"){O=N[U];break}return O}function g(y){T(),V(),i=y,i.classList.add(r.BASE_CLASS),d=z(i)}function w(y){if(p=!i.classList.contains(v.NO_ANIMATION_CLASS),c=j.bind(this),g(i),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return i.classList.add(y),this}function D(y){return f||(S(),f=!0),i.classList.contains(y)?!1:(x(),i.classList.remove(s),s=y,_(),i.classList.add(s),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=T,this.setElement=g,this}v.BEGIN_EVENT="transitionbegin";v.END_EVENT="transitionend";v.NO_ANIMATION_CLASS="u-no-animation";v.ANIMATING_CLASS="u-is-animating";var te={CSS_PROPERTY:"max-height",BASE_CLASS:"u-max-height-transition",MH_DEFAULT:"u-max-height-default",MH_SUMMARY:"u-max-height-summary",MH_ZERO:"u-max-height-zero"};function I(a){let e=new A,t=new v(a,te,this),r=0;function i(){let _=a.scrollHeight+"px";a.style.maxHeight=_}function o(){window.removeEventListener("load",o),i()}function s(f){return t.init(f),window.addEventListener("load",o),window.addEventListener("resize",()=>{i()}),this}function d(){return i(),t.applyClass(te.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(te.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(te.MH_ZERO),r=a.scrollHeight,this}function m(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=i,this.remove=m,this.init=s,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=te;var K={CSS_PROPERTY:"transform",BASE_CLASS:"u-move-transition",MOVE_TO_ORIGIN:"u-move-to-origin",MOVE_LEFT:"u-move-left",MOVE_LEFT_2X:"u-move-left-2x",MOVE_LEFT_3X:"u-move-left-3x",MOVE_RIGHT:"u-move-right",MOVE_UP:"u-move-up"};function kt(a){let e=new A,t=new v(a,K,this);function r(c){return t.init(c),this}function i(){return t.applyClass(K.MOVE_TO_ORIGIN),this}function o(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function s(){return t.applyClass(K.MOVE_RIGHT),this}function d(){return t.applyClass(K.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>o(1),this.moveLeft2=()=>o(2),this.moveLeft3=()=>o(3),this.moveRight=s,this.moveToOrigin=i,this.moveUp=d,this}kt.CLASSES=K;var dt={};b(dt,{default:()=>go});var go={};var Z="o-expandable";function J(a){let e=q(a,Z),t,r,i,o,s;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),i=e.querySelector(`.${Z}__label`);let m=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=m?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return o=new I(r).init(f),s=new X(e),s.setTransition(o,o.maxHeightZero,o.maxHeightDefault),s.init(m),s.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),s.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return i.textContent.trim()}this.init=d,this.expand=()=>s.expand(),this.collapse=()=>s.collapse(),this.isExpanded=()=>s.isExpanded(),this.refresh=()=>s.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Z;J.init=a=>C(`.${J.BASE_CLASS}`,J,a);var ct={};b(ct,{default:()=>_o});var _o={};var pe="o-expandable-group";function ue(a){let e=q(a,pe),t=e.classList.contains(`${pe}--accordion`),r,i;function o(d){let c=d.target;i&&i!==c&&i.collapse(),i=c}function s(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",o)})),this):this}return this.init=s,this}ue.BASE_CLASS=pe;ue.init=a=>{(a||document).querySelectorAll(`.${pe}`).forEach(r=>{let i=C(`.${J.BASE_CLASS}`,J,r);new ue(r).init(i)})};var mt={};b(mt,{default:()=>xo});var xo={};var Q="o-summary";function be(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),i=e.querySelector(`.${Q}__btn`),o,s,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!x(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(i,"behavior_flyout-menu_trigger"),s=new X(e,!1),o=new I(r),o.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),s.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),s.addEventListener("triggerclick",j),s.init(),_(),window.addEventListener("resize",_),"onorientationchange"in window&&window.addEventListener("orientationchange",_),e.addEventListener("focusin",m),r.addEventListener("click",f)}function m(g){!d&&g.target!==i&&(i.click(),e.removeEventListener("focusin",m))}function f(g){g.target.tagName!=="A"&&s.isExpanded()&&o.refresh()}function _(){x()?R():V()}function x(){return t&&!ke(se)||r.scrollHeight<=88}function j(){s.addEventListener("expandend",S)}function S(){T(),window.removeEventListener("resize",_),window.removeEventListener("orientationchange",_),s.removeEventListener("expandend",S),s.suspend(),o.remove()}function E(){i.classList.remove("u-hidden")}function T(){i.classList.add("u-hidden")}function V(){return d&&(s.collapse(),o.animateOn(),E(),d=!1),!d}function R(){return d||(o.animateOff(),s.expand(),T(),d=!0),d}let z=new A;return this.addEventListener=z.addEventListener,this.removeEventListener=z.removeEventListener,this.dispatchEvent=z.dispatchEvent,this.init=c,this}be.BASE_CLASS=Q;be.init=a=>C(`.${Q}`,be,a);var ae="o-summary-minimal";function ge(a){let e=q(a,ae),t=e.querySelector(`.${ae}__content`),r=e.querySelector(`.${ae}__btn`),i,o;function s(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),o=new X(e,!1),i=new I(t),i.init(I.CLASSES.MH_SUMMARY),o.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),o.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),o.collapse(),i.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&o.isExpanded()&&i.refresh()}let m=new A;return this.addEventListener=m.addEventListener,this.removeEventListener=m.removeEventListener,this.dispatchEvent=m.dispatchEvent,this.init=s,this}ge.BASE_CLASS=ae;ge.init=a=>C(`.${ae}`,ge,a);})();
|
|
1
|
+
(()=>{var ut=Object.defineProperty;var ht=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var pt=(a,e,t)=>e in a?ut(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,ve=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&pt(a,t,e[t]);if(ht)for(var t of ht(e))Dt.call(e,t)&&pt(a,t,e[t]);return a};var b=(a,e)=>{for(var t in e)ut(a,t,{get:e[t],enumerable:!0})};var we={};b(we,{default:()=>Lt});var Lt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function jt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let o=t||0,s=r||Number.POSITIVE_INFINITY;return o<=e&&e<=s}function Tt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=jt(re[t],a);return e}var se="mobile",Ot="tablet",zt="desktop";function ke(a){let e=!1,t=Tt();return(a===se&&t.bpXS||a===Ot&&t.bpSM||a===zt&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",le="behavior_",Se="state_";function A(){let a={};function e(i,o){return{}.hasOwnProperty.call(a,i)?a[i].push(o):a[i]=[o],this}function t(i,o){if(!{}.hasOwnProperty.call(a,i))return this;let s=a[i].indexOf(o);return s!==-1&&a[i].splice(s,1),this}function r(i,o){if(!{}.hasOwnProperty.call(a,i))return this;o=o||{};let s=a[i];for(let d=0,c=s.length;d<c;d++)s[d].call(this,o);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Ee=Se+"atomic_init";function It(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Bt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return It(a,e),Bt(a,e)}function M(a){return W(a,Ee)?!1:(L(a,Ee),!0)}function C(a,e,t,r={}){let o=(t||document).querySelectorAll(a),s=[],d,c;for(let p=0,m=o.length;p<m;p++)c=o[p],W(c,Ee)===!1&&(d=new e(c),d.init(r),s.push(d));return s}var De={};b(De,{default:()=>Nt});var Nt={};var Ae={};b(Ae,{default:()=>Ct});var Ct={};var Le={};b(Le,{default:()=>Ht});var Ht={};var je={};b(je,{default:()=>Gt});var Gt={};var Te={};b(Te,{default:()=>Ut});var Ut={};var Oe={};b(Oe,{default:()=>Xt});var Xt={};var ze={};b(ze,{default:()=>Jt});var Jt={};var Ie={};b(Ie,{default:()=>Wt});var Wt={};var Be={};b(Be,{default:()=>Zt});var Zt={};var Me={};b(Me,{default:()=>ea});var ea={};var Ne={};b(Ne,{default:()=>aa});var aa={};var qe={};b(qe,{default:()=>ia});var ia={};var Ce={};b(Ce,{default:()=>na});var na={};var Fe={};b(Fe,{default:()=>la});var la={};var He={};b(He,{default:()=>ca});var ca={};var ma;function ha(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function pa(a,e){return RegExp(ha(e.trim()),"i").test(a)}function ua(a,e,t){let r=a,i=e,o=(t==null?void 0:t.maxSelections)||5,s=[],d=[],c=[],p=[],m=-1;function f(g){return i+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function _(){return d.length>=o}function x(g){let w,D=[],y=!1;for(let O=0,N=g.length;O<N;O++)w=g[O],y=_()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:y}),y&&d.push(O);return D}function j(){return s=x(r),this}function S(g){return s[g].checked=!s[g].checked,d.length<o&&s[g].checked?(d.push(g),d.sort(),!0):(s[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,y){return pa(w.text,y)&&g.push(D),g}function T(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,s.length>0&&(c=s.reduce(function(w,D,y){return E(w,D,y,g)},[])),m=-1,c}function V(g){return s[g]}function R(g){let w=c.length,D=w===0?s.length:w;g<0?m=-1:g>=D?m=D-1:m=g}function z(){return m}return this.init=j,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=_,this.filterIndices=T,this.clearFilter=function(){return c=p=[],ma},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=z,this.setIndex=R,this.resetIndex=function(){return m=-1,m},this.getOption=V,this}var bt=ua;function F(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(i=>{let o=t[i];i in r?r[i]=o:r.setAttribute(i,o)}),e&&e.appendChild(r),r}var gt='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>';var ya=gt,H="o-multiselect",xa="a-checkbox",va="a-text-input",ft="prev",de="next",Ve="Enter",wa=" ",_t="Escape",ka="ArrowUp",yt="ArrowDown",xt="Tab",vt={renderTags:!0,maxSelections:5};function ce(a){a.classList.add(H);let e=q(a,H),t=!1,r,i,o,s,d,c,p,m,f,_,x,j=[],S;function E(){x.classList.remove("u-no-results"),x.classList.add("u-filtered");let n=o.getLastFilterIndices();for(let l=0,h=n.length;l<h;l++)j[n[l]].classList.remove("u-filter-match");n=o.getFilterIndices();for(let l=0,h=n.length;l<h;l++)j[n[l]].classList.add("u-filter-match")}function T(){x.classList.remove("u-filtered","u-no-results");for(let n=0,l=x.children.length;n<l;n++)x.children[n].classList.remove("u-filter-match");o.clearFilter()}function V(){x.classList.add("u-no-results"),x.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function z(n){T(),o.resetIndex();let l=o.filterIndices(n);R(l)}function g(){return c.classList.add("u-active"),_.classList.remove("u-invisible"),_.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),_.classList.add("u-invisible"),_.setAttribute("aria-hidden",!0),o.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===de?o.setIndex(o.getIndex()+1):n===ft&&o.setIndex(o.getIndex()-1);let l=o.getIndex();if(l>-1){let h=l,u=o.getFilterIndices();u.length>0&&(h=u[l]);let P=o.getOption(h).value,St=x.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function y(){f.value="",T()}function O(n){let l=n.target;l.tagName==="BUTTON"&&(n.preventDefault(),l.removeEventListener("click",O),l.querySelector("label").click())}function N(n){if(n.key===wa||n.key===Ve){let l=n.target.querySelector("label");x.querySelector("#"+l.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,l){let h=U(l),u=F("li",null,{"data-option":l.value}),k=F("button",u,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+h+">"+l.text+ya+"</label>"});n.appendChild(u),k.addEventListener("click",O),k.addEventListener("keydown",N)}function oe(n){let l=o.getOption(n)||o.getOption(o.getIndex());if(l){if(l.checked){x.classList.contains("u-max-selections")&&x.classList.remove("u-max-selections");let h='[data-option="'+l.value+'"]',u=p.querySelector(h);typeof u!="undefined"&&u&&(p==null||p.removeChild(u))}else d!=null&&d.renderTags&&p&&$(p,l);o.toggleOption(n),o.isAtMaxSelections()&&x.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}o.resetIndex(),t=!1,_.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){oe(Number(n.target.getAttribute("data-index"))),y()}function _e(){m.addEventListener("mousemove",function(h){let u=h.target;h.offsetX>u.offsetWidth-35?u.style.cursor="pointer":u.style.cursor="auto"}),m.addEventListener("mouseup",function(h){let u=h.target;h.offsetX>u.offsetWidth-35&&_.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){z(this.value)}),f.addEventListener("focus",function(){_.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!t&&_.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(h){let u=h.key;_.getAttribute("aria-hidden")==="true"&&u!==xt&&g(),u===Ve?(h.preventDefault(),D(de)):u===_t?(y(),w()):u===yt?D(de):u===xt&&!h.shiftKey&&_.getAttribute("aria-hidden")==="false"&&w()}),x.addEventListener("mousedown",function(){t=!0}),x.addEventListener("keydown",function(h){let u=h.key,k=h.target,P=k.checked;if(u===Ve){h.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else u===_t?(f.focus(),w()):u===ka?D(ft):u===yt&&D(de)}),_.addEventListener("mousedown",function(h){h.target.tagName==="LABEL"&&(t=!0)});let n=x.querySelectorAll("input");for(let h=0,u=n.length;h<u;h++)n[h].addEventListener("change",fe);let l=p.querySelectorAll("button");for(let h=0,u=l.length;h<u;h++)l[h].addEventListener("click",O),l[h].addEventListener("keydown",N)}function ie(){c=document.createElement("div"),c.className=H,p=F("ul",null,{className:"m-tag-group"}),m=F("header",c,{className:H+"__header"}),f=F("input",m,{className:H+"__search "+va,type:"text",placeholder:i||"Select up to five",id:e.id,autocomplete:"off"}),_=F("fieldset",c,{className:H+"__fieldset u-invisible","aria-hidden":"true"});let n=H+"__options";o.isAtMaxSelections()&&(n+=" u-max-selections"),x=F("ul",_,{className:n});let l,h,u;for(let k=0,P=s.length;k<P;k++){l=s[k],h=U(l),u=o.getOption(k).checked;let G=F("li",x,{"data-option":l.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});F("input",G,{id:h,type:"checkbox",value:l.value,name:r,class:xa+" "+H+"__checkbox",checked:u,"data-index":k}),F("label",G,{for:h,textContent:l.text,className:H+"__label a-label"}),j.push(G),u&&(d!=null&&d.renderTags)&&$(p,l)}return c.insertBefore(p,m),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function ye(n=vt){if(!M(e))return this;if(Ge())return this;if(S=this,r=e.name||e.id,i=e.getAttribute("placeholder"),s=e.options||[],d=ve(ve({},vt),n),s.length>0){o=new bt(s,r,d).init();let l=ie();e.parentNode.removeChild(e),e=l,M(e),_e()}return this}function xe(){return o}this.init=ye,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=xe,this.updateSelections=oe,this.selectionClickHandler=O,this.selectionKeyDownHandler=N,this}ce.BASE_CLASS=H;ce.init=a=>C(`.${H}`,ce,void 0,a);var Re={};b(Re,{default:()=>Ea});var Ea={};var Ue={};b(Ue,{default:()=>Aa});var Aa={};var Pe={};b(Pe,{default:()=>ja});var ja={};var Xe={};b(Xe,{default:()=>Oa});var Oa={};var Ke={};b(Ke,{default:()=>Ia});var Ia={};var Je={};b(Je,{default:()=>Ma});var Ma={};var Ye={};b(Ye,{default:()=>qa});var qa={};var We={};b(We,{default:()=>Fa});var Fa={};var $e={};b($e,{default:()=>Va});var Va={};var Ze={};b(Ze,{default:()=>Ra});var Ra={};var Qe={};b(Qe,{default:()=>Pa});var Pa={};var et={};b(et,{default:()=>Ka});var Ka={};var tt={};b(tt,{default:()=>Ya});var Ya={};var at={};b(at,{default:()=>$a});var $a={};var ot={};b(ot,{default:()=>Qa});var Qa={};var it={};b(it,{default:()=>to});var to={};var rt={};b(rt,{default:()=>oo});var oo={};var nt={};b(nt,{default:()=>ro});var ro={};var st={};b(st,{default:()=>so});var so={};var lt={};b(lt,{default:()=>co});var co={};function me(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var mo=Object.prototype.toString;var ho=Array.isArray||function(e){return mo.call(e)==="[object Array]"};function Ge(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ee=le+"flyout-menu",po="["+B+"="+ee;function X(a,e=!0){let t=me(a,ee),r=V(a),i=me(a,ee+"_content"),o=0,s=0,d=1,c=2,p=3,m,f,_,x=$.bind(this),j=U.bind(this),S,E=!0,T=!1;function V(n){let l=[],h=n.querySelectorAll(`${po}_trigger]`),u,k,P;for(let G=h.length>>>0;G--;){for(P=!1,u=h[G],k=u.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(ee)!==-1?(P=!0,k=n):k=k.parentElement;P||l.unshift(h[G])}return l}function R(n=!1){return o=n?p:s,r.forEach(l=>{z("expanded",l,n),l.addEventListener("click",y.bind(this)),l.addEventListener("touchstart",g,{passive:!0}),l.addEventListener("mouseover",w.bind(this)),l.addEventListener("mouseout",D.bind(this))}),i.setAttribute("data-open",n?"true":"false"),e&&!n&&i.setAttribute("hidden",""),ie(),this}function z(n,l,h){let u=String(h);return l.setAttribute("aria-"+n,u),u}function g(){T=!0}function w(n){E||(T||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),T=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function y(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),o){case s:case d:this.expand();break;case c:case p:this.collapse();break}}function O(){if(m==null||m.halt(),o===c||o===p)return this;if(o=c,e&&i.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!_)return j(),this;let n=m==null?void 0:m.isAnimated();return n&&m.addEventListener(v.END_EVENT,j),f(),n||j(),this}function N(){if(m==null||m.halt(),o===d||o===s)return this;for(let l=0,h=r.length;l<h;l++)z("expanded",r[l],!1);if(i.setAttribute("data-open","false"),o=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!_||!f)return x(),this;let n=m==null?void 0:m.isAnimated();return n&&m.addEventListener(v.END_EVENT,x),_(),n||x(),this}function U(){o=p,i.setAttribute("data-open","true"),m&&m.removeEventListener(v.END_EVENT,j),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,l=r.length;n<l;n++)z("expanded",r[n],!0)}function $(){o=s,e&&i.setAttribute("hidden",""),m&&m.removeEventListener(v.END_EVENT,x),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function oe(n,l,h){m=n,l&&l!==_&&(_=l),h&&h!==f&&(f=h)}function fe(){m&&m.remove();let n;m=n,f=n,_=n}function _e(){return{container:t,content:i,trigger:r}}function ie(){return E&&(E=!1),!E}function ye(){return E||(E=!0),E}function xe(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=O,this.collapse=N,this.setTransition=oe,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>m,this.getDom=_e,this.isAnimating=()=>o===c||o===d,this.isExpanded=()=>o===p,this.resume=ie,this.setData=xe,this.suspend=ye,X.BASE_CLASS=ee,this}var he={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function wt(a){let e=new A,t=new v(a,he,this);function r(s){return t.init(s),this}function i(){return t.applyClass(he.ALPHA_100),this}function o(){return t.applyClass(he.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=i,this.fadeOut=o,this.init=r,this}wt.CLASSES=he;function v(a,e,t){let r=e,i=a;if(!t)throw new Error("Child transition argument must be defined!");let o=t,s,d,c,p=!1,m=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function _(){d&&p?(i.addEventListener(d,c),o.dispatchEvent(v.BEGIN_EVENT,{target:o,type:v.BEGIN_EVENT}),i.classList.add(v.ANIMATING_CLASS),m=!0):(o.dispatchEvent(v.BEGIN_EVENT,{target:o,type:v.BEGIN_EVENT}),c())}function x(){i.removeEventListener(d,c)}function j(y){return y&&y.propertyName!==r.CSS_PROPERTY?!1:(x(),i.classList.remove(v.ANIMATING_CLASS),o.dispatchEvent(v.END_EVENT,{target:o,type:v.END_EVENT}),m=!1,!0)}function S(){let y;for(y in r)({}).hasOwnProperty.call(r,y)&&r[y]!==r.BASE_CLASS&&i.classList.contains(r[y])&&i.classList.remove(r[y])}function E(){m&&(i.style.webkitTransitionDuration="0",i.style.mozTransitionDuration="0",i.style.oTransitionDuration="0",i.style.transitionDuration="0",i.removeEventListener(d,c),c(),i.style.webkitTransitionDuration="",i.style.mozTransitionDuration="",i.style.oTransitionDuration="",i.style.transitionDuration="")}function T(){E(),S(),i.classList.remove(r.BASE_CLASS)}function V(){i.classList.remove(v.NO_ANIMATION_CLASS),p=!0}function R(){i.classList.add(v.NO_ANIMATION_CLASS),p=!1}function z(y){if(!y){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let O,N={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in N)if({}.hasOwnProperty.call(N,U)&&typeof y.style[U]!="undefined"){O=N[U];break}return O}function g(y){T(),V(),i=y,i.classList.add(r.BASE_CLASS),d=z(i)}function w(y){if(p=!i.classList.contains(v.NO_ANIMATION_CLASS),c=j.bind(this),g(i),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return i.classList.add(y),this}function D(y){return f||(S(),f=!0),i.classList.contains(y)?!1:(x(),i.classList.remove(s),s=y,_(),i.classList.add(s),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=T,this.setElement=g,this}v.BEGIN_EVENT="transitionbegin";v.END_EVENT="transitionend";v.NO_ANIMATION_CLASS="u-no-animation";v.ANIMATING_CLASS="u-is-animating";var te={CSS_PROPERTY:"max-height",BASE_CLASS:"u-max-height-transition",MH_DEFAULT:"u-max-height-default",MH_SUMMARY:"u-max-height-summary",MH_ZERO:"u-max-height-zero"};function I(a){let e=new A,t=new v(a,te,this),r=0;function i(){let _=a.scrollHeight+"px";a.style.maxHeight=_}function o(){window.removeEventListener("load",o),i()}function s(f){return t.init(f),window.addEventListener("load",o),window.addEventListener("resize",()=>{i()}),this}function d(){return i(),t.applyClass(te.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(te.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(te.MH_ZERO),r=a.scrollHeight,this}function m(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=i,this.remove=m,this.init=s,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=te;var K={CSS_PROPERTY:"transform",BASE_CLASS:"u-move-transition",MOVE_TO_ORIGIN:"u-move-to-origin",MOVE_LEFT:"u-move-left",MOVE_LEFT_2X:"u-move-left-2x",MOVE_LEFT_3X:"u-move-left-3x",MOVE_RIGHT:"u-move-right",MOVE_UP:"u-move-up"};function kt(a){let e=new A,t=new v(a,K,this);function r(c){return t.init(c),this}function i(){return t.applyClass(K.MOVE_TO_ORIGIN),this}function o(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function s(){return t.applyClass(K.MOVE_RIGHT),this}function d(){return t.applyClass(K.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>o(1),this.moveLeft2=()=>o(2),this.moveLeft3=()=>o(3),this.moveRight=s,this.moveToOrigin=i,this.moveUp=d,this}kt.CLASSES=K;var dt={};b(dt,{default:()=>go});var go={};var Z="o-expandable";function J(a){let e=q(a,Z),t,r,i,o,s;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),i=e.querySelector(`.${Z}__label`);let m=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=m?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return o=new I(r).init(f),s=new X(e),s.setTransition(o,o.maxHeightZero,o.maxHeightDefault),s.init(m),s.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),s.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return i.textContent.trim()}this.init=d,this.expand=()=>s.expand(),this.collapse=()=>s.collapse(),this.isExpanded=()=>s.isExpanded(),this.refresh=()=>s.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Z;J.init=a=>C(`.${J.BASE_CLASS}`,J,a);var ct={};b(ct,{default:()=>_o});var _o={};var pe="o-expandable-group";function ue(a){let e=q(a,pe),t=e.classList.contains(`${pe}--accordion`),r,i;function o(d){let c=d.target;i&&i!==c&&i.collapse(),i=c}function s(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",o)})),this):this}return this.init=s,this}ue.BASE_CLASS=pe;ue.init=a=>{(a||document).querySelectorAll(`.${pe}`).forEach(r=>{let i=C(`.${J.BASE_CLASS}`,J,r);new ue(r).init(i)})};var mt={};b(mt,{default:()=>xo});var xo={};var Q="o-summary";function be(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),i=e.querySelector(`.${Q}__btn`),o,s,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!x(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(i,"behavior_flyout-menu_trigger"),s=new X(e,!1),o=new I(r),o.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),s.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),s.addEventListener("triggerclick",j),s.init(),_(),window.addEventListener("resize",_),"onorientationchange"in window&&window.addEventListener("orientationchange",_),e.addEventListener("focusin",m),r.addEventListener("click",f)}function m(g){!d&&g.target!==i&&(i.click(),e.removeEventListener("focusin",m))}function f(g){g.target.tagName!=="A"&&s.isExpanded()&&o.refresh()}function _(){x()?R():V()}function x(){return t&&!ke(se)||r.scrollHeight<=88}function j(){s.addEventListener("expandend",S)}function S(){T(),window.removeEventListener("resize",_),window.removeEventListener("orientationchange",_),s.removeEventListener("expandend",S),s.suspend(),o.remove()}function E(){i.classList.remove("u-hidden")}function T(){i.classList.add("u-hidden")}function V(){return d&&(s.collapse(),o.animateOn(),E(),d=!1),!d}function R(){return d||(o.animateOff(),s.expand(),T(),d=!0),d}let z=new A;return this.addEventListener=z.addEventListener,this.removeEventListener=z.removeEventListener,this.dispatchEvent=z.dispatchEvent,this.init=c,this}be.BASE_CLASS=Q;be.init=a=>C(`.${Q}`,be,a);var ae="o-summary-minimal";function ge(a){let e=q(a,ae),t=e.querySelector(`.${ae}__content`),r=e.querySelector(`.${ae}__btn`),i,o;function s(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),o=new X(e,!1),i=new I(t),i.init(I.CLASSES.MH_SUMMARY),o.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),o.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),o.collapse(),i.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&o.isExpanded()&&i.refresh()}let m=new A;return this.addEventListener=m.addEventListener,this.removeEventListener=m.removeEventListener,this.dispatchEvent=m.dispatchEvent,this.init=s,this}ge.BASE_CLASS=ae;ge.init=a=>C(`.${ae}`,ge,a);})();
|
|
2
2
|
//# sourceMappingURL=index.js.map
|