(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[61135],{267529:e=>{e.exports="https://s.pinimg.com/webapp/btn_base-3772d107.png"},830269:(e,t,o)=>{o.d(t,{Z:()=>n});const n={EMAIL:1,FACEBOOK:2,GPLUS:3,GOOGLE_ONE_TAP:4,SMARTLOCK:5,MULTIFACTOR:6,SWITCH_ACCOUNT:7,LINE:8}},553171:(e,t,o)=>{o.d(t,{Z:()=>u});var n=o(231486);var i=o(643913),l=o(226198),s=o(966113),a=o(696157),r=o(826067),c=o(844974);const d="undefined"!=typeof window,_=d?`${window.location.origin}/oauth/line/redirect`:"";function u(e,t){var o;if(!d)return void(null===(o=t.error)||void 0===o||o.call(t,{message:"Window is undefined"}));let u;const h=function(e=5){const t="abcdefghijklmnopqrstuvwxyz1234567890";return new Array(e).fill("").map((()=>t[Math.floor(Math.random()*t.length)])).join("")}(10),p=async e=>{if(!e.isTrusted)return;const o=e instanceof MessageEvent?(({origin:e,data:t})=>t&&e===window.location.origin?String(t):null)(e):(({url:e,key:t})=>{if(!e.startsWith(window.location.origin)||t!==a.MM)return null;const o=(0,c.qn)(a.MM);return(0,c.L_)(a.MM),o})(e),s=(0,r.mB)(o);if(s.state&&s.code&&s.state===h){u&&!u.closed&&u.close();try{const e=await fetch("/oauth/line/verify",{headers:{"Content-type":"application/x-www-form-urlencoded; charset=UTF-8","x-csrftoken":`${String(n.U2(l.fS))}`},method:"POST",body:(0,i.Z)({code:s.code,redirect_uri:_})}),o=await e.json(),{id_token:a,access_token:r}=o;var d;if(a&&r)t.success({line_id_token:a,line_access_token:r});else null===(d=t.error)||void 0===d||d.call(t,{message:"No tokens returned"})}catch(b){var g;null===(g=t.error)||void 0===g||g.call(t,b)}finally{var m;u&&!u.closed&&u.close(),window.removeEventListener("message",p),window.removeEventListener("storage",p),null===(m=t.complete)||void 0===m||m.call(t)}}};window.addEventListener("message",p),window.addEventListener("storage",p),u=window.open(`https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=${s.z}&redirect_uri=${encodeURIComponent(_)}&state=${h}&ui_locales=${e}&scope=profile%20openid%20email`,"_blank")}},43186:(e,t,o)=>{o.d(t,{u:()=>m,Z:()=>x});var n=o(667294),i=o(785893);function l(){return(0,i.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,i.jsx)("path",{d:"M28.2226562,20.3846154 C29.0546875,20.3846154 30.0976562,19.8048315 30.71875,19.0317864 C31.28125,18.3312142 31.6914062,17.352829 31.6914062,16.3744437 C31.6914062,16.2415766 31.6796875,16.1087095 31.65625,16 C30.7304687,16.0362365 29.6171875,16.640178 28.9492187,17.4494596 C28.421875,18.06548 27.9414062,19.0317864 27.9414062,20.0222505 C27.9414062,20.1671964 27.9648438,20.3121424 27.9765625,20.3604577 C28.0351562,20.3725366 28.1289062,20.3846154 28.2226562,20.3846154 Z M25.2929688,35 C26.4296875,35 26.9335938,34.214876 28.3515625,34.214876 C29.7929688,34.214876 30.109375,34.9758423 31.375,34.9758423 C32.6171875,34.9758423 33.4492188,33.792117 34.234375,32.6325493 C35.1132812,31.3038779 35.4765625,29.9993643 35.5,29.9389701 C35.4179688,29.9148125 33.0390625,28.9122695 33.0390625,26.0979021 C33.0390625,23.6579784 34.9140625,22.5588048 35.0195312,22.474253 C33.7773438,20.6382708 31.890625,20.5899555 31.375,20.5899555 C29.9804688,20.5899555 28.84375,21.4596313 28.1289062,21.4596313 C27.3554688,21.4596313 26.3359375,20.6382708 25.1289062,20.6382708 C22.8320312,20.6382708 20.5,22.5950413 20.5,26.2911634 C20.5,28.5861411 21.3671875,31.013986 22.4335938,32.5842339 C23.3476562,33.9129053 24.1445312,35 25.2929688,35 Z",id:"",fill:"#FFFFFF",fillRule:"nonzero"})})})}var s=o(56641),a=o(499128),r=o(898781),c=o(529195),d=o(867820),_=o(275926),u=o(343341),h=o(844974),p=o(883119),g=o(276775);const m="web_siwa_redirect_path",b="id_token=";function x(){const e=(0,r.ZP)(),t=(0,g.useLocation)(),o=(0,_.f0)(),x=(0,g.useHistory)(),{showToast:f}=(0,u.F9)(),[w,y]=(0,n.useState)(!1),v=t.hash.indexOf(b),k=v>=0?t.hash.substring(v+b.length):null,A=(0,n.useRef)(null);return(0,n.useEffect)((()=>{A.current!==k&&k&&(async n=>{(0,d.My)("in_app_oauth.login.siwa.returned_with_token"),y(!0),o({apple_token:n},x,t.pathname,{noImmediateRedirect:!0},{event_type:7534,view_type:10}).then((()=>{y(!1),(0,d.My)("in_app_oauth.login.siwa.login_success");const e=(0,h.qn)(m);(0,h.L_)(m),(0,s.Z)(e||"/")})).catch((()=>{y(!1),(0,d.My)("in_app_oauth.login.siwa.login_failure"),f((({hideToast:t})=>(0,i.jsx)(a.ZP,{text:e._('Oops! You do not have an account connected with Apple. Please try another method.', 'mweb.unauth.oauth_apple_login.login_failure_toast', 'Toast to alert user they failed to login with Apple'),onHide:t,variant:"error"})))}))})(k),A.current=k}),[x,e,k,t,o,f]),w?(0,i.jsx)(p.$j,{accessibilityLabel:e._('Loading...', 'Loading', 'Loading'),show:!0}):(0,i.jsx)(p.iP,{onTap:()=>{var e;(0,d.My)("in_app_oauth.login.siwa_button.tapped");const o=(null===(e=t.state)||void 0===e?void 0:e.next)||(0,c.Yy)(t),n=o?decodeURIComponent(o):null;(0,h.Nh)(m,n),(0,s.Z)(`https://appleid.apple.com/auth/authorize?client_id=com.pinterest.signinwithapple&redirect_uri=${encodeURIComponent(window.location.origin.toString()+"/oauth/login")}&response_type=${encodeURIComponent("code id_token")}&response_mode=fragment`)},children:(0,i.jsxs)(p.xu,{height:40,width:"100%",display:"flex",alignItems:"center",color:"dark",rounding:"pill",paddingX:2,paddingY:1,children:[(0,i.jsx)(p.xu,{marginStart:-3,marginTop:-2,children:(0,i.jsx)(l,{})}),(0,i.jsx)(p.xu,{marginStart:"auto",marginEnd:"auto",children:(0,i.jsx)(p.xv,{weight:"bold",color:"light",children:e._('Continue with Apple', 'mweb.unauth.oauth_apple_login.login_button', 'Text on button allowing users to login with their Apple account')})})]})})}},368095:(e,t,o)=>{o.d(t,{Z:()=>a});var n=o(121151),i=o(898781),l=o(883119),s=o(785893);function a({onDismiss:e}){const t=(0,i.ZP)(),o=t._('Oops! Too many login attempts', 'LoginRateLimitedModal.Modal.Heading', 'Modal heading for user who have tried to login too many times');return(0,s.jsxs)(n.ZP,{accessibilityModalLabel:o,onDismiss:e,heading:(0,s.jsxs)(l.xu,{"data-test-id":"login-rate-limited-header",children:[(0,s.jsx)(l.xu,{justifyContent:"center",display:"flex",padding:6,children:(0,s.jsx)(l.JO,{icon:"pinterest",accessibilityLabel:t._('Pinterest logo', 'Accessibility label for Pinterest icon', 'Accessibility label for Pinterest icon'),color:"brandPrimary",size:40})}),(0,s.jsx)(l.X6,{align:"center",size:"500",accessibilityLevel:1,children:o})]}),children:[(0,s.jsx)(l.xu,{paddingX:12,marginTop:4,marginBottom:8,"data-test-id":"login-rate-limited-text",children:(0,s.jsx)(l.xv,{align:"center",children:t._('You have reached the maximum number of login attempts. Try again in 30 minutes.', 'LoginRateLimitedModal.Modal.Heading', 'Modal heading for user who have tried to login too many times')})}),(0,s.jsx)(l.xu,{paddingX:12,marginBottom:8,"data-test-id":"login-rate-limited-footer",children:(0,s.jsx)(l.zx,{fullWidth:!0,color:"red",text:t._('Okay', 'LoginRateLimitedModal.Modal.OkButton', 'Okay button used to close modal'),onClick:e})})]})}},170377:(e,t,o)=>{o.d(t,{Z:()=>$});var n=o(667294),i=o(702664),l=o(43186),s=o(107287),a=o(898781),r=o(867820),c=o(773285),d=o(780280),_=o(883119),u=o(467570),h=o(785893);function p({onFacebookConnectError:e,onFacebookConnectSuccess:t,onTouch:o,isRerequest:i}){const l=(0,a.ZP)(),{checkExperiment:p}=(0,c.F)(),{locale:g}=(0,d.B)(),{anyEnabled:m}=p("mweb_facebook_disabled"),[b,x]=(0,n.useState)(!1),[f,w]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{m||(0,u.we)(g).then((()=>{x(!0)}))}),[g,m]),(0,h.jsxs)(_.xu,{position:"relative","data-test-id":"FacebookConnectContainer",children:[(0,h.jsx)(_.xu,{bottom:!0,left:!0,right:!0,top:!0,dangerouslySetInlineStyle:{__style:{pointerEvents:"none"}},position:"absolute",rounding:5,children:(0,h.jsx)("div",{className:"fb-login-button","data-width":"100%","data-max-rows":"1","data-size":"large","data-button-type":"continue_with","data-layout":"rounded","data-show-faces":"false","data-auth-type":i?"rerequest":void 0,"data-scope":u.$.join(","),"data-auto-logout-link":"false","data-use-continue-as":"true"})}),(0,h.jsxs)("button",{onClick:()=>{(0,r.My)("unauth_mweb.facebook_connect.button_click"),null==o||o(),m?w(!0):b&&(0,u.JF)().then((({creds:e,signupOptions:o})=>{t(e,o)}),e)},style:{display:"flex",alignItems:"center",backgroundColor:"#1877F2",border:"none",height:"40px",transition:"opacity .2s linear",width:"100%",minWidth:"240px",borderRadius:"20px",padding:"0px 0px 0px 8px"},type:"button","data-test-id":"FacebookConnectButton",children:[(0,h.jsx)(_.xu,{color:"default",rounding:3,dangerouslySetInlineStyle:{__style:{paddingTop:"5px",paddingLeft:"3px",paddingRight:"2px",marginLeft:"4px",marginRight:"4.4px"}},children:(0,h.jsx)(_.JO,{accessibilityLabel:l._('facebook', 'accessible label for facebook icon', 'accessible label for facebook icon'),color:"shopping",icon:"facebook",inline:!0,size:19})}),(0,h.jsx)(_.xu,{alignItems:"center",display:"flex",justifyContent:"center",flex:"grow",marginEnd:1,children:(0,h.jsx)("span",{style:{fontFamily:"Helvetica, Arial, sans-serif",fontWeight:"bold",color:"#fff",fontSize:"16px",paddingRight:"8px",letterSpacing:"0.25px"},children:l._('Continue with Facebook', 'Login page button', 'Login page button')})})]}),f&&(0,h.jsx)(s.Z,{type:"facebook",onDismiss:()=>w(!1)})]})}var g=o(962482),m=o(989392),b=o(63552),x=o(553171),f=o(267529),w=o.n(f);const y={defaultButton:{display:"flex",alignItems:"center",backgroundColor:"#00C300",border:"none",height:"40px",transition:"opacity .2s linear",width:"100%",borderRadius:"20px",padding:"0px 0px 0px 8px"},lineLogo:{borderRadius:"12px",backgroundColor:"#00C300",width:"32px",height:"32px"},buttonText:{fontWeight:"bold",color:"#fff",fontSize:"16px",paddingRight:"33px"}},v=({buttonText:e,onLineConnectSuccess:t,onLineConnectError:o,onTouch:n})=>{const i=(0,a.ZP)(),{country:l,locale:s}=(0,d.B)(),c={success:e=>{const{line_id_token:o,line_access_token:n}=e;o&&n&&t({line_id_token:o,line_access_token:n},{line_id_token:o,line_access_token:n,type:"line"})},error:o},u=y.defaultButton;return"JP"===l?(0,h.jsx)(_.xu,{position:"relative","data-test-id":"LineConnectContainer",children:(0,h.jsxs)("button",{onClick:()=>{(0,r.My)("unauth_mweb.line_connect.button_click"),n&&n(),(0,x.Z)(s,c)},style:u,type:"button","data-test-id":"line-connect-button",children:[(0,h.jsx)("img",{style:y.lineLogo,src:w(),alt:i._('line', 'accessible label for line icon', 'accessible label for line icon')}),(0,h.jsx)(_.kC,{alignItems:"center",justifyContent:"center",flex:"grow",children:(0,h.jsx)("span",{style:y.buttonText,children:e})})]})}):null};var k=o(368095),A=o(432300),P=o(160561),j=o(598615),C=o(53987),z=o(276775);function L({within:e}){const t=(0,a.ZP)(),o=(0,z.useLocation)(),{userAgentPlatform:n}=(0,i.useSelector)((({session:e})=>e)),{pathname:l}=o;return(0,h.jsx)(_.xu,{"data-test-id":"continue-app-button",marginBottom:2,children:(0,h.jsx)(j.Z,{componentType:13858,within:null!=e?e:"unauth-signup-modal",children:({handleOpenApp:i})=>(0,h.jsx)(_.zx,{text:t._('Get Pinterest App', 'unauth.modal.get_app.button_text', 'App download button text'),color:"red",fullWidth:!0,onClick:()=>{(0,r.My)("homepage_top_module"===e?"mweb.unauth.homepage.top.download_app_button.click":"homepage_bottom_module"===e?"mweb.unauth.homepage.bottom.download_app_button.click":"mweb.unauth.signup_modal.download_app_button.click"),l&&i({deepLinkUri:"/"===l?"/":!(0,C.cD)(o)||"ios"!==n&&"ipad"!==n?l.substr(1):"user"+l})}})})})}var S=o(830269),E=o(499128),T=o(112690),Z=o(204324),B=o(19121),M=o(155949),O=o(45169),F=o(639952),R=o(597897),I=o(275926),U=o(122485),D=o(343341),N=o(52022),H=o(584595);function $({apple:e,facebook:t,fbConnectHandler:o,footer:s,from:d,google:u,isBusiness:x,isRerequest:f,line:w,next:y="/",noImmediateRedirect:j,onFacebookTouch:C,onLoginTouch:$,onSignupTouch:W,showAppInstallButton:K,showEmailButton:q,showTextDivider:G,viewParameter:X,within:Y}){const J=(0,z.useHistory)(),V=(0,z.useLocation)(),Q=(0,a.ZP)(),{showToast:ee}=(0,D.F9)(),te=(0,T.Z)(),oe=(0,N.Z)(),ne=(0,i.useDispatch)(),ie=(0,I.f0)(),le=(0,R.U)(),{flush:se}=(0,c.F)(),ae=(0,U.m)(),re=(0,Z.Z)(),{isAuth:ce,isLimitedLogin:de}=(0,B.Z)(),[_e,ue]=(0,n.useState)(null),[he,pe]=(0,n.useState)(!1),[ge,me]=(0,n.useState)("default"),be=("facebook"===ge?5e3:"google"===ge&&4e3)||void 0;(0,n.useEffect)((()=>{if(le){var e,t;if(s)null===(e=le.preload)||void 0===e||e.call(le,new URL("login.js","file://"));if(q)null===(t=le.preload)||void 0===t||t.call(le,new URL("signup.js","file://"))}}),[]);const xe=ce?{login_state:de?A.Z.LIMITED:A.Z.DEFAULT}:Object.freeze({}),fe=e=>{te({view_type:10,view_parameter:X,element:e,event_type:102,aux_data:xe})},we=(e,t)=>{let o,n;switch(t){case"facebook":o=3205,n=S.Z.FACEBOOK;break;case"google":o=3204,n=S.Z.GPLUS;break;case"line":o=3556,n=S.Z.LINE}return{event_type:e,view_type:10,view_parameter:o,aux_data:{...xe,signup_login_method:n}}},ye=(e,t,o,n)=>{ue(null);if(t&&[H.xN,H.lg,H.Pv].includes(t.api_error_code))if("facebook"!==o.type||o.email)(()=>{(0,r.My)("unauth_mweb.facebook_signup_attempt"),o.gender||(0,r.My)("unauth_mweb.facebook_signup_attempt.nogender");const{birthday:e}=o;if(void 0===e||!(0,m.Z)(e))return se(),void J.push({pathname:"/signup/thirdpartyage/",state:{signupOptions:"facebook"===o.type?{...o,email_source_site:O.E_.FACEBOOK}:o,progressBarAnimationDuration:be}});ue("signup"),me(n);const t="facebook"===o.type?{...o,email_source_site:O.E_.FACEBOOK,birthday_source_site:O.E_.FACEBOOK,birthday:e}:{...o,birthday:e};ae(t,{signupAttemptContextEvent:we(7537,n)}).then((()=>{(0,r.NC)("signup_via_login_buttons"),["facebook","google"].includes(n)&&re(y||"/"),ue(null)}),(e=>{if("line"===o.type){const t=o;e.api_error_code===H.iZ?J.push({pathname:"/signup/line-email-collect/",state:{signupOptions:t}}):e.api_error_code===H.NF&&J.push({pathname:"/signup/thirdpartyage/",state:{signupOptions:t}})}ee((({hideToast:t})=>(0,h.jsx)(E.ZP,{text:e.api_error_code&&e.message?e.message:Q._('Sorry! Something went wrong on our end.', 'Error logging on', 'Error logging on'),onHide:t}))),ue(null)}))})();else{const e=o;J.push({pathname:"/signup/fbemailcollect/",state:{signupOptions:e}}),(0,r.My)("unauth_mweb.reg_via_fb.has_email_perm.false")}else t&&H.ik.includes(t.api_error_code)?pe(!0):((0,r.My)(t?`mweb_login_button_skip_register.api_error_code.${t.api_error_code}`:"unauth_mweb.login.unexpected_error"),ee((({hideToast:e})=>(0,h.jsx)(E.ZP,{text:t&&t.api_error_code&&t.message?t.message:Q._('Sorry, we can\'t log you in.', 'Error message when user having trouble login in.', 'Error message when user having trouble login in.'),onHide:e}))))},ve=e=>(t,n)=>{var i;const l="google"===e?"gsi_btn":"other",s="true"===(null===(i=V.state)||void 0===i?void 0:i.switch_account)?{isSwitchAccount:!0,trigger:l}:{noImmediateRedirect:j,trigger:l};"facebook"===e&&(null==o||o("success")),(0,r.NC)(e+"_login_success"),ie(t,J,y,s,we(7534,e)).catch((t=>{ye(0,t,n,e)})),ue("login"),me(e)},ke=({event:e})=>{e.stopPropagation(),e.preventDefault(),null==$||$(),d&&ne((0,F.rm)(d)),oe({action:"click",item:"login-button"}),fe(30),(0,r.My)(`unauth_mweb.login_buttons.footer.${(null==s?void 0:s.type)||"button"}`),(0,r.NC)("press_login"),J.push({pathname:x?"/business/login/":"/login/",search:V.search,state:{next:y}})};return(0,h.jsxs)(_.xu,{marginTop:x?-5:0,maxWidth:400,marginStart:"auto",marginEnd:"auto","data-test-id":"LoginButtonsContainer",children:[he&&(0,h.jsx)(k.Z,{onDismiss:()=>pe(!1)}),G&&(0,h.jsx)(_.xu,{marginBottom:3,marginTop:3,children:(0,h.jsx)(_.xv,{align:"center",size:"100",weight:"bold",children:Q._('OR', 'Separator for email login button and social login button', 'Separator for email login button and social login button')})}),(0,h.jsx)(_.xu,{marginBottom:6,children:(0,h.jsxs)(n.Fragment,{children:[K&&(0,h.jsx)(L,{within:Y}),q&&(0,h.jsx)(_.xu,{"data-test-id":"continue-email-button",marginBottom:x?-2:2,children:(0,h.jsx)(_.zx,{fullWidth:!0,color:K?"gray":"red",text:x?Q._('Create account', 'Button text for creating a business account', 'Button text for creating a business account'):Q._('Continue with email', 'Sign up button', 'Sign up button'),onClick:({event:e})=>{e&&(e.stopPropagation(),e.preventDefault()),(0,r.NC)("press_email_signup"),oe({action:"click",item:"email-signup-button"}),null==W||W(),d&&ne((0,F.rm)(d)),fe(31),J.push({pathname:x?"/business/signup/step1/":"/signup/step1/",search:V.search,state:{next:y}})}})}),t&&(0,h.jsx)(_.xu,{marginBottom:2,"data-test-id":"facebook-connect-button",children:(0,h.jsx)(p,{onFacebookConnectError:()=>{null==o||o("error"),ee((({hideToast:e})=>(0,h.jsx)(E.ZP,{text:Q._('Unable to connect to Facebook', 'Error logging on with Facebook', 'Error logging on with Facebook'),onHide:e})))},onFacebookConnectSuccess:ve("facebook"),onTouch:()=>{null==C||C(),oe({action:"click",item:"facebook-connect-button"}),fe(68)},isRerequest:f})}),u&&(0,h.jsx)(_.xu,{marginBottom:2,"data-test-id":"google-connect-button",children:(0,h.jsx)(P.Z,{isAuthenticated:ce,onGoogleConnectSuccess:ve("google")})}),w&&(0,h.jsx)(_.xu,{marginBottom:2,"data-test-id":"line-connect-button",children:(0,h.jsx)(v,{buttonText:Q._('Continue with LINE', 'Login page button', 'Login page button'),onLineConnectError:()=>{ee((({hideToast:e})=>(0,h.jsx)(E.ZP,{text:Q._('Unable to connect to Line', 'Error logging on with Line', 'Error logging on with Line'),onHide:e})))},onLineConnectSuccess:ve("line"),onTouch:()=>{fe(12277),oe({action:"click",item:"line-connect-button"})}})}),e&&(0,h.jsx)(_.xu,{marginBottom:2,"data-test-id":"apple-connect-button",children:(0,h.jsx)(l.Z,{})})]})}),s&&("member_link"===s.type?(0,h.jsx)(_.xu,{marginTop:-4,"data-test-id":"login-member",children:(0,h.jsx)(b.Z,{pressState:"none",onTouch:e=>ke({event:e}),children:(0,h.jsx)(_.xu,{paddingY:s.noPadding?0:4,marginBottom:s.increasedSpaceBelow?-1:-2,children:(0,h.jsx)(_.xv,{align:"center",size:"200",weight:"bold",color:s.textColorIsLight?"light":"dark",children:Q._('Already a member? Log in', 'Link on mobile web sign up modal to direct unauth users to the login page', 'Link on mobile web sign up modal to direct unauth users to the login page')})})})}):(0,h.jsx)(_.xu,{marginBottom:5,"data-test-id":"login-button",children:(0,h.jsx)(_.zx,{fullWidth:!0,color:"transparent",onClick:ke,text:Q._('Log in', 'Login page button', 'Login page button')})})),_e&&("signup"===_e?(0,h.jsx)(M.Z,{progressBarAnimationDuration:be}):(0,h.jsx)(g.Z,{}))]})}},542837:(e,t,o)=>{o.d(t,{Z:()=>_});var n=o(898781),i=o(112690),l=o(52022),s=o(349700),a=o(385740),r=o(966113),c=o(883119),d=o(785893);function _({isMobileHomepage:e,isBusiness:t=!1,size:o="sm",alignText:_="center",inModernizedNuxExperiment:u}){const h=(0,n.ZP)(),p=(0,i.Z)(),g=(0,l.Z)(),{viewType:m,viewParameter:b}=(0,a.SU)(),x=r.R_,f=r.cv,w=t?r.V$:r.U5;return(0,d.jsx)(c.xu,{display:"flex",alignItems:"left"===_?"start":"center",alignSelf:"center",direction:"row",justifyContent:"center",paddingX:4,wrap:!0,children:(0,d.jsx)(c.xv,{color:e?"inverse":"subtle",align:"left"===_?"start":"center",size:"100",overflow:"normal",inline:!0,children:(0,s.nk)(h._('By continuing, you agree to Pinterest\'s {{ termsOfService }} and acknowledge you\'ve read our {{ privacyPolicy }}. {{ noticeAtCollection }}.', ' - ', ' -- '),{termsOfService:(0,d.jsx)(c.xu,{display:"inlineBlock","data-test-id":"business-tos",children:(0,d.jsx)(c.xv,{color:(u?"default":e&&"inverse")||"subtle",inline:!0,size:"100",weight:"bold",children:(0,d.jsx)(c.rU,{href:w,display:"inlineBlock",target:"blank",onClick:()=>{g({action:"click",item:"business-tos"}),m&&p({view_type:m,view_parameter:b,element:8012,event_type:102})},underline:"hover",children:t?h._('Business Terms of Service', 'Mobile web business terms of service link for partners', 'Mobile web business terms of service link for partners'):h._('Terms of Service', 'Mobile web terms of service link', 'Mobile web terms of service link')})})},"termsOfService"),privacyPolicy:(0,d.jsx)(c.xu,{display:"inlineBlock","data-test-id":"privacy",children:(0,d.jsx)(c.xv,{color:(u?"default":e&&"inverse")||"subtle",inline:!0,size:"100",weight:"bold",children:(0,d.jsx)(c.rU,{href:x,display:"inlineBlock",target:"blank",onClick:()=>{g({action:"click",item:"privacy-policy"}),m&&p({view_type:m,view_parameter:b,element:8004,event_type:102})},underline:"hover",children:h._('Privacy Policy', 'Mobile web privacy policy link', 'Mobile web privacy policy link')})})},"privacyPolicy"),noticeAtCollection:(0,d.jsx)(c.xu,{display:"inlineBlock","data-test-id":"noticeAtCollection",children:(0,d.jsx)(c.xv,{color:e?"inverse":"subtle",inline:!0,size:"100",weight:"bold",children:(0,d.jsx)(c.rU,{href:f,display:"inlineBlock",target:"blank",onClick:()=>{g({action:"click",item:"notice-at-collection"})},underline:"hover",children:h._('Notice at collection', 'Mobile web notice at collection link', 'termOfService.link.noticeAtCollection')})})},"noticeAtCollection")})})})}}}]);
//# sourceMappingURL=https://sm.pinimg.com/webapp/61135-4e0cf9742d5d482d.mjs.map