1import{_ as f}from"./F5GQQYFm.js";import{d as _,a4 as v,o as c,c as l,a as s,v as p,h as L,k as x}from"./CxftXTPK.js";import"./sJhfZxnG.js";const H=["id"],P={class:"c-store-locator-teaser__content"},$=["innerHTML"],k=["innerHTML"],S={class:"c-store-locator-teaser__search"},C=_({__name:"StoreLocatorTeaser",props:{id:{default:void 0},headline:{},text:{default:void 0},placeholder:{default:"PLZ, Stadt oder StraÃe"},storeLocatorPath:{},queryParam:{default:"storeSearch"}},emits:["eventHandler"],setup(e,{emit:d}){const a=e,i=d,u=`store-locator-teaser-input-${v()}`,r=x("");function m(t){const o=a.storeLocatorPath.includes("?")?"&":"?";return`${a.storeLocatorPath}${o}${a.queryParam}=${encodeURIComponent(t)}`}function n(){const t=(r.value??"").trim();t.length!==0&&i("eventHandler","store-locator-teaser","submit",{url:m(t),value:t})}return(t,o)=>(c(),l("section",{id:e.id,class:"c-store-locator-teaser"},[s("div",P,[s("h4",{class:"c-store-locator-teaser__headline",innerHTML:e.headline},null,8,$),e.text?(c(),l("div",{key:0,class:"c-store-locator-teaser__text",innerHTML:e.text},null,8,k)):p("",!0),s("div",S,[L(f,{"model-value":r.value,"onUpdate:modelValue":o[0]||(o[0]=h=>r.value=h),placeholder:e.placeholder,icon:"c-icon--search",disabled:!1,name:"store-locator-teaser-search","input-id":u,onSubmit:n,onAdditionalIconClick:n},null,8,["model-value","placeholder"])])])],8,H))}});export{C as default};
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.