PageSourceSearch

https://www.deinhofmarkt.de/_next/static/chunks/5424.e6096f133290d492.js

js deinhofmarkt.de collected 2026-10-06 21:35:02 UTC 13,661 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="446e10b3-5c0f-40a2-bf05-e4b5edc9b78f",e._sentryDebugIdIdentifier="sentry-dbid-446e10b3-5c0f-40a2-bf05-e4b5edc9b78f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5424],{11182:(e,r,o)=>{o.d(r,{n:()=>t,y:()=>i});var n=o(95155),a=o(53100),l=o(12115),s=o(38581);let t=e=>e.length<8?"mindestens 8 Zeichen":e.match(/[a-z]/g)?e.match(/[A-Z]/g)?e.match(/[0-9]/g)?e.match(/\W|_/g)?void 0:"mindestens ein Sonderzeichen":"mindestens eine Zahl":"mindestens einen Gro\xdfbuchstaben":"mindestens einen Kleinbuchstaben",i=e=>{let{value:r,label:o,onValueChange:i,noValidation:c,showErrorArea:d,showErrorOnBlur:h,onEnter:m}=e,u=!c&&t(r),[g,x]=(0,l.useState)(!0);return(0,n.jsx)(a.ks,{label:o||"Passwort:",placeholder:"********",type:g?"password":"text",autoComplete:"current-password",value:r,onKeyDown:e=>{"Enter"===e.key&&m&&(e.preventDefault(),m())},showErrorArea:d,showErrorOnBlur:h,onValueChange:i,error:u,iconRight:g?s.pS3:s.k6j,onRightIconClick:()=>x(!g)})}},25424:(e,r,o)=>{o.r(r),o.d(r,{LoginOverlay:()=>k});var n=o(95155),a=o(12115),l=o(34232),s=o(26086),t=o(11182),i=o(23426),c=o(69631),d=o(36397),h=o(97500),m=o(53100),u=o(6305),g=o(38581),x=o(3648),p=o(40069),f=o(88381);function b(){let e=(0,x._)(["\n  mutation($active: Boolean!) {\n    company {\n      setActive(active: $active) {\n        id\n      }\n    }\n  }\n"]);return b=function(){return e},e}let v=(0,p.J1)(b());var w=o(17946);let j=i.Ay.div.withConfig({componentId:"sc-e9f263c0-0"})(["color:var(--font-color-error);font-size:0.75rem;margin:0.25rem;"]),y=e=>{let{onClose:r,authData:o,loading:l,error:i,onSetStep:c,onLogin:d}=e,[m,u]=(0,a.useState)({email:(null==o?void 0:o.email)||"",password:(null==o?void 0:o.password)||""}),g=(0,s.n)(m.email),{setShowOverlay:x}=(0,h.H)(),p=!g||m.password.length<5||l;return(0,n.jsxs)("section",{className:"flex flex-col items-center",children:[(0,n.jsx)("h2",{className:"mt-2.5 mb-5 text-xl",children:"Anmelden"}),(0,n.jsx)("div",{style:{marginTop:5,width:"100%"},children:(0,n.jsx)(s.j,{value:m.email,showErrorOnBlur:!0,showErrorArea:!0,placeholder:"[email protected]",onValueChange:e=>u({...m,email:e})})}),(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)(t.y,{value:m.password,noValidation:!0,showErrorArea:!0,onValueChange:e=>u({...m,password:e}),onEnter:()=>{p||d(m)}})}),i&&(0,n.jsx)(j,{children:i}),(0,n.jsxs)("div",{className:"flex justify-between items-start w-full mt-4 gap-5",children:[(0,n.jsx)(w.A,{onClick:r,variant:"ghost",size:"small",className:"grow",children:"Schlie\xdfen"}),(0,n.jsxs)("div",{children:[(0,n.jsx)(w.A,{className:"grow w-full",variant:"secondary",size:"small",onClick:()=>d(m),disabled:p,children:"Anmelden"}),(0,n.jsx)("div",{children:(0,n.jsx)(w.A,{size:"small",variant:"ghost",onClick:()=>c("resetPassword"),className:"grow mt-2.5",style:{fontWeight:"normal"},children:"Passwort vergessen?"})})]})]}),(0,n.jsxs)("div",{className:"flex justify-center flex-col gap-2.5 mt-[4rem]",children:[(0,n.jsx)("p",{children:"Neu? Hier entlang!"}),(0,n.jsx)(w.A,{variant:"outlinePrimary",size:"small",onClick:()=>x({showLogin:!1,showRegister:!0}),children:"Registrieren"})]})]})},A=e=>{var r;let{cognitoUser:o,onClose:l}=e,{changeRequiredPassword:s,loading:i,error:h}=(0,c.kb)(o),[u,g]=(0,a.useState)(""),[x,p]=(0,a.useState)(""),f=u&&u.length>0,b=(0,t.n)(x),v=(null==o||null==(r=o.challengeParam)?void 0:r.requiredAttributes)||[],w=v&&v.includes("name"),y={};return w&&(y.name=u),(0,n.jsxs)("section",{className:"flex flex-col items-center",children:[(0,n.jsx)("h2",{className:"mt-2.5 mb-5 text-xl",children:"Neues Passwort setzten"}),(0,n.jsxs)("div",{style:{marginTop:5,width:"100%"},children:[w&&(0,n.jsx)(m.ks,{value:u,label:"Wie sollen wir dich ansprechen:",placeholder:"Dein Name",onValueChange:g,inputCss:{marginBottom:10},style:{marginBottom:20}}),(0,n.jsx)(t.y,{value:x,showErrorOnBlur:!0,showErrorArea:!0,onValueChange:p}),(null==h?void 0:h.message)&&(0,n.jsx)(j,{children:h.message})]}),(0,n.jsxs)("div",{className:"flex justify-between items-start w-full mt-4 gap-5",children:[(0,n.jsx)(N,{onClick:()=>l(),variant:"alternative",size:"small",children:"Abbrechen"}),(0,n.jsx)(d.A,{className:"grow w-full",variant:"secondary",size:"small",onClick:()=>{s(x,y).then(()=>l())},disabled:w&&!f||!!b||i,children:"Speichern"})]})]})},C=e=>{let{onClose:r,loading:o,error:l,onSetStep:i,onLogin:d}=e,[h,u]=(0,a.useState)({email:"",password:""}),g=(0,s.n)(h.email),{resetPassword:x,loading:p,error:f}=(0,c.Qc)(),{confirmResetPassword:b,loading:v,error:w}=(0,c.YI)(),[y,A]=(0,a.useState)(!1),[C,k]=(0,a.useState)(""),N=(0,t.n)(h.password);return(0,n.jsxs)("section",{className:"flex flex-col items-center",children:[(0,n.jsx)("h2",{className:"mt-2.5 mb-5 text-xl",children:"Passwort Zur\xfccksetzten"}),(0,n.jsx)("div",{style:{marginTop:5,width:"100%"},children:(0,n.jsx)(s.j,{value:h.email,showErrorOnBlur:!0,showErrorArea:!0,placeholder:"[email protected]",onValueChange:e=>u({...h,email:e})})}),y&&(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)(z,{variant:"alternative",size:"small",onClick:()=>{x(h.email).then(()=>A(!0))},disabled:!g||o||p,children:"Code erneut senden"}),(0,n.jsx)(m.ks,{style:{marginBottom:10},label:"Code:",placeholder:"******",value:C,onValueChange:k}),(0,n.jsx)(t.y,{label:"Neues Passwort",value:h.password,showErrorOnBlur:!0,showErrorArea:!0,onValueChange:e=>u({...h,password:e})})]}),l&&(0,n.jsx)(j,{children:l}),(null==w?void 0:w.message)&&(0,n.jsx)(j,{children:w.message}),(null==f?void 0:f.message)&&(0,n.jsx)(j,{children:f.message}),(0,n.jsxs)("div",{className:"flex justify-between items-start w-full mt-4 gap-5",children:[(0,n.jsx)(I,{onClick:()=>i("login"),variant:"alternative",size:"small",children:"Zur\xfcck"}),y?(0,n.jsx)(S,{variant:"secondary",size:"small",onClick:()=>{b(h.email,C,h.password).then(()=>d(h))},disabled:!g||!C||!!N||o||v,children:"Best\xe4tigen"}):(0,n.jsx)(E,{variant:"secondary",size:"small",onClick:()=>{x(h.email).then(()=>A(!0))},disabled:!g||o,children:"Zur\xfccksetzten"})]})]})},k=e=>{let{onClose:r,authData:o,autoLogin:s}=e,[t,i]=(0,a.useState)("login"),{loading:d,error:h,loginUser:m}=(0,c.As)(),{setCompanyActive:x}=(e=>{let[r,{loading:o,error:n}]=(0,f.n)(v,e);return{setCompanyActive:()=>r({variables:{active:!0}}),loading:o,error:n}})({}),[p,b]=(0,a.useState)(),w=(0,a.useRef)(!1);function j(e){return m(e.email,e.password,e=>{b(e),i("forceChangePassword")},()=>{r(),(null==o?void 0:o.activate)&&x()})}return(0,a.useEffect)(()=>
1{s&&o&&!d&&(w.current||(w.current=!0,j(o)))},[d,o,s]),(0,n.jsxs)(l.S,{children:[(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("div",{className:"absolute top-[-15px] right-[-15px]",children:(0,n.jsx)("button",{onClick:()=>r(),className:"cursor-pointer",children:(0,n.jsx)(u.I,{icon:g.GRI,height:25,color:"#007092"})})})}),(0,n.jsx)("div",{className:"flex justify-center mb-2.5",children:(0,n.jsx)("img",{src:"/images/new-landing-images/logo-2023.jpg",alt:"Logo",style:{maxWidth:250}})}),"login"===t&&(0,n.jsx)(y,{onClose:r,loading:d,authData:o,error:h,onSetStep:i,onLogin:j}),"resetPassword"===t&&(0,n.jsx)(C,{onLogin:j,onClose:r,onSetStep:i,loading:d,error:d}),"forceChangePassword"===t&&(0,n.jsx)(A,{onClose:r,cognitoUser:p})]})};var N=(0,i.Ay)(d.A).withConfig({componentId:"sc-e9f263c0-1"})({flexGrow:1,color:"#007092"}),z=(0,i.Ay)(d.A).withConfig({componentId:"sc-e9f263c0-2"})({flexGrow:1,width:"100%",color:"var(--font-bg-color-secondary)",marginBottom:10}),I=(0,i.Ay)(d.A).withConfig({componentId:"sc-e9f263c0-3"})({flexGrow:1,color:"#007092"}),S=(0,i.Ay)(d.A).withConfig({componentId:"sc-e9f263c0-4"})({flexGrow:1,width:"100%"}),E=(0,i.Ay)(d.A).withConfig({componentId:"sc-e9f263c0-5"})({flexGrow:1,width:"100%"})},26086:(e,r,o)=>{o.d(r,{j:()=>s,n:()=>l});var n=o(95155),a=o(53100);let l=e=>/\S+@\S+\.\S+/.test(e),s=e=>{let{value:r,hideLabel:o,onValueChange:s,placeholder:t,showErrorOnBlur:i,showErrorArea:c}=e,d=(e=>{if(e.length<1||!l(e))return"E-Mail nicht valide"})(r);return(0,n.jsx)(a.ks,{id:"email",label:o?void 0:"E-mail:",placeholder:t,type:"email",autoComplete:"email",value:r,showErrorArea:c,showErrorOnBlur:i,onValueChange:s,error:d})}},34232:(e,r,o)=>{o.d(r,{S:()=>t});var n=o(95155),a=o(23426);let l=a.Ay.div.withConfig({componentId:"sc-510a7657-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:rgba(46,43,43,0.75);z-index:100;color:var(--font-color-main);padding:10px;@media (max-width:500px){padding:0;align-items:flex-start;}"]),s=a.Ay.div.withConfig({componentId:"sc-510a7657-1"})(["background-color:#fff;padding:2rem;border-radius:1rem;min-width:500px;overflow-y:auto;max-height:95vh;@media (max-width:500px){padding:1rem;max-width:100%;min-width:100%;width:100%;margin:0;border-radius:0;min-height:100vh;max-height:100vh;}"]),t=e=>{let{children:r}=e;return(0,n.jsx)(l,{children:(0,n.jsx)(s,{children:r})})}},36397:(e,r,o)=>{o.d(r,{A:()=>i});var n=o(95155);o(12115);var a=o(23426);let l={primary:(0,a.AH)(["background-color:#007092;color:white;border:2px solid #007092;border-radius:30px;&:hover{background-color:#008bb0;}"]),secondary:(0,a.AH)(["background-color:#40a635;border-radius:30px;border:2px solid #40a635;color:white;&:hover{background-color:#52bf44;}"]),alternative:(0,a.AH)(["background-color:#fff;border-radius:30px;color:#52bf44;border:none;&:hover{background-color:#ebe9e9;}"]),back:(0,a.AH)(["background-color:#ededed;color:#007092;border-radius:30px;border:none;"]),danger:(0,a.AH)(["background-color:#c76516;color:white;border-radius:30px;border:none;&:hover{background-color:#d87626;}"]),outlinePrimary:(0,a.AH)(["background-color:transparent;color:#007092;border:2px solid #007092;border-radius:30px;&:hover{background-color:#007092;color:white;}"]),outlineSecondary:(0,a.AH)(["background-color:transparent;color:#40a635;border:2px solid #40a635;border-radius:30px;&:hover{background-color:#40a635;color:white;}"]),outlineAlternative:(0,a.AH)(["border-radius:30px;color:#fff;border:2px solid #fff;&:hover{background:white;color:#007092;}"]),outlineDanger:(0,a.AH)(["background-color:transparent;color:#c76516;border:2px solid #c76516;border-radius:30px;&:hover{background-color:#c76516;color:white;}"]),ghost:(0,a.AH)(["background-color:transparent;color:#007092;border:none;border-radius:30px;&:hover{background-color:#ededed;}"])},s={large:(0,a.AH)(["font-size:clamp(1rem,1.3vw + 0.3rem,1.875rem);padding:8px 40px;"]),small:(0,a.AH)(["font-size:1rem;padding:8px 20px;"]),tiny:(0,a.AH)(["font-size:1rem;padding:4px 10px;"]),medium:(0,a.AH)(["font-size:1rem;padding:8px 20px;@media (min-width:1200px){font-size:1.375rem;}"])},t=a.Ay.button.withConfig({componentId:"sc-112f9954-0"})(["border-radius:5px;cursor:pointer;transition:background-color 0.3s ease,color 0.3s ease;border:none;font-weight:600;"," "," &:disabled{background-color:#e9ecef;color:#adb5bd;cursor:not-allowed;border-color:#e9ecef;}"],e=>{let{variant:r}=e;return l[r]||""},e=>{let{size:r}=e;return s[r]||""}),i=e=>{let{children:r,variant:o="primary",size:a="large",...l}=e;return(0,n.jsx)(t,{variant:o,...l,size:a,children:r})}},53100:(e,r,o)=>{o.d(r,{ks:()=>h});var n=o(95155),a=o(23426),l=o(12115),s=o(2230);let t=a.Ay.input.withConfig({componentId:"sc-5ca27704-0"})(["padding:5px 10px;border-radius:5px;border:1px solid ",";color:var(--font-color-main);"],e=>{let{error:r}=e;return r?"var(--font-color-error)":"var(--font-color-main)"}),i=a.Ay.textarea.withConfig({componentId:"sc-5ca27704-1"})(["padding:5px 10px;border-radius:5px;border:1px solid ",";color:var(--font-color-main);"],e=>{let{error:r}=e;return r?"var(--font-color-error)":"var(--font-color-main)"}),c=a.Ay.div.withConfig({componentId:"sc-5ca27704-2"})(["display:flex;flex-direction:column;.input-label{font-size:1rem;margin-bottom:0.25rem;font-weight:600;}.error-container{min-height:1.2rem;}.error{color:var(--font-color-error);font-size:0.7rem;}"]);var d=(0,a.Ay)(c).withConfig({componentId:"sc-5ca27704-3"})(["",""],e=>e.$_css3);let h=e=>{let{label:r,placeholder:o,value:a,type:t,onValueChange:i,error:c,showErrorArea:h,showErrorOnBlur:g,onF
1ocus:x,onBlur:p,iconRight:f,onRightIconClick:b,area:v,css:w,inputCss:j,autoComplete:y,onKeyDown:A,onKeyDownArea:C,inputClassName:k,style:N,id:z}=e,[I,S]=(0,l.useState)(!1),[E,H]=(0,l.useState)(!1),_=null!=a&&""!==a;return(0,n.jsxs)(d,{style:N,$_css3:w,children:[!!r&&(0,n.jsx)("label",{className:"input-label",children:r}),v?(0,n.jsx)(u,{onKeyDown:C,value:a,onBlur:()=>{S(!0),H(!0),p&&p()},placeholder:o,onFocus:x,error:!!c&&(E||_)&&(!g||I),onChange:e=>i(e.target.value),autoComplete:y,className:k,$_css:j}):(0,n.jsxs)("div",{style:{position:"relative",display:"flex",alignItems:"center"},children:[(0,n.jsx)(m,{id:z,onKeyDown:A,style:{width:"100%"},type:t||"text",value:a,onBlur:()=>{S(!0),H(!0),p&&p()},placeholder:o,onFocus:x,error:!!c&&(E||_)&&(!g||I),onChange:e=>i(e.target.value),autoComplete:y,className:k,$_css2:j}),f&&(0,n.jsx)("div",{style:{position:"absolute",right:5,top:5},className:b&&"cursor-pointer",onClick:()=>b&&b(),children:(0,n.jsx)(s.g,{icon:f,width:15,height:15,style:{color:"var(--font-color-main)"}})})]}),(h||!!c)&&(E||_)&&(0,n.jsx)("div",{className:"error-container",children:!!c&&(!g||I)&&(0,n.jsx)("span",{className:"error",children:c})})]})};var m=(0,a.Ay)(t).withConfig({componentId:"sc-5ca27704-4"})(["",""],e=>e.$_css2),u=(0,a.Ay)(i).withConfig({componentId:"sc-5ca27704-5"})(["",""],e=>e.$_css)}}]);

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.