/*! For license information please see 6605.app.bundle.js.LICENSE.txt */
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4164,6605],{4164:function(t,e,i){i.r(e),i.d(e,{c:function(){return n}});var s,a={exports:{}};s=a,function(){var t={}.hasOwnProperty;function e(){for(var i=[],s=0;s<arguments.length;s++){var a=arguments[s];if(a){var n=typeof a;if("string"===n||"number"===n)i.push(a);else if(Array.isArray(a)){if(a.length){var o=e.apply(null,a);o&&i.push(o)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var r in a)t.call(a,r)&&a[r]&&i.push(r);else i.push(a.toString())}}return i.join(" ")}s.exports?(e.default=e,s.exports=e):window.classNames=e}();var n=a.exports},6605:function(t,e,i){i.r(e),i.d(e,{va_details:function(){return n}});var s=i(9213),a=i(4164),n=function(){function t(t){var e=this;(0,s.r)(this,t),this.handleToggle=function(t){t.preventDefault(),setTimeout(function(){e.isOpen=!e.isOpen},100)},this.handleKeyDown=function(t){"Enter"!==t.key&&" "!==t.key||e.handleToggle(t)},this.label=void 0,this.width=void 0,this.isOpen=!1,this.firstNodeIsElement=!1}return t.prototype.inspectSlot=function(){var t=this.el.shadowRoot.querySelector("slot"),e=((null==t?void 0:t.assignedNodes({flatten:!0}))||[]).find(function(t){var e;return t.nodeType!==Node.TEXT_NODE||(null===(e=t.textContent)||void 0===e?void 0:e.trim())});this.firstNodeIsElement=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE},t.prototype.render=function(){var t,e=this,i=this.label,n=this.width;if(!i)return null;var o=["xl","2xl"].includes(n)?n:void 0,r=(0,a.c)(((t={"va-details":!0})["usa-input--".concat(o)]=o,t)),l=(0,a.c)({"va-details__content":!0,"va-details__content--element-child":this.firstNodeIsElement});return(0,s.h)(s.H,null,(0,s.h)("details",{class:r,open:this.isOpen},(0,s.h)("summary",{class:"va-details__summary",onClick:this.handleToggle,onKeyDown:this.handleKeyDown},(0,s.h)("va-icon",{class:"va-details__icon",icon:"chevron_right"}),i),(0,s.h)("div",{class:l},(0,s.h)("slot",{onSlotchange:function(){return e.inspectSlot()}}))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,s.g)(this)},enumerable:!1,configurable:!0}),t}();n.style=":host .usa-input--2xs{max-width:5ex}:host .usa-input--xs{max-width:9ex}:host .usa-input--sm{max-width:13ex}:host .usa-input--small{max-width:13ex}:host .usa-input--md{max-width:20ex}:host .usa-input--medium{max-width:20ex}:host .usa-input--lg{max-width:30ex}:host .usa-input--xl{max-width:40ex}:host .usa-input--2xl{max-width:50ex}:host .va-select__sort-container--md{max-width:100%}@media (min-width: 640px){:host .va-select__sort-container--md{max-width:none;-ms-flex-preferred-size:20ex;flex-basis:20ex}}:host .va-select__sort-container--medium{max-width:100%}@media (min-width: 640px){:host .va-select__sort-container--medium{max-width:none;-ms-flex-preferred-size:20ex;flex-basis:20ex}}:host .va-select__sort-container--lg{max-width:100%}@media (min-width: 640px){:host .va-select__sort-container--lg{max-width:none;-ms-flex-preferred-size:30ex;flex-basis:30ex}}:host .va-select__sort-container--xl{max-width:100%}@media (min-width: 640px){:host .va-select__sort-container--xl{max-width:none;-ms-flex-preferred-size:40ex;flex-basis:40ex}}:host{font-size:var(--vads-font-size-source-sans-normalized)}:host details.va-details{width:100%;border:1px solid var(--vads-color-gray-medium);border-radius:var(--units-0p5)}:host details.va-details summary.va-details__summary{display:-ms-flexbox;display:flex;gap:var(--units-0p5);padding:0.125rem var(--units-0p5);font-weight:var(--font-weight-bold);line-height:1.25rem}:host details.va-details summary.va-details__summary::marker{content:none;}:host details.va-details summary.va-details__summary:hover{cursor:pointer;background-color:rgba(0, 0, 0, 0.05)}:host details.va-details summary.va-details__summary:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:-0.125rem}:host details.va-details summary.va-details__summary va-icon.va-details__icon{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-top:0.094rem;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:-webkit-transform 0.15s linear;transition:-webkit-transform 0.15s linear;transition:transform 0.15s linear;transition:transform 0.15s linear, -webkit-transform 0.15s linear}:host details.va-details[open] summary.va-details__summary va-icon.va-details__icon{-webkit-transform:rotate(270deg);transform:rotate(270deg)}:host details.va-details div.va-details__content{padding:0 var(--units-0p5) var(--units-0p5) var(--units-3)}:host details.va-details div.va-details__content.va-details__content--element-child{padding-top:var(--units-0p5)}:host ::slotted(*:first-child){margin-top:0 !important;padding-top:0 !important}:host ::slotted(*:last-child){margin-bottom:0 !important;padding-bottom:0 !important}"}}]);