1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bc654a97-2ce4-40aa-b44a-bbfcd66c08bd",e._sentryDebugIdIdentifier="sentry-dbid-bc654a97-2ce4-40aa-b44a-bbfcd66c08bd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7380],{19067:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/my-account",function(){return s(64986)}])},24322:(e,t,s)=>{e.exports=s(2324)},24576:(e,t,s)=>{"use strict";s.d(t,{A:()=>g});var n=s(75834),r=s(68208),a=s.n(r),o=s(67999);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c=["className","cssModule","tag","innerRef"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h={children:a().node,tag:o.Wx,innerRef:a().oneOfType([a().object,a().func,a().string]),className:a().string,cssModule:a().object},m=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&d(a,e);var t,s,r=(t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,s=p(a);return e=t?Reflect.construct(s,arguments,p(this).constructor):s.apply(this,arguments),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return u(e)}(this,e)});function a(e){var t;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return(t=r.call(this,e)).getRef=t.getRef.bind(u(t)),t.submit=t.submit.bind(u(t)),t}return s=[{key:"getRef",value:function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e}},{key:"submit",value:function(){this.ref&&this.ref.submit()}},{key:"render",value:function(){var e=this.props,t=e.className,s=e.cssModule,r=e.tag,a=e.innerRef,i=function(e,t){if(null==e)return{};var s,n,r=function(e,t){if(null==e)return{};var s,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)s=a[n],t.indexOf(s)>=0||(r[s]=e[s]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)s=a[n],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(r[s]=e[s])}return r}(e,c),d=(0,o.qO)(t,s);return n.createElement(void 0===r?"form":r,l({},i,{ref:a,className:d}))}}],function(e,t){for(var s=0;s<t.length;s++){var n=t[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(a.prototype,s),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.Component);m.propTypes=h;let g=m},26707:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",s="minute",n="hour",r="week",a="month",o="quarter",i="year",c="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,s){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(s)+e},h="en",m={};m[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","
1st","nd","rd"],s=e%100;return"["+e+(t[(s-20)%10]||t[s]||t[0])+"]"}};var g="$isDayjsObject",f=function(e){return e instanceof _||!(!e||!e[g])},b=function e(t,s,n){var r;if(!t)return h;if("string"==typeof t){var a=t.toLowerCase();m[a]&&(r=a),s&&(m[a]=s,r=a);var o=t.split("-");if(!r&&o.length>1)return e(o[0])}else{var i=t.name;m[i]=t,r=i}return!n&&r&&(h=r),r||!n&&h},x=function(e,t){if(f(e))return e.clone();var s="object"==typeof t?t:{};return s.date=e,s.args=arguments,new _(s)},y={s:p,z:function(e){var t=-e.utcOffset(),s=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(s/60),2,"0")+":"+p(s%60,2,"0")},m:function e(t,s){if(t.date()<s.date())return-e(s,t);var n=12*(s.year()-t.year())+(s.month()-t.month()),r=t.clone().add(n,a),o=s-r<0,i=t.clone().add(n+(o?-1:1),a);return+(-(n+(s-r)/(o?r-i:i-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:a,y:i,w:r,d:"day",D:c,h:n,m:s,s:t,ms:e,Q:o})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=b,y.i=f,y.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var _=function(){function p(e){this.$L=b(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var h=p.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,s=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var r=n[2]-1||0,a=(n[7]||"0").substring(0,3);return s?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return y},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var s=x(e);return this.startOf(t)<=s&&s<=this.endOf(t)},h.isAfter=function(e,t){return x(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<x(e)},h.$g=function(e,t,s){return y.u(e)?this[t]:this.set(s,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,o){var l=this,d=!!y.u(o)||o,u=y.p(e),p=function(e,t){var s=y.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return d?s:s.endOf("day")},h=function(e,t){return y.w(l.toDate()[e].apply(l.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},m=this.$W,g=this.$M,f=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case i:return d?p(1,0):p(31,11);case a:return d?p(1,g):p(0,g+1);case r:var x=this.$locale().weekStart||0,_=(m<x?m+7:m)-x;return p(d?f-_:f+(6-_),g);case"day":case c:return h(b+"Hours",0);case n:return h(b+"Minutes",1);case s:return h(b+"Seconds",2);case t:return h(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(r,o){var l,d=y.p(r),u="set"+(this.$u?"UTC":""),p=((l={}).day=u+"Date",l[c]=u+"Date",l[a]=u+"Month",l[i]=u+"FullYear",l[n]=u+"Hours",l[s]=u+"Minutes",l[t]=u+"Seconds",l[e]=u+"Milliseconds",l)[d],h="day"===d?this.$D+(o-this.$W):o;if(d===a||d===i){var m=this.clone().set(c,1);m.$d[p](h),m.init(),this.$d=m.set(c,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[y.p(e)]()},h.add=function(e,o){var c,l=this;e=Number(e);var d=y.p(o),u=function(t){var s=x(l);return y.w(s.date(s.date()+Math.round(t*e)),l)};if(d===a)return this.set(a,this.$M+e);if(d===i)return this.set(i,this.$y+e);if("day"===d)return u(1);if(d===r)return u(7);var p=((c={})[s]=6e4,c[n]=36e5,c[t]=1e3,c)[d]||1,h=this.$d.getTime()+e*p;return y.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,s=this.$locale();if(!this.isValid())return s.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=y.z(this),a=this.$H,o=this.$m,i=this.$M,c=s.weekdays,d=s.months,p=s.meridiem,h=function(e,s,r,a){return e&&(e[s]||e(t,n))||r[s].slice(0,a)},m=function(e){return y.s(a%12||12,e,"0")},g=p||function(e,t,s){var n=e<12?"AM":"PM";return s?n.toLowerCase():n};return n.replace(u,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return i+1;case"MM":return y.s(i+1,2,"0");case"MMM":return h(s.monthsShort,i,d,3);case"MMMM":return h(d,i);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(s.weekdaysMin,t.$W,c,2);case"ddd":return h(s.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(a);case"HH":return y.s(a,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return g(a,o,!0);case"A":return g(a,o,!1);case"m":return String(o);case"mm":return y.s(o,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,c,l){var d,u=this,p=y.p(c),h=x(e),m=(h.utcOffset()-this.utcOffset())*6e4,g=this-h,f=function(){return y.m(u,h)};switch(p){case i:d=f()/12;break;case a:d=f();break;case o:d=f()/3;break;case r:d=(g-m)/6048e5;break;case"day":d=(g-m)/864e5;break;case n:d=g/36e5;break;case s:d=g/6e4;break;case t:d=g/1e3;break;default:d=g}return l?d:y.a(d)},h.daysInMonth=function(){return this.endOf(a).$D},h.$locale=function(){return m[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var s=this.clone(),n=b(e,t,!0);return n&&(s.$L=n),s},h.clone=function(){return y.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},p}(),j=_.prototype;return x.prototype=j,[["$ms",e],["$s",t],["$m",s],["$H",n],["$W","day"],["$M",a],["$y",i],["$D",c]].forEac
1h(function(e){j[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),x.extend=function(e,t){return e.$i||(e(t,_,x),e.$i=!0),x},x.locale=b,x.isDayjs=f,x.unix=function(e){return x(1e3*e)},x.en=m[h],x.Ls=m,x.p={},x}()},54997:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var n=s(7086);let r=(0,s(92204).v)((e,t)=>({pending:!1,error:!1,orderProcess:{},subscriptionProduct:{},orderedSunscription:{},allSubscription:[],allValidCodes:[],loadOrderProcess:async()=>{let t=await n.A.get("/api/shop/order-process/get-order-process"),s={subscriptionId:t.data.orderProcess.subscriptionId,priceDe:t.data.orderProcess.preisDe,priceCh:t.data.orderProcess.preisCh,priceAt:t.data.orderProcess.preisAt,title:t.data.orderProcess.subscriptionTitle,npNumber:t.data.orderProcess.isbnPlain};return e({orderProcess:t.data,subscriptionProduct:s}),{orderProcess:t.data,subscriptionProduct:s}},loadOrderredSubscription:async()=>{let t=await n.A.get("/api/shop/order-process/get-orderred-subscription");return e({userEntitlements:t.data.userEntitlements}),{userEntitlements:t.data.userEntitlements}},loadAllSubscription:async()=>{let t=await n.A.get("/api/shop/order-process/get-all-subscriptions");return e({allSubscriptions:t.data.allSubscriptions}),{allSubscriptions:t.data.allSubscriptions}},loadValidCodes:async()=>{let t=await n.A.get("/api/shop/order-process/get-valid-codes");return e({allValidCodes:t.data.allValidCodes}),{allValidCodes:t.data.allValidCodes}}}))},64986:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>T,default:()=>O});var n=s(26514),r=s(68208),a=s.n(r),o=s(24576),i=s(18590),c=s(94320),l=s(29622),d=s(99092),u=s(75834),p=s(46225),h=s(7086),m=s(26707),g=s.n(m),f=s(1730),b=s(40747),x=s(18338),y=s(33793),_=s(6317),j=s(73419),v=s(51208),A=s(40455),S=s(59531),w=s(3380),N=s(54997),$=s(75051),M=s(33443),I=s(57013),k=s(9e4),F=s(33081),D=s(18994);let E=e=>{let t=(0,D.FV)(`${_.oo}_account_password_change_intro`,"<p>Sie k\xf6nnen hier Ihr Passwort \xe4ndern.</p>",{},{category:_.oo,textType:"formatted"}),s=(0,D.FV)(`${_.oo}_email_label_text`,"E-Mail-Adresse",{},{category:_.oo}),r=(0,D.FV)(`${_.oo}_email_repeat_label_text`,"E-Mail-Adresse best\xe4tigen",{},{category:_.oo}),a=(0,D.FV)(`${_.oo}_account_address_change_intro`,"<p>Hier k\xf6nnen Sie Ihre Adresse \xe4ndern.</p>",{},{category:_.oo,textType:"formatted"}),m=(0,D.FV)(`${_.oo}_account_address_change_button`,"Adresse \xe4ndern",{},{category:_.oo}),E=(0,D.FV)(`${_.oo}_register_error_missing_user_data_de`,"Bitte pr\xfcfen Sie ihre Angaben.",{},{category:_.oo}),T=(0,D.FV)(`${_.oo}_account_address_change_successful`,"Ihre Adresse wurde erfolgreich ge\xe4ndert.",{},{category:_.oo}),O=(0,D.FV)(`${_.oo}_account_password_change_successful`,"Ihr Passwort wurde erfolgreich ge\xe4ndert.",{},{category:_.oo}),P=(0,D.FV)(`${_.oo}_account_navigation_account`,"Mein Bereich",{},{category:_.oo}),C=(0,D.FV)(`${_.oo}_account_navigation_address`,"Pers\xf6nliche Daten \xe4ndern",{},{category:_.oo}),V=(0,D.FV)(`${_.oo}_account_navigation_email_address`,"E-Mail-Adresse \xe4ndern",{},{category:_.oo}),L=(0,D.FV)(`${_.oo}_account_navigation_password`,"Passwort \xe4ndern",{},{category:_.oo}),R=(0,D.FV)(`${_.oo}_account_navigation_subscription`,"Infos zum Abo",{},{category:_.oo}),Y=(0,D.FV)(`${_.oo}_account_navigation_logout`,"Ausloggen",{},{category:_.oo}),B=(0,D.FV)(`${_.oo}_account_opt_in_true`,"<p>Ihre Daten sind vollst\xe4ndig. Sie k\xf6nnen alle kostenlosen Angebote von uns nutzen (Online-Seminare, exklusive Pr\xfcfst\xfccke, Angebote per E-Mail etc.).</p>",{},{category:_.oo,textType:"formatted"}),H=(0,D.FV)(`${_.oo}_account_opt_in_false`,"<p><strong>Bitte beachten Sie:</strong> Bitte erteilen Sie uns Ihre Einwilligung, damit wir Sie per E-Mail kontaktieren d\xfcrfen. Nur dann k\xf6nnen Sie alle kostenlosen Angebote von uns nutzen (Online-Seminare, exklusive Pr\xfcfst\xfccke und Angebote per E-Mail).</p>",{},{category:_.oo,textType:"formatted"}),z=(0,D.FV)(`${_.oo}_account_opt_in_false_checkbox_tet`,"<p><strong>Ich m\xf6chte up to date bleiben.</strong></p><p>Ich m\xf6chte zuk\xfcnftig per E-Mail Produktinformationen, Angebote, Einladungen zu Veranstaltungen... </p>",{},{category:_.oo,textType:"formatted"}),U=(0,D.FV)(`${_.oo}_account_opt_in_false_button_text`,"Best\xe4tigen",{},{category:_.oo}),Z=(0,D.FV)(`${_.oo}_account_opt_in_mail_sent`,"<p>E-Mail wurde versendet. Sie m\xfcssen diese noch best\xe4tigen.</p>",{},{category:_.oo,textType:"formatted"}),K=(0,D.FV)(`${_.oo}__account_email_address_used`,"F\xfcr die E-Mail-Adresse ist bereits ein Account vorhanden.",{},{category:_.oo}),W=(0,D.FV)(`${_.oo}_account_email_change_successful`,"Ihre E-Mail-Adresse wurde erfolgreich ge\xe4ndert.",{},{category:_.oo}),q=(0,D.FV)(`${_.oo}
1_account_cancel_subscription_button`,"K\xfcndigen Sie hier Ihr Abo",{},{category:_.oo});(0,D.FV)(`${_.oo}_account_moodbar_info_text`,"<p>Hier der Info Moodbar Text f\xfcr mein Bereich</p>",{},{category:_.oo,textType:"formatted"});let G=(0,D.FV)(`${_.oo}_mandatory_fields_explanation_text`,"Diese Angaben sind notwendig.",{},{category:_.oo}),J=(0,D.FV)(`${_.oo}_account_no_crm_id_text`,"Kundenummer noch nicht vergeben.",{},{category:_.oo}),Q=(0,D.FV)(`${_.oo}_account_code_used_text`,"<p>Sie haben den Code bereits <strong>eingel\xf6st</strong>.</p><p>Sie sollten bereits Zugriff auf unseren Content haben.</p>",{},{category:_.oo,textType:"formatted"}),X=(0,D.FV)(`${_.oo}_account_code_valid_text`,"<p>Ihr eingebebener Code ist <strong>valide</strong>.</p><p>Sie sollten nun Zugriff auf unseren Content haben.</p><p>Viel Spa\xdf beim St\xf6bern.</p>",{},{category:_.oo,textType:"formatted"}),ee=(0,D.FV)(`${_.oo}_account_code_button_text`,"Code pr\xfcfen",{},{category:_.oo}),et=(0,D.FV)(`${_.oo}_account_code_input_label_text`,"Codeeingabe",{},{category:_.oo}),es=(0,D.FV)(`${_.oo}_account_code_intro_text`,"<p>Bitte geben Sie hier Ihren Code ein, um Zugriff auf unseren Content zu erhalten.</p>",{},{category:_.oo,textType:"formatted"}),en=(0,D.FV)(`${_.oo}_account_institution_code_input_label_text`,"Codeeingabe",{},{category:_.oo}),er=(0,D.FV)(`${_.oo}_account_institution_subscription_into_text`,"<p>Geben Sie hier Ihren zugeschickten Institutionscode ein.</p>",{},{category:_.oo,textType:"formatted"}),ea=(0,D.FV)(`${_.oo}_account_navigation_institution_subscription`,"Institutionsabocode einl\xf6sen",{},{category:_.oo}),eo=(0,D.FV)(`${_.oo}_institution_code_valid_text`,"<p>Ihr eingegebener Institutionscode ist <strong>valide</strong>.</p><p>Sie sollten nun Zugriff auf unseren Content haben.</p><p>Viel Spa\xdf beim St\xf6bern.</p>",{},{category:_.oo,textType:"formatted"}),ei=(0,D.FV)(`${_.oo}_institution_code_button_text`,"Institutionscode pr\xfcfen",{},{category:_.oo}),ec=(0,p.useRouter)(),el=(0,w.A)(e=>e),ed=(0,N.A)(e=>e),[eu,ep]=(0,u.useState)(),[eh,em]=(0,u.useState)(!1),[eg,ef]=(0,u.useState)(!1),[eb,ex]=(0,u.useState)(""),[ey,e_]=(0,u.useState)("acci"),[ej,ev]=(0,u.useState)(!1),[eA,eS]=(0,u.useState)(""),[ew,eN]=(0,u.useState)(""),[e$,eM]=(0,u.useState)(0),[eI,ek]=(0,u.useState)(!1),[eF,eD]=(0,u.useState)(!1),[eE,eT]=(0,u.useState)([]),[eO,eP]=(0,u.useState)(!1),[eC,eV]=(0,u.useState)(!1),[eL,eR]=(0,u.useState)(!1),[eY,eB]=(0,u.useState)(!1),[eH,ez]=(0,u.useState)([]),eU=(0,u.useRef)();(0,u.useEffect)(()=>{eU.current&&"acca"===ey&&eU.current.focus()},[ey]),console.log(ey);let eZ=(0,u.useRef)();(0,u.useEffect)(()=>{eZ.current&&"acce"===ey&&eZ.current.focus()},[ey]);let eK=(0,u.useRef)();(0,u.useEffect)(()=>{eK.current&&"accp"===ey&&eK.current.focus()},[ey]);let[eW,eq]=(0,u.useState)({salutation:"",surname:"",lastname:"",co:"",street:"",housenumber:"",country:0,addressId:0,acceptedAdvertising:!1,trackingAllowed:!1,crmId:"",code:"",instititionsCode:""}),eG=async e=>{e.preventDefault(),"1"===e.currentTarget.elements.acceptracking.value&&h.A.post("/api/shop/user/send-opt-in-mail",eW).then(e=>{!0===e.data.mailSent&&ek(!0)}).catch(e=>{console.error(e)})},eJ=(e,t)=>{"acceptracking"===t&&0===e?eM(1):"acceptracking"===t&&1===e&&eM(0)},eQ=(e,t)=>{em(!1),ep({}),eq({...eW,[e]:t})},eX=async e=>{e.preventDefault(),em(!0),ev(!0);let t={},s=e.currentTarget.elements;e0(s.code.value,!0)?(h.A.post("/api/shop/order-process/insert-fake-order",{user:el.userData,codeValue:s.code.value}).then(e=>{eP(!0),eV(e.data.orderAlreadyInserted)}).catch(e=>{console.error(e)}),ev(!1)):(t={...t,[s.code.id]:!0},ev(!1),eV(!1),ep(t),window.scrollTo({top:0,behavior:"smooth"}))},e0=(e,t)=>(!0===t?eH.filter(e=>e.valid).map(e=>e.dafAktionscode):eH.map(e=>e.dafAktionscode)).some(t=>String(t).toLowerCase()===String(e).toLowerCase()),e1=async e=>{e.preventDefault();let t=e2(e.currentTarget.elements);em(!0),ev(!0),ef(!1),ex(""),t&&Object.keys(t).length<1?h.A.post("/api/shop/user/update-user-database",eW).then(e=>{h.A.post("/api/shop/user/update-bdl-user",eW).then(e=>{ex(T),ev(!1),window.scrollTo({top:0,behavior:"smooth"})}).catch(e=>{ev(!1),window.scrollTo({top:0,behavior:"smooth"}),console.error(e)})}).catch(e=>{ev(!1),window.scrollTo({top:0,behavior:"smooth"}),console.error(e)}):(ef(!0),ev(!1),window.scrollTo({top:0,behavior:"smooth"}))},e2=e=>{let t=/.*[A-Za-z]{2,}.*/,s={};return t.test(e.surname.value)||(s={...s,[e.surname.id]:!0}),t.test(e.lastname.value)||(s={...s,[e.lastname.id]:!0}),t.test(e.street.value)||(s={...s,[e.street.id]:!0}),0===e.housenumber.value.length&&(s={...s,[e.housenumber.id]:!0}),e.postcode.value.length<2&&(s={...s,[e.postcode.id]:!0}),t.test(e.city.value)||(s={...s,[e.city.id]:!0}),0===parseInt(e.country.value)&&(s={...s,[e.country.id]:!0}),ep(s),s},e3=async e=>{e.preventDefault();let t=e.currentTarget.elements,s=e4(t);if(em(!0),ev(!0),ef(!1),s&&Object.keys(s).length<1){let e={sso_id:eW.ssoId,user_id:eW.userId};h.A.post("/api/shop/user/udpdate-user-password",{userObject:e,password:t.password.value}).then(e=>{200===e.status&&(ex(O),ev(!1),ef(!1),window.scrollTo({top:0,behavior:"smooth"}))}).catch(e=>{console.error(e)})}else ev(!1),ef(!0),window.scrollTo({top:0,behavior:"smooth"})},e4=e=>{let t={};return(e.password.value!==e.passwordretype.value||"100"!==e.passwordscore.value)&&(t={...t,[e.password.id]:!0}),ep(t),t},e9=async e=>{e.preventDefault();let t=e.currentTarget.elements,s=e5(t);em(!0),ev(!0),ef(!1),eD(!1),s&&Object.keys(s).length<1?h.A.post("/api/shop/user/check-keycloak-user",{email:t.email.value}).then(e=>{0===e.data.ssoId?h.A.post("/api/shop/user/update-user-email",{userId:eW.userId,email:t.email.value}).then(e=>{if(200===e.status&&e.data.update){let e=eW;e={...e={...e,email:t.email.value},userAcceptedTracking:0},h.A.post("/api/shop/user/update-bdl-user",e).then(t=>{200===t.status&&h.A.post("/api/shop/user/update-keycloak-user",e).then(e=>{204===e.status&&(ex(W),ev(!1),ef(!1),eD(!1),window.scrollTo({top:0,behavior:"smooth"}))}).catch(e=>{eD(!1),ev(!1),ef(!1),console.error(e)})}).catch(e=>{eD(!1),ev(!1),ef(!1),console.error(e)})}}).catch(e=>{eD(!1),ev(!1),ef(!1),console.error(e)}):(eD(!0),ev(!1),ef(!1))}).catch(e=>{eD(!1),ev(!1),ef(!1),console.error(e)}):(ev(!1),ef(!0),eD(!1),window.scrollTo({top:0,behavior:"smooth"}))},e5=e=>{let t={};return/^[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e.email.value)&&e.email.value===e.emailretype.value||(t={...t,[e.email.id]:!0}),ep(t),t},e6=async e=>{e.preventDefault(),em(!0),ev(!0);let t={},s=e.currentTarget.elements;0===s.instititionsCode.value.length?(t={...t,[s.instititionsCode.id]:!0},ev(!1),ep(t),window.scrollTo({top:0,behavior:"smooth"})):(h.A.post("/api/institution-subscription/check-institution-code",{user:el.userData,instititionsCode:s.instititionsCode.value}).then(e=>{1===e.data.error?ep(t={...t,[s.instititionsCode.id]:!0}):(eR(!0),h.A.get("/api/shop/order-process/get-orderred-subscription").then(e=>{e.data.userEntitlements.length>0&&(eT(e.data.userEntitlements),eB(!1))}).catch(e=>{console.error(e)}),h.A.get("/api/shop/user/refresh-user").then(e=>{el.loadUser({locale:ec.locale}),setInstitutionSubscriptionNotIncluded(!1)}).catch(e=>{console.error(e)}))}).catch(e=>{console.error(e)}),ev(!1))},e8=async(e,t)=>{e.preventDefault(),em(!1),ex(""),e_(t)}
1,e7=async e=>{e.preventDefault(),ev(!0),await h.A.get("/api/shop/user/logout-user").then(e=>{ec.push("/shop/steps/login")}).catch(e=>{ev(!1),console.error(e)}),await el.loadUser({locale:ec.locale})};(0,u.useEffect)(()=>{!async function(){await el.loadData().then(e=>{eq({salutation:e?.addresses?.P?.salutation,surname:e?.addresses?.P?.surname,lastname:e?.addresses?.P?.lastname,co:e?.addresses?.P?.co,street:e?.addresses?.P?.street,housenumber:e?.addresses?.P?.housenumber,postcode:e?.addresses?.P?.postcode,city:e?.addresses?.P?.city,country:e?.addresses?.P?.country,email:e?.email,userId:e?.userId,ssoId:e?.ssoId,addressId:e?.addresses?.P?.addressId,acceptedAdvertising:e?.acceptedAdvertising,trackingAllowed:e?.trackingAllowed,crmId:e?.crmId})}),await ed.loadOrderredSubscription().then(e=>{eT(e.userEntitlements),0===e.userEntitlements.length&&eB(!0)}),await ed.loadValidCodes().then(e=>{ez(e.allValidCodes)}),await el.loadUser({locale:ec.locale})}()},[]);let te=(e,t)=>{eq({...eW,[e]:t})},tt=(0,D.FV)(`${_.oo}_account_intro_text`,"<p>Sie sind eigeloggt als {{VORNAME}} {{NACHNAME}} mit der E-Mail-Adresse <strong>{{EMAILADRESSE}}</strong>.</p><p>Ihre Kundennummer lautet: <strong>{{KUNDENNUMMER}}</strong>.</p><p>Sie k\xf6nnen hier Ihre Daten verwalten.</p><p>Nullam mattis lacinia orci, at cursus diam blandit vel. Vestibulum non feugiat ipsum. Morbi convallis cursus sagittis. Maecenas varius diam et nisi venenatis, eu ornare nisl feugiat. Etiam sagittis interdum fringilla. Etiam dignissim tellus sit amet libero sollicitudin, non tempus elit pretium. Cras non rhoncus arcu.</p>",{vorname:eW.surname,nachname:eW.lastname,emailadresse:eW.email,kundennummer:0===eW.crmId?J:eW.crmId},{category:_.oo,textType:"formatted"}),ts=(0,D.FV)(`${_.oo}_account_password_change_intro_text`,"<p>Ihre vergebene E-Mail-Adresse ist <strong>{{EMAILADRESSE}}</strong>.</p><p>Nullam mattis lacinia orci, at cursus diam blandit vel. Vestibulum non feugiat ipsum. Morbi convallis cursus sagittis. Maecenas varius diam et nisi venenatis, eu ornare nisl feugiat. Etiam sagittis interdum fringilla. Etiam dignissim tellus sit amet libero sollicitudin, non tempus elit pretium. Cras non rhoncus arcu.</p>",{emailadresse:eW.email},{category:_.oo,textType:"formatted"}),tn=(0,D.FV)(`${_.oo}_account_orderred_subscription_text`,"<p><strong>Gekauftes Abo:</strong> {{ABONAME}}</p><p><strong>Kaufdatum:</strong> {{KAUFDATUM}}</p><p><strong>Preis:</strong> {{PREIS}}</p><p><strong>Laufzeit bis:</strong> {{LAUFZEIT}}</p><p>Bei Fragen zu Ihrem Abo wenden Sie sich bitte an......</p>",{},{category:_.oo,textType:"formatted"}),tr=(0,D.FV)(`${_.oo}_account_orderred_subscription_actions_text`,"<p><strong>Gekauftes Abo:</strong> {{ABONAME}}</p><p><strong>Kaufdatum:</strong> {{KAUFDATUM}}</p><p><strong>Preis:</strong> {{PREIS}}</p><p><strong>Laufzeit bis:</strong> {{LAUFZEIT}}</p><p>Bei Fragen zu Ihrem Abo wenden Sie sich bitte an......</p>",{},{category:_.oo,textType:"formatted"});(0,D.FV)(`${_.oo}_account_no_orderred_subscription_text`,'<p>Sie haben noch kein Abo bestellt.</p><p>Sie k\xf6nnen dies <a href="/abomodelle">hier</a> tun.',{},{category:_.oo,textType:"formatted"});let ta=(0,D.FV)(`${_.oo}_account_moodbar_header`,"Willkomen zur\xfcck, {{ANREDE}}",{anrede:eW.surname+" "+eW.lastname},{category:_.oo}),to=[];return eg&&to.push(E),eF&&to.push(K),(0,n.jsxs)("div",{className:"my-collection",children:[(0,n.jsx)(x.A,{mainNavigation:e?.navigationResponse?.mainNavigation}),(0,n.jsx)(F.Ij,{}),(0,n.jsx)(F.D1,{title:"Mein Bereich",seoTitle:"Mein Bereich",canonical:"/account/my-account",description:"Das derdieDaF-Portal bietet Lehrenden im DaF-/DaZ-Bereich alles f\xfcr ihren Unterricht: Kopiervorlagen, Unterrichtsideen, Arbeitsbl\xe4tter und vieles mehr.",seoDescription:"Das derdieDaF-Portal bietet Lehrenden im DaF-/DaZ-Bereich alles f\xfcr ihren Unterricht: Kopiervorlagen, Unterrichtsideen, Arbeitsbl\xe4tter und vieles mehr."}),(0,n.jsx)(j.A,{mainTitle:!0,headline:ta,text:"Hier k\xf6nnen Sie Informationen zu Ihrem Account und Ihrem Abonnement abrufen und auch \xe4ndern.",path:"Mein Bereich"}),(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)(S.A,{}),(0,n.jsxs)("div",{className:"basket-container align-center pb-5",children:[(eg||eF)&&(0,n.jsx)(l.A,{className:"mb-4 g-0",children:(0,n.jsx)(d.A,{children:(0,n.jsx)(k.A,{errorArray:to})})}),eb&&(0,n.jsx)(l.A,{className:"mb-4 g-0",children:(0,n.jsxs)(d.A,{className:"success-message xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.Zsp,className:"me-3"}),eb]})}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{lg:"3",className:"order-lg-1 order-xs-2",children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:`tab-wrapper ${"acci"===ey?"clicked":""}`,onClick:e=>e8(e,"acci"),onKeyDown:e=>{"Enter"===e.key&&e8(e,"acci")},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.Ewi,className:"me-3"}),P]})}),(0,n.jsx)("div",{className:`tab-wrapper ${"acca"===ey?"clicked":""}`,onClick:e=>e8(e,"acca"),onKeyDown:e=>{"Enter"===e.key&&e8(e,"acca")},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.oMV,className:"me-3"}),C]})}),(0,n.jsx)("div",{className:`tab-wrapper ${"acce"===ey?"clicked":""}`,onClick:e=>e8(e,"acce"),onKeyDown:e=>{"Enter"===e.key&&e8(e,"acce")},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.Hzw,className:"me-3"}),V]})}),(0,n.jsx)("div",{className:`tab-wrapper ${"accp"===ey?"clicked":""}`,onClick:e=>e8(e,"accp"),onKeyDown:e=>{"Enter"===e.key&&e8(e,"accp")},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.DW4,className:"me-3"}),L]})}),(0,n.jsx)("div",{className:`tab-wrapper ${"accs"===ey?"clicked":""}`,onClick:e=>e8(e,"accs"),onKeyDown:e=>{"Enter"===e.key&&e8(e,"accs")},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.mEO,className:"me-3"}),R]})}),eE&&0===eE.length&&eY&&(0,n.jsx)("div",{className:`tab-wrapper ${"accin"===ey?"clicked":""}`,onClick:e=>e8(e,"accin"),children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.mEO,className:"me-3"}),ea]})}),(0,n.jsx)("div",{className:"tab-wrapper logout",onClick:e=>e7(e),onKeyDown:e=>{"Enter"===e.key&&e7(e)},tabIndex:0,children:(0,n.jsxs)("span",{className:"account-tab xs-l-bold",children:[(0,n.jsx)(f.g,{icon:b.yBu,className:"me-3"}),Y]})})]})}),(0,n.jsx)(d.A,{lg:"9",className:"order-lg-2 order-xs-1",children:(()=>{let u="";switch(ey){case"acci":u=(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:tt}}),e.token?.acceptedAdvertising?(0,n.jsx)("div",{className:"optin-box optin-true",children:(0,n.jsx)("table",{children:(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{valign:"top",className:"fa-element",align:"center",children:(0,n.jsx)(f.g,{icon:b.QRE,size:"2x"})}),(0,n.jsx)("td",{valign:"top",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:B}})})]})})})}):(0,n.jsx)("div",{className:"optin-box optin-false",children:(0,n.jsx)(o.A,{onSubmit:eG,children:(0,n.jsx)("table",{children:(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{valign:"top",className:"fa-element",align:"center",children:(0,n.jsx)(f.g,{icon:b.bnw,size:"2x"})}),(0,n.jsx)("td",{valign:"top",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:H}})})]}),(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:"\xa0"})}),eI?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{valign:"top",align:"center",children:"\xa0"}),(0,n.jsx)("td",{valign:"top",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:Z}})})]})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{valign:"top",align:"center",children:(0,n.jsx)(i.A,{checked:1===e$,onChange:()=>eJ(e$,"acceptracking"),type:"checkbox",name:"acceptracking",id:"acceptracking",value:e$})}),(0,n.jsx)("td",{valign:"top",children:(0,n.jsx)(c.A,{htmlFor:"acceptracking",dangerouslySetInnerHTML:{__html:z.replaceAll("<p>","").replaceAll("</p>","<br />")}})})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:"\xa0"}),(0,n.jsx)("td",{children:(0,n.jsx)(M.A,{type:"submit",className:"mt-3 p-3 s-l-bold",label:U})})]})]})]})})})})]});break;case"acca":u=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.A,{onSubmit:e1,children:[(0,n.jsx)("div",{className:"mb-4",dangerouslySetInnerHTML:{__html:a},ref:eU,tabIndex:0}),(0,n.jsx)(I.A,{data:eW,formError:eu,submitted:eh,countries:e.countries,onChangeAddress:(e,t)=>te(e,t),registerLanguage:"d"}),(0,n.jsx)(l.A,{className:"mb-4",children:(0,n.jsx)(d.A,{xs:"12",lg:"
16",children:(0,n.jsxs)("div",{className:"mt-2",children:[(0,n.jsx)("span",{className:"red-star me-1",children:"*"}),(0,n.jsx)("span",{className:"s-l-italic grey-500",children:G})]})})}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:ej?(0,n.jsx)("div",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL w-100 mt-4 py-3 p-1 btn btn-secondary",children:(0,n.jsx)(f.g,{icon:b.oMq,spin:!0})}):(0,n.jsx)(M.A,{type:"submit",className:"w-100 mt-4 py-3 s-l-bold",label:m})}),(0,n.jsx)(d.A,{xs:"2"})]})]})});break;case"acce":u=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.A,{onSubmit:e9,children:[(0,n.jsx)("div",{className:"mb-5",dangerouslySetInnerHTML:{__html:ts}}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"0",lg:"2"}),(0,n.jsx)(d.A,{xs:"12",lg:"8",children:(0,n.jsxs)(l.A,{className:"mb-4",children:[(0,n.jsxs)(d.A,{xs:"12",className:"mb-4",children:[(0,n.jsxs)(c.A,{className:"xs-l-bold",htmlFor:"email",children:[s," ",(0,n.jsx)("span",{className:"red-star",children:"*"})]}),(0,n.jsx)(i.A,{innerRef:eZ,type:"email",id:"email",value:eA,className:`form-control rounded-0 ${eh?eu?.email?"is-invalid":"is-valid":""}`,onChange:e=>eS(e.target.value,"email")})]}),(0,n.jsxs)(d.A,{xs:"12",children:[(0,n.jsxs)(c.A,{className:"xs-l-bold",htmlFor:"emailretype",children:[r," ",(0,n.jsx)("span",{className:"red-star",children:"*"})]}),(0,n.jsx)(i.A,{type:"email",id:"emailretype",value:ew,className:`form-control rounded-0 ${eh?eu?.email?"is-invalid":"is-valid":""}`,onChange:e=>eN(e.target.value,"emailretype")})]})]})}),(0,n.jsx)(d.A,{xs:"0",lg:"2"})]}),(0,n.jsxs)(l.A,{className:"mb-2 text-end",children:[(0,n.jsx)(d.A,{xs:"0",lg:"2"}),(0,n.jsx)(d.A,{xs:"12",lg:"8",children:(0,n.jsxs)("div",{className:"mt-2",children:[(0,n.jsx)("span",{className:"red-star me-1",children:"*"}),(0,n.jsx)("span",{className:"s-l-italic grey-500",children:G})]})}),(0,n.jsx)(d.A,{xs:"0",lg:"2"})]}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:ej?(0,n.jsx)("div",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL w-100 mt-4 py-3 p-1 btn btn-secondary",children:(0,n.jsx)(f.g,{icon:b.oMq,spin:!0})}):(0,n.jsx)(M.A,{type:"submit",className:"w-100 mt-4 py-3 s-l-bold",label:"E-Mail-Adresse \xe4ndern"})}),(0,n.jsx)(d.A,{xs:"2"})]})]})});break;case"accp":u=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.A,{onSubmit:e3,children:[(0,n.jsx)("div",{className:"mb-5",dangerouslySetInnerHTML:{__html:t},tabIndex:0,ref:eK}),(0,n.jsx)($.A,{formError:eu,submitted:eh,twoColumns:!1,language:"d"}),(0,n.jsxs)(l.A,{className:"mb-2 text-end",children:[(0,n.jsx)(d.A,{xs:"0",lg:"2"}),(0,n.jsx)(d.A,{xs:"12",lg:"8",children:(0,n.jsxs)("div",{className:"mt-2",children:[(0,n.jsx)("span",{className:"red-star me-1",children:"*"}),(0,n.jsx)("span",{className:"s-l-italic grey-500",children:G})]})}),(0,n.jsx)(d.A,{xs:"0",lg:"2"})]}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:ej?(0,n.jsx)("div",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL w-100 mt-4 py-3 p-1 btn btn-secondary",children:(0,n.jsx)(f.g,{icon:b.oMq,spin:!0})}):(0,n.jsx)(M.A,{type:"submit",className:"w-100 mt-4 py-3 s-l-bold",label:"Passwort \xe4ndern"})}),(0,n.jsx)(d.A,{xs:"2"})]})]})});break;case"accs":u=(()=>{eW.instititionsCode="";let t=!0;for(let s=0;s<eE.length;s++)eE[s].productId===e.subscriptionNpNumbers.institution&&(t=!1);return(0,n.jsx)(n.Fragment,{children:eE&&eE.length>0?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"subscriptions",children:eE.map((s,r)=>{let a="",o=!0;return e0(s.actionCode,!1)?(a=(a=(a=(a=(a=tr).replace("{{ABONAME}}",s.title)).replace("{{KAUFDATUM}}",g()(s.purchaseDate).format("DD.MM.YYYY"))).replace("{{LAUFZEIT}}",g()(s.validTo).format("DD.MM.YYYY"))).replace("{{PREIS}}","0,00 â¬"),o=!1):(a=tn,s.productId===e.subscriptionNpNumbers.test?(a=(a=(a=a.replace("{{ABONAME}}",s.title)).replace("{{KAUFDATUM}}",g()(s.purchaseDate).format("DD.MM.YYYY"))).replace("{{LAUFZEIT}}",g()(s.validTo).format("DD.MM.YYYY")),a=13===eW.country?a.replace("{{PREIS}}","2,10 â¬"):43===eW.country?a.replace("{{PREIS}}","2,70 SFr."):a.replace("{{PREIS}}","1,99 â¬")):(a=(a=(a=a.replace("{{ABONAME}}",s.title)).replace("{{KAUFDATUM}}",g()(s.purchaseDate).format("DD.MM.YYYY"))).replace("{{LAUFZEIT}}",g()(s.validTo).format("DD.MM.YYYY")),a=s.productId===e.subscriptionNpNumbers.one?13===eW.country?a.replace("{{PREIS}}
1","10,10 â¬/Monat"):43===eW.country?a.replace("{{PREIS}}","13,50 SFr./Monat"):a.replace("{{PREIS}}","9,99 â¬/Monat"):s.productId===e.subscriptionNpNumbers.institution?a.replace("{{PREIS}}","0,00 â¬"):13===eW.country?a.replace("{{PREIS}}","10,10 â¬/Monat"):43===eW.country?a.replace("{{PREIS}}","13,50 SFr./Monat"):a.replace("{{PREIS}}","9,99 â¬/Monat"))),(0,n.jsxs)("div",{className:"subscription",children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}),eE.length!==r+1&&(0,n.jsx)("hr",{}),eE.length===r+1&&o&&t&&(0,n.jsx)(A.A,{href:"/abo-kuendigen",children:(0,n.jsx)("span",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL mt-4 py-3 p-1 s-l-bold p-1 btn btn-secondary w-100",children:q})})]},r)})})}):(0,n.jsx)(n.Fragment,{children:eO?(0,n.jsx)(n.Fragment,{children:eC?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:Q}}):(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:X}})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.A,{onSubmit:eX,children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2",className:"mb-4"}),(0,n.jsx)(d.A,{xs:"8",className:"mb-4",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:es}})}),(0,n.jsx)(d.A,{xs:"2",className:"mb-4"}),(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsxs)(d.A,{xs:"8",children:[(0,n.jsxs)(c.A,{className:"xs-l-bold",htmlFor:"code",children:[et," ",(0,n.jsx)("span",{className:"red-star",children:"*"})]}),(0,n.jsx)(i.A,{value:eW.code,type:"text",id:"code",className:`form-control rounded-0 ${eh?eu?.code?"is-invalid":"is-valid":""}`,placeholder:"",maxLength:"10",onChange:e=>eQ("code",e.target.value)})]}),(0,n.jsx)(d.A,{xs:"2"})]}),(0,n.jsxs)(l.A,{className:"mb-4",children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:(0,n.jsxs)("div",{className:"mt-2 text-right",children:[(0,n.jsx)("span",{className:"red-star me-1",children:"*"}),(0,n.jsx)("span",{className:"s-l-italic grey-500",children:G})]})}),(0,n.jsx)(d.A,{xs:"2"})]}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:ej?(0,n.jsx)("div",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL w-100 mt-2 py-3 p-1 btn btn-secondary",children:(0,n.jsx)(f.g,{icon:b.oMq,spin:!0})}):(0,n.jsx)(M.A,{type:"submit",className:"w-100 mt-4 py-3 s-l-bold",label:ee})}),(0,n.jsx)(d.A,{xs:"2"})]})]})})})})})();break;case"accin":eW.code="",u=(0,n.jsx)(n.Fragment,{children:eL?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:eo}})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.A,{onSubmit:e6,children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2",className:"mb-4"}),(0,n.jsx)(d.A,{xs:"8",className:"mb-4",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:er}})}),(0,n.jsx)(d.A,{xs:"2",className:"mb-4"}),(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsxs)(d.A,{xs:"8",children:[(0,n.jsxs)(c.A,{className:"xs-l-bold",htmlFor:"instititionsCode",children:[en," ",(0,n.jsx)("span",{className:"red-star",children:"*"})]}),(0,n.jsx)(i.A,{value:eW.instititionsCode,type:"text",id:"instititionsCode",className:`form-control rounded-0 ${eh?eu?.instititionsCode?"is-invalid":"is-valid":""}`,placeholder:"",maxLength:"25",onChange:e=>eQ("instititionsCode",e.target.value)})]}),(0,n.jsx)(d.A,{xs:"2"})]}),(0,n.jsxs)(l.A,{className:"mb-4",children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:(0,n.jsxs)("div",{className:"mt-2 text-right",children:[(0,n.jsx)("span",{className:"red-star me-1",children:"*"}),(0,n.jsx)("span",{className:"s-l-italic grey-500",children:G})]})}),(0,n.jsx)(d.A,{xs:"2"})]}),(0,n.jsxs)(l.A,{children:[(0,n.jsx)(d.A,{xs:"2"}),(0,n.jsx)(d.A,{xs:"8",children:ej?(0,n.jsx)("div",{className:"ButtonFilled_button__30SA_ ButtonFilled_notActive__2FSvL w-100 mt-2 py-3 p-1 btn btn-secondary",children:(0,n.jsx)(f.g,{icon:b.oMq,spin:!0})}):(0,n.jsx)(M.A,{type:"submit",className:"w-100 mt-4 py-3 s-l-bold",label:ei})}),(0,n.jsx)(d.A,{xs:"2"})]})]})})})}return(0,n.jsx)("div",{className:"account-content",children:u})})()})]})]})]}),(0,n.jsx)(y.A,{doormat:e?.navigationResponse?.doormat}),(0,n.jsx)(v.A,{})]})};E.propTypes={navigationResponse:a().object,countries:a().array,token:a().object,subscriptionNpNumbers:a().object};var T=!0;let O=E},94320:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var n=s(75834),r=s(68208),a=s.n(r),o=s(69001),i=s.n(o),c=s(67999),l=["className","cssModule","hidden","widths","tag","check","size","for"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(this,arguments)}function u(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var p=["xs","sm","md","lg","xl","xxl"],h=a().oneOfType([a().number,a().string]),m=a().oneOfType([a().bool,a().string,a().number,a().shape({size:h,order:h,offset:h})]),g={children:a().node,hidden:a().bool,check:a().bool,size:a().string,for:a().string,tag:c.Wx,className:a().string,cssModule:a().object,xs:m,sm:m,md:m,lg:m,xl:m,xxl:m,widths:a().array},f=function(e,t,s){return!0===s||""===s?e?"col":"col-".concat(t):"auto"===s?e?"col-auto":"col-".concat(t,"-auto"):e?"col
1-".concat(s):"col-".concat(t,"-").concat(s)};function b(e){var t=e.className,s=e.cssModule,r=e.hidden,a=e.widths,o=e.tag,h=e.check,m=e.size,g=e.for,b=function(e,t){if(null==e)return{};var s,n,r=function(e,t){if(null==e)return{};var s,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)s=a[n],t.indexOf(s)>=0||(r[s]=e[s]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)s=a[n],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(r[s]=e[s])}return r}(e,l),x=[];(void 0===a?p:a).forEach(function(t,n){var r=e[t];if(delete b[t],r||""===r){var a=!n;if((0,c.Gv)(r)){var o,l,d=a?"-":"-".concat(t,"-");o=f(a,t,r.size),x.push((0,c.qO)(i()((u(l={},o,r.size||""===r.size),u(l,"order".concat(d).concat(r.order),r.order||0===r.order),u(l,"offset".concat(d).concat(r.offset),r.offset||0===r.offset),l))),s)}else o=f(a,t,r),x.push(o)}});var y=m||x.length,_=(0,c.qO)(i()(t,!!r&&"visually-hidden",!!h&&"form-check-label",!!m&&"col-form-label-".concat(m),x,!!y&&"col-form-label",!(h||y)&&"form-label"),s);return n.createElement(void 0===o?"label":o,d({htmlFor:g},b,{className:_}))}b.propTypes=g;let x=b}},e=>{e.O(0,[5211,6213,7247,9185,3928,1429,1756,5334,7013,636,6593,8792],()=>e(e.s=19067)),_N_E=e.O()}]);
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.