"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("@dialpad/dialtone-icons/vue2"),l=require("../localization/index.cjs"),s=require("../_plugin-vue2_normalizer-e_CkxkSV.cjs"),r=require("../lib/button/button.cjs"),i={name:"SrOnlyCloseButton",components:{DtIconClose:n.DtIconClose,DtButton:r.default},emits:["close"],data(){return{i18n:new l.DialtoneLocalization}},computed:{closeButtonTitle(){return this.i18n.$t("DIALTONE_CLOSE_BUTTON")}},methods:{close(){this.$emit("close")}}};var c=function(){var t=this,o=t._self._c;return o("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":t.closeButtonTitle,title:t.closeButtonTitle},on:{click:t.close,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.close.apply(null,arguments))}}},[o("dt-icon-close")],1)},u=[],a=s.n(i,c,u);const _=a.exports;exports.default=_;
//# sourceMappingURL=sr_only_close_button.cjs.map
