PageSourceSearch

https://www.elevensports.pl/_next/static/chunks/pages/login/by-sms-d29a1b9f5acb7cb1.js

js elevensports.pl collected 2026-10-02 15:11:55 UTC 9,697 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4390,2378],{52637:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login/by-sms",function(){return n(327)}])},52557:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var r=n(44474),i=n(59713),o=n(64673);let s=e=>{let t=(0,o.ZP)(i.Y.SYSTEM,i.U.FETCH_PARTNERS,e),{data:n,error:s,isFetching:a}=(0,r.Al)(t,{appendAuthData:!0});return{data:n,error:s,isFetching:a}}},42596:function(e,t,n){"use strict";n.d(t,{EX:function(){return c},F:function(){return u},Hd:function(){return a},Nr:function(){return d},r6:function(){return l}});var r=n(1566),i=n(50661),o=n(3464),s=n(15809);let a=i.ZP.div.withConfig({componentId:"sc-42371d21-0"})(["display:flex;flex-direction:column;align-items:center;margin:auto 0;padding:5rem 2rem;@media ","{padding-top:15rem;padding-bottom:15rem;}"],r.Uh.laptop),l=i.ZP.div.withConfig({componentId:"sc-42371d21-1"})(["flex:1;margin:0 auto;max-width:44rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;"]),u=(0,i.ZP)(o.v).withConfig({componentId:"sc-42371d21-2"})(["","{margin:1.8rem auto 1rem;max-width:27rem;@media ","{max-width:46rem;margin-bottom:1.4rem;}}","{margin:0 auto;line-height:2.2rem;max-width:27rem;@media ","{max-width:43rem;line-height:2.4rem;}}"],s.c7,r.Uh.tablet,s.NF,r.Uh.tablet),c=i.ZP.img.withConfig({componentId:"sc-42371d21-3"})(["pointer-events:none;touch-action:none;user-select:none;height:6rem;"]),d=i.ZP.div.withConfig({componentId:"sc-42371d21-4"})(["padding-bottom:1rem;display:flex;align-items:center;flex-direction:column;span{margin-bottom:1rem;margin-right:0;}"])},1986:function(e,t,n){"use strict";n.d(t,{s:function(){return a},X:function(){return l}});var r=n(85893),i=n(67294),o=n(67335),s=n(99186);let a=e=>{let{children:t,autoSize:n}=e,{themeOption:i}=(0,o.bp)();return(0,r.jsx)(s.fh,{themeOption:i,children:(0,r.jsx)(s.zr,{autoSize:n,themeOption:i,children:t})})},l=e=>{let{children:t,autoSize:n,reverse:o,separator:l,"data-testing":u,paddingTop:c}=e;return(0,r.jsx)(s.Gz,{reverse:o,separator:l,"data-testing":u,paddingTop:c,children:i.Children.toArray(t).map((e,t)=>e&&(0,r.jsx)(a,{autoSize:n,children:e.props.children},t))})}},75783:function(e,t,n){"use strict";n.d(t,{g:function(){return c},C:function(){return d.C}});var r=n(85893),i=n(50661),o=n(64898),s=n(1566);let a=i.ZP.div.withConfig({componentId:"sc-be40f64-0"})(["display:flex;justify-content:center;align-items:center;color:",";background:",";font-size:2.6rem;font-weight:500;height:7.8rem;padding:0 5rem;text-align:center;position:fixed;z-index:",";bottom:0;left:0;right:0;",""],e=>{let{theme:t}=e;return t.alertMessage.color},e=>(function(e){switch(e.type){case d.C.ERROR:return e.theme.alertMessage.bgColorError;case d.C.INFO:return e.theme.alertMessage.bgColorInfo;default:return"transparent"}})(e),o.k.ALERT_MESSAGE,e=>{let{responsive:t}=e;return t&&"\n        font-size: 1.4rem;\n        height: 5.6rem;\n\n        @media (max-width: ".concat(s.dp.mobileM-1,"px) {\n            font-size: 1.2rem;\n            height: 3.1rem;\n            padding: 0;\n        }\n        ")});var l=n(67294),u=n(73539);let c=e=>{let{userMessage:t,type:n,responsive:i,ariaLive:o}=e,[s,c]=(0,l.useState)(""),d=(0,l.useRef)(null),m=(0,l.useRef)(!0),h=(0,l.useRef)();return(0,l.useEffect)(()=>()=>{m.current=!1,clearTimeout(h.current),d.current&&(d.current.textContent="")},[]),(0,l.useEffect)(()=>{if(c(""),clearTimeout(h.current),t)return h.current=setTimeout(()=>{m.current&&c(t)},100),()=>clearTimeout(h.current)},[t]),(0,r.jsxs)(a,{type:n,userMessage:t,responsive:i,role:"alert","aria-hidden":!0,children:[t,(0,r.jsx)(u.Z,{ref:d,role:"alert","aria-live":null!=o?o:"assertive","aria-atomic":"true",children:s})]})};var d=n(162)},162:function(e,t,n){"use strict";var r,i,o,s;n.d(t,{C:function(){return r},S:function(){return i}}),(o=r||(r={})).ERROR="error",o.INFO="info",(s=i||(i={})).OFF="off",s.ASSERTIVE="assertive",s.POLITE="polite"},57422:function(e,t,n){"use strict";n.d(t,{r:function(){return h}});var r=n(11010),i=n(42283),o=n(44474),s=n(64673),a=n(59713),l=()=>{let e=(0,s.ZP)(a.Y.AUTH,a.U.SEND_MSISDN_LOGIN,null);return(0,o.Vp)(e,{appendAuthData:!0})},u=n(62501),c=n(34050),d=n(81855),m=n(9340);let h=e=>{let{partnerCode:t}=e,[n,{error:o,isFetching:s}]=l(),{handleSubmit:a}=(0,i.cI)();return{onSubmit:a((0,r._)(function*(){let e=yield n({partnerCode:t,authProvider:m.F.PLUS}),r={partnerCode:t,target:(0,d.TP)(c.Z6.PARTNERSHIP_MODEL_REGIST
1ER_CODE,{code:t})};if(e.ok)return u.F0.pushRoute(c.Z6.LOGIN_BY_SMS,r)})),error:o,isFetching:s}}},59234:function(e,t,n){"use strict";var r=n(67294),i=n(80889),o=n(94031),s=n(52557),a=n(25354);t.Z=()=>{let{activePartner:e,setActivePartner:t}=(0,a.k3)(),[n,l]=(0,r.useState)(),[u,c]=(0,r.useState)(),[d,m]=(0,r.useState)(),{width:h,height:g,ref:f}=(0,o.B)(),{data:p}=(0,s.m)({});return(0,r.useEffect)(()=>{n&&p&&p[n]&&t(new i.z(p[n],n))},[p,n,t]),(0,r.useEffect)(()=>{if(e){let t=new i.z(e,n),r=null==t?void 0:t.getGalleryImageSrc("background"),o=null==t?void 0:t.getGalleryImageSrc("standard");r&&c({src:r,width:h,height:g}),o&&m(o)}},[h,g,e,n]),{partnerBackground:u,logoSrc:d,backgroundContainerRef:f,setPartnerId:l}}},94031:function(e,t,n){"use strict";n.d(t,{B:function(){return l}});var r=n(20567),i=n(14932),o=n(67294),s=n(23279),a=n.n(s);let l=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,o.useRef)(null),[n,s]=(0,o.useState)({width:0,height:0}),l=(0,o.useCallback)(()=>{var n,r;let i=e?window.innerWidth:(null==t?void 0:null===(n=t.current)||void 0===n?void 0:n.clientWidth)||0,o=e?window.innerHeight:(null==t?void 0:null===(r=t.current)||void 0===r?void 0:r.clientHeight)||0;s(e=>e.width!==i||e.height!==o?{width:i,height:o}:e)},[e]);return(0,o.useEffect)(()=>
1{l();let e=a()(l,200);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[l]),(0,i._)((0,r._)({},n),{ref:t})}},80889:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(51153),i=n(10550);class o{getPartnerId(){return this.partnerId}getName(){return this.name}getGallery(){return this.gallery||[]}getImages(){return this.images||[]}getThumbnails(){return this.thumbnails||[]}getBackgroundSrc(e,t){return void 0!==e&&this.thumbnails?(0,r.ul)((0,i.W)(this.thumbnails,e,t).src||""):""}getGalleryImageSrc(e){var t;return null===this||void 0===this?void 0:null===(t=this.getGallery().find(t=>{var n;return(null===(n=t.customParams)||void 0===n?void 0:n.display)===e}))||void 0===t?void 0:t.src}constructor(e,t){this.name=e.name,this.images=e.images,this.thumbnails=e.thumbnails,this.gallery=e.gallery,this.partnerId=t}}},327:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return F}});var r=n(85893),i=n(32011),o=n(11817),s=n(44586),a=n(99186),l=n(1986),u=n(34737),c=n(71896),d=n(71257),m=n(32618),h=n(43058),g=n(67825),f=n(3464),p=n(7824),v=n(67294),x=n(96465),E=n(86201),b=n(62501),w=n(57422),y=n(11010),S=n(74231),C=n(80038),I=n(9340),Z=n(42283),_=n(51520),j=n(25817);let T=S.Ry().shape({authToken:S.Z_().required((0,s.Z)("form.validate.required"))}),R=()=>{var e;let t=I.F.PLUS,{query:n}=(0,b.tv)(),[r,i]=(0,C.Z)(),{status:o,error:s,isFetching:a}=i,l=n.partnerCode,{register:u,handleSubmit:c,errors:d}=(0,Z.cI)({resolver:(0,_.X)(T)});return{onSubmit:c((e=(0,y._)(function*(e){let{authToken:i}=e;(yield r({authProvider:t,authToken:i,partnerCode:l},{flowContext:"code"})).ok&&(0,j.X)(n)}),function(t){return e.apply(this,arguments)})),register:u,isFetching:a,loginError:s,formErrors:d,isSuccess:"success"===o}};var P=n(75783);let G=()=>{var e;let[t,n]=(0,v.useState)(!1),{query:i}=(0,b.tv)(),{onSubmit:o,register:a,isFetching:l,loginError:y,formErrors:S,isSuccess:C}=R(),I={partnerCode:i.partnerCode},{onSubmit:Z}=(0,w.r)(I),_=()=>{Z(),n(!0)};return(0,r.jsxs)(x.sV,{isFetching:l,showChildren:C||!!S,delayFetched:3e3,topGutter:p.G.BIG,children:[(0,r.jsx)(f.v,{icon:g.UZ.KEY_CIRCLE}),(0,r.jsx)(f.v,{title:(0,s.Z)("partnership-model.login-by-sms.title"),description:(0,s.Z)("partnership-model.login-by-sms.description")}),(0,r.jsxs)(m.Gq,{onSubmit:o,children:[(0,r.jsx)(c.o,{name:"authToken",placeholder:(0,s.Z)("partnership-model.login-by-sms.code"),type:d.rC.TEXT,icon:g.UZ.KEY,gutter:p.G.MEDIUM,error:!!S.authToken||!!y,errorMessage:(null===(e=S.authToken)||void 0===e?void 0:e.message)||(null==y?void 0:y.getMessage()),ref:a(),handleEnter:o,maxLength:6,ariaLabel:(0,s.Z)(" WCAG.aria-label.enter-code-sms")}),(0,r.jsx)(u.z,{text:(0,s.Z)("pages.login.ipolsatbox.login-button"),onButtonAction:o,btnType:h.J.PRIMARY,gutter:p.G.MEDIUM,fullWidth:!0}),(0,r.jsx)(E.V6,{children:(0,r.jsxs)("p",{children:[(0,s.Z)("partnership-model.login-by-sms.footer")," ",(0,r.jsx)(E.rU,{onClick:()=>_(),children:(0,s.Z)("partnership-model.login-by-sms.footer-send-again")})]})})]}),t&&(0,r.jsx)(P.g,{userMessage:(0,s.Z)("form.phone-verification.new-code-sent"),type:P.C.INFO,responsive:!0})]})};var N=n(59234),k=n(41959),M=n(42596),F=()=>{let{partnerBackground:e,backgroundContainerRef:t,logoSrc:n}=(0,N.Z)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{description:(0,s.Z)("seo.user_login.description",{portal_domain:(0,s.Z)("domain-url")}),title:(0,s.Z)("seo.user_login.title",{portal_domain:(0,s.Z)("domain-url")})}),(0,r.jsxs)(o.Z,{simpleView:!0,hideCancel:!0,backgroundImage:e,mainContainerRef:t,disableDefaultHead:!0,activityEvents:{placeType:k.U.LOGIN,placeValue:"sms"},children:[n&&(0,r.jsx)(M.Nr,{children:(0,r.jsx)(M.EX,{src:n,alt:""})}),(0,r.jsx)(a.Gz,{children:(0,r.jsx)(l.s,{children:(0,r.jsx)(G,{})})})]})]})}}},function(e){e.O(0,[5079,5675,3290,4231,2283,2901,2903,1817,6465,8850,2888,9774,179],function(){return e(e.s=52637)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.