PageSourceSearch

https://rss.app/_next/static/chunks/pages/auth/reset-password/[token]-21e49207ab325e80.js

js rss.app collected 2026-09-24 08:25:27 UTC 13,849 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]="50a867a7-d738-5502-b610-0cdd9a2cc821")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14330],{702:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(86692);let i=/^(?=.*[0-9])(?=.*\D)(?=.{8,})/,n=e=>i.test(String(e)),a=(e="password")=>s.Yj().test(e,"Password must be at least 8 characters and contain one number and one alpha character",n).max(255)},4636:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var s,i=r(67505),n=r(3638),a=r(71372),o=r(4199),l=r(60222),d=r(47001),c=r(86517),p=r(4177),u=r(50051),h=r(33080),f=r(9978),x=r(49526);function m(e){return(0,x.Ay)("MuiInputAdornment",e)}let v=(0,f.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var w=r(94285);let A=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`position${(0,o.A)(r.position)}`],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})((0,u.A)(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${v.positionStart}&:not(.${v.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),y=i.forwardRef(function(e,t){let r=(0,h.b)({props:e,name:"MuiInputAdornment"}),{children:p,className:u,component:f="div",disablePointerEvents:x=!1,disableTypography:v=!1,position:y,variant:g,...j}=r,b=(0,c.A)()||{},C=g;g&&b.variant,b&&!C&&(C=b.variant);let S={...r,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:x,position:y,variant:C},R=(e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:s,position:i,size:n,variant:l}=e,d={root:["root",r&&"disablePointerEvents",i&&`position${(0,o.A)(i)}`,l,s&&"hiddenLabel",n&&`size${(0,o.A)(n)}`]};return(0,a.A)(d,m,t)})(S);return(0,w.jsx)(d.A.Provider,{value:null,children:(0,w.jsx)(A,{as:f,ownerState:S,className:(0,n.A)(R.root,u),ref:t,...j,children:"string"!=typeof p||v?(0,w.jsxs)(i.Fragment,{children:["start"===y?s||(s=(0,w.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,p]}):(0,w.jsx)(l.A,{color:"textSecondary",children:p})})})})},7531:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var s=r(94285),i=r(67505),n=r(75315),a=r(65360),o=r(28755),l=r(21633);let d=i.forwardRef(({children:e,...t},r)=>(0,s.jsx)(n.A,{ref:r,...(0,o.w)(t),children:t.loading?(0,s.jsx)(a.e,{size:t.size,hasIcon:!!t.startIcon,children:e}):(0,l.I)(e)}))},10737:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(29308),i=r(94285);let n=(0,s.A)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},21633:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});var s=r(94285),i=r(67505);let n=e=>"string"==typeof e?(0,s.jsx)("span",{children:e}):Array.isArray(e)?i.Children.map(e,e=>"string"==typeof e?(0,s.jsx)("span",{children:e}):e):e},23650:(e,t,r)=>{"use strict";r.d(t,{Xx:()=>l,ZK:()=>u,rf:()=>c,uq:()=>p});var s=r(15050),i=r(9406),n=r(61808),a=r(58479),o=r(82489);function l(e,t,r){return[e,t,r??null]}async function d(e,t,r){let s=(0,a.D7)(),i=await s.request(e,t,r);return(0,o.k$)(i,t)}function c(e,t,...[r,i]){return(0,s.I)({...i,queryKey:l(e,t,r),queryFn:({signal:s})=>d(e,t,{...r,signal:s})})}function p(e,t,r){return(0,i.n)({...r,mutationKey:[e,t],mutationFn:r=>d(e,t,r)})}function u(e,t,r,s){let{keyInit:i,initForOffset:a,nextOffset:o,initialOffset:c=0}=r;return(0,n.q)({...s,queryKey:[...l(e,t,i),"infinite"],initialPageParam:c,queryFn:({pageParam:r,signal:s})=>d(e,t,{...a(r),signal:s}),getNextPageParam:(e,t)=>o(t)})}},28755:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});let s=({disabled:e,loading:t,sx:r,roboto:s,startIcon:i,...n})=>({disabled:e||t,sx:r,roboto:s,...n,startIcon:!t&&i})},33813:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=r(42101).A},42169:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(94285);r(67505);var i=r(22297);let n=function({ga:e,...t}){return(0,s.jsx)(i.A,{...t,ga:e})}},45810:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(94285);r(67505);var i=r(38110);let n=function(e){return(0,s.jsx)(i.A,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5976 2.26885C9.34225 1.70039 7.93424 1.55841 6.58997 1.86484C5.24573 2.17126 4.03999 2.90903 3.15784 3.96435C2.27572 5.01964 1.7659 6.33411 1.70634 7.70576C1.69188 8.03872 1.41024 8.29692 1.07728 8.28246C0.744318 8.268 0.48612 7.98636 0.500579 7.6534C0.571655 6.0166 1.18003 4.44861 2.23186 3.19031C3.28365 1.93204 4.72061 1.05311 6.32174 0.688124C7.92285 0.323147 9.59994 0.492201 11.0954 1.16943C12.2239 1.68045 13.202 2.45955 13.9483 3.43113V1.14994C13.9483 0.816663 14.2184 0.54649 14.5517 0.54649C14.885 0.54649 15.1552 0.816663 15.1552 1.14994V5.27392C15.1552 5.6072 14.885 5.87737 14.5517 5.87737H10.4138C10.0805 5.87737 9.81034 5.6072 9.81034 5.27392C9.81034 4.94065 10.0805 4.67047 10.4138 4.67047H13.3405C12.6863 3.62012 11.7329 2.78298 10.5976 2.26885ZM14.9283 7.7643C15.2611 7.78183 15.5167 8.06583 15.4991 8.39865C15.4133 10.0294 14.7942 11.5871 13.7368 12.8339C12.6795 14.0806 11.2421 14.9479 9.64428 15.3036C8.04651 15.6593 6.37579 15.4842 4.88717 14.8047C3.76567 14.2928 2.79381 13.5157 2.05173 12.5483V14.8966C2.05173 15.2298 1.78156 15.5 1.44828 15.5C1.11501 15.5 0.844838 15.2298 0.844838 14.8966V10.7726C0.844838 10.4393 1.11501 10.1691 1.44828 10.1691H5.58621C5.91948 10.1691 6.18966 10.4393 6.18966 10.7726C6.18966 11.1058 5.91948 11.376 5.58621 11.376H2.70231C3.35173 12.39
314 4.28317 13.2023 5.38832 13.7067C6.63786 14.2771 8.04052 14.4242 9.38198 14.1256C10.7234 13.8269 11.9296 13.0989 12.8164 12.0533C13.7031 11.0076 14.222 9.70179 14.2939 8.33517C14.3115 8.00236 14.5955 7.74677 14.9283 7.7643Z",fill:"currentColor"})})}},54649:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/reset-password/[token]",function(){return r(85491)}])},57631:(e,t,r)=>{"use strict";r.d(t,{L:()=>i,Z:()=>s});let s=(e,t)=>e.push(t,void 0,{locale:!1}),i=(e,t)=>e.replace(t,void 0,{locale:!1})},64331:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(94285);r(67505);var i=r(67681),n=r(75606);let a=function(e){let t=e.openGraph||{},r=(0,n.l)(),a=e.canonical||r;return(0,s.jsx)(i.bV,{...e,canonical:a,openGraph:{...t,title:t.title||e.title,description:t.description||e.description,url:t.url||a,images:t.images||[{url:"https://rss.app/static/img/images/rss-app.png",alt:"RSS.app The #1 Source of RSS Feeds"}]}})}},65360:(e,t,r)=>{"use strict";r.d(t,{e:()=>n});var s=r(94285);r(67505);var i=r(28908);let n=({size:e,hasIcon:t,children:r})=>{let n="24"===e?12:16,a=t?("24"===e?4:8)+n:0;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{style:{position:"absolute",height:"24"===e?"13px":"16px"},children:(0,s.jsx)(i.A,{sx:{color:"inherit"},size:n})}),(0,s.jsx)("span",{style:{visibility:"hidden",paddingLeft:r?`${a}px`:void 0},children:r})]})}},71681:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(94285),i=r(67505),n=r(74276),a=r(10737),o=r(4636),l=r(71156),d=r(95353);let c=function({InputProps:e,...t}){let[r,c]=i.useState(!1),p=Number(t.size),u=Number.isFinite(p)?p:void 0;return(0,s.jsx)(d.A,{type:r?"text":"password",...t,InputProps:{...e,style:{...void 0!==u?{height:u}:{},...e?.style},endAdornment:(0,s.jsx)(o.A,{position:"end",sx:{opacity:1},children:(0,s.jsx)(l.A,{"aria-label":"toggle password visibility",onClick:()=>c(!r),onMouseDown:e=>e.preventDefault(),onMouseUp:e=>e.preventDefault(),children:r?(0,s.jsx)(n.A,{sx:{fontSize:"70%"}}):(0,s.jsx)(a.A,{sx:{fontSize:"70%"}})})})}})}},74276:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(29308),i=r(94285);let n=(0,s.A)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},75606:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});var s=r(55646),i=r(62965);let n=()=>{let e=(0,s.useRouter)();return(0,i.rf)(e?.asPath??"/",e?.locale,e?.defaultLocale??i.Xn)}},85491:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var s=r(94285),i=r(67505),n=r(55646),a=r(18574),o=r(1211),l=r(42169),d=r(19002),c=r(70597),p=r(7178),u=r(33813),h=r(7531),f=r(45810),x=r(77777),m=r(99936),v=r(71681),w=r(86692),A=r(702);let y={password:"",passwordRepeat:""},g=w.Ik().shape({password:(0,A.A)("password").required("Enter password"),passwordRepeat:((e="password")=>(0,A.A)(e).oneOf([w.KR(e),void 0],"Passwords must match"))("password").required("Enter password")});var j=r(23650);let b=function(){let{mutateAsync:e}=(0,j.uq)("post","/api/site/v1/auth/password-reset/confirm");return t=>e({body:{token:t.token,password:t.password}})};var C=r(82489),S=r(22324),R=r(57631);let N=(0,p.n9)()(e=>({root:{color:e.palette.common.black,width:592,height:"fit-content",padding:"24px 62px",marginTop:40,[e.breakpoints.down("sm")]:{width:"100%",height:"auto",padding:24,margin:0,borderRadius:0,border:"none"}},title:{[e.breakpoints.down("sm")]:{fontSize:24,lineHeight:"36px"}},box:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%"}})),P=function({className:e,token:t,email:r,...o}){let{classes:p,cx:w}=N(),A=b(),[j,P]=i.useState(null),z=(0,n.useRouter)(),{handleSubmit:I,control:E,formState:{errors:V,isSubmitting:k,isValid:M,isSubmitSuccessful:_}}=(0,x.mN)({defaultValues:y,resolver:(0,m.t)(g),mode:"onTouched"}),q=async e=>{P(null);try{await A({token:t,password:e.password}),(0,R.L)(z,"/auth/reset-password-success")}catch(e){P((0,C.xA)(e))}};return(0,s.jsx)(a.A,{theme:S.W.light,children:(0,s.jsx)(l.A,{...o,className:w(p.root,e),children:(0,s.jsx)("form",{id:"reset-password-form",onSubmit:I(q),className:p.box,noValidate:!0,children:(0,s.jsxs)(d.Ay,{container:!0,children:[(0,s.jsx)(d.Ay,{item:!0,xs:12,pb:"8px",children:(0,s.jsx)(c.A,{variant:"h4",fontWeight:700,align:"center",className:p.title,children:"New password"})}),(0,s.jsxs)(d.Ay,{item:!0,xs:12,pb:"40px",children:[(0,s.jsxs)(c.A,{align:"center",variant:"subtitle1",fontWeight:600,children:["Set a new password for"," "]}),(0,s.jsx)(c.A,{textAlign:"center",variant:"subtitle1",color:"primary",fontWeight:600,children:r||"rss.app"})]}),(0,s.jsx)(d.Ay,{item:!0,xs:12,mb:"24px",children:(0,s.jsx)(x.xI,{name:"password",control:E,render:({field:e})=>(0,s.jsx)(v.A,{...e,error:!!V.password,helperText:V.password?.message,variant:"outlined",fullWidth:!0,size:"48",placeholder:"New password",autoComplete:"off"})})}),(0,s.jsx)(d.Ay,{item:!0,xs:12,children:(0,s.jsx)(x.xI,{name:"passwordRepeat",control:E,render:({field:e})=>(0,s.jsx)(v.A,{...e,error:!!V.passwordRepeat,helperText:V.passwordRepeat?.message,variant:"outlined",fullWidth:!0,size:"48",placeholder:"Confirm new password",autoComplete:"off"})})}),j&&(0,s.jsx)(d.Ay,{item:!0,xs:12,mt:"24px",children:(0,s.jsx)(u.A,{severity:"error",variant:"filled",children:j})}),(0,s.jsx)(d.Ay,{item:!0,xs:12,style:{paddingTop:16},children:(0,s.jsx)(h.A,{loading:k,disabled:k||!M||_,fullWidth:!0,variant:"contained",color:"primary",size:"48",type:"submit",startIcon:(0,s.jsx)(f.A,{sx:{fontSize:"16px"}}),children:"Set new password"})})]})})})})};var z=r(64331),I=r(62965);let E=function(){let{token:e,email:t}=(0,n.useRouter)().query;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(z.A,{noindex:!0,title:"Reset password to RSS.app",canonical:(0,I.rf)("/auth/reset-password")}),(0,s.jsx)(o.A,{children:(0,s.jsx)(a.A,{theme:S.W.light,children:(0,s.jsx)(P,{token:e,email:t})})})]})}},99936:(e,t,r)=>{"use strict";r.d(t,{t:()=>o});var s=r(77777);let i=(e,t,r)=>{if(e&&"reportValidity"in e){let i=(0,s.Jt)(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},n=(e,t)=>{for(let r in t.fields){let s=t.fields[r];s&&s.ref&&"reportValidity"in s.ref?i(s.ref,r,e):s.refs&&s.refs.forEac
3h(t=>i(t,r,e))}},a=(e,t)=>e.some(e=>e.startsWith(t+"."));function o(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),function(i,o,l){try{return Promise.resolve(function(s){try{var a=(t.context,Promise.resolve(e["sync"===r.mode?"validateSync":"validate"](i,Object.assign({abortEarly:!1},t,{context:o}))).then(function(e){return l.shouldUseNativeValidation&&n({},l),{values:r.raw?i:e,errors:{}}}))}catch(e){return s(e)}return a&&a.then?a.then(void 0,s):a}(function(e){var t;if(!e.inner)throw e;return{values:{},errors:((e,t)=>{t.shouldUseNativeValidation&&n(e,t);let r={};for(let i in e){let n=(0,s.Jt)(t.fields,i),o=Object.assign(e[i]||{},{ref:n&&n.ref});if(a(t.names||Object.keys(e),i)){let e=Object.assign({},(0,s.Jt)(r,i));(0,s.hZ)(e,"root",o),(0,s.hZ)(r,i,e)}else(0,s.hZ)(r,i,o)}return r})((t=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(e.inner||[]).reduce(function(e,r){if(e[r.path]||(e[r.path]={message:r.message,type:r.type}),t){var i=e[r.path].types,n=i&&i[r.type];e[r.path]=(0,s.Gb)(r.path,t,e,r.type,n?[].concat(n,r.message):r.message)}return e},{})),l)}}))}catch(e){return Promise.reject(e)}}}}},e=>{e.O(0,[21275,66311,31066,6014,37002,75315,71535,64870,75326,95353,77777,41738,62040,38424,1211,90636,46593,38792],()=>e(e.s=54649)),_N_E=e.O()}]);
4//# debugId=50a867a7-d738-5502-b610-0cdd9a2cc821

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.