1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4945],{43629:(e,t,n)=>{"use strict";n.d(t,{HM:()=>o,p_:()=>r});let i={title:"default",description:"default",thumbnail:"default",robots:"default","qc:section":"default",canonical:"links",alternate:"links","og:title":"opengraph","og:description":"opengraph","og:image":"opengraph","og:url":"opengraph","og:type":"opengraph","og:site_name":"opengraph","twitter:card":"twitter","twitter:title":"twitter","twitter:description":"twitter","twitter:image":"twitter","twitter:url":"twitter","twitter:site":"twitter","flipboard-title":"flipboard","flipboard-article":"flipboard","flipboard-image":"flipboard","flipboard-author":"flipboard","flipboard-date":"flipboard","application/ld+json":"scripts",prismColors:"hidden",prismTags:"hidden"};function a(e,t,n){let a=n||i[e];return a?{id:`meta-${a}-${e}`,type:"metadata",variant:a,data:{name:e,value:t}}:null}function r(e={}){let t=[];try{if(e.title)t.push(a("title",e.title,"title"));else throw Error("Missing required 'title' metadata prop.")}catch(e){console.error(e.message)}return Object.entries(e).reduce((e,[t,n])=>{let i=a(t,n);return i?e.concat(i):e},t)}function o(e={}){return[function(e=[]){return{id:"meta",layout:"metadata",items:[...e]}}(r(e))]}},64351:(e,t,n)=>{"use strict";n.d(t,{A:()=>g,W:()=>d});var i=n(47091),a=n.n(i),r=n(14232),o=n(64177),s=n(57093),l=n(6403),c=n(37876);let d="/mood-board/join",g=function(){let{isUserSignedIn:e,isUserStateReady:t}=(0,s.A)(),[n]=(0,o.n)(l.Zm),{0:i,1:g}=(0,r.useState)(null),m=(0,r.useRef)(!1);return((0,r.useEffect)(()=>{let i=new URLSearchParams(window.location.search).get("id");if(!i)return void window.location.replace("/mood-board");if(t&&!m.current){if(!e){let e=encodeURIComponent(`${d}?id=${i}`);window.location.replace(`/sign-in?redirect_uri=${e}`);return}(async()=>{m.current=!0;try{await n({variables:{id:i,accept:!0}}),window.location.replace(`/mood-board/${i}`)}catch(e){e.errors?.[0]?.message?.endsWith("[INVITEE_IS_MOOD_BOARD_COLLABORATOR_ERROR]")&&window.location.replace(`/mood-board/${i}`),g("Unable to accept mood board invite.")}})()}},[n,t,e]),i)?(0,c.jsxs)("div",{className:"jsx-1253695424 AcceptInvitePage AcceptInvitePage--error",children:[(0,c.jsx)("p",{className:"jsx-1253695424",children:i}),(0,c.jsx)("p",{className:"jsx-1253695424",children:(0,c.jsx)("a",{href:"/mood-board",className:"jsx-1253695424",children:"Return to Mood Board"})}),(0,c.jsx)(a(),{id:"1253695424",children:[".AcceptInvitePage.jsx-1253695424{text-align:center;font-family:Arial,sans-serif;padding:20px;}"]})]}):null}},86609:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-in",function(){return n(97818)}])},97818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var i=n(47091),a=n.n(i),r=n(14232),o=n(86053),s=n(79299),l=n(7631),c=n(64351),d=n(65355),g=n(16574),m=n(963),p=n(13115),_=n(46320);let h=[".SignInBlock.jsx-834891974{width:100%;min-height:383.5px;padding-top:1.25rem;padding-right:1.875rem;padding-bottom:2.125rem;padding-left:2rem;background-color:#fff;}",`.SignInBlock__error.jsx-834891974,.SignInBlock__event.jsx-834891974{margin:1rem auto 0;font-family:${_.$y};font-size:1rem;font-weight:500;text-align:center;}`,`.SignInBlock__error.jsx-834891974{color:${_.JJ.textRed};font-size:1.125rem;font-weight:700;}`,`.SignInBlock__event.jsx-834891974,.SignInBlock__prompt.jsx-834891974{font-family:${_.$y};font-size:1rem;font-weight:500;text-align:center;}`,".SignInBlock__event.jsx-834891974{margin-top:0;color:#000;font-weight:700;}",".SignInBlock__form.jsx-834891974{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".SignInBlock__form.jsx-834891974 .iddQmu{padding-top:0;padding-bottom:0;}",".SignInBlock__form.jsx-834891974 .eTFLvr{padding-bottom:0;}",`.SignInBlock__heading.jsx-834891974{margin:0 auto 0.5rem;font-family:${_.S5};font-size:2rem;font-weight:400;text-align:center;line-height:2.25rem;}`,`.SignInBlock__joinPrompt.jsx-834891974{margin-top:1rem;font-family:${_.$y};font-size:1.125rem;font-weight:500;line-height:1.25rem;text-align:center;}`,".SignInBlock__joinPrompt.jsx-834891974 a{color:currentColor;font-weight:600;-webkit-text-decoration:underline;text-decoration:underline;}",`.SignInBlock__legal.jsx-834891974{margin:-2rem auto 0;border-bottom:1px solid #000;padding:0 0 1.5rem;color:#757575;font-family:${_.$y};font-size:0.75rem;font-weight:500;text-align:center;}`,".SignInBlock__legal.jsx-834891974 a{color:currentcolor;-webkit-text-decoration:underline;text-decoration:underline;}",`@media screen and ${p.tz}{.SignInBlock.jsx-834891974{padding-bottom:1.125rem;}}`];h.__hash="834891974";var x=n(49522),u=n(37876);let f={unable_to_auth_magic_link:"Link has expired. Please sign-in again.",invalid_token:"Token is invali
1d. Please sign-in again.",unable_to_create_profile:"There was an error creating your account. Please try again."},b={password_reset:"Your password has been updated. Please sign-in."},j={[c.W]:"moodBoardInvite",[d.m]:"activatePage"},w=function({hasJoinLink:e=!0,prompt:t,stytchCustomization:n,title:i}){let{0:c,1:d}=(0,r.useState)(),{0:p,1:_}=(0,r.useState)(),{query:w}=(0,x.A)();return(0,r.useEffect)(()=>{let{error:e,event:t,redirect_uri:n}=w,i=j[n];e&&d(f[e]||null),t&&"password_reset"===t&&_(b[t]),n?(0,g.WY)(n):(0,g.ro)(),i&&(0,m.EX)(i)},[w]),(0,u.jsxs)("div",{className:`jsx-${h.__hash} SignInBlock`,children:[(0,u.jsxs)("header",{className:`jsx-${h.__hash} SignInBlock__text`,children:[i&&(0,u.jsx)("h1",{className:`jsx-${h.__hash} SignInBlock__heading`,children:i}),t&&!p&&(0,u.jsx)("p",{className:`jsx-${h.__hash} SignInBlock__prompt`,children:t}),p&&(0,u.jsx)("p",{className:`jsx-${h.__hash} SignInBlock__event`,children:p}),c&&(0,u.jsx)("div",{className:`jsx-${h.__hash} SignInBlock__error`,children:(0,u.jsx)(o.A,{message:c})})]}),(0,u.jsx)("div",{className:`jsx-${h.__hash} SignInBlock__form`,children:(0,u.jsx)(l.A,{customization:n})}),(0,u.jsxs)("p",{className:`jsx-${h.__hash} SignInBlock__legal`,children:["By signing up, signing in, or continuing, you agree to Apartment Therapy Media's"," ",(0,u.jsx)("a",{href:"https://www.apartmenttherapy.com/about/terms",className:`jsx-${h.__hash}`,children:"Terms of Use"})," ","and"," ",(0,u.jsx)("a",{href:"https://www.apartmenttherapy.com/about/privacy-policy",className:`jsx-${h.__hash}`,children:"Privacy Policy"}),"."]}),e&&(0,u.jsxs)("p",{className:`jsx-${h.__hash} SignInBlock__joinPrompt`,children:["Not a member? ",(0,u.jsx)(s.A,{href:"/join",children:"Subscribe now"})]}),(0,u.jsx)(a(),{id:h.__hash,children:h})]})};var k=n(75175),I=n(31891),S=n(25538),y=n(91669),v=n(43629);let $=[`.SignInPage.jsx-317465254{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:url('${S.SIGN_IN_PAGE_IMAGE}');background-position:center;background-repeat:no-repeat;background-size:cover;}`,`@media screen and ${p.tz}{.SignInPage.jsx-317465254{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.SignInPage__block.jsx-317465254{margin:3rem auto;width:400px;}}`,`@media screen and ${p.pl}{.SignInPage__block.jsx-317465254{margin-top:4.5rem;margin-bottom:6rem;}}`];$.__hash="317465254";let B=(0,v.HM)((0,y.bk)({title:"Sign In",robots:"noindex",canonical:(0,y.hO)("/sign-in")})),N={at:{activate:"Log in to unlock Idea Box, create and collaborate with Mood Board, join The Cure home challenges, and more."},k:{activate:"Sign in to access and organize your recipes, join the What's Cooking Live recipe feed, enable Cook Mode+, and more!",paywall:"Sign in or create an account to complete checkout and access exclusive digital issues."}},P={at:{activate:"Activate Your Membership"},k:{activate:"Activate your membership"}},A=S.HAS_ACCOUNT?function(){let{0:e,1:t}=(0,r.useState)(S.SIGN_IN_PROMPT),{0:n,1:i}=(0,r.useState)(S.SIGN_IN_WELCOME),{query:o}=(0,x.A)();return(0,r.useEffect)(()=>{let e,{event:n,referrer:a}=o;if(n&&"password_reset"!==n&&(e=n),a&&(e=a),e){let n=N[S.SITE_KEY]?.[e],a=P[S.SITE_KEY]?.[e];a&&i(a),n&&t(n)}},[o]),(0,u.jsx)(k.iY,{pageType:I.AUTHENTICATION,pageBundles:B,children:(0,u.jsxs)("div",{className:`jsx-${$.__hash} SignInPage`,children:[(0,u.jsx)("div",{className:`jsx-${$.__hash} SignInPage__block`,children:(0,u.jsx)(w,{title:n,prompt:e})}),(0,u.jsx)(a(),{id:$.__hash,children:$})]})})}:()=>null}},e=>{e.O(0,[4780,244,8983,7388,9688,3e3,5578,2767,7899,2908,5303,6719,5175,147,4478,2032,9208,9808,2842,6403,6579,636,6593,8792],()=>e(e.s=86609)),_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.