PageSourceSearch

https://www.lechmuseum.de/dist/client/74110ad626dc.chunk.js

js lechmuseum.de collected 2026-10-02 20:03:03 UTC 26,683 bytes, 1 lines download raw bytes

1"use strict";(self["webpackJsonp[chunkhash]´"]=self["webpackJsonp[chunkhash]´"]||[]).push([[7411],{28152:(e,t,i)=>{i.d(t,{A:()=>s});i(96540);var a=i(74848);const s=e=>{var t;return(0,a.jsxs)("div",{"data-tpl":"modal","data-module":"modal","data-module-config":"{}",className:e.show?"during-animation during-animation--open":"hidden","data-modal-id":"modal-x","aria-expanded":"true",children:[(0,a.jsx)("div",{className:"modal-overlay",onClick:null!==(t=e.handleOverlayClick)&&void 0!==t?t:()=>{}}),(0,a.jsxs)("div",{className:e.displayWide?"modal-content modal-wide":"modal-content",children:[e.handleClose&&(0,a.jsx)("button",{type:"button",title:"Schließen","data-trigger":"modal-close",id:"",className:"close",onClick:e.handleClose,children:"Schließen"}),(0,a.jsx)("div",{className:"modal-inner",children:(0,a.jsx)("div",{"data-tpl":"modal-content",children:e.children})})]}),(0,a.jsx)("div",{className:"modal-preloader"})]})}},39093:(e,t,i)=>{i.d(t,{Y:()=>a});const a={backButtonText:"Zurück",nextButtonText:"Weiter",labelLocationQuestion:"Bevor es losgeht, würden wir gerne wissen, wo Sie leben.",labelZipCode:"Anderer Wohnort? - Postleitzahl eingeben",textErrorNoAnswer:"Bitte wählen Sie eine Antwort aus.",textErrorNoLocation:"Bitte wählen Sie eine Antwort aus oder geben Sie Ihre Postleitzahl ein.",titleToEvaluation:"Glückwunsch, Sie haben es geschafft! ",subtitleToEvaluation:"Gleich erfahren Sie, welcher Nachhaltigkeitstyp Sie sind!",textToEvaluation:"Vielleicht erkennen Sie sich ja an der ein oder anderen Stelle wieder? In manchen Angelegenheiten handeln Sie vielleicht auch wie ein anderer Typ!",buttonToEvaluation:"Zur Auswertung",formSendErrorHeadline:"Es ist ein Fehler aufgetreten.",formSendErrorText:"Es tut uns leid. Die Technik hat uns bei diesem Vorgang offensichtlich im Stich gelassen. Ihre Daten konnten deshalb leider nicht übermittelt werden. Bitte versuchen Sie es zu einem späteren Zeitpunkt noch einmal.",textButtonNeuLaden:"Jetzt erneut versuchen",textButtonNeuError:"..."}},50374:(e,t,i)=>{i.d(t,{F:()=>s});var a=i(72505);const s=i.n(a)().create();s.interceptors.request.use((e=>(e.headers.common["X-XSRF-TOKEN"]=(document.querySelectorAll("[name='__RequestVerificationToken']")[0]||{}).value,e.withCredentials=!0,e.baseURL="/umbraco/api",e)),(e=>e))},52665:(e,t,i)=>{let a,s,n;i.d(t,{En:()=>n,I5:()=>a,XU:()=>s}),function(e){e.WELCOME="welcome",e.MESSAGE="message",e.CONTRACT_ADD="contractAdd",e.CONTRACT_MODAL="contractModal",e.CONTRACT_LIST="contractList",e.BUDGET_BILLING_PLAN_LIST="budgetBillingPlanList",e.BUDGET_BILLING_PLAN="budgetBillingPlan",e.CONTRACT="contract",e.CUSTOMER="customer",e.USER_DATA="userData",e.METER_READING_LIST="meterReadingList",e.METER_READING="meterReading",e.CONTRACT_INFORMATION="contractInformation",e.CONSUMPTION_READING_LIST="consumptionReadingList",e.INBOX="inbox",e.PRICE="price",e.GREEN_PRODUCT_COMPARISON="greenProductComparison",e.CONTACT="contact",e.SALUTATIONS="salutations",e.CONTRACT_INFORMATION_BANK_ACCOUNT="contractInformationBankAccount",e.CONTRACT_INFORMATION_PHONE="contractInformationPhone",e.COUNT_UNREAD_MESSAGES="countUnreadMessages"}(a||(a={})),function(e){e[e.Success=100]="Success",e[e.Error=200]="Error",e[e.Info=300]="Info",e[e.Auth=400]="Auth",e[e.NotAllowed=500]="NotAllowed"}(s||(s={})),function(e){e.INCREMENT_COUNTER="INCREMENT_COUNTER",e.AUTH_ERROR="AUTH_ERROR",e.RESIGN_IN="RESIGN_IN",e.ERROR="ERROR",e.SIGNALR_START="SIGNALR_START",e.SIGNALR_STARTED="SIGNALR_STARTED",e.SIGNALR_MESSAGE="SIGNALR_MESSAGE",e.ADD_CONTRACT_CANCELLED="ADD_CONTRACT_CANCELLED",e.GET_USER_REQUEST="GET_USER_REQUEST",e.GET_USER_SUCCESS="GET_USER_SUCCESS",e.GET_USER_FAILURE="GET_USER_FAILURE",e.UPDATE_USER_CODE_PASSWORD="UPDATE_USER_CODE_PASSWORD",e.UPDATE_USER_REQUEST="UPDATE_USER_REQUEST",e.UPDATE_USER_SUCCESS="UPDATE_USER_SUCCESS",e.UPDATE_USER_FAILURE="UPDATE_USER_FAILURE",e.RESET_UPDATE_USER="RESET_UPDATE_USER",e.ADD_CONTRACT_SUCCESS="ADD_CONTRACT_SUCCESS",e.ADD_CONTRACT_FAILURE="ADD_CONTRACT_FAILURE",e.ADD_CONTRACT_REQUEST="ADD_CONTRACT_REQUEST",e.CLOSE_ADD_CONTRACT="CLOSE_ADD_CONTRACT",e.CLOSE_ADD_ADDITIONAL_CONTRACT="CLOSE_ADD_ADDITIONAL_CONTRACT",e.RESTART_ADD_CONTRACT="RESTART_ADD_CONTRACT",e.COMBINATION_INCORRECT_ADD_CONTRACT="COMBINATION_INCORRECT_ADD_CONTRACT",e.LOAD_CONTRACT_DATA="LOAD_CONTRACT_DATA",e.CHANGE_GPNUMBER="CHANGE_GPNUMBER",e.G
1ET_CONTRACTS_REQUEST="GET_CONTRACTS_REQUEST",e.GET_CONTRACTS_SUCCESS="GET_CONTRACTS_SUCCESS",e.GET_CONTRACTS_FAILURE="GET_CONTRACTS_FAILURE",e.RECOVERABLE_WRONG_ENTRY="RECOVERABLE_WRONG_ENTRY",e.GET_CUSTOMER_REQUEST="GET_CUSTOMER_REQUEST",e.GET_CUSTOMER_SUCCESS="GET_CUSTOMER_SUCCESS",e.SET_SELECTED_CONTRACT="SET_SELECTED_CONTRACT",e.GET_METER_READINGS_REQUEST="GET_METER_READINGS_REQUEST",e.GET_METER_READINGS_SUCCESS="GET_METER_READINGS_SUCCESS",e.GET_METER_READINGS_FAILURE="GET_METER_READINGS_FAILURE",e.GET_CONSUMPTION_READING_LIST_REQUEST="GET_CONSUMPTION_READING_LIST_REQUEST",e.GET_CONSUMPTION_READING_LIST_SUCCESS="GET_CONSUMPTION_READING_LIST_SUCCESS",e.GET_CONSUMPTION_READING_LIST_FAILURE="GET_CONSUMPTION_READING_LIST_FAILURE",e.GET_BUDGET_BILLING_PLAN_REQUEST="GET_BUDGET_BILLING_PLAN_REQUEST",e.GET_BUDGET_BILLING_PLAN_SUCCESS="GET_BUDGET_BILLING_PLAN_SUCCESS",e.GET_BUDGET_BILLING_PLAN_FAILURE="GET_BUDGET_BILLING_PLAN_FAILURE",e.GET_MESSAGES_REQUEST="GET_MESSAGES_REQUEST",e.GET_MESSAGES_SUCCESS="GET_MESSAGES_SUCCESS",e.GET_MESSAGES_FAILURE="GET_MESSAGES_FAILURE",e.GET_FILE_REQUEST="GET_FILE_REQUEST",e.GET_FILE_SUCCESS="GET_FILE_SUCCESS",e.GET_FILE_FAILURE="GET_FILE_FAILURE",e.SET_MESSAGE_READ_REQUEST="SET_MESSAGE_READ_REQUEST",e.SET_MESSAGE_READ_SUCCESS="SET_MESSAGE_READ_SUCCESS",e.SET_MESSAGE_READ_FAILURE="SET_MESSAGE_READ_FAILURE",e.GET_CONTRACT_INFORMATION_PHONE_REQUEST="GET_CONTRACT_INFORMATION_PHONE_REQUEST",e.GET_CONTRACT_INFORMATION_PHONE_SUCCESS="GET_CONTRACT_INFORMATION_PHONE_SUCCESS",e.GET_CONTRACT_INFORMATION_PHONE_FAILURE="GET_CONTRACT_INFORMATION_PHONE_FAILURE",e.UPDATE_BANK_INFORMATION_SUCCESS="UPDATE_BANK_INFORMATION_SUCCESS",e.UPDATE_CONTACT_INFORMATION_SCHRIFT_SUCCESS="UPDATE_CONTACT_INFORMATION_SCHRIFT_SUCCESS",e.UPDATE_CONTACT_INFORMATION_POSTFACH_SUCCESS="UPDATE_CONTACT_INFORMATION_POSTFACH_SUCCESS",e.UPDATE_CONTRACT_HOLDER_SUCCESS="UPDATE_CONTRACT_HOLDER_SUCCESS",e.GET_PRICE_REQUEST="GET_PRICE_REQUEST",e.GET_PRICE_SUCCESS="GET_PRICE_SUCCESS",e.GET_PRICE_FAILURE="GET_PRICE_FAILURE",e.SET_PRODUCT_REPO_UDI="SET_PRODUCT_REPO_UDI",e.GET_CONTRACT_GREEN_PRODUCT_COMPARISON_REQUEST="GET_CONTRACT_GREEN_PRODUCT_COMPARISON_REQUEST",e.GET_CONTRACT_GREEN_PRODUCT_COMPARISON_SUCCESS="GET_CONTRACT_GREEN_PRODUCT_COMPARISON_SUCCESS",e.GET_CONTRACT_GREEN_PRODUCT_COMPARISON_FAILURE="GET_CONTRACT_GREEN_PRODUCT_COMPARISON_FAILURE",e.CONTRACT_INFORMATION_FAILURE="CONTRACT_INFORMATION_FAILURE",e.CONTRACT_INFORMATION_SUCCESS="CONTRACT_INFORMATION_SUCCESS",e.CONTRACT_INFORMATION_RESET="CONTRACT_INFORMATION_RESET",e.SEND_CONTACT_REQUEST="SEND_CONTACT_REQUEST",e.SEND_CONTACT_SUCCESS="SEND_CONTACT_SUCCESS",e.SEND_CONTACT_FAILURE="SEND_CONTACT_FAILURE",e.SEND_CONTACT_RESET="SEND_CONTACT_RESET",e.GET_SALUTATIONS_REQUEST="GET_SALUTATIONS_REQUEST",e.GET_SALUTATIONS_SUCCESS="GET_SALUTATIONS_SUCCESS",e.GET_SALUTATIONS_FAILURE="GET_SALUTATIONS_FAILURE",e.GET_CONTRACT_INFORMATION_BANK_ACCOUNT_REQUEST="GET_CONTRACT_INFORMATION_BANK_ACCOUNT_REQUEST",e.GET_CONTRACT_INFORMATION_BANK_ACCOUNT_SUCCESS="GET_CONTRACT_INFORMATION_BANK_ACCOUNT_SUCCESS",e.GET_CONTRACT_INFORMATION_BANK_ACCOUNT_FAILURE="GET_CONTRACT_INFORMATION_BANK_ACCOUNT_FAILURE",e.SET_CONTRACT_INFORMATION_BANK_ACCOUNT_IS_CHANGEABLE="SET_CONTRACT_INFORMATION_BANK_ACCOUNT_IS_CHANGEABLE",e.PERFORM_MFA="PERFORM_MFA",e.MFA_ACTIVATION_SUCCESS="MFA_ACTIVATION_SUCCESS",e.MFA_CHANGE_REQUEST="MFA_CHANGE_REQUEST",e.MFA_CHANGE_SUCCESS="MFA_CHANGE_SUCCESS",e.GET_COUNT_UNREAD_MESSAGE_REQUEST="GET_COUNT_UNREAD_MESSAGE_REQUEST",e.GET_COUNT_UNREAD_MESSAGE_SUCCESS="GET_COUNT_UNREAD_MESSAGE_SUCCESS",e.GET_COUNT_UNREAD_MESSAGE_FAILURE="GET_COUNT_UNREAD_MESSAGE_FAILURE",e.SET_RELOCATION_CONTRACT_STEP="SET_RELOCATION_CONTRACT_STEP",e.SET_RELOCATION_CONTRACT="SET_RELOCATION_CONTRACT",e.SET_TARIFF_CHANGE_OFFER_STEP="SET_TARIFF_CHANGE_OFFER_STEP",e.SET_TARIFF_CHANGE_OFFER="SET_TARIFF_CHANGE_OFFER"}(n||(n={}))},64970:(e,t,i)=>{i.r(t),i.d(t,{default:()=>p});var a=i(96540),s=i(8491),n=i(17768),r=i(82985);class c{constructor(){this.id=void 0,this.name=void 0,this.participationId=void 0,this.questions=void 0}}var o=i(99879);class d{constructor(){this.text="",this.answerId=o.A.empty}}class l{constructor(){this.id=void 0,this.text="",this.answers=void 0,this.selectedAnswer=new d}}var E=i(71647),T=i(39093),_=i(87451),C=i(74848);const S=e=>(0,C.jsx)("li",{children:(0,C.jsx)("div",{"data-tpl":"qiz01-item",style:e.iserror?{borderStyle:"solid",borderColor:"#f59b00"}:{},children:(0,C.jsx)("a",{className:"link "+(e.checked?"qiz01-item--active":""),onClick:()=>{e.handleAnswerClick(e.answer)},children:(0,C.jsx)("header",{children:(0,C.jsx)("h2",{className:"headline",children:e.answer.text})})})})});var A=i(45367);const N=e=>{const[t,i]=(0,a.useReducer)(((e,t)=>({...e,...t})),e.question),[n,r]=(0,a.useState)(!1),c=e=>{i({selectedAnswer:e}),r(!1),(0,s.ib)("quizQuestionButtonBar",!1,300)},o={width:100*(e.currentQuestionIndex+1)/e.questionCount+"%"};return(0,a.useEffect)((()=>{i(e.question),e.question.selectedAnswer?i({selectedAnswer:e.question.selectedAnswer}):i({selectedAnswer:null}),r(!1),(0,s.ib)("quizProgressBar",!1,80)}),[e.currentQuestionIndex]),(0,C.jsxs)("div",{children:[(0,C.jsxs)("div",{className:"row",id:"quizProgressBar",children:[(0,C.jsx)("div",{className:"col-sm-0 col-md-2"}),(0,C.jsx)("div",{className:"col-sm-12 col-md-8",children:(0,C.jsxs)("div",{"data-tpl":"hpb01",children:[(0,C.jsx)("div",{className:"hpb01 color-background-5",children:(0,C.jsx)("div",{className:"hpb01_step color-background-6",style:o})}),(0,C.jsxs)("div",{className:"hpb01-pagination",children:[(0,C.jsx)("span",{className:"hpb01-current",children:e.currentQuestionIndex+1}),(0,C.jsx)("span",{className:"seperator",children:" / "}),(0,C.jsx)("span",{className:"hpb01-sum",children:e.questionCount})]})]})}),(0,C.jsx)("div",{className:"col-sm-0 col-md-2"})]}),(0,C.jsx)("br",{}),(0,C.jsxs)("div",{"data-tpl":"qiz01",children:[(0,C.jsx)("div",{className:"qiz01-header",style:{backgroundColor:"#143c8c"},children:(0,C.jsx)("header",{children:(0,C.jsx)("h2",{className:"headline",children:e.question.text})})}),(0,C.jsx)("ul",{children:t.answers.map((e=>(0,C.jsx)(S,{answer:e,handleAnswerClick:c,checked:t.selectedAnswer&&e.answerId===t.selectedAnswer.answerId,iserror:n},e.answerId)))}),n&&(0,C.jsx)("div",{className:"row",children:(0,C.jsx)("div",{className:"col-sm-12 col-md-12",children:(0,C.jsx)("div",{"data-tpl":"form-v2","data-module":"form-v2","data-module-config":"",style:{marginTop:"0.25em"},children:(0,C.jsx)("form",{id:"alert-quiz",children:(0,C.jsx)(A.A,{message:T.Y.textErrorNoAnswer,alertType:A.v.NOTE})})})})}),(0,C.jsxs)("div",{className:"row",id:"quizQuestionButtonBar",children:[(0,C.jsxs)("div",{className:"col-sm-12 col-md-4",children:[(0,C.jsx)("br",{}),e.currentQuestionIndex>0&&(0,C.jsx)(_.A,{colorClass:"color-cta-2 btn--full-width",text:T.Y.backButtonText,handleClick:()=>{e.handleStepPrev()}})]}),(0,C.jsx)("div",{className:"col-sm-0 col-md-4"}),(0,C.jsxs)("div",{className:"col-sm-12 col-md-4",children:[(0,C.jsx)("br",{}),(0,C.jsx)(_.A,{colorClass:"color-cta-3 btn--full-width",text:T.Y.nextButtonText,handleClick:()=>{t.selectedAnswer&&""!==t.selectedAnswer.answerId?(r(!1),e.handleQuestionClick(t)):r(!0)}})]})]})]})]})};var R=i(94569),h=i(58247);const u=e=>{const[t,i]=(0,a.useReducer)(((e,t)=>({...e,...t})),{quizId:"",locationId:o.A.empty,zipCode:""}),[n,r,c,l]=(0,R.A)("Quiz.StartQuizRequest",t),[E,N]=(0,a.useReducer)(((e,t)=>({...e,...t})),e.locationQuestion),[u,O]=(0,a.useState)(!1),m=e=>{N({selectedAnswer:e}),i({locationId:e.answerId,zipCode:""}),O(!1),(0,s.ib)("quizLocationQuestionButtonBar",!1,300)};return(0,a.useEffect)((()=>{N(e.locationQuestion),O(!1),(0,s.ib)("Quiz",!1,20)}),[]),(0,C.jsx)("div",{children:(0,C.jsxs)("div",{"data-tpl":"qiz01",children:[(0,C.jsx)("div",{className:"qiz01-header",style:{backgroundColor:"#143c8c"},children:(0,C.jsx)("header",{children:(0,C.jsx)("h2",{className:"headline",children:T.Y.labelLocationQuestion})})}),(0,C.jsxs)("ul",{children:[E.answers.map((e=>(0,C.jsx)(S,{answer:e,handleAnswerClick:m,checked:E.selectedAnswer&&e.answerId===E.selectedAnswer.answerId,iserror:u},e.answerId))),(0,C.jsx)("li",{className:"quiz-zipcode",children:(0,C.jsx)("div",{"data-tpl":"quiz-item",className:"quiz-item-zipcode "+(u?"quiz-item-error":""),children:(0,C.jsx)("div",{"data-tpl":"form-v2","data-module":"","data-module-config":"",onFocus:()=>{globalThis.innerWidth<400?(0,s.ib)("quizLocationQuestionZipCode",!1,100):globalThis.innerWidth<800&&(0,s.ib)("quizLocationQuestionZipCode",!1,250)},children:(0,C.jsx)("form",{id:"quizLocationQuestionZipCode",style:{paddingLeft:"1rem",paddingRight:"1rem"},children:(0,C.jsx)("div",{className:"row",children:(0,C.jsx)("div",{className:"col-sm-12 col-md-12",children:(0,C.jsx)(h.A,{label:T.Y.labelZipCode,name:"zipCode",value:t.zipCode,maxLength:5,handleChange:e=>{N({selectedAnswer:new d}),i({zipCode:e.target.value,locationId:o.A.empty}),O(!1)},validation:r,errors:n.zipCode,globalValidation:c})})})})})})})]}),u&&(0,C.jsx)("div",{className:"row",children:(0,C.jsx)("div",{className:"col-sm-12 col-md-12",children:(0,C.jsx)("div",{"data-tpl":"form-v2","data-module":"form-v2","data-module-config":"",style:{marginTop:"0.25em"},children:(0,C.jsx)("form",{id:"alert-quiz",children:(0,C.jsx)(A.A,{message:T.Y.textErrorNoLocation,alertType:A.v.NOTE})})})})}),(0,C.jsxs)("div",{className:"row",id:"quizLocationQuestionButtonBar",children:[(0,C.jsx)("div",{className:"col-sm-12 col-md-4"}),(0,C.jsx)("div",{className:"col-sm-0 col-md-4"}),(0,C.jsxs)("div",{className:"col-sm-12 col-md-4",children:[(0,C.jsx)("br",{}),(0,C.jsx)(_.A,{colorClass:"color-cta-3 btn--full-width",text:T.Y.nextButtonText,handleClick:()=>{!l()||t.locationId===o.A.empty&&""===t.zipCode?O(!0):(O(!1),e.handleLocationQuestionClick(t))}})]})]})]})})};var O=i(65083);class m{constructor(){this.participationId=void 0,this.questionId=void 0,this.answerId=void 0}}class I{constructor(){this.participationId=void 0,this.captchaToken=void 0}}var U=i(96120),x=i(28152);const p=e=>{const[t,i]=(0,a.useReducer)(((e,t)=>({...e,...t})),new c),[S,A]=(0,a.useReducer)(((e,t)=>({...e,...t})),{quizId:e.quizId,locationId:o.A.empty,zipCode:""}),[R,h]=(0,a.useState)(0),[p,v]=(0,a.useState)(),[G,L]=(0,a.useState)(!1),[j,g]=(0,a.useState)(!0),[w,D]=(0,a.useState)(!1),[f,F]=(0,a.useState)(!1),b=async e=>{const t=await r.i.startQuiz(e);t&&200===t.status&&t.data?(i(t.data),g(!1)):(L(!0),g(!1))};(0,a.useEffect)((()=>{e.isLocationNeeded?(async()=>{const e=await r.i.getAllLocations();if(e&&200===e.status&&e.data){const t=new l;t.answers=e.data.map((e=>{const t=new d;return t.answerId=e.id,t.text=e.name,t})),v(t),g(!1)}else L(!0),g(!1)})():b(S),(0,s.eG)()}),[]);const M=(0,C.jsx)(x.A,{show:f,displayWide:!0,children:(0,C.jsx)("div",{className:"captcha-centered",children:(0,C.jsx)(U.A,{captchaVerified:async e=>{g(!0);const i=await(async e=>{const i=new I;i.participationId=t.participationId,i.captchaToken=e,g(!0);const a=await r.i.finishQuiz(i,e);if(a&&200===a.status&&a.data)return a.data;L(!0),g(!1)})(e.verifiedToken);globalThis.location.href=i.scoreClassification.redirectUrl}})})});return j?(0,C.jsx)(n.A,{}):(0,C.jsx)("section",{"data-tpl":"grid-bas-02",id:"Quiz",children:(0,C.jsx)("div",{className:"container",children:G?(0,C.jsx)(E.w,{headline:T.Y.formSendErrorHeadline,content:T.Y.formSendErrorText,status:E.X.Error,scrollToTop:!0}
1):w?(0,C.jsxs)(O.j,{headline:T.Y.titleToEvaluation,content:T.Y.textToEvaluation,subheadline:T.Y.subtitleToEvaluation,className:"indention--none",imageUrl:e.quizImageUrl,children:[M,(0,C.jsx)(_.R,{colorClass:"btn color-cta-3",handleClick:()=>F(!0),children:T.Y.buttonToEvaluation})]}):e.isLocationNeeded&&S.locationId===o.A.empty&&""===S.zipCode?(0,C.jsx)("div",{className:"container",children:(0,C.jsx)(u,{locationQuestion:p,handleLocationQuestionClick:async t=>{A({locationId:t.locationId,zipCode:t.zipCode}),g(!0),await b({quizId:e.quizId,locationId:t.locationId,zipCode:t.zipCode})}})}):(0,C.jsx)("div",{className:"container",children:(0,C.jsx)(N,{question:t.questions[R],handleQuestionClick:async e=>{const a=t.questions.map((t=>(t.id===e.id&&(t=e),t)));i({questions:a}),await(async e=>{const i=new m;i.participationId=t.participationId,i.questionId=e.id,i.answerId=e.selectedAnswer.answerId,g(!0),200===(await r.i.submitAnswer(i)).status?R===t.questions.length-1?(g(!1),D(!0),(0,s.eG)()):(h(R+1),g(!1)):(L(!0),g(!1))})(e)},handleStepPrev:()=>{h(R-1)},currentQuestionIndex:R,questionCount:t.questions.length})})})})}},65083:(e,t,i)=>{i.d(t,{j:()=>s});i(96540);var a=i(74848);const s=e=>(0,a.jsxs)("div",{"data-tpl":"tic02",className:e.className,children:[(0,a.jsx)("p",{className:"headline headline--h2",children:e.headline}),e.imageUrl&&(0,a.jsx)("figure",{className:"image image-semantic",children:(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{srcSet:`${e.imageUrl}?anchor=center&amp;mode=crop&amp;width=220&amp;height=220&amp;rnd=131684285010000000`,media:"(min-width: 320px)"}),(0,a.jsx)("source",{srcSet:`${e.imageUrl}?anchor=center&amp;mode=crop&amp;width=150&amp;height=150&amp;rnd=131684285010000000`,media:"(max-width: 319px)"}),(0,a.jsx)("img",{src:e.imageUrl,alt:"",title:""})]})}),(0,a.jsx)("p",{className:"subheadline headline--h3",children:e.subheadline}),(0,a.jsx)("div",{className:"content",children:(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:e.content}})}),e.children]})},71647:(e,t,i)=>{i.d(t,{X:()=>c.XU,w:()=>l});var a=i(96540),s=i(87451),n=i(8491),r=i(20201),c=i(52665),o=i(74848);const d=e=>{switch(e){case c.XU.Success:return(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"",children:(0,o.jsxs)("div",{"data-tpl":"icon-badge",className:"",children:[(0,o.jsx)("i",{className:"icon icon_check_circle icon-status icon--rounded center-block color-icon--success"}),(0,o.jsx)("p",{children:" "})]})})});case c.XU.Info:return(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-md-2 col-md-offset-5 col-sm-4 col-sm-offset-4 centred_text",children:(0,o.jsx)("figure",{className:"image image-semantic hidden-on-mobile piktoInfo",children:(0,o.jsx)("picture",{children:(0,o.jsx)("img",{src:"/foundation/images/icons/innogy_picto_info-speech-bubble.svg",alt:"Piktogramm","aria-describedby":"aria-2189",title:"Piktogramm"})})})})});case c.XU.Error:return(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"",children:(0,o.jsxs)("div",{"data-tpl":"icon-badge",className:"",children:[(0,o.jsx)("i",{className:"icon icon-close icon-status icon--rounded center-block color-icon--error"}),(0,o.jsx)("p",{children:" "})]})})});case c.XU.Auth:return(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"",children:(0,o.jsxs)("div",{"data-tpl":"icon-badge",className:"",children:[(0,o.jsx)("i",{className:"icon icon_safety icon-status icon--rounded center-block color-icon--auth"}),(0,o.jsx)("p",{children:" "})]})})});case c.XU.NotAllowed:return(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"",children:(0,o.jsxs)("div",{"data-tpl":"icon-badge",className:"",children:[(0,o.jsx)("i",{className:"icon icon-circle-minus icon-status icon--rounded center-block color-icon--error"}),(0,o.jsx)("p",{children:" "})]})})})}},l=e=>{var t,i;(0,a.useEffect)((()=>{e.scrollToTop&&(0,n.eG)()}),[]);const l=null!==(t=e.ctaOnClasses)&&void 0!==t&&t.includes("color-cta-")?e.ctaOnClasses:`color-cta-2 ${e.ctaOnClasses||""}`,E=null!==(i=e.ctaTwoClasses)&&void 0!==i&&i.includes("color-cta-")?e.ctaTwoClasses:`color-cta-3 ${e.ctaTwoClasses||""}`;return(0,o.jsxs)("div",{className:"container statusPage",children:[(0,o.jsxs)("div",{className:"row",children:[d(e.status),(0,o.jsx)("p",{children:" "}),(0,o.jsx)("h2",{className:"headline centred_text",children:e.headline}),(0,o.jsx)("p",{className:"centred_text spaced-content",dangerouslySetInnerHTML:{__html:e.content}}),(0,o.jsx)("p",{children:" "})]}),(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:(e.ctaTwoOnClick?"col-lg-3":"col-md-4")+" col-sm-0"}),(0,o.jsx)("div",{className:(e.ctaTwoOnClick?"col-lg-3":"col-md-4")+" col-sm-12 ",children:e.ctaOnClick&&(0,o.jsx)(s.A,{text:e.ctaText,handleClick:e.ctaOnClick,link:e.ctaLink,colorClass:`${l} btn--full-width`})}),e.ctaTwoOnClick&&(0,o.jsx)("div",{className:"col-lg-3 col-sm-12",children:(0,o.jsx)(s.A,{text:e.ctaTwoText,handleClick:e.ctaTwoOnClick,link:e.ctaTwoLink,colorClass:`${E} btn--full-width`})}),(0,o.jsx)("div",{className:(e.ctaTwoOnClick?"col-lg-3":"col-md-4")+" col-sm-0"})]}),(0,o.jsx)("div",{className:"row",children:e.maternaOptIn&&e.status!==c.XU.Error&&(0,o.jsx)(r.A,{maternaOptIn:e.maternaOptIn,companyType:e.company})})]})}}
1,77282:(e,t,i)=>{i.d(t,{T:()=>r});var a=i(72505),s=i.n(a);const n="/umbraco/api/validationapi/getvalidation";const r=new class{constructor(){this.fetchValidationServer=e=>{const t=`${n}?modelName=${e}`;return s().get(t).then((e=>this.resolveValidation(e.data))).catch((e=>{throw e}))},this.resolveValidation=e=>Promise.resolve(e),this.validationServerAsync=async e=>{try{return await s().get(`${n}?modelName=${e}`)}catch(t){return t.response}}}}},82985:(e,t,i)=>{i.d(t,{i:()=>n});var a=i(50374);const s="/quiz",n={getAllLocations:async()=>{const e=`${s}/getAllLocations`;try{return await a.F.get(e)}catch(t){return t.response}},startQuiz:async e=>{const t=`${s}/startQuiz`;try{return await a.F.post(t,e)}catch(i){return i.response}},finishQuiz:async(e,t)=>{const i=`${s}/finishQuiz`;try{return await a.F.post(i,e,{headers:{"X-Captcha-Token":t}})}catch(n){return n.response}},submitAnswer:async e=>{const t=`${s}/submitAnswer`;try{return await a.F.post(t,e)}catch(i){return i.response}},getQuizReport:async e=>{const t=`${s}/getQuizReport`;try{return await a.F.post(t,e)}catch(i){return i.response}}}},94569:(e,t,i)=>{i.d(t,{A:()=>o,u:()=>c});var a=i(96540),s=i(46123),n=i(77282);const r=function(e){const[t,i]=(0,a.useReducer)(((e,t)=>({...e,...t})),{validation:void 0,isError:!1,isLoading:!0});return(0,a.useEffect)((()=>{e&&async function(){const t=await n.T.validationServerAsync(e);200===(null===t||void 0===t?void 0:t.status)?i({validation:t.data,isError:!1,isLoading:!1}):i({validation:void 0,isError:!0,isLoading:!1})}()}),[e]),{validation:t.validation,setValidation:e=>i({validation:e}),isLoading:t.isLoading,isError:t.isError}};function c(e,t){const[i,n]=(0,a.useState)({}),[c,o]=(0,a.useState)(!1),{validation:d,setValidation:l,isError:E,isLoading:T}=r(e),_=()=>{const e={};let i=!0;if(!d)return setTimeout((()=>_()),500),!1;if(!t)return!1;for(const a of Object.keys(d))e[a]=s.v.validateProperty(t[a],a,d),i=i&&0===e[a].length;return n(e),i};return(0,a.useEffect)((()=>{t&&d&&_()}),[t]),{errors:i,validation:d,isGlobalValidation:c,isErrorGetValidation:E,isLoadingGetValidation:T,triggerValidation:function(){return o(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]),_()},addValidationProperty:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"required",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Pflichtfeld",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";l(s.v.addValidation(d,e,t,a,i)),_()},removeValidationProperty:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"required",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Pflichtfeld",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";l(s.v.removeValidation(d,e,t,a,i)),_()},isFieldClean:e=>{var t;return 0===(null===(t=i[e])||void 0===t?void 0:t.length)}}}const o=(e,t)=>{const{errors:i,validation:a,isGlobalValidation:s,triggerValidation:n,addValidationProperty:r,removeValidationProperty:o,isFieldClean:d}=c(e,t);return[i,a,s,n,r,o,d]}},96120:(e,t,i)=>{i.d(t,{A:()=>d});var a=i(96540),s=i(99879),n=i(45367),r=i(74848);class c extends EventTarget{jsloaded(){this.dispatchEvent(new Event("captcha_loaded"))}rendered(e){this.dispatchEvent(new CustomEvent("captcha_rendered",{detail:e}))}verified(e){this.dispatchEvent(new CustomEvent("captcha_verified",{detail:e}))}expired(e){this.dispatchEvent(new CustomEvent("captcha_expired",{detail:e}))}error(e){this.dispatchEvent(new CustomEvent("captcha_error",{detail:e}))}}const o=new c,d=a.forwardRef(((e,t)=>{const[i]=(0,a.useState)(s.A.newGuid()),c=`captcha-${i}`;(0,a.useEffect)((()=>{if(!globalThis.mtcaptchaConfig)return;const t=t=>{e.captchaVerified&&t.detail.domID===c&&e.captchaVerified(t.detail)},i=t=>{e.captchaExpired&&t.detail.domID===c&&e.captchaExpired(t.detail)},a=t=>{e.captchaError&&t.detail.domID===c&&e.captchaError(t.detail)};return o.addEventListener("captcha_rendered",e.captchaRendered),o.addEventListener("captcha_verified",t),o.addEventListener("captcha_expired",i),o.addEventListener("captcha_error",a),d(),()=>{o.removeEventListener("captcha_rendered",e.captchaRendered),o.removeEventListener("captcha_verified",t),o.removeEventListener("captcha_expired",i),o.removeEventListener("captcha_error",a)}}),[]),(0,a.useImperativeHandle)(t,(()=>({getToken:l})));const d=()=>{globalThis.mtcaptchaConfig.renderQueue||(globalThis.mtcaptchaConfig.renderQueue=[]);const t=globalThis.mtcaptchaConfig;t["jsloaded-callback"]=o.jsloaded.bind(o),t["rendered-callback"]=o.rendered.bind(o),t["verified-callback"]=o.verified.bind(o),t["verifyexpired-callback"]=o.expired.bind(o),t["error-callback"]=o.error.bind(o),e.mini&&(t.widgetSize="mini"),e.siteKey?globalThis.mtcaptchaConfig.renderQueue.push(c,{...t,sitekey:e.siteKey}):globalThis.mtcaptchaConfig.renderQueue.push(c,t)},l=()=>{var e;const t=document.querySelectorAll(`[id^='${c}-verifiedtoken-']`);return t&&0!==t.length?null===(e=t[t.length-1])||void 0===e?void 0:e.value:""};return globalThis.mtcaptchaConfig?(0,r.jsx)("form",{children:(0,r.jsx)("div",{id:c})}):(0,r.jsx)("div",{"data-tpl":"form-v2","data-module":"form-v2","data-module-config":"",children:(0,r.jsx)("form",{children:(0,r.jsx)(n.A,{alertType:n.v.WARNING,children:(0,r.jsx)("div",{className:"content",children:(0,r.jsx)("span",{children:"Captcha konnte nicht geladen werden."})})})})})}))},99879:(e,t,i)=>{i.d(t,{A:()=>a});class a{static newGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g,(e=>{const t=Math.trunc(16*Math.random());return("x"==e?t:3&t|8).toString(16)}))}static get empty(){return"00000000-0000-0000-0000-000000000000"}static isValid(e){return/^[\da-f]{8}-[\da-f]{4}-[1-5][\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$/i.test(e)}}}}]);

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.