"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[980],{88298:function(e,r,n){n.d(r,{f:function(){return c},z:function(){return a}});var t,l=n(52322),i=n(52638),o=n(72711);let s=e=>({textTransform:"none",boxShadow:"none","&:hover":{bgcolor:r=>{let{palette:n}=r;return"text"===e.variant||"outlined"===e.variant?void 0:null!==(t=e.color)&&void 0!==t?t:n.secondary.main}},...e.sx}),a=e=>(0,l.jsx)(o.Z,{variant:"contained",color:"secondary",disableRipple:!0,...e,sx:s(e)}),c=e=>(0,l.jsx)(i.Z,{variant:"contained",color:"secondary",disableRipple:!0,...e,sx:s(e)})},4186:function(e,r,n){n.d(r,{t:function(){return i}});var t=n(52322),l=n(59452);let i=e=>{let{sx:r,...n}=e;return(0,t.jsx)(l.Z,{...n,sx:{borderColor:"divider",borderRadius:2,borderWidth:1,backgroundColor:"background.paper",borderStyle:"solid",height:250,...r}})}},59844:function(e,r,n){n.d(r,{n:function(){return o}});var t=n(52322),l=n(2784),i=n(38344);let o=l.forwardRef((e,r)=>(0,t.jsx)(i.Z,{fullWidth:!0,inputRef:r,variant:"outlined",...e,sx:{"& .MuiOutlinedInput-root":{backgroundColor:"background.paper"},...e.sx}}))},49980:function(e,r,n){n.d(r,{zx:function(){return i.z},XZ:function(){return c},Mt:function(){return g},y:function(){return b},l0:function(){return Z},F3:function(){return S},dj:function(){return W},$8:function(){return L},T3:function(){return ed},$0:function(){return ep},Ph:function(){return em},IM:function(){return ej},Pc:function(){return eR},Ag:function(){return ew},nv:function(){return p.n},Dx:function(){return eS},QI:function(){return eE},df:function(){return e_}});var t,l,i=n(88298),o=n(52322),s=n(2784),a=n(69857);let c=s.forwardRef((e,r)=>(0,o.jsx)(a.Z,{ref:r,color:"secondary",...e}));var d=n(95170),u=n(31807),x=n(34354),h=n(50272),p=n(59844);let m=s.forwardRef((e,r)=>(0,o.jsx)(p.n,{fullWidth:!0,inputRef:r,...e,inputProps:{...e.inputProps,placeholder:"TT.MM.JJJJ"}})),f="dd.MM.yyyy",g=s.forwardRef((e,r)=>{var n;return(0,o.jsx)(d.M,{defaultCalendarMonth:!1===e.disableFuture?new Date:(0,u.Z)("1950-01-01"),inputRef:r,inputFormat:f,InputProps:{sx:{"& .MuiInputAdornment-positionEnd":{mr:1},...null===(n=e.InputProps)||void 0===n?void 0:n.sx}},disableFuture:!0,...e,onChange:(r,n)=>{if(r&&(void 0===n||n.length===f.length)&&(0,x.Z)(r.getHours())!==Math.abs(r.getTimezoneOffset())){let n=(0,h.Z)(r,r.getTimezoneOffset());e.onChange(n)}else e.onChange(r)}})});g.Input=m;var j=n(4843);let b=e=>{let{children:r,sx:n={}}=e;return(0,o.jsx)(j.Z,{color:"error",sx:{mt:2,...n},children:r})};var v=n(59452);let Z=e=>(0,o.jsx)(v.Z,{component:"form",noValidate:!0,...e});var y=n(20724),C=n(60490),k=n(42761),R=n(71237),w=n(41087),I=n(82432);let P={sx:{fontSize:64,mb:1},color:"primary"},S=s.forwardRef((e,r)=>{let{value:n,onChange:t,options:l,labelledBy:i,disabled:s,gridProps:a,errorMessage:c}=e;return(0,o.jsxs)(y.Z,{sx:{width:"100%"},children:[(0,o.jsx)(C.Z,{value:n,onChange:t,"aria-labelledby":i,children:(0,o.jsx)(k.ZP,{container:!0,spacing:{sm:2},children:l.map((e,n)=>{let{value:t,label:l,icon:i}=e;return(0,o.jsx)(k.ZP,{item:!0,xs:12,sm:6,...a,children:(0,o.jsx)(R.Z,{sx:{backgroundColor:{sm:"background.paper"},borderRadius:4,mx:{sm:0},p:{sm:2},height:{sm:160},position:"relative",display:{sm:"flex"},flexFlow:"column no-wrap",justifyContent:"center",alignItems:"center",boxShadow:{sm:"0px 1px 4px 0px rgba(0,0,0, 0.2)"}},disabled:s,value:t,control:(0,o.jsx)(w.Z,{inputRef:0===n?r:void 0,sx:{position:{sm:"absolute"},top:{sm:16},left:{sm:16},color:"primary.light"},disableTouchRipple:!0}),label:(0,o.jsxs)(v.Z,{sx:{display:{sm:"flex"},flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(v.Z,{sx:{display:{xs:"none",sm:"block"}},children:i}),(0,o.jsx)(j.Z,{sx:{textAlign:{xs:void 0,sm:"center"}},children:l})]})})},t)})})}),c?(0,o.jsx)(I.Z,{sx:{mt:2},error:!0,children:c}):null]})});S.Icon=e=>{let{children:r}=e;return r(P)};var z=n(83343),E=n.n(z);let W=e=>{let{legalDocument:r}=e;return(0,o.jsxs)(ed,{mainProps:{sx:{bgcolor:"background.paper"}},children:[(0,o.jsx)(E(),{id:"a997b74185fbca56",children:".legalPagesWordWrapped{overflow-wrap:break-word;word-wrap:break-word}"}),(0,o.jsx)(ed.Heading,{children:r.title}),(0,o.jsx)(L,{className:"legalPagesWordWrapped",children:r.content})]})};var _=n(54036),M=n(66898),A=n(99615),F=n(17666),T=n(72924),H=n(7900),D=n(19920),N=n(51953);let O={h1:e=>{let{children:r}=e;return(0,o.jsx)(j.Z,{variant:"h5",component:"h2",mb:2,children:r})},p:e=>{let{children:r}=e;return(0,o.jsx)(j.Z,{variant:"body1",mb:2,children:r})},table:e=>{let{children:r}=e;return(0,o.jsx)(_.Z,{sx:{mb:5},children:r})},thead:e=>{let{children:r}=e;return(0,o.jsx)(M.Z,{children:r})},tr:e=>{let{children:r}=e;return(0,o.jsx)(A.Z,{children:r})},th:e=>{let{children:r}=e;return(0,o.jsx)(F.Z,{sx:{borderBottomColor:"divider"},children:r})},td:e=>{let{children:r}=e;return(0,o.jsx)(F.Z,{sx:{borderBottomColor:"divider"},children:r})},tbody:e=>{let{children:r}=e;return(0,o.jsx)(T.Z,{children:r})},ol:e=>{let{children:r}=e;return(0,o.jsx)(v.Z,{component:"ol",pl:"18px",children:r})},li:e=>{let{children:r}=e;return(0,o.jsx)(v.Z,{component:"li",sx:{mb:1},children:r})},a:e=>{let{children:r,href:n,title:t,target:l="_blank"}=e;return(0,o.jsx)(H.Z,{href:n,target:l,title:t,children:r})}},L=e=>{let{children:r,components:n,className:t}=e;return(0,o.jsx)(D.D,{className:t,components:{...O,...n},remarkPlugins:[N.Z],children:r})};var B=n(56042),U=n(42575),Y=n(60527),J=n(6155),K=n(39097),V=n.n(K),$=n(92679),G=n(81972),Q=n(95059),X=n(3023),q=n(51708),ee=n(14210),er=n(26877);let en=e=>{let{onClose:r,open:n,title:t,content:l}=e;return(0,o.jsxs)(G.Z,{maxWidth:"sm",open:n,onClose:r,PaperProps:{sx:{p:2}},children:[(0,o.jsx)(Q.Z,{color:"primary",children:t}),(0,o.jsx)(v.Z,{sx:e=>({position:"absolute",right:e.spacing(2),top:e.spacing(3)}),children:(0,o.jsx)(X.Z,{"aria-label":"schliessen",onClick:r,children:(0,o.jsx)($.Z,{})})}),(0,o.jsx)(q.Z,{children:(0,o.jsx)(L,{children:l})}),(0,o.jsx)(ee.Z,{children:(0,o.jsx)(i.z,{onClick:r,children:"Schlie\xdfen"})})]})};en.ContentText=er.Z;var et=n(43446),el=n(72211),ei=n(22487);let eo={xs:24,sm:32,md:44},es=[{href:ei.c.IMPRINT,label:"Impressum"},{href:ei.c.PRIVACY,label:"Datenschutzerkl\xe4rung"},{href:ei.c.TERMS_OF_USE,label:"Nutzungsbedingungen"}],ea=e=>(0,o.jsx)(B.Z,{maxWidth:"md",...e}),ec=(0,U.ZP)(Y.Z)(e=>{let{theme:r}=e;return{height:10,["&.".concat(J.Z.colorPrimary)]:{backgroundColor:r.palette.grey[300]},["& .".concat(J.Z.bar)]:{backgroundColor:"#81C784"}}}),ed=e=>{let{children:r,mainProps:n,noContainer:t,progress:l}=e,i=(0,et.ZR)(),[a,c]=s.useState(!1),d=(0,el.g)(),u=d?(0,o.jsx)(H.Z,{onClick:()=>c(!0),color:"textPrimary",underline:"hover",sx:{cursor:"pointer"},children:"Kontakt"}):(0,o.jsx)(V(),{href:"https://meine.pflege.de/kontakt",passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(H.Z,{color:"textPrimary",target:"_blank",underline:"hover",children:"Kontakt"})}),x=t?e=>{let{children:r}=e;return(0,o.jsx)(o.Fragment,{children:r})}:ea;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v.Z,{component:"header",sx:{minHeight:"92px",py:2,display:"flex",justifyContent:"space-between",alignItems:"center",bgcolor:"background.paper"},children:(0,o.jsxs)(B.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,o.jsx)(v.Z,{component:"img",src:i.logoUrl,sx:{maxHeight:eo,objectFit:"contain"},alt:"Partner Logo"}),(0,o.jsxs)(v.Z,{sx:{color:"rgba(0,0,0,0.6)",fontSize:"0.8rem",display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{sm:"center"},ml:3},children:[(0,o.jsx)(v.Z,{sx:{textAlign:"right"},children:"bereitgestellt von"}),(0,o.jsx)(v.Z,{component:"img",src:"https://static.edith.care/img/edithcare.png",sx:{pl:2,maxHeight:eo,objectFit:"contain",verticalAlign:"middle"},alt:"Edith.care Logo"})]})]})}),void 0!==l?(0,o.jsx)(v.Z,{sx:{width:"100%",position:"sticky",top:0,zIndex:1},children:(0,o.jsx)(ec,{variant:"determinate",value:l})}):null,(0,o.jsx)(v.Z,{component:"main",...n,sx:{flex:1,py:{xs:5,md:10},...null==n?void 0:n.sx},children:(0,o.jsx)(x,{children:r})}),(0,o.jsx)(v.Z,{component:"footer",sx:{minHeight:"92px",display:"flex",alignItems:"center",bgcolor:"background.paper"},children:(0,o.jsx)(B.Z,{children:(0,o.jsxs)(v.Z,{component:"ul",sx:{my:0,padding:0,display:"flex",flexWrap:"wrap"},children:[(0,o.jsx)(v.Z,{component:"li",sx:{listStyle:"none",mr:2},children:u},"Kontakt"),es.map(e=>{let{label:r,href:n}=e;return(0,o.jsx)(v.Z,{component:"li",sx:{listStyle:"none",mr:2,":last-of-type":{mr:0}},children:(0,o.jsx)(V(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(H.Z,{color:"textPrimary",target:"_blank",underline:"hover",children:r})})},"".concat(r))})]})})}),d&&(0,o.jsx)(en,{onClose:()=>c(!1),open:a,title:d.title,content:d.content})]})};ed.Heading=e=>{let{children:r,sx:n}=e;return(0,o.jsx)(v.Z,{sx:{display:"flex",flexDirection:{xs:"column-reverse",sm:"row"},justifyContent:"space-between","& > div":{mb:{xs:4,md:0}},...n},children:(0,o.jsx)(j.Z,{variant:"h4",component:"h1",fontWeight:"fontWeightBold",color:"primary",sx:{mb:3},children:r})})},ed.Container=ea;let eu=s.forwardRef((e,r)=>(0,o.jsx)(j.Z,{component:"h3",color:"primary",variant:"h6",fontWeight:"fontWeightBold",...e,mb:e.gutterBottom?3:1,sx:e.sx,ref:r})),ex=s.forwardRef((e,r)=>(0,o.jsx)(j.Z,{color:"textPrimary",sx:{mb:4},...e,ref:r})),eh=s.forwardRef((e,r)=>(0,o.jsx)(j.Z,{color:"textPrimary",...e,ref:r})),ep=e=>(0,o.jsx)(v.Z,{component:"section",...e,sx:{p:5,bgcolor:"background.paper",borderRadius:2,mb:3,...e.sx}});ep.Heading=eu,ep.Subheading=ex,ep.Text=eh;let em=s.forwardRef((e,r)=>(0,o.jsx)(p.n,{inputRef:r,inputProps:{sx:{backgroundColor:"background.paper"}},...e,select:!0}));var ef=n(26004);let eg={h2:e=>{let{children:r}=e;return(0,o.jsx)(j.Z,{variant:"body2",fontSize:"1rem",fontWeight:"bold",component:"h3",mb:2,children:r})},p:e=>{let{children:r}=e;return(0,o.jsx)(j.Z,{variant:"body2",fontSize:"1rem",mb:2,children:r})},li:e=>{let{children:r}=e;return(0,o.jsx)(v.Z,{component:"li",fontSize:"1rem",sx:{mb:1},children:r})}},ej=e=>{let{children:r,height:n}=e,t=(0,ef.Z)(),[l,i]=s.useState(!1);return(0,o.jsxs)(v.Z,{sx:{p:5,mt:3,mb:5,backgroundColor:"background.paper",border:"1px solid",borderColor:"divider",borderRadius:2},children:[(0,o.jsx)(v.Z,{sx:{maxHeight:l?void 0:null!=n?n:400,overflow:"hidden"},children:(0,o.jsx)(L,{components:eg,children:r})}),(0,o.jsxs)(v.Z,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",pt:2},children:[l?null:(0,o.jsx)(v.Z,{sx:{position:"absolute",bottom:"100%",height:50,left:0,right:0,background:"linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)"}}),(0,o.jsxs)(H.Z,{component:"button",type:"button",sx:{cursor:"pointer",fontSize:"1rem",fontFamily:t.typography.fontFamily},onClick:()=>i(e=>!e),children:[l?"Weniger":"Mehr"," anzeigen"]})]})]})};var eb=n(82068),ev=n(84553),eZ=n(4186);let ey=n(23688).default,eC=e=>{var r;let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,null===(r=n.getContext("2d"))||void 0===r||r.drawImage(e,0,0),ey(n)},ek=s.forwardRef((e,r)=>{let{onChange:n}=e,t=s.useRef(null);return s.useImperativeHandle(r,()=>({clear:()=>{var e;null===(e=t.current)||void 0===e||e.clear()}})),s.useEffect(()=>{let e=t.current;return e&&e.instance.addEventListener("endStroke",()=>{n(eC(e.canvas.current).toDataURL())}),()=>null==e?void 0:e.off()},[n]),(0,o.jsxs)(eZ.t,{sx:{position:"relative",pr:5},children:[(0,o.jsx)(ev.Z,{ref:t,canvasProps:{id:"signature-pad",style:{width:"100%",height:"100%"}}}),(0,o.jsx)(X.Z,{sx:{position:"absolute",top:"50%",right:0,transform:"translateY(-50%)"},"data-testid":"signature-pad-clear",onClick:()=>{var e;null===(e=t.current)||void 0===e||e.clear(),n(void 0)},children:(0,o.jsx)(eb.Z,{color:"primary"})})]})}),eR=s.forwardRef((e,r)=>{let{caption:n,error:t,...l}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v.Z,{paddingY:2,children:(0,o.jsx)(ek,{ref:r,...l})}),(0,o.jsx)(j.Z,{fontWeight:"medium",children:n}),t?(0,o.jsx)(b,{children:t}):null]})}),ew=e=>(0,o.jsx)(j.Z,{component:"h2",variant:"h6",mb:3,...e});var eI=n(97729),eP=n.n(eI);let eS=e=>{let{children:r}=e;return(0,o.jsx)(eP(),{children:(0,o.jsx)("title",{children:r})})};var ez=n(18177);let eE=e=>{let{children:r}=e;return(0,o.jsx)(ez.Z,{component:"ul",sx:{m:0,pl:3},spacing:3,children:r})};eE.Item=e=>{let{children:r}=e;return(0,o.jsx)(v.Z,{component:"li",sx:{pl:1},children:r})};let eW={minWidth:{xs:"calc(50% - ".concat(8,"px)"),sm:240}},e_=e=>{let{nextButtonProps:r,loadingNextButtonProps:n,prevButtonProps:s}=e;return(0,o.jsx)(v.Z,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between"},children:(0,o.jsxs)(o.Fragment,{children:[n?(0,o.jsx)(i.f,{type:"submit",...n,sx:{...eW,...null==n?void 0:n.sx},children:null!==(t=null==n?void 0:n.children)&&void 0!==t?t:"Weiter"}):(0,o.jsx)(i.z,{type:"submit",...r,sx:{...eW,...null==r?void 0:r.sx},children:null!==(l=null==r?void 0:r.children)&&void 0!==l?l:"Weiter"}),s?(0,o.jsx)(i.z,{variant:"outlined",color:"primary",...s,sx:{...eW,...null==s?void 0:s.sx},children:"Zur\xfcck"}):null]})})}},22487:function(e,r,n){var t,l;n.d(r,{c:function(){return t}}),(l=t||(t={})).CARE_AIDS="/hilfsmittel",l.CARE_AIDS_TECHNICAL="/hilfsmittel/technische-hilfsmittel",l.CARE_AIDS_FOR_CONSUMPTION="/hilfsmittel/hilfsmittel-zum-verbrauch",l.HOME_EMERGENCY_CALL="/hilfsmittel/hausnotruf",l.TECHNICAL_ERROR="/technischer-fehler",l.PRIVACY="/datenschutzerklaerung",l.TERMS_OF_USE="/nutzungsbedingungen",l.IMPRINT="/impressum"}}]);