PageSourceSearch

https://polsatboxgo.pl/_next/static/chunks/pages/email-activation/check-email-38ba9a27987a3a3f.js

js polsatboxgo.pl collected 2026-10-02 03:35:27 UTC 6,657 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5072],{16741:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/email-activation/check-email",function(){return n(36965)}])},71512:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});let r=n(50661).ZP.div.withConfig({componentId:"sc-5091a6d4-0"})(["flex:1;margin:0 auto;padding:",";max-width:",";display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;"],e=>{let{padding:t}=e;return t?"".concat(t,"rem"):"20vh 0"},e=>{let{maxWidth:t}=e;return t?"".concat(t,"rem"):"44rem"})},32618:function(e,t,n){"use strict";n.d(t,{Gq:function(){return l},Qt:function(){return r},gf:function(){return o},lN:function(){return c}});var r,i=n(1566),a=n(50661);(r||(r={})).LONG="long";let s=(0,a.iv)(["margin-left:auto;margin-right:auto;@media ","{width:26rem;}@media ","{width:28rem;}@media ","{width:33rem;}"],i.Uh.mobileS,i.Uh.mobileM,i.Uh.tablet),o=a.ZP.div.withConfig({componentId:"sc-a525a00d-0"})(["",";",";margin:auto;max-width:",";"," #highlight-span{display:flex;justify-content:center;",";}h1{line-height:3.3rem;}"],e=>{let{hide:t}=e;return t&&"display: none;"},e=>{let{centered:t}=e;return t&&"\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center\n    "},e=>{let{maxWidth:t}=e;return"".concat(t||41.5,"rem")},e=>{let{topGutter:t}=e;return t&&(0,a.iv)(["margin-top:","rem;"],t)},e=>{let{theme:t}=e;return"color: ".concat(t.text.color.highlight)}),c=a.ZP.div.withConfig({componentId:"sc-a525a00d-1"})([""," ",";"],s,e=>{let{inputSize:t}=e;return"long"===t&&(0,a.iv)(["@media ","{width:36rem;}"],i.Uh.tablet)}),l=a.ZP.form.withConfig({componentId:"sc-a525a00d-2"})(["",""],s);a.ZP.div.withConfig({componentId:"sc-a525a00d-3"})(["margin:2rem 0;&& > *{margin:auto;}"])},75783:function(e,t,n){"use strict";n.d(t,{g:function(){return u},C:function(){return m.C}});var r=n(85893),i=n(50661),a=n(64898),s=n(1566);let o=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 m.C.ERROR:return e.theme.alertMessage.bgColorError;case m.C.INFO:return e.theme.alertMessage.bgColorInfo;default:return"transparent"}})(e),a.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 c=n(67294),l=n(73539);let u=e=>{let{userMessage:t,type:n,responsive:i,ariaLive:a}=e,[s,u]=(0,c.useState)(""),m=(0,c.useRef)(null),d=(0,c.useRef)(!0),h=(0,c.useRef)();return(0,c.useEffect)(()=>()=>{d.current=!1,clearTimeout(h.current),m.current&&(m.current.textContent="")},[]),(0,c.useEffect)(()=>{if(u(""),clearTimeout(h.current),t)return h.current=setTimeout(()=>{d.current&&u(t)},100),()=>clearTimeout(h.current)},[t]),(0,r.jsxs)(o,{type:n,userMessage:t,responsive:i,role:"alert","aria-hidden":!0,children:[t,(0,r.jsx)(l.Z,{ref:m,role:"alert","aria-live":null!=a?a:"assertive","aria-atomic":"true",children:s})]})};var m=n(162)},162:function(e,t,n){"use strict";var r,i,a,s;n.d(t,{C:function(){return r},S:function(){return i}}),(a=r||(r={})).ERROR="error",a.INFO="info",(s=i||(i={})).OFF="off",s.ASSERTIVE="assertive",s.POLITE="polite"},21511:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(62501),i=n(92863);let a=e=>{i.sk||r.F0.pushRoute("login",e)}},36965:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return N}});var r=n(85893),i=n(67294),a=n(11817),s=n(20567),o=n(34737),c=n(43058),l=n(67825),u=n(68200),m=n(62501),d=n(3464),h=n(91934),g=n(7824),f=n(71896),p=n(32618),x=n(75783),v=n(11010),Z=n(3348),b=n(2436),w=n(51520),E=n(74231),R=n(42283);let C=E.Ry().shape({email:E.Z_().required((0,u.Z)("pages.register.enter-email")).matches(/^[^\s@]+@[^\s@]+\.[^\s@]+$/,(0,u.Z)("pages.register.invalid-email"))}),j=()=>{var e,t;let{query:n}=(0,m.tv)(),{changeEmail:r}=n,a=(0,b.L)().getAuthData(),[s,o]=(0,Z.Z)(),{status:c,data:l,error:u}=o,{register:d,handleSubmit:h,errors:g}=(0,R.cI)({resolver:(0,w.X)(C)}),f=h((t=(0,v._)(function*(e){let{email:t}=e,n={email:t};a&&Object.assign(n,{authData:a}),yield s(n)}),function(e){return t.apply(this,arguments)}));return(0,i.useMemo)(()=>{!a&&r&&m.F0.back()},[a,r]),{onSubmit:f,register:d,userMessage:(null==l?void 0:l.status)===0&&l.statusDescription,userError:(null===(e=g.email)||void 0===e?void 0:e.message)||(null==u?void 0:u.getUserMessage()),isSuccess:"success"===c}},k=()=>{let{onSubmit:e,register:t,userMessage:n,userError:i}=j();return n?(0,r.jsx)(x.g,{type:x.C.INFO,userMessage:n}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.v,{innerHtmlSubtitle:(0,u.Z)("pages.add-account-email.check-email.change-email",(0,s._)({portal:(0,u.Z)("domain")},{span:e=>'<span id="portal-span">'.concat(e,"</span>")}))}),(0,r.jsx)(p.Gq,{onSubmit:e,children:(0,r.jsx)(f.o,{icon:l.UZ.PERSON,placeholder:(0,u.Z)("form.placeholder.e-mail"),error:!!i,errorMessage:i,name:"email",ref:t,handleEnter:e,ariaLabel:(0,u.Z)(" WCAG.aria-label.enter-new-email")})}),(0,r.jsx)(o.z,{text:(0,u.Z)("change-button-label"),onButtonAction:e,btnType:c.J.PRIMARY})]})};var M=n(71512),_=n(55710),y=n(21511),I=n(34050),O=()=>{let{query:e}=(0,m.tv)(),{changeEmail:t,email:n,emailSent:a,next:f}=e,p=(0,b.L)(),x=(0,i.useCallback)(()=>a?{title:(0,u.Z)("pages.register.check-email.header"),description:(0,u.Z)("pages.register.check-email.description-with-email-sent")}:n?{title:(0,u.Z)("pages.register.check-email.header-email-unconfirmed"),description:(0,u.Z)("pages.register.check-email.description-with-email",(0,s._)({email:n},(0,_.R1)("highlight")))}:{title:(0,u.Z)("pages.register.check-email.header"),description:(0,u.Z)("pages.register.check-email.description")},[n,a]);return p.hasEmail()?(m.F0.pushRoute(I.Z6.HOME),null):(0,r.jsxs)(M.r,{children:[(0,r.jsx)(d.v,{icon:l.UZ.EMAIL_CIRCLE,title:x().title,innerHtmlDescription:x().description}),(0,r.jsx)(o.z,{text:(0,u.Z)("ok-button-label"),onButtonAction:()=>(0,y.r)({next:f}),btnType:c.J.PRIMARY,gutter:g.G.NORMAL}),(0,r.jsx)(h.v,{gutter:g.G.NORMAL}),t&&(0,r.jsx)(k,{})]})},N=()=>
1(0,r.jsx)(a.Z,{simpleView:!0,hideCancel:!0,children:(0,r.jsx)(O,{})})}},function(e){e.O(0,[5079,5675,4231,2283,2901,2903,1817,2350,2888,9774,179],function(){return e(e.s=16741)}),_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.