"use strict";(self.webpackChunkkeybase=self.webpackChunkkeybase||[]).push([[4577],{74577(__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),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(67926),_constants_config__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(88062),_constants_daemon__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(53052),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(20390);const Loading=react__WEBPACK_IMPORTED_MODULE_1__.lazy(async()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,84465))),Relogin=react__WEBPACK_IMPORTED_MODULE_1__.lazy(async()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,91257))),JoinOrLogin=react__WEBPACK_IMPORTED_MODULE_1__.lazy(async()=>__webpack_require__.e(8475).then(__webpack_require__.bind(__webpack_require__,78475))),__WEBPACK_DEFAULT_EXPORT__=()=>{const $=(0,react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__.c)(7),isLoggedIn=(0,_constants_config__WEBPACK_IMPORTED_MODULE_2__.useConfigState)(_temp),userSwitching=(0,_constants_config__WEBPACK_IMPORTED_MODULE_2__.useConfigState)(_temp2);let t0;$[0]!==userSwitching?(t0=s_1=>"done"!==s_1.handshakeState||userSwitching,$[0]=userSwitching,$[1]=t0):t0=$[1];const showLoading=(0,_constants_daemon__WEBPACK_IMPORTED_MODULE_3__.useDaemonState)(t0);let t1;$[2]!==showLoading?(t1=s_2=>!showLoading&&s_2.configuredAccounts.length>0,$[2]=showLoading,$[3]=t1):t1=$[3];const showRelogin=(0,_constants_config__WEBPACK_IMPORTED_MODULE_2__.useConfigState)(t1);if(isLoggedIn)return null;if(showLoading){let t2;return $[4]===Symbol.for("react.memo_cache_sentinel")?(t2=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react__WEBPACK_IMPORTED_MODULE_1__.Suspense,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(Loading,{})}),$[4]=t2):t2=$[4],t2}if(showRelogin){let t2;return $[5]===Symbol.for("react.memo_cache_sentinel")?(t2=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react__WEBPACK_IMPORTED_MODULE_1__.Suspense,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(Relogin,{})}),$[5]=t2):t2=$[5],t2}let t2;return $[6]===Symbol.for("react.memo_cache_sentinel")?(t2=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(react__WEBPACK_IMPORTED_MODULE_1__.Suspense,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(JoinOrLogin,{})}),$[6]=t2):t2=$[6],t2};function _temp(s){return s.loggedIn}function _temp2(s_0){return s_0.userSwitching}}}]);
//# sourceMappingURL=4577.bundle.js.map