/*! For license information please see 2222.app.bundle.js.LICENSE.txt */
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2222,4164],{2222:function(i,e,t){t.r(e),t.d(e,{va_icon:function(){return a}});var n=t(9213),r=t(4164),o=t(4879),a=function(){function i(i){(0,n.r)(this,i),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return i.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},i.prototype.validateSpriteLocation=function(i){var e=this.fallbackSpriteLocation;try{var t=new URL(i,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!i.includes("..")&&(e=t.pathname),e}catch(i){return e}},i.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},i.prototype.render=function(){var i,e=this,t=e.icon,o=e.srtext,a=e.spriteLocation,s=this.getSize(),c=(0,r.c)(((i={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,i)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"33f66acb5b360570bbda98592bb2b3361ccbb521"},(0,n.h)("svg",{key:"aaeb370a5e77e4d13f5b2e9a15516a39c290e135",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"95ac6004e77a6014c0d618d09d437b6a9fd219f5",id:"icon-title"},o),(0,n.h)("use",{key:"b1b9c0336a2bc813ab2432b35aa0963a6be7fb94",href:l})))},Object.defineProperty(i,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),i}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"},4164:function(i,e,t){t.r(e),t.d(e,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var i={}.hasOwnProperty;function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=e.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)i.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}();var o=r.exports}}]);