1(()=>{"use strict";var __webpack_modules__={919(__unused_webpack_module,exports,__webpack_require__){exports.Grouped=void 0;const ABaseModule_1=__webpack_require__(2372);class Grouped extends ABaseModule_1.ABaseModule{constructor(element){super(element),this.init(element)}init(element){if(null!=element){element.addEventListener("mouseenter",()=>{element.classList.add("grouped--hover")}),element.addEventListener("mouseleave",()=>{element.classList.remove("grouped--hover")});try{document.querySelector(":focus-within")}catch(e){Array.prototype.forEach.call(element.querySelectorAll(".input__input"),inputElement=>{inputElement.addEventListener("blur",()=>{0===element.querySelectorAll(".input__input:focus").length&&element.classList.remove("grouped--focus-within")}),inputElement.addEventListener("focus",()=>{element.classList.add("grouped--focus-within")})})}}}}exports.Grouped=Grouped},9498(__unused_webpack_module,exports,__webpack_require__){exports.AdSuggest=void 0;const ABaseModule_1=__webpack_require__(2372),Utils_1=__webpack_require__(8441),WipeTracking_1=__webpack_require__(9895);class AdSuggest extends ABaseModule_1.ABaseModule{constructor(element,adData){super(element),this.TABLET_PIXELS=768,this.init(element,adData)}init(element,adData){this.insertAd(element,adData)}insertAd(element,advertisementData){let adContainer=this.getAdContainer(element,"gs-searchblock--adContainer");void 0===advertisementData||Utils_1.Utils.isEmpty(advertisementData)?this.deleteAllAdContainers("gs-searchblock--adContainer"):(null==adContainer&&(adContainer=this.createAdContainer(element,"gs-searchblock--adContainer")),adContainer.innerHTML=this.insertDataIntoAdTemplate(advertisementData),WipeTracking_1.WipeTracking.instance.logItemView(JSON.parse(adContainer.firstChild.getAttribute("data-wipe-logitemview")),adContainer.firstChild.getAttribute("data-wipe-viewcontext")))}getAdContainer(modInput,classAdContainer){let adContainer;return adContainer=window.innerWidth<this.TABLET_PIXELS?modInput.parentNode.getElementsByClassName(classAdContainer)[0]:modInput.getElementsByClassName(classAdContainer)[0],adContainer}createAdContainer(modInput,classAdContainer){const adContainer=document.createElement("div");return adContainer.classList.add(classAdContainer),window.innerWidth<this.TABLET_PIXELS?modInput.parentNode.appendChild(adContainer):modInput.appendChild(adContainer),adContainer}deleteAllAdContainers(classAdContainer){const adContainers=this.element.getElementsByClassName(classAdContainer);Array.prototype.forEach.call(adContainers,adContainer=>{adContainer.parentNode.removeChild(adContainer)})}insertDataIntoAdTemplate(advertisementData){let adString="";return null!==advertisementData.detaillink&&void 0!==advertisementData.detaillink&&(adString+=this.getAdLink(advertisementData)),adString+=this.getAdContent(advertisementData),null!==advertisementData.detaillink&&void 0!==advertisementData.detaillink&&(adString+="</a>"),adString}getAdLink(advertisementData){const dataCookieInfo=`"${advertisementData.realId}=${advertisementData.subscriberid}"`,dataWipeStringFallback=`{\n\t\t\t\t"listener": "click",\n\t\t\t\t"name": "ad-suggest",\n\t\t\t\t"id": "${advertisementData.subscriberid}",\n\t\t\t\t"synchron": true}`,adDataWipeStringFallback=`{\n\t\t\t\t"id":${advertisementData.subscriberid},\n\t\t\t\t"pa":${advertisementData.advertId},\n\t\t\t\t"bi":${advertisementData.advertId},\n\t\t\t\t"na": "ad-suggest"}`;return`<a href="${advertisementData.detaillink}" target="_blank"\n\t\t\t\t\t\t\tdata-wipe="${void 0!==advertisementData.wipe?advertisementData.wipe:dataWipeStringFallback}"\n\t\t\t\t\t\t\tdata-wipe-logitemview="${void 0!==advertisementData.wipe?advertisementData.wipe:adDataWipeStringFallback}"\n\t\t\t\t\t\t\tdata-wipe-viewcontext="ad-suggest"\n\t\t\t\t\t\t\tdata-cookieinfo = "${dataCookieInfo}"\n\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t>`}getAdContent(advertisementData){const isNOTEmptyAddress=null!==advertisementData.address&&void 0!==advertisementData.address&&"undefined"!==advertisementData.address,isNOTEmptyCity=null!==advertisementData.city&&void 0!==advertisementData.city&&"undefined"!==advertisementData.city;let adContent="";return null!==advertisementData.graphic&&void 0!==advertisementData.graphic&&-1===advertisementData.graphic.indexOf("unknown")&&(adContent+=`<img src="${advertisementData.graphic}" alt="" style="max-width: 100%;" />`),null!==advertisementData.title&&void 0!==advertisementData.title&&(adContent+=`<p><b>${advertisementData.title}</b></p>`),(isNOTEmptyAddress||isNOTEmptyCity)&&(adContent+=`<p>${isNOTEmptyAddress?advertisementData.address:""}`),adContent+=""+(isNOTEmptyAddress&&isNOTEmptyCity?"<br />":""),adContent+=`${isNOTEmptyCity?advertisementData.city:""}</p>`,null!==advertisementData.industry&&void 0!==advertisementData.industry&&(adContent+=`<p>Branche: ${advertisementData.industry}</p>`),adContent}}exports.AdSuggest=AdSuggest},1331(__unused_webpack_module,exports,__webpack_require__){exports.GsGeolocation=void 0;const ABaseModule_1=__webpack_require__(2372),App_1=__webpack_require__(4081),WipeTracking_1=__webpack_require__(9895);class GsGeolocation extends ABaseModule_1.ABaseModule{constructor(element){super(element),this.STANDORTSTRING="Me
1inen Standort verwenden",this.GEOLOCATIONTRIGGER_CLASSNAME="geolocation-trigger",this.DEFAULT_DISTANCE=8e3,this.geolocationPermissionState="",this.submitAfterFill=null,this.init()}init(){this.indexedDB=App_1.App.instance.getGsIndexedDB(),this.inputElement=this.element.querySelector('input[type="search"]'),this.inputElement&&(this.geoLocationIsPermitted(),this.initGeolocationElements(),this.initInput())}initInput(){this.inputElement.addEventListener("input",event=>{void 0===event.inputType&&void 0===event.data&&!1===event.composed?(this.initGeolocationElements(),WipeTracking_1.WipeTracking.instance.logAction(this.inputElement.getAttribute("data-input-tracking"))):this.inputElement.value!==this.STANDORTSTRING&&this.removeGeolocationElements()})}initGeolocationElements(){if(this.inputElement.value===this.STANDORTSTRING){this.triggerGeolocation(this.inputElement),this.inputElement.nextElementSibling&&this.inputElement.nextElementSibling.getElementsByClassName(this.GEOLOCATIONTRIGGER_CLASSNAME).length&&this.enrichGeolocationTrigger(this.inputElement.nextElementSibling.getElementsByClassName(this.GEOLOCATIONTRIGGER_CLASSNAME)[0]);!0===(this.inputElement.value===this.STANDORTSTRING)&&this.getGeolocation(null)}else this.removeGeolocationElements()}geoLocationWorks(){return"geolocation"in navigator}geoLocationIsPermitted(){navigator.permissions&&navigator.permissions.query({name:"geolocation"}).then(geolocationPermission=>{this.geolocationPermissionState=geolocationPermission.state,"denied"===this.geolocationPermissionState&&this.removeGeolocation()},()=>{this.geolocationPermissionState="error",this.removeGeolocation()})}triggerGeolocation(inputElement){this.inputElement=inputElement,this.getGeolocation(null)}enrichGeolocationTrigger(geolocationTrigger){if(geolocationTrigger)return""===this.geolocationPermissionState&&this.geoLocationIsPermitted(),"denied"!==this.geolocationPermissionState&&this.geoLocationWorks()?void 0:(this.inputElement.value===this.STANDORTSTRING&&(this.inputElement.value=""),void geolocationTrigger.parentNode.removeChild(geolocationTrigger))}getGeolocation(submitAfterFill){let form;this.submitAfterFill=submitAfterFill;try{form=this.inputElement.closest("form")}catch(e){let element=this.inputElement;for(;"form"!==element.parentElement.tagName.toLowerCase();)element=element.parentElement;form=element.parentElement}const latField=form.querySelector('[name="wgs84Lat"]'),lonField=form.querySelector('[name="wgs84Lon"]');if(latField&&""!==latField.value||lonField&&""!==lonField.value)return document.getElementById("suchradius_slider")&&parseInt(document.getElementById("suchradius_slider").value,10)<=0&&(document.getElementById("suchradius_slider").value=this.DEFAULT_DISTANCE.toLocaleString()),void(this.submitAfterFill&&this.submitAfterFill(this.inputElement));this.inputElement.classList.add("wait"),navigator.geolocation.getCurrentPosition(this.insertGeoLocation.bind(this),this.removeGeolocation.bind(this),{timeout:1e4})}removeGeolocation(){this.inputElement.value===this.STANDORTSTRING&&(this.inputElement.value=""),this.removeGeolocationTrigger(),this.removeGeolocationElements(),this.inputElement.classList.remove("wait")}removeGeolocationTrigger(){Array.prototype.forEach.call(document.getElementsByClassName(this.GEOLOCATIONTRIGGER_CLASSNAME),trigger=>{trigger.parentNode.removeChild(trigger)})}removeGeolocationElements(){const geolocationElements=document.querySelectorAll('[name^="wgs84"]');Array.prototype.forEach.call(geolocationElements,geolocationElement=>{geolocationElement.parentNode.removeChild(geolocationElement)})}insertGeoLocation(position){const geolocationFields=this.getGeolocationFields();Array.prototype.forEach.call(geolocationFields,(geolocationField,key)=>{0===key?(geolocationField.name="wgs84Lat",geolocationField.value=position.coords.latitude):1===key?(geolocationField.name="wgs84Lon",geolocationField.value=position.coords.longitude):2===key&&(geolocationField.name="distance",geolocationField.value=this.DEFAULT_DISTANCE),this.element.insertBefore(geolocationField,this.element.firstChild)}),this.inputElement.value=this.STANDORTSTRING;return this.inputElement===document.activeElement&&this.inputElement.focus(),this.inputElement.classList.remove("wait"),this.submitAfterFill&&this.submitAfterFill(this.inputElement),!0}getGeolocationFields(){const geolocationFields=this.element.querySelectorAll('[name^="wgs84"], [name="distance"]');if(geolocationFields.length>0)return geolocationFields;return[this.createGeolocationField(),this.createGeolocationField(),this.createGeolocationField()]}createGeolocationField(){const newField=document.createElement("input");return newField.type="hidden",newField}}exports.GsGeolocation=GsGeolocation},4304(__unused_webpack_module,exports,__webpack_require__){exports.GsSearchblock=void 0;const ABaseModule_1=__webpack_require__(2372),App_1=__webpack_require__(4081),ModInput_1=__webpack_require__(1987);class GsSearchblock extends ABaseModule_1.ABaseModule{constructor(element){super(element),this.INPUT_SELECTOR=".mod-Input",this.init()}init(){null!==this.element&&void 0!==this.element&&void 0!==App_1.App.instance.getGsIndexedDB()&&(Array.prototype.forEach.call(this.element.querySelectorAll(this.INPUT_SELECTOR),modInput=>{new ModInput_1.ModInput(modInput,null)}),window.addEventListener("resize",()=>{Array.prototype.forEach.call(document.getElementsByClassName("gs-searchblock--adContainer"),adContainer=>{adContainer.parentNode.removeChild(adContainer)})},{passive:!0}))}handleInputFields(){const wasBegriff=document.getElementById("wasBegriff"),wasSuche=document.getElementById("what_search"),woBegriff=document.getElementById("woBegriff"),woSuche=document.getElementById("where_search"),lastSearches=[];lastSearches.was=[],lastSearches.wo=[],wasBegriff&&wasSuche&&(lastSearches.was[1]=null!==wasBegriff?wasBegriff.innerText:wasSuche.value),woBegriff&&woSuche&&(lastSearches.wo[1]=null!==woBegriff?woBegriff.innerText:woSuche.value);const gsSearchData={was_wo:`${lastSearches.was[1]}_${lastSearches.wo[1]}`,was:`${lastSearches.was[1]}`,wo:`${lastSearches.wo[1]}`,timestamp:Date.now()},indexedDB=App_1.App.instance.getGsIndexedDB();null!=indexedDB?indexedDB.getLatest("searches").then(data=>{null!==data&&(lastSearches.was[0]=data.value.was,lastSearches.wo[0]=data.value.wo),Array.prototype.forEach.call(this.element.querySelectorAll(this.INPUT_SELECTOR),modInput=>{new ModInput_1.ModInput(modInput,lastSearches[modInput.getAttribute("data-name").toLowerCase()])}),indexedDB.put("searches",gsSearchData,10)}):Array.prototype.forEach.call(this.element.querySelectorAll(this.INPUT_SELECTOR),modInput=>{new ModInput_1.ModInput(modInput,null)})}}exports.GsSearchblock=GsSearchblock},1987(__unused_webpack_module,exports,__webpack_require__){exports.ModInput=void 0;const ABaseModule_1=__webpack_require__(2372),SuggestList_1=__webpack_require__(3937);class ModInput extends ABaseModule_1.ABaseModule{constructor(element,lastSearches){super(element),this.init(element,lastSearches)}init(element,lastSearches){""!==element.getElementsByClassName("input__input")[0].getAttribute("data-suggest-source")&&new SuggestList_1.SuggestList(element,lastSearches)}}exports.ModInput=ModInput},3937(__unused_webpack_module,exports,__webpack_require__){exports.SuggestList=void 0;const ABaseModule_1=__webpack_require__(2372),GsGeolocation_1=__webpack_require__(1331),AdSuggest_1=__webpack_require__(9498),WipeTracking_1=__webpack_require__(9895);class SuggestList extends ABaseModule_1.ABaseModule{constructor(element,lastSearches){super(element),this.ajaxSemaphoreGreen=!0,this.request=new XMLHttpRequest,this.KEY_ARROWDOWN=40,this.KEY_ARROWUP=38,this.KEY_ENTER=13,this.KEY_SPACE=32,this.GEOLOCATIONTRIGGERCLASS="geolocation-trigger",this.LASTSEARCHCLASS="last-search",this.ISWAITING="data-iswaiting";const input=element.getElementsByClassName("input__input")[0];this.guetesiegelContainer=document.getElementById("guetesiegelContainer"),this.wipeTracking=WipeTracking_1.WipeTracking.instance,this.init(input,lastSearches)}init(input,lastSearches){if(!input)return;const suggestList=input.nextElementSibling;if(!suggestList)return;let lastSearchInserted="";suggestList&&suggestList.firstElementChild&&suggestList.firstElementChild.classList.contains(this.GEOLOCATIONTRIGGERCLASS)&&(this.gsGeolocation=new GsGeolocation_1.GsGeolocation(this.element),navigator.geolocation&&!navigator.userAgent.match(/Trident/)||this.gsGeolocation.removeGeolocationTrigger()),lastSearches&&Array.prototype.forEach.call(lastSearches,lastSearch=>{""!==lastSearch&&"Meinen Standort verwenden"!==lastSearch&&lastSearch!==lastSearchInserted&&(suggestList.insertAdjacentHTML("beforeend",`<li class="${this.LASTSEARCHCLASS}" tabindex="1"><span>${lastSearch}</span></li>`),lastSearchInserted=lastSearch)}),this.addEventListenersToInput(input,suggestList),this.addEventListenersToSuggestList(input,suggestList)}addEventListenersToInput(input,suggestList){input.addEventListener("focus",()=>{window.navigator.userAgent.indexOf("Edge")>-1&&"autofocus"===input.getAttribute("autofocus")?input.removeAttribute("autofocus"):this.handleSuggestlistAfterInputFocusEvent(input,suggestList)}),input.addEventListener("keyup",event=>{this.handleSuggestlistAfterInputKeyupEvent(input,event)}),input.addEventListener("input",event=>{this.handleSuggestlistAfterInputInputEvent(event,suggestList)}),input.addEventListener("blur",()=>{this.handleSuggestlistAfterInputBlurEvent(input,suggestList)})}addEventListenersToSuggestList(input,suggestList){suggestList.addEventListener("click",mouseEvent=>{this.handleSuggestSelection(input,mouseEvent,suggestList)}),suggestList.addEventListener("keydown",keyEvent=>{keyEvent.preventDefault(),this.handleSuggestListKeyEvent(keyEvent,input,suggestList)})}handleSuggestlistAfterInputFocusEvent(input,suggestList){""!==input.nextSibling.innerHTML&&input.setAttribute("autocomplete","off"),suggestList.style.display="block",suggestList.children.length&&window.setTimeout(()=>{this.hideGuetesiegelContainer()},50)}handleSuggestlistAfterInputKeyupEvent(input,event){event.which===this.KEY_ARROWDOWN&&input.nextElementSibling&&"ul"===input.nextElementSibling.tagName.toLowerCase()&&input.nextElementSibling.children.length&&(input.nextElementSibling.style.display="block",this.hideGuetesiegelContainer(),input.nextElementSibling.firstChild.focus())}handleSuggestlistAfterInputInputEvent(event,suggestList){""!==event.target.value&&this.requestAndInsertSuggestions(event.target,suggestList)}handleSuggestlistAfterInputBlurEvent(input,suggestList){this.request&&this.request.abort(),window.setTimeout(()=>{document.activeElement&&document.activeElement.parentElement!==suggestList&&document.activeElement.parentElement.parentElement!==suggestList&&(suggestList.removeAttribute("style"),this.showGuetesiegelContainer()),input.removeAttribute("data-iswaiting")},20)}requestAndInsertSuggestions(input,suggestList){const opposite=this.getOppositeElement(input),oppositeValue=opposite?encodeURI(this.getOppositeValue(opposite)):"",escapedInput=encodeURI(input.value.toString().replace(" ","+"));if(input.setAttribute(this.ISWAITING,!0),this.request.open("GET",`${input.getAttribute("data-suggest-source")}?opposite=${oppositeValue}&tag=${escapedInput}`,!0),this.request.onload=()=>
1{if(this.request.status>=200&&this.request.status<400){const data=JSON.parse(this.request.responseText);this.insertSuggestions(input,data.vorschlaege,opposite,suggestList),null!=opposite&&window.innerWidth>=768&&new AdSuggest_1.AdSuggest(opposite.parentNode,data.werbung)}else console.error("We reached our target server, but it returned an error.")},this.request.onerror=()=>{console.error("There was a connection error of some sort.")},!this.ajaxSemaphoreGreen)return;this.request.send(),this.ajaxSemaphoreGreen=!1;const lastInput=input.value;window.setTimeout(()=>{this.ajaxSemaphoreGreen=!0,document.activeElement===input&&lastInput!==input.value&&this.requestAndInsertSuggestions(input,suggestList)},700)}getOppositeElement(input){return input.id.indexOf("where")>=0?document.getElementById(input.id.replace("where","what")):input.id.indexOf("what")>=0?document.getElementById(input.id.replace("what","where")):null}getOppositeValue(opposite){return null!==opposite?opposite.value.replace(" ","+"):""}insertSuggestions(input,suggestions,opposite,suggestList){let newDataListContent=suggestList.getElementsByClassName(this.GEOLOCATIONTRIGGERCLASS)[0]?suggestList.getElementsByClassName(this.GEOLOCATIONTRIGGERCLASS)[0].outerHTML:"";if(newDataListContent+=this.getDatalistContent(suggestions,input.value,[suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[0]?suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[0].innerText:"",suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[1]?suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[1].innerText:""]),newDataListContent+=suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[0]?suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[0].outerHTML:"",newDataListContent+=suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[1]?suggestList.getElementsByClassName(this.LASTSEARCHCLASS)[1].outerHTML:"",newDataListContent===suggestList.innerHTML)return input.setAttribute(this.ISWAITING,!1),suggestList.style.display="block",void this.hideGuetesiegelContainer();""!==newDataListContent&&(input.setAttribute("autocomplete","off"),opposite&&opposite.setAttribute("autocomplete","off")),suggestList.style.display="block",this.hideGuetesiegelContainer(),suggestList.innerHTML=newDataListContent,input.setAttribute(this.ISWAITING,!1)}handleSuggestListKeyEvent(event,input,suggestList){event.preventDefault(),"li"===event.target.tagName.toLowerCase()&&(event.which===this.KEY_ARROWDOWN?event.target.nextElementSibling&&event.target.nextElementSibling.focus():event.which===this.KEY_ARROWUP?event.target.previousElementSibling?event.target.previousElementSibling.focus():event.target===suggestList.firstElementChild&&input.focus():event.which!==this.KEY_ENTER&&event.which!==this.KEY_SPACE||this.handleSuggestSelection(input,event,suggestList))}handleSuggestSelection(input,event,suggestList){const formSubmit=myInput=>{let form;try{form=myInput.closest("form")}catch(e){let element=myInput;for(;"form"!==element.parentElement.tagName.toLowerCase();)element=element.parentElement;form=element.parentElement}form.getElementsByClassName("search_go")[0].disabled=!0,form.submit()},submitForm="WO"===input.getAttribute("name")&&!this.getOppositeElement(input)||!!this.getOppositeElement(input)&&""!==this.getOppositeElement(input).value;this.request.abort(),this.wipeTracking.logAction(`Vorschlagsuche ${input.getAttribute("aria-label")}`,null),input.value=event.target.textContent.trim(),event.target.classList.contains(this.GEOLOCATIONTRIGGERCLASS)||event.target.parentNode.classList.contains(this.GEOLOCATIONTRIGGERCLASS)?this.gsGeolocation.getGeolocation(formSubmit):submitForm&&formSubmit(input),input.focus(),window.setTimeout(()=>{suggestList.removeAttribute("style"),this.showGuetesiegelContainer()},60)}getDatalistContent(suggestions,inputValue,lastSearches){let newDatalistContent="";return null!==suggestions&&(suggestions.length>1||suggestions[0]!==inputValue)&&suggestions.forEach(suggestion=>{suggestion!==lastSearches[0]&&suggestion!==lastSearches[1]&&(newDatalistContent+=`<li tabindex="1"><span>${suggestion}</span></li>`)}),newDatalistContent}hideGuetesiegelContainer(){this.guetesiegelContainer&&(this.guetesiegelContainer.style.display="none")}showGuetesiegelContainer(){this.guetesiegelContainer&&(this.guetesiegelContainer.style.display="block")}}exports.SuggestList=SuggestList},4816(__unused_webpack_module,exports,__webpack_require__){exports.Consentmanager=void 0;const WipeTracking_1=__webpack_require__(9895);class Consentmanager{static get instance(){return this.privateInstance||(this.privateInstance=new Consentmanager),this.privateInstance}static hasConsent(element){if(!element.hasAttribute("data-cmp-vendor"))return!0;const cmpData=Consentmanager.getCmpData();if(!cmpData)return WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1;const vendorId=element.getAttribute("data-cmp-vendor");return!!(""===vendorId||"vendorConsents"in cmpData&&vendorId in cmpData.vendorConsents&&cmpData.vendorConsents[vendorId])}static hasConsentForVendor(vendorId){const cmpData=Consentmanager.getCmpData();return cmpData?!!(cmpData.vendorConsents[this.KENNUNG_WIPE_ANALYSE]||""===vendorId||"vendorConsents"in cmpData&&vendorId in cmpData.vendorConsents&&cmpData.vendorConsents[vendorId]):(WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1)}static waitForConsentChangeForVendor(vendorId,callback){__cmp("addEventListener",["consentapproved",()=>{callback(!0)},!1],null),__cmp("addEventListener",["consentrejected",()=>{callback(!1)},!1],null),__cmp("addEventListener",["consentcustom",()=>{callback(Consentmanager.hasConsentForVendor(vendorId))},!1],null),__cmp("addEventListener",["consent",()=>{callback(Consentmanager.hasConsentForVendor(vendorId))},!1],null)}static hasPurposeConsent(purposeId){const cmpData=Consentmanager.getCmpData();return cmpData?!!(""===purposeId||"purposeConsents"in cmpData&&purposeId in cmpData.purposeConsents&&cmpData.purposeConsents[purposeId]):(WipeTracking_1.WipeTracking.instance.logAction(this.loggingText),!1)}static showConsentScreen(){__cmp("showGDPRScreenAdvanced")}
1static getCmpData(){let i=0,cmpData=__cmp("getCMPData");if(cmpData)return cmpData;const cmpInterval=window.setInterval(()=>{if(cmpData=__cmp("getCMPData"),cmpData)return clearInterval(cmpInterval),cmpData;i++,100===i&&clearInterval(cmpInterval)},200);return cmpData}static update(){window.setTimeout(()=>{__cmp?__cmp("checkBlocking"):WipeTracking_1.WipeTracking.instance.logAction("Technisches Logging: !__cmp")},1e3)}constructor(){}init(){}}exports.Consentmanager=Consentmanager,Consentmanager.loggingText="Technisches Logging: !cmpData",Consentmanager.KENNUNG_WIPE_ANALYSE="c23721"},8222(__unused_webpack_module,exports){exports.TealiumTracking=void 0;class TealiumTracking{static get instance(){return this.privateInstance||(this.privateInstance=new TealiumTracking),this.privateInstance}static addClickToUtagDataLayer(clickedElement){if(!window.utag_data||"object"!=typeof window.utag||"function"!=typeof window.utag.link)return void console.error("--- GAP Clicks konnten nicht initialisert werden!");let tealiumEventObject={};const wipeData=JSON.parse(clickedElement.getAttribute("data-wipe"))||{};tealiumEventObject=this.fillTealiumEventObject(tealiumEventObject),tealiumEventObject.enh_action="product_click",tealiumEventObject.gap_prod_clickType=[wipeData.name],tealiumEventObject.id=wipeData.id,window.utag.link(tealiumEventObject)}static logPageView(){if(`; ${document.cookie}`.split("; __cmpconsentx15760=").length>1)return;"undefined"!=typeof __tcfapi&&__tcfapi("addEventListener",2,function(tcData,success){if(success&&tcData&&("tcloaded"===tcData.eventStatus||"useractioncomplete"===tcData.eventStatus)){const newObject=this.fillTealiumEventObject({});window.utag.view(newObject)}})}static addEsucheNettoToUtagDataLayer(pageType,logMessage){if(("trefferliste"!==pageType.toLowerCase()||!document.getElementsByClassName("mod-Treffer").length)&&"detailseite"!==pageType.toLowerCase())return;if("function"!=typeof Object.assign)return;const utagData=this.getCertainProperties(window.utag_data,this.getValidKeys()),pageViewDataTmp=document.querySelector("[data-wwa-wipe-pageview-data]")?document.querySelector("[data-wwa-wipe-pageview-data]").getAttribute("data-wwa-wipe-pageview-data"):"",pageViewData=this.getCertainProperties(pageViewDataTmp,this.getValidKeys()),utagDataNew=Object.assign(utagData,pageViewData);utagDataNew.ga_events=logMessage,window.utag.link(utagDataNew)}static fillTealiumEventObject(tealiumEventObject){return Array.prototype.forEach.call(this.getValidKeys(),value=>{"string"==typeof window.utag_data[value]&&(tealiumEventObject[value]=window.utag_data[value])}),tealiumEventObject}static getCertainProperties(objectToCheck,propertiesArray){if(!propertiesArray||"object"!=typeof objectToCheck)return{};const tempObj={};return propertiesArray.forEach(property=>{objectToCheck[property]&&(tempObj[property]=objectToCheck[property])}),tempObj}static getValidKeys(){return["gap_environment","gap_contentPath","gap_subdomain","gap_pageName","gap_pageType","gap_adSlots","r_total","gap_searchType","gap_searchSuccessType","gap_searchtermWhat","gap_searchtermWhere","gap_searchtermWhereId","gap_entryTypeWhat","gap_entryTypeWhere","pubNo","bookNo","q_cat","pagename"]}getCmpObject(tcData){return{cmpCCPA:"0",cmpConsentPurposes:`,${this.get
1StringFromArray(tcData.purpose.consents)}${this.getStringFromArray(tcData.customPurposeConsent)}`,cmpConsentString:tcData.tcString,cmpConsentVendors:`,${this.getStringFromArray(tcData.vendor.consents)}${this.getStringFromArray(tcData.customVendorConsents)}`,cmpCustomPurposeConsent:`,${this.getStringFromArray(tcData.customPurposeConsents)}`,cmpCustomVendorsConsent:`,${this.getStringFromArray(tcData.customVendorConsents)}`,cmpGDPR:tcData.gdprApplies?"1":"0",cmpGoogleVendorsConsent:`,${this.getStringFromArray(tcData.googleVendorConsents)}`,cmpIABUSP:"",cmpLIPurposes:`,${this.getStringFromArray(tcData.customPurposeConsents)}${this.getStringFromArray(tcData.purpose.consents)}`,cmpLIVendors:`,${this.getStringFromArray(tcData.customVendorConsents)}${this.getStringFromArray(tcData.vendor.consents)}`,cmpPurposesConsent:`,${this.getStringFromArray(tcData.purpose.consents)}`,cmpVendorsConsent:`,${this.getStringFromArray(tcData.vendor.consents)}`,event:"cmpEvent",tealium_event:"cmpEvent"}}getStringFromArray(dataArray){let returnString="";return dataArray.forEach((value,key)=>{returnString+=`${key},`}),returnString}constructor(){}init(){}}exports.TealiumTracking=TealiumTracking},910(__unused_webpack_module,exports,__webpack_require__){exports.ESucheNetto=void 0;const WipeTracking_1=__webpack_require__(9895);class ESucheNetto{static get instance(){return this.privateInstance||(this.privateInstance=new ESucheNetto),this.privateInstance}constructor(){this.wasFired=!1,this.eSucheNettoString="eSucheNettoTest"}fireESucheNetto(){if("startseite"!==document.body.id&&("trefferliste"!==document.body.id||document.getElementsByClassName("mod-Treffer").length)){if("detailseite"===document.body.id){if(this.referrerContainsGs())return;performance.getEntriesByType("navigation").forEach(perfEntry=>{perfEntry.entryType})}this.wasFired||(WipeTracking_1.WipeTracking.instance.setGSCustomPageAttr(this.eSucheNettoString,null),this.wasFired=!0)}}referrerContainsGs(){return!(!window.performance||performance.navigation.type!=performance.navigation.TYPE_RELOAD)||document.referrer.indexOf("gelbeseiten.de")>=0}}exports.ESucheNetto=ESucheNetto},9895(__unused_webpack_module,exports,__webpack_require__){exports.WipeTracking=void 0;const TealiumTracking_1=__webpack_require__(8222),Consentmanager_1=__webpack_require__(4816);class WipeTracking{static get instance(){return this.privateInstance||(this.privateInstance=new WipeTracking),this.privateInstance}get pagetype(){return this.PAGETYPE}get pagename(){return this.PAGENAME}static getClosest(inElement,attribute){return inElement.closest(`[${attribute}]`)}constructor(){this.DATA_COOKIEINFO="data-cookieinfo",this.PAGEVIEW_DATA="data-wwa-wipe-pageview-data",this.wa$="object"==typeof _WWA_?_WWA_.getAnalyzer("GS",{trackPagePerf:!0,trackClicks:!0,trackErrors:{stack:!0},domain:".gelbeseiten.de ",useCookies:!1}):null;const pageTypeRaw=document.body.getAttribute("id");this.PAGETYPE=pageTypeRaw.replace(/^./,pageTypeRaw[0].toUpperCase()),this.PAGENAME=window.utag&&window.utag.data&&window.utag.data.pageName?window.utag.data.pageName:this.PAGETYPE}init(){const isDev=document.body.hasAttribute("data-umgebung")&&"prod"!==document.body.getAttribute("data-umgebung");isDev&&this.wa$.setOptions({environment:"sandbox"});Consentmanager_1.Consentmanager.waitForConsentChangeForVendor("c23721",hasConsent=>{isDev?this.wa$.setOptions({useCookies:hasConsent,environment:"sandbox"}):this.wa$.setOptions({useCookies:hasConsent})}),null===this.wa$||this.noTrackPage()?this.setzeRealIdCookieOhneWipe():(this.trackZusatzInfos(),this.trackPageAttr(),this.trackViewport(),this.trackInputDevice(),document.addEventListener("DOMContentLoaded",()=>{this.trackPageView(),this.trackEvents(),this.trackGeneralEvents(),this.trackRealViews(),this.trackPageItems()}))}trackPageAttr(){document.addEventListener("DOMContentLoaded",()=>{Array.prototype.forEach.call(document.querySelectorAll("[data-wipe-pageattr]"),element=>{try{this.wa$.setCustomPageAttr(JSON.parse(element.getAttribute("data-wipe-pageattr")))}catch(e){this.wa$.setCustomPageAttr(element.getAttribute("data-wipe-pageattr"))}})})}trackZusatzInfos(){window.location.hash.match(/zusatzinfos/g)&&this.wa$.setCustomPageAttr("Zusatzinfos (Rankingwert,Kunde) wurden aufgerufen")}trackViewport(){const width=window.innerWidth;let viewport;viewport=width<100?0:100*Math.floor(width/100),this.wa$.setCustomPageAttr(JSON.parse(`{"viewport-width": "> ${viewport}"}`))}trackInputDevice(){let device="touch";window.matchMedia("(pointer: fine)").matches&&(device="mouse"),this.wa$.setCustomPageAttr(JSON.parse(`{"device": "${device}"}`))}trackPageView(){null!==this.wa$&&(document.querySelector(`[${this.PAGEVIEW_DATA}]`)?this.wa$.setPageAttr(JSON.parse(document.querySelector(`[${this.PAGEVIEW_DATA}]`).getAttribute(this.PAGEVIEW_DATA))):this.wa$.setPageAttr({pageName:this.PAGENAME,type:this.PAGETYPE}
1),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView())}logPageView(queryType){if(document.querySelector(`[${this.PAGEVIEW_DATA}]`)){const pageviewData=JSON.parse(document.querySelector(`[${this.PAGEVIEW_DATA}]`).getAttribute(this.PAGEVIEW_DATA));pageviewData.q_type=queryType,this.wa$.setPageAttr(pageviewData)}else this.wa$.setPageAttr({pageName:this.PAGENAME,type:this.PAGETYPE,q_type:queryType});this.wa$.logPageView()}trackPageViewString(pageName){this.wa$.setPageAttr({pageName,type:this.PAGETYPE}),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView()}trackPageViewJSON(pageAttributes){this.wa$.setPageAttr(pageAttributes),this.wa$.logPageView(),TealiumTracking_1.TealiumTracking.logPageView()}trackGeneralEvents(){const scrollListener=event=>{this.logAction(`${this.PAGETYPE}: scroll`),TealiumTracking_1.TealiumTracking.addEsucheNettoToUtagDataLayer(this.PAGETYPE,"erfolgreiche Suche scroll"),window.eSucheNettoInstance.fireESucheNetto(),event.currentTarget.removeEventListener("scroll",scrollListener)};document.addEventListener("scroll",scrollListener),setTimeout(()=>{this.wa$.setCustomPageAttr(`${this.PAGETYPE}: >5s`),TealiumTracking_1.TealiumTracking.addEsucheNettoToUtagDataLayer(this.PAGETYPE,"erfolgreiche Suche >5s"),window.eSucheNettoInstance.fireESucheNetto()},5e3)}trackItemViewTL(){null!==this.wa$&&document.getElementById("trefferAnzahl")&&this.wa$.setPageItems(JSON.parse(document.getElementById("trefferAnzahl").getAttribute("data-pageitems")),"list")}trackItemViewDS(){const itemsObject=[{na:document.getElementsByClassName("mod-TeilnehmerKopf__name")[0].textContent,id:document.body.getAttribute("data-teilnehmerid")}];this.logItemView(itemsObject,"details")}trackRealViews(){setTimeout(()=>{const tracklings=[].slice.call(document.querySelectorAll("[data-wipe-realview]"));if("IntersectionObserver"in window&&"isIntersecting"in IntersectionObserverEntry.prototype){const tracklingObserver=new IntersectionObserver(entries=>{Array.prototype.forEach.call(entries,entry=>{if(entry.isIntersecting){const trackling=entry.target;this.wa$.setCustomPageAttr(JSON.parse(`{"view": "${trackling.getAttribute("data-wipe-realview")}_anzeige"}`)),tracklingObserver.unobserve(trackling)}})});Array.prototype.forEach.call(tracklings,trackling=>{tracklingObserver.observe(trackling)})}},900)}trackEvents(){["click","change","submit","mouseup","mouseover"].forEach(eventName=>{document.body.addEventListener(eventName,event=>{if(event.type!==eventName)return;let myElement=event.target;myElement.hasAttribute("data-wipe")||(myElement=WipeTracking.getClosest(myElement,"data-wipe")),myElement&&this.logEvents(myElement,eventName)})})}logActionFromElement(myElement,eventName){this.logEvents(myElement,eventName)}logEvents(myElement,eventName){if(myElement){const logData=this.getLogData(eventName,myElement);logData&&this.logAction(logData.name,logData.data),"click"===eventName&&TealiumTracking_1.TealiumTracking.addClickToUtagDataLayer(myElement)}}logItemView(itemsObject,viewcontext){this.wa$&&!this.noTrackPage()&&this.wa$.logItemView(itemsObject,viewcontext)}logItemViewName(itemName,viewcontext){this.wa$&&!this.noTrackPage()&&this.wa$.logItemView(JSON.parse(itemName),viewcontext)}logAction(name,object){if(!this.wa$||this.noTrackPage())return;let wptEnabled=!0;if(document.body.getAttribute("data-trackingprefix")&&(wptEnabled=!1,name=document.body.getAttribute("data-trackingprefix")+name),object)return this.wa$.logAction(name,object),void(object.hasOwnProperty("item")&&wptEnabled&&this.wa$.logAction("WPT - nachweisbare Kundenkontakte"));this.wa$.logAction(name)}setGSCustomPageAttr(name,object){this.wa$&&(name&&this.wa$.setCustomPageAttr(name),object&&this.wa$.setCustomPageAttr(object))}logError(message){this.wa$.logError(`JS-Fehler mit der Fehlermeldung \n${message} \nBrowser war \n${navigator.userAgent}`)}getCrossDomainID(){return this.wa$?this.wa$.xdt.xi():""}getLogData(eventName,myElement){const dataWipe=JSON.parse(myElement.getAttribute("data-wipe"));if(!dataWipe||dataWipe.listener!==eventName)return!1;const logDataDetails={};
1return dataWipe.synchron&&(logDataDetails.then=myElement),dataWipe.id&&(logDataDetails.item={id:dataWipe.id}),myElement.hasAttribute(this.DATA_COOKIEINFO)&&(document.cookie=`${myElement.getAttribute(this.DATA_COOKIEINFO)};max-age=120;domain=gelbeseiten.de;path=/`),{name:dataWipe.name,data:logDataDetails}}trackPageItems(){null!==this.wa$&&Array.prototype.forEach.call(document.querySelectorAll("[data-pageitems]"),element=>{const pageItems=element.getAttribute("data-pageitems");this.wa$.setPageItems(JSON.parse(pageItems),element.getAttribute("data-viewcontext"))})}setzeRealIdCookieOhneWipe(){document.body.addEventListener("click",event=>{let myElement=event.target;myElement.hasAttribute(`${this.DATA_COOKIEINFO}`)||(myElement=WipeTracking.getClosest(myElement,`${this.DATA_COOKIEINFO}`)),myElement&&(document.cookie=`${myElement.getAttribute(this.DATA_COOKIEINFO)};max-age=120;domain=gelbeseiten.de;path=/`,window.location.href=myElement.getAttribute("href"))})}noTrackPage(){return document.location.href.includes("sedi/vorschau")}}exports.WipeTracking=WipeTracking},3371(__unused_webpack_module,exports,__webpack_require__){exports.C=void 0;const App_1=__webpack_require__(4081),WipeTracking_1=__webpack_require__(9895),Grouped_1=__webpack_require__(919),GsSearchblock_1=__webpack_require__(4304),ESucheNetto_1=__webpack_require__(910);exports.C=[Grouped_1.Grouped,GsSearchblock_1.GsSearchblock],App_1.App.instance.init(exports.C),WipeTracking_1.WipeTracking.instance.init(),window.eSucheNettoInstance=ESucheNetto_1.ESucheNetto.instance},2372(__unused_webpack_module,exports){exports.ABaseModule=void 0;exports.ABaseModule=class{constructor(element){this._moduleName=this.constructor.name||this.constructor.toString().match(/^function (.*)\(/)[1]||"constructor name not found",this._element=element,this._decodeBase64()}_decodeBase64(){if(null===this.element||void 0===this.element)return;const elementsToDecode=this.element.querySelectorAll("[data-base64]");Array.prototype.forEach.call(elementsToDecode,element=>{const method=element.getAttribute("data-base64");switch(method){case"text":element.innerHTML=window.atob(element.innerHTML)||"";break;case"link":element.setAttribute("href",window.atob(element.getAttribute("href")))}element.setAttribute("data-base64",method+"-decoded")})}get element(){return this._element}get moduleName(){return this._moduleName}}},4081(__unused_webpack_module,exports,__webpack_require__){exports.R=exports.App=void 0;const ModuleFactory_1=__webpack_require__(6776),IndexedDBHandler_1=__webpack_require__(9041);class App{constructor(){this.isInitialized=!1,this.modules=[],this.browserDocument=document,this.browserWindow=window,this.browserHTMLTag=this.browserDocument.querySelector("html")}static get instance(){return this.privateInstance||(this.privateInstance=new App),this.privateInstance}static get isDevelopment(){return!1}init(modules){this.isInitialized&&App.isDevelopment&&console.warn("app is already initialized"),this.gsIndexedDB=IndexedDBHandler_1.IndexedDBHandler.instance,this.addModules(modules),this.initModules(),this.hideWhenPromiseNotSupported(),this.isInitialized=!0,document.body.classList.add("gs_ready"),document.body.classList.remove("gs_loading")}get breakpoint(){return this.breakpointData}getGsIndexedDB(){return this.gsIndexedDB}addModules(modules){modules.forEach(ctor=>{ModuleFactory_1.ModuleFactory.add(ctor)})}initModules(){const moduleElements=document.getElementsByClassName("mod");for(let i=0;i<moduleElements.length;i++){const element=moduleElements[i],[,moduleName]=element.className.match(/mod-([\w]+)/);if(!moduleName)return;const instance=ModuleFactory_1.ModuleFactory.create(moduleName,element);instance&&this.modules.push(instance)}}hideWhenPromiseNotSupported(){if("undefined"==typeof Promise||-1===Promise.toString().indexOf("[native code]")){const styleString='<style type="text/css">[data-isNeededPromise="true"] {display: none !important;}</style>';document.head.insertAdjacentHTML("beforeend",styleString)}}}exports.App=App,function(Breakpoints){Breakpoints.xs="xs",Breakpoints.sm="sm",Breakpoints.md="md",Breakpoints.lg="lg",Breakp
1oints.xlg="xlg"}(exports.R||(exports.R={}))},9041(__unused_webpack_module,exports){exports.IndexedDBHandler=void 0;class IndexedDBHandler{constructor(){this.idbRequest=null}static get instance(){return IndexedDBHandler.isSupportedPromise?(this.privateInstance||(this.privateInstance=new IndexedDBHandler),this.privateInstance):null}put(tableName,data,maxTableSize){return IndexedDBHandler.isSupportedPromise?(Array.prototype.forEach.call(data,key=>{data[key]=encodeURI(data[key])}),new Promise((resolve,reject)=>{this.getDbRequest().then(dbRequest=>{const table=this.getTable(dbRequest,tableName);table.put(data).onsuccess=putEvent=>{table.count().onsuccess=countEvent=>{countEvent.target.result>maxTableSize&&(table.index("timestamp").openCursor().onsuccess=cursorEvent=>{cursorEvent.target.result.delete().onsuccess=deleteEvent=>{resolve("Successfully deleted superfluous row")}}),resolve("Successfully put new row")}}},error=>{console.error(error)})})):null}getLatest(tableName){return IndexedDBHandler.isSupportedPromise?new Promise((resolve,reject)=>{this.getDbRequest().then(dbRequest=>{this.getTable(dbRequest,tableName).index("timestamp").openCursor(null,"prev").onsuccess=event=>{resolve(event.target.result)}},error=>{reject(error)})}):null}getTable(dbRequest,name){return dbRequest.result.objectStoreNames.contains(name)?dbRequest.result.transaction([name],"readwrite").objectStore(name):(console.error(`ObjectStore ${name} doesn't exist`),null)}getDbRequest(){return new Promise((resolve,reject)=>{"indexedDB"in window||reject("IndexedDB wird nicht unterstuetzt"),this.idbRequest&&resolve(this.idbRequest);const dbOpen=window.indexedDB.open("GelbeSeiten",1);dbOpen.onsuccess=event=>{this.idbRequest=event.target,resolve(event.target)},dbOpen.onerror=error=>{reject(error)},dbOpen.onupgradeneeded=event=>{dbOpen.result.objectStoreNames.contains("searches")||dbOpen.result.createObjectStore("searches",{keyPath:"was_wo"}).createIndex("timestamp","timestamp"),dbOpen.result.onversionchange=versionChangeEvent=>{this.idbRequest=event.target,resolve(versionChangeEvent.target)}}})}}exports.IndexedDBHandler=IndexedDBHandler,IndexedDBHandler.isSupportedPromise="undefined"!=typeof Promise&&Promise.toString().indexOf("[native code]")>-1},6776(__unused_webpack_module,exports,__webpack_require__){exports.ModuleFactory=void 0;const App_1=__webpack_require__(4081);!function(ModuleFactory){const modules={};ModuleFactory.add=function(ctor){const constructorName=ctor.name||ctor.toString().split(" ")[1].split("(")[0]||"constructor name not found";modules[constructorName]?App_1.App.isDevelopment&&console.error(`module ${constructorName} is already registered`):modules[constructorName]=ctor},ModuleFactory.create=function(moduleName,element){return modules[moduleName]?new modules[moduleName](element):null}}(exports.ModuleFactory||(exports.ModuleFactory={}))},8441(__unused_webpack_module,exports){exports.Utils=void 0,function(Utils){Utils.isEmpty=testling=>{let returnValue;return"string"==typeof testling?returnValue=void 0===typeof testling||null===testling||""===testling.trim():"object"==typeof testling&&(returnValue=void 0===typeof testling||null===testling||0===Object.keys(testling).length),returnValue}}(exports.Utils||(exports.Utils={}))}};const __webpack_module_cache__={};(function __webpack_require__(moduleId){const cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;const module=__webpack_module_cache__[moduleId]={exports:{}};return __webpack_modules__[moduleId](module,module.exports,__webpack_require__),module.exports})(3371)})();
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.