PageSourceSearch

https://rss.app/_next/static/chunks/pages/signup-v2-bc0b18c5ffc26b8a.js

js rss.app collected 2026-09-24 08:26:58 UTC 16,169 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b498cd6-f26d-5d2f-8e53-14422f04f58d")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42861],{394:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});let i=function(e){let t=1;return(e.match(/[a-z]+/)&&(t+=6),e.match(/[0-9]+/)&&(t+=6),(t+=(e.length>8?8:e.length)*1.5)<25)?0===e.length?0:t:(e.match(/[A-Z]+/)&&(t+=20),e.match(/[$@#&!]+/)&&(t+=20),e.length>=16&&(t+=15),e.length>=24&&(t+=10),t)}},702:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var i=a(86692);let r=/^(?=.*[0-9])(?=.*\D)(?=.{8,})/,s=e=>r.test(String(e)),n=(e="password")=>i.Yj().test(e,"Password must be at least 8 characters and contain one number and one alpha character",s).max(255)},20205:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup-v2",function(){return a(65588)}])},25870:function(e,t,a){"use strict";let i,r;var s=this&&this.__createBinding||(Object.create?function(e,t,a,i){void 0===i&&(i=a);var r=Object.getOwnPropertyDescriptor(t,a);
3(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,i,r)}:function(e,t,a,i){void 0===i&&(i=a),e[i]=t[a]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&s(t,e,a);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useTurnstile=void 0;let o=l(a(67505)),d="u">typeof globalThis?globalThis:window,c=void 0!==d.turnstile?"ready":"unloaded",u=new Promise((e,t)=>{r={resolve:e,reject:t},"ready"===c&&e(void 0)});{let e="cf__reactTurnstileOnLoad";i=()=>{if("unloaded"===c){c="loading",d[e]=()=>{r.resolve(),c="ready",delete d[e]};let t=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${e}&render=explicit`,a=document.createElement("script");a.src=t,a.async=!0,a.addEventListener("error",()=>{r.reject("Failed to load Turnstile."),delete d[e]}),document.head.appendChild(a)}return u}}t.default=function({id:e,className:t,style:a,sitekey:r,action:s,cData:n,theme:l,language:d,tabIndex:u,responseField:m,responseFieldName:p,size:h,fixedSize:g,retry:x,retryInterval:f,refreshExpired:v,appearance:b,execution:w,userRef:j,onVerify:y,onSuccess:A,onLoad:N,onError:k,onExpire:S,onTimeout:E,onAfterInteractive:_,onBeforeInteractive:C,onUnsupported:I}){let L=(0,o.useRef)(null),T=(0,o.useState)({onVerify:y,onSuccess:A,onLoad:N,onError:k,onExpire:S,onTimeout:E,onAfterInteractive:_,onBeforeInteractive:C,onUnsupported:I})[0],W=null!=j?j:L,O=g?{width:"compact"===h?"130px":"flexible"===h?"100%":"300px",height:"compact"===h?"120px":"65px",...a}:a;return(0,o.useEffect)(()=>{if(!W.current)return;let e=!1,t="";return(async()=>{var a,o,g;let j;if("ready"!==c)try{await i()}catch(e){null==(a=T.onError)||a.call(T,e);return}e||!W.current||(g=t=window.turnstile.render(W.current,{sitekey:r,action:s,cData:n,theme:l,language:d,tabindex:u,"response-field":m,"response-field-name":p,size:h,retry:x,"retry-interval":f,"refresh-expired":v,appearance:b,execution:w,callback:(e,t)=>{var a,i;null==(a=T.onVerify)||a.call(T,e,j),null==(i=T.onSuccess)||i.call(T,e,t,j)},"error-callback":e=>{var t;return null==(t=T.onError)?void 0:t.call(T,e,j)},"expired-callback":e=>{var t;return null==(t=T.onExpire)?void 0:t.call(T,e,j)},"timeout-callback":()=>{var e;return null==(e=T.onTimeout)?void 0:e.call(T,j)},"after-interactive-callback":()=>{var e;return null==(e=T.onAfterInteractive)?void 0:e.call(T,j)},"before-interactive-callback":()=>{var e;return null==(e=T.onBeforeInteractive)?void 0:e.call(T,j)},"unsupported-callback":()=>{var e;return null==(e=T.onUnsupported)?void 0:e.call(T,j)}}),j={execute:e=>window.turnstile.execute(g,e),reset:()=>window.turnstile.reset(g),getResponse:()=>window.turnstile.getResponse(g),isExpired:()=>window.turnstile.isExpired(g)},null==(o=T.onLoad)||o.call(T,t,j))})(),()=>{e=!0,t&&window.turnstile.remove(t)}},[r,s,n,l,d,u,m,p,h,x,f,v,b,w]),(0,o.useEffect)(()=>{T.onVerify=y,T.onSuccess=A,T.onLoad=N,T.onError=k,T.onExpire=S,T.onTimeout=E,T.onAfterInteractive=_,T.onBeforeInteractive=C,T.onUnsupported=I},[y,A,N,k,S,E,_,C,I]),o.default.createElement("div",{ref:W,id:e,className:t,style:O})},t.useTurnstile=function(){let[e,t]=(0,o.useState)(c);return(0,o.useEffect)(()=>{"ready"!==c&&u.then(()=>t(c))},[]),d.turnstile}},38238:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var i=a(94285);a(67505);var r=a(38110);let s=function(e){return(0,i.jsx)(r.A,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:(0,i.jsx)("path",{d:"M16.9116 6.90999L13.3283 10.4867L12.2516 9.40999L11.0733 10.5883L13.3283 12.8417L18.0883 8.08999L16.9116 6.90999ZM3.33329 6.66666C3.33329 8.56666 4.76663 9.99999 6.66663 9.99999C8.56663 9.99999 9.99996 8.56666 9.99996 6.66666C9.99996 4.76666 8.56663 3.33333 6.66663 3.33333C4.76663 3.33333 3.33329 4.76666 3.33329 6.66666ZM8.33329 6.66666C8.33329 7.64833 7.64829 8.33333 6.66663 8.33333C5.68496 8.33333 4.99996 7.64833 4.99996 6.66666C4.99996 5.68499 5.68496 4.99999 6.66663 4.99999C7.64829 4.99999 8.33329 5.68499 8.33329 6.66666ZM3.33329 15C3.33329 13.6217 4.45496 12.5 5.83329 12.5H7.49996C8.87829 12.5 9.99996 13.6217 9.99996 15V15.8333H11.6666V15C11.6666 12.7025 9.79746 10.8333 7.49996 10.8333H5.83329C3.53579 10.8333 1.66663 12.7025 1.66663 15V15.8333H3.33329V15Z"})})}},60160:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(86692);let r=()=>i.Yj().required("Enter first name")},65588:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>ed,default:()=>ec});var i=a(94285),r=a(67505),s=a(82645),n=a.n(s),l=a(55646),o=a(1211),d=a(7178),c=a(70597),u=a(18574),m=a(42169),p=a(10488),h=a(19002),g=a(33457),x=a(71681),f=a(394),v=a(71889),b=a(38238),w=a(88610),j=a(3234);let y=(0,d.n9)({name:"StrongPasswordSteps"})((e,{color:t})=>({root:{display:"flex",justifyContent:"space-between"},block:{width:"calc(25% - 8px)",height:6,borderRadius:2,backgroundColor:(0,j.X4)(t,.2)},fill:{backgroundColor:t}})),A=function(e){let t,{className:a,value:r=0,...s}=e,{classes:n,cx:l}=y({color:(t=(0,w.A)(),r<25?t.palette.error.main:r<50?t.palette.warning.main:t.palette.success.main)});return(0,i.jsxs)("div",{...s,className:l(n.root,a),children:[(0,i.jsx)("div",{className:l(n.block,{[n.fill]:r>0})}),(0,i.jsx)("div",{className:l(n.block,{[n.fill]:r>=25})}),(0,i.jsx)("div",{className:l(n.block,{[n.fill]:r>=50})}),(0,i.jsx)("div",{className:l(n.block,{[n.fill]:r>=75})})]})};
3var N=a(33813),k=a(77777),S=a(57539),E=a(99936),_=a(25870),C=a.n(_),I=a(7531),L=a(9555),T=a(58479),W=a(23650),O=a(82489),P=a(86692),R=a(702),q=a(91310),M=a(60160),V=a(79172);let z=/[@#$%^&*+={};':"\\|/,.<>?\p{Emoji}]+/u,B=P.Ik().shape({password:(0,R.A)("password").required("Enter password"),email:(0,q.A)("email").required("Enter email"),firstName:(0,M.A)().test("no-special-chars","First name should not contain special characters",e=>!(e??"").toString().replace(/\d/g,"").match(z)),lastName:(0,V.A)().test("no-special-chars","Last name should not contain special characters",e=>!(e??"").toString().replace(/\d/g,"").match(z))});P.Ik().shape({passwordValue:P.Yj().required("Enter password"),loginValue:P.Yj().required("Enter email")});var D=a(47498),F=a(42794),H=a(53245),U=a(43197),Y=a(62307);let Z=(0,d.n9)()(e=>({grid:{maxWidth:512,width:"100%",margin:0,[e.breakpoints.down("sm")]:{width:"100%",margin:0,maxWidth:"unset"}},gridItem:{"&&":{paddingLeft:0},"@media (max-width: 320px)":{flexBasis:"100%",flexGrow:0,maxWidth:"100%"},[e.breakpoints.down("xs")]:{"&&&":{paddingLeft:0,paddingRight:0}}},gridFirstName:{paddingRight:8},gridLastName:{paddingLeft:8},box:{display:"flex",flexDirection:"column",justifyContent:"center",width:"100%"}})),$=function({token:e,email:t,textSubmit:a,submitIcon:s,isInvited:n}){let{classes:o,cx:d}=Z(),c=(0,l.useRouter)(),[u,m]=(0,r.useState)(""),[p,w]=(0,r.useState)(!1),[j,y]=(0,r.useState)(!1),[_,P]=(0,r.useState)(!1),R="https://rss.app".includes("rss.app"),[q,M]=(0,r.useState)(R?null:"test-token"),[V,z]=(0,r.useState)(!1),$=(0,W.uq)("post","/api/site/v1/auth/register-invited"),{registerUser:K,loading:G}=(0,D.C)({onError:e=>{m((0,O.xA)(e)),P(!1)}}),{register:X,handleSubmit:J,watch:Q,formState:{errors:ee,isValid:et},reset:ea}=(0,k.mN)({defaultValues:{email:t||"",password:"",firstName:"",lastName:""},mode:"onTouched",resolver:(0,E.t)(B)}),ei=Q("password"),er=_||G;(0,r.useEffect)(()=>{p&&((0,T.cs)(),c.push((0,S.A)({defaultUrl:`${Y.TY}?invite-team-token=${e}`}),void 0,{locale:!1}),w(!1))},[p]);let es=async({email:t="",password:a="",firstName:i="",lastName:r=""})=>{if(P(!0),m(""),n)return void await $.mutateAsync({body:{email:t,password:a,firstName:i,lastName:r,companyName:"",inviteTeamToken:e}}).then(()=>w(!0)).catch(e=>m((0,O.xA)(e))).finally(()=>P(!1));try{await K({email:t,password:a,firstName:i,lastName:r,companyName:""})}finally{P(!1)}},en=e=>{Object.keys(ee).length||y(e)};return(0,r.useEffect)(()=>{ea({email:t||"",password:"",firstName:"",lastName:""})},[t,ea]),(0,i.jsx)("form",{noValidate:!0,method:"post",onSubmit:J(es),id:"signin-form",name:"SignUpForm",className:o.box,children:(0,i.jsxs)(h.Ay,{container:!0,columnSpacing:2,rowGap:"16px",className:o.grid,children:[(0,i.jsx)(h.Ay,{className:o.gridItem,item:!0,xs:12,children:(0,i.jsx)(L.A,{ga:"google-sign-up",onMouseOver:()=>en(!0),onMouseOut:()=>en(!1),disabled:er})}),(0,i.jsx)(h.Ay,{item:!0,xs:12,className:o.gridItem,children:(0,i.jsx)(H.A,{isInvite:n,handleDisableErrors:en,disabled:er})}),(0,i.jsx)(h.Ay,{className:o.gridItem,item:!0,xs:12,children:(0,i.jsx)(v.A,{})}),u&&(0,i.jsx)(h.Ay,{className:o.gridItem,item:!0,xs:12,children:(0,i.jsx)(N.A,{severity:"error",variant:"outlined",children:u})}),(0,i.jsxs)(h.Ay,{className:d(o.gridItem,o.gridFirstName),item:!0,sm:6,xs:6,children:[(0,i.jsx)(g.A,{name:"firstName",variant:"outlined",size:"48",fullWidth:!0,placeholder:"First name",error:!!ee?.firstName?.message&&!j,disabled:er,...X("firstName")}),!!ee?.firstName?.message&&!j&&(0,i.jsx)(F.K,{children:ee.firstName.message})]}),(0,i.jsxs)(h.Ay,{className:d(o.gridItem,o.gridLastName),item:!0,sm:6,xs:6,children:[(0,i.jsx)(g.A,{name:"lastName",variant:"outlined",size:"48",fullWidth:!0,placeholder:"Last name",error:!!ee?.lastName?.message&&!j,disabled:er,...X("lastName")}),!!ee?.lastName?.message&&!j&&(0,i.jsx)(F.K,{children:ee.lastName.message})]}),(0,i.jsxs)(h.Ay,{className:o.gridItem,item:!0,xs:12,children:[(0,i.jsx)(g.A,{name:"email",variant:"outlined",size:"48",type:"email",fullWidth:!0,placeholder:"Email address",InputProps:{readOnly:!!t},error:!!ee?.email?.message&&!j,disabled:er,...X("email",{required:"Enter email"})}),ee?.email?.message&&!j&&(0,i.jsx)(F.K,{children:ee.email.message})]}),(0,i.jsxs)(h.Ay,{className:o.gridItem,item:!0,xs:12,children:[(0,i.jsx)(x.A,{name:"password",variant:"outlined",size:"48",fullWidth:!0,placeholder:"Password",error:!!ee?.password?.message&&!j,disabled:er,InputProps:{...X("password")}}),ee?.password?.message&&!j&&(0,i.jsx)(F.K,{children:ee.password.message})]}),!u&&ei&&(0,i.jsx)(h.Ay,{item:!0,className:o.gridItem,xs:12,pt:"8px",children:(0,i.jsx)(A,{value:(0,f.A)(ei)})}),(0,i.jsxs)(h.Ay,{item:!0,className:o.gridItem,xs:12,mt:"8px",children:[!n&&R&&(0,i.jsx)("div",{style:{overflow:"hidden"},children:(0,i.jsx)(C(),{theme:"light",sitekey:"0x4AAAAAAB_Cuuk1Qfd5PSTy",size:V?"flexible":"invisible",onVerify:e=>{m(""),M(e)},onBeforeInteractive:()=>z(!0),onExpire:()=>{z(!0),M(null),m("Captcha expired. Please try again.")},onError:()=>{z(!0),M(null),m("Captcha verification failed. Please try again.")},appearance:"always"})}),(0,i.jsx)(I.A,{ga:"submit",loading:er,disabled:er||!n&&!q||!et,fullWidth:!0,variant:"contained",color:"primary",size:"48",type:"submit",startIcon:s??(0,i.jsx)(b.A,{style:{fontSize:"18px"}}),children:a??(0,i.jsx)("span",{children:"Create Account"})})]}),(0,i.jsx)(h.Ay,{item:!0,xs:12,style:{paddingTop:8},children:(0,i.jsx)(U.A,{variant:"subtitle1",type:"signin",align:"center"})})]})})};var K=a(87498),G=a(62424),X=a(22324);let J=["/static/img/auth/partners/google.svg","/static/img/auth/partners/webflow.svg","/static/img/auth/partners/microsoft.svg","/static/img/auth/partners/harvard.svg"],Q=()=>(0,i.jsxs)(p.A,{mt:"24px",width:"100%",display:"flex",flexDirection:"column",alignItems:"center",children:[(0,i.jsx)(c.A,{variant:"subtitle2",fontWeight:600,color:"textSecondary",children:"Trusted and used by thousands of companies"}),(0,i.jsx)(p.A,{display:"flex",justifyContent:"space-between",my:"16px",alignItems:"center",sx:{opacity:.3,maxWidth:"390px",width:"100%"},children:J.map((e,t)=>(0,i.jsx)("img",{src:e,alt:"Logos"},t))})]}),ee=(0,d.n9)()(e=>({root:{color:e.palette.common.black,width:592,height:"fit-content",padding:40,display:"flex",flexDirection:"column",marginTop:60,marginBottom:20,[e.breakpoints.down("sm")]:{margin:0,width:"100%",padding:"68px 16px 40px",border:0,height:"revert"}},wrapper:{display:"flex",flexDirection:"column",alignItems:"center",[e.breakpoints.down("sm")]:{justifyContent:"space-between"}},title:{marginBottom:40,[e.breakpoints.down("sm")]:{fontSize:24,lineHeight:"36px",marginBottom:32}}})),et=function({className:e,...t}){let{classes:a,cx:s}=ee(),n=(0,l.useRouter)().query["invite-team-token"],{invite:o}=(0,G.L)(n);return(0,r.useEffect)(()=>{n&&(0,K._)(n)},[n]),(0,i.jsx)(u.A,{theme:X.W.light,children:(0,i.jsxs)(p.A,{className:a.wrapper,children:[(0,i.jsxs)(m.A,{...t,className:s(a.root,e),children:[(0,i.jsx)(c.A,{variant:"h4",fontWeight:700,textAlign:"center",className:a.title,children:"Sign up to RSS.app"}),(0,i.jsx)($,{email:o?.email})]}),(0,i.jsx)(Q,{})]})})};var ea=a(47521);let ei=(0,d.n9)()(e=>({root:{color:e.palette.common.black,height:"fit-content",padding:40,display:"flex",flexDirection:"column",marginTop:40,maxWidth:592,[e.breakpoints.down("sm")]:{padding:"32px 16px",margin:0,border:"none",height:"unset",width:"100%",maxWidth:"unset"}},title:{textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:24,lineHeight:"36px"}}})),er=({token:e})=>{let{classes:t}=ei(),{replace:a}=(0,l.useRouter)(),{invite:s}=(0,G.L)(e,{onError(){a("/signup")},onLoaded(e){e.status!==ea.nO.Pending&&a("/signup")}});return(0,r.useEffect)(()=>{e&&(0,K._)(e)},[e]),(0,i.jsx)(u.A,{theme:X.W.light,children:(0,i.jsxs)(m.A,{className:t.root,children:[(0,i.jsx)(c.A,{variant:"h4",fontWeight:700,className:t.title,children:"Sign Up To Accept The Invitation"}),(0,i.jsxs)(c.A,{variant:"subtitle1",fontWeight:600,mt:"8px",textAlign:"center",mb:"40px",children:["You’ve been invited to the"," ",(0,i.jsxs)(c.A,{variant:"subtitle1",fontWeight:600,color:"primary.main",component:"span",children:["“",s?.teamName,"”"]})," ","workspace. Create an account to start collaborating with your team."]}),(0,i.jsx)($,{email:s?.email,token:e,isInvited:!0,textSubmit:"Create an account"})]})})};er.displayName="SignUpInvitedUser";var es=a(64331),en=a(56957),el=a(62965);let eo=(0,en.A)(function(){let e=(0,l.useRouter)().query["invite-team-token"];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(es.A,{noindex:!0,title:"Sign up to RSS.app",description:"Sign up to start creating your first RSS feed.  When you're done, embed it to your HTML website using JS or iframe widgets. Free trial and n
3o credit card required!",canonical:(0,el.rf)("/signup")}),(0,i.jsxs)(n(),{children:[(0,i.jsx)("link",{rel:"preload",as:"image",href:"/static/img/onboarding/onboarding-mobile.webp"}),(0,i.jsx)("link",{rel:"preload",as:"image",href:"/static/img/onboarding/onboarding.webp"})]}),(0,i.jsx)(o.A,{isSign:!0,ga:"signup-page",children:e?(0,i.jsx)(er,{token:e}):(0,i.jsx)(et,{})})]})});var ed=!0;let ec=eo},79172:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(86692);let r=()=>i.Yj().required("Enter last name")}},e=>{e.O(0,[21275,66311,31066,6014,37002,75315,71535,67187,64870,75326,95353,77777,41738,62040,7246,38424,1211,82793,33831,49720,90636,46593,38792],()=>e(e.s=20205)),_N_E=e.O()}]);
4//# debugId=1b498cd6-f26d-5d2f-8e53-14422f04f58d

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.