@cfpb/cfpb-design-system 4.0.4 → 4.1.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/CHANGELOG.md +25 -1
- package/dist/base/index.css +1 -1
- package/dist/base/index.css.map +2 -2
- package/dist/base/index.js +1 -1
- package/dist/base/index.js.map +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/cfpb-icons/index.css +1 -1
- package/dist/components/cfpb-icons/index.css.map +2 -2
- package/dist/components/cfpb-icons/index.js +1 -1
- package/dist/components/cfpb-icons/index.js.map +1 -1
- package/dist/components/cfpb-layout/index.css +1 -1
- package/dist/components/cfpb-layout/index.css.map +2 -2
- package/dist/components/cfpb-layout/index.js +1 -1
- package/dist/components/cfpb-layout/index.js.map +1 -1
- package/dist/components/cfpb-notifications/index.css +1 -1
- package/dist/components/cfpb-notifications/index.css.map +2 -2
- package/dist/components/cfpb-notifications/index.js +1 -1
- package/dist/components/cfpb-notifications/index.js.map +1 -1
- package/dist/components/cfpb-pagination/index.css +1 -1
- package/dist/components/cfpb-pagination/index.css.map +2 -2
- package/dist/components/cfpb-pagination/index.js +1 -1
- package/dist/components/cfpb-pagination/index.js.map +1 -1
- package/dist/components/cfpb-tables/index.css +1 -1
- package/dist/components/cfpb-tables/index.css.map +2 -2
- package/dist/components/cfpb-tables/index.js +1 -1
- package/dist/components/cfpb-tables/index.js.map +1 -1
- package/dist/components/cfpb-tooltips/index.css +1 -1
- package/dist/components/cfpb-tooltips/index.css.map +2 -2
- package/dist/components/cfpb-tooltips/index.js +1 -1
- package/dist/components/cfpb-tooltips/index.js.map +1 -1
- package/dist/components/cfpb-typography/index.css +1 -1
- package/dist/components/cfpb-typography/index.css.map +2 -2
- package/dist/components/cfpb-typography/index.js +1 -1
- package/dist/components/cfpb-typography/index.js.map +1 -1
- package/dist/elements/cfpb-button/index.js +12 -4
- package/dist/elements/cfpb-button/index.js.map +4 -4
- package/dist/elements/cfpb-file-upload/index.js +11 -4
- package/dist/elements/cfpb-file-upload/index.js.map +4 -4
- package/dist/elements/cfpb-form-choice/index.js +11 -3
- package/dist/elements/cfpb-form-choice/index.js.map +4 -4
- package/dist/elements/cfpb-label/index.js +36 -0
- package/dist/elements/cfpb-label/index.js.map +7 -0
- package/dist/elements/cfpb-multiselect/index.js +13 -4
- package/dist/elements/cfpb-multiselect/index.js.map +4 -4
- package/dist/elements/cfpb-tag-filter/index.js +2 -2
- package/dist/elements/cfpb-tag-filter/index.js.map +2 -2
- package/dist/elements/cfpb-tag-group/index.js +2 -2
- package/dist/elements/cfpb-tag-group/index.js.map +2 -2
- package/dist/elements/cfpb-tag-topic/index.js +3 -3
- package/dist/elements/cfpb-tag-topic/index.js.map +2 -2
- package/dist/elements/index.js +14 -5
- package/dist/elements/index.js.map +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js +14 -5
- package/dist/index.js.map +4 -4
- 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 +1 -1
- package/package.json +1 -1
- package/src/abstracts/heading-mixins.scss +6 -0
- package/src/abstracts/vars.scss +23 -0
- package/src/base/base.scss +1 -1
- package/src/elements/cfpb-button/cfpb-button.component.scss +8 -0
- package/src/elements/cfpb-button/index.js +100 -17
- package/src/elements/cfpb-file-upload/index.js +1 -1
- package/src/elements/cfpb-form-choice/cfpb-form-choice.component.scss +6 -1
- package/src/elements/cfpb-form-choice/index.js +62 -29
- package/src/elements/cfpb-form-choice/index.spec.js +47 -0
- package/src/elements/cfpb-label/cfpb-label.component.scss +36 -0
- package/src/elements/cfpb-label/index.js +61 -0
- package/src/elements/cfpb-multiselect/cfpb-multiselect.component.scss +225 -0
- package/src/elements/cfpb-multiselect/index.js +444 -0
- package/src/elements/cfpb-multiselect/multiselect-model.js +288 -0
- package/src/elements/cfpb-multiselect/multiselect-model.spec.js +236 -0
- package/src/elements/cfpb-tag-filter/index.js +1 -1
- package/src/elements/cfpb-tag-filter/index.spec.js +1 -1
- package/src/elements/cfpb-tag-group/index.js +2 -1
- package/src/elements/cfpb-tag-topic/index.js +6 -0
- package/src/elements/index.js +2 -0
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../packages/cfpb-design-system/src/abstracts/vars-breakpoints.js", "../../../packages/cfpb-design-system/src/base/normalize.scss", "../../../packages/cfpb-design-system/src/base/base.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button-link.scss", "../../../packages/cfpb-design-system/src/utilities/utilities.scss", "../../../packages/cfpb-design-system/src/utilities/breakpoint-state.js", "../../../packages/cfpb-design-system/src/utilities/standard-type.js", "../../../packages/cfpb-design-system/src/utilities/event-observer.js", "../../../packages/cfpb-design-system/src/utilities/data-hook.js", "../../../packages/cfpb-design-system/src/utilities/atomic-helpers.js", "../../../packages/cfpb-design-system/src/utilities/behavior/behavior.js", "../../../packages/cfpb-design-system/src/utilities/type-checkers.js", "../../../packages/cfpb-design-system/src/utilities/media-helpers.js", "../../../packages/cfpb-design-system/src/utilities/transition/base-transition.js", "../../../packages/cfpb-design-system/src/utilities/behavior/flyout-menu.js", "../../../packages/cfpb-design-system/src/utilities/transition/alpha-transition.js", "../../../packages/cfpb-design-system/src/utilities/transition/max-height-transition.js", "../../../packages/cfpb-design-system/src/utilities/transition/move-transition.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable-group.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary-minimal.js", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form-alert.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form-field.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/label.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/range.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/search-input.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/select.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/tag.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/text-input.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect-model.js", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect-utils.js", "../../../packages/cfpb-design-system/src/components/cfpb-icons/icons/error.svg", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect.js", "../../../packages/cfpb-design-system/src/components/cfpb-icons/icon.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/card.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/card-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/email-signup.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/featured-content-module.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/hero.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/layout.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/text-introduction.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/well.scss", "../../../packages/cfpb-design-system/src/components/cfpb-notifications/banner.scss", "../../../packages/cfpb-design-system/src/components/cfpb-notifications/notification.scss", "../../../packages/cfpb-design-system/src/components/cfpb-pagination/pagination.scss", "../../../packages/cfpb-design-system/src/components/cfpb-tables/table.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/date.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/link.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/list.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/meta-header.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/pull-quote.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/slug-header.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/tagline.scss", "../../../node_modules/@lit/reactive-element/src/css-tag.ts", "../../../node_modules/@lit/reactive-element/src/reactive-element.ts", "../../../node_modules/lit-html/src/lit-html.ts", "../../../node_modules/lit-element/src/lit-element.ts", "../../../packages/cfpb-design-system/src/elements/cfpb-button/cfpb-button.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-form-choice/cfpb-form-choice.component.scss", "", "../../../node_modules/lit-html/src/directive-helpers.ts", "../../../node_modules/lit-html/src/directive.ts", "../../../node_modules/lit-html/src/
|
|
4
|
-
"sourcesContent": ["/* ==========================================================================\n Design System\n Breakpoint JavaScript variables.\n All values are pixel based.\n\n NOTE: If any of the values in this file are adjusted,\n they need to be adjusted in vars-breakpoints.scss as well.\n ========================================================================== */\n\nexport const varsBreakpoints = {\n bpXS: {\n min: 0,\n max: 600,\n },\n bpSM: {\n min: 601,\n max: 900,\n },\n bpMED: {\n min: 901,\n max: 1020,\n },\n bpLG: {\n min: 1021,\n max: 1200,\n },\n bpXL: {\n min: 1201,\n },\n};\n", "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{align-items:center;appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:\"\";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-btn-group{align-items:center;display:flex;flex-wrap:wrap;gap:.9375rem;width:fit-content}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-btn--link{border-radius:0;padding:1.5px 0;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-thickness:1px;text-underline-offset:4.5px}.a-btn--link:has(svg){gap:.3125rem}.a-btn--link:has(svg):before{display:none}.a-btn--link,.a-btn--link:link,.a-btn--link:visited{background-color:transparent;color:var(--pacific);text-decoration-color:var(--pacific)}.a-btn--link.hover,.a-btn--link:hover{background-color:transparent;color:var(--pacific-dark);text-decoration-color:var(--pacific-dark);text-decoration-style:solid}.a-btn--link.focus,.a-btn--link:focus{background-color:transparent;color:var(--pacific);outline:1px dotted var(--pacific);text-decoration-style:solid}.a-btn--link.active,.a-btn--link:active{background-color:transparent;color:var(--navy);text-decoration-color:var(--navy);text-decoration-style:solid}.a-btn--link.a-btn--warning,.a-btn--link.a-btn--warning:link,.a-btn--link.a-btn--warning:visited{background-color:transparent;color:var(--red-mid-dark);text-decoration-color:var(--red-mid-dark)}.a-btn--link.a-btn--warning.hover,.a-btn--link.a-btn--warning:hover{background-color:transparent;color:var(--red-dark);text-decoration-color:var(--red-dark);text-decoration-style:solid}.a-btn--link.a-btn--warning.focus,.a-btn--link.a-btn--warning:focus{background-color:transparent;color:var(--red-mid-dark);outline:1px dotted var(--red-mid-dark);text-decoration-style:solid}.a-btn--link.a-btn--warning.active,.a-btn--link.a-btn--warning:active{background-color:transparent;color:var(--gray-dark);text-decoration-color:var(--gray-dark);text-decoration-style:solid}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}", "/* ==========================================================================\n Get Breakpoint State\n ========================================================================== */\n\nimport { varsBreakpoints } from '../abstracts/vars-breakpoints.js';\n\n/**\n * @returns {number} The base font size set on the body element.\n */\nfunction _getBodyBaseFontSize() {\n let fontSize = getComputedStyle(document.body).fontSize;\n fontSize = fontSize === '' ? -1 : fontSize;\n return parseFloat(fontSize);\n}\n\n/**\n * @param {object} breakpointRange - Object containing breakpoint constants.\n * For example, for `bpXS` the value `{ min: 0, max: 600 }` would be passed.\n * @param {number} width - Current window width.\n * @returns {boolean} Whether the passed width is within a breakpoint range.\n */\nfunction _inBreakpointRange(breakpointRange, width) {\n let breakpointRangeMin = breakpointRange.min;\n let breakpointRangeMax = breakpointRange.max;\n\n // Whether the user has set a custom size for the font in their browser.\n const useEmsConversation =\n _getBodyBaseFontSize() > 0 && _getBodyBaseFontSize() !== 16;\n if (useEmsConversation) {\n /* 16 = base font size without adjustments.\n The CSS converts breakpoints to ems, which then change the width of the\n pixel width of the breakpoint. In JavaScript, the breakpoints are defined\n in pixels, so we first convert them to ems using the 16px base font size\n and then multiply them by any adjustments set by customizations of the\n font size in the user's browser. */\n breakpointRangeMin = (breakpointRangeMin / 16) * _getBodyBaseFontSize();\n breakpointRangeMax = (breakpointRangeMax / 16) * _getBodyBaseFontSize();\n }\n\n const min = breakpointRangeMin || 0;\n const max = breakpointRangeMax || Number.POSITIVE_INFINITY;\n\n return min <= width && width <= max;\n}\n\n/**\n * @param {number} width - Current window width.\n * @returns {object} An object literal with boolean\n * bpXS, bpSM, bpMED, bpLG, bpXL properties.\n */\nfunction getBreakpointState(width) {\n const breakpointState = {};\n width = width || window.innerWidth;\n\n let rangeKey;\n\n for (rangeKey in varsBreakpoints) {\n breakpointState[rangeKey] = _inBreakpointRange(\n varsBreakpoints[rangeKey],\n width,\n );\n }\n\n return breakpointState;\n}\n\n// Constants for breakpoint groupings.\nconst MOBILE = 'mobile';\nconst TABLET = 'tablet';\nconst DESKTOP = 'desktop';\n\n/**\n * Checks whether the current breakpoint is in a particular breakpoint group.\n * @param {string} breakpointGroup - Breakpoint group names.\n * @returns {boolean} True if in the breakpoint group, otherwise false.\n */\nfunction viewportIsIn(breakpointGroup) {\n let response = false;\n const currentBreakpoint = getBreakpointState();\n\n if (\n (breakpointGroup === MOBILE && currentBreakpoint.bpXS) ||\n (breakpointGroup === TABLET && currentBreakpoint.bpSM) ||\n (breakpointGroup === DESKTOP &&\n (currentBreakpoint.bpMED ||\n currentBreakpoint.bpLG ||\n currentBreakpoint.bpXL))\n ) {\n response = true;\n }\n\n return response;\n}\n\n// Expose public methods.\nexport { MOBILE, TABLET, DESKTOP, getBreakpointState, viewportIsIn };\n", "/**\n * @constant\n * @type {string}\n * @description\n * Constant for the name of the data-* attribute set on\n * HTML DOM elements for access by JavaScript.\n */\nconst JS_HOOK = 'data-js-hook';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag prefix for settings that describe what JavaScript\n * behaviors should be attached to a component.\n * This would be set in the markup and initialized when\n * the JavaScript loads.\n * @example\n * A component may flag that it has certain JavaScript behaviors attached,\n * such as:\n * `data-js-hook=\"behavior_flyout-menu behavior_clearable-input\"`,\n * which defines that two scripts (FlyoutMenu) and (ClearableInput)\n * should access this DOM element and initialize its behaviors.\n */\nconst BEHAVIOR_PREFIX = 'behavior_';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag prefix for settings related to changes in a components\n * state set in the data-* JavaScript hook.\n * @example\n * A component may flag that it has been initialized by setting\n * `data-js-hook=\"state_atomic_init\"` after page load.\n * Which specifies that the init method of a atomic constructor\n * has been called, such as\n * `var globalSearch = new GlobalSearch( 'm-global-search' ).init()`.\n */\nconst STATE_PREFIX = 'state_';\n\nexport { JS_HOOK, BEHAVIOR_PREFIX, STATE_PREFIX };\n", "/**\n * EventObserver\n * @class\n * @classdesc Used to create an object\n * that can dispatch and listen to custom events.\n * @returns {object} An EventObserver instance.\n */\nfunction EventObserver() {\n // The events registered on this instance.\n const _events = {};\n\n /**\n * Register an event listener.\n * @param {string} event - The event name to listen for.\n * @param {Function} callback - The function called when the event has fired.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function addEventListener(event, callback) {\n if ({}.hasOwnProperty.call(_events, event)) {\n _events[event].push(callback);\n } else {\n _events[event] = [callback];\n }\n\n return this;\n }\n\n /**\n * Remove an added event listener.\n * Must match a call made to addEventListener.\n * @param {string} event - The event name to remove.\n * @param {Function} callback - The function attached to the event.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function removeEventListener(event, callback) {\n if (!{}.hasOwnProperty.call(_events, event)) {\n return this;\n }\n\n const index = _events[event].indexOf(callback);\n // Check if there are any callbacks associated with a particular event.\n if (index !== -1) {\n _events[event].splice(index, 1);\n }\n\n return this;\n }\n\n /**\n * Broadcast an event.\n * @param {string} event - The type of event to broadcast.\n * @param {object} options - The event object to pass to the event handler.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function dispatchEvent(event, options) {\n if (!{}.hasOwnProperty.call(_events, event)) {\n return this;\n }\n\n options = options || {};\n\n const evts = _events[event];\n for (let i = 0, len = evts.length; i < len; i++) {\n evts[i].call(this, options);\n }\n\n return this;\n }\n\n this.addEventListener = addEventListener;\n this.removeEventListener = removeEventListener;\n this.dispatchEvent = dispatchEvent;\n this.getRegisteredEvents = () => _events;\n\n return this;\n}\n\nexport { EventObserver };\n", "import { JS_HOOK } from './standard-type.js';\n\n/**\n * @param {HTMLElement} element - DOM element.\n * @param {string} value - Value to check as existing as a JS data-* hook value.\n * @returns {boolean} True if the data-* hook value exists, false otherwise.\n */\nfunction contains(element, value) {\n if (!element) {\n return false;\n }\n let values = element.getAttribute(JS_HOOK);\n // If JS data-* hook is not set return immediately.\n if (!values) {\n return false;\n }\n values = values.split(' ');\n\n return values.indexOf(value) > -1 ? true : false;\n}\n\n/**\n * @param {HTMLElement} element - DOM element.\n * @param {string} value - Value to add to the element's JS data-* hook.\n * @returns {string} The value that was added.\n * @throws {Error} If supplied value contains a space,\n * meaning it would be two values, which is likely a typo.\n */\nfunction add(element, value) {\n if (contains(element, value)) return value;\n\n if (value.indexOf(' ') !== -1) {\n const msg = JS_HOOK + ' values cannot contain spaces!';\n throw new Error(msg);\n }\n\n const values = element.getAttribute(JS_HOOK);\n if (values !== null) {\n value = values + ' ' + value;\n }\n element.setAttribute(JS_HOOK, value);\n\n return value;\n}\n\nexport { add, contains };\n", "/* ==========================================================================\n Atomic Helpers.\n Utilities for helping validate atomic design element architecture.\n In descending order of scope, atomic components are:\n - Page\n - Template\n - Organism\n - Molecule\n - Atom\n ========================================================================= */\n\nimport { add, contains } from './data-hook.js';\nimport { STATE_PREFIX } from './standard-type.js';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag that gets set on an atomic component after its .init()\n * method has been called. This is used so that an atomic\n * component won't get initialized a second time after it\n * has already been initialized.\n */\nconst INIT_FLAG = STATE_PREFIX + 'atomic_init';\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search for\n * the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If DOM element passed into the atomic element is not valid.\n */\nfunction _verifyElementExists(element, baseClass) {\n if (!element || !element.classList) {\n const msg =\n element +\n ' is not valid. ' +\n 'Check that element is a DOM node with class \"' +\n baseClass +\n '\"';\n throw new Error(msg);\n }\n\n return element;\n}\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search\n * for the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If baseClass was not found on the element.\n */\nfunction _verifyClassExists(element, baseClass) {\n const dom = element.classList.contains(baseClass)\n ? element\n : element.querySelector('.' + baseClass);\n if (!dom) {\n const msg = baseClass + ' not found on or in passed DOM node.';\n throw new Error(msg);\n }\n\n return dom;\n}\n\n/**\n * Check that a particular element passed into the constructor of\n * an atomic component exists and that the correct atomic class\n * is present on the element.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If DOM element passed into the atomic element is not valid.\n */\nfunction checkDom(element, baseClass) {\n _verifyElementExists(element, baseClass);\n const dom = _verifyClassExists(element, baseClass);\n\n return dom;\n}\n\n/**\n * Set a flag on an atomic component when it is initialized.\n * Use the returned boolean to handle cases where an atomic component\n * is initializing when it has already been initialized elsewhere.\n * @param {HTMLElement} element - The DOM element for the atomic component.\n * @returns {boolean} True if the init data-js-* hook attribute was set,\n * false otherwise.\n */\nfunction setInitFlag(element) {\n if (contains(element, INIT_FLAG)) {\n return false;\n }\n\n add(element, INIT_FLAG);\n\n return true;\n}\n\n/**\n * @param {string} selector - Selector to search for in the document.\n * @param {Function} Constructor - A constructor function.\n * @param {HTMLElement} [scope] - A dom node in which to query the selector.\n * If not supplied, it defaults to the `document`.\n * @param {object} config - Configuration will be provided to the Constructor's init()\n * @returns {Array} List of instances that were instantiated.\n */\nfunction instantiateAll(selector, Constructor, scope, config = {}) {\n const base = scope || document;\n const elements = base.querySelectorAll(selector);\n const insts = [];\n let inst;\n let element;\n for (let i = 0, len = elements.length; i < len; i++) {\n element = elements[i];\n if (contains(element, INIT_FLAG) === false) {\n inst = new Constructor(element);\n inst.init(config);\n insts.push(inst);\n }\n }\n return insts;\n}\n\n// Expose public methods.\nexport { checkDom, instantiateAll, setInitFlag };\n", "/* ==========================================================================\n Dom Behaviors\n Behaviors are functionality that can be shared between different pieces\n of markup. They are not strictly atomic, though they likely are used\n on atomic components. An example of shared behavior may be a menu that\n expands and collapses and sets the aria-expanded attribute on the HTML.\n Or an input field that can be cleared by clicking an (x) button in the\n input. These are both behaviors that may appear in different parts of\n the codebase, but could share the same functionality.\n Behaviors are added through the `data-js-hook` attribute on the HTML\n and have a prefix of `behavior_`\n (both those designators are set in modules/util/standard-type.js).\n For example, `behaviors/FlyoutMenu.js` defines the behavior of\n expanding and collapsing an expandable menu. At a minimum, three things\n need to be defined: (A) The containing scope of the menu, (B) the trigger\n to activate the menu, and (C) the content to show/hide when the trigger\n is clicked. So the markup looks something like:\n <div data-js-hook=\"behavior_flyout-menu\">\n <button data-js-hook=\"behavior_flyout-menu_trigger\">\n <div data-js-hook=\"behavior_flyout-menu_content\">\u2026</div>\n </div>\n ========================================================================== */\n\nimport { BEHAVIOR_PREFIX, JS_HOOK } from '../standard-type.js';\nimport { contains } from '../data-hook.js';\n\n/**\n * @param {string} behaviorSelector - Behavior type used to find the element\n * within the dom.\n * @param {HTMLElement} baseElement - Containing element for the behavior element.\n * @returns {Array|NodeList} behaviorElements if it exists in the dom,\n * null otherwise.\n */\nfunction _findElements(behaviorSelector, baseElement) {\n baseElement = baseElement || document;\n let behaviorElements = [];\n\n try {\n behaviorElements = baseElement.querySelectorAll(behaviorSelector);\n } catch (error) {\n const msg = `${behaviorSelector} not found in DOM! ${error}`;\n throw new Error(msg);\n }\n\n if (\n behaviorElements.length === 0 &&\n behaviorSelector.indexOf(BEHAVIOR_PREFIX) === -1\n ) {\n behaviorElements = behaviorFind(behaviorSelector, baseElement);\n }\n\n return behaviorElements;\n}\n\n/**\n * @param {( string|HTMLElement|Array|NodeList )} behaviorElement - Used to\n * query dom for elements.\n * @param {string} event - Event type to add to element.\n * @param {Function} eventHandler - Callback for event.\n * @param {HTMLElement} baseElement - Containing element\n * for the behavior element.\n * @returns {Array|NodeList} if it exists in the dom, null otherwise.\n */\nfunction behaviorAttach(behaviorElement, event, eventHandler, baseElement) {\n let behaviorElements = [];\n\n if (behaviorElement instanceof NodeList === true) {\n behaviorElements = behaviorElement;\n } else if (behaviorElement instanceof Node === true) {\n behaviorElements = [behaviorElement];\n } else if (typeof behaviorElement === 'string') {\n behaviorElements = _findElements(behaviorElement, baseElement);\n }\n\n for (let i = 0, len = behaviorElements.length; i < len; i++) {\n behaviorElements[i].addEventListener(event, eventHandler, false);\n }\n\n return behaviorElements;\n}\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search\n * for the behavior in the data-js-hook attribute.\n * @param {string} behaviorDataAttr - The value in the data-js-hook.\n * This is the name of the behavior.\n * E.g. `behavior_flyout-menu`, `behavior_flyout-menu_content`.\n * @returns {HTMLElement} The DOM element that has an attached behavior.\n * @throws {Error} If data-js-hook attribute value was not found on DOM element.\n */\nfunction checkBehaviorDom(element, behaviorDataAttr) {\n // Check that the behavior is found on the passed DOM node.\n let dom;\n\n if (contains(element, behaviorDataAttr)) {\n dom = element;\n return dom;\n }\n\n /* If the passed DOM node isn't null,\n query the node to see if it's in the children. */\n if (element) {\n const selector = '[' + JS_HOOK + '=' + behaviorDataAttr + ']';\n dom = element.querySelector(selector);\n }\n\n if (!dom) {\n const msg = behaviorDataAttr + ' behavior not found on passed DOM node!';\n throw new Error(msg);\n }\n\n return dom;\n}\n\n/**\n * @param {string} behaviorSelector - Behavior type used to find\n * the element within the dom.\n * @param {HTMLElement} baseElement - Containing element\n * for the behavior element.\n * @returns {NodeList} if it exists in the dom, null otherwise.\n */\nfunction behaviorFind(behaviorSelector, baseElement) {\n behaviorSelector = JS_HOOK + '*=' + BEHAVIOR_PREFIX + behaviorSelector;\n behaviorSelector = '[' + behaviorSelector + ']';\n\n return _findElements(behaviorSelector, baseElement);\n}\n\n// Expose public methods.\nexport { behaviorAttach, checkBehaviorDom, behaviorFind };\n", "/* ==========================================================================\n Javascript Type Checkers\n\n Various utility functions to check Javascript types and primitives.\n\n Contains code copied from with moderate modifications:\n\n https://github.com/angular/angular.js/blob/master/src/Angular.js.\n Copyright (c) 2010-2015 Google, Inc. http://angularjs.org\n\n ========================================================================== */\n\nconst _toString = Object.prototype.toString;\n\n/**\n * @name isUndefined\n * @kind function\n * @description\n * Determines if a reference is undefined.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is undefined.\n */\nfunction isUndefined(value) {\n return typeof value === 'undefined';\n}\n\n/**\n * @name isDefined\n * @kind function\n * @description\n * Determines if a reference is defined.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is defined.\n */\nfunction isDefined(value) {\n return typeof value !== 'undefined';\n}\n\n/**\n * @name isObject\n * @kind function\n * @description\n * Determines if a reference is an `Object`.\n * Unlike `typeof` in JavaScript, `null`s are not\n * considered to be objects. Note that JavaScript arrays are objects.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is an `Object` but not `null`.\n */\nfunction isObject(value) {\n // http://jsperf.com/isobject4\n return value !== null && typeof value === 'object';\n}\n\n/**\n * @name isString\n * @kind function\n * @description\n * Determines if a reference is a `String`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `String`.\n */\nfunction isString(value) {\n return _toString.call(value) === '[object String]';\n}\n\n/**\n * @name isNumber\n * @kind function\n * @description\n * Determines if a reference is a `Number`.\n *\n * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n *\n * If you wish to exclude these then you can use the native\n * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/\n * Reference/Global_Objects/isFinite)\n * method.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Number`.\n */\nfunction isNumber(value) {\n return _toString.call(value) === '[object Number]';\n}\n\n/**\n * @name isDate\n * @kind function\n * @description\n * Determines if a value is a date.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Date`.\n */\nfunction isDate(value) {\n return _toString.call(value) === '[object Date]';\n}\n\n/**\n * @name isArray\n * @kind function\n * @description\n * Determines if a reference is an `Array`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is an `Array`.\n */\nconst isArray =\n Array.isArray ||\n function isArray(value) {\n return _toString.call(value) === '[object Array]';\n };\n\n/**\n * @name isFunction\n * @kind function\n * @description\n * Determines if a reference is a `Function`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Function`.\n */\nfunction isFunction(value) {\n return _toString.call(value) === '[object Function]';\n}\n\n// TODO Fix complexity issue\n\n/**\n * @name isEmpty\n * @kind function\n * @description\n * Determines if a reference is empty.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is empty.\n */\nfunction isEmpty(value) {\n return (\n isUndefined(value) ||\n value === null ||\n (isString(value) && value.length <= 0) ||\n /^\\s*$/.test(value)\n );\n}\n\n// Expose public methods.\nexport {\n isUndefined,\n isDefined,\n isObject,\n isString,\n isNumber,\n isDate,\n isArray,\n isFunction,\n isEmpty,\n};\n", "/* ==========================================================================\n Media Helpers.\n Utilities for working with different screen sizes and operating systems.\n ========================================================================= */\n\n/**\n * Query the browser's user agent string to see if it's on a mobile OS.\n * @returns {boolean} True if on a mobile user agent, false otherwise.\n */\nfunction isMobileUserAgent() {\n const regex = new RegExp(\n /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i,\n );\n if (regex.test(navigator.userAgent)) {\n return true;\n }\n return false;\n}\n\n// Expose public methods.\nexport { isMobileUserAgent };\n", "import * as TransitionStyles from './transition.scss';\n\n/**\n * BaseTransition\n * @class\n * @classdesc Initializes new BaseTransition behavior.\n * This shouldn't be used directly, but instead should be\n * the base class used through composition by a specific transition.\n * @param {HTMLElement} element - DOM element to apply transition to.\n * @param {object} classes - The classes to apply to this transition.\n * @param {object} child - The child transition using this as a base.\n * @returns {BaseTransition} An instance.\n */\nfunction BaseTransition(element, classes, child) {\n const _classes = classes;\n let _dom = element;\n if (!child) throw new Error('Child transition argument must be defined!');\n const _child = child;\n\n let _lastClass;\n let _transitionEndEvent;\n let _transitionCompleteBinded;\n\n let _isAnimated = false;\n let _isAnimating = false;\n let _isFlushed = false;\n\n // Make sure required attributes are passed in.\n if (\n typeof _classes.CSS_PROPERTY === 'undefined' ||\n typeof _classes.BASE_CLASS === 'undefined'\n ) {\n throw new Error(\n 'Transitions require CSS_PROPERTY and BASE_CLASS ' +\n 'to be passed into BaseTransition.',\n );\n }\n\n /**\n * Add an event listener to the transition, or call the transition\n * complete handler immediately if the transition is not supported.\n */\n function _addEventListener() {\n /*\n If transition is supported and the animation is animated,\n listen for transition end event, otherwise call the handler directly.\n Some browsers (e.g. IE9/OperaMini) do not support transitionend event.\n If \"transition-duration: 0s\" is set, transitionEnd event will not\n fire, so we need to call the handler straight away.\n */\n if (_transitionEndEvent && _isAnimated) {\n _dom.addEventListener(_transitionEndEvent, _transitionCompleteBinded);\n _child.dispatchEvent(BaseTransition.BEGIN_EVENT, {\n target: _child,\n type: BaseTransition.BEGIN_EVENT,\n });\n\n _dom.classList.add(BaseTransition.ANIMATING_CLASS);\n _isAnimating = true;\n } else {\n _child.dispatchEvent(BaseTransition.BEGIN_EVENT, {\n target: _child,\n type: BaseTransition.BEGIN_EVENT,\n });\n _transitionCompleteBinded();\n }\n }\n\n /**\n * Remove an event listener to the transition.\n */\n function _removeEventListener() {\n _dom.removeEventListener(_transitionEndEvent, _transitionCompleteBinded);\n }\n\n /**\n * Handle the end of a transition.\n * @param {TransitionEvent} evt - Transition event object.\n * @returns {boolean} True if transition was cleaned up,\n * false if an outside transitioning property triggered this event handler.\n */\n function _transitionComplete(evt) {\n if (evt && evt.propertyName !== _classes.CSS_PROPERTY) {\n return false;\n }\n\n _removeEventListener();\n _dom.classList.remove(BaseTransition.ANIMATING_CLASS);\n _child.dispatchEvent(BaseTransition.END_EVENT, {\n target: _child,\n type: BaseTransition.END_EVENT,\n });\n _isAnimating = false;\n return true;\n }\n\n /**\n * Search for and remove initial BaseTransition classes that have\n * already been applied to this BaseTransition's target element.\n */\n function _flush() {\n let prop;\n for (prop in _classes) {\n if (\n {}.hasOwnProperty.call(_classes, prop) &&\n _classes[prop] !== _classes.BASE_CLASS &&\n _dom.classList.contains(_classes[prop])\n ) {\n _dom.classList.remove(_classes[prop]);\n }\n }\n }\n\n /**\n * Halt an in-progress animation and call the complete event immediately.\n */\n function halt() {\n if (!_isAnimating) {\n return;\n }\n _dom.style.webkitTransitionDuration = '0';\n _dom.style.mozTransitionDuration = '0';\n _dom.style.oTransitionDuration = '0';\n _dom.style.transitionDuration = '0';\n _dom.removeEventListener(_transitionEndEvent, _transitionCompleteBinded);\n _transitionCompleteBinded();\n _dom.style.webkitTransitionDuration = '';\n _dom.style.mozTransitionDuration = '';\n _dom.style.oTransitionDuration = '';\n _dom.style.transitionDuration = '';\n }\n\n /**\n * Remove all transition classes, if transition is initialized.\n */\n function remove() {\n halt();\n _flush();\n _dom.classList.remove(_classes.BASE_CLASS);\n }\n\n /**\n * Add a \"transition-duration: 0s\" utility CSS class.\n */\n function animateOn() {\n _dom.classList.remove(BaseTransition.NO_ANIMATION_CLASS);\n _isAnimated = true;\n }\n\n /**\n * Remove a \"transition-duration: 0s\" utility CSS class.\n */\n function animateOff() {\n _dom.classList.add(BaseTransition.NO_ANIMATION_CLASS);\n _isAnimated = false;\n }\n\n /**\n * @param {HTMLElement} elem - The element to check\n * for support of transition end event.\n * @returns {string} The browser-prefixed transition end event.\n */\n function _getTransitionEndEvent(elem) {\n if (!elem) {\n const msg = 'Element does not have TransitionEnd event. It may be null!';\n throw new Error(msg);\n }\n\n let transition;\n const transitions = {\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'transitionend',\n OTransition: 'oTransitionEnd otransitionend',\n transition: 'transitionend',\n };\n\n let transitionEvent;\n for (transitionEvent in transitions) {\n if (\n {}.hasOwnProperty.call(transitions, transitionEvent) &&\n typeof elem.style[transitionEvent] !== 'undefined'\n ) {\n transition = transitions[transitionEvent];\n break;\n }\n }\n return transition;\n }\n\n /**\n * Set the HTML element target of this transition.\n * @param {HTMLElement} targetElement - The target of the transition.\n */\n function setElement(targetElement) {\n // Clear the transition classes from the old element.\n remove();\n animateOn();\n\n _dom = targetElement;\n _dom.classList.add(_classes.BASE_CLASS);\n _transitionEndEvent = _getTransitionEndEvent(_dom);\n }\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {BaseTransition} An instance.\n */\n function init(initialClass) {\n _isAnimated = !_dom.classList.contains(BaseTransition.NO_ANIMATION_CLASS);\n _transitionCompleteBinded = _transitionComplete.bind(this);\n setElement(_dom);\n if (!initialClass) {\n throw new Error(\n 'Transition needs to be passed an initial CSS class on initialization!',\n );\n }\n _dom.classList.add(initialClass);\n\n return this;\n }\n\n /**\n * @param {string} className - A CSS class.\n * @returns {boolean} False if the class is already applied,\n * otherwise true if the class was applied.\n */\n function applyClass(className) {\n if (!_isFlushed) {\n _flush();\n _isFlushed = true;\n }\n\n if (_dom.classList.contains(className)) {\n return false;\n }\n\n _removeEventListener();\n _dom.classList.remove(_lastClass);\n _lastClass = className;\n _addEventListener();\n _dom.classList.add(_lastClass);\n\n return true;\n }\n\n // Attach public events.\n this.animateOff = animateOff;\n this.animateOn = animateOn;\n this.applyClass = applyClass;\n this.halt = halt;\n this.init = init;\n this.isAnimated = () => _isAnimated;\n this.remove = remove;\n this.setElement = setElement;\n\n return this;\n}\n\n// Public static constants.\nBaseTransition.BEGIN_EVENT = 'transitionbegin';\nBaseTransition.END_EVENT = 'transitionend';\nBaseTransition.NO_ANIMATION_CLASS = 'u-no-animation';\nBaseTransition.ANIMATING_CLASS = 'u-is-animating';\n\nexport { BaseTransition, TransitionStyles };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\nimport { checkBehaviorDom } from '../behavior/behavior.js';\nimport { BEHAVIOR_PREFIX, JS_HOOK } from '../standard-type.js';\n\nconst BASE_CLASS = BEHAVIOR_PREFIX + 'flyout-menu';\nconst SEL_PREFIX = '[' + JS_HOOK + '=' + BASE_CLASS;\n\n/**\n * FlyoutMenu\n * @class\n * @classdesc Initializes new FlyoutMenu behavior.\n * Behaviors are functionality that can be shared between different pieces\n * of markup. They are not strictly atomic, though they likely are used\n * on atomic components.\n * As added JS behavior, this is added through HTML data-js-hook attributes.\n *\n * Structure is:\n * behavior_flyout-menu\n * behavior_flyout-menu_trigger\n * behavior_flyout-menu_content\n * behavior_flyout-menu_trigger (optional)\n *\n * The second trigger is optional and may be used for a button in the content\n * area, which may obscure the first trigger.\n * The flyout can be triggered through a click of either trigger.\n * @param {HTMLElement} element - The DOM element to attach FlyoutMenu behavior.\n * @param {boolean} autoHideContent - Whether to add `hidden` attribute to\n * content when it is collapsed.\n * @returns {FlyoutMenu} An instance.\n */\nfunction FlyoutMenu(element, autoHideContent = true) {\n // Verify that the expected dom attributes are present.\n const _dom = checkBehaviorDom(element, BASE_CLASS);\n const _triggerDoms = _findTriggers(element);\n const _contentDom = checkBehaviorDom(element, BASE_CLASS + '_content');\n\n // Flyouts appear in one of four states.\n let _state = 0;\n const COLLAPSED = 0;\n const COLLAPSING = 1;\n const EXPANDING = 2;\n const EXPANDED = 3;\n\n let _transition;\n let _expandTransitionMethod;\n let _collapseTransitionMethod;\n\n // Binded events.\n // Needed to add and remove events to transitions.\n const _collapseEndBinded = _collapseEnd.bind(this);\n const _expandEndBinded = _expandEnd.bind(this);\n\n /* If this menu appears in a data source,\n this can be used to store the source.\n Examples include the index in an Array,\n a key in an Hash, or a node in a Tree. */\n let _data;\n\n // Whether this instance's behaviors are suspended or not.\n let _suspended = true;\n\n /* Event immediately preceeding mouseover is touchstart,\n if that event's present we'll want to ignore mouseover\n to avoid a mouseover and click immediately after each other. */\n let _touchTriggered = false;\n\n /**\n * Iterate over dom tree and find FlyoutMenu triggers.\n * We need to exclude the ones that are nested FlyoutMenus, since those\n * will be managed by their own instance of this class.\n * @param {HTMLElement} element - The DOM element to search for triggers within.\n * @returns {Array} List of trigger DOM references within this FlyoutMenu.\n */\n function _findTriggers(element) {\n const triggersList = [];\n const triggers = element.querySelectorAll(`${SEL_PREFIX}_trigger]`);\n\n let trigger;\n let triggerParent;\n let isSubTrigger;\n // Iterate backwards ensuring that length is an UInt32.\n for (let i = triggers.length >>> 0; i--; ) {\n isSubTrigger = false;\n trigger = triggers[i];\n triggerParent = trigger.parentElement;\n while (triggerParent !== element) {\n if (\n triggerParent.getAttribute(JS_HOOK) &&\n triggerParent.getAttribute(JS_HOOK).split(' ').indexOf(BASE_CLASS) !==\n -1\n ) {\n isSubTrigger = true;\n triggerParent = element;\n } else {\n triggerParent = triggerParent.parentElement;\n }\n }\n\n if (!isSubTrigger) {\n triggersList.unshift(triggers[i]);\n }\n }\n\n return triggersList;\n }\n\n /**\n * @returns {FlyoutMenu} An instance.\n * @param {boolean} isExpanded - Whether the flyout menu is expanded at\n * initialization-time or collapsed.\n */\n function init(isExpanded = false) {\n _state = isExpanded ? EXPANDED : COLLAPSED;\n _triggerDoms.forEach((triggerDom) => {\n _setAriaAttr('expanded', triggerDom, isExpanded);\n\n triggerDom.addEventListener('click', _handleTriggerClicked.bind(this));\n triggerDom.addEventListener('touchstart', _handleTouchStart, {\n passive: true,\n });\n triggerDom.addEventListener('mouseover', _handleTriggerOver.bind(this));\n triggerDom.addEventListener('mouseout', _handleTriggerOut.bind(this));\n });\n\n _contentDom.setAttribute('data-open', isExpanded ? 'true' : 'false');\n if (autoHideContent && !isExpanded) _contentDom.setAttribute('hidden', '');\n\n resume();\n\n return this;\n }\n\n /**\n * Set an aria attribute on an HTML element.\n * @param {string} type - The aria attribute to set\n * (without the aria- prefix).\n * @param {HTMLElement} elem - The element to set.\n * @param {boolean} value - The value to set on `aria-expanded`,\n * casts to a string.\n * @returns {string} The cast value.\n */\n function _setAriaAttr(type, elem, value) {\n const strValue = String(value);\n elem.setAttribute('aria-' + type, strValue);\n return strValue;\n }\n\n /**\n * Event handler for when the search input trigger is touched.\n */\n function _handleTouchStart() {\n _touchTriggered = true;\n }\n\n /**\n * Event handler for when the trigger is hovered over.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerOver(event) {\n if (_suspended) return;\n\n if (!_touchTriggered) {\n this.dispatchEvent('triggerover', {\n target: this,\n trigger: event.target,\n type: 'triggerover',\n });\n }\n\n _touchTriggered = false;\n }\n\n /**\n * Event handler for when the trigger is hovered out.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerOut(event) {\n if (_suspended) return;\n\n this.dispatchEvent('triggerout', {\n target: this,\n trigger: event.target,\n type: 'triggerout',\n });\n }\n\n /**\n * Event handler for when the search input trigger is clicked,\n * which opens/closes the search input.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerClicked(event) {\n if (_suspended) return;\n\n this.dispatchEvent('triggerclick', {\n target: this,\n trigger: event.target,\n type: 'triggerclick',\n });\n\n event.preventDefault();\n\n switch (_state) {\n case COLLAPSED:\n case COLLAPSING:\n this.expand();\n break;\n case EXPANDING:\n case EXPANDED:\n this.collapse();\n break;\n }\n }\n\n /**\n * Open the search box.\n * @returns {FlyoutMenu} An instance.\n */\n function expand() {\n _transition?.halt();\n if (_state === EXPANDING || _state === EXPANDED) return this;\n\n _state = EXPANDING;\n if (autoHideContent) _contentDom.removeAttribute('hidden');\n this.dispatchEvent('expandbegin', { target: this, type: 'expandbegin' });\n\n // Only use transitions if both expand and collapse are set.\n if (!_expandTransitionMethod || !_collapseTransitionMethod) {\n _expandEndBinded();\n return this;\n }\n\n const hasTransition = _transition?.isAnimated();\n if (hasTransition) {\n _transition.addEventListener(BaseTransition.END_EVENT, _expandEndBinded);\n }\n\n _expandTransitionMethod();\n\n if (!hasTransition) {\n _expandEndBinded();\n }\n\n return this;\n }\n\n /**\n * Close the search box.\n * If collapse is called when expand animation is underway,\n * save a deferred call to collapse, which is called when\n * expand completes.\n * @returns {FlyoutMenu} An instance.\n */\n function collapse() {\n _transition?.halt();\n if (_state === COLLAPSING || _state === COLLAPSED) return this;\n\n for (let i = 0, len = _triggerDoms.length; i < len; i++) {\n _setAriaAttr('expanded', _triggerDoms[i], false);\n }\n\n _contentDom.setAttribute('data-open', 'false');\n\n _state = COLLAPSING;\n this.dispatchEvent('collapsebegin', {\n target: this,\n type: 'collapsebegin',\n });\n\n // Only use transitions if both expand and collapse are set.\n if (!_collapseTransitionMethod || !_expandTransitionMethod) {\n _collapseEndBinded();\n return this;\n }\n\n const hasTransition = _transition?.isAnimated();\n if (hasTransition) {\n _transition.addEventListener(\n BaseTransition.END_EVENT,\n _collapseEndBinded,\n );\n }\n\n _collapseTransitionMethod();\n\n if (!hasTransition) {\n _collapseEndBinded();\n }\n\n return this;\n }\n\n /**\n * Expand animation has completed.\n * Call deferred collapse function,\n * if set (otherwise it will call a noop function).\n */\n function _expandEnd() {\n _state = EXPANDED;\n _contentDom.setAttribute('data-open', 'true');\n if (_transition) {\n _transition.removeEventListener(\n BaseTransition.END_EVENT,\n _expandEndBinded,\n );\n }\n this.dispatchEvent('expandend', { target: this, type: 'expandend' });\n\n for (let i = 0, len = _triggerDoms.length; i < len; i++) {\n _setAriaAttr('expanded', _triggerDoms[i], true);\n }\n }\n\n /**\n * Collapse animation has completed.\n */\n function _collapseEnd() {\n _state = COLLAPSED;\n\n if (autoHideContent) _contentDom.setAttribute('hidden', '');\n\n if (_transition) {\n _transition.removeEventListener(\n BaseTransition.END_EVENT,\n _collapseEndBinded,\n );\n }\n\n this.dispatchEvent('collapseend', { target: this, type: 'collapseend' });\n }\n\n /**\n * Set the transition that runs when this flyout is expanded/collapsed.\n * @param {BaseTransition} transition - A transition object.\n * @param {Function} collapseMethod - The collapse method to call on the transition.\n * @param {Function} expandMethod - The expand method to call on the transition.\n */\n function setTransition(transition, collapseMethod, expandMethod) {\n _transition = transition;\n\n if (collapseMethod && collapseMethod !== _collapseTransitionMethod) {\n _collapseTransitionMethod = collapseMethod;\n }\n\n if (expandMethod && expandMethod !== _expandTransitionMethod) {\n _expandTransitionMethod = expandMethod;\n }\n }\n\n /**\n * Clear the transitions attached to this FlyoutMenu instance.\n */\n function clearTransition() {\n if (_transition) {\n _transition.remove();\n }\n\n let UNDEFINED;\n\n _transition = UNDEFINED;\n\n _expandTransitionMethod = UNDEFINED;\n _collapseTransitionMethod = UNDEFINED;\n }\n\n /**\n * @returns {object}\n * Hash of container, content DOM references, and a list of trigger DOMs.\n */\n function getDom() {\n return {\n container: _dom,\n content: _contentDom,\n trigger: _triggerDoms,\n };\n }\n\n /**\n * Enable broadcasting of trigger events.\n * @returns {boolean} True if resumed, false otherwise.\n */\n function resume() {\n if (_suspended) _suspended = false;\n\n return !_suspended;\n }\n\n /**\n * Suspend broadcasting of trigger events.\n * @returns {boolean} True if suspended, false otherwise.\n */\n function suspend() {\n if (!_suspended) _suspended = true;\n\n return _suspended;\n }\n\n /**\n * @param {number | string | object} data - A data identifier\n * such as an Array index, Hash key, or Tree node.\n * @returns {FlyoutMenu} An instance.\n */\n function setData(data) {\n _data = data;\n\n return this;\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n this.expand = expand;\n this.collapse = collapse;\n this.setTransition = setTransition;\n this.clearTransition = clearTransition;\n this.getData = () => _data;\n this.getTransition = () => _transition;\n this.getDom = getDom;\n this.isAnimating = () => _state === EXPANDING || _state === COLLAPSING;\n this.isExpanded = () => _state === EXPANDED;\n this.resume = resume;\n this.setData = setData;\n this.suspend = suspend;\n\n // Public static properties.\n FlyoutMenu.BASE_CLASS = BASE_CLASS;\n\n return this;\n}\n\nexport { FlyoutMenu };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'opacity',\n BASE_CLASS: 'u-alpha-transition',\n ALPHA_100: 'u-alpha-100',\n ALPHA_0: 'u-alpha-0',\n};\n\n/**\n * AlphaTransition\n * @class\n * @classdesc Initializes new AlphaTransition behavior.\n * @param {HTMLElement} element - DOM element to apply opacity transition to.\n * @returns {AlphaTransition} An instance.\n */\nfunction AlphaTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {AlphaTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n return this;\n }\n\n /**\n * Fade to 100% by applying a utility alpha class.\n * @returns {AlphaTransition} An instance.\n */\n function fadeIn() {\n _baseTransition.applyClass(CLASSES.ALPHA_100);\n\n return this;\n }\n\n /**\n * Fade to nothing by applying a utility alpha class.\n * @returns {AlphaTransition} An instance.\n */\n function fadeOut() {\n _baseTransition.applyClass(CLASSES.ALPHA_0);\n\n return this;\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.remove = _baseTransition.remove;\n this.setElement = _baseTransition.setElement;\n\n this.fadeIn = fadeIn;\n this.fadeOut = fadeOut;\n this.init = init;\n\n return this;\n}\n\n// Public static properties.\nAlphaTransition.CLASSES = CLASSES;\n\nexport { AlphaTransition };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'max-height',\n BASE_CLASS: 'u-max-height-transition',\n MH_DEFAULT: 'u-max-height-default',\n MH_SUMMARY: 'u-max-height-summary',\n MH_ZERO: 'u-max-height-zero',\n};\n\n/**\n * MoveTransition\n * @class\n * @classdesc Initializes new MoveTransition behavior.\n * @param {HTMLElement} element - DOM element to apply transition to.\n * @returns {MaxHeightTransition} An instance.\n */\nfunction MaxHeightTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n let _previousHeight = 0;\n\n /**\n * Refresh the max height set on the element.\n * This may be useful if resizing the window and the content height changes.\n */\n function refresh() {\n const elmHeight = element.scrollHeight;\n const newHeight = elmHeight + 'px';\n element.style.maxHeight = newHeight;\n }\n\n /**\n * The whole page has loaded,\n * including all dependent resources such as stylesheets and images.\n */\n function _pageLoaded() {\n window.removeEventListener('load', _pageLoaded);\n refresh();\n }\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {MaxHeightTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n /*\n The scrollHeight of an element may be incorrect if the page hasn't\n fully loaded yet, so we listen for that to happen before calculating\n the element max-height.\n */\n window.addEventListener('load', _pageLoaded);\n\n /*\n The scrollHeight of an element may change on page load.\n */\n window.addEventListener('resize', () => {\n refresh();\n });\n\n return this;\n }\n\n /**\n * Reset the max-height to the default size.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightDefault() {\n refresh();\n _baseTransition.applyClass(CLASSES.MH_DEFAULT);\n\n if (!_previousHeight || element.scrollHeight > _previousHeight) {\n _previousHeight = element.scrollHeight;\n }\n\n return this;\n }\n\n /**\n * Collapses the max-height to just a summary height.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightSummary() {\n _baseTransition.applyClass(CLASSES.MH_SUMMARY);\n\n _previousHeight = element.scrollHeight;\n\n return this;\n }\n\n /**\n * Collapses thte max-height completely.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightZero() {\n _baseTransition.applyClass(CLASSES.MH_ZERO);\n\n _previousHeight = element.scrollHeight;\n\n return this;\n }\n\n /**\n * Remove style attribute.\n * Remove all transition classes, if transition is initialized.\n * @returns {boolean}\n * True, if the element's CSS classes were touched, false otherwise.\n */\n function remove() {\n element.style.maxHeight = '';\n return _baseTransition.remove();\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.setElement = _baseTransition.setElement;\n this.refresh = refresh;\n this.remove = remove;\n\n this.init = init;\n this.maxHeightDefault = maxHeightDefault;\n this.maxHeightSummary = maxHeightSummary;\n this.maxHeightZero = maxHeightZero;\n\n return this;\n}\n\n// Public static properties.\nMaxHeightTransition.CLASSES = CLASSES;\n\nexport { MaxHeightTransition };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'transform',\n BASE_CLASS: 'u-move-transition',\n MOVE_TO_ORIGIN: 'u-move-to-origin',\n MOVE_LEFT: 'u-move-left',\n MOVE_LEFT_2X: 'u-move-left-2x',\n MOVE_LEFT_3X: 'u-move-left-3x',\n MOVE_RIGHT: 'u-move-right',\n MOVE_UP: 'u-move-up',\n};\n\n/**\n * MoveTransition\n * @class\n * @classdesc Initializes new MoveTransition behavior.\n * @param {HTMLElement} element - DOM element to apply move transition to.\n * @returns {MoveTransition} An instance.\n */\nfunction MoveTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {MoveTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n return this;\n }\n\n /**\n * Move to the element's original coordinates.\n * @returns {MoveTransition} An instance.\n */\n function moveToOrigin() {\n _baseTransition.applyClass(CLASSES.MOVE_TO_ORIGIN);\n\n return this;\n }\n\n /**\n * Move to the left by applying a utility move class.\n * @param {number} count - How many times to move left\n * as a multiplication of the element's width.\n * @returns {MoveTransition} An instance.\n */\n function _moveLeft(count) {\n count = count || 1;\n const moveClasses = [\n CLASSES.MOVE_LEFT,\n CLASSES.MOVE_LEFT_2X,\n CLASSES.MOVE_LEFT_3X,\n ];\n\n _baseTransition.applyClass(moveClasses[count - 1]);\n\n return this;\n }\n\n /**\n * Move to the right by applying a utility move class.\n * @returns {MoveTransition} An instance.\n */\n function moveRight() {\n _baseTransition.applyClass(CLASSES.MOVE_RIGHT);\n\n return this;\n }\n\n /**\n * Move up by applying a utility move class.\n * @returns {MoveTransition} An instance.\n */\n function moveUp() {\n _baseTransition.applyClass(CLASSES.MOVE_UP);\n\n return this;\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.setElement = _baseTransition.setElement;\n this.remove = _baseTransition.remove;\n\n this.init = init;\n this.moveLeft = () => _moveLeft(1);\n this.moveLeft2 = () => _moveLeft(2);\n this.moveLeft3 = () => _moveLeft(3);\n this.moveRight = moveRight;\n this.moveToOrigin = moveToOrigin;\n this.moveUp = moveUp;\n\n return this;\n}\n\n// Public static properties.\nMoveTransition.CLASSES = CLASSES;\n\nexport { MoveTransition };\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-expandable{position:relative}.o-expandable__header{background-color:transparent;border:0;cursor:pointer;display:flex;gap:10px;justify-content:space-between;padding:.625em .9375em}.o-expandable__header:focus{outline:1px dotted var(--black);outline-offset:2px}.o-expandable__header .o-expandable__cue-close,.o-expandable__header .o-expandable__cue-open{display:none}.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:block}.o-expandable button.o-expandable__header{text-align:left;width:100%}.o-expandable__label{color:var(--black);flex-grow:1;font-weight:500;margin-bottom:0}.o-expandable__icon,.o-expandable__label{font-size:1.125em}@media only screen and (max-width:37.5em){.o-expandable__icon,.o-expandable__label{font-size:1em}}.o-expandable__cues{align-self:center;color:var(--pacific);font-size:1em;line-height:1.375}.o-expandable__content{padding:0 .9375em .9375em}.o-expandable__content:before{border-top:1px solid var(--gray-40);content:\"\";display:block;padding-top:.9375em}.o-expandable__content:after{padding-bottom:.9375em;width:100%}.o-expandable--padded .o-expandable__header{padding:1.5625em .9375em}.o-expandable--padded .o-expandable__icon,.o-expandable--padded .o-expandable__label{font-size:1.625em}@media only screen and (max-width:37.5em){.o-expandable--padded .o-expandable__icon,.o-expandable--padded .o-expandable__label{font-size:1.375em}}.o-expandable--background{background:var(--gray-5)}.o-expandable--border{border:1px solid var(--gray-40)}.o-expandable-group .o-expandable{border-bottom:1px solid var(--gray-40)}.o-expandable-group .o-expandable:first-child{border-top:1px solid var(--gray-40)}@media print{.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:none}.o-expandable__content[aria-expanded=false]{display:block;max-height:99999px!important}}html[lang=ar] .o-expandable__header{text-align:right}html[lang=ar] .o-expandable__cues{text-align:left}", "/* ==========================================================================\n Expandable Organism\n ========================================================================== */\n\nimport {\n add as addDataHook,\n checkDom,\n setInitFlag,\n instantiateAll,\n MaxHeightTransition,\n EventObserver,\n FlyoutMenu,\n} from '../../utilities';\n\nimport * as ExpandableStyles from './expandable.scss';\n\nconst BASE_CLASS = 'o-expandable';\n\n/**\n * Expandable\n * @class\n * @classdesc Initializes a new Expandable molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {Expandable} An instance.\n */\nfunction Expandable(element) {\n // Internal vars.\n const _dom = checkDom(element, BASE_CLASS);\n let _targetDom;\n let _contentDom;\n let _labelDom;\n\n // Animation vars.\n let _transition;\n let _flyout;\n\n /**\n * Set up and create the multiselect.\n * @returns {Expandable} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n _targetDom = _dom.querySelector(`.${BASE_CLASS}__header`);\n _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n _labelDom = _dom.querySelector(`.${BASE_CLASS}__label`);\n\n const isExpanded = _dom.classList.contains(`${BASE_CLASS}--onload-open`);\n\n // Add behavior hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_targetDom, 'behavior_flyout-menu_trigger');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n\n // If it's expanded we don't set an initial height,\n // as it will be calculated internally.\n const initialClass = isExpanded\n ? MaxHeightTransition.CLASSES.MH_DEFAULT\n : MaxHeightTransition.CLASSES.MH_ZERO;\n _transition = new MaxHeightTransition(_contentDom).init(initialClass);\n\n // Create root menu.\n _flyout = new FlyoutMenu(_dom);\n\n _flyout.setTransition(\n _transition,\n _transition.maxHeightZero,\n _transition.maxHeightDefault,\n );\n\n _flyout.init(isExpanded);\n\n // Add events.\n _flyout.addEventListener('expandbegin', () => {\n _contentDom.classList.remove('u-hidden');\n this.dispatchEvent('expandbegin', { target: this });\n });\n _flyout.addEventListener('collapseend', () => {\n _contentDom.classList.add('u-hidden');\n });\n\n return this;\n }\n\n /**\n * @returns {string} The expandable label text.\n */\n function getLabelText() {\n return _labelDom.textContent.trim();\n }\n\n // Attach public events.\n this.init = init;\n this.expand = () => _flyout.expand();\n this.collapse = () => _flyout.collapse();\n this.isExpanded = () => _flyout.isExpanded();\n this.refresh = () => _flyout.getTransition().refresh();\n this.getLabelText = getLabelText;\n\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n return this;\n}\n\nExpandable.BASE_CLASS = BASE_CLASS;\nExpandable.init = (scope) =>\n instantiateAll(`.${Expandable.BASE_CLASS}`, Expandable, scope);\n\nexport { Expandable, ExpandableStyles };\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-expandable-group .o-expandable{border-bottom:1px solid var(--gray-40)}.o-expandable-group .o-expandable:first-child{border-top:1px solid var(--gray-40)}@media print{.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:none}.o-expandable__content[aria-expanded=false]{display:block;max-height:99999px!important}}", "/* ==========================================================================\n Expandable Organism\n ========================================================================== */\n\nimport { checkDom, setInitFlag, instantiateAll } from '../../utilities';\nimport { Expandable } from './expandable.js';\n\nimport * as ExpandableGroupStyles from './expandable-group.scss';\n\nconst BASE_CLASS = 'o-expandable-group';\n\n/**\n * ExpandableGroup\n * @class\n * @classdesc Initializes a new Expandable molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {ExpandableGroup} An instance.\n */\nfunction ExpandableGroup(element) {\n // Internal vars.\n const _dom = checkDom(element, BASE_CLASS);\n const _isAccordion = _dom.classList.contains(`${BASE_CLASS}--accordion`);\n let _expandables;\n let _lastExpanded;\n\n /**\n * @param {object} evt - The event object.\n */\n function _handleExpandBegin(evt) {\n const target = evt.target;\n if (_lastExpanded && _lastExpanded !== target) {\n _lastExpanded.collapse();\n }\n _lastExpanded = target;\n }\n\n /**\n * Set up and create the multiselect.\n * @param {Array} expandables - List of expandables inside this group.\n * @returns {ExpandableGroup} An instance.\n */\n function init(expandables) {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n if (_isAccordion) {\n _expandables = expandables;\n\n _expandables.forEach((expandable) => {\n expandable.addEventListener('expandbegin', _handleExpandBegin);\n });\n }\n\n return this;\n }\n\n // Attach public events.\n this.init = init;\n\n return this;\n}\n\nExpandableGroup.BASE_CLASS = BASE_CLASS;\nExpandableGroup.init = (scope) => {\n const base = scope || document;\n const expandableGroupsDom = base.querySelectorAll(`.${BASE_CLASS}`);\n expandableGroupsDom.forEach((expandableGroupDom) => {\n const expandables = instantiateAll(\n `.${Expandable.BASE_CLASS}`,\n Expandable,\n expandableGroupDom,\n );\n const expandableGroup = new ExpandableGroup(expandableGroupDom);\n expandableGroup.init(expandables);\n });\n};\n\nexport { ExpandableGroup, ExpandableGroupStyles };\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-summary__content{left:-2px;overflow-y:hidden;padding:2px;position:relative;top:-2px}.o-summary__btn{align-items:center;background:#fff;border:dotted var(--pacific);border-width:1px 0;color:var(--pacific);display:flex;gap:.3125rem;justify-content:center;padding-bottom:15px;padding-top:15px;position:relative;text-align:center;width:100%;z-index:2}.o-summary__btn svg{flex:none}.o-summary__btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.o-summary__btn[aria-expanded=false]:before{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff);content:\"\";display:block;height:2.75em;left:0;margin:0;pointer-events:none;position:absolute;right:0;top:calc(-100% + 4px)}@media print{.o-summary__btn[aria-expanded=false]:before{background:none}}.no-js .o-summary__btn{display:none}@media only screen and (min-width:601px){.o-summary--mobile .o-summary__btn{display:none}}", "import {\n add as addDataHook,\n checkDom,\n instantiateAll,\n setInitFlag,\n FlyoutMenu,\n MaxHeightTransition,\n EventObserver,\n MOBILE,\n viewportIsIn,\n} from '../../utilities';\n\nimport * as SummaryStyles from './summary.scss';\n\nconst BASE_CLASS = 'o-summary';\n\n/**\n * Summary\n * @class\n * @classdesc Initializes a new Summary organism.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the organism.\n * @returns {Summary} An instance.\n */\nfunction Summary(element) {\n const _dom = checkDom(element, BASE_CLASS);\n const _hasMobileModifier = _dom.classList.contains(`${BASE_CLASS}--mobile`);\n const _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n const _btnDom = _dom.querySelector(`.${BASE_CLASS}__btn`);\n let _transition;\n let _flyout;\n\n // Whether this instance's behaviors are suspended or not.\n let _suspended;\n\n /**\n * NOTE: Init won't work if it's called after the page has been loaded,\n * since it depends on the `load` event fired by the browser.\n * @returns {Summary} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n // Don't initialize the Summary till the page has loaded, so we can have\n // an accurate idea of its height.\n window.addEventListener('load', _pageLoadHandler);\n\n return this;\n }\n\n /**\n * The page (content + CSS) has loaded.\n */\n function _pageLoadHandler() {\n window.removeEventListener('load', _pageLoadHandler);\n\n _suspended = !_shouldSuspend();\n\n // Add FlyoutMenu behavior data-js-hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n addDataHook(_btnDom, 'behavior_flyout-menu_trigger');\n\n _flyout = new FlyoutMenu(_dom, false);\n _transition = new MaxHeightTransition(_contentDom);\n _transition.init(\n _suspended\n ? MaxHeightTransition.CLASSES.MH_SUMMARY\n : MaxHeightTransition.CLASSES.MH_DEFAULT,\n );\n _flyout.setTransition(\n _transition,\n _transition.maxHeightSummary,\n _transition.maxHeightDefault,\n );\n _flyout.addEventListener('triggerclick', _triggerClickHandler);\n _flyout.init();\n\n _resizeHandler();\n\n window.addEventListener('resize', _resizeHandler);\n // Pipe window resize handler into orientation change on supported devices.\n if ('onorientationchange' in window) {\n window.addEventListener('orientationchange', _resizeHandler);\n }\n\n _dom.addEventListener('focusin', _focusInHandler);\n\n /* When we click inside the content area we may be changing the size,\n such as when a video player expands on being clicked.\n So, let's refresh the transition to recalculate the max-height,\n just in case. */\n _contentDom.addEventListener('click', _contentClicked);\n }\n\n /**\n * Handling tabbing into the content area that is hidden.\n * If the focus goes onto a focusable element within the content area,\n * we'll act like the summary expansion button was clicked.\n * @param {Event} evt - The focus event.\n */\n function _focusInHandler(evt) {\n if (!_suspended && evt.target !== _btnDom) {\n _btnDom.click();\n _dom.removeEventListener('focusin', _focusInHandler);\n }\n }\n\n /**\n * Handler for when the content area is clicked.\n * Refresh the transition to recalculate the max-height.\n * @param {MouseEvent} evt - the mouse event object.\n */\n function _contentClicked(evt) {\n /* We don't need to refresh if a link was clicked as we'll be navigating\n to another page. */\n if (evt.target.tagName !== 'A' && _flyout.isExpanded()) {\n _transition.refresh();\n }\n }\n\n /**\n * Handle resizing of the window,\n * suspends or resumes the mobile or desktop behaviors.\n */\n function _resizeHandler() {\n if (_shouldSuspend()) {\n _suspend();\n } else {\n _resume();\n }\n }\n\n /**\n * @returns {boolean} True if this should be suspended, false otherwise.\n */\n function _shouldSuspend() {\n /* Bail out of initializatiion if the height of the summary's content\n is less than our summary height of 5.5ems\n 16 * 5.5 = 88\n See https://github.com/cfpb/design-system/blob/72623270013f2ad08dbe92b5b709ed2b434ee41e/packages/cfpb-atomic-component/src/utilities/transition/transition.less#L84\n */\n return (\n (_hasMobileModifier && !viewportIsIn(MOBILE)) ||\n _contentDom.scrollHeight <= 88\n );\n }\n\n /**\n * Handle click of flyout.\n */\n function _triggerClickHandler() {\n _flyout.addEventListener('expandend', _expandEndHandler);\n }\n\n /**\n * After the summary opens, remove the \"read more\" button.\n */\n function _expandEndHandler() {\n _hideButton();\n window.removeEventListener('resize', _resizeHandler);\n window.removeEventListener('orientationchange', _resizeHandler);\n _flyout.removeEventListener('expandend', _expandEndHandler);\n _flyout.suspend();\n _transition.remove();\n }\n\n /**\n *\n */\n function _showButton() {\n _btnDom.classList.remove('u-hidden');\n }\n\n /**\n *\n */\n function _hideButton() {\n _btnDom.classList.add('u-hidden');\n }\n\n /**\n * Add events necessary for the desktop menu behaviors.\n * @returns {boolean} Whether it has successfully been resumed or not.\n */\n function _resume() {\n if (_suspended) {\n _flyout.collapse();\n _transition.animateOn();\n _showButton();\n\n _suspended = false;\n }\n\n return !_suspended;\n }\n\n /**\n * Remove events necessary for the desktop menu behaviors.\n * @returns {boolean} Whether it has successfully been suspended or not.\n */\n function _suspend() {\n if (!_suspended) {\n _transition.animateOff();\n _flyout.expand();\n _hideButton();\n\n _suspended = true;\n }\n\n return _suspended;\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n\n return this;\n}\n\nSummary.BASE_CLASS = BASE_CLASS;\nSummary.init = (scope) => instantiateAll(`.${BASE_CLASS}`, Summary, scope);\n\nexport { Summary, SummaryStyles };\n", "import {\n add as addDataHook,\n checkDom,\n instantiateAll,\n setInitFlag,\n FlyoutMenu,\n MaxHeightTransition,\n EventObserver,\n} from '../../utilities';\n\nimport * as SummaryMinimalStyles from './summary-minimal.scss';\n\nconst BASE_CLASS = 'o-summary-minimal';\n\n/**\n * SummaryMinimal\n * @class\n * @classdesc Initializes a new SummaryMinimal organism.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the organism.\n * @returns {SummaryMinimal} An instance.\n */\nfunction SummaryMinimal(element) {\n const _dom = checkDom(element, BASE_CLASS);\n const _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n const _btnDom = _dom.querySelector(`.${BASE_CLASS}__btn`);\n let _transition;\n let _flyout;\n\n /**\n * @returns {SummaryMinimal} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n // Add FlyoutMenu behavior data-js-hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n addDataHook(_btnDom, 'behavior_flyout-menu_trigger');\n\n // Don't initialize the SummaryMinimal till the page has loaded,\n // so we can have an accurate idea of its height.\n window.addEventListener('load', _pageLoadHandler);\n\n return this;\n }\n\n /**\n * The page (content + CSS) has loaded.\n */\n function _pageLoadHandler() {\n window.removeEventListener('load', _pageLoadHandler);\n\n _flyout = new FlyoutMenu(_dom, false);\n _transition = new MaxHeightTransition(_contentDom);\n _transition.init(MaxHeightTransition.CLASSES.MH_SUMMARY);\n _flyout.setTransition(\n _transition,\n _transition.maxHeightSummary,\n _transition.maxHeightDefault,\n );\n _flyout.init();\n\n _dom.addEventListener('focusin', _focusInHandler);\n\n /* When we click inside the content area we may be changing the size,\n such as when a video player expands on being clicked.\n So, let's refresh the transition to recalculate the max-height,\n just in case. */\n _contentDom.addEventListener('click', _contentClicked);\n\n _flyout.collapse();\n _transition.animateOn();\n }\n\n /**\n * Handling tabbing into the content area that is hidden.\n * If the focus goes onto a focusable element within the content area,\n * we'll act like the summary expansion button was clicked.\n * @param {Event} evt - The focus event.\n */\n function _focusInHandler(evt) {\n if (evt.target !== _btnDom) {\n _btnDom.click();\n _dom.removeEventListener('focusin', _focusInHandler);\n }\n }\n\n /**\n * Handler for when the content area is clicked.\n * Refresh the transition to recalculate the max-height.\n * @param {MouseEvent} evt - the mouse event object.\n */\n function _contentClicked(evt) {\n /* We don't need to refresh if a link was clicked as we'll be navigating\n to another page. */\n if (evt.target.tagName !== 'A' && _flyout.isExpanded()) {\n _transition.refresh();\n }\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n\n return this;\n}\n\nSummaryMinimal.BASE_CLASS = BASE_CLASS;\nSummaryMinimal.init = (scope) =>\n instantiateAll(`.${BASE_CLASS}`, SummaryMinimal, scope);\n\nexport { SummaryMinimal, SummaryMinimalStyles };\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-form__group{margin-bottom:1.875em}.o-form__fieldset{border:none;margin:0;padding:0}.o-form__fieldset .m-form-field+.m-form-field{margin-top:.625em}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-form-alert{--form-alert-icon-color:var(--form-alert-icon-color-default);display:flex;gap:.3125rem}.a-form-alert .cf-icon-svg{color:var(--form-alert-icon-color);flex:none;margin-top:.0625rem}.a-form-alert__text{display:block}.a-form-alert--success .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-success)}.a-form-alert--warning .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-warning)}.a-form-alert--error .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-error)}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.m-form-field{--choice-border:var(--choice-border-default);--choice-border-hover:var(--choice-border-hover-default);--choice-border-focus:var(--choice-border-focus-default);--choice-outline-focus:var(--choice-outline-focus-default);--choice-bg:var(--choice-bg-default);--choice-bg-selected:var(--choice-bg-selected-default);--choice-bg-selected-focus:var(--choice-bg-selected-focus-default);--choice-label-disabled:var(--choice-label-disabled-default);--choice-border-width-addendum:0}.m-form-field .a-text-input--full{width:100%}.m-form-field .a-label+.a-text-input{margin-top:.3125em}.m-form-field--checkbox .a-label,.m-form-field--radio .a-label{cursor:pointer;display:inline-grid;grid-template-columns:1.875em auto;overflow-wrap:anywhere;vertical-align:top}.m-form-field--checkbox .a-label:before,.m-form-field--radio .a-label:before{background-color:var(--choice-bg);border:1px solid var(--choice-border);content:\"\";display:inline-block;grid-row-end:3;grid-row-start:1;height:1.125em;left:1px;margin-right:10px;outline:var(--choice-border-width-addendum) solid var(--choice-border);position:relative;top:1px;vertical-align:top;width:1.125em}.m-form-field--checkbox .a-label.hover:before,.m-form-field--checkbox .a-label:hover:before,.m-form-field--radio .a-label.hover:before,.m-form-field--radio .a-label:hover:before{border-color:var(--choice-border-hover)}.m-form-field--checkbox .a-checkbox,.m-form-field--checkbox .a-radio,.m-form-field--radio .a-checkbox,.m-form-field--radio .a-radio{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}.m-form-field--checkbox .a-checkbox.focus+.a-label,.m-form-field--checkbox .a-checkbox:focus+.a-label,.m-form-field--checkbox .a-radio.focus+.a-label,.m-form-field--checkbox .a-radio:focus+.a-label,.m-form-field--radio .a-checkbox.focus+.a-label,.m-form-field--radio .a-checkbox:focus+.a-label,.m-form-field--radio .a-radio.focus+.a-label,.m-form-field--radio .a-radio:focus+.a-label{outline:1px dotted var(--choice-outline-focus);outline-offset:1px}.m-form-field--checkbox .a-checkbox:disabled.focus+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled.hover+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:focus+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:hover+.a-label:before,.m-form-field--checkbox .a-radio:disabled.focus+.a-label:before,.m-form-field--checkbox .a-radio:disabled.hover+.a-label:before,.m-form-field--checkbox .a-radio:disabled:checked+.a-label:before,.m-form-field--checkbox .a-radio:disabled:focus+.a-label:before,.m-form-field--checkbox .a-radio:disabled:hover+.a-label:before,.m-form-field--radio .a-checkbox:disabled.focus+.a-label:before,.m-form-field--radio .a-checkbox:disabled.hover+.a-label:before,.m-form-field--radio .a-checkbox:disabled:checked+.a-label:before,.m-form-field--radio .a-checkbox:disabled:focus+.a-label:before,.m-form-field--radio .a-checkbox:disabled:hover+.a-label:before,.m-form-field--radio .a-radio:disabled.focus+.a-label:before,.m-form-field--radio .a-radio:disabled.hover+.a-label:before,.m-form-field--radio .a-radio:disabled:checked+.a-label:before,.m-form-field--radio .a-radio:disabled:focus+.a-label:before,.m-form-field--radio .a-radio:disabled:hover+.a-label:before{border-color:var(--choice-border);box-shadow:none;outline:none}.m-form-field--checkbox .a-checkbox:disabled+.a-label,.m-form-field--checkbox .a-radio:disabled+.a-label,.m-form-field--radio .a-checkbox:disabled+.a-label,.m-form-field--radio .a-radio:disabled+.a-label{color:var(--choice-label-disabled);cursor:not-allowed}.m-form-field--checkbox .a-checkbox:disabled+.a-label:before,.m-form-field--checkbox .a-radio:disabled+.a-label:before,.m-form-field--radio .a-checkbox:disabled+.a-label:before,.m-form-field--radio .a-radio:disabled+.a-label:before{outline:none}.m-form-field--checkbox:has(.a-checkbox:disabled),.m-form-field--checkbox:has(.a-radio:disabled),.m-form-field--radio:has(.a-checkbox:disabled),.m-form-field--radio:has(.a-radio:disabled){--choice-border:var(--choice-border-disabled);--choice-bg:var(--choice-bg-disabled);--choice-bg-selected:var(--choice-bg-selected-disabled)}.m-form-field--checkbox-error,.m-form-field--checkbox-success,.m-form-field--checkbox-warning,.m-form-field--radio-error,.m-form-field--radio-success,.m-form-field--radio-warning{--choice-border-width-addendum:1px}.m-form-field--checkbox-success,.m-form-field--radio-success{--choice-border:var(--choice-border-success)}.m-form-field--checkbox-warning,.m-form-field--radio-warning{--choice-border:var(--choice-border-warning)}.m-form-field--checkbox-error,.m-form-field--radio-error{--choice-border:var(--choice-border-error)}.m-form-field--checkbox .a-checkbox.focus+.a-label:before,.m-form-field--checkbox .a-checkbox:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline-color:var(--choice-border-focus)}.m-form-field--checkbox .a-checkbox.hover+.a-label:before,.m-form-field--checkbox .a-checkbox:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline-color:var(--choice-border-hover)}.m-form-field--checkbox .a-checkbox:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--approved\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>');background-position:center 0;background-repeat:no-repeat;background-size:auto 1.1875em}.m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>')}.m-form-field--radio .a-label:before{border-radius:50%;transform:rotate(0deg)}.m-form-field--radio .a-radio.focus+.a-label:before,.m-form-field--radio .a-radio:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline:none}.m-form-field--radio .a-radio.hover+.a-label:before,.m-form-field--radio .a-radio:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline:none}.m-form-field--radio .a-radio:checked+.a-label:before{background-color:var(--choice-bg-selected);box-shadow:inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.focus:checked+.a-label:before,.m-form-field--radio .a-radio:focus:checked+.a-label:before{background-color:var(--choice-bg-selected-focus);border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus),inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.hover:checked+.a-label:before,.m-form-field--radio .a-radio:hover:checked+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover),inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.hover:checked:disabled+.a-label:before,.m-form-field--radio .a-radio:checked:disabled+.a-label:before,.m-form-field--radio .a-radio:hover:checked:disabled+.a-label:before{background-color:var(--choice-bg-selected);border-color:var(--choice-border-disabled);box-shadow:inset 0 0 0 2px var(--gray-10)}.m-form-field--lg-target{display:block}.m-form-field--lg-target .a-label{background-color:var(--gray-10);box-sizing:border-box;padding:15px;width:100%}.m-form-field--lg-target .a-checkbox:checked+.a-label,.m-form-field--lg-target .a-radio:checked+.a-label{background-color:var(--pacific-20);box-shadow:inset 0 0 0 1px var(--pacific)}.m-form-field--lg-target .a-checkbox.focus+.a-label,.m-form-field--lg-target .a-checkbox.hover+.a-label,.m-form-field--lg-target .a-checkbox:focus+.a-label,.m-form-field--lg-target .a-checkbox:hover+.a-label,.m-form-field--lg-target .a-radio.focus+.a-label,.m-form-field--lg-target .a-radio.hover+.a-label,.m-form-field--lg-target .a-radio:focus+.a-label,.m-form-field--lg-target .a-radio:hover+.a-label{box-shadow:inset 0 0 0 2px var(--pacific)}.m-form-field--lg-target .a-checkbox.focus+.a-label,.m-form-field--lg-target .a-checkbox:checked+.a-label,.m-form-field--lg-target .a-checkbox:focus+.a-label,.m-form-field--lg-target .a-radio.focus+.a-label,.m-form-field--lg-target .a-radio:checked+.a-label,.m-form-field--lg-target .a-radio:focus+.a-label{outline-offset:1px}.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,.m-form-field--lg-target .a-checkbox:disabled+.a-label,.m-form-field--lg-target .a-checkbox:hover:disabled+.a-label,.m-form-field--lg-target .a-radio:checked:disabled+.a-label,.m-form-field--lg-target .a-radio:disabled+.a-label,.m-form-field--lg-target .a-radio:hover:disabled+.a-label{background-color:var(--gray-20);box-shadow:none;color:var(--choice-label-disabled)}.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label:before,.m-form-field--lg-target .a-radio:checked:disabled+.a-label,.m-form-field--lg-target .a-radio:checked:disabled+.a-label:before{border:1px solid var(--form-field-border-disabled)}.m-form-field .a-form-alert{margin-top:.9375em}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-label{display:inline-block}.a-label__helper{color:var(--gray-dark);font-size:1rem;font-weight:400}.a-label__helper--block{display:block;margin-top:.8333333333em}.a-label--heading{display:block;font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.5555555556em;text-transform:inherit}.h1+.a-label--heading,.h2+.a-label--heading,.h3+.a-label--heading,.h5+.a-label--heading,.h6+.a-label--heading,blockquote+.a-label--heading,dl+.a-label--heading,figure+.a-label--heading,h1+.a-label--heading,h2+.a-label--heading,h3+.a-label--heading,h5+.a-label--heading,h6+.a-label--heading,img+.a-label--heading,ol+.a-label--heading,p+.a-label--heading,table+.a-label--heading,ul+.a-label--heading{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.a-label--heading{font-size:1em;line-height:1.125;margin-bottom:.625em}}.a-label--heading .a-label__helper--block{margin-top:.625rem}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-range{appearance:none;min-height:49px;width:100%}.a-range::-webkit-slider-runnable-track{background-color:var(--gray-80);border:1px solid var(--gray-40);border-radius:8px;cursor:pointer;height:.6875rem;width:100%}.a-range::-moz-range-track{background-color:var(--gray-80);border:1px solid var(--gray-40);border-radius:8px;cursor:pointer;height:.6875rem;width:100%}.a-range::-webkit-slider-thumb{appearance:none;background-color:var(--gray-10);border:1px solid var(--gray-40);border-radius:50%;cursor:pointer;height:2.8125rem;margin-top:-1.125rem;width:2.8125rem}.a-range::-moz-range-thumb{appearance:none;background-color:var(--gray-10);border:1px solid var(--gray-40);border-radius:50%;cursor:pointer;height:2.8125rem;margin-top:-1.125rem;width:2.8125rem}.a-range.focus,.a-range:focus{box-shadow:none;outline:none}.a-range.focus::-webkit-slider-thumb,.a-range:focus::-webkit-slider-thumb{background-color:var(--pacific-20);border:2px solid var(--pacific)}.a-range.focus::-moz-range-thumb,.a-range:focus::-moz-range-thumb{background-color:var(--pacific-20);border:2px solid var(--pacific)}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-search-input{display:flex;flex-direction:column;row-gap:.9375rem}.o-search-input__input{display:flex;flex:0 1 100%;position:relative;width:auto}.o-search-input__input-label{align-self:center;cursor:pointer;left:10px;line-height:.9;position:absolute}.o-search-input__input input[type=search]{appearance:none;padding-left:30px;white-space:nowrap;width:100%}.o-search-input__input button[type=reset]{align-self:center;background-color:transparent;border:1px solid transparent;color:var(--gray-40);display:none;font-size:20px;outline:0;padding:5px;position:absolute;right:0;text-align:right;width:44px}.o-search-input__input button[type=reset]>svg{cursor:pointer;pointer-events:none;width:25px}.o-search-input__input button[type=reset]:focus,.o-search-input__input button[type=reset]:hover{color:var(--black)}.o-search-input__input button[type=reset]:focus>svg{outline:1px dotted var(--pacific)}.o-search-input__input input[type=search]:-ms-input-placeholder~button[type=reset]{display:none}.o-search-input__input input[type=search]:placeholder-shown~button[type=reset]{display:none}.o-search-input__input input[type=search]:not(:-ms-input-placeholder){padding-right:34px}.o-search-input__input input[type=search]:not(:placeholder-shown){padding-right:34px}.o-search-input__input input[type=search]::-webkit-search-cancel-button,.o-search-input__input input[type=search]::-webkit-search-decoration,.o-search-input__input input[type=search]::-webkit-search-results-button,.o-search-input__input input[type=search]::-webkit-search-results-decoration{display:none}.o-search-input .o-search-input__input:hover button[type=reset],.o-search-input:focus-within button[type=reset]{display:block}@media only screen and (min-width:37.5625em){.o-search-input{border-left:0;flex-direction:row}.o-search-input button[type=submit]{border-bottom-left-radius:0;border-top-left-radius:0;flex-basis:25%}}.no-js .o-search-input button[type=reset]{display:none!important}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-select{--select-border:var(--select-border-default);--select-border-width:var(--select-border-width-default);border:var(--select-border-width) solid var(--select-border);position:relative}.a-select:has(select[disabled]){border:var(--select-border-width-default) solid var(--select-border-default)}.a-select select{appearance:none;background-color:var(--white);border:0;border-radius:0;color:var(--black);line-height:1.375;padding:.4375em .375em .375em;width:100%}.a-select select.hover,.a-select select:hover{cursor:pointer;outline:2px solid var(--select-border-hover-default);outline-offset:0}.a-select select.focus,.a-select select:active,.a-select select:focus{box-shadow:0 0 0 2px var(--select-border-focus-default);outline:1px dotted var(--select-border-focus-default);outline-offset:3px}.a-select select[disabled]{background-color:var(--select-bg-disabled-default);cursor:not-allowed}.a-select select[disabled].focus,.a-select select[disabled].hover,.a-select select[disabled]:focus,.a-select select[disabled]:hover{outline:none}.a-select select option:disabled,.a-select select[disabled],.a-select select[disabled] option,.a-select select[disabled] option:disabled{color:var(--select-text-disabled-default)}.a-select:after{background-color:var(--select-icon-bg-default);background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--down\" viewBox=\"0 0 17 19\"><path d=\"M8.5 15.313a1.03 1.03 0 0 1-.728-.302l-6.8-6.8a1.03 1.03 0 0 1 1.455-1.456L8.5 12.828l6.073-6.073a1.03 1.03 0 0 1 1.455 1.456l-6.8 6.8a1.03 1.03 0 0 1-.728.302\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:auto 1.1875em;border-left:1px solid var(--select-border-default);bottom:0;box-sizing:border-box;content:\"\";pointer-events:none;position:absolute;right:0;top:0;width:2.1875em}.a-select--disabled:after{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 17 19\"><path d=\"M8.5 15.313a1.03 1.03 0 0 1-.728-.302l-6.8-6.8a1.03 1.03 0 0 1 1.455-1.456L8.5 12.828l6.073-6.073a1.03 1.03 0 0 1 1.455 1.456l-6.8 6.8a1.03 1.03 0 0 1-.728.302\"/></svg>')}.a-select--error{--select-border:var(--select-border-error);--select-border-width:var(--select-border-width-error)}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.a-tag-filter{background-color:var(--teal-20);border:1px solid var(--teal);border-radius:.1875rem;color:var(--black);display:flex;gap:.625rem;line-height:1.1875;min-width:fit-content;padding:4px 6px;text-align:left}.a-tag-filter .cf-icon-svg{flex:none;pointer-events:none}.a-tag-filter>label{display:contents;pointer-events:none}a.a-tag-filter:hover,button.a-tag-filter:hover{background-color:var(--teal-40);cursor:pointer}a.a-tag-filter:focus,button.a-tag-filter:focus{outline:1px dotted var(--teal);outline-offset:1px}a.a-tag-filter:active,button.a-tag-filter:active{background-color:var(--teal-60)}a.a-tag-filter,a.a-tag-filter.focus,a.a-tag-filter.hover,a.a-tag-filter.visited,a.a-tag-filter:focus,a.a-tag-filter:hover,a.a-tag-filter:visited{border-color:var(--teal);color:var(--black)}a.a-tag-filter.active,a.a-tag-filter:active{border-color:var(--teal-60);color:var(--black)}.a-tag-topic{color:var(--gold-80);display:flex;font-size:.875rem;font-weight:600;gap:.3125rem;letter-spacing:1px;text-transform:uppercase}.a-tag-topic .a-tag-topic__text{color:var(--gray);word-break:break-word}@media only screen and (max-width:37.5em){.a-tag-topic{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}.a-tag-topic .cf-icon-svg--right{margin-left:auto}.a-tag-topic .a-tag-topic__text{border-bottom-width:0;flex-shrink:10}}a.a-tag-topic,a.a-tag-topic.active,a.a-tag-topic.focus,a.a-tag-topic.hover,a.a-tag-topic.visited,a.a-tag-topic:active,a.a-tag-topic:focus,a.a-tag-topic:hover,a.a-tag-topic:visited{border-color:var(--gold-80);color:var(--gold-80)}a.a-tag-topic .a-tag-topic__text{border-bottom-color:var(--gold-80)}@media only screen and (max-width:37.5em){a.a-tag-topic{border-bottom-width:1px;border-top-width:1px}a.a-tag-topic:focus{outline:none}a.a-tag-topic:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){li:has(.a-tag-topic)+li:has(.a-tag-topic) .a-tag-topic{border-top:none;position:relative}li:has(.a-tag-topic)+li:has(.a-tag-topic) a.a-tag-topic:focus:before,li:has(.a-tag-topic)+li:has(.a-tag-topic) a.a-tag-topic:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}.a-tag-topic__bullet{font-size:1rem;line-height:1rem}@media only screen and (min-width:37.5625em){a.a-tag-topic__text,a.a-tag-topic__text.active,a.a-tag-topic__text.focus,a.a-tag-topic__text.hover,a.a-tag-topic__text.visited,a.a-tag-topic__text:active,a.a-tag-topic__text:focus,a.a-tag-topic__text:hover,a.a-tag-topic__text:visited{border-color:var(--gray);color:var(--gray)}a.a-tag-topic,a.a-tag-topic:active,a.a-tag-topic:focus,a.a-tag-topic:hover,a.a-tag-topic:visited{border-bottom:none;outline-offset:1px}a.a-tag-topic .a-tag-topic__text,a.a-tag-topic:active .a-tag-topic__text,a.a-tag-topic:focus .a-tag-topic__text,a.a-tag-topic:hover .a-tag-topic__text,a.a-tag-topic:visited .a-tag-topic__text{border-bottom:1px dotted var(--gold-80);padding-bottom:1px}a.a-tag-topic:hover .a-tag-topic__text{border-bottom:1px solid var(--gold-80)}a.a-tag-topic:focus{outline-color:var(--gray)}a.a-tag-topic:focus .a-tag-topic__text{border-bottom-style:solid!important}}.m-tag-group{list-style-type:none;padding-left:0}.m-tag-group li{display:contents;margin-bottom:0}@media only screen and (min-width:37.5625em){.m-tag-group{display:flex;flex-wrap:wrap;gap:.9375em}.m-tag-group--stacked{flex-direction:column;width:fit-content}}.m-tag-group:has(.a-tag-filter){display:flex;flex-wrap:wrap;gap:.9375em}html[lang=ar] .m-tag-group{direction:rtl;padding-right:0}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-text-input{--input-text:var(--input-text-default);--input-text-disabled:var(--input-text-disabled-default);--input-text-placeholder:var(--input-text-placeholder-default);--input-border:var(--input-border-default);--input-border-hover:var(--input-border-hover-default);--input-border-focus:var(--input-border-focus-default);--input-bg:var(--input-bg-default);--input-bg-disabled:var(--input-bg-disabled-default);appearance:none;background:var(--input-bg);border:1px solid var(--input-border);box-sizing:border-box;color:var(--input-text);display:inline-block;outline:0 solid var(--input-border);padding:.4375em}.a-text-input.hover,.a-text-input:hover{border-color:var(--input-border-hover);outline:1px solid var(--input-border-hover)}.a-text-input.focus,.a-text-input:focus{border-color:var(--input-border-focus);box-shadow:0 0 0 1px var(--input-border-focus);outline:1px dotted var(--input-border-focus);outline-offset:2px}.a-text-input:disabled{--input-border:var(--input-border-disabled)}.a-text-input:disabled,.a-text-input:disabled.focus,.a-text-input:disabled.hover,.a-text-input:disabled:focus,.a-text-input:disabled:hover{background-color:var(--input-bg-disabled);border-color:var(--input-border);color:var(--input-text-disabled);cursor:not-allowed;outline:none}.a-text-input--error,.a-text-input--success,.a-text-input--warning{outline-width:1px}.a-text-input--error{--input-border:var(--input-border-error)}.a-text-input--warning{--input-border:var(--input-border-warning)}.a-text-input--success{--input-border:var(--input-border-success)}::-webkit-search-decoration{appearance:none}:-ms-input-placeholder{color:var(--input-text-placeholder)}::placeholder{color:var(--input-text-placeholder)}input[type=date]::-webkit-datetime-edit{color:var(--input-text-placeholder)}", "// Undefined return value for void methods.\nlet UNDEFINED;\n\n// How many options may be checked.\nexport const MAX_SELECTIONS = 5;\n\n/**\n * Escapes a string.\n * @param {string} str - The string to escape.\n * @returns {string} The escaped string.\n */\nfunction stringEscape(str) {\n return str.replace(/[-\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n}\n\n/**\n * Tests whether a string matches another.\n * @param {string} x - The control string.\n * @param {string} y - The comparison string.\n * @returns {boolean} True if `x` and `y` match, false otherwise.\n */\nfunction stringMatch(x, y) {\n return RegExp(stringEscape(y.trim()), 'i').test(x);\n}\n\n/**\n * @class\n * MultiselectModel\n * @param {HTMLOptionsCollection} options\n * Set of options from a <select> element.\n * @param {string} name - a unique name for this multiselect.\n * @param {object} config - Customization of Multiselect behavior\n */\nfunction MultiselectModel(options, name, config) {\n const _options = options;\n const _name = name;\n const _max = config?.maxSelections || MAX_SELECTIONS;\n\n let _optionsData = [];\n\n let _selectedIndices = [];\n let _filterIndices = [];\n\n /* When the options list is filtered, we store a list of filtered indices\n so that when the filter changes we can reset the last matched options. */\n let _lastFilterIndices = [];\n\n // Which option is in focus. -1 means the focus is on the search input.\n let _index = -1;\n\n /**\n * @param {HTMLElement} item - An option HTML node.\n * @returns {string} A (hopefully) unique ID.\n * If it's not unique, we have a duplicate option value.\n */\n function _getOptionId(item) {\n return _name + '-' + item.value.trim().replace(/\\s+/g, '-').toLowerCase();\n }\n\n /**\n * @returns {boolean}\n * True if the maximum number of options are checked, false otherwise.\n */\n function isAtMaxSelections() {\n return _selectedIndices.length >= _max;\n }\n\n /**\n * Cleans up a list of options for saving to memory.\n * @param {HTMLOptionsCollection} list - The options from a select element.\n * @returns {Array} An array of option objects.\n */\n function _formatOptions(list) {\n let item;\n const cleaned = [];\n\n let isChecked = false;\n for (let i = 0, len = list.length; i < len; i++) {\n item = list[i];\n isChecked = isAtMaxSelections() ? false : item.defaultSelected;\n cleaned.push({\n id: _getOptionId(item),\n value: item.value,\n text: item.text,\n checked: isChecked,\n });\n\n // If an option is initially checked, we need to record it.\n if (isChecked) {\n _selectedIndices.push(i);\n }\n }\n\n return cleaned;\n }\n\n /**\n * @returns {MultiselectModel} An instance.\n */\n function init() {\n _optionsData = _formatOptions(_options);\n\n return this;\n }\n\n /**\n * Toggle checked value of an option.\n * @param {number} index - The index position of the option in the list.\n * @returns {boolean} A value of true is checked and false is unchecked.\n */\n function toggleOption(index) {\n _optionsData[index].checked = !_optionsData[index].checked;\n\n if (_selectedIndices.length < _max && _optionsData[index].checked) {\n _selectedIndices.push(index);\n _selectedIndices.sort();\n\n return true;\n }\n // We're over the max selections, reverse the check of the option.\n _optionsData[index].checked = false;\n _selectedIndices = _selectedIndices.filter(function (currIndex) {\n return currIndex !== index;\n });\n\n return false;\n }\n\n /**\n * Utility function for Array.reduce() used in searchIndices.\n * @param {Array} aggregate - The reducer's accumulator.\n * @param {object} item - Each item in the collection.\n * @param {number} index - The index of item in the collection.\n * @param {string} value - The value of item in the collection.\n * @returns {Array} The reducer's accumulator.\n */\n function _searchAggregator(aggregate, item, index, value) {\n if (stringMatch(item.text, value)) {\n aggregate.push(index);\n }\n return aggregate;\n }\n\n /**\n * Search for a query string in the options text and return the indices of\n * the matching positions in the options array.\n * @param {string} query - A query string.\n * @returns {Array} List of indices of the matching entries from the options.\n */\n function filterIndices(query) {\n // Convert query to a string if its not.\n if (Object.prototype.toString.call(query) !== '[object String]') {\n query = '';\n }\n _lastFilterIndices = _filterIndices;\n if (_optionsData.length > 0) {\n _filterIndices = _optionsData.reduce(function (acc, item, index) {\n return _searchAggregator(acc, item, index, query);\n }, []);\n }\n // Reset index position.\n _index = -1;\n\n return _filterIndices;\n }\n\n /**\n * Retrieve an option object from the options list.\n * @param {number} index - The index position in the options list.\n * @returns {object} The option object with text, value, and checked value.\n */\n function getOption(index) {\n return _optionsData[index];\n }\n\n /**\n * Set the index of the collection (represents the highlighted option).\n * @param {number} value - The index to set.\n */\n function setIndex(value) {\n const filterCount = _filterIndices.length;\n const count = filterCount === 0 ? _optionsData.length : filterCount;\n if (value < 0) {\n _index = -1;\n } else if (value >= count) {\n _index = count - 1;\n } else {\n _index = value;\n }\n }\n\n /**\n * @returns {number} The current index (highlighted option).\n */\n function getIndex() {\n return _index;\n }\n\n this.init = init;\n\n // This is used to check an item in the collection.\n this.toggleOption = toggleOption;\n this.getSelectedIndices = function () {\n return _selectedIndices;\n };\n this.isAtMaxSelections = isAtMaxSelections;\n\n // This is used to search the items in the collection.\n this.filterIndices = filterIndices;\n this.clearFilter = function () {\n _filterIndices = _lastFilterIndices = [];\n return UNDEFINED;\n };\n this.getFilterIndices = function () {\n return _filterIndices;\n };\n this.getLastFilterIndices = function () {\n return _lastFilterIndices;\n };\n\n // These are used to highlight items in the collection.\n this.getIndex = getIndex;\n this.setIndex = setIndex;\n this.resetIndex = function () {\n _index = -1;\n return _index;\n };\n\n // This is used to retrieve items from the collection.\n this.getOption = getOption;\n\n return this;\n}\n\nexport default MultiselectModel;\n", "/**\n * Shortcut for creating new dom elements.\n * @param {string} tag - The html elem to create.\n * @param {HTMLElement} parentNode - The parent node to attach to.\n * @param {object} options - The options for building the elem.\n * @returns {HTMLElement} The created elem.\n */\nexport function create(tag, parentNode, options) {\n const elem = document.createElement(tag);\n\n Object.keys(options).forEach((key) => {\n const val = options[key];\n if (key in elem) {\n elem[key] = val;\n } else {\n elem.setAttribute(key, val);\n }\n });\n\n if (parentNode) parentNode.appendChild(elem);\n return elem;\n}\n", "<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>", "import {\n EventObserver,\n checkDom,\n setInitFlag,\n isMobileUserAgent,\n instantiateAll,\n} from '../../utilities';\nimport MultiselectModel, { MAX_SELECTIONS } from './multiselect-model.js';\nimport { create } from './multiselect-utils.js';\n\nimport * as MultiselectStyles from './multiselect.scss';\n\nimport * as closeIconSrc from '../cfpb-icons/icons/error.svg';\nconst closeIcon = closeIconSrc.default;\n\nconst BASE_CLASS = 'o-multiselect';\nconst CHECKBOX_INPUT_CLASS = 'a-checkbox';\nconst TEXT_INPUT_CLASS = 'a-text-input';\n\n// Constants for direction.\nconst DIR_PREV = 'prev';\nconst DIR_NEXT = 'next';\n\n// Constants for key binding.\nconst KEY_RETURN = 'Enter';\nconst KEY_SPACE = ' ';\nconst KEY_ESCAPE = 'Escape';\nconst KEY_UP = 'ArrowUp';\nconst KEY_DOWN = 'ArrowDown';\nconst KEY_TAB = 'Tab';\n\n// Configuration default\nconst DEFAULT_CONFIG = {\n // TODO: renderTags was added as a workaround for DS icons not rendering correctly when integrating with a React implementation.\n renderTags: true, // Allow the Multiselect to generate the Tag elements in the DOM\n maxSelections: MAX_SELECTIONS, // Maximum number of options a user can select\n};\n\n/**\n * Multiselect\n * @class\n * @classdesc Initializes a new Multiselect molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {Multiselect} An instance.\n */\nfunction Multiselect(element) {\n /* TODO: As the multiselect is developed further\n explore whether it should use an updated\n class name or data-* attribute in the\n markup so that it doesn't apply globally by default. */\n element.classList.add(BASE_CLASS);\n\n // Internal vars.\n let _dom = checkDom(element, BASE_CLASS);\n let _isBlurSkipped = false;\n let _name;\n let _placeholder;\n let _model;\n let _options;\n let _config; // Multiselect configuration object\n\n // Markup elems, convert this to templating engine in the future.\n let _containerDom;\n let _selectionsDom;\n let _headerDom;\n let _searchDom;\n let _fieldsetDom;\n let _optionsDom;\n const _optionItemDoms = [];\n let _instance;\n\n /**\n * Set the filtered matched state.\n */\n function _filterMatches() {\n _optionsDom.classList.remove('u-no-results');\n _optionsDom.classList.add('u-filtered');\n\n let filteredIndices = _model.getLastFilterIndices();\n for (let i = 0, len = filteredIndices.length; i < len; i++) {\n _optionItemDoms[filteredIndices[i]].classList.remove('u-filter-match');\n }\n\n filteredIndices = _model.getFilterIndices();\n for (let j = 0, len = filteredIndices.length; j < len; j++) {\n _optionItemDoms[filteredIndices[j]].classList.add('u-filter-match');\n }\n }\n\n /**\n * Resets the filtered option list.\n */\n function _resetFilter() {\n _optionsDom.classList.remove('u-filtered', 'u-no-results');\n\n for (let i = 0, len = _optionsDom.children.length; i < len; i++) {\n _optionsDom.children[i].classList.remove('u-filter-match');\n }\n\n _model.clearFilter();\n }\n\n /**\n * Updates the list of options to show the user there\n * are no matching results.\n */\n function _filterNoMatches() {\n _optionsDom.classList.add('u-no-results');\n _optionsDom.classList.remove('u-filtered');\n }\n\n /**\n * Filter the options list.\n * Every time we filter we have two lists of indices:\n * - The matching options (filterIndices).\n * - The matching options of the last filter (_lastFilterIndices).\n * We need to turn off the filter for any of the last filter matches\n * that are not in the new set, and turn on the filter for the matches\n * that are not in the last set.\n * @param {Array} filterIndices - List of indices to filter from the options.\n * @returns {boolean} True if options are filtered, false otherwise.\n */\n function _filterList(filterIndices) {\n if (filterIndices.length > 0) {\n _filterMatches();\n return true;\n }\n\n _filterNoMatches();\n return false;\n }\n\n /**\n * Evaluates the list of options based on the user's query in the\n * search input.\n * @param {string} value - Text the user has entered in the search query.\n */\n function _evaluate(value) {\n _resetFilter();\n _model.resetIndex();\n const matchedIndices = _model.filterIndices(value);\n _filterList(matchedIndices);\n }\n\n /**\n * Expand the multiselect drop down.\n * @returns {Multiselect} An instance.\n */\n function expand() {\n _containerDom.classList.add('u-active');\n _fieldsetDom.classList.remove('u-invisible');\n _fieldsetDom.setAttribute('aria-hidden', false);\n _instance.dispatchEvent('expandbegin', { target: _instance });\n\n return _instance;\n }\n\n /**\n * Collapse the multiselect drop down.\n * @returns {Multiselect} An instance.\n */\n function collapse() {\n _containerDom.classList.remove('u-active');\n _fieldsetDom.classList.add('u-invisible');\n _fieldsetDom.setAttribute('aria-hidden', true);\n _model.resetIndex();\n _instance.dispatchEvent('collapsebegin', { target: _instance });\n\n return _instance;\n }\n\n /**\n * Highlights an option in the list.\n * @param {string} direction\n * Direction to highlight compared to the current focus.\n */\n function _highlight(direction) {\n if (direction === DIR_NEXT) {\n _model.setIndex(_model.getIndex() + 1);\n } else if (direction === DIR_PREV) {\n _model.setIndex(_model.getIndex() - 1);\n }\n\n const index = _model.getIndex();\n if (index > -1) {\n let filteredIndex = index;\n const filterIndices = _model.getFilterIndices();\n if (filterIndices.length > 0) {\n filteredIndex = filterIndices[index];\n }\n const option = _model.getOption(filteredIndex);\n const value = option.value;\n const item = _optionsDom.querySelector('[data-option=\"' + value + '\"]');\n const input = item.querySelector('input');\n\n _isBlurSkipped = true;\n input.focus();\n } else {\n _isBlurSkipped = false;\n _searchDom.focus();\n }\n }\n\n /**\n * Resets the search input and filtering.\n */\n function _resetSearch() {\n _searchDom.value = '';\n _resetFilter();\n }\n\n /**\n * This passes the click of the selected item button down to the label it\n * contains. This is only required for browsers (IE11) that prevent the\n * click of a selected item from cascading from the button down to the label\n * it contains.\n * @param {MouseEvent} event - The mouse click event object.\n */\n function _selectionClickHandler(event) {\n const target = event.target;\n if (target.tagName === 'BUTTON') {\n event.preventDefault();\n target.removeEventListener('click', _selectionClickHandler);\n target.querySelector('label').click();\n }\n }\n\n /**\n * @param {KeyboardEvent} event - The key down event object.\n */\n function _selectionKeyDownHandler(event) {\n if (event.key === KEY_SPACE || event.key === KEY_RETURN) {\n const label = event.target.querySelector('label');\n const checkbox = _optionsDom.querySelector(\n '#' + label.getAttribute('for'),\n );\n checkbox.click();\n }\n }\n\n /**\n * Create a unique ID based on a select's option HTML element.\n * @param {HTMLElement} option - A option HTML element.\n * @returns {string} A hopefully unique ID.\n */\n function _getOptionId(option) {\n /* Replace any character that is not a word character with a dash.\n https://regex101.com/r/ShHmRw/1\n */\n return (\n _name + '-' + option.value.trim().replace(/[^\\w]/g, '-').toLowerCase()\n );\n }\n\n /**\n * @param {HTMLElement} selectionsDom - The UL item to inject list item into.\n * @param {HTMLElement} option - The OPTION item to extract content from.\n */\n function _createSelectedItem(selectionsDom, option) {\n const optionId = _getOptionId(option);\n const selectionsItemDom = create('li', null, {\n 'data-option': option.value,\n });\n\n const selectionsItemLabelDom = create('button', selectionsItemDom, {\n type: 'button',\n class: 'a-tag-filter',\n innerHTML:\n '<label for=' + optionId + '>' + option.text + closeIcon + '</label>',\n });\n\n selectionsDom.appendChild(selectionsItemDom);\n\n selectionsItemLabelDom.addEventListener('click', _selectionClickHandler);\n selectionsItemLabelDom.addEventListener(\n 'keydown',\n _selectionKeyDownHandler,\n );\n }\n\n /**\n * Tracks a user's selections and updates the list in the dom.\n * @param {number} optionIndex - The index position of the chosen option.\n */\n function _updateSelections(optionIndex) {\n const option =\n _model.getOption(optionIndex) || _model.getOption(_model.getIndex());\n\n if (option) {\n if (option.checked) {\n if (_optionsDom.classList.contains('u-max-selections')) {\n _optionsDom.classList.remove('u-max-selections');\n }\n\n const dataOptionSel = '[data-option=\"' + option.value + '\"]';\n const _selectionsItemDom = _selectionsDom.querySelector(dataOptionSel);\n\n // If the <Tag> exists\n if (typeof _selectionsItemDom !== 'undefined' && _selectionsItemDom) {\n _selectionsDom?.removeChild(_selectionsItemDom);\n }\n }\n // Else, if we are configured to display <Tag>s then render them\n else if (_config?.renderTags && _selectionsDom) {\n _createSelectedItem(_selectionsDom, option);\n }\n _model.toggleOption(optionIndex);\n\n if (_model.isAtMaxSelections()) {\n _optionsDom.classList.add('u-max-selections');\n }\n\n _instance.dispatchEvent('selectionsupdated', { target: _instance });\n }\n\n _model.resetIndex();\n _isBlurSkipped = false;\n\n if (_fieldsetDom.getAttribute('aria-hidden') === 'false') {\n _searchDom.focus();\n }\n }\n\n /**\n * Handles the functions to trigger on the checkbox change.\n * @param {Event} event - The checkbox change event.\n */\n function _changeHandler(event) {\n _updateSelections(Number(event.target.getAttribute('data-index')));\n _resetSearch();\n }\n\n /**\n * Binds events to the search input, option list, and checkboxes.\n */\n function _bindEvents() {\n _headerDom.addEventListener('mousemove', function (event) {\n const target = event.target;\n // Check if we're over the down-arrow on the right side of the input.\n if (event.offsetX > target.offsetWidth - 35) {\n target.style.cursor = 'pointer';\n } else {\n target.style.cursor = 'auto';\n }\n });\n\n _headerDom.addEventListener('mouseup', function (event) {\n const target = event.target;\n\n /* Check if we're over the down-arrow on the right side of the input.\n Also check if the fieldset is open.\n 35 = width of the arrow on the right of the search input.\n 140 = the max-height value set in multiselect.src for the fieldset.\n */\n if (\n event.offsetX > target.offsetWidth - 35 &&\n _fieldsetDom.offsetHeight === 140\n ) {\n _searchDom.blur();\n }\n });\n\n _searchDom.addEventListener('input', function () {\n _evaluate(this.value);\n });\n\n _searchDom.addEventListener('focus', function () {\n if (_fieldsetDom.getAttribute('aria-hidden') === 'true') {\n expand();\n }\n });\n\n _searchDom.addEventListener('blur', function () {\n if (\n !_isBlurSkipped &&\n _fieldsetDom.getAttribute('aria-hidden') === 'false'\n ) {\n collapse();\n }\n });\n\n _searchDom.addEventListener('keydown', function (event) {\n const key = event.key;\n\n if (\n _fieldsetDom.getAttribute('aria-hidden') === 'true' &&\n key !== KEY_TAB\n ) {\n expand();\n }\n\n if (key === KEY_RETURN) {\n event.preventDefault();\n _highlight(DIR_NEXT);\n } else if (key === KEY_ESCAPE) {\n _resetSearch();\n collapse();\n } else if (key === KEY_DOWN) {\n _highlight(DIR_NEXT);\n } else if (\n key === KEY_TAB &&\n !event.shiftKey &&\n _fieldsetDom.getAttribute('aria-hidden') === 'false'\n ) {\n collapse();\n }\n });\n\n _optionsDom.addEventListener('mousedown', function () {\n _isBlurSkipped = true;\n });\n\n _optionsDom.addEventListener('keydown', function (event) {\n const key = event.key;\n const target = event.target;\n const checked = target.checked;\n\n if (key === KEY_RETURN) {\n event.preventDefault();\n\n /* Programmatically checking a checkbox does not fire a change event\n so we need to manually create an event and dispatch it from the input.\n */\n target.checked = !checked;\n const evt = new Event('change', { bubbles: false, cancelable: true });\n target.dispatchEvent(evt);\n } else if (key === KEY_ESCAPE) {\n _searchDom.focus();\n collapse();\n } else if (key === KEY_UP) {\n _highlight(DIR_PREV);\n } else if (key === KEY_DOWN) {\n _highlight(DIR_NEXT);\n }\n });\n\n _fieldsetDom.addEventListener('mousedown', function (event) {\n if (event.target.tagName === 'LABEL') {\n _isBlurSkipped = true;\n }\n });\n\n const inputs = _optionsDom.querySelectorAll('input');\n for (let i = 0, len = inputs.length; i < len; i++) {\n inputs[i].addEventListener('change', _changeHandler);\n }\n\n // Add event listeners to any selections that are present at page load.\n const labelButtons = _selectionsDom.querySelectorAll('button');\n for (let j = 0, len = labelButtons.length; j < len; j++) {\n labelButtons[j].addEventListener('click', _selectionClickHandler);\n labelButtons[j].addEventListener('keydown', _selectionKeyDownHandler);\n }\n }\n\n /**\n * Populates and injects the markup for the custom multiselect.\n * @returns {HTMLElement} Newly created <div> element to hold the multiselect.\n */\n function _populateMarkup() {\n // Add a container for our markup\n _containerDom = document.createElement('div');\n _containerDom.className = BASE_CLASS;\n\n // Create all our markup but wait to manipulate the DOM just once\n _selectionsDom = create('ul', null, {\n className: 'm-tag-group',\n });\n\n _headerDom = create('header', _containerDom, {\n className: BASE_CLASS + '__header',\n });\n\n _searchDom = create('input', _headerDom, {\n className: BASE_CLASS + '__search ' + TEXT_INPUT_CLASS,\n type: 'text',\n placeholder: _placeholder || 'Select up to five',\n id: _dom.id,\n autocomplete: 'off',\n });\n\n _fieldsetDom = create('fieldset', _containerDom, {\n className: BASE_CLASS + '__fieldset u-invisible',\n 'aria-hidden': 'true',\n });\n\n let optionsClasses = BASE_CLASS + '__options';\n if (_model.isAtMaxSelections()) {\n optionsClasses += ' u-max-selections';\n }\n\n _optionsDom = create('ul', _fieldsetDom, {\n className: optionsClasses,\n });\n\n let option;\n let optionId;\n let isChecked;\n for (let i = 0, len = _options.length; i < len; i++) {\n option = _options[i];\n optionId = _getOptionId(option);\n isChecked = _model.getOption(i).checked;\n const optionsItemDom = create('li', _optionsDom, {\n 'data-option': option.value,\n 'data-cy': 'multiselect-option',\n class: 'm-form-field m-form-field--checkbox',\n });\n\n create('input', optionsItemDom, {\n id: optionId,\n // Type must come before value or IE fails\n type: 'checkbox',\n value: option.value,\n name: _name,\n class: CHECKBOX_INPUT_CLASS + ' ' + BASE_CLASS + '__checkbox',\n checked: isChecked,\n 'data-index': i,\n });\n\n create('label', optionsItemDom, {\n for: optionId,\n textContent: option.text,\n className: BASE_CLASS + '__label a-label',\n });\n\n _optionItemDoms.push(optionsItemDom);\n\n // Create <Tag> if enabled\n if (isChecked && _config?.renderTags) {\n _createSelectedItem(_selectionsDom, option);\n }\n }\n\n // Write our new markup to the DOM.\n _containerDom.insertBefore(_selectionsDom, _headerDom);\n _dom.parentNode.insertBefore(_containerDom, _dom);\n _containerDom.appendChild(_dom);\n\n return _containerDom;\n }\n\n /**\n * Set up and create the multiselect.\n * @param {object} multiselectConfig - Multiselect configuration options\n * @returns {Multiselect} An instance.\n */\n function init(multiselectConfig = DEFAULT_CONFIG) {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n if (isMobileUserAgent()) {\n return this;\n }\n\n _instance = this;\n _name = _dom.name || _dom.id;\n _placeholder = _dom.getAttribute('placeholder');\n _options = _dom.options || [];\n\n // Allow devs to pass the config settings they want and not worry about the rest\n _config = { ...DEFAULT_CONFIG, ...multiselectConfig };\n\n if (_options.length > 0) {\n // Store underlying model so we can expose it externally\n _model = new MultiselectModel(_options, _name, _config).init();\n const newDom = _populateMarkup();\n\n /* Removes <select> element,\n and re-assign DOM reference. */\n _dom.parentNode.removeChild(_dom);\n _dom = newDom;\n\n /* We need to set init flag again since we've created a new <div>\n to replace the <select> element. */\n setInitFlag(_dom);\n\n _bindEvents();\n }\n\n return this;\n }\n\n /**\n * Allow external access to the underlying model for integration/customization when used in other applications.\n * @returns {object} Model\n */\n function getModel() {\n return _model;\n }\n\n // Attach public events.\n this.init = init;\n this.expand = expand;\n this.collapse = collapse;\n\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.getModel = getModel;\n this.updateSelections = _updateSelections;\n this.selectionClickHandler = _selectionClickHandler;\n this.selectionKeyDownHandler = _selectionKeyDownHandler;\n\n return this;\n}\n\nMultiselect.BASE_CLASS = BASE_CLASS;\nMultiselect.init = (config) =>\n instantiateAll(`.${BASE_CLASS}`, Multiselect, undefined, config);\n\nexport { Multiselect, MultiselectStyles };\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.cf-icon-svg{height:1.1875em;vertical-align:text-top;fill:currentcolor}.cf-icon-svg--updating,.cf-icon-svg--updating-round{animation:updating-animation 1.25s linear infinite;transform-origin:50% 50%}@keyframes updating-animation{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}html[lang=ar] .cf-icon-svg--arrow-left,html[lang=ar] .cf-icon-svg--arrow-left-round,html[lang=ar] .cf-icon-svg--arrow-right,html[lang=ar] .cf-icon-svg--arrow-right-round,html[lang=ar] .cf-icon-svg--book,html[lang=ar] .cf-icon-svg--book-round,html[lang=ar] .cf-icon-svg--bullhorn,html[lang=ar] .cf-icon-svg--bullhorn-round,html[lang=ar] .cf-icon-svg--cart,html[lang=ar] .cf-icon-svg--cart-round,html[lang=ar] .cf-icon-svg--chart,html[lang=ar] .cf-icon-svg--chart-round,html[lang=ar] .cf-icon-svg--disability,html[lang=ar] .cf-icon-svg--disability-round,html[lang=ar] .cf-icon-svg--document,html[lang=ar] .cf-icon-svg--document-round,html[lang=ar] .cf-icon-svg--edit,html[lang=ar] .cf-icon-svg--edit-round,html[lang=ar] .cf-icon-svg--external-link,html[lang=ar] .cf-icon-svg--external-link-round,html[lang=ar] .cf-icon-svg--help,html[lang=ar] .cf-icon-svg--help-round,html[lang=ar] .cf-icon-svg--left,html[lang=ar] .cf-icon-svg--left-round,html[lang=ar] .cf-icon-svg--list,html[lang=ar] .cf-icon-svg--list-round,html[lang=ar] .cf-icon-svg--paper-clip,html[lang=ar] .cf-icon-svg--paper-clip-round,html[lang=ar] .cf-icon-svg--right,html[lang=ar] .cf-icon-svg--right-round,html[lang=ar] .cf-icon-svg--travel,html[lang=ar] .cf-icon-svg--travel-round{transform:scaleX(-1)}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-card{position:relative}.m-card:not(.m-card--breakout)>a{padding:1.875em}.m-card:not(.m-card--breakout) .m-card__footer{margin-top:auto}.m-card:not(.m-card--breakout,.m-card--topic){background:var(--white);border:solid var(--gray-20);border-width:1px 1px 3px;padding:1.875em}.m-card:not(.m-card--breakout,.m-card--topic),.m-card>a{box-sizing:border-box;display:flex;flex-basis:0;flex-direction:column;flex-grow:1;height:100%}.m-card a:focus{outline-offset:2px}.m-card__footer>a{border-bottom-width:1px;font-weight:500}@media only screen and (max-width:56.3125em){.m-card__heading{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-card__heading,.h2+.m-card__heading,.h4+.m-card__heading,.h5+.m-card__heading,.h6+.m-card__heading,blockquote+.m-card__heading,dl+.m-card__heading,figure+.m-card__heading,h1+.m-card__heading,h2+.m-card__heading,h4+.m-card__heading,h5+.m-card__heading,h6+.m-card__heading,img+.m-card__heading,ol+.m-card__heading,p+.m-card__heading,table+.m-card__heading,ul+.m-card__heading{margin-top:1.3636363636em}}@media only screen and (max-width:56.3125em) and (max-width:37.5em){.m-card__heading{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.m-card__heading,.h2+.m-card__heading,.h3+.m-card__heading,.h5+.m-card__heading,.h6+.m-card__heading,blockquote+.m-card__heading,dl+.m-card__heading,figure+.m-card__heading,h1+.m-card__heading,h2+.m-card__heading,h3+.m-card__heading,h5+.m-card__heading,h6+.m-card__heading,img+.m-card__heading,ol+.m-card__heading,p+.m-card__heading,table+.m-card__heading,ul+.m-card__heading{margin-top:1.6666666667em}}.m-card__heading>a{color:var(--black)}.m-card__heading>a:hover{color:var(--pacific)}.m-card__heading>a .m-card__icon{font-size:1em;margin-bottom:0;padding-right:.46875em}.m-card__heading>a .m-card__icon,.m-card__heading>a span{display:table-cell}.m-card>.m-list{margin-bottom:30px;margin-top:10px}.m-card--topic{background:var(--white);text-align:center;width:170px}.m-card--topic>a{border:solid var(--gray-20);border-width:1px 1px 3px}.m-card--topic .m-card__icon{color:var(--green);font-size:1.875em;margin-bottom:.3125em}.m-card--topic:hover>a{box-shadow:0 2px 0 0 inset var(--gray-20),2px 0 0 0 inset var(--gray-20),-2px 0 0 0 inset var(--gray-20)}.m-card--topic:hover:after{background:var(--green);bottom:1px;content:\"\";height:5px;left:0;position:absolute;width:100%}.m-card--topic .m-card__footer>span{border-color:var(--pacific);border-style:dotted;border-width:0 0 1px;color:var(--pacific);display:inline;font-weight:500;text-decoration:none}.m-card--topic>a:visited .m-card__footer>span{border-color:var(--teal);color:var(--teal)}.m-card--topic:hover .m-card__footer>span{border-style:solid}.m-card--topic:hover .m-card__footer>span,.m-card--topic>a:active .m-card__footer>span,.m-card--topic>a:focus .m-card__footer>span{border-color:var(--pacific-dark);color:var(--pacific-dark)}.m-card--topic>a:active .m-card__footer>span{border-style:solid}.m-card--topic-action .m-card__icon{color:var(--pacific)}.m-card--breakout{min-width:210px;text-align:center}.m-card--breakout>a{padding-top:60px}.m-card--breakout .m-card__inner-wrapper{background:var(--gray-5);border:solid var(--gray-20);border-width:1px 1px 3px;min-height:135px;position:relative;z-index:0}.m-card--breakout .m-card__img{height:120px;left:50%;margin-left:-105px;position:absolute;top:0;width:210px;z-index:1}.m-card--breakout .m-card__footer{margin-top:84px}.m-card--breakout:hover .m-card__inner-wrapper{box-shadow:0 2px 0 0 inset var(--gray-20),2px 0 0 0 inset var(--gray-20),-2px 0 0 0 inset var(--gray-20)}.m-card--breakout:hover:after{background:var(--green);bottom:1px;content:\"\";height:5px;left:0;position:absolute;width:100%}.m-card--breakout .m-card__footer>span{border-color:var(--pacific);border-style:dotted;border-width:0 0 1px;color:var(--pacific);display:inline;font-weight:500;text-decoration:none}.m-card--breakout>a:visited .m-card__footer>span{border-color:var(--teal);color:var(--teal)}.m-card--breakout:hover .m-card__footer>span{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}.m-card--breakout>a:focus .m-card__footer>span{border-color:var(--pacific);color:var(--pacific)}.m-card--breakout>a:active .m-card__footer>span{border-color:var(--navy);border-style:solid;color:var(--navy)}.m-card--breakout .m-card__footer>span{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-card--breakout .m-card__footer>span,.h2+.m-card--breakout .m-card__footer>span,.h4+.m-card--breakout .m-card__footer>span,.h5+.m-card--breakout .m-card__footer>span,.h6+.m-card--breakout .m-card__footer>span,blockquote+.m-card--breakout .m-card__footer>span,dl+.m-card--breakout .m-card__footer>span,figure+.m-card--breakout .m-card__footer>span,h1+.m-card--breakout .m-card__footer>span,h2+.m-card--breakout .m-card__footer>span,h4+.m-card--breakout .m-card__footer>span,h5+.m-card--breakout .m-card__footer>span,h6+.m-card--breakout .m-card__footer>span,img+.m-card--breakout .m-card__footer>span,ol+.m-card--breakout .m-card__footer>span,p+.m-card--breakout .m-card__footer>span,table+.m-card--breakout .m-card__footer>span,ul+.m-card--breakout .m-card__footer>span{margin-top:1.3636363636em}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-card-group>h2{margin-bottom:1.875rem}.o-card-group--column-2 .o-card-group__cards{grid-template-columns:1fr 1fr}.o-card-group--column-3 .o-card-group__cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media only screen and (max-width:63.8125em){.o-card-group--column-3 .o-card-group__cards{grid-template-columns:1fr 1fr}}.o-card-group__cards{column-gap:1.25em;display:grid;row-gap:1.25em}@media only screen and (max-width:37.5em){.o-card-group__cards{grid-template-columns:100%!important}}.o-card-group--bg-green{background:var(--green-20);padding:1.875em}.o-card-group__cards,_:-ms-lang(x){display:block}.o-card-group__cards .m-card,_:-ms-lang(x) .m-card{display:block;float:left;margin-bottom:10px}.o-card-group--column-2 .o-card-group__cards .m-card,_:-ms-lang(x) .o-card-group__cards .m-card{margin-right:2%;width:48%}.o-card-group--column-2 .o-card-group__cards .m-card:last-child,_:-ms-lang(x) .o-card-group__cards .m-card:last-child{margin-right:0}.o-card-group--column-3 .o-card-group__cards .m-card,_:-ms-lang(x) .o-card-group__cards .m-card{margin-right:1%;width:32%}.o-card-group--column-3 .o-card-group__cards .m-card:last-child,_:-ms-lang(x) .o-card-group__cards .m-card:last-child{margin-right:0}.o-card-group:after,_:-ms-lang(x){clear:both;content:\"\";display:table}.o-card-group--count-2 .m-card:first-of-type,.o-card-group--count-3 .m-card:first-of-type,.o-card-group--count-4 .m-card:first-of-type{grid-area:card1}.o-card-group--count-2 .m-card:nth-of-type(2),.o-card-group--count-3 .m-card:nth-of-type(2),.o-card-group--count-4 .m-card:nth-of-type(2){grid-area:card2}.o-card-group--count-2 .m-card:nth-of-type(3),.o-card-group--count-3 .m-card:nth-of-type(3),.o-card-group--count-4 .m-card:nth-of-type(3){grid-area:card3}.o-card-group--count-2 .m-card:nth-of-type(4),.o-card-group--count-3 .m-card:nth-of-type(4),.o-card-group--count-4 .m-card:nth-of-type(4){grid-area:card4}.o-card-group--count-2 .o-card-group__cards{grid-template-areas:\"card1 card2\";grid-template-columns:1fr 1fr}.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1 card2\" \"card1 card3\";grid-template-columns:1fr 1fr}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.7307692308em}.h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h3+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h3+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.3636363636em}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h2+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h2+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.3636363636em}}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type>a{justify-content:center}.o-card-group--count-4 .o-card-group__cards{grid-template-areas:\"card1 card2\" \"card3 card4\";grid-template-columns:1fr 1fr}.o-card-group--flow .o-card-group__cards{display:flex;flex-wrap:wrap;justify-content:center}@media only screen and (min-width:37.5625em) and (max-width:56.25em){.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1 card1\" \"card2 card3\";grid-template-columns:1fr 1fr}}@media only screen and (max-width:37.5em){.o-card-group--count-2 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\";grid-template-columns:1fr}.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\" \"card3\";grid-template-columns:1fr}.o-card-group--count-4 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\" \"card3\" \"card4\";grid-template-columns:1fr}.o-card-group--flow .o-card-group__cards{display:block}.o-card-group--flow .o-card-group__cards .m-card{margin-bottom:1.875em;width:100%}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-email-signup .m-notification{margin-bottom:.9375em}.o-email-signup .a-text-input{max-width:23.125rem}.o-email-signup__buttons{align-items:center;display:flex;flex-wrap:wrap-reverse;gap:.9375em;margin-top:.9375em}.o-email-signup .a-btn{text-align:inherit}@media only screen and (max-width:37.5em){.o-email-signup .a-label--heading{font-size:1em}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-featured-content-module{background-color:var(--gray-5);border:1px solid var(--gray-40);min-height:220px;position:relative}.o-featured-content-module__text{padding-bottom:1.875em;padding-top:1.875em}.o-featured-content-module__img{display:block}@media only screen and (max-width:37.5em){.o-featured-content-module__text,.o-featured-content-module__visual{padding-left:.9375em;padding-right:.9375em}.o-featured-content-module__visual{padding-bottom:.9375em}.o-featured-content-module__img{margin-left:auto;margin-right:auto}}@media only screen and (min-width:37.5625em){.o-featured-content-module__text{padding-left:1.875em;padding-right:300px}.o-featured-content-module__visual{height:100%;overflow:hidden;position:absolute;right:0;top:0;width:270px}.o-featured-content-module__img{height:100%;left:50%;max-width:none;position:absolute;transform:translateX(-50%)}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-hero{background-color:var(--gray-5)}.m-hero__wrapper{display:grid;margin:0 auto;max-width:1200px;padding-bottom:30px;padding-top:30px}.m-hero__text{padding-left:15px;padding-right:15px}.m-hero__heading{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.m-hero__heading,dl+.m-hero__heading,figure+.m-hero__heading,img+.m-hero__heading,ol+.m-hero__heading,p+.m-hero__heading,table+.m-hero__heading,ul+.m-hero__heading{margin-top:1.7647058824em}.m-hero__subhead{font-size:22px;line-height:1.25}.m-hero__image-wrapper{box-sizing:border-box;overflow:hidden}.m-hero__image{background-position:50%;background-repeat:no-repeat;background-size:contain;display:none;width:100%}@supports (display:grid){.m-hero__image{display:block}}.m-hero--knockout{background-color:var(--gray);color:var(--white)}.m-hero--overlay .m-hero__wrapper{background-position:50%;background-repeat:no-repeat;background-size:cover}.m-hero--50-50,.m-hero--jumbo{background-color:var(--white)}.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}@media only screen and (min-width:37.5625em){.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-hero--50-50 .m-hero__subhead,.h1+.m-hero--jumbo .m-hero__subhead,.h2+.m-hero--50-50 .m-hero__subhead,.h2+.m-hero--jumbo .m-hero__subhead,.h4+.m-hero--50-50 .m-hero__subhead,.h4+.m-hero--jumbo .m-hero__subhead,.h5+.m-hero--50-50 .m-hero__subhead,.h5+.m-hero--jumbo .m-hero__subhead,.h6+.m-hero--50-50 .m-hero__subhead,.h6+.m-hero--jumbo .m-hero__subhead,blockquote+.m-hero--50-50 .m-hero__subhead,blockquote+.m-hero--jumbo .m-hero__subhead,dl+.m-hero--50-50 .m-hero__subhead,dl+.m-hero--jumbo .m-hero__subhead,figure+.m-hero--50-50 .m-hero__subhead,figure+.m-hero--jumbo .m-hero__subhead,h1+.m-hero--50-50 .m-hero__subhead,h1+.m-hero--jumbo .m-hero__subhead,h2+.m-hero--50-50 .m-hero__subhead,h2+.m-hero--jumbo .m-hero__subhead,h4+.m-hero--50-50 .m-hero__subhead,h4+.m-hero--jumbo .m-hero__subhead,h5+.m-hero--50-50 .m-hero__subhead,h5+.m-hero--jumbo .m-hero__subhead,h6+.m-hero--50-50 .m-hero__subhead,h6+.m-hero--jumbo .m-hero__subhead,img+.m-hero--50-50 .m-hero__subhead,img+.m-hero--jumbo .m-hero__subhead,ol+.m-hero--50-50 .m-hero__subhead,ol+.m-hero--jumbo .m-hero__subhead,p+.m-hero--50-50 .m-hero__subhead,p+.m-hero--jumbo .m-hero__subhead,table+.m-hero--50-50 .m-hero__subhead,table+.m-hero--jumbo .m-hero__subhead,ul+.m-hero--50-50 .m-hero__subhead,ul+.m-hero--jumbo .m-hero__subhead{margin-top:1.3636363636em}}@media only screen and (min-width:63.8125em){.m-hero--50-50 .m-hero__wrapper,.m-hero--jumbo .m-hero__wrapper{min-height:285px}.m-hero--50-50 .m-hero__heading,.m-hero--jumbo .m-hero__heading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.625em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.m-hero--50-50 .m-hero__subhead,blockquote+.m-hero--jumbo .m-hero__subhead,dl+.m-hero--50-50 .m-hero__subhead,dl+.m-hero--jumbo .m-hero__subhead,figure+.m-hero--50-50 .m-hero__subhead,figure+.m-hero--jumbo .m-hero__subhead,img+.m-hero--50-50 .m-hero__subhead,img+.m-hero--jumbo .m-hero__subhead,ol+.m-hero--50-50 .m-hero__subhead,ol+.m-hero--jumbo .m-hero__subhead,p+.m-hero--50-50 .m-hero__subhead,p+.m-hero--jumbo .m-hero__subhead,table+.m-hero--50-50 .m-hero__subhead,table+.m-hero--jumbo .m-hero__subhead,ul+.m-hero--50-50 .m-hero__subhead,ul+.m-hero--jumbo .m-hero__subhead{margin-top:1.7307692308em}.h1+.m-hero--50-50 .m-hero__subhead,.h1+.m-hero--jumbo .m-hero__subhead,.h3+.m-hero--50-50 .m-hero__subhead,.h3+.m-hero--jumbo .m-hero__subhead,.h4+.m-hero--50-50 .m-hero__subhead,.h4+.m-hero--jumbo .m-hero__subhead,.h5+.m-hero--50-50 .m-hero__subhead,.h5+.m-hero--jumbo .m-hero__subhead,.h6+.m-hero--50-50 .m-hero__subhead,.h6+.m-hero--jumbo .m-hero__subhead,h1+.m-hero--50-50 .m-hero__subhead,h1+.m-hero--jumbo .m-hero__subhead,h3+.m-hero--50-50 .m-hero__subhead,h3+.m-hero--jumbo .m-hero__subhead,h4+.m-hero--50-50 .m-hero__subhead,h4+.m-hero--jumbo .m-hero__subhead,h5+.m-hero--50-50 .m-hero__subhead,h5+.m-hero--jumbo .m-hero__subhead,h6+.m-hero--50-50 .m-hero__subhead,h6+.m-hero--jumbo .m-hero__subhead{margin-top:1.1538461538em}}@media only screen and (max-width:37.5em){.m-hero__image-wrapper{margin-top:1.875em}.m-hero--overlay .m-hero__wrapper{background-image:none!important}.m-hero--jumbo .m-hero__wrapper{padding-bottom:0}}@media only screen and (max-width:56.25em){.m-hero__heading{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.m-hero__heading,dl+.m-hero__heading,figure+.m-hero__heading,img+.m-hero__heading,ol+.m-hero__heading,p+.m-hero__heading,table+.m-hero__heading,ul+.m-hero__heading{margin-top:1.7307692308em}.h1+.m-hero__heading,.h3+.m-hero__heading,.h4+.m-hero__heading,.h5+.m-hero__heading,.h6+.m-hero__heading,h1+.m-hero__heading,h3+.m-hero__heading,h4+.m-hero__heading,h5+.m-hero__heading,h6+.m-hero__heading{margin-top:1.1538461538em}.m-hero__subhead{font-size:18px}}@media only screen and (min-width:37.5625em){.m-hero__wrapper{grid-template-columns:7fr 5fr;min-height:225px;padding-left:15px;padding-right:15px}.m-hero__text{margin:auto 0}.m-hero__image-wrapper{align-items:center;display:flex;padding-left:15px;padding-right:15px}.m-hero--bleeding .m-hero__image-wrapper{margin-bottom:-2.8125em;margin-top:-2.8125em;width:100%}.m-hero--bleeding .m-hero__image{background-size:cover;height:100%;padding-bottom:0!important;width:100%}.m-hero--overlay .m-hero__image{display:none}.m-hero--jumbo .m-hero__wrapper{background-position:50%;background-repeat:no-repeat;background-size:cover}.m-hero--jumbo .m-hero__image{display:none}.m-hero--50-50 .m-hero__wrapper{background-position:100%;background-repeat:no-repeat;background-size:50%;border:1px solid var(--gray-40);border-top:none;grid-template-columns:1fr 1fr}.m-hero--50-50 .m-hero__image{display:none}}@media only screen and (min-width:63.8125em){.m-hero__wrapper{min-height:195px;padding-bottom:2.8125em;padding-top:2.8125em}.m-hero--bleeding .m-hero__image-wrapper{margin-bottom:-2.8125em;margin-top:-2.8125em}.m-hero--50-50 .m-hero__wrapper{min-height:345px}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.content-l{position:relative}@media only screen and (min-width:37.5625em){.content-l{display:block;margin-left:-15px;margin-right:-15px;position:relative}}@media only screen and (max-width:37.5em){.content-l__col+.content-l__col{margin-top:1.875em}}@media only screen and (min-width:37.5625em){.content-l__col-1{width:100%}.content-l__col-1,.content-l__col-1-2{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-1-2{width:50%}.content-l__col-1-3{width:33.3333333333%}.content-l__col-1-3,.content-l__col-2-3{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-2-3{width:66.6666666667%}.content-l__col-3-8{width:37.5%}.content-l__col-3-8,.content-l__col-5-8{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-5-8{width:62.5%}.content-l__col-1-4{width:25%}.content-l__col-1-4,.content-l__col-3-4{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-3-4{width:75%}}.content__line{background:var(--gray-40);height:1px}.content__intro dd,.content__intro dt,.content__intro h3,.content__intro h4,.content__intro h5,.content__intro h6,.content__intro label,.content__intro li,.content__intro p,.content__main dd,.content__main dt,.content__main h3,.content__main h4,.content__main h5,.content__main h6,.content__main label,.content__main li,.content__main p{max-width:41.875rem}.content__intro,.content__main,.content__sidebar{padding:1.875em .9375em}@media only screen and (min-width:37.5625em){.content__intro,.content__main,.content__sidebar{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;padding:2.8125em .9375em;vertical-align:top;width:100%}}@media only screen and (min-width:56.3125em){.content__intro,.content__main,.content__sidebar{padding:2.8125em 0}.content__intro{width:100%}.content--1-3 .content__sidebar,.content__intro{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content--1-3 .content__sidebar{padding-right:1.875em;width:25%}.content--1-3 .content__main{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;position:relative;vertical-align:top;width:75%}.content--1-3 .content__main:after{border-left:1px solid var(--gray-40);bottom:0;content:\"\";left:-1.875em;position:absolute;top:2.8125em}.content--2-1 .content__main{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top;width:66.6666666667%}.content--2-1 .content__main:after{right:-1.875em}.content--2-1 .content__sidebar{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;padding-left:1.875em;vertical-align:top;width:33.3333333333%}}.content--flush-bottom{padding-bottom:0}@media only screen and (max-width:56.25em){.content--flush-top-on-small{padding-top:0}.content--flush-all-on-small{border:none;padding:0}}.block{margin-bottom:3.75em;margin-top:3.75em}.block--border-top{border-top:1px solid var(--gray-40)}.block--border-right{border-right:1px solid var(--gray-40)}.block--border-bottom{border-bottom:1px solid var(--gray-40)}.block--border-left{border-left:1px solid var(--gray-40)}.block--border{border:1px solid var(--gray-40)}.block--flush-top{margin-top:0!important}.block--flush-top.block--border,.block--flush-top.block--border-top{border-top:none}.block--flush-bottom{margin-bottom:0!important}.block--flush-bottom.block--border,.block--flush-bottom.block--border-bottom{border-bottom:none}.block--flush-sides{margin-left:-15px;margin-right:-15px}@media only screen and (max-width:37.5em){.block--flush-sides.block--border,.block--flush-sides.block--border-left,.block--flush-sides.block--border-right{border-left:none;border-right:none}}@media only screen and (min-width:37.5625em){.block--flush-sides{margin-left:-30px;margin-right:-30px}}.block--flush{margin-bottom:0!important;margin-left:-15px;margin-right:-15px;margin-top:0!important}.block--flush.block--border,.block--flush.block--border-bottom,.block--flush.block--border-top{border-bottom:none;border-top:none}@media only screen and (max-width:37.5em){.block--flush.block--border,.block--flush.block--border-left,.block--flush.block--border-right{border-left:none;border-right:none}}@media only screen and (min-width:37.5625em){.block--flush{margin-left:-30px;margin-right:-30px}}.block--bg{background:var(--gray-5);padding:1.875em .9375em 3.75em}@media only screen and (min-width:37.5625em){.block--bg{padding:2.8125em 1.875em}}.block--padded-top{margin-top:1.875em;padding-top:1.875em}.block--padded-bottom{margin-bottom:1.875em;padding-bottom:1.875em}.block--sub{margin-bottom:1.875em;margin-top:1.875em}@media only screen and (min-width:56.3125em){.wrapper{clear:both;margin:0 auto;max-width:1200px;padding-left:15px;padding-right:15px}}.wrapper--match-content{padding-left:15px;padding-right:15px}@media only screen and (min-width:37.5625em){.wrapper--match-content{max-width:1200px;padding-left:30px;padding-right:30px}}", ".o-text-introduction{margin-bottom:60px;margin-top:0}.o-text-introduction>*{margin-bottom:15px;margin-top:0;max-width:41.875rem}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-well{background-color:var(--gray-5);border:1px solid var(--gray-40);box-sizing:border-box;padding:1.875em .9375em}@media only screen and (min-width:37.5625em){.o-well{padding-left:1.875em;padding-right:1.875em}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.o-banner{background:var(--gold-10);border-bottom:1px solid var(--gray-40);font-size:.875em;padding:.9375em 0}.o-banner .m-notification{border:none;padding:0}.o-banner .m-notification__icon{left:0;top:0}.o-banner--dark{border-color:var(--teal-dark);color:var(--white)}.o-banner--dark,.o-banner--dark .m-notification{background:var(--teal-dark)}.o-banner--dark .m-notification .cf-icon-svg{fill:var(--white)}.o-banner--dark .m-notification a{border-color:var(--white);color:var(--white)}.o-banner--dark .m-notification a.visited,.o-banner--dark .m-notification a:visited{border-color:var(--teal-40);color:var(--teal-40)}.o-banner--dark .m-notification a.hover,.o-banner--dark .m-notification a:hover{border-color:var(--gray-15);color:var(--gray-15)}.o-banner--dark .m-notification a.focus,.o-banner--dark .m-notification a:focus{border-color:var(--white);color:var(--white)}.o-banner--dark .m-notification a.active,.o-banner--dark .m-notification a:active{border-color:var(--gray-15);color:var(--gray-15)}@media only screen and (min-width:37.5625em){.o-banner{font-size:1em}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.m-notification{background:var(--gray-5);border:1px solid var(--gray-40);display:none;padding:.9375rem}.m-notification>.cf-icon-svg{flex:none;fill:var(--gray)}.m-notification--success{background:var(--green-10);border-color:var(--green)}.m-notification--success>.cf-icon-svg{fill:var(--green)}.m-notification--warning{background:var(--gold-10);border-color:var(--gold)}.m-notification--warning>.cf-icon-svg{fill:var(--gold)}.m-notification--error{background:var(--red-10);border-color:var(--red)}.m-notification--error>.cf-icon-svg{fill:var(--red)}.m-notification--error a,.m-notification--success a,.m-notification--warning a{border-color:var(--pacific-mid-dark);color:var(--pacific-mid-dark)}.m-notification--error a.visited,.m-notification--error a:visited,.m-notification--success a.visited,.m-notification--success a:visited,.m-notification--warning a.visited,.m-notification--warning a:visited{border-color:var(--teal);color:var(--teal)}.m-notification--error a.hover,.m-notification--error a:hover,.m-notification--success a.hover,.m-notification--success a:hover,.m-notification--warning a.hover,.m-notification--warning a:hover{border-color:var(--pacific-dark);color:var(--pacific-dark)}.m-notification--error a.focus,.m-notification--error a:focus,.m-notification--success a.focus,.m-notification--success a:focus,.m-notification--warning a.focus,.m-notification--warning a:focus{border-color:var(--pacific-mid-dark);color:var(--pacific-mid-dark)}.m-notification--error a.active,.m-notification--error a:active,.m-notification--success a.active,.m-notification--success a:active,.m-notification--warning a.active,.m-notification--warning a:active{border-color:var(--navy-dark);color:var(--navy-dark)}.m-notification--visible{display:flex;gap:.3125rem}.m-notification__content{max-width:41.875rem}.cf-icon-svg+.m-notification__content{flex-grow:1}.m-notification__message{font-size:1rem;font-weight:500;line-height:1.25}@media only screen and (min-width:37.5625em){.m-notification__message{font-size:1.125rem}}.m-notification__explanation{margin-bottom:.9375rem;margin-top:.3125rem}.m-notification__message+.m-list{margin-top:.9375rem}@media only screen and (min-width:37.5625em){.m-notification .cf-icon-svg{font-size:1.125rem}.m-notification__explanation{margin-bottom:0}.m-notification .m-list{margin-top:.3125rem}.m-notification .m-list__item{margin-bottom:.3125rem}}html[lang=ar] .m-notification .cf-icon-svg+.m-notification__content{padding-left:0;padding-right:1.5625rem}html[lang=ar] .m-notification .m-list{padding-right:0}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-pagination{display:grid;grid-template-areas:\"pag-btn-prev . pag-btn-next\" \"pag-form pag-form pag-form\";grid-template-columns:auto 1fr auto;row-gap:.9375rem}.m-pagination__form{background:var(--gray-5);border-radius:.25rem;color:var(--gray);display:flex;flex-flow:wrap;gap:.625rem;grid-area:pag-form;padding:.3125rem;place-content:center}.m-pagination__current-page{font-weight:500;text-align:right;width:2.8125rem}.m-pagination__label{display:contents;white-space:nowrap}.m-pagination__btn-prev{grid-area:pag-btn-prev;z-index:1}.m-pagination__btn-next{grid-area:pag-btn-next;z-index:1}@media only screen and (min-width:37.5625em){.m-pagination{grid-template-areas:\"pag-btn-prev pag-form pag-btn-next\"}.m-pagination__btn-prev{border-bottom-right-radius:0;border-top-right-radius:0}.m-pagination__btn-next{border-bottom-left-radius:0;border-top-left-radius:0}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-table__cell--right-align{text-align:right}.o-table--scrolling{box-sizing:border-box;overflow-y:hidden}.o-table--scrolling table{border:1px solid var(--gray-40)}.o-table--scrolling table>tbody>tr:nth-child(2n)>td,.o-table--scrolling table>tbody>tr:nth-child(2n)>th{background:var(--gray-5)}@media only screen and (min-width:37.5625em){.o-table--striped>tbody>tr:nth-child(2n)>td,.o-table--striped>tbody>tr:nth-child(2n)>th{background:var(--gray-5)}}@media only screen and (max-width:600px){.o-table{width:100%}.o-table--striped tr:nth-child(2n)>td,.o-table--striped tr:nth-child(2n)>th{background:var(--white)}.o-table--stack-on-small{border-top:1px solid var(--gray-40)}.o-table--stack-on-small [data-display-table=cell],.o-table--stack-on-small [data-display-table=row],.o-table--stack-on-small td,.o-table--stack-on-small tr{display:block}.o-table--stack-on-small [data-display-table=cell],.o-table--stack-on-small td,.o-table--stack-on-small th{padding-left:0;padding-right:0;width:100%}.o-table--stack-on-small [data-display-table=thead],.o-table--stack-on-small>thead{display:none}.o-table--stack-on-small td[data-label]:before{content:attr(data-label);display:block;font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.83333333;margin-bottom:.3125em;margin-top:0;text-transform:uppercase}.o-table--stack-on-small [data-display-table=cell]:last-child,.o-table--stack-on-small td:last-child{margin-bottom:1.875em}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-date{color:var(--gray);font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase;white-space:nowrap}.h1+.a-date,.h2+.a-date,.h3+.a-date,.h4+.a-date,.h6+.a-date,blockquote+.a-date,dl+.a-date,figure+.a-date,h1+.a-date,h2+.a-date,h3+.a-date,h4+.a-date,h6+.a-date,img+.a-date,ol+.a-date,p+.a-date,table+.a-date,ul+.a-date{margin-top:2.1428571429em}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.a-link{border-bottom-width:0}.a-link .a-link__text{border-bottom-style:inherit;border-bottom-width:1px;overflow-wrap:break-word}.a-link--jump{font-weight:500}@media only screen and (max-width:37.5em){.a-link--jump{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}.a-link--jump .cf-icon-svg--right{margin-left:auto}.a-link--jump .a-link__text{border-bottom-width:0;flex-shrink:10}}a.a-link--jump{font-weight:500}@media only screen and (max-width:37.5em){a.a-link--jump{border-bottom-width:1px;border-top-width:1px}a.a-link--jump:focus{outline:none}a.a-link--jump:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){li:has(.a-link--jump)+li:has(.a-link--jump) .a-link--jump{border-top:none;position:relative}li:has(.a-link--jump)+li:has(.a-link--jump) a.a-link--jump:focus:before,li:has(.a-link--jump)+li:has(.a-link--jump) a.a-link--jump:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-list--horizontal,.m-list--links,.m-list--unstyled{list-style-type:none;padding-left:0}.m-list--horizontal .m-list__item,.m-list--links .m-list__item,.m-list--unstyled .m-list__item{margin-left:0}.m-list--horizontal .m-list__item{display:inline-block;margin-bottom:0;margin-right:.25em}@media only screen and (max-width:37.5em){.m-list--links .m-list__item{margin-bottom:0}}html[lang=ar] .m-list{padding-right:0}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-meta-header{column-gap:1.3125rem;display:flex;flex-direction:column-reverse;flex-wrap:wrap-reverse;overflow:hidden;padding-bottom:.625rem;row-gap:.625rem;width:fit-content}.m-meta-header__item-group{column-gap:1.3125rem;display:flex;flex-wrap:wrap}.m-meta-header__item{display:grid;font-size:1.125em;font-weight:500;grid-template-columns:0 auto 1fr;letter-spacing:inherit;line-height:1.25;margin-bottom:0;row-gap:.3125rem;text-transform:inherit;text-wrap:balance}.h1+.m-meta-header__item,.h2+.m-meta-header__item,.h3+.m-meta-header__item,.h5+.m-meta-header__item,.h6+.m-meta-header__item,blockquote+.m-meta-header__item,dl+.m-meta-header__item,figure+.m-meta-header__item,h1+.m-meta-header__item,h2+.m-meta-header__item,h3+.m-meta-header__item,h5+.m-meta-header__item,h6+.m-meta-header__item,img+.m-meta-header__item,ol+.m-meta-header__item,p+.m-meta-header__item,table+.m-meta-header__item,ul+.m-meta-header__item{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.m-meta-header__item{font-size:1em;line-height:1.125;margin-bottom:.625em;margin-bottom:.3125rem}}.m-meta-header__item .cf-icon-svg{margin-right:.3125rem}.m-meta-header__item:before{content:\"|\";margin-left:-.8125rem}.m-meta-header__item .a-date{font-size:.875rem;line-height:1.7142857143;margin-bottom:0}@media only screen and (min-width:37.5625em){.m-meta-header{flex-direction:row}}", "@charset \"UTF-8\";:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-pull-quote__body{color:var(--black);font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}@media only screen and (max-width:37.5em){.m-pull-quote__body{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.m-pull-quote__citation{color:var(--gray);font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.m-pull-quote__citation,.h2+.m-pull-quote__citation,.h3+.m-pull-quote__citation,.h4+.m-pull-quote__citation,.h6+.m-pull-quote__citation,blockquote+.m-pull-quote__citation,dl+.m-pull-quote__citation,figure+.m-pull-quote__citation,h1+.m-pull-quote__citation,h2+.m-pull-quote__citation,h3+.m-pull-quote__citation,h4+.m-pull-quote__citation,h6+.m-pull-quote__citation,img+.m-pull-quote__citation,ol+.m-pull-quote__citation,p+.m-pull-quote__citation,table+.m-pull-quote__citation,ul+.m-pull-quote__citation{margin-top:2.1428571429em}.m-pull-quote__citation:before{content:\"\u2014\"}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-slug-header{border-top:1px solid var(--gray-40)}.m-slug-header__heading{border-top:5px solid var(--green);display:inline-block;font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;margin-top:-3px;padding-top:.2857142857em;text-transform:uppercase}", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-tagline{column-gap:10px;display:grid;font-size:.75rem;grid-template-columns:22px 1fr}.a-tagline__text{display:inline-block}.a-tagline .u-usa-flag{margin-top:1px}.a-tagline--large{font-size:1rem}.a-tagline--large .u-usa-flag{margin-top:4px}.u-usa-flag{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAZCAMAAABAf11LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5QTFRF////sxlC7MbQ2YyhxlNxCjFhR2WJV3GSKUt1dYumOFh/GT5rhZiwwszYsr/OlKW6Zn6c0djh8PL1iR9Ko7LE4OXrl0pttKC0pXWRtYKbSuJhRQAAANFJREFUeNrkkctuwyAUREnSuW/ApHYf//+jBVdZVcJi3aORgAXcMyLBAAJEzsVG3m8TkifyI3zfPQ6nJJLo421CArSBmkgjNEWtQE4zXJmClXuCWIlU5hdQxCqbqnE1KdIz79CVDvBwZxyKfQfmHTyzl01UZSvOWSTbhZLSWeDMufWLC/1ls3amT4qQq394EjIjApxBT+/nr8eEBNuKcB9SWMpmEXalNOylmlUZNTr4vE/4VdKhpC+leQf6y/e0wzL3RdJtkfUJyzwW+ZcdfgQYAJmJD3zerW6OAAAAAElFTkSuQmCC\");background-repeat:no-repeat;background-size:contain;display:inline-block;height:13px;width:24px}", "/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst NODE_MODE = false;\n\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nexport const supportsAdoptingStyleSheets: boolean =\n global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\n\n/**\n * A CSSResult or native CSSStyleSheet.\n *\n * In browsers that support constructible CSS style sheets, CSSStyleSheet\n * object can be used for styling along side CSSResult from the `css`\n * template tag.\n */\nexport type CSSResultOrNative = CSSResult | CSSStyleSheet;\n\nexport type CSSResultArray = Array<CSSResultOrNative | CSSResultArray>;\n\n/**\n * A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.\n */\nexport type CSSResultGroup = CSSResultOrNative | CSSResultArray;\n\nconst constructionToken = Symbol();\n\nconst cssTagCache = new WeakMap<TemplateStringsArray, CSSStyleSheet>();\n\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nexport class CSSResult {\n // This property needs to remain unminified.\n ['_$cssResult$'] = true;\n readonly cssText: string;\n private _styleSheet?: CSSStyleSheet;\n private _strings: TemplateStringsArray | undefined;\n\n private constructor(\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.'\n );\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet | undefined {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(\n this.cssText\n );\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\ntype ConstructableCSSResult = CSSResult & {\n new (\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ): CSSResult;\n};\n\nconst textFromCSSResult = (value: CSSResultGroup | number) => {\n // This property needs to remain unminified.\n if ((value as CSSResult)['_$cssResult$'] === true) {\n return (value as CSSResult).cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`\n );\n }\n};\n\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) =>\n new (CSSResult as ConstructableCSSResult)(\n typeof value === 'string' ? value : String(value),\n undefined,\n constructionToken\n );\n\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nexport const css = (\n strings: TemplateStringsArray,\n ...values: (CSSResultGroup | number)[]\n): CSSResult => {\n const cssText =\n strings.length === 1\n ? strings[0]\n : values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]\n );\n return new (CSSResult as ConstructableCSSResult)(\n cssText,\n strings,\n constructionToken\n );\n};\n\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic the native feature](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nexport const adoptStyles = (\n renderRoot: ShadowRoot,\n styles: Array<CSSResultOrNative>\n) => {\n if (supportsAdoptingStyleSheets) {\n (renderRoot as ShadowRoot).adoptedStyleSheets = styles.map((s) =>\n s instanceof CSSStyleSheet ? s : s.styleSheet!\n );\n } else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = (global as any)['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = (s as CSSResult).cssText;\n renderRoot.appendChild(style);\n }\n }\n};\n\nconst cssResultFromStyleSheet = (sheet: CSSStyleSheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\n\nexport const getCompatibleStyle =\n supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s: CSSResultOrNative) => s\n : (s: CSSResultOrNative) =>\n s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n/**\n * Removes the `readonly` modifier from properties in the union K.\n *\n * This is a safer way to cast a value to a type with a mutable version of a\n * readonly field, than casting to an interface with the field re-declared\n * because it preserves the type of all the fields and warns on typos.\n */\ntype Mutable<T, K extends keyof T> = Omit<T, K> & {\n -readonly [P in keyof Pick<T, K>]: P extends K ? T[P] : never;\n};\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst {\n is,\n defineProperty,\n getOwnPropertyDescriptor,\n getOwnPropertyNames,\n getOwnPropertySymbols,\n getPrototypeOf,\n} = Object;\n\nconst NODE_MODE = false;\n\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n queueMicrotask(() => {\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n });\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<ReactiveUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = <P extends PropertyKey>(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter<Type = unknown, TypeHint = unknown> {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter<Type = unknown, TypeHint = unknown> =\n | ComplexAttributeConverter<Type>\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration<Type = unknown, TypeHint = unknown> {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter<Type, TypeHint>;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n\n /**\n * Whether this property is wrapping accessors. This is set by `@property`\n * to control the initial value change and reflection logic.\n *\n * @internal\n */\n wrapped?: boolean;\n\n /**\n * When `true`, uses the initial value of the property as the default value,\n * which changes how attributes are handled:\n * - The initial value does *not* reflect, even if the `reflect` option is `true`.\n * Subsequent changes to the property will reflect, even if they are equal to the\n * default value.\n * - When the attribute is removed, the property is set to the default value\n * - The initial value will not trigger an old value in the `changedProperties` map\n * argument to update lifecycle methods.\n *\n * When set, properties must be initialized, either with a field initializer, or an\n * assignment in the constructor. Not initializing the property may lead to\n * improper handling of subsequent property assignments.\n *\n * While this behavior is opt-in, most properties that reflect to attributes should\n * use `useDefault: true` so that their initial values do not reflect.\n */\n useDefault?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map<PropertyKey, PropertyDeclaration>;\n\ntype AttributeMap = Map<string, PropertyKey>;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues<this>` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map<PropertyKey, unknown>`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map<PropertyKey, unknown>`, but if a developer uses\n// `PropertyValues<this>` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues<T = any> = T extends object\n ? PropertyValueMap<T>\n : Map<PropertyKey, unknown>;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap<T> extends Map<PropertyKey, unknown> {\n get<K extends keyof T>(k: K): T[K] | undefined;\n set<K extends keyof T>(key: K, value: T[K]): this;\n has<K extends keyof T>(k: K): boolean;\n delete<K extends keyof T>(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean =>\n !is(value, old);\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n useDefault: false,\n hasChanged: notEqual,\n};\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind =\n | 'change-in-update'\n | 'migration'\n | 'async-perform-update';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n// Temporary, until google3 is on TypeScript 5.2\ndeclare global {\n interface SymbolConstructor {\n readonly metadata: unique symbol;\n }\n}\n\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\n(Symbol as {metadata: symbol}).metadata ??= Symbol('metadata');\n\ndeclare global {\n // This is public global API, do not change!\n // eslint-disable-next-line no-var\n var litPropertyMetadata: WeakMap<\n object,\n Map<PropertyKey, PropertyDeclaration>\n >;\n}\n\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap<\n object,\n Map<PropertyKey, PropertyDeclaration>\n>();\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having been finalized, which includes creating properties\n * from `static properties`, but does *not* include all properties created\n * from decorators.\n * @nocollapse\n */\n protected static finalized: true | undefined;\n\n /**\n * Memoized list of all element properties, including any superclass\n * properties. Created lazily on user subclasses when finalizing the class.\n *\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array<CSSResultOrNative> = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `<style>` tags when the browser doesn't\n * support adopted StyleSheets. To use such `<style>` tags with the style-src\n * CSP directive, the style-src value must either include 'unsafe-inline' or\n * `nonce-<base64-value>` with `<base64-value>` replaced be a server-generated\n * nonce.\n *\n * To provide a nonce to use on generated `<style>` elements, set\n * `window.litNonce` to a server-generated nonce in your page's HTML, before\n * loading application code:\n *\n * ```html\n * <script>\n * // Generated and unique per request:\n * window.litNonce = 'a1b2c3d4';\n * </script>\n * ```\n * @nocollapse\n * @category styles\n */\n static styles?: CSSResultGroup;\n\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // Ensure we've created all properties\n this.finalize();\n // this.__attributeToPropertyMap is only undefined after finalize() in\n // ReactiveElement itself. ReactiveElement.observedAttributes is only\n // accessed with ReactiveElement as the receiver when a subclass or mixin\n // calls super.observedAttributes\n return (\n this.__attributeToPropertyMap && [...this.__attributeToPropertyMap.keys()]\n );\n }\n\n private __instanceProperties?: PropertyValues = undefined;\n\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(\n name: PropertyKey,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n // If this is a state property, force the attribute to false.\n if (options.state) {\n (options as Mutable<PropertyDeclaration, 'attribute'>).attribute = false;\n }\n this.__prepare();\n // Whether this property is wrapping accessors.\n // Helps control the initial value change and reflection logic.\n if (this.prototype.hasOwnProperty(name)) {\n options = Object.create(options);\n options.wrapped = true;\n }\n this.elementProperties.set(name, options);\n if (!options.noAccessor) {\n const key = DEV_MODE\n ? // Use Symbol.for in dev mode to make it easier to maintain state\n // when doing HMR.\n Symbol.for(`${String(name)} (@property() cache)`)\n : Symbol();\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n defineProperty(this.prototype, name, descriptor);\n }\n }\n }\n\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n protected static getPropertyDescriptor(\n name: PropertyKey,\n key: string | symbol,\n options: PropertyDeclaration\n ): PropertyDescriptor | undefined {\n const {get, set} = getOwnPropertyDescriptor(this.prototype, name) ?? {\n get(this: ReactiveElement) {\n return this[key as keyof typeof this];\n },\n set(this: ReactiveElement, v: unknown) {\n (this as unknown as Record<string | symbol, unknown>)[key] = v;\n },\n };\n if (DEV_MODE && get == null) {\n if ('value' in (getOwnPropertyDescriptor(this.prototype, name) ?? {})) {\n throw new Error(\n `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it's actually declared as a value on the prototype. ` +\n `Usually this is due to using @property or @state on a method.`\n );\n }\n issueWarning(\n 'reactive-property-without-getter',\n `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it does not have a getter. This will be an error in a ` +\n `future version of Lit.`\n );\n }\n return {\n get,\n set(this: ReactiveElement, value: unknown) {\n const oldValue = get?.call(this);\n set?.call(this, value);\n this.requestUpdate(name, oldValue, options);\n },\n configurable: true,\n enumerable: true,\n };\n }\n\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name: PropertyKey) {\n return this.elementProperties.get(name) ?? defaultPropertyDeclaration;\n }\n\n // Temporary, until google3 is on TypeScript 5.2\n declare static [Symbol.metadata]: object & Record<PropertyKey, unknown>;\n\n /**\n * Initializes static own properties of the class used in bookkeeping\n * for element properties, initializers, etc.\n *\n * Can be called multiple times by code that needs to ensure these\n * properties exist before using them.\n *\n * This method ensures the superclass is finalized so that inherited\n * property metadata can be copied down.\n * @nocollapse\n */\n private static __prepare() {\n if (\n this.hasOwnProperty(JSCompiler_renameProperty('elementProperties', this))\n ) {\n // Already prepared\n return;\n }\n // Finalize any superclasses\n const superCtor = getPrototypeOf(this) as typeof ReactiveElement;\n superCtor.finalize();\n\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n // Initialize elementProperties from the superclass\n this.elementProperties = new Map(superCtor.elementProperties);\n }\n\n /**\n * Finishes setting up the class so that it's ready to be registered\n * as a custom element and instantiated.\n *\n * This method is called by the ReactiveElement.observedAttributes getter.\n * If you override the observedAttributes getter, you must either call\n * super.observedAttributes to trigger finalization, or call finalize()\n * yourself.\n *\n * @nocollapse\n */\n protected static finalize() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('finalized', this))) {\n return;\n }\n this.finalized = true;\n this.__prepare();\n\n // Create properties from the static properties block:\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n const propKeys = [\n ...getOwnPropertyNames(props),\n ...getOwnPropertySymbols(props),\n ] as Array<keyof typeof props>;\n for (const p of propKeys) {\n this.createProperty(p, props[p]);\n }\n }\n\n // Create properties from standard decorator metadata:\n const metadata = this[Symbol.metadata];\n if (metadata !== null) {\n const properties = litPropertyMetadata.get(metadata);\n if (properties !== undefined) {\n for (const [p, options] of properties) {\n this.elementProperties.set(p, options);\n }\n }\n }\n\n // Create the attribute-to-property map\n this.__attributeToPropertyMap = new Map();\n for (const [p, options] of this.elementProperties) {\n const attr = this.__attributeNameForProperty(p, options);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n }\n }\n\n this.elementStyles = this.finalizeStyles(this.styles);\n\n if (DEV_MODE) {\n if (this.hasOwnProperty('createProperty')) {\n issueWarning(\n 'no-override-create-property',\n 'Overriding ReactiveElement.createProperty() is deprecated. ' +\n 'The override will not be called with standard decorators'\n );\n }\n if (this.hasOwnProperty('getPropertyDescriptor')) {\n issueWarning(\n 'no-override-get-property-descriptor',\n 'Overriding ReactiveElement.getPropertyDescriptor() is deprecated. ' +\n 'The override will not be called with standard decorators'\n );\n }\n }\n }\n\n /**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\n static shadowRootOptions: ShadowRootInit = {mode: 'open'};\n\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n protected static finalizeStyles(\n styles?: CSSResultGroup\n ): Array<CSSResultOrNative> {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array<unknown> works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set((styles as Array<unknown>).flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift(getCompatibleStyle(s as CSSResultOrNative));\n }\n } else if (styles !== undefined) {\n elementStyles.push(getCompatibleStyle(styles));\n }\n return elementStyles;\n }\n\n /**\n * Node or ShadowRoot into which element DOM should be rendered. Defaults\n * to an open shadowRoot.\n * @category rendering\n */\n readonly renderRoot!: HTMLElement | DocumentFragment;\n\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n private static __attributeNameForProperty(\n name: PropertyKey,\n options: PropertyDeclaration\n ) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n\n // Initialize to an unresolved Promise so we can make sure the element has\n // connected before first update.\n private __updatePromise!: Promise<boolean>;\n\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n isUpdatePending = false;\n\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n hasUpdated = false;\n\n /**\n * Map with keys for any properties that have changed since the last\n * update cycle with previous values.\n *\n * @internal\n */\n _$changedProperties!: PropertyValues;\n\n /**\n * Records property default values when the\n * `useDefault` option is used.\n */\n private __defaultValues?: Map<PropertyKey, unknown>;\n\n /**\n * Properties that should be reflected when updated.\n */\n private __reflectingProperties?: Set<PropertyKey>;\n\n /**\n * Name of currently reflecting property\n */\n private __reflectingProperty: PropertyKey | null = null;\n\n /**\n * Set of controllers.\n */\n private __controllers?: Set<ReactiveController>;\n\n constructor() {\n super();\n this.__initialize();\n }\n\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n */\n private __initialize() {\n this.__updatePromise = new Promise<boolean>(\n (res) => (this.enableUpdating = res)\n );\n this._$changedProperties = new Map();\n // This enqueues a microtask that must run before the first update, so it\n // must be called before requestUpdate()\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n (this.constructor as typeof ReactiveElement)._initializers?.forEach((i) =>\n i(this)\n );\n }\n\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller: ReactiveController) {\n (this.__controllers ??= new Set()).add(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller: ReactiveController) {\n this.__controllers?.delete(controller);\n }\n\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs.\n */\n private __saveInstanceProperties() {\n const instanceProperties = new Map<PropertyKey, unknown>();\n const elementProperties = (this.constructor as typeof ReactiveElement)\n .elementProperties;\n for (const p of elementProperties.keys() as IterableIterator<keyof this>) {\n if (this.hasOwnProperty(p)) {\n instanceProperties.set(p, this[p]);\n delete this[p];\n }\n }\n if (instanceProperties.size > 0) {\n this.__instanceProperties = instanceProperties;\n }\n }\n\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n protected createRenderRoot(): HTMLElement | DocumentFragment {\n const renderRoot =\n this.shadowRoot ??\n this.attachShadow(\n (this.constructor as typeof ReactiveElement).shadowRootOptions\n );\n adoptStyles(\n renderRoot,\n (this.constructor as typeof ReactiveElement).elementStyles\n );\n return renderRoot;\n }\n\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // Create renderRoot before controllers `hostConnected`\n (this as Mutable<typeof this, 'renderRoot'>).renderRoot ??=\n this.createRenderRoot();\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n protected enableUpdating(_requestedUpdate: boolean) {}\n\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [responding to attribute changes](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#responding_to_attribute_changes)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(\n name: string,\n _old: string | null,\n value: string | null\n ) {\n this._$attributeToProperty(name, value);\n }\n\n private __propertyToAttribute(name: PropertyKey, value: unknown) {\n const elemProperties: PropertyDeclarationMap = (\n this.constructor as typeof ReactiveElement\n ).elementProperties;\n const options = elemProperties.get(name)!;\n const attr = (\n this.constructor as typeof ReactiveElement\n ).__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter =\n (options.converter as ComplexAttributeConverter)?.toAttribute !==\n undefined\n ? (options.converter as ComplexAttributeConverter)\n : defaultConverter;\n const attrValue = converter.toAttribute!(value, options.type);\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'migration'\n ) &&\n attrValue === undefined\n ) {\n issueWarning(\n 'undefined-attribute-value',\n `The attribute value for the ${name as string} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`\n );\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n } else {\n this.setAttribute(attr, attrValue as string);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /** @internal */\n _$attributeToProperty(name: string, value: string | null) {\n const ctor = this.constructor as typeof ReactiveElement;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = (ctor.__attributeToPropertyMap as AttributeMap).get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter =\n typeof options.converter === 'function'\n ? {fromAttribute: options.converter}\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName as keyof this] =\n converter.fromAttribute!(value, options.type) ??\n this.__defaultValues?.get(propName) ??\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (null as any);\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /**\n * Requests an update which is processed asynchronously. This should be called\n * when an element should update based on some state not triggered by setting\n * a reactive property. In this case, pass no arguments. It should also be\n * called when manually implementing a property setter. In this case, pass the\n * property `name` and `oldValue` to ensure that any configured property\n * options are honored.\n *\n * @param name name of requesting property\n * @param oldValue old value of requesting property\n * @param options property options to use instead of the previously\n * configured options\n * @category updates\n */\n requestUpdate(\n name?: PropertyKey,\n oldValue?: unknown,\n options?: PropertyDeclaration\n ): void {\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n if (DEV_MODE && (name as unknown) instanceof Event) {\n issueWarning(\n ``,\n `The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()`\n );\n }\n const ctor = this.constructor as typeof ReactiveElement;\n const newValue = this[name as keyof this];\n options ??= ctor.getPropertyOptions(name);\n const changed =\n (options.hasChanged ?? notEqual)(newValue, oldValue) ||\n // When there is no change, check a corner case that can occur when\n // 1. there's a initial value which was not reflected\n // 2. the property is subsequently set to this value.\n // For example, `prop: {useDefault: true, reflect: true}`\n // and el.prop = 'foo'. This should be considered a change if the\n // attribute is not set because we will now reflect the property to the attribute.\n (options.useDefault &&\n options.reflect &&\n newValue === this.__defaultValues?.get(name) &&\n !this.hasAttribute(ctor.__attributeNameForProperty(name, options)!));\n if (changed) {\n this._$changeProperty(name, oldValue, options);\n } else {\n // Abort the request if the property should not be considered changed.\n return;\n }\n }\n if (this.isUpdatePending === false) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n }\n\n /**\n * @internal\n */\n _$changeProperty(\n name: PropertyKey,\n oldValue: unknown,\n {useDefault, reflect, wrapped}: PropertyDeclaration,\n initializeValue?: unknown\n ) {\n // Record default value when useDefault is used. This allows us to\n // restore this value when the attribute is removed.\n if (useDefault && !(this.__defaultValues ??= new Map()).has(name)) {\n this.__defaultValues.set(\n name,\n initializeValue ?? oldValue ?? this[name as keyof this]\n );\n // if this is not wrapping an accessor, it must be an initial setting\n // and in this case we do not want to record the change or reflect.\n if (wrapped !== true || initializeValue !== undefined) {\n return;\n }\n }\n // TODO (justinfagnani): Create a benchmark of Map.has() + Map.set(\n // vs just Map.set()\n if (!this._$changedProperties.has(name)) {\n // On the initial change, the old value should be `undefined`, except\n // with `useDefault`\n if (!this.hasUpdated && !useDefault) {\n oldValue = undefined;\n }\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `__reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (reflect === true && this.__reflectingProperty !== name) {\n (this.__reflectingProperties ??= new Set<PropertyKey>()).add(name);\n }\n }\n\n /**\n * Sets up the element to asynchronously update.\n */\n private async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n } catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n protected scheduleUpdate(): void | Promise<unknown> {\n const result = this.performUpdate();\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'async-perform-update'\n ) &&\n typeof (result as unknown as Promise<unknown> | undefined)?.then ===\n 'function'\n ) {\n issueWarning(\n 'async-perform-update',\n `Element ${this.localName} returned a Promise from performUpdate(). ` +\n `This behavior is deprecated and will be removed in a future ` +\n `version of ReactiveElement.`\n );\n }\n return result;\n }\n\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * @category updates\n */\n protected performUpdate(): void {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({kind: 'update'});\n if (!this.hasUpdated) {\n // Create renderRoot before first update. This occurs in `connectedCallback`\n // but is done here to support out of tree calls to `enableUpdating`/`performUpdate`.\n (this as Mutable<typeof this, 'renderRoot'>).renderRoot ??=\n this.createRenderRoot();\n if (DEV_MODE) {\n // Produce warning if any reactive properties on the prototype are\n // shadowed by class fields. Instance fields set before upgrade are\n // deleted by this point, so any own property is caused by class field\n // initialization in the constructor.\n const ctor = this.constructor as typeof ReactiveElement;\n const shadowedProperties = [...ctor.elementProperties.keys()].filter(\n (p) => this.hasOwnProperty(p) && p in getPrototypeOf(this)\n );\n if (shadowedProperties.length) {\n throw new Error(\n `The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`\n );\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // TODO (justinfagnani): should we use the stored value? Could a new value\n // have been set since we stored the own property value?\n for (const [p, value] of this.__instanceProperties) {\n this[p as keyof this] = value as this[keyof this];\n }\n this.__instanceProperties = undefined;\n }\n // Trigger initial value reflection and populate the initial\n // `changedProperties` map, but only for the case of properties created\n // via `createProperty` on accessors, which will not have already\n // populated the `changedProperties` map since they are not set.\n // We can't know if these accessors had initializers, so we just set\n // them anyway - a difference from experimental decorators on fields and\n // standard decorators on auto-accessors.\n // For context see:\n // https://github.com/lit/lit/pull/4183#issuecomment-1711959635\n const elementProperties = (this.constructor as typeof ReactiveElement)\n .elementProperties;\n if (elementProperties.size > 0) {\n for (const [p, options] of elementProperties) {\n const {wrapped} = options;\n const value = this[p as keyof this];\n if (\n wrapped === true &&\n !this._$changedProperties.has(p) &&\n value !== undefined\n ) {\n this._$changeProperty(p, undefined, options, value);\n }\n }\n }\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n } else {\n this.__markUpdated();\n }\n } catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n protected willUpdate(_changedProperties: PropertyValues): void {}\n\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties: PropertyValues) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (\n DEV_MODE &&\n this.isUpdatePending &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'change-in-update'\n )\n ) {\n issueWarning(\n 'change-in-update',\n `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`\n );\n }\n }\n\n private __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete(): Promise<boolean> {\n return this.getUpdateComplete();\n }\n\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n protected getUpdateComplete(): Promise<boolean> {\n return this.__updatePromise;\n }\n\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected shouldUpdate(_changedProperties: PropertyValues): boolean {\n return true;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected update(_changedProperties: PropertyValues) {\n // The forEach() expression will only run when __reflectingProperties is\n // defined, and it returns undefined, setting __reflectingProperties to\n // undefined\n this.__reflectingProperties &&= this.__reflectingProperties.forEach((p) =>\n this.__propertyToAttribute(p, this[p as keyof this])\n ) as undefined;\n this.__markUpdated();\n }\n\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected updated(_changedProperties: PropertyValues) {}\n\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected firstUpdated(_changedProperties: PropertyValues) {}\n}\n// Assigned here to work around a jscompiler bug with static fields\n// when compiling to ES5.\n// https://github.com/google/closure-compiler/issues/3177\n(ReactiveElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('elementProperties', ReactiveElement)\n] = new Map();\n(ReactiveElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('finalized', ReactiveElement)\n] = new Map();\n\n// Apply polyfills if available\npolyfillSupport?.({ReactiveElement});\n\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = [\n 'change-in-update',\n 'async-perform-update',\n ];\n const ensureOwnWarnings = function (ctor: typeof ReactiveElement) {\n if (\n !ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))\n ) {\n ctor.enabledWarnings = ctor.enabledWarnings!.slice();\n }\n };\n ReactiveElement.enableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n if (!this.enabledWarnings!.includes(warning)) {\n this.enabledWarnings!.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings!.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings!.splice(i, 1);\n }\n };\n}\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('2.1.0');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n });\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// IMPORTANT: these imports must be type-only\nimport type {Directive, DirectiveResult, PartInfo} from './directive.js';\nimport type {TrustedHTML, TrustedTypesWindow} from 'trusted-types/lib/index.js';\n\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace LitUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | TemplatePrep\n | TemplateInstantiated\n | TemplateInstantiatedAndUpdated\n | TemplateUpdating\n | BeginRender\n | EndRender\n | CommitPartEntry\n | SetPartValue;\n export interface TemplatePrep {\n kind: 'template prep';\n template: Template;\n strings: TemplateStringsArray;\n clonableTemplate: HTMLTemplateElement;\n parts: TemplatePart[];\n }\n export interface BeginRender {\n kind: 'begin render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart | undefined;\n }\n export interface EndRender {\n kind: 'end render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart;\n }\n export interface TemplateInstantiated {\n kind: 'template instantiated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateInstantiatedAndUpdated {\n kind: 'template instantiated and updated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateUpdating {\n kind: 'template updating';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface SetPartValue {\n kind: 'set part';\n part: Part;\n value: unknown;\n valueIndex: number;\n values: unknown[];\n templateInstance: TemplateInstance;\n }\n\n export type CommitPartEntry =\n | CommitNothingToChildEntry\n | CommitText\n | CommitNode\n | CommitAttribute\n | CommitProperty\n | CommitBooleanAttribute\n | CommitEventListener\n | CommitToElementBinding;\n\n export interface CommitNothingToChildEntry {\n kind: 'commit nothing to child';\n start: ChildNode;\n end: ChildNode | null;\n parent: Disconnectable | undefined;\n options: RenderOptions | undefined;\n }\n\n export interface CommitText {\n kind: 'commit text';\n node: Text;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitNode {\n kind: 'commit node';\n start: Node;\n parent: Disconnectable | undefined;\n value: Node;\n options: RenderOptions | undefined;\n }\n\n export interface CommitAttribute {\n kind: 'commit attribute';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitProperty {\n kind: 'commit property';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitBooleanAttribute {\n kind: 'commit boolean attribute';\n element: Element;\n name: string;\n value: boolean;\n options: RenderOptions | undefined;\n }\n\n export interface CommitEventListener {\n kind: 'commit event listener';\n element: Element;\n name: string;\n value: unknown;\n oldListener: unknown;\n options: RenderOptions | undefined;\n // True if we're removing the old event listener (e.g. because settings changed, or value is nothing)\n removeListener: boolean;\n // True if we're adding a new event listener (e.g. because first render, or settings changed)\n addListener: boolean;\n }\n\n export interface CommitToElementBinding {\n kind: 'commit to element binding';\n element: Element;\n value: unknown;\n options: RenderOptions | undefined;\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: LitUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<LitUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n queueMicrotask(() => {\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n });\n}\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? (global.ShadyDOM!.wrap as <T extends Node>(node: T) => T)\n : <T extends Node>(node: T) => node;\n\nconst trustedTypes = (global as unknown as TrustedTypesWindow).trustedTypes;\n\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\n\n/**\n * Used to sanitize any value before it is written into the DOM. This can be\n * used to implement a security policy of allowed and disallowed values in\n * order to prevent XSS attacks.\n *\n * One way of using this callback would be to check attributes and properties\n * against a list of high risk fields, and require that values written to such\n * fields be instances of a class which is safe by construction. Closure's Safe\n * HTML Types is one implementation of this technique (\n * https://github.com/google/safe-html-types/blob/master/doc/safehtml-types.md).\n * The TrustedTypes polyfill in API-only mode could also be used as a basis\n * for this technique (https://github.com/WICG/trusted-types).\n *\n * @param node The HTML node (usually either a #text node or an Element) that\n * is being written to. Note that this is just an exemplar node, the write\n * may take place against another instance of the same class of node.\n * @param name The name of an attribute or property (for example, 'href').\n * @param type Indicates whether the write that's about to be performed will\n * be to a property or a node.\n * @return A function that will sanitize this class of writes.\n */\nexport type SanitizerFactory = (\n node: Node,\n name: string,\n type: 'property' | 'attribute'\n) => ValueSanitizer;\n\n/**\n * A function which can sanitize values that will be written to a specific kind\n * of DOM sink.\n *\n * See SanitizerFactory.\n *\n * @param value The value to sanitize. Will be the actual value passed into\n * the lit-html template literal, so this could be of any type.\n * @return The value to write to the DOM. Usually the same as the input value,\n * unless sanitization is needed.\n */\nexport type ValueSanitizer = (value: unknown) => unknown;\n\nconst identityFunction: ValueSanitizer = (value: unknown) => value;\nconst noopSanitizer: SanitizerFactory = (\n _node: Node,\n _name: string,\n _type: 'property' | 'attribute'\n) => identityFunction;\n\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer: SanitizerFactory) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(\n `Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`\n );\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\n\nconst createSanitizer: SanitizerFactory = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${Math.random().toFixed(9).slice(2)}$`;\n\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\n\nconst d =\n NODE_MODE && global.document === undefined\n ? ({\n createTreeWalker() {\n return {};\n },\n } as unknown as Document)\n : document;\n\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\n\n// https://tc39.github.io/ecma262/#sec-typeof-operator\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\nconst isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value: unknown): value is Iterable<unknown> =>\n isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof (value as any)?.[Symbol.iterator] === 'function';\n\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\n\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with <!--, like </{, can be ended by a single `>`\n */\nconst comment2EndRegex = />/g;\n\n/**\n * The tagEnd regex matches the end of the \"inside an opening\" tag syntax\n * position. It either matches a `>`, an attribute-like sequence, or the end\n * of the string after a space (attribute-name position ending).\n *\n * See attributes in the HTML spec:\n * https://www.w3.org/TR/html5/syntax.html#elements-attributes\n *\n * \" \\t\\n\\f\\r\" are HTML space characters:\n * https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * So an attribute is:\n * * The name: any character except a whitespace character, (\"), ('), \">\",\n * \"=\", or \"/\". Note: this is different from the HTML spec which also excludes control characters.\n * * Followed by zero or more space characters\n * * Followed by \"=\"\n * * Followed by zero or more space characters\n * * Followed by:\n * * Any character except space, ('), (\"), \"<\", \">\", \"=\", (`), or\n * * (\") then any non-(\"), or\n * * (') then any non-(')\n */\nconst tagEndRegex = new RegExp(\n `>|${SPACE_CHAR}(?:(${NAME_CHAR}+)(${SPACE_CHAR}*=${SPACE_CHAR}*(?:${ATTR_VALUE_CHAR}|(\"|')|))|$)`,\n 'g'\n);\nconst ENTIRE_MATCH = 0;\nconst ATTRIBUTE_NAME = 1;\nconst SPACES_AND_EQUALS = 2;\nconst QUOTE_CHAR = 3;\n\nconst singleQuoteAttrEndRegex = /'/g;\nconst doubleQuoteAttrEndRegex = /\"/g;\n/**\n * Matches the raw text elements.\n *\n * Comments are not parsed within raw text elements, so we need to search their\n * text content for marker strings.\n */\nconst rawTextElement = /^(?:script|style|textarea|title)$/i;\n\n/** TemplateResult types */\nconst HTML_RESULT = 1;\nconst SVG_RESULT = 2;\nconst MATHML_RESULT = 3;\n\ntype ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;\n\n// TemplatePart types\n// IMPORTANT: these must match the values in PartType\nconst ATTRIBUTE_PART = 1;\nconst CHILD_PART = 2;\nconst PROPERTY_PART = 3;\nconst BOOLEAN_ATTRIBUTE_PART = 4;\nconst EVENT_PART = 5;\nconst ELEMENT_PART = 6;\nconst COMMENT_PART = 7;\n\n/**\n * The return type of the template tag functions, {@linkcode html} and\n * {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.\n *\n * A `TemplateResult` object holds all the information about a template\n * expression required to render it: the template strings, expression values,\n * and type of template (html or svg).\n *\n * `TemplateResult` objects do not create any DOM on their own. To create or\n * update DOM you need to render the `TemplateResult`. See\n * [Rendering](https://lit.dev/docs/components/rendering) for more information.\n *\n */\nexport type UncompiledTemplateResult<T extends ResultType = ResultType> = {\n // This property needs to remain unminified.\n ['_$litType$']: T;\n strings: TemplateStringsArray;\n values: unknown[];\n};\n\n/**\n * This is a template result that may be either uncompiled or compiled.\n *\n * In the future, TemplateResult will be this type. If you want to explicitly\n * note that a template result is potentially compiled, you can reference this\n * type and it will continue to behave the same through the next major version\n * of Lit. This can be useful for code that wants to prepare for the next\n * major version of Lit.\n */\nexport type MaybeCompiledTemplateResult<T extends ResultType = ResultType> =\n | UncompiledTemplateResult<T>\n | CompiledTemplateResult;\n\n/**\n * The return type of the template tag functions, {@linkcode html} and\n * {@linkcode svg}.\n *\n * A `TemplateResult` object holds all the information about a template\n * expression required to render it: the template strings, expression values,\n * and type of template (html or svg).\n *\n * `TemplateResult` objects do not create any DOM on their own. To create or\n * update DOM you need to render the `TemplateResult`. See\n * [Rendering](https://lit.dev/docs/components/rendering) for more information.\n *\n * In Lit 4, this type will be an alias of\n * MaybeCompiledTemplateResult, so that code will get type errors if it assumes\n * that Lit templates are not compiled. When deliberately working with only\n * one, use either {@linkcode CompiledTemplateResult} or\n * {@linkcode UncompiledTemplateResult} explicitly.\n */\nexport type TemplateResult<T extends ResultType = ResultType> =\n UncompiledTemplateResult<T>;\n\nexport type HTMLTemplateResult = TemplateResult<typeof HTML_RESULT>;\n\nexport type SVGTemplateResult = TemplateResult<typeof SVG_RESULT>;\n\nexport type MathMLTemplateResult = TemplateResult<typeof MATHML_RESULT>;\n\n/**\n * A TemplateResult that has been compiled by @lit-labs/compiler, skipping the\n * prepare step.\n */\nexport interface CompiledTemplateResult {\n // This is a factory in order to make template initialization lazy\n // and allow ShadyRenderOptions scope to be passed in.\n // This property needs to remain unminified.\n ['_$litType$']: CompiledTemplate;\n values: unknown[];\n}\n\nexport interface CompiledTemplate extends Omit<Template, 'el'> {\n // el is overridden to be optional. We initialize it on first render\n el?: HTMLTemplateElement;\n\n // The prepared HTML string to create a template element from.\n // The type is a TemplateStringsArray to guarantee that the value came from\n // source code, preventing a JSON injection attack.\n h: TemplateStringsArray;\n}\n\n/**\n * Generates a template literal tag function that returns a TemplateResult with\n * the given result type.\n */\nconst tag =\n <T extends ResultType>(type: T) =>\n (strings: TemplateStringsArray, ...values: unknown[]): TemplateResult<T> => {\n // Warn against templates octal escape sequences\n // We do this here rather than in render so that the warning is closer to the\n // template definition.\n if (DEV_MODE && strings.some((s) => s === undefined)) {\n console.warn(\n 'Some template strings are undefined.\\n' +\n 'This is probably caused by illegal octal escape sequences.'\n );\n }\n if (DEV_MODE) {\n // Import static-html.js results in a circular dependency which g3 doesn't\n // handle. Instead we know that static values must have the field\n // `_$litStatic$`.\n if (\n values.some((val) => (val as {_$litStatic$: unknown})?.['_$litStatic$'])\n ) {\n issueWarning(\n '',\n `Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\\n` +\n `Please use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions`\n );\n }\n }\n return {\n // This property needs to remain unminified.\n ['_$litType$']: type,\n strings,\n values,\n };\n };\n\n/**\n * Interprets a template literal as an HTML template that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const header = (title: string) => html`<h1>${title}</h1>`;\n * ```\n *\n * The `html` tag returns a description of the DOM to render as a value. It is\n * lazy, meaning no work is done until the template is rendered. When rendering,\n * if a template comes from the same expression as a previously rendered result,\n * it's efficiently updated instead of replaced.\n */\nexport const html = tag(HTML_RESULT);\n\n/**\n * Interprets a template literal as an SVG fragment that can efficiently render\n * to and update a container.\n *\n * ```ts\n * const rect = svg`<rect width=\"10\" height=\"10\"></rect>`;\n *\n * const myImage = html`\n * <svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\">\n * ${rect}\n * </svg>`;\n * ```\n *\n * The `svg` *tag function* should only be used for SVG fragments, or elements\n * that would be contained **inside** an `<svg>` HTML element. A common error is\n * placing an `<svg>` *element* in a template tagged with the `svg` tag\n * function. The `<svg>` element is an HTML element and should be used within a\n * template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an SVG fragment from the\n * `render()` method, as the SVG fragment will be contained within the element's\n * shadow root and thus not be properly contained within an `<svg>` HTML\n * element.\n */\nexport const svg = tag(SVG_RESULT);\n\n/**\n * Interprets a template literal as MathML fragment that can efficiently render\n * to and update a container.\n *\n * ```ts\n * const num = mathml`<mn>1</mn>`;\n *\n * const eq = html`\n * <math>\n * ${num}\n * </math>`;\n * ```\n *\n * The `mathml` *tag function* should only be used for MathML fragments, or\n * elements that would be contained **inside** a `<math>` HTML element. A common\n * error is placing a `<math>` *element* in a template tagged with the `mathml`\n * tag function. The `<math>` element is an HTML element and should be used\n * within a template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an MathML fragment from the\n * `render()` method, as the MathML fragment will be contained within the\n * element's shadow root and thus not be properly contained within a `<math>`\n * HTML element.\n */\nexport const mathml = tag(MATHML_RESULT);\n\n/**\n * A sentinel value that signals that a value was handled by a directive and\n * should not be written to the DOM.\n */\nexport const noChange = Symbol.for('lit-noChange');\n\n/**\n * A sentinel value that signals a ChildPart to fully clear its content.\n *\n * ```ts\n * const button = html`${\n * user.isAdmin\n * ? html`<button>DELETE</button>`\n * : nothing\n * }`;\n * ```\n *\n * Prefer using `nothing` over other falsy values as it provides a consistent\n * behavior between various expression binding contexts.\n *\n * In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the\n * same and render no nodes. In attribute expressions, `nothing` _removes_ the\n * attribute, while `undefined` and `null` will render an empty string. In\n * property expressions `nothing` becomes `undefined`.\n */\nexport const nothing = Symbol.for('lit-nothing');\n\n/**\n * The cache of prepared templates, keyed by the tagged TemplateStringsArray\n * and _not_ accounting for the specific template tag used. This means that\n * template tags cannot be dynamic - they must statically be one of html, svg,\n * or attr. This restriction simplifies the cache lookup, which is on the hot\n * path for rendering.\n */\nconst templateCache = new WeakMap<TemplateStringsArray, Template>();\n\n/**\n * Object specifying options for controlling lit-html rendering. Note that\n * while `render` may be called multiple times on the same `container` (and\n * `renderBefore` reference node) to efficiently update the rendered content,\n * only the options passed in during the first render are respected during\n * the lifetime of renders to that unique `container` + `renderBefore`\n * combination.\n */\nexport interface RenderOptions {\n /**\n * An object to use as the `this` value for event listeners. It's often\n * useful to set this to the host component rendering a template.\n */\n host?: object;\n /**\n * A DOM node before which to render content in the container.\n */\n renderBefore?: ChildNode | null;\n /**\n * Node used for cloning the template (`importNode` will be called on this\n * node). This controls the `ownerDocument` of the rendered DOM, along with\n * any inherited context. Defaults to the global `document`.\n */\n creationScope?: {importNode(node: Node, deep?: boolean): Node};\n /**\n * The initial connected state for the top-level part being rendered. If no\n * `isConnected` option is set, `AsyncDirective`s will be connected by\n * default. Set to `false` if the initial render occurs in a disconnected tree\n * and `AsyncDirective`s should see `isConnected === false` for their initial\n * render. The `part.setConnected()` method must be used subsequent to initial\n * render to change the connected state of the part.\n */\n isConnected?: boolean;\n}\n\nconst walker = d.createTreeWalker(\n d,\n 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */\n);\n\nlet sanitizerFactoryInternal: SanitizerFactory = noopSanitizer;\n\n//\n// Classes only below here, const variable declarations only above here...\n//\n// Keeping variable declarations and classes together improves minification.\n// Interfaces and type aliases can be interleaved freely.\n//\n\n// Type for classes that have a `_directive` or `_directives[]` field, used by\n// `resolveDirective`\nexport interface DirectiveParent {\n _$parent?: DirectiveParent;\n _$isConnected: boolean;\n __directive?: Directive;\n __directives?: Array<Directive | undefined>;\n}\n\nfunction trustFromTemplateString(\n tsa: TemplateStringsArray,\n stringFromTSA: string\n): TrustedHTML {\n // A security check to prevent spoofing of Lit template results.\n // In the future, we may be able to replace this with Array.isTemplateObject,\n // though we might need to make that check inside of the html and svg\n // functions, because precompiled templates don't come in as\n // TemplateStringArray objects.\n if (!isArray(tsa) || !tsa.hasOwnProperty('raw')) {\n let message = 'invalid template strings array';\n if (DEV_MODE) {\n message = `\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n `\n .trim()\n .replace(/\\n */g, '\\n');\n }\n throw new Error(message);\n }\n return policy !== undefined\n ? policy.createHTML(stringFromTSA)\n : (stringFromTSA as unknown as TrustedHTML);\n}\n\n/**\n * Returns an HTML string for the given TemplateStringsArray and result type\n * (HTML or SVG), along with the case-sensitive bound attribute names in\n * template order. The HTML contains comment markers denoting the `ChildPart`s\n * and suffixes on bound attributes denoting the `AttributeParts`.\n *\n * @param strings template strings array\n * @param type HTML or SVG\n * @return Array containing `[html, attrNames]` (array returned for terseness,\n * to avoid object fields since this code is shared with non-minified SSR\n * code)\n */\nconst getTemplateHtml = (\n strings: TemplateStringsArray,\n type: ResultType\n): [TrustedHTML, Array<string>] => {\n // Insert makers into the template HTML to represent the position of\n // bindings. The following code scans the template strings to determine the\n // syntactic position of the bindings. They can be in text position, where\n // we insert an HTML comment, attribute value position, where we insert a\n // sentinel string and re-write the attribute name, or inside a tag where\n // we insert the sentinel string.\n const l = strings.length - 1;\n // Stores the case-sensitive bound attribute names in the order of their\n // parts. ElementParts are also reflected in this array as undefined\n // rather than a string, to disambiguate from attribute bindings.\n const attrNames: Array<string> = [];\n let html =\n type === SVG_RESULT ? '<svg>' : type === MATHML_RESULT ? '<math>' : '';\n\n // When we're inside a raw text tag (not it's text content), the regex\n // will still be tagRegex so we can find attributes, but will switch to\n // this regex when the tag ends.\n let rawTextEndRegex: RegExp | undefined;\n\n // The current parsing state, represented as a reference to one of the\n // regexes\n let regex = textEndRegex;\n\n for (let i = 0; i < l; i++) {\n const s = strings[i];\n // The index of the end of the last attribute name. When this is\n // positive at end of a string, it means we're in an attribute value\n // position and need to rewrite the attribute name.\n // We also use a special value of -2 to indicate that we encountered\n // the end of a string in attribute name position.\n let attrNameEndIndex = -1;\n let attrName: string | undefined;\n let lastIndex = 0;\n let match!: RegExpExecArray | null;\n\n // The conditions in this loop handle the current parse state, and the\n // assignments to the `regex` variable are the state transitions.\n while (lastIndex < s.length) {\n // Make sure we start searching from where we previously left off\n regex.lastIndex = lastIndex;\n match = regex.exec(s);\n if (match === null) {\n break;\n }\n lastIndex = regex.lastIndex;\n if (regex === textEndRegex) {\n if (match[COMMENT_START] === '!--') {\n regex = commentEndRegex;\n } else if (match[COMMENT_START] !== undefined) {\n // We started a weird comment, like </{\n regex = comment2EndRegex;\n } else if (match[TAG_NAME] !== undefined) {\n if (rawTextElement.test(match[TAG_NAME])) {\n // Record if we encounter a raw-text element. We'll switch to\n // this regex at the end of the tag.\n rawTextEndRegex = new RegExp(`</${match[TAG_NAME]}`, 'g');\n }\n regex = tagEndRegex;\n } else if (match[DYNAMIC_TAG_NAME] !== undefined) {\n if (DEV_MODE) {\n throw new Error(\n 'Bindings in tag names are not supported. Please use static templates instead. ' +\n 'See https://lit.dev/docs/templates/expressions/#static-expressions'\n );\n }\n regex = tagEndRegex;\n }\n } else if (regex === tagEndRegex) {\n if (match[ENTIRE_MATCH] === '>') {\n // End of a tag. If we had started a raw-text element, use that\n // regex\n regex = rawTextEndRegex ?? textEndRegex;\n // We may be ending an unquoted attribute value, so make sure we\n // clear any pending attrNameEndIndex\n attrNameEndIndex = -1;\n } else if (match[ATTRIBUTE_NAME] === undefined) {\n // Attribute name position\n attrNameEndIndex = -2;\n } else {\n attrNameEndIndex = regex.lastIndex - match[SPACES_AND_EQUALS].length;\n attrName = match[ATTRIBUTE_NAME];\n regex =\n match[QUOTE_CHAR] === undefined\n ? tagEndRegex\n : match[QUOTE_CHAR] === '\"'\n ? doubleQuoteAttrEndRegex\n : singleQuoteAttrEndRegex;\n }\n } else if (\n regex === doubleQuoteAttrEndRegex ||\n regex === singleQuoteAttrEndRegex\n ) {\n regex = tagEndRegex;\n } else if (regex === commentEndRegex || regex === comment2EndRegex) {\n regex = textEndRegex;\n } else {\n // Not one of the five state regexes, so it must be the dynamically\n // created raw text regex and we're at the close of that element.\n regex = tagEndRegex;\n rawTextEndRegex = undefined;\n }\n }\n\n if (DEV_MODE) {\n // If we have a attrNameEndIndex, which indicates that we should\n // rewrite the attribute name, assert that we're in a valid attribute\n // position - either in a tag, or a quoted attribute value.\n console.assert(\n attrNameEndIndex === -1 ||\n regex === tagEndRegex ||\n regex === singleQuoteAttrEndRegex ||\n regex === doubleQuoteAttrEndRegex,\n 'unexpected parse state B'\n );\n }\n\n // We have four cases:\n // 1. We're in text position, and not in a raw text element\n // (regex === textEndRegex): insert a comment marker.\n // 2. We have a non-negative attrNameEndIndex which means we need to\n // rewrite the attribute name to add a bound attribute suffix.\n // 3. We're at the non-first binding in a multi-binding attribute, use a\n // plain marker.\n // 4. We're somewhere else inside the tag. If we're in attribute name\n // position (attrNameEndIndex === -2), add a sequential suffix to\n // generate a unique attribute name.\n\n // Detect a binding next to self-closing tag end and insert a space to\n // separate the marker from the tag end:\n const end =\n regex === tagEndRegex && strings[i + 1].startsWith('/>') ? ' ' : '';\n html +=\n regex === textEndRegex\n ? s + nodeMarker\n : attrNameEndIndex >= 0\n ? (attrNames.push(attrName!),\n s.slice(0, attrNameEndIndex) +\n boundAttributeSuffix +\n s.slice(attrNameEndIndex)) +\n marker +\n end\n : s + marker + (attrNameEndIndex === -2 ? i : end);\n }\n\n const htmlResult: string | TrustedHTML =\n html +\n (strings[l] || '<?>') +\n (type === SVG_RESULT ? '</svg>' : type === MATHML_RESULT ? '</math>' : '');\n\n // Returned as an array for terseness\n return [trustFromTemplateString(strings, htmlResult), attrNames];\n};\n\n/** @internal */\nexport type {Template};\nclass Template {\n /** @internal */\n el!: HTMLTemplateElement;\n\n parts: Array<TemplatePart> = [];\n\n constructor(\n // This property needs to remain unminified.\n {strings, ['_$litType$']: type}: UncompiledTemplateResult,\n options?: RenderOptions\n ) {\n let node: Node | null;\n let nodeIndex = 0;\n let attrNameIndex = 0;\n const partCount = strings.length - 1;\n const parts = this.parts;\n\n // Create template element\n const [html, attrNames] = getTemplateHtml(strings, type);\n this.el = Template.createElement(html, options);\n walker.currentNode = this.el.content;\n\n // Re-parent SVG or MathML nodes into template root\n if (type === SVG_RESULT || type === MATHML_RESULT) {\n const wrapper = this.el.content.firstChild!;\n wrapper.replaceWith(...wrapper.childNodes);\n }\n\n // Walk the template to find binding markers and create TemplateParts\n while ((node = walker.nextNode()) !== null && parts.length < partCount) {\n if (node.nodeType === 1) {\n if (DEV_MODE) {\n const tag = (node as Element).localName;\n // Warn if `textarea` includes an expression and throw if `template`\n // does since these are not supported. We do this by checking\n // innerHTML for anything that looks like a marker. This catches\n // cases like bindings in textarea there markers turn into text nodes.\n if (\n /^(?:textarea|template)$/i!.test(tag) &&\n (node as Element).innerHTML.includes(marker)\n ) {\n const m =\n `Expressions are not supported inside \\`${tag}\\` ` +\n `elements. See https://lit.dev/msg/expression-in-${tag} for more ` +\n `information.`;\n if (tag === 'template') {\n throw new Error(m);\n } else issueWarning('', m);\n }\n }\n // TODO (justinfagnani): for attempted dynamic tag names, we don't\n // increment the bindingIndex, and it'll be off by 1 in the element\n // and off by two after it.\n if ((node as Element).hasAttributes()) {\n for (const name of (node as Element).getAttributeNames()) {\n if (name.endsWith(boundAttributeSuffix)) {\n const realName = attrNames[attrNameIndex++];\n const value = (node as Element).getAttribute(name)!;\n const statics = value.split(marker);\n const m = /([.?@])?(.*)/.exec(realName)!;\n parts.push({\n type: ATTRIBUTE_PART,\n index: nodeIndex,\n name: m[2],\n strings: statics,\n ctor:\n m[1] === '.'\n ? PropertyPart\n : m[1] === '?'\n ? BooleanAttributePart\n : m[1] === '@'\n ? EventPart\n : AttributePart,\n });\n (node as Element).removeAttribute(name);\n } else if (name.startsWith(marker)) {\n parts.push({\n type: ELEMENT_PART,\n index: nodeIndex,\n });\n (node as Element).removeAttribute(name);\n }\n }\n }\n // TODO (justinfagnani): benchmark the regex against testing for each\n // of the 3 raw text element names.\n if (rawTextElement.test((node as Element).tagName)) {\n // For raw text elements we need to split the text content on\n // markers, create a Text node for each segment, and create\n // a TemplatePart for each marker.\n const strings = (node as Element).textContent!.split(marker);\n const lastIndex = strings.length - 1;\n if (lastIndex > 0) {\n (node as Element).textContent = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n // Generate a new text node for each literal section\n // These nodes are also used as the markers for child parts\n for (let i = 0; i < lastIndex; i++) {\n (node as Element).append(strings[i], createMarker());\n // Walk past the marker node we just added\n walker.nextNode();\n parts.push({type: CHILD_PART, index: ++nodeIndex});\n }\n // Note because this marker is added after the walker's current\n // node, it will be walked to in the outer loop (and ignored), so\n // we don't need to adjust nodeIndex here\n (node as Element).append(strings[lastIndex], createMarker());\n }\n }\n } else if (node.nodeType === 8) {\n const data = (node as Comment).data;\n if (data === markerMatch) {\n parts.push({type: CHILD_PART, index: nodeIndex});\n } else {\n let i = -1;\n while ((i = (node as Comment).data.indexOf(marker, i + 1)) !== -1) {\n // Comment node has a binding marker inside, make an inactive part\n // The binding won't work, but subsequent bindings will\n parts.push({type: COMMENT_PART, index: nodeIndex});\n // Move to the end of the match\n i += marker.length - 1;\n }\n }\n }\n nodeIndex++;\n }\n\n if (DEV_MODE) {\n // If there was a duplicate attribute on a tag, then when the tag is\n // parsed into an element the attribute gets de-duplicated. We can detect\n // this mismatch if we haven't precisely consumed every attribute name\n // when preparing the template. This works because `attrNames` is built\n // from the template string and `attrNameIndex` comes from processing the\n // resulting DOM.\n if (attrNames.length !== attrNameIndex) {\n throw new Error(\n `Detected duplicate attribute bindings. This occurs if your template ` +\n `has duplicate attributes on an element tag. For example ` +\n `\"<input ?disabled=\\${true} ?disabled=\\${false}>\" contains a ` +\n `duplicate \"disabled\" attribute. The error was detected in ` +\n `the following template: \\n` +\n '`' +\n strings.join('${...}') +\n '`'\n );\n }\n }\n\n // We could set walker.currentNode to another node here to prevent a memory\n // leak, but every time we prepare a template, we immediately render it\n // and re-use the walker in new TemplateInstance._clone().\n debugLogEvent &&\n debugLogEvent({\n kind: 'template prep',\n template: this,\n clonableTemplate: this.el,\n parts: this.parts,\n strings,\n });\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @nocollapse */\n static createElement(html: TrustedHTML, _options?: RenderOptions) {\n const el = d.createElement('template');\n el.innerHTML = html as unknown as string;\n return el;\n }\n}\n\nexport interface Disconnectable {\n _$parent?: Disconnectable;\n _$disconnectableChildren?: Set<Disconnectable>;\n // Rather than hold connection state on instances, Disconnectables recursively\n // fetch the connection state from the RootPart they are connected in via\n // getters up the Disconnectable tree via _$parent references. This pushes the\n // cost of tracking the isConnected state to `AsyncDirectives`, and avoids\n // needing to pass all Disconnectables (parts, template instances, and\n // directives) their connection state each time it changes, which would be\n // costly for trees that have no AsyncDirectives.\n _$isConnected: boolean;\n}\n\nfunction resolveDirective(\n part: ChildPart | AttributePart | ElementPart,\n value: unknown,\n parent: DirectiveParent = part,\n attributeIndex?: number\n): unknown {\n // Bail early if the value is explicitly noChange. Note, this means any\n // nested directive is still attached and is not run.\n if (value === noChange) {\n return value;\n }\n let currentDirective =\n attributeIndex !== undefined\n ? (parent as AttributePart).__directives?.[attributeIndex]\n : (parent as ChildPart | ElementPart | Directive).__directive;\n const nextDirectiveConstructor = isPrimitive(value)\n ? undefined\n : // This property needs to remain unminified.\n (value as DirectiveResult)['_$litDirective$'];\n if (currentDirective?.constructor !== nextDirectiveConstructor) {\n // This property needs to remain unminified.\n currentDirective?.['_$notifyDirectiveConnectionChanged']?.(false);\n if (nextDirectiveConstructor === undefined) {\n currentDirective = undefined;\n } else {\n currentDirective = new nextDirectiveConstructor(part as PartInfo);\n currentDirective._$initialize(part, parent, attributeIndex);\n }\n if (attributeIndex !== undefined) {\n ((parent as AttributePart).__directives ??= [])[attributeIndex] =\n currentDirective;\n } else {\n (parent as ChildPart | Directive).__directive = currentDirective;\n }\n }\n if (currentDirective !== undefined) {\n value = resolveDirective(\n part,\n currentDirective._$resolve(part, (value as DirectiveResult).values),\n currentDirective,\n attributeIndex\n );\n }\n return value;\n}\n\nexport type {TemplateInstance};\n/**\n * An updateable instance of a Template. Holds references to the Parts used to\n * update the template instance.\n */\nclass TemplateInstance implements Disconnectable {\n _$template: Template;\n _$parts: Array<Part | undefined> = [];\n\n /** @internal */\n _$parent: ChildPart;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n constructor(template: Template, parent: ChildPart) {\n this._$template = template;\n this._$parent = parent;\n }\n\n // Called by ChildPart parentNode getter\n get parentNode() {\n return this._$parent.parentNode;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n // This method is separate from the constructor because we need to return a\n // DocumentFragment and we don't want to hold onto it with an instance field.\n _clone(options: RenderOptions | undefined) {\n const {\n el: {content},\n parts: parts,\n } = this._$template;\n const fragment = (options?.creationScope ?? d).importNode(content, true);\n walker.currentNode = fragment;\n\n let node = walker.nextNode()!;\n let nodeIndex = 0;\n let partIndex = 0;\n let templatePart = parts[0];\n\n while (templatePart !== undefined) {\n if (nodeIndex === templatePart.index) {\n let part: Part | undefined;\n if (templatePart.type === CHILD_PART) {\n part = new ChildPart(\n node as HTMLElement,\n node.nextSibling,\n this,\n options\n );\n } else if (templatePart.type === ATTRIBUTE_PART) {\n part = new templatePart.ctor(\n node as HTMLElement,\n templatePart.name,\n templatePart.strings,\n this,\n options\n );\n } else if (templatePart.type === ELEMENT_PART) {\n part = new ElementPart(node as HTMLElement, this, options);\n }\n this._$parts.push(part);\n templatePart = parts[++partIndex];\n }\n if (nodeIndex !== templatePart?.index) {\n node = walker.nextNode()!;\n nodeIndex++;\n }\n }\n // We need to set the currentNode away from the cloned tree so that we\n // don't hold onto the tree even if the tree is detached and should be\n // freed.\n walker.currentNode = d;\n return fragment;\n }\n\n _update(values: Array<unknown>) {\n let i = 0;\n for (const part of this._$parts) {\n if (part !== undefined) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'set part',\n part,\n value: values[i],\n valueIndex: i,\n values,\n templateInstance: this,\n });\n if ((part as AttributePart).strings !== undefined) {\n (part as AttributePart)._$setValue(values, part as AttributePart, i);\n // The number of values the part consumes is part.strings.length - 1\n // since values are in between template spans. We increment i by 1\n // later in the loop, so increment it by part.strings.length - 2 here\n i += (part as AttributePart).strings!.length - 2;\n } else {\n part._$setValue(values[i]);\n }\n }\n i++;\n }\n }\n}\n\n/*\n * Parts\n */\ntype AttributeTemplatePart = {\n readonly type: typeof ATTRIBUTE_PART;\n readonly index: number;\n readonly name: string;\n readonly ctor: typeof AttributePart;\n readonly strings: ReadonlyArray<string>;\n};\ntype ChildTemplatePart = {\n readonly type: typeof CHILD_PART;\n readonly index: number;\n};\ntype ElementTemplatePart = {\n readonly type: typeof ELEMENT_PART;\n readonly index: number;\n};\ntype CommentTemplatePart = {\n readonly type: typeof COMMENT_PART;\n readonly index: number;\n};\n\n/**\n * A TemplatePart represents a dynamic part in a template, before the template\n * is instantiated. When a template is instantiated Parts are created from\n * TemplateParts.\n */\ntype TemplatePart =\n | ChildTemplatePart\n | AttributeTemplatePart\n | ElementTemplatePart\n | CommentTemplatePart;\n\nexport type Part =\n | ChildPart\n | AttributePart\n | PropertyPart\n | BooleanAttributePart\n | ElementPart\n | EventPart;\n\nexport type {ChildPart};\nclass ChildPart implements Disconnectable {\n readonly type = CHILD_PART;\n readonly options: RenderOptions | undefined;\n _$committedValue: unknown = nothing;\n /** @internal */\n __directive?: Directive;\n /** @internal */\n _$startNode: ChildNode;\n /** @internal */\n _$endNode: ChildNode | null;\n private _textSanitizer: ValueSanitizer | undefined;\n /** @internal */\n _$parent: Disconnectable | undefined;\n /**\n * Connection state for RootParts only (i.e. ChildPart without _$parent\n * returned from top-level `render`). This field is unused otherwise. The\n * intention would be clearer if we made `RootPart` a subclass of `ChildPart`\n * with this field (and a different _$isConnected getter), but the subclass\n * caused a perf regression, possibly due to making call sites polymorphic.\n * @internal\n */\n __isConnected: boolean;\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n // ChildParts that are not at the root should always be created with a\n // parent; only RootChildNode's won't, so they return the local isConnected\n // state\n return this._$parent?._$isConnected ?? this.__isConnected;\n }\n\n // The following fields will be patched onto ChildParts when required by\n // AsyncDirective\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /** @internal */\n _$notifyConnectionChanged?(\n isConnected: boolean,\n removeFromParent?: boolean,\n from?: number\n ): void;\n /** @internal */\n _$reparentDisconnectables?(parent: Disconnectable): void;\n\n constructor(\n startNode: ChildNode,\n endNode: ChildNode | null,\n parent: TemplateInstance | ChildPart | undefined,\n options: RenderOptions | undefined\n ) {\n this._$startNode = startNode;\n this._$endNode = endNode;\n this._$parent = parent;\n this.options = options;\n // Note __isConnected is only ever accessed on RootParts (i.e. when there is\n // no _$parent); the value on a non-root-part is \"don't care\", but checking\n // for parent would be more code\n this.__isConnected = options?.isConnected ?? true;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n // Explicitly initialize for consistent class shape.\n this._textSanitizer = undefined;\n }\n }\n\n /**\n * The parent node into which the part renders its content.\n *\n * A ChildPart's content consists of a range of adjacent child nodes of\n * `.parentNode`, possibly bordered by 'marker nodes' (`.startNode` and\n * `.endNode`).\n *\n * - If both `.startNode` and `.endNode` are non-null, then the part's content\n * consists of all siblings between `.startNode` and `.endNode`, exclusively.\n *\n * - If `.startNode` is non-null but `.endNode` is null, then the part's\n * content consists of all siblings following `.startNode`, up to and\n * including the last child of `.parentNode`. If `.endNode` is non-null, then\n * `.startNode` will always be non-null.\n *\n * - If both `.endNode` and `.startNode` are null, then the part's content\n * consists of all child nodes of `.parentNode`.\n */\n get parentNode(): Node {\n let parentNode: Node = wrap(this._$startNode).parentNode!;\n const parent = this._$parent;\n if (\n parent !== undefined &&\n parentNode?.nodeType === 11 /* Node.DOCUMENT_FRAGMENT */\n ) {\n // If the parentNode is a DocumentFragment, it may be because the DOM is\n // still in the cloned fragment during initial render; if so, get the real\n // parentNode the part will be committed into by asking the parent.\n parentNode = (parent as ChildPart | TemplateInstance).parentNode;\n }\n return parentNode;\n }\n\n /**\n * The part's leading marker node, if any. See `.parentNode` for more\n * information.\n */\n get startNode(): Node | null {\n return this._$startNode;\n }\n\n /**\n * The part's trailing marker node, if any. See `.parentNode` for more\n * information.\n */\n get endNode(): Node | null {\n return this._$endNode;\n }\n\n _$setValue(value: unknown, directiveParent: DirectiveParent = this): void {\n if (DEV_MODE && this.parentNode === null) {\n throw new Error(\n `This \\`ChildPart\\` has no \\`parentNode\\` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's \\`innerHTML\\` or \\`textContent\\` can do this.`\n );\n }\n value = resolveDirective(this, value, directiveParent);\n if (isPrimitive(value)) {\n // Non-rendering child values. It's important that these do not render\n // empty text nodes to avoid issues with preventing default <slot>\n // fallback content.\n if (value === nothing || value == null || value === '') {\n if (this._$committedValue !== nothing) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit nothing to child',\n start: this._$startNode,\n end: this._$endNode,\n parent: this._$parent,\n options: this.options,\n });\n this._$clear();\n }\n this._$committedValue = nothing;\n } else if (value !== this._$committedValue && value !== noChange) {\n this._commitText(value);\n }\n // This property needs to remain unminified.\n } else if ((value as TemplateResult)['_$litType$'] !== undefined) {\n this._commitTemplateResult(value as TemplateResult);\n } else if ((value as Node).nodeType !== undefined) {\n if (DEV_MODE && this.options?.host === value) {\n this._commitText(\n `[probable mistake: rendered a template's host in itself ` +\n `(commonly caused by writing \\${this} in a template]`\n );\n console.warn(\n `Attempted to render the template host`,\n value,\n `inside itself. This is almost always a mistake, and in dev mode `,\n `we render some warning text. In production however, we'll `,\n `render it, which will usually result in an error, and sometimes `,\n `in the element disappearing from the DOM.`\n );\n return;\n }\n this._commitNode(value as Node);\n } else if (isIterable(value)) {\n this._commitIterable(value);\n } else {\n // Fallback, will render the string representation\n this._commitText(value);\n }\n }\n\n private _insert<T extends Node>(node: T) {\n return wrap(wrap(this._$startNode).parentNode!).insertBefore(\n node,\n this._$endNode\n );\n }\n\n private _commitNode(value: Node): void {\n if (this._$committedValue !== value) {\n this._$clear();\n if (\n ENABLE_EXTRA_SECURITY_HOOKS &&\n sanitizerFactoryInternal !== noopSanitizer\n ) {\n const parentNodeName = this._$startNode.parentNode?.nodeName;\n if (parentNodeName === 'STYLE' || parentNodeName === 'SCRIPT') {\n let message = 'Forbidden';\n if (DEV_MODE) {\n if (parentNodeName === 'STYLE') {\n message =\n `Lit does not support binding inside style nodes. ` +\n `This is a security risk, as style injection attacks can ` +\n `exfiltrate data and spoof UIs. ` +\n `Consider instead using css\\`...\\` literals ` +\n `to compose styles, and do dynamic styling with ` +\n `css custom properties, ::parts, <slot>s, ` +\n `and by mutating the DOM rather than stylesheets.`;\n } else {\n message =\n `Lit does not support binding inside script nodes. ` +\n `This is a security risk, as it could allow arbitrary ` +\n `code execution.`;\n }\n }\n throw new Error(message);\n }\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit node',\n start: this._$startNode,\n parent: this._$parent,\n value: value,\n options: this.options,\n });\n this._$committedValue = this._insert(value);\n }\n }\n\n private _commitText(value: unknown): void {\n // If the committed value is a primitive it means we called _commitText on\n // the previous render, and we know that this._$startNode.nextSibling is a\n // Text node. We can now just replace the text content (.data) of the node.\n if (\n this._$committedValue !== nothing &&\n isPrimitive(this._$committedValue)\n ) {\n const node = wrap(this._$startNode).nextSibling as Text;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(node, 'data', 'property');\n }\n value = this._textSanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node,\n value,\n options: this.options,\n });\n (node as Text).data = value as string;\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n const textNode = d.createTextNode('');\n this._commitNode(textNode);\n // When setting text content, for security purposes it matters a lot\n // what the parent is. For example, <style> and <script> need to be\n // handled with care, while <span> does not. So first we need to put a\n // text node into the document, then we can sanitize its content.\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(textNode, 'data', 'property');\n }\n value = this._textSanitizer(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: textNode,\n value,\n options: this.options,\n });\n textNode.data = value as string;\n } else {\n this._commitNode(d.createTextNode(value as string));\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: wrap(this._$startNode).nextSibling as Text,\n value,\n options: this.options,\n });\n }\n }\n this._$committedValue = value;\n }\n\n private _commitTemplateResult(\n result: TemplateResult | CompiledTemplateResult\n ): void {\n // This property needs to remain unminified.\n const {values, ['_$litType$']: type} = result;\n // If $litType$ is a number, result is a plain TemplateResult and we get\n // the template from the template cache. If not, result is a\n // CompiledTemplateResult and _$litType$ is a CompiledTemplate and we need\n // to create the <template> element the first time we see it.\n const template: Template | CompiledTemplate =\n typeof type === 'number'\n ? this._$getTemplate(result as UncompiledTemplateResult)\n : (type.el === undefined &&\n (type.el = Template.createElement(\n trustFromTemplateString(type.h, type.h[0]),\n this.options\n )),\n type);\n\n if ((this._$committedValue as TemplateInstance)?._$template === template) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'template updating',\n template,\n instance: this._$committedValue as TemplateInstance,\n parts: (this._$committedValue as TemplateInstance)._$parts,\n options: this.options,\n values,\n });\n (this._$committedValue as TemplateInstance)._update(values);\n } else {\n const instance = new TemplateInstance(template as Template, this);\n const fragment = instance._clone(this.options);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n instance._update(values);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated and updated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n this._commitNode(fragment);\n this._$committedValue = instance;\n }\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @internal */\n _$getTemplate(result: UncompiledTemplateResult) {\n let template = templateCache.get(result.strings);\n if (template === undefined) {\n templateCache.set(result.strings, (template = new Template(result)));\n }\n return template;\n }\n\n private _commitIterable(value: Iterable<unknown>): void {\n // For an Iterable, we create a new InstancePart per item, then set its\n // value to the item. This is a little bit of overhead for every item in\n // an Iterable, but it lets us recurse easily and efficiently update Arrays\n // of TemplateResults that will be commonly returned from expressions like:\n // array.map((i) => html`${i}`), by reusing existing TemplateInstances.\n\n // If value is an array, then the previous render was of an\n // iterable and value will contain the ChildParts from the previous\n // render. If value is not an array, clear this part and make a new\n // array for ChildParts.\n if (!isArray(this._$committedValue)) {\n this._$committedValue = [];\n this._$clear();\n }\n\n // Lets us keep track of how many items we stamped so we can clear leftover\n // items from a previous render\n const itemParts = this._$committedValue as ChildPart[];\n let partIndex = 0;\n let itemPart: ChildPart | undefined;\n\n for (const item of value) {\n if (partIndex === itemParts.length) {\n // If no existing part, create a new one\n // TODO (justinfagnani): test perf impact of always creating two parts\n // instead of sharing parts between nodes\n // https://github.com/lit/lit/issues/1266\n itemParts.push(\n (itemPart = new ChildPart(\n this._insert(createMarker()),\n this._insert(createMarker()),\n this,\n this.options\n ))\n );\n } else {\n // Reuse an existing part\n itemPart = itemParts[partIndex];\n }\n itemPart._$setValue(item);\n partIndex++;\n }\n\n if (partIndex < itemParts.length) {\n // itemParts always have end nodes\n this._$clear(\n itemPart && wrap(itemPart._$endNode!).nextSibling,\n partIndex\n );\n // Truncate the parts array so _value reflects the current state\n itemParts.length = partIndex;\n }\n }\n\n /**\n * Removes the nodes contained within this Part from the DOM.\n *\n * @param start Start node to clear from, for clearing a subset of the part's\n * DOM (used when truncating iterables)\n * @param from When `start` is specified, the index within the iterable from\n * which ChildParts are being removed, used for disconnecting directives in\n * those Parts.\n *\n * @internal\n */\n _$clear(\n start: ChildNode | null = wrap(this._$startNode).nextSibling,\n from?: number\n ) {\n this._$notifyConnectionChanged?.(false, true, from);\n while (start && start !== this._$endNode) {\n const n = wrap(start!).nextSibling;\n (wrap(start!) as Element).remove();\n start = n;\n }\n }\n /**\n * Implementation of RootPart's `isConnected`. Note that this method\n * should only be called on `RootPart`s (the `ChildPart` returned from a\n * top-level `render()` call). It has no effect on non-root ChildParts.\n * @param isConnected Whether to set\n * @internal\n */\n setConnected(isConnected: boolean) {\n if (this._$parent === undefined) {\n this.__isConnected = isConnected;\n this._$notifyConnectionChanged?.(isConnected);\n } else if (DEV_MODE) {\n throw new Error(\n 'part.setConnected() may only be called on a ' +\n 'RootPart returned from render().'\n );\n }\n }\n}\n\n/**\n * A top-level `ChildPart` returned from `render` that manages the connected\n * state of `AsyncDirective`s created throughout the tree below it.\n */\nexport interface RootPart extends ChildPart {\n /**\n * Sets the connection state for `AsyncDirective`s contained within this root\n * ChildPart.\n *\n * lit-html does not automatically monitor the connectedness of DOM rendered;\n * as such, it is the responsibility of the caller to `render` to ensure that\n * `part.setConnected(false)` is called before the part object is potentially\n * discarded, to ensure that `AsyncDirective`s have a chance to dispose of\n * any resources being held. If a `RootPart` that was previously\n * disconnected is subsequently re-connected (and its `AsyncDirective`s should\n * re-connect), `setConnected(true)` should be called.\n *\n * @param isConnected Whether directives within this tree should be connected\n * or not\n */\n setConnected(isConnected: boolean): void;\n}\n\nexport type {AttributePart};\nclass AttributePart implements Disconnectable {\n readonly type:\n | typeof ATTRIBUTE_PART\n | typeof PROPERTY_PART\n | typeof BOOLEAN_ATTRIBUTE_PART\n | typeof EVENT_PART = ATTRIBUTE_PART;\n readonly element: HTMLElement;\n readonly name: string;\n readonly options: RenderOptions | undefined;\n\n /**\n * If this attribute part represents an interpolation, this contains the\n * static strings of the interpolation. For single-value, complete bindings,\n * this is undefined.\n */\n readonly strings?: ReadonlyArray<string>;\n /** @internal */\n _$committedValue: unknown | Array<unknown> = nothing;\n /** @internal */\n __directives?: Array<Directive | undefined>;\n /** @internal */\n _$parent: Disconnectable;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n protected _sanitizer: ValueSanitizer | undefined;\n\n get tagName() {\n return this.element.tagName;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this.element = element;\n this.name = name;\n this._$parent = parent;\n this.options = options;\n if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {\n this._$committedValue = new Array(strings.length - 1).fill(new String());\n this.strings = strings;\n } else {\n this._$committedValue = nothing;\n }\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n this._sanitizer = undefined;\n }\n }\n\n /**\n * Sets the value of this part by resolving the value from possibly multiple\n * values and static strings and committing it to the DOM.\n * If this part is single-valued, `this._strings` will be undefined, and the\n * method will be called with a single value argument. If this part is\n * multi-value, `this._strings` will be defined, and the method is called\n * with the value array of the part's owning TemplateInstance, and an offset\n * into the value array from which the values should be read.\n * This method is overloaded this way to eliminate short-lived array slices\n * of the template instance values, and allow a fast-path for single-valued\n * parts.\n *\n * @param value The part value, or an array of values for multi-valued parts\n * @param valueIndex the index to start reading values from. `undefined` for\n * single-valued parts\n * @param noCommit causes the part to not commit its value to the DOM. Used\n * in hydration to prime attribute parts with their first-rendered value,\n * but not set the attribute, and in SSR to no-op the DOM operation and\n * capture the value for serialization.\n *\n * @internal\n */\n _$setValue(\n value: unknown | Array<unknown>,\n directiveParent: DirectiveParent = this,\n valueIndex?: number,\n noCommit?: boolean\n ) {\n const strings = this.strings;\n\n // Whether any of the values has changed, for dirty-checking\n let change = false;\n\n if (strings === undefined) {\n // Single-value binding case\n value = resolveDirective(this, value, directiveParent, 0);\n change =\n !isPrimitive(value) ||\n (value !== this._$committedValue && value !== noChange);\n if (change) {\n this._$committedValue = value;\n }\n } else {\n // Interpolation case\n const values = value as Array<unknown>;\n value = strings[0];\n\n let i, v;\n for (i = 0; i < strings.length - 1; i++) {\n v = resolveDirective(this, values[valueIndex! + i], directiveParent, i);\n\n if (v === noChange) {\n // If the user-provided value is `noChange`, use the previous value\n v = (this._$committedValue as Array<unknown>)[i];\n }\n change ||=\n !isPrimitive(v) || v !== (this._$committedValue as Array<unknown>)[i];\n if (v === nothing) {\n value = nothing;\n } else if (value !== nothing) {\n value += (v ?? '') + strings[i + 1];\n }\n // We always record each value, even if one is `nothing`, for future\n // change detection.\n (this._$committedValue as Array<unknown>)[i] = v;\n }\n }\n if (change && !noCommit) {\n this._commitValue(value);\n }\n }\n\n /** @internal */\n _commitValue(value: unknown) {\n if (value === nothing) {\n (wrap(this.element) as Element).removeAttribute(this.name);\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'attribute'\n );\n }\n value = this._sanitizer(value ?? '');\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit attribute',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n (wrap(this.element) as Element).setAttribute(\n this.name,\n (value ?? '') as string\n );\n }\n }\n}\n\nexport type {PropertyPart};\nclass PropertyPart extends AttributePart {\n override readonly type = PROPERTY_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'property'\n );\n }\n value = this._sanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit property',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.element as any)[this.name] = value === nothing ? undefined : value;\n }\n}\n\nexport type {BooleanAttributePart};\nclass BooleanAttributePart extends AttributePart {\n override readonly type = BOOLEAN_ATTRIBUTE_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit boolean attribute',\n element: this.element,\n name: this.name,\n value: !!(value && value !== nothing),\n options: this.options,\n });\n (wrap(this.element) as Element).toggleAttribute(\n this.name,\n !!value && value !== nothing\n );\n }\n}\n\ntype EventListenerWithOptions = EventListenerOrEventListenerObject &\n Partial<AddEventListenerOptions>;\n\n/**\n * An AttributePart that manages an event listener via add/removeEventListener.\n *\n * This part works by adding itself as the event listener on an element, then\n * delegating to the value passed to it. This reduces the number of calls to\n * add/removeEventListener if the listener changes frequently, such as when an\n * inline function is used as a listener.\n *\n * Because event options are passed when adding listeners, we must take case\n * to add and remove the part as a listener when the event options change.\n */\nexport type {EventPart};\nclass EventPart extends AttributePart {\n override readonly type = EVENT_PART;\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n super(element, name, strings, parent, options);\n\n if (DEV_MODE && this.strings !== undefined) {\n throw new Error(\n `A \\`<${element.localName}>\\` has a \\`@${name}=...\\` listener with ` +\n 'invalid content. Event listeners in templates must have exactly ' +\n 'one expression and no surrounding text.'\n );\n }\n }\n\n // EventPart does not use the base _$setValue/_resolveValue implementation\n // since the dirty checking is more complex\n /** @internal */\n override _$setValue(\n newListener: unknown,\n directiveParent: DirectiveParent = this\n ) {\n newListener =\n resolveDirective(this, newListener, directiveParent, 0) ?? nothing;\n if (newListener === noChange) {\n return;\n }\n const oldListener = this._$committedValue;\n\n // If the new value is nothing or any options change we have to remove the\n // part as a listener.\n const shouldRemoveListener =\n (newListener === nothing && oldListener !== nothing) ||\n (newListener as EventListenerWithOptions).capture !==\n (oldListener as EventListenerWithOptions).capture ||\n (newListener as EventListenerWithOptions).once !==\n (oldListener as EventListenerWithOptions).once ||\n (newListener as EventListenerWithOptions).passive !==\n (oldListener as EventListenerWithOptions).passive;\n\n // If the new value is not nothing and we removed the listener, we have\n // to add the part as a listener.\n const shouldAddListener =\n newListener !== nothing &&\n (oldListener === nothing || shouldRemoveListener);\n\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit event listener',\n element: this.element,\n name: this.name,\n value: newListener,\n options: this.options,\n removeListener: shouldRemoveListener,\n addListener: shouldAddListener,\n oldListener,\n });\n if (shouldRemoveListener) {\n this.element.removeEventListener(\n this.name,\n this,\n oldListener as EventListenerWithOptions\n );\n }\n if (shouldAddListener) {\n this.element.addEventListener(\n this.name,\n this,\n newListener as EventListenerWithOptions\n );\n }\n this._$committedValue = newListener;\n }\n\n handleEvent(event: Event) {\n if (typeof this._$committedValue === 'function') {\n this._$committedValue.call(this.options?.host ?? this.element, event);\n } else {\n (this._$committedValue as EventListenerObject).handleEvent(event);\n }\n }\n}\n\nexport type {ElementPart};\nclass ElementPart implements Disconnectable {\n readonly type = ELEMENT_PART;\n\n /** @internal */\n __directive?: Directive;\n\n // This is to ensure that every Part has a _$committedValue\n _$committedValue: undefined;\n\n /** @internal */\n _$parent!: Disconnectable;\n\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n options: RenderOptions | undefined;\n\n constructor(\n public element: Element,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this._$parent = parent;\n this.options = options;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n _$setValue(value: unknown): void {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit to element binding',\n element: this.element,\n value,\n options: this.options,\n });\n resolveDirective(this, value);\n }\n}\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LH object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-element, which re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LH = {\n // Used in lit-ssr\n _boundAttributeSuffix: boundAttributeSuffix,\n _marker: marker,\n _markerMatch: markerMatch,\n _HTML_RESULT: HTML_RESULT,\n _getTemplateHtml: getTemplateHtml,\n // Used in tests and private-ssr-support\n _TemplateInstance: TemplateInstance,\n _isIterable: isIterable,\n _resolveDirective: resolveDirective,\n _ChildPart: ChildPart,\n _AttributePart: AttributePart,\n _BooleanAttributePart: BooleanAttributePart,\n _EventPart: EventPart,\n _PropertyPart: PropertyPart,\n _ElementPart: ElementPart,\n};\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litHtmlPolyfillSupportDevMode\n : global.litHtmlPolyfillSupport;\npolyfillSupport?.(Template, ChildPart);\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for lit-html usage.\n(global.litHtmlVersions ??= []).push('3.3.0');\nif (DEV_MODE && global.litHtmlVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. ` +\n `Loading multiple versions is not recommended.`\n );\n });\n}\n\n/**\n * Renders a value, usually a lit-html TemplateResult, to the container.\n *\n * This example renders the text \"Hello, Zoe!\" inside a paragraph tag, appending\n * it to the container `document.body`.\n *\n * ```js\n * import {html, render} from 'lit';\n *\n * const name = \"Zoe\";\n * render(html`<p>Hello, ${name}!</p>`, document.body);\n * ```\n *\n * @param value Any [renderable\n * value](https://lit.dev/docs/templates/expressions/#child-expressions),\n * typically a {@linkcode TemplateResult} created by evaluating a template tag\n * like {@linkcode html} or {@linkcode svg}.\n * @param container A DOM container to render to. The first render will append\n * the rendered value to the container, and subsequent renders will\n * efficiently update the rendered value if the same result type was\n * previously rendered there.\n * @param options See {@linkcode RenderOptions} for options documentation.\n * @see\n * {@link https://lit.dev/docs/libraries/standalone-templates/#rendering-lit-html-templates| Rendering Lit HTML Templates}\n */\nexport const render = (\n value: unknown,\n container: HTMLElement | DocumentFragment,\n options?: RenderOptions\n): RootPart => {\n if (DEV_MODE && container == null) {\n // Give a clearer error message than\n // Uncaught TypeError: Cannot read properties of null (reading\n // '_$litPart$')\n // which reads like an internal Lit error.\n throw new TypeError(`The container to render into may not be ${container}`);\n }\n const renderId = DEV_MODE ? debugLogRenderId++ : 0;\n const partOwnerNode = options?.renderBefore ?? container;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let part: ChildPart = (partOwnerNode as any)['_$litPart$'];\n debugLogEvent &&\n debugLogEvent({\n kind: 'begin render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n if (part === undefined) {\n const endNode = options?.renderBefore ?? null;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (partOwnerNode as any)['_$litPart$'] = part = new ChildPart(\n container.insertBefore(createMarker(), endNode),\n endNode,\n undefined,\n options ?? {}\n );\n }\n part._$setValue(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'end render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n return part as RootPart;\n};\n\nif (ENABLE_EXTRA_SECURITY_HOOKS) {\n render.setSanitizer = setSanitizer;\n render.createSanitizer = createSanitizer;\n if (DEV_MODE) {\n render._testOnlyClearSanitizerFactoryDoNotCallOrElse =\n _testOnlyClearSanitizerFactoryDoNotCallOrElse;\n }\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\nimport {PropertyValues, ReactiveElement} from '@lit/reactive-element';\nimport {render, RenderOptions, noChange, RootPart} from 'lit-html';\nexport * from '@lit/reactive-element';\nexport * from 'lit-html';\n\nimport {LitUnstable} from 'lit-html';\nimport {ReactiveUnstable} from '@lit/reactive-element';\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace Unstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | LitUnstable.DebugLog.Entry\n | ReactiveUnstable.DebugLog.Entry;\n }\n}\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = <P extends PropertyKey>(\n prop: P,\n _obj: unknown\n): P => prop;\n\nconst DEV_MODE = true;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n}\n\n/**\n * Base element class that manages element properties and attributes, and\n * renders a lit-html template.\n *\n * To define a component, subclass `LitElement` and implement a\n * `render` method to provide the component's template. Define properties\n * using the {@linkcode LitElement.properties properties} property or the\n * {@linkcode property} decorator.\n */\nexport class LitElement extends ReactiveElement {\n // This property needs to remain unminified.\n static ['_$litElement$'] = true;\n\n /**\n * @category rendering\n */\n readonly renderOptions: RenderOptions = {host: this};\n\n private __childPart: RootPart | undefined = undefined;\n\n /**\n * @category rendering\n */\n protected override createRenderRoot() {\n const renderRoot = super.createRenderRoot();\n // When adoptedStyleSheets are shimmed, they are inserted into the\n // shadowRoot by createRenderRoot. Adjust the renderBefore node so that\n // any styles in Lit content render before adoptedStyleSheets. This is\n // important so that adoptedStyleSheets have precedence over styles in\n // the shadowRoot.\n this.renderOptions.renderBefore ??= renderRoot!.firstChild as ChildNode;\n return renderRoot;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param changedProperties Map of changed properties with old values\n * @category updates\n */\n protected override update(changedProperties: PropertyValues) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const value = this.render();\n if (!this.hasUpdated) {\n this.renderOptions.isConnected = this.isConnected;\n }\n super.update(changedProperties);\n this.__childPart = render(value, this.renderRoot, this.renderOptions);\n }\n\n /**\n * Invoked when the component is added to the document's DOM.\n *\n * In `connectedCallback()` you should setup tasks that should only occur when\n * the element is connected to the document. The most common of these is\n * adding event listeners to nodes external to the element, like a keydown\n * event handler added to the window.\n *\n * ```ts\n * connectedCallback() {\n * super.connectedCallback();\n * addEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * Typically, anything done in `connectedCallback()` should be undone when the\n * element is disconnected, in `disconnectedCallback()`.\n *\n * @category lifecycle\n */\n override connectedCallback() {\n super.connectedCallback();\n this.__childPart?.setConnected(true);\n }\n\n /**\n * Invoked when the component is removed from the document's DOM.\n *\n * This callback is the main signal to the element that it may no longer be\n * used. `disconnectedCallback()` should ensure that nothing is holding a\n * reference to the element (such as event listeners added to nodes external\n * to the element), so that it is free to be garbage collected.\n *\n * ```ts\n * disconnectedCallback() {\n * super.disconnectedCallback();\n * window.removeEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * An element may be re-connected after being disconnected.\n *\n * @category lifecycle\n */\n override disconnectedCallback() {\n super.disconnectedCallback();\n this.__childPart?.setConnected(false);\n }\n\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's `ChildPart` - typically a\n * `TemplateResult`. Setting properties inside this method will *not* trigger\n * the element to update.\n * @category rendering\n */\n protected render(): unknown {\n return noChange;\n }\n}\n\n/**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See @lit/reactive-element for more information.\n */\n(LitElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('finalized', LitElement)\n] = true;\n\n// Install hydration if available\nglobal.litElementHydrateSupport?.({LitElement});\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litElementPolyfillSupportDevMode\n : global.litElementPolyfillSupport;\npolyfillSupport?.({LitElement});\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LE object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-html, since this module re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LE = {\n _$attributeToProperty: (\n el: LitElement,\n name: string,\n value: string | null\n ) => {\n // eslint-disable-next-line\n (el as any)._$attributeToProperty(name, value);\n },\n // eslint-disable-next-line\n _$changedProperties: (el: LitElement) => (el as any)._$changedProperties,\n};\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n(global.litElementVersions ??= []).push('4.2.0');\nif (DEV_MODE && global.litElementVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n });\n}\n", "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{align-items:center;appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:\"\";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}:host{display:flex;width:fit-content}", null, ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}:host .m-form-field{--choice-border:var(--choice-border-default);--choice-border-hover:var(--choice-border-hover-default);--choice-border-focus:var(--choice-border-focus-default);--choice-outline-focus:var(--choice-outline-focus-default);--choice-bg:var(--choice-bg-default);--choice-bg-selected:var(--choice-bg-selected-default);--choice-bg-selected-focus:var(--choice-bg-selected-focus-default);--choice-label-disabled:var(--choice-label-disabled-default);--choice-border-width-addendum:0}:host .m-form-field .a-text-input--full{width:100%}:host .m-form-field .a-label+.a-text-input{margin-top:.3125em}:host .m-form-field--checkbox .a-label,:host .m-form-field--radio .a-label{cursor:pointer;display:inline-grid;grid-template-columns:1.875em auto;overflow-wrap:anywhere;vertical-align:top}:host .m-form-field--checkbox .a-label:before,:host .m-form-field--radio .a-label:before{background-color:var(--choice-bg);border:1px solid var(--choice-border);content:\"\";display:inline-block;grid-row-end:3;grid-row-start:1;height:1.125em;left:1px;margin-right:10px;outline:var(--choice-border-width-addendum) solid var(--choice-border);position:relative;top:1px;vertical-align:top;width:1.125em}:host .m-form-field--checkbox .a-label.hover:before,:host .m-form-field--checkbox .a-label:hover:before,:host .m-form-field--radio .a-label.hover:before,:host .m-form-field--radio .a-label:hover:before{border-color:var(--choice-border-hover)}:host .m-form-field--checkbox .a-checkbox,:host .m-form-field--checkbox .a-radio,:host .m-form-field--radio .a-checkbox,:host .m-form-field--radio .a-radio{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}:host .m-form-field--checkbox .a-checkbox.focus+.a-label,:host .m-form-field--checkbox .a-checkbox:focus+.a-label,:host .m-form-field--checkbox .a-radio.focus+.a-label,:host .m-form-field--checkbox .a-radio:focus+.a-label,:host .m-form-field--radio .a-checkbox.focus+.a-label,:host .m-form-field--radio .a-checkbox:focus+.a-label,:host .m-form-field--radio .a-radio.focus+.a-label,:host .m-form-field--radio .a-radio:focus+.a-label{outline:1px dotted var(--choice-outline-focus);outline-offset:1px}:host .m-form-field--checkbox .a-checkbox:disabled.focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled.hover+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:hover+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled.focus+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled.hover+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:checked+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:focus+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:hover+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled.focus+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled.hover+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:checked+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:focus+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:hover+.a-label:before,:host .m-form-field--radio .a-radio:disabled.focus+.a-label:before,:host .m-form-field--radio .a-radio:disabled.hover+.a-label:before,:host .m-form-field--radio .a-radio:disabled:checked+.a-label:before,:host .m-form-field--radio .a-radio:disabled:focus+.a-label:before,:host .m-form-field--radio .a-radio:disabled:hover+.a-label:before{border-color:var(--choice-border);box-shadow:none;outline:none}:host .m-form-field--checkbox .a-checkbox:disabled+.a-label,:host .m-form-field--checkbox .a-radio:disabled+.a-label,:host .m-form-field--radio .a-checkbox:disabled+.a-label,:host .m-form-field--radio .a-radio:disabled+.a-label{color:var(--choice-label-disabled);cursor:not-allowed}:host .m-form-field--checkbox .a-checkbox:disabled+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled+.a-label:before,:host .m-form-field--radio .a-radio:disabled+.a-label:before{outline:none}:host .m-form-field--checkbox:has(.a-checkbox:disabled),:host .m-form-field--checkbox:has(.a-radio:disabled),:host .m-form-field--radio:has(.a-checkbox:disabled),:host .m-form-field--radio:has(.a-radio:disabled){--choice-border:var(--choice-border-disabled);--choice-bg:var(--choice-bg-disabled);--choice-bg-selected:var(--choice-bg-selected-disabled)}:host .m-form-field--checkbox-error,:host .m-form-field--checkbox-success,:host .m-form-field--checkbox-warning,:host .m-form-field--radio-error,:host .m-form-field--radio-success,:host .m-form-field--radio-warning{--choice-border-width-addendum:1px}:host .m-form-field--checkbox-success,:host .m-form-field--radio-success{--choice-border:var(--choice-border-success)}:host .m-form-field--checkbox-warning,:host .m-form-field--radio-warning{--choice-border:var(--choice-border-warning)}:host .m-form-field--checkbox-error,:host .m-form-field--radio-error{--choice-border:var(--choice-border-error)}:host .m-form-field--checkbox .a-checkbox.focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline-color:var(--choice-border-focus)}:host .m-form-field--checkbox .a-checkbox.hover+.a-label:before,:host .m-form-field--checkbox .a-checkbox:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline-color:var(--choice-border-hover)}:host .m-form-field--checkbox .a-checkbox:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--approved\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>');background-position:center 0;background-repeat:no-repeat;background-size:auto 1.1875em}:host .m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>')}:host .m-form-field--radio .a-label:before{border-radius:50%;transform:rotate(0deg)}:host .m-form-field--radio .a-radio.focus+.a-label:before,:host .m-form-field--radio .a-radio:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline:none}:host .m-form-field--radio .a-radio.hover+.a-label:before,:host .m-form-field--radio .a-radio:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline:none}:host .m-form-field--radio .a-radio:checked+.a-label:before{background-color:var(--choice-bg-selected);box-shadow:inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.focus:checked+.a-label:before,:host .m-form-field--radio .a-radio:focus:checked+.a-label:before{background-color:var(--choice-bg-selected-focus);border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus),inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.hover:checked+.a-label:before,:host .m-form-field--radio .a-radio:hover:checked+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover),inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.hover:checked:disabled+.a-label:before,:host .m-form-field--radio .a-radio:checked:disabled+.a-label:before,:host .m-form-field--radio .a-radio:hover:checked:disabled+.a-label:before{background-color:var(--choice-bg-selected);border-color:var(--choice-border-disabled);box-shadow:inset 0 0 0 2px var(--gray-10)}:host .m-form-field--lg-target{display:block}:host .m-form-field--lg-target .a-label{background-color:var(--gray-10);box-sizing:border-box;padding:15px;width:100%}:host .m-form-field--lg-target .a-checkbox:checked+.a-label,:host .m-form-field--lg-target .a-radio:checked+.a-label{background-color:var(--pacific-20);box-shadow:inset 0 0 0 1px var(--pacific)}:host .m-form-field--lg-target .a-checkbox.focus+.a-label,:host .m-form-field--lg-target .a-checkbox.hover+.a-label,:host .m-form-field--lg-target .a-checkbox:focus+.a-label,:host .m-form-field--lg-target .a-checkbox:hover+.a-label,:host .m-form-field--lg-target .a-radio.focus+.a-label,:host .m-form-field--lg-target .a-radio.hover+.a-label,:host .m-form-field--lg-target .a-radio:focus+.a-label,:host .m-form-field--lg-target .a-radio:hover+.a-label{box-shadow:inset 0 0 0 2px var(--pacific)}:host .m-form-field--lg-target .a-checkbox.focus+.a-label,:host .m-form-field--lg-target .a-checkbox:checked+.a-label,:host .m-form-field--lg-target .a-checkbox:focus+.a-label,:host .m-form-field--lg-target .a-radio.focus+.a-label,:host .m-form-field--lg-target .a-radio:checked+.a-label,:host .m-form-field--lg-target .a-radio:focus+.a-label{outline-offset:1px}:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:hover:disabled+.a-label,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label,:host .m-form-field--lg-target .a-radio:disabled+.a-label,:host .m-form-field--lg-target .a-radio:hover:disabled+.a-label{background-color:var(--gray-20);box-shadow:none;color:var(--choice-label-disabled)}:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label:before,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label:before{border:1px solid var(--form-field-border-disabled)}", null, "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {\n _$LH,\n Part,\n DirectiveParent,\n CompiledTemplateResult,\n MaybeCompiledTemplateResult,\n UncompiledTemplateResult,\n} from './lit-html.js';\nimport {\n DirectiveResult,\n DirectiveClass,\n PartInfo,\n AttributePartInfo,\n} from './directive.js';\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\n\nconst {_ChildPart: ChildPart} = _$LH;\n\ntype ChildPart = InstanceType<typeof ChildPart>;\n\nconst ENABLE_SHADYDOM_NOPATCH = true;\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n window.ShadyDOM?.inUse &&\n window.ShadyDOM?.noPatch === true\n ? window.ShadyDOM!.wrap\n : (node: Node) => node;\n\n/**\n * Tests if a value is a primitive value.\n *\n * See https://tc39.github.io/ecma262/#sec-typeof-operator\n */\nexport const isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\n\nexport const TemplateResultType = {\n HTML: 1,\n SVG: 2,\n MATHML: 3,\n} as const;\n\nexport type TemplateResultType =\n (typeof TemplateResultType)[keyof typeof TemplateResultType];\n\ntype IsTemplateResult = {\n (val: unknown): val is MaybeCompiledTemplateResult;\n <T extends TemplateResultType>(\n val: unknown,\n type: T\n ): val is UncompiledTemplateResult<T>;\n};\n\n/**\n * Tests if a value is a TemplateResult or a CompiledTemplateResult.\n */\nexport const isTemplateResult: IsTemplateResult = (\n value: unknown,\n type?: TemplateResultType\n): value is UncompiledTemplateResult =>\n type === undefined\n ? // This property needs to remain unminified.\n (value as UncompiledTemplateResult)?.['_$litType$'] !== undefined\n : (value as UncompiledTemplateResult)?.['_$litType$'] === type;\n\n/**\n * Tests if a value is a CompiledTemplateResult.\n */\nexport const isCompiledTemplateResult = (\n value: unknown\n): value is CompiledTemplateResult => {\n return (value as CompiledTemplateResult)?.['_$litType$']?.h != null;\n};\n\n/**\n * Tests if a value is a DirectiveResult.\n */\nexport const isDirectiveResult = (value: unknown): value is DirectiveResult =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'] !== undefined;\n\n/**\n * Retrieves the Directive class for a DirectiveResult\n */\nexport const getDirectiveClass = (value: unknown): DirectiveClass | undefined =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'];\n\n/**\n * Tests whether a part has only a single-expression with no strings to\n * interpolate between.\n *\n * Only AttributePart and PropertyPart can have multiple expressions.\n * Multi-expression parts have a `strings` property and single-expression\n * parts do not.\n */\nexport const isSingleExpression = (part: PartInfo) =>\n (part as AttributePartInfo).strings === undefined;\n\nconst createMarker = () => document.createComment('');\n\n/**\n * Inserts a ChildPart into the given container ChildPart's DOM, either at the\n * end of the container ChildPart, or before the optional `refPart`.\n *\n * This does not add the part to the containerPart's committed value. That must\n * be done by callers.\n *\n * @param containerPart Part within which to add the new ChildPart\n * @param refPart Part before which to add the new ChildPart; when omitted the\n * part added to the end of the `containerPart`\n * @param part Part to insert, or undefined to create a new part\n */\nexport const insertPart = (\n containerPart: ChildPart,\n refPart?: ChildPart,\n part?: ChildPart\n): ChildPart => {\n const container = wrap(containerPart._$startNode).parentNode!;\n\n const refNode =\n refPart === undefined ? containerPart._$endNode : refPart._$startNode;\n\n if (part === undefined) {\n const startNode = wrap(container).insertBefore(createMarker(), refNode);\n const endNode = wrap(container).insertBefore(createMarker(), refNode);\n part = new ChildPart(\n startNode,\n endNode,\n containerPart,\n containerPart.options\n );\n } else {\n const endNode = wrap(part._$endNode!).nextSibling;\n const oldParent = part._$parent;\n const parentChanged = oldParent !== containerPart;\n if (parentChanged) {\n part._$reparentDisconnectables?.(containerPart);\n // Note that although `_$reparentDisconnectables` updates the part's\n // `_$parent` reference after unlinking from its current parent, that\n // method only exists if Disconnectables are present, so we need to\n // unconditionally set it here\n part._$parent = containerPart;\n // Since the _$isConnected getter is somewhat costly, only\n // read it once we know the subtree has directives that need\n // to be notified\n let newConnectionState;\n if (\n part._$notifyConnectionChanged !== undefined &&\n (newConnectionState = containerPart._$isConnected) !==\n oldParent!._$isConnected\n ) {\n part._$notifyConnectionChanged(newConnectionState);\n }\n }\n if (endNode !== refNode || parentChanged) {\n let start: Node | null = part._$startNode;\n while (start !== endNode) {\n const n: Node | null = wrap(start!).nextSibling;\n wrap(container).insertBefore(start!, refNode);\n start = n;\n }\n }\n }\n\n return part;\n};\n\n/**\n * Sets the value of a Part.\n *\n * Note that this should only be used to set/update the value of user-created\n * parts (i.e. those created using `insertPart`); it should not be used\n * by directives to set the value of the directive's container part. Directives\n * should return a value from `update`/`render` to update their part state.\n *\n * For directives that require setting their part value asynchronously, they\n * should extend `AsyncDirective` and call `this.setValue()`.\n *\n * @param part Part to set\n * @param value Value to set\n * @param index For `AttributePart`s, the index to set\n * @param directiveParent Used internally; should not be set by user\n */\nexport const setChildPartValue = <T extends ChildPart>(\n part: T,\n value: unknown,\n directiveParent: DirectiveParent = part\n): T => {\n part._$setValue(value, directiveParent);\n return part;\n};\n\n// A sentinel value that can never appear as a part value except when set by\n// live(). Used to force a dirty-check to fail and cause a re-render.\nconst RESET_VALUE = {};\n\n/**\n * Sets the committed value of a ChildPart directly without triggering the\n * commit stage of the part.\n *\n * This is useful in cases where a directive needs to update the part such\n * that the next update detects a value change or not. When value is omitted,\n * the next update will be guaranteed to be detected as a change.\n *\n * @param part\n * @param value\n */\nexport const setCommittedValue = (part: Part, value: unknown = RESET_VALUE) =>\n (part._$committedValue = value);\n\n/**\n * Returns the committed value of a ChildPart.\n *\n * The committed value is used for change detection and efficient updates of\n * the part. It can differ from the value set by the template or directive in\n * cases where the template value is transformed before being committed.\n *\n * - `TemplateResult`s are committed as a `TemplateInstance`\n * - Iterables are committed as `Array<ChildPart>`\n * - All other types are committed as the template value or value returned or\n * set by a directive.\n *\n * @param part\n */\nexport const getCommittedValue = (part: ChildPart) => part._$committedValue;\n\n/**\n * Removes a ChildPart from the DOM, including any of its content.\n *\n * @param part The Part to remove\n */\nexport const removePart = (part: ChildPart) => {\n part._$notifyConnectionChanged?.(false, true);\n let start: ChildNode | null = part._$startNode;\n const end: ChildNode | null = wrap(part._$endNode!).nextSibling;\n while (start !== end) {\n const n: ChildNode | null = wrap(start!).nextSibling;\n (wrap(start!) as ChildNode).remove();\n start = n;\n }\n};\n\nexport const clearPart = (part: ChildPart) => {\n part._$clear();\n};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {Disconnectable, Part} from './lit-html.js';\n\nexport {\n AttributePart,\n BooleanAttributePart,\n ChildPart,\n ElementPart,\n EventPart,\n Part,\n PropertyPart,\n} from './lit-html.js';\n\nexport interface DirectiveClass {\n new (part: PartInfo): Directive;\n}\n\n/**\n * This utility type extracts the signature of a directive class's render()\n * method so we can use it for the type of the generated directive function.\n */\nexport type DirectiveParameters<C extends Directive> = Parameters<C['render']>;\n\n/**\n * A generated directive function doesn't evaluate the directive, but just\n * returns a DirectiveResult object that captures the arguments.\n */\nexport interface DirectiveResult<C extends DirectiveClass = DirectiveClass> {\n /**\n * This property needs to remain unminified.\n * @internal\n */\n ['_$litDirective$']: C;\n /** @internal */\n values: DirectiveParameters<InstanceType<C>>;\n}\n\nexport const PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n} as const;\n\nexport type PartType = (typeof PartType)[keyof typeof PartType];\n\nexport interface ChildPartInfo {\n readonly type: typeof PartType.CHILD;\n}\n\nexport interface AttributePartInfo {\n readonly type:\n | typeof PartType.ATTRIBUTE\n | typeof PartType.PROPERTY\n | typeof PartType.BOOLEAN_ATTRIBUTE\n | typeof PartType.EVENT;\n readonly strings?: ReadonlyArray<string>;\n readonly name: string;\n readonly tagName: string;\n}\n\nexport interface ElementPartInfo {\n readonly type: typeof PartType.ELEMENT;\n}\n\n/**\n * Information about the part a directive is bound to.\n *\n * This is useful for checking that a directive is attached to a valid part,\n * such as with directive that can only be used on attribute bindings.\n */\nexport type PartInfo = ChildPartInfo | AttributePartInfo | ElementPartInfo;\n\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nexport const directive =\n <C extends DirectiveClass>(c: C) =>\n (...values: DirectiveParameters<InstanceType<C>>): DirectiveResult<C> => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n });\n\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nexport abstract class Directive implements Disconnectable {\n //@internal\n __part!: Part;\n //@internal\n __attributeIndex: number | undefined;\n //@internal\n __directive?: Directive;\n\n //@internal\n _$parent!: Disconnectable;\n\n // These will only exist on the AsyncDirective subclass\n //@internal\n _$disconnectableChildren?: Set<Disconnectable>;\n // This property needs to remain unminified.\n //@internal\n ['_$notifyDirectiveConnectionChanged']?(isConnected: boolean): void;\n\n constructor(_partInfo: PartInfo) {}\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n /** @internal */\n _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part: Part, props: Array<unknown>): unknown {\n return this.update(part, props);\n }\n\n abstract render(...props: Array<unknown>): unknown;\n\n update(_part: Part, props: Array<unknown>): unknown {\n return this.render(...props);\n }\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Overview:\n *\n * This module is designed to add support for an async `setValue` API and\n * `disconnected` callback to directives with the least impact on the core\n * runtime or payload when that feature is not used.\n *\n * The strategy is to introduce a `AsyncDirective` subclass of\n * `Directive` that climbs the \"parent\" tree in its constructor to note which\n * branches of lit-html's \"logical tree\" of data structures contain such\n * directives and thus need to be crawled when a subtree is being cleared (or\n * manually disconnected) in order to run the `disconnected` callback.\n *\n * The \"nodes\" of the logical tree include Parts, TemplateInstances (for when a\n * TemplateResult is committed to a value of a ChildPart), and Directives; these\n * all implement a common interface called `DisconnectableChild`. Each has a\n * `_$parent` reference which is set during construction in the core code, and a\n * `_$disconnectableChildren` field which is initially undefined.\n *\n * The sparse tree created by means of the `AsyncDirective` constructor\n * crawling up the `_$parent` tree and placing a `_$disconnectableChildren` Set\n * on each parent that includes each child that contains a\n * `AsyncDirective` directly or transitively via its children. In order to\n * notify connection state changes and disconnect (or reconnect) a tree, the\n * `_$notifyConnectionChanged` API is patched onto ChildParts as a directive\n * climbs the parent tree, which is called by the core when clearing a part if\n * it exists. When called, that method iterates over the sparse tree of\n * Set<DisconnectableChildren> built up by AsyncDirectives, and calls\n * `_$notifyDirectiveConnectionChanged` on any directives that are encountered\n * in that tree, running the required callbacks.\n *\n * A given \"logical tree\" of lit-html data-structures might look like this:\n *\n * ChildPart(N1) _$dC=[D2,T3]\n * ._directive\n * AsyncDirective(D2)\n * ._value // user value was TemplateResult\n * TemplateInstance(T3) _$dC=[A4,A6,N10,N12]\n * ._$parts[]\n * AttributePart(A4) _$dC=[D5]\n * ._directives[]\n * AsyncDirective(D5)\n * AttributePart(A6) _$dC=[D7,D8]\n * ._directives[]\n * AsyncDirective(D7)\n * Directive(D8) _$dC=[D9]\n * ._directive\n * AsyncDirective(D9)\n * ChildPart(N10) _$dC=[D11]\n * ._directive\n * AsyncDirective(D11)\n * ._value\n * string\n * ChildPart(N12) _$dC=[D13,N14,N16]\n * ._directive\n * AsyncDirective(D13)\n * ._value // user value was iterable\n * Array<ChildPart>\n * ChildPart(N14) _$dC=[D15]\n * ._value\n * string\n * ChildPart(N16) _$dC=[D17,T18]\n * ._directive\n * AsyncDirective(D17)\n * ._value // user value was TemplateResult\n * TemplateInstance(T18) _$dC=[A19,A21,N25]\n * ._$parts[]\n * AttributePart(A19) _$dC=[D20]\n * ._directives[]\n * AsyncDirective(D20)\n * AttributePart(A21) _$dC=[22,23]\n * ._directives[]\n * AsyncDirective(D22)\n * Directive(D23) _$dC=[D24]\n * ._directive\n * AsyncDirective(D24)\n * ChildPart(N25) _$dC=[D26]\n * ._directive\n * AsyncDirective(D26)\n * ._value\n * string\n *\n * Example 1: The directive in ChildPart(N12) updates and returns `nothing`. The\n * ChildPart will _clear() itself, and so we need to disconnect the \"value\" of\n * the ChildPart (but not its directive). In this case, when `_clear()` calls\n * `_$notifyConnectionChanged()`, we don't iterate all of the\n * _$disconnectableChildren, rather we do a value-specific disconnection: i.e.\n * since the _value was an Array<ChildPart> (because an iterable had been\n * committed), we iterate the array of ChildParts (N14, N16) and run\n * `setConnected` on them (which does recurse down the full tree of\n * `_$disconnectableChildren` below it, and also removes N14 and N16 from N12's\n * `_$disconnectableChildren`). Once the values have been disconnected, we then\n * check whether the ChildPart(N12)'s list of `_$disconnectableChildren` is empty\n * (and would remove it from its parent TemplateInstance(T3) if so), but since\n * it would still contain its directive D13, it stays in the disconnectable\n * tree.\n *\n * Example 2: In the course of Example 1, `setConnected` will reach\n * ChildPart(N16); in this case the entire part is being disconnected, so we\n * simply iterate all of N16's `_$disconnectableChildren` (D17,T18) and\n * recursively run `setConnected` on them. Note that we only remove children\n * from `_$disconnectableChildren` for the top-level values being disconnected\n * on a clear; doing this bookkeeping lower in the tree is wasteful since it's\n * all being thrown away.\n *\n * Example 3: If the LitElement containing the entire tree above becomes\n * disconnected, it will run `childPart.setConnected()` (which calls\n * `childPart._$notifyConnectionChanged()` if it exists); in this case, we\n * recursively run `setConnected()` over the entire tree, without removing any\n * children from `_$disconnectableChildren`, since this tree is required to\n * re-connect the tree, which does the same operation, simply passing\n * `isConnected: true` down the tree, signaling which callback to run.\n */\n\nimport {AttributePart, ChildPart, Disconnectable, Part} from './lit-html.js';\nimport {isSingleExpression} from './directive-helpers.js';\nimport {Directive, PartInfo, PartType} from './directive.js';\nexport * from './directive.js';\n\nconst DEV_MODE = true;\n\n/**\n * Recursively walks down the tree of Parts/TemplateInstances/Directives to set\n * the connected state of directives and run `disconnected`/ `reconnected`\n * callbacks.\n *\n * @return True if there were children to disconnect; false otherwise\n */\nconst notifyChildrenConnectedChanged = (\n parent: Disconnectable,\n isConnected: boolean\n): boolean => {\n const children = parent._$disconnectableChildren;\n if (children === undefined) {\n return false;\n }\n for (const obj of children) {\n // The existence of `_$notifyDirectiveConnectionChanged` is used as a \"brand\" to\n // disambiguate AsyncDirectives from other DisconnectableChildren\n // (as opposed to using an instanceof check to know when to call it); the\n // redundancy of \"Directive\" in the API name is to avoid conflicting with\n // `_$notifyConnectionChanged`, which exists `ChildParts` which are also in\n // this list\n // Disconnect Directive (and any nested directives contained within)\n // This property needs to remain unminified.\n (obj as AsyncDirective)['_$notifyDirectiveConnectionChanged']?.(\n isConnected,\n false\n );\n // Disconnect Part/TemplateInstance\n notifyChildrenConnectedChanged(obj, isConnected);\n }\n return true;\n};\n\n/**\n * Removes the given child from its parent list of disconnectable children, and\n * if the parent list becomes empty as a result, removes the parent from its\n * parent, and so forth up the tree when that causes subsequent parent lists to\n * become empty.\n */\nconst removeDisconnectableFromParent = (obj: Disconnectable) => {\n let parent, children;\n do {\n if ((parent = obj._$parent) === undefined) {\n break;\n }\n children = parent._$disconnectableChildren!;\n children.delete(obj);\n obj = parent;\n } while (children?.size === 0);\n};\n\nconst addDisconnectableToParent = (obj: Disconnectable) => {\n // Climb the parent tree, creating a sparse tree of children needing\n // disconnection\n for (let parent; (parent = obj._$parent); obj = parent) {\n let children = parent._$disconnectableChildren;\n if (children === undefined) {\n parent._$disconnectableChildren = children = new Set();\n } else if (children.has(obj)) {\n // Once we've reached a parent that already contains this child, we\n // can short-circuit\n break;\n }\n children.add(obj);\n installDisconnectAPI(parent);\n }\n};\n\n/**\n * Changes the parent reference of the ChildPart, and updates the sparse tree of\n * Disconnectable children accordingly.\n *\n * Note, this method will be patched onto ChildPart instances and called from\n * the core code when parts are moved between different parents.\n */\nfunction reparentDisconnectables(this: ChildPart, newParent: Disconnectable) {\n if (this._$disconnectableChildren !== undefined) {\n removeDisconnectableFromParent(this);\n this._$parent = newParent;\n addDisconnectableToParent(this);\n } else {\n this._$parent = newParent;\n }\n}\n\n/**\n * Sets the connected state on any directives contained within the committed\n * value of this part (i.e. within a TemplateInstance or iterable of\n * ChildParts) and runs their `disconnected`/`reconnected`s, as well as within\n * any directives stored on the ChildPart (when `valueOnly` is false).\n *\n * `isClearingValue` should be passed as `true` on a top-level part that is\n * clearing itself, and not as a result of recursively disconnecting directives\n * as part of a `clear` operation higher up the tree. This both ensures that any\n * directive on this ChildPart that produced a value that caused the clear\n * operation is not disconnected, and also serves as a performance optimization\n * to avoid needless bookkeeping when a subtree is going away; when clearing a\n * subtree, only the top-most part need to remove itself from the parent.\n *\n * `fromPartIndex` is passed only in the case of a partial `_clear` running as a\n * result of truncating an iterable.\n *\n * Note, this method will be patched onto ChildPart instances and called from the\n * core code when parts are cleared or the connection state is changed by the\n * user.\n */\nfunction notifyChildPartConnectedChanged(\n this: ChildPart,\n isConnected: boolean,\n isClearingValue = false,\n fromPartIndex = 0\n) {\n const value = this._$committedValue;\n const children = this._$disconnectableChildren;\n if (children === undefined || children.size === 0) {\n return;\n }\n if (isClearingValue) {\n if (Array.isArray(value)) {\n // Iterable case: Any ChildParts created by the iterable should be\n // disconnected and removed from this ChildPart's disconnectable\n // children (starting at `fromPartIndex` in the case of truncation)\n for (let i = fromPartIndex; i < value.length; i++) {\n notifyChildrenConnectedChanged(value[i], false);\n removeDisconnectableFromParent(value[i]);\n }\n } else if (value != null) {\n // TemplateInstance case: If the value has disconnectable children (will\n // only be in the case that it is a TemplateInstance), we disconnect it\n // and remove it from this ChildPart's disconnectable children\n notifyChildrenConnectedChanged(value as Disconnectable, false);\n removeDisconnectableFromParent(value as Disconnectable);\n }\n } else {\n notifyChildrenConnectedChanged(this, isConnected);\n }\n}\n\n/**\n * Patches disconnection API onto ChildParts.\n */\nconst installDisconnectAPI = (obj: Disconnectable) => {\n if ((obj as ChildPart).type == PartType.CHILD) {\n (obj as ChildPart)._$notifyConnectionChanged ??=\n notifyChildPartConnectedChanged;\n (obj as ChildPart)._$reparentDisconnectables ??= reparentDisconnectables;\n }\n};\n\n/**\n * An abstract `Directive` base class whose `disconnected` method will be\n * called when the part containing the directive is cleared as a result of\n * re-rendering, or when the user calls `part.setConnected(false)` on\n * a part that was previously rendered containing the directive (as happens\n * when e.g. a LitElement disconnects from the DOM).\n *\n * If `part.setConnected(true)` is subsequently called on a\n * containing part, the directive's `reconnected` method will be called prior\n * to its next `update`/`render` callbacks. When implementing `disconnected`,\n * `reconnected` should also be implemented to be compatible with reconnection.\n *\n * Note that updates may occur while the directive is disconnected. As such,\n * directives should generally check the `this.isConnected` flag during\n * render/update to determine whether it is safe to subscribe to resources\n * that may prevent garbage collection.\n */\nexport abstract class AsyncDirective extends Directive {\n // As opposed to other Disconnectables, AsyncDirectives always get notified\n // when the RootPart connection changes, so the public `isConnected`\n // is a locally stored variable initialized via its part's getter and synced\n // via `_$notifyDirectiveConnectionChanged`. This is cheaper than using\n // the _$isConnected getter, which has to look back up the tree each time.\n /**\n * The connection state for this Directive.\n */\n isConnected!: boolean;\n\n // @internal\n override _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /**\n * Initialize the part with internal fields\n * @param part\n * @param parent\n * @param attributeIndex\n */\n override _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n super._$initialize(part, parent, attributeIndex);\n addDisconnectableToParent(this);\n this.isConnected = part._$isConnected;\n }\n // This property needs to remain unminified.\n /**\n * Called from the core code when a directive is going away from a part (in\n * which case `shouldRemoveFromParent` should be true), and from the\n * `setChildrenConnected` helper function when recursively changing the\n * connection state of a tree (in which case `shouldRemoveFromParent` should\n * be false).\n *\n * @param isConnected\n * @param isClearingDirective - True when the directive itself is being\n * removed; false when the tree is being disconnected\n * @internal\n */\n override ['_$notifyDirectiveConnectionChanged'](\n isConnected: boolean,\n isClearingDirective = true\n ) {\n if (isConnected !== this.isConnected) {\n this.isConnected = isConnected;\n if (isConnected) {\n this.reconnected?.();\n } else {\n this.disconnected?.();\n }\n }\n if (isClearingDirective) {\n notifyChildrenConnectedChanged(this, isConnected);\n removeDisconnectableFromParent(this);\n }\n }\n\n /**\n * Sets the value of the directive's Part outside the normal `update`/`render`\n * lifecycle of a directive.\n *\n * This method should not be called synchronously from a directive's `update`\n * or `render`.\n *\n * @param directive The directive to update\n * @param value The value to set\n */\n setValue(value: unknown) {\n if (isSingleExpression(this.__part as unknown as PartInfo)) {\n this.__part._$setValue(value, this);\n } else {\n // this.__attributeIndex will be defined in this case, but\n // assert it in dev mode\n if (DEV_MODE && this.__attributeIndex === undefined) {\n throw new Error(`Expected this.__attributeIndex to be a number`);\n }\n const newValues = [...(this.__part._$committedValue as Array<unknown>)];\n newValues[this.__attributeIndex!] = value;\n (this.__part as AttributePart)._$setValue(newValues, this, 0);\n }\n }\n\n /**\n * User callbacks for implementing logic to release any resources/subscriptions\n * that may have been retained by this directive. Since directives may also be\n * re-connected, `reconnected` should also be implemented to restore the\n * working state of the directive prior to the next render.\n */\n protected disconnected() {}\n protected reconnected() {}\n}\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nimport {nothing, ElementPart} from '../lit-html.js';\nimport {directive, AsyncDirective} from '../async-directive.js';\n\n/**\n * Creates a new Ref object, which is container for a reference to an element.\n */\nexport const createRef = <T = Element>() => new Ref<T>();\n\n/**\n * An object that holds a ref value.\n */\nclass Ref<T = Element> {\n /**\n * The current Element value of the ref, or else `undefined` if the ref is no\n * longer rendered.\n */\n readonly value?: T;\n}\n\nexport type {Ref};\n\ninterface RefInternal {\n value: Element | undefined;\n}\n\n// When callbacks are used for refs, this map tracks the last value the callback\n// was called with, for ensuring a directive doesn't clear the ref if the ref\n// has already been rendered to a new spot. It is double-keyed on both the\n// context (`options.host`) and the callback, since we auto-bind class methods\n// to `options.host`.\nconst lastElementForContextAndCallback = new WeakMap<\n object,\n WeakMap<Function, Element | undefined>\n>();\n\nexport type RefOrCallback<T = Element> = Ref<T> | ((el: T | undefined) => void);\n\nclass RefDirective extends AsyncDirective {\n private _element?: Element;\n private _ref?: RefOrCallback;\n private _context?: object;\n\n render(_ref?: RefOrCallback) {\n return nothing;\n }\n\n override update(part: ElementPart, [ref]: Parameters<this['render']>) {\n const refChanged = ref !== this._ref;\n if (refChanged && this._ref !== undefined) {\n // The ref passed to the directive has changed;\n // unset the previous ref's value\n this._updateRefValue(undefined);\n }\n if (refChanged || this._lastElementForRef !== this._element) {\n // We either got a new ref or this is the first render;\n // store the ref/element & update the ref value\n this._ref = ref;\n this._context = part.options?.host;\n this._updateRefValue((this._element = part.element));\n }\n return nothing;\n }\n\n private _updateRefValue(element: Element | undefined) {\n if (!this.isConnected) {\n element = undefined;\n }\n if (typeof this._ref === 'function') {\n // If the current ref was called with a previous value, call with\n // `undefined`; We do this to ensure callbacks are called in a consistent\n // way regardless of whether a ref might be moving up in the tree (in\n // which case it would otherwise be called with the new value before the\n // previous one unsets it) and down in the tree (where it would be unset\n // before being set). Note that element lookup is keyed by\n // both the context and the callback, since we allow passing unbound\n // functions that are called on options.host, and we want to treat\n // these as unique \"instances\" of a function.\n const context = this._context ?? globalThis;\n let lastElementForCallback =\n lastElementForContextAndCallback.get(context);\n if (lastElementForCallback === undefined) {\n lastElementForCallback = new WeakMap();\n lastElementForContextAndCallback.set(context, lastElementForCallback);\n }\n if (lastElementForCallback.get(this._ref) !== undefined) {\n this._ref.call(this._context, undefined);\n }\n lastElementForCallback.set(this._ref, element);\n // Call the ref with the new element value\n if (element !== undefined) {\n this._ref.call(this._context, element);\n }\n } else {\n (this._ref as RefInternal)!.value = element;\n }\n }\n\n private get _lastElementForRef() {\n return typeof this._ref === 'function'\n ? lastElementForContextAndCallback\n .get(this._context ?? globalThis)\n ?.get(this._ref)\n : this._ref?.value;\n }\n\n override disconnected() {\n // Only clear the box if our element is still the one in it (i.e. another\n // directive instance hasn't rendered its element to it before us); that\n // only happens in the event of the directive being cleared (not via manual\n // disconnection)\n if (this._lastElementForRef === this._element) {\n this._updateRefValue(undefined);\n }\n }\n\n override reconnected() {\n // If we were manually disconnected, we can safely put our element back in\n // the box, since no rendering could have occurred to change its state\n this._updateRefValue(this._element);\n }\n}\n\n/**\n * Sets the value of a Ref object or calls a ref callback with the element it's\n * bound to.\n *\n * A Ref object acts as a container for a reference to an element. A ref\n * callback is a function that takes an element as its only argument.\n *\n * The ref directive sets the value of the Ref object or calls the ref callback\n * during rendering, if the referenced element changed.\n *\n * Note: If a ref callback is rendered to a different element position or is\n * removed in a subsequent render, it will first be called with `undefined`,\n * followed by another call with the new element it was rendered to (if any).\n *\n * ```js\n * // Using Ref object\n * const inputRef = createRef();\n * render(html`<input ${ref(inputRef)}>`, container);\n * inputRef.value.focus();\n *\n * // Using callback\n * const callback = (inputElement) => inputElement.focus();\n * render(html`<input ${ref(callback)}>`, container);\n * ```\n */\nexport const ref = directive(RefDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {RefDirective};\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host{display:flex;flex-direction:column;width:fit-content}:host::part(upload-details)[hidden=true]{display:none}", null, "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing, TemplateResult, noChange} from '../lit-html.js';\nimport {directive, Directive, PartInfo, PartType} from '../directive.js';\n\nconst HTML_RESULT = 1;\n\nexport class UnsafeHTMLDirective extends Directive {\n static directiveName = 'unsafeHTML';\n static resultType = HTML_RESULT;\n\n private _value: unknown = nothing;\n private _templateResult?: TemplateResult;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (partInfo.type !== PartType.CHILD) {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() can only be used in child bindings`\n );\n }\n }\n\n render(value: string | typeof nothing | typeof noChange | undefined | null) {\n if (value === nothing || value == null) {\n this._templateResult = undefined;\n return (this._value = value);\n }\n if (value === noChange) {\n return value;\n }\n if (typeof value != 'string') {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() called with a non-string value`\n );\n }\n if (value === this._value) {\n return this._templateResult;\n }\n this._value = value;\n const strings = [value] as unknown as TemplateStringsArray;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (strings as any).raw = strings;\n // WARNING: impersonating a TemplateResult like this is extremely\n // dangerous. Third-party directives should not do this.\n return (this._templateResult = {\n // Cast to a known set of integers that satisfy ResultType so that we\n // don't have to export ResultType and possibly encourage this pattern.\n // This property needs to remain unminified.\n ['_$litType$']: (this.constructor as typeof UnsafeHTMLDirective)\n .resultType as 1 | 2,\n strings,\n values: [],\n });\n }\n}\n\n/**\n * Renders the result as HTML, rather than text.\n *\n * The values `undefined`, `null`, and `nothing`, will all result in no content\n * (empty string) being rendered.\n *\n * Note, this is unsafe to use with any user-provided input that hasn't been\n * sanitized or escaped, as it may lead to cross-site-scripting\n * vulnerabilities.\n */\nexport const unsafeHTML = directive(UnsafeHTMLDirective);\n", ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host button{background-color:var(--teal-20);border:1px solid var(--teal);border-radius:.1875rem;color:var(--black);display:flex;font-size:1rem;gap:.625rem;line-height:1.1875;min-width:fit-content;padding:4px 6px;text-align:left}:host button:hover{background-color:var(--teal-40);cursor:pointer}:host button:focus{outline:1px dotted var(--teal);outline-offset:1px}:host button:active{background-color:var(--teal-60)}:host svg{flex:none;height:1.1875rem;pointer-events:none}:host label{display:contents;pointer-events:none}", null, "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}:host .a-tag-topic{display:flex;gap:.3125rem;text-decoration:none}:host .a-tag-topic{color:var(--gold-80);font-size:.875rem;font-weight:600;letter-spacing:1px;text-transform:uppercase}:host .a-tag-topic .a-tag-topic__text{color:var(--gray);word-break:break-word}@media only screen and (max-width:37.5em){:host .a-tag-topic{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}:host .a-tag-topic .cf-icon-svg--right{margin-left:auto}:host .a-tag-topic .a-tag-topic__text{border-bottom-width:0;flex-shrink:10}}:host a.a-tag-topic{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.visited,:host a.a-tag-topic:visited{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.hover,:host a.a-tag-topic:hover{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.focus,:host a.a-tag-topic:focus{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.active,:host a.a-tag-topic:active{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic .a-tag-topic__text{border-bottom-color:var(--gold-80)}@media only screen and (max-width:37.5em){:host a.a-tag-topic{border-bottom-width:1px;border-top-width:1px}:host a.a-tag-topic:focus{outline:none}:host a.a-tag-topic:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){:host a.a-tag-topic--no-top-border{border-top:none;position:relative}:host a.a-tag-topic:focus:before,:host a.a-tag-topic:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}:host .a-tag-topic__bullet{font-size:1rem;line-height:1rem}@media only screen and (min-width:37.5625em){:host a.a-tag-topic__text{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.visited,:host a.a-tag-topic__text:visited{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.hover,:host a.a-tag-topic__text:hover{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.focus,:host a.a-tag-topic__text:focus{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.active,:host a.a-tag-topic__text:active{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic,:host a.a-tag-topic:active,:host a.a-tag-topic:focus,:host a.a-tag-topic:hover,:host a.a-tag-topic:visited{border-bottom:none;outline-offset:1px}:host a.a-tag-topic .a-tag-topic__text,:host a.a-tag-topic:active .a-tag-topic__text,:host a.a-tag-topic:focus .a-tag-topic__text,:host a.a-tag-topic:hover .a-tag-topic__text,:host a.a-tag-topic:visited .a-tag-topic__text{border-bottom:1px dotted var(--gold-80);padding-bottom:1px}:host a.a-tag-topic:hover .a-tag-topic__text{border-bottom:1px solid var(--gold-80)}:host a.a-tag-topic:focus{outline-color:var(--gray)}:host a.a-tag-topic:focus .a-tag-topic__text{border-bottom-style:solid!important}}", null, ":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host ul{list-style-type:none;padding-left:0}:host ul li{display:contents;margin-bottom:0}@media only screen and (min-width:37.5625em){:host ul{display:flex;flex-wrap:wrap;gap:.9375rem}:host ul[stacked]{flex-direction:column;width:fit-content}}:host ul:has(cfpb-tag-filter){display:flex;flex-wrap:wrap;gap:.9375rem}:host html[lang=ar]{direction:rtl;padding-right:0}", null],
|
|
5
|
-
"mappings": "uiCASO,IAAMA,GAAkB,CAC7B,KAAM,CACJ,IAAK,EACL,IAAK,GACP,EACA,KAAM,CACJ,IAAK,IACL,IAAK,GACP,EACA,MAAO,CACL,IAAK,IACL,IAAK,IACP,EACA,KAAM,CACJ,IA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e,CAC7B,OAAQ,CAAE,OAAQd,EAAK,MAAOC,CAAM,EACpC,QAAS,GACT,SAAU,EACZ,CAAC,CACH,EAEAJ,EAAA,KAAKhB,EAAAM,IAAL,UACF,EAoBAK,GAAe,SAACc,EAAM,CAEpB,OAAIA,EAAK,UAAY,MAAQA,EAAK,WAEzBA,EAAK,cAAc,iBAAiB,EAIzC,KAAK,SAASA,CAAI,EAAUA,EAEzB,IACT,EA1RAS,EADWtB,GACJ,SAASC,IACZsB,EAAUC,EAAM,CAAC,IAFhB,IAAMC,GAANzB",
|
|
6
|
-
"names": ["varsBreakpoints", "normalize_exports", "__export", "normalize_default", "base_exports", "__export", "base_default", "button_exports", "__export", "button_default", "button_group_exports", "__export", "button_group_default", "button_link_exports", "__export", "button_link_default", "utilities_exports", "__export", "utilities_default", "_getBodyBaseFontSize", "fontSize", "_inBreakpointRange", "breakpointRange", "width", "breakpointRangeMin", "breakpointRangeMax", "min", "max", "getBreakpointState", "breakpointState", "rangeKey", "varsBreakpoints", "MOBILE", "TABLET", "DESKTOP", "viewportIsIn", "breakpointGroup", "response", "currentBreakpoint", "JS_HOOK", "BEHAVIOR_PREFIX", "STATE_PREFIX", "EventObserver", "_events", "addEventListener", "event", "callback", "removeEventListener", "index", "dispatchEvent", "options", "evts", "i", "len", "contains", "element", "value", "values", "JS_HOOK", "add", "msg", "INIT_FLAG", "STATE_PREFIX", "_verifyElementExists", "element", "baseClass", "msg", "_verifyClassExists", "dom", "checkDom", "setInitFlag", "contains", "add", "instantiateAll", "selector", "Constructor", "scope", "config", "elements", "insts", "inst", "i", "len", "_findElements", "behaviorSelector", "baseElement", "behaviorElements", "error", "msg", "BEHAVIOR_PREFIX", "behaviorFind", "behaviorAttach", "behaviorElement", "event", "eventHandler", "len", "checkBehaviorDom", "element", "behaviorDataAttr", "dom", "contains", "selector", "JS_HOOK", "_toString", "isUndefined", "value", "isDefined", "isObject", "isString", "isNumber", "isDate", "isArray", "isFunction", "isEmpty", "isMobileUserAgent", "BaseTransition", "element", "classes", "child", "_classes", "_dom", "_child", "_lastClass", "_transitionEndEvent", "_transitionCompleteBinded", "_isAnimated", "_isAnimating", "_isFlushed", "_addEventListener", "_removeEventListener", "_transitionComplete", "evt", "_flush", "prop", "halt", "remove", "animateOn", "animateOff", "_getTransitionEndEvent", "elem", "msg", "transition", "transitions", "transitionEvent", "setElement", "targetElement", "init", "initialClass", "applyClass", "className", "BASE_CLASS", "BEHAVIOR_PREFIX", "SEL_PREFIX", "JS_HOOK", "FlyoutMenu", "element", "autoHideContent", "_dom", "checkBehaviorDom", "_triggerDoms", "_findTriggers", "_contentDom", "_state", "COLLAPSED", "COLLAPSING", "EXPANDING", "EXPANDED", "_transition", "_expandTransitionMethod", "_collapseTransitionMethod", "_collapseEndBinded", "_collapseEnd", "_expandEndBinded", "_expandEnd", "_data", "_suspended", "_touchTriggered", "triggersList", "triggers", "trigger", "triggerParent", "isSubTrigger", "i", "init", "isExpanded", "triggerDom", "_setAriaAttr", "_handleTriggerClicked", "_handleTouchStart", "_handleTriggerOver", "_handleTriggerOut", "resume", "type", "elem", "value", "strValue", "event", "expand", "hasTransition", "BaseTransition", "collapse", "len", "setTransition", "transition", "collapseMethod", "expandMethod", "clearTransition", "UNDEFINED", "getDom", "suspend", "setData", "data", "eventObserver", "EventObserver", "CLASSES", "AlphaTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "init", "initialClass", "fadeIn", "fadeOut", "CLASSES", "MaxHeightTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "_previousHeight", "refresh", "newHeight", "_pageLoaded", "init", "initialClass", "maxHeightDefault", "maxHeightSummary", "maxHeightZero", "remove", "CLASSES", "MoveTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "init", "initialClass", "moveToOrigin", "_moveLeft", "count", "moveClasses", "moveRight", "moveUp", "expandable_exports", "__export", "expandable_default", "BASE_CLASS", "Expandable", "element", "_dom", "checkDom", "_targetDom", "_contentDom", "_labelDom", "_transition", "_flyout", "init", "setInitFlag", "isExpanded", "add", "initialClass", "MaxHeightTransition", "FlyoutMenu", "getLabelText", "eventObserver", "EventObserver", "scope", "instantiateAll", "expandable_group_exports", "__export", "expandable_group_default", "BASE_CLASS", "ExpandableGroup", "element", "_dom", "checkDom", "_isAccordion", "_expandables", "_lastExpanded", "_handleExpandBegin", "evt", "target", "init", "expandables", "setInitFlag", "expandable", "scope", "expandableGroupDom", "instantiateAll", "Expandable", "summary_exports", "__export", "summary_default", "BASE_CLASS", "Summary", "element", "_dom", "checkDom", "_hasMobileModifier", "_contentDom", "_btnDom", "_transition", "_flyout", "_suspended", "init", "setInitFlag", "_pageLoadHandler", "_shouldSuspend", "add", "FlyoutMenu", "MaxHeightTransition", "_triggerClickHandler", "_resizeHandler", "_focusInHandler", "_contentClicked", "evt", "_suspend", "_resume", "viewportIsIn", "MOBILE", "_expandEndHandler", "_hideButton", "_showButton", "eventObserver", "EventObserver", "scope", "instantiateAll", "BASE_CLASS", "SummaryMinimal", "element", "_dom", "checkDom", "_contentDom", "_btnDom", "_transition", "_flyout", "init", "setInitFlag", "add", "_pageLoadHandler", "FlyoutMenu", "MaxHeightTransition", "_focusInHandler", "_contentClicked", "evt", "eventObserver", "EventObserver", "scope", "instantiateAll", "form_exports", "__export", "form_default", "form_alert_exports", "__export", "form_alert_default", "form_field_exports", "__export", "form_field_default", "label_exports", "__export", "label_default", "range_exports", "__export", "range_default", "search_input_exports", "__export", "search_input_default", "select_exports", "__export", "select_default", "tag_exports", "__export", "tag_default", "text_input_exports", "__export", "text_input_default", "UNDEFINED", "stringEscape", "str", "stringMatch", "x", "y", "MultiselectModel", "options", "name", "config", "_options", "_name", "_max", "_optionsData", "_selectedIndices", "_filterIndices", "_lastFilterIndices", "_index", "_getOptionId", "item", "isAtMaxSelections", "_formatOptions", "list", "cleaned", "isChecked", "i", "len", "init", "toggleOption", "index", "currIndex", "_searchAggregator", "aggregate", "value", "filterIndices", "query", "acc", "getOption", "setIndex", "filterCount", "count", "getIndex", "UNDEFINED", "multiselect_model_default", "create", "tag", "parentNode", "options", "elem", "key", "val", "error_default", "closeIcon", "error_default", "BASE_CLASS", "CHECKBOX_INPUT_CLASS", "TEXT_INPUT_CLASS", "DIR_PREV", "DIR_NEXT", "KEY_RETURN", "KEY_SPACE", "KEY_ESCAPE", "KEY_UP", "KEY_DOWN", "KEY_TAB", "DEFAULT_CONFIG", "Multiselect", "element", "_dom", "checkDom", "_isBlurSkipped", "_name", "_placeholder", "_model", "_options", "_config", "_containerDom", "_selectionsDom", "_headerDom", "_searchDom", "_fieldsetDom", "_optionsDom", "_optionItemDoms", "_instance", "_filterMatches", "filteredIndices", "i", "len", "j", "_resetFilter", "_filterNoMatches", "_filterList", "filterIndices", "_evaluate", "value", "matchedIndices", "expand", "collapse", "_highlight", "direction", "index", "filteredIndex", "input", "_resetSearch", "_selectionClickHandler", "event", "target", "_selectionKeyDownHandler", "label", "_getOptionId", "option", "_createSelectedItem", "selectionsDom", "optionId", "selectionsItemDom", "create", "selectionsItemLabelDom", "_updateSelections", "optionIndex", "dataOptionSel", "_selectionsItemDom", "_changeHandler", "_bindEvents", "key", "checked", "evt", "inputs", "labelButtons", "_populateMarkup", "optionsClasses", "isChecked", "optionsItemDom", "init", "multiselectConfig", "setInitFlag", "isMobileUserAgent", "__spreadValues", "multiselect_model_default", "newDom", "getModel", "eventObserver", "EventObserver", "config", "instantiateAll", "icon_exports", "__export", "icon_default", "card_exports", "__export", "card_default", "card_group_exports", "__export", "card_group_default", "email_signup_exports", "__export", "email_signup_default", "featured_content_module_exports", "__export", "featured_content_module_default", "hero_exports", "__export", "hero_default", "layout_exports", "__export", "layout_default", "text_introduction_exports", "__export", "text_introduction_default", "well_exports", "__export", "well_default", "banner_exports", "__export", "banner_default", "notification_exports", "__export", "notification_default", "pagination_exports", "__export", "pagination_default", "table_exports", "__export", "table_default", "date_exports", "__export", "date_default", "link_exports", "__export", "link_default", "list_exports", "__export", "list_default", "meta_header_exports", "__export", "meta_header_default", "pull_quote_exports", "__export", "pull_quote_default", "slug_header_exports", "__export", "slug_header_default", "tagline_exports", "__export", "tagline_default", "global", "globalThis", "supportsAdoptingStyleSheets", "ShadowRoot", "ShadyCSS", "nativeShadow", "Document", "prototype", "CSSStyleSheet", "constructionToken", "Symbol", "cssTagCache", "WeakMap", "CSSResult", "cssText", "strings", "safeToken", "this", "Error", "_strings", "styleSheet", "_styleSheet", "cacheable", "length", "get", "replaceSync", "set", "toString", "unsafeCSS", "value", "String", "css", "values", "reduce", "acc", "v", "idx", "adoptStyles", "renderRoot", "styles", "adoptedStyleSheets", "map", "s", "style", "document", "createElement", "nonce", "setAttribute", "textContent", "appendChild", "getCompatibleStyle", "sheet", "rule", "cssRules", "is", "defineProperty", "getOwnPropertyDescriptor", "getOwnPropertyNames", "getOwnPropertySymbols", "getPrototypeOf", "Object", "global", "globalThis", "trustedTypes", "emptyStringForBooleanAttribute", "emptyScript", "polyfillSupport", "reactiveElementPolyfillSupport", "JSCompiler_renameProperty", "prop", "_obj", "defaultConverter", "value", "type", "Boolean", "Array", "JSON", "stringify", "fromValue", "Number", "parse", "e", "notEqual", "old", "defaultPropertyDeclaration", "attribute", "String", "converter", "reflect", "useDefault", "hasChanged", "Symbol", "metadata", "litPropertyMetadata", "WeakMap", "ReactiveElement", "HTMLElement", "initializer", "this", "__prepare", "_initializers", "push", "observedAttributes", "finalize", "__attributeToPropertyMap", "keys", "name", "options", "state", "prototype", "hasOwnProperty", "create", "wrapped", "elementProperties", "set", "noAccessor", "key", "descriptor", "getPropertyDescriptor", "get", "v", "oldValue", "call", "requestUpdate", "configurable", "enumerable", "superCtor", "Map", "finalized", "props", "properties", "propKeys", "p", "createProperty", "attr", "__attributeNameForProperty", "elementStyles", "finalizeStyles", "styles", "isArray", "Set", "flat", "Infinity", "reverse", "s", "unshift", "getCompatibleStyle", "toLowerCase", "constructor", "super", "__instanceProperties", "isUpdatePending", "hasUpdated", "__reflectingProperty", "__initialize", "__updatePromise", "Promise", "res", "enableUpdating", "_$changedProperties", "__saveInstanceProperties", "forEach", "i", "controller", "__controllers", "add", "renderRoot", "isConnected", "hostConnected", "delete", "instanceProperties", "size", "createRenderRoot", "shadowRoot", "attachShadow", "shadowRootOptions", "adoptStyles", "connectedCallback", "c", "_requestedUpdate", "disconnectedCallback", "hostDisconnected", "_old", "_$attributeToProperty", "attrValue", "toAttribute", "removeAttribute", "setAttribute", "ctor", "propName", "getPropertyOptions", "fromAttribute", "__defaultValues", "newValue", "hasAttribute", "_$changeProperty", "__enqueueUpdate", "initializeValue", "has", "__reflectingProperties", "reject", "result", "scheduleUpdate", "performUpdate", "shouldUpdate", "changedProperties", "willUpdate", "hostUpdate", "update", "__markUpdated", "_$didUpdate", "_changedProperties", "hostUpdated", "firstUpdated", "updated", "updateComplete", "getUpdateComplete", "__propertyToAttribute", "mode", "reactiveElementVersions", "global", "globalThis", "trustedTypes", "policy", "createPolicy", "createHTML", "s", "boundAttributeSuffix", "marker", "Math", "random", "toFixed", "slice", "markerMatch", "nodeMarker", "d", "document", "createMarker", "createComment", "isPrimitive", "value", "isArray", "Array", "isIterable", "Symbol", "iterator", "SPACE_CHAR", "textEndRegex", "commentEndRegex", "comment2EndRegex", "tagEndRegex", "RegExp", "singleQuoteAttrEndRegex", "doubleQuoteAttrEndRegex", "rawTextElement", "tag", "type", "strings", "values", "_$litType$", "html", "svg", "mathml", "noChange", "for", "nothing", "templateCache", "WeakMap", "walker", "createTreeWalker", "trustFromTemplateString", "tsa", "stringFromTSA", "hasOwnProperty", "Error", "getTemplateHtml", "l", "length", "attrNames", "rawTextEndRegex", "regex", "i", "attrName", "match", "attrNameEndIndex", "lastIndex", "exec", "test", "end", "startsWith", "push", "Template", "constructor", "options", "node", "this", "parts", "nodeIndex", "attrNameIndex", "partCount", "el", "createElement", "currentNode", "content", "wrapper", "firstChild", "replaceWith", "childNodes", "nextNode", "nodeType", "hasAttributes", "name", "getAttributeNames", "endsWith", "realName", "statics", "getAttribute", "split", "m", "index", "ctor", "PropertyPart", "BooleanAttributePart", "EventPart", "AttributePart", "removeAttribute", "tagName", "textContent", "emptyScript", "append", "data", "indexOf", "_options", "innerHTML", "resolveDirective", "part", "parent", "attributeIndex", "currentDirective", "__directives", "__directive", "nextDirectiveConstructor", "_$initialize", "_$resolve", "TemplateInstance", "template", "_$parts", "_$disconnectableChildren", "_$template", "_$parent", "parentNode", "_$isConnected", "fragment", "creationScope", "importNode", "partIndex", "templatePart", "ChildPart", "nextSibling", "ElementPart", "_$setValue", "__isConnected", "startNode", "endNode", "_$committedValue", "_$startNode", "_$endNode", "isConnected", "directiveParent", "_$clear", "_commitText", "_commitTemplateResult", "_commitNode", "_commitIterable", "insertBefore", "_insert", "createTextNode", "result", "_$getTemplate", "h", "_update", "instance", "_clone", "get", "set", "itemParts", "itemPart", "item", "start", "from", "_$notifyConnectionChanged", "n", "remove", "element", "fill", "String", "valueIndex", "noCommit", "change", "v", "_commitValue", "setAttribute", "toggleAttribute", "super", "newListener", "oldListener", "shouldRemoveListener", "capture", "once", "passive", "shouldAddListener", "removeEventListener", "addEventListener", "event", "call", "host", "handleEvent", "_$LH", "_boundAttributeSuffix", "_marker", "_markerMatch", "_HTML_RESULT", "_getTemplateHtml", "_TemplateInstance", "_isIterable", "_resolveDirective", "_ChildPart", "_AttributePart", "_BooleanAttributePart", "_EventPart", "_PropertyPart", "_ElementPart", "polyfillSupport", "litHtmlPolyfillSupport", "litHtmlVersions", "render", "container", "partOwnerNode", "renderBefore", "global", "globalThis", "LitElement", "ReactiveElement", "constructor", "this", "renderOptions", "host", "__childPart", "createRenderRoot", "renderRoot", "super", "renderBefore", "firstChild", "changedProperties", "value", "render", "hasUpdated", "isConnected", "update", "connectedCallback", "setConnected", "disconnectedCallback", "noChange", "litElementHydrateSupport", "polyfillSupport", "litElementPolyfillSupport", "global", "litElementVersions", "push", "cfpb_button_component_default", "_CfpbButton_instances", "btnClass_get", "_CfpbButton", "i", "__privateAdd", "x", "__privateGet", "btnClass", "__publicField", "r", "cfpb_button_component_default", "CfpbButton", "cfpb_form_choice_component_default", "_CfpbFormChoice_instances", "baseClass_get", "onChange_fn", "onInput_fn", "_CfpbFormChoice", "i", "__privateAdd", "x", "__privateGet", "__privateMethod", "baseClass", "evt", "__publicField", "r", "cfpb_form_choice_component_default", "CfpbFormChoice", "_ChildPart", "ChildPart", "_$LH", "isSingleExpression", "part", "strings", "PartType", "ATTRIBUTE", "CHILD", "PROPERTY", "BOOLEAN_ATTRIBUTE", "EVENT", "ELEMENT", "directive", "c", "values", "_$litDirective$", "Directive", "_partInfo", "_$isConnected", "this", "_$parent", "part", "parent", "attributeIndex", "__part", "__attributeIndex", "props", "update", "_part", "render", "notifyChildrenConnectedChanged", "parent", "isConnected", "children", "_$disconnectableChildren", "obj", "removeDisconnectableFromParent", "_$parent", "delete", "size", "addDisconnectableToParent", "Set", "has", "add", "installDisconnectAPI", "reparentDisconnectables", "newParent", "this", "notifyChildPartConnectedChanged", "isClearingValue", "fromPartIndex", "value", "_$committedValue", "Array", "isArray", "i", "length", "type", "PartType", "CHILD", "_$notifyConnectionChanged", "_$reparentDisconnectables", "AsyncDirective", "Directive", "constructor", "part", "attributeIndex", "super", "_$initialize", "_$isConnected", "isClearingDirective", "reconnected", "disconnected", "isSingleExpression", "__part", "_$setValue", "newValues", "__attributeIndex", "createRef", "Ref", "lastElementForContextAndCallback", "WeakMap", "ref", "directive", "AsyncDirective", "_ref", "nothing", "part", "refChanged", "this", "_updateRefValue", "undefined", "_lastElementForRef", "_element", "_context", "options", "host", "element", "isConnected", "context", "globalThis", "lastElementForCallback", "get", "set", "call", "value", "disconnected", "reconnected", "cfpb_file_upload_component_default", "_CfpbFileUpload_instances", "getUploadName_fn", "showDetails_fn", "hideDetails_fn", "checkStatus_fn", "_CfpbFileUpload", "i", "__privateAdd", "__publicField", "e", "__privateMethod", "x", "n", "CfpbButton", "fileName", "uploadName", "uploadNameParts", "r", "cfpb_file_upload_component_default", "CfpbFileUpload", "UnsafeHTMLDirective", "Directive", "partInfo", "super", "this", "_value", "nothing", "type", "PartType", "CHILD", "Error", "constructor", "directiveName", "value", "_templateResult", "noChange", "strings", "raw", "_$litType$", "resultType", "values", "unsafeHTML", "directive", "cfpb_tag_filter_component_default", "_CfpbTagFilter_instances", "onClick_fn", "_CfpbTagFilter", "i", "__privateAdd", "slot", "x", "__privateMethod", "o", "error_default", "__publicField", "r", "cfpb_tag_filter_component_default", "CfpbTagFilter", "cfpb_tag_topic_component_default", "_CfpbTagTopic_instances", "tagClass_get", "_CfpbTagTopic", "i", "__privateAdd", "bullet", "x", "slot", "__privateGet", "tagClass", "__publicField", "r", "cfpb_tag_topic_component_default", "CfpbTagTopic", "cfpb_tag_group_component_default", "SUPPORTED_TAG_LIST", "_observer", "_initialized", "_tagMap", "_CfpbTagGroup_instances", "observeLightDom_fn", "supportedTag_fn", "onMutation_fn", "handleNodeAdded_fn", "handleNodeRemoved_fn", "refreshTagList_fn", "insertIntoLightDom_fn", "insertIntoShadowDom_fn", "tagIdentifier_fn", "removeTagNode_fn", "getLightDomTag_fn", "_CfpbTagGroup", "i", "__privateAdd", "__privateSet", "__privateMethod", "__privateGet", "tagName", "tag", "index", "lightDomTag", "x", "mutationList", "mutation", "node", "lastItemIsLink", "item", "_a", "cloned", "wrapped", "ul", "actualIndex", "id", "__publicField", "r", "cfpb_tag_group_component_default", "CfpbTagGroup"]
|
|
3
|
+
"sources": ["../../../packages/cfpb-design-system/src/abstracts/vars-breakpoints.js", "../../../packages/cfpb-design-system/src/base/normalize.scss", "../../../packages/cfpb-design-system/src/base/base.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-buttons/button-link.scss", "../../../packages/cfpb-design-system/src/utilities/utilities.scss", "../../../packages/cfpb-design-system/src/utilities/breakpoint-state.js", "../../../packages/cfpb-design-system/src/utilities/standard-type.js", "../../../packages/cfpb-design-system/src/utilities/event-observer.js", "../../../packages/cfpb-design-system/src/utilities/data-hook.js", "../../../packages/cfpb-design-system/src/utilities/atomic-helpers.js", "../../../packages/cfpb-design-system/src/utilities/behavior/behavior.js", "../../../packages/cfpb-design-system/src/utilities/type-checkers.js", "../../../packages/cfpb-design-system/src/utilities/media-helpers.js", "../../../packages/cfpb-design-system/src/utilities/transition/base-transition.js", "../../../packages/cfpb-design-system/src/utilities/behavior/flyout-menu.js", "../../../packages/cfpb-design-system/src/utilities/transition/alpha-transition.js", "../../../packages/cfpb-design-system/src/utilities/transition/max-height-transition.js", "../../../packages/cfpb-design-system/src/utilities/transition/move-transition.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/expandable-group.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary.scss", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary.js", "../../../packages/cfpb-design-system/src/components/cfpb-expandables/summary-minimal.js", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form-alert.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/form-field.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/label.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/range.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/search-input.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/select.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/tag.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/text-input.scss", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect-model.js", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect-utils.js", "../../../packages/cfpb-design-system/src/components/cfpb-icons/icons/error.svg", "../../../packages/cfpb-design-system/src/components/cfpb-forms/multiselect.js", "../../../packages/cfpb-design-system/src/components/cfpb-icons/icon.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/card.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/card-group.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/email-signup.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/featured-content-module.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/hero.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/layout.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/text-introduction.scss", "../../../packages/cfpb-design-system/src/components/cfpb-layout/well.scss", "../../../packages/cfpb-design-system/src/components/cfpb-notifications/banner.scss", "../../../packages/cfpb-design-system/src/components/cfpb-notifications/notification.scss", "../../../packages/cfpb-design-system/src/components/cfpb-pagination/pagination.scss", "../../../packages/cfpb-design-system/src/components/cfpb-tables/table.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/date.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/link.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/list.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/meta-header.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/pull-quote.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/slug-header.scss", "../../../packages/cfpb-design-system/src/components/cfpb-typography/tagline.scss", "../../../node_modules/@lit/reactive-element/src/css-tag.ts", "../../../node_modules/@lit/reactive-element/src/reactive-element.ts", "../../../node_modules/lit-html/src/lit-html.ts", "../../../node_modules/lit-element/src/lit-element.ts", "../../../node_modules/lit-html/src/directive.ts", "../../../node_modules/lit-html/src/directives/class-map.ts", "../../../packages/cfpb-design-system/src/elements/cfpb-button/cfpb-button.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-form-choice/cfpb-form-choice.component.scss", "", "../../../node_modules/lit-html/src/directive-helpers.ts", "../../../node_modules/lit-html/src/async-directive.ts", "../../../node_modules/lit-html/src/directives/ref.ts", "../../../packages/cfpb-design-system/src/elements/cfpb-file-upload/cfpb-file-upload.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-label/cfpb-label.component.scss", "../../../node_modules/lit-html/src/directives/if-defined.ts", "", "../../../node_modules/lit-html/src/directives/unsafe-html.ts", "../../../packages/cfpb-design-system/src/elements/cfpb-tag-filter/cfpb-tag-filter.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-tag-topic/cfpb-tag-topic.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-tag-group/cfpb-tag-group.component.scss", "", "../../../packages/cfpb-design-system/src/elements/cfpb-multiselect/cfpb-multiselect.component.scss", "../../../packages/cfpb-design-system/src/elements/cfpb-multiselect/multiselect-model.js", ""],
|
|
4
|
+
"sourcesContent": ["/* ==========================================================================\n Design System\n Breakpoint JavaScript variables.\n All values are pixel based.\n\n NOTE: If any of the values in this file are adjusted,\n they need to be adjusted in vars-breakpoints.scss as well.\n ========================================================================== */\n\nexport const varsBreakpoints = {\n bpXS: {\n min: 0,\n max: 600,\n },\n bpSM: {\n min: 601,\n max: 900,\n },\n bpMED: {\n min: 901,\n max: 1020,\n },\n bpLG: {\n min: 1021,\n max: 1200,\n },\n bpXL: {\n min: 1201,\n },\n};\n", "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;font-size-adjust:var(--font-adjust-body);line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-size-adjust:var(--font-adjust-h1);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-size-adjust:var(--font-adjust-h6);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{align-items:center;appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:\"\";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-btn-group{align-items:center;display:flex;flex-wrap:wrap;gap:.9375rem;width:fit-content}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-btn--link{border-radius:0;padding:1.5px 0;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-thickness:1px;text-underline-offset:4.5px}.a-btn--link:has(svg){gap:.3125rem}.a-btn--link:has(svg):before{display:none}.a-btn--link,.a-btn--link:link,.a-btn--link:visited{background-color:transparent;color:var(--pacific);text-decoration-color:var(--pacific)}.a-btn--link.hover,.a-btn--link:hover{background-color:transparent;color:var(--pacific-dark);text-decoration-color:var(--pacific-dark);text-decoration-style:solid}.a-btn--link.focus,.a-btn--link:focus{background-color:transparent;color:var(--pacific);outline:1px dotted var(--pacific);text-decoration-style:solid}.a-btn--link.active,.a-btn--link:active{background-color:transparent;color:var(--navy);text-decoration-color:var(--navy);text-decoration-style:solid}.a-btn--link.a-btn--warning,.a-btn--link.a-btn--warning:link,.a-btn--link.a-btn--warning:visited{background-color:transparent;color:var(--red-mid-dark);text-decoration-color:var(--red-mid-dark)}.a-btn--link.a-btn--warning.hover,.a-btn--link.a-btn--warning:hover{background-color:transparent;color:var(--red-dark);text-decoration-color:var(--red-dark);text-decoration-style:solid}.a-btn--link.a-btn--warning.focus,.a-btn--link.a-btn--warning:focus{background-color:transparent;color:var(--red-mid-dark);outline:1px dotted var(--red-mid-dark);text-decoration-style:solid}.a-btn--link.a-btn--warning.active,.a-btn--link.a-btn--warning:active{background-color:transparent;color:var(--gray-dark);text-decoration-color:var(--gray-dark);text-decoration-style:solid}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}", "/* ==========================================================================\n Get Breakpoint State\n ========================================================================== */\n\nimport { varsBreakpoints } from '../abstracts/vars-breakpoints.js';\n\n/**\n * @returns {number} The base font size set on the body element.\n */\nfunction _getBodyBaseFontSize() {\n let fontSize = getComputedStyle(document.body).fontSize;\n fontSize = fontSize === '' ? -1 : fontSize;\n return parseFloat(fontSize);\n}\n\n/**\n * @param {object} breakpointRange - Object containing breakpoint constants.\n * For example, for `bpXS` the value `{ min: 0, max: 600 }` would be passed.\n * @param {number} width - Current window width.\n * @returns {boolean} Whether the passed width is within a breakpoint range.\n */\nfunction _inBreakpointRange(breakpointRange, width) {\n let breakpointRangeMin = breakpointRange.min;\n let breakpointRangeMax = breakpointRange.max;\n\n // Whether the user has set a custom size for the font in their browser.\n const useEmsConversation =\n _getBodyBaseFontSize() > 0 && _getBodyBaseFontSize() !== 16;\n if (useEmsConversation) {\n /* 16 = base font size without adjustments.\n The CSS converts breakpoints to ems, which then change the width of the\n pixel width of the breakpoint. In JavaScript, the breakpoints are defined\n in pixels, so we first convert them to ems using the 16px base font size\n and then multiply them by any adjustments set by customizations of the\n font size in the user's browser. */\n breakpointRangeMin = (breakpointRangeMin / 16) * _getBodyBaseFontSize();\n breakpointRangeMax = (breakpointRangeMax / 16) * _getBodyBaseFontSize();\n }\n\n const min = breakpointRangeMin || 0;\n const max = breakpointRangeMax || Number.POSITIVE_INFINITY;\n\n return min <= width && width <= max;\n}\n\n/**\n * @param {number} width - Current window width.\n * @returns {object} An object literal with boolean\n * bpXS, bpSM, bpMED, bpLG, bpXL properties.\n */\nfunction getBreakpointState(width) {\n const breakpointState = {};\n width = width || window.innerWidth;\n\n let rangeKey;\n\n for (rangeKey in varsBreakpoints) {\n breakpointState[rangeKey] = _inBreakpointRange(\n varsBreakpoints[rangeKey],\n width,\n );\n }\n\n return breakpointState;\n}\n\n// Constants for breakpoint groupings.\nconst MOBILE = 'mobile';\nconst TABLET = 'tablet';\nconst DESKTOP = 'desktop';\n\n/**\n * Checks whether the current breakpoint is in a particular breakpoint group.\n * @param {string} breakpointGroup - Breakpoint group names.\n * @returns {boolean} True if in the breakpoint group, otherwise false.\n */\nfunction viewportIsIn(breakpointGroup) {\n let response = false;\n const currentBreakpoint = getBreakpointState();\n\n if (\n (breakpointGroup === MOBILE && currentBreakpoint.bpXS) ||\n (breakpointGroup === TABLET && currentBreakpoint.bpSM) ||\n (breakpointGroup === DESKTOP &&\n (currentBreakpoint.bpMED ||\n currentBreakpoint.bpLG ||\n currentBreakpoint.bpXL))\n ) {\n response = true;\n }\n\n return response;\n}\n\n// Expose public methods.\nexport { MOBILE, TABLET, DESKTOP, getBreakpointState, viewportIsIn };\n", "/**\n * @constant\n * @type {string}\n * @description\n * Constant for the name of the data-* attribute set on\n * HTML DOM elements for access by JavaScript.\n */\nconst JS_HOOK = 'data-js-hook';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag prefix for settings that describe what JavaScript\n * behaviors should be attached to a component.\n * This would be set in the markup and initialized when\n * the JavaScript loads.\n * @example\n * A component may flag that it has certain JavaScript behaviors attached,\n * such as:\n * `data-js-hook=\"behavior_flyout-menu behavior_clearable-input\"`,\n * which defines that two scripts (FlyoutMenu) and (ClearableInput)\n * should access this DOM element and initialize its behaviors.\n */\nconst BEHAVIOR_PREFIX = 'behavior_';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag prefix for settings related to changes in a components\n * state set in the data-* JavaScript hook.\n * @example\n * A component may flag that it has been initialized by setting\n * `data-js-hook=\"state_atomic_init\"` after page load.\n * Which specifies that the init method of a atomic constructor\n * has been called, such as\n * `var globalSearch = new GlobalSearch( 'm-global-search' ).init()`.\n */\nconst STATE_PREFIX = 'state_';\n\nexport { JS_HOOK, BEHAVIOR_PREFIX, STATE_PREFIX };\n", "/**\n * EventObserver\n * @class\n * @classdesc Used to create an object\n * that can dispatch and listen to custom events.\n * @returns {object} An EventObserver instance.\n */\nfunction EventObserver() {\n // The events registered on this instance.\n const _events = {};\n\n /**\n * Register an event listener.\n * @param {string} event - The event name to listen for.\n * @param {Function} callback - The function called when the event has fired.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function addEventListener(event, callback) {\n if ({}.hasOwnProperty.call(_events, event)) {\n _events[event].push(callback);\n } else {\n _events[event] = [callback];\n }\n\n return this;\n }\n\n /**\n * Remove an added event listener.\n * Must match a call made to addEventListener.\n * @param {string} event - The event name to remove.\n * @param {Function} callback - The function attached to the event.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function removeEventListener(event, callback) {\n if (!{}.hasOwnProperty.call(_events, event)) {\n return this;\n }\n\n const index = _events[event].indexOf(callback);\n // Check if there are any callbacks associated with a particular event.\n if (index !== -1) {\n _events[event].splice(index, 1);\n }\n\n return this;\n }\n\n /**\n * Broadcast an event.\n * @param {string} event - The type of event to broadcast.\n * @param {object} options - The event object to pass to the event handler.\n * @returns {object} The instance this EventObserver instance is decorating.\n */\n function dispatchEvent(event, options) {\n if (!{}.hasOwnProperty.call(_events, event)) {\n return this;\n }\n\n options = options || {};\n\n const evts = _events[event];\n for (let i = 0, len = evts.length; i < len; i++) {\n evts[i].call(this, options);\n }\n\n return this;\n }\n\n this.addEventListener = addEventListener;\n this.removeEventListener = removeEventListener;\n this.dispatchEvent = dispatchEvent;\n this.getRegisteredEvents = () => _events;\n\n return this;\n}\n\nexport { EventObserver };\n", "import { JS_HOOK } from './standard-type.js';\n\n/**\n * @param {HTMLElement} element - DOM element.\n * @param {string} value - Value to check as existing as a JS data-* hook value.\n * @returns {boolean} True if the data-* hook value exists, false otherwise.\n */\nfunction contains(element, value) {\n if (!element) {\n return false;\n }\n let values = element.getAttribute(JS_HOOK);\n // If JS data-* hook is not set return immediately.\n if (!values) {\n return false;\n }\n values = values.split(' ');\n\n return values.indexOf(value) > -1 ? true : false;\n}\n\n/**\n * @param {HTMLElement} element - DOM element.\n * @param {string} value - Value to add to the element's JS data-* hook.\n * @returns {string} The value that was added.\n * @throws {Error} If supplied value contains a space,\n * meaning it would be two values, which is likely a typo.\n */\nfunction add(element, value) {\n if (contains(element, value)) return value;\n\n if (value.indexOf(' ') !== -1) {\n const msg = JS_HOOK + ' values cannot contain spaces!';\n throw new Error(msg);\n }\n\n const values = element.getAttribute(JS_HOOK);\n if (values !== null) {\n value = values + ' ' + value;\n }\n element.setAttribute(JS_HOOK, value);\n\n return value;\n}\n\nexport { add, contains };\n", "/* ==========================================================================\n Atomic Helpers.\n Utilities for helping validate atomic design element architecture.\n In descending order of scope, atomic components are:\n - Page\n - Template\n - Organism\n - Molecule\n - Atom\n ========================================================================= */\n\nimport { add, contains } from './data-hook.js';\nimport { STATE_PREFIX } from './standard-type.js';\n\n/**\n * @constant\n * @type {string}\n * @description\n * Flag that gets set on an atomic component after its .init()\n * method has been called. This is used so that an atomic\n * component won't get initialized a second time after it\n * has already been initialized.\n */\nconst INIT_FLAG = STATE_PREFIX + 'atomic_init';\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search for\n * the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If DOM element passed into the atomic element is not valid.\n */\nfunction _verifyElementExists(element, baseClass) {\n if (!element || !element.classList) {\n const msg =\n element +\n ' is not valid. ' +\n 'Check that element is a DOM node with class \"' +\n baseClass +\n '\"';\n throw new Error(msg);\n }\n\n return element;\n}\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search\n * for the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If baseClass was not found on the element.\n */\nfunction _verifyClassExists(element, baseClass) {\n const dom = element.classList.contains(baseClass)\n ? element\n : element.querySelector('.' + baseClass);\n if (!dom) {\n const msg = baseClass + ' not found on or in passed DOM node.';\n throw new Error(msg);\n }\n\n return dom;\n}\n\n/**\n * Check that a particular element passed into the constructor of\n * an atomic component exists and that the correct atomic class\n * is present on the element.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the atomic element class.\n * @param {string} baseClass - The CSS class name for the atomic element.\n * @returns {HTMLElement} The DOM element for the atomic element.\n * @throws {Error} If DOM element passed into the atomic element is not valid.\n */\nfunction checkDom(element, baseClass) {\n _verifyElementExists(element, baseClass);\n const dom = _verifyClassExists(element, baseClass);\n\n return dom;\n}\n\n/**\n * Set a flag on an atomic component when it is initialized.\n * Use the returned boolean to handle cases where an atomic component\n * is initializing when it has already been initialized elsewhere.\n * @param {HTMLElement} element - The DOM element for the atomic component.\n * @returns {boolean} True if the init data-js-* hook attribute was set,\n * false otherwise.\n */\nfunction setInitFlag(element) {\n if (contains(element, INIT_FLAG)) {\n return false;\n }\n\n add(element, INIT_FLAG);\n\n return true;\n}\n\n/**\n * @param {string} selector - Selector to search for in the document.\n * @param {Function} Constructor - A constructor function.\n * @param {HTMLElement} [scope] - A dom node in which to query the selector.\n * If not supplied, it defaults to the `document`.\n * @param {object} config - Configuration will be provided to the Constructor's init()\n * @returns {Array} List of instances that were instantiated.\n */\nfunction instantiateAll(selector, Constructor, scope, config = {}) {\n const base = scope || document;\n const elements = base.querySelectorAll(selector);\n const insts = [];\n let inst;\n let element;\n for (let i = 0, len = elements.length; i < len; i++) {\n element = elements[i];\n if (contains(element, INIT_FLAG) === false) {\n inst = new Constructor(element);\n inst.init(config);\n insts.push(inst);\n }\n }\n return insts;\n}\n\n// Expose public methods.\nexport { checkDom, instantiateAll, setInitFlag };\n", "/* ==========================================================================\n Dom Behaviors\n Behaviors are functionality that can be shared between different pieces\n of markup. They are not strictly atomic, though they likely are used\n on atomic components. An example of shared behavior may be a menu that\n expands and collapses and sets the aria-expanded attribute on the HTML.\n Or an input field that can be cleared by clicking an (x) button in the\n input. These are both behaviors that may appear in different parts of\n the codebase, but could share the same functionality.\n Behaviors are added through the `data-js-hook` attribute on the HTML\n and have a prefix of `behavior_`\n (both those designators are set in modules/util/standard-type.js).\n For example, `behaviors/FlyoutMenu.js` defines the behavior of\n expanding and collapsing an expandable menu. At a minimum, three things\n need to be defined: (A) The containing scope of the menu, (B) the trigger\n to activate the menu, and (C) the content to show/hide when the trigger\n is clicked. So the markup looks something like:\n <div data-js-hook=\"behavior_flyout-menu\">\n <button data-js-hook=\"behavior_flyout-menu_trigger\">\n <div data-js-hook=\"behavior_flyout-menu_content\">\u2026</div>\n </div>\n ========================================================================== */\n\nimport { BEHAVIOR_PREFIX, JS_HOOK } from '../standard-type.js';\nimport { contains } from '../data-hook.js';\n\n/**\n * @param {string} behaviorSelector - Behavior type used to find the element\n * within the dom.\n * @param {HTMLElement} baseElement - Containing element for the behavior element.\n * @returns {Array|NodeList} behaviorElements if it exists in the dom,\n * null otherwise.\n */\nfunction _findElements(behaviorSelector, baseElement) {\n baseElement = baseElement || document;\n let behaviorElements = [];\n\n try {\n behaviorElements = baseElement.querySelectorAll(behaviorSelector);\n } catch (error) {\n const msg = `${behaviorSelector} not found in DOM! ${error}`;\n throw new Error(msg);\n }\n\n if (\n behaviorElements.length === 0 &&\n behaviorSelector.indexOf(BEHAVIOR_PREFIX) === -1\n ) {\n behaviorElements = behaviorFind(behaviorSelector, baseElement);\n }\n\n return behaviorElements;\n}\n\n/**\n * @param {( string|HTMLElement|Array|NodeList )} behaviorElement - Used to\n * query dom for elements.\n * @param {string} event - Event type to add to element.\n * @param {Function} eventHandler - Callback for event.\n * @param {HTMLElement} baseElement - Containing element\n * for the behavior element.\n * @returns {Array|NodeList} if it exists in the dom, null otherwise.\n */\nfunction behaviorAttach(behaviorElement, event, eventHandler, baseElement) {\n let behaviorElements = [];\n\n if (behaviorElement instanceof NodeList === true) {\n behaviorElements = behaviorElement;\n } else if (behaviorElement instanceof Node === true) {\n behaviorElements = [behaviorElement];\n } else if (typeof behaviorElement === 'string') {\n behaviorElements = _findElements(behaviorElement, baseElement);\n }\n\n for (let i = 0, len = behaviorElements.length; i < len; i++) {\n behaviorElements[i].addEventListener(event, eventHandler, false);\n }\n\n return behaviorElements;\n}\n\n/**\n * @param {HTMLElement} element - The DOM element within which to search\n * for the behavior in the data-js-hook attribute.\n * @param {string} behaviorDataAttr - The value in the data-js-hook.\n * This is the name of the behavior.\n * E.g. `behavior_flyout-menu`, `behavior_flyout-menu_content`.\n * @returns {HTMLElement} The DOM element that has an attached behavior.\n * @throws {Error} If data-js-hook attribute value was not found on DOM element.\n */\nfunction checkBehaviorDom(element, behaviorDataAttr) {\n // Check that the behavior is found on the passed DOM node.\n let dom;\n\n if (contains(element, behaviorDataAttr)) {\n dom = element;\n return dom;\n }\n\n /* If the passed DOM node isn't null,\n query the node to see if it's in the children. */\n if (element) {\n const selector = '[' + JS_HOOK + '=' + behaviorDataAttr + ']';\n dom = element.querySelector(selector);\n }\n\n if (!dom) {\n const msg = behaviorDataAttr + ' behavior not found on passed DOM node!';\n throw new Error(msg);\n }\n\n return dom;\n}\n\n/**\n * @param {string} behaviorSelector - Behavior type used to find\n * the element within the dom.\n * @param {HTMLElement} baseElement - Containing element\n * for the behavior element.\n * @returns {NodeList} if it exists in the dom, null otherwise.\n */\nfunction behaviorFind(behaviorSelector, baseElement) {\n behaviorSelector = JS_HOOK + '*=' + BEHAVIOR_PREFIX + behaviorSelector;\n behaviorSelector = '[' + behaviorSelector + ']';\n\n return _findElements(behaviorSelector, baseElement);\n}\n\n// Expose public methods.\nexport { behaviorAttach, checkBehaviorDom, behaviorFind };\n", "/* ==========================================================================\n Javascript Type Checkers\n\n Various utility functions to check Javascript types and primitives.\n\n Contains code copied from with moderate modifications:\n\n https://github.com/angular/angular.js/blob/master/src/Angular.js.\n Copyright (c) 2010-2015 Google, Inc. http://angularjs.org\n\n ========================================================================== */\n\nconst _toString = Object.prototype.toString;\n\n/**\n * @name isUndefined\n * @kind function\n * @description\n * Determines if a reference is undefined.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is undefined.\n */\nfunction isUndefined(value) {\n return typeof value === 'undefined';\n}\n\n/**\n * @name isDefined\n * @kind function\n * @description\n * Determines if a reference is defined.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is defined.\n */\nfunction isDefined(value) {\n return typeof value !== 'undefined';\n}\n\n/**\n * @name isObject\n * @kind function\n * @description\n * Determines if a reference is an `Object`.\n * Unlike `typeof` in JavaScript, `null`s are not\n * considered to be objects. Note that JavaScript arrays are objects.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is an `Object` but not `null`.\n */\nfunction isObject(value) {\n // http://jsperf.com/isobject4\n return value !== null && typeof value === 'object';\n}\n\n/**\n * @name isString\n * @kind function\n * @description\n * Determines if a reference is a `String`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `String`.\n */\nfunction isString(value) {\n return _toString.call(value) === '[object String]';\n}\n\n/**\n * @name isNumber\n * @kind function\n * @description\n * Determines if a reference is a `Number`.\n *\n * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n *\n * If you wish to exclude these then you can use the native\n * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/\n * Reference/Global_Objects/isFinite)\n * method.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Number`.\n */\nfunction isNumber(value) {\n return _toString.call(value) === '[object Number]';\n}\n\n/**\n * @name isDate\n * @kind function\n * @description\n * Determines if a value is a date.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Date`.\n */\nfunction isDate(value) {\n return _toString.call(value) === '[object Date]';\n}\n\n/**\n * @name isArray\n * @kind function\n * @description\n * Determines if a reference is an `Array`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is an `Array`.\n */\nconst isArray =\n Array.isArray ||\n function isArray(value) {\n return _toString.call(value) === '[object Array]';\n };\n\n/**\n * @name isFunction\n * @kind function\n * @description\n * Determines if a reference is a `Function`.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is a `Function`.\n */\nfunction isFunction(value) {\n return _toString.call(value) === '[object Function]';\n}\n\n// TODO Fix complexity issue\n\n/**\n * @name isEmpty\n * @kind function\n * @description\n * Determines if a reference is empty.\n * @param {*} value - Reference to check.\n * @returns {boolean} True if `value` is empty.\n */\nfunction isEmpty(value) {\n return (\n isUndefined(value) ||\n value === null ||\n (isString(value) && value.length <= 0) ||\n /^\\s*$/.test(value)\n );\n}\n\n// Expose public methods.\nexport {\n isUndefined,\n isDefined,\n isObject,\n isString,\n isNumber,\n isDate,\n isArray,\n isFunction,\n isEmpty,\n};\n", "/* ==========================================================================\n Media Helpers.\n Utilities for working with different screen sizes and operating systems.\n ========================================================================= */\n\n/**\n * Query the browser's user agent string to see if it's on a mobile OS.\n * @returns {boolean} True if on a mobile user agent, false otherwise.\n */\nfunction isMobileUserAgent() {\n const regex = new RegExp(\n /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i,\n );\n if (regex.test(navigator.userAgent)) {\n return true;\n }\n return false;\n}\n\n// Expose public methods.\nexport { isMobileUserAgent };\n", "import * as TransitionStyles from './transition.scss';\n\n/**\n * BaseTransition\n * @class\n * @classdesc Initializes new BaseTransition behavior.\n * This shouldn't be used directly, but instead should be\n * the base class used through composition by a specific transition.\n * @param {HTMLElement} element - DOM element to apply transition to.\n * @param {object} classes - The classes to apply to this transition.\n * @param {object} child - The child transition using this as a base.\n * @returns {BaseTransition} An instance.\n */\nfunction BaseTransition(element, classes, child) {\n const _classes = classes;\n let _dom = element;\n if (!child) throw new Error('Child transition argument must be defined!');\n const _child = child;\n\n let _lastClass;\n let _transitionEndEvent;\n let _transitionCompleteBinded;\n\n let _isAnimated = false;\n let _isAnimating = false;\n let _isFlushed = false;\n\n // Make sure required attributes are passed in.\n if (\n typeof _classes.CSS_PROPERTY === 'undefined' ||\n typeof _classes.BASE_CLASS === 'undefined'\n ) {\n throw new Error(\n 'Transitions require CSS_PROPERTY and BASE_CLASS ' +\n 'to be passed into BaseTransition.',\n );\n }\n\n /**\n * Add an event listener to the transition, or call the transition\n * complete handler immediately if the transition is not supported.\n */\n function _addEventListener() {\n /*\n If transition is supported and the animation is animated,\n listen for transition end event, otherwise call the handler directly.\n Some browsers (e.g. IE9/OperaMini) do not support transitionend event.\n If \"transition-duration: 0s\" is set, transitionEnd event will not\n fire, so we need to call the handler straight away.\n */\n if (_transitionEndEvent && _isAnimated) {\n _dom.addEventListener(_transitionEndEvent, _transitionCompleteBinded);\n _child.dispatchEvent(BaseTransition.BEGIN_EVENT, {\n target: _child,\n type: BaseTransition.BEGIN_EVENT,\n });\n\n _dom.classList.add(BaseTransition.ANIMATING_CLASS);\n _isAnimating = true;\n } else {\n _child.dispatchEvent(BaseTransition.BEGIN_EVENT, {\n target: _child,\n type: BaseTransition.BEGIN_EVENT,\n });\n _transitionCompleteBinded();\n }\n }\n\n /**\n * Remove an event listener to the transition.\n */\n function _removeEventListener() {\n _dom.removeEventListener(_transitionEndEvent, _transitionCompleteBinded);\n }\n\n /**\n * Handle the end of a transition.\n * @param {TransitionEvent} evt - Transition event object.\n * @returns {boolean} True if transition was cleaned up,\n * false if an outside transitioning property triggered this event handler.\n */\n function _transitionComplete(evt) {\n if (evt && evt.propertyName !== _classes.CSS_PROPERTY) {\n return false;\n }\n\n _removeEventListener();\n _dom.classList.remove(BaseTransition.ANIMATING_CLASS);\n _child.dispatchEvent(BaseTransition.END_EVENT, {\n target: _child,\n type: BaseTransition.END_EVENT,\n });\n _isAnimating = false;\n return true;\n }\n\n /**\n * Search for and remove initial BaseTransition classes that have\n * already been applied to this BaseTransition's target element.\n */\n function _flush() {\n let prop;\n for (prop in _classes) {\n if (\n {}.hasOwnProperty.call(_classes, prop) &&\n _classes[prop] !== _classes.BASE_CLASS &&\n _dom.classList.contains(_classes[prop])\n ) {\n _dom.classList.remove(_classes[prop]);\n }\n }\n }\n\n /**\n * Halt an in-progress animation and call the complete event immediately.\n */\n function halt() {\n if (!_isAnimating) {\n return;\n }\n _dom.style.webkitTransitionDuration = '0';\n _dom.style.mozTransitionDuration = '0';\n _dom.style.oTransitionDuration = '0';\n _dom.style.transitionDuration = '0';\n _dom.removeEventListener(_transitionEndEvent, _transitionCompleteBinded);\n _transitionCompleteBinded();\n _dom.style.webkitTransitionDuration = '';\n _dom.style.mozTransitionDuration = '';\n _dom.style.oTransitionDuration = '';\n _dom.style.transitionDuration = '';\n }\n\n /**\n * Remove all transition classes, if transition is initialized.\n */\n function remove() {\n halt();\n _flush();\n _dom.classList.remove(_classes.BASE_CLASS);\n }\n\n /**\n * Add a \"transition-duration: 0s\" utility CSS class.\n */\n function animateOn() {\n _dom.classList.remove(BaseTransition.NO_ANIMATION_CLASS);\n _isAnimated = true;\n }\n\n /**\n * Remove a \"transition-duration: 0s\" utility CSS class.\n */\n function animateOff() {\n _dom.classList.add(BaseTransition.NO_ANIMATION_CLASS);\n _isAnimated = false;\n }\n\n /**\n * @param {HTMLElement} elem - The element to check\n * for support of transition end event.\n * @returns {string} The browser-prefixed transition end event.\n */\n function _getTransitionEndEvent(elem) {\n if (!elem) {\n const msg = 'Element does not have TransitionEnd event. It may be null!';\n throw new Error(msg);\n }\n\n let transition;\n const transitions = {\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'transitionend',\n OTransition: 'oTransitionEnd otransitionend',\n transition: 'transitionend',\n };\n\n let transitionEvent;\n for (transitionEvent in transitions) {\n if (\n {}.hasOwnProperty.call(transitions, transitionEvent) &&\n typeof elem.style[transitionEvent] !== 'undefined'\n ) {\n transition = transitions[transitionEvent];\n break;\n }\n }\n return transition;\n }\n\n /**\n * Set the HTML element target of this transition.\n * @param {HTMLElement} targetElement - The target of the transition.\n */\n function setElement(targetElement) {\n // Clear the transition classes from the old element.\n remove();\n animateOn();\n\n _dom = targetElement;\n _dom.classList.add(_classes.BASE_CLASS);\n _transitionEndEvent = _getTransitionEndEvent(_dom);\n }\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {BaseTransition} An instance.\n */\n function init(initialClass) {\n _isAnimated = !_dom.classList.contains(BaseTransition.NO_ANIMATION_CLASS);\n _transitionCompleteBinded = _transitionComplete.bind(this);\n setElement(_dom);\n if (!initialClass) {\n throw new Error(\n 'Transition needs to be passed an initial CSS class on initialization!',\n );\n }\n _dom.classList.add(initialClass);\n\n return this;\n }\n\n /**\n * @param {string} className - A CSS class.\n * @returns {boolean} False if the class is already applied,\n * otherwise true if the class was applied.\n */\n function applyClass(className) {\n if (!_isFlushed) {\n _flush();\n _isFlushed = true;\n }\n\n if (_dom.classList.contains(className)) {\n return false;\n }\n\n _removeEventListener();\n _dom.classList.remove(_lastClass);\n _lastClass = className;\n _addEventListener();\n _dom.classList.add(_lastClass);\n\n return true;\n }\n\n // Attach public events.\n this.animateOff = animateOff;\n this.animateOn = animateOn;\n this.applyClass = applyClass;\n this.halt = halt;\n this.init = init;\n this.isAnimated = () => _isAnimated;\n this.remove = remove;\n this.setElement = setElement;\n\n return this;\n}\n\n// Public static constants.\nBaseTransition.BEGIN_EVENT = 'transitionbegin';\nBaseTransition.END_EVENT = 'transitionend';\nBaseTransition.NO_ANIMATION_CLASS = 'u-no-animation';\nBaseTransition.ANIMATING_CLASS = 'u-is-animating';\n\nexport { BaseTransition, TransitionStyles };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\nimport { checkBehaviorDom } from '../behavior/behavior.js';\nimport { BEHAVIOR_PREFIX, JS_HOOK } from '../standard-type.js';\n\nconst BASE_CLASS = BEHAVIOR_PREFIX + 'flyout-menu';\nconst SEL_PREFIX = '[' + JS_HOOK + '=' + BASE_CLASS;\n\n/**\n * FlyoutMenu\n * @class\n * @classdesc Initializes new FlyoutMenu behavior.\n * Behaviors are functionality that can be shared between different pieces\n * of markup. They are not strictly atomic, though they likely are used\n * on atomic components.\n * As added JS behavior, this is added through HTML data-js-hook attributes.\n *\n * Structure is:\n * behavior_flyout-menu\n * behavior_flyout-menu_trigger\n * behavior_flyout-menu_content\n * behavior_flyout-menu_trigger (optional)\n *\n * The second trigger is optional and may be used for a button in the content\n * area, which may obscure the first trigger.\n * The flyout can be triggered through a click of either trigger.\n * @param {HTMLElement} element - The DOM element to attach FlyoutMenu behavior.\n * @param {boolean} autoHideContent - Whether to add `hidden` attribute to\n * content when it is collapsed.\n * @returns {FlyoutMenu} An instance.\n */\nfunction FlyoutMenu(element, autoHideContent = true) {\n // Verify that the expected dom attributes are present.\n const _dom = checkBehaviorDom(element, BASE_CLASS);\n const _triggerDoms = _findTriggers(element);\n const _contentDom = checkBehaviorDom(element, BASE_CLASS + '_content');\n\n // Flyouts appear in one of four states.\n let _state = 0;\n const COLLAPSED = 0;\n const COLLAPSING = 1;\n const EXPANDING = 2;\n const EXPANDED = 3;\n\n let _transition;\n let _expandTransitionMethod;\n let _collapseTransitionMethod;\n\n // Binded events.\n // Needed to add and remove events to transitions.\n const _collapseEndBinded = _collapseEnd.bind(this);\n const _expandEndBinded = _expandEnd.bind(this);\n\n /* If this menu appears in a data source,\n this can be used to store the source.\n Examples include the index in an Array,\n a key in an Hash, or a node in a Tree. */\n let _data;\n\n // Whether this instance's behaviors are suspended or not.\n let _suspended = true;\n\n /* Event immediately preceeding mouseover is touchstart,\n if that event's present we'll want to ignore mouseover\n to avoid a mouseover and click immediately after each other. */\n let _touchTriggered = false;\n\n /**\n * Iterate over dom tree and find FlyoutMenu triggers.\n * We need to exclude the ones that are nested FlyoutMenus, since those\n * will be managed by their own instance of this class.\n * @param {HTMLElement} element - The DOM element to search for triggers within.\n * @returns {Array} List of trigger DOM references within this FlyoutMenu.\n */\n function _findTriggers(element) {\n const triggersList = [];\n const triggers = element.querySelectorAll(`${SEL_PREFIX}_trigger]`);\n\n let trigger;\n let triggerParent;\n let isSubTrigger;\n // Iterate backwards ensuring that length is an UInt32.\n for (let i = triggers.length >>> 0; i--; ) {\n isSubTrigger = false;\n trigger = triggers[i];\n triggerParent = trigger.parentElement;\n while (triggerParent !== element) {\n if (\n triggerParent.getAttribute(JS_HOOK) &&\n triggerParent.getAttribute(JS_HOOK).split(' ').indexOf(BASE_CLASS) !==\n -1\n ) {\n isSubTrigger = true;\n triggerParent = element;\n } else {\n triggerParent = triggerParent.parentElement;\n }\n }\n\n if (!isSubTrigger) {\n triggersList.unshift(triggers[i]);\n }\n }\n\n return triggersList;\n }\n\n /**\n * @returns {FlyoutMenu} An instance.\n * @param {boolean} isExpanded - Whether the flyout menu is expanded at\n * initialization-time or collapsed.\n */\n function init(isExpanded = false) {\n _state = isExpanded ? EXPANDED : COLLAPSED;\n _triggerDoms.forEach((triggerDom) => {\n _setAriaAttr('expanded', triggerDom, isExpanded);\n\n triggerDom.addEventListener('click', _handleTriggerClicked.bind(this));\n triggerDom.addEventListener('touchstart', _handleTouchStart, {\n passive: true,\n });\n triggerDom.addEventListener('mouseover', _handleTriggerOver.bind(this));\n triggerDom.addEventListener('mouseout', _handleTriggerOut.bind(this));\n });\n\n _contentDom.setAttribute('data-open', isExpanded ? 'true' : 'false');\n if (autoHideContent && !isExpanded) _contentDom.setAttribute('hidden', '');\n\n resume();\n\n return this;\n }\n\n /**\n * Set an aria attribute on an HTML element.\n * @param {string} type - The aria attribute to set\n * (without the aria- prefix).\n * @param {HTMLElement} elem - The element to set.\n * @param {boolean} value - The value to set on `aria-expanded`,\n * casts to a string.\n * @returns {string} The cast value.\n */\n function _setAriaAttr(type, elem, value) {\n const strValue = String(value);\n elem.setAttribute('aria-' + type, strValue);\n return strValue;\n }\n\n /**\n * Event handler for when the search input trigger is touched.\n */\n function _handleTouchStart() {\n _touchTriggered = true;\n }\n\n /**\n * Event handler for when the trigger is hovered over.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerOver(event) {\n if (_suspended) return;\n\n if (!_touchTriggered) {\n this.dispatchEvent('triggerover', {\n target: this,\n trigger: event.target,\n type: 'triggerover',\n });\n }\n\n _touchTriggered = false;\n }\n\n /**\n * Event handler for when the trigger is hovered out.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerOut(event) {\n if (_suspended) return;\n\n this.dispatchEvent('triggerout', {\n target: this,\n trigger: event.target,\n type: 'triggerout',\n });\n }\n\n /**\n * Event handler for when the search input trigger is clicked,\n * which opens/closes the search input.\n * @param {MouseEvent} event - The clicked flyout trigger event object.\n */\n function _handleTriggerClicked(event) {\n if (_suspended) return;\n\n this.dispatchEvent('triggerclick', {\n target: this,\n trigger: event.target,\n type: 'triggerclick',\n });\n\n event.preventDefault();\n\n switch (_state) {\n case COLLAPSED:\n case COLLAPSING:\n this.expand();\n break;\n case EXPANDING:\n case EXPANDED:\n this.collapse();\n break;\n }\n }\n\n /**\n * Open the search box.\n * @returns {FlyoutMenu} An instance.\n */\n function expand() {\n _transition?.halt();\n if (_state === EXPANDING || _state === EXPANDED) return this;\n\n _state = EXPANDING;\n if (autoHideContent) _contentDom.removeAttribute('hidden');\n this.dispatchEvent('expandbegin', { target: this, type: 'expandbegin' });\n\n // Only use transitions if both expand and collapse are set.\n if (!_expandTransitionMethod || !_collapseTransitionMethod) {\n _expandEndBinded();\n return this;\n }\n\n const hasTransition = _transition?.isAnimated();\n if (hasTransition) {\n _transition.addEventListener(BaseTransition.END_EVENT, _expandEndBinded);\n }\n\n _expandTransitionMethod();\n\n if (!hasTransition) {\n _expandEndBinded();\n }\n\n return this;\n }\n\n /**\n * Close the search box.\n * If collapse is called when expand animation is underway,\n * save a deferred call to collapse, which is called when\n * expand completes.\n * @returns {FlyoutMenu} An instance.\n */\n function collapse() {\n _transition?.halt();\n if (_state === COLLAPSING || _state === COLLAPSED) return this;\n\n for (let i = 0, len = _triggerDoms.length; i < len; i++) {\n _setAriaAttr('expanded', _triggerDoms[i], false);\n }\n\n _contentDom.setAttribute('data-open', 'false');\n\n _state = COLLAPSING;\n this.dispatchEvent('collapsebegin', {\n target: this,\n type: 'collapsebegin',\n });\n\n // Only use transitions if both expand and collapse are set.\n if (!_collapseTransitionMethod || !_expandTransitionMethod) {\n _collapseEndBinded();\n return this;\n }\n\n const hasTransition = _transition?.isAnimated();\n if (hasTransition) {\n _transition.addEventListener(\n BaseTransition.END_EVENT,\n _collapseEndBinded,\n );\n }\n\n _collapseTransitionMethod();\n\n if (!hasTransition) {\n _collapseEndBinded();\n }\n\n return this;\n }\n\n /**\n * Expand animation has completed.\n * Call deferred collapse function,\n * if set (otherwise it will call a noop function).\n */\n function _expandEnd() {\n _state = EXPANDED;\n _contentDom.setAttribute('data-open', 'true');\n if (_transition) {\n _transition.removeEventListener(\n BaseTransition.END_EVENT,\n _expandEndBinded,\n );\n }\n this.dispatchEvent('expandend', { target: this, type: 'expandend' });\n\n for (let i = 0, len = _triggerDoms.length; i < len; i++) {\n _setAriaAttr('expanded', _triggerDoms[i], true);\n }\n }\n\n /**\n * Collapse animation has completed.\n */\n function _collapseEnd() {\n _state = COLLAPSED;\n\n if (autoHideContent) _contentDom.setAttribute('hidden', '');\n\n if (_transition) {\n _transition.removeEventListener(\n BaseTransition.END_EVENT,\n _collapseEndBinded,\n );\n }\n\n this.dispatchEvent('collapseend', { target: this, type: 'collapseend' });\n }\n\n /**\n * Set the transition that runs when this flyout is expanded/collapsed.\n * @param {BaseTransition} transition - A transition object.\n * @param {Function} collapseMethod - The collapse method to call on the transition.\n * @param {Function} expandMethod - The expand method to call on the transition.\n */\n function setTransition(transition, collapseMethod, expandMethod) {\n _transition = transition;\n\n if (collapseMethod && collapseMethod !== _collapseTransitionMethod) {\n _collapseTransitionMethod = collapseMethod;\n }\n\n if (expandMethod && expandMethod !== _expandTransitionMethod) {\n _expandTransitionMethod = expandMethod;\n }\n }\n\n /**\n * Clear the transitions attached to this FlyoutMenu instance.\n */\n function clearTransition() {\n if (_transition) {\n _transition.remove();\n }\n\n let UNDEFINED;\n\n _transition = UNDEFINED;\n\n _expandTransitionMethod = UNDEFINED;\n _collapseTransitionMethod = UNDEFINED;\n }\n\n /**\n * @returns {object}\n * Hash of container, content DOM references, and a list of trigger DOMs.\n */\n function getDom() {\n return {\n container: _dom,\n content: _contentDom,\n trigger: _triggerDoms,\n };\n }\n\n /**\n * Enable broadcasting of trigger events.\n * @returns {boolean} True if resumed, false otherwise.\n */\n function resume() {\n if (_suspended) _suspended = false;\n\n return !_suspended;\n }\n\n /**\n * Suspend broadcasting of trigger events.\n * @returns {boolean} True if suspended, false otherwise.\n */\n function suspend() {\n if (!_suspended) _suspended = true;\n\n return _suspended;\n }\n\n /**\n * @param {number | string | object} data - A data identifier\n * such as an Array index, Hash key, or Tree node.\n * @returns {FlyoutMenu} An instance.\n */\n function setData(data) {\n _data = data;\n\n return this;\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n this.expand = expand;\n this.collapse = collapse;\n this.setTransition = setTransition;\n this.clearTransition = clearTransition;\n this.getData = () => _data;\n this.getTransition = () => _transition;\n this.getDom = getDom;\n this.isAnimating = () => _state === EXPANDING || _state === COLLAPSING;\n this.isExpanded = () => _state === EXPANDED;\n this.resume = resume;\n this.setData = setData;\n this.suspend = suspend;\n\n // Public static properties.\n FlyoutMenu.BASE_CLASS = BASE_CLASS;\n\n return this;\n}\n\nexport { FlyoutMenu };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'opacity',\n BASE_CLASS: 'u-alpha-transition',\n ALPHA_100: 'u-alpha-100',\n ALPHA_0: 'u-alpha-0',\n};\n\n/**\n * AlphaTransition\n * @class\n * @classdesc Initializes new AlphaTransition behavior.\n * @param {HTMLElement} element - DOM element to apply opacity transition to.\n * @returns {AlphaTransition} An instance.\n */\nfunction AlphaTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {AlphaTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n return this;\n }\n\n /**\n * Fade to 100% by applying a utility alpha class.\n * @returns {AlphaTransition} An instance.\n */\n function fadeIn() {\n _baseTransition.applyClass(CLASSES.ALPHA_100);\n\n return this;\n }\n\n /**\n * Fade to nothing by applying a utility alpha class.\n * @returns {AlphaTransition} An instance.\n */\n function fadeOut() {\n _baseTransition.applyClass(CLASSES.ALPHA_0);\n\n return this;\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.remove = _baseTransition.remove;\n this.setElement = _baseTransition.setElement;\n\n this.fadeIn = fadeIn;\n this.fadeOut = fadeOut;\n this.init = init;\n\n return this;\n}\n\n// Public static properties.\nAlphaTransition.CLASSES = CLASSES;\n\nexport { AlphaTransition };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'max-height',\n BASE_CLASS: 'u-max-height-transition',\n MH_DEFAULT: 'u-max-height-default',\n MH_SUMMARY: 'u-max-height-summary',\n MH_ZERO: 'u-max-height-zero',\n};\n\n/**\n * MoveTransition\n * @class\n * @classdesc Initializes new MoveTransition behavior.\n * @param {HTMLElement} element - DOM element to apply transition to.\n * @returns {MaxHeightTransition} An instance.\n */\nfunction MaxHeightTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n let _previousHeight = 0;\n\n /**\n * Refresh the max height set on the element.\n * This may be useful if resizing the window and the content height changes.\n */\n function refresh() {\n const elmHeight = element.scrollHeight;\n const newHeight = elmHeight + 'px';\n element.style.maxHeight = newHeight;\n }\n\n /**\n * The whole page has loaded,\n * including all dependent resources such as stylesheets and images.\n */\n function _pageLoaded() {\n window.removeEventListener('load', _pageLoaded);\n refresh();\n }\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {MaxHeightTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n /*\n The scrollHeight of an element may be incorrect if the page hasn't\n fully loaded yet, so we listen for that to happen before calculating\n the element max-height.\n */\n window.addEventListener('load', _pageLoaded);\n\n /*\n The scrollHeight of an element may change on page load.\n */\n window.addEventListener('resize', () => {\n refresh();\n });\n\n return this;\n }\n\n /**\n * Reset the max-height to the default size.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightDefault() {\n refresh();\n _baseTransition.applyClass(CLASSES.MH_DEFAULT);\n\n if (!_previousHeight || element.scrollHeight > _previousHeight) {\n _previousHeight = element.scrollHeight;\n }\n\n return this;\n }\n\n /**\n * Collapses the max-height to just a summary height.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightSummary() {\n _baseTransition.applyClass(CLASSES.MH_SUMMARY);\n\n _previousHeight = element.scrollHeight;\n\n return this;\n }\n\n /**\n * Collapses thte max-height completely.\n * @returns {MaxHeightTransition} An instance.\n */\n function maxHeightZero() {\n _baseTransition.applyClass(CLASSES.MH_ZERO);\n\n _previousHeight = element.scrollHeight;\n\n return this;\n }\n\n /**\n * Remove style attribute.\n * Remove all transition classes, if transition is initialized.\n * @returns {boolean}\n * True, if the element's CSS classes were touched, false otherwise.\n */\n function remove() {\n element.style.maxHeight = '';\n return _baseTransition.remove();\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.setElement = _baseTransition.setElement;\n this.refresh = refresh;\n this.remove = remove;\n\n this.init = init;\n this.maxHeightDefault = maxHeightDefault;\n this.maxHeightSummary = maxHeightSummary;\n this.maxHeightZero = maxHeightZero;\n\n return this;\n}\n\n// Public static properties.\nMaxHeightTransition.CLASSES = CLASSES;\n\nexport { MaxHeightTransition };\n", "import { BaseTransition } from '../transition/base-transition.js';\nimport { EventObserver } from '../event-observer.js';\n\n// Exported constants.\nconst CLASSES = {\n CSS_PROPERTY: 'transform',\n BASE_CLASS: 'u-move-transition',\n MOVE_TO_ORIGIN: 'u-move-to-origin',\n MOVE_LEFT: 'u-move-left',\n MOVE_LEFT_2X: 'u-move-left-2x',\n MOVE_LEFT_3X: 'u-move-left-3x',\n MOVE_RIGHT: 'u-move-right',\n MOVE_UP: 'u-move-up',\n};\n\n/**\n * MoveTransition\n * @class\n * @classdesc Initializes new MoveTransition behavior.\n * @param {HTMLElement} element - DOM element to apply move transition to.\n * @returns {MoveTransition} An instance.\n */\nfunction MoveTransition(element) {\n const eventObserver = new EventObserver();\n const _baseTransition = new BaseTransition(element, CLASSES, this);\n\n /**\n * @param {Function} initialClass - The initial state for this transition.\n * @returns {MoveTransition} An instance.\n */\n function init(initialClass) {\n _baseTransition.init(initialClass);\n\n return this;\n }\n\n /**\n * Move to the element's original coordinates.\n * @returns {MoveTransition} An instance.\n */\n function moveToOrigin() {\n _baseTransition.applyClass(CLASSES.MOVE_TO_ORIGIN);\n\n return this;\n }\n\n /**\n * Move to the left by applying a utility move class.\n * @param {number} count - How many times to move left\n * as a multiplication of the element's width.\n * @returns {MoveTransition} An instance.\n */\n function _moveLeft(count) {\n count = count || 1;\n const moveClasses = [\n CLASSES.MOVE_LEFT,\n CLASSES.MOVE_LEFT_2X,\n CLASSES.MOVE_LEFT_3X,\n ];\n\n _baseTransition.applyClass(moveClasses[count - 1]);\n\n return this;\n }\n\n /**\n * Move to the right by applying a utility move class.\n * @returns {MoveTransition} An instance.\n */\n function moveRight() {\n _baseTransition.applyClass(CLASSES.MOVE_RIGHT);\n\n return this;\n }\n\n /**\n * Move up by applying a utility move class.\n * @returns {MoveTransition} An instance.\n */\n function moveUp() {\n _baseTransition.applyClass(CLASSES.MOVE_UP);\n\n return this;\n }\n\n // Attach public events.\n this.addEventListener = eventObserver.addEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.removeEventListener = eventObserver.removeEventListener;\n\n this.animateOff = _baseTransition.animateOff;\n this.animateOn = _baseTransition.animateOn;\n this.halt = _baseTransition.halt;\n this.isAnimated = _baseTransition.isAnimated;\n this.setElement = _baseTransition.setElement;\n this.remove = _baseTransition.remove;\n\n this.init = init;\n this.moveLeft = () => _moveLeft(1);\n this.moveLeft2 = () => _moveLeft(2);\n this.moveLeft3 = () => _moveLeft(3);\n this.moveRight = moveRight;\n this.moveToOrigin = moveToOrigin;\n this.moveUp = moveUp;\n\n return this;\n}\n\n// Public static properties.\nMoveTransition.CLASSES = CLASSES;\n\nexport { MoveTransition };\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-expandable{position:relative}.o-expandable__header{background-color:transparent;border:0;cursor:pointer;display:flex;gap:10px;justify-content:space-between;padding:.625em .9375em}.o-expandable__header:focus{outline:1px dotted var(--black);outline-offset:2px}.o-expandable__header .o-expandable__cue-close,.o-expandable__header .o-expandable__cue-open{display:none}.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:block}.o-expandable button.o-expandable__header{text-align:left;width:100%}.o-expandable__label{color:var(--black);flex-grow:1;font-weight:500;margin-bottom:0}.o-expandable__icon,.o-expandable__label{font-size:1.125em}@media only screen and (max-width:37.5em){.o-expandable__icon,.o-expandable__label{font-size:1em}}.o-expandable__cues{align-self:center;color:var(--pacific);font-size:1em;line-height:1.375}.o-expandable__content{padding:0 .9375em .9375em}.o-expandable__content:before{border-top:1px solid var(--gray-40);content:\"\";display:block;padding-top:.9375em}.o-expandable__content:after{padding-bottom:.9375em;width:100%}.o-expandable--padded .o-expandable__header{padding:1.5625em .9375em}.o-expandable--padded .o-expandable__icon,.o-expandable--padded .o-expandable__label{font-size:1.625em}@media only screen and (max-width:37.5em){.o-expandable--padded .o-expandable__icon,.o-expandable--padded .o-expandable__label{font-size:1.375em}}.o-expandable--background{background:var(--gray-5)}.o-expandable--border{border:1px solid var(--gray-40)}.o-expandable-group .o-expandable{border-bottom:1px solid var(--gray-40)}.o-expandable-group .o-expandable:first-child{border-top:1px solid var(--gray-40)}@media print{.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:none}.o-expandable__content[aria-expanded=false]{display:block;max-height:99999px!important}}html[lang=ar] .o-expandable__header{text-align:right}html[lang=ar] .o-expandable__cues{text-align:left}", "/* ==========================================================================\n Expandable Organism\n ========================================================================== */\n\nimport {\n add as addDataHook,\n checkDom,\n setInitFlag,\n instantiateAll,\n MaxHeightTransition,\n EventObserver,\n FlyoutMenu,\n} from '../../utilities';\n\nimport * as ExpandableStyles from './expandable.scss';\n\nconst BASE_CLASS = 'o-expandable';\n\n/**\n * Expandable\n * @class\n * @classdesc Initializes a new Expandable molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {Expandable} An instance.\n */\nfunction Expandable(element) {\n // Internal vars.\n const _dom = checkDom(element, BASE_CLASS);\n let _targetDom;\n let _contentDom;\n let _labelDom;\n\n // Animation vars.\n let _transition;\n let _flyout;\n\n /**\n * Set up and create the multiselect.\n * @returns {Expandable} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n _targetDom = _dom.querySelector(`.${BASE_CLASS}__header`);\n _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n _labelDom = _dom.querySelector(`.${BASE_CLASS}__label`);\n\n const isExpanded = _dom.classList.contains(`${BASE_CLASS}--onload-open`);\n\n // Add behavior hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_targetDom, 'behavior_flyout-menu_trigger');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n\n // If it's expanded we don't set an initial height,\n // as it will be calculated internally.\n const initialClass = isExpanded\n ? MaxHeightTransition.CLASSES.MH_DEFAULT\n : MaxHeightTransition.CLASSES.MH_ZERO;\n _transition = new MaxHeightTransition(_contentDom).init(initialClass);\n\n // Create root menu.\n _flyout = new FlyoutMenu(_dom);\n\n _flyout.setTransition(\n _transition,\n _transition.maxHeightZero,\n _transition.maxHeightDefault,\n );\n\n _flyout.init(isExpanded);\n\n // Add events.\n _flyout.addEventListener('expandbegin', () => {\n _contentDom.classList.remove('u-hidden');\n this.dispatchEvent('expandbegin', { target: this });\n });\n _flyout.addEventListener('collapseend', () => {\n _contentDom.classList.add('u-hidden');\n });\n\n return this;\n }\n\n /**\n * @returns {string} The expandable label text.\n */\n function getLabelText() {\n return _labelDom.textContent.trim();\n }\n\n // Attach public events.\n this.init = init;\n this.expand = () => _flyout.expand();\n this.collapse = () => _flyout.collapse();\n this.isExpanded = () => _flyout.isExpanded();\n this.refresh = () => _flyout.getTransition().refresh();\n this.getLabelText = getLabelText;\n\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n return this;\n}\n\nExpandable.BASE_CLASS = BASE_CLASS;\nExpandable.init = (scope) =>\n instantiateAll(`.${Expandable.BASE_CLASS}`, Expandable, scope);\n\nexport { Expandable, ExpandableStyles };\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-expandable-group .o-expandable{border-bottom:1px solid var(--gray-40)}.o-expandable-group .o-expandable:first-child{border-top:1px solid var(--gray-40)}@media print{.o-expandable__header[aria-expanded=false] .o-expandable__cue-open,.o-expandable__header[aria-expanded=true] .o-expandable__cue-close{display:none}.o-expandable__content[aria-expanded=false]{display:block;max-height:99999px!important}}", "/* ==========================================================================\n Expandable Organism\n ========================================================================== */\n\nimport { checkDom, setInitFlag, instantiateAll } from '../../utilities';\nimport { Expandable } from './expandable.js';\n\nimport * as ExpandableGroupStyles from './expandable-group.scss';\n\nconst BASE_CLASS = 'o-expandable-group';\n\n/**\n * ExpandableGroup\n * @class\n * @classdesc Initializes a new Expandable molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {ExpandableGroup} An instance.\n */\nfunction ExpandableGroup(element) {\n // Internal vars.\n const _dom = checkDom(element, BASE_CLASS);\n const _isAccordion = _dom.classList.contains(`${BASE_CLASS}--accordion`);\n let _expandables;\n let _lastExpanded;\n\n /**\n * @param {object} evt - The event object.\n */\n function _handleExpandBegin(evt) {\n const target = evt.target;\n if (_lastExpanded && _lastExpanded !== target) {\n _lastExpanded.collapse();\n }\n _lastExpanded = target;\n }\n\n /**\n * Set up and create the multiselect.\n * @param {Array} expandables - List of expandables inside this group.\n * @returns {ExpandableGroup} An instance.\n */\n function init(expandables) {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n if (_isAccordion) {\n _expandables = expandables;\n\n _expandables.forEach((expandable) => {\n expandable.addEventListener('expandbegin', _handleExpandBegin);\n });\n }\n\n return this;\n }\n\n // Attach public events.\n this.init = init;\n\n return this;\n}\n\nExpandableGroup.BASE_CLASS = BASE_CLASS;\nExpandableGroup.init = (scope) => {\n const base = scope || document;\n const expandableGroupsDom = base.querySelectorAll(`.${BASE_CLASS}`);\n expandableGroupsDom.forEach((expandableGroupDom) => {\n const expandables = instantiateAll(\n `.${Expandable.BASE_CLASS}`,\n Expandable,\n expandableGroupDom,\n );\n const expandableGroup = new ExpandableGroup(expandableGroupDom);\n expandableGroup.init(expandables);\n });\n};\n\nexport { ExpandableGroup, ExpandableGroupStyles };\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-summary__content{left:-2px;overflow-y:hidden;padding:2px;position:relative;top:-2px}.o-summary__btn{align-items:center;background:#fff;border:dotted var(--pacific);border-width:1px 0;color:var(--pacific);display:flex;gap:.3125rem;justify-content:center;padding-bottom:15px;padding-top:15px;position:relative;text-align:center;width:100%;z-index:2}.o-summary__btn svg{flex:none}.o-summary__btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.o-summary__btn[aria-expanded=false]:before{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff);content:\"\";display:block;height:2.75em;left:0;margin:0;pointer-events:none;position:absolute;right:0;top:calc(-100% + 4px)}@media print{.o-summary__btn[aria-expanded=false]:before{background:none}}.no-js .o-summary__btn{display:none}@media only screen and (min-width:601px){.o-summary--mobile .o-summary__btn{display:none}}", "import {\n add as addDataHook,\n checkDom,\n instantiateAll,\n setInitFlag,\n FlyoutMenu,\n MaxHeightTransition,\n EventObserver,\n MOBILE,\n viewportIsIn,\n} from '../../utilities';\n\nimport * as SummaryStyles from './summary.scss';\n\nconst BASE_CLASS = 'o-summary';\n\n/**\n * Summary\n * @class\n * @classdesc Initializes a new Summary organism.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the organism.\n * @returns {Summary} An instance.\n */\nfunction Summary(element) {\n const _dom = checkDom(element, BASE_CLASS);\n const _hasMobileModifier = _dom.classList.contains(`${BASE_CLASS}--mobile`);\n const _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n const _btnDom = _dom.querySelector(`.${BASE_CLASS}__btn`);\n let _transition;\n let _flyout;\n\n // Whether this instance's behaviors are suspended or not.\n let _suspended;\n\n /**\n * NOTE: Init won't work if it's called after the page has been loaded,\n * since it depends on the `load` event fired by the browser.\n * @returns {Summary} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n // Don't initialize the Summary till the page has loaded, so we can have\n // an accurate idea of its height.\n window.addEventListener('load', _pageLoadHandler);\n\n return this;\n }\n\n /**\n * The page (content + CSS) has loaded.\n */\n function _pageLoadHandler() {\n window.removeEventListener('load', _pageLoadHandler);\n\n _suspended = !_shouldSuspend();\n\n // Add FlyoutMenu behavior data-js-hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n addDataHook(_btnDom, 'behavior_flyout-menu_trigger');\n\n _flyout = new FlyoutMenu(_dom, false);\n _transition = new MaxHeightTransition(_contentDom);\n _transition.init(\n _suspended\n ? MaxHeightTransition.CLASSES.MH_SUMMARY\n : MaxHeightTransition.CLASSES.MH_DEFAULT,\n );\n _flyout.setTransition(\n _transition,\n _transition.maxHeightSummary,\n _transition.maxHeightDefault,\n );\n _flyout.addEventListener('triggerclick', _triggerClickHandler);\n _flyout.init();\n\n _resizeHandler();\n\n window.addEventListener('resize', _resizeHandler);\n // Pipe window resize handler into orientation change on supported devices.\n if ('onorientationchange' in window) {\n window.addEventListener('orientationchange', _resizeHandler);\n }\n\n _dom.addEventListener('focusin', _focusInHandler);\n\n /* When we click inside the content area we may be changing the size,\n such as when a video player expands on being clicked.\n So, let's refresh the transition to recalculate the max-height,\n just in case. */\n _contentDom.addEventListener('click', _contentClicked);\n }\n\n /**\n * Handling tabbing into the content area that is hidden.\n * If the focus goes onto a focusable element within the content area,\n * we'll act like the summary expansion button was clicked.\n * @param {Event} evt - The focus event.\n */\n function _focusInHandler(evt) {\n if (!_suspended && evt.target !== _btnDom) {\n _btnDom.click();\n _dom.removeEventListener('focusin', _focusInHandler);\n }\n }\n\n /**\n * Handler for when the content area is clicked.\n * Refresh the transition to recalculate the max-height.\n * @param {MouseEvent} evt - the mouse event object.\n */\n function _contentClicked(evt) {\n /* We don't need to refresh if a link was clicked as we'll be navigating\n to another page. */\n if (evt.target.tagName !== 'A' && _flyout.isExpanded()) {\n _transition.refresh();\n }\n }\n\n /**\n * Handle resizing of the window,\n * suspends or resumes the mobile or desktop behaviors.\n */\n function _resizeHandler() {\n if (_shouldSuspend()) {\n _suspend();\n } else {\n _resume();\n }\n }\n\n /**\n * @returns {boolean} True if this should be suspended, false otherwise.\n */\n function _shouldSuspend() {\n /* Bail out of initializatiion if the height of the summary's content\n is less than our summary height of 5.5ems\n 16 * 5.5 = 88\n See https://github.com/cfpb/design-system/blob/72623270013f2ad08dbe92b5b709ed2b434ee41e/packages/cfpb-atomic-component/src/utilities/transition/transition.less#L84\n */\n return (\n (_hasMobileModifier && !viewportIsIn(MOBILE)) ||\n _contentDom.scrollHeight <= 88\n );\n }\n\n /**\n * Handle click of flyout.\n */\n function _triggerClickHandler() {\n _flyout.addEventListener('expandend', _expandEndHandler);\n }\n\n /**\n * After the summary opens, remove the \"read more\" button.\n */\n function _expandEndHandler() {\n _hideButton();\n window.removeEventListener('resize', _resizeHandler);\n window.removeEventListener('orientationchange', _resizeHandler);\n _flyout.removeEventListener('expandend', _expandEndHandler);\n _flyout.suspend();\n _transition.remove();\n }\n\n /**\n *\n */\n function _showButton() {\n _btnDom.classList.remove('u-hidden');\n }\n\n /**\n *\n */\n function _hideButton() {\n _btnDom.classList.add('u-hidden');\n }\n\n /**\n * Add events necessary for the desktop menu behaviors.\n * @returns {boolean} Whether it has successfully been resumed or not.\n */\n function _resume() {\n if (_suspended) {\n _flyout.collapse();\n _transition.animateOn();\n _showButton();\n\n _suspended = false;\n }\n\n return !_suspended;\n }\n\n /**\n * Remove events necessary for the desktop menu behaviors.\n * @returns {boolean} Whether it has successfully been suspended or not.\n */\n function _suspend() {\n if (!_suspended) {\n _transition.animateOff();\n _flyout.expand();\n _hideButton();\n\n _suspended = true;\n }\n\n return _suspended;\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n\n return this;\n}\n\nSummary.BASE_CLASS = BASE_CLASS;\nSummary.init = (scope) => instantiateAll(`.${BASE_CLASS}`, Summary, scope);\n\nexport { Summary, SummaryStyles };\n", "import {\n add as addDataHook,\n checkDom,\n instantiateAll,\n setInitFlag,\n FlyoutMenu,\n MaxHeightTransition,\n EventObserver,\n} from '../../utilities';\n\nimport * as SummaryMinimalStyles from './summary-minimal.scss';\n\nconst BASE_CLASS = 'o-summary-minimal';\n\n/**\n * SummaryMinimal\n * @class\n * @classdesc Initializes a new SummaryMinimal organism.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the organism.\n * @returns {SummaryMinimal} An instance.\n */\nfunction SummaryMinimal(element) {\n const _dom = checkDom(element, BASE_CLASS);\n const _contentDom = _dom.querySelector(`.${BASE_CLASS}__content`);\n const _btnDom = _dom.querySelector(`.${BASE_CLASS}__btn`);\n let _transition;\n let _flyout;\n\n /**\n * @returns {SummaryMinimal} An instance.\n */\n function init() {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n // Add FlyoutMenu behavior data-js-hooks.\n addDataHook(_dom, 'behavior_flyout-menu');\n addDataHook(_contentDom, 'behavior_flyout-menu_content');\n addDataHook(_btnDom, 'behavior_flyout-menu_trigger');\n\n // Don't initialize the SummaryMinimal till the page has loaded,\n // so we can have an accurate idea of its height.\n window.addEventListener('load', _pageLoadHandler);\n\n return this;\n }\n\n /**\n * The page (content + CSS) has loaded.\n */\n function _pageLoadHandler() {\n window.removeEventListener('load', _pageLoadHandler);\n\n _flyout = new FlyoutMenu(_dom, false);\n _transition = new MaxHeightTransition(_contentDom);\n _transition.init(MaxHeightTransition.CLASSES.MH_SUMMARY);\n _flyout.setTransition(\n _transition,\n _transition.maxHeightSummary,\n _transition.maxHeightDefault,\n );\n _flyout.init();\n\n _dom.addEventListener('focusin', _focusInHandler);\n\n /* When we click inside the content area we may be changing the size,\n such as when a video player expands on being clicked.\n So, let's refresh the transition to recalculate the max-height,\n just in case. */\n _contentDom.addEventListener('click', _contentClicked);\n\n _flyout.collapse();\n _transition.animateOn();\n }\n\n /**\n * Handling tabbing into the content area that is hidden.\n * If the focus goes onto a focusable element within the content area,\n * we'll act like the summary expansion button was clicked.\n * @param {Event} evt - The focus event.\n */\n function _focusInHandler(evt) {\n if (evt.target !== _btnDom) {\n _btnDom.click();\n _dom.removeEventListener('focusin', _focusInHandler);\n }\n }\n\n /**\n * Handler for when the content area is clicked.\n * Refresh the transition to recalculate the max-height.\n * @param {MouseEvent} evt - the mouse event object.\n */\n function _contentClicked(evt) {\n /* We don't need to refresh if a link was clicked as we'll be navigating\n to another page. */\n if (evt.target.tagName !== 'A' && _flyout.isExpanded()) {\n _transition.refresh();\n }\n }\n\n // Attach public events.\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n\n this.init = init;\n\n return this;\n}\n\nSummaryMinimal.BASE_CLASS = BASE_CLASS;\nSummaryMinimal.init = (scope) =>\n instantiateAll(`.${BASE_CLASS}`, SummaryMinimal, scope);\n\nexport { SummaryMinimal, SummaryMinimalStyles };\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-form__group{margin-bottom:1.875em}.o-form__fieldset{border:none;margin:0;padding:0}.o-form__fieldset .m-form-field+.m-form-field{margin-top:.625em}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-form-alert{--form-alert-icon-color:var(--form-alert-icon-color-default);display:flex;gap:.3125rem}.a-form-alert .cf-icon-svg{color:var(--form-alert-icon-color);flex:none;margin-top:.0625rem}.a-form-alert__text{display:block}.a-form-alert--success .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-success)}.a-form-alert--warning .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-warning)}.a-form-alert--error .cf-icon-svg{--form-alert-icon-color:var(--form-alert-icon-color-error)}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.m-form-field{--choice-border:var(--choice-border-default);--choice-border-hover:var(--choice-border-hover-default);--choice-border-focus:var(--choice-border-focus-default);--choice-outline-focus:var(--choice-outline-focus-default);--choice-bg:var(--choice-bg-default);--choice-bg-selected:var(--choice-bg-selected-default);--choice-bg-selected-focus:var(--choice-bg-selected-focus-default);--choice-label-disabled:var(--choice-label-disabled-default);--choice-border-width-addendum:0}.m-form-field .a-text-input--full{width:100%}.m-form-field .a-label+.a-text-input{margin-top:.3125em}.m-form-field--checkbox .a-label,.m-form-field--radio .a-label{cursor:pointer;display:inline-grid;grid-template-columns:1.875em auto;overflow-wrap:anywhere;vertical-align:top}.m-form-field--checkbox .a-label:before,.m-form-field--radio .a-label:before{background-color:var(--choice-bg);border:1px solid var(--choice-border);content:\"\";display:inline-block;grid-row-end:3;grid-row-start:1;height:1.125em;left:1px;margin-right:10px;outline:var(--choice-border-width-addendum) solid var(--choice-border);position:relative;top:1px;vertical-align:top;width:1.125em}.m-form-field--checkbox .a-label.hover:before,.m-form-field--checkbox .a-label:hover:before,.m-form-field--radio .a-label.hover:before,.m-form-field--radio .a-label:hover:before{border-color:var(--choice-border-hover)}.m-form-field--checkbox .a-checkbox,.m-form-field--checkbox .a-radio,.m-form-field--radio .a-checkbox,.m-form-field--radio .a-radio{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}.m-form-field--checkbox .a-checkbox.focus+.a-label,.m-form-field--checkbox .a-checkbox:focus+.a-label,.m-form-field--checkbox .a-radio.focus+.a-label,.m-form-field--checkbox .a-radio:focus+.a-label,.m-form-field--radio .a-checkbox.focus+.a-label,.m-form-field--radio .a-checkbox:focus+.a-label,.m-form-field--radio .a-radio.focus+.a-label,.m-form-field--radio .a-radio:focus+.a-label{outline:1px dotted var(--choice-outline-focus);outline-offset:1px}.m-form-field--checkbox .a-checkbox:disabled.focus+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled.hover+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:focus+.a-label:before,.m-form-field--checkbox .a-checkbox:disabled:hover+.a-label:before,.m-form-field--checkbox .a-radio:disabled.focus+.a-label:before,.m-form-field--checkbox .a-radio:disabled.hover+.a-label:before,.m-form-field--checkbox .a-radio:disabled:checked+.a-label:before,.m-form-field--checkbox .a-radio:disabled:focus+.a-label:before,.m-form-field--checkbox .a-radio:disabled:hover+.a-label:before,.m-form-field--radio .a-checkbox:disabled.focus+.a-label:before,.m-form-field--radio .a-checkbox:disabled.hover+.a-label:before,.m-form-field--radio .a-checkbox:disabled:checked+.a-label:before,.m-form-field--radio .a-checkbox:disabled:focus+.a-label:before,.m-form-field--radio .a-checkbox:disabled:hover+.a-label:before,.m-form-field--radio .a-radio:disabled.focus+.a-label:before,.m-form-field--radio .a-radio:disabled.hover+.a-label:before,.m-form-field--radio .a-radio:disabled:checked+.a-label:before,.m-form-field--radio .a-radio:disabled:focus+.a-label:before,.m-form-field--radio .a-radio:disabled:hover+.a-label:before{border-color:var(--choice-border);box-shadow:none;outline:none}.m-form-field--checkbox .a-checkbox:disabled+.a-label,.m-form-field--checkbox .a-radio:disabled+.a-label,.m-form-field--radio .a-checkbox:disabled+.a-label,.m-form-field--radio .a-radio:disabled+.a-label{color:var(--choice-label-disabled);cursor:not-allowed}.m-form-field--checkbox .a-checkbox:disabled+.a-label:before,.m-form-field--checkbox .a-radio:disabled+.a-label:before,.m-form-field--radio .a-checkbox:disabled+.a-label:before,.m-form-field--radio .a-radio:disabled+.a-label:before{outline:none}.m-form-field--checkbox:has(.a-checkbox:disabled),.m-form-field--checkbox:has(.a-radio:disabled),.m-form-field--radio:has(.a-checkbox:disabled),.m-form-field--radio:has(.a-radio:disabled){--choice-border:var(--choice-border-disabled);--choice-bg:var(--choice-bg-disabled);--choice-bg-selected:var(--choice-bg-selected-disabled)}.m-form-field--checkbox-error,.m-form-field--checkbox-success,.m-form-field--checkbox-warning,.m-form-field--radio-error,.m-form-field--radio-success,.m-form-field--radio-warning{--choice-border-width-addendum:1px}.m-form-field--checkbox-success,.m-form-field--radio-success{--choice-border:var(--choice-border-success)}.m-form-field--checkbox-warning,.m-form-field--radio-warning{--choice-border:var(--choice-border-warning)}.m-form-field--checkbox-error,.m-form-field--radio-error{--choice-border:var(--choice-border-error)}.m-form-field--checkbox .a-checkbox.focus+.a-label:before,.m-form-field--checkbox .a-checkbox:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline-color:var(--choice-border-focus)}.m-form-field--checkbox .a-checkbox.hover+.a-label:before,.m-form-field--checkbox .a-checkbox:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline-color:var(--choice-border-hover)}.m-form-field--checkbox .a-checkbox:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--approved\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>');background-position:center 0;background-repeat:no-repeat;background-size:auto 1.1875em}.m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>')}.m-form-field--radio .a-label:before{border-radius:50%;transform:rotate(0deg)}.m-form-field--radio .a-radio.focus+.a-label:before,.m-form-field--radio .a-radio:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline:none}.m-form-field--radio .a-radio.hover+.a-label:before,.m-form-field--radio .a-radio:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline:none}.m-form-field--radio .a-radio:checked+.a-label:before{background-color:var(--choice-bg-selected);box-shadow:inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.focus:checked+.a-label:before,.m-form-field--radio .a-radio:focus:checked+.a-label:before{background-color:var(--choice-bg-selected-focus);border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus),inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.hover:checked+.a-label:before,.m-form-field--radio .a-radio:hover:checked+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover),inset 0 0 0 2px var(--white)}.m-form-field--radio .a-radio.hover:checked:disabled+.a-label:before,.m-form-field--radio .a-radio:checked:disabled+.a-label:before,.m-form-field--radio .a-radio:hover:checked:disabled+.a-label:before{background-color:var(--choice-bg-selected);border-color:var(--choice-border-disabled);box-shadow:inset 0 0 0 2px var(--gray-10)}.m-form-field--lg-target{display:block}.m-form-field--lg-target .a-label{background-color:var(--gray-10);box-sizing:border-box;padding:15px;width:100%}.m-form-field--lg-target .a-checkbox:checked+.a-label,.m-form-field--lg-target .a-radio:checked+.a-label{background-color:var(--pacific-20);box-shadow:inset 0 0 0 1px var(--pacific)}.m-form-field--lg-target .a-checkbox.focus+.a-label,.m-form-field--lg-target .a-checkbox.hover+.a-label,.m-form-field--lg-target .a-checkbox:focus+.a-label,.m-form-field--lg-target .a-checkbox:hover+.a-label,.m-form-field--lg-target .a-radio.focus+.a-label,.m-form-field--lg-target .a-radio.hover+.a-label,.m-form-field--lg-target .a-radio:focus+.a-label,.m-form-field--lg-target .a-radio:hover+.a-label{box-shadow:inset 0 0 0 2px var(--pacific)}.m-form-field--lg-target .a-checkbox.focus+.a-label,.m-form-field--lg-target .a-checkbox:checked+.a-label,.m-form-field--lg-target .a-checkbox:focus+.a-label,.m-form-field--lg-target .a-radio.focus+.a-label,.m-form-field--lg-target .a-radio:checked+.a-label,.m-form-field--lg-target .a-radio:focus+.a-label{outline-offset:1px}.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,.m-form-field--lg-target .a-checkbox:disabled+.a-label,.m-form-field--lg-target .a-checkbox:hover:disabled+.a-label,.m-form-field--lg-target .a-radio:checked:disabled+.a-label,.m-form-field--lg-target .a-radio:disabled+.a-label,.m-form-field--lg-target .a-radio:hover:disabled+.a-label{background-color:var(--gray-20);box-shadow:none;color:var(--choice-label-disabled)}.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,.m-form-field--lg-target .a-checkbox:checked:disabled+.a-label:before,.m-form-field--lg-target .a-radio:checked:disabled+.a-label,.m-form-field--lg-target .a-radio:checked:disabled+.a-label:before{border:1px solid var(--form-field-border-disabled)}.m-form-field .a-form-alert{margin-top:.9375em}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-label{display:inline-block}.a-label__helper{color:var(--gray-dark);font-size:1rem;font-weight:400}.a-label__helper--block{display:block;margin-top:.8333333333em}.a-label--heading{display:block;font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.5555555556em;text-transform:inherit}.h1+.a-label--heading,.h2+.a-label--heading,.h3+.a-label--heading,.h5+.a-label--heading,.h6+.a-label--heading,blockquote+.a-label--heading,dl+.a-label--heading,figure+.a-label--heading,h1+.a-label--heading,h2+.a-label--heading,h3+.a-label--heading,h5+.a-label--heading,h6+.a-label--heading,img+.a-label--heading,ol+.a-label--heading,p+.a-label--heading,table+.a-label--heading,ul+.a-label--heading{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.a-label--heading{font-size:1em;line-height:1.125;margin-bottom:.625em}}.a-label--heading .a-label__helper--block{margin-top:.625rem}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-range{appearance:none;min-height:49px;width:100%}.a-range::-webkit-slider-runnable-track{background-color:var(--gray-80);border:1px solid var(--gray-40);border-radius:8px;cursor:pointer;height:.6875rem;width:100%}.a-range::-moz-range-track{background-color:var(--gray-80);border:1px solid var(--gray-40);border-radius:8px;cursor:pointer;height:.6875rem;width:100%}.a-range::-webkit-slider-thumb{appearance:none;background-color:var(--gray-10);border:1px solid var(--gray-40);border-radius:50%;cursor:pointer;height:2.8125rem;margin-top:-1.125rem;width:2.8125rem}.a-range::-moz-range-thumb{appearance:none;background-color:var(--gray-10);border:1px solid var(--gray-40);border-radius:50%;cursor:pointer;height:2.8125rem;margin-top:-1.125rem;width:2.8125rem}.a-range.focus,.a-range:focus{box-shadow:none;outline:none}.a-range.focus::-webkit-slider-thumb,.a-range:focus::-webkit-slider-thumb{background-color:var(--pacific-20);border:2px solid var(--pacific)}.a-range.focus::-moz-range-thumb,.a-range:focus::-moz-range-thumb{background-color:var(--pacific-20);border:2px solid var(--pacific)}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-search-input{display:flex;flex-direction:column;row-gap:.9375rem}.o-search-input__input{display:flex;flex:0 1 100%;position:relative;width:auto}.o-search-input__input-label{align-self:center;cursor:pointer;left:10px;line-height:.9;position:absolute}.o-search-input__input input[type=search]{appearance:none;padding-left:30px;white-space:nowrap;width:100%}.o-search-input__input button[type=reset]{align-self:center;background-color:transparent;border:1px solid transparent;color:var(--gray-40);display:none;font-size:20px;outline:0;padding:5px;position:absolute;right:0;text-align:right;width:44px}.o-search-input__input button[type=reset]>svg{cursor:pointer;pointer-events:none;width:25px}.o-search-input__input button[type=reset]:focus,.o-search-input__input button[type=reset]:hover{color:var(--black)}.o-search-input__input button[type=reset]:focus>svg{outline:1px dotted var(--pacific)}.o-search-input__input input[type=search]:-ms-input-placeholder~button[type=reset]{display:none}.o-search-input__input input[type=search]:placeholder-shown~button[type=reset]{display:none}.o-search-input__input input[type=search]:not(:-ms-input-placeholder){padding-right:34px}.o-search-input__input input[type=search]:not(:placeholder-shown){padding-right:34px}.o-search-input__input input[type=search]::-webkit-search-cancel-button,.o-search-input__input input[type=search]::-webkit-search-decoration,.o-search-input__input input[type=search]::-webkit-search-results-button,.o-search-input__input input[type=search]::-webkit-search-results-decoration{display:none}.o-search-input .o-search-input__input:hover button[type=reset],.o-search-input:focus-within button[type=reset]{display:block}@media only screen and (min-width:37.5625em){.o-search-input{border-left:0;flex-direction:row}.o-search-input button[type=submit]{border-bottom-left-radius:0;border-top-left-radius:0;flex-basis:25%}}.no-js .o-search-input button[type=reset]{display:none!important}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-select{--select-border:var(--select-border-default);--select-border-width:var(--select-border-width-default);border:var(--select-border-width) solid var(--select-border);position:relative}.a-select:has(select[disabled]){border:var(--select-border-width-default) solid var(--select-border-default)}.a-select select{appearance:none;background-color:var(--white);border:0;border-radius:0;color:var(--black);line-height:1.375;padding:.4375em .375em .375em;width:100%}.a-select select.hover,.a-select select:hover{cursor:pointer;outline:2px solid var(--select-border-hover-default);outline-offset:0}.a-select select.focus,.a-select select:active,.a-select select:focus{box-shadow:0 0 0 2px var(--select-border-focus-default);outline:1px dotted var(--select-border-focus-default);outline-offset:3px}.a-select select[disabled]{background-color:var(--select-bg-disabled-default);cursor:not-allowed}.a-select select[disabled].focus,.a-select select[disabled].hover,.a-select select[disabled]:focus,.a-select select[disabled]:hover{outline:none}.a-select select option:disabled,.a-select select[disabled],.a-select select[disabled] option,.a-select select[disabled] option:disabled{color:var(--select-text-disabled-default)}.a-select:after{background-color:var(--select-icon-bg-default);background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--down\" viewBox=\"0 0 17 19\"><path d=\"M8.5 15.313a1.03 1.03 0 0 1-.728-.302l-6.8-6.8a1.03 1.03 0 0 1 1.455-1.456L8.5 12.828l6.073-6.073a1.03 1.03 0 0 1 1.455 1.456l-6.8 6.8a1.03 1.03 0 0 1-.728.302\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:auto 1.1875em;border-left:1px solid var(--select-border-default);bottom:0;box-sizing:border-box;content:\"\";pointer-events:none;position:absolute;right:0;top:0;width:2.1875em}.a-select--disabled:after{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 17 19\"><path d=\"M8.5 15.313a1.03 1.03 0 0 1-.728-.302l-6.8-6.8a1.03 1.03 0 0 1 1.455-1.456L8.5 12.828l6.073-6.073a1.03 1.03 0 0 1 1.455 1.456l-6.8 6.8a1.03 1.03 0 0 1-.728.302\"/></svg>')}.a-select--error{--select-border:var(--select-border-error);--select-border-width:var(--select-border-width-error)}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.a-tag-filter{background-color:var(--teal-20);border:1px solid var(--teal);border-radius:.1875rem;color:var(--black);display:flex;gap:.625rem;line-height:1.1875;min-width:fit-content;padding:4px 6px;text-align:left}.a-tag-filter .cf-icon-svg{flex:none;pointer-events:none}.a-tag-filter>label{display:contents;pointer-events:none}a.a-tag-filter:hover,button.a-tag-filter:hover{background-color:var(--teal-40);cursor:pointer}a.a-tag-filter:focus,button.a-tag-filter:focus{outline:1px dotted var(--teal);outline-offset:1px}a.a-tag-filter:active,button.a-tag-filter:active{background-color:var(--teal-60)}a.a-tag-filter,a.a-tag-filter.focus,a.a-tag-filter.hover,a.a-tag-filter.visited,a.a-tag-filter:focus,a.a-tag-filter:hover,a.a-tag-filter:visited{border-color:var(--teal);color:var(--black)}a.a-tag-filter.active,a.a-tag-filter:active{border-color:var(--teal-60);color:var(--black)}.a-tag-topic{color:var(--gold-80);display:flex;font-size:.875rem;font-weight:600;gap:.3125rem;letter-spacing:1px;text-transform:uppercase}.a-tag-topic .a-tag-topic__text{color:var(--gray);word-break:break-word}@media only screen and (max-width:37.5em){.a-tag-topic{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}.a-tag-topic .cf-icon-svg--right{margin-left:auto}.a-tag-topic .a-tag-topic__text{border-bottom-width:0;flex-shrink:10}}a.a-tag-topic,a.a-tag-topic.active,a.a-tag-topic.focus,a.a-tag-topic.hover,a.a-tag-topic.visited,a.a-tag-topic:active,a.a-tag-topic:focus,a.a-tag-topic:hover,a.a-tag-topic:visited{border-color:var(--gold-80);color:var(--gold-80)}a.a-tag-topic .a-tag-topic__text{border-bottom-color:var(--gold-80)}@media only screen and (max-width:37.5em){a.a-tag-topic{border-bottom-width:1px;border-top-width:1px}a.a-tag-topic:focus{outline:none}a.a-tag-topic:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){li:has(.a-tag-topic)+li:has(.a-tag-topic) .a-tag-topic{border-top:none;position:relative}li:has(.a-tag-topic)+li:has(.a-tag-topic) a.a-tag-topic:focus:before,li:has(.a-tag-topic)+li:has(.a-tag-topic) a.a-tag-topic:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}.a-tag-topic__bullet{font-size:1rem;line-height:1rem}@media only screen and (min-width:37.5625em){a.a-tag-topic__text,a.a-tag-topic__text.active,a.a-tag-topic__text.focus,a.a-tag-topic__text.hover,a.a-tag-topic__text.visited,a.a-tag-topic__text:active,a.a-tag-topic__text:focus,a.a-tag-topic__text:hover,a.a-tag-topic__text:visited{border-color:var(--gray);color:var(--gray)}a.a-tag-topic,a.a-tag-topic:active,a.a-tag-topic:focus,a.a-tag-topic:hover,a.a-tag-topic:visited{border-bottom:none;outline-offset:1px}a.a-tag-topic .a-tag-topic__text,a.a-tag-topic:active .a-tag-topic__text,a.a-tag-topic:focus .a-tag-topic__text,a.a-tag-topic:hover .a-tag-topic__text,a.a-tag-topic:visited .a-tag-topic__text{border-bottom:1px dotted var(--gold-80);padding-bottom:1px}a.a-tag-topic:hover .a-tag-topic__text{border-bottom:1px solid var(--gold-80)}a.a-tag-topic:focus{outline-color:var(--gray)}a.a-tag-topic:focus .a-tag-topic__text{border-bottom-style:solid!important}}.m-tag-group{list-style-type:none;padding-left:0}.m-tag-group li{display:contents;margin-bottom:0}@media only screen and (min-width:37.5625em){.m-tag-group{display:flex;flex-wrap:wrap;gap:.9375em}.m-tag-group--stacked{flex-direction:column;width:fit-content}}.m-tag-group:has(.a-tag-filter){display:flex;flex-wrap:wrap;gap:.9375em}html[lang=ar] .m-tag-group{direction:rtl;padding-right:0}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-text-input{--input-text:var(--input-text-default);--input-text-disabled:var(--input-text-disabled-default);--input-text-placeholder:var(--input-text-placeholder-default);--input-border:var(--input-border-default);--input-border-hover:var(--input-border-hover-default);--input-border-focus:var(--input-border-focus-default);--input-bg:var(--input-bg-default);--input-bg-disabled:var(--input-bg-disabled-default);appearance:none;background:var(--input-bg);border:1px solid var(--input-border);box-sizing:border-box;color:var(--input-text);display:inline-block;outline:0 solid var(--input-border);padding:.4375em}.a-text-input.hover,.a-text-input:hover{border-color:var(--input-border-hover);outline:1px solid var(--input-border-hover)}.a-text-input.focus,.a-text-input:focus{border-color:var(--input-border-focus);box-shadow:0 0 0 1px var(--input-border-focus);outline:1px dotted var(--input-border-focus);outline-offset:2px}.a-text-input:disabled{--input-border:var(--input-border-disabled)}.a-text-input:disabled,.a-text-input:disabled.focus,.a-text-input:disabled.hover,.a-text-input:disabled:focus,.a-text-input:disabled:hover{background-color:var(--input-bg-disabled);border-color:var(--input-border);color:var(--input-text-disabled);cursor:not-allowed;outline:none}.a-text-input--error,.a-text-input--success,.a-text-input--warning{outline-width:1px}.a-text-input--error{--input-border:var(--input-border-error)}.a-text-input--warning{--input-border:var(--input-border-warning)}.a-text-input--success{--input-border:var(--input-border-success)}::-webkit-search-decoration{appearance:none}:-ms-input-placeholder{color:var(--input-text-placeholder)}::placeholder{color:var(--input-text-placeholder)}input[type=date]::-webkit-datetime-edit{color:var(--input-text-placeholder)}", "// Undefined return value for void methods.\nlet UNDEFINED;\n\n// How many options may be checked.\nexport const MAX_SELECTIONS = 5;\n\n/**\n * Escapes a string.\n * @param {string} str - The string to escape.\n * @returns {string} The escaped string.\n */\nfunction stringEscape(str) {\n return str.replace(/[-\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n}\n\n/**\n * Tests whether a string matches another.\n * @param {string} x - The control string.\n * @param {string} y - The comparison string.\n * @returns {boolean} True if `x` and `y` match, false otherwise.\n */\nfunction stringMatch(x, y) {\n return RegExp(stringEscape(y.trim()), 'i').test(x);\n}\n\n/**\n * @class\n * MultiselectModel\n * @param {HTMLOptionsCollection} options\n * Set of options from a <select> element.\n * @param {string} name - a unique name for this multiselect.\n * @param {object} config - Customization of Multiselect behavior\n */\nfunction MultiselectModel(options, name, config) {\n const _options = options;\n const _name = name;\n const _max = config?.maxSelections || MAX_SELECTIONS;\n\n let _optionsData = [];\n\n let _selectedIndices = [];\n let _filterIndices = [];\n\n /* When the options list is filtered, we store a list of filtered indices\n so that when the filter changes we can reset the last matched options. */\n let _lastFilterIndices = [];\n\n // Which option is in focus. -1 means the focus is on the search input.\n let _index = -1;\n\n /**\n * @param {HTMLElement} item - An option HTML node.\n * @returns {string} A (hopefully) unique ID.\n * If it's not unique, we have a duplicate option value.\n */\n function _getOptionId(item) {\n return _name + '-' + item.value.trim().replace(/\\s+/g, '-').toLowerCase();\n }\n\n /**\n * @returns {boolean}\n * True if the maximum number of options are checked, false otherwise.\n */\n function isAtMaxSelections() {\n return _selectedIndices.length >= _max;\n }\n\n /**\n * Cleans up a list of options for saving to memory.\n * @param {HTMLOptionsCollection} list - The options from a select element.\n * @returns {Array} An array of option objects.\n */\n function _formatOptions(list) {\n let item;\n const cleaned = [];\n\n let isChecked = false;\n for (let i = 0, len = list.length; i < len; i++) {\n item = list[i];\n isChecked = isAtMaxSelections() ? false : item.defaultSelected;\n cleaned.push({\n id: _getOptionId(item),\n value: item.value,\n text: item.text,\n checked: isChecked,\n });\n\n // If an option is initially checked, we need to record it.\n if (isChecked) {\n _selectedIndices.push(i);\n }\n }\n\n return cleaned;\n }\n\n /**\n * @returns {MultiselectModel} An instance.\n */\n function init() {\n _optionsData = _formatOptions(_options);\n\n return this;\n }\n\n /**\n * Toggle checked value of an option.\n * @param {number} index - The index position of the option in the list.\n * @returns {boolean} A value of true is checked and false is unchecked.\n */\n function toggleOption(index) {\n _optionsData[index].checked = !_optionsData[index].checked;\n\n if (_selectedIndices.length < _max && _optionsData[index].checked) {\n _selectedIndices.push(index);\n _selectedIndices.sort();\n\n return true;\n }\n // We're over the max selections, reverse the check of the option.\n _optionsData[index].checked = false;\n _selectedIndices = _selectedIndices.filter(function (currIndex) {\n return currIndex !== index;\n });\n\n return false;\n }\n\n /**\n * Utility function for Array.reduce() used in searchIndices.\n * @param {Array} aggregate - The reducer's accumulator.\n * @param {object} item - Each item in the collection.\n * @param {number} index - The index of item in the collection.\n * @param {string} value - The value of item in the collection.\n * @returns {Array} The reducer's accumulator.\n */\n function _searchAggregator(aggregate, item, index, value) {\n if (stringMatch(item.text, value)) {\n aggregate.push(index);\n }\n return aggregate;\n }\n\n /**\n * Search for a query string in the options text and return the indices of\n * the matching positions in the options array.\n * @param {string} query - A query string.\n * @returns {Array} List of indices of the matching entries from the options.\n */\n function filterIndices(query) {\n // Convert query to a string if its not.\n if (Object.prototype.toString.call(query) !== '[object String]') {\n query = '';\n }\n _lastFilterIndices = _filterIndices;\n if (_optionsData.length > 0) {\n _filterIndices = _optionsData.reduce(function (acc, item, index) {\n return _searchAggregator(acc, item, index, query);\n }, []);\n }\n // Reset index position.\n _index = -1;\n\n return _filterIndices;\n }\n\n /**\n * Retrieve an option object from the options list.\n * @param {number} index - The index position in the options list.\n * @returns {object} The option object with text, value, and checked value.\n */\n function getOption(index) {\n return _optionsData[index];\n }\n\n /**\n * Set the index of the collection (represents the highlighted option).\n * @param {number} value - The index to set.\n */\n function setIndex(value) {\n const filterCount = _filterIndices.length;\n const count = filterCount === 0 ? _optionsData.length : filterCount;\n if (value < 0) {\n _index = -1;\n } else if (value >= count) {\n _index = count - 1;\n } else {\n _index = value;\n }\n }\n\n /**\n * @returns {number} The current index (highlighted option).\n */\n function getIndex() {\n return _index;\n }\n\n this.init = init;\n\n // This is used to check an item in the collection.\n this.toggleOption = toggleOption;\n this.getSelectedIndices = function () {\n return _selectedIndices;\n };\n this.isAtMaxSelections = isAtMaxSelections;\n\n // This is used to search the items in the collection.\n this.filterIndices = filterIndices;\n this.clearFilter = function () {\n _filterIndices = _lastFilterIndices = [];\n return UNDEFINED;\n };\n this.getFilterIndices = function () {\n return _filterIndices;\n };\n this.getLastFilterIndices = function () {\n return _lastFilterIndices;\n };\n\n // These are used to highlight items in the collection.\n this.getIndex = getIndex;\n this.setIndex = setIndex;\n this.resetIndex = function () {\n _index = -1;\n return _index;\n };\n\n // This is used to retrieve items from the collection.\n this.getOption = getOption;\n\n return this;\n}\n\nexport default MultiselectModel;\n", "/**\n * Shortcut for creating new dom elements.\n * @param {string} tag - The html elem to create.\n * @param {HTMLElement} parentNode - The parent node to attach to.\n * @param {object} options - The options for building the elem.\n * @returns {HTMLElement} The created elem.\n */\nexport function create(tag, parentNode, options) {\n const elem = document.createElement(tag);\n\n Object.keys(options).forEach((key) => {\n const val = options[key];\n if (key in elem) {\n elem[key] = val;\n } else {\n elem.setAttribute(key, val);\n }\n });\n\n if (parentNode) parentNode.appendChild(elem);\n return elem;\n}\n", "<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>", "import {\n EventObserver,\n checkDom,\n setInitFlag,\n isMobileUserAgent,\n instantiateAll,\n} from '../../utilities';\nimport MultiselectModel, { MAX_SELECTIONS } from './multiselect-model.js';\nimport { create } from './multiselect-utils.js';\n\nimport * as MultiselectStyles from './multiselect.scss';\n\nimport * as closeIconSrc from '../cfpb-icons/icons/error.svg';\nconst closeIcon = closeIconSrc.default;\n\nconst BASE_CLASS = 'o-multiselect';\nconst CHECKBOX_INPUT_CLASS = 'a-checkbox';\nconst TEXT_INPUT_CLASS = 'a-text-input';\n\n// Constants for direction.\nconst DIR_PREV = 'prev';\nconst DIR_NEXT = 'next';\n\n// Constants for key binding.\nconst KEY_RETURN = 'Enter';\nconst KEY_SPACE = ' ';\nconst KEY_ESCAPE = 'Escape';\nconst KEY_UP = 'ArrowUp';\nconst KEY_DOWN = 'ArrowDown';\nconst KEY_TAB = 'Tab';\n\n// Configuration default\nconst DEFAULT_CONFIG = {\n // TODO: renderTags was added as a workaround for DS icons not rendering correctly when integrating with a React implementation.\n renderTags: true, // Allow the Multiselect to generate the Tag elements in the DOM\n maxSelections: MAX_SELECTIONS, // Maximum number of options a user can select\n};\n\n/**\n * Multiselect\n * @class\n * @classdesc Initializes a new Multiselect molecule.\n * @param {HTMLElement} element - The DOM element within which to search\n * for the molecule.\n * @returns {Multiselect} An instance.\n */\nfunction Multiselect(element) {\n /* TODO: As the multiselect is developed further\n explore whether it should use an updated\n class name or data-* attribute in the\n markup so that it doesn't apply globally by default. */\n element.classList.add(BASE_CLASS);\n\n // Internal vars.\n let _dom = checkDom(element, BASE_CLASS);\n let _isBlurSkipped = false;\n let _name;\n let _placeholder;\n let _model;\n let _options;\n let _config; // Multiselect configuration object\n\n // Markup elems, convert this to templating engine in the future.\n let _containerDom;\n let _selectionsDom;\n let _headerDom;\n let _searchDom;\n let _fieldsetDom;\n let _optionsDom;\n const _optionItemDoms = [];\n let _instance;\n\n /**\n * Set the filtered matched state.\n */\n function _filterMatches() {\n _optionsDom.classList.remove('u-no-results');\n _optionsDom.classList.add('u-filtered');\n\n let filteredIndices = _model.getLastFilterIndices();\n for (let i = 0, len = filteredIndices.length; i < len; i++) {\n _optionItemDoms[filteredIndices[i]].classList.remove('u-filter-match');\n }\n\n filteredIndices = _model.getFilterIndices();\n for (let j = 0, len = filteredIndices.length; j < len; j++) {\n _optionItemDoms[filteredIndices[j]].classList.add('u-filter-match');\n }\n }\n\n /**\n * Resets the filtered option list.\n */\n function _resetFilter() {\n _optionsDom.classList.remove('u-filtered', 'u-no-results');\n\n for (let i = 0, len = _optionsDom.children.length; i < len; i++) {\n _optionsDom.children[i].classList.remove('u-filter-match');\n }\n\n _model.clearFilter();\n }\n\n /**\n * Updates the list of options to show the user there\n * are no matching results.\n */\n function _filterNoMatches() {\n _optionsDom.classList.add('u-no-results');\n _optionsDom.classList.remove('u-filtered');\n }\n\n /**\n * Filter the options list.\n * Every time we filter we have two lists of indices:\n * - The matching options (filterIndices).\n * - The matching options of the last filter (_lastFilterIndices).\n * We need to turn off the filter for any of the last filter matches\n * that are not in the new set, and turn on the filter for the matches\n * that are not in the last set.\n * @param {Array} filterIndices - List of indices to filter from the options.\n * @returns {boolean} True if options are filtered, false otherwise.\n */\n function _filterList(filterIndices) {\n if (filterIndices.length > 0) {\n _filterMatches();\n return true;\n }\n\n _filterNoMatches();\n return false;\n }\n\n /**\n * Evaluates the list of options based on the user's query in the\n * search input.\n * @param {string} value - Text the user has entered in the search query.\n */\n function _evaluate(value) {\n _resetFilter();\n _model.resetIndex();\n const matchedIndices = _model.filterIndices(value);\n _filterList(matchedIndices);\n }\n\n /**\n * Expand the multiselect drop down.\n * @returns {Multiselect} An instance.\n */\n function expand() {\n _containerDom.classList.add('u-active');\n _fieldsetDom.classList.remove('u-invisible');\n _fieldsetDom.setAttribute('aria-hidden', false);\n _instance.dispatchEvent('expandbegin', { target: _instance });\n\n return _instance;\n }\n\n /**\n * Collapse the multiselect drop down.\n * @returns {Multiselect} An instance.\n */\n function collapse() {\n _containerDom.classList.remove('u-active');\n _fieldsetDom.classList.add('u-invisible');\n _fieldsetDom.setAttribute('aria-hidden', true);\n _model.resetIndex();\n _instance.dispatchEvent('collapsebegin', { target: _instance });\n\n return _instance;\n }\n\n /**\n * Highlights an option in the list.\n * @param {string} direction\n * Direction to highlight compared to the current focus.\n */\n function _highlight(direction) {\n if (direction === DIR_NEXT) {\n _model.setIndex(_model.getIndex() + 1);\n } else if (direction === DIR_PREV) {\n _model.setIndex(_model.getIndex() - 1);\n }\n\n const index = _model.getIndex();\n if (index > -1) {\n let filteredIndex = index;\n const filterIndices = _model.getFilterIndices();\n if (filterIndices.length > 0) {\n filteredIndex = filterIndices[index];\n }\n const option = _model.getOption(filteredIndex);\n const value = option.value;\n const item = _optionsDom.querySelector('[data-option=\"' + value + '\"]');\n const input = item.querySelector('input');\n\n _isBlurSkipped = true;\n input.focus();\n } else {\n _isBlurSkipped = false;\n _searchDom.focus();\n }\n }\n\n /**\n * Resets the search input and filtering.\n */\n function _resetSearch() {\n _searchDom.value = '';\n _resetFilter();\n }\n\n /**\n * This passes the click of the selected item button down to the label it\n * contains. This is only required for browsers (IE11) that prevent the\n * click of a selected item from cascading from the button down to the label\n * it contains.\n * @param {MouseEvent} event - The mouse click event object.\n */\n function _selectionClickHandler(event) {\n const target = event.target;\n if (target.tagName === 'BUTTON') {\n event.preventDefault();\n target.removeEventListener('click', _selectionClickHandler);\n target.querySelector('label').click();\n }\n }\n\n /**\n * @param {KeyboardEvent} event - The key down event object.\n */\n function _selectionKeyDownHandler(event) {\n if (event.key === KEY_SPACE || event.key === KEY_RETURN) {\n const label = event.target.querySelector('label');\n const checkbox = _optionsDom.querySelector(\n '#' + label.getAttribute('for'),\n );\n checkbox.click();\n }\n }\n\n /**\n * Create a unique ID based on a select's option HTML element.\n * @param {HTMLElement} option - A option HTML element.\n * @returns {string} A hopefully unique ID.\n */\n function _getOptionId(option) {\n /* Replace any character that is not a word character with a dash.\n https://regex101.com/r/ShHmRw/1\n */\n return (\n _name + '-' + option.value.trim().replace(/[^\\w]/g, '-').toLowerCase()\n );\n }\n\n /**\n * @param {HTMLElement} selectionsDom - The UL item to inject list item into.\n * @param {HTMLElement} option - The OPTION item to extract content from.\n */\n function _createSelectedItem(selectionsDom, option) {\n const optionId = _getOptionId(option);\n const selectionsItemDom = create('li', null, {\n 'data-option': option.value,\n });\n\n const selectionsItemLabelDom = create('button', selectionsItemDom, {\n type: 'button',\n class: 'a-tag-filter',\n innerHTML:\n '<label for=' + optionId + '>' + option.text + closeIcon + '</label>',\n });\n\n selectionsDom.appendChild(selectionsItemDom);\n\n selectionsItemLabelDom.addEventListener('click', _selectionClickHandler);\n selectionsItemLabelDom.addEventListener(\n 'keydown',\n _selectionKeyDownHandler,\n );\n }\n\n /**\n * Tracks a user's selections and updates the list in the dom.\n * @param {number} optionIndex - The index position of the chosen option.\n */\n function _updateSelections(optionIndex) {\n const option =\n _model.getOption(optionIndex) || _model.getOption(_model.getIndex());\n\n if (option) {\n if (option.checked) {\n if (_optionsDom.classList.contains('u-max-selections')) {\n _optionsDom.classList.remove('u-max-selections');\n }\n\n const dataOptionSel = '[data-option=\"' + option.value + '\"]';\n const _selectionsItemDom = _selectionsDom.querySelector(dataOptionSel);\n\n // If the <Tag> exists\n if (typeof _selectionsItemDom !== 'undefined' && _selectionsItemDom) {\n _selectionsDom?.removeChild(_selectionsItemDom);\n }\n }\n // Else, if we are configured to display <Tag>s then render them\n else if (_config?.renderTags && _selectionsDom) {\n _createSelectedItem(_selectionsDom, option);\n }\n _model.toggleOption(optionIndex);\n\n if (_model.isAtMaxSelections()) {\n _optionsDom.classList.add('u-max-selections');\n }\n\n _instance.dispatchEvent('selectionsupdated', { target: _instance });\n }\n\n _model.resetIndex();\n _isBlurSkipped = false;\n\n if (_fieldsetDom.getAttribute('aria-hidden') === 'false') {\n _searchDom.focus();\n }\n }\n\n /**\n * Handles the functions to trigger on the checkbox change.\n * @param {Event} event - The checkbox change event.\n */\n function _changeHandler(event) {\n _updateSelections(Number(event.target.getAttribute('data-index')));\n _resetSearch();\n }\n\n /**\n * Binds events to the search input, option list, and checkboxes.\n */\n function _bindEvents() {\n _headerDom.addEventListener('mousemove', function (event) {\n const target = event.target;\n // Check if we're over the down-arrow on the right side of the input.\n if (event.offsetX > target.offsetWidth - 35) {\n target.style.cursor = 'pointer';\n } else {\n target.style.cursor = 'auto';\n }\n });\n\n _headerDom.addEventListener('mouseup', function (event) {\n const target = event.target;\n\n /* Check if we're over the down-arrow on the right side of the input.\n Also check if the fieldset is open.\n 35 = width of the arrow on the right of the search input.\n 140 = the max-height value set in multiselect.src for the fieldset.\n */\n if (\n event.offsetX > target.offsetWidth - 35 &&\n _fieldsetDom.offsetHeight === 140\n ) {\n _searchDom.blur();\n }\n });\n\n _searchDom.addEventListener('input', function () {\n _evaluate(this.value);\n });\n\n _searchDom.addEventListener('focus', function () {\n if (_fieldsetDom.getAttribute('aria-hidden') === 'true') {\n expand();\n }\n });\n\n _searchDom.addEventListener('blur', function () {\n if (\n !_isBlurSkipped &&\n _fieldsetDom.getAttribute('aria-hidden') === 'false'\n ) {\n collapse();\n }\n });\n\n _searchDom.addEventListener('keydown', function (event) {\n const key = event.key;\n\n if (\n _fieldsetDom.getAttribute('aria-hidden') === 'true' &&\n key !== KEY_TAB\n ) {\n expand();\n }\n\n if (key === KEY_RETURN) {\n event.preventDefault();\n _highlight(DIR_NEXT);\n } else if (key === KEY_ESCAPE) {\n _resetSearch();\n collapse();\n } else if (key === KEY_DOWN) {\n _highlight(DIR_NEXT);\n } else if (\n key === KEY_TAB &&\n !event.shiftKey &&\n _fieldsetDom.getAttribute('aria-hidden') === 'false'\n ) {\n collapse();\n }\n });\n\n _optionsDom.addEventListener('mousedown', function () {\n _isBlurSkipped = true;\n });\n\n _optionsDom.addEventListener('keydown', function (event) {\n const key = event.key;\n const target = event.target;\n const checked = target.checked;\n\n if (key === KEY_RETURN) {\n event.preventDefault();\n\n /* Programmatically checking a checkbox does not fire a change event\n so we need to manually create an event and dispatch it from the input.\n */\n target.checked = !checked;\n const evt = new Event('change', { bubbles: false, cancelable: true });\n target.dispatchEvent(evt);\n } else if (key === KEY_ESCAPE) {\n _searchDom.focus();\n collapse();\n } else if (key === KEY_UP) {\n _highlight(DIR_PREV);\n } else if (key === KEY_DOWN) {\n _highlight(DIR_NEXT);\n }\n });\n\n _fieldsetDom.addEventListener('mousedown', function (event) {\n if (event.target.tagName === 'LABEL') {\n _isBlurSkipped = true;\n }\n });\n\n const inputs = _optionsDom.querySelectorAll('input');\n for (let i = 0, len = inputs.length; i < len; i++) {\n inputs[i].addEventListener('change', _changeHandler);\n }\n\n // Add event listeners to any selections that are present at page load.\n const labelButtons = _selectionsDom.querySelectorAll('button');\n for (let j = 0, len = labelButtons.length; j < len; j++) {\n labelButtons[j].addEventListener('click', _selectionClickHandler);\n labelButtons[j].addEventListener('keydown', _selectionKeyDownHandler);\n }\n }\n\n /**\n * Populates and injects the markup for the custom multiselect.\n * @returns {HTMLElement} Newly created <div> element to hold the multiselect.\n */\n function _populateMarkup() {\n // Add a container for our markup\n _containerDom = document.createElement('div');\n _containerDom.className = BASE_CLASS;\n\n // Create all our markup but wait to manipulate the DOM just once\n _selectionsDom = create('ul', null, {\n className: 'm-tag-group',\n });\n\n _headerDom = create('header', _containerDom, {\n className: BASE_CLASS + '__header',\n });\n\n _searchDom = create('input', _headerDom, {\n className: BASE_CLASS + '__search ' + TEXT_INPUT_CLASS,\n type: 'text',\n placeholder: _placeholder || 'Select up to five',\n id: _dom.id,\n autocomplete: 'off',\n });\n\n _fieldsetDom = create('fieldset', _containerDom, {\n className: BASE_CLASS + '__fieldset u-invisible',\n 'aria-hidden': 'true',\n });\n\n let optionsClasses = BASE_CLASS + '__options';\n if (_model.isAtMaxSelections()) {\n optionsClasses += ' u-max-selections';\n }\n\n _optionsDom = create('ul', _fieldsetDom, {\n className: optionsClasses,\n });\n\n let option;\n let optionId;\n let isChecked;\n for (let i = 0, len = _options.length; i < len; i++) {\n option = _options[i];\n optionId = _getOptionId(option);\n isChecked = _model.getOption(i).checked;\n const optionsItemDom = create('li', _optionsDom, {\n 'data-option': option.value,\n 'data-cy': 'multiselect-option',\n class: 'm-form-field m-form-field--checkbox',\n });\n\n create('input', optionsItemDom, {\n id: optionId,\n // Type must come before value or IE fails\n type: 'checkbox',\n value: option.value,\n name: _name,\n class: CHECKBOX_INPUT_CLASS + ' ' + BASE_CLASS + '__checkbox',\n checked: isChecked,\n 'data-index': i,\n });\n\n create('label', optionsItemDom, {\n for: optionId,\n textContent: option.text,\n className: BASE_CLASS + '__label a-label',\n });\n\n _optionItemDoms.push(optionsItemDom);\n\n // Create <Tag> if enabled\n if (isChecked && _config?.renderTags) {\n _createSelectedItem(_selectionsDom, option);\n }\n }\n\n // Write our new markup to the DOM.\n _containerDom.insertBefore(_selectionsDom, _headerDom);\n _dom.parentNode.insertBefore(_containerDom, _dom);\n _containerDom.appendChild(_dom);\n\n return _containerDom;\n }\n\n /**\n * Set up and create the multiselect.\n * @param {object} multiselectConfig - Multiselect configuration options\n * @returns {Multiselect} An instance.\n */\n function init(multiselectConfig = DEFAULT_CONFIG) {\n if (!setInitFlag(_dom)) {\n return this;\n }\n\n if (isMobileUserAgent()) {\n return this;\n }\n\n _instance = this;\n _name = _dom.name || _dom.id;\n _placeholder = _dom.getAttribute('placeholder');\n _options = _dom.options || [];\n\n // Allow devs to pass the config settings they want and not worry about the rest\n _config = { ...DEFAULT_CONFIG, ...multiselectConfig };\n\n if (_options.length > 0) {\n // Store underlying model so we can expose it externally\n _model = new MultiselectModel(_options, _name, _config).init();\n const newDom = _populateMarkup();\n\n /* Removes <select> element,\n and re-assign DOM reference. */\n _dom.parentNode.removeChild(_dom);\n _dom = newDom;\n\n /* We need to set init flag again since we've created a new <div>\n to replace the <select> element. */\n setInitFlag(_dom);\n\n _bindEvents();\n }\n\n return this;\n }\n\n /**\n * Allow external access to the underlying model for integration/customization when used in other applications.\n * @returns {object} Model\n */\n function getModel() {\n return _model;\n }\n\n // Attach public events.\n this.init = init;\n this.expand = expand;\n this.collapse = collapse;\n\n const eventObserver = new EventObserver();\n this.addEventListener = eventObserver.addEventListener;\n this.removeEventListener = eventObserver.removeEventListener;\n this.dispatchEvent = eventObserver.dispatchEvent;\n this.getModel = getModel;\n this.updateSelections = _updateSelections;\n this.selectionClickHandler = _selectionClickHandler;\n this.selectionKeyDownHandler = _selectionKeyDownHandler;\n\n return this;\n}\n\nMultiselect.BASE_CLASS = BASE_CLASS;\nMultiselect.init = (config) =>\n instantiateAll(`.${BASE_CLASS}`, Multiselect, undefined, config);\n\nexport { Multiselect, MultiselectStyles };\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.cf-icon-svg{height:1.1875em;vertical-align:text-top;fill:currentcolor}.cf-icon-svg--updating,.cf-icon-svg--updating-round{animation:updating-animation 1.25s linear infinite;transform-origin:50% 50%}@keyframes updating-animation{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}html[lang=ar] .cf-icon-svg--arrow-left,html[lang=ar] .cf-icon-svg--arrow-left-round,html[lang=ar] .cf-icon-svg--arrow-right,html[lang=ar] .cf-icon-svg--arrow-right-round,html[lang=ar] .cf-icon-svg--book,html[lang=ar] .cf-icon-svg--book-round,html[lang=ar] .cf-icon-svg--bullhorn,html[lang=ar] .cf-icon-svg--bullhorn-round,html[lang=ar] .cf-icon-svg--cart,html[lang=ar] .cf-icon-svg--cart-round,html[lang=ar] .cf-icon-svg--chart,html[lang=ar] .cf-icon-svg--chart-round,html[lang=ar] .cf-icon-svg--disability,html[lang=ar] .cf-icon-svg--disability-round,html[lang=ar] .cf-icon-svg--document,html[lang=ar] .cf-icon-svg--document-round,html[lang=ar] .cf-icon-svg--edit,html[lang=ar] .cf-icon-svg--edit-round,html[lang=ar] .cf-icon-svg--external-link,html[lang=ar] .cf-icon-svg--external-link-round,html[lang=ar] .cf-icon-svg--help,html[lang=ar] .cf-icon-svg--help-round,html[lang=ar] .cf-icon-svg--left,html[lang=ar] .cf-icon-svg--left-round,html[lang=ar] .cf-icon-svg--list,html[lang=ar] .cf-icon-svg--list-round,html[lang=ar] .cf-icon-svg--paper-clip,html[lang=ar] .cf-icon-svg--paper-clip-round,html[lang=ar] .cf-icon-svg--right,html[lang=ar] .cf-icon-svg--right-round,html[lang=ar] .cf-icon-svg--travel,html[lang=ar] .cf-icon-svg--travel-round{transform:scaleX(-1)}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-card{position:relative}.m-card:not(.m-card--breakout)>a{padding:1.875em}.m-card:not(.m-card--breakout) .m-card__footer{margin-top:auto}.m-card:not(.m-card--breakout,.m-card--topic){background:var(--white);border:solid var(--gray-20);border-width:1px 1px 3px;padding:1.875em}.m-card:not(.m-card--breakout,.m-card--topic),.m-card>a{box-sizing:border-box;display:flex;flex-basis:0;flex-direction:column;flex-grow:1;height:100%}.m-card a:focus{outline-offset:2px}.m-card__footer>a{border-bottom-width:1px;font-weight:500}@media only screen and (max-width:56.3125em){.m-card__heading{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-card__heading,.h2+.m-card__heading,.h4+.m-card__heading,.h5+.m-card__heading,.h6+.m-card__heading,blockquote+.m-card__heading,dl+.m-card__heading,figure+.m-card__heading,h1+.m-card__heading,h2+.m-card__heading,h4+.m-card__heading,h5+.m-card__heading,h6+.m-card__heading,img+.m-card__heading,ol+.m-card__heading,p+.m-card__heading,table+.m-card__heading,ul+.m-card__heading{margin-top:1.3636363636em}}@media only screen and (max-width:56.3125em) and (max-width:37.5em){.m-card__heading{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.m-card__heading,.h2+.m-card__heading,.h3+.m-card__heading,.h5+.m-card__heading,.h6+.m-card__heading,blockquote+.m-card__heading,dl+.m-card__heading,figure+.m-card__heading,h1+.m-card__heading,h2+.m-card__heading,h3+.m-card__heading,h5+.m-card__heading,h6+.m-card__heading,img+.m-card__heading,ol+.m-card__heading,p+.m-card__heading,table+.m-card__heading,ul+.m-card__heading{margin-top:1.6666666667em}}.m-card__heading>a{color:var(--black)}.m-card__heading>a:hover{color:var(--pacific)}.m-card__heading>a .m-card__icon{font-size:1em;margin-bottom:0;padding-right:.46875em}.m-card__heading>a .m-card__icon,.m-card__heading>a span{display:table-cell}.m-card>.m-list{margin-bottom:30px;margin-top:10px}.m-card--topic{background:var(--white);text-align:center;width:170px}.m-card--topic>a{border:solid var(--gray-20);border-width:1px 1px 3px}.m-card--topic .m-card__icon{color:var(--green);font-size:1.875em;margin-bottom:.3125em}.m-card--topic:hover>a{box-shadow:0 2px 0 0 inset var(--gray-20),2px 0 0 0 inset var(--gray-20),-2px 0 0 0 inset var(--gray-20)}.m-card--topic:hover:after{background:var(--green);bottom:1px;content:\"\";height:5px;left:0;position:absolute;width:100%}.m-card--topic .m-card__footer>span{border-color:var(--pacific);border-style:dotted;border-width:0 0 1px;color:var(--pacific);display:inline;font-weight:500;text-decoration:none}.m-card--topic>a:visited .m-card__footer>span{border-color:var(--teal);color:var(--teal)}.m-card--topic:hover .m-card__footer>span{border-style:solid}.m-card--topic:hover .m-card__footer>span,.m-card--topic>a:active .m-card__footer>span,.m-card--topic>a:focus .m-card__footer>span{border-color:var(--pacific-dark);color:var(--pacific-dark)}.m-card--topic>a:active .m-card__footer>span{border-style:solid}.m-card--topic-action .m-card__icon{color:var(--pacific)}.m-card--breakout{min-width:210px;text-align:center}.m-card--breakout>a{padding-top:60px}.m-card--breakout .m-card__inner-wrapper{background:var(--gray-5);border:solid var(--gray-20);border-width:1px 1px 3px;min-height:135px;position:relative;z-index:0}.m-card--breakout .m-card__img{height:120px;left:50%;margin-left:-105px;position:absolute;top:0;width:210px;z-index:1}.m-card--breakout .m-card__footer{margin-top:84px}.m-card--breakout:hover .m-card__inner-wrapper{box-shadow:0 2px 0 0 inset var(--gray-20),2px 0 0 0 inset var(--gray-20),-2px 0 0 0 inset var(--gray-20)}.m-card--breakout:hover:after{background:var(--green);bottom:1px;content:\"\";height:5px;left:0;position:absolute;width:100%}.m-card--breakout .m-card__footer>span{border-color:var(--pacific);border-style:dotted;border-width:0 0 1px;color:var(--pacific);display:inline;font-weight:500;text-decoration:none}.m-card--breakout>a:visited .m-card__footer>span{border-color:var(--teal);color:var(--teal)}.m-card--breakout:hover .m-card__footer>span{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}.m-card--breakout>a:focus .m-card__footer>span{border-color:var(--pacific);color:var(--pacific)}.m-card--breakout>a:active .m-card__footer>span{border-color:var(--navy);border-style:solid;color:var(--navy)}.m-card--breakout .m-card__footer>span{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-card--breakout .m-card__footer>span,.h2+.m-card--breakout .m-card__footer>span,.h4+.m-card--breakout .m-card__footer>span,.h5+.m-card--breakout .m-card__footer>span,.h6+.m-card--breakout .m-card__footer>span,blockquote+.m-card--breakout .m-card__footer>span,dl+.m-card--breakout .m-card__footer>span,figure+.m-card--breakout .m-card__footer>span,h1+.m-card--breakout .m-card__footer>span,h2+.m-card--breakout .m-card__footer>span,h4+.m-card--breakout .m-card__footer>span,h5+.m-card--breakout .m-card__footer>span,h6+.m-card--breakout .m-card__footer>span,img+.m-card--breakout .m-card__footer>span,ol+.m-card--breakout .m-card__footer>span,p+.m-card--breakout .m-card__footer>span,table+.m-card--breakout .m-card__footer>span,ul+.m-card--breakout .m-card__footer>span{margin-top:1.3636363636em}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-card-group>h2{margin-bottom:1.875rem}.o-card-group--column-2 .o-card-group__cards{grid-template-columns:1fr 1fr}.o-card-group--column-3 .o-card-group__cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media only screen and (max-width:63.8125em){.o-card-group--column-3 .o-card-group__cards{grid-template-columns:1fr 1fr}}.o-card-group__cards{column-gap:1.25em;display:grid;row-gap:1.25em}@media only screen and (max-width:37.5em){.o-card-group__cards{grid-template-columns:100%!important}}.o-card-group--bg-green{background:var(--green-20);padding:1.875em}.o-card-group__cards,_:-ms-lang(x){display:block}.o-card-group__cards .m-card,_:-ms-lang(x) .m-card{display:block;float:left;margin-bottom:10px}.o-card-group--column-2 .o-card-group__cards .m-card,_:-ms-lang(x) .o-card-group__cards .m-card{margin-right:2%;width:48%}.o-card-group--column-2 .o-card-group__cards .m-card:last-child,_:-ms-lang(x) .o-card-group__cards .m-card:last-child{margin-right:0}.o-card-group--column-3 .o-card-group__cards .m-card,_:-ms-lang(x) .o-card-group__cards .m-card{margin-right:1%;width:32%}.o-card-group--column-3 .o-card-group__cards .m-card:last-child,_:-ms-lang(x) .o-card-group__cards .m-card:last-child{margin-right:0}.o-card-group:after,_:-ms-lang(x){clear:both;content:\"\";display:table}.o-card-group--count-2 .m-card:first-of-type,.o-card-group--count-3 .m-card:first-of-type,.o-card-group--count-4 .m-card:first-of-type{grid-area:card1}.o-card-group--count-2 .m-card:nth-of-type(2),.o-card-group--count-3 .m-card:nth-of-type(2),.o-card-group--count-4 .m-card:nth-of-type(2){grid-area:card2}.o-card-group--count-2 .m-card:nth-of-type(3),.o-card-group--count-3 .m-card:nth-of-type(3),.o-card-group--count-4 .m-card:nth-of-type(3){grid-area:card3}.o-card-group--count-2 .m-card:nth-of-type(4),.o-card-group--count-3 .m-card:nth-of-type(4),.o-card-group--count-4 .m-card:nth-of-type(4){grid-area:card4}.o-card-group--count-2 .o-card-group__cards{grid-template-areas:\"card1 card2\";grid-template-columns:1fr 1fr}.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1 card2\" \"card1 card3\";grid-template-columns:1fr 1fr}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.7307692308em}.h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h3+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h3+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.3636363636em}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h2+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,.h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,blockquote+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,dl+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,figure+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h1+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h2+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h4+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h5+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,h6+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,img+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ol+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,p+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,table+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3,ul+.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type h3{margin-top:1.3636363636em}}.o-card-group--count-3 .o-card-group__cards .m-card:first-of-type>a{justify-content:center}.o-card-group--count-4 .o-card-group__cards{grid-template-areas:\"card1 card2\" \"card3 card4\";grid-template-columns:1fr 1fr}.o-card-group--flow .o-card-group__cards{display:flex;flex-wrap:wrap;justify-content:center}@media only screen and (min-width:37.5625em) and (max-width:56.25em){.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1 card1\" \"card2 card3\";grid-template-columns:1fr 1fr}}@media only screen and (max-width:37.5em){.o-card-group--count-2 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\";grid-template-columns:1fr}.o-card-group--count-3 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\" \"card3\";grid-template-columns:1fr}.o-card-group--count-4 .o-card-group__cards{grid-template-areas:\"card1\" \"card2\" \"card3\" \"card4\";grid-template-columns:1fr}.o-card-group--flow .o-card-group__cards{display:block}.o-card-group--flow .o-card-group__cards .m-card{margin-bottom:1.875em;width:100%}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-email-signup .m-notification{margin-bottom:.9375em}.o-email-signup .a-text-input{max-width:23.125rem}.o-email-signup__buttons{align-items:center;display:flex;flex-wrap:wrap-reverse;gap:.9375em;margin-top:.9375em}.o-email-signup .a-btn{text-align:inherit}@media only screen and (max-width:37.5em){.o-email-signup .a-label--heading{font-size:1em}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-featured-content-module{background-color:var(--gray-5);border:1px solid var(--gray-40);min-height:220px;position:relative}.o-featured-content-module__text{padding-bottom:1.875em;padding-top:1.875em}.o-featured-content-module__img{display:block}@media only screen and (max-width:37.5em){.o-featured-content-module__text,.o-featured-content-module__visual{padding-left:.9375em;padding-right:.9375em}.o-featured-content-module__visual{padding-bottom:.9375em}.o-featured-content-module__img{margin-left:auto;margin-right:auto}}@media only screen and (min-width:37.5625em){.o-featured-content-module__text{padding-left:1.875em;padding-right:300px}.o-featured-content-module__visual{height:100%;overflow:hidden;position:absolute;right:0;top:0;width:270px}.o-featured-content-module__img{height:100%;left:50%;max-width:none;position:absolute;transform:translateX(-50%)}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-hero{background-color:var(--gray-5)}.m-hero__wrapper{display:grid;margin:0 auto;max-width:1200px;padding-bottom:30px;padding-top:30px}.m-hero__text{padding-left:15px;padding-right:15px}.m-hero__heading{font-size:2.125em;font-size-adjust:var(--font-adjust-h1);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.m-hero__heading,dl+.m-hero__heading,figure+.m-hero__heading,img+.m-hero__heading,ol+.m-hero__heading,p+.m-hero__heading,table+.m-hero__heading,ul+.m-hero__heading{margin-top:1.7647058824em}.m-hero__subhead{font-size:22px;line-height:1.25}.m-hero__image-wrapper{box-sizing:border-box;overflow:hidden}.m-hero__image{background-position:50%;background-repeat:no-repeat;background-size:contain;display:none;width:100%}@supports (display:grid){.m-hero__image{display:block}}.m-hero--knockout{background-color:var(--gray);color:var(--white)}.m-hero--overlay .m-hero__wrapper{background-position:50%;background-repeat:no-repeat;background-size:cover}.m-hero--50-50,.m-hero--jumbo{background-color:var(--white)}.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}@media only screen and (min-width:37.5625em){.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.m-hero--50-50 .m-hero__subhead,.h1+.m-hero--jumbo .m-hero__subhead,.h2+.m-hero--50-50 .m-hero__subhead,.h2+.m-hero--jumbo .m-hero__subhead,.h4+.m-hero--50-50 .m-hero__subhead,.h4+.m-hero--jumbo .m-hero__subhead,.h5+.m-hero--50-50 .m-hero__subhead,.h5+.m-hero--jumbo .m-hero__subhead,.h6+.m-hero--50-50 .m-hero__subhead,.h6+.m-hero--jumbo .m-hero__subhead,blockquote+.m-hero--50-50 .m-hero__subhead,blockquote+.m-hero--jumbo .m-hero__subhead,dl+.m-hero--50-50 .m-hero__subhead,dl+.m-hero--jumbo .m-hero__subhead,figure+.m-hero--50-50 .m-hero__subhead,figure+.m-hero--jumbo .m-hero__subhead,h1+.m-hero--50-50 .m-hero__subhead,h1+.m-hero--jumbo .m-hero__subhead,h2+.m-hero--50-50 .m-hero__subhead,h2+.m-hero--jumbo .m-hero__subhead,h4+.m-hero--50-50 .m-hero__subhead,h4+.m-hero--jumbo .m-hero__subhead,h5+.m-hero--50-50 .m-hero__subhead,h5+.m-hero--jumbo .m-hero__subhead,h6+.m-hero--50-50 .m-hero__subhead,h6+.m-hero--jumbo .m-hero__subhead,img+.m-hero--50-50 .m-hero__subhead,img+.m-hero--jumbo .m-hero__subhead,ol+.m-hero--50-50 .m-hero__subhead,ol+.m-hero--jumbo .m-hero__subhead,p+.m-hero--50-50 .m-hero__subhead,p+.m-hero--jumbo .m-hero__subhead,table+.m-hero--50-50 .m-hero__subhead,table+.m-hero--jumbo .m-hero__subhead,ul+.m-hero--50-50 .m-hero__subhead,ul+.m-hero--jumbo .m-hero__subhead{margin-top:1.3636363636em}}@media only screen and (min-width:63.8125em){.m-hero--50-50 .m-hero__wrapper,.m-hero--jumbo .m-hero__wrapper{min-height:285px}.m-hero--50-50 .m-hero__heading,.m-hero--jumbo .m-hero__heading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}.m-hero--50-50 .m-hero__subhead,.m-hero--jumbo .m-hero__subhead{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.m-hero--50-50 .m-hero__subhead,blockquote+.m-hero--jumbo .m-hero__subhead,dl+.m-hero--50-50 .m-hero__subhead,dl+.m-hero--jumbo .m-hero__subhead,figure+.m-hero--50-50 .m-hero__subhead,figure+.m-hero--jumbo .m-hero__subhead,img+.m-hero--50-50 .m-hero__subhead,img+.m-hero--jumbo .m-hero__subhead,ol+.m-hero--50-50 .m-hero__subhead,ol+.m-hero--jumbo .m-hero__subhead,p+.m-hero--50-50 .m-hero__subhead,p+.m-hero--jumbo .m-hero__subhead,table+.m-hero--50-50 .m-hero__subhead,table+.m-hero--jumbo .m-hero__subhead,ul+.m-hero--50-50 .m-hero__subhead,ul+.m-hero--jumbo .m-hero__subhead{margin-top:1.7307692308em}.h1+.m-hero--50-50 .m-hero__subhead,.h1+.m-hero--jumbo .m-hero__subhead,.h3+.m-hero--50-50 .m-hero__subhead,.h3+.m-hero--jumbo .m-hero__subhead,.h4+.m-hero--50-50 .m-hero__subhead,.h4+.m-hero--jumbo .m-hero__subhead,.h5+.m-hero--50-50 .m-hero__subhead,.h5+.m-hero--jumbo .m-hero__subhead,.h6+.m-hero--50-50 .m-hero__subhead,.h6+.m-hero--jumbo .m-hero__subhead,h1+.m-hero--50-50 .m-hero__subhead,h1+.m-hero--jumbo .m-hero__subhead,h3+.m-hero--50-50 .m-hero__subhead,h3+.m-hero--jumbo .m-hero__subhead,h4+.m-hero--50-50 .m-hero__subhead,h4+.m-hero--jumbo .m-hero__subhead,h5+.m-hero--50-50 .m-hero__subhead,h5+.m-hero--jumbo .m-hero__subhead,h6+.m-hero--50-50 .m-hero__subhead,h6+.m-hero--jumbo .m-hero__subhead{margin-top:1.1538461538em}}@media only screen and (max-width:37.5em){.m-hero__image-wrapper{margin-top:1.875em}.m-hero--overlay .m-hero__wrapper{background-image:none!important}.m-hero--jumbo .m-hero__wrapper{padding-bottom:0}}@media only screen and (max-width:56.25em){.m-hero__heading{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.m-hero__heading,dl+.m-hero__heading,figure+.m-hero__heading,img+.m-hero__heading,ol+.m-hero__heading,p+.m-hero__heading,table+.m-hero__heading,ul+.m-hero__heading{margin-top:1.7307692308em}.h1+.m-hero__heading,.h3+.m-hero__heading,.h4+.m-hero__heading,.h5+.m-hero__heading,.h6+.m-hero__heading,h1+.m-hero__heading,h3+.m-hero__heading,h4+.m-hero__heading,h5+.m-hero__heading,h6+.m-hero__heading{margin-top:1.1538461538em}.m-hero__subhead{font-size:18px}}@media only screen and (min-width:37.5625em){.m-hero__wrapper{grid-template-columns:7fr 5fr;min-height:225px;padding-left:15px;padding-right:15px}.m-hero__text{margin:auto 0}.m-hero__image-wrapper{align-items:center;display:flex;padding-left:15px;padding-right:15px}.m-hero--bleeding .m-hero__image-wrapper{margin-bottom:-2.8125em;margin-top:-2.8125em;width:100%}.m-hero--bleeding .m-hero__image{background-size:cover;height:100%;padding-bottom:0!important;width:100%}.m-hero--overlay .m-hero__image{display:none}.m-hero--jumbo .m-hero__wrapper{background-position:50%;background-repeat:no-repeat;background-size:cover}.m-hero--jumbo .m-hero__image{display:none}.m-hero--50-50 .m-hero__wrapper{background-position:100%;background-repeat:no-repeat;background-size:50%;border:1px solid var(--gray-40);border-top:none;grid-template-columns:1fr 1fr}.m-hero--50-50 .m-hero__image{display:none}}@media only screen and (min-width:63.8125em){.m-hero__wrapper{min-height:195px;padding-bottom:2.8125em;padding-top:2.8125em}.m-hero--bleeding .m-hero__image-wrapper{margin-bottom:-2.8125em;margin-top:-2.8125em}.m-hero--50-50 .m-hero__wrapper{min-height:345px}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.content-l{position:relative}@media only screen and (min-width:37.5625em){.content-l{display:block;margin-left:-15px;margin-right:-15px;position:relative}}@media only screen and (max-width:37.5em){.content-l__col+.content-l__col{margin-top:1.875em}}@media only screen and (min-width:37.5625em){.content-l__col-1{width:100%}.content-l__col-1,.content-l__col-1-2{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-1-2{width:50%}.content-l__col-1-3{width:33.3333333333%}.content-l__col-1-3,.content-l__col-2-3{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-2-3{width:66.6666666667%}.content-l__col-3-8{width:37.5%}.content-l__col-3-8,.content-l__col-5-8{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-5-8{width:62.5%}.content-l__col-1-4{width:25%}.content-l__col-1-4,.content-l__col-3-4{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content-l__col-3-4{width:75%}}.content__line{background:var(--gray-40);height:1px}.content__intro dd,.content__intro dt,.content__intro h3,.content__intro h4,.content__intro h5,.content__intro h6,.content__intro label,.content__intro li,.content__intro p,.content__main dd,.content__main dt,.content__main h3,.content__main h4,.content__main h5,.content__main h6,.content__main label,.content__main li,.content__main p{max-width:41.875rem}.content__intro,.content__main,.content__sidebar{padding:1.875em .9375em}@media only screen and (min-width:37.5625em){.content__intro,.content__main,.content__sidebar{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;padding:2.8125em .9375em;vertical-align:top;width:100%}}@media only screen and (min-width:56.3125em){.content__intro,.content__main,.content__sidebar{padding:2.8125em 0}.content__intro{width:100%}.content--1-3 .content__sidebar,.content__intro{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top}.content--1-3 .content__sidebar{padding-right:1.875em;width:25%}.content--1-3 .content__main{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;position:relative;vertical-align:top;width:75%}.content--1-3 .content__main:after{border-left:1px solid var(--gray-40);bottom:0;content:\"\";left:-1.875em;position:absolute;top:2.8125em}.content--2-1 .content__main{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;vertical-align:top;width:66.6666666667%}.content--2-1 .content__main:after{right:-1.875em}.content--2-1 .content__sidebar{border:solid transparent;border-width:0 15px;box-sizing:border-box;display:inline-block;margin-right:-.25em;padding-left:1.875em;vertical-align:top;width:33.3333333333%}}.content--flush-bottom{padding-bottom:0}@media only screen and (max-width:56.25em){.content--flush-top-on-small{padding-top:0}.content--flush-all-on-small{border:none;padding:0}}.block{margin-bottom:3.75em;margin-top:3.75em}.block--border-top{border-top:1px solid var(--gray-40)}.block--border-right{border-right:1px solid var(--gray-40)}.block--border-bottom{border-bottom:1px solid var(--gray-40)}.block--border-left{border-left:1px solid var(--gray-40)}.block--border{border:1px solid var(--gray-40)}.block--flush-top{margin-top:0!important}.block--flush-top.block--border,.block--flush-top.block--border-top{border-top:none}.block--flush-bottom{margin-bottom:0!important}.block--flush-bottom.block--border,.block--flush-bottom.block--border-bottom{border-bottom:none}.block--flush-sides{margin-left:-15px;margin-right:-15px}@media only screen and (max-width:37.5em){.block--flush-sides.block--border,.block--flush-sides.block--border-left,.block--flush-sides.block--border-right{border-left:none;border-right:none}}@media only screen and (min-width:37.5625em){.block--flush-sides{margin-left:-30px;margin-right:-30px}}.block--flush{margin-bottom:0!important;margin-left:-15px;margin-right:-15px;margin-top:0!important}.block--flush.block--border,.block--flush.block--border-bottom,.block--flush.block--border-top{border-bottom:none;border-top:none}@media only screen and (max-width:37.5em){.block--flush.block--border,.block--flush.block--border-left,.block--flush.block--border-right{border-left:none;border-right:none}}@media only screen and (min-width:37.5625em){.block--flush{margin-left:-30px;margin-right:-30px}}.block--bg{background:var(--gray-5);padding:1.875em .9375em 3.75em}@media only screen and (min-width:37.5625em){.block--bg{padding:2.8125em 1.875em}}.block--padded-top{margin-top:1.875em;padding-top:1.875em}.block--padded-bottom{margin-bottom:1.875em;padding-bottom:1.875em}.block--sub{margin-bottom:1.875em;margin-top:1.875em}@media only screen and (min-width:56.3125em){.wrapper{clear:both;margin:0 auto;max-width:1200px;padding-left:15px;padding-right:15px}}.wrapper--match-content{padding-left:15px;padding-right:15px}@media only screen and (min-width:37.5625em){.wrapper--match-content{max-width:1200px;padding-left:30px;padding-right:30px}}", ".o-text-introduction{margin-bottom:60px;margin-top:0}.o-text-introduction>*{margin-bottom:15px;margin-top:0;max-width:41.875rem}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-well{background-color:var(--gray-5);border:1px solid var(--gray-40);box-sizing:border-box;padding:1.875em .9375em}@media only screen and (min-width:37.5625em){.o-well{padding-left:1.875em;padding-right:1.875em}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.o-banner{background:var(--gold-10);border-bottom:1px solid var(--gray-40);font-size:.875em;padding:.9375em 0}.o-banner .m-notification{border:none;padding:0}.o-banner .m-notification__icon{left:0;top:0}.o-banner--dark{border-color:var(--teal-dark);color:var(--white)}.o-banner--dark,.o-banner--dark .m-notification{background:var(--teal-dark)}.o-banner--dark .m-notification .cf-icon-svg{fill:var(--white)}.o-banner--dark .m-notification a{border-color:var(--white);color:var(--white)}.o-banner--dark .m-notification a.visited,.o-banner--dark .m-notification a:visited{border-color:var(--teal-40);color:var(--teal-40)}.o-banner--dark .m-notification a.hover,.o-banner--dark .m-notification a:hover{border-color:var(--gray-15);color:var(--gray-15)}.o-banner--dark .m-notification a.focus,.o-banner--dark .m-notification a:focus{border-color:var(--white);color:var(--white)}.o-banner--dark .m-notification a.active,.o-banner--dark .m-notification a:active{border-color:var(--gray-15);color:var(--gray-15)}@media only screen and (min-width:37.5625em){.o-banner{font-size:1em}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.m-notification{background:var(--gray-5);border:1px solid var(--gray-40);display:none;padding:.9375rem}.m-notification>.cf-icon-svg{flex:none;fill:var(--gray)}.m-notification--success{background:var(--green-10);border-color:var(--green)}.m-notification--success>.cf-icon-svg{fill:var(--green)}.m-notification--warning{background:var(--gold-10);border-color:var(--gold)}.m-notification--warning>.cf-icon-svg{fill:var(--gold)}.m-notification--error{background:var(--red-10);border-color:var(--red)}.m-notification--error>.cf-icon-svg{fill:var(--red)}.m-notification--error a,.m-notification--success a,.m-notification--warning a{border-color:var(--pacific-mid-dark);color:var(--pacific-mid-dark)}.m-notification--error a.visited,.m-notification--error a:visited,.m-notification--success a.visited,.m-notification--success a:visited,.m-notification--warning a.visited,.m-notification--warning a:visited{border-color:var(--teal);color:var(--teal)}.m-notification--error a.hover,.m-notification--error a:hover,.m-notification--success a.hover,.m-notification--success a:hover,.m-notification--warning a.hover,.m-notification--warning a:hover{border-color:var(--pacific-dark);color:var(--pacific-dark)}.m-notification--error a.focus,.m-notification--error a:focus,.m-notification--success a.focus,.m-notification--success a:focus,.m-notification--warning a.focus,.m-notification--warning a:focus{border-color:var(--pacific-mid-dark);color:var(--pacific-mid-dark)}.m-notification--error a.active,.m-notification--error a:active,.m-notification--success a.active,.m-notification--success a:active,.m-notification--warning a.active,.m-notification--warning a:active{border-color:var(--navy-dark);color:var(--navy-dark)}.m-notification--visible{display:flex;gap:.3125rem}.m-notification__content{max-width:41.875rem}.cf-icon-svg+.m-notification__content{flex-grow:1}.m-notification__message{font-size:1rem;font-weight:500;line-height:1.25}@media only screen and (min-width:37.5625em){.m-notification__message{font-size:1.125rem}}.m-notification__explanation{margin-bottom:.9375rem;margin-top:.3125rem}.m-notification__message+.m-list{margin-top:.9375rem}@media only screen and (min-width:37.5625em){.m-notification .cf-icon-svg{font-size:1.125rem}.m-notification__explanation{margin-bottom:0}.m-notification .m-list{margin-top:.3125rem}.m-notification .m-list__item{margin-bottom:.3125rem}}html[lang=ar] .m-notification .cf-icon-svg+.m-notification__content{padding-left:0;padding-right:1.5625rem}html[lang=ar] .m-notification .m-list{padding-right:0}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-pagination{display:grid;grid-template-areas:\"pag-btn-prev . pag-btn-next\" \"pag-form pag-form pag-form\";grid-template-columns:auto 1fr auto;row-gap:.9375rem}.m-pagination__form{background:var(--gray-5);border-radius:.25rem;color:var(--gray);display:flex;flex-flow:wrap;gap:.625rem;grid-area:pag-form;padding:.3125rem;place-content:center}.m-pagination__current-page{font-weight:500;text-align:right;width:2.8125rem}.m-pagination__label{display:contents;white-space:nowrap}.m-pagination__btn-prev{grid-area:pag-btn-prev;z-index:1}.m-pagination__btn-next{grid-area:pag-btn-next;z-index:1}@media only screen and (min-width:37.5625em){.m-pagination{grid-template-areas:\"pag-btn-prev pag-form pag-btn-next\"}.m-pagination__btn-prev{border-bottom-right-radius:0;border-top-right-radius:0}.m-pagination__btn-next{border-bottom-left-radius:0;border-top-left-radius:0}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.o-table__cell--right-align{text-align:right}.o-table--scrolling{box-sizing:border-box;overflow-y:hidden}.o-table--scrolling table{border:1px solid var(--gray-40)}.o-table--scrolling table>tbody>tr:nth-child(2n)>td,.o-table--scrolling table>tbody>tr:nth-child(2n)>th{background:var(--gray-5)}@media only screen and (min-width:37.5625em){.o-table--striped>tbody>tr:nth-child(2n)>td,.o-table--striped>tbody>tr:nth-child(2n)>th{background:var(--gray-5)}}@media only screen and (max-width:600px){.o-table{width:100%}.o-table--striped tr:nth-child(2n)>td,.o-table--striped tr:nth-child(2n)>th{background:var(--white)}.o-table--stack-on-small{border-top:1px solid var(--gray-40)}.o-table--stack-on-small [data-display-table=cell],.o-table--stack-on-small [data-display-table=row],.o-table--stack-on-small td,.o-table--stack-on-small tr{display:block}.o-table--stack-on-small [data-display-table=cell],.o-table--stack-on-small td,.o-table--stack-on-small th{padding-left:0;padding-right:0;width:100%}.o-table--stack-on-small [data-display-table=thead],.o-table--stack-on-small>thead{display:none}.o-table--stack-on-small td[data-label]:before{content:attr(data-label);display:block;font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.83333333;margin-bottom:.3125em;margin-top:0;text-transform:uppercase}.o-table--stack-on-small [data-display-table=cell]:last-child,.o-table--stack-on-small td:last-child{margin-bottom:1.875em}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-date{color:var(--gray);font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase;white-space:nowrap}.h1+.a-date,.h2+.a-date,.h3+.a-date,.h4+.a-date,.h6+.a-date,blockquote+.a-date,dl+.a-date,figure+.a-date,h1+.a-date,h2+.a-date,h3+.a-date,h4+.a-date,h6+.a-date,img+.a-date,ol+.a-date,p+.a-date,table+.a-date,ul+.a-date{margin-top:2.1428571429em}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}.a-link{border-bottom-width:0}.a-link .a-link__text{border-bottom-style:inherit;border-bottom-width:1px;overflow-wrap:break-word}.a-link--jump{font-weight:500}@media only screen and (max-width:37.5em){.a-link--jump{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}.a-link--jump .cf-icon-svg--right{margin-left:auto}.a-link--jump .a-link__text{border-bottom-width:0;flex-shrink:10}}a.a-link--jump{font-weight:500}@media only screen and (max-width:37.5em){a.a-link--jump{border-bottom-width:1px;border-top-width:1px}a.a-link--jump:focus{outline:none}a.a-link--jump:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){li:has(.a-link--jump)+li:has(.a-link--jump) .a-link--jump{border-top:none;position:relative}li:has(.a-link--jump)+li:has(.a-link--jump) a.a-link--jump:focus:before,li:has(.a-link--jump)+li:has(.a-link--jump) a.a-link--jump:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-list--horizontal,.m-list--links,.m-list--unstyled{list-style-type:none;padding-left:0}.m-list--horizontal .m-list__item,.m-list--links .m-list__item,.m-list--unstyled .m-list__item{margin-left:0}.m-list--horizontal .m-list__item{display:inline-block;margin-bottom:0;margin-right:.25em}@media only screen and (max-width:37.5em){.m-list--links .m-list__item{margin-bottom:0}}html[lang=ar] .m-list{padding-right:0}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-meta-header{column-gap:1.3125rem;display:flex;flex-direction:column-reverse;flex-wrap:wrap-reverse;overflow:hidden;padding-bottom:.625rem;row-gap:.625rem;width:fit-content}.m-meta-header__item-group{column-gap:1.3125rem;display:flex;flex-wrap:wrap}.m-meta-header__item{display:grid;font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;grid-template-columns:0 auto 1fr;letter-spacing:inherit;line-height:1.25;margin-bottom:0;row-gap:.3125rem;text-transform:inherit;text-wrap:balance}.h1+.m-meta-header__item,.h2+.m-meta-header__item,.h3+.m-meta-header__item,.h5+.m-meta-header__item,.h6+.m-meta-header__item,blockquote+.m-meta-header__item,dl+.m-meta-header__item,figure+.m-meta-header__item,h1+.m-meta-header__item,h2+.m-meta-header__item,h3+.m-meta-header__item,h5+.m-meta-header__item,h6+.m-meta-header__item,img+.m-meta-header__item,ol+.m-meta-header__item,p+.m-meta-header__item,table+.m-meta-header__item,ul+.m-meta-header__item{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.m-meta-header__item{font-size:1em;line-height:1.125;margin-bottom:.625em;margin-bottom:.3125rem}}.m-meta-header__item .cf-icon-svg{margin-right:.3125rem}.m-meta-header__item:before{content:\"|\";margin-left:-.8125rem}.m-meta-header__item .a-date{font-size:.875rem;line-height:1.7142857143;margin-bottom:0}@media only screen and (min-width:37.5625em){.m-meta-header{flex-direction:row}}", "@charset \"UTF-8\";:root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-pull-quote__body{color:var(--black);font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}@media only screen and (max-width:37.5em){.m-pull-quote__body{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.m-pull-quote__citation{color:var(--gray);font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.m-pull-quote__citation,.h2+.m-pull-quote__citation,.h3+.m-pull-quote__citation,.h4+.m-pull-quote__citation,.h6+.m-pull-quote__citation,blockquote+.m-pull-quote__citation,dl+.m-pull-quote__citation,figure+.m-pull-quote__citation,h1+.m-pull-quote__citation,h2+.m-pull-quote__citation,h3+.m-pull-quote__citation,h4+.m-pull-quote__citation,h6+.m-pull-quote__citation,img+.m-pull-quote__citation,ol+.m-pull-quote__citation,p+.m-pull-quote__citation,table+.m-pull-quote__citation,ul+.m-pull-quote__citation{margin-top:2.1428571429em}.m-pull-quote__citation:before{content:\"\u2014\"}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.m-slug-header{border-top:1px solid var(--gray-40)}.m-slug-header__heading{border-top:5px solid var(--green);display:inline-block;font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;margin-top:-3px;padding-top:.2857142857em;text-transform:uppercase}", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.a-tagline{column-gap:10px;display:grid;font-size:.75rem;grid-template-columns:22px 1fr}.a-tagline__text{display:inline-block}.a-tagline .u-usa-flag{margin-top:1px}.a-tagline--large{font-size:1rem}.a-tagline--large .u-usa-flag{margin-top:4px}.u-usa-flag{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAZCAMAAABAf11LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5QTFRF////sxlC7MbQ2YyhxlNxCjFhR2WJV3GSKUt1dYumOFh/GT5rhZiwwszYsr/OlKW6Zn6c0djh8PL1iR9Ko7LE4OXrl0pttKC0pXWRtYKbSuJhRQAAANFJREFUeNrkkctuwyAUREnSuW/ApHYf//+jBVdZVcJi3aORgAXcMyLBAAJEzsVG3m8TkifyI3zfPQ6nJJLo421CArSBmkgjNEWtQE4zXJmClXuCWIlU5hdQxCqbqnE1KdIz79CVDvBwZxyKfQfmHTyzl01UZSvOWSTbhZLSWeDMufWLC/1ls3amT4qQq394EjIjApxBT+/nr8eEBNuKcB9SWMpmEXalNOylmlUZNTr4vE/4VdKhpC+leQf6y/e0wzL3RdJtkfUJyzwW+ZcdfgQYAJmJD3zerW6OAAAAAElFTkSuQmCC\");background-repeat:no-repeat;background-size:contain;display:inline-block;height:13px;width:24px}", "/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst NODE_MODE = false;\n\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nexport const supportsAdoptingStyleSheets: boolean =\n global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\n\n/**\n * A CSSResult or native CSSStyleSheet.\n *\n * In browsers that support constructible CSS style sheets, CSSStyleSheet\n * object can be used for styling along side CSSResult from the `css`\n * template tag.\n */\nexport type CSSResultOrNative = CSSResult | CSSStyleSheet;\n\nexport type CSSResultArray = Array<CSSResultOrNative | CSSResultArray>;\n\n/**\n * A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.\n */\nexport type CSSResultGroup = CSSResultOrNative | CSSResultArray;\n\nconst constructionToken = Symbol();\n\nconst cssTagCache = new WeakMap<TemplateStringsArray, CSSStyleSheet>();\n\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nexport class CSSResult {\n // This property needs to remain unminified.\n ['_$cssResult$'] = true;\n readonly cssText: string;\n private _styleSheet?: CSSStyleSheet;\n private _strings: TemplateStringsArray | undefined;\n\n private constructor(\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.'\n );\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet | undefined {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(\n this.cssText\n );\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\ntype ConstructableCSSResult = CSSResult & {\n new (\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ): CSSResult;\n};\n\nconst textFromCSSResult = (value: CSSResultGroup | number) => {\n // This property needs to remain unminified.\n if ((value as CSSResult)['_$cssResult$'] === true) {\n return (value as CSSResult).cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`\n );\n }\n};\n\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) =>\n new (CSSResult as ConstructableCSSResult)(\n typeof value === 'string' ? value : String(value),\n undefined,\n constructionToken\n );\n\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nexport const css = (\n strings: TemplateStringsArray,\n ...values: (CSSResultGroup | number)[]\n): CSSResult => {\n const cssText =\n strings.length === 1\n ? strings[0]\n : values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]\n );\n return new (CSSResult as ConstructableCSSResult)(\n cssText,\n strings,\n constructionToken\n );\n};\n\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic the native feature](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nexport const adoptStyles = (\n renderRoot: ShadowRoot,\n styles: Array<CSSResultOrNative>\n) => {\n if (supportsAdoptingStyleSheets) {\n (renderRoot as ShadowRoot).adoptedStyleSheets = styles.map((s) =>\n s instanceof CSSStyleSheet ? s : s.styleSheet!\n );\n } else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = (global as any)['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = (s as CSSResult).cssText;\n renderRoot.appendChild(style);\n }\n }\n};\n\nconst cssResultFromStyleSheet = (sheet: CSSStyleSheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\n\nexport const getCompatibleStyle =\n supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s: CSSResultOrNative) => s\n : (s: CSSResultOrNative) =>\n s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n/**\n * Removes the `readonly` modifier from properties in the union K.\n *\n * This is a safer way to cast a value to a type with a mutable version of a\n * readonly field, than casting to an interface with the field re-declared\n * because it preserves the type of all the fields and warns on typos.\n */\ntype Mutable<T, K extends keyof T> = Omit<T, K> & {\n -readonly [P in keyof Pick<T, K>]: P extends K ? T[P] : never;\n};\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst {\n is,\n defineProperty,\n getOwnPropertyDescriptor,\n getOwnPropertyNames,\n getOwnPropertySymbols,\n getPrototypeOf,\n} = Object;\n\nconst NODE_MODE = false;\n\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n queueMicrotask(() => {\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n });\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<ReactiveUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = <P extends PropertyKey>(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter<Type = unknown, TypeHint = unknown> {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter<Type = unknown, TypeHint = unknown> =\n | ComplexAttributeConverter<Type>\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration<Type = unknown, TypeHint = unknown> {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter<Type, TypeHint>;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n\n /**\n * Whether this property is wrapping accessors. This is set by `@property`\n * to control the initial value change and reflection logic.\n *\n * @internal\n */\n wrapped?: boolean;\n\n /**\n * When `true`, uses the initial value of the property as the default value,\n * which changes how attributes are handled:\n * - The initial value does *not* reflect, even if the `reflect` option is `true`.\n * Subsequent changes to the property will reflect, even if they are equal to the\n * default value.\n * - When the attribute is removed, the property is set to the default value\n * - The initial value will not trigger an old value in the `changedProperties` map\n * argument to update lifecycle methods.\n *\n * When set, properties must be initialized, either with a field initializer, or an\n * assignment in the constructor. Not initializing the property may lead to\n * improper handling of subsequent property assignments.\n *\n * While this behavior is opt-in, most properties that reflect to attributes should\n * use `useDefault: true` so that their initial values do not reflect.\n */\n useDefault?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map<PropertyKey, PropertyDeclaration>;\n\ntype AttributeMap = Map<string, PropertyKey>;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues<this>` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map<PropertyKey, unknown>`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map<PropertyKey, unknown>`, but if a developer uses\n// `PropertyValues<this>` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues<T = any> = T extends object\n ? PropertyValueMap<T>\n : Map<PropertyKey, unknown>;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap<T> extends Map<PropertyKey, unknown> {\n get<K extends keyof T>(k: K): T[K] | undefined;\n set<K extends keyof T>(key: K, value: T[K]): this;\n has<K extends keyof T>(k: K): boolean;\n delete<K extends keyof T>(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean =>\n !is(value, old);\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n useDefault: false,\n hasChanged: notEqual,\n};\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind =\n | 'change-in-update'\n | 'migration'\n | 'async-perform-update';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n// Temporary, until google3 is on TypeScript 5.2\ndeclare global {\n interface SymbolConstructor {\n readonly metadata: unique symbol;\n }\n}\n\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\n(Symbol as {metadata: symbol}).metadata ??= Symbol('metadata');\n\ndeclare global {\n // This is public global API, do not change!\n // eslint-disable-next-line no-var\n var litPropertyMetadata: WeakMap<\n object,\n Map<PropertyKey, PropertyDeclaration>\n >;\n}\n\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap<\n object,\n Map<PropertyKey, PropertyDeclaration>\n>();\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having been finalized, which includes creating properties\n * from `static properties`, but does *not* include all properties created\n * from decorators.\n * @nocollapse\n */\n protected static finalized: true | undefined;\n\n /**\n * Memoized list of all element properties, including any superclass\n * properties. Created lazily on user subclasses when finalizing the class.\n *\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array<CSSResultOrNative> = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `<style>` tags when the browser doesn't\n * support adopted StyleSheets. To use such `<style>` tags with the style-src\n * CSP directive, the style-src value must either include 'unsafe-inline' or\n * `nonce-<base64-value>` with `<base64-value>` replaced be a server-generated\n * nonce.\n *\n * To provide a nonce to use on generated `<style>` elements, set\n * `window.litNonce` to a server-generated nonce in your page's HTML, before\n * loading application code:\n *\n * ```html\n * <script>\n * // Generated and unique per request:\n * window.litNonce = 'a1b2c3d4';\n * </script>\n * ```\n * @nocollapse\n * @category styles\n */\n static styles?: CSSResultGroup;\n\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // Ensure we've created all properties\n this.finalize();\n // this.__attributeToPropertyMap is only undefined after finalize() in\n // ReactiveElement itself. ReactiveElement.observedAttributes is only\n // accessed with ReactiveElement as the receiver when a subclass or mixin\n // calls super.observedAttributes\n return (\n this.__attributeToPropertyMap && [...this.__attributeToPropertyMap.keys()]\n );\n }\n\n private __instanceProperties?: PropertyValues = undefined;\n\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(\n name: PropertyKey,\n options: PropertyDeclaration = defaultPropertyDeclaration\n ) {\n // If this is a state property, force the attribute to false.\n if (options.state) {\n (options as Mutable<PropertyDeclaration, 'attribute'>).attribute = false;\n }\n this.__prepare();\n // Whether this property is wrapping accessors.\n // Helps control the initial value change and reflection logic.\n if (this.prototype.hasOwnProperty(name)) {\n options = Object.create(options);\n options.wrapped = true;\n }\n this.elementProperties.set(name, options);\n if (!options.noAccessor) {\n const key = DEV_MODE\n ? // Use Symbol.for in dev mode to make it easier to maintain state\n // when doing HMR.\n Symbol.for(`${String(name)} (@property() cache)`)\n : Symbol();\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n defineProperty(this.prototype, name, descriptor);\n }\n }\n }\n\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n protected static getPropertyDescriptor(\n name: PropertyKey,\n key: string | symbol,\n options: PropertyDeclaration\n ): PropertyDescriptor | undefined {\n const {get, set} = getOwnPropertyDescriptor(this.prototype, name) ?? {\n get(this: ReactiveElement) {\n return this[key as keyof typeof this];\n },\n set(this: ReactiveElement, v: unknown) {\n (this as unknown as Record<string | symbol, unknown>)[key] = v;\n },\n };\n if (DEV_MODE && get == null) {\n if ('value' in (getOwnPropertyDescriptor(this.prototype, name) ?? {})) {\n throw new Error(\n `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it's actually declared as a value on the prototype. ` +\n `Usually this is due to using @property or @state on a method.`\n );\n }\n issueWarning(\n 'reactive-property-without-getter',\n `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it does not have a getter. This will be an error in a ` +\n `future version of Lit.`\n );\n }\n return {\n get,\n set(this: ReactiveElement, value: unknown) {\n const oldValue = get?.call(this);\n set?.call(this, value);\n this.requestUpdate(name, oldValue, options);\n },\n configurable: true,\n enumerable: true,\n };\n }\n\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name: PropertyKey) {\n return this.elementProperties.get(name) ?? defaultPropertyDeclaration;\n }\n\n // Temporary, until google3 is on TypeScript 5.2\n declare static [Symbol.metadata]: object & Record<PropertyKey, unknown>;\n\n /**\n * Initializes static own properties of the class used in bookkeeping\n * for element properties, initializers, etc.\n *\n * Can be called multiple times by code that needs to ensure these\n * properties exist before using them.\n *\n * This method ensures the superclass is finalized so that inherited\n * property metadata can be copied down.\n * @nocollapse\n */\n private static __prepare() {\n if (\n this.hasOwnProperty(JSCompiler_renameProperty('elementProperties', this))\n ) {\n // Already prepared\n return;\n }\n // Finalize any superclasses\n const superCtor = getPrototypeOf(this) as typeof ReactiveElement;\n superCtor.finalize();\n\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n // Initialize elementProperties from the superclass\n this.elementProperties = new Map(superCtor.elementProperties);\n }\n\n /**\n * Finishes setting up the class so that it's ready to be registered\n * as a custom element and instantiated.\n *\n * This method is called by the ReactiveElement.observedAttributes getter.\n * If you override the observedAttributes getter, you must either call\n * super.observedAttributes to trigger finalization, or call finalize()\n * yourself.\n *\n * @nocollapse\n */\n protected static finalize() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('finalized', this))) {\n return;\n }\n this.finalized = true;\n this.__prepare();\n\n // Create properties from the static properties block:\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n const propKeys = [\n ...getOwnPropertyNames(props),\n ...getOwnPropertySymbols(props),\n ] as Array<keyof typeof props>;\n for (const p of propKeys) {\n this.createProperty(p, props[p]);\n }\n }\n\n // Create properties from standard decorator metadata:\n const metadata = this[Symbol.metadata];\n if (metadata !== null) {\n const properties = litPropertyMetadata.get(metadata);\n if (properties !== undefined) {\n for (const [p, options] of properties) {\n this.elementProperties.set(p, options);\n }\n }\n }\n\n // Create the attribute-to-property map\n this.__attributeToPropertyMap = new Map();\n for (const [p, options] of this.elementProperties) {\n const attr = this.__attributeNameForProperty(p, options);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n }\n }\n\n this.elementStyles = this.finalizeStyles(this.styles);\n\n if (DEV_MODE) {\n if (this.hasOwnProperty('createProperty')) {\n issueWarning(\n 'no-override-create-property',\n 'Overriding ReactiveElement.createProperty() is deprecated. ' +\n 'The override will not be called with standard decorators'\n );\n }\n if (this.hasOwnProperty('getPropertyDescriptor')) {\n issueWarning(\n 'no-override-get-property-descriptor',\n 'Overriding ReactiveElement.getPropertyDescriptor() is deprecated. ' +\n 'The override will not be called with standard decorators'\n );\n }\n }\n }\n\n /**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\n static shadowRootOptions: ShadowRootInit = {mode: 'open'};\n\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n protected static finalizeStyles(\n styles?: CSSResultGroup\n ): Array<CSSResultOrNative> {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array<unknown> works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set((styles as Array<unknown>).flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift(getCompatibleStyle(s as CSSResultOrNative));\n }\n } else if (styles !== undefined) {\n elementStyles.push(getCompatibleStyle(styles));\n }\n return elementStyles;\n }\n\n /**\n * Node or ShadowRoot into which element DOM should be rendered. Defaults\n * to an open shadowRoot.\n * @category rendering\n */\n readonly renderRoot!: HTMLElement | DocumentFragment;\n\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n private static __attributeNameForProperty(\n name: PropertyKey,\n options: PropertyDeclaration\n ) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n\n // Initialize to an unresolved Promise so we can make sure the element has\n // connected before first update.\n private __updatePromise!: Promise<boolean>;\n\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n isUpdatePending = false;\n\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n hasUpdated = false;\n\n /**\n * Map with keys for any properties that have changed since the last\n * update cycle with previous values.\n *\n * @internal\n */\n _$changedProperties!: PropertyValues;\n\n /**\n * Records property default values when the\n * `useDefault` option is used.\n */\n private __defaultValues?: Map<PropertyKey, unknown>;\n\n /**\n * Properties that should be reflected when updated.\n */\n private __reflectingProperties?: Set<PropertyKey>;\n\n /**\n * Name of currently reflecting property\n */\n private __reflectingProperty: PropertyKey | null = null;\n\n /**\n * Set of controllers.\n */\n private __controllers?: Set<ReactiveController>;\n\n constructor() {\n super();\n this.__initialize();\n }\n\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n */\n private __initialize() {\n this.__updatePromise = new Promise<boolean>(\n (res) => (this.enableUpdating = res)\n );\n this._$changedProperties = new Map();\n // This enqueues a microtask that must run before the first update, so it\n // must be called before requestUpdate()\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n (this.constructor as typeof ReactiveElement)._initializers?.forEach((i) =>\n i(this)\n );\n }\n\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller: ReactiveController) {\n (this.__controllers ??= new Set()).add(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller: ReactiveController) {\n this.__controllers?.delete(controller);\n }\n\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs.\n */\n private __saveInstanceProperties() {\n const instanceProperties = new Map<PropertyKey, unknown>();\n const elementProperties = (this.constructor as typeof ReactiveElement)\n .elementProperties;\n for (const p of elementProperties.keys() as IterableIterator<keyof this>) {\n if (this.hasOwnProperty(p)) {\n instanceProperties.set(p, this[p]);\n delete this[p];\n }\n }\n if (instanceProperties.size > 0) {\n this.__instanceProperties = instanceProperties;\n }\n }\n\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n protected createRenderRoot(): HTMLElement | DocumentFragment {\n const renderRoot =\n this.shadowRoot ??\n this.attachShadow(\n (this.constructor as typeof ReactiveElement).shadowRootOptions\n );\n adoptStyles(\n renderRoot,\n (this.constructor as typeof ReactiveElement).elementStyles\n );\n return renderRoot;\n }\n\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // Create renderRoot before controllers `hostConnected`\n (this as Mutable<typeof this, 'renderRoot'>).renderRoot ??=\n this.createRenderRoot();\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n protected enableUpdating(_requestedUpdate: boolean) {}\n\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [responding to attribute changes](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#responding_to_attribute_changes)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(\n name: string,\n _old: string | null,\n value: string | null\n ) {\n this._$attributeToProperty(name, value);\n }\n\n private __propertyToAttribute(name: PropertyKey, value: unknown) {\n const elemProperties: PropertyDeclarationMap = (\n this.constructor as typeof ReactiveElement\n ).elementProperties;\n const options = elemProperties.get(name)!;\n const attr = (\n this.constructor as typeof ReactiveElement\n ).__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter =\n (options.converter as ComplexAttributeConverter)?.toAttribute !==\n undefined\n ? (options.converter as ComplexAttributeConverter)\n : defaultConverter;\n const attrValue = converter.toAttribute!(value, options.type);\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'migration'\n ) &&\n attrValue === undefined\n ) {\n issueWarning(\n 'undefined-attribute-value',\n `The attribute value for the ${name as string} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`\n );\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n } else {\n this.setAttribute(attr, attrValue as string);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /** @internal */\n _$attributeToProperty(name: string, value: string | null) {\n const ctor = this.constructor as typeof ReactiveElement;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = (ctor.__attributeToPropertyMap as AttributeMap).get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter =\n typeof options.converter === 'function'\n ? {fromAttribute: options.converter}\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName as keyof this] =\n converter.fromAttribute!(value, options.type) ??\n this.__defaultValues?.get(propName) ??\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (null as any);\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n\n /**\n * Requests an update which is processed asynchronously. This should be called\n * when an element should update based on some state not triggered by setting\n * a reactive property. In this case, pass no arguments. It should also be\n * called when manually implementing a property setter. In this case, pass the\n * property `name` and `oldValue` to ensure that any configured property\n * options are honored.\n *\n * @param name name of requesting property\n * @param oldValue old value of requesting property\n * @param options property options to use instead of the previously\n * configured options\n * @category updates\n */\n requestUpdate(\n name?: PropertyKey,\n oldValue?: unknown,\n options?: PropertyDeclaration\n ): void {\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n if (DEV_MODE && (name as unknown) instanceof Event) {\n issueWarning(\n ``,\n `The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()`\n );\n }\n const ctor = this.constructor as typeof ReactiveElement;\n const newValue = this[name as keyof this];\n options ??= ctor.getPropertyOptions(name);\n const changed =\n (options.hasChanged ?? notEqual)(newValue, oldValue) ||\n // When there is no change, check a corner case that can occur when\n // 1. there's a initial value which was not reflected\n // 2. the property is subsequently set to this value.\n // For example, `prop: {useDefault: true, reflect: true}`\n // and el.prop = 'foo'. This should be considered a change if the\n // attribute is not set because we will now reflect the property to the attribute.\n (options.useDefault &&\n options.reflect &&\n newValue === this.__defaultValues?.get(name) &&\n !this.hasAttribute(ctor.__attributeNameForProperty(name, options)!));\n if (changed) {\n this._$changeProperty(name, oldValue, options);\n } else {\n // Abort the request if the property should not be considered changed.\n return;\n }\n }\n if (this.isUpdatePending === false) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n }\n\n /**\n * @internal\n */\n _$changeProperty(\n name: PropertyKey,\n oldValue: unknown,\n {useDefault, reflect, wrapped}: PropertyDeclaration,\n initializeValue?: unknown\n ) {\n // Record default value when useDefault is used. This allows us to\n // restore this value when the attribute is removed.\n if (useDefault && !(this.__defaultValues ??= new Map()).has(name)) {\n this.__defaultValues.set(\n name,\n initializeValue ?? oldValue ?? this[name as keyof this]\n );\n // if this is not wrapping an accessor, it must be an initial setting\n // and in this case we do not want to record the change or reflect.\n if (wrapped !== true || initializeValue !== undefined) {\n return;\n }\n }\n // TODO (justinfagnani): Create a benchmark of Map.has() + Map.set(\n // vs just Map.set()\n if (!this._$changedProperties.has(name)) {\n // On the initial change, the old value should be `undefined`, except\n // with `useDefault`\n if (!this.hasUpdated && !useDefault) {\n oldValue = undefined;\n }\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `__reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (reflect === true && this.__reflectingProperty !== name) {\n (this.__reflectingProperties ??= new Set<PropertyKey>()).add(name);\n }\n }\n\n /**\n * Sets up the element to asynchronously update.\n */\n private async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n } catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n protected scheduleUpdate(): void | Promise<unknown> {\n const result = this.performUpdate();\n if (\n DEV_MODE &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'async-perform-update'\n ) &&\n typeof (result as unknown as Promise<unknown> | undefined)?.then ===\n 'function'\n ) {\n issueWarning(\n 'async-perform-update',\n `Element ${this.localName} returned a Promise from performUpdate(). ` +\n `This behavior is deprecated and will be removed in a future ` +\n `version of ReactiveElement.`\n );\n }\n return result;\n }\n\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * @category updates\n */\n protected performUpdate(): void {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({kind: 'update'});\n if (!this.hasUpdated) {\n // Create renderRoot before first update. This occurs in `connectedCallback`\n // but is done here to support out of tree calls to `enableUpdating`/`performUpdate`.\n (this as Mutable<typeof this, 'renderRoot'>).renderRoot ??=\n this.createRenderRoot();\n if (DEV_MODE) {\n // Produce warning if any reactive properties on the prototype are\n // shadowed by class fields. Instance fields set before upgrade are\n // deleted by this point, so any own property is caused by class field\n // initialization in the constructor.\n const ctor = this.constructor as typeof ReactiveElement;\n const shadowedProperties = [...ctor.elementProperties.keys()].filter(\n (p) => this.hasOwnProperty(p) && p in getPrototypeOf(this)\n );\n if (shadowedProperties.length) {\n throw new Error(\n `The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`\n );\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // TODO (justinfagnani): should we use the stored value? Could a new value\n // have been set since we stored the own property value?\n for (const [p, value] of this.__instanceProperties) {\n this[p as keyof this] = value as this[keyof this];\n }\n this.__instanceProperties = undefined;\n }\n // Trigger initial value reflection and populate the initial\n // `changedProperties` map, but only for the case of properties created\n // via `createProperty` on accessors, which will not have already\n // populated the `changedProperties` map since they are not set.\n // We can't know if these accessors had initializers, so we just set\n // them anyway - a difference from experimental decorators on fields and\n // standard decorators on auto-accessors.\n // For context see:\n // https://github.com/lit/lit/pull/4183#issuecomment-1711959635\n const elementProperties = (this.constructor as typeof ReactiveElement)\n .elementProperties;\n if (elementProperties.size > 0) {\n for (const [p, options] of elementProperties) {\n const {wrapped} = options;\n const value = this[p as keyof this];\n if (\n wrapped === true &&\n !this._$changedProperties.has(p) &&\n value !== undefined\n ) {\n this._$changeProperty(p, undefined, options, value);\n }\n }\n }\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n } else {\n this.__markUpdated();\n }\n } catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n protected willUpdate(_changedProperties: PropertyValues): void {}\n\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties: PropertyValues) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (\n DEV_MODE &&\n this.isUpdatePending &&\n (this.constructor as typeof ReactiveElement).enabledWarnings!.includes(\n 'change-in-update'\n )\n ) {\n issueWarning(\n 'change-in-update',\n `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`\n );\n }\n }\n\n private __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete(): Promise<boolean> {\n return this.getUpdateComplete();\n }\n\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n protected getUpdateComplete(): Promise<boolean> {\n return this.__updatePromise;\n }\n\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected shouldUpdate(_changedProperties: PropertyValues): boolean {\n return true;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected update(_changedProperties: PropertyValues) {\n // The forEach() expression will only run when __reflectingProperties is\n // defined, and it returns undefined, setting __reflectingProperties to\n // undefined\n this.__reflectingProperties &&= this.__reflectingProperties.forEach((p) =>\n this.__propertyToAttribute(p, this[p as keyof this])\n ) as undefined;\n this.__markUpdated();\n }\n\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected updated(_changedProperties: PropertyValues) {}\n\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n protected firstUpdated(_changedProperties: PropertyValues) {}\n}\n// Assigned here to work around a jscompiler bug with static fields\n// when compiling to ES5.\n// https://github.com/google/closure-compiler/issues/3177\n(ReactiveElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('elementProperties', ReactiveElement)\n] = new Map();\n(ReactiveElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('finalized', ReactiveElement)\n] = new Map();\n\n// Apply polyfills if available\npolyfillSupport?.({ReactiveElement});\n\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = [\n 'change-in-update',\n 'async-perform-update',\n ];\n const ensureOwnWarnings = function (ctor: typeof ReactiveElement) {\n if (\n !ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))\n ) {\n ctor.enabledWarnings = ctor.enabledWarnings!.slice();\n }\n };\n ReactiveElement.enableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n if (!this.enabledWarnings!.includes(warning)) {\n this.enabledWarnings!.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (\n this: typeof ReactiveElement,\n warning: WarningKind\n ) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings!.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings!.splice(i, 1);\n }\n };\n}\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('2.1.0');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n });\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// IMPORTANT: these imports must be type-only\nimport type {Directive, DirectiveResult, PartInfo} from './directive.js';\nimport type {TrustedHTML, TrustedTypesWindow} from 'trusted-types/lib/index.js';\n\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace LitUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | TemplatePrep\n | TemplateInstantiated\n | TemplateInstantiatedAndUpdated\n | TemplateUpdating\n | BeginRender\n | EndRender\n | CommitPartEntry\n | SetPartValue;\n export interface TemplatePrep {\n kind: 'template prep';\n template: Template;\n strings: TemplateStringsArray;\n clonableTemplate: HTMLTemplateElement;\n parts: TemplatePart[];\n }\n export interface BeginRender {\n kind: 'begin render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart | undefined;\n }\n export interface EndRender {\n kind: 'end render';\n id: number;\n value: unknown;\n container: HTMLElement | DocumentFragment;\n options: RenderOptions | undefined;\n part: ChildPart;\n }\n export interface TemplateInstantiated {\n kind: 'template instantiated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateInstantiatedAndUpdated {\n kind: 'template instantiated and updated';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n fragment: Node;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface TemplateUpdating {\n kind: 'template updating';\n template: Template | CompiledTemplate;\n instance: TemplateInstance;\n options: RenderOptions | undefined;\n parts: Array<Part | undefined>;\n values: unknown[];\n }\n export interface SetPartValue {\n kind: 'set part';\n part: Part;\n value: unknown;\n valueIndex: number;\n values: unknown[];\n templateInstance: TemplateInstance;\n }\n\n export type CommitPartEntry =\n | CommitNothingToChildEntry\n | CommitText\n | CommitNode\n | CommitAttribute\n | CommitProperty\n | CommitBooleanAttribute\n | CommitEventListener\n | CommitToElementBinding;\n\n export interface CommitNothingToChildEntry {\n kind: 'commit nothing to child';\n start: ChildNode;\n end: ChildNode | null;\n parent: Disconnectable | undefined;\n options: RenderOptions | undefined;\n }\n\n export interface CommitText {\n kind: 'commit text';\n node: Text;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitNode {\n kind: 'commit node';\n start: Node;\n parent: Disconnectable | undefined;\n value: Node;\n options: RenderOptions | undefined;\n }\n\n export interface CommitAttribute {\n kind: 'commit attribute';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitProperty {\n kind: 'commit property';\n element: Element;\n name: string;\n value: unknown;\n options: RenderOptions | undefined;\n }\n\n export interface CommitBooleanAttribute {\n kind: 'commit boolean attribute';\n element: Element;\n name: string;\n value: boolean;\n options: RenderOptions | undefined;\n }\n\n export interface CommitEventListener {\n kind: 'commit event listener';\n element: Element;\n name: string;\n value: unknown;\n oldListener: unknown;\n options: RenderOptions | undefined;\n // True if we're removing the old event listener (e.g. because settings changed, or value is nothing)\n removeListener: boolean;\n // True if we're adding a new event listener (e.g. because first render, or settings changed)\n addListener: boolean;\n }\n\n export interface CommitToElementBinding {\n kind: 'commit to element binding';\n element: Element;\n value: unknown;\n options: RenderOptions | undefined;\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: LitUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent<LitUnstable.DebugLog.Entry>('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n\n queueMicrotask(() => {\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n });\n}\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? (global.ShadyDOM!.wrap as <T extends Node>(node: T) => T)\n : <T extends Node>(node: T) => node;\n\nconst trustedTypes = (global as unknown as TrustedTypesWindow).trustedTypes;\n\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\n\n/**\n * Used to sanitize any value before it is written into the DOM. This can be\n * used to implement a security policy of allowed and disallowed values in\n * order to prevent XSS attacks.\n *\n * One way of using this callback would be to check attributes and properties\n * against a list of high risk fields, and require that values written to such\n * fields be instances of a class which is safe by construction. Closure's Safe\n * HTML Types is one implementation of this technique (\n * https://github.com/google/safe-html-types/blob/master/doc/safehtml-types.md).\n * The TrustedTypes polyfill in API-only mode could also be used as a basis\n * for this technique (https://github.com/WICG/trusted-types).\n *\n * @param node The HTML node (usually either a #text node or an Element) that\n * is being written to. Note that this is just an exemplar node, the write\n * may take place against another instance of the same class of node.\n * @param name The name of an attribute or property (for example, 'href').\n * @param type Indicates whether the write that's about to be performed will\n * be to a property or a node.\n * @return A function that will sanitize this class of writes.\n */\nexport type SanitizerFactory = (\n node: Node,\n name: string,\n type: 'property' | 'attribute'\n) => ValueSanitizer;\n\n/**\n * A function which can sanitize values that will be written to a specific kind\n * of DOM sink.\n *\n * See SanitizerFactory.\n *\n * @param value The value to sanitize. Will be the actual value passed into\n * the lit-html template literal, so this could be of any type.\n * @return The value to write to the DOM. Usually the same as the input value,\n * unless sanitization is needed.\n */\nexport type ValueSanitizer = (value: unknown) => unknown;\n\nconst identityFunction: ValueSanitizer = (value: unknown) => value;\nconst noopSanitizer: SanitizerFactory = (\n _node: Node,\n _name: string,\n _type: 'property' | 'attribute'\n) => identityFunction;\n\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer: SanitizerFactory) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(\n `Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`\n );\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\n\nconst createSanitizer: SanitizerFactory = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${Math.random().toFixed(9).slice(2)}$`;\n\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\n\nconst d =\n NODE_MODE && global.document === undefined\n ? ({\n createTreeWalker() {\n return {};\n },\n } as unknown as Document)\n : document;\n\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\n\n// https://tc39.github.io/ecma262/#sec-typeof-operator\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\nconst isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value: unknown): value is Iterable<unknown> =>\n isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof (value as any)?.[Symbol.iterator] === 'function';\n\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\n\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with <!--, like </{, can be ended by a single `>`\n */\nconst comment2EndRegex = />/g;\n\n/**\n * The tagEnd regex matches the end of the \"inside an opening\" tag syntax\n * position. It either matches a `>`, an attribute-like sequence, or the end\n * of the string after a space (attribute-name position ending).\n *\n * See attributes in the HTML spec:\n * https://www.w3.org/TR/html5/syntax.html#elements-attributes\n *\n * \" \\t\\n\\f\\r\" are HTML space characters:\n * https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * So an attribute is:\n * * The name: any character except a whitespace character, (\"), ('), \">\",\n * \"=\", or \"/\". Note: this is different from the HTML spec which also excludes control characters.\n * * Followed by zero or more space characters\n * * Followed by \"=\"\n * * Followed by zero or more space characters\n * * Followed by:\n * * Any character except space, ('), (\"), \"<\", \">\", \"=\", (`), or\n * * (\") then any non-(\"), or\n * * (') then any non-(')\n */\nconst tagEndRegex = new RegExp(\n `>|${SPACE_CHAR}(?:(${NAME_CHAR}+)(${SPACE_CHAR}*=${SPACE_CHAR}*(?:${ATTR_VALUE_CHAR}|(\"|')|))|$)`,\n 'g'\n);\nconst ENTIRE_MATCH = 0;\nconst ATTRIBUTE_NAME = 1;\nconst SPACES_AND_EQUALS = 2;\nconst QUOTE_CHAR = 3;\n\nconst singleQuoteAttrEndRegex = /'/g;\nconst doubleQuoteAttrEndRegex = /\"/g;\n/**\n * Matches the raw text elements.\n *\n * Comments are not parsed within raw text elements, so we need to search their\n * text content for marker strings.\n */\nconst rawTextElement = /^(?:script|style|textarea|title)$/i;\n\n/** TemplateResult types */\nconst HTML_RESULT = 1;\nconst SVG_RESULT = 2;\nconst MATHML_RESULT = 3;\n\ntype ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;\n\n// TemplatePart types\n// IMPORTANT: these must match the values in PartType\nconst ATTRIBUTE_PART = 1;\nconst CHILD_PART = 2;\nconst PROPERTY_PART = 3;\nconst BOOLEAN_ATTRIBUTE_PART = 4;\nconst EVENT_PART = 5;\nconst ELEMENT_PART = 6;\nconst COMMENT_PART = 7;\n\n/**\n * The return type of the template tag functions, {@linkcode html} and\n * {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.\n *\n * A `TemplateResult` object holds all the information about a template\n * expression required to render it: the template strings, expression values,\n * and type of template (html or svg).\n *\n * `TemplateResult` objects do not create any DOM on their own. To create or\n * update DOM you need to render the `TemplateResult`. See\n * [Rendering](https://lit.dev/docs/components/rendering) for more information.\n *\n */\nexport type UncompiledTemplateResult<T extends ResultType = ResultType> = {\n // This property needs to remain unminified.\n ['_$litType$']: T;\n strings: TemplateStringsArray;\n values: unknown[];\n};\n\n/**\n * This is a template result that may be either uncompiled or compiled.\n *\n * In the future, TemplateResult will be this type. If you want to explicitly\n * note that a template result is potentially compiled, you can reference this\n * type and it will continue to behave the same through the next major version\n * of Lit. This can be useful for code that wants to prepare for the next\n * major version of Lit.\n */\nexport type MaybeCompiledTemplateResult<T extends ResultType = ResultType> =\n | UncompiledTemplateResult<T>\n | CompiledTemplateResult;\n\n/**\n * The return type of the template tag functions, {@linkcode html} and\n * {@linkcode svg}.\n *\n * A `TemplateResult` object holds all the information about a template\n * expression required to render it: the template strings, expression values,\n * and type of template (html or svg).\n *\n * `TemplateResult` objects do not create any DOM on their own. To create or\n * update DOM you need to render the `TemplateResult`. See\n * [Rendering](https://lit.dev/docs/components/rendering) for more information.\n *\n * In Lit 4, this type will be an alias of\n * MaybeCompiledTemplateResult, so that code will get type errors if it assumes\n * that Lit templates are not compiled. When deliberately working with only\n * one, use either {@linkcode CompiledTemplateResult} or\n * {@linkcode UncompiledTemplateResult} explicitly.\n */\nexport type TemplateResult<T extends ResultType = ResultType> =\n UncompiledTemplateResult<T>;\n\nexport type HTMLTemplateResult = TemplateResult<typeof HTML_RESULT>;\n\nexport type SVGTemplateResult = TemplateResult<typeof SVG_RESULT>;\n\nexport type MathMLTemplateResult = TemplateResult<typeof MATHML_RESULT>;\n\n/**\n * A TemplateResult that has been compiled by @lit-labs/compiler, skipping the\n * prepare step.\n */\nexport interface CompiledTemplateResult {\n // This is a factory in order to make template initialization lazy\n // and allow ShadyRenderOptions scope to be passed in.\n // This property needs to remain unminified.\n ['_$litType$']: CompiledTemplate;\n values: unknown[];\n}\n\nexport interface CompiledTemplate extends Omit<Template, 'el'> {\n // el is overridden to be optional. We initialize it on first render\n el?: HTMLTemplateElement;\n\n // The prepared HTML string to create a template element from.\n // The type is a TemplateStringsArray to guarantee that the value came from\n // source code, preventing a JSON injection attack.\n h: TemplateStringsArray;\n}\n\n/**\n * Generates a template literal tag function that returns a TemplateResult with\n * the given result type.\n */\nconst tag =\n <T extends ResultType>(type: T) =>\n (strings: TemplateStringsArray, ...values: unknown[]): TemplateResult<T> => {\n // Warn against templates octal escape sequences\n // We do this here rather than in render so that the warning is closer to the\n // template definition.\n if (DEV_MODE && strings.some((s) => s === undefined)) {\n console.warn(\n 'Some template strings are undefined.\\n' +\n 'This is probably caused by illegal octal escape sequences.'\n );\n }\n if (DEV_MODE) {\n // Import static-html.js results in a circular dependency which g3 doesn't\n // handle. Instead we know that static values must have the field\n // `_$litStatic$`.\n if (\n values.some((val) => (val as {_$litStatic$: unknown})?.['_$litStatic$'])\n ) {\n issueWarning(\n '',\n `Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\\n` +\n `Please use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions`\n );\n }\n }\n return {\n // This property needs to remain unminified.\n ['_$litType$']: type,\n strings,\n values,\n };\n };\n\n/**\n * Interprets a template literal as an HTML template that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const header = (title: string) => html`<h1>${title}</h1>`;\n * ```\n *\n * The `html` tag returns a description of the DOM to render as a value. It is\n * lazy, meaning no work is done until the template is rendered. When rendering,\n * if a template comes from the same expression as a previously rendered result,\n * it's efficiently updated instead of replaced.\n */\nexport const html = tag(HTML_RESULT);\n\n/**\n * Interprets a template literal as an SVG fragment that can efficiently render\n * to and update a container.\n *\n * ```ts\n * const rect = svg`<rect width=\"10\" height=\"10\"></rect>`;\n *\n * const myImage = html`\n * <svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\">\n * ${rect}\n * </svg>`;\n * ```\n *\n * The `svg` *tag function* should only be used for SVG fragments, or elements\n * that would be contained **inside** an `<svg>` HTML element. A common error is\n * placing an `<svg>` *element* in a template tagged with the `svg` tag\n * function. The `<svg>` element is an HTML element and should be used within a\n * template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an SVG fragment from the\n * `render()` method, as the SVG fragment will be contained within the element's\n * shadow root and thus not be properly contained within an `<svg>` HTML\n * element.\n */\nexport const svg = tag(SVG_RESULT);\n\n/**\n * Interprets a template literal as MathML fragment that can efficiently render\n * to and update a container.\n *\n * ```ts\n * const num = mathml`<mn>1</mn>`;\n *\n * const eq = html`\n * <math>\n * ${num}\n * </math>`;\n * ```\n *\n * The `mathml` *tag function* should only be used for MathML fragments, or\n * elements that would be contained **inside** a `<math>` HTML element. A common\n * error is placing a `<math>` *element* in a template tagged with the `mathml`\n * tag function. The `<math>` element is an HTML element and should be used\n * within a template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an MathML fragment from the\n * `render()` method, as the MathML fragment will be contained within the\n * element's shadow root and thus not be properly contained within a `<math>`\n * HTML element.\n */\nexport const mathml = tag(MATHML_RESULT);\n\n/**\n * A sentinel value that signals that a value was handled by a directive and\n * should not be written to the DOM.\n */\nexport const noChange = Symbol.for('lit-noChange');\n\n/**\n * A sentinel value that signals a ChildPart to fully clear its content.\n *\n * ```ts\n * const button = html`${\n * user.isAdmin\n * ? html`<button>DELETE</button>`\n * : nothing\n * }`;\n * ```\n *\n * Prefer using `nothing` over other falsy values as it provides a consistent\n * behavior between various expression binding contexts.\n *\n * In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the\n * same and render no nodes. In attribute expressions, `nothing` _removes_ the\n * attribute, while `undefined` and `null` will render an empty string. In\n * property expressions `nothing` becomes `undefined`.\n */\nexport const nothing = Symbol.for('lit-nothing');\n\n/**\n * The cache of prepared templates, keyed by the tagged TemplateStringsArray\n * and _not_ accounting for the specific template tag used. This means that\n * template tags cannot be dynamic - they must statically be one of html, svg,\n * or attr. This restriction simplifies the cache lookup, which is on the hot\n * path for rendering.\n */\nconst templateCache = new WeakMap<TemplateStringsArray, Template>();\n\n/**\n * Object specifying options for controlling lit-html rendering. Note that\n * while `render` may be called multiple times on the same `container` (and\n * `renderBefore` reference node) to efficiently update the rendered content,\n * only the options passed in during the first render are respected during\n * the lifetime of renders to that unique `container` + `renderBefore`\n * combination.\n */\nexport interface RenderOptions {\n /**\n * An object to use as the `this` value for event listeners. It's often\n * useful to set this to the host component rendering a template.\n */\n host?: object;\n /**\n * A DOM node before which to render content in the container.\n */\n renderBefore?: ChildNode | null;\n /**\n * Node used for cloning the template (`importNode` will be called on this\n * node). This controls the `ownerDocument` of the rendered DOM, along with\n * any inherited context. Defaults to the global `document`.\n */\n creationScope?: {importNode(node: Node, deep?: boolean): Node};\n /**\n * The initial connected state for the top-level part being rendered. If no\n * `isConnected` option is set, `AsyncDirective`s will be connected by\n * default. Set to `false` if the initial render occurs in a disconnected tree\n * and `AsyncDirective`s should see `isConnected === false` for their initial\n * render. The `part.setConnected()` method must be used subsequent to initial\n * render to change the connected state of the part.\n */\n isConnected?: boolean;\n}\n\nconst walker = d.createTreeWalker(\n d,\n 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */\n);\n\nlet sanitizerFactoryInternal: SanitizerFactory = noopSanitizer;\n\n//\n// Classes only below here, const variable declarations only above here...\n//\n// Keeping variable declarations and classes together improves minification.\n// Interfaces and type aliases can be interleaved freely.\n//\n\n// Type for classes that have a `_directive` or `_directives[]` field, used by\n// `resolveDirective`\nexport interface DirectiveParent {\n _$parent?: DirectiveParent;\n _$isConnected: boolean;\n __directive?: Directive;\n __directives?: Array<Directive | undefined>;\n}\n\nfunction trustFromTemplateString(\n tsa: TemplateStringsArray,\n stringFromTSA: string\n): TrustedHTML {\n // A security check to prevent spoofing of Lit template results.\n // In the future, we may be able to replace this with Array.isTemplateObject,\n // though we might need to make that check inside of the html and svg\n // functions, because precompiled templates don't come in as\n // TemplateStringArray objects.\n if (!isArray(tsa) || !tsa.hasOwnProperty('raw')) {\n let message = 'invalid template strings array';\n if (DEV_MODE) {\n message = `\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n `\n .trim()\n .replace(/\\n */g, '\\n');\n }\n throw new Error(message);\n }\n return policy !== undefined\n ? policy.createHTML(stringFromTSA)\n : (stringFromTSA as unknown as TrustedHTML);\n}\n\n/**\n * Returns an HTML string for the given TemplateStringsArray and result type\n * (HTML or SVG), along with the case-sensitive bound attribute names in\n * template order. The HTML contains comment markers denoting the `ChildPart`s\n * and suffixes on bound attributes denoting the `AttributeParts`.\n *\n * @param strings template strings array\n * @param type HTML or SVG\n * @return Array containing `[html, attrNames]` (array returned for terseness,\n * to avoid object fields since this code is shared with non-minified SSR\n * code)\n */\nconst getTemplateHtml = (\n strings: TemplateStringsArray,\n type: ResultType\n): [TrustedHTML, Array<string>] => {\n // Insert makers into the template HTML to represent the position of\n // bindings. The following code scans the template strings to determine the\n // syntactic position of the bindings. They can be in text position, where\n // we insert an HTML comment, attribute value position, where we insert a\n // sentinel string and re-write the attribute name, or inside a tag where\n // we insert the sentinel string.\n const l = strings.length - 1;\n // Stores the case-sensitive bound attribute names in the order of their\n // parts. ElementParts are also reflected in this array as undefined\n // rather than a string, to disambiguate from attribute bindings.\n const attrNames: Array<string> = [];\n let html =\n type === SVG_RESULT ? '<svg>' : type === MATHML_RESULT ? '<math>' : '';\n\n // When we're inside a raw text tag (not it's text content), the regex\n // will still be tagRegex so we can find attributes, but will switch to\n // this regex when the tag ends.\n let rawTextEndRegex: RegExp | undefined;\n\n // The current parsing state, represented as a reference to one of the\n // regexes\n let regex = textEndRegex;\n\n for (let i = 0; i < l; i++) {\n const s = strings[i];\n // The index of the end of the last attribute name. When this is\n // positive at end of a string, it means we're in an attribute value\n // position and need to rewrite the attribute name.\n // We also use a special value of -2 to indicate that we encountered\n // the end of a string in attribute name position.\n let attrNameEndIndex = -1;\n let attrName: string | undefined;\n let lastIndex = 0;\n let match!: RegExpExecArray | null;\n\n // The conditions in this loop handle the current parse state, and the\n // assignments to the `regex` variable are the state transitions.\n while (lastIndex < s.length) {\n // Make sure we start searching from where we previously left off\n regex.lastIndex = lastIndex;\n match = regex.exec(s);\n if (match === null) {\n break;\n }\n lastIndex = regex.lastIndex;\n if (regex === textEndRegex) {\n if (match[COMMENT_START] === '!--') {\n regex = commentEndRegex;\n } else if (match[COMMENT_START] !== undefined) {\n // We started a weird comment, like </{\n regex = comment2EndRegex;\n } else if (match[TAG_NAME] !== undefined) {\n if (rawTextElement.test(match[TAG_NAME])) {\n // Record if we encounter a raw-text element. We'll switch to\n // this regex at the end of the tag.\n rawTextEndRegex = new RegExp(`</${match[TAG_NAME]}`, 'g');\n }\n regex = tagEndRegex;\n } else if (match[DYNAMIC_TAG_NAME] !== undefined) {\n if (DEV_MODE) {\n throw new Error(\n 'Bindings in tag names are not supported. Please use static templates instead. ' +\n 'See https://lit.dev/docs/templates/expressions/#static-expressions'\n );\n }\n regex = tagEndRegex;\n }\n } else if (regex === tagEndRegex) {\n if (match[ENTIRE_MATCH] === '>') {\n // End of a tag. If we had started a raw-text element, use that\n // regex\n regex = rawTextEndRegex ?? textEndRegex;\n // We may be ending an unquoted attribute value, so make sure we\n // clear any pending attrNameEndIndex\n attrNameEndIndex = -1;\n } else if (match[ATTRIBUTE_NAME] === undefined) {\n // Attribute name position\n attrNameEndIndex = -2;\n } else {\n attrNameEndIndex = regex.lastIndex - match[SPACES_AND_EQUALS].length;\n attrName = match[ATTRIBUTE_NAME];\n regex =\n match[QUOTE_CHAR] === undefined\n ? tagEndRegex\n : match[QUOTE_CHAR] === '\"'\n ? doubleQuoteAttrEndRegex\n : singleQuoteAttrEndRegex;\n }\n } else if (\n regex === doubleQuoteAttrEndRegex ||\n regex === singleQuoteAttrEndRegex\n ) {\n regex = tagEndRegex;\n } else if (regex === commentEndRegex || regex === comment2EndRegex) {\n regex = textEndRegex;\n } else {\n // Not one of the five state regexes, so it must be the dynamically\n // created raw text regex and we're at the close of that element.\n regex = tagEndRegex;\n rawTextEndRegex = undefined;\n }\n }\n\n if (DEV_MODE) {\n // If we have a attrNameEndIndex, which indicates that we should\n // rewrite the attribute name, assert that we're in a valid attribute\n // position - either in a tag, or a quoted attribute value.\n console.assert(\n attrNameEndIndex === -1 ||\n regex === tagEndRegex ||\n regex === singleQuoteAttrEndRegex ||\n regex === doubleQuoteAttrEndRegex,\n 'unexpected parse state B'\n );\n }\n\n // We have four cases:\n // 1. We're in text position, and not in a raw text element\n // (regex === textEndRegex): insert a comment marker.\n // 2. We have a non-negative attrNameEndIndex which means we need to\n // rewrite the attribute name to add a bound attribute suffix.\n // 3. We're at the non-first binding in a multi-binding attribute, use a\n // plain marker.\n // 4. We're somewhere else inside the tag. If we're in attribute name\n // position (attrNameEndIndex === -2), add a sequential suffix to\n // generate a unique attribute name.\n\n // Detect a binding next to self-closing tag end and insert a space to\n // separate the marker from the tag end:\n const end =\n regex === tagEndRegex && strings[i + 1].startsWith('/>') ? ' ' : '';\n html +=\n regex === textEndRegex\n ? s + nodeMarker\n : attrNameEndIndex >= 0\n ? (attrNames.push(attrName!),\n s.slice(0, attrNameEndIndex) +\n boundAttributeSuffix +\n s.slice(attrNameEndIndex)) +\n marker +\n end\n : s + marker + (attrNameEndIndex === -2 ? i : end);\n }\n\n const htmlResult: string | TrustedHTML =\n html +\n (strings[l] || '<?>') +\n (type === SVG_RESULT ? '</svg>' : type === MATHML_RESULT ? '</math>' : '');\n\n // Returned as an array for terseness\n return [trustFromTemplateString(strings, htmlResult), attrNames];\n};\n\n/** @internal */\nexport type {Template};\nclass Template {\n /** @internal */\n el!: HTMLTemplateElement;\n\n parts: Array<TemplatePart> = [];\n\n constructor(\n // This property needs to remain unminified.\n {strings, ['_$litType$']: type}: UncompiledTemplateResult,\n options?: RenderOptions\n ) {\n let node: Node | null;\n let nodeIndex = 0;\n let attrNameIndex = 0;\n const partCount = strings.length - 1;\n const parts = this.parts;\n\n // Create template element\n const [html, attrNames] = getTemplateHtml(strings, type);\n this.el = Template.createElement(html, options);\n walker.currentNode = this.el.content;\n\n // Re-parent SVG or MathML nodes into template root\n if (type === SVG_RESULT || type === MATHML_RESULT) {\n const wrapper = this.el.content.firstChild!;\n wrapper.replaceWith(...wrapper.childNodes);\n }\n\n // Walk the template to find binding markers and create TemplateParts\n while ((node = walker.nextNode()) !== null && parts.length < partCount) {\n if (node.nodeType === 1) {\n if (DEV_MODE) {\n const tag = (node as Element).localName;\n // Warn if `textarea` includes an expression and throw if `template`\n // does since these are not supported. We do this by checking\n // innerHTML for anything that looks like a marker. This catches\n // cases like bindings in textarea there markers turn into text nodes.\n if (\n /^(?:textarea|template)$/i!.test(tag) &&\n (node as Element).innerHTML.includes(marker)\n ) {\n const m =\n `Expressions are not supported inside \\`${tag}\\` ` +\n `elements. See https://lit.dev/msg/expression-in-${tag} for more ` +\n `information.`;\n if (tag === 'template') {\n throw new Error(m);\n } else issueWarning('', m);\n }\n }\n // TODO (justinfagnani): for attempted dynamic tag names, we don't\n // increment the bindingIndex, and it'll be off by 1 in the element\n // and off by two after it.\n if ((node as Element).hasAttributes()) {\n for (const name of (node as Element).getAttributeNames()) {\n if (name.endsWith(boundAttributeSuffix)) {\n const realName = attrNames[attrNameIndex++];\n const value = (node as Element).getAttribute(name)!;\n const statics = value.split(marker);\n const m = /([.?@])?(.*)/.exec(realName)!;\n parts.push({\n type: ATTRIBUTE_PART,\n index: nodeIndex,\n name: m[2],\n strings: statics,\n ctor:\n m[1] === '.'\n ? PropertyPart\n : m[1] === '?'\n ? BooleanAttributePart\n : m[1] === '@'\n ? EventPart\n : AttributePart,\n });\n (node as Element).removeAttribute(name);\n } else if (name.startsWith(marker)) {\n parts.push({\n type: ELEMENT_PART,\n index: nodeIndex,\n });\n (node as Element).removeAttribute(name);\n }\n }\n }\n // TODO (justinfagnani): benchmark the regex against testing for each\n // of the 3 raw text element names.\n if (rawTextElement.test((node as Element).tagName)) {\n // For raw text elements we need to split the text content on\n // markers, create a Text node for each segment, and create\n // a TemplatePart for each marker.\n const strings = (node as Element).textContent!.split(marker);\n const lastIndex = strings.length - 1;\n if (lastIndex > 0) {\n (node as Element).textContent = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n // Generate a new text node for each literal section\n // These nodes are also used as the markers for child parts\n for (let i = 0; i < lastIndex; i++) {\n (node as Element).append(strings[i], createMarker());\n // Walk past the marker node we just added\n walker.nextNode();\n parts.push({type: CHILD_PART, index: ++nodeIndex});\n }\n // Note because this marker is added after the walker's current\n // node, it will be walked to in the outer loop (and ignored), so\n // we don't need to adjust nodeIndex here\n (node as Element).append(strings[lastIndex], createMarker());\n }\n }\n } else if (node.nodeType === 8) {\n const data = (node as Comment).data;\n if (data === markerMatch) {\n parts.push({type: CHILD_PART, index: nodeIndex});\n } else {\n let i = -1;\n while ((i = (node as Comment).data.indexOf(marker, i + 1)) !== -1) {\n // Comment node has a binding marker inside, make an inactive part\n // The binding won't work, but subsequent bindings will\n parts.push({type: COMMENT_PART, index: nodeIndex});\n // Move to the end of the match\n i += marker.length - 1;\n }\n }\n }\n nodeIndex++;\n }\n\n if (DEV_MODE) {\n // If there was a duplicate attribute on a tag, then when the tag is\n // parsed into an element the attribute gets de-duplicated. We can detect\n // this mismatch if we haven't precisely consumed every attribute name\n // when preparing the template. This works because `attrNames` is built\n // from the template string and `attrNameIndex` comes from processing the\n // resulting DOM.\n if (attrNames.length !== attrNameIndex) {\n throw new Error(\n `Detected duplicate attribute bindings. This occurs if your template ` +\n `has duplicate attributes on an element tag. For example ` +\n `\"<input ?disabled=\\${true} ?disabled=\\${false}>\" contains a ` +\n `duplicate \"disabled\" attribute. The error was detected in ` +\n `the following template: \\n` +\n '`' +\n strings.join('${...}') +\n '`'\n );\n }\n }\n\n // We could set walker.currentNode to another node here to prevent a memory\n // leak, but every time we prepare a template, we immediately render it\n // and re-use the walker in new TemplateInstance._clone().\n debugLogEvent &&\n debugLogEvent({\n kind: 'template prep',\n template: this,\n clonableTemplate: this.el,\n parts: this.parts,\n strings,\n });\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @nocollapse */\n static createElement(html: TrustedHTML, _options?: RenderOptions) {\n const el = d.createElement('template');\n el.innerHTML = html as unknown as string;\n return el;\n }\n}\n\nexport interface Disconnectable {\n _$parent?: Disconnectable;\n _$disconnectableChildren?: Set<Disconnectable>;\n // Rather than hold connection state on instances, Disconnectables recursively\n // fetch the connection state from the RootPart they are connected in via\n // getters up the Disconnectable tree via _$parent references. This pushes the\n // cost of tracking the isConnected state to `AsyncDirectives`, and avoids\n // needing to pass all Disconnectables (parts, template instances, and\n // directives) their connection state each time it changes, which would be\n // costly for trees that have no AsyncDirectives.\n _$isConnected: boolean;\n}\n\nfunction resolveDirective(\n part: ChildPart | AttributePart | ElementPart,\n value: unknown,\n parent: DirectiveParent = part,\n attributeIndex?: number\n): unknown {\n // Bail early if the value is explicitly noChange. Note, this means any\n // nested directive is still attached and is not run.\n if (value === noChange) {\n return value;\n }\n let currentDirective =\n attributeIndex !== undefined\n ? (parent as AttributePart).__directives?.[attributeIndex]\n : (parent as ChildPart | ElementPart | Directive).__directive;\n const nextDirectiveConstructor = isPrimitive(value)\n ? undefined\n : // This property needs to remain unminified.\n (value as DirectiveResult)['_$litDirective$'];\n if (currentDirective?.constructor !== nextDirectiveConstructor) {\n // This property needs to remain unminified.\n currentDirective?.['_$notifyDirectiveConnectionChanged']?.(false);\n if (nextDirectiveConstructor === undefined) {\n currentDirective = undefined;\n } else {\n currentDirective = new nextDirectiveConstructor(part as PartInfo);\n currentDirective._$initialize(part, parent, attributeIndex);\n }\n if (attributeIndex !== undefined) {\n ((parent as AttributePart).__directives ??= [])[attributeIndex] =\n currentDirective;\n } else {\n (parent as ChildPart | Directive).__directive = currentDirective;\n }\n }\n if (currentDirective !== undefined) {\n value = resolveDirective(\n part,\n currentDirective._$resolve(part, (value as DirectiveResult).values),\n currentDirective,\n attributeIndex\n );\n }\n return value;\n}\n\nexport type {TemplateInstance};\n/**\n * An updateable instance of a Template. Holds references to the Parts used to\n * update the template instance.\n */\nclass TemplateInstance implements Disconnectable {\n _$template: Template;\n _$parts: Array<Part | undefined> = [];\n\n /** @internal */\n _$parent: ChildPart;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n constructor(template: Template, parent: ChildPart) {\n this._$template = template;\n this._$parent = parent;\n }\n\n // Called by ChildPart parentNode getter\n get parentNode() {\n return this._$parent.parentNode;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n // This method is separate from the constructor because we need to return a\n // DocumentFragment and we don't want to hold onto it with an instance field.\n _clone(options: RenderOptions | undefined) {\n const {\n el: {content},\n parts: parts,\n } = this._$template;\n const fragment = (options?.creationScope ?? d).importNode(content, true);\n walker.currentNode = fragment;\n\n let node = walker.nextNode()!;\n let nodeIndex = 0;\n let partIndex = 0;\n let templatePart = parts[0];\n\n while (templatePart !== undefined) {\n if (nodeIndex === templatePart.index) {\n let part: Part | undefined;\n if (templatePart.type === CHILD_PART) {\n part = new ChildPart(\n node as HTMLElement,\n node.nextSibling,\n this,\n options\n );\n } else if (templatePart.type === ATTRIBUTE_PART) {\n part = new templatePart.ctor(\n node as HTMLElement,\n templatePart.name,\n templatePart.strings,\n this,\n options\n );\n } else if (templatePart.type === ELEMENT_PART) {\n part = new ElementPart(node as HTMLElement, this, options);\n }\n this._$parts.push(part);\n templatePart = parts[++partIndex];\n }\n if (nodeIndex !== templatePart?.index) {\n node = walker.nextNode()!;\n nodeIndex++;\n }\n }\n // We need to set the currentNode away from the cloned tree so that we\n // don't hold onto the tree even if the tree is detached and should be\n // freed.\n walker.currentNode = d;\n return fragment;\n }\n\n _update(values: Array<unknown>) {\n let i = 0;\n for (const part of this._$parts) {\n if (part !== undefined) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'set part',\n part,\n value: values[i],\n valueIndex: i,\n values,\n templateInstance: this,\n });\n if ((part as AttributePart).strings !== undefined) {\n (part as AttributePart)._$setValue(values, part as AttributePart, i);\n // The number of values the part consumes is part.strings.length - 1\n // since values are in between template spans. We increment i by 1\n // later in the loop, so increment it by part.strings.length - 2 here\n i += (part as AttributePart).strings!.length - 2;\n } else {\n part._$setValue(values[i]);\n }\n }\n i++;\n }\n }\n}\n\n/*\n * Parts\n */\ntype AttributeTemplatePart = {\n readonly type: typeof ATTRIBUTE_PART;\n readonly index: number;\n readonly name: string;\n readonly ctor: typeof AttributePart;\n readonly strings: ReadonlyArray<string>;\n};\ntype ChildTemplatePart = {\n readonly type: typeof CHILD_PART;\n readonly index: number;\n};\ntype ElementTemplatePart = {\n readonly type: typeof ELEMENT_PART;\n readonly index: number;\n};\ntype CommentTemplatePart = {\n readonly type: typeof COMMENT_PART;\n readonly index: number;\n};\n\n/**\n * A TemplatePart represents a dynamic part in a template, before the template\n * is instantiated. When a template is instantiated Parts are created from\n * TemplateParts.\n */\ntype TemplatePart =\n | ChildTemplatePart\n | AttributeTemplatePart\n | ElementTemplatePart\n | CommentTemplatePart;\n\nexport type Part =\n | ChildPart\n | AttributePart\n | PropertyPart\n | BooleanAttributePart\n | ElementPart\n | EventPart;\n\nexport type {ChildPart};\nclass ChildPart implements Disconnectable {\n readonly type = CHILD_PART;\n readonly options: RenderOptions | undefined;\n _$committedValue: unknown = nothing;\n /** @internal */\n __directive?: Directive;\n /** @internal */\n _$startNode: ChildNode;\n /** @internal */\n _$endNode: ChildNode | null;\n private _textSanitizer: ValueSanitizer | undefined;\n /** @internal */\n _$parent: Disconnectable | undefined;\n /**\n * Connection state for RootParts only (i.e. ChildPart without _$parent\n * returned from top-level `render`). This field is unused otherwise. The\n * intention would be clearer if we made `RootPart` a subclass of `ChildPart`\n * with this field (and a different _$isConnected getter), but the subclass\n * caused a perf regression, possibly due to making call sites polymorphic.\n * @internal\n */\n __isConnected: boolean;\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n // ChildParts that are not at the root should always be created with a\n // parent; only RootChildNode's won't, so they return the local isConnected\n // state\n return this._$parent?._$isConnected ?? this.__isConnected;\n }\n\n // The following fields will be patched onto ChildParts when required by\n // AsyncDirective\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /** @internal */\n _$notifyConnectionChanged?(\n isConnected: boolean,\n removeFromParent?: boolean,\n from?: number\n ): void;\n /** @internal */\n _$reparentDisconnectables?(parent: Disconnectable): void;\n\n constructor(\n startNode: ChildNode,\n endNode: ChildNode | null,\n parent: TemplateInstance | ChildPart | undefined,\n options: RenderOptions | undefined\n ) {\n this._$startNode = startNode;\n this._$endNode = endNode;\n this._$parent = parent;\n this.options = options;\n // Note __isConnected is only ever accessed on RootParts (i.e. when there is\n // no _$parent); the value on a non-root-part is \"don't care\", but checking\n // for parent would be more code\n this.__isConnected = options?.isConnected ?? true;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n // Explicitly initialize for consistent class shape.\n this._textSanitizer = undefined;\n }\n }\n\n /**\n * The parent node into which the part renders its content.\n *\n * A ChildPart's content consists of a range of adjacent child nodes of\n * `.parentNode`, possibly bordered by 'marker nodes' (`.startNode` and\n * `.endNode`).\n *\n * - If both `.startNode` and `.endNode` are non-null, then the part's content\n * consists of all siblings between `.startNode` and `.endNode`, exclusively.\n *\n * - If `.startNode` is non-null but `.endNode` is null, then the part's\n * content consists of all siblings following `.startNode`, up to and\n * including the last child of `.parentNode`. If `.endNode` is non-null, then\n * `.startNode` will always be non-null.\n *\n * - If both `.endNode` and `.startNode` are null, then the part's content\n * consists of all child nodes of `.parentNode`.\n */\n get parentNode(): Node {\n let parentNode: Node = wrap(this._$startNode).parentNode!;\n const parent = this._$parent;\n if (\n parent !== undefined &&\n parentNode?.nodeType === 11 /* Node.DOCUMENT_FRAGMENT */\n ) {\n // If the parentNode is a DocumentFragment, it may be because the DOM is\n // still in the cloned fragment during initial render; if so, get the real\n // parentNode the part will be committed into by asking the parent.\n parentNode = (parent as ChildPart | TemplateInstance).parentNode;\n }\n return parentNode;\n }\n\n /**\n * The part's leading marker node, if any. See `.parentNode` for more\n * information.\n */\n get startNode(): Node | null {\n return this._$startNode;\n }\n\n /**\n * The part's trailing marker node, if any. See `.parentNode` for more\n * information.\n */\n get endNode(): Node | null {\n return this._$endNode;\n }\n\n _$setValue(value: unknown, directiveParent: DirectiveParent = this): void {\n if (DEV_MODE && this.parentNode === null) {\n throw new Error(\n `This \\`ChildPart\\` has no \\`parentNode\\` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's \\`innerHTML\\` or \\`textContent\\` can do this.`\n );\n }\n value = resolveDirective(this, value, directiveParent);\n if (isPrimitive(value)) {\n // Non-rendering child values. It's important that these do not render\n // empty text nodes to avoid issues with preventing default <slot>\n // fallback content.\n if (value === nothing || value == null || value === '') {\n if (this._$committedValue !== nothing) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit nothing to child',\n start: this._$startNode,\n end: this._$endNode,\n parent: this._$parent,\n options: this.options,\n });\n this._$clear();\n }\n this._$committedValue = nothing;\n } else if (value !== this._$committedValue && value !== noChange) {\n this._commitText(value);\n }\n // This property needs to remain unminified.\n } else if ((value as TemplateResult)['_$litType$'] !== undefined) {\n this._commitTemplateResult(value as TemplateResult);\n } else if ((value as Node).nodeType !== undefined) {\n if (DEV_MODE && this.options?.host === value) {\n this._commitText(\n `[probable mistake: rendered a template's host in itself ` +\n `(commonly caused by writing \\${this} in a template]`\n );\n console.warn(\n `Attempted to render the template host`,\n value,\n `inside itself. This is almost always a mistake, and in dev mode `,\n `we render some warning text. In production however, we'll `,\n `render it, which will usually result in an error, and sometimes `,\n `in the element disappearing from the DOM.`\n );\n return;\n }\n this._commitNode(value as Node);\n } else if (isIterable(value)) {\n this._commitIterable(value);\n } else {\n // Fallback, will render the string representation\n this._commitText(value);\n }\n }\n\n private _insert<T extends Node>(node: T) {\n return wrap(wrap(this._$startNode).parentNode!).insertBefore(\n node,\n this._$endNode\n );\n }\n\n private _commitNode(value: Node): void {\n if (this._$committedValue !== value) {\n this._$clear();\n if (\n ENABLE_EXTRA_SECURITY_HOOKS &&\n sanitizerFactoryInternal !== noopSanitizer\n ) {\n const parentNodeName = this._$startNode.parentNode?.nodeName;\n if (parentNodeName === 'STYLE' || parentNodeName === 'SCRIPT') {\n let message = 'Forbidden';\n if (DEV_MODE) {\n if (parentNodeName === 'STYLE') {\n message =\n `Lit does not support binding inside style nodes. ` +\n `This is a security risk, as style injection attacks can ` +\n `exfiltrate data and spoof UIs. ` +\n `Consider instead using css\\`...\\` literals ` +\n `to compose styles, and do dynamic styling with ` +\n `css custom properties, ::parts, <slot>s, ` +\n `and by mutating the DOM rather than stylesheets.`;\n } else {\n message =\n `Lit does not support binding inside script nodes. ` +\n `This is a security risk, as it could allow arbitrary ` +\n `code execution.`;\n }\n }\n throw new Error(message);\n }\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit node',\n start: this._$startNode,\n parent: this._$parent,\n value: value,\n options: this.options,\n });\n this._$committedValue = this._insert(value);\n }\n }\n\n private _commitText(value: unknown): void {\n // If the committed value is a primitive it means we called _commitText on\n // the previous render, and we know that this._$startNode.nextSibling is a\n // Text node. We can now just replace the text content (.data) of the node.\n if (\n this._$committedValue !== nothing &&\n isPrimitive(this._$committedValue)\n ) {\n const node = wrap(this._$startNode).nextSibling as Text;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(node, 'data', 'property');\n }\n value = this._textSanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node,\n value,\n options: this.options,\n });\n (node as Text).data = value as string;\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n const textNode = d.createTextNode('');\n this._commitNode(textNode);\n // When setting text content, for security purposes it matters a lot\n // what the parent is. For example, <style> and <script> need to be\n // handled with care, while <span> does not. So first we need to put a\n // text node into the document, then we can sanitize its content.\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(textNode, 'data', 'property');\n }\n value = this._textSanitizer(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: textNode,\n value,\n options: this.options,\n });\n textNode.data = value as string;\n } else {\n this._commitNode(d.createTextNode(value as string));\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: wrap(this._$startNode).nextSibling as Text,\n value,\n options: this.options,\n });\n }\n }\n this._$committedValue = value;\n }\n\n private _commitTemplateResult(\n result: TemplateResult | CompiledTemplateResult\n ): void {\n // This property needs to remain unminified.\n const {values, ['_$litType$']: type} = result;\n // If $litType$ is a number, result is a plain TemplateResult and we get\n // the template from the template cache. If not, result is a\n // CompiledTemplateResult and _$litType$ is a CompiledTemplate and we need\n // to create the <template> element the first time we see it.\n const template: Template | CompiledTemplate =\n typeof type === 'number'\n ? this._$getTemplate(result as UncompiledTemplateResult)\n : (type.el === undefined &&\n (type.el = Template.createElement(\n trustFromTemplateString(type.h, type.h[0]),\n this.options\n )),\n type);\n\n if ((this._$committedValue as TemplateInstance)?._$template === template) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'template updating',\n template,\n instance: this._$committedValue as TemplateInstance,\n parts: (this._$committedValue as TemplateInstance)._$parts,\n options: this.options,\n values,\n });\n (this._$committedValue as TemplateInstance)._update(values);\n } else {\n const instance = new TemplateInstance(template as Template, this);\n const fragment = instance._clone(this.options);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n instance._update(values);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated and updated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n this._commitNode(fragment);\n this._$committedValue = instance;\n }\n }\n\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @internal */\n _$getTemplate(result: UncompiledTemplateResult) {\n let template = templateCache.get(result.strings);\n if (template === undefined) {\n templateCache.set(result.strings, (template = new Template(result)));\n }\n return template;\n }\n\n private _commitIterable(value: Iterable<unknown>): void {\n // For an Iterable, we create a new InstancePart per item, then set its\n // value to the item. This is a little bit of overhead for every item in\n // an Iterable, but it lets us recurse easily and efficiently update Arrays\n // of TemplateResults that will be commonly returned from expressions like:\n // array.map((i) => html`${i}`), by reusing existing TemplateInstances.\n\n // If value is an array, then the previous render was of an\n // iterable and value will contain the ChildParts from the previous\n // render. If value is not an array, clear this part and make a new\n // array for ChildParts.\n if (!isArray(this._$committedValue)) {\n this._$committedValue = [];\n this._$clear();\n }\n\n // Lets us keep track of how many items we stamped so we can clear leftover\n // items from a previous render\n const itemParts = this._$committedValue as ChildPart[];\n let partIndex = 0;\n let itemPart: ChildPart | undefined;\n\n for (const item of value) {\n if (partIndex === itemParts.length) {\n // If no existing part, create a new one\n // TODO (justinfagnani): test perf impact of always creating two parts\n // instead of sharing parts between nodes\n // https://github.com/lit/lit/issues/1266\n itemParts.push(\n (itemPart = new ChildPart(\n this._insert(createMarker()),\n this._insert(createMarker()),\n this,\n this.options\n ))\n );\n } else {\n // Reuse an existing part\n itemPart = itemParts[partIndex];\n }\n itemPart._$setValue(item);\n partIndex++;\n }\n\n if (partIndex < itemParts.length) {\n // itemParts always have end nodes\n this._$clear(\n itemPart && wrap(itemPart._$endNode!).nextSibling,\n partIndex\n );\n // Truncate the parts array so _value reflects the current state\n itemParts.length = partIndex;\n }\n }\n\n /**\n * Removes the nodes contained within this Part from the DOM.\n *\n * @param start Start node to clear from, for clearing a subset of the part's\n * DOM (used when truncating iterables)\n * @param from When `start` is specified, the index within the iterable from\n * which ChildParts are being removed, used for disconnecting directives in\n * those Parts.\n *\n * @internal\n */\n _$clear(\n start: ChildNode | null = wrap(this._$startNode).nextSibling,\n from?: number\n ) {\n this._$notifyConnectionChanged?.(false, true, from);\n while (start && start !== this._$endNode) {\n const n = wrap(start!).nextSibling;\n (wrap(start!) as Element).remove();\n start = n;\n }\n }\n /**\n * Implementation of RootPart's `isConnected`. Note that this method\n * should only be called on `RootPart`s (the `ChildPart` returned from a\n * top-level `render()` call). It has no effect on non-root ChildParts.\n * @param isConnected Whether to set\n * @internal\n */\n setConnected(isConnected: boolean) {\n if (this._$parent === undefined) {\n this.__isConnected = isConnected;\n this._$notifyConnectionChanged?.(isConnected);\n } else if (DEV_MODE) {\n throw new Error(\n 'part.setConnected() may only be called on a ' +\n 'RootPart returned from render().'\n );\n }\n }\n}\n\n/**\n * A top-level `ChildPart` returned from `render` that manages the connected\n * state of `AsyncDirective`s created throughout the tree below it.\n */\nexport interface RootPart extends ChildPart {\n /**\n * Sets the connection state for `AsyncDirective`s contained within this root\n * ChildPart.\n *\n * lit-html does not automatically monitor the connectedness of DOM rendered;\n * as such, it is the responsibility of the caller to `render` to ensure that\n * `part.setConnected(false)` is called before the part object is potentially\n * discarded, to ensure that `AsyncDirective`s have a chance to dispose of\n * any resources being held. If a `RootPart` that was previously\n * disconnected is subsequently re-connected (and its `AsyncDirective`s should\n * re-connect), `setConnected(true)` should be called.\n *\n * @param isConnected Whether directives within this tree should be connected\n * or not\n */\n setConnected(isConnected: boolean): void;\n}\n\nexport type {AttributePart};\nclass AttributePart implements Disconnectable {\n readonly type:\n | typeof ATTRIBUTE_PART\n | typeof PROPERTY_PART\n | typeof BOOLEAN_ATTRIBUTE_PART\n | typeof EVENT_PART = ATTRIBUTE_PART;\n readonly element: HTMLElement;\n readonly name: string;\n readonly options: RenderOptions | undefined;\n\n /**\n * If this attribute part represents an interpolation, this contains the\n * static strings of the interpolation. For single-value, complete bindings,\n * this is undefined.\n */\n readonly strings?: ReadonlyArray<string>;\n /** @internal */\n _$committedValue: unknown | Array<unknown> = nothing;\n /** @internal */\n __directives?: Array<Directive | undefined>;\n /** @internal */\n _$parent: Disconnectable;\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n protected _sanitizer: ValueSanitizer | undefined;\n\n get tagName() {\n return this.element.tagName;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this.element = element;\n this.name = name;\n this._$parent = parent;\n this.options = options;\n if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {\n this._$committedValue = new Array(strings.length - 1).fill(new String());\n this.strings = strings;\n } else {\n this._$committedValue = nothing;\n }\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n this._sanitizer = undefined;\n }\n }\n\n /**\n * Sets the value of this part by resolving the value from possibly multiple\n * values and static strings and committing it to the DOM.\n * If this part is single-valued, `this._strings` will be undefined, and the\n * method will be called with a single value argument. If this part is\n * multi-value, `this._strings` will be defined, and the method is called\n * with the value array of the part's owning TemplateInstance, and an offset\n * into the value array from which the values should be read.\n * This method is overloaded this way to eliminate short-lived array slices\n * of the template instance values, and allow a fast-path for single-valued\n * parts.\n *\n * @param value The part value, or an array of values for multi-valued parts\n * @param valueIndex the index to start reading values from. `undefined` for\n * single-valued parts\n * @param noCommit causes the part to not commit its value to the DOM. Used\n * in hydration to prime attribute parts with their first-rendered value,\n * but not set the attribute, and in SSR to no-op the DOM operation and\n * capture the value for serialization.\n *\n * @internal\n */\n _$setValue(\n value: unknown | Array<unknown>,\n directiveParent: DirectiveParent = this,\n valueIndex?: number,\n noCommit?: boolean\n ) {\n const strings = this.strings;\n\n // Whether any of the values has changed, for dirty-checking\n let change = false;\n\n if (strings === undefined) {\n // Single-value binding case\n value = resolveDirective(this, value, directiveParent, 0);\n change =\n !isPrimitive(value) ||\n (value !== this._$committedValue && value !== noChange);\n if (change) {\n this._$committedValue = value;\n }\n } else {\n // Interpolation case\n const values = value as Array<unknown>;\n value = strings[0];\n\n let i, v;\n for (i = 0; i < strings.length - 1; i++) {\n v = resolveDirective(this, values[valueIndex! + i], directiveParent, i);\n\n if (v === noChange) {\n // If the user-provided value is `noChange`, use the previous value\n v = (this._$committedValue as Array<unknown>)[i];\n }\n change ||=\n !isPrimitive(v) || v !== (this._$committedValue as Array<unknown>)[i];\n if (v === nothing) {\n value = nothing;\n } else if (value !== nothing) {\n value += (v ?? '') + strings[i + 1];\n }\n // We always record each value, even if one is `nothing`, for future\n // change detection.\n (this._$committedValue as Array<unknown>)[i] = v;\n }\n }\n if (change && !noCommit) {\n this._commitValue(value);\n }\n }\n\n /** @internal */\n _commitValue(value: unknown) {\n if (value === nothing) {\n (wrap(this.element) as Element).removeAttribute(this.name);\n } else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'attribute'\n );\n }\n value = this._sanitizer(value ?? '');\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit attribute',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n (wrap(this.element) as Element).setAttribute(\n this.name,\n (value ?? '') as string\n );\n }\n }\n}\n\nexport type {PropertyPart};\nclass PropertyPart extends AttributePart {\n override readonly type = PROPERTY_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(\n this.element,\n this.name,\n 'property'\n );\n }\n value = this._sanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit property',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.element as any)[this.name] = value === nothing ? undefined : value;\n }\n}\n\nexport type {BooleanAttributePart};\nclass BooleanAttributePart extends AttributePart {\n override readonly type = BOOLEAN_ATTRIBUTE_PART;\n\n /** @internal */\n override _commitValue(value: unknown) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit boolean attribute',\n element: this.element,\n name: this.name,\n value: !!(value && value !== nothing),\n options: this.options,\n });\n (wrap(this.element) as Element).toggleAttribute(\n this.name,\n !!value && value !== nothing\n );\n }\n}\n\ntype EventListenerWithOptions = EventListenerOrEventListenerObject &\n Partial<AddEventListenerOptions>;\n\n/**\n * An AttributePart that manages an event listener via add/removeEventListener.\n *\n * This part works by adding itself as the event listener on an element, then\n * delegating to the value passed to it. This reduces the number of calls to\n * add/removeEventListener if the listener changes frequently, such as when an\n * inline function is used as a listener.\n *\n * Because event options are passed when adding listeners, we must take case\n * to add and remove the part as a listener when the event options change.\n */\nexport type {EventPart};\nclass EventPart extends AttributePart {\n override readonly type = EVENT_PART;\n\n constructor(\n element: HTMLElement,\n name: string,\n strings: ReadonlyArray<string>,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n super(element, name, strings, parent, options);\n\n if (DEV_MODE && this.strings !== undefined) {\n throw new Error(\n `A \\`<${element.localName}>\\` has a \\`@${name}=...\\` listener with ` +\n 'invalid content. Event listeners in templates must have exactly ' +\n 'one expression and no surrounding text.'\n );\n }\n }\n\n // EventPart does not use the base _$setValue/_resolveValue implementation\n // since the dirty checking is more complex\n /** @internal */\n override _$setValue(\n newListener: unknown,\n directiveParent: DirectiveParent = this\n ) {\n newListener =\n resolveDirective(this, newListener, directiveParent, 0) ?? nothing;\n if (newListener === noChange) {\n return;\n }\n const oldListener = this._$committedValue;\n\n // If the new value is nothing or any options change we have to remove the\n // part as a listener.\n const shouldRemoveListener =\n (newListener === nothing && oldListener !== nothing) ||\n (newListener as EventListenerWithOptions).capture !==\n (oldListener as EventListenerWithOptions).capture ||\n (newListener as EventListenerWithOptions).once !==\n (oldListener as EventListenerWithOptions).once ||\n (newListener as EventListenerWithOptions).passive !==\n (oldListener as EventListenerWithOptions).passive;\n\n // If the new value is not nothing and we removed the listener, we have\n // to add the part as a listener.\n const shouldAddListener =\n newListener !== nothing &&\n (oldListener === nothing || shouldRemoveListener);\n\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit event listener',\n element: this.element,\n name: this.name,\n value: newListener,\n options: this.options,\n removeListener: shouldRemoveListener,\n addListener: shouldAddListener,\n oldListener,\n });\n if (shouldRemoveListener) {\n this.element.removeEventListener(\n this.name,\n this,\n oldListener as EventListenerWithOptions\n );\n }\n if (shouldAddListener) {\n this.element.addEventListener(\n this.name,\n this,\n newListener as EventListenerWithOptions\n );\n }\n this._$committedValue = newListener;\n }\n\n handleEvent(event: Event) {\n if (typeof this._$committedValue === 'function') {\n this._$committedValue.call(this.options?.host ?? this.element, event);\n } else {\n (this._$committedValue as EventListenerObject).handleEvent(event);\n }\n }\n}\n\nexport type {ElementPart};\nclass ElementPart implements Disconnectable {\n readonly type = ELEMENT_PART;\n\n /** @internal */\n __directive?: Directive;\n\n // This is to ensure that every Part has a _$committedValue\n _$committedValue: undefined;\n\n /** @internal */\n _$parent!: Disconnectable;\n\n /** @internal */\n _$disconnectableChildren?: Set<Disconnectable> = undefined;\n\n options: RenderOptions | undefined;\n\n constructor(\n public element: Element,\n parent: Disconnectable,\n options: RenderOptions | undefined\n ) {\n this._$parent = parent;\n this.options = options;\n }\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n _$setValue(value: unknown): void {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit to element binding',\n element: this.element,\n value,\n options: this.options,\n });\n resolveDirective(this, value);\n }\n}\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LH object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-element, which re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LH = {\n // Used in lit-ssr\n _boundAttributeSuffix: boundAttributeSuffix,\n _marker: marker,\n _markerMatch: markerMatch,\n _HTML_RESULT: HTML_RESULT,\n _getTemplateHtml: getTemplateHtml,\n // Used in tests and private-ssr-support\n _TemplateInstance: TemplateInstance,\n _isIterable: isIterable,\n _resolveDirective: resolveDirective,\n _ChildPart: ChildPart,\n _AttributePart: AttributePart,\n _BooleanAttributePart: BooleanAttributePart,\n _EventPart: EventPart,\n _PropertyPart: PropertyPart,\n _ElementPart: ElementPart,\n};\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litHtmlPolyfillSupportDevMode\n : global.litHtmlPolyfillSupport;\npolyfillSupport?.(Template, ChildPart);\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for lit-html usage.\n(global.litHtmlVersions ??= []).push('3.3.0');\nif (DEV_MODE && global.litHtmlVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. ` +\n `Loading multiple versions is not recommended.`\n );\n });\n}\n\n/**\n * Renders a value, usually a lit-html TemplateResult, to the container.\n *\n * This example renders the text \"Hello, Zoe!\" inside a paragraph tag, appending\n * it to the container `document.body`.\n *\n * ```js\n * import {html, render} from 'lit';\n *\n * const name = \"Zoe\";\n * render(html`<p>Hello, ${name}!</p>`, document.body);\n * ```\n *\n * @param value Any [renderable\n * value](https://lit.dev/docs/templates/expressions/#child-expressions),\n * typically a {@linkcode TemplateResult} created by evaluating a template tag\n * like {@linkcode html} or {@linkcode svg}.\n * @param container A DOM container to render to. The first render will append\n * the rendered value to the container, and subsequent renders will\n * efficiently update the rendered value if the same result type was\n * previously rendered there.\n * @param options See {@linkcode RenderOptions} for options documentation.\n * @see\n * {@link https://lit.dev/docs/libraries/standalone-templates/#rendering-lit-html-templates| Rendering Lit HTML Templates}\n */\nexport const render = (\n value: unknown,\n container: HTMLElement | DocumentFragment,\n options?: RenderOptions\n): RootPart => {\n if (DEV_MODE && container == null) {\n // Give a clearer error message than\n // Uncaught TypeError: Cannot read properties of null (reading\n // '_$litPart$')\n // which reads like an internal Lit error.\n throw new TypeError(`The container to render into may not be ${container}`);\n }\n const renderId = DEV_MODE ? debugLogRenderId++ : 0;\n const partOwnerNode = options?.renderBefore ?? container;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let part: ChildPart = (partOwnerNode as any)['_$litPart$'];\n debugLogEvent &&\n debugLogEvent({\n kind: 'begin render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n if (part === undefined) {\n const endNode = options?.renderBefore ?? null;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (partOwnerNode as any)['_$litPart$'] = part = new ChildPart(\n container.insertBefore(createMarker(), endNode),\n endNode,\n undefined,\n options ?? {}\n );\n }\n part._$setValue(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'end render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n return part as RootPart;\n};\n\nif (ENABLE_EXTRA_SECURITY_HOOKS) {\n render.setSanitizer = setSanitizer;\n render.createSanitizer = createSanitizer;\n if (DEV_MODE) {\n render._testOnlyClearSanitizerFactoryDoNotCallOrElse =\n _testOnlyClearSanitizerFactoryDoNotCallOrElse;\n }\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\nimport {PropertyValues, ReactiveElement} from '@lit/reactive-element';\nimport {render, RenderOptions, noChange, RootPart} from 'lit-html';\nexport * from '@lit/reactive-element';\nexport * from 'lit-html';\n\nimport {LitUnstable} from 'lit-html';\nimport {ReactiveUnstable} from '@lit/reactive-element';\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace Unstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry =\n | LitUnstable.DebugLog.Entry\n | ReactiveUnstable.DebugLog.Entry;\n }\n}\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = <P extends PropertyKey>(\n prop: P,\n _obj: unknown\n): P => prop;\n\nconst DEV_MODE = true;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n global.litIssuedWarnings ??= new Set();\n\n /**\n * Issue a warning if we haven't already, based either on `code` or `warning`.\n * Warnings are disabled automatically only by `warning`; disabling via `code`\n * can be done by users.\n */\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (\n !global.litIssuedWarnings!.has(warning) &&\n !global.litIssuedWarnings!.has(code)\n ) {\n console.warn(warning);\n global.litIssuedWarnings!.add(warning);\n }\n };\n}\n\n/**\n * Base element class that manages element properties and attributes, and\n * renders a lit-html template.\n *\n * To define a component, subclass `LitElement` and implement a\n * `render` method to provide the component's template. Define properties\n * using the {@linkcode LitElement.properties properties} property or the\n * {@linkcode property} decorator.\n */\nexport class LitElement extends ReactiveElement {\n // This property needs to remain unminified.\n static ['_$litElement$'] = true;\n\n /**\n * @category rendering\n */\n readonly renderOptions: RenderOptions = {host: this};\n\n private __childPart: RootPart | undefined = undefined;\n\n /**\n * @category rendering\n */\n protected override createRenderRoot() {\n const renderRoot = super.createRenderRoot();\n // When adoptedStyleSheets are shimmed, they are inserted into the\n // shadowRoot by createRenderRoot. Adjust the renderBefore node so that\n // any styles in Lit content render before adoptedStyleSheets. This is\n // important so that adoptedStyleSheets have precedence over styles in\n // the shadowRoot.\n this.renderOptions.renderBefore ??= renderRoot!.firstChild as ChildNode;\n return renderRoot;\n }\n\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param changedProperties Map of changed properties with old values\n * @category updates\n */\n protected override update(changedProperties: PropertyValues) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const value = this.render();\n if (!this.hasUpdated) {\n this.renderOptions.isConnected = this.isConnected;\n }\n super.update(changedProperties);\n this.__childPart = render(value, this.renderRoot, this.renderOptions);\n }\n\n /**\n * Invoked when the component is added to the document's DOM.\n *\n * In `connectedCallback()` you should setup tasks that should only occur when\n * the element is connected to the document. The most common of these is\n * adding event listeners to nodes external to the element, like a keydown\n * event handler added to the window.\n *\n * ```ts\n * connectedCallback() {\n * super.connectedCallback();\n * addEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * Typically, anything done in `connectedCallback()` should be undone when the\n * element is disconnected, in `disconnectedCallback()`.\n *\n * @category lifecycle\n */\n override connectedCallback() {\n super.connectedCallback();\n this.__childPart?.setConnected(true);\n }\n\n /**\n * Invoked when the component is removed from the document's DOM.\n *\n * This callback is the main signal to the element that it may no longer be\n * used. `disconnectedCallback()` should ensure that nothing is holding a\n * reference to the element (such as event listeners added to nodes external\n * to the element), so that it is free to be garbage collected.\n *\n * ```ts\n * disconnectedCallback() {\n * super.disconnectedCallback();\n * window.removeEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * An element may be re-connected after being disconnected.\n *\n * @category lifecycle\n */\n override disconnectedCallback() {\n super.disconnectedCallback();\n this.__childPart?.setConnected(false);\n }\n\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's `ChildPart` - typically a\n * `TemplateResult`. Setting properties inside this method will *not* trigger\n * the element to update.\n * @category rendering\n */\n protected render(): unknown {\n return noChange;\n }\n}\n\n/**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See @lit/reactive-element for more information.\n */\n(LitElement as unknown as Record<string, unknown>)[\n JSCompiler_renameProperty('finalized', LitElement)\n] = true;\n\n// Install hydration if available\nglobal.litElementHydrateSupport?.({LitElement});\n\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litElementPolyfillSupportDevMode\n : global.litElementPolyfillSupport;\npolyfillSupport?.({LitElement});\n\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LE object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-html, since this module re-exports all of lit-html.\n *\n * @private\n */\nexport const _$LE = {\n _$attributeToProperty: (\n el: LitElement,\n name: string,\n value: string | null\n ) => {\n // eslint-disable-next-line\n (el as any)._$attributeToProperty(name, value);\n },\n // eslint-disable-next-line\n _$changedProperties: (el: LitElement) => (el as any)._$changedProperties,\n};\n\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n(global.litElementVersions ??= []).push('4.2.0');\nif (DEV_MODE && global.litElementVersions.length > 1) {\n queueMicrotask(() => {\n issueWarning!(\n 'multiple-versions',\n `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`\n );\n });\n}\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {Disconnectable, Part} from './lit-html.js';\n\nexport {\n AttributePart,\n BooleanAttributePart,\n ChildPart,\n ElementPart,\n EventPart,\n Part,\n PropertyPart,\n} from './lit-html.js';\n\nexport interface DirectiveClass {\n new (part: PartInfo): Directive;\n}\n\n/**\n * This utility type extracts the signature of a directive class's render()\n * method so we can use it for the type of the generated directive function.\n */\nexport type DirectiveParameters<C extends Directive> = Parameters<C['render']>;\n\n/**\n * A generated directive function doesn't evaluate the directive, but just\n * returns a DirectiveResult object that captures the arguments.\n */\nexport interface DirectiveResult<C extends DirectiveClass = DirectiveClass> {\n /**\n * This property needs to remain unminified.\n * @internal\n */\n ['_$litDirective$']: C;\n /** @internal */\n values: DirectiveParameters<InstanceType<C>>;\n}\n\nexport const PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n} as const;\n\nexport type PartType = (typeof PartType)[keyof typeof PartType];\n\nexport interface ChildPartInfo {\n readonly type: typeof PartType.CHILD;\n}\n\nexport interface AttributePartInfo {\n readonly type:\n | typeof PartType.ATTRIBUTE\n | typeof PartType.PROPERTY\n | typeof PartType.BOOLEAN_ATTRIBUTE\n | typeof PartType.EVENT;\n readonly strings?: ReadonlyArray<string>;\n readonly name: string;\n readonly tagName: string;\n}\n\nexport interface ElementPartInfo {\n readonly type: typeof PartType.ELEMENT;\n}\n\n/**\n * Information about the part a directive is bound to.\n *\n * This is useful for checking that a directive is attached to a valid part,\n * such as with directive that can only be used on attribute bindings.\n */\nexport type PartInfo = ChildPartInfo | AttributePartInfo | ElementPartInfo;\n\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nexport const directive =\n <C extends DirectiveClass>(c: C) =>\n (...values: DirectiveParameters<InstanceType<C>>): DirectiveResult<C> => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n });\n\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nexport abstract class Directive implements Disconnectable {\n //@internal\n __part!: Part;\n //@internal\n __attributeIndex: number | undefined;\n //@internal\n __directive?: Directive;\n\n //@internal\n _$parent!: Disconnectable;\n\n // These will only exist on the AsyncDirective subclass\n //@internal\n _$disconnectableChildren?: Set<Disconnectable>;\n // This property needs to remain unminified.\n //@internal\n ['_$notifyDirectiveConnectionChanged']?(isConnected: boolean): void;\n\n constructor(_partInfo: PartInfo) {}\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n /** @internal */\n _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part: Part, props: Array<unknown>): unknown {\n return this.update(part, props);\n }\n\n abstract render(...props: Array<unknown>): unknown;\n\n update(_part: Part, props: Array<unknown>): unknown {\n return this.render(...props);\n }\n}\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {AttributePart, noChange} from '../lit-html.js';\nimport {\n directive,\n Directive,\n DirectiveParameters,\n PartInfo,\n PartType,\n} from '../directive.js';\n\n/**\n * A key-value set of class names to truthy values.\n */\nexport interface ClassInfo {\n readonly [name: string]: string | boolean | number;\n}\n\nclass ClassMapDirective extends Directive {\n /**\n * Stores the ClassInfo object applied to a given AttributePart.\n * Used to unset existing values when a new ClassInfo object is applied.\n */\n private _previousClasses?: Set<string>;\n private _staticClasses?: Set<string>;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (\n partInfo.type !== PartType.ATTRIBUTE ||\n partInfo.name !== 'class' ||\n (partInfo.strings?.length as number) > 2\n ) {\n throw new Error(\n '`classMap()` can only be used in the `class` attribute ' +\n 'and must be the only part in the attribute.'\n );\n }\n }\n\n render(classInfo: ClassInfo) {\n // Add spaces to ensure separation from static classes\n return (\n ' ' +\n Object.keys(classInfo)\n .filter((key) => classInfo[key])\n .join(' ') +\n ' '\n );\n }\n\n override update(part: AttributePart, [classInfo]: DirectiveParameters<this>) {\n // Remember dynamic classes on the first render\n if (this._previousClasses === undefined) {\n this._previousClasses = new Set();\n if (part.strings !== undefined) {\n this._staticClasses = new Set(\n part.strings\n .join(' ')\n .split(/\\s/)\n .filter((s) => s !== '')\n );\n }\n for (const name in classInfo) {\n if (classInfo[name] && !this._staticClasses?.has(name)) {\n this._previousClasses.add(name);\n }\n }\n return this.render(classInfo);\n }\n\n const classList = part.element.classList;\n\n // Remove old classes that no longer apply\n for (const name of this._previousClasses) {\n if (!(name in classInfo)) {\n classList.remove(name);\n this._previousClasses!.delete(name);\n }\n }\n\n // Add or remove classes based on their classMap value\n for (const name in classInfo) {\n // We explicitly want a loose truthy check of `value` because it seems\n // more convenient that '' and 0 are skipped.\n const value = !!classInfo[name];\n if (\n value !== this._previousClasses.has(name) &&\n !this._staticClasses?.has(name)\n ) {\n if (value) {\n classList.add(name);\n this._previousClasses.add(name);\n } else {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n }\n return noChange;\n }\n}\n\n/**\n * A directive that applies dynamic CSS classes.\n *\n * This must be used in the `class` attribute and must be the only part used in\n * the attribute. It takes each property in the `classInfo` argument and adds\n * the property name to the element's `classList` if the property value is\n * truthy; if the property value is falsy, the property name is removed from\n * the element's `class`.\n *\n * For example `{foo: bar}` applies the class `foo` if the value of `bar` is\n * truthy.\n *\n * @param classInfo\n */\nexport const classMap = directive(ClassMapDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {ClassMapDirective};\n", "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;font-size-adjust:var(--font-adjust-body);line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-size-adjust:var(--font-adjust-h1);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-size-adjust:var(--font-adjust-h6);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{align-items:center;appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:\"\";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}:host{display:flex;width:fit-content}@media only screen and (max-width:37.5em){:host([full-on-mobile]){width:100%}}", null, ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}:host .m-form-field{--choice-border:var(--choice-border-default);--choice-border-hover:var(--choice-border-hover-default);--choice-border-focus:var(--choice-border-focus-default);--choice-outline-focus:var(--choice-outline-focus-default);--choice-bg:var(--choice-bg-default);--choice-bg-selected:var(--choice-bg-selected-default);--choice-bg-selected-focus:var(--choice-bg-selected-focus-default);--choice-label-disabled:var(--choice-label-disabled-default);--choice-border-width-addendum:0}:host .m-form-field--in-list label{box-sizing:border-box;padding:.3125em 0 .3125em .625em;width:100%}:host .m-form-field .a-label+.a-text-input{margin-top:.3125em}:host .m-form-field--checkbox .a-label,:host .m-form-field--radio .a-label{cursor:pointer;display:inline-grid;grid-template-columns:1.875em auto;overflow-wrap:anywhere;vertical-align:top}:host .m-form-field--checkbox .a-label:before,:host .m-form-field--radio .a-label:before{background-color:var(--choice-bg);border:1px solid var(--choice-border);content:\"\";display:inline-block;grid-row-end:3;grid-row-start:1;height:1.125em;left:1px;margin-right:10px;outline:var(--choice-border-width-addendum) solid var(--choice-border);position:relative;top:1px;vertical-align:top;width:1.125em}:host .m-form-field--checkbox .a-label.hover:before,:host .m-form-field--checkbox .a-label:hover:before,:host .m-form-field--radio .a-label.hover:before,:host .m-form-field--radio .a-label:hover:before{border-color:var(--choice-border-hover)}:host .m-form-field--checkbox .a-checkbox,:host .m-form-field--checkbox .a-radio,:host .m-form-field--radio .a-checkbox,:host .m-form-field--radio .a-radio{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}:host .m-form-field--checkbox .a-checkbox.focus+.a-label,:host .m-form-field--checkbox .a-checkbox:focus+.a-label,:host .m-form-field--checkbox .a-radio.focus+.a-label,:host .m-form-field--checkbox .a-radio:focus+.a-label,:host .m-form-field--radio .a-checkbox.focus+.a-label,:host .m-form-field--radio .a-checkbox:focus+.a-label,:host .m-form-field--radio .a-radio.focus+.a-label,:host .m-form-field--radio .a-radio:focus+.a-label{outline:1px dotted var(--choice-outline-focus);outline-offset:1px}:host .m-form-field--checkbox .a-checkbox:disabled.focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled.hover+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:disabled:hover+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled.focus+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled.hover+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:checked+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:focus+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled:hover+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled.focus+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled.hover+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:checked+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:focus+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled:hover+.a-label:before,:host .m-form-field--radio .a-radio:disabled.focus+.a-label:before,:host .m-form-field--radio .a-radio:disabled.hover+.a-label:before,:host .m-form-field--radio .a-radio:disabled:checked+.a-label:before,:host .m-form-field--radio .a-radio:disabled:focus+.a-label:before,:host .m-form-field--radio .a-radio:disabled:hover+.a-label:before{border-color:var(--choice-border);box-shadow:none;outline:none}:host .m-form-field--checkbox .a-checkbox:disabled+.a-label,:host .m-form-field--checkbox .a-radio:disabled+.a-label,:host .m-form-field--radio .a-checkbox:disabled+.a-label,:host .m-form-field--radio .a-radio:disabled+.a-label{color:var(--choice-label-disabled);cursor:not-allowed}:host .m-form-field--checkbox .a-checkbox:disabled+.a-label:before,:host .m-form-field--checkbox .a-radio:disabled+.a-label:before,:host .m-form-field--radio .a-checkbox:disabled+.a-label:before,:host .m-form-field--radio .a-radio:disabled+.a-label:before{outline:none}:host .m-form-field--checkbox:has(.a-checkbox:disabled),:host .m-form-field--checkbox:has(.a-radio:disabled),:host .m-form-field--radio:has(.a-checkbox:disabled),:host .m-form-field--radio:has(.a-radio:disabled){--choice-border:var(--choice-border-disabled);--choice-bg:var(--choice-bg-disabled);--choice-bg-selected:var(--choice-bg-selected-disabled)}:host .m-form-field--checkbox-error,:host .m-form-field--checkbox-success,:host .m-form-field--checkbox-warning,:host .m-form-field--radio-error,:host .m-form-field--radio-success,:host .m-form-field--radio-warning{--choice-border-width-addendum:1px}:host .m-form-field--checkbox-success,:host .m-form-field--radio-success{--choice-border:var(--choice-border-success)}:host .m-form-field--checkbox-warning,:host .m-form-field--radio-warning{--choice-border:var(--choice-border-warning)}:host .m-form-field--checkbox-error,:host .m-form-field--radio-error{--choice-border:var(--choice-border-error)}:host .m-form-field--checkbox .a-checkbox.focus+.a-label:before,:host .m-form-field--checkbox .a-checkbox:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline-color:var(--choice-border-focus)}:host .m-form-field--checkbox .a-checkbox.hover+.a-label:before,:host .m-form-field--checkbox .a-checkbox:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline-color:var(--choice-border-hover)}:host .m-form-field--checkbox .a-checkbox:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--approved\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>');background-position:center 0;background-repeat:no-repeat;background-size:auto 1.1875em}:host .m-form-field--checkbox .a-checkbox:disabled:checked+.a-label:before{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%235a5d61\" aria-hidden=\"true\" viewBox=\"0 0 12 19\"><path d=\"M4.63 15.638a1.03 1.03 0 0 1-.79-.37L.36 11.09a1.03 1.03 0 1 1 1.58-1.316l2.535 3.043L9.958 3.32a1.029 1.029 0 0 1 1.783 1.03L5.52 15.122a1.03 1.03 0 0 1-.803.511l-.088.004z\"/></svg>')}:host .m-form-field--radio .a-label:before{border-radius:50%;transform:rotate(0deg)}:host .m-form-field--radio .a-radio.focus+.a-label:before,:host .m-form-field--radio .a-radio:focus+.a-label:before{border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus);outline:none}:host .m-form-field--radio .a-radio.hover+.a-label:before,:host .m-form-field--radio .a-radio:hover+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover);outline:none}:host .m-form-field--radio .a-radio:checked+.a-label:before{background-color:var(--choice-bg-selected);box-shadow:inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.focus:checked+.a-label:before,:host .m-form-field--radio .a-radio:focus:checked+.a-label:before{background-color:var(--choice-bg-selected-focus);border-color:var(--choice-border-focus);box-shadow:0 0 0 1px var(--choice-border-focus),inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.hover:checked+.a-label:before,:host .m-form-field--radio .a-radio:hover:checked+.a-label:before{border-color:var(--choice-border-hover);box-shadow:0 0 0 1px var(--choice-border-hover),inset 0 0 0 2px var(--white)}:host .m-form-field--radio .a-radio.hover:checked:disabled+.a-label:before,:host .m-form-field--radio .a-radio:checked:disabled+.a-label:before,:host .m-form-field--radio .a-radio:hover:checked:disabled+.a-label:before{background-color:var(--choice-bg-selected);border-color:var(--choice-border-disabled);box-shadow:inset 0 0 0 2px var(--gray-10)}:host .m-form-field--lg-target{display:block}:host .m-form-field--lg-target .a-label{background-color:var(--gray-10);box-sizing:border-box;padding:15px;width:100%}:host .m-form-field--lg-target .a-checkbox:checked+.a-label,:host .m-form-field--lg-target .a-radio:checked+.a-label{background-color:var(--pacific-20);box-shadow:inset 0 0 0 1px var(--pacific)}:host .m-form-field--lg-target .a-checkbox.focus+.a-label,:host .m-form-field--lg-target .a-checkbox.hover+.a-label,:host .m-form-field--lg-target .a-checkbox:focus+.a-label,:host .m-form-field--lg-target .a-checkbox:hover+.a-label,:host .m-form-field--lg-target .a-radio.focus+.a-label,:host .m-form-field--lg-target .a-radio.hover+.a-label,:host .m-form-field--lg-target .a-radio:focus+.a-label,:host .m-form-field--lg-target .a-radio:hover+.a-label{box-shadow:inset 0 0 0 2px var(--pacific)}:host .m-form-field--lg-target .a-checkbox.focus+.a-label,:host .m-form-field--lg-target .a-checkbox:checked+.a-label,:host .m-form-field--lg-target .a-checkbox:focus+.a-label,:host .m-form-field--lg-target .a-radio.focus+.a-label,:host .m-form-field--lg-target .a-radio:checked+.a-label,:host .m-form-field--lg-target .a-radio:focus+.a-label{outline-offset:1px}:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:hover:disabled+.a-label,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label,:host .m-form-field--lg-target .a-radio:disabled+.a-label,:host .m-form-field--lg-target .a-radio:hover:disabled+.a-label{background-color:var(--gray-20);box-shadow:none;color:var(--choice-label-disabled)}:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label,:host .m-form-field--lg-target .a-checkbox:checked:disabled+.a-label:before,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label,:host .m-form-field--lg-target .a-radio:checked:disabled+.a-label:before{border:1px solid var(--form-field-border-disabled)}", null, "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {\n _$LH,\n Part,\n DirectiveParent,\n CompiledTemplateResult,\n MaybeCompiledTemplateResult,\n UncompiledTemplateResult,\n} from './lit-html.js';\nimport {\n DirectiveResult,\n DirectiveClass,\n PartInfo,\n AttributePartInfo,\n} from './directive.js';\ntype Primitive = null | undefined | boolean | number | string | symbol | bigint;\n\nconst {_ChildPart: ChildPart} = _$LH;\n\ntype ChildPart = InstanceType<typeof ChildPart>;\n\nconst ENABLE_SHADYDOM_NOPATCH = true;\n\nconst wrap =\n ENABLE_SHADYDOM_NOPATCH &&\n window.ShadyDOM?.inUse &&\n window.ShadyDOM?.noPatch === true\n ? window.ShadyDOM!.wrap\n : (node: Node) => node;\n\n/**\n * Tests if a value is a primitive value.\n *\n * See https://tc39.github.io/ecma262/#sec-typeof-operator\n */\nexport const isPrimitive = (value: unknown): value is Primitive =>\n value === null || (typeof value != 'object' && typeof value != 'function');\n\nexport const TemplateResultType = {\n HTML: 1,\n SVG: 2,\n MATHML: 3,\n} as const;\n\nexport type TemplateResultType =\n (typeof TemplateResultType)[keyof typeof TemplateResultType];\n\ntype IsTemplateResult = {\n (val: unknown): val is MaybeCompiledTemplateResult;\n <T extends TemplateResultType>(\n val: unknown,\n type: T\n ): val is UncompiledTemplateResult<T>;\n};\n\n/**\n * Tests if a value is a TemplateResult or a CompiledTemplateResult.\n */\nexport const isTemplateResult: IsTemplateResult = (\n value: unknown,\n type?: TemplateResultType\n): value is UncompiledTemplateResult =>\n type === undefined\n ? // This property needs to remain unminified.\n (value as UncompiledTemplateResult)?.['_$litType$'] !== undefined\n : (value as UncompiledTemplateResult)?.['_$litType$'] === type;\n\n/**\n * Tests if a value is a CompiledTemplateResult.\n */\nexport const isCompiledTemplateResult = (\n value: unknown\n): value is CompiledTemplateResult => {\n return (value as CompiledTemplateResult)?.['_$litType$']?.h != null;\n};\n\n/**\n * Tests if a value is a DirectiveResult.\n */\nexport const isDirectiveResult = (value: unknown): value is DirectiveResult =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'] !== undefined;\n\n/**\n * Retrieves the Directive class for a DirectiveResult\n */\nexport const getDirectiveClass = (value: unknown): DirectiveClass | undefined =>\n // This property needs to remain unminified.\n (value as DirectiveResult)?.['_$litDirective$'];\n\n/**\n * Tests whether a part has only a single-expression with no strings to\n * interpolate between.\n *\n * Only AttributePart and PropertyPart can have multiple expressions.\n * Multi-expression parts have a `strings` property and single-expression\n * parts do not.\n */\nexport const isSingleExpression = (part: PartInfo) =>\n (part as AttributePartInfo).strings === undefined;\n\nconst createMarker = () => document.createComment('');\n\n/**\n * Inserts a ChildPart into the given container ChildPart's DOM, either at the\n * end of the container ChildPart, or before the optional `refPart`.\n *\n * This does not add the part to the containerPart's committed value. That must\n * be done by callers.\n *\n * @param containerPart Part within which to add the new ChildPart\n * @param refPart Part before which to add the new ChildPart; when omitted the\n * part added to the end of the `containerPart`\n * @param part Part to insert, or undefined to create a new part\n */\nexport const insertPart = (\n containerPart: ChildPart,\n refPart?: ChildPart,\n part?: ChildPart\n): ChildPart => {\n const container = wrap(containerPart._$startNode).parentNode!;\n\n const refNode =\n refPart === undefined ? containerPart._$endNode : refPart._$startNode;\n\n if (part === undefined) {\n const startNode = wrap(container).insertBefore(createMarker(), refNode);\n const endNode = wrap(container).insertBefore(createMarker(), refNode);\n part = new ChildPart(\n startNode,\n endNode,\n containerPart,\n containerPart.options\n );\n } else {\n const endNode = wrap(part._$endNode!).nextSibling;\n const oldParent = part._$parent;\n const parentChanged = oldParent !== containerPart;\n if (parentChanged) {\n part._$reparentDisconnectables?.(containerPart);\n // Note that although `_$reparentDisconnectables` updates the part's\n // `_$parent` reference after unlinking from its current parent, that\n // method only exists if Disconnectables are present, so we need to\n // unconditionally set it here\n part._$parent = containerPart;\n // Since the _$isConnected getter is somewhat costly, only\n // read it once we know the subtree has directives that need\n // to be notified\n let newConnectionState;\n if (\n part._$notifyConnectionChanged !== undefined &&\n (newConnectionState = containerPart._$isConnected) !==\n oldParent!._$isConnected\n ) {\n part._$notifyConnectionChanged(newConnectionState);\n }\n }\n if (endNode !== refNode || parentChanged) {\n let start: Node | null = part._$startNode;\n while (start !== endNode) {\n const n: Node | null = wrap(start!).nextSibling;\n wrap(container).insertBefore(start!, refNode);\n start = n;\n }\n }\n }\n\n return part;\n};\n\n/**\n * Sets the value of a Part.\n *\n * Note that this should only be used to set/update the value of user-created\n * parts (i.e. those created using `insertPart`); it should not be used\n * by directives to set the value of the directive's container part. Directives\n * should return a value from `update`/`render` to update their part state.\n *\n * For directives that require setting their part value asynchronously, they\n * should extend `AsyncDirective` and call `this.setValue()`.\n *\n * @param part Part to set\n * @param value Value to set\n * @param index For `AttributePart`s, the index to set\n * @param directiveParent Used internally; should not be set by user\n */\nexport const setChildPartValue = <T extends ChildPart>(\n part: T,\n value: unknown,\n directiveParent: DirectiveParent = part\n): T => {\n part._$setValue(value, directiveParent);\n return part;\n};\n\n// A sentinel value that can never appear as a part value except when set by\n// live(). Used to force a dirty-check to fail and cause a re-render.\nconst RESET_VALUE = {};\n\n/**\n * Sets the committed value of a ChildPart directly without triggering the\n * commit stage of the part.\n *\n * This is useful in cases where a directive needs to update the part such\n * that the next update detects a value change or not. When value is omitted,\n * the next update will be guaranteed to be detected as a change.\n *\n * @param part\n * @param value\n */\nexport const setCommittedValue = (part: Part, value: unknown = RESET_VALUE) =>\n (part._$committedValue = value);\n\n/**\n * Returns the committed value of a ChildPart.\n *\n * The committed value is used for change detection and efficient updates of\n * the part. It can differ from the value set by the template or directive in\n * cases where the template value is transformed before being committed.\n *\n * - `TemplateResult`s are committed as a `TemplateInstance`\n * - Iterables are committed as `Array<ChildPart>`\n * - All other types are committed as the template value or value returned or\n * set by a directive.\n *\n * @param part\n */\nexport const getCommittedValue = (part: ChildPart) => part._$committedValue;\n\n/**\n * Removes a ChildPart from the DOM, including any of its content.\n *\n * @param part The Part to remove\n */\nexport const removePart = (part: ChildPart) => {\n part._$notifyConnectionChanged?.(false, true);\n let start: ChildNode | null = part._$startNode;\n const end: ChildNode | null = wrap(part._$endNode!).nextSibling;\n while (start !== end) {\n const n: ChildNode | null = wrap(start!).nextSibling;\n (wrap(start!) as ChildNode).remove();\n start = n;\n }\n};\n\nexport const clearPart = (part: ChildPart) => {\n part._$clear();\n};\n", "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Overview:\n *\n * This module is designed to add support for an async `setValue` API and\n * `disconnected` callback to directives with the least impact on the core\n * runtime or payload when that feature is not used.\n *\n * The strategy is to introduce a `AsyncDirective` subclass of\n * `Directive` that climbs the \"parent\" tree in its constructor to note which\n * branches of lit-html's \"logical tree\" of data structures contain such\n * directives and thus need to be crawled when a subtree is being cleared (or\n * manually disconnected) in order to run the `disconnected` callback.\n *\n * The \"nodes\" of the logical tree include Parts, TemplateInstances (for when a\n * TemplateResult is committed to a value of a ChildPart), and Directives; these\n * all implement a common interface called `DisconnectableChild`. Each has a\n * `_$parent` reference which is set during construction in the core code, and a\n * `_$disconnectableChildren` field which is initially undefined.\n *\n * The sparse tree created by means of the `AsyncDirective` constructor\n * crawling up the `_$parent` tree and placing a `_$disconnectableChildren` Set\n * on each parent that includes each child that contains a\n * `AsyncDirective` directly or transitively via its children. In order to\n * notify connection state changes and disconnect (or reconnect) a tree, the\n * `_$notifyConnectionChanged` API is patched onto ChildParts as a directive\n * climbs the parent tree, which is called by the core when clearing a part if\n * it exists. When called, that method iterates over the sparse tree of\n * Set<DisconnectableChildren> built up by AsyncDirectives, and calls\n * `_$notifyDirectiveConnectionChanged` on any directives that are encountered\n * in that tree, running the required callbacks.\n *\n * A given \"logical tree\" of lit-html data-structures might look like this:\n *\n * ChildPart(N1) _$dC=[D2,T3]\n * ._directive\n * AsyncDirective(D2)\n * ._value // user value was TemplateResult\n * TemplateInstance(T3) _$dC=[A4,A6,N10,N12]\n * ._$parts[]\n * AttributePart(A4) _$dC=[D5]\n * ._directives[]\n * AsyncDirective(D5)\n * AttributePart(A6) _$dC=[D7,D8]\n * ._directives[]\n * AsyncDirective(D7)\n * Directive(D8) _$dC=[D9]\n * ._directive\n * AsyncDirective(D9)\n * ChildPart(N10) _$dC=[D11]\n * ._directive\n * AsyncDirective(D11)\n * ._value\n * string\n * ChildPart(N12) _$dC=[D13,N14,N16]\n * ._directive\n * AsyncDirective(D13)\n * ._value // user value was iterable\n * Array<ChildPart>\n * ChildPart(N14) _$dC=[D15]\n * ._value\n * string\n * ChildPart(N16) _$dC=[D17,T18]\n * ._directive\n * AsyncDirective(D17)\n * ._value // user value was TemplateResult\n * TemplateInstance(T18) _$dC=[A19,A21,N25]\n * ._$parts[]\n * AttributePart(A19) _$dC=[D20]\n * ._directives[]\n * AsyncDirective(D20)\n * AttributePart(A21) _$dC=[22,23]\n * ._directives[]\n * AsyncDirective(D22)\n * Directive(D23) _$dC=[D24]\n * ._directive\n * AsyncDirective(D24)\n * ChildPart(N25) _$dC=[D26]\n * ._directive\n * AsyncDirective(D26)\n * ._value\n * string\n *\n * Example 1: The directive in ChildPart(N12) updates and returns `nothing`. The\n * ChildPart will _clear() itself, and so we need to disconnect the \"value\" of\n * the ChildPart (but not its directive). In this case, when `_clear()` calls\n * `_$notifyConnectionChanged()`, we don't iterate all of the\n * _$disconnectableChildren, rather we do a value-specific disconnection: i.e.\n * since the _value was an Array<ChildPart> (because an iterable had been\n * committed), we iterate the array of ChildParts (N14, N16) and run\n * `setConnected` on them (which does recurse down the full tree of\n * `_$disconnectableChildren` below it, and also removes N14 and N16 from N12's\n * `_$disconnectableChildren`). Once the values have been disconnected, we then\n * check whether the ChildPart(N12)'s list of `_$disconnectableChildren` is empty\n * (and would remove it from its parent TemplateInstance(T3) if so), but since\n * it would still contain its directive D13, it stays in the disconnectable\n * tree.\n *\n * Example 2: In the course of Example 1, `setConnected` will reach\n * ChildPart(N16); in this case the entire part is being disconnected, so we\n * simply iterate all of N16's `_$disconnectableChildren` (D17,T18) and\n * recursively run `setConnected` on them. Note that we only remove children\n * from `_$disconnectableChildren` for the top-level values being disconnected\n * on a clear; doing this bookkeeping lower in the tree is wasteful since it's\n * all being thrown away.\n *\n * Example 3: If the LitElement containing the entire tree above becomes\n * disconnected, it will run `childPart.setConnected()` (which calls\n * `childPart._$notifyConnectionChanged()` if it exists); in this case, we\n * recursively run `setConnected()` over the entire tree, without removing any\n * children from `_$disconnectableChildren`, since this tree is required to\n * re-connect the tree, which does the same operation, simply passing\n * `isConnected: true` down the tree, signaling which callback to run.\n */\n\nimport {AttributePart, ChildPart, Disconnectable, Part} from './lit-html.js';\nimport {isSingleExpression} from './directive-helpers.js';\nimport {Directive, PartInfo, PartType} from './directive.js';\nexport * from './directive.js';\n\nconst DEV_MODE = true;\n\n/**\n * Recursively walks down the tree of Parts/TemplateInstances/Directives to set\n * the connected state of directives and run `disconnected`/ `reconnected`\n * callbacks.\n *\n * @return True if there were children to disconnect; false otherwise\n */\nconst notifyChildrenConnectedChanged = (\n parent: Disconnectable,\n isConnected: boolean\n): boolean => {\n const children = parent._$disconnectableChildren;\n if (children === undefined) {\n return false;\n }\n for (const obj of children) {\n // The existence of `_$notifyDirectiveConnectionChanged` is used as a \"brand\" to\n // disambiguate AsyncDirectives from other DisconnectableChildren\n // (as opposed to using an instanceof check to know when to call it); the\n // redundancy of \"Directive\" in the API name is to avoid conflicting with\n // `_$notifyConnectionChanged`, which exists `ChildParts` which are also in\n // this list\n // Disconnect Directive (and any nested directives contained within)\n // This property needs to remain unminified.\n (obj as AsyncDirective)['_$notifyDirectiveConnectionChanged']?.(\n isConnected,\n false\n );\n // Disconnect Part/TemplateInstance\n notifyChildrenConnectedChanged(obj, isConnected);\n }\n return true;\n};\n\n/**\n * Removes the given child from its parent list of disconnectable children, and\n * if the parent list becomes empty as a result, removes the parent from its\n * parent, and so forth up the tree when that causes subsequent parent lists to\n * become empty.\n */\nconst removeDisconnectableFromParent = (obj: Disconnectable) => {\n let parent, children;\n do {\n if ((parent = obj._$parent) === undefined) {\n break;\n }\n children = parent._$disconnectableChildren!;\n children.delete(obj);\n obj = parent;\n } while (children?.size === 0);\n};\n\nconst addDisconnectableToParent = (obj: Disconnectable) => {\n // Climb the parent tree, creating a sparse tree of children needing\n // disconnection\n for (let parent; (parent = obj._$parent); obj = parent) {\n let children = parent._$disconnectableChildren;\n if (children === undefined) {\n parent._$disconnectableChildren = children = new Set();\n } else if (children.has(obj)) {\n // Once we've reached a parent that already contains this child, we\n // can short-circuit\n break;\n }\n children.add(obj);\n installDisconnectAPI(parent);\n }\n};\n\n/**\n * Changes the parent reference of the ChildPart, and updates the sparse tree of\n * Disconnectable children accordingly.\n *\n * Note, this method will be patched onto ChildPart instances and called from\n * the core code when parts are moved between different parents.\n */\nfunction reparentDisconnectables(this: ChildPart, newParent: Disconnectable) {\n if (this._$disconnectableChildren !== undefined) {\n removeDisconnectableFromParent(this);\n this._$parent = newParent;\n addDisconnectableToParent(this);\n } else {\n this._$parent = newParent;\n }\n}\n\n/**\n * Sets the connected state on any directives contained within the committed\n * value of this part (i.e. within a TemplateInstance or iterable of\n * ChildParts) and runs their `disconnected`/`reconnected`s, as well as within\n * any directives stored on the ChildPart (when `valueOnly` is false).\n *\n * `isClearingValue` should be passed as `true` on a top-level part that is\n * clearing itself, and not as a result of recursively disconnecting directives\n * as part of a `clear` operation higher up the tree. This both ensures that any\n * directive on this ChildPart that produced a value that caused the clear\n * operation is not disconnected, and also serves as a performance optimization\n * to avoid needless bookkeeping when a subtree is going away; when clearing a\n * subtree, only the top-most part need to remove itself from the parent.\n *\n * `fromPartIndex` is passed only in the case of a partial `_clear` running as a\n * result of truncating an iterable.\n *\n * Note, this method will be patched onto ChildPart instances and called from the\n * core code when parts are cleared or the connection state is changed by the\n * user.\n */\nfunction notifyChildPartConnectedChanged(\n this: ChildPart,\n isConnected: boolean,\n isClearingValue = false,\n fromPartIndex = 0\n) {\n const value = this._$committedValue;\n const children = this._$disconnectableChildren;\n if (children === undefined || children.size === 0) {\n return;\n }\n if (isClearingValue) {\n if (Array.isArray(value)) {\n // Iterable case: Any ChildParts created by the iterable should be\n // disconnected and removed from this ChildPart's disconnectable\n // children (starting at `fromPartIndex` in the case of truncation)\n for (let i = fromPartIndex; i < value.length; i++) {\n notifyChildrenConnectedChanged(value[i], false);\n removeDisconnectableFromParent(value[i]);\n }\n } else if (value != null) {\n // TemplateInstance case: If the value has disconnectable children (will\n // only be in the case that it is a TemplateInstance), we disconnect it\n // and remove it from this ChildPart's disconnectable children\n notifyChildrenConnectedChanged(value as Disconnectable, false);\n removeDisconnectableFromParent(value as Disconnectable);\n }\n } else {\n notifyChildrenConnectedChanged(this, isConnected);\n }\n}\n\n/**\n * Patches disconnection API onto ChildParts.\n */\nconst installDisconnectAPI = (obj: Disconnectable) => {\n if ((obj as ChildPart).type == PartType.CHILD) {\n (obj as ChildPart)._$notifyConnectionChanged ??=\n notifyChildPartConnectedChanged;\n (obj as ChildPart)._$reparentDisconnectables ??= reparentDisconnectables;\n }\n};\n\n/**\n * An abstract `Directive` base class whose `disconnected` method will be\n * called when the part containing the directive is cleared as a result of\n * re-rendering, or when the user calls `part.setConnected(false)` on\n * a part that was previously rendered containing the directive (as happens\n * when e.g. a LitElement disconnects from the DOM).\n *\n * If `part.setConnected(true)` is subsequently called on a\n * containing part, the directive's `reconnected` method will be called prior\n * to its next `update`/`render` callbacks. When implementing `disconnected`,\n * `reconnected` should also be implemented to be compatible with reconnection.\n *\n * Note that updates may occur while the directive is disconnected. As such,\n * directives should generally check the `this.isConnected` flag during\n * render/update to determine whether it is safe to subscribe to resources\n * that may prevent garbage collection.\n */\nexport abstract class AsyncDirective extends Directive {\n // As opposed to other Disconnectables, AsyncDirectives always get notified\n // when the RootPart connection changes, so the public `isConnected`\n // is a locally stored variable initialized via its part's getter and synced\n // via `_$notifyDirectiveConnectionChanged`. This is cheaper than using\n // the _$isConnected getter, which has to look back up the tree each time.\n /**\n * The connection state for this Directive.\n */\n isConnected!: boolean;\n\n // @internal\n override _$disconnectableChildren?: Set<Disconnectable> = undefined;\n /**\n * Initialize the part with internal fields\n * @param part\n * @param parent\n * @param attributeIndex\n */\n override _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined\n ) {\n super._$initialize(part, parent, attributeIndex);\n addDisconnectableToParent(this);\n this.isConnected = part._$isConnected;\n }\n // This property needs to remain unminified.\n /**\n * Called from the core code when a directive is going away from a part (in\n * which case `shouldRemoveFromParent` should be true), and from the\n * `setChildrenConnected` helper function when recursively changing the\n * connection state of a tree (in which case `shouldRemoveFromParent` should\n * be false).\n *\n * @param isConnected\n * @param isClearingDirective - True when the directive itself is being\n * removed; false when the tree is being disconnected\n * @internal\n */\n override ['_$notifyDirectiveConnectionChanged'](\n isConnected: boolean,\n isClearingDirective = true\n ) {\n if (isConnected !== this.isConnected) {\n this.isConnected = isConnected;\n if (isConnected) {\n this.reconnected?.();\n } else {\n this.disconnected?.();\n }\n }\n if (isClearingDirective) {\n notifyChildrenConnectedChanged(this, isConnected);\n removeDisconnectableFromParent(this);\n }\n }\n\n /**\n * Sets the value of the directive's Part outside the normal `update`/`render`\n * lifecycle of a directive.\n *\n * This method should not be called synchronously from a directive's `update`\n * or `render`.\n *\n * @param directive The directive to update\n * @param value The value to set\n */\n setValue(value: unknown) {\n if (isSingleExpression(this.__part as unknown as PartInfo)) {\n this.__part._$setValue(value, this);\n } else {\n // this.__attributeIndex will be defined in this case, but\n // assert it in dev mode\n if (DEV_MODE && this.__attributeIndex === undefined) {\n throw new Error(`Expected this.__attributeIndex to be a number`);\n }\n const newValues = [...(this.__part._$committedValue as Array<unknown>)];\n newValues[this.__attributeIndex!] = value;\n (this.__part as AttributePart)._$setValue(newValues, this, 0);\n }\n }\n\n /**\n * User callbacks for implementing logic to release any resources/subscriptions\n * that may have been retained by this directive. Since directives may also be\n * re-connected, `reconnected` should also be implemented to restore the\n * working state of the directive prior to the next render.\n */\n protected disconnected() {}\n protected reconnected() {}\n}\n", "/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nimport {nothing, ElementPart} from '../lit-html.js';\nimport {directive, AsyncDirective} from '../async-directive.js';\n\n/**\n * Creates a new Ref object, which is container for a reference to an element.\n */\nexport const createRef = <T = Element>() => new Ref<T>();\n\n/**\n * An object that holds a ref value.\n */\nclass Ref<T = Element> {\n /**\n * The current Element value of the ref, or else `undefined` if the ref is no\n * longer rendered.\n */\n readonly value?: T;\n}\n\nexport type {Ref};\n\ninterface RefInternal {\n value: Element | undefined;\n}\n\n// When callbacks are used for refs, this map tracks the last value the callback\n// was called with, for ensuring a directive doesn't clear the ref if the ref\n// has already been rendered to a new spot. It is double-keyed on both the\n// context (`options.host`) and the callback, since we auto-bind class methods\n// to `options.host`.\nconst lastElementForContextAndCallback = new WeakMap<\n object,\n WeakMap<Function, Element | undefined>\n>();\n\nexport type RefOrCallback<T = Element> = Ref<T> | ((el: T | undefined) => void);\n\nclass RefDirective extends AsyncDirective {\n private _element?: Element;\n private _ref?: RefOrCallback;\n private _context?: object;\n\n render(_ref?: RefOrCallback) {\n return nothing;\n }\n\n override update(part: ElementPart, [ref]: Parameters<this['render']>) {\n const refChanged = ref !== this._ref;\n if (refChanged && this._ref !== undefined) {\n // The ref passed to the directive has changed;\n // unset the previous ref's value\n this._updateRefValue(undefined);\n }\n if (refChanged || this._lastElementForRef !== this._element) {\n // We either got a new ref or this is the first render;\n // store the ref/element & update the ref value\n this._ref = ref;\n this._context = part.options?.host;\n this._updateRefValue((this._element = part.element));\n }\n return nothing;\n }\n\n private _updateRefValue(element: Element | undefined) {\n if (!this.isConnected) {\n element = undefined;\n }\n if (typeof this._ref === 'function') {\n // If the current ref was called with a previous value, call with\n // `undefined`; We do this to ensure callbacks are called in a consistent\n // way regardless of whether a ref might be moving up in the tree (in\n // which case it would otherwise be called with the new value before the\n // previous one unsets it) and down in the tree (where it would be unset\n // before being set). Note that element lookup is keyed by\n // both the context and the callback, since we allow passing unbound\n // functions that are called on options.host, and we want to treat\n // these as unique \"instances\" of a function.\n const context = this._context ?? globalThis;\n let lastElementForCallback =\n lastElementForContextAndCallback.get(context);\n if (lastElementForCallback === undefined) {\n lastElementForCallback = new WeakMap();\n lastElementForContextAndCallback.set(context, lastElementForCallback);\n }\n if (lastElementForCallback.get(this._ref) !== undefined) {\n this._ref.call(this._context, undefined);\n }\n lastElementForCallback.set(this._ref, element);\n // Call the ref with the new element value\n if (element !== undefined) {\n this._ref.call(this._context, element);\n }\n } else {\n (this._ref as RefInternal)!.value = element;\n }\n }\n\n private get _lastElementForRef() {\n return typeof this._ref === 'function'\n ? lastElementForContextAndCallback\n .get(this._context ?? globalThis)\n ?.get(this._ref)\n : this._ref?.value;\n }\n\n override disconnected() {\n // Only clear the box if our element is still the one in it (i.e. another\n // directive instance hasn't rendered its element to it before us); that\n // only happens in the event of the directive being cleared (not via manual\n // disconnection)\n if (this._lastElementForRef === this._element) {\n this._updateRefValue(undefined);\n }\n }\n\n override reconnected() {\n // If we were manually disconnected, we can safely put our element back in\n // the box, since no rendering could have occurred to change its state\n this._updateRefValue(this._element);\n }\n}\n\n/**\n * Sets the value of a Ref object or calls a ref callback with the element it's\n * bound to.\n *\n * A Ref object acts as a container for a reference to an element. A ref\n * callback is a function that takes an element as its only argument.\n *\n * The ref directive sets the value of the Ref object or calls the ref callback\n * during rendering, if the referenced element changed.\n *\n * Note: If a ref callback is rendered to a different element position or is\n * removed in a subsequent render, it will first be called with `undefined`,\n * followed by another call with the new element it was rendered to (if any).\n *\n * ```js\n * // Using Ref object\n * const inputRef = createRef();\n * render(html`<input ${ref(inputRef)}>`, container);\n * inputRef.value.focus();\n *\n * // Using callback\n * const callback = (inputElement) => inputElement.focus();\n * render(html`<input ${ref(callback)}>`, container);\n * ```\n */\nexport const ref = directive(RefDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {RefDirective};\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host{display:flex;flex-direction:column;width:fit-content}:host::part(upload-details)[hidden=true]{display:none}", null, ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host .a-label slot{display:inline-block}:host .a-label__helper{color:var(--gray-dark);font-size:1rem;font-weight:400}:host .a-label__helper--block{display:block;margin-top:.8333333333em}:host .a-label--heading{display:block;font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.5555555556em;text-transform:inherit}.h1+:host .a-label--heading,.h2+:host .a-label--heading,.h3+:host .a-label--heading,.h5+:host .a-label--heading,.h6+:host .a-label--heading,blockquote+:host .a-label--heading,dl+:host .a-label--heading,figure+:host .a-label--heading,h1+:host .a-label--heading,h2+:host .a-label--heading,h3+:host .a-label--heading,h5+:host .a-label--heading,h6+:host .a-label--heading,img+:host .a-label--heading,ol+:host .a-label--heading,p+:host .a-label--heading,table+:host .a-label--heading,ul+:host .a-label--heading{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){:host .a-label--heading{font-size:1em;line-height:1.125;margin-bottom:.625em}}:host .a-label--heading .a-label__helper--block{margin-top:.625rem}", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing} from '../lit-html.js';\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = <T>(value: T) => value ?? nothing;\n", null, "/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing, TemplateResult, noChange} from '../lit-html.js';\nimport {directive, Directive, PartInfo, PartType} from '../directive.js';\n\nconst HTML_RESULT = 1;\n\nexport class UnsafeHTMLDirective extends Directive {\n static directiveName = 'unsafeHTML';\n static resultType = HTML_RESULT;\n\n private _value: unknown = nothing;\n private _templateResult?: TemplateResult;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (partInfo.type !== PartType.CHILD) {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() can only be used in child bindings`\n );\n }\n }\n\n render(value: string | typeof nothing | typeof noChange | undefined | null) {\n if (value === nothing || value == null) {\n this._templateResult = undefined;\n return (this._value = value);\n }\n if (value === noChange) {\n return value;\n }\n if (typeof value != 'string') {\n throw new Error(\n `${\n (this.constructor as typeof UnsafeHTMLDirective).directiveName\n }() called with a non-string value`\n );\n }\n if (value === this._value) {\n return this._templateResult;\n }\n this._value = value;\n const strings = [value] as unknown as TemplateStringsArray;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (strings as any).raw = strings;\n // WARNING: impersonating a TemplateResult like this is extremely\n // dangerous. Third-party directives should not do this.\n return (this._templateResult = {\n // Cast to a known set of integers that satisfy ResultType so that we\n // don't have to export ResultType and possibly encourage this pattern.\n // This property needs to remain unminified.\n ['_$litType$']: (this.constructor as typeof UnsafeHTMLDirective)\n .resultType as 1 | 2,\n strings,\n values: [],\n });\n }\n}\n\n/**\n * Renders the result as HTML, rather than text.\n *\n * The values `undefined`, `null`, and `nothing`, will all result in no content\n * (empty string) being rendered.\n *\n * Note, this is unsafe to use with any user-provided input that hasn't been\n * sanitized or escaped, as it may lead to cross-site-scripting\n * vulnerabilities.\n */\nexport const unsafeHTML = directive(UnsafeHTMLDirective);\n", ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host button{background-color:var(--teal-20);border:1px solid var(--teal);border-radius:.1875rem;color:var(--black);display:flex;font-size:1rem;gap:.625rem;line-height:1.1875;min-width:fit-content;padding:4px 6px;text-align:left}:host button:hover{background-color:var(--teal-40);cursor:pointer}:host button:focus{outline:1px dotted var(--teal);outline-offset:1px}:host button:active{background-color:var(--teal-60)}:host svg{flex:none;height:1.1875rem;pointer-events:none}:host label{display:contents;pointer-events:none}", null, "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;font-size-adjust:var(--font-adjust-body);line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-size-adjust:var(--font-adjust-h1);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-size-adjust:var(--font-adjust-h6);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}.no-js .u-js-only,.u-hide-if-js{display:none!important}.no-js .u-hide-if-js{display:block!important}@media screen{.u-print-only{display:none}}@media print{.u-screen-only{display:none}}.u-clearfix:after{clear:both;content:\"\";display:table}.u-visually-hidden{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0)}@media only screen and (max-width:37.5em){.u-hide-on-mobile{display:none}}@media only screen and (min-width:37.5625em){.u-show-on-mobile{display:none}}.u-hidden{display:none!important}.u-invisible{visibility:hidden}.u-right{float:right}.u-nowrap{white-space:nowrap}.u-flexible-container{height:0;padding-bottom:56.25%;position:relative}.u-flexible-container__inner{height:100%;left:0;position:absolute;top:0;width:100%}.u-flexible-container--4-3{height:0;padding-bottom:75%;position:relative}.u-mt0{margin-top:0!important}.u-mb0{margin-bottom:0!important}.u-mt5{margin-top:5px!important}.u-mb5{margin-bottom:5px!important}.u-mt10{margin-top:10px!important}.u-mb10{margin-bottom:10px!important}.u-mt15{margin-top:15px!important}.u-mb15{margin-bottom:15px!important}.u-mt20{margin-top:20px!important}.u-mb20{margin-bottom:20px!important}.u-mt30{margin-top:30px!important}.u-mb30{margin-bottom:30px!important}.u-mt45{margin-top:45px!important}.u-mb45{margin-bottom:45px!important}.u-mt60{margin-top:60px!important}.u-mb60{margin-bottom:60px!important}.u-w100pct{width:100%}.u-w90pct{width:90%}.u-w80pct{width:80%}.u-w70pct{width:70%}.u-w60pct{width:60%}.u-w50pct{width:50%}.u-w40pct{width:40%}.u-w30pct{width:30%}.u-w20pct{width:20%}.u-w10pct{width:10%}.u-w75pct{width:75%}.u-w65pct{width:65%}.u-w25pct{width:25%}.u-w15pct{width:15%}.u-w66pct{width:66.6666666667%}.u-w33pct{width:33.3333333333%}.u-small-text,small{font-size:.875em}.u-small-text--subtle,small--subtle{color:var(--gray)}.u-no-animation{transition-duration:0s!important}.u-move-transition{transition:transform .25s ease-out}.u-move-to-origin{transform:translateZ(0)}.u-move-left{transform:translate3d(-100%,0,0)}.u-move-left-2x{transform:translate3d(-200%,0,0)}.u-move-left-3x{transform:translate3d(-300%,0,0)}.u-move-right{transform:translate3d(100%,0,0)}.u-move-up{transform:translate3d(0,-100%,0)}.u-alpha-transition{transition:opacity .25s linear}.u-alpha-100{opacity:1}.u-alpha-0{opacity:0}.u-max-height-transition{contain:paint;overflow:hidden;transition:max-height .2s ease-out}.u-max-height-zero{max-height:0!important}.u-max-height-summary{max-height:88px!important}:host .a-tag-topic{display:flex;gap:.3125rem;text-decoration:none}:host .a-tag-topic{color:var(--gold-80);font-size:.875rem;font-weight:600;letter-spacing:1px;text-transform:uppercase}:host .a-tag-topic .a-tag-topic__text{color:var(--gray);word-break:break-word}@media only screen and (max-width:37.5em){:host .a-tag-topic{align-items:center;box-sizing:border-box;display:flex;gap:.3125rem;padding-bottom:.625em;padding-top:.625em;position:relative;width:100%}:host .a-tag-topic .cf-icon-svg--right{margin-left:auto}:host .a-tag-topic .a-tag-topic__text{border-bottom-width:0;flex-shrink:10}}:host a.a-tag-topic{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.visited,:host a.a-tag-topic:visited{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.hover,:host a.a-tag-topic:hover{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.focus,:host a.a-tag-topic:focus{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic.active,:host a.a-tag-topic:active{border-color:var(--gold-80);color:var(--gold-80)}:host a.a-tag-topic .a-tag-topic__text{border-bottom-color:var(--gold-80)}@media only screen and (max-width:37.5em){:host a.a-tag-topic{border-bottom-width:1px;border-top-width:1px}:host a.a-tag-topic:focus{outline:none}:host a.a-tag-topic:focus:after{content:\"\";display:block;height:100%;outline:1px dotted var(--gray);outline-offset:2px;position:absolute;width:100%}}@media only screen and (max-width:37.5em){:host a.a-tag-topic--no-top-border{border-top:none;position:relative}:host a.a-tag-topic:focus:before,:host a.a-tag-topic:hover:before{border-top:1px solid;content:\"\";display:block;height:1px;position:absolute;top:-1px;width:100%}}:host .a-tag-topic__bullet{font-size:1rem;line-height:1rem}@media only screen and (min-width:37.5625em){:host a.a-tag-topic__text{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.visited,:host a.a-tag-topic__text:visited{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.hover,:host a.a-tag-topic__text:hover{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.focus,:host a.a-tag-topic__text:focus{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic__text.active,:host a.a-tag-topic__text:active{border-color:var(--gray);color:var(--gray)}:host a.a-tag-topic,:host a.a-tag-topic:active,:host a.a-tag-topic:focus,:host a.a-tag-topic:hover,:host a.a-tag-topic:visited{border-bottom:none;outline-offset:1px}:host a.a-tag-topic .a-tag-topic__text,:host a.a-tag-topic:active .a-tag-topic__text,:host a.a-tag-topic:focus .a-tag-topic__text,:host a.a-tag-topic:hover .a-tag-topic__text,:host a.a-tag-topic:visited .a-tag-topic__text{border-bottom:1px dotted var(--gold-80);padding-bottom:1px}:host a.a-tag-topic:hover .a-tag-topic__text{border-bottom:1px solid var(--gold-80)}:host a.a-tag-topic:focus{outline-color:var(--gray)}:host a.a-tag-topic:focus .a-tag-topic__text{border-bottom-style:solid!important}}", null, ":root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host ul{list-style-type:none;padding-left:0}:host ul li{display:contents;margin-bottom:0}@media only screen and (min-width:37.5625em){:host ul{display:flex;flex-wrap:wrap;gap:.9375rem}:host ul[stacked]{flex-direction:column;width:fit-content}}:host ul:has(cfpb-tag-filter){display:flex;flex-wrap:wrap;gap:.9375rem}:host html[lang=ar]{direction:rtl;padding-right:0}", null, "@charset \"UTF-8\";\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:\"\u201C\" \"\u201D\" \"\u2018\" \"\u2019\"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--font-adjust-base:0.517;--font-adjust-step:0.0054;--font-adjust-h1:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*5);--font-adjust-h2:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*4);--font-adjust-h3:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*3);--font-adjust-h4:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*2);--font-adjust-h5:calc(var(--font-size-adjust-base) + var(--font-adjust-step)*1);--font-adjust-h6:var(--font-adjust-base);--font-adjust-body:var(--font-adjust-base);--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;font-size-adjust:var(--font-adjust-body);line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-size-adjust:var(--font-adjust-h1);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-size-adjust:var(--font-adjust-h2);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-size-adjust:var(--font-adjust-h5);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-size-adjust:var(--font-adjust-h6);font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-size-adjust:var(--font-adjust-h3);font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-size-adjust:var(--font-adjust-h4);font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}:host{--select-input-border:var(--gray-60);--select-input-border-hover:var(--pacific);--select-input-border-focus:var(--pacific);--select-input-bg:var(--white);--select-input-text:var(--black)}:host select.o-multiselect{border:1px solid var(--select-border-default);box-sizing:border-box;display:block;height:5.5em;padding:.25em .4375em;width:100%}:host select.o-multiselect option{padding:.125em .375em}:host .o-multiselect{position:relative}:host .o-multiselect header{position:relative}:host .o-multiselect header:after{background-color:var(--select-icon-bg-default);background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--down\" viewBox=\"0 0 17 19\"><path d=\"M8.5 15.313a1.03 1.03 0 0 1-.728-.302l-6.8-6.8a1.03 1.03 0 0 1 1.455-1.456L8.5 12.828l6.073-6.073a1.03 1.03 0 0 1 1.455 1.456l-6.8 6.8a1.03 1.03 0 0 1-.728.302\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:auto 1.1875em;border:1px solid var(--select-border-default);bottom:0;box-sizing:border-box;content:\"\";pointer-events:none;position:absolute;right:0;top:0;width:2.1875em}:host .o-multiselect input[type=text]{appearance:none;background:var(--select-input-bg);border:1px solid var(--select-input-border);box-sizing:border-box;color:var(--select-input-text);display:inline-block;min-height:35px;outline:0 solid var(--select-input-border);padding:.4375em;width:100%}:host .o-multiselect input[type=text].hover,:host .o-multiselect input[type=text]:hover{border-color:var(--select-input-border-hover);outline:1px solid var(--select-input-border-hover)}:host .o-multiselect input[type=text].focus,:host .o-multiselect input[type=text]:focus{border-color:var(--select-input-border-focus);box-shadow:0 0 0 1px var(--select-input-border-focus);outline:1px dotted var(--select-input-border-focus);outline-offset:2px}:host .o-multiselect fieldset{border-color:var(--select-border-default);border-top:none;box-sizing:border-box;margin:-1px 0 0;max-height:0;overflow-x:hidden;overflow-y:scroll;padding:0;position:absolute;transition:max-height .25s ease-out;width:100%;z-index:10}:host .o-multiselect.u-active fieldset{border-color:var(--pacific);border-width:2px;border-top:0;margin-top:0;max-height:140px}:host .o-multiselect.u-active header:after{background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"cf-icon-svg cf-icon-svg--up\" viewBox=\"0 0 17 19\"><path d=\"M15.3 15.32a1.03 1.03 0 0 1-.727-.302L8.5 8.946l-6.073 6.072a1.03 1.03 0 0 1-1.456-1.455l6.801-6.8a1.03 1.03 0 0 1 1.456 0l6.8 6.8a1.03 1.03 0 0 1-.727 1.757z\"/></svg>')}:host .o-multiselect ul{background-color:var(--white);list-style-type:none;padding:.3125em 0}:host .o-multiselect ul li{margin:0}:host .o-multiselect ul li:first-child .a-label{padding-top:.625em}:host .o-multiselect ul.u-filtered li:not(.u-filter-match){display:none}:host .o-multiselect ul.u-max-selections,:host .o-multiselect ul.u-no-results{padding:.625em}:host .o-multiselect ul.u-max-selections li,:host .o-multiselect ul.u-no-results li{display:none}:host .o-multiselect ul.u-max-selections:after,:host .o-multiselect ul.u-no-results:after{display:list-item}:host .o-multiselect ul.u-no-results:after{content:\"No results found\"}:host .o-multiselect ul.u-max-selections{pointer-events:none}:host .o-multiselect ul.u-max-selections:after{content:\"Reached maximum number of selections\"}:host .u-invisible{visibility:hidden}", "/**\n *\n * @element cfpb-multiselect.\n * @slot - The main content for the upload button.\n */\nexport class MultiselectModel extends EventTarget {\n // Declare private properties.\n #options;\n #name;\n #max;\n #optionsData;\n #selectedIndices;\n #filterIndicesList;\n #lastFilterIndicesList;\n #index;\n\n // Undefined return value for void methods.\n #UNDEFINED;\n\n /**\n * @class\n * MultiselectModel\n * @param {HTMLOptionsCollection} options\n * Set of options from a <select> element.\n * @param {string} name - a unique name for this multiselect.\n * @param {object} config - Customization of Multiselect behavior\n */\n constructor(options, name, config) {\n super();\n\n this.#options = options;\n this.#name = name;\n this.#max = config?.maxSelections || MultiselectModel.MAX_SELECTIONS;\n this.#optionsData = [];\n\n this.#selectedIndices = [];\n this.#filterIndicesList = [];\n\n /* When the options list is filtered, we store a list of filtered indices\n so that when the filter changes we can reset the last matched options. */\n this.#lastFilterIndicesList = [];\n\n // Which option is in focus. -1 means the focus is on the search input.\n this.#index = -1;\n }\n\n /**\n * @param {HTMLElement} item - An option HTML node.\n * @returns {string} A (hopefully) unique ID.\n * If it's not unique, we have a duplicate option value.\n */\n #getOptionId(item) {\n return (\n this.#name + '-' + item.value.trim().replace(/\\s+/g, '-').toLowerCase()\n );\n }\n\n /**\n * @returns {boolean}\n * True if the maximum number of options are checked, false otherwise.\n */\n isAtMaxSelections() {\n return this.#selectedIndices.length >= this.#max;\n }\n\n /**\n * Cleans up a list of options for saving to memory.\n * @param {HTMLOptionsCollection} list - The options from a select element.\n * @returns {Array} An array of option objects.\n */\n #formatOptions(list) {\n let item;\n const cleaned = [];\n\n let isChecked = false;\n let isSelected = false;\n for (let i = 0, len = list.length; i < len; i++) {\n item = list[i];\n isSelected = item.defaultSelected ? item.defaultSelected : false;\n isChecked = this.isAtMaxSelections() ? false : isSelected;\n cleaned.push({\n id: this.#getOptionId(item),\n value: item.value,\n label: item.text,\n text: item.text,\n checked: isChecked,\n index: i,\n });\n\n // If an option is initially checked, we need to record it.\n if (isChecked) {\n this.#selectedIndices.push(i);\n }\n }\n\n return cleaned;\n }\n\n /**\n * @returns {MultiselectModel} An instance.\n */\n init() {\n this.#optionsData = this.#formatOptions(this.#options);\n\n return this;\n }\n\n /**\n * Toggle checked value of an option.\n * @param {number} index - The index position of the option in the list.\n * @returns {boolean} A value of true is checked and false is unchecked.\n */\n toggleOption(index) {\n const isChecked = !this.#optionsData[index].checked;\n\n if (isChecked && this.#selectedIndices.length < this.#max) {\n this.#optionsData[index].checked = true;\n this.#selectedIndices.push(index);\n this.#selectedIndices.sort();\n\n return true;\n }\n\n // We're over the max selections, reverse the check of the option.\n this.#optionsData[index].checked = false;\n this.#selectedIndices = this.#selectedIndices.filter(function (currIndex) {\n return currIndex !== index;\n });\n\n return false;\n }\n\n /**\n * Utility function for Array.reduce() used in searchIndices.\n * @param {Array} aggregate - The reducer's accumulator.\n * @param {object} item - Each item in the collection.\n * @param {number} index - The index of item in the collection.\n * @param {string} value - The value of item in the collection.\n * @returns {Array} The reducer's accumulator.\n */\n #searchAggregator(aggregate, item, index, value) {\n if (MultiselectModel.stringMatch(item.text, value)) {\n aggregate.push(index);\n }\n return aggregate;\n }\n\n /**\n * Search for a query string in the options text and return the indices of\n * the matching positions in the options array.\n * @param {string} query - A query string.\n * @returns {Array} List of indices of the matching entries from the options.\n */\n filterIndices(query) {\n // Convert query to a string if it's not.\n if (Object.prototype.toString.call(query) !== '[object String]') {\n query = '';\n }\n\n this.#lastFilterIndicesList = this.#filterIndicesList;\n\n if (this.#optionsData.length > 0) {\n this.#filterIndicesList = this.#optionsData.reduce((acc, item, index) => {\n return this.#searchAggregator(acc, item, index, query);\n }, []);\n }\n\n // Reset index position.\n this.#index = -1;\n\n return this.#filterIndicesList;\n }\n\n // This is used to search the items in the collection.\n clearFilter() {\n this.#filterIndicesList = this.#lastFilterIndicesList = [];\n return this.#UNDEFINED;\n }\n\n get filterIndicesList() {\n return this.#filterIndicesList;\n }\n\n get lastFilterIndicesList() {\n return this.#lastFilterIndicesList;\n }\n\n // This is used to check an item in the collection.\n get selectedIndices() {\n return this.#selectedIndices;\n }\n\n /**\n * Retrieve an option object from the options list.\n * @param {number} index - The index position in the options list.\n * @returns {object} The option object with text, value, and checked value.\n */\n getOption(index) {\n return this.#optionsData[index];\n }\n\n /**\n * Set the index of the collection (represents the highlighted option).\n * @param {number} value - The index to set.\n */\n set index(value) {\n const filterCount = this.#filterIndicesList.length;\n const count = filterCount === 0 ? this.#optionsData.length : filterCount;\n if (value < 0) {\n this.#index = -1;\n } else if (value >= count) {\n this.#index = count - 1;\n } else {\n this.#index = value;\n }\n }\n\n /**\n * @returns {number} The current index (highlighted option).\n */\n get index() {\n return this.#index;\n }\n\n resetIndex() {\n this.#index = -1;\n return this.#index;\n }\n\n get options() {\n return this.#optionsData;\n }\n\n // These are used to highlight items in the collection.\n\n /*\n\n get items() {\n console.log([...this.#items]);\n return [...this.#items];\n }\n\n set items(newItems) {\n this.#items = newItems;\n this.#notify();\n }\n\n addItem(item) {\n this.#items.push(item);\n this.#notify();\n }\n\n removeItem(indexToRemove) {\n this.#items.splice(indexToRemove, 1);\n }\n\n #notify() {\n this.dispatchEvent(new Event('change'));\n }\n\n subscribe(callback) {\n this.addEventListener('change', callback);\n return () => this.removeEventListener('change', callback);\n }\n */\n\n // How many options may be checked.\n static MAX_SELECTIONS = 5;\n\n /**\n * Escapes a string.\n * @param {string} str - The string to escape.\n * @returns {string} The escaped string.\n */\n static stringEscape(str) {\n return str.replace(/[-\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n /**\n * Tests whether a string matches another.\n * @param {string} x - The control string.\n * @param {string} y - The comparison string.\n * @returns {boolean} True if `x` and `y` match, false otherwise.\n */\n static stringMatch(x, y) {\n return RegExp(MultiselectModel.stringEscape(y.trim()), 'i').test(x);\n }\n}\n", null],
|
|
5
|
+
"mappings": "siCASO,IAAMA,GAAkB,CAC7B,KAAM,CACJ,IAAK,EACL,IAAK,GACP,EACA,KAAM,CACJ,IAAK,IACL,IAAK,GACP,EACA,MAAO,CACL,IAAK,IACL,IAAK,IACP,EACA,KAAM,CACJ,IAAK,KACL,IAAK,IACP,EACA,KAAM,CACJ,IAAK,IACP,CACF,EC7BA,IAAAC,GAAA,GAAAC,EAAAD,GAAA,aAAAE,KAAA,IAAAA,GAAA,GCAA,IAAAC,GAAA,GAAAC,EAAAD,GAAA,aAAAE,KAAA,IAAAA,GAAA,GCAA,IAAAC,GAAA,GAAAC,EAAAD,GAAA,aAAAE,KAAA,IAAAA,GAAA,GCAA,IAAAC,GAAA,GAAAC,EAAAD,GAAA,aAAAE,KAAA,IAAAA,GAAA,GCAA,IAAAC,GAA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AS,IAAL,WACA,KAAK,SAAS,GACLwC,IAAQ1D,GACjBuC,EAAA,KAAK9B,EAAAQ,IAAL,UAAgBrB,IAEhB8D,IAAQzD,IACR,CAACgC,EAAM,UACPD,EAAA,KAAK7B,GAAa,aAAa,aAAa,IAAM,SAElD,KAAK,SAAS,CAElB,EAMAoB,GAAiB,SAACW,EAAO,CAEvBK,EAAA,KAAK9B,EAAAS,IAAL,WACAqB,EAAA,KAAK9B,EAAAU,IAAL,UAAuBe,EACzB,EAKAV,GAAc,SAACS,EAAO,CACpB,IAAMyB,EAAMzB,EAAM,IACZ0B,EAAS1B,EAAM,OACf2B,EAAUD,EAAO,QAEnBD,IAAQ7D,IACVoC,EAAM,eAAe,EAKrB0B,EAAO,QAAU,CAACC,GAGTF,IAAQ5D,IACjBkC,EAAA,KAAK5B,IAAW,MAAM,EACtB,KAAK,SAAS,GACLsD,IAAQ3D,GACjBwC,EAAA,KAAK9B,EAAAQ,IAAL,UAAgBtB,IACP+D,IAAQ1D,IACjBuC,EAAA,KAAK9B,EAAAQ,IAAL,UAAgBrB,GAEpB,EAwDA6B,GAAU,SAACY,EAAM,CACf,IAAIwB,EAAcvB,IAClB,OAAID,EAAK,UAAY,KACnBwB,EAAcvB,iCAAoCD,EAAK,KAAK,KACvDA,EAAK,KAAK,sBAIVwB,CACT,EAEAnC,GAAa,SAACqB,EAAKb,EAAO,CACxB,OAAOI,qDAGcS,EAAI,KAAK,6BAEZA,EAAI,OAAO,cACb,IAAMR,EAAA,KAAK9B,EAAAc,IAAL,UAAuBW,EAAM,iBAChC,IAAOJ,EAAA,KAAKtB,GAAiB,GAAK,KAE7CuC,EAAI,KAAK,0BAInB,EA3ZAe,EADWnC,GACJ,SAASC,IACZmC,EAAUC,EAAM,CAAC,IAFhB,IAAMC,GAANtC",
|
|
6
|
+
"names": ["varsBreakpoints", "normalize_exports", "__export", "normalize_default", "base_exports", "__export", "base_default", "button_exports", "__export", "button_default", "button_group_exports", "__export", "button_group_default", "button_link_exports", "__export", "button_link_default", "utilities_exports", "__export", "utilities_default", "_getBodyBaseFontSize", "fontSize", "_inBreakpointRange", "breakpointRange", "width", "breakpointRangeMin", "breakpointRangeMax", "min", "max", "getBreakpointState", "breakpointState", "rangeKey", "varsBreakpoints", "MOBILE", "TABLET", "DESKTOP", "viewportIsIn", "breakpointGroup", "response", "currentBreakpoint", "JS_HOOK", "BEHAVIOR_PREFIX", "STATE_PREFIX", "EventObserver", "_events", "addEventListener", "event", "callback", "removeEventListener", "index", "dispatchEvent", "options", "evts", "i", "len", "contains", "element", "value", "values", "JS_HOOK", "add", "msg", "INIT_FLAG", "STATE_PREFIX", "_verifyElementExists", "element", "baseClass", "msg", "_verifyClassExists", "dom", "checkDom", "setInitFlag", "contains", "add", "instantiateAll", "selector", "Constructor", "scope", "config", "elements", "insts", "inst", "i", "len", "_findElements", "behaviorSelector", "baseElement", "behaviorElements", "error", "msg", "BEHAVIOR_PREFIX", "behaviorFind", "behaviorAttach", "behaviorElement", "event", "eventHandler", "len", "checkBehaviorDom", "element", "behaviorDataAttr", "dom", "contains", "selector", "JS_HOOK", "_toString", "isUndefined", "value", "isDefined", "isObject", "isString", "isNumber", "isDate", "isArray", "isFunction", "isEmpty", "isMobileUserAgent", "BaseTransition", "element", "classes", "child", "_classes", "_dom", "_child", "_lastClass", "_transitionEndEvent", "_transitionCompleteBinded", "_isAnimated", "_isAnimating", "_isFlushed", "_addEventListener", "_removeEventListener", "_transitionComplete", "evt", "_flush", "prop", "halt", "remove", "animateOn", "animateOff", "_getTransitionEndEvent", "elem", "msg", "transition", "transitions", "transitionEvent", "setElement", "targetElement", "init", "initialClass", "applyClass", "className", "BASE_CLASS", "BEHAVIOR_PREFIX", "SEL_PREFIX", "JS_HOOK", "FlyoutMenu", "element", "autoHideContent", "_dom", "checkBehaviorDom", "_triggerDoms", "_findTriggers", "_contentDom", "_state", "COLLAPSED", "COLLAPSING", "EXPANDING", "EXPANDED", "_transition", "_expandTransitionMethod", "_collapseTransitionMethod", "_collapseEndBinded", "_collapseEnd", "_expandEndBinded", "_expandEnd", "_data", "_suspended", "_touchTriggered", "triggersList", "triggers", "trigger", "triggerParent", "isSubTrigger", "i", "init", "isExpanded", "triggerDom", "_setAriaAttr", "_handleTriggerClicked", "_handleTouchStart", "_handleTriggerOver", "_handleTriggerOut", "resume", "type", "elem", "value", "strValue", "event", "expand", "hasTransition", "BaseTransition", "collapse", "len", "setTransition", "transition", "collapseMethod", "expandMethod", "clearTransition", "UNDEFINED", "getDom", "suspend", "setData", "data", "eventObserver", "EventObserver", "CLASSES", "AlphaTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "init", "initialClass", "fadeIn", "fadeOut", "CLASSES", "MaxHeightTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "_previousHeight", "refresh", "newHeight", "_pageLoaded", "init", "initialClass", "maxHeightDefault", "maxHeightSummary", "maxHeightZero", "remove", "CLASSES", "MoveTransition", "element", "eventObserver", "EventObserver", "_baseTransition", "BaseTransition", "init", "initialClass", "moveToOrigin", "_moveLeft", "count", "moveClasses", "moveRight", "moveUp", "expandable_exports", "__export", "expandable_default", "BASE_CLASS", "Expandable", "element", "_dom", "checkDom", "_targetDom", "_contentDom", "_labelDom", "_transition", "_flyout", "init", "setInitFlag", "isExpanded", "add", "initialClass", "MaxHeightTransition", "FlyoutMenu", "getLabelText", "eventObserver", "EventObserver", "scope", "instantiateAll", "expandable_group_exports", "__export", "expandable_group_default", "BASE_CLASS", "ExpandableGroup", "element", "_dom", "checkDom", "_isAccordion", "_expandables", "_lastExpanded", "_handleExpandBegin", "evt", "target", "init", "expandables", "setInitFlag", "expandable", "scope", "expandableGroupDom", "instantiateAll", "Expandable", "summary_exports", "__export", "summary_default", "BASE_CLASS", "Summary", "element", "_dom", "checkDom", "_hasMobileModifier", "_contentDom", "_btnDom", "_transition", "_flyout", "_suspended", "init", "setInitFlag", "_pageLoadHandler", "_shouldSuspend", "add", "FlyoutMenu", "MaxHeightTransition", "_triggerClickHandler", "_resizeHandler", "_focusInHandler", "_contentClicked", "evt", "_suspend", "_resume", "viewportIsIn", "MOBILE", "_expandEndHandler", "_hideButton", "_showButton", "eventObserver", "EventObserver", "scope", "instantiateAll", "BASE_CLASS", "SummaryMinimal", "element", "_dom", "checkDom", "_contentDom", "_btnDom", "_transition", "_flyout", "init", "setInitFlag", "add", "_pageLoadHandler", "FlyoutMenu", "MaxHeightTransition", "_focusInHandler", "_contentClicked", "evt", "eventObserver", "EventObserver", "scope", "instantiateAll", "form_exports", "__export", "form_default", "form_alert_exports", "__export", "form_alert_default", "form_field_exports", "__export", "form_field_default", "label_exports", "__export", "label_default", "range_exports", "__export", "range_default", "search_input_exports", "__export", "search_input_default", "select_exports", "__export", "select_default", "tag_exports", "__export", "tag_default", "text_input_exports", "__export", "text_input_default", "UNDEFINED", "stringEscape", "str", "stringMatch", "x", "y", "MultiselectModel", "options", "name", "config", "_options", "_name", "_max", "_optionsData", "_selectedIndices", "_filterIndices", "_lastFilterIndices", "_index", "_getOptionId", "item", "isAtMaxSelections", "_formatOptions", "list", "cleaned", "isChecked", "i", "len", "init", "toggleOption", "index", "currIndex", "_searchAggregator", "aggregate", "value", "filterIndices", "query", "acc", "getOption", "setIndex", "filterCount", "count", "getIndex", "UNDEFINED", "multiselect_model_default", "create", "tag", "parentNode", "options", "elem", "key", "val", "error_default", "closeIcon", "error_default", "BASE_CLASS", "CHECKBOX_INPUT_CLASS", "TEXT_INPUT_CLASS", "DIR_PREV", "DIR_NEXT", "KEY_RETURN", "KEY_SPACE", "KEY_ESCAPE", "KEY_UP", "KEY_DOWN", "KEY_TAB", "DEFAULT_CONFIG", "Multiselect", "element", "_dom", "checkDom", "_isBlurSkipped", "_name", "_placeholder", "_model", "_options", "_config", "_containerDom", "_selectionsDom", "_headerDom", "_searchDom", "_fieldsetDom", "_optionsDom", "_optionItemDoms", "_instance", "_filterMatches", "filteredIndices", "i", "len", "j", "_resetFilter", "_filterNoMatches", "_filterList", "filterIndices", "_evaluate", "value", "matchedIndices", "expand", "collapse", "_highlight", "direction", "index", "filteredIndex", "input", "_resetSearch", "_selectionClickHandler", "event", "target", "_selectionKeyDownHandler", "label", "_getOptionId", "option", "_createSelectedItem", "selectionsDom", "optionId", "selectionsItemDom", "create", "selectionsItemLabelDom", "_updateSelections", "optionIndex", "dataOptionSel", "_selectionsItemDom", "_changeHandler", "_bindEvents", "key", "checked", "evt", "inputs", "labelButtons", "_populateMarkup", "optionsClasses", "isChecked", "optionsItemDom", "init", "multiselectConfig", "setInitFlag", "isMobileUserAgent", "__spreadValues", "multiselect_model_default", "newDom", "getModel", "eventObserver", "EventObserver", "config", "instantiateAll", "icon_exports", "__export", "icon_default", "card_exports", "__export", "card_default", "card_group_exports", "__export", "card_group_default", "email_signup_exports", "__export", "email_signup_default", "featured_content_module_exports", "__export", "featured_content_module_default", "hero_exports", "__export", "hero_default", "layout_exports", "__export", "layout_default", "text_introduction_exports", "__export", "text_introduction_default", "well_exports", "__export", "well_default", "banner_exports", "__export", "banner_default", "notification_exports", "__export", "notification_default", "pagination_exports", "__export", "pagination_default", "table_exports", "__export", "table_default", "date_exports", "__export", "date_default", "link_exports", "__export", "link_default", "list_exports", "__export", "list_default", "meta_header_exports", "__export", "meta_header_default", "pull_quote_exports", "__export", "pull_quote_default", "slug_header_exports", "__export", "slug_header_default", "tagline_exports", "__export", "tagline_default", "global", "globalThis", "supportsAdoptingStyleSheets", "ShadowRoot", "ShadyCSS", "nativeShadow", "Document", "prototype", "CSSStyleSheet", "constructionToken", "Symbol", "cssTagCache", "WeakMap", "CSSResult", "cssText", "strings", "safeToken", "this", "Error", "_strings", "styleSheet", "_styleSheet", "cacheable", "length", "get", "replaceSync", "set", "toString", "unsafeCSS", "value", "String", "css", "values", "reduce", "acc", "v", "idx", "adoptStyles", "renderRoot", "styles", "adoptedStyleSheets", "map", "s", "style", "document", "createElement", "nonce", "setAttribute", "textContent", "appendChild", "getCompatibleStyle", "sheet", "rule", "cssRules", "is", "defineProperty", "getOwnPropertyDescriptor", "getOwnPropertyNames", "getOwnPropertySymbols", "getPrototypeOf", "Object", "global", "globalThis", "trustedTypes", "emptyStringForBooleanAttribute", "emptyScript", "polyfillSupport", "reactiveElementPolyfillSupport", "JSCompiler_renameProperty", "prop", "_obj", "defaultConverter", "value", "type", "Boolean", "Array", "JSON", "stringify", "fromValue", "Number", "parse", "e", "notEqual", "old", "defaultPropertyDeclaration", "attribute", "String", "converter", "reflect", "useDefault", "hasChanged", "Symbol", "metadata", "litPropertyMetadata", "WeakMap", "ReactiveElement", "HTMLElement", "initializer", "this", "__prepare", "_initializers", "push", "observedAttributes", "finalize", "__attributeToPropertyMap", "keys", "name", "options", "state", "prototype", "hasOwnProperty", "create", "wrapped", "elementProperties", "set", "noAccessor", "key", "descriptor", "getPropertyDescriptor", "get", "v", "oldValue", "call", "requestUpdate", "configurable", "enumerable", "superCtor", "Map", "finalized", "props", "properties", "propKeys", "p", "createProperty", "attr", "__attributeNameForProperty", "elementStyles", "finalizeStyles", "styles", "isArray", "Set", "flat", "Infinity", "reverse", "s", "unshift", "getCompatibleStyle", "toLowerCase", "constructor", "super", "__instanceProperties", "isUpdatePending", "hasUpdated", "__reflectingProperty", "__initialize", "__updatePromise", "Promise", "res", "enableUpdating", "_$changedProperties", "__saveInstanceProperties", "forEach", "i", "controller", "__controllers", "add", "renderRoot", "isConnected", "hostConnected", "delete", "instanceProperties", "size", "createRenderRoot", "shadowRoot", "attachShadow", "shadowRootOptions", "adoptStyles", "connectedCallback", "c", "_requestedUpdate", "disconnectedCallback", "hostDisconnected", "_old", "_$attributeToProperty", "attrValue", "toAttribute", "removeAttribute", "setAttribute", "ctor", "propName", "getPropertyOptions", "fromAttribute", "__defaultValues", "newValue", "hasAttribute", "_$changeProperty", "__enqueueUpdate", "initializeValue", "has", "__reflectingProperties", "reject", "result", "scheduleUpdate", "performUpdate", "shouldUpdate", "changedProperties", "willUpdate", "hostUpdate", "update", "__markUpdated", "_$didUpdate", "_changedProperties", "hostUpdated", "firstUpdated", "updated", "updateComplete", "getUpdateComplete", "__propertyToAttribute", "mode", "reactiveElementVersions", "global", "globalThis", "trustedTypes", "policy", "createPolicy", "createHTML", "s", "boundAttributeSuffix", "marker", "Math", "random", "toFixed", "slice", "markerMatch", "nodeMarker", "d", "document", "createMarker", "createComment", "isPrimitive", "value", "isArray", "Array", "isIterable", "Symbol", "iterator", "SPACE_CHAR", "textEndRegex", "commentEndRegex", "comment2EndRegex", "tagEndRegex", "RegExp", "singleQuoteAttrEndRegex", "doubleQuoteAttrEndRegex", "rawTextElement", "tag", "type", "strings", "values", "_$litType$", "html", "svg", "mathml", "noChange", "for", "nothing", "templateCache", "WeakMap", "walker", "createTreeWalker", "trustFromTemplateString", "tsa", "stringFromTSA", "hasOwnProperty", "Error", "getTemplateHtml", "l", "length", "attrNames", "rawTextEndRegex", "regex", "i", "attrName", "match", "attrNameEndIndex", "lastIndex", "exec", "test", "end", "startsWith", "push", "Template", "constructor", "options", "node", "this", "parts", "nodeIndex", "attrNameIndex", "partCount", "el", "createElement", "currentNode", "content", "wrapper", "firstChild", "replaceWith", "childNodes", "nextNode", "nodeType", "hasAttributes", "name", "getAttributeNames", "endsWith", "realName", "statics", "getAttribute", "split", "m", "index", "ctor", "PropertyPart", "BooleanAttributePart", "EventPart", "AttributePart", "removeAttribute", "tagName", "textContent", "emptyScript", "append", "data", "indexOf", "_options", "innerHTML", "resolveDirective", "part", "parent", "attributeIndex", "currentDirective", "__directives", "__directive", "nextDirectiveConstructor", "_$initialize", "_$resolve", "TemplateInstance", "template", "_$parts", "_$disconnectableChildren", "_$template", "_$parent", "parentNode", "_$isConnected", "fragment", "creationScope", "importNode", "partIndex", "templatePart", "ChildPart", "nextSibling", "ElementPart", "_$setValue", "__isConnected", "startNode", "endNode", "_$committedValue", "_$startNode", "_$endNode", "isConnected", "directiveParent", "_$clear", "_commitText", "_commitTemplateResult", "_commitNode", "_commitIterable", "insertBefore", "_insert", "createTextNode", "result", "_$getTemplate", "h", "_update", "instance", "_clone", "get", "set", "itemParts", "itemPart", "item", "start", "from", "_$notifyConnectionChanged", "n", "remove", "element", "fill", "String", "valueIndex", "noCommit", "change", "v", "_commitValue", "setAttribute", "toggleAttribute", "super", "newListener", "oldListener", "shouldRemoveListener", "capture", "once", "passive", "shouldAddListener", "removeEventListener", "addEventListener", "event", "call", "host", "handleEvent", "_$LH", "_boundAttributeSuffix", "_marker", "_markerMatch", "_HTML_RESULT", "_getTemplateHtml", "_TemplateInstance", "_isIterable", "_resolveDirective", "_ChildPart", "_AttributePart", "_BooleanAttributePart", "_EventPart", "_PropertyPart", "_ElementPart", "polyfillSupport", "litHtmlPolyfillSupport", "litHtmlVersions", "render", "container", "partOwnerNode", "renderBefore", "global", "globalThis", "LitElement", "ReactiveElement", "constructor", "this", "renderOptions", "host", "__childPart", "createRenderRoot", "renderRoot", "super", "renderBefore", "firstChild", "changedProperties", "value", "render", "hasUpdated", "isConnected", "update", "connectedCallback", "setConnected", "disconnectedCallback", "noChange", "litElementHydrateSupport", "polyfillSupport", "litElementPolyfillSupport", "global", "litElementVersions", "push", "PartType", "ATTRIBUTE", "CHILD", "PROPERTY", "BOOLEAN_ATTRIBUTE", "EVENT", "ELEMENT", "directive", "c", "values", "_$litDirective$", "Directive", "_partInfo", "_$isConnected", "this", "_$parent", "part", "parent", "attributeIndex", "__part", "__attributeIndex", "props", "update", "_part", "render", "classMap", "directive", "Directive", "partInfo", "super", "type", "PartType", "ATTRIBUTE", "name", "strings", "length", "Error", "classInfo", "Object", "keys", "filter", "key", "join", "part", "this", "_previousClasses", "Set", "_staticClasses", "split", "s", "has", "add", "render", "classList", "element", "remove", "delete", "value", "noChange", "cfpb_button_component_default", "VALID_VARIANTS", "VALID_TYPES", "_CfpbButton_instances", "findIconInSlot_fn", "validVariant_get", "validType_get", "btnClass_get", "_CfpbButton", "i", "__privateAdd", "icon", "__privateMethod", "classes", "e", "__privateGet", "x", "nodes", "node", "__publicField", "r", "cfpb_button_component_default", "CfpbButton", "cfpb_form_choice_component_default", "VALID_VALIDATION", "VALID_TYPES", "_CfpbFormChoice_instances", "onChange_fn", "onInput_fn", "validValidation_get", "validType_get", "baseClass_get", "_CfpbFormChoice", "i", "__privateAdd", "classes", "e", "__privateGet", "x", "__privateMethod", "__publicField", "r", "cfpb_form_choice_component_default", "CfpbFormChoice", "_ChildPart", "ChildPart", "_$LH", "isSingleExpression", "part", "strings", "notifyChildrenConnectedChanged", "parent", "isConnected", "children", "_$disconnectableChildren", "obj", "removeDisconnectableFromParent", "_$parent", "delete", "size", "addDisconnectableToParent", "Set", "has", "add", "installDisconnectAPI", "reparentDisconnectables", "newParent", "this", "notifyChildPartConnectedChanged", "isClearingValue", "fromPartIndex", "value", "_$committedValue", "Array", "isArray", "i", "length", "type", "PartType", "CHILD", "_$notifyConnectionChanged", "_$reparentDisconnectables", "AsyncDirective", "Directive", "constructor", "part", "attributeIndex", "super", "_$initialize", "_$isConnected", "isClearingDirective", "reconnected", "disconnected", "isSingleExpression", "__part", "_$setValue", "newValues", "__attributeIndex", "createRef", "Ref", "lastElementForContextAndCallback", "WeakMap", "ref", "directive", "AsyncDirective", "_ref", "nothing", "part", "refChanged", "this", "_updateRefValue", "undefined", "_lastElementForRef", "_element", "_context", "options", "host", "element", "isConnected", "context", "globalThis", "lastElementForCallback", "get", "set", "call", "value", "disconnected", "reconnected", "cfpb_file_upload_component_default", "_CfpbFileUpload_instances", "getUploadName_fn", "showDetails_fn", "hideDetails_fn", "checkStatus_fn", "_CfpbFileUpload", "i", "__privateAdd", "__publicField", "e", "__privateMethod", "x", "n", "CfpbButton", "fileName", "uploadName", "uploadNameParts", "r", "cfpb_file_upload_component_default", "CfpbFileUpload", "cfpb_label_component_default", "ifDefined", "value", "nothing", "_CfpbLabel_instances", "helperClass_get", "_CfpbLabel", "i", "__privateAdd", "x", "o", "__privateGet", "helperClass", "__publicField", "r", "cfpb_label_component_default", "CfpbLabel", "UnsafeHTMLDirective", "Directive", "partInfo", "super", "this", "_value", "nothing", "type", "PartType", "CHILD", "Error", "constructor", "directiveName", "value", "_templateResult", "noChange", "strings", "raw", "_$litType$", "resultType", "values", "unsafeHTML", "directive", "cfpb_tag_filter_component_default", "_CfpbTagFilter_instances", "onClick_fn", "_CfpbTagFilter", "i", "__privateAdd", "slot", "x", "__privateMethod", "o", "error_default", "__publicField", "r", "cfpb_tag_filter_component_default", "CfpbTagFilter", "cfpb_tag_topic_component_default", "_CfpbTagTopic_instances", "tagClass_get", "_CfpbTagTopic", "i", "__privateAdd", "bullet", "x", "slot", "__privateGet", "tagClass", "__publicField", "r", "cfpb_tag_topic_component_default", "CfpbTagTopic", "cfpb_tag_group_component_default", "SUPPORTED_TAG_LIST", "_observer", "_initialized", "_tagMap", "_CfpbTagGroup_instances", "observeLightDom_fn", "supportedTag_fn", "onMutation_fn", "handleNodeAdded_fn", "handleNodeRemoved_fn", "refreshTagList_fn", "insertIntoLightDom_fn", "insertIntoShadowDom_fn", "tagIdentifier_fn", "removeTagNode_fn", "getLightDomTag_fn", "_CfpbTagGroup", "i", "__privateAdd", "__privateSet", "__privateMethod", "__privateGet", "tagName", "tag", "index", "lightDomTag", "x", "mutationList", "mutation", "node", "lastItemIsLink", "item", "_a", "cloned", "wrapped", "ul", "actualIndex", "id", "__publicField", "r", "cfpb_tag_group_component_default", "CfpbTagGroup", "cfpb_multiselect_component_default", "_options", "_name", "_max", "_optionsData", "_selectedIndices", "_filterIndicesList", "_lastFilterIndicesList", "_index", "_UNDEFINED", "_MultiselectModel_instances", "getOptionId_fn", "formatOptions_fn", "searchAggregator_fn", "_MultiselectModel", "options", "name", "config", "__privateAdd", "__privateSet", "__privateGet", "__privateMethod", "index", "currIndex", "query", "acc", "item", "value", "filterCount", "count", "str", "x", "y", "list", "cleaned", "isChecked", "isSelected", "i", "len", "aggregate", "__publicField", "MultiselectModel", "DIR_PREV", "DIR_NEXT", "KEY_RETURN", "KEY_ESCAPE", "KEY_UP", "KEY_DOWN", "KEY_TAB", "_containerDom", "_fieldsetDom", "_searchDom", "_optionsDom", "_optionItemDoms", "_model", "_isBlurSkipped", "_CfpbMultiselect_instances", "slotChanged_fn", "initializeFromLightDom_fn", "filterMatches_fn", "resetFilter_fn", "filterNoMatches_fn", "filterList_fn", "evaluate_fn", "highlight_fn", "resetSearch_fn", "updateSelections_fn", "searchInputFocus_fn", "searchInputBlur_fn", "searchInputKeyDown_fn", "onChangeCheckbox_fn", "onKeyDownList_fn", "renderTag_fn", "renderChoice_fn", "_CfpbMultiselect", "i", "__privateAdd", "__privateSet", "root", "__privateGet", "event", "index", "renderTags", "renderChoices", "item", "x", "__privateMethod", "label", "evt", "CfpbFormChoice", "CfpbLabel", "MultiselectModel", "_a", "fallbackSelect", "opt", "filteredIndices", "len", "j", "filterIndices", "value", "matchedIndices", "direction", "filteredIndex", "optionIndex", "option", "key", "target", "checked", "htmlSnippet", "__publicField", "r", "cfpb_multiselect_component_default", "CfpbMultiselect"]
|
|
7
7
|
}
|