PageSourceSearch

https://www.mprnews.org/_next/static/chunks/pages/auth/signin-3fb82babefdb7e57.js

js mprnews.org collected 2026-09-24 08:28:38 UTC 4,253 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3443],{17440:(t,n,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/signin",function(){return e(25892)}])},25892:(t,n,e)=>{"use strict";e.r(n),e.d(n,{__N_SSP:()=>h,default:()=>d});var a=e(37876),r=e(14232),o=e(10553),_=e(14e3),i=e(92226),l=e.n(i),s=e(26205),c=e.n(s);let u=t=>{let{callbackUrl:n="/"}=t,e=(0,_.useSearchParams)(),i=(0,_.useRouter)(),{data:s,status:u}=(0,o.useSession)(),[h,d]=(0,r.useState)(!1),[m,A]=(0,r.useState)(null);(0,r.useEffect)(()=>{let t=null==e?void 0:e.get("error");t&&(A(t),d(!1))},[e]),(0,r.useEffect)(()=>{"authenticated"===u&&s&&i.push(n)},[u,s,i,n]);let g=async()=>{try{d(!0),A(null),await (0,o.signIn)("custom",{callbackUrl:n})}catch(t){console.error("OAuth sign-in error:",t),A("authentication_failed"),d(!1)}};return(0,a.jsx)("div",{className:"".concat(l().authContainer," ").concat(c().oauthContainer),children:(0,a.jsx)("div",{className:"".concat(l().formContainer,"  ").concat(c().formContainerWithBg," has-basic-links"),children:(0,a.jsxs)("div",{className:l().formContainerWrapper,children:[(0,a.jsx)("div",{className:"".concat(l().topContainerText," ").concat(c().headingSpacing," ").concat(c().centeredHeading),children:(0,a.jsx)("h2",{className:l().hdg,children:"Sign in to your profile"})}),m&&(0,a.jsxs)("div",{className:"".concat(l().incorrectCredentials," ").concat(c().errorCentered),children:[(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Sign in failed."})}),(0,a.jsx)("p",{className:l().mb,children:"Please try again or contact support if the issue persists."})]}),(0,a.jsx)("div",{className:"".concat(l().container," ").concat(l().containerInner),children:(0,a.jsx)("button",{type:"button",onClick:g,disabled:h,className:"btn btn-primary ".concat(l().fullwidth),children:h?"Signing in...":"Sign in"})}),h&&(0,a.jsx)("p",{className:"type-sm ".concat(l().centerContent),children:"Redirecting to sign in... this may take a moment."})]})})})};var h=!0;let d=()=>(0,a.jsx)("div",{className:"container",children:(0,a.jsx)(u,{})})},26205:t=>{t.exports={oauthContainer:"SignInOAuth_oauthContainer__huv_A",formContainerWithBg:"SignInOAuth_formContainerWithBg__7llwG",errorCentered:"SignInOAuth_errorCentered__yBnD1",headingSpacing:"SignInOAuth_headingSpacing__XKfUK",centeredHeading:"SignInOAuth_centeredHeading__pAovy"}},92226:t=>{t.exports={container:"Auth_container__hbAYU",centerContent:"Auth_centerContent__WDJjY",modal:"Auth_modal__AYjsf",modalContainerLeft_signIn:"Auth_modalContainerLeft_signIn__raQwy",modalContainerLeft_signUp:"Auth_modalContainerLeft_signUp__xkrPE",modalContainerLeft_confirmUser:"Auth_modalContainerLeft_confirmUser__dZGb_",modalContainerLeft_resetPassword:"Auth_modalContainerLeft_resetPassword__yYAlS",modalInnerWrapper:"Auth_modalInnerWrapper__UXdC2",modalOverlayImageOne:"Auth_modalOverlayImageOne__RYhnd",modalOverlay:"Auth_modalOverlay__D48fL",modalOverlayText:"Auth_modalOverlayText__IQOWc",modalOverlayImageTwoOuter:"Auth_modalOverlayImageTwoOuter__hoORh",modalOverlayImageTwo:"Auth_modalOverlayImageTwo__QT5GX",modalForYou:"Auth_modalForYou__fTB9U",modalContainerRight:"Auth_modalContainerRight__CB2pQ",containerInner:"Auth_containerInner__bjB3G",child:"Auth_child__1iOzP",topContainer:"Auth_topContainer__nioce",closeButtonContainer:"Auth_closeButtonContainer___bcdz",incorrectCredentials:"Auth_incorrectCredentials__nsb5G",frm:"Auth_frm__4QJ2H",lbl:"Auth_lbl__75Aol",oneInputForm:"Auth_oneInputForm__jrObz",inpt:"Auth_inpt__Wdz9_",confirmContainer:"Auth_confirmContainer__28STk",largeInput:"Auth_largeInput__Vfo4H",dontCloseOnClickOutside:"Auth_dontCloseOnClickOutside__hogEb",strong:"Auth_strong__u5nZw",hdglight:"Auth_hdglight__RPV_i",supplementalText:"Auth_supplementalText__LpEPr",supplementalTextBottom:"Auth_supplementalTextBottom__76DiP",error:"Auth_error__WfwSc",bulletlist:"Auth_bulletlist__WM_cP",block:"Auth_block__84P8H",fullwidth:"Auth_fullwidth__74zqi",btn:"Auth_btn__hje8W",closeButton:"Auth_closeButton__3ZMLP",containerNewUser:"Auth_containerNewUser__Xzby4",smallInputContainer:"Auth_smallInputContainer__T_rii",modalContainerLeft:"Auth_modalContainerLeft__DnoPA"}}},t=>{t.O(0,[4e3,636,6593,8792],()=>t(t.s=17440)),_N_E=t.O()}]);
2//# sourceMappingURL=signin-3fb82babefdb7e57.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.