1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3316],{4406:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSP:()=>n,default:()=>o});var l=r(83989),n=!0;let o=l.default},35426:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/beta/login",function(){return r(4406)}])},83989:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSP:()=>b,default:()=>S});var l=r(37876),n=r(95062),o=r.n(n),t=r(67655),a=r(86791),i=r(18544),c=r.n(i),d=r(26969),u=r(77328),m=r.n(u),g=r(47588),h=r(39854),p=r(14232),x=r(86006),_=r(44007),w=r(79752);function j(e){let{data:s,preview:r,release:n,app:o,beta:i}=e,[u,j]=(0,p.useState)(!1),[b,S]=(0,p.useState)({loading:!1,error:!1});return(0,l.jsx)(a.IS,{value:{data:s,isPreview:r,isApp:o,isBeta:i,release:n},children:(0,l.jsx)(_.Ay,{value:{adPosList:[]},children:(0,l.jsxs)(a.Ss,{children:[(0,l.jsxs)(m(),{children:[(0,l.jsx)("title",{children:"Login - Newsday"}),(0,l.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,l.jsx)("main",{className:"container",children:(0,l.jsx)("article",{className:(0,t.StyleSelector)(c(),["login"]),children:(0,l.jsx)("div",{className:(0,t.StyleSelector)(c(),["primary"]),children:(0,l.jsxs)("div",{id:"fullloginForm",className:(0,t.StyleSelector)(c(),["boxed"]),children:[b.error&&(0,l.jsxs)("span",{className:(0,t.StyleSelector)(c(),["form-error","error"]),children:["Error: ",b.error]}),(0,l.jsx)("h1",{children:"Log in"}),(0,l.jsxs)("form",{id:"loginFormND",action:"/",onSubmit:e=>(function(e){let{e:s,status:r,setStatus:l}=e;s.preventDefault();let n=s.target.querySelector("[name='login_loginname']").value,o=s.target.querySelector("[name='login_password']").value,a=location.origin;window.nd_user.cookie.get("c_desturl")&&(a=window.nd_user.cookie.get("c_desturl")),l({loading:!0,error:!1}),window.nd_user.api.post("login",{LoginName:n,Password:o},!1).then(e=>{if(e.success){var s,r;null==(r=window.nd_user)||null==(s=r.once)||s.call(r,"nd_mg2_onLoggedIn",()=>{setTimeout(()=>{window.location=a},2e3)}),window.Connext.Run(),t.ACE_Storage.setItem("c_lnsccs","success"),_satellite.track("login")}else l({loading:!1,error:e.customer_message}),t.ACE_Storage.setItem("c_lnsccs","status: "+e.status+" error: "+e.customer_message),_satellite.track("login")}).catch(e=>{l({loading:!1,error:(null==e?void 0:e.customer_message)||"Login failed"}),w.A.error(e,{label:"Login error"}),t.ACE_Storage.setItem("c_lnsccs","status: "+((null==e?void 0:e.status)||"unknown")+" error: "+((null==e?void 0:e.customer_message)||(null==e?void 0:e.message)||"unknown")),_satellite.track("login")})})({e,status:b,setStatus:S}),children:[(0,l.jsxs)("fieldset",{className:"text",children:[(0,l.jsx)("label",{htmlFor:"login_loginname",children:"Email"}),(0,l.jsx)("input",{name:"login_loginname",type:"email",autoComplete:"email",placeholder:"[email protected]",tabIndex:"1",required:!0})]}),(0,l.jsxs)("fieldset",{className:"text",children:[(0,l.jsx)("label",{htmlFor:"login_password",children:"Password"}),(0,l.jsxs)("div",{className:(0,t.StyleSelector)(c(),["password-field"]),children:[(0,l.jsx)("input",{name:"login_password",id:"password-name-input",className:"password-name-input",autoComplete:"current-password",type:u?"text":"password",tabIndex:"2",required:!0}),(0,l.jsx)("span",{onClick:e=>{e.preventDefault(),j(!u)},children:(0,l.jsx)(h.In,{name:u?"eye-slash":"eye"})})]}),(0,l.jsx)(d.A,{href:"/resetpassword",className:(0,t.StyleSelector)(c(),["forgot"]),children:"Forgot password?"})]}),(0,l.jsxs)("fieldset",{className:"buttons",children:[(0,l.jsx)("button",{type:"submit",className:"btn blue",id:"loginformsubmit",value:"Submit",tabIndex:"4",children:b.loading?(0,l.jsx)(x.A,{type:"three_dots"}):"LOG IN"}),(0,l.jsx)("p",{children:(0,l.jsx)(d.A,{href:"/help",className:(0,t.StyleSelector)(c(),["ndtip"]),children:"Need help?"})}),(0,l.jsx)("p",{children:(0,l.jsxs)("strong",{children:["Newsday home delivery subscriber",(0,l.jsx)("br",{}),(0,l.jsx)("a",{href:"#",className:(0,t.StyleSelector)(c(),["logInbtn","MG2login","active"]),id:"MG2register","data-mg2-action":"register",children:"Activate digital access now"})]})})]})]}
1),(0,l.jsxs)("p",{className:"agree",children:["By logging in you agree to Newsday' s"," ",(0,l.jsx)(d.A,{href:"/terms",children:"Terms of service"})," and"," ",(0,l.jsx)(d.A,{href:"/privacy",children:"Privacy Policy"})]})]})})})}),(0,l.jsx)(g.A,{})]})})})}j.propTypes={data:o().object.isRequired,preview:o().bool,release:o().bool,app:o().bool,beta:o().bool,errorCode:o().oneOfType([o().number,o().bool])};var b=!0;let S=j}},e=>{e.O(0,[8522,8513,6618,4194,8622,749,636,6593,8792],()=>e(e.s=35426)),_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.