PageSourceSearch

https://assets.tag24.de/dist/de/js/chunks/29.850b69278d3a19b66c72.js

js tag24.de collected 2026-09-24 08:47:16 UTC 12,895 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[29],{29(e,t,s){"use strict";s.d(t,{LocationSelect:()=>r});var i=s(4435);function o(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var i=s.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}class r{constructor(e,t="/",s){o(this,"questionIndex",0),o(this,"questions",[]),o(this,"answers",[]),this.containerEl=e,this.redirectUrl=t,this.questionConfig=s,s.forEach(t=>{this.questions.push(new i.v(e,t.type,t.title,t.subtitle,t.options,t.field,t.button,this.onAnswer.bind(this)))})}onAnswer(e){this.answers[this.questionIndex]=e,this.questionIndex++,this.render()}render(e="right"){if(this.questionIndex>=this.questions.length)window.parent?window.parent.location.href=this.redirectUrl:window.location.href=this.redirectUrl;else{if(!this.containerEl)throw new Error("Container element not found");this.containerEl.innerHTML=this.html();const t=document.querySelector("#location-select");if(!t)throw new Error("Survey element not found");const s=this.questions[this.questionIndex];if(!s)throw new Error("Question not found");const{title:o,subtitle:r,content:n}=s.html();t.innerHTML=i.v.questionHtml(o,r,n,null,null,e),this.questions[this.questionIndex].initEventListeners()}}html(){return'<div id="location-select" class="survey"></div>'}}},4435(e,t,s){"use strict";s.d(t,{v:()=>r});var i=s(4982);function o(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var i=s.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}class r{constructor(e,t,s,i,r,n,a,l=e=>{}){o(this,"answer",""),this.containerEl=e,this.type=t,this.title=s,this.subtitle=i,this.options=r,this.field=n,this.button=a,this.answerCallback=l}initEventListeners(){this.containerEl.querySelectorAll("input[type=radio]").forEach(e=>{e.addEventListener("change",()=>{this.answer=e.value,this.answerCallback(this.answer)})});const e=this.containerEl.querySelector("input[type=text]"),t=this.containerEl.querySelector("button");e&&t&&t.addEventListener("click",()=>{var t;if(e.removeAttribute("aria-invalid"),!e.value)return e.setAttribute("aria-invalid","true"),void(null===(t=e.closest(".form-input-group"))||void 0===t||null===(t=t.querySelector(".form-input-group__icon"))||void 0===t||t.classList.add("form-input-group__icon--error"));this.answer=e.value,this.answerCallback(this.answer)})}clearAnswer(){this.answer=""}radioHtml(){if(!this.options)throw new Error("No options provided");return`\n                <div class="question-option-list${this.options.length>4?" question-option-list--grid":""}">\n                    ${this.options.map(e=>e.link?`\n                            <a class="question-option" href="${e.link}" target="_blank" rel="sponsored" \n                            data-vars-href="${e.link}" data-vars-interaction>\n                                <figure class="question-option__figure">\n                                    <img class="question-option__img" src="${(0,i.V)(e.image)}" alt="${e.label}">\n                                    <div class="question-option__figcaption">${e.label}</div>\n                                </figure>\n                            </a>`:`\n                            <label class="question-option" data-vars-interaction>\n                                <input class="question-option__input" type="${this.type}" name="question" value="${e.label}"${this.answer===e.label?" checked":""}>\n                                <figure class="question-option__figure">\n                                    <img class="question-option__img" src="${(0,i.V)(e.image)}" alt="${e.label}">\n                                    <div class="question-option__figcaption">${e.label}</div>\n                                </figure>\n                            </label>\n                        `).join("")}     \n                    </div>\n                `}inputHtml(){if(!this.field)throw new Error("No fields provided");return`\n                    <div class="question-field-form-container">\n                        <div class="question-field-form">\n                            <div class="question-field">\n                                <div class="form-field question-field__input ">\n                                    <div class="form-floating-label">\n                                        <div class="form-input-group form-input-group--validation">\n                                            <input type="text" class="survey-form__input form-control" name="question" value="${this.answer}" placeholder="${this.field.placeholder}">\n                                            <div class="form-input-group__icon form-input-group__icon--validation"></div>\n                                            <label class="form-label" for="question">${this.field.placeholder}</label>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                            ${this.button?`<button class="question__button button button--success">${this.button}</button>`:""}\n                        </div>\n                    </div>\n                `}static questionHtml(e="",t="",s="",i="",o=null,r){let n="";return r&&(n+=`<div class="survey__slide survey__slide--${r}">`),n+='<div class="survey__header">',e&&(n+=`<div class="survey__title">${e}</div>`,t&&(n+=`<div class="survey__subtitle">${t}</div>
1`)),n+="</div>",s&&(n+=`<div class="survey__content${null===i?" survey__content--max-height":""}">${s}</div>`),r&&(n+="</div>"),null!==i&&(n+=`<div class="survey__footer">\n            <div class="survey__progress">\n                <div class="survey-progress-bar${null===o&&"none"===r?" survey-progress-bar--animate":""}">\n                    <div class="survey-progress-bar__progress" style="width: ${o}%"></div>\n                    <div class="survey-progress-bar__background"></div>\n                </div>\n            </div>\n        `,null!==o&&o>0&&(n+='<div id="back-button" role="button" class="survey__back-button"><i class="icon icon-arrow-left"></i><span>zurück</span></div>'),n+=`<div class="survey__progress-text">${null!==o?Math.round(o):99} %</div>`),n+="</div>",n}html(){const e=this.title,t=this.subtitle,s=`\n            ${"input"===this.type&&this.field?this.inputHtml():""}\n            ${"radio"===this.type&&this.options?this.radioHtml():""}\n        `;return{title:e,subtitle:t,content:s,html:`${e} ${t} ${s}`}}}},4982(e,t,s){"use strict";function i(e){return s(3499)(`./${e}`)}s.d(t,{V:()=>i})},3499(e,t,s){const i={"./location-select/Hamburg.png":4915,"./location-select/baden-wuerttemberg.png":8407,"./location-select/bayern.png":4398,"./location-select/berlin.png":6967,"./location-select/brandenburg.png":6827,"./location-select/bremen.png":816,"./location-select/hessen.png":8165,"./location-select/mecklenburg-vorpommern.png":8606,"./location-select/niedersachsen.png":5,"./location-select/nordrhein-westfalen.png":532,"./location-select/rheinland-pfalz.png":8352,"./location-select/saarland.png":825,"./location-select/sachsen-anhalt.png":5973,"./location-select/sachsen.png":314,"./location-select/schleswig-holstein.png":2677,"./location-select/thueringen.png":8098,"./survey/badges/badge-daten-sicher.svg":976,"./survey/badges/badge-free.svg":5099,"./survey/badges/badge-gepruefte-anbieter.svg":2511,"./survey/badges/badge-solar.svg":602,"./survey/formular-anlage1.svg":1608,"./survey/formular-anlage2.svg":443,"./survey/formular-anlage3.svg":7738,"./survey/formular-anlage4.svg":3013,"./survey/formular-einfamilienhaus.svg":6201,"./survey/formular-firmengebaeude.svg":4502,"./survey/formular-fragezeichen.svg":6804,"./survey/formular-ja.svg":4716,"./survey/formular-kalender1.svg":4522,"./survey/formular-kalender2.svg":5897,"./survey/formular-kalender3.svg":504,"./survey/formular-kaufen.svg":4527,"./survey/formular-mehrfamilienhaus.svg":2639,"./survey/formular-mieten.svg":8531,"./survey/formular-nein.svg":1017};function o(e){const t=r(e);return s(t)}function r(e){if(!s.o(i,e)){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=r,e.exports=o,o.id=3499},4915(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/Hamburg.png?4ce64f8e2d0c3eb70479="},8407(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/baden-wuerttemberg.png?8ffbae4a14f57773f7b5="},4398(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/bayern.png?6477d98855348717112f="},6967(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/berlin.png?78729c24c19fc556b02e="},6827(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/brandenburg.png?2e964200b08e7de13c1a="},816(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/bremen.png?cb9112518ccfecda8244="},8165(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/hessen.png?919e321a9e6d7980acf8="},8606(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/mecklenburg-vorpommern.png?aaee184d0fa9c0ee3418="},5(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/niedersachsen.png?127afdb888b9260d57c7="},532(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/nordrhein-westfalen.png?273a0f1096420cd738d7="},8352(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/rheinland-pfalz.png?1073a3572be1a20035b4="},825(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/saarland.png?f489baa61b647327d711="},5973(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/sachsen-anhalt.png?8cf6e4ff8d3cff6078c9="}
1,314(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/sachsen.png?ff54d197ac767e2896a2="},2677(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/schleswig-holstein.png?60292432c5a0e5cb661f="},8098(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/location-select/thueringen.png?3b99819f3efa857d0ad0="},976(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/badges/badge-daten-sicher.svg?ca99d0415d0a656ba54c="},5099(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/badges/badge-free.svg?eff39e8136f1e4c774eb="},2511(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/badges/badge-gepruefte-anbieter.svg?59365ace8bc0aabbe57d="},602(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/badges/badge-solar.svg?528e01b86157a4f6f718="},1608(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-anlage1.svg?8f1c32d8357e9cf5c9fe="},443(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-anlage2.svg?ed98dfc7e0d041030162="},7738(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-anlage3.svg?2c0513310d99d626fd8d="},3013(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-anlage4.svg?3adab1bc00c9ab40a34d="},6201(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-einfamilienhaus.svg?f98378842f6d475309dc="},4502(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-firmengebaeude.svg?412556ed1f6eaf9e32cc="},6804(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-fragezeichen.svg?c62e1aa4eb5eb92a3f28="},4716(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-ja.svg?80ac1a7ffb456fdbde08="},4522(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-kalender1.svg?d3d36c51f06409921de7="},5897(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-kalender2.svg?fcf5b4cdc82b770e7ed6="},504(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-kalender3.svg?c3f168bd95d87265dca4="},4527(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-kaufen.svg?08daadf3a9c6c4f1e982="},2639(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-mehrfamilienhaus.svg?fd6da40744b1f0b29cdf="},8531(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-mieten.svg?993788e567da1f6943fc="},1017(e,t,s){"use strict";e.exports=s.p+"img/ads/photovoltaik/survey/formular-nein.svg?4c4a3c490d2b4b0becc7="}}]);

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.