PageSourceSearch

https://www.rtlplusz.hu/auth-107f5f2b1a168420.bundle.js

js rtlplusz.hu collected 2026-09-25 02:33:11 UTC 8,054 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[7933],{81627(e,t,r){r.d(t,{u0:()=>s,uf:()=>n,z$:()=>a});var s="brEh3OJyqSYsUZRB l_BS5IMWtUxl5RwK",n="l_BS5IMWtUxl5RwK",a="aMWAl6Lc7gK4Jus4"},34928(e,t,r){r.d(t,{u:()=>N,D:()=>w});var s=r(3495),n=r(66751),a=r(70333),i=r(2740),o=r(86945),l=r(39279),c=r(65993),d=r.n(c),u=r(30696),m=r(21660),g=r(51475),h=r(70263);const f=new Set(["onboarding","payment","couponPayment"]),p=new Set(["landing"]);var v=r(58084),y=r(63601);const x=e=>{const t=document.getElementById(e);t&&(t.focus({preventScroll:!0}),t.scrollIntoView())},N=(0,l.B)(),w=()=>{const{t:e}=(0,a.Bd)(),t=(0,o.zy)(),r=(0,n.useRef)(null),l=(0,n.useMemo)(()=>(e=>{const t=h.eK.resolve(e);return!!t.name&&(!t.group||!f.has(t.group))&&("auth"!==t.group||p.has(t.name))})(t.pathname),[t.pathname]),c=(0,i.d4)(m.wH),w=(0,i.d4)(m.mk),b=c||w,j=(0,n.useCallback)(e=>{e.preventDefault(),x("main")},[]);return(0,n.useEffect)(()=>{r.current&&r.current.contains(document.activeElement)&&x("main")},[t.pathname]),b?null:(0,s.jsx)("nav",{className:d()("theme-dark",v.K,y.JB),"aria-label":e("accessibility.skipLinks.regionLabel"),ref:r,children:(0,s.jsxs)("div",{className:y.bf,children:[(0,s.jsx)("div",{className:y.uc,children:(0,s.jsx)(g.r,{className:y.Zg,"aria-hidden":"true"})}),(0,s.jsxs)("section",{children:[(0,s.jsx)(N.Target,{}),(0,s.jsx)(u.$,{component:"a",href:"#main",onClick:j,label:e("accessibility.skipLinks.toMainContent"),buttonMode:"secondary"}),l?(0,s.jsx)(u.$,{component:o.N_,to:e("url.accessibilityDeclaration"),label:e("accessibility.skipLinks.toAccessibilityDeclaration"),buttonMode:"secondary"}):null]}),(0,s.jsx)("div",{className:y.uc})]})})}},87333(e,t,r){r.d(t,{A:()=>x,B:()=>N});var s=r(2631),n=r.n(s),a=r(81528),i=r(41487),o=r(98797),l=r(13484),c=r(34291),d=r(27742),u=r(90752),m=r(31509),g=r(91782),h=r(94327),f=r(89058),p=r(3938);const v={show:!0,message:"onboarding.errorMessages.emailOrPasswordInvalid",duration:6e3,type:r(78873).N4.ERROR};var y=r(94513);const x=({loginID:e,password:t,registrationToken:r})=>async(s,n)=>{const i=n(),o=await(0,m.q)(s,i),{lastUsedAuthProvider:l}=(0,f.D$)(i);try{const n=await o.linkSocialAccount(e,t,r);await s((0,y.Ne)(n)),(0,d.BI)({key:"onboardingAccountMerge",status:"success",provider:l})}catch(e){(0,g.NQ)(e,g.Tn,l),(0,d.BI)({key:"onboardingAccountMerge",status:"fail",provider:l,error:e,errorCode:e.code,message:g.Tn});const t=new a.v3(e.message);s((0,c.$8)(t)),s((0,c.QQ)(v))}},N=e=>async(t,r)=>{const s=r(),f=await(0,m.q)(t,s),{gigyaProviderName:v,eventName:x}=e;try{const e=await f.socialRegistration(v),r=(0,p.m)(n().get(e,"profile",{}));"u"===n().get(r,"profile.gender")&&(e.profile.gender=null,r.profile.gender=null,await t((0,u.b)(r)));const{isNewUser:s}=e;return(0,d.VR)({key:"onboardingLogin",provider:x,status:"succeed"}),await t((0,y.Ne)(e,s,v))}catch(e){(0,g.NQ)(e,g.lV);const{errorCode:r,regToken:u}=n().get(e,"extraData.response",{});if(i.A.errorCodes.CODE_LOGIN_IDENTIFIER_EXISTS===r){const e=(0,l.sK)(s);return t((0,h.Ht)({providerName:v,registrationToken:u})),e?(0,o.Il)({name:"accountMerge"}):(0,o.Il)({name:"home"})}if(i.A.errorCodes.CODE_OPERATION_CANCELED===r)return null;const m=e?e.message:null;return(0,d.VR)({key:"onboardingLogin",provider:x,errorCode:r,message:m,status:"failed"}),t((0,c.$8)(new a.v3(m)))}}},28885(e,t,r){r.r(t);var s=r(3495),n=r(2740),a=r(81528),i=r(5988),o=r(70263),l=r(13484);const c=(0,i.R)({resolved:{},chunkName:()=>"onboarding",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:()=>Promise.all([r.e(7953),r.e(9368),r.e(1157),r.e(9596),r.e(3516),r.e(1465),r.e(7829),r.e(7709),r.e(1352)]).then(r.bind(r,12566)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return r(t)},resolve:()=>12566});r.d(t,["default",0,({routeName:e})=>{if(!(0,n.d4)(l.sK))throw new a.Lx("Auth page disabled",o.eK.get("home"));return(0,s.jsx)(c,{currentRouteName:e})}])},7259(e,t,r){r.r(t);var s=r(3495),n=r(66751),a=r(2740),i=r(50117),o=r(41338);r.d(t,["default",0,({flowType:e=i.lv.LOGIN})=>{const t=(0,a.wA)(),{getState:r}=(0,a.Pj)();return(0,n.useEffect)(()=>{(0,o.Mx)(t,r,e)},[t,r,e]),(0,s.jsx)("p",{children:"loading"})}])},3938(e,t,r){var s=r(32700),n=r.n(s),a=r(2631),i=r.n(a),o=r(94399);const l={};r.d(t,["m",0,e=>{if(i().isNil(e)||i().isEmpty(e))return l;const t=i().get(e,"email",""),r=i().get(e,"password",""),s=(e=>{const t=i().get(o,"applaunch.data.gigya.allowedFieldsInProfile",l),r=i().keys(i().pickBy(t));return i().pickBy(e,(e,t)=>i().includes(r,t))})(e);if(e.birthdate){const t=n()(i().get(e,"birthdate",""),o.dateTime.formats.shortDate);s.birthDay=t.format("DD"),s.birthMonth=t.format("MM"),s.birthYear=t.format("YYYY")}return t||r||!i().isEmpty(s)?i().isEmpty(s)?{email:t,password:r}:t||r?{email:t,password:r,profile:s}:{profile:s}:l}])},46902(e,t,r){r.r(t),r.d(t,{default:()=>k});var s=r(3495),n=r(66751),a=r(70333),i=r(2740),o=r(2631),l=r.n(o),c=r(94959),d=r
1(70880),u=r(55729),m=r(7117),g=r(29855),h=r(98797),f=r(80877),p=r(87333),v=r(89058),y=r(71229),x=r(97431),N=r(35344),w=r(35406),b=r(88365),j=r(45823);const k=()=>{const e=(0,i.wA)(),{accountMerge:t}=(0,i.d4)(f.Ph),{lastUsedAuthProvider:r,registrationToken:o}=(0,i.d4)(v.D$),k=r&&o,{schema:E,isLastStep:A,currentStepIndex:I,currentStepMeta:D,extraValidation:S}=(0,x.P)(t),T=l().get(D,"modalTitle");(0,n.useEffect)(()=>{k||(0,h.Il)({name:"login"})},[k]);const R={provider:(0,g.A)(`socialNetworks.${r}`)};return(0,n.useEffect)(()=>(e((0,d.ZO)(t,E)),()=>{e((0,d.E2)(t))}),[t,E,e]),(0,y.r)({isLoadingDisplayed:!k,lastUsedAuthProvider:r,registrationToken:o,name:"onboardingAccountMerge"}),(0,s.jsx)(j.l,{children:k?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w.r,{...D,translationsData:R}),(0,s.jsxs)(b.a,{children:[T&&(0,s.jsx)(m.o,{className:"VUzKze6PAzQuYjTS",level:"MADRID_1",children:(0,s.jsx)(a.x6,{i18nKey:T,values:R})}),(0,s.jsx)(c.ok,{dictionary:N.G,schema:E,formId:t,onNextStep:r=>{e((0,d.aX)(r)),e((0,d.AT)(t))},onSubmit:t=>{const{email:r,password:s}=t;e((0,p.A)({loginID:r,password:s,registrationToken:o}))},currentStepIndex:I,isLastStep:A,extraValidation:S})]})]}):(0,s.jsx)("div",{className:"c6Wz4wfVz0uq7TlQ",children:(0,s.jsx)(u.In,{name:u.WW.Loading,color:"white",size:32})})})}},35406(e,t,r){var s=r(3495),n=r(70333),a=r(7117),i=r(48647),o=r(81627);r.d(t,["r",0,({title:e,subtitle:t,translationsData:r,...l})=>(0,s.jsxs)("div",{children:[(0,s.jsx)(a.o,{component:"h1",level:i.O,className:o.uf,children:(0,s.jsx)(n.x6,{i18nKey:e,values:r})}),t?(0,s.jsx)(a.o,{component:"h2",level:"BERLIN_1",className:o.u0,children:(0,s.jsx)(n.x6,{i18nKey:t,values:r})}):null]})])},66055(e,t,r){r.d(t,["r",0,"theme-light"])},88365(e,t,r){r.d(t,{a:()=>l});var s=r(3495),n=r(65993),a=r.n(n),i=r(65026),o=r(66055);const l=({children:e,className:t,"data-testid":r})=>(0,s.jsx)(i.tu,{className:a()("ZEyKuB2sFtjA7rRB",o.r,t),children:e})},23311(e,t,r){r.d(t,["$v",0,"__internals","KU",0,{adult:"adult",kid:"kid"},"Qu",0,"isMaster"])},71229(e,t,r){var s=r(66751),n=r(27742);r.d(t,["r",0,({maxTime:e=3e4,callback:t,isLoadingDisplayed:r,name:a,...i})=>{const o=(0,s.useRef)(null),l=(0,s.useRef)(r),c=(0,s.useRef)(i);(0,s.useEffect)(()=>{c.current=i},[JSON.stringify(i)]),(0,s.useEffect)(()=>{l.current=r},[r]);const d=()=>{null!==o.current&&clearTimeout(o.current)};(0,s.useEffect)(()=>{null===o.current&&(o.current=setTimeout(()=>{!1!==l.current&&((0,n.BI)({key:"loadingTimeout",timeout:e,details:c.current?JSON.stringify(c.current):void 0,name:a}),t?.())},e))},[t,JSON.stringify(i),e,a]),(0,s.useEffect)(()=>d,[])}])},45576(e,t,r){r.d(t,{Ht:()=>o,jE:()=>i});var s=r(66751),n=r(3495),a=s.createContext(void 0),i=e=>{const t=s.useContext(a);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},o=({client:e,children:t})=>(s.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,n.jsx)(a.Provider,{value:e,children:t}))}}]);
2//# sourceMappingURL=sourcemaps/auth-107f5f2b1a168420.bundle.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.