PageSourceSearch

https://www.amdnet.de/wp-content/plugins/hsf012_forms/build/DeStipendiumForm_bc433a4618d36b728df8.js

js amdnet.de collected 2026-10-02 03:45:52 UTC 112,839 bytes, 2 lines download raw bytes

1(globalThis.webpackChunkhsf012_forms_plugin=globalThis.webpackChunkhsf012_forms_plugin||[]).push([[648],{22:(e,t,r)=>{"use strict";r.d(t,{K:()=>m,b:()=>d});var a=r(6663),n=r(2990),o=r(7361),s=r(5695);const{sfParams:l,sfParamsWebsiteKampagne:i}=n.A,{lang:c}=s.A,d=(e,t={})=>{const r="WebsiteKampagne"===e&&i?i:l,n=(0,a.stringify)({...r,lng:c,...t},{arrayFormat:"comma"});return`${o.Ov}/${e}${n?`?${n}`:""}`},m=({productCode:e,callback:t})=>fetch(d("WebsiteProdukt",{studiengang:e})).then((e=>{if(e.ok)return e.json().then((e=>{t(e)}));t()})).catch((()=>{t()}))},336:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(1609),n=r(5556),o=r.n(n),s=r(5695),l=r(5435);const{heading:i,paragraph:c}=s.A.DefaultFormSuccess,d=({formName:e,heading:t="",paragraph:r=""})=>{const n=(0,a.useRef)(null);return(0,a.useEffect)((()=>{n.current.scrollIntoView({block:"center",behavior:"smooth"})}),[]),(0,l.A)(e,n),(0,a.createElement)("div",{className:`dhsv_form default-success dhsv_${e}_form success`,ref:n},(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12 offset-1 col-sm-8 offset-sm-2"},(0,a.createElement)("i",{className:"ion-checkmark"}),(0,a.createElement)("h4",null,t||i),(0,a.createElement)("p",{dangerouslySetInnerHTML:{__html:r||c}}))))};d.propTypes={formName:o().string};const m=d},348:(e,t,r)=>{"use strict";r.d(t,{Ce:()=>m,Td:()=>g,a3:()=>p,qE:()=>c});var a=r(1609),n=r(1343),o=r(1225),s=r(5004),l=r(8190),i=r(1481);const c=e=>{const{options:{rabatt_percent:t=0,rabatt_price:r=0,rabatt_version:a=!0,rabatt_discountcode_salesforce:n},l10n:{formLabels:s,CartBox:c}}={options:{},...l.A}||{},m=(0,o.d4)((e=>(0,i.A)("application")(e))),[h,f]=p(),g=!a,A=g?t:r,b=g?`${A}%`:parseInt(A),{modell:v=0,price:y=0}=e?u({art:m?.art?.value,ects:h,modell:m?.modell?.value},f):{},E=0!==y,_=v*y,C=[{label:c?.study_fee,price:`(${d(y)} x ${v} ${s.months}) <b>${d(_)}</b>`}],S=g?_*(t/100):r,w=g?_-S:_-r,L=parseInt((g?y*((100-t)/100):w?w/v:0).toFixed(0))||0,N=L*v,k=!(0===S);return{isPercent:g,displayDiscount:b,discount:S,list:C,subtotal:E?_:0,total:E?w:0,totalPrice:_,monthlyPrice:y,monthlyDiscountPrice:L,hasDiscount:k,discountcodeSalesforce:!!k&&n,studyPrice:_,studyDiscount:_-N,studyValue:N,studyDuration:v}},d=(e,t="€")=>(0,s.Fl)({value:String(e),suffix:t}),m=e=>["ETop_Bac_ww_BL","LPop_Bac_ww_BL","PTop_Bac_ww_BL"].includes(e),u=(e={},t)=>r(6570).find((r=>e.art===r.art&&e.ects===r.ects&&e.modell===r.modell&&(m(t)?r?.isShort:!r?.isShort)))||{},p=(e=[])=>{const[t,r]=(0,a.useState)(0),s=(0,o.d4)(n.formSelectors.sProdukt);return(0,a.useEffect)((()=>{s?.code_ohne_semester&&(async()=>{const e=await f(s?.code_ohne_semester);r(e)})()}),[s,...e]),[t,s?.code_ohne_semester]},h={},f=async(e="")=>{if(h[e])return h[e];const t=await fetch("https://hs-fresenius.my.salesforce-sites.com/services/apexrest/WebsiteProdukt?studiengang="+e),r=await t.json(),a=r.length>0?r[0].ects:"0",n="string"==typeof a?a.replace(" *",""):"0";return h[e]=n,n},g=({price:e})=>e?(0,s.Fl)({value:String(e),suffix:"€"}):"––– €"},456:(e,t,r)=>{"use strict";r.d(t,{A:()=>m,S:()=>c});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(7913),i=r(2855);class c extends n().Component{constructor(e){super(e),this.uuid=(0,i.g)()}render(){const{disabled:e,id:t="",name:r="",label:n,placeholder:o,onChange:s,value:l,touched:i,error:c}=this.props,d=t||`checkbox_${r}-${this.uuid}`;return(0,a.createElement)("div",{className:`dhsv_formcontrol_checkbox ${i&&c?"has-error":""} ${l?"has-value":""}`},(0,a.createElement)("input",{checked:l,disabled:e,name:r,id:d,onChange:e=>s(e.target.checked),type:"checkbox",required:this.props.required}),n&&(0,a.createElement)("label",{htmlFor:d,dangerouslySetInnerHTML:{__html:n}}),o&&(0,a.createElement)("label",{htmlFor:d,dangerouslySetInnerHTML:{__html:o}}))}}c.propTypes={disabled:s().bool,id:s().string,label:s().node,placeholder:s().string,name:s().string,onChange:s().func,value:s().bool,touched:s().bool,error:s().string};
1const d=({input:{name:e,onChange:t,value:r},meta:{error:n,touched:o},...s})=>(0,a.createElement)(c,{...s,name:e,onChange:e=>t(e||""),value:!!r,error:n,touched:o});d.propTypes={id:s().string,input:s().shape(l.nT),meta:s().shape(l.sj)};const m=d},477:()=>{},596:(e,t,r)=>{"use strict";r.d(t,{As:()=>o,jM:()=>u,kt:()=>d,lx:()=>c,rS:()=>s});var a=r(1609),n=r(6551);const o=(e,t={})=>{var r;window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(r=t,Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!["",void 0,null].includes(e))).reduce(((e,[t,r])=>({...e,[t]:r})),{})),event:e})},s=(e,t)=>{window.newrelic&&window.newrelic.addPageAction(e,t)},l=e=>{const t=(e||"").match(/.+?\..+?\.(.+)/);return t?t[1]:""},i=()=>{const e=(0,n.Ri)("referrer");let t;try{t=JSON.parse(e)}catch(e){t={}}return t},c=()=>({referrer:"",host:location.hostname,pagepath:location.href,fbc:(0,n.Ri)("_fbc"),fbp:(0,n.Ri)("_fbp"),cid:l((0,n.Ri)("_ga")),gclid:l((0,n.Ri)("_gcl_aw")),msclkid:(0,n.Ri)("_uetmsclkid"),clickref:(0,n.Ri)("clickRef"),...i()}),d=()=>(new Date).getTime().toString(),m={infomaterial:"infomaterial anfordern",kampagne:"infoabend"},u=(e,t,r=!1,n="")=>{const s=(0,a.useRef)("");(0,a.useEffect)((()=>{["infomaterial","kampagne"].includes(e)&&r&&n&&s.current!==n&&(s.current=n,o("ga_event",{category:"form_error",form_type:m[e]||e,form_name:`dhsv_form_${e}form`,field_name:t,form_error_message:n}))}),[e,t,r,n])}},636:(e,t,r)=>{"use strict";r.d(t,{p:()=>P,O:()=>z});var a=r(1225),n=r(8238),o=r(1609),s=r(5556),l=r.n(s),i=r(6036),c=r(5739),d=r(5436),m=r(9906),u=r(1775),p=r(6570),h=r(7729),f=r(2506),g=r(7473),A=r(6613),b=r(5692),v=r(2076),y=r(348),E=r(2747),_=r(5316),C=r(8190);const S=(0,c.A)()(i.A),w=[{label:"<b>18</b> Monate",value:18},{label:"<b>24</b> Monate",value:24},{label:"<b>48</b> Monate",value:48}],L=e=>{const{formName:t="application",art:r,studiengang:a,form:n,standort:s,start:l,choices:{arten:i,formen:c,studiengaenge:d,standorte:p,starts:h},shouldHideForm:f,shouldHideArt:g,shouldHideModelle:A,shouldHideStudiengang:b,shouldHideStandort:v,shouldChooseSemester:L,twoColumns:N=!0,showModell:F=!0,useHideForm:x=!0}=e,D=C.A.formStarts&&C.A.formStarts.length>0?h.filter((e=>C.A.formStarts.includes(e.value))):h,M=D.length>0?D:h;if("application"===t&&h?.length&&"Nächstmöglicher Start."===h[0].value){const e=new Date,t=new Date(e.getFullYear(),e.getMonth()+1,1),r=new Intl.DateTimeFormat("de-DE",{day:"numeric",month:"long",year:"numeric"});h[0].label=r.format(t)}M?.length&&"Nächstmöglicher Start."===M[0].value&&(M[0].check=M[1].value);const I="Fernstudium"===n?.input?.value?.value,[T,P]=(0,y.a3)([a]),z=i&&2===i.length&&"Master"===i[0].value&&"Bachelor"===i[1].value?[i[1],i[0]]:i,[$]=(0,E.bb)(t),O=(...t)=>{t.forEach((t=>e.change(t,"")))},R=(t,r)=>r!==e[t]?.input.value?.value,V=t=>(R("form",t?.value)&&O("art","studiengang","standort","start","modell","ueqType"),e.form.input.onChange(t)),H=r=>(R("standort",r?.value)&&O("start","modell"),(0,_.IC)("fox")&&"infomaterial"===t&&e.change("start",e.choices.starts[0]),e.standort.input.onChange(r)),q=t=>(R("start",t?.value)&&O("modell"),e.start.input.onChange(t)),B=k(I,r.input.value.value,T,P);(0,o.useEffect)((()=>{e.choices.starts&&(0,_.IC)("uos")&&"Executive"===r.input.value.value&&s.input.value.value&&void 0===l.input.value.value&&q(M[0])}),[r.input.value.value,q,M,s.input.value.value,l.input.value.value]),(0,o.useEffect)((()=>{(0,_.IC)("bzgk")&&V({label:"Berufsbegleitend",value:"Berufsbegleitend"})}),[]);const U="col-12 "+(N&&!(0,_.IC)("fox")?"col-md-6":"");return(0,o.createElement)("div",{className:"row"},(0,_.IC)("bzgk")||f||$&&x?null:(0,o.createElement)("div",{className:"col-12"},(0,o.createElement)(m.A,{...n,name:"form",required:!0,options:c,onChange:V})),g?null:(0,o.createElement)("div",{className:"col-12"},(0,o.createElement)(m.A,{...r,name:"art",required:!0,options:z,onChange:t=>(R("art",t?.value)&&O("studiengang","standort","start","modell","ueqType"),e.art.input.onChange(t)),isDisabled:!n.input.value})),(0,o.createElement)("div",{className:"col-12"},(0,o.createElement)(E.XY,{field:"dual_studium_hint",show:"Duales Studium"===n.input.value.label})),b?null:(0,o.createElement)("div",{className:"col-12"},(0,o.createElement)(S,{...a,name:"studiengang",required:!0,options:d,onChange:a=>(R("studiengang",a?.value)&&O("standort","start","modell"),!(0,_.IC)("fox")||"infomaterial"!==t&&"kampagne"!==t||e.change("start",e.choices.starts[0]),(0,_.IC)("uos")&&"Executive"===r.input.value.value&&void 0===s.input.value.value&&H(e.choices.standorte[0]),e.studiengang.input.onChange(a)),isDisabled:!r.input.value})),v||(0,_.IC)("fox")?null:(0,o.createElement)("div",{className:U},(0,o.createElement)(S,{...s,name:"standort",required:!0,options:p,onChange:H,isDisabled:!a.input.value})),L&&(0,o.createElement)("div",{className:U},(0,o.createElement)(S,{...l,name:"start",required:!0,options:M,onChange:q,isDisabled:!((0,_.IC)("fox")?a.input.value:s.input.value)})),F&&!A&&I?(0,o.createElement)("div",{className:"col-12"},(0,o.createElement)(u.A,{name:"modell",component:m.A,required:!0,isDisabled:!l.input.value||0===B.length,options:B.length>0?B:w})):null)};L.defaultProps={shouldChooseSemester:!0};const N={label:l().string,value:l().string};L.propTypes={art:l().object.isRequired,form:l().object.isRequired,studiengang:l().object.isRequired,standort:l().object.isRequired,start:l().object,modell:l().object,choices:l().shape({arten:l().arrayOf(l().shape(N)),formen:l().arrayOf(l().shape(N)),studiengaenge:l().arrayOf(l().shape(N)),standorte:l().arrayOf(l().shape(N)),starts:l().arrayOf(l().shape(N))}),change:l().func.isRequired,shouldChooseSemester:l().bool,shouldHideForm:l().bool,shouldHideArt:l().bool,shouldHideStudiengang:l().bool,shouldHideStandort:l().bool,twoColumns:l().bool};const k=(e,t,r,a)=>{const n=(0,y.Ce)(a),o=(0,h.A)((0,b.A)((0,v.A)("value")),(0,A.A)((0,v.A)("value")),(0,f.A)((e=>({value:e.modell,label:`<b>${e.modell}</b> Monate`}))),(0,g.A)((e=>e.art===t)),(0,g.A)((e=>e.ects===r)),(0,g.A)((e=>n?e?.isShort:!e?.isShort)))(e?p:[]);return o.length>0?o:[]},F=(0,d.A)([{field:"form",choices:"formen"},{field:"art",choices:"arten",parentField:"form"},{field:"studiengang",choices:"studiengaenge",parentField:"art"},{field:"standort",choices:"standorte",parentField:"studiengang"},{field:"start",choices:"starts",parentField:"standort"}])(L);var x=r(1472),D=r(1343),M=r(9340);const{change:I}=x.A,T=({formName:e,sArten:t,sFormen:r,sStudiengaenge:o,sStandorte:s,sStarts:l,sShouldHideForm:i,sShouldHideArt:c,sShouldHideStudiengang:d,sShouldHideStandort:m})=>(0,a.Ng)((e=>({choices:{arten:t(e),formen:r(e),studiengaenge:o(e),standorte:s(e),starts:l(e)},shouldHideForm:i(e),shouldHideArt:c(e),shouldHideStudiengang:d(e),shouldHideStandort:m(e)})),(t=>(0,n.zH)({change:(t,r)=>I(e,t,r)},t)))(F),P=T(D.formSelectors),z=T(M.formSelectors)},1109:(e,t,r)=>{"use strict";r.d(t,{OH:()=>i,W7:()=>n,XQ:()=>o,au:()=>s,iO:()=>l,lV:()=>a});const a="application",n="infomaterial",o="kampagne",s="deStipendium",l="sknrwApplication",i="sknrwContact"},1145:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>E,Nt:()=>f});var a=r(1609),n=r(5556),o=r.n(n),s=r(7913),l=r(2935),i=r(5695),c=r(2839),d=r(2747),m=r(8190),u=r(1225),p=r(1481);const{formLabels:h}=i.A,f=({name:e,options:t,onChange:r,value:n,label:o,error:s,required:l,isDisabled:i=!1,isPrefill:d=!1,touched:m,className:u=""})=>{const p=m&&!!s,f=o||h[e],A=["dhsv-pill-field",`field-${e}
1`,p?"error":"",d?"preselected":"",i?"is-disabled":"",u].filter(Boolean).join(" ");return(0,a.createElement)("fieldset",{id:e,className:A,name:e},!d&&(0,a.createElement)(c.JU,{as:"legend",label:f,required:l,show:!0,htmlFor:e}),(0,a.createElement)("div",{className:"options"},t.map(((t,o)=>(0,a.createElement)(g,{key:o,value:n,name:e,option:t,isDisabled:i,onChange:r})))),!d&&(0,a.createElement)(c.QB,{show:p,text:s}))},g=({value:e={},name:t="",option:r={},isDisabled:n=!1,onChange:o=()=>{}})=>{const s=e?.value===r.value,l=`${t}-${(0,d.TL)(r.value,{lower:"true"})}`,i=v(t,r);return(0,a.createElement)("div",{className:"option-button",key:r.value},(0,a.createElement)("input",{type:"radio",name:l,id:l,checked:s,disabled:n,onChange:e=>{o(e.target.checked?r:{})},"data-e2e-active":s}),(0,a.createElement)(A,{option:r,isActive:s,inputName:l,Icon:i}))},A=({option:e,isActive:t,inputName:r,Icon:n})=>{const o=(0,u.d4)((e=>(0,p.A)("application")(e))),s=b(e.label,o);return(0,a.createElement)("label",{tabIndex:0,htmlFor:r},n&&(0,a.createElement)(n,null),(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:s}}),t&&(0,a.createElement)(c.Jl,null))},b=(e,t)=>{const{l10n:{formLabels:r}}=m.A;return(0,d.lv)(t)&&"keine Angabe"===e?r.divers:e},v=(e,t)=>{const a=(0,d.TL)(e),n=(0,d.TL)(t.value);try{return r(9790)(`./${a}-${n}.js`).default}catch(e){return!1}};f.propTypes={onChange:o().func};
1const y=({input:{name:e,onChange:t,value:r,onBlur:n},meta:{error:o,touched:s},...l})=>(0,a.createElement)(f,{name:e,error:o,onChange:t,onBlur:n,touched:s,value:r,...l});y.propTypes={input:o().shape((0,l.A)(["onDragStart","onDrop"],s.nT)),meta:o().shape(s.sj)};const E=y},1343:(e,t,r)=>{"use strict";r.d(t,{Rg:()=>C,TT:()=>L,dg:()=>w,formSelectors:()=>E});var a=r(1481),n=r(5651),o=r(2990),s=r(8190),l=r(7361),i=r(5695),c=r(9265),d=r(2051),m=r(6551),u=r(22),p=r(596),h=r(7377),f=r(6801),g=r(1109),A=r(2325),b=r(3060),v=r(3072),y=r(2747);const E=(0,f.ln)(g.lV,(e=>e.formChoicesApplication)),_=(e="")=>parseFloat(e.replaceAll(/[., €]+/g,""))/100,C=(e,t,r)=>(t,a)=>{const{modell:n,start:f,salutation:A,firstname:C,lastname:S,co:w,street:L,streetNumber:N,zipcode:k,city:F,country:x,email:D,mobile:M,whatsapp:I,phone:T,nationality:P,nationality2:z,birthplace:$,birthcountry:O,ueqType:R,ueqCountry:V,priorProf:H,profDescription:q,profType:B,priorStudy:U,priorAdvance:j,priorStudySemester:Z,priorStudySemesterF:W,priorStudySemesterU:K,priorStudyDetails:Y,description:G,promocode:Q,newsletter:J,consent:X,lngSkillDe:ee,lngSkillEn:te}=(0,d.qY)(e),re=(0,d.Ut)(e.birthdate),ae=(0,d.Ut)(e.ueqDate),ne=(0,d.Ut)(e.profDate),oe=a(),se=E.sProdukt(oe)||{},le=E.sProductcode(oe),{laender:ie}=oe.formChoicesApplication.choices,ce=Y.map((({studiengang:e,institution:t,land:r})=>({studiengang:e||"",institution:t||"",land:r&&r.value?ie[r.value]:""}))).map((({studiengang:e,institution:t,land:r})=>`\nStudiengang: ${e}\nInstitution: ${t}\nLand: ${r}\n`)).join("\n\n").slice(0,5e3),de=(0,h.c)(e),me=(0,p.kt)(),{calculatedPrices:{monthlyPrice:ue,discountcodeSalesforce:pe,studyPrice:he,studyDiscount:fe,studyValue:ge,studyDuration:Ae}}=r,be=(0,b.p)({whatsapp:I,newsletter:J,consent:X}),ve=window.crypto.randomUUID(),ye={department:o.A.department,productcode:le,semester:f,modell:n,lng:i.A.lang,salutation:A,firstname:C,lastname:S,co:w,postalcode:k,city:F,email:D,...M&&M.length>5?{mobile:M}:{},whatsapp:be.whatsapp,...T&&T.length>5?{phone:T}:{},nationality:P,nationality2:z,birthdate:re,birthplace:$,birthcountry:O,ueqType:R,ueqCountry:V,ueqDate:ae,priorProf:H,profDescription:q,profType:B,profDate:ne,priorStudy:U,priorAdvance:j?1:0,priorStudySemester:Z,priorStudySemesterF:W,priorStudySemesterU:K,description:G,promocode:Q,newsletter:be.newsletter,...(0,y.Sm)(e)?{}:{street:L+" "+N,country:x,priorStudyDetails:ce},...se.art===v.F.PREPARATION_COURSE?{lngSkillDe:ee,lngSkillEn:te}:{},debug:de,orderId:me,...ue?{price:ue}:{},...pe?{promocode:pe}:{},...(0,p.lx)(),transactionId:ve};return t({type:"dhsv/hsf010/applicationForm/SEND_APPLICATION",meta:{requestData:ye}}),t((0,h.r)({formName:g.lV,url:`${l.Ov}/WebsiteBewerbung`,data:ye,successType:"dhsv/hsf010/applicationForm/SEND_APPLICATION_SUCCESS",failureType:"dhsv/hsf010/applicationForm/SEND_APPLICATION_FAILURE"})).then((({json:e})=>{const t=!!he;return(0,p.As)("ga_event",{category:"form_submission",event_action:"online bewerbung",event_label:window.location.href,product_code:se.code,businessUnit:se?.BU,department:se?.Fachbereich,brand:se?.Marke,study_format:se.form,graduation_level:se.art,study_subject:se.studiengang,study_location:se.standort,study_start:se.start,form_type:"online bewerbung",form_name:"dhsv_form_applicationform",study_price:t?he:_(se.gebuehren),study_discount:t?fe:0,study_value:t?ge:_(se.gebuehren),study_duration:Ae,study_currency:"EUR",transaction_id:ve}),(0,u.K)({productCode:se.code_ohne_semester,callback:e=>(0,p.As)("sfisClick",{pageType:"Application Page",type:"submit",name:"next",location:"form",id:(0,c.eJ)(se.code_ohne_semester),price:(0,c.LN)(e)})}).then((()=>{(e=>{if(!s.A.applicationFormUploadsPage)return;const{appnumber:t,logintoken:r}=e,a=new URL(s.A.applicationFormUploadsPage);a.searchParams.set("appnumber",t),r&&(0,m.TV)("hsf_upload_token",r),setTimeout((()=>window.location.href=a),1e3)})(e)}))}))},S=e=>(0,a.A)(g.lV)(e),w=()=>{let e;return(0,A.Mz)(S,(t=>{const r=t&&1===Object.keys(t).length&&Object.keys(t).includes("fieldAutofill")||t&&2===Object.keys(t).length&&Object.keys(t).includes("fieldAutofill")&&Object.keys(t).includes("form");return t&&t!==e&&!r&&(e=t),r&&e?e:t||e}))},L=()=>(e,t)=>{const r=E.sInitialValuesApplication(t());e((0,n.n_)(g.lV,r,!0,{keepValues:!0}))}},1646:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>k,OA:()=>C,tf:()=>N});var a=r(1609),n=r(7913),o=r(8674),s=r(2051),l=r(4445),i=r(9719),c=r(6036),d=r(1775),m=r(1663),u=r(9906),p=r(2747),h=r(1225),f=r(1481),g=r(5556),A=r.n(g),b=r(5695),v=r(9234),y=r(9030),E=r(8190),_=r(5316);const C=["salutation","firstname","lastname","email","mobile","phone","street","streetNumber","zipcode","city","country","co","birthdate","nationality","birthplace","nationality2","birthcountry",...E.A.options.enable_new_consent?[]:["whatsapp"]],{formLabels:{mobile:S,phone:w}}=b.A,L=e=>{const{useExtraFieldsSKNRW:t}=e,r=(0,h.d4)((e=>(0,f.A)("application")(e))),{handleSubmit:n,submitting:o}=e;(0,p.x1)(e);const s=o?"submitting":"";return(0,a.createElement)("form",{className:`dhsv_application_form dhsv_form ${s} step-personal-details`,onSubmit:n},(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)(i.A,{name:"salutation",choices:"anreden",component:u.A}))),(0,a.createElement)("div",{className:"row page-2-row-2"},(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"firstname",component:m.A,maxLength:40,waitingFor:["salutation"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"lastname",component:m.A,maxLength:80,waitingFor:["salutation"]}))),(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12 col-md-"+((0,p.lv)(r)||(0,p.EL)(r)||(0,p.Sm)(r)?"6":"12")},(0,a.createElement)(d.A,{name:"email",component:m.A,maxLength:80,waitingFor:["firstname","lastname"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"mobile",autoComplete:"tel",component:y.A,maxLength:40,label:S,showPlaceholder:!1,waitingFor:["firstname","lastname"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"phone",component:y.A,maxLength:40,label:w,showPlaceholder:!1,waitingFor:["firstname","lastname"]}))),(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12 col-sm-8 col-md-4"},(0,a.createElement)(d.A,{name:"street",component:m.A,maxLength:205,waitingFor:["mobile","email"]})),(0,a.createElement)("div",{className:"col-12 col-sm-4 col-md-2"},(0,a.createElement)(d.A,{name:"streetNumber",component:m.A,maxLength:50,waitingFor:["mobile","email"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"zipcode",autoComplete:"postal-code",component:m.A,maxLength:(0,_.IC)("hsf-com")?10:8,waitingFor:["mobile","email"]}))),(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"city",component:m.A,maxLength:40,waitingFor:["street","streetNumber","zipcode"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"country",choices:"laender",component:c.A,waitingFor:["street","streetNumber","zipcode"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"co",component:m.A,maxLength:255,waitingFor:["street","streetNumber","zipcode"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"birthdate",component:m.A,maxLength:10,autoComplete:"bday",type:"date",waitingFor:["country","city"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"nationality",choices:"staatsangehoerigkeiten",component:c.A,waitingFor:["country","city"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(d.A,{name:"birthplace",component:m.A,maxLength:80,waitingFor:["birthdate","nationality"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"nationality2",choices:"staatsangehoerigkeiten2",component:c.A,isClearable:!0,backspaceRemovesValue:!0,waitingFor:["birthdate","nationality"]})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"birthcountry",choices:"laender",component:c.A,waitingFor:["birthdate","nationality"]})),(0,_.IC)("hsf-com")&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"finanzierung",choices:"finanzierung",component:c.A,waitingFor:["birthdate","nationality"]})),!t&&(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"lngSkillEn",choices:"sprachniveaus",component:c.A,waitingFor:["birthdate","nationality"]}))),E.A.options.enable_new_consent?null:(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)(d.A,{name:"whatsapp",component:v.A,waitingFor:["mobile"]}))))};L.propTypes={...n.Fl,useExtraFieldsNoFernstudium:A().bool};const N=(e,t)=>{let r=l.hT;return(0,p.Sm)(e)&&(r=r.filter((e=>!l.NS.includes(e)))),(0,s.Fy)((0,s.ub)(["zipcode"]),(0,s.Fc)(["birthdate"]),(0,s.AN)(["email"]),(0,s.KQ)(["email"]),(0,s.Lg)([...r,...(0,_.IC)("hsf-com")&&!t.useExtraFieldsSKNRW?l.OK:[]]))(e,t)},k=(0,o.A)(N)(L)},1662:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"43",height:"31",viewBox:"0 0 43 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M36.5204 16.7258V14.2976H31.0126V11.8339L37.3923 9.19482L37.3539 7.75388L20.3851 1.7998H19.997L3.03014 7.75388L3.00389 8.77107H2.98795V14.4589C2.4146 14.6204 1.90916 14.9636 1.54755 15.437C1.18595 15.9103 0.987716 16.4883 0.982637 17.0839L0.976074 19.2073L6.4867 19.2261L6.49326 17.1027C6.49349 16.5365 6.31904 15.984 5.99372 15.5206C5.6684 15.0572 5.20804 14.7054 4.67545 14.5133V9.89139L19.967 16.2176H20.4142L29.3204 12.5323V16.7258H23.5398V20.3211C22.7495 20.3895 21.8701 20.4298 20.8923 20.4298C20.1873 20.4298 19.5245 20.412 18.8992 20.3802V22.0677C19.5311 22.0977 20.1864 22.1192 20.8923 22.1192C21.8598 22.1192 22.7364 22.0798 23.5398 22.0133V29.7655H42.4773V16.7258H36.5204ZM4.80576 17.1008V17.5358L2.67107 17.5292V17.0942C2.67207 16.8116 2.78497 16.5408 2.98509 16.3412C3.18521 16.1417 3.45625 16.0295 3.73889 16.0292C4.02185 16.0297 4.29307 16.1424 4.49306 16.3426C4.69306 16.5427 4.80551 16.8141 4.80576 17.097V17.1008ZM31.1279 
115.9851H34.8329V16.7258H31.1279V15.9851ZM20.192 14.4851L5.84826 8.54982L20.192 3.51637L34.5358 8.54982L20.192 14.4851ZM40.7898 28.0789H25.2273V22.2852C25.9586 22.2899 27.2383 22.2927 29.5051 22.2927H30.8204V23.7477H35.1329V22.2908L40.7851 22.2833L40.7898 28.0789ZM40.7898 20.5977C35.1733 20.607 27.6648 20.6136 25.2273 20.6052V18.4133H40.7898V20.5977Z",fill:"var(--icon-base)"}),(0,a.createElement)("path",{d:"M8.30713 20.2719L9.15088 20.8279C9.40119 20.9929 11.6315 22.3813 16.6509 22.9213V19.1451C14.3953 18.8694 12.9009 18.4119 12.0571 18.0848V15.3172L8.30713 13.7554V20.2719Z",fill:"var(--icon-accent)"}))}},1663:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(7913),i=r(1428),c=r(1967),d=r(2026),m=r(2839),u=r(5695),p=r(596);const{formLabels:h}=u.A;class f extends n().Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange({target:{value:e}}){const{maxLength:t,onChange:r}=this.props;return r(t?e.slice(0,t):e)}render(){const{InputComponent:e,...t}=this.props;if(e)return(0,a.createElement)(e,{...t});const r=(0,i.A)(["id","name","disabled","onClick","onBlur","placeholder","readOnly","autoComplete","type","value"],this.props);return this.props.multiline?(0,a.createElement)("textarea",{...r,onChange:this.handleChange}):(0,a.createElement)("input",{type:"text",...r,onChange:this.handleChange})}}f.defaultProps={maxLength:0,onChange:c.A},f.propTypes={disabled:s().bool,multiline:s().bool,onChange:s().func,onClick:s().func,placeholder:s().string,readOnly:s().bool,value:s().oneOfType([s().string,s().number]),InputComponent:s().func,maxLength:s().number};const g=({error:e,label:t,touched:r,formName:n,...o})=>{const s=!!o.value,l=r&&!!e,i=t||h[o.name]||"",c=["dhsv_formcontrol_new_textfield",`type-${o.type}`,r&&e?"has-error":"",o.value?"has-value":"",o.isDisabled?"is-disabled":"",o.className].filter(Boolean).join(" ");return(0,p.jM)(n,o?.name,l,e),(0,a.createElement)("div",{className:c},i&&(0,a.createElement)(m.JU,{label:i,required:o.required,show:s,htmlFor:o.name}),(0,a.createElement)(f,{...o,id:o.id||o.name,placeholder:o.placeholder||i}),(l||s)&&!o.isDisabled&&(0,a.createElement)(m.Jl,{isError:l,isLeft:!0}),(0,a.createElement)(m.QB,{show:l,text:e}))};g.propTypes={error:s().string,label:s().node,touched:s().bool};
1const A=(0,d.A)(g),b=({input:{name:e,onChange:t,value:r,onBlur:n},meta:{error:o,touched:s,form:l},...i})=>(0,a.createElement)(A,{name:e,error:o,onChange:t,onBlur:n,touched:s,value:r,formName:l,...i});b.propTypes={input:s().shape(l.nT),meta:s().shape(l.sj)};const v=b},1753:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(1609),n=r(5556),o=r.n(n);function s({children:e,transitionDuration:t=250,transitionDelay:r=0,...n}){const o=(0,a.useRef)(!1),s=(0,a.useRef)(!0),[l,i]=(0,a.useState)(50),[c,d]=(0,a.useState)(""),m=(0,a.useRef)();return(0,a.useEffect)((()=>{o.current=!0;const e=new ResizeObserver((e=>{const t=e[0];if(t.target&&s.current){let e;e=t.borderBoxSize?(Array.isArray(t.borderBoxSize)?t.borderBoxSize[0]:t.borderBoxSize).clientHeight:t.contentRect.height,s.current=!1,i(e),d("hidden"),setTimeout((()=>{d(""),s.current=!0}),r)}}));return m.current&&e.observe(m.current,{box:"border-box"}),()=>{m.current&&e.unobserve(m.current)}}),[m,r]),(0,a.createElement)("div",{...n,className:`dhsv-animate-auto-height ${n.className?n.className:""}`,style:{overflow:c,height:l,transitionDuration:o.current?t+"ms":0,transitionDelay:r+"ms"}},(0,a.createElement)("div",{ref:m},e))}s.propTypes={children:o().any},s.defaultProps={children:null};const l=s},1775:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(1609),n=r(6460),o=r(6804),s=r(4445),l=r(1225),i=r(1481),c=r(2747),d=r(5316);const m=[...s.Ay,...s.Zt,...s.nQ],u=(0,o.A)(m)((({waitingFor:e=[],className:t="",...r})=>{const o=(0,l.d4)((e=>(0,i.A)("application")(e))),m=e=>(0,c.Sm)(o)&&s.NS.includes(e)||!(0,d.IC)(["hsf-com","amd-com"])&&s.Zn.includes(e)||(0,c.lv)(o)&&s.yG.includes(e)||(0,c.EL)(o)&&s.pk.includes(e);if(m(r.name))return null;const u=(o?e:[]).filter((e=>{return!(m(e)||(t=e,o[t]||o[t]?.value));var t}));return(0,a.createElement)(n.A,{...r,className:`${t} field-state${u.length>0?" waiting":" active"}`})}))},2026:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(1609);const n=({onClick:e,canClear:t})=>t?(0,a.createElement)("i",{className:"material-icons clear",onClick:e},"clear"):null,o=e=>{const t=t=>{const{isClearable:r,ClearComponent:n,value:o,emptyValue:s}=t,l=(0,a.createElement)(e,{...t}),i=o!==s;return r?(0,a.createElement)("div",{className:"hoc with-clearable"},l,(0,a.createElement)(n,{onClick:()=>{const{onChange:e,emptyValue:r}=t;e(r)},canClear:i})):l};return t.defaultProps={isClearable:!1,emptyValue:"",ClearComponent:n},t}},2051:(e,t,r)=>{"use strict";r.d(t,{$:()=>X,AN:()=>Z,Ae:()=>q,Fc:()=>U,Fy:()=>M,KQ:()=>K,Lg:()=>T,OQ:()=>Y,Ut:()=>Q,qY:()=>J,u4:()=>G,ub:()=>H,wE:()=>B});var a=r(2506),n=r(7473),o=r(2763),s=r(7729),l=r(645),i=r(5087),c=r(1967),d=r(5809),m=r(2076),u=r(9023),p=r(3291),h=r(2569),f=r(2346),g=r(9768),A=r(7081),b=r(7361),v=r(5695),y=(r(5912),r(5316));const{forms:{validate_required1:E,validate_required2:_,validate_date:C,validate_birth_date:S,validate_zip_code:w,validate_zip_code_com:L,validate_email:N,validate_illegal_email:k,validate_email_confirmation:F,validate_campaign:x,validate_integer_range:D}}=v.A,M=(...e)=>(t={},r)=>[...e].reverse().reduce(((e,a)=>{const n=a(t,r);return{...e,...n,_error:e._error||n._error?[...e._error?e._error:[],...n._error?n._error:[]]:void 0}}),{}),I=e=>Array.isArray(e._error)?e._error.reduce((function(e,[t,r]){return{...e,[t]:r}}),e):e,T=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>{const r=t[e]||e;return[e,`${E} "${r}" ${_}`]})),(0,n.A)((e=>!r[e])))(e),P=e=>{const t=e.getFullYear();return t>1899&&t<2100},z=(0,u.A)([(0,p.A)(/^\d{2}\.\d{2}\.\d{4}$/),(0,s.A)((e=>(0,g.A)(e)&&P(e)),(e=>(0,h.A)(e,b.vz,new Date)))]),$=(0,u.A)([(0,s.A)((e=>(0,g.A)(e)&&P(e)),(e=>(0,h.A)(e,b.kL,new Date)))]),O=(0,u.A)([(0,s.A)((e=>(0,g.A)(e)&&((e,t=15)=>(new Date).getFullYear()-e.getFullYear()>=t&&P(e))(e)),(e=>(0,h.A)(e,b.kL,new Date)))]),R=y.rb?new RegExp(/^[0-9a-zA-Z \-]{1,10}$/):new RegExp(/^\d{1,8}$/),V=(0,u.A)([(0,p.A)(R)]),H=(e=A.A)=>t=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>[e,`${y.rb?L:w}`])),(0,n.A)((e=>!V(t[e]))),(0,n.A)((e=>!!t[e])))(e),q=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>{const r=t[e]||e;return[e,`${C} ${r}`]})),(0,n.A)((e=>!z(r[e]))),(0,n.A)((e=>!!r[e])))(e),B=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>{const r=t[e]||e;return[e,`${C} ${r}`]})),(0,n.A)((e=>!$(r[e]))),(0,n.A)((e=>!!r[e])))(e),U=e=>t=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>[e,`${S}`])),(0,n.A)((e=>!O(t[e]))),(0,n.A)((e=>
1!!t[e])))(e),j=/^(?:info|admin|support|noreply)@/,Z=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>[e,`${t[e]}: ${k}`])),(0,n.A)((e=>j.test(r[e]))),(0,n.A)((e=>!!r[e])))(e),W=/^[a-zA-Z0-9._|\\%#~`=?&/$^*!}{+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/,K=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>[e,`${t[e]}: ${N}`])),(0,n.A)((e=>{return t=r[e],!W.test(t);var t})),(0,n.A)((e=>!!r[e])))(e),Y=(e,t=A.A)=>r=>(0,s.A)(I,(0,o.A)((({length:e})=>e<=0),(()=>({})),(e=>({_error:e}))),(0,a.A)((e=>[e,`${t[e]}: ${x}`])),(0,n.A)((e=>!(({anmeldung:e})=>e>0)(r[e]))),(0,n.A)((e=>!!r[e])))(e),G=(0,s.A)((0,l.A)("&"),(0,a.A)((([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`)),(0,n.A)((([,e])=>!!e)),i.A),Q=e=>{const t=(0,h.A)(e,b.kL,new Date);return(0,g.A)(t)?(0,f.A)(t,b.vz):e},J=(0,a.A)((0,o.A)((0,d.A)("value"),(0,m.A)("value"),c.A));function X(e){const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth"})}},2415:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,M4:()=>n,W3:()=>l,fq:()=>o});var a=r(2325);const n="dhsv/hsf001/networkError/REQUEST_FAILED",o="dhsv/hsf001/networkError/CLEAR_ERROR",s=(e=null,t)=>{switch(t.type){case n:return t.message;case o:return null}return e},l=(0,a.Mz)((e=>e.networkError),(e=>!!e))},2473:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var a=r(2049),n=r(8238);const o=(0,r(4691).KY)({xs:575,sm:767,md:991,lg:1199,xl:1399});var s=r(2655),l=r(8975),i=r(6688),c=r(2415);const d=(0,n.HY)({browser:o,form:a.A,formChoicesApplication:s.Ay,formChoicesLead:l.A,formChoicesLeadDeStipendium:i.A,networkError:c.Ay})},2594:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1609);const n=()=>(0,a.createElement)("div",{className:"dhsv_hsf012forms_loading_indicator"},(0,a.createElement)("span",null,"loading..."))},2644:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"41",height:"31",viewBox:"0 0 41 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M24.7438 12.0289C24.6438 12.4677 24.5338 12.8493 24.4038 13.1355C23.8838 14.2898 22.6638 15.3869 21.3238 15.7685C20.7938 15.8639 20.3838 15.8639 19.8538 15.7685C18.5138 15.3869 17.2938 14.2898 16.7738 13.1355C16.4038 12.3056 16.1638 10.9127 16.5038 10.0828C16.8238 9.30051 17.4638 9.32913 18.1738 9.29097C20.8338 9.1288 23.2138 8.87122 24.1338 6.58166M17.6038 16.7034H15.8538C14.0938 16.6557 12.3038 16.4268 11.8038 14.7859C13.7838 14.0418 13.7138 10.9986 13.7138 9.15741C13.7638 7.84092 13.8538 6.36224 14.4438 5.12207C15.3638 3.20456 17.4738 1.91668 20.5838 2.25058C23.4738 1.90714 25.8038 3.20456 26.7238 5.12207C27.3138 6.36224 27.4038 7.84092 27.4538 9.15741C27.4438 10.9986 27.3838 14.0418 29.3538 14.7859C28.8538 16.4268 27.0638 16.6557 25.3038 16.7034H23.5538M9.23381 28.7904L10.0938 24.3257C10.5238 21.0536 14.5638 19.9756 17.4838 19.6321L20.5838 24.3257L23.6838 19.6321C26.6138 19.9756 30.6538 21.0536 31.0738 24.3257L31.9338 28.7904M20.5838 24.1922V28.7904",stroke:"var(--icon-base)",strokeWidth:"2",strokeMiterlimit:"22.93"}))}},2655:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u,Tv:()=>h});var a=r(7361),n=r(5695),o=r(8190),s=r(22),l=r(5316);const i={isLoading:!1,isLoaded:!1,choices:{},error:null},c="dhsv/hsf001/formChoicesApplication/LOAD_FORM_CHOICES",d="dhsv/hsf001/formChoicesApplication/LOAD_FORM_CHOICES_SUCCESS",m="dhsv/hsf001/formChoicesApplication/LOAD_FORM_CHOICES_FAILURE",u=(e=i,t)=>{const{type:r,error:a,choices:n}=t;switch(r){case c:return{...e,isLoading:!0};case d:return{...e,isLoading:!1,isLoaded:!0,choices:n};case m:return{...e,isLoading:!1,error:a};default:return e}};let p;const h=()=>e=>{if(p)return p;e({type:c});const t=o.A.options.offer_all_languages||(0,l.IC)("sknrw")||"en"!==n.A.lang?void 0:"Englisch",r=(0,l.IC)("bzgk")?a.xf:void 0,i=[fetch((0,s.b)("WebsiteBewerbung",{code:r,info:["arten","formen","studiengaenge","standorte","starts","modelle","anreden","laender","staatsangehoerigkeiten","staatsangehoerigkeiten2","staatsangehoerigkeiten_eu","staatsangehoerigkeiten2_eu","hzbs","ausbildungen","sprachniveaus","feststellungspruefungen","finanzierung","sprachniveaus"],sprache:t}),{method:"GET"}),fetch((0,s.b)("WebsiteBewerbung",{code:r,info:"produkte",sprache:t}),{method:"GET"}),fetch((0,s.b)("WebsiteBewerbung",{art:"Ausbildung",info:"hzbs",sprache:t}),{method:"GET"})];return(0,l.IC)("hsf-com")&&i.push(fetch((0,s.b)("WebsiteBewerbung",{gruppe:"sknrw",info:["studiengaenge","hzbs"]}),{method:"GET"}),fetch((0,s.b)("WebsiteBewerbung",{gruppe:"sknrw",info:"produkte"}),{method:"GET"})),p=Promise.all(i).then((e=>(e.forEach((e=>{if(!e.ok||200!==e.status)throw new Error(e.statusText)})),Promise.all(e.map((e=>e.json())))))).then((t=>{const r={...t[0],produkte:t[1],hzbs_ausbildung:t[2].hzbs};return(0,l.IC)("hsf-com")&&(r.hzbs_sknrw=t[3].hzbs,r.studiengange={...r.studiengange,...t[3].studiengaenge},r.produkte={...r.produkte,...t[4]}),e({choices:r,type:d}),t})).catch((t=>{e({error:t.message,type:m})})),p}},2708:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1609);const n=e=>t=>r=>r.submitSucceeded?(0,a.createElement)(e,{...r}):(0,a.createElement)(t,{...r})},2747:(e,t,r)=>{"use strict";r.d(t,{EL:()=>v,HW:()=>A,Im:()=>g,P2:()=>f,Sm:()=>y,TL:()=>_,XY:()=>C,bb:()=>E,lv:()=>b,x1:()=>p});var a=r(1609),n=r(1225),o=r(1481),s=r(2495),l=r.n(s),i=r(4445),c=r(4535),d=r(8190),m=r(5316),u=r(3674);
1const p=({isActiveStep:e,isReady:t,invalid:r,itemStep:s,handleSubmit:l=()=>{},validate:i,formName:c="application",...d})=>{const m=(0,n.d4)((e=>(0,o.A)(c)(e)));(1===s?h:a.useEffect)((()=>{const r=void 0===i(m,d)._error;t&&e&&r&&(1===s&&y(m)&&u.A.emit("uosHideStep3"),l())}),[e,r,t])},h=(e,t=[])=>{const r=(0,a.useRef)(!1);(0,a.useEffect)((()=>{r.current?e():r.current=!0}),t)},f=e=>{const t=document.querySelector(`[data-form-step="${e}"]`);t&&window.scrollTo({top:t.offsetTop,behavior:"smooth"})};function g(e){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}const A=(e,t)=>{const[r]=(0,n.d4)((e=>[(0,o.A)("application")(e)]));switch(t){case 1:return[...i.ti,...e?.useExtraFieldsNoFernstudium?[]:i.nQ];case 2:return(0,m.IC)("uos")&&"Executive"===r?.art?.value?[...i.hT.filter((e=>!i.NS.includes(e)))]:[...i.hT];case 3:return(0,m.IC)("uos")&&"Executive"===r?.art?.value?[...i.SR.filter((e=>!i.NS.includes(e)))]:[...i.SR,...e.useExtraFieldsProf?i.Zt:[],...e.useExtraFieldsStudy&&e.useExtraFieldsStudyGermany&&!(0,m.IC)("fox")?i.uL:[]];default:return[]}},b=e=>!!e&&"Fernstudium"===e?.form?.value,v=e=>!!e&&"Berufsbegleitend"===e?.form?.value,y=e=>!!e&&(0,m.IC)("uos")&&"Executive"===e.art?.value,E=(e="application")=>{const[t,r]=((e="application")=>{const t=c.M_.getState()?.form[e]?.values||{};return[t.isPrefill,t]})(e);return[t&&"Fernstudium"===r.form.value,r.form]},_=e=>"string"!=typeof e?e:l()(e,{lower:!0}),C=({field:e="",show:t=!0})=>{const r=d.A?.options||{},n=e in r?r[e]:"";return t&&n?(0,a.createElement)("p",{className:"hint-text",dangerouslySetInnerHTML:{__html:n}}):null}},2839:(e,t,r)=>{"use strict";r.d(t,{JU:()=>s,Jl:()=>l,QB:()=>i});var a=r(1609),n=r.n(a),o=r(1753);const s=({as:e="label",label:t,show:r,required:a,htmlFor:o})=>t?n().createElement(e,{className:"dhsv-label"+(r?" show-label":""),dangerouslySetInnerHTML:{__html:t+(a?" *":"")},htmlFor:o}):null,l=({isLeft:e=!1,isError:t=!1})=>(0,a.createElement)("span",{className:"dhsv-check"+(e?" is-left":"")+(t?" is-error":"")}),i=({show:e=!1,text:t="",isError:r=!0})=>(0,a.createElement)(o.A,{className:`message ${r?"is-error":""} ${e?"show":""}`},(0,a.createElement)("span",{dangerouslySetInnerHTML:{__html:t}}))},2855:(e,t,r)=>{"use strict";function a(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}r.d(t,{g:()=>a})},2858:(e,t,r)=>{"use strict";r.d(t,{A:()=>B,O:()=>F});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(1775),i=r(9719),c=r(7298),d=r(1663),m=r(5769),u=r(6036),p=r(9828),h=r(9370),f=r(7913),g=r(8674),A=r(2051),b=r(9239),v=r(4445),y=r(5695),E=r(8210),_=r(1753),C=r(1145),S=r(9383),w=r(1646),L=r(5316),N=r(8190),k=r(2747);const F=["ueqType","ueqCountry","ueqDate","ueqCity","priorProf","profType","profDescription","profDate","priorStudy","priorStudyDetails","priorStudySemester","priorStudySemesterF","priorStudySemesterU","priorAdvance","description","promocode"],{forms:{apply_now:x,apply_now_fox:D},ApplicationForm:{heading4_2:M,heading4_3:I,button_add:T,button_remove:P},formLabels:{priorStudyDetails_studiengang:z,priorStudyDetails_institution:$,priorStudyDetails_land:O,ueqType2:R,priorStudy:V}}=y.A,H=({fields:e})=>(0,a.createElement)("div",{className:"prior_study_details"},!!I&&(0,a.createElement)("span",{className:"formintro"},I),(0,a.createElement)("ul",null,e.map(((t,r)=>(0,a.createElement)("li",{key:r},(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)(l.A,{label:"Hochschule",name:`${t}.institution`,component:d.A,maxLength:100,placeholder:$+" *"})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{label:"Land",name:`${t}.land`,choices:"laender",component:u.A,placeholder:O+" *",autofill:!1})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(l.A,{label:"Studiengang",name:`${t}.studiengang`,component:d.A,maxLength:100,placeholder:z+" *"}))),!(0,L.IC)("fox")&&(0,a.createElement)(c.A,{bootstrapBtn:"danger",onClick:()=>e.remove(r)},P))))),!(0,L.IC)("fox")&&(0,a.createElement)(c.A,{onClick:()=>e.push({}),disabled:e.length>9},T));H.propTypes=f.Wr;class q extends n().Component{render(){const{handleSubmit:e,submitting:t,invali
1d:r,useExtraFieldsProf:n,useExtraFieldsStudy:o,useExtraFieldsStudyGermany:s,useExtraFieldsSKNRW:c,produktIstStudium:f,isActiveStep:g}=this.props,A=t?"submitting":"";return(0,a.createElement)("form",{className:`dhsv_application_form dhsv_form ${A} page-4`,onSubmit:e},(0,a.createElement)(b.A,null),(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-12 col-md-6"},c?(0,a.createElement)(i.A,{name:"ueqType",component:u.A,choices:"hzbs_sknrw"}):f?(0,a.createElement)(i.A,{name:"ueqType",component:u.A,choices:"hzbs"}):(0,a.createElement)(i.A,{name:"ueqType",component:u.A,placeholder:R,choices:"hzbs_ausbildung"})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(i.A,{name:"ueqCountry",component:u.A,choices:"laender"})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(l.A,{name:"ueqDate",type:"date",component:d.A,maxLength:10})),(0,L.IC)("hsf-com")&&(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(l.A,{name:"ueqCity",component:d.A,maxLength:40}))),(0,a.createElement)("div",{className:"row page-4-row-2"},!!M&&(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)("span",{className:"formintro"},M)),(0,a.createElement)("div",{className:"col-12"},!(0,L.IC)("hsf-com")&&(0,a.createElement)(l.A,{name:"priorProf",component:p.A,waitingFor:["ueqType","ueqCountry"]}),!!n&&(0,a.createElement)(_.A,null,(0,a.createElement)("div",{className:"row fieldgroup"},(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)(i.A,{name:"profType",choices:"ausbildungen",component:C.Ay})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(l.A,{name:"profDescription",component:d.A,maxLength:255})),(0,a.createElement)("div",{className:"col-12 col-md-6"},(0,a.createElement)(l.A,{type:"date",name:"profDate",component:d.A}))))),(0,a.createElement)("div",{className:"col-12"},(0,a.createElement)(l.A,{name:"priorStudy",component:p.A,label:V,waitingFor:["ueqType","ueqCountry"]}),o&&(0,a.createElement)(_.A,null,(0,a.createElement)("div",{className:"row fieldgroup"},(0,a.createElement)("div",{className:"col"},(0,a.createElement)(h.A,{name:"priorStudyDetails",component:H}),s&&!(0,L.IC)("fox")&&(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col"},(0,a.createElement)(l.A,{name:"priorStudySemester",component:d.A,type:"number",maxLength:3})),(0,a.createElement)("div",{className:"col"},(0,a.createElement)(l.A,{name:"priorStudySemesterF",component:d.A,type:"number",maxLength:3})),(0,a.createElement)("div",{className:"col"},(0,a.createElement)(l.A,{name:"priorStudySemesterU",component:d.A,type:"number",maxLength:3}))),!(0,L.IC)("hsf-com")&&(0,a.createElement)(l.A,{name:"priorAdvance",component:m.A})))))),c?(0,a.createElement)(a.Fragment,null,(0,a.createElement)("h3",{style:{margin:"2rem 0"}},y.A.SknrwContactForm.heading3),(0,a.createElement)("div",{className:"row"},(0,a.createElement)("div",{className:"col-xs-12 col-md-6"},(0,a.createElement)("h4",null,y.A.SknrwContactForm.heading4),(0,a.createElement)(i.A,{name:"lngSkillDe",choices:"sprachniveaus",component:u.A,required:!0})),(0,a.createElement)("div",{className:"col-xs-12 col-md-6"},(0,a.createElement)("h4",null,y.A.SknrwContactForm.heading5),(0,a.createElement)(i.A,{name:"lngSkillEn",choices:"sprachniveaus",component:u.A,required:!0})))):null,(0,a.createElement)(l.A,{name:"description",component:d.A,multiline:!0,maxLength:5e3}),(0,a.createElement)(l.A,{name:"promocode",component:d.A,maxLength:40}),(0,a.createElement)(l.A,{name:N.A.options.enable_new_consent?"consent":"newsletter",component:m.A}),(0,a.createElement)(E.A,{isSubmitting:t,invalid:r,isActiveStep:g,nextLabel:(0,L.IC)("fox")?D:x}))}}q.propTypes={...f.Fl,useExtraFieldsProf:s().bool,useExtraFieldsStudy:s().bool,produktIstStudium:s().bool};const B=(0,g.A)(((e,t)=>{let r=v.SR;return(0,k.Sm)(e)&&(r=r.filter((e=>!v.NS.includes(e)))),(0,A.Fy)(S.tf,w.tf,(0,A.wE)([...(0,L.IC)(["amd-com","hsf-com"])?["ueqDate"]:[],...t.useExtraFieldsProf?["profDate"]:[]]),(0,A.Lg)([...r,...t.useExtraFieldsProf?v.Zt:[],...t.useExtraFieldsSKNRW?v.F3:[],...t.useExtraFieldsStudy&&t.useExtraFieldsStudyGermany&&!(0,L.IC)("fox")?v.uL:[]]))(e,t)}))(q)},2990:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a=r(8190).A.config},3010:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(1609),n=r(1225),o=r(2826),s=r(4535);const l=e=>t=>(0,a.createElement)(n.Kq,{store:s.M_},(0,a.createElement)(o.Q,{loading:null,persistor:s.qj},(0,a.createElement)(e,{...t})))},3060:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(8190);function n({whatsapp:e,newsletter:t,consent:r}){return a.A.options.enable_new_consent?{newsletter:r?1:0,whatsapp:r?1:0}:{newsletter:t?1:0,whatsapp:e?1:0}}},3072:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let a=function(e){return e.BACHELOR="Bachelor",e.MASTER="Master",e.PREPARATION_COURSE="Preparation course",e}({})},3674:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a=(0,r(9431).G)()},3691:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});const a=e=>decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[.+*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))},4093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"40",height:"31",viewBox:"0 0 40 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M14.3301 8.44772C14.3901 7.16939 14.1201 7.09307 14.2001 5.82427C14.5401 3.38207 16.5501 1.65536 20.1101 1.65536C23.6701 1.65536 25.6901 3.38207 26.0201 5.82427C26.0901 7.09307 25.8301 7.17893 25.8901 8.44772M24.1901 4.81305C22.5101 9.19183 19.1801 6.89273 16.6901 6.92135C15.5601 6.93089 15.3001 7.44604 15.1901 8.35233C14.3501 8.31417 13.4801 8.61944 13.4601 9.60204C13.4501 10.3366 14.0001 11.0139 14.6501 11.1189C14.8101 12.1301 15.0501 13.0841 15.3701 13.6374C18.1001 18.3691 22.1301 18.3787 24.8501 13.6374C25.1701 13.0841 25.4001 12.1301 25.5701 11.1189C26.2301 11.0139 26.7701 10.3366 26.7601 9.60204C26.7401 8.59082 25.8801 8.26647 25.0301 8.35233M33.4501 29.3304L33.0601 24.7799C32.8301 20.7827 27.6801 19.4662 24.1901 19.056L20.1301 23.244L16.0701 19.056C12.5901 19.4662 7.44007 20.7827 7.20007 24.7799L6.81007 29.3304",stroke:"var(--icon-base)",strokeWidth:"2",strokeMiterlimit:"22.93"}))}},4445:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>g,F3:()=>i,NS:()=>f,OK:()=>l,SR:()=>c,Zn:()=>h,Zt:()=>d,hT:()=>s,nQ:()=>o,pk:()=>p,ti:()=>n,uL:()=>m,yG:()=>u});var a=r(5316);const n=["art","form","studiengang","standort","start"],o=["modell"],s=["salutation","firstname","lastname","street","streetNumber","zipcode","city","country","email","mobile","birthdate","nationality","birthplace","birthcountry",...(0,a.IC)("hsf-com")?["finanzierung"]:[]],l=["lngSkillEn"],i=["lngSkillDe","lngSkillEn"],c=["ueqType","ueqCountry",...(0,a.IC)("hsf-com")?["ueqCity"]:[],...(0,a.IC)(["amd-com","hsf-com"])?["priorStudy"]:[]],d=["profDescription","profType","profDate"],m=["priorStudySemester","priorStudySemesterF","priorStudySemesterU"],u=["phone","co","nationality2","ueqDate","description","promocode","priorProf","priorStudySemester","priorStudySemesterF","priorStudySemesterU"],p=["phone","co","nationality2","ueqDate","description","promocode"],h=["nationality2","ueqDate","priorStudy"],f=["phone","nationality","birthplace","birthcountry","standort","start","street","streetNumber","zipcode","city","country","co","birthdate","ueqType","ueqCountry","ueqDate","priorStudy","priorProf","description","promocode"],g=[...n,...s,...c]},4535:(e,t,r)=>{"use strict";r.d(t,{qj:()=>oe,M_:()=>ne});var a=r(8238),n=r(1265),o=r(4691),s=r(1385),l=r(3918),i=r(1869),c=r(4811),d=r(243),m=r(1126),u=r(9465),p=r(945),h=r(4878),f=r(2763),g=r(2506),A=r(8038),b=r(7729),v=r(1967),y=r(5695),E=r(1109);const{lang:_}=y.A,C=[E.lV,E.W7,E.XQ,E.au,E.iO,E.OH],S=(0,d.A)((e=>[`${e}.values`,`${e}.initial`,`${e}.fields`,`${e}.anyTouched`]))(C),w=(0,c.HI)("form",S),L=(0,c.HI)("form",[`${E.au}.values.anhaenge`],void 0,"blacklist"),N=["art","studiengang","form","standort","start","kampagne"],k=(0,d.A)((e=>(0,g.A)((t=>[e,"values",t]))(N)))(C),F=(0,b.A)((0,u.A)(b.A),(0,g.A)(p.A))(k),x=(0,s.createTransform)((0,m.A)("___persisted_lang",_),(0,b.A)((0,h.A)("___persisted_lang"),(0,f.A)((0,A.A)("___persisted_lang",_),v.A,F)),{whitelist:["form"]}
1),D={key:"hsf012forms_persist_root",storage:l.A,whitelist:["form"],transforms:[L,w,x],stateReconciler:i.A};var M=r(8229),I=r(7631),T=r(6169),P=r(596),z=r(2051),$=r(9383),O=r(1646),R=r(2858),V=r(5316),H=r(3009),q=r.n(H),B=r(9956),U=r.n(B),j=r(5651);const Z={form:"form",art:"art",studiengang:"studiengang",standort:"standort",modell:"modell",co:"co",streetNumber:"streetnumber",ueqType:"secondarySchool.type",ueqCountry:"secondarySchool.country",ueqDate:"secondarySchool.completionDate",profDescription:"educationProfession.description",profType:"educationProfession.type",profDate:"educationProfession.completionDate","priorStudyDetails.land":"institutionCountry","priorStudyDetails.institution":"institutionName","priorStudyDetails.studiengang":"degreeProgram",priorStudySemester:"totalSemesterCount",priorStudySemesterF:"semesterCount",priorStudySemesterU:"vacationSemesterCount",priorAdvance:"preliminaryWorkAndAskForRecognition",description:"description",anzahlBegleitpersonen:"companions"},W=e=>{var t;const r=e.replace(/\[\d+]/,"");return null!==(t=Z[r])&&void 0!==t?t:e},K=(0,b.A)((0,M.A)(/[^a-z\d]/g,"_"),I.A,(0,T.A)("")),Y=(e,t)=>e?`${e}T${(t||"00:00").replace(".",":")}:00Z`:void 0,G={application:["art","form","modell","studiengang","standort","start","salutation","whatsapp","priorProf","profType","priorStudy","priorAdvance","newsletter","consent"],infomaterial:["salutation","form","art","studiengang","standort","start","newsletter","whatsapp","consent"],kampagne:["salutation","newsletter","whatsapp","consent"]},Q=["newsletter","whatsapp","consent","priorAdvance"],J={productDescription:$.OA,personalData:O.OA,admissionsRequirements:R.O},X=e=>{const t=Object.entries(J).find((([,t])=>t.includes(e.replace(/\[.*$/,""))));return t?t[0]:void 0},ee=({formName:e,mkEvent:t,submitAction:r})=>a=>{const n=e=>t(a,e).then((e=>(0,P.As)(e.event,e)));return t=>a=>{switch(a.type){case r:break;case"@@redux-form/BLUR":{const{meta:{form:t,field:r}}=a;t===e&&Array.isArray(G[t])&&!G[t].includes(r)&&n(a)}break;case"@@redux-form/CHANGE":{const{meta:{form:t,field:r},payload:o}=a;t===e&&Array.isArray(G[t])&&G[t].includes(r)&&(o||!o&&Q.includes(r))&&(!(0,V.IC)("fox")||"form"!==r)&&n(a)}}t(a)}},te=(e,t=!0)=>{const r=(e&&e.code||"").match(/[^_]+_([^_]+)_([^_]+)_([^_]+)_([^_]+)/);return r?t?{degree_type_short:(r[1]||"").toLowerCase(),study_start_short:(r[2]||"").toLowerCase(),study_location_short:(r[3]||"").toLowerCase(),study_format_short:(r[4]||"").toLowerCase()}:{degree_type:(r[1]||"").toLowerCase(),study_start:(r[2]||"").toLowerCase(),study_format:(r[4]||"").toLowerCase()}:{}},re=[ee({formName:E.lV,mkEvent:async(e,{meta:{field:t}={}}={})=>{const{formSelectors:{sProdukt:a,selectFormValue:n}}=await Promise.resolve().then(r.bind(r,1343)),o=e.getState(),s=(e,t="value")=>{const r=n(o,e),a=r&&r[t]?r[t]:r||"";return["birthdate","ueqDate","profDate"].includes(e)?(0,z.Ut)(a):["email"].includes(e)?a?q()(a.toLowerCase().trim()).toString(U()):"":a},l=a(o),i=n(o,"priorStudyDetails")||[],c=s("modell"),d=c?`${c} Monate`:"",m=(0,V.IC)(["amd-com","hsf-com"]),u=n(o,"fieldPrefill"),p=n(o,"fieldAutofill"),h=u&&u.includes(t),f=p&&p.includes(t),g=u&&u.filter((e=>e!==t)),A=p&&p.filter((e=>e!==t)),b=!(!h&&!f);return e.dispatch((0,j.Zg)("application","fieldPrefill",g)),e.dispatch((0,j.Zg)("application","fieldAutofill",A)),{event:"ga_event",category:"form_changed",form_type:"application",form_name:"dhsv_form_applicationform",...t?{form_step:X(t)}:{},...t?{field_name:W(t)}:{},field_preselect:b,study_format:s("form"),graduation_level:s("art"),product_code:l?l.code_ohne_semester:"",study_subject:s("studiengang"),study_location:s("standort"),study_start:s("start"),study_duration:d,personal_data:{firstname:s("firstname"),lastname:s("lastname"),salutation:s("salutation"),email:s("email"),mobile:s("mobile"),phone:s("phone"),city:s("city"),country:s("co"),street:s("street"),streetnumber:s("streetNumber"),zipcode:s("zipcode"),birthdate:s("birthdate"),nationality:s("nationality","label"),birthplace:s("birthplace"),birthcountry:s("birthcountry","label"),...m?{nationality2:s("nationality2","label")}:{}},secondary_school:{type:s("ueqType"),country:s("ueqCountry","label"),...m?{completion_date:s("ueqDate")}:{}},...m?{education_profession:{description:s("profDescription"),type:s("profType"),completion_date:s("profDate")}}:{},...m?{prior_study:{studies:i.map((({land:e,institution:t,studiengang:r})=>({institution_name:t,institution_country:e?e.label:"",degree_program:r}))),total_semester_count:parseInt(s("priorStudySemester"),10),semester_count:parseInt(s("priorStudySemesterF"),10),vacation_semester_count:parseInt(s("priorStudySemesterU"),10),preliminary_work_and_ask_for_recognition:s("priorAdvance")}}:{},remark:s("description")}},submitAction:"dhsv/hsf010/applicationForm/SEND_APPLICATION"}),ee({formName:E.W7,mkEvent:async(e,{meta:{field:t}={}}={})=>
1{const{formSelectors:{sProdukt:a,selectFormValue:n}}=await Promise.resolve().then(r.bind(r,9340)),o=e.getState(),s=(e,t="value")=>{const r=n(o,e),a=r&&r[t]?r[t]:r||"";return["email"].includes(e)?a?q()(a.toLowerCase().trim()).toString(U()):"":a},l=a(o),i=n(o,"fieldPrefill"),c=n(o,"fieldAutofill"),d=i&&i.includes(t),m=c&&c.includes(t),u=i&&i.filter((e=>e!==t)),p=c&&c.filter((e=>e!==t)),h=!(!d&&!m);return e.dispatch((0,j.Zg)("infomaterial","fieldPrefill",u)),e.dispatch((0,j.Zg)("infomaterial","fieldAutofill",p)),{event:"ga_event",category:"form_changed",form_type:"informationMaterial",form_name:"dhsv_form_infomaterialform",...t?{field_name:W(t)}:{},field_preselect:h,study_format:s("form"),graduation_level:s("art"),product_code:l?l.code_ohne_semester:"",study_subject:s("studiengang"),study_location:s("standort"),study_start:s("start"),printed_infomaterial:n(o,"infomaterialSnailMail"),personal_data:{firstname:s("firstname"),lastname:s("lastname"),salutation:s("salutation"),email:s("email"),mobile:s("mobile"),city:s("city"),country:s("country","label"),street:s("street"),streetnumber:s("streetNumber"),zipcode:s("zipcode")}}},submitAction:"dhsv/hsf010/infomaterialForm/SUBMIT_FORM"}),ee({formName:E.XQ,mkEvent:async(e,{meta:{field:t}={}}={})=>{const a=await r.e(138).then(r.bind(r,3138)),{sProdukt:n,sKampagne:o,selectFormValue:s}=a,l=e.getState(),i=(e,t="value")=>{const r=s(l,e),a=r&&r[t]?r[t]:r||"";return["email"].includes(e)?a?q()(a.toLowerCase().trim()).toString(U()):"":a},c=n(l)||{},d=s(l,"fieldPrefill"),m=s(l,"fieldAutofill"),u=d&&d.includes(t),p=m&&m.includes(t),h=d&&d.filter((e=>e!==t)),f=m&&m.filter((e=>e!==t));e.dispatch((0,j.Zg)("kampagne","fieldPrefill",h)),e.dispatch((0,j.Zg)("kampagne","fieldAutofill",f));const g=!(!u&&!p),A=o(l)||{},{salesforceId:b,veranstaltungsart:v,standort_kurz:y,titel_des_events:E,datum_start_ymd:_,uhrzeit_start:C,datum_ende_ymd:S,uhrzeit_ende:w}=A;return{event:"ga_event",category:"form_changed",form_type:"eventApplication",form_name:"dhsv_form_kampagneform",...t?{field_name:W(t)}:{},field_preselect:g,product_code:c?c.code_ohne_semester:"",...te(c,!1),event_description:{date_from:Y(_,C),date_to:Y(S,w),event_location:(y||"").toLowerCase(),event_type:K(v),name:E,id:b},companions:i("anzahlBegleitpersonen"),personal_data:{firstname:i("firstname"),lastname:i("lastname"),salutation:i("salutation"),email:i("email")}}},submitAction:"dhsv/hsf010/kampagneForm/SUBMIT_FORM"})];let ae=!1;const ne=function(){const e=[n.A,...re],t=("object"==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({actionsBlacklist:[],name:"hsf012_forms"}):a.Zz)(o.uG,(0,a.Tw)(...e))(a.y$),l=r(2473),i=t((0,s.persistReducer)(D,l.default),void 0);return window.__HSF012_FORMS_STORE=i,i}(),oe=(0,s.persistStore)(ne,{},(()=>ae=!0))},4880:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"43",height:"31",viewBox:"0 0 43 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M36.5204 16.7258V14.2976H31.0126V11.8339L37.3923 9.19482L37.3539 7.75388L20.3851 1.7998H19.997L3.03014 7.75388L3.00389 8.77107H2.98795V14.4589C2.4146 14.6204 1.90916 14.9636 1.54755 15.437C1.18595 15.9103 0.987716 16.4883 0.982637 17.0839L0.976074 19.2073L6.4867 19.2261L6.49326 17.1027C6.49349 16.5365 6.31904 15.984 5.99372 15.5206C5.6684 15.0572 5.20804 14.7054 4.67545 14.5133V9.89139L19.967 16.2176H20.4142L29.3204 12.5323V16.7258H23.5398V20.3211C22.7495 20.3895 21.8701 20.4298 20.8923 20.4298C20.1873 20.4298 19.5245 20.412 18.8992 20.3802V22.0677C19.5311 22.0977 20.1864 22.1192 20.8923 22.1192C21.8598 22.1192 22.7364 22.0798 23.5398 22.0133V29.7655H42.4773V16.7258H36.5204ZM4.80576 17.1008V17.5358L2.67107 17.5292V17.0942C2.67207 16.8116 2.78497 16.5408 2.98509 16.3412C3.18521 16.1417 3.45625 16.0295 3.73889 16.0292C4.02185 16.0297 4.29307 16.1424 4.49306 16.3426C4.69306 16.5427 4.80551 16.8141 4.80576 17.097V17.1008ZM31.1279 15.9851H34.8329V16.7258H31.1279V15.9851ZM20.192 14.4851L5.84826 8.54982L20.192 3.51637L34.5358 8.54982L20.192 14.4851ZM40.7898 28.0789H25.2273V22.2852C25.9586 22.2899 27.2383 22.2927 29.5051 22.2927H30.8204V23.7477H35.1329V22.2908L40.7851 22.2833L40.7898 28.0789ZM40.7898 20.5977C35.1733 20.607 27.6648 20.6136 25.2273 20.6052V18.4133H40.7898V20.5977Z",fill:"var(--icon-base)"}),(0,a.createElement)("path",{d:"M8.30713 20.2719L9.15088 20.8279C9.40119 20.9929 11.6315 22.3813 16.6509 22.9213V19.1451C14.3953 18.8694 12.9009 18.4119 
112.0571 18.0848V15.3172L8.30713 13.7554V20.2719Z",fill:"var(--icon-accent)"}))}},5080:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"40",height:"31",viewBox:"0 0 40 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M37.9312 15.0513H30.0291V10.4782L36.4181 7.83443L36.3787 6.3963L19.4016 0.438477H19.0162L2.01187 6.3963V13.0994C1.43547 13.2554 0.926636 13.5972 0.564246 14.0718C0.201857 14.5464 0.00616153 15.1273 0.00750017 15.7244L0 17.8657H5.51062L5.51625 15.746C5.52071 15.1786 5.34796 14.624 5.02209 14.1594C4.69622 13.6949 4.23349 13.3437 3.69844 13.1548V8.53756L18.9797 14.8629H19.4287L28.335 11.1766V15.0513H24.5569C24.1559 15.0538 23.7721 15.2148 23.4893 15.4991C23.2066 15.7835 23.0477 16.1681 23.0475 16.5691V18.9129C22.0054 19.0214 20.9583 19.0743 19.9106 19.0713C19.2056 19.0713 18.5428 19.0535 17.9175 19.0216V20.7091C18.5494 20.7391 19.2047 20.7607 19.9106 20.7607C20.9581 20.7625 22.0051 20.7115 23.0475 20.6079V26.2863C23.0477 26.6888 23.2077 27.0747 23.4923 27.3593C23.7769 27.6439 24.1628 27.8039 24.5653 27.8042H30.4059V28.8889H26.4844V30.5764H36.0103V28.8889H32.0916V27.7995H37.9312C38.3337 27.8005 38.7201 27.6417 39.0056 27.358C39.2911 27.0742 39.4523 26.6888 39.4537 26.2863V16.5691C39.4536 16.3695 39.4141 16.1718 39.3375 15.9874C39.2609 15.803 39.1487 15.6355 39.0073 15.4945C38.8658 15.3535 38.698 15.2418 38.5134 15.1658C38.3287 15.0897 38.1309 15.0508 37.9312 15.0513ZM3.82875 15.7404V16.1763H1.69312V15.7338C1.69362 15.4513 1.80627 15.1805 2.00632 14.981C2.20638 14.7814 2.47746 14.6695 2.76 14.6698C2.90054 14.6696 3.03973 14.6973 3.16957 14.751C3.29942 14.8048 3.41737 14.8837 3.51666 14.9832C3.61595 15.0826 3.69463 15.2007 3.74819 15.3307C3.80174 15.4606 3.82912 15.5998 3.82875 15.7404ZM19.2084 13.1294L4.86 7.19318L19.2037 2.15879L33.5475 7.19318L19.2084 13.1294ZM37.7662 26.112H24.735V24.3692H37.7662V26.112ZM37.7662 22.6816H24.735V16.7388H37.7662V22.6816Z",fill:"var(--icon-base)"}),(0,a.createElement)("path",{d:"M7.32324 18.916L8.16699 19.4719C8.41637 19.6369 10.6457 21.0254 15.667 21.5654V17.7891C13.4114 17.5135 11.917 17.056 11.0732 16.7288V13.9622L7.32324 12.3994V18.916Z",fill:"var(--icon-accent)"}))}},5313:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"40",height:"31",viewBox:"0 0 40 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M32.1076 28.7996L31.7576 24.5162C31.5376 20.6621 26.8776 19.3933 23.7176 19.0022C23.7176 19.0022 23.0676 21.5207 20.0376 21.4062C17.0076 21.2822 16.3576 19.0022 16.3576 19.0022C13.1976 19.4029 8.53755 20.6621 8.31755 24.5162L7.96755 28.7996",stroke:"var(--icon-base)",strokeWidth:"2",strokeMiterlimit:"22.93"}),(0,a.createElement)("path",{d:"M25.7776 9.85317C27.5276 2.95588 20.6676 0.818954 17.1176 3.01311C12.5776 3.19437 12.1276 8.44128 12.8976 11.4368C13.3576 13.2112 13.1076 17.7617 12.5976 19.8605M15.4276 9.46204C13.2476 9.81502 13.9876 12.076 15.3976 12.076C15.9576 15.5389 17.1676 16.4261 19.9876 16.4261C22.9876 16.4261 23.9976 15.5389 24.6576 12.076C26.0876 12.1046 26.8576 9.79594 24.6276 9.46204C24.5276 8.74655 24.1676 8.04061 23.1176 8.03107C20.7976 8.01199 14.9676 10.2825 16.4676 4.81614",stroke:"var(--icon-base)",strokeWidth:"2",strokeMiterlimit:"22.93"}),(0,a.createElement)("path",{d:"M25.5478 11.7514C25.5478 12.3333 25.8578 13.3159 26.4678 13.8883C27.0778 14.4607 23.7078 14.8137 23.7078 14.8137",stroke:"var(--icon-base)",strokeWidth:"2",strokeMiterlimit:"22.93"}))}},5316:(e,t,r)=>{"use strict";r.d(t,{IC:()=>o,_h:()=>s,rb:()=>c,wE:()=>l});var a=r(2990);const n=e=>t=>Array.isArray(t)?t.includes(e):e===t,o=n(a.A.universityKey),s=n(a.A.validUniversityKey),l=()=>{const e=window.location.host;return"www.amdnet.com"===e||"amdnet.com"===e||"staging.amdnet.com"===e},i=o("hsf-com"),c=l()||i},5435:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(1609);const n={application:"SD_Thank_You_Page_Application",infomaterial:"SD_Thank_You_Page_Info_Material"},o=(e,t={})=>{(0,a.useEffect)((()=>{const r=n[e];if(r&&t.current){const e=t.current.closest(".is-root-container");e&&e.classList.add(r)}}),[e,t])}},5436:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(1225),i=r(8211),c=r(5651);const d=e=>t=>{class r extends n().Component{constructor(e){super(e),this.autoFillIfSingleValue=this.autoFillIfSingleValue.bind(this)}componentDidUpdate(t){e.forEach(this.autoFillIfSingleValue(t))}autoFillIfSingleValue(e){return({field:t,parentField:r,choices:a})=>{const n=this.props[t],o=this.props[r],s=this.props.choices[a];if(!n||!s)return;const l=e.choices[a],d=e[r],m=!o||o.input.value!==d.input.value,u=s!==l,p=1===s.length,h=!n.input.value,f=!o||!!o.input.value;if((m||u)&&p&&h&&f){const{storeState:e,dispatch:t,formName:r="application"}=this.props;if(r){const a=(0,i.A)(r)(e,"fieldAutofill");let o;
1o=Array.isArray(a)?[...a,n.input.name]:[n.input.name],t((0,c.Zg)(r,"fieldAutofill",o))}n.input.onChange(s[0])}}}render(){return(0,a.createElement)(t,{...this.props})}}return r.propTypes={choices:s().object,storeState:s().object.isRequired,dispatch:s().func.isRequired,formName:s().string,selectFormValue:s().func},(0,l.Ng)((e=>({storeState:e})))(r)}},5695:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a=r(8190).A.l10n},5739:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(1609),n=r(5556),o=r.n(n),s=r(7081);const l=(e=s.A)=>t=>{const r=r=>{const{name:n,customLabel:o,required:s}=r;let l="";if(r.label)l=r.label;else if(o&&e[o])l=e[o];else if(n){var i;l=null!==(i=e[n])&&void 0!==i?i:n}const c=l+(s&&r.labelUseAsterisk?" *":""),d=r.labelAsPlaceholder?{placeholder:r.placeholder||c}:{label:c};return(0,a.createElement)(t,{...r,...d})};return r.propTypes={name:o().string,label:o().string,required:o().bool,labelUseAsterisk:o().bool,labelAsPlaceholder:o().bool},r.defaultProps={labelAsPlaceholder:!0,labelUseAsterisk:!0},r}},5769:(e,t,r)=>{"use strict";r.d(t,{A:()=>a.A});var a=r(9234)},5912:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>p});var a=r(7729),n=r(2506),o=r(8229),s=r(1678),l=r(9465),i=r(5087),c=r(645),d=r(5692),m=r(7473),u=r(2076);const p=e=>{const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};(0,a.A)((0,l.A)(a.A),(0,n.A)((0,l.A)(o.A)),s.A)(["ä","Ä","ö","Ö","ü","Ü","ß"],["a","A","o","O","u","U","ss"]),(0,a.A)((0,c.A)("&"),(0,n.A)((([e,t])=>`${e}=${encodeURIComponent(t)}`)),(0,m.A)((([,e])=>!!e||!isNaN(parseInt(e,10)))),(0,d.A)((0,u.A)(0)),i.A)},6036:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var a=r(1609),n=r(5556),o=r.n(n),s=r(3203),l=r(3746),i=r(7913),c=r(2935),d=r(5695),m=r(2839),u=r(596);const p=({value:e})=>e,h=({label:e})=>e,f=({colors:e,spacing:t})=>({colors:e,spacing:t}),{formLabels:g}=d.A,A=({className:e="",touched:t,error:r,name:n="",label:o,required:i,value:c,isClearable:d=!0,backspaceRemovesValue:A=!1,formName:b,...v})=>{const y=o||g[n],E=t&&!!r&&!v.isDisabled,_=!!c,C=["dhsv_formcontrol_new_select",`field-${n.replace(/[^a-z0-9]/gi,"-")}`,c?"has-value":"",E?"has-error":"",v.isDisabled?"is-disabled":"",e].filter(Boolean).join(" ");return(0,u.jM)(b,n,E,r),(0,a.createElement)("div",{className:C},(0,a.createElement)(m.JU,{label:y,required:i,show:_,htmlFor:n}),(0,a.createElement)(l.Ay,{components:{DropdownIndicator:e=>(0,a.createElement)(a.Fragment,null,(e.hasValue||E)&&!v.isDisabled&&(0,a.createElement)(m.Jl,{isError:E,isLeft:!0}),(0,a.createElement)(s.F.DropdownIndicator,{...e}))},getOptionValue:p,getOptionLabel:h,...v,inputId:n,value:c,classNamePrefix:"select",backspaceRemovesValue:A,isClearable:d,theme:f}),(0,a.createElement)(m.QB,{show:E,text:r}))};A.propTypes={isClearable:o().bool,backspaceRemovesValue:o().bool,touched:o().bool,error:o().any,value:o().any,className:o().string,name:o().string};const b=({input:{onChange:e,onBlur:t,value:r,name:n},meta:{error:o,touched:s,form:l},...i})=>(0,a.createElement)(A,{error:o,onChange:e,onBlur:()=>t(),touched:s,value:r,name:n,formName:l,...i});b.propTypes={input:o().shape((0,c.A)(["onDragStart","onDrop"],i.nT)),meta:o().shape(i.sj)};const v=b},6460:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1092);const n=(0,r(5739).A)()(a.A)},6551:(e,t,r)=>{"use strict";r.d(t,{Ri:()=>A,TV:()=>f});var a=r(7729),n=r(9329),o=r(7428),s=r(7473),l=r(5345),i=r(5042),c=r(8483),d=r(2269),m=r(2506),u=r(6169),p=r(2392),h=r(369);const f=(e,t="",{maxAge:r=0,path:a="/"}={})=>{const n=r?";max-age="+r:"",o=`${e}=${encodeURIComponent(t)};path=${a}`+n;document.cookie=o},g=(0,a.A)((0,m.A)((([,e,t])=>[(0,h.A)(e),decodeURIComponent(t)])),(0,s.A)((0,a.A)((0,c.A)(3),i.A)),(0,m.A)((0,o.A)(/([^=]+)=(.*)/)),(0,n.A)(";")),A=e=>(0,a.A)(d.A,(0,u.A)([]),(0,l.A)((([t])=>t===e)),g)(document.cookie);(0,a.A)(p.A,(0,c.A)(void 0),A)},6570:e=>{"use strict";e.exports=JSON.parse('[{"art":"Bachelor","ects":"180","modell":18,"price":395,"isShort":true},{"art":"Bachelor","ects":"180","modell":24,"price":349,"isShort":true},{"art":"Bachelor","ects":"180","modell":36,"price":259,"isShort":true},{"art":"Bachelor","ects":"180","modell":36,"price":395},{"art":"Bachelor","ects":"180","modell":48,"price":349},{"art":"Bachelor","ects":"180","modell":72,"price":259},{"art":"Master","ects":"60","modell":12,"price":695},{"art":"Master","ects":"60","modell":18,"price":545},{"art":"Master","ects":"60","modell":24,"price":455},{"art":"Master","ects":"90","modell":18,"price":695},{"art":"Master","ects":"90","modell":24,"price":545},{"art":"Master","ects":"90","modell":36,"price":405},{"art":"Master","ects":"120","modell":24,"price":549},{"art":"Master","ects":"120","modell":36,"price":410},{"art":"Master","ects":"120","modell":48,"price":329}]')},6688:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,T:()=>d});var a=r(22),n=r(2990);const o={isLoading:!1,isLoaded:!1,choices:{},error:null},s="dhsv/hsf001/formChoicesLeadDeStipendium/LOAD_FORM_CHOICES",l="dhsv/hsf001/formChoicesLeadDeStipendium/LOAD_FORM_CHOICES_SUCCESS",i="dhsv/hsf001/formChoicesLeadDeStipendium/LOAD_FORM_CHOICES_FAILURE",c=(e=o,t)=>{const{type:r,error:a,choices:n}=t;switch(r){case s:return{...e,isLoading:!0};case l:return{...e,isLoading:!1,isLoaded:!0,choices:n};case i:return{...e,isLoading:!1,error:a};default:return e}},d=()=>(e,t)=>t().formChoicesLeadDeStipendium.isLoaded?Promise.resolve():(e({type:s}),Promise.all([fetch((0,a.b)("WebsiteLeadDeStipendium",{gruppe:n.A?.sfParam
1s?.gruppe||["hsf","olp"],info:["antragsarten","geschlechter","elternhaeuser","fachbereiche","studienorte"]}),{method:"GET"})]).then((e=>(e.forEach((e=>{if(!e.ok||200!==e.status)throw new Error(e.statusText)})),Promise.all(e.map((e=>e.json())))))).then((t=>{const r={...t[0]};return e({choices:r,type:l}),t})).catch((t=>{e({error:t.message,type:i})})))},6801:(e,t,r)=>{"use strict";r.d(t,{Dx:()=>T,TZ:()=>$,ln:()=>O,A:()=>P});var a=r(7729),n=r(1587),o=r(5087),s=r(2506),l=r(8058),i=r(8483),c=r(7473),d=r(2076),m=r(8038),u=r(2460),p=r(3291),h=r(5692),f=r(1967),g=r(2787),A=r(5345),b=r(7631),v=r(6169),y=r(5395),E=r(7428),_=r(3322),C=r(2325),S=r(8211),w=r(3691),L=r(6374),N=r(7361),k=r(5393);const F={a0jD0000004hlUYIAY:3,a0jD0000004hlUZIAY:2,a0jD0000004hlScIAI:1},x={laender:{a0fD000000HRfBvIAL:3,a0fD000000HRfBwIAL:2,a0fD000000HRfDrIAL:1},staatsangehoerigkeiten:F,staatsangehoerigkeiten2:F,staatsangehoerigkeiten_eu:F,staatsangehoerigkeiten2_eu:F};var D=r(1109),M=r(5316),I=r(3072);const T={art:"arten",studiengang:"studiengaenge",form:"formen",standort:"standorte",start:"starts",modelle:"modelle",kampagne:"kampagnen"},P=/_([a-zA-Z]{2}\d{4})_/,z=N.dy?(0,c.A)((0,_.A)([...N.a5?(0,s.A)((e=>(0,a.A)((0,L.s4)(e),(0,d.A)("code_ohne_semester"))))(N.Yr):[],...N.V5?(0,s.A)((e=>(0,a.A)((0,p.A)(new RegExp(`_${e}$`)),(0,d.A)("code_ohne_semester"))))(N.PJ):[]])):f.A,$=(0,l.A)(((e,t)=>(0,a.A)((e=>{const t=x[e];return t?(0,k.A)(((e,r)=>{const a=t[e.value]||0;return(t[r.value]||0)-a})):f.A})(e),"produkte"===e?(0,h.A)((0,d.A)("studiengang")):f.A,(0,s.A)((([t,r])=>"produkte"===e?{...r,label:`${r.studiengang} - ${r.form} - ${r.start}`,value:r.code}:"kampagnen"===e?{...r,label:`${r.titel_des_events} ${r.datum_start} ${r.uhrzeit_start}`,value:t}:{label:r,value:t})),"kampagnen"===e&&"true"===new URLSearchParams(window.location.search).get("filter-closed-campaigns")?(0,c.A)((([,{anmeldung:e="1",max_anzahl_angemeldet:t=""}])=>!(e<1&&t>0))):f.A,o.A,"produkte"===e?z:f.A,(0,n.A)({},["choices",e]))(t))),O=(e,t)=>{const r=(0,C.Mz)(t,$("produkte"));const o=(0,S.A)(e),l=e=>(0,C.Mz)((t=>o(t,e)),(e=>e?e.value:"")),h=e=>t=>(0,C.Mz)(e,l(t),((e,r)=>r&&e?(0,c.A)((e=>e[t]===r))(e):e)),f=h(r)("form"),_=h(f)("art"),k=h(_)("studiengang"),F=h(k)("standort"),x=h(F)("start"),O=e=>r=>(0,C.Mz)((0,C.Mz)(e,(0,a.A)(u.A,(0,s.A)((0,d.A)(r)))),(0,C.Mz)(t,(0,n.A)({},["choices",T[r]])),((e,t)=>((0,M.IC)("hsf-com")&&"art"===r&&(e=e.sort()),(0,s.A)((e=>({value:e,label:t[e]?t[e]:e})))(e)))),R=O(r)("form"),V=O(f)("art"),H=O(_)("studiengang"),q=O(k)("standort"),B=O(F)("start"),U=(0,C.Mz)(l("art"),l("studiengang"),l("form"),l("standort"),l("start"),l("modelle"),((e,t,r,a,n)=>!!(e&&t&&r&&a&&n))),j=(0,C.Mz)(x,U,((e,t)=>t?e[0]:null)),Z=(0,C.Mz)(j,(e=>e?e.code:"")),W=(0,C.Mz)(x,(e=>e&&e.length>0?e[0].code_ohne_semester:"")),K=(0,C.Mz)(Z,(0,a.A)((0,v.A)(""),(0,y.A)(1),(0,E.A)(P),(0,v.A)(""))),Y=(0,C.Mz)(j,(0,a.A)((0,v.A)(""),(0,d.A)("art"))),G=(0,C.Mz)(j,(0,a.A)((0,v.A)(""),(0,d.A)("form"))),Q=(0,C.Mz)(j,(0,a.A)((0,v.A)(""),(0,d.A)("standort"))),J=(0,C.Mz)(j,(0,a.A)((0,i.A)("1"),(0,d.A)("nur_eu"))),X=(0,C.Mz)(j,(e=>!!e)),ee=(0,C.Mz)(Z,(0,p.A)(/_(Bac|Mas)_/)),te=N.Cu?"a0f9E000005E5a2QAC":"a0fD000000HRfBvIAL",re=(0,C.Mz)(t,(({choices:{laender:e}})=>({label:e[te],value:te}))),ae=(0,C.Mz)(re,(e=>({priorStudyDetails:[{}],...(0,M.IC)("hsf-com")?{}:{country:e}}))),ne=(0,C.Mz)(t,(e=>e.choices)),oe=(0,C.Mz)(ne,(({produkte:e})=>z(e))),se=()=>(0,L.DU)()||(0,w.w)("prefill"),le=(0,C.Mz)(L.xN),ie=(0,C.Mz)(se,L.YD),ce=(0,C.Mz)(L.lO,b.A),de=(0,C.Mz)(ie,(e=>["form","art","studiengang",...e||(0,M.IC)("fox")?["standort"]:[],...(0,M.IC)("fox")?["start"]:[]])),me=(0,C.Mz)(de,(e=>["art","studiengang","standort","start","modell"].filter((t=>-1===e.findIndex((e=>e===t)))))),ue=(0,C.Mz)(de,(e=>["standort","start","modell"].filter((t=>-1===e.findIndex((e=>e===t)))))),pe=(0,C.Mz)(oe,ce,((e,t)=>t?(0,a.A)((0,A.A)((0,a.A)((e=>0===e.indexOf(t)),b.A,(0,d.A)("code_ohne_semester"))),g.A)(e):null)),he=(0,C.Mz)(oe,se,((e,t)=>(0,a.A)((0,A.A)((0,a.A)((0,L.s4)(t),(0,d.A)("code_ohne_semester"))),g.A)(e))),fe=(0,C.Mz)(he,pe,((e,t)=>e||t)),ge=(0,C.Mz)(t,(0,d.A)("isLoaded")),Ae=(0,C.Mz)(t,(0,d.A)("isLoading")),be=(0,C.Mz)(t,(0,d.A)("error")),ve=(0,C.Mz)(j,(e=>!!e&&"1"===e.ohne_anschrift)),ye=(0,C.Mz)(ve,(e=>o(e,"infomaterialSnailMail")),((e,t)=>t&&!e)),Ee=(0,C.Mz)(l("form"),(e=>["Berufsbegleitend","Vollzeit","Extra-occupational / part-time","Full time"].includes(e))),_e=(0,C.Mz)(ve,j,((e,t)=>!!t&&!e)),Ce=(0,C.Mz)(j,(0,a.A)((0,m.A)("studynet","1"),(0,v.A)({}))),Se=(0,C.Mz)(l("art"),(e=>e===I.F.PREPARATION_COURSE)),we=(0,C.Mz)(l("foerderung"),Boolean),Le=(0,C.Mz)((e=>o(e,"mobile")),(e=>!!e)),Ne=e===D.W7,ke=(0,C.Mz)((e=>o(e,"prefillProduktSuccess")),(e=>!(!e||!Ne||N.dy||!N.QS&&!N.vZ))),Fe=(0,C.Mz)(ke,de,((e,t)=>
1e?t:[]));return{formName:e,sArten:V,sFormen:R,sStudiengaenge:H,sStandorte:q,sStarts:B,sShouldHideForm:(0,C.Mz)(Fe,(e=>e.includes("form"))),sShouldHideArt:(0,C.Mz)(Fe,(e=>e.includes("art"))),sShouldHideStudiengang:(0,C.Mz)(Fe,(e=>e.includes("studiengang"))),sShouldHideStandort:(0,C.Mz)(Fe,(e=>e.includes("standort"))),sProdukt:j,sProductcode:Z,sProductcodeOhneSemester:W,sSemesterKurz:K,sArt:Y,sForm:G,sStandort:Q,sProduktIstStudium:ee,sProduktIstFernstudium:(0,C.Mz)(G,(e=>["Fernstudium","Blended Learning"].includes(e))),sIstNurEuProdukt:J,sHasProdukt:X,sInitialValuesApplication:ae,sProdukte:r,sProdukteByStart:x,sPrefillChoices:ne,sPrefillProdukte:oe,sPrefillProdukt:fe,sPrefillForm:le,sPrefillFields:de,sPrefillFormClearFields:me,sPrefillProduktClearFields:ue,sInfomaterialSnailMail:ye,sInfomaterialShouldShowSnailMailFields:_e,sInfomaterialShouldShowStudynetField:Ce,sInfomaterialShouldShowCountryField:Ee,sInfomaterialShouldShowSKNRWFields:Se,sChoicesLoaded:ge,sChoicesLoading:Ae,sChoicesError:be,sShouldShowFoerderungArt:we,shasMobileNumber:Le,mksValue:l,mksFilteredBy:h,mksFormChoicesFiltered:O,selectFormValue:o}}},6804:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(1609),n=r(5556),o=r.n(n);const s=e=>t=>{const r=r=>{const{name:n,required:o}=r,s="boolean"==typeof o?o:e.includes(n);return(0,a.createElement)(t,{required:s,...r})};return r.propTypes={name:o().string,required:o().bool},r}},6943:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(1609),n=r(5695),o=r(8190);const s=()=>{const{options:{hsf012forms_form_hint:e=""}}={options:{},...o.A}||{};return(0,a.createElement)("div",{className:"dhsv_form_meta"},!!e&&(0,a.createElement)("p",{dangerouslySetInnerHTML:{__html:e}}),(0,a.createElement)("p",null,n.A.FormFooter.required))}},7081:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(5695),n=r(8190);const o={...a.A.SknrwApplicationForm.fields,...a.A.SknrwContactForm.fields,...a.A.formLabels},s=n.A?.options||{},l={newsletter:"newsletter_checkbox_label",whatsapp:"whatsapp_checkbox_label",consent:"consent_checkbox_label"},i=(()=>{const e={};return Object.entries(l).forEach((([t,r])=>{e[t]=s[r]||o[t]})),{...o,...e}})()},7096:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(1428);class i extends n().Component{render(){const{children:e,className:t,type:r,bootstrapBtn:n}=this.props,o=(0,l.A)(["data-hover","data-submitting-label","disabled","onClick","style","title","type"],this.props);return(0,a.createElement)("button",{className:`dhsv_formcontrol_new_button btn btn-${n} ${t||""}`,type:r||"button",...o},e)}}i.propTypes={children:s().node,className:s().string,"data-hover":s().string,disabled:s().bool,onClick:s().func,style:s().object,title:s().string,type:s().string,bootstrapBtn:s().oneOf(["primary","danger","info","warning","default"])},i.defaultProps={bootstrapBtn:"primary"};const c=i},7298:(e,t,r)=>{"use strict";r.d(t,{A:()=>a.A});var a=r(7945)},7361:(e,t,r)=>{"use strict";r.d(t,{Cu:()=>n,Ov:()=>o,PJ:()=>m,QS:()=>c,V5:()=>p,Yr:()=>d,a5:()=>u,dy:()=>h,kL:()=>l,vZ:()=>i,vz:()=>s,xf:()=>f});var a=r(8190);const n=!1,o="https://hs-fresenius.my.salesforce-sites.com/services/apexrest",s="dd.LL.yyyy",l="yyyy-LL-dd",i=document.body.classList.contains("single-paid-landingpage"),c=(a.A.currentWebsitecode&&a.A.prefillProductcode,document.body.classList.contains("single-studium")||document.body.classList.contains("single-aus-weiterbildung")),d=a.A.formProductCodes,m=a.A.formFormats,u=d&&d.length>0,p=m&&m.length>0,h=u||p,f=a.A.bzgkCodes},7377:(e,t,r)=>{"use strict";r.d(t,{c:()=>y,r:()=>v});var a=r(3875),n=r(1472),o=r(5087),s=r(4209),l=r(2506),i=r(7729),c=r(2935),d=r(5507),m=r(1126),u=r(2415),p=r(2051),h=r(596);const{destroy:f}=n.A,g=(0,i.A)((0,s.A)([["_server_error","Der Server antwortete mit einem Fehler:"]]),(0,l.A)((([e,t])=>["_server_error validation",`${e}: ${t}`])),o.A),A=()=>({host:window.location.hostname,page_url:window.location.origin+window.location.pathname}),b=e=>e?String(e).replace(/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g,"[email]").replace(/\+?[\d\s\-()]{7,}/g,"[phone]").slice(0,200):null,v=({formName:e,url:t,data:r,successType:n,failureType:o,rawBody:s=!1,rawContentType:l="application/pdf"})=>i=>{i({type:u.fq});const c=Date.now();return(0,h.rS)("LeadFormSubmit",{...A(),form_name:e,submit_timestamp:(new Date).toISOString()}),fetch(t,{method:"POST",body:s?r:(0,p.u4)(r),headers:{"Content-Type":s?l:"application/x-www-form-urlencoded; charset=utf-8"}}).catch((t=>{throw(0,h.rS)("LeadFormFailure",{...A(),form_name:e,failure_type:"network_hard",error_message:b(t.message),latency_ms:Date.now()-c}),i({meta:{data:r,error:t,reason:"network error (no response)"},type:o}),i({type:u.M4,message:t.message}),t})).then((t=>{if(![200,400].includes(t.status)){const a=t.statusText||t.status;throw(0,h.rS)("LeadFormFailure",{...A(),form_name:e,failure_type:"server_error",http_status:t.status,error_message:b(a),latency_ms:Date.now()-c}),i({meta:{data:r,response:t,reason:"network error (with response)"},type:o}),i({type:u.M4,message:a}),new Error(a)}return t.json().then((s=>{if("ok"!==s.status)throw(0,h.rS)("LeadFormFailure",{...A(),form_name:e,failure_type:"validation_or_rejection",http_status:t.status,error_message:b(s.message||s.error||null),latency_ms:Date.now()-c}),i({meta:{data:r,reason:"validation",response:t,json:s},type:o}),new a.n({_error:g(s)});return(0,h.rS)("LeadFormSuccess",{...A(),form_name:e,latency_ms:Date.now()-c}),i({meta:{data:r,response:t,json:s},type:n}),i(f(e)),{response:t,json:s}}))})).finally((()=>{(0,h.rS)("SalesforceLatency",{...A(),form_name:e,latency_ms:Date.now()-c})}))},y=(0,i.A)((0,d.A)(0,5e3),(e=>JSON.stringify(e)),(0,m.A)("browserInfos",{userAgent:navigator.userAgent,referrer:document.referrer,href:window.location.href,historyLength:window.history.length,date:(new Date).toString()}),(0,c.A)(["description","priorStudyDetails"]))},7758:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var a=r(1609),n=r(5556),o=r.n(n),s=r(7913),l=r(2026),i=r(2839),c=r(5695),d=r(603),m=r.n(d),u=r(4183),p=r.n(u);const h=({countryOptionsOrder:e=[],defaultCountry:t,separateDialCode:r=!1,className:n,label:o="",placeholder:s="",showPlaceholder:l=!0,name:i,onBlur:c,required:d,value:u,...h})=>{const f=(0,a.useRef)(),g=(0,a.useRef)(),A=(0,a.useRef)(""),b=/^[0-9+\-\s]*$/;return(0,a.useEffect)((()=>{let a;if(f.current){g.current=m()(f.current,{utilsScript:"intl-tel-input/build/js/utils.js",initialCountry:t,nationalMode:!1,formatAsYouType:!1,useFullscreenPopup:!1,countrySearch:!1,preferredCountries:e,separateDialCode:r});const n=g.current?.getSelectedCountryData?.()||{};A.current=n?.dialCode?String(n.dialCode):"";const o=f.current;a=()=>{try{const e=g.current?.getSelectedCountryData?.()||{};let t="";e&&e.dialCode&&(t=String(e.dialCode));const r=o.value||"",a=(r||"").replace(/^\+/,"").replace(/[^\d]/g,""),n=A.current||"";let s=a;n&&a.startsWith(n)?s=a.slice(n.length):t&&a.startsWith(t)&&(s=a.slice(t.length));const l=(t||"")+(s||""),i=l?`+${l}`:"";i!==r&&h.onChange(i),A.current=t}catch(e){}},o.addEventListener("countrychange",a)}return()=>{f.current&&a&&f.current.removeEventListener("countrychange",a),g.current.destroy()}}),[f]),(0,a.createElement)("div",null,(0,a.createElement)("input",{ref:f,onChange:()=>{h.onChange(g.current.getNumber(p()?.numberFormat?.E164))},onKeyDown:e=>{e.isComposing||["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Tab","Enter","Escape"].includes(e.ke
1y)||(e.ctrlKey||e.metaKey)&&/^(a|c|v|x|z|y)$/i.test(e.key)||e.key&&1===e.key.length&&!b.test(e.key)&&e.preventDefault()},onBeforeInput:e=>{e.isComposing||e.inputType?.startsWith("delete")||e.data&&!b.test(e.data)&&e.preventDefault()},onPaste:e=>{const t=e.clipboardData?.getData("text")||"";b.test(t)||e.preventDefault()},placeholder:`${o}${d?" *":""} ${l&&s?"( "+s+" )":""}`,className:n,name:i,onBlur:c,required:d,value:u,type:"tel",inputMode:"tel",pattern:"[0-9+\\-\\s]*",id:i}))};var f=r(596),g=r(5316);const{formLabels:A}=c.A,b=({error:e,touched:t,formName:r,...n})=>{const o=!!n.value,s=t&&!!e,l=n.label||A[n.name]||"";(0,f.jM)(r,n?.name,s,e);let c="de";return(0,g.IC)("uos")&&(c="at"),(0,a.createElement)("div",{className:`dhsv_formcontrol_phonefield type-${n.type} ${n.className} ${t&&e?"has-error":""} ${n.value?"has-value":""} ${n.isDisabled?"is-disabled":""}`},l&&(0,a.createElement)(i.JU,{label:l,required:n.required,show:o,htmlFor:n.name}),(0,a.createElement)(h,{...n,defaultCountry:c,countryOptionsOrder:["de","ch","at"]}),(s||o)&&!n.isDisabled&&(0,a.createElement)(i.Jl,{isError:s,isLeft:!0}),(0,a.createElement)(i.QB,{show:s,text:e}))};b.propTypes={error:o().string,label:o().node,touched:o().bool};
1const v=(0,l.A)(b),y=({input:{name:e,onChange:t,value:r,onBlur:n},meta:{error:o,touched:s,form:l},...i})=>(0,a.createElement)(v,{name:e,error:o,onChange:t,onBlur:n,touched:s,value:r,formName:l,...i});y.propTypes={input:o().shape(s.nT),meta:o().shape(s.sj)};const E=y},7945:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(1428);class i extends n().Component{render(){const{children:e,className:t,type:r,bootstrapBtn:n}=this.props,o=(0,l.A)(["data-hover","data-submitting-label","disabled","onClick","style","title","type"],this.props);return(0,a.createElement)("button",{className:`dhsv_formcontrol_button btn btn-${n} ${t||""}`,type:r||"button",...o},e)}}i.propTypes={children:s().node,className:s().string,"data-hover":s().string,disabled:s().bool,onClick:s().func,style:s().object,title:s().string,type:s().string,bootstrapBtn:s().oneOf(["primary","danger","info","warning","default"])},i.defaultProps={bootstrapBtn:"primary"};const c=i},8180:(e,t,r)=>{"use strict";r.d(t,{A:()=>p,h:()=>f});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(7913),i=r(1428),c=r(1967),d=r(2026);class m extends n().Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange({target:{value:e}}){const{maxLength:t,onChange:r}=this.props;return r(t?e.slice(0,t):e)}render(){const{InputComponent:e,...t}=this.props;if(e)return(0,a.createElement)(e,{...t});const r=(0,i.A)(["name","disabled","onClick","onBlur","placeholder","readOnly","value"],this.props);return this.props.multiline?(0,a.createElement)("textarea",{...r,onChange:this.handleChange}):(0,a.createElement)("input",{...r,onChange:this.handleChange,type:"text"})}}m.defaultProps={maxLength:0,onChange:c.A},m.propTypes={disabled:s().bool,multiline:s().bool,onChange:s().func,onClick:s().func,placeholder:s().string,readOnly:s().bool,value:s().oneOfType([s().string,s().number]),InputComponent:s().func,maxLength:s().number};const u=({error:e,label:t,touched:r,...n})=>(0,a.createElement)("div",{className:`dhsv_formcontrol_textfield ${r&&e?"has-error":""} ${n.value?"has-value":""}`},t&&(0,a.createElement)("label",null,t),(0,a.createElement)(m,{...n}));u.propTypes={error:s().string,label:s().node,touched:s().bool};
1const p=(0,d.A)(u),h=({input:{name:e,onChange:t,value:r,onBlur:n},meta:{error:o,touched:s},...l})=>(0,a.createElement)(p,{name:e,error:o,onChange:t,onBlur:n,touched:s,value:r,...l});h.propTypes={input:s().shape(l.nT),meta:s().shape(l.sj)};const f=h},8210:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1609),n=r(7096),o=r(5316),s=r(5695);const{forms:{next:l,cancel:i,submitting:c}}=s.A,d=({isSubmitting:e=!1,invalid:t=!1,isActiveStep:r=!0,previousStep:s,nextLabel:d=l,submittingLabel:m=c,cancelLabel:u=i,showCancelButton:p=!0})=>{const h=(0,o.IC)("oncampus");return r?(0,a.createElement)("div",{className:"buttons form-buttons"},p&&(0,a.createElement)(n.A,{className:"cancel-button",onClick:s},u),(0,a.createElement)(n.A,{className:"next-step submitbutton"+(e?" submitting":""),type:"submit",disabled:t||!r},(0,a.createElement)("span",{className:"button-label"},e?m:d),(0,a.createElement)("span",{className:"arrow-icon "+(h?"as-arrow":"as-chevron")},h&&(0,a.createElement)("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M1.44434 10.002H17.3097",stroke:"currentColor",strokeWidth:"2.14719",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.createElement)("path",{d:"M10.8203 3.51172L17.3107 10.0021L10.8203 16.4925",stroke:"currentColor",strokeWidth:"2.14719",strokeLinecap:"round",strokeLinejoin:"round"}))))):null}},8674:(e,t,r)=>{"use strict";r.d(t,{A:()=>w,n:()=>S});var a=r(8620),n=r(1225),o=r(8211),s=r(2325),l=r(7729),i=r(1343),c=r(1109),d=r(3072),m=r(5316);const{sProduktIstStudium:u,sInitialValuesApplication:p,sIstNurEuProdukt:h,sHasProdukt:f,sProdukt:g}=i.formSelectors,A=e=>t=>(0,o.A)(c.lV)(t,e),b=e=>!(!e||!e.value),v=(0,s.Mz)(A("priorProf"),b),y=(0,s.Mz)(A("form"),(e=>!!e&&"Fernstudium"!==e.value)),E=(0,s.Mz)(A("priorStudy"),b),_=(0,s.Mz)(A("priorStudyDetails"),((e=[])=>e.some((({land:e={value:""}})=>["a0fD000000HRfBvIAL","a0f9E000005E5a2QAC"].includes(e?.value))))),C=(0,s.Mz)(A("art"),(e=>!!e&&e.value===d.F.PREPARATION_COURSE)),S=e=>(0,n.Ng)((e=>({useExtraFieldsProf:(0,m.IC)(["hsf-com","amd-com"])&&v(e),useExtraFieldsStudy:E(e),useExtraFieldsStudyGermany:_(e),useExtraFieldsNoFernstudium:y(e),useExtraFieldsSKNRW:C(e),produktIstStudium:u(e),initialValues:p(e),istNurEuProdukt:h(e),hasProdukt:f(e),ErgebnisProdukt:g(e)})))(e),w=e=>(0,l.A)(S,((e=()=>({}))=>t=>(0,a.A)({form:c.lV,validate:e,destroyOnUnmount:!1,forceUnregisterOnUnmount:!0})(t))(e))},8975:(e,t,r)=>{"use strict";r.d(t,{A:()=>g,T:()=>v});var a=r(5176),n=r(2506),o=r(7729),s=r(7473),l=r(7361),i=r(5695),c=r(8190),d=r(22),m=r(5316);const u={isLoading:!1,isLoaded:!1,choices:{},error:null},p="dhsv/hsf001/formChoicesLead/LOAD_FORM_CHOICES",h="dhsv/hsf001/formChoicesLead/LOAD_FORM_CHOICES_SUCCESS",f="dhsv/hsf001/formChoicesLead/LOAD_FORM_CHOICES_FAILURE",g=(e=u,t)=>{const{type:r,error:a,choices:n}=t;switch(r){case p:return{...e,isLoading:!0};case h:return{...e,isLoading:!1,isLoaded:!0,choices:n};case f:return{...e,isLoading:!1,error:a};default:return e}},A=(0,o.A)(a.A,(0,n.A)((e=>[e.salesforceId,e])),(0,s.A)((({anmeldung:e,max_anzahl_angemeldet:t})=>e>0||t>0)));let b;const v=e=>t=>{if(b)return b;t({type:p});const r=c.A.options.offer_all_languages||(0,m.IC)("sknrw")||"en"!==i.A.lang?void 0:"Englisch",a=(0,m.IC)("bzgk")?l.xf:void 0,n=[fetch((0,d.b)("WebsiteLead",{code:a,info:["arten","formen","sprachniveaus","studiengaenge","standorte","starts","anreden"],sprache:r}),{method:"GET"}),fetch((0,d.b)("WebsiteLead",{code:a,info:"produkte",sprache:r}),{method:"GET"}),fetch((0,d.b)("WebsiteKampagne"),{method:"GET"}),fetch((0,d.b)("WebsiteBewerbung",{info:"laender",sprache:r}),{method:"GET"})];return(0,m.IC)("hsf-com")&&n.push(fetch((0,d.b)("WebsiteBewerbung",{gruppe:"sknrw",info:["studiengaenge"]}),{method:"GET"}),fetch((0,d.b)("WebsiteBewerbung",{gruppe:"sknrw",info:"produkte"}),{method:"GET"})),b=Promise.all(n).then((e=>(e.forEach((e=>{if(!e.ok||200!==e.status)throw new Error(e.statusText)})),Promise.all(e.map((e=>e.json())))))).then((r=>{e&&r[2]&&(r[2]=r[2].filter((t=>t.veranstaltungsart===e)));const a={...r[0],produkte:r[1],kampagnen:A(r[2]),...r[3]};return(0,m.IC)("hsf-com")&&(a.studiengange={...a.studiengange,...r[4].studiengaenge},a.produkte={...a.produkte,...r[5]}),t({choices:a,type:h}),r})).catch((e=>{t({error:e.message,type:f})})),b}},9030:(e,t,r)=>{"use strict";r.d(t,{A:()=>a.A});var a=r(7758)},9230:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Pe});
1var a=r(3010),n=r(8238),o=r(1225),s=r(8620),l=r(7377),i=r(7361),c=r(596),d=r(2051),m=r(6801),u=r(1109),p=r(5695),h=r(5316);const f={Erstantrag:"First-time application",Folgeantrag:"Renewal application",weiblich:"female",männlich:"male",divers:"diverse","keine Angabe":"prefer not to say",Ja:"Yes",Nein:"No",Teilweise:"Partially","Chemie & Biologie":"Chemistry & Biology",Design:"Design","Gesundheit & Soziales":"Health & Social Sciences","Wirtschaft & Medien":"Economics & Media",Fernstudium:"Distance Learning",Berlin:"Berlin",Braunschweig:"Braunschweig",Düsseldorf:"Dusseldorf",Frankfurt:"Frankfurt",Hamburg:"Hamburg",Idstein:"Idstein",Köln:"Cologne",München:"Munich","Online-Campus":"Online-Campus",Wiesbaden:"Wiesbaden"},g=e=>{const t={};for(const[a,n]of Object.entries(e)){t[a]={};for(const[e,o]of Object.entries(n)){var r;t[a][e]=null!==(r=f[e])&&void 0!==r?r:o}}return t},A=e=>{const t=e.formChoicesLeadDeStipendium;return"en"===p.A.lang&&(0,h.IC)("hsf-com")&&t.choices?{...t,choices:g(t.choices)}:t},b=(0,m.ln)(u.au,A),v=e=>t=>{const{antragsart:r,vorname:a,nachname:n,matrikelnummer:o,geschlecht:s,geburtsdatum:m,staatsangehoerigkeit:p,strasse:h,plz:f,ort:g,land:A,telefon:b,email:v,elternhaus:y,fachbereich:E,studienfach:_,studienort:C,berufsbegleitend:S,abschlussnoteStudium:w,abschlussnoteSchulabschluss:L,fachsemester
1:N,hochschulsemester:k,endeRegelstudienzeit:F,ects:x,ectsDurchschnittsnote:D,bafoeg:M,foerderung:I,foerderungArt:T,anhaenge:P}=(0,d.qY)(e),z={antragsart:r,vorname:a,nachname:n,matrikelnummer:o,geschlecht:s,geburtsdatum:(0,d.Ut)(m),staatsangehoerigkeit:p,strasse:h,plz:f,ort:g,land:A,telefon:b,email:v,elternhaus:y,fachbereich:E,studienfach:_,studienort:C,berufsbegleitend:S,abschlussnoteStudium:w,abschlussnoteSchulabschluss:L,fachsemester:N,hochschulsemester:k,endeRegelstudienzeit:F,ects:x,ectsDurchschnittsnote:D,bafoeg:M,foerderung:I,foerderungArt:T,...(0,c.lx)()};t({type:"dhsv/hsf001/deStipendiumForm/SUBMIT_FORM",meta:{requestData:z}});const $=(0,d.u4)(z);return t((0,l.r)({formName:u.au,url:`${i.Ov}/WebsiteLeadDeStipendium?${$}`,data:P,successType:"dhsv/hsf001/deStipendiumForm/SUBMIT_FORM_SUCCESS",failureType:"dhsv/hsf001/deStipendiumForm/SUBMIT_FORM_FAILURE",rawBody:!0})).then((()=>{}))};var y=r(1609),E=r.n(y),_=r(5556),C=r.n(_),S=r(2594),w=r(2708),L=r(7913),N=r(336);const{DeStipendiumForm:{success:k}}=p.A;var F=r(9239),x=r(2325);const D=({errors:e})=>(0,y.createElement)("div",{className:"hsf012forms_validation_messages "+(e.length?"has-errors":"")},e.map((([e,t],r)=>(0,y.createElement)("p",{key:r,className:`error field_${e}`},t))));D.propTypes={errors:C().arrayOf(C().arrayOf(C().string))};const M=D,I=(0,x.Mz)((e=>e.form[u.au]&&e.form[u.au].fields),(e=>!(!e.form[u.au]||!e.form[u.au].submitFailed)),((e,t)=>t.error),((e,t,r)=>e&&Array.isArray(r)?r.filter((([r])=>r.includes("_server_error")||t||e&&e[r]&&e[r].touched)):[])),T=(0,o.Ng)(((e,t)=>({errors:I(e,t)})))(M);var P=r(7945),z=r(9397),$=r(6460),O=r(6804),R=r(2990);const V={cfh003:["fachbereich","berufsbegleitend","elternhaus"]},H=["antragsart","vorname","nachname","matrikelnummer","geschlecht","geburtsdatum","staatsangehoerigkeit","strasse","plz","ort","land","telefon","email","elternhaus","fachbereich","studienfach","studienort","berufsbegleitend","abschlussnoteSchulabschluss","fachsemester","hochschulsemester","endeRegelstudienzeit","ects","ectsDurchschnittsnote","bafoeg","foerderung","anhaenge","de-stipendium-confirmation1","de-stipendium-confirmation2"].filter((e=>!(V[R.A.validUniversityKey]||[]).includes(e))),q=(0,O.A)(H)($.A),B=(0,z.A)(A)(q);var U=r(3746),j=r(2935);const Z=({value:e})=>e,W=({label:e})=>e,K=({colors:e,spacing:t})=>({colors:e,spacing:t}),Y=({value:e,isClearable:t=!1,backspaceRemovesValue:r=!1,placeholder:a,...n})=>(0,y.createElement)(U.Ay,{getOptionValue:Z,getOptionLabel:W,placeholder:a||"-",...n,value:e,classNamePrefix:"select",backspaceRemovesValue:r,isClearable:t,theme:K});Y.propTypes={isClearable:C().bool,backspaceRemovesValue:C().bool,placeholder:C().string,value:C().any};const G=({className:e,error:t,label:r,name:a,touched:n,value:o,...s})=>(0,y.createElement)("div",{className:`dhsv_formcontrol_select field-${a.replace(/[^a-z0-9]/gi,"-")} ${s.value?"has-value":""} ${n&&t?"has-error":""} ${e||""}`},r&&(0,y.createElement)("label",{htmlFor:`field-${a}`},r),(0,y.createElement)(Y,{id:`field-${a}`,name:a,value:o,...s}));G.propTypes={className:C().string,error:C().string,label:C().node,name:C().string,touched:C().bool,value:C().any};const Q=({input:{onChange:e,onBlur:t,value:r,name:a},meta:{error:n,touched:o},...s})=>(0,y.createElement)(G,{error:n,onChange:e,onBlur:()=>t(),touched:o,value:r,name:a,...s});Q.propTypes={input:C().shape((0,j.A)(["onDragStart","onDrop"],L.nT)),meta:C().shape(L.sj)};const J=Q;var X=r(9906),ee=r(9030),te=r(6943),re=r(8180),ae=r(1663),ne=r(456);const{SelectYesNo:{yes:oe,no:se,pleaseSelect:le}}=p.A,ie=[{label:oe,value:1},{label:se,value:0}],ce=e=>{const t=e.label||e.placeholder,r=`SelectYesNo-${e.name}`,a={...e,isClearable:!1,options:ie,inputId:r,className:"select-yes-no",placeholder:le+(e.required&&!e.labelUseAsterisk?" *":"")};return t?(0,y.createElement)("label",{className:"dhsv_formcontrol_select_yes_no",htmlFor:r},(0,y.createElement)(G,{...a}),t):(0,y.createElement)(G,{...a})};ce.propTypes={label:C().string,placeholder:C().string,name:C().string.isRequired};
1const de=({input:{name:e,onChange:t,value:r},meta:{error:a,touched:n},...o})=>(0,y.createElement)(ce,{name:e,error:a,onChange:t,touched:n,value:r,...o});de.propTypes={input:C().shape(L.nT),meta:C().shape(L.sj)};const me=de;class ue extends E().Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){const{onChange:t}=this.props;t&&t(e.replace(/\D/g,""))}render(){const e={...this.props};return(0,y.createElement)(re.A,{...e,onChange:this.handleChange})}}ue.propTypes={onChange:C().func};const pe=({input:{name:e,onChange:t,value:r,onBlur:a},meta:{error:n,touched:o},...s})=>(0,y.createElement)(ue,{name:e,error:n,onChange:t,onBlur:a,touched:o,value:r,...s});pe.propTypes={input:C().shape(L.nT),meta:C().shape(L.sj)};const he=pe;var fe=r(5497);const ge="en"===p.A.lang,Ae={accepted:!1,rejected:!1,fileNames:[]};class be extends E().Component{constructor(e){super(e),this.state=Ae,this.onDrop=this.onDrop.bind(this)}onDrop(e){const{input:{onChange:t}}=this.props;e.forEach((e=>{const r=new window.FileReader;t(""),r.onload=()=>{const a=r.result;t(new window.Blob([a],{type:e.type}))},r.readAsArrayBuffer(e)})),this.setState({fileNames:e.map((({name:e})=>e))})}render(){const{input:{onChange:e,name:t},meta:{error:r,touched:a,warning:n},label:o,placeholder:s,className:l,style:i,...c}=this.props,{accepted:d,rejected:m,fileNames:u}=this.state,p=a&&r?"has-error":"",h=a&&n?"has-warning":"",f=d?"accepted":"",g=m?"rejected":"",A=o||s,b=`fileinput-${t}`,{maxSize:v,multiple:E}=c,_=u.length>0,C=E&&!_?ge?"Upload files":"Dateien hochladen":E&&_?ge?"Upload other files":"andere Dateien hochladen":!E&&_?ge?"Upload another file":"andere Datei hochladen":ge?"Upload file":"Datei hochladen";return(0,y.createElement)("div",{className:`dhsv_formcontrol_file ${l||""} ${p} ${h}`,style:i},(0,y.createElement)("div",{className:"top"},(0,y.createElement)("label",{htmlFor:b},A),(0,y.createElement)(fe.A,{onDrop:this.onDrop,onDropAccepted:()=>this.setState({accepted:!0,rejected:!1}),onDropRejected:()=>{this.setState({accepted:!1,rejected:!0,fileNames:[]}),e("")},className:`drop-zone ${f} ${g}`,activeClassName:"active",...c},(({getRootProps:e,getInputProps:t})=>(0,y.createElement)("div",{...e(),className:`drop-zone btn btn-default ${f} ${g}`},(0,y.createElement)("input",{...t(),id:b}),C)))),_?(0,y.createElement)("p",null,u.join(", ")):null,m&&v?(0,y.createElement)("p",null,"Die maximale Dateigröße beträgt"," ",v/1048576," Mb"):null)}}be.propTypes={className:C().string,style:C().object,label:C().node,placeholder:C().node,input:C().shape(L.nT),meta:C().shape(L.sj)};const ve=be,{DeStipendiumForm:{heading:ye,heading2:Ee,heading2_cfh:_e,headingA:Ce,headingB:Se,headingC:we,headingD:Le,msg_mandatory:Ne},forms:{submit:ke}}=p.A;class Fe extends E().Component{componentDidMount(){const{loadFormChoices:e}=this.props;e()}handleFormStarted=()=>{this._nrStarted||(this._nrStarted=!0,(0,c.rS)("LeadFormStarted",{form_name:"stipendium",host:window.location.hostname,page_url:window.location.origin+window.location.pathname}))};render(){const{choicesLoaded:e,handleSubmit:t,submitting:r,submitFailed:a,invalid:n,error:o,shouldShowFoerderungArt:s}=this.props;if(!e)return(0,y.createElement)(S.A,null);const l=r?"submitting":"";return(0,y.createElement)("div",{className:"row dhsv_de_stipendium_form_wrapper"},(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)("form",{className:`dhsv_de_stipendium_form dhsv_form ${l}`,onSubmit:t,onFocus:this.handleFormStarted,noValidate:!0},(0,y.createElement)("h4",{className:"dhsv_de_form_title"},ye,(0,y.createElement)("br",null),(0,y.createElement)("small",null,(0,h.IC)("cfh003")?_e:Ee)),(0,y.createElement)(F.A,null),(0,y.createElement)(T,{error:o}),(0,y.createElement)("div",{className:"row form-grid"},(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(B,{name:"antragsart",choices:"antragsarten",component:X.A,labelAsPlaceholder:!1,labelUseAsterisk:!1})),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)("h4",{className:"dhsv_de_form_subtitle"},Ce)),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(B,{name:"geschlecht",choices:"geschlechter",component:X.A,labelAsPlaceholder:!1,labelUseAsterisk:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"vorname",component:re.h,maxLength:40,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"nachname",component:re.h,maxLength:80,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(q,{name:"matrikelnummer",component:re.h,maxLength:40,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"geburtsdatum",component:ae.A,type:"date",labelAsPlaceholder:!1,labelUseAsterisk:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"staatsangehoerigkeit",component:re.h,maxLength:255,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"strasse",component:re.h,maxLength:205,required:!0,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"plz",component:re.h,maxLength:8,required:!0,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"ort",component:re.h,maxLength:50,required:!0,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"land",component:re.h,maxLength:255,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"telefon",component:ee.A,type:"tel",labelAsPlaceholder:!1,labelUseAsterisk:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"email",customLabel:(0,h._h)("hsf")?"email_hsf":"",component:re.h,maxLength:80,labelAsPlaceholder:!1})),!(0,h.IC)("cfh003")&&(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(B,{name:"elternhaus",choices:"elternhaeuser",component:X.A,labelAsPlaceholder:!1,labelUseAsterisk:!1,required:!0})),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)("h4",{className:"dhsv_de_form_subtitle"},Se)),!(0,h.IC)("cfh003")&&(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(B,{name:"fachbereich",choices:"fachbereiche",component:X.A,labelAsPlaceholder:!1,labelUseAsterisk:!1,required:!0})),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(q,{name:"studienfach",component:re.h,maxLength:255,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(B,{name:"studienort",choices:"studienorte",component:J,required:!0,labelAsPlaceholder:!1})),!(0,h.IC)("cfh003")&&(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"berufsbegleitend",component:me,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"abschlussnoteStudium",customLabel:(0,h.IC)("cfh003")?"abschlussnoteStudium_cfh":"",component:re.h,maxLength:20,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"abschlussnoteSchulabschluss",component:re.h,maxLength:20,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6 field-mt-auto"},(0,y.createElement)(q,{name:"fachsemester",component:he,maxLength:2,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"hochschulsemester",component:he,maxLength:2,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-4 field-mt-auto"},(0,y.createElement)(q,{name:"endeRegelstudienzeit",component:re.h,maxLength:10,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-4"},(0,y.createElement)(q,{name:"ects",component:he,maxLength:4,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-4"},(0,y.createElement)(q,{name:"ectsDurchschnittsnote",component:re.h,maxLength:20,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)("h4",{className:"dhsv_de_form_subtitle"},we)),(0,y.createElement)("div",{className:"col-12 col-md-6 field-mt-auto"},(0,y.createElement)(q,{name:"bafoeg",component:me,labelAsPlaceholder:!1})),(0,y.createElement)("div",{className:"col-12 col-md-6"},(0,y.createElement)(q,{name:"foerderung",component:me,labelAsPlaceholder:!1})),s?(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(q,{name:"foerderungArt",component:re.h,maxLength:255,required:!0,labelAsPlaceholder:!1})):null,(0,y.createElement)("div",{className:"col-12"},(0,y.createElement)(q,{name:"anhaenge",component:ve,accept:["application/pdf"],maxSize:6291456,multiple:!1,labelAsPlaceholder:!1}))),(0,y.createElement)("h4",null,Le),(0,y.createElement)(q,{name:"de-stipendium-confirmation1",customLabel:(0,h.IC)("cfh003")?"de-stipendium-confirmation1_cfh":"",component:ne.A}),(0,y.createElement)(q,{name:"de-stipendium-confirmation2",component:ne.A}),n&&a?(0,y.createElement)("p",{className:"msg_mandatory"},Ne):null,(0,y.createElement)("div",{className:"buttons text-center"},(0,y.createElement)(P.A,{type:"submit",disabled:r},ke))),(0,y.createElement)(te.A,null)))}}
1Fe.propTypes={...L.Fl,loadFormChoices:C().func,choicesLoaded:C().bool};const xe=(0,w.A)((()=>(0,y.createElement)(N.A,{formName:u.au,paragraph:k})))(Fe),De=(0,d.Fy)((0,d.KQ)(["email"]),(0,d.wE)(["geburtsdatum"]),(0,d.Ae)(["endeRegelstudienzeit"]),((e,t)=>(0,d.Lg)([...H,...t.shouldShowFoerderungArt?["foerderungArt"]:[]])(e,t))),Me=(0,s.A)({form:u.au,validate:De,onSubmitFail:e=>{const t=document.querySelector(".dhsv_de_stipendium_form");if(!t)return;let r=null;if(e?._error?.length){const a=e._error[0][0];r=t.querySelector(`[name="${a}"]`)}r?(r.scrollIntoView({behavior:"smooth",block:"center"}),r.focus?.()):t.scrollIntoView({behavior:"smooth",block:"start"})}})(xe);var Ie=r(6688);const Te=(0,o.Ng)((e=>({choicesLoaded:b.sChoicesLoaded(e),choicesLoading:b.sChoicesLoading(e),choicesError:b.sChoicesError(e),shouldShowFoerderungArt:b.sShouldShowFoerderungArt(e)})),(e=>(0,n.zH)({onSubmit:v,loadFormChoices:Ie.T},e)))(Me),Pe=(0,a.A)(Te)},9234:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(1609),n=r.n(a),o=r(5556),s=r.n(o),l=r(7913),i=r(2855);class c extends n().Component{constructor(e){super(e),this.uuid=(0,i.g)()}render(){const{disabled:e,id:t="",name:r="",label:n,placeholder:o,onChange:s,value:l,touched:i,error:c}=this.props,d=t||`checkbox_${r}-${this.uuid}`;return(0,a.createElement)("div",{className:`dhsv_formcontrol_new_checkbox ${this.props.className} ${i&&c?"has-error":""} ${l?"has-value":""}`},(0,a.createElement)("input",{checked:l,disabled:e,name:r,id:d,onChange:e=>s(e.target.checked),type:"checkbox",required:this.props.required}),n&&(0,a.createElement)("label",{htmlFor:d,dangerouslySetInnerHTML:{__html:n}}),o&&(0,a.createElement)("label",{htmlFor:d,dangerouslySetInnerHTML:{__html:o}}))}}c.propTypes={disabled:s().bool,id:s().string,label:s().node,placeholder:s().string,name:s().string,onChange:s().func,value:s().bool,touched:s().bool,error:s().string};
1const d=({input:{name:e,onChange:t,value:r},meta:{error:n,touched:o},...s})=>(0,a.createElement)(c,{...s,name:e,onChange:e=>t(e||""),value:!!r,error:n,touched:o});d.propTypes={id:s().string,input:s().shape(l.nT),meta:s().shape(l.sj)};const m=d},9239:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(1225),n=r(2415),o=r(1609),s=r(5556);const l=({hasNetworkError:e})=>e&&(0,o.createElement)("p",null,"Fehler beim Senden des Formulars: bitte prüfe Deine Internetverbindung und/oder versuche es später erneut!");l.propTypes={hasNetworkError:r.n(s)().bool};const i=l,c=(0,a.Ng)((e=>({hasNetworkError:(0,n.W3)(e)})))(i)},9285:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(1609);function n(){return(0,a.createElement)("svg",{width:"40",height:"31",viewBox:"0 0 40 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M32.392 14.0831C32.099 14.0176 31.8022 13.9706 31.5033 13.9424V11.1618L37.897 8.51994L37.8576 7.08556L20.8776 1.12305H20.4923L3.48795 7.08275L3.47295 8.51994L3.48795 8.5265V13.7859C2.91453 13.9473 2.40899 14.2905 2.04737 14.7638C1.68574 15.2372 1.48756 15.8152 1.48264 16.4109L1.47607 18.5512H6.98576L6.99326 16.4278C6.99343 15.8617 6.81895 15.3094 6.49362 14.8461C6.16829 14.3829 5.70797 14.0313 5.17545 13.8393V9.22213L20.4614 15.5512H20.9086L29.8148 11.864V13.9753C28.3601 14.1704 26.9994 14.8044 25.9142 15.7926C24.829 16.7808 24.0708 18.0764 23.7408 19.5065C23.7276 19.5637 23.7258 19.6209 23.7145 19.6781C23.0048 19.7315 22.2342 19.7643 21.382 19.7643C20.677 19.7643 20.0142 19.7465 19.3889 19.7146V21.4022C20.0208 21.4331 20.6761 21.4547 21.382 21.4547C22.1714 21.4547 22.8942 21.4256 23.5739 21.3806C23.6111 22.4833 23.9015 23.5627 24.4227 24.5351C24.9439 25.5076 25.6819 26.3471 26.5795 26.9887L27.0708 26.3015L27.5611 25.6153C26.5035 24.8615 25.7446 23.7599 25.417 22.5031C25.0895 21.2464 25.2141 19.9145 25.7691 18.7404C26.3241 17.5662 27.2742 16.6245 28.4532 16.08C29.6323 15.5354 30.9652 15.4226 32.219 15.7613C33.4727 16.1001 34.5675 16.8687 35.312 17.9329C36.0564 18.9971 36.403 20.2891 36.2912 21.583C36.1795 22.8769 35.6164 24.0904 34.7006 25.0112C33.7847 25.932 32.5743 26.5016 31.2811 26.6203L31.7639 25.5131L28.4226 26.8256L28.4639 26.9306L29.7333 30.1669L30.5386 28.3228C30.622 28.3228 30.7064 28.3369 30.7908 28.3369C32.5601 28.329 34.2649 27.6716 35.5814 26.4895C36.898 25.3074 37.7345 23.683 37.9322 21.9247C38.1299 20.1664 37.675 18.3968 36.6538 16.9519C35.6326 15.507 34.1163 14.4874 32.3929 14.0868L32.392 14.0831ZM5.30389 16.4268V16.8637L3.16826 16.8571V16.4212C3.16975 16.1388 3.28284 15.8685 3.48288 15.6691C3.68292 15.4698 3.95367 15.3576 4.23607 15.3571C4.51929 15.3571 4.79094 15.4695 4.99146 15.6694C5.19199 15.8694 5.30502 16.1408 5.30576 16.424L5.30389 16.4268ZM20.6789 13.8159L6.33514 7.88056L20.6789 2.84711L35.0226 7.88056L20.6789 13.8159Z",fill:"var(--icon-base)"}),(0,a.createElement)("path",{d:"M8.80029 19.5999L9.64404 20.1558C9.89436 20.3208 12.1247 21.7083 17.144 22.2502V18.4739C14.8884 18.1974 13.394 17.7399 12.5503 17.4127V14.5702L8.80029 13.0083V19.5999Z",fill:"var(--icon-accent)"}))}},9340:(e,t,r)=>{"use strict";r.d(t,{E:()=>b,U:()=>y,formSelectors:()=>v});var a=r(2990),n=r(7361),o=r(5695),s=r(7081),l=r(3060),i=r(5316),c=r(9265),d=r(2051),m=r(22),u=r(5912),p=r(596),h=r(7377),f=r(6801),g=r(1109),A=r(8190);const b=e=>e.formChoicesLead,v=(0,f.ln)(g.W7,b),y=e=>(t,r)=>{const{salutation:f,firstname:b,lastname:y,street:E="",streetNumber:_="",zipcode:C,city:S,country:w,email:L,mobile:N,whatsapp:k,newsletter:F,consent:x,infomaterialStudynet:D,lngSkillDe:M,lngSkillEn:I,description:T}=(0,d.qY)(e),P=r(),z=v.sProdukt(P)||{},$=v.sProductcode(P),O=v.sInfomaterialSnailMail(P),R=v.sInfomaterialShouldShowSKNRWFields(P),V=(w+"").slice(0,80),H=(0,p.kt)(),q=(0,l.p)({whatsapp:k,newsletter:F,consent:x}),B=window.crypto.randomUUID(),U={website:a.A.website,lng:o.A.lang,leadstatus:"Offen",information:1,whatsapp:q.whatsapp,newsletter:q.newsletter,newsletterDetails:(0,u.Kq)(s.A.newsletter),studynet:D?1:0,productcode:$,salutation:f,firstname:b,lastname:y,email:L,...N&&N.length>5?{mobile:N}:{},orderId:H,country:V,...O?{street:`${E} ${_}`,postalcode:C,city:S,country:V}:{},...R?{lngSkillDe:M,lngSkillEn:I,description:T}:{},...(0,p.lx)(),transactionId:B};return t({type:"dhsv/hsf010/infomaterialForm/SUBMIT_FORM",meta:{requestData:U}}),t((0,h.r)({formName:g.W7,url:`${n.Ov}/WebsiteLead`,data:U,successType:"dhsv/hsf010/infomaterialForm/SUBMIT_FORM_SUCCESS",failureType:"dhsv/hsf010/infomaterialForm/SUBMIT_FORM_FAILURE"})).then((()=>{const e=parseFloat((z.gebuehren||"").replaceAll(/[., €]+/g,""))/100;return(0,p.As)("ga_event",{category:"form_submission",event_action:"infomaterial anfordern",event_label:window.location.href,product_code:z.code,businessUnit:z?.BU,department:z?.Fachbereich,brand:z?.Marke,study_format:z.form,graduation_level:z.art,study_subject:z.studiengang,study_location:z.standort,study_start:z.start,form_type:"infomaterial anfordern",form_name:"dhsv_form_infomaterialform",study_price:e,study_discount:0,study_value:e,study_currency:"EUR",transaction_id:B}
1),(0,m.K)({productCode:z.code_ohne_semester,callback:e=>(0,p.As)("sfisClick",{pageType:"Info Material Page",type:"submit",name:"requestInformationMaterial",location:"form",marketingConsent:F,id:(0,c.eJ)(z.code_ohne_semester),price:(0,c.LN)(e)})}).then((()=>{const e=A.A.formRedirect.default||"";if(e){const t=z.code.replace(/_\d{4}-\d{2}-\d{2}$/,""),r=z.themenschwerpunkt_kurz.includes("EnglStud")&&((0,i.IC)("oncampus")||(0,i.IC)("cfh003")||(0,i.IC)("amd")&&!(0,i.wE)());window.history.pushState(null,"",window.location.href),window.location.replace(`${e}?product_code=${t}${r?"&lang=en":""}`)}}))}))}},9383:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>g,OA:()=>p,tf:()=>f});var a=r(1609),n=r(4151),o=r(7913),s=r(8674),l=r(2051),i=r(4445),c=r(636),d=r(2747),m=r(1225),u=r(1481);const p=["art","form","studiengang","standort","start","modell"],h=e=>{const{handleSubmit:t,submitting:r}=e;(0,d.x1)(e);const o=(0,m.d4)((e=>(0,u.A)("application")(e))),s=r?"submitting":"";return(0,a.createElement)("form",{className:`dhsv_application_form dhsv_form ${s} uos-exec-${(0,d.Sm)(o)} step-choose-produkt`,onSubmit:t},(0,a.createElement)(n.A,{names:p,component:c.p,useHideForm:!1}))};h.propTypes={...o.Fl};const f=(e,t)=>{let r=i.ti;(0,d.Sm)(e)&&(r=r.filter((e=>!i.NS.includes(e))));const a=[...r,...t?.useExtraFieldsNoFernstudium?[]:i.nQ];return(0,l.Fy)((0,l.Lg)(a))(e,t)},g=(0,s.A)(f)(h)},9397:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(1225),n=r(7473),o=r(5556),s=r.n(o),l=r(2325),i=r(6801);const c=(e=e=>e.formChoicesApplication)=>t=>{const r=(e=>(0,l.Mz)(((e,{choices:t})=>t),e,i.TZ))(e),o=(0,a.Ng)(((e,t)=>{const a=r(e,t);return{options:t.filterOptions?(0,n.A)(t.filterOptions,a):a}}))(t);return o.propTypes={choices:s().string.isRequired},o}},9719:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(9397),n=r(1775);const o=(0,a.A)()(n.A)},9790:(e,t,r)=>{var a={"./form-berufsbegleitend.js":4880,"./form-duales-studium.js":1662,"./form-fernstudium.js":5080,"./form-vollzeit.js":9285,"./salutation-frau.js":2644,"./salutation-herr.js":4093,"./salutation-keine-angabe.js":5313};function n(e){var t=o(e);return r(t)}function o(e){if(!r.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}n.keys=function(){return Object.keys(a)},n.resolve=o,e.exports=n,n.id=9790},9828:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var a=r(1609),n=r(5556),o=r.n(n),s=r(7913),l=r(5695),i=r(1145);const{SelectYesNo:{yes:c,no:d,pleaseSelect:m}}=l.A,u=[{label:c,value:1},{label:d,value:0}],p=e=>{const t=e.label||e.placeholder,r=`SelectYesNo-${e.name}`,n={...e,isClearable:!1,options:u,inputId:r,className:"select-yes-no "+e.className,placeholder:m+(e.required&&!e.labelUseAsterisk?" *":"")};return(0,a.createElement)(i.Nt,{...n,label:t})};p.propTypes={label:o().string,placeholder:o().string,name:o().string.isRequired};
1const h=({input:{name:e,onChange:t,value:r},meta:{error:n,touched:o},...s})=>(0,a.createElement)(p,{name:e,error:n,onChange:t,touched:o,value:r,...s});h.propTypes={input:o().shape(s.nT),meta:o().shape(s.sj)};const f=h},9906:(e,t,r)=>{"use strict";r.d(t,{A:()=>a.Ay});var a=r(1145)}}]);
2//# sourceMappingURL=DeStipendiumForm_bc433a4618d36b728df8.js.map

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.