PageSourceSearch

https://web.pocketparty.app/_next/static/chunks/pages/reset-pw-9495e654354e2bd3.js

js pocketparty.app collected 2026-10-02 00:46:57 UTC 11,374 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6121],{85024:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return reset_pw}});var n=t(20406),o=t(28526),i=t.n(o),a=t(2784),c=t(70746),l=t(48040),s=t(60013),u=t(6896),d=t(96461),f=t(43273),p=t(76797),b=t(81734),x=t(69575),g=t.n(x),h=t(17166),y=t.n(h),m=t(74536),O=t(5564),j=t(397),w=t(62272),v=t.n(w),F=t(98614),k=t(52322);function ForgotPassword(){var e,r=(0,u.t)(),t=(0,a.useState)(""),o=t[0],x=t[1],h=(0,a.useState)(!1),w=h[0],S=h[1],C=(0,a.useState)({}),P=C[0],Z=C[1],B=(0,a.useState)({}),_=B[0],z=B[1],E=v()().width,T=(0,F.$G)().t,D=(e=(0,n.Z)(i().mark(function _callee(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,0!==o.trim().length){e.next=5;break}throw Error("Please provide the email");case 5:if((0,j.vV)(o)){e.next=7;break}throw Error("Please provide a valid email address");case 7:return Z(P),S(!0),e.next=11,(0,O.LS)(o.toLowerCase());case 11:z({email:"Check your email for the password reset link."}),Z({}),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(0),Z({email:e.t0.message}),z({});case 19:return e.prev=19,S(!1),e.finish(19);case 22:case"end":return e.stop()}},_callee,null,[[0,15,19,22]])})),function(){return e.apply(this,arguments)});return(0,k.jsx)(p.Z,{activatedTab:"Profile",children:(0,k.jsx)(c.p,{showsVerticalScrollIndicator:!1,width:"web"==g().OS&&E>900?E-100:"$full",maxWidth:"web"==g().OS?400:"$full",marginHorizontal:"auto",flex:1,children:(0,k.jsxs)(l.x,{sx:{flex:1,marginHorizontal:24,marginTop:30},children:[(0,k.jsx)(y(),{onPress:function(){r.push("/login")},activeOpacity:.8,style:{marginTop:30},children:(0,k.jsx)(m.Z,{})}),(0,k.jsxs)(l.x,{children:[(0,k.jsx)(s.Z,{sx:{color:"#fff",fontFamily:b.Z.FONTS.glikerBold,fontSize:36,lineHeight:36,marginTop:24},children:T("authentication.reset_password")}),(0,k.jsx)(l.x,{sx:{mt:40},children:(0,k.jsx)(f.Z,{value:o,onChangeText:x,label:T("login.email"),errorText:P.email,successText:_.email})}),(0,k.jsx)(l.x,{sx:{mt:24},children:(0,k.jsx)(d.Z,{activityIndicatorLoading:w,textColor:"black",title:T("authentication.submit"),backgroundColor:b.Z.COLORS.secondary,borderColor:b.Z.COLORS.secondary,onPress:D})}),(0,k.jsxs)(l.x,{sx:{flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[(0,k.jsxs)(s.Z,{sx:{fontFamily:b.Z.FONTS.circularBook,fontSize:16,color:"#fff",textAlign:"center",mt:40,mb:40},children:[T("authentication.dont_have_account")," "]}),(0,k.jsx)(y(),{onPress:function(){r.push("/sign-up")},children:(0,k.jsxs)(s.Z,{sx:{fontFamily:b.Z.FONTS.circularBold,fontSize:16,color:b.Z.COLORS.secondary,borderBottomWidth:2,borderBottomColor:b.Z.COLORS.secondary,pb:3,marginTop:4},children:[" ",T("authentication.sign_up")]})})]})]})]})})})}var reset_pw=function(){return(0,k.jsx)(ForgotPassword,{})}},43273:function(e,r,t){"use strict";var n=t(95235),o=t(82269),i=t(81734),a=t(12683),c=t(6896),l=t(2784),s=t(77413),u=t.n(s),d=t(1855),f=t.n(d),p=t(15577),b=t.n(p),x=t(9330),g=t.n(x),h=t(36844),y=t.n(h),m=t(64494),O=t.n(m),j=t(74301),w=t.n(j),v=t(17166),F=t.n(v),k=t(69575),S=t.n(k),C=t(98614),P=t(52322),Z=["resetPassword","label","errorText","value","style","onBlur","successText","onFocus","autoCapitalize"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var B=b().create({input:{padding:17,borderWidth:2.5,borderRadius:100,fontFamily:"",fontSize:18,color:"white"},labelContainer:{position:"absolute",paddingHorizontal:8,marginLeft:10,backgroundColor:i.Z.COLORS.primary},label:{fontFamily:i.Z.FONTS.circularBook},error:{color:"#FFB7B7"},success:{color:(0,a.Z)("#00FF00",.9)},bottomAlert:{marginTop:4,marginLeft:12,fontSize:12,width:"100%",fontFamily:i.Z.FONTS.circularBook}});r.Z=function(e){var r=(0,C.$G)().t,t=e.resetPassword,n=e.label,s=e.errorText,d=e.value,p=e.style,b=e.onBlur,x=e.successText,h=e.onFocus,m=e.autoCapitalize,j=(0,o.Z)(e,Z),v=(0,l.useState)(!1),k=v[0],_=v[1],z=(0,l.useRef)(null),E=(0,l.useRef)(new(y()).Value(0)).current;(0,l.useEffect)(function(){y().timing(E,{toValue:k||d?1:0,duration:150,easing:O().bezier(.4,0,.2,1),useNativeDriver:!0}).start()},[E,k,d]);var T=k?"#fff":"#d9adf5",D=k?15:18;
1s?T="#FFB7B7":x&&(T=(0,a.Z)("#00FF00",.7));var L=(0,c.t)();return(0,P.jsxs)(g(),{style:p,children:[(0,P.jsx)(f(),_objectSpread(_objectSpread({style:[B.input,{borderColor:T,position:"relative"}],ref:z},j),{},{value:d,onBlur:function(e){_(!1),null==b||b(e)},onFocus:function(e){_(!0),null==h||h(e)},autoCapitalize:void 0===m?"sentences":m,placeholderTextColor:T})),t&&!d&&(0,P.jsx)(F(),{onPress:function(){L.push("/reset-pw")},style:{position:"absolute",right:4,marginTop:"web"===S().OS?3:7,height:"80%",borderRadius:100},children:(0,P.jsx)(u(),{style:{color:"#fff",fontSize:16,fontFamily:i.Z.FONTS.circularBook,borderBottomWidth:2,borderBottomColor:"#fff",paddingBottom:2,marginTop:15,marginRight:30},children:r("authentication.reset_password")})}),(0,P.jsx)(w(),{onPress:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.focus()},children:(0,P.jsx)(y().View,{style:[B.labelContainer,{transform:[{scale:E.interpolate({inputRange:[0,1],outputRange:[1,.75]})},{translateY:E.interpolate({inputRange:[0,1],outputRange:[20,-12]})},{translateX:E.interpolate({inputRange:[0,1],outputRange:[16,0]})}]}],children:(0,P.jsxs)(u(),{style:[B.label,{color:T,fontSize:D}],children:[n,s?"*":""]})})}),!!s&&(0,P.jsx)(u(),{style:[B.bottomAlert,B.error],children:s}),!!x&&(0,P.jsx)(u(),{style:[B.bottomAlert,B.success],children:x})]})}},96461:function(e,r,t){"use strict";t.d(r,{Z:function(){return Button}});var n=t(95235),o=t(17166),i=t.n(o);t(2784);var a=t(81734),c=t(60013),l=t(32827),s=t(52322);function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function Button(e){var r=e.title,t=e.description,o=e.backgroundColor,u=e.textColor,d=e.borderColor,f=e.onPress,p=e.disabled,b=e.activityIndicatorLoading,x=e.style,g=e.spinnerSpeed,h=e.loaderComponent;return(0,s.jsx)(i(),{style:function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}({height:60,alignItems:"center",justifyContent:"center",borderRadius:100,backgroundColor:o,borderColor:d||o,borderWidth:3},x),onPress:f,disabled:p,children:void 0!==b&&b?(void 0===h?null:h)||(0,s.jsx)(l.Z,{size:40,width:5,tintColor:u,speed:g||20}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.Z,{color:u,textAlign:"center",fontSize:22,letterSpacing:-.66,fontFamily:a.Z.FONTS.circularBold,children:r}),!!t&&(0,s.jsx)(c.Z,{sx:{color:u,fontFamily:a.Z.FONTS.circularBook,fontSize:14,lineHeight:18,letterSpacing:-.03,textAlign:"center",opacity:.5},children:t})]})})}},32827:function(e,r,t){"use strict";var n=t(81333),o=t(81734),i=t(12683),a=t(2784),c=t(50041),l=t(52322);r.Z=function(e){var r=e.size,t=e.width,s=e.fill,u=(e.speed,e.tintColor),d=void 0===u?o.Z.COLORS.primary:u,f=e.backgroundColor,p=void 0===f?(0,i.Z)("#000",.2):f,b=a.useState(0),x=(0,n.Z)(b,2),g=x[0],h=x[1];return a.useEffect(function(){var e=setInterval(function(){h(function(e){return e+40})},50);return function(){return clearInterval(e)}},[]),(0,l.jsx)(c.$,{size:void 0===r?40:r,width:void 0===t?8:t,fill:void 0===s?25:s,tintColor:d,backgroundColor:p,rotation:g,lineCap:"round"})}},81734:function(e,r,t){"use strict";t.d(r,{C:function(){return n}});var n={COLORS:{primary:"#9F32E5",primaryDark:"#8613CF",primaryDarker:"#5e2882",primaryLight:"#C584EF",primaryLighter:"#b675e0",primaryLightest:"#E6D9F2",secondary:"#FFF845",secondaryDark:"#EAE224",secondaryLight:"#FFF845",black:"#1E1E1E",white:"#FFFFFF",whiteLighter:"#bfbebc",whiteDim:"#FAF9F7",grey:"#D9D9D9",error:"#FFB7B7",green:"#00A410",blue:"#0862CB",darkGrey:"#4F4F4F",pink:"#e7cef7",orange:"#E38800",errorDark:"#E22E2E",red:"#FF0000"},FONTS:{circularBook:"circular-book",circularBold:"circular-bold",circularMediumItalic:"circular-mediumItalic",glikerBold:"gliker-bold",glikerRegular:"gliker-regular",glikerBlack:"gliker-black",glikerSemiBold:"gliker-semibold",boldMarket:"bold-market",recoletaMedium:"recoleta-medium",circularBoldItalic:"circular-bold-italic"}};r.Z=n},397:function(e,r,t){"use strict";t.d(r,{K_:function(){return isHexColor},vV:function(){return isValidEmail}}),t(28526);var n=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/,isValidEmail=function(e){return n.test(e)},isHexColor=function(e){if(!e)return!1;var r=e.replace("#","");return/^[0-9A-Fa-f]{6}$|^[0-9A-Fa-f]{3}$/.test(r)}},74536:function(e,r,t){"use strict";var n=t(95235);t(2784);var o=t(61364),i=t.n(o),a=t(52322);function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};
1r%2?ownKeys(Object(t),!0).forEach(function(r){(0,n.Z)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}r.Z=function(e){return(0,a.jsx)(i(),_objectSpread(_objectSpread({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:(0,a.jsx)(o.Path,{stroke:(null==e?void 0:e.color)||"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M9.57 5.93 3.5 12l6.07 6.07M20.5 12H3.67"})}))}},12683:function(e,r){"use strict";r.Z=function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return/^#([A-Fa-f0-9]{3}){1,2}$/.test(r)?(3==(e=r.substring(1).split("")).length&&(e=[e[0],e[0],e[1],e[1],e[2],e[2]]),"rgba("+[(e="0x"+e.join(""))>>16&255,e>>8&255,255&e].join(",")+","+t+")"):"#000"}},59378:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reset-pw",function(){return t(85024)}])}},function(e){e.O(0,[2316,9791,7706,8614,1155,4794,4599,6140,2876,9303,2711,9113,6797,9774,2888,179],function(){return e(e.s=59378)}),_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.