1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312],{6821:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-in",function(){return t(69815)}])},49018:function(e,n,t){"use strict";t.d(n,{h:function(){return r}});var i=t(85893),r=(t(67294),function(e){var n=e.struct;return(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})})},69815:function(e,n,t){"use strict";t.r(n),t.d(n,{SignIn:function(){return _},__N_SSP:function(){return N}});var i=t(10253),r=t(85893),o=t(96144),s=t(13487),a=t(25303),c=t(49018),l=t(72102),u=t(22447),f=t(57321),h=t(70024),d=t(10646),p=t(9008),m=t.n(p),g=t(41664),j=t.n(g),x=t(11163),S=t(67294),y=t(733),v=t.n(y),w=t(96714),b=t(94971),N=!0;function _(e){var n=e.menu,t=e.finishSignIn,c=(0,i.Z)((0,h.KO)(l.Pf),1)[0],p=(0,x.useRouter)().asPath,m=(0,d.Vb)().commentReactions,g=(0,w.ZP)((function(e){(0,b.emitAnalyticsPageView)("","",e,"Sign In",c)})),y=(0,S.useState)(t),N=y[0],_=y[1],E=(0,S.useState)(!1),T=E[0],k=E[1],P=(0,f.K)(),O=P.authenticating,V=P.user,F=P.signInWithEmailLink;return(0,S.useEffect)((function(){k(!0)}),[]),(0,S.useEffect)((function(){g("https://thespinoff.co.nz".concat(p))}),[p]),(0,S.useEffect)((function(){var e=window.localStorage.getItem("emailForSignIn");t&&e?(window.localStorage.removeItem("emailForSignIn"),F(e,window.location.href).finally((function(){_(!1)}))):_(!1)}),[]),(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)(a.h,{menu:n}),(0,r.jsx)(I,{}),(0,r.jsx)(o.g,{className:"login-page",children:(0,r.jsx)("div",{className:"login-container",children:(0,r.jsxs)("div",{className:"login-content",children:[(0,r.jsx)("div",{className:"login-left",children:T&&!V&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h1",{children:"Welcome back to The Spinoff."}),(0,r.jsx)("h2",{children:"Free account holder?"}),(0,r.jsxs)("p",{children:["Sign in to manage your newsletter subscriptions, edit your profile view your saved articles and recommended reading"," "]}),(0,r.jsx)("h2",{children:"Spinoff Member?"}),(0,r.jsx)("p",{children:"Sign in to do all of that as well as:"}),(0,r.jsx)("p",{children:(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"Comment on articles"}),(0,r.jsxs)("li",{children:["Read The Spinoff with fewer interruptions and no pop-ups"," "]}),(0,r.jsx)("li",{children:"Update your donation"}),m&&(0,r.jsx)("li",{children:"Share reaction to comments"})]})}),(0,r.jsxs)("p",{children:["Not a member yet? You can still"," ",(0,r.jsx)(j(),{href:"/register",children:(0,r.jsx)("a",{className:"register-link",children:"sign in to your free account"})})," ","or"," ",(0,r.jsx)(j(),{href:"/members",children:(0,r.jsx)("a",{className:"upgrade-link",children:"donate to become a Spinoff Member"})})," ","to unlock all the perks."]})]})}),(0,r.jsx)("div",{className:"login-right",children:(0,r.jsxs)("div",{className:"login-form-container",children:[O&&(0,r.jsx)("div",{className:"login-overlay",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:"Just a second..."}),(0,r.jsx)(v(),{type:"bubbles",height:20,width:40})]})}),N&&(0,r.jsx)("div",{className:"login-overlay",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:"Loading your account..."}),(0,r.jsx)(v(),{type:"bubbles",height:20,width:40})]})}),V&&(0,r.jsx)("div",{className:"logged-in",children:(0,r.jsx)("div",{})}),(0,r.jsx)(u.U,{})]})})]})})}),n&&(0,r.jsx)(s.$,{menu:n})]})}var I=function(){var e="https://thespinoff.co.nz/sign-in",n={"@context":"http://schema.org","@type":"WebPage",mainEntityOfPage:{"@type":"WebPage","@id":e},headline:"Sign In",url:e,publisher:{"@type":"Organization",name:"The Spinoff"}};return(0,r.jsxs)(m(),{children:[(0,r.jsx)("title",{children:"Sign In | The Spinoff"}),(0,r.jsx)("meta",{property:"fb:pages",content:"585595504882807"}),(0,r.jsx)("meta",{name:"author",content:"The Spinoff"}),(0,r.jsx)("meta",{name:"article name",content:"Sign In"}),(0,r.jsx)(c.h,{struct:n}),(0,r.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,r.jsx)("meta",{property:"og:site_name",content:"The Spinoff"}),(0,r.jsx)("meta",{property:"og:title",content:"Sign In"}),(0,r.jsx)("meta",{property:"og:image",content:"https://thespinoff.co.nz/spinoff-meta.jpg"}),(0,r.jsx)("meta",{property:"og:url",content:e}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{property:"og:description",content:"Sign in to The Spinoff Members"}),(0,r.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/thespinofftv"}),(0,r.jsx)("meta",{name:"twitter:title",content:"Sign In"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:site",content:"@TheSpinoffTV"}),(0,r.jsx)("meta",{name:"description",content:"Sign in to The Spinoff Members"}),(0,r.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1194728952, app-argument=".concat(e)})]})};n.default=_},96714:function(e,n,t){"use strict";var i=t(67294),r="undefined"!==typeof window?null!==i.useInsertionEffect&&void 0!==i.useInsertionEffect?i.useInsertionEffect:i.useLayoutEffect:function(){};function o(e){var n=(0,i.useRef)(s);r((function(){n.current=e}),[e]);var t=(0,i.useRef)(null);return t.current||(t.current=function(){return n.current.apply(this,arguments)}),t.current}function s(){throw new Error("INVALID_USEEVENT_INVOCATION: the callback from useEvent cannot be invoked before the component has mounted.")}n.ZP=o}},function(e){e.O(0,[3662,8045,5675,8100,5781,2454,7745,535,9655,9799,9774,2888,179],(function(){return n=6821,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.