1"use strict";(self["webpackJsonp[chunkhash]´"]=self["webpackJsonp[chunkhash]´"]||[]).push([[3673],{44817:(e,a,n)=>{n.r(a),n.d(a,{default:()=>f});var t=n(96540),i=n(17768);let l,s,c;!function(e){e[e.RevocationOrCancellation=1]="RevocationOrCancellation",e[e.EndOfContract=2]="EndOfContract",e[e.TerminateProductOption=3]="TerminateProductOption",e[e.SpecialTerminationMoveOut=4]="SpecialTerminationMoveOut",e[e.SpecialTerminationEventOfDeath=5]="SpecialTerminationEventOfDeath"}(l||(l={})),function(e){e[e.Male=1]="Male",e[e.Female=2]="Female",e[e.Divers=3]="Divers"}(s||(s={})),function(e){e[e.SpecificCancellationDate=1]="SpecificCancellationDate",e[e.DesiredCancellationDate=2]="DesiredCancellationDate"}(c||(c={}));class o{constructor(){this.instance="",this.host="",this.tariffOption="",this.contractAccountNumber="",this.cancellationDate="",this.keyTransferDate="",this.cancellationReason=l.EndOfContract,this.specificCancellationDates=c.SpecificCancellationDate,this.specificCancellationDateDesired=!1,this.gender=s.Divers,this.firstName="",this.lastName="",this.email="",this.confirmEmail="",this.street="",this.streetNumber="",this.zipCode="",this.city="",this.phone=""}}var r=n(94569),T=n(71647);let E;!function(e){e.requiredText="Die mit * gekennzeichneten Felder sind Pflichtfelder.",e.salutation="Anrede",e.firstName="Vorname",e.lastName="Nachname",e.street="StraÃe",e.streetno="Hausnummer",e.postcode="PLZ",e.place="Ort",e.email="E-Mail-Adresse",e.confirmEmail="E-Mail-Adresse wiederholen",e.phone="Telefonnummer",e.emailsNotEqual="E-Mail-Adressen stimmen nicht überein",e.successTitle="Ihre Kündigung ist bei uns eingegangen!",e.successText="Sie erhalten in Kürze eine Eingangsbestätigung an die angegebene E-Mailadresse. Eine Zusammenfassung der von Ihnen im Kündigungsformular gemachten Angaben, können Sie als PDF für Ihre Unterlagen herunterladen.",e.successText2="Im nächsten Schritt prüfen wir die von Ihnen getätigten Angaben. Nachdem wir die Kündigung bearbeitet haben, erhalten Sie von uns die Kündigungsbestätigung mit dem konkreten Kündigungstermin. Bei Rückfragen kommen wir auf Sie zu.",e.formSendErrorHeadline="Ihre Kündigung konnte leider nicht übermittelt werden!",e.formSendErrorText="Bitte versuchen Sie es zu einem späteren Zeitpunkt oder wenden Sie sich an unseren Kundenservice.",e.downloadCancellationDoc="Zusammenfassung herunterladen",e.contact="Kontakt",e.repeatCancellation="Erneut versuchen",e.contractAccountNumber="Vertragskontonummer",e.contractAccountNumberPlaceholder="Ihre LEW Vertragskontonummer (7-stellig)",e.contractAccountNumberTooltip="Ihre Vertragskontonummer finden Sie auf Ihrer Vertragsbestätigung oder Ihrer letzten Rechnung.",e.cancellationReason="Kündigungsgrund",e.revocationOrCancellation="Widerruf/Storno",e.endOfContract="Kündigung zum Vertragsende",e.terminateProductOption="Kündigung Produktoption",e.specialTerminationMoveOut="Sonderkündigung bei Umzug",e.specialTerminationEventOfDeath="Sonderkündigung bei Sterbefall",e.cancellationDate="Konkretes Kündigungsdatum",e.cancellationDateDescription="Geben Sie keinen Wunschtermin an oder können wir Ihren Wunschtermin nach eingehender Prüfung nicht bestätigen, endet Ihr Vertrag zum nächstmöglichen Zeitpunkt. Den Termin Ihres Vertragsendes teilen wir Ihnen zeitnah in Ihrer Kündigungsbestätigung mit.",e.dateFormat="TT.MM.JJJJ",e.tariffOption="Zu kündigende Tarifoption",e.contactHeader="Kontaktdaten",e.addressHeader="Angaben zur Anschlusspunktadresse",e.cancelNow="Jetzt kündigen",e.abort="Abbrechen",e.specificCancellationDate="Kündigung zum nächstmöglichen Termin",e.desiredCancellationDate="Kündigung zu einem Wunschdatum",e.cancellationDateValidation="Bitte geben Sie ein gültiges Datum im vorgegeben Format an: TT.MM.JJJJ und das Datum darf nicht in der Vergangenheit liegen.",e.keyTransferDate="Datum der Schlüsselübergabe",e.keyTransferDateValidation="Bitte geben Sie das Datum der Schlüsselübergabe an.",e.requiredFieldText="Dies ist ein Pflichtfeld",e.male="Herr",e.female="Frau",e.divers="keine Angabe"}(E||(E={}));var d=n(93451),_=n(60102),C=n(64757),S=n(93814),N=n(58247),A=n(87451),R=n(61517),m=n(96904),O=n(99879),u=n(74848);const h=e=>{const{address:a,validation:n,errors:t,isGlobalValidation:i,onChange:l}=e;return a&&n&&t&&l&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("br",{}),(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)("h2",{children:E.addressHeader})})}),(0,u.jsx)("br",{}),(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.street,placeholder:E.street,name:"street",maxLength:150,value:a.street,handleChange:l,validation:n,errors:t.street,globalValidation:i})}),(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.streetno,name:"streetNumber",maxLength:10,value:a.streetNumber,placeholder:E.streetno,handleChange:l,validation:n,errors:t.streetNumber,globalValidation:i})})]}),(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.postcode,placeholder:E.postcode,name:"zipCode",value:a.zipCode,handleChange:l,validation:n,errors:t.zipCode,globalValidation:i,maxLength:5})}),(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.place,placeholder:E.place,name:"city",maxLength:100,value:a.city,handleChange:l,validation:n,errors:t.city,globalValidation:i})})]})]})};var I=n(48337),D=n(22975),U=n(56156),g=n(8491),G=n(54931),v=n(50374);const p=async(e,a)=>{try{const n=await v.F.post(`/ping/sendCancellationForm?requestId=${a}`,e);
1return 200===(null===n||void 0===n?void 0:n.status)?n.data:Promise.reject(n.status)}catch(n){return n.response?Promise.reject(n.response.status):Promise.reject()}},x=async e=>{try{return await v.F.get(`/ping/getCancellationFormSummary?documentId=${e}`,{responseType:"blob"})}catch(a){return a.response?a.response:Promise.reject()}},f=e=>{var a,n,v;let{host:f}=e;const L="formCancellation",[F,j]=(0,t.useState)(!1),[M,P]=(0,t.useState)(!1),[b,w]=(0,t.useState)(!1),[k,B]=(0,t.useState)(O.A.newGuid()),[y,H]=(0,t.useState)(""),V=(0,t.useContext)(G.InstanceContext),Q=(0,I.P)(E),K=(0,I.P)(l,Q),q=(0,I.P)(s,Q),z=(0,I.P)(c,Q),[W,X]=(0,t.useReducer)(((e,a)=>({...e,...a})),new o),[J,Y,Z,$,ee,ae]=(0,r.A)("Ping.ViewModels.CancellationFormHomeInternet",W),ne=W.cancellationReason===l.SpecialTerminationMoveOut,te=W.cancellationReason===l.TerminateProductOption,ie=W.cancellationReason===l.TerminateProductOption||W.cancellationReason===l.SpecialTerminationEventOfDeath||W.cancellationReason===l.EndOfContract,le=e=>{const a=e.currentTarget.name,n="checkbox"===e.target.type?e.target.checked:e.target.value;X({[a]:n})},se=e=>{const a=e.currentTarget.name,n=e.target.value;X({[a]:(0,S.sg)(n)})},ce=(e,a,n)=>{let t=null;"cancellationReason"===n?(t=l[l[e]],re(t,W.specificCancellationDates),Te(t)):"specificCancellationDates"===n?(t=c[c[e]],re(W.cancellationReason,t),Te(W.cancellationReason)):t=e,X({[n]:t})},oe=e=>{ae("confirmEmail","compare",E.emailsNotEqual),ee("confirmEmail","compare",E.emailsNotEqual,e)},re=(e,a)=>{switch(ae("cancellationDate","required",E.cancellationDateValidation,"True"),ae("keyTransferDate","required",E.keyTransferDateValidation,"True"),ae("tariffOption","required",E.requiredFieldText,"True"),e){case l.SpecialTerminationMoveOut:ee("keyTransferDate","required",E.keyTransferDateValidation,"True");break;case l.SpecialTerminationEventOfDeath:case l.EndOfContract:a===c.DesiredCancellationDate&&ee("cancellationDate","required",E.cancellationDateValidation,"True");break;case l.TerminateProductOption:a===c.DesiredCancellationDate&&ee("cancellationDate","required",E.cancellationDateValidation,"True"),ee("tariffOption","required",E.requiredFieldText,"True")}},Te=e=>{X({specificCancellationDateDesired:e===l.TerminateProductOption&&W.specificCancellationDateDesired,specificCancellationDates:e!==l.TerminateProductOption?1:W.specificCancellationDates,tariffOption:e!==l.TerminateProductOption?"":W.tariffOption,cancellationDate:null,keyTransferDate:null})},Ee=e=>e.preventDefault();return(0,t.useEffect)((()=>(()=>{const{cancellationReason:e,specificCancellationDates:a,specificCancellationDateDesired:n}=W,t=!(e===l.SpecialTerminationMoveOut)&&a===c.DesiredCancellationDate;t!==n&&X({specificCancellationDateDesired:t})})()),[W]),(0,t.useEffect)((()=>{re(W.cancellationReason,W.specificCancellationDates),Te(W.cancellationReason)}),[]),(0,t.useEffect)((()=>{(0,D.F)(L,"form-v2"),(0,D.Y)(L)}),[W.specificCancellationDates,ne]),Y?(0,u.jsx)("section",{children:(0,u.jsx)("div",{className:"col-md-12",children:(0,u.jsxs)("div",{className:"container",children:[!(M||F)&&(0,u.jsx)("div",{"data-tpl":"form-v2","data-module":"","data-module-config":"",children:(0,u.jsxs)(R.h,{formId:L,children:[(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12 col-md-12 text-right",children:(0,u.jsx)("small",{className:"requiredText",dangerouslySetInnerHTML:{__html:E.requiredText}})})}),(0,u.jsxs)("div",{"data-tpl":"cih01",children:[(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(d.O,{label:E.contractAccountNumber,placeholder:E.contractAccountNumberPlaceholder,name:"contractAccountNumber",value:W.contractAccountNumber,handleChange:le,validation:Y,errors:J.contractAccountNumber,globalValidation:Z,tooltipDescription:E.contractAccountNumberTooltip,shouldTooltipPositionedOnBottom:!0,shouldTooltipPositionedOnRight:!0,maxLength:7})})}),(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(_.A,{name:"cancellationReason",label:E.cancellationReason,handleChange:e=>ce(e,0,"cancellationReason"),value:null===(a=W.cancellationReason)||void 0===a?void 0:a.toString(),val
1idation:Y,errors:J,options:K,isGloablValidation:Z})})}),ie&&(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(m.A,{name:"specificCancellationDates",label:"",handleChange:e=>{var a;return ce(null===e||void 0===e||null===(a=e.target)||void 0===a?void 0:a.value,0,"specificCancellationDates")},value:null===(n=W.specificCancellationDates)||void 0===n?void 0:n.toString(),validation:Y,errors:J.specifiCancellationDates,globalValidation:Z,options:z})})}),W.specificCancellationDateDesired&&(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(C.A,{name:"cancellationDate",label:E.cancellationDate,placeholder:E.dateFormat,handleChange:se,value:W.cancellationDate,validation:Y,globalValidation:Z,errors:J.cancellationDate,tooltipDescription:E.cancellationDateDescription,shouldTooltipPositionedOnBottom:!0,shouldTooltipPositionedOnRight:!0,min:(0,S.t7)(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),max:(0,S.t7)(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()+3650))})})}),ne&&(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(C.A,{name:"keyTransferDate",label:E.keyTransferDate,placeholder:E.dateFormat,handleChange:se,value:W.keyTransferDate,validation:Y,globalValidation:Z,errors:J.keyTransferDate,shouldTooltipPositionedOnBottom:!0,shouldTooltipPositionedOnRight:!0,min:(0,S.t7)(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-28)),max:(0,S.t7)(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()+3650))})})}),te&&(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12 col-md-12",children:(0,u.jsx)(N.A,{label:E.tariffOption,name:"tariffOption",value:W.tariffOption,handleChange:le,validation:Y,errors:J.tariffOption,globalValidation:Z})})})]}),(0,u.jsx)("br",{}),(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)("h2",{children:E.contactHeader})})}),(0,u.jsx)("br",{}),(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(m.A,{name:"gender",label:"",handleChange:e=>{var a;return ce(null===e||void 0===e||null===(a=e.target)||void 0===a?void 0:a.value,0,"gender")},value:null===(v=W.gender)||void 0===v?void 0:v.toString(),validation:Y,errors:J.gender,globalValidation:Z,options:q})})}),(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.firstName,placeholder:E.firstName,name:"firstName",value:W.firstName,handleChange:le,validation:Y,errors:J.firstName,globalValidation:Z})}),(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.lastName,placeholder:E.lastName,name:"lastName",value:W.lastName,handleChange:le,validation:Y,errors:J.lastName,globalValidation:Z})})]}),(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.email,placeholder:E.email,name:"email",onPaste:Ee,value:W.email,handleChange:le,validation:Y,errors:J.email,globalValidation:Z,handleBlur:e=>{const a=e.target.value;oe(a)}})}),(0,u.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,u.jsx)(N.A,{label:E.confirmEmail,name:"confirmEmail",onPaste:Ee,value:W.confirmEmail,placeholder:E.confirmEmail,handleChange:le,validation:Y,errors:J.confirmEmail,globalValidation:Z})})]}),(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-sm-12",children:(0,u.jsx)(N.A,{label:E.phone,placeholder:E.phone,name:"phone",value:W.phone,handleChange:le,validation:Y,errors:J.phone,globalValidation:Z})})}),(0,u.jsx)(h,{address:W,errors:J,isGlobalValidation:Z,onChange:le,validation:Y}),(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-sm-12 col-md-3",children:(0,u.jsx)(A.A,{text:E.abort,fullWidth:!0,colorClass:"color-cta-2 full-width",handleClick:()=>{globalThis.history.length>1?globalThis.history.back():globalThis.location.assign("/")}})}),(0,u.jsx)("div",{className:"col-sm-12 col-md-6"}),(0,u.jsx)("div",{className:"col-sm-12 col-md-3",children:(0,u.jsx)(A.A,{text:E.cancelNow,handleClick:async()=>
1{if($()){w(!0);const e=await p({...W,host:f,instance:V},k);null!==e&&void 0!==e&&e.data&&!e.error?(j(!0),w(!1),H(e.data)):(B(O.A.newGuid()),j(!1),P(!0),w(!1))}document.querySelectorAll(".error-block").length>0&&(0,g.Pq)("error-block")},loading:b,fullWidth:!0,colorClass:"color-cta-3 full-width float-right"})})]})]})}),F&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("br",{}),(0,u.jsx)(T.w,{headline:E.successTitle,content:E.successText,status:T.X.Success,scrollToTop:!0}),(0,u.jsx)("div",{"data-tpl":"cta01",className:"cta01--center",children:(0,u.jsx)(U.k,{ctaText:E.downloadCancellationDoc,getBlobFile:async()=>x(y)})}),(0,u.jsx)("br",{}),(0,u.jsx)("p",{className:"centred_text spaced-content",dangerouslySetInnerHTML:{__html:E.successText2}})]}),M&&(0,u.jsx)(T.w,{ctaLink:"/fuer-zuhause/kontakt",ctaOnClick:()=>{},ctaText:E.contact,ctaTwoText:E.repeatCancellation,ctaTwoOnClick:()=>{j(!1),P(!1),w(!1)},headline:E.formSendErrorHeadline,content:E.formSendErrorText,status:T.X.Error,scrollToTop:!0})]})})}):(0,u.jsx)(i.A,{})}},48337:(e,a,n)=>{n.d(a,{P:()=>t});const t=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object.entries(e).map((e=>{var n;let[t,i]=e;return{value:t,text:a&&(null===(n=a.find((e=>{var a;return"string"===typeof i&&(null===(a=e.value)||void 0===a?void 0:a.toLowerCase())===(null===i||void 0===i?void 0:i.toLowerCase())})))||void 0===n?void 0:n.text)||i}})).filter((e=>"string"===typeof e.text))}},52665:(e,a,n)=>{let t,i,l;n.d(a,{En:()=>l,I5:()=>t,XU:()=>i}),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"}(t||(t={})),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"}(i||(i={})),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.GET_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"}(l||(l={}))},71647:(e,a,n)=>{n.d(a,{X:()=>c.XU,w:()=>T});var t=n(96540),i=n(87451),l=n(8491),s=n(20201),c=n(52665),o=n(74848);const r=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:"Â "})]})})})}},T=e=>{var a,n;(0,t.useEffect)((()=>{e.scrollToTop&&(0,l.eG)()}),[]);const T=null!==(a=e.ctaOnClasses)&&void 0!==a&&a.includes("color-cta-")?e.ctaOnClasses:`color-cta-2 ${e.ctaOnClasses||""}`,E=null!==(n=e.ctaTwoClasses)&&void 0!==n&&n.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:[r(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)(i.A,{text:e.ctaText,handleClick:e.ctaOnClick,link:e.ctaLink,colorClass:`${T} btn--full-width`})}),e.ctaTwoOnClick&&(0,o.jsx)("div",{className:"col-lg-3 col-sm-12",children:(0,o.jsx)(i.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)(s.A,{maternaOptIn:e.maternaOptIn,companyType:e.company})})]})}}}]);
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.