1import{d as p,p as c,S as u,n as l}from"./index-ChSLynr4.js";const r=p({name:"AppMainInputSearch",components:{SvgIcon:u},props:{value:{type:String,required:!0},isDark:{type:Boolean,default:!0},isFullWidth:{type:Boolean,default:!1},isLarge:{type:Boolean,default:!1}},emits:["input","clear","submit"],methods:{asHTMLInputElement:c,handleClear(){this.$emit("input",""),this.$emit("clear"),this.$refs.marketplaceInput.focus()}}});var i={en:{search:"Search",clear:"Clear"},de:{search:"Suche",clear:"Löschen"}};const o=i;i.en;i.de;function s(n){const a=n.options||n;a.__i18n=a.__i18n||[],a.__i18n.push(JSON.stringify(o))}var _=function(){var a=this,t=a._self._c;return a._self._setupProxy,t("div",{staticClass:"app-main-input-search",class:{"app-main-input-search--full-width":a.isFullWidth,"app-main-input-search--large":a.isLarge}},[t("div",{staticClass:"app-main-input-search__wrapper"},[t("input",{ref:"marketplaceInput",staticClass:"app-main-input-search__input input",class:{"app-main-input-search__input--dark":a.isDark},attrs:{name:"search","aria-label":a.$t("search"),placeholder:a.$t("search"),type:"search"},domProps:{value:a.value},on:{keydown:function(e){return!e.type.indexOf("key")&&a._k(e.keyCode,"enter",13,e.key,"Enter")?null:a.$emit("submit")}
1,input:function(e){a.$emit("input",a.asHTMLInputElement(e.target).value)}}}),a.value.length>0?t("button",{staticClass:"app-main-input-search__button-clear button",attrs:{"aria-label":a.$t("clear"),type:"button"},on:{click:a.handleClear}},[t("SvgIcon",{staticClass:"app-main-input-search__icon app-main-input-search__icon--clear",attrs:{name:a.$icons.CLOSE,"aria-hidden":"true"}})],1):a._e()]),t("button",{staticClass:"app-main-input-search__button-search button button--primary",attrs:{type:"button","aria-label":a.$t("search")},on:{click:function(e){return a.$emit("submit")}}},[t("SvgIcon",{staticClass:"app-main-input-search__icon app-main-input-search__icon--search",attrs:{name:a.$icons.SEARCH_ALT_2,"aria-hidden":"true"}})],1)])},h=[];typeof s=="function"&&s(r);var m=l(r,_,h,!1,null,"e39d0e0c");const f=m.exports;export{f as A};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.