"use strict";(self.webpackChunkkeybase=self.webpackChunkkeybase||[]).push([[8155],{88155(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22024),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24953),_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(17626),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(67926),_common_adapters__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(63044),_signup_common__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(92195),_util_safe_navigation__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(88732),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(20390);const styles=_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.styleSheetCreate(()=>({input:_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.platformStyles({isElectron:{width:368}}),topGap:_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.platformStyles({isMobile:{justifyContent:"flex-start",marginTop:"20%"}})})),__WEBPACK_DEFAULT_EXPORT__=()=>{const $=(0,react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__.c)(18),[password,setPassword]=react__WEBPACK_IMPORTED_MODULE_3__.useState(""),error=_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__.useAutoResetState(_temp),endTime=_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__.useAutoResetState(_temp2),waiting=_constants__WEBPACK_IMPORTED_MODULE_1__.E$.useAnyWaiting(_constants__WEBPACK_IMPORTED_MODULE_1__.Tb),nav=(0,_util_safe_navigation__WEBPACK_IMPORTED_MODULE_6__.X)();let t0;$[0]!==nav?(t0=()=>nav.safeNavigateUp(),$[0]=nav,$[1]=t0):t0=$[1];const onBack=t0,resetAccount=_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__.useAutoResetState(_temp3);let t1;$[2]!==password||$[3]!==resetAccount?(t1=()=>{resetAccount(password)},$[2]=password,$[3]=resetAccount,$[4]=t1):t1=$[4];const onContinue=t1,[now]=react__WEBPACK_IMPORTED_MODULE_3__.useState(_temp4),title=endTime>0&&now>endTime?"Almost done":"Your password";let t2,t3,t4,t5;return $[5]!==error?(t2=error?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Banner,{color:"red",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.BannerParagraph,{bannerColor:"red",content:error})}):null,$[5]=error,$[6]=t2):t2=$[6],$[7]!==onContinue||$[8]!==waiting?(t3=[{label:"Continue",onClick:onContinue,waiting}],$[7]=onContinue,$[8]=waiting,$[9]=t3):t3=$[9],$[10]!==onContinue?(t4=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Box2,{direction:"vertical",fullWidth:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.LabeledInput,{placeholder:"Enter your password",containerStyle:styles.input,type:"password",onChangeText:setPassword,onEnterKeyDown:onContinue,autoFocus:!0})}),$[10]=onContinue,$[11]=t4):t4=$[11],$[12]!==onBack||$[13]!==t2||$[14]!==t3||$[15]!==t4||$[16]!==title?(t5=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_signup_common__WEBPACK_IMPORTED_MODULE_5__.DF,{title,onBack,banners:t2,buttons:t3,children:t4}),$[12]=onBack,$[13]=t2,$[14]=t3,$[15]=t4,$[16]=title,$[17]=t5):t5=$[17],t5};function _temp(s){return s.error}function _temp2(s_0){return s_0.endTime}function _temp3(s_1){return s_1.dispatch.resetAccount}function _temp4(){return Date.now()}}}]);
//# sourceMappingURL=8155.bundle.js.map