{"version":3,"file":"simon-ec7e8f1499cc2fe9652b4987ac9025b8.js","names":["define","_exports","_object","Object","defineProperty","value","default","_default","extend","_application","_service","_emberConcurrencyDecorators","_polarisAuthentication","_debug","_emberConcurrencyTs","_class","_descriptor","_descriptor2","_descriptor3","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","_initializerDefineProperty","property","descriptor","context","configurable","writable","initializer","call","obj","arg","input","hint","prim","Symbol","toPrimitive","undefined","res","TypeError","String","Number","_toPrimitive","_toPropertyKey","_applyDecoratedDescriptor","decorators","desc","slice","reverse","reduce","decorator","OktaUserAdapter","constructor","super","this","findRecordTask","id","_this","reload","options","found","store","peekRecord","response","polarisApi","request","POLARIS_API_VERSION","pushPayload","status","profile","findAuthenticatedOktaUserTask","data","session","authenticated","polarisUserId","taskFor","perform","updateUserTask","_this2","post","sendEmailVerificationCodeTask","emailId","addEmailResult","challengeId","verifyEmailTask","updatePasswordTask","_this3","generateTemporaryPassword","toString","name","prototype","inject","task","_oktaFactor","OktaUserFactorAdapter","deleteFactor","userId","delete","fetchFactors","_phoneFactorObject$_e","phoneFactorObject","factors","find","_ref","factorType","OktaFactorType","Phone","phoneFactors","_embedded","phones","map","phoneFactor","type","formatPhoneFactorValue","phoneNumber","links","startsWith","substring","Status","TokenExchangeError","Error","PolarisAuthenticationAdapter","startAuthenticationFlowTask","startRecoveryFlowTask","startUnlockFlowTask","exchangeJWTForHashTask","accessToken","headers","Authorization","getSSOTokenTask","code","state","exchangeHashForJWTTask","sessionHash","access_token","expires_in","intl","t","isTokenMissing","isExpiresInMissing","refreshTokenTask","refreshToken","grant_type","refresh_token","invalidateTokenTask","transactionId","getSSORedirectURLTask","apiActionTask","link","href","option","_option$value","extractValueFromLabel","label","_label$match","match","replace","_utils","_descriptor4","_descriptor5","ProfileAdapter","params","useCache","_this$session$data","cacheKey","JSON","stringify","profileModel","cache","getCache","api","reqSessionHash","token","setCache","queryAllTask","_options$action","_this2$session$data","action","trustProfile","_trustProfile$subClie","_trustProfile$assnId","settings","isSuperUser","reqUseLocator","isBlank","reqEmployerPartialName","reqMaxRows","reqTrustID","trustId","reqSubClientId","subClientId","reqUserType","userType","reqAssnId","assnId","profiles","reqIncludeTermedGroup","employerId","_workflowField","_excluded","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","QuotingSettingsAdapter","findSettingsTask","tla","getSubDomainForProfile","settingValue","quotingSettings","findSimonSettings","reqSubDomain","createModel","broker","brokerResponse","quotes","quotesResponse","applications","applicationsResponse","clients","clientsResponse","magicButton","magicButtonResponse","quotingSettingsResponse","companyProfile","companyProfileResponse","dashboard","dashboardResponse","prospects","prospectsResponse","brokerQuotesResponse","quoteSummary","quoteSummaryResponse","comparePlans","comparePlansResponse","choosePlans","choosePlansResponse","censusFields","applicationCensusFieldsResponse","companyProfileFields","applicationCompanyProfileFieldsResponse","quoteCensusFieldsResponse","quoteCompanyProfileFieldsResponse","quotingSettingsBroker","quotingSettingsModel","quotingSettingsQuotes","quotingSettingsClients","quotingSettingsMagicButton","DEFAULT_QUOTE_CENSUS_FIELDS","censusField","_quoteCensusFieldsRes","censusFieldResponse","field","DEFAULT_QUOTE_COMPANY_PROFILE_FIELDS","companyField","_quoteCompanyProfileF","companyProfileFieldResponse","quotingSettingsApplications","DEFAULT_APPLICATION_CENSUS_FIELDS","_applicationCensusFie","DEFAULT_APPLICATION_COMPANY_PROFILE_FIELDS","_applicationCompanyPr","updateTask","model","updateSimonSetting","serialize","reqSettingSourceType","_moment","SessionAdapter","getSessionExpiryTask","_this$session$data$au","tokenExpiryUnixDate","add","timeout","unix","_emberResolver","_emberLoadInitializers","_environment","_trix","_mobileDragDrop","_date","shutdownMirage","parseTwoDigitYear","polyfill","App","modulePrefix","podModulePrefix","simonengine","dependencies","services","externalRoutes","account","quoting","partner","home","buildInstance","environment","window","server","shutdown","_rsvp","_base","_passwordWrapper","_lifeline","sessionShared","cookies","notification","restore","resolve","reject","invalidate","get","method","catch","e","afterAuthentication","authenticationResponse","password","MFAStatus","trust","termsAndCondsCheck","version","isPwdExpired","pwdExpiresOn","fingerPrint","user","firstName","lastName","passwordWrapper","registerInstance","setProperties","isMFARequired","isMFAEnabled","validations","attrs","isInvalid","prefix","write","expires","toDate","authenticate","userIdentifier","authKey","clearSessionData","getAuthentication","reqUserID","reqPassword","btoa","setTestCookie","willDestroy","runDisposables","_super","_handleTestError","_boolean","lastAuthenticatedTimestamp","getLastAuthenticatedTimestamp","PolarisAuthenticator","polarisTransactionId","shouldTurnOffPretender","createSimonInvalidatePromise","createPolarisInvalidatePromise","adapter","adapterFor","Promise","promises","enabled","then","all","error","_error$payload","_error$payload2","handleTestError","payload","statusCode","isInAppAuthentication","clearSessionDataSkipProps","skipProps","authenticationHash","passwordIsInvalid","deserialize","Date","toISOString","sessionData","polarisAccessToken","polarisRefreshToken","polarisTokenExpiresOn","expiresAt","daysToExpiry","_emberConcurrency","features","clearSessionAndSetProperties","simonUserId","authenticateTask","_ref2","_yield$_this$store$ge","rest","check","restartable","_ref3","terms","toLowerCase","getUserSettings","_emberComponentManager","_component","DynamicElementAlt","DynamicElement","_templateFactory","_component2","_mediaQuery","_dec","__COLOCATED_TEMPLATE__","createTemplateFactory","block","moduleName","isStrictMode","AccountBoxComponent","computed","mediaQuery","createInstance","shake","shaker","setComponentTemplate","_errors","_assertions","_dec2","EmailFormComponent","drop","owner","args","requireProperties","create","userInfoManager","userSettings","errorsShown","changeEmailTask","event","preventDefault","unlinked","ValidationError","onShake","showEmailErrors","UsernameFormComponent","changePasswordTask","showPasswordErrors","changeUsernameTask","isAttributeDirty","cancelEditingUsername","showUserNameErrors","_trackedBuiltIns","ERROR_FIELDS","ChangePasswordComponent","hasServerError","serverError","handleSubmit","showErrors","onSubmit","tracked","_animateEntry","AnimatedBorders","isFocused","_this$args$isFocused","hasSideBorders","_this$args$hasSideBor","hasBorderBottom","_this$args$hasBorderB","_animatedSearch","_badBrowser","_tracking","AuthenticationDevices","enqueue","accountManager","queryDeviceListTask","hasAddDevicesText","_this$args$hasAddDevi","allDevices","sMSCarrierList","_this$session$data$is","canShowAddDevices","toggleMFATask","isChecked","onToggleMFA","confirmDeleteDeviceTask","deleteDeviceTask","deviceToRemove","deleteDevice","device","isNew","deleteNewDevice","addDevice","addAuthenticationDevice","saveDevice","save","submitPin","vc","_emberCpValidations","_stateMachine","_computed","_computed2","buildValidations","validator","classNames","classNameBindings","selectedCarrier","findBy","set","val","carrierId","carrierName","stateMachine","actions","edit","machine","transitionTo","stateDidChange","newStatus","verify","onEnter","startEditing","onLeave","stopEditing","cancel","rollback","willDestroyComponent","trigger","new","verifying","verificationPinError","verifyLater","resendCode","hasVerificationPinError","bool","isEditing","checkCurrentState","labelIconClass","isPhone","readOnly","saveTask","isDirty","show","showAddressFormErrors","rollbackState","submitPinTask","showVerificationPinErrors","resendCodeTask","init","willDestroyElement","checkHasAction","jsClass","showError","overridableComputed","element","querySelector","triggerAction","update","didUpdate","_main","_dec3","State","AuthenticationFlowDialogComponent","handleSuccessfulAuthenticationTask","onSessionTimeout","handleSessionTimeout","_this$sessionShared$o","oktaUser","authenticatorOptions","_this$loginManager$ge","loginManager","getPageOptions","Page","Authenticator","hasMultipleAuthenticators","findOktaUserTask","startAuthenticationFlowAndSubmitUsernameStep","isPasswordSet","username","login","linksByPageMap","clear","setUserIdentifier","nextStepTask","nextStep","rel","onSuccessfulAuthentication","actionCalled","page","setCurrentPage","currentState","mapLoginManagerPageToCorrespondingState","handleForgotPassword","ForgotPassword","handleAccountLock","Unlock","handleSubmitAuthenticator","selectedAuthenticatorId","handleBackToPasswordStep","clearPageLinks","Password","Username","setPassword","handleBackToAuthenticatorStep","Verify","ReenrollPassword","values","deletePageEntry","AuthenticationFlowAuthenticatorComponent","selectedAuthenticatorOption","handleSendCodeTask","_this$selectedAuthent","_response$links","authenticator","AuthenticationFlowForgotPasswordComponent","Recovery","AuthenticationFlowStepsForgotPasswordRecoveryComponent","handleResetTask","Success","userinfo","userInfo","afterAuthenticationTask","linked","requestDidSucceed","handleOnInput","clearServerError","AuthenticationFlowStepsForgotPasswordSelectAuthenticatorComponent","_selectedAuthenticatorOption","AuthenticationFlowStepsForgotPasswordVerifyComponent","isShaking","handleCodeVerificationTask","verificationCode","Terminal","message","didReachLimit","handleResendCodeTask","resendLink","getPageLinks","resend","handleStepTask","AuthenticationFlowStepsPasswordComponent","handleForgotPasswordTask","_this$args$onBeforeSu","_this$args","onBeforeSubmit","onSimonForgotPassword","AccountLockedError","onAccountLock","onForgotPassword","handleOnSubmitTask","_this$args$onBeforeSu2","_this$args2","serverErrorMessage","AuthenticationFlowReenrollPasswordComponent","isPasswordExpired","description","handleUpdatePasswordTask","handleNextStepTask","handleSkipTask","getPagePasswordSettings","AuthenticationFlowUnlockComponent","handleSubmitAuthenticatorStep","didReturn","_class3","Validations","UserIdentifierWrapper","setOwner","getOwner","isValid","AuthenticationFlowUnlockIndexComponent","setup","userIdentifierWrapper","_userIdentifierWrapper","isUserIdentifierInvalid","isUsernameFieldVisible","shakeTask","last","handleUserIdentifierInput","shakeOnRender","AuthenticationFlowUnlockVerifyComponent","AuthenticationFlowVerifyComponent","authenticatorOption","_authenticatorOption$","hasSelectedAuthenticator","selectedAuthenticatorValue","_this$loginManager$ge2","_basicDropdownContent","_basicDropdownTrigger","_basicDropdown","_booleanRadioGroup","_closeButton","_collapsibleText","_html","_jquery","_internals","_descriptor6","_descriptor7","_dec4","_dec5","_dec6","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","presence","disabled","email","allowBlank","subject","ContactModelWrapper","group","isAuthenticated","ContactFormComponent","guidFor","onSetup","contactModelWrapper","eventHijacker","removeListeners","theme","section","isHeaderVisibleOnDesktop","contactSupport","isVisible","isHeaderVisibleOnTablet","isVisibleOnTablet","isCustom","onIsOpenUpdated","isOpen","hijackAll","addListener","toggle","focus","trustInfo","globalTrustInfo","phone","_this$trustInfo","businessHours","_this$trustInfo2","hours","getEmailFields","_this$trustInfo3","_this$session$profile","employerName","body","escapeHtml","submitTask","_this$trustInfo4","reqFullName","reqFromEmail","reqEmailSubject","reqEmailBody","onToggle","submit","tagName","inputId","isQuoting","validationModel","isErrorShown","CountdownComponent","isTimerDone","timer","countdownTask","onTimerEnd","initialTimer","_customCheckbox","_customRadio","_displayField","_error","_dotsMenuMobileActions","_dotsMenuVertical","_item","_section","_dropSearch","_dropSelect","_dropdownFilter","_dummyDataButton","_buttonToggle","_truncationNoop","_truncationTarget","_emberWormhole","_errorBox","_maintenance","_exitConfirmation","_externalLinkNotice","_externalLink","_fieldBox","_fieldsGrid","_cell","_filterMenu","_xModal","_flowNavigation","_buttons","_steps","_subItem","_fromElsewhere","_fullPage","_gridCell","_gridField","_helpTip","_templateOnly","_content","_triggerIcon","_trigger","_hijackAll","_hourGlass","_emberLifeline","forceLogoutTimeout","time","forcedLogoutTimeout","forceWarningTimeout","forcedWarningTimeout","max","Math","analytics","minTime","isWarningShown","getNow","now","stampTime","startWarningTimer","getLastActive","resetFavicon","isDisabled","events","didInsertElement","originalFavicon","prop","addEventListener","document","debounceTask","defaultWarningTimeout","defaultLogoutTimeout","warningTimeout","_forcedWarningTimeout","logoutTimeout","_forcedLogoutTimeout","timeoutDuration","lastActive","onTimeout","startLogoutTimer","onReset","forceLogout","cause","waitTime","stopWarning","remainingTime","favicon","startTimer","startOf","seconds","format","floor","attr","startDate","passedTime","addAction","close","signOut","_illiquidModel","_infiniteScroll","_infoTable","_row","_accountType","_address","_bankAccountNumber","_bankRoutingNumber","_extension","_fileInput","_filePicker","_fileUploader","_gender","_hiddenSsn","_integer","_maritalStatus","_money","_percentage","_phoneUsa","_select","SsnLastDigitsInputField","maskOptions","mask","lazy","onInput","_value$trim$replace","trim","_ssn","_stateCanada","_stateTerritoriesUsa","_stateUsa","_stringPercentage","_zipCodeCanada","_zipCodeUsa","_lazyList","_lazyRender","_legacyCustomCheckbox","_lfGetOutletState","_linkToExternal","LinksNav","customLinks","publicCustomLinks","companyLink","publicCompanyLink","openCustomLink","linkURL","linkOpener","openTask","_liquidBind","_liquidChild","_liquidContainer","_liquidIf","_liquidMeasured","measure","_liquidOutlet","_liquidSpacer","_liquidSync","_liquidUnless","_liquidVersions","LoginPoweredByComponent","copyright","year","CodeWrapper","isVerificationCodeInvalid","isPasswordInvalid","LoginCodeComponent","codeWrapper","submitHandler","shakeHandler","LoginDevicesComponent","_string","LoginPage","tiles","publicTiles","tile","isPreAuth","isAllAuth","didInsertHandler","registerTile","_tile$data","_tile$data$content","content","contentId","contentTile","isContent","mainTile","tileContent","hide","willDestroyHandler","revert","openContactFormHandler","selectTileHandler","htmlSafe","VerificationCodeWrapper","OktaVerificationCodeComponent","isTestEnvironment","isTimerVisible","isTimerRunning","isSendCodeButtonDisabled","isResendButtonDisabled","verificationCodeIsInvalid","verificationCodeWrapper","resendCodeTimer","onSubmitInvalidVerificationCode","handleVerificationCodeInput","updateResendTimer","isResending","PasswordLoginValidationWrapper","PasswordLoginValidations","hasInvalidCharacters","dependentKeys","displayedInvalidCharacters","areInvalidCharactersVisible","toggleInvalidCharacters","PasswordComponent","pageIsLocked","_this$args$pageIsLock","passwordLoginValidationWrapper","_this$args$password","onSubmitInvalidPassword","_object2","_dec7","RegisterInfoWrapper","passwordVerification","isPasswordVerificationInvalid","isUsernameValid","isPasswordWrapperValid","RegisterInfoComponent","registerInfoWrapper","exitConfirmation","ownerInjection","isModelDirty","component","originalSnapshot","isValidUsername","usernameError","deepEqual","closeTask","doExitCheckTask","onClose","dob","verification","is","not","RegisterVerificationWrapper","isVerificationInvalid","isDobInvalid","RegisterVerificationComponent","registerVerificationWrapper","isRegisterVerificationWrapperInvalid","EmailWrapper","ResetPasswordComponent","isEmailInvalid","emailWrapper","registrationCode","ignoreBlank","SelfRegisterFieldsWrapper","SelfRegisterComponent","selfRegisterFieldsWrapper","selfRegistrationParams","getSelfRegistrationParams","onSubmitInvalidFields","LoginUpdatePasswordComponent","title","_this$args$title","passwordFieldsAreVisible","onSkip","submitButtonText","_this$args$submitButt","handleCloseTask","isSubmitting","isSkipping","addEnterEventListener","removeEnterEventListener","_this$args$onSkip","LoginUserIdentifierComponent","userIdentifierLabel","_this$args$userIdenti","onSubmitInvalidUser","_itemGroup","_nav","_maskedField","_maybeInElement","_menuModal","_modal","_popup","_mobileActionsPopup","_action","_mobileTableAction","_multiLineEllipsis","_multipleFromElsewhere","_grid","_dec8","_dec9","_dec10","_dec11","_dec12","_dec13","_dec14","_dec15","_dec16","_dec17","_dec18","_dec19","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","forceEditWindowExpiry","isForcedEditWindowExpiry","forceLoading","isForcedLoading","newRegistrationEmail","registrationEmail","messageKey","duplicateRegistrationEmail","AccountInfoWrapper","isEditingName","isEditingEmail","isEditingPassword","isNewEmailInvalid","AccountInfoComponent","setupTask","accountInfoWrapper","_oktaUser","isLoading","isRunning","isLarge","isAutoHideDisabled","editIsVisible","isSavingChanges","saveNameTask","saveEmailTask","savePasswordTask","handleSaveChangesTask","authenticateAndAllowActionTask","handleStartEditingNameTask","handleStartEditingEmailTask","handleStartEditingPasswordTask","handleCancelEditing","sendCodeTask","hasSentCode","isNameDirty","newEmail","rethrowIfError","updatePassword","callback","canEditOktaAccountInformation","openAuthenticationDialogTask","dialog","dialogs","open","isGlimmerComponent","keepOpenTask","_dialog","setupGrids","gridStyles","cellModifier","gridClass","elementId","passwordDesktopMap","passwordMobileMap","newEmailDesktopMap","newEmailMobileMap","names","desktopGrid","media","namesMobileMap","mobileGrid","resetGrids","AccountInfoNameFieldsComponent","OktaAccountInfoActionsComponent","sendCodeButtonType","isSaveDisabled","saveChangesButtonType","isSendingCode","_greyField","_factors","_mfaStatus","_compat","MFACardComponent","handleRefreshTask","oktaUserFactorsManager","factorSetupFlowLinks","isFactorsSectionVisible","_this$factors$2","typeIsPhone","isPhoneFactorSectionVisible","statusIsNotSetup","isSettingUpPhoneFactor","mfaIsSelected","mfaStatusManager","mfaIsEnabled","mfaRequired","mfaIsDisabled","localCache","findOktaUserFactorsTask","findMFAStatusTask","isSelected","mfaEnabled","setAndSaveMFASelectedTask","setMFASelected","handleFactorsRefreshTask","handleAddPhoneFactor","handleCancelAddingPhoneFactor","handleShake","dependentKeyCompat","FieldsValidationWrapper","isPhoneValid","isVerificationCodeValid","FlowState","MFACardPhoneSetupComponent","validationsWrapper","canResendCode","CodeSent","isResendCodeButtonVisible","isPhoneFieldDisabled","Initial","isVerificationCodeFieldDisabled","isResendCodeButtonDisabled","activateTask","isAddDeviceButtonDisabled","buildEnrollFactorBodyObject","factor","provider","enrollFactorLink","currentStepLinks","startCountDownTimer","resendCodeLink","activationLink","_response$links2","onUpdateFactors","Active","stopCountDownTimer","isAnimateEntryEnabled","deleteTask","factorAdapter","onCancel","confirmAndDeleteTask","text","primaryText","secondaryText","primaryModifiers","class","onResentCodeTimerEnd","statusIsActive","_ovalCheckbox","_pageTitle","_pikadayInput","_powerSelectMultiple","_powerSelect","_beforeOptions","_noMatchesMessage","_options","_placeholder","_powerSelectGroup","_searchMessage","_poweredBy","_runloop","_createPaginatedCards","isForcedUntilTablet","overrideIsUntilTabletOverride","param","scroll","scrollTo","css","transform","transition","recompute","on","run","off","debounceRecompute","containerWidth","tileWidth","tileMargin","containerStyle","_isForcedUntilTablet","fullWidth","width","size","arrowWidth","isUntilTablet","matchMedia","matches","isScrollable","previous","prevPage","next","nextPage","selectTile","_sharedTileBase","PreAuthTileComponent","sharedTileBase","onClick","_this$model$data","_this$model$data2","isLink","url","isIFrame","onOpen","onSelectTile","_refreshButton","_refreshWithTooltip","_renderMany","_rerenderOn","_scrollTo","_searchInput","_simonPortalOpener","_simpleMenuModal","_slideCheckbox","_smartInput","_dropdown","_selected","_squareCheckbox","hasAction","states","isCurrentState","includes","_submitButton","_tableDisplayField","forceBottomReached","didReach","didReachBottom","TermsConditionsComponent","shouldAccept","_this$session$data$sh","_this$session$data2","shouldAcceptTermsAndConditions","checkBottom","checkConditionBottom","bottomReached","runTask","isHintHidden","checkScrollable","scheduleTask","termsHeight","height","termsOffset","offset","windowScrollTop","scrollTop","windowHeight","bottomReachedLocal","top","removeEventListener","onInsert","onWillRemove","logoutTask","_titleValidationError","_textPainter","_toElsewhere","_troubleshootingModal","_truncateMultiline","TruncatedTextComponent","truncatedText","maxLength","_trustLogo","_userMenu","_userTitle","_validatedIcon","_profileSection","_body","_header","_lookupSicButton","_xConfirmation","_xDialog","_footer","_setFooter","_xDropdown","_this$args$type","autofocus","_this$args$autofocus","autocomplete","_this$args$autocomple","_this$args$name","tabindex","_this$args$tabindex","_this$args$isDisabled","_this$args$isInvalid","canAnimateSideBorders","_this$args$canAnimate","parentClasses","classes","isInputFocused","hasValue","iconClass","join","icon","_this$args$inputId","inputFocusedIn","inputFocusedOut","onBlur","_this$args$onInput","_xLayout","_xNotification","_xPopup","_xTooltip","_xType","_xWorkflow","_mobileActionButtons","_step","_require","metaName","nodeName","config","has","rawConfig","getAttribute","parse","unescape","err","_controller","isBadBrowser","BadBrowserError","extraAppClasses","isIdleWarningShown","productionBannerPosition","shouldRunIdleTimeout","_this$session$session","ssoInfo","isContactFormOpen","contactModel","openContactForm","isExternalURL","contactSupportOption","OPENED_LINK","isDevelopingOnProductionAPI","moveProductionBanner","position","dialogActionCalled","setupContactModel","logout","toggleContactForm","_accountManager","back","router","reset","destroy","checkIsEditingOrSaving","backTask","goBackTask","goToDefault","allowPath","prev","path","any","toggleMFA","isBackButtonDisabled","isBackToProfilesButtonVisible","isEnteringProfileListPageApplicable","backToProfileListTask","returnToSignInTask","ChangePasswordController","passwordIsExpired","result","isSuccessful","unhandledError","InvalidPasswordController","handleChangePasswordTask","schedule","_error$payload2$body","_error$payload2$body$","_error$payload2$body$2","errorCauses","firstObject","errorSummary","OktaAccountController","isInvalidTokenError","InvalidTokenError","_loginForm","getInitialState","isUnlockEmailSent","resetState","loginTask","receivedPassword","clearServerErrors","partialAuthKey","handleAfterLogin","errors","Array","isArray","descr","assign","isEmailSent","EMAIL_REGEX","isAccountLocked","checkUserIdentifierTask","test","fingerprint","read","deviceList","authKeyExpires","apiDate","reqDeviceFingerprint","selectedDevice","isBefore","_handleInvalidIdentifierErrors","backToSignIn","PasswordController","isLocked","isAny","failedAttempts","onTransitionToResetPage","checkInfo","reqAction","reqEMailToken","reqRegistrationParam1","reqRegistrationParam2","includeRawErrorsResponse","_errors$","replaceWith","registerTask","reqSimonUserLogin","reqSimonUserPassword","getVerificationParams","checkUsernameTask","_this$router","ResetPasswordController","resetTask","FIELDS","validators","reqFirstName","reqLastName","reqRegistrationParam3","reqEmail","isSuccess","OktaLoginError","OktaLoginAuthenticatorController","subroute","queryParams","handleBack","OktaLoginForgotPasswordIndexController","handleCancel","OktaLoginForgotPasswordRecoveryController","OktaLoginForgotPasswordVerifyController","OktaLoginIndexController","apiUsername","OktaLoginPasswordController","shouldShake","handleSimonForgotPassword","userNotFound","OktaLoginReenrollPasswordController","handleClose","OktaLoginRegisterIndexController","subdomain","OktaLoginRegisterInfoController","verificationParams","shouldVerify","register","OktaLoginSelfRegisterController","isRegistrationEmailSentSuccessfully","dataOnServerError","OktaLoginSimonForgotPasswordController","sendEmailTask","reqSimonUserEmail","OktaLoginSimonResetController","OktaLoginUnlockIndexController","OktaLoginUnlockVerifyController","OktaLoginVerifyController","_this$model$getPageOp","_cleanHtml","paymentTerms","loginIndex","termsText","accept","reqTermsAndCondsAccepted","isSubdomainNotFoundError","SubdomainNotFoundError","isAjaxError","AjaxError","sharedParams","altUrl","ref","logOut","_this$model$find","_this$model","_abs","abs","_acos","acos","_acosh","acosh","_addOrdinalSuffix","_addPercentage","_add","_and","and","_helper","_regexp","appVersion","_","hash","APP","versionOnly","hideSha","shaOnly","hideVersion","showExtended","versionExtendedRegExp","versionRegExp","shaRegExp","helper","_asin","asin","_asinh","asinh","_assign","_atan","atan","atan2","_atanh","atanh","buildTimestamp","compute","_camelize","_cancelAll","_capitalizeWords","_cbrt","cbrt","_ceil","ceil","_clz","clz32","_cos","cos","_cosh","cosh","_dasherize","_deepEqual","_div","div","_element","_emberPowerSelectIsGroup","emberPowerSelectIsGroup","_emberPowerSelectIsSelected","emberPowerSelectIsSelected","_util","EnsureSafeComponentHelper","_eq","equal","_exp","exp","_expm","expm1","_floor","_array","formatBusinessHours","ZONE_MAP","c","m","p","zoneKeys","formattedHours","split","isPresent","day","startTime","endTime","zoneKey","hasSameValues","string","index","_formatDate","_formatList","_formatMessage","_formatNumber","_formatPercentage","_formatPhone","_formatRelative","_formatSsn","_formatTime","_fround","fround","_gcd","gcd","_gt","gt","_gte","gte","_htmlSafe","_humanizeUrl","_humanize","_hypot","hypot","_imul","imul","_includes","_isArray","_isEmpty","_isEqual","isEqual","_isPresent","_isTesting","_joinArray","_lcm","lcm","_lfLockModel","lfLockModel","_lfOr","lfOr","_logE","logE","_log","log10","_log1p","log1p","log2","_lt","lt","_lte","lte","_max","_min","min","_mod","mod","_moneyValue","_mult","mult","_notEq","notEqualHelper","_notNull","_not","_or","or","_performTask","_perform","_plainTextToHtml","_pluralize","_plusOrMinus","_pow","pow","_preventDefault","_random","random","_round","round","_routeAction","AppRouteActionHelper","_sanitizeErrorName","_set","_sign","sign","SimonErrorMessage","isMessageRedacted","apiLogId","date","_sin","sin","_singularize","_sqrt","sqrt","_stopPropagation","stopPropagation","_sub","sub","_t","_tan","tan","_tanh","tanh","_task","_throw","_toLower","_toString","_trunc","trunc","_userAgent","_userStamp","_xor","xor","_initializerFactory","initialize","registry","unregister","before","_containerDebugAdapter","app","_configuration","_setupSession","_setupSessionRestoration","_adaptive","_localStorage","_cookie","rootURL","baseURL","load","_engines","_ember","application","exportApplicationGlobal","theGlobal","global","self","globalName","classify","reopen","_velocityExt","_assetManifest","instance","lookup","pushManifest","UNKNOWN_CARRIER","AccountManager","_this$session$data$de","deviceListRefreshCounter","lastRefreshCounter","incrementLastRefreshCounter","newAuthenticationDevices","pushDevices","authenticationDevice","existing","address","without","pushInstance","queryLaterFastTask","queryDeviceListBackgroundTask","cancelAll","mfaMaint","refreshTask","createRecord","destroyRecord","CRUDFlag","unloadRecord","serializeDevice","deviceOrAttrs","comment","updatedOn","_this$session$data3","serializedDevice","devices","item","reqJsonData","_tasks","OKTA_USER_FACTORS_CACHE_KEY","OktaUserFactorsManager","cachedRequestTask","fetch","factorsObject","onSuccess","_links","MFA_CACHE_KEY","MFAStatusManager","reqSimonUserId","_booleanTransform$des","mFAStatus","_mfaIsEnabled","saveMFAStatusTask","_this$session$data2$a","_browserRum","anonymizeURL","processEvent","view","referrer","resource","_event$error$type","anonymousURL","anonymizer","props","every","warn","includeInProduction","applicationId","clientToken","datadogRum","env","site","sessionSampleRate","beforeSend","trackViewsManually","silentMultipleInit","setUser","clearUser","startView","addAttributes","attributes","entries","setGlobalContextProperty","removeAttributes","removeGlobalContextProperty","actionName","reportError","addError","AccountPreferencesManager","isOkta","permissions","fetchPermissionsTask","canEditUsername","canEditEmail","profileListPromise","defaultUserType","canEdit","CardPaginator","_args$size","_args$page","containerElement","scrollableContentClass","cardClass","onRefresh","lastPage","ceiling","hasNextPage","hasPrevPage","onViewPreviousPage","onViewNextPage","refresh","_this$onRefresh","resetProperties","card","getBoundingClientRect","scrollableContent","style","_trackedMapsAndSets","SessionTimeoutError","LoginManager","_args$isInAppAuthenti","currentPage","_currentPage","linkItem","handleServerError","handleErrorTask","messages","handleSessionTimeoutErrorTask","processAndHandleErrorTask","_error$payload3","_this4","_this4$getPagePasswor","getTransactionId","attemptedTransition","retry","customMessage","setServerError","setPageLinks","_this$linksByPageMap$","_this$linksByPageMap$2","_this$linksByPageMap$3","_this$linksByPageMap$4","TrackedMap","InvalidSession","handleSessionInvalid","isLoggingOut","sessionRequestsCount","_passwordValidations","PasswordWrapper","invalidCharacters","_this$password$match$","_this$password","_this$password$match","uniq","_args$password","_args$passwordVerific","_concurrency","_debug2","PolarisSessionRefresher","secondsIntervalOffset","startTask","tokenExpiresOn","diff","waitFor","minutesInterval","errorType","errorMessage","PolarisTokenRefresher","sessionExpiresOn","fetchTokenAndUpdateSessionDataTask","errorCounter","_evented","SessionChecker","startTimerTask","isAfter","checkTimerTask","start","_template","SharedTileBase","iconStyle","color","isClickable","SimonSessionRefresher","reqExtendSessionTimeout","hour","minute","fromDate","_userInfoValidations","_descriptor23","ErrorsShown","UserInfoManager","newPassword","passwordConfirmation","isPasswordChangeValid","isUserEmailEditable","canEditUserEmail","pendingEmail","isPasswordExpiryVisible","doesPasswordExpire","passwordExpiryDate","count","daysUntilPasswordExpiry","fullName","setupEmailSyncing","_this$session$data$em","_this$session$data4","emailSyncCounter","lastEmailSyncCounter","pollEmailTask","updateEmailAndPollTask","cancelEditingEmail","cancelEditingPassword","_args$canEditUserEmai","_args$canEditUsername","isEditingUsername","resetPasswordErrors","rollbackAttribute","hasPasswordServerErrors","userLoginName","changeUsername","usernameServerError","isExisting","isUnknown","changeEmail","emailServerError","isSame","_mixin","cards","oneWay","decrementProperty","incrementProperty","outerHeight","requestAccountUnlockTask","willTransition","reqDeviceID","requestAccountUnlock","_authenticationDevice","_maskedAuthenticationDevice","AuthenticationDevice","isVerified","_compare","idWeakMap","WeakMap","Base","clientId","_this$attrs","modelProp","attrProp","compareProperties","_this$attrs2","_len","_key","serializerFor","modelName","unload","_emberInflector","ContactTypeRule","isOwner","contactTypeId","isRuleNotApplicable","numAllowed","numUsed","isRangeRule","contactRequired","isLessThanRule","isEqualRule","hasApplicableRule","_this$displayName","displayName","pluralize","minRange","midSentenceText","toLowercaseFirstLetter","_class2","isRegistrationEmail","OktaFactorStatus","OktaFactorModel","statusIsPendingActivation","PendingActivation","NotSetup","OktaUserModel","_profileIdSerializer","WorkflowTypeEnum","ProfileModel","isPending","erWorkflowType","isEmployeeTerminated","employeeStopDate","isEmployerTerminated","employerStopDate","isSameOrBefore","isEmployee","employeeId","isEmployer","isTrust","employeeName","route","QuotingSettingsModel","documentTypes","types","QuotingSettingApplicationsModel","_broker","QuotingSettingsBrokerModel","DisclaimerAlignment","Center","_disclaimer","QuotingSettingsChoosePlansModel","QuotingSettingClientsModel","QuotingSettingsCompanyProfileModel","QuotingSettingsDisclaimerModel","DisclaimerType","None","QuotingSettingsMagicButtonModel","QuotingSettingQuotesModel","ALWAYS_REQUIRED_QUOTE_PROFILE_FIELDS","ALWAYS_REQUIRED_QUOTE_CENSUS_FIELDS","ALWAYS_REQUIRED_APPLICATION_PROFILE_FIELDS","ALWAYS_REQUIRED_APPLICATION_CENSUS_FIELDS","QuotingSettingsWorkflowFieldModel","_colorForId","_string2","_url","apiBaseUrl","TileModel","isPostAuth","lowerAuthType","authType","carrierIconUrl","_this$data","location","removeLeadingSlash","_this$colorId","colorId","_this$data2","tileTypeId","isExternalLink","_this$data3","hostname","trustedDomains","domain","endsWith","logoUrl","logo","isSSNInviteVerificationMethod","inviteVerificationField","isSSNUserRegistrationMethod","userRegistrationMethod","B","D","E","inviteVerificationMethod","_autofocus","_didInsert","_didSizeChange","_didUpdate","_iMask","_react","_scrollToSelf","_style","_willDestroy","_router","Router","locationType","_doTransition","pop","updateRouteHistory","routeHistory","currentPath","resetNamespace","mount","_route","forceBadBrowserError","isForcedBadBrowserError","userAgent","setupController","controller","beforeModel","to","flags","Boolean","setLocale","browser","isIE","refreshPage","_invalidSession","_polarisSessionRefresher","_polarisTokenRefresher","setIsPolarisRefreshEnabledInTests","isPolarisRefreshEnabledInTests","setIsPolarisTokenRefreshEnabledInTests","isPolarisTokenRefreshEnabledInTests","sessionChecker","invalidSession","polarisSessionRefresher","polarisTokenRefresher","requireAuthentication","setupApiErrorHandling","handleAuthenticatedSession","handleUnauthorizedError","abort","redirectToTermsAndConditions","isPolarisAuthentication","isSSOAuthentication","isTokenAuthentication","oktaUserIsApplicable","handlePolarisTokenRefresher","polarisPromise","initializePolarisAuthentication","redirectToInvalidPassword","redirectToChangePassword","userSettingsPromise","setupUserSettings","configureSSOUserType","handlePolarisLoginTask","userTypeList","systemAccessLevel","setSSOdefaultUserTypeTask","getDefaultUserTypeTask","underwriting","employer","employee","admin365","activate","deactivate","_userInfoManager","_createExitConfirmation","controllerFor","routeName","rollbackAndLeave","resetController","isAllowedEntryToAddDevicesPage","ChangePasswordRoute","InvalidPasswordRoute","OktaAccountRoute","canShowAccountPreferences","DeprecatedOktaLoginRoute","handleOktaLoginRouting","getGlobal","targetName","paramsFor","PasswordRoute","unlockAccountTask","msg","afterModel","verifyMethod","ssn","badgeId","inviteeName","ResetPasswordRoute","modelSnapshot","copyPojo","allowExit","isEmpty","currentModel","send","LogoutRoute","OktaLoginRoute","OktaLoginAuthenticatorIndexRoute","OktaLoginForgotPasswordRoute","OktaLoginForgotPasswordIndexRoute","OktaLoginForgotPasswordRecoveryRoute","isExiting","OktaLoginForgotPasswordVerifyRoute","OktaLoginIndexRoute","OktaLoginPasswordRoute","OktaLoginReenrollPasswordRoute","OktaLoginRegisterRoute","OktaLoginRegisterIndexRoute","OktaLoginRegisterInfoRoute","OktaSelfRegisterRoute","OktaLoginSimonForgotPasswordRoute","_transition$to$queryP","OktaLoginSimonResetRoute","OktaUnlockRoute","startUnlockFlowPromise","OktaLoginUnlockVerifyRoute","OktaLoginVerifyRoute","isMFARequiredAtUserLevel","isDefaultUserTypeBS","isMFAEnabledOriginallyAtAuthentication","isQuotingEnabled","models","record","redirectToOutside","redirectToQuoting","isTrustLevel","SSOCallbackRoute","_await$taskFor$perfor","_navigation","SSORoute","goTo","_errors2","getSubDomainFromURL","getSubdomain","subDomain","findPublicSettings","extra","loginViaSSOTask","atob","dasherize","one","clearSSOParams","privacyPolicy","termsAndConditions","signInURL","protocol","publicContactSupportOption","isApiError","bsiStaffUrl","buildBsiStaffParams","gaUrl","buildParams","_simonSessionRefresher","profile_id","profileId","deserialized","quotingUserTypes","userTypePromises","reqTrustId","reqEmployerId","reqEmployeeId","selectedProfiles","startSessionRefresherTask","simonSessionRefresher","ApplicationSerializer","resp","_record","_nullableString","DATE_FIELDS","AuthenticationDeviceSerializer","clone","strictEntries","strictIncludes","_store","BaseQuotingSettingsSerializer","getOriginalResponse","_dateTime","_number","_numericString","NUMERIC_STRINGS","PROPERTY_MAP","employerRenewalDate","employerWorkflowType","employerWorkflowStatus","BOOLEAN_FIELDS","originalKey","_PROPERTY_MAP$origina","_baseQuotingSettings","QuotingSettingsSerializer","_model$productTypes","canViewRenewals","canViewTasks","canViewApplications","canViewDashboard","canViewQuotes","canViewProspects","canViewClients","canViewReports","canViewRateSheets","canViewBrokers","canViewAgencies","collectCarrierNameForQuotes","quoteTypes","productTypes","underscore","toUpperCase","prospectStatuses","proposalSubTypes","defaultCarrierName","defaultCarrierLogoUrl","_resp$productTypes","cleanObject","QuotingSettingsApplicationsSerializer","customGroupTitle","maximumAllowedEmployees","minimumRequiredEmployees","_unicodeString","QuotingSettingsBrokerSerializer","disclaimerAlignment","canViewRateBreakdown","hasOtherGenderOption","defaultDisclaimerText","canViewPlanNetwork","_resp$defaultDisclaim","QuotingSettingsChoosePlansSerializer","hasDotsMenu","canComparePlans","QuotingSettingsClientsSerializer","isDataFromSIMON","QuotingSettingsCompanyProfileSerializer","hasZipCountyNote","zipCountyNote","hasContactEmailDisclaimer","contactEmailDisclaimer","QuotingSettingsDisclaimerSerializer","disclaimerType","disclaimerText","_resp$disclaimerText","QuotingSettingsMagicButtonSerializer","QuotingSettingsQuotesSerializer","isRequired","isVisibleByDefault","QuotingSettingsWorkflowFieldSerializer","isAllORNoneTokenOption","array","_array$0$tokenName","tokenName","BOOLEAN_SETTINGS","NUMBER_SETTINGS","OPTIONAL_NUMBER_SETTINGS","BOOLEAN_OBJECTS","camelize","_dateTimeTransform$de","settingName","handleIdCardSetting","handleExcelBillOptionsSetting","handleAdditionalFieldsResponse","handleMerpMyPlanWidgetsSettings","handleEoiMessagingResponse","handleSettingValue","moreButtonLabels","tokenNameID","tokenNameId","deserializeBooleanObject","typeOf","clientRequest","employerRequest","clientIDCards","coverage","requestCard","employerIDCards","sameAsPDF","eoiEnabled","deserializeWidgetSettingObject","settingObject","active","terminated","widgetName","myAccountBalance","myAccountBalanceObj","myAccumulatedBenefit","myAccumulatedBenefitObj","activeServiceUnits","activeServiceUnitsObj","activeServiceUnitsShow","myContributionDetails","myContributionDetailsObj","_ensureRegistered","AccounterForScrollbarService","_ajax","_datadogRum","clearAllActions","allActions","clearAllViews","allViews","clearTestGlobalContext","disableTrackingInTests","canTrackInTests","enableTrackingInTests","getAllActions","getAllViews","getMostRecentAction","getMostRecentView","getTestGlobalContext","testGlobalContext","AnalyticsService","isEnabled","isInitialized","deployEnvironment","datadogConfig","onRouteChange","trackView","pageTitleControl","safePageTitle","service","deepArraySort","errorUrl","currentURL","sorted","isPojo","sort","val1","val2","localeCompare","deserializeAPIResponse","apiUrl","ENDPOINT_ERROR_EXCEPTIONS","replaceKeys","ApiService","getTokenParams","activeProfileToken","APPNAME","reqReturnDataPackageFormat","PRGNAME","openInNewTab","performAjax","skipPropertyTransform","useTopError","ajaxOptions","errorOptions","configureMirageOptionsWithTimestamp","ajaxRequestWithHandling","ajaxOptionsCopy","dataType","contentType","isHTMLSafe","JSONParsingError","processErrorsAndTransformResponse","extractAndProcessErrors","mapProcessedErrors","errorCode","isSimonAPIError","errorDescr","uploadFile","formData","FormData","append","processData","NEW_TAB_PARAMS","$form","appendTo","remove","_assetLoader","BackService","getDefaultRoute","getCurrentPath","homeRoute","isSimonengine","basePath","isPartner","addBasePath","removeBasePath","getFormattedItem","getPreviousHistory","reversedHistory","history","previousHistory","formattedItem","goToPrevious","_cache","CacheService","removeCache","clearByTag","VISIBLE_MAP","textonly","externalurl","ContactSupportService","isManuallyHidden","hasProperty","isManuallyHiddenOnTablet","_this$contactSupportO","_this$contactSupportO2","_this$contactSupportO3","hideOnTablet","previousIsManuallyHiddenOnTablet","revertOnTablet","previousIsManuallyHidden","_cookies","_dialogs","_emberElsewhere","_stableSort","_constants","checkIsControlKey","PRIORITY","EVENTS","escape","keyCode","KEY_CODES","isControlKey","isAltKey","eventType","enter","arrowUp","arrowDown","pageUp","pageDown","end","alphanumeric","char","fromCharCode","metaKey","ctrlKey","EventHijackerService","handleEvent","itemEventType","keyCodeMatches","altKey","listeners","stableSortBy","listener","shouldPreventDefault","priority","strictKeys","_options$priority","_options$shouldPreven","isDestroying","oldWillDestroy","hijackKeyboardScrolling","elem","_$elem$scrollTop","$elem","setScrollTop","_$elem$scrollTop2","_$elem$scrollTop3","clientHeight","_$elem$scrollTop4","srcElement","scrollHeight","duration","stop","animate","ExitConfirmationService","allowExitTask","isExitAllowed","shouldRollback","DATE_TIME_FORMAT","checkForFeatureFlag","flag","testFlags","clearTestLaunchDates","testLaunchDates","deserializeUTCDateTime","disableAllFeatures","enableFeature","setTestLaunchDate","excludedTrustIds","utc","FeaturesService","featuresLaunchDates","isFeatureLaunched","_testLaunchDates$flag","_this$featuresLaunchD","_this$session$profile2","_this$session$trustPr","_this$featuresLaunchD2","_testLaunchDates$flag2","_testLaunchDates$flag3","activeTrustId","launchDateString","launchDate","isSameOrAfter","Map","GlobalService","setGlobal","once","_intl","LinkOpenerService","_transitionMap","countModalsOpen","isModalOpen","didOpenModal","didCloseModal","NotificationError","disableAutoHide","enableAutoHide","overrideDuration","forcedDuration","globalNotifications","details","NotificationService","_forcedDuration","flushScheduledTask","finalOptions","componentModel","titleComponent","titleComponentModel","overrideIn","headerModifiers","showAndHide","_this$model$overrideI","isActive","race","hideLaterTask","defer","promise","isApiFailure","isBadRequestError","isServerError","constructErrorModel","sendDataOnError","determineErrorType","_error$isSimonAPIErro","errorObject","parameters","beautify","stack","stackTrace","capitalize","clearAll","passed","getTestSafePageTitle","testSafePageTitle","setTestSafePageTitle","PageTitleControlService","originalTitle","visibleTitles","titles","setTitle","replaceTitle","updateDocumentTitle","setSafeTitle","safeTitle","safeTitles","replaceSafeTitle","newTitle","splice","originalSafeTitle","newSafeTitle","pageTitle","separator","_ref4","safeText","removeTitle","titleId","_ref5","removeSafeTitle","safeTitleId","_ref6","_pageTitleList","Brand","TRUST_ID_TO_BRAND","BenefitsManager","Tandemhr","PolarisApiService","requestTask","_options$headers","_this$settings$global","polarisApiBaseUrl","isPolarisAuthenticator","activeProfile","_activeProfile$subCli","_activeProfile$assnId","_activeProfile$employ","_activeProfile$employ2","mapTrustIdToCorrespondingBrand","ajax","UnauthorizedError","put","_TRUST_ID_TO_BRAND$tr","Default","RouteHistoryService","historyObject","clearHistory","SectionService","isInEngine","setName","_previousName","revertName","_themes$this$name","_sessionChecker","isTesting","onSessionTokenExpiry","stopTask","_app","setOnResetFn","fn","onResetFn","willLogoutTaskRun","logoutTaskBoolean","isSkippingLogoutTask","SessionSharedService","employeeProfile","employerProfile","profileToken","employeeProfileToken","employerProfileToken","trustProfileToken","employerActiveDate","_this$activeProfile","employerStartDate","_this$activeProfile2","_this$activeProfile3","isActiveProfileAboveEmployerLevel","_this$activeProfile4","isAdmin","_this$activeProfile5","_this$activeProfile6","_this$activeProfile7","hasUserTypeGA","hasUserTypeBH","hasUserTypeBS","_this$session","lastAuthenticatedDate","getTime","cacheKeyContext","changePassword","setVatInfo","_this$session$data$va","parsedToken","base64Url","base64","parseJwt","vatInfo","simonToken","getUniqueQuotingTrustKey","quotingProfiles","includeUserType","getVatInfo","_this$session$data$va2","_this$session$data5","_this$session$data5$v","_this$session$session2","_this$session$session3","isTokenAuthenticator","isSSOAuthenticator","mainApplication","autoboot","getContext","require","boot","startMirage","resetAppInTests","_session","SessionService","handleAuthentication","handleInvalidation","_dec20","_dec21","_dec22","_dec23","_dec24","_dec25","_dec26","_dec27","_dec28","_dec29","_dec30","_dec31","_dec32","_dec33","_dec34","_dec35","_dec36","_dec37","_dec38","_dec39","_dec40","_dec41","_dec42","_dec43","_dec44","_dec45","_dec46","_dec47","_dec48","_dec49","_dec50","_dec51","_dec52","_dec53","_dec54","_dec55","_dec56","_dec57","_dec58","_dec59","_dec60","_dec61","_dec62","_dec63","_dec64","_dec65","_dec66","_dec67","_dec68","_dec69","_dec70","_dec71","_dec72","_dec73","_dec74","_dec75","_dec76","_dec77","_dec78","_dec79","_dec80","_dec81","_dec82","_dec83","_dec84","_dec85","_dec86","_dec87","_dec88","SettingsService","eoiMessaging","_this$simonSettings$e","simonSettings","employerSimonSettings","employerTermRetro","_this$employerSimonSe","_this$employerSimonSe2","employerTermFuture","_this$employerSimonSe3","_this$employerSimonSe4","_this$session$simonSe","trustSimonSettings","userSimonSettings","_this$simonSettings$r","requestIDCard","isMFARequiredAtTrustLevel","_this$simonSettings$r2","_this$simonSettings$r3","requireMFA","_this$simonSettings$r4","eligibilityUnitTypes","_this$simonSettings$e2","stateEligibility","_this$userSettings","_this$session$data5$u","validPasswordDays","_this$session$data6","profileSettings","_this$session$profile3","employerProfileSettings","trustProfileSettings","getStateSignatureText","eSignStateClause","isTypeEmployee","_this$session$profile4","_this$session$profile5","isTypeEmployer","isEmployerApprovalRequired","_this$simonSettings$a","_this$simonSettings$a2","aEEmployerApprovalRequired","isMerp","_this$simonSettings$m","_this$simonSettings$m2","mERPTrust","isSalaryAnnualRequired","_this$simonSettings$s","_this$simonSettings","_this$simonSettings$s2","showSalaryRequired","retroTermMonths","_this$simonSettings$r5","_this$simonSettings$r6","occupationIsEmployeeId","_this$simonSettings$u","_this$simonSettings2","_this$simonSettings2$","useEmployeeID","occupationOrEmployeeIdLabel","isEmployerContactStriped","_this$simonSettings$p","_this$simonSettings$p2","parsingEmployerContact","_this$simonSettings3","_this$simonSettings3$","alternativeSSN","_this$simonSettings4","_this$simonSettings4$","_this$simonSettings4$2","enableSSNAlternative","chars","emptyContributionText","_this$simonSettings5","_this$simonSettings5$","_this$simonSettings5$2","emptyContributionStrategy","defaultValue","emptyContributionHelperText","_this$simonSettings6","_this$simonSettings6$","_this$simonSettings6$2","helperText","externalLinkText","_this$simonSettings7","_this$simonSettings7$","escapedText","changePeriodRetroDate","_this$simonSettings8","_this$simonSettings8$","retroDays","changePeriodRetro","subtract","changePeriodFutureDate","_this$simonSettings9","_this$simonSettings9$","futureDays","changePeriodFuture","isPriorCovInfoRequired","_this$simonSettings$r7","_this$simonSettings10","_this$simonSettings11","requirePriorCoverageInfo","isCountyRequired","_this$simonSettings$r8","_this$simonSettings12","_this$simonSettings13","requireCounty","isEmployerCompanyEmailRequired","_this$simonSettings$e3","_this$simonSettings14","_this$simonSettings15","emailAddrReq","isGroupInformationPhysicalAddressRequired","_this$simonSettings$p3","_this$simonSettings$p4","physicalAddrReq","isGroupInformationBillingAddressRequired","_this$simonSettings$b","_this$simonSettings$b2","billingAddrReq","isGroupInformationShippingAddressRequired","_this$simonSettings$s3","_this$simonSettings$s4","shippingAddrReq","isGroupInformationMailingAddressRequired","_this$simonSettings$m3","_this$simonSettings$m4","mailingAddrReq","isGroupContactAddressRequired","_this$simonSettings$c","_this$simonSettings16","_this$simonSettings17","contactAddressRequired","isGroupContactDepartmentRequired","_this$simonSettings$c2","_this$simonSettings18","_this$simonSettings19","contactDepartmentRequired","isGroupContactEmailRequired","_this$simonSettings$r9","_this$simonSettings20","_this$simonSettings21","requireContactEmail","isGroupContactPrimaryNumberRequired","_this$simonSettings$r10","_this$simonSettings22","_this$simonSettings23","requirePrimaryPhoneNumber","isPhoneNumberRequired","_this$simonSettings$r11","_this$simonSettings$r12","requirePhoneNumber","isEmailAddressRequired","_this$simonSettings$r13","_this$simonSettings$r14","requireEmailAddress","isGroupNumberVisible","_this$simonSettings$c3","_this$simonSettings24","_this$simonSettings25","coverageGroupNo","contactTypeRules","_this$simonSettings26","_this$simonSettings27","_this$simonSettings28","contactTypes","allowEditSSN","_this$simonSettings$a3","isEmployeeSSNEditable","_this$allowEditSSN$em2","_this$allowEditSSN2","_this$allowEditSSN$em","_this$allowEditSSN","isDependentSSNEditable","_this$allowEditSSN$em4","_this$allowEditSSN4","_this$allowEditSSN$em3","_this$allowEditSSN3","dependent","occupationList","_this$simonSettings29","_this$simonSettings30","_this$simonSettings31","occupationDDL","stateCompliance","_this$simonSettings32","_this$simonSettings33","employerTokens","_this$simonSettings34","_this$simonSettings35","employerMaintenanceMore","eligibleMembershipTypes","_this$simonSettings$e4","benefitsOrder","_this$simonSettings$b3","_this$simonSettings$b4","benefitOrder","areCoveragesClassBased","_this$simonSettings$c4","_this$simonSettings36","_this$simonSettings37","classBasedCoverages","excelBillOptions","_this$simonSettings38","_this$simonSettings39","reportsTargetAudience","planSponsorValues","_this$simonSettings40","_this$simonSettings41","stateOfDomicileViewStates","_this$simonSettings42","_this$simonSettings43","_this$simonSettings44","_this$simonSettings45","employerTokenOptions","additionalFields","payCycleMultipliers","payCyclesSimon","payCycles","restoreNotification","includeAdviceAmount","requireDependentSSN","_this$simonSettings$r15","_this$simonSettings$r16","requireFamilyID","_this$simonSettings$r17","_this$simonSettings$r18","_this$simonSettings$s5","_this$simonSettings$s6","requireOccupation","_this$simonSettings$r19","_this$simonSettings$r20","trustOEDefaultDuration","_this$employerSimonSe5","_this$employerSimonSe6","allowBenefitChangesRenewal","_this$simonSettings$a4","_this$simonSettings$a5","_this$userSimonSettin","_this$userSimonSettin2","_this$userSimonSettin3","editBillPaid","_this$simonSettings$e5","_this$simonSettings$e6","showCobraMembersInRenewalsWorkflow","_this$simonSettings$s7","_this$simonSettings$s8","showCobraEEs","showPostPayment","_this$simonSettings$s9","_this$simonSettings$s10","canShowTNEdEmployees","_this$simonSettings$s11","_this$simonSettings$s12","showTNEs","audienceMore","_this$simonSettings46","_this$simonSettings47","showRetireeMembersInRenewalsWorkflow","_this$simonSettings$s13","_this$simonSettings$s14","showRetireesEEs","brokerContactIdLabel","individualBrokerNumber","brokerContactExternalIdLabel","extIndBrokerID","subgroupTypes","_this$simonSettings$r21","_this$simonSettings$r22","reportGroupTypeList","editBrokersAP","_this$simonSettings$e7","_this$simonSettings$e8","editBrokersPP","_this$simonSettings$e9","_this$simonSettings$e10","allowCoverageWaitingPeriods","_this$simonSettings$a6","_this$simonSettings$a7","allowEnrollmentReasons","_this$simonSettings$a8","_this$simonSettings$a9","ShakerService","selector","allowOverflow","addClass","removeClass","UpdateSimonUserError","Store","reqGroupName","reqSettingAction","_obj$customLinks","_obj$customLinks$sett","_obj$companyLink","records","settingsSerializer","subDomainInfo","sourceTypeId","tandC","fetchSimonSettings","reqSettingName","deserializedRecords","_this$session$prop","pushTiles","trustInfoJson","_deserializedRecords$","_deserializedRecords$2","handleContactRulesResponse","tleReq","_options$contactTypes","rules","arr","CONTACT_TYPE_LIST","label2","contactName","_options$employerMain","contactSelected","contactSubName","rule","sortBy","reqSettingValue","pushSelectedProfile","selectedProfile","assnTLA","assn","dependentId","dependentName","employeeDOB","employeeSexCode","employeeStartDate","employerLocatorId","src","trustName","associationName","MFASTATUS_BOOLEAN_FIELDS","originalValue","_this$session$data3$a","userToken","_this$session$data4$a","_this$session$data5$a","_this$session$data6$a","changeSimonInfo","_this$session$data7","_this$session$data7$a","_this$session$data8","_this$session$data9","reqSimonUserID","reqSimonUserType","erroredSimonUser","members","simonUsers","_textMeasurer","TransitionManagerService","triggerWillTransition","_unifiedEventHandler","_ephemeral","search","cookieName","sessionCookieName","cookieExpirationTime","sameSite","_renewExpirationTimeout","_syncDataTimeout","MobileDragDrop","Trix","toolbar","getDefaultHTML","lang","bold","italic","strike","heading1","bullets","numbers","undo","redo","urlPlaceholder","unlink","_fieldWarning","_simonPortalsOpener","_asIsObject","TRUE_VALUES","FALSE_VALUES","NULLISH_STRINGS","nullifyBlank","isStringBlank","unicode","backwardSlashCount","backslashes","hexCode","charCode","parseInt","encodedText","charCodeAt","_format","cleanZip","checkIfCanadianZip","formatZipCodeCanada","formatZipCode","setDefault","hasClass","onInitialRender","use","routes","fromRoute","toRoute","matchBy","_crossFade","_explode","_fade","_flexGrow","_flyTo","_moveOver","_scale","_scrollThen","_toDown","_toLeft","_toRight","_toUp","_wait","_calculatePosition","html","setupLinks","filterXSS","stripIgnoreTagBody","maxDate","date1","date2","minDate","today","numYear","threeYearsFromNow","newLinesToBr","_missingMessage","NAVIGATED_TO","mapping","T","A","SC","ER","EE","cleanId","_serializeQueryParams","_queryString","deserializeQueryParams","definitions","decodeQueryParams","serializeQueryParams","serialized","encodeQueryParams","skipEmptyString","skipNull","regex","characters","maxAllowedLength","_model$usernameServer","_model$emailServerErr","_model$emailServerErr2","_alias","_belongsTo","validate","createErrorMessage","_collection","_confirmation","getDate","_dependent","_dsError","_exclusion","_hasMany","_inclusion","_inline","_length","_messages","RegExp","letters","direction","sequence","letter","current","_presence","hasHelpTip","settingService","cleanMask","getAlternativeMask","checkBlacklist","isBlacklisted","isSequential","str","repeat","exports","decodeURIComponent","runningTests"],"sources":["vendor/ember-cli/app-prefix.js","simon/adapters/application.js","simon/adapters/okta-user.js","simon/adapters/okta-user/factor.js","simon/adapters/polaris-authentication.js","simon/adapters/profile.js","simon/adapters/quoting-settings.js","simon/adapters/session.js","simon/app.js","simon/authenticators/default.js","simon/authenticators/polaris.js","simon/authenticators/sso.js","simon/authenticators/token.js","simon/component-managers/glimmer.js","simon/components/-dynamic-element-alt.js","simon/components/-dynamic-element.js","simon/components/account/account-box.js","simon/components/account/box/email-form.js","simon/components/account/box/password-form.js","simon/components/account/box/username-form.js","simon/components/account/change-password.js","simon/components/account/exit-confirmation.js","simon/components/account/refresh-confirmation.js","simon/components/animate-entry.js","simon/components/animated-borders.js","simon/components/animated-search.js","simon/components/application-errors/bad-browser.js","simon/components/authentication-devices.js","simon/components/authentication-devices/device.js","simon/components/authentication-devices/remove-device.js","simon/components/authentication-flow/dialog.js","simon/components/authentication-flow/steps/authenticator.js","simon/components/authentication-flow/steps/forgot-password.js","simon/components/authentication-flow/steps/forgot-password/recovery.js","simon/components/authentication-flow/steps/forgot-password/select-authenticator.js","simon/components/authentication-flow/steps/forgot-password/verify.js","simon/components/authentication-flow/steps/password.js","simon/components/authentication-flow/steps/reenroll-password.js","simon/components/authentication-flow/steps/unlock.js","simon/components/authentication-flow/steps/unlock/index.js","simon/components/authentication-flow/steps/unlock/verify.js","simon/components/authentication-flow/steps/verify.js","simon/components/basic-dropdown-content.js","simon/components/basic-dropdown-trigger.js","simon/components/basic-dropdown.js","simon/components/boolean-radio-group.js","simon/components/close-button.js","simon/components/collapsible-text.js","simon/components/contact-form.js","simon/components/contact-form/textarea.js","simon/components/countdown.js","simon/components/custom-checkbox.js","simon/components/custom-radio.js","simon/components/display-field.js","simon/components/display-field/error.js","simon/components/dots-menu-mobile-actions.js","simon/components/dots-menu-vertical.js","simon/components/dots-menu-vertical/item.js","simon/components/dots-menu-vertical/section.js","simon/components/drop-search.js","simon/components/drop-select.js","simon/components/dropdown-filter.js","simon/components/dummy-data-button.js","simon/components/ember-truncate/button-toggle.js","simon/components/ember-truncate/truncation-noop.js","simon/components/ember-truncate/truncation-target.js","simon/components/ember-wormhole.js","simon/components/error-box.js","simon/components/error-box/error.js","simon/components/error-pages/invalid-token.js","simon/components/error-pages/maintenance.js","simon/components/error-pages/subdomain-not-found.js","simon/components/exit-confirmation.js","simon/components/external-link-notice.js","simon/components/external-link.js","simon/components/field-box.js","simon/components/fields-grid.js","simon/components/fields-grid/cell.js","simon/components/filter-menu.js","simon/components/filter-menu/x-modal.js","simon/components/flow-navigation.js","simon/components/flow-navigation/buttons.js","simon/components/flow-navigation/item.js","simon/components/flow-navigation/steps.js","simon/components/flow-navigation/sub-item.js","simon/components/from-elsewhere.js","simon/components/full-page.js","simon/components/grid-cell.js","simon/components/grid-field.js","simon/components/help-tip.js","simon/components/help-tip/account-number.js","simon/components/help-tip/content.js","simon/components/help-tip/routing-number.js","simon/components/help-tip/trigger-icon.js","simon/components/help-tip/trigger.js","simon/components/help-tips/password-expiration.js","simon/components/help-tips/password-requirements.js","simon/components/help-tips/ssn.js","simon/components/hijack-all.js","simon/components/hour-glass.js","simon/components/idle-warning.js","simon/components/illiquid-model.js","simon/components/infinite-scroll.js","simon/components/info-table.js","simon/components/info-table/cell.js","simon/components/info-table/row.js","simon/components/input-field/account-type.js","simon/components/input-field/address.js","simon/components/input-field/bank-account-number.js","simon/components/input-field/bank-routing-number.js","simon/components/input-field/date.js","simon/components/input-field/extension.js","simon/components/input-field/file-input.js","simon/components/input-field/file-picker.js","simon/components/input-field/file-uploader.js","simon/components/input-field/gender.js","simon/components/input-field/hidden-ssn.js","simon/components/input-field/integer.js","simon/components/input-field/marital-status.js","simon/components/input-field/money.js","simon/components/input-field/percentage.js","simon/components/input-field/phone-usa.js","simon/components/input-field/select.js","simon/components/input-field/ssn-last-digits.js","simon/components/input-field/ssn.js","simon/components/input-field/state-canada.js","simon/components/input-field/state-territories-usa.js","simon/components/input-field/state-usa.js","simon/components/input-field/string-percentage.js","simon/components/input-field/zip-code-canada.js","simon/components/input-field/zip-code-usa.js","simon/components/lazy-list.js","simon/components/lazy-render.js","simon/components/legacy-custom-checkbox.js","simon/components/lf-get-outlet-state.js","simon/components/link-to-external.js","simon/components/links-nav.js","simon/components/liquid-bind.js","simon/components/liquid-child.js","simon/components/liquid-container.js","simon/components/liquid-if.js","simon/components/liquid-measured.js","simon/components/liquid-outlet.js","simon/components/liquid-spacer.js","simon/components/liquid-sync.js","simon/components/liquid-unless.js","simon/components/liquid-versions.js","simon/components/login-powered-by.js","simon/components/login/account-locked.js","simon/components/login/code.js","simon/components/login/devices.js","simon/components/login/email-sent.js","simon/components/login/login-page.js","simon/components/login/okta-verification-code.js","simon/components/login/password.js","simon/components/login/register/info.js","simon/components/login/register/verification.js","simon/components/login/reset-password.js","simon/components/login/self-register.js","simon/components/login/update-password.js","simon/components/login/user-identifier.js","simon/components/main-menu/item-group.js","simon/components/main-menu/item.js","simon/components/main-menu/nav.js","simon/components/masked-field.js","simon/components/maybe-in-element.js","simon/components/media-query.js","simon/components/menu-modal.js","simon/components/menu-modal/modal.js","simon/components/menu-modal/popup.js","simon/components/menu-modal/trigger.js","simon/components/mobile-actions-popup.js","simon/components/mobile-actions-popup/action.js","simon/components/mobile-table-action.js","simon/components/multi-line-ellipsis.js","simon/components/multiple-from-elsewhere.js","simon/components/okta/account-info.js","simon/components/okta/account-info/account-info-field.js","simon/components/okta/account-info/account-info-name-fields.js","simon/components/okta/account-info/actions.js","simon/components/okta/account-info/error-box-field.js","simon/components/okta/grey-field.js","simon/components/okta/mfa-card.js","simon/components/okta/mfa-card/phone-setup.js","simon/components/okta/mfa-card/phone-setup/send-button.js","simon/components/oval-checkbox.js","simon/components/page-title.js","simon/components/pikaday-input.js","simon/components/power-select-multiple.js","simon/components/power-select-multiple/trigger.js","simon/components/power-select.js","simon/components/power-select/before-options.js","simon/components/power-select/no-matches-message.js","simon/components/power-select/options.js","simon/components/power-select/placeholder.js","simon/components/power-select/power-select-group.js","simon/components/power-select/search-message.js","simon/components/power-select/trigger.js","simon/components/powered-by.js","simon/components/pre-auth-tiles.js","simon/components/pre-auth-tiles/tile.js","simon/components/refresh-button.js","simon/components/refresh-with-tooltip.js","simon/components/render-many.js","simon/components/rerender-on.js","simon/components/scroll-to.js","simon/components/search-input.js","simon/components/simon-portal-opener.js","simon/components/simple-menu-modal.js","simon/components/simple-menu-modal/trigger-icon.js","simon/components/slide-checkbox.js","simon/components/smart-input.js","simon/components/smart-input/dropdown.js","simon/components/smart-input/selected.js","simon/components/square-checkbox.js","simon/components/state-machine.js","simon/components/state-machine/has-action.js","simon/components/state-machine/is-state.js","simon/components/submit-button.js","simon/components/table-display-field.js","simon/components/terms-conditions.js","simon/components/title-validation-error.js","simon/components/title-validation-error/error-box.js","simon/components/title-validation-error/text-painter.js","simon/components/to-elsewhere.js","simon/components/troubleshooting-modal.js","simon/components/truncate-multiline.js","simon/components/truncated-text.js","simon/components/trust-logo.js","simon/components/user-menu.js","simon/components/user-title.js","simon/components/validated-icon.js","simon/components/vertical-collection.js","simon/components/workflow-summary/profile-section.js","simon/components/workflow-summary/profile-section/body.js","simon/components/workflow-summary/profile-section/cell.js","simon/components/workflow-summary/profile-section/header.js","simon/components/workflows/dummy-data-button.js","simon/components/workflows/lookup-sic-button.js","simon/components/x-confirmation.js","simon/components/x-dialog.js","simon/components/x-dialog/body.js","simon/components/x-dialog/footer.js","simon/components/x-dialog/set-footer.js","simon/components/x-dropdown.js","simon/components/x-input.js","simon/components/x-layout.js","simon/components/x-modal.js","simon/components/x-notification.js","simon/components/x-notification/error.js","simon/components/x-popup.js","simon/components/x-popup/content.js","simon/components/x-tooltip.js","simon/components/x-type.js","simon/components/x-workflow.js","simon/components/x-workflow/mobile-action-buttons.js","simon/components/x-workflow/step.js","simon/config/asset-manifest.js","simon/controllers/application-error.js","simon/controllers/application.js","simon/controllers/auth/account.js","simon/controllers/auth/add-devices.js","simon/controllers/auth/change-password.js","simon/controllers/auth/invalid-password.js","simon/controllers/auth/okta-account.js","simon/controllers/login-error.js","simon/controllers/login/code.js","simon/controllers/login/devices.js","simon/controllers/login/forgot-password.js","simon/controllers/login/index.js","simon/controllers/login/password.js","simon/controllers/login/register/index.js","simon/controllers/login/register/info.js","simon/controllers/login/reset-password.js","simon/controllers/login/reset.js","simon/controllers/login/self-register.js","simon/controllers/okta-login-error.js","simon/controllers/okta-login/authenticator.js","simon/controllers/okta-login/forgot-password/index.js","simon/controllers/okta-login/forgot-password/recovery.js","simon/controllers/okta-login/forgot-password/verify.js","simon/controllers/okta-login/index.js","simon/controllers/okta-login/password.js","simon/controllers/okta-login/reenroll-password.js","simon/controllers/okta-login/register/index.js","simon/controllers/okta-login/register/info.js","simon/controllers/okta-login/self-register.js","simon/controllers/okta-login/simon-forgot-password.js","simon/controllers/okta-login/simon-reset.js","simon/controllers/okta-login/unlock/index.js","simon/controllers/okta-login/unlock/verify.js","simon/controllers/okta-login/verify.js","simon/controllers/payment-terms.js","simon/controllers/privacy-policy.js","simon/controllers/terms-conditions.js","simon/controllers/trust-error.js","simon/controllers/trust.js","simon/controllers/type-bsi.js","simon/controllers/validate-device/index-error.js","simon/controllers/validate-device/index.js","simon/controllers/validate-email/index-error.js","simon/controllers/validate-email/index.js","simon/helpers/abs.js","simon/helpers/acos.js","simon/helpers/acosh.js","simon/helpers/add-ordinal-suffix.js","simon/helpers/add-percentage.js","simon/helpers/add.js","simon/helpers/and.js","simon/helpers/app-version.js","simon/helpers/asin.js","simon/helpers/asinh.js","simon/helpers/assign.js","simon/helpers/atan.js","simon/helpers/atan2.js","simon/helpers/atanh.js","simon/helpers/build-timestamp.js","simon/helpers/camelize.js","simon/helpers/cancel-all.js","simon/helpers/capitalize-words.js","simon/helpers/cbrt.js","simon/helpers/ceil.js","simon/helpers/clz32.js","simon/helpers/cos.js","simon/helpers/cosh.js","simon/helpers/dasherize.js","simon/helpers/deep-equal.js","simon/helpers/div.js","simon/helpers/element.js","simon/helpers/ember-power-select-is-group.js","simon/helpers/ember-power-select-is-selected.js","simon/helpers/ensure-safe-component.js","simon/helpers/eq.js","simon/helpers/exp.js","simon/helpers/expm1.js","simon/helpers/floor.js","simon/helpers/format-business-hours.js","simon/helpers/format-date.js","simon/helpers/format-list.js","simon/helpers/format-message.js","simon/helpers/format-number.js","simon/helpers/format-percentage.js","simon/helpers/format-phone.js","simon/helpers/format-relative.js","simon/helpers/format-ssn.js","simon/helpers/format-time.js","simon/helpers/fround.js","simon/helpers/gcd.js","simon/helpers/gt.js","simon/helpers/gte.js","simon/helpers/html-safe.js","simon/helpers/humanize-url.js","simon/helpers/humanize.js","simon/helpers/hypot.js","simon/helpers/imul.js","simon/helpers/includes.js","simon/helpers/is-array.js","simon/helpers/is-empty.js","simon/helpers/is-equal.js","simon/helpers/is-present.js","simon/helpers/is-testing.js","simon/helpers/join-array.js","simon/helpers/lcm.js","simon/helpers/lf-lock-model.js","simon/helpers/lf-or.js","simon/helpers/log-e.js","simon/helpers/log10.js","simon/helpers/log1p.js","simon/helpers/log2.js","simon/helpers/lt.js","simon/helpers/lte.js","simon/helpers/max.js","simon/helpers/min.js","simon/helpers/mod.js","simon/helpers/money-value.js","simon/helpers/mult.js","simon/helpers/not-eq.js","simon/helpers/not-null.js","simon/helpers/not.js","simon/helpers/or.js","simon/helpers/page-title.js","simon/helpers/perform-task.js","simon/helpers/perform.js","simon/helpers/plain-text-to-html.js","simon/helpers/pluralize.js","simon/helpers/plus-or-minus.js","simon/helpers/pow.js","simon/helpers/prevent-default.js","simon/helpers/random.js","simon/helpers/round.js","simon/helpers/route-action.js","simon/helpers/sanitize-error-name.js","simon/helpers/set.js","simon/helpers/sign.js","simon/helpers/simon-error-message.js","simon/helpers/sin.js","simon/helpers/singularize.js","simon/helpers/sqrt.js","simon/helpers/stop-propagation.js","simon/helpers/sub.js","simon/helpers/t.js","simon/helpers/tan.js","simon/helpers/tanh.js","simon/helpers/task.js","simon/helpers/throw.js","simon/helpers/to-lower.js","simon/helpers/to-string.js","simon/helpers/trunc.js","simon/helpers/user-agent.js","simon/helpers/user-stamp.js","simon/helpers/xor.js","simon/initializers/app-version.js","simon/initializers/clear-simple-auth.js","simon/initializers/container-debug-adapter.js","simon/initializers/ember-cli-mirage.js","simon/initializers/ember-concurrency.js","simon/initializers/ember-simple-auth.js","simon/initializers/engines.js","simon/initializers/export-application-global.js","simon/initializers/liquid-fire.js","simon/instance-initializers/ember-simple-auth.js","simon/instance-initializers/load-asset-manifest.js","simon/instance-initializers/user-agent.js","simon/lib/account-manager.js","simon/lib/data-managers/okta/factors.js","simon/lib/data-managers/okta/mfa-status.js","simon/lib/datadog-rum.js","simon/lib/errors.js","simon/lib/features/account-preferences/main.js","simon/lib/features/card-paginator.js","simon/lib/features/login/main.js","simon/lib/invalid-session.js","simon/lib/password-wrapper.js","simon/lib/polaris-session-refresher.js","simon/lib/polaris-token-refresher.js","simon/lib/session-checker.js","simon/lib/shared-tile-base.js","simon/lib/simon-session-refresher.js","simon/lib/time.js","simon/lib/user-info-manager.js","simon/mixins/components/create-paginated-cards.js","simon/mixins/controllers/login-form.js","simon/models/authentication-device.js","simon/models/base.js","simon/models/contact-type-rule.js","simon/models/masked-authentication-device.js","simon/models/okta-factor.js","simon/models/okta-user.js","simon/models/profile.js","simon/models/quoting-settings.js","simon/models/quoting-settings/applications.js","simon/models/quoting-settings/broker.js","simon/models/quoting-settings/choose-plans.js","simon/models/quoting-settings/clients.js","simon/models/quoting-settings/company-profile.js","simon/models/quoting-settings/disclaimer.js","simon/models/quoting-settings/magic-button.js","simon/models/quoting-settings/quotes.js","simon/models/quoting-settings/workflow-field.js","simon/models/tile.js","simon/models/trust-info.js","simon/models/user-settings.js","simon/modifiers/animate-entry.js","simon/modifiers/autofocus.js","simon/modifiers/did-insert.js","simon/modifiers/did-size-change.js","simon/modifiers/did-update.js","simon/modifiers/i-mask.js","simon/modifiers/prevent-default.js","simon/modifiers/react.js","simon/modifiers/scroll-to-self.js","simon/modifiers/style.js","simon/modifiers/will-destroy.js","simon/resolver.js","simon/router.js","simon/routes/application.js","simon/routes/auth.js","simon/routes/auth/account.js","simon/routes/auth/add-devices.js","simon/routes/auth/change-password.js","simon/routes/auth/invalid-password.js","simon/routes/auth/okta-account.js","simon/routes/deprecated-okta-login.js","simon/routes/login.js","simon/routes/login/code.js","simon/routes/login/devices.js","simon/routes/login/forgot-password.js","simon/routes/login/index.js","simon/routes/login/password.js","simon/routes/login/register.js","simon/routes/login/register/index.js","simon/routes/login/register/info.js","simon/routes/login/reset-password.js","simon/routes/login/reset.js","simon/routes/login/self-register.js","simon/routes/logout.js","simon/routes/okta-login.js","simon/routes/okta-login/authenticator.js","simon/routes/okta-login/forgot-password.js","simon/routes/okta-login/forgot-password/index.js","simon/routes/okta-login/forgot-password/recovery.js","simon/routes/okta-login/forgot-password/verify.js","simon/routes/okta-login/index.js","simon/routes/okta-login/password.js","simon/routes/okta-login/reenroll-password.js","simon/routes/okta-login/register.js","simon/routes/okta-login/register/index.js","simon/routes/okta-login/register/info.js","simon/routes/okta-login/self-register.js","simon/routes/okta-login/simon-forgot-password.js","simon/routes/okta-login/simon-reset.js","simon/routes/okta-login/unlock/index.js","simon/routes/okta-login/unlock/verify.js","simon/routes/okta-login/verify.js","simon/routes/privacy-policy.js","simon/routes/profiles.js","simon/routes/profiles/default.js","simon/routes/signed-out.js","simon/routes/sso-callback.js","simon/routes/sso.js","simon/routes/terms-conditions.js","simon/routes/trust-error.js","simon/routes/trust.js","simon/routes/type-bsi.js","simon/routes/type-ga.js","simon/routes/type-quoting.js","simon/routes/validate-device/index.js","simon/routes/validate-email/index.js","simon/serializers/application.js","simon/serializers/authentication-device.js","simon/serializers/base-quoting-settings.js","simon/serializers/profile.js","simon/serializers/quoting-settings.js","simon/serializers/quoting-settings/applications.js","simon/serializers/quoting-settings/broker.js","simon/serializers/quoting-settings/choose-plans.js","simon/serializers/quoting-settings/clients.js","simon/serializers/quoting-settings/company-profile.js","simon/serializers/quoting-settings/disclaimer.js","simon/serializers/quoting-settings/magic-button.js","simon/serializers/quoting-settings/quotes.js","simon/serializers/quoting-settings/workflow-field.js","simon/serializers/simon-settings.js","simon/serializers/user-settings.js","simon/services/-ensure-registered.js","simon/services/accounter-for-scrollbar.js","simon/services/ajax.js","simon/services/analytics.js","simon/services/api.js","simon/services/asset-loader.js","simon/services/back.js","simon/services/cache.js","simon/services/contact-support.js","simon/services/cookies.js","simon/services/dialogs.js","simon/services/ember-elsewhere.js","simon/services/event-hijacker.js","simon/services/exit-confirmation.js","simon/services/features.js","simon/services/global.js","simon/services/intl.js","simon/services/link-opener.js","simon/services/liquid-fire-transitions.js","simon/services/modal-manager.js","simon/services/notification.js","simon/services/page-title-control.js","simon/services/page-title-list.js","simon/services/page-title.js","simon/services/polaris-api.js","simon/services/route-history.js","simon/services/section.js","simon/services/session-checker.js","simon/services/session-shared.js","simon/services/session.js","simon/services/settings.js","simon/services/shaker.js","simon/services/store.js","simon/services/text-measurer.js","simon/services/transition-manager.js","simon/services/unified-event-handler.js","simon/services/user-agent.js","simon/session-stores/application.js","simon/setup/mobile-drag-drop.js","simon/setup/trix.js","simon/templates/404.js","simon/templates/application-error.js","simon/templates/application.js","simon/templates/auth/account.js","simon/templates/auth/add-devices.js","simon/templates/auth/change-password.js","simon/templates/auth/invalid-password.js","simon/templates/auth/okta-account.js","simon/templates/components/account/exit-confirmation.js","simon/templates/components/account/refresh-confirmation.js","simon/templates/components/animated-search.js","simon/templates/components/authentication-devices/device.js","simon/templates/components/authentication-devices/remove-device.js","simon/templates/components/basic-dropdown-content.js","simon/templates/components/basic-dropdown-trigger.js","simon/templates/components/basic-dropdown.js","simon/templates/components/boolean-radio-group.js","simon/templates/components/contact-form/textarea.js","simon/templates/components/custom-checkbox.js","simon/templates/components/display-field.js","simon/templates/components/dots-menu-vertical/section.js","simon/templates/components/dummy-data-button.js","simon/templates/components/error-pages/invalid-token.js","simon/templates/components/error-pages/subdomain-not-found.js","simon/templates/components/exit-confirmation.js","simon/templates/components/external-link-notice.js","simon/templates/components/field-box.js","simon/templates/components/field-warning.js","simon/templates/components/flow-navigation/item.js","simon/templates/components/flow-navigation/sub-item.js","simon/templates/components/full-page.js","simon/templates/components/grid-cell.js","simon/templates/components/grid-field.js","simon/templates/components/help-tips/password-expiration.js","simon/templates/components/help-tips/password-requirements.js","simon/templates/components/help-tips/ssn.js","simon/templates/components/idle-warning.js","simon/templates/components/infinite-scroll.js","simon/templates/components/info-table.js","simon/templates/components/info-table/cell.js","simon/templates/components/info-table/row.js","simon/templates/components/input-field/address.js","simon/templates/components/input-field/date.js","simon/templates/components/input-field/extension.js","simon/templates/components/input-field/hidden-ssn.js","simon/templates/components/input-field/integer.js","simon/templates/components/input-field/money.js","simon/templates/components/input-field/percentage.js","simon/templates/components/input-field/phone-usa.js","simon/templates/components/input-field/select.js","simon/templates/components/input-field/ssn-last-digits.js","simon/templates/components/input-field/ssn.js","simon/templates/components/input-field/state-canada.js","simon/templates/components/input-field/string-percentage.js","simon/templates/components/input-field/zip-code-canada.js","simon/templates/components/input-field/zip-code-usa.js","simon/templates/components/lazy-list.js","simon/templates/components/lazy-render.js","simon/templates/components/legacy-custom-checkbox.js","simon/templates/components/login/account-locked.js","simon/templates/components/login/email-sent.js","simon/templates/components/main-menu/item-group.js","simon/templates/components/main-menu/item.js","simon/templates/components/main-menu/nav.js","simon/templates/components/media-query.js","simon/templates/components/mobile-table-action.js","simon/templates/components/pre-auth-tiles.js","simon/templates/components/render-many.js","simon/templates/components/rerender-on.js","simon/templates/components/scroll-to.js","simon/templates/components/search-input.js","simon/templates/components/simon-portal-opener.js","simon/templates/components/state-machine.js","simon/templates/components/state-machine/has-action.js","simon/templates/components/state-machine/is-state.js","simon/templates/components/table-display-field.js","simon/templates/components/user-menu.js","simon/templates/components/user-title.js","simon/templates/components/workflows/dummy-data-button.js","simon/templates/components/x-confirmation.js","simon/templates/components/x-layout.js","simon/templates/components/x-modal.js","simon/templates/components/x-notification.js","simon/templates/components/x-notification/error.js","simon/templates/components/x-popup.js","simon/templates/components/x-tooltip.js","simon/templates/components/x-type.js","simon/templates/components/x-workflow.js","simon/templates/components/x-workflow/step.js","simon/templates/loading.js","simon/templates/login-error.js","simon/templates/login.js","simon/templates/login/code.js","simon/templates/login/devices.js","simon/templates/login/forgot-password.js","simon/templates/login/index.js","simon/templates/login/password.js","simon/templates/login/register.js","simon/templates/login/register/index.js","simon/templates/login/register/info.js","simon/templates/login/reset-password.js","simon/templates/login/reset.js","simon/templates/login/self-register.js","simon/templates/okta-login-error.js","simon/templates/okta-login.js","simon/templates/okta-login/authenticator.js","simon/templates/okta-login/forgot-password.js","simon/templates/okta-login/forgot-password/index.js","simon/templates/okta-login/forgot-password/recovery.js","simon/templates/okta-login/forgot-password/verify.js","simon/templates/okta-login/index.js","simon/templates/okta-login/password.js","simon/templates/okta-login/reenroll-password.js","simon/templates/okta-login/register.js","simon/templates/okta-login/register/index.js","simon/templates/okta-login/register/info.js","simon/templates/okta-login/self-register.js","simon/templates/okta-login/simon-forgot-password.js","simon/templates/okta-login/simon-reset.js","simon/templates/okta-login/unlock.js","simon/templates/okta-login/unlock/index.js","simon/templates/okta-login/unlock/verify.js","simon/templates/okta-login/verify.js","simon/templates/payment-terms.js","simon/templates/privacy-policy.js","simon/templates/profiles.js","simon/templates/profiles/index.js","simon/templates/profiles/loading.js","simon/templates/signed-out.js","simon/templates/terms-conditions.js","simon/templates/trust-error.js","simon/templates/trust-loading.js","simon/templates/type-bsi.js","simon/templates/validate-device/index-error.js","simon/templates/validate-device/index.js","simon/templates/validate-email/index-error.js","simon/templates/validate-email/index.js","simon/transforms/application.js","simon/transforms/array.js","simon/transforms/as-is-object.js","simon/transforms/boolean.js","simon/transforms/date-time.js","simon/transforms/date.js","simon/transforms/money.js","simon/transforms/nullable-string.js","simon/transforms/number.js","simon/transforms/numeric-string.js","simon/transforms/object.js","simon/transforms/unicode-string.js","simon/transforms/zip-code.js","simon/transitions.js","simon/transitions/cross-fade.js","simon/transitions/default.js","simon/transitions/explode.js","simon/transitions/fade.js","simon/transitions/flex-grow.js","simon/transitions/fly-to.js","simon/transitions/move-over.js","simon/transitions/scale.js","simon/transitions/scroll-then.js","simon/transitions/to-down.js","simon/transitions/to-left.js","simon/transitions/to-right.js","simon/transitions/to-up.js","simon/transitions/wait.js","simon/types.js","simon/utils/calculate-position.js","simon/utils/clean-html.js","simon/utils/date.js","simon/utils/html.js","simon/utils/intl/missing-message.js","simon/utils/navigation.js","simon/utils/profile-id-serializer.js","simon/utils/raise-error.js","simon/utils/to-oxford-comma.js","simon/utils/url.js","simon/validations/authentication-device.js","simon/validations/password-validations.js","simon/validations/user-info-validations.js","simon/validators/alias.js","simon/validators/belongs-to.js","simon/validators/bool.js","simon/validators/collection.js","simon/validators/confirmation.js","simon/validators/date-day.js","simon/validators/date-on.js","simon/validators/date.js","simon/validators/dependent.js","simon/validators/ds-error.js","simon/validators/exclusion.js","simon/validators/format.js","simon/validators/has-many.js","simon/validators/https-url.js","simon/validators/inclusion.js","simon/validators/inline.js","simon/validators/length.js","simon/validators/messages.js","simon/validators/no-repeated.js","simon/validators/no-sequence.js","simon/validators/number.js","simon/validators/presence.js","simon/validators/ssn.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["'use strict';\n\n\n","define(\"simon/adapters/application\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/object\"eaimeta@70e063a35619d71f\n var _default = _object.default.extend();\n _exports.default = _default;\n});","define(\"simon/adapters/okta-user\", [\"exports\", \"simon/adapters/application\", \"@ember/service\", \"ember-concurrency-decorators\", \"simon/adapters/polaris-authentication\", \"@ember/debug\", \"ember-concurrency-ts\"], function (_exports, _application, _service, _emberConcurrencyDecorators, _polarisAuthentication, _debug, _emberConcurrencyTs) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3;\n 0; //eaimeta@70e063a35619d71f0,\"simon/adapters/application\",0,\"@ember/service\",0,\"ember-concurrency-decorators\",0,\"simon/adapters/polaris-authentication\",0,\"@ember/debug\",0,\"ember-concurrency-ts\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let OktaUserAdapter = (_class = class OktaUserAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"polarisApi\", _descriptor3, this);\n }\n findRecordTask(id) {\n var _this = this;\n let {\n reload,\n options\n } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n reload: false\n };\n return function* () {\n let found = _this.store.peekRecord('okta-user', id);\n if (found && !reload) {\n return found;\n }\n let response = yield _this.polarisApi.request(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}`, options);\n return _this.store.pushPayload('okta-user', _objectSpread({\n id: response.id,\n status: response.status\n }, response.profile));\n }();\n }\n *findAuthenticatedOktaUserTask() {\n let data = this.session.data;\n let id = data === null || data === void 0 ? void 0 : data.authenticated.polarisUserId;\n (false && !(id) && (0, _debug.assert)(`\n ${this.toString()}#findAuthenticatedOktaUserTask: The user must have a login name or polaris ID`, id));\n return (0, _emberConcurrencyTs.taskFor)(this.findRecordTask).perform(id);\n }\n updateUserTask(id) {\n var _this2 = this;\n let data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return function* () {\n let response = yield _this2.polarisApi.post(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}`, _objectSpread({}, data), options);\n return _this2.store.pushPayload('okta-user', _objectSpread({\n id: response.id,\n status: response.status\n }, response.profile));\n }();\n }\n *sendEmailVerificationCodeTask(id, data) {\n let response = yield this.polarisApi.post(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}`, _objectSpread({}, data));\n return {\n emailId: response.addEmailResult.emailId,\n challengeId: response.addEmailResult.challengeId\n };\n }\n *verifyEmailTask(id, emailId, challengeId, data) {\n return yield this.polarisApi.post(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}/email/${emailId}/challenge/${challengeId}/verify`, _objectSpread({}, data));\n }\n updatePasswordTask(id) {\n var _this3 = this;\n let data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function* () {\n let response = yield _this3.polarisApi.post(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}/password`, _objectSpread({}, data));\n return _this3.store.pushPayload('okta-user', _objectSpread({\n id: response.id,\n status: response.status\n }, response.profile));\n }();\n }\n *generateTemporaryPassword(id) {\n return yield this.polarisApi.post(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${id}/password/temp-password`);\n }\n toString() {\n return this.constructor.name;\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"polarisApi\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"findRecordTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"findRecordTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"findAuthenticatedOktaUserTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"findAuthenticatedOktaUserTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateUserTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"updateUserTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sendEmailVerificationCodeTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"sendEmailVerificationCodeTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"verifyEmailTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"verifyEmailTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updatePasswordTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"updatePasswordTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"generateTemporaryPassword\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"generateTemporaryPassword\"), _class.prototype)), _class);\n _exports.default = OktaUserAdapter;\n});","define(\"simon/adapters/okta-user/factor\", [\"exports\", \"simon/adapters/application\", \"simon/models/okta-factor\", \"@ember/service\", \"simon/adapters/polaris-authentication\", \"ember-concurrency-decorators\"], function (_exports, _application, _oktaFactor, _service, _polarisAuthentication, _emberConcurrencyDecorators) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"simon/adapters/application\",0,\"simon/models/okta-factor\",0,\"@ember/service\",0,\"simon/adapters/polaris-authentication\",0,\"ember-concurrency-decorators\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let OktaUserFactorAdapter = (_class = class OktaUserFactorAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"polarisApi\", _descriptor2, this);\n }\n *deleteFactor(userId, id) {\n return yield this.polarisApi.delete(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${userId}/factor/${id}`);\n }\n *fetchFactors(userId, options) {\n var _phoneFactorObject$_e;\n let response = yield this.polarisApi.request(`${_polarisAuthentication.POLARIS_API_VERSION}/user/${userId}/factor`, options);\n // The API only supports one factor other than email, and this factor can only be a phone factor.\n // So for now, we can expect the factors array to contain exactly one object with factorType \"sms\".\n let phoneFactorObject = response.factors.find(_ref => {\n let {\n factorType\n } = _ref;\n return factorType === _oktaFactor.OktaFactorType.Phone;\n });\n let phoneFactors = phoneFactorObject === null || phoneFactorObject === void 0 ? void 0 : (_phoneFactorObject$_e = phoneFactorObject._embedded) === null || _phoneFactorObject$_e === void 0 ? void 0 : _phoneFactorObject$_e.phones;\n if (phoneFactors) {\n return {\n factors: phoneFactors.map(phoneFactor => this.store.pushPayload('okta-factor', {\n type: phoneFactorObject === null || phoneFactorObject === void 0 ? void 0 : phoneFactorObject.factorType,\n status: phoneFactorObject === null || phoneFactorObject === void 0 ? void 0 : phoneFactorObject.status,\n id: phoneFactor.id,\n value: this.formatPhoneFactorValue(phoneFactor.profile.phoneNumber)\n })),\n links: response.links\n };\n } else if (phoneFactorObject) {\n return {\n factors: [this.store.pushPayload('okta-factor', {\n type: phoneFactorObject.factorType,\n status: phoneFactorObject.status\n })],\n links: response.links\n };\n }\n return {\n factors: [],\n links: {}\n };\n }\n formatPhoneFactorValue(value) {\n if (value !== null && value !== void 0 && value.startsWith('+1')) {\n return value.substring(2);\n }\n return value;\n }\n toString() {\n return this.constructor.name;\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"polarisApi\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"deleteFactor\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteFactor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fetchFactors\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"fetchFactors\"), _class.prototype)), _class);\n _exports.default = OktaUserFactorAdapter;\n});","define(\"simon/adapters/polaris-authentication\", [\"exports\", \"simon/adapters/application\", \"@ember/service\", \"ember-concurrency-decorators\"], function (_exports, _application, _service, _emberConcurrencyDecorators) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _exports.TokenExchangeError = _exports.Status = _exports.POLARIS_API_VERSION = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"simon/adapters/application\",0,\"@ember/service\",0,\"ember-concurrency-decorators\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let Status;\n _exports.Status = Status;\n (function (Status) {\n Status[\"Success\"] = \"SUCCESS\";\n Status[\"Pending\"] = \"PENDING\";\n Status[\"Failure\"] = \"FAILURE\";\n Status[\"Terminal\"] = \"TERMINAL\";\n Status[\"Canceled\"] = \"CANCELED\";\n })(Status || (_exports.Status = Status = {}));\n const POLARIS_API_VERSION = '/v1/simon';\n _exports.POLARIS_API_VERSION = POLARIS_API_VERSION;\n class TokenExchangeError extends Error {}\n _exports.TokenExchangeError = TokenExchangeError;\n let PolarisAuthenticationAdapter = (_class = class PolarisAuthenticationAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"polarisApi\", _descriptor, this);\n _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n }\n *startAuthenticationFlowTask() {\n return yield this.polarisApi.request(`${POLARIS_API_VERSION}/authentication`);\n }\n *startRecoveryFlowTask() {\n return yield this.polarisApi.request(`${POLARIS_API_VERSION}/recovery`);\n }\n *startUnlockFlowTask() {\n return yield this.polarisApi.request(`${POLARIS_API_VERSION}/unlock`);\n }\n *exchangeJWTForHashTask(accessToken) {\n return yield this.polarisApi.request(`${POLARIS_API_VERSION}/simon-token`, {\n headers: {\n Authorization: accessToken\n }\n });\n }\n getSSOTokenTask(_ref) {\n var _this = this;\n let {\n code,\n state\n } = _ref;\n return function* () {\n return yield _this.polarisApi.request(`${POLARIS_API_VERSION}/sso/token`, {\n data: {\n code,\n state\n }\n });\n }();\n }\n\n /*\n * We use this to keep an SSO Polaris session from expiring.\n */\n *exchangeHashForJWTTask(sessionHash) {\n let response = yield this.polarisApi.post(`${POLARIS_API_VERSION}/simon-token-exchange`, {\n sessionHash\n }, {\n headers: {\n Authorization: undefined\n }\n });\n if (!response.access_token || !response.expires_in) {\n throw new TokenExchangeError(this.intl.t('mainApp.errors.invalidTokenExchangeResponseError', {\n isTokenMissing: !response.access_token,\n isExpiresInMissing: !response.expires_in\n }));\n }\n return response;\n }\n *refreshTokenTask(refreshToken) {\n return yield this.polarisApi.post(`${POLARIS_API_VERSION}/token`, {\n 'grant_type': 'refresh_token',\n 'refresh_token': refreshToken\n }, {\n headers: {\n Authorization: undefined\n }\n });\n }\n *invalidateTokenTask(transactionId) {\n return yield this.polarisApi.delete(`${POLARIS_API_VERSION}/authentication/${transactionId}`);\n }\n *getSSORedirectURLTask() {\n return yield this.polarisApi.request(`${POLARIS_API_VERSION}/sso`);\n }\n apiActionTask(link) {\n var _this2 = this;\n let data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function* () {\n let {\n href,\n type\n } = link;\n let response;\n if (type === 'POST') {\n response = yield _this2.polarisApi.post(href, _objectSpread({}, data));\n } else {\n response = yield _this2.polarisApi.request(href, _objectSpread({}, data));\n }\n if (response.options) {\n response.options = response.options.map(option => {\n var _option$value;\n return _objectSpread(_objectSpread({}, option), {}, {\n value: (_option$value = option.value) !== null && _option$value !== void 0 ? _option$value : _this2.extractValueFromLabel(option.label)\n });\n });\n }\n return response;\n }();\n }\n extractValueFromLabel(label) {\n var _label$match;\n let match = (_label$match = label.match(/- (.*)/)) === null || _label$match === void 0 ? void 0 : _label$match[0];\n if (match) {\n match = match.replace(/^-\\s/, '');\n }\n return match;\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"polarisApi\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"startAuthenticationFlowTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"startAuthenticationFlowTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startRecoveryFlowTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"startRecoveryFlowTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startUnlockFlowTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"startUnlockFlowTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"exchangeJWTForHashTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"exchangeJWTForHashTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"getSSOTokenTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"getSSOTokenTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"exchangeHashForJWTTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"exchangeHashForJWTTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"refreshTokenTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"refreshTokenTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"invalidateTokenTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"invalidateTokenTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"getSSORedirectURLTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"getSSORedirectURLTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"apiActionTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"apiActionTask\"), _class.prototype)), _class);\n _exports.default = PolarisAuthenticationAdapter;\n});","define(\"simon/adapters/profile\", [\"exports\", \"simon/adapters/application\", \"@ember/service\", \"@ember/utils\", \"ember-concurrency-decorators\"], function (_exports, _application, _service, _utils, _emberConcurrencyDecorators) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"simon/adapters/application\",0,\"@ember/service\",0,\"@ember/utils\",0,\"ember-concurrency-decorators\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let ProfileAdapter = (_class = class ProfileAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"settings\", _descriptor3, this);\n _initializerDefineProperty(this, \"cache\", _descriptor4, this);\n _initializerDefineProperty(this, \"api\", _descriptor5, this);\n }\n findRecordTask(params) {\n var _this = this;\n let {\n useCache = false\n } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function* (_this$session$data) {\n let cacheKey = JSON.stringify(params);\n let profileModel = _this.cache.getCache(cacheKey);\n if (useCache && profileModel) {\n return profileModel;\n }\n let profile = yield _this.api.request('GetSelectedProfile', _objectSpread({\n reqSessionHash: (_this$session$data = _this.session.data) === null || _this$session$data === void 0 ? void 0 : _this$session$data.authenticated.token\n }, params));\n profileModel = _this.store.pushPayload('profile', profile);\n _this.cache.setCache(cacheKey, profileModel);\n return profileModel;\n }();\n }\n queryAllTask() {\n var _this2 = this;\n let params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let options = arguments.length > 1 ? arguments[1] : undefined;\n return function* (_options$action, _this2$session$data) {\n let action = (_options$action = options === null || options === void 0 ? void 0 : options.action) !== null && _options$action !== void 0 ? _options$action : 'GetProfileList';\n let trustProfile = _this2.session.trustProfile;\n if (_this2.settings.isSuperUser) {\n params = _objectSpread({\n reqUseLocator: 'True'\n }, params);\n }\n if ((0, _utils.isBlank)(params.reqEmployerPartialName)) {\n params = _objectSpread({\n reqMaxRows: '200'\n }, params);\n }\n if (trustProfile) {\n var _trustProfile$subClie, _trustProfile$assnId;\n params = _objectSpread({\n reqTrustID: trustProfile.trustId,\n reqSubClientId: (_trustProfile$subClie = trustProfile.subClientId) !== null && _trustProfile$subClie !== void 0 ? _trustProfile$subClie : undefined,\n reqUserType: trustProfile.userType,\n reqAssnId: (_trustProfile$assnId = trustProfile.assnId) !== null && _trustProfile$assnId !== void 0 ? _trustProfile$assnId : undefined\n }, params);\n }\n let {\n profiles\n } = yield _this2.api.request(action, _objectSpread({\n reqUseLocator: 'False',\n reqIncludeTermedGroup: 'False',\n // In order to filter by association, we need to send the user hash.\n // Sending the trust hash won't do.\n reqSessionHash: (_this2$session$data = _this2.session.data) === null || _this2$session$data === void 0 ? void 0 : _this2$session$data.authenticated.token\n }, params));\n\n // Part of https://benefitsolutionsinc.atlassian.net/browse/QUO-4590,\n // we omit the employers with no employer IDs\n profiles = profiles.filter(_ref => {\n let {\n employerId\n } = _ref;\n return !(0, _utils.isBlank)(employerId);\n });\n return profiles.map(profile => _this2.store.pushPayload('profile', _objectSpread({}, profile)));\n }();\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"cache\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"api\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"findRecordTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"findRecordTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"queryAllTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"queryAllTask\"), _class.prototype)), _class);\n _exports.default = ProfileAdapter;\n});","define(\"simon/adapters/quoting-settings\", [\"exports\", \"@ember/service\", \"@ember/debug\", \"ember-concurrency-decorators\", \"simon/adapters/application\", \"simon/serializers/quoting-settings/workflow-field\"], function (_exports, _service, _debug, _emberConcurrencyDecorators, _application, _workflowField) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n const _excluded = [\"broker\", \"quotes\", \"applications\", \"clients\", \"magicButton\"];\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/debug\",0,\"ember-concurrency-decorators\",0,\"simon/adapters/application\",0,\"simon/serializers/quoting-settings/workflow-field\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let QuotingSettingsAdapter = (_class = class QuotingSettingsAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"store\", _descriptor2, this);\n }\n *findSettingsTask() {\n (false && !(!!this.session.trustProfile) && (0, _debug.assert)('Trust profile was not found', !!this.session.trustProfile));\n let tla = this.store.getSubDomainForProfile(this.session.trustProfile);\n let [{\n settingValue: {\n quotingSettings\n }\n }] = yield this.store.findSimonSettings('QuotingSettings', {\n reqSubDomain: tla\n });\n return this.createModel(quotingSettings);\n }\n createModel(response) {\n let _ref = response !== null && response !== void 0 ? response : {},\n {\n broker: brokerResponse = {},\n quotes: quotesResponse = {},\n applications: applicationsResponse = {},\n clients: clientsResponse = {},\n magicButton: magicButtonResponse = {}\n } = _ref,\n quotingSettingsResponse = _objectWithoutProperties(_ref, _excluded);\n let {\n companyProfile: companyProfileResponse = {},\n dashboard: dashboardResponse = {},\n prospects: prospectsResponse = {},\n quotes: brokerQuotesResponse = {},\n quoteSummary: quoteSummaryResponse = {},\n comparePlans: comparePlansResponse = {},\n choosePlans: choosePlansResponse = {}\n } = brokerResponse;\n let {\n censusFields: applicationCensusFieldsResponse = [],\n companyProfileFields: applicationCompanyProfileFieldsResponse = []\n } = applicationsResponse;\n let {\n censusFields: quoteCensusFieldsResponse = [],\n companyProfileFields: quoteCompanyProfileFieldsResponse = []\n } = quotesResponse;\n let quotingSettingsBroker = this.store.pushPayload('quoting-settings/broker', _objectSpread({}, brokerResponse));\n quotingSettingsBroker.companyProfile = this.store.pushPayload('quoting-settings/company-profile', _objectSpread({}, companyProfileResponse));\n quotingSettingsBroker.dashboard = this.store.pushPayload('quoting-settings/disclaimer', _objectSpread({}, dashboardResponse));\n quotingSettingsBroker.prospects = this.store.pushPayload('quoting-settings/disclaimer', _objectSpread({}, prospectsResponse));\n quotingSettingsBroker.quotes = this.store.pushPayload('quoting-settings/disclaimer', _objectSpread({}, brokerQuotesResponse));\n quotingSettingsBroker.quoteSummary = this.store.pushPayload('quoting-settings/disclaimer', _objectSpread({}, quoteSummaryResponse));\n quotingSettingsBroker.comparePlans = this.store.pushPayload('quoting-settings/disclaimer', _objectSpread({}, comparePlansResponse));\n quotingSettingsBroker.choosePlans = this.store.pushPayload('quoting-settings/choose-plans', _objectSpread({}, choosePlansResponse));\n let quotingSettingsModel = this.store.pushPayload('quoting-settings', _objectSpread({}, quotingSettingsResponse));\n let quotingSettingsQuotes = this.store.pushPayload('quoting-settings/quotes', _objectSpread({}, quotesResponse));\n let quotingSettingsClients = this.store.pushPayload('quoting-settings/clients', _objectSpread({}, clientsResponse));\n let quotingSettingsMagicButton = this.store.pushPayload('quoting-settings/magic-button', _objectSpread({}, magicButtonResponse));\n quotingSettingsQuotes.censusFields = _workflowField.DEFAULT_QUOTE_CENSUS_FIELDS.map(censusField => {\n var _quoteCensusFieldsRes;\n let censusFieldResponse = (_quoteCensusFieldsRes = quoteCensusFieldsResponse.find(field => field.name === censusField.name)) !== null && _quoteCensusFieldsRes !== void 0 ? _quoteCensusFieldsRes : censusField;\n return this.store.pushPayload('quoting-settings/workflow-field', _objectSpread({}, censusFieldResponse));\n });\n quotingSettingsQuotes.companyProfileFields = _workflowField.DEFAULT_QUOTE_COMPANY_PROFILE_FIELDS.map(companyField => {\n var _quoteCompanyProfileF;\n let companyProfileFieldResponse = (_quoteCompanyProfileF = quoteCompanyProfileFieldsResponse.find(field => field.name === companyField.name)) !== null && _quoteCompanyProfileF !== void 0 ? _quoteCompanyProfileF : companyField;\n return this.store.pushPayload('quoting-settings/workflow-field', _objectSpread({}, companyProfileFieldResponse));\n });\n let quotingSettingsApplications = this.store.pushPayload('quoting-settings/applications', _objectSpread({}, applicationsResponse));\n quotingSettingsApplications.censusFields = _workflowField.DEFAULT_APPLICATION_CENSUS_FIELDS.map(censusField => {\n var _applicationCensusFie;\n let censusFieldResponse = (_applicationCensusFie = applicationCensusFieldsResponse.find(field => field.name === censusField.name)) !== null && _applicationCensusFie !== void 0 ? _applicationCensusFie : censusField;\n return this.store.pushPayload('quoting-settings/workflow-field', _objectSpread({}, censusFieldResponse));\n });\n quotingSettingsApplications.companyProfileFields = _workflowField.DEFAULT_APPLICATION_COMPANY_PROFILE_FIELDS.map(companyField => {\n var _applicationCompanyPr;\n let companyProfileFieldResponse = (_applicationCompanyPr = applicationCompanyProfileFieldsResponse.find(field => field.name === companyField.name)) !== null && _applicationCompanyPr !== void 0 ? _applicationCompanyPr : companyField;\n return this.store.pushPayload('quoting-settings/workflow-field', _objectSpread({}, companyProfileFieldResponse));\n });\n quotingSettingsModel.broker = quotingSettingsBroker;\n quotingSettingsModel.quotes = quotingSettingsQuotes;\n quotingSettingsModel.applications = quotingSettingsApplications;\n quotingSettingsModel.clients = quotingSettingsClients;\n quotingSettingsModel.magicButton = quotingSettingsMagicButton;\n return quotingSettingsModel;\n }\n *updateTask(model) {\n yield this.store.updateSimonSetting('QuotingSettings', {\n quotingSettings: model.serialize()\n }, {\n reqSettingSourceType: 'T'\n });\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"findSettingsTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"findSettingsTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"updateTask\"), _class.prototype)), _class);\n _exports.default = QuotingSettingsAdapter;\n});","define(\"simon/adapters/session\", [\"exports\", \"simon/adapters/application\", \"@ember/service\", \"ember-concurrency-decorators\", \"moment\"], function (_exports, _application, _service, _emberConcurrencyDecorators, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"simon/adapters/application\",0,\"@ember/service\",0,\"ember-concurrency-decorators\",0,\"moment\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n let SessionAdapter = (_class = class SessionAdapter extends _application.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"api\", _descriptor2, this);\n }\n getSessionExpiryTask() {\n var _this = this;\n let {\n params = {}\n } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function* (_this$session$data, _this$session$data$au) {\n let response = yield _this.api.request('GetSessionTimeout', _objectSpread({\n reqSessionHash: (_this$session$data = _this.session.data) === null || _this$session$data === void 0 ? void 0 : (_this$session$data$au = _this$session$data.authenticated) === null || _this$session$data$au === void 0 ? void 0 : _this$session$data$au.token\n }, params));\n return _objectSpread({\n tokenExpiryUnixDate: (0, _moment.default)().add(+response.timeout, 'seconds').unix()\n }, response);\n }();\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"api\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"getSessionExpiryTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"getSessionExpiryTask\"), _class.prototype)), _class);\n _exports.default = SessionAdapter;\n});","define(\"simon/app\", [\"exports\", \"@ember/application\", \"ember-resolver\", \"ember-load-initializers\", \"simon/config/environment\", \"simon/setup/trix\", \"simon/setup/mobile-drag-drop\", \"moment\", \"simon/utils/date\"], function (_exports, _application, _emberResolver, _emberLoadInitializers, _environment, _trix, _mobileDragDrop, _moment, _date) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n _exports.shutdownMirage = shutdownMirage;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-resolver\",0,\"ember-load-initializers\",0,\"simon/config/environment\",0,\"simon/setup/trix\",0,\"simon/setup/mobile-drag-drop\",0,\"moment\",0,\"simon/utils/date\"eaimeta@70e063a35619d71f\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n /**\n * Override the default moment 2 digit year parsing method.\n * We do this because:\n * 1) Pikaday uses moment to parse the date string entered by the user.\n * 2) We want 2 digit years to never be parsed to 4 digit year > 3 years in the future.\n *\n * Example:\n * 01 => 2001\n * 15 => 2015\n * 40 => 1940\n *\n * @param {String} year Two digit year string\n * @return {String} Four digit year string\n */\n _moment.default.parseTwoDigitYear = _date.parseTwoDigitYear;\n\n // setup wysiwyg editor\n (0, _trix.default)();\n\n // Setup mobile drag and drop polyfill.\n _mobileDragDrop.default.polyfill();\n class App extends _application.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"modulePrefix\", _environment.default.modulePrefix);\n _defineProperty(this, \"podModulePrefix\", _environment.default.podModulePrefix);\n _defineProperty(this, \"Resolver\", _emberResolver.default);\n _defineProperty(this, \"engines\", {\n simonengine: {\n dependencies: {\n services: ['accounter-for-scrollbar', 'api', 'back', 'cache', 'contact-support', 'analytics', 'event-hijacker', 'exit-confirmation', 'features', 'link-opener', 'modal-manager', 'notification', 'page-title-control', 'polaris-api', {\n 'app-router': 'router'\n }, 'route-history', 'section', 'session', 'session-shared', 'settings', 'shaker', {\n 'app-store': 'store'\n }],\n externalRoutes: {\n account: 'auth.account',\n 'terms-conditions': 'terms-conditions',\n 'privacy-policy': 'privacy-policy',\n 'auth.account': 'auth.account',\n 'profiles': 'profiles'\n }\n }\n },\n quoting: {\n dependencies: {\n services: ['api', 'back', {\n 'app-store': 'store'\n }, 'analytics', 'section', 'session', 'session-shared', 'settings', {\n 'app-router': 'router'\n }, 'link-opener', 'cache', 'exit-confirmation', 'features', 'shaker', 'accounter-for-scrollbar', 'notification', 'route-history', 'page-title-control', 'contact-support', 'modal-manager', 'event-hijacker'],\n externalRoutes: {\n account: 'auth.account',\n 'type-employer': 'type-employer',\n 'terms-conditions': 'terms-conditions',\n 'privacy-policy': 'privacy-policy',\n 'type-ga': 'type-ga'\n }\n }\n },\n partner: {\n dependencies: {\n services: ['api', 'back', {\n 'app-store': 'store'\n }, 'analytics', 'section', 'session', 'session-shared', 'settings', {\n 'app-router': 'router'\n }, 'link-opener', 'cache', 'exit-confirmation', 'features', 'shaker', 'accounter-for-scrollbar', 'notification', 'route-history', 'page-title-control', 'contact-support', 'modal-manager', 'event-hijacker', 'polaris-api'],\n externalRoutes: {\n account: 'auth.account',\n home: 'login',\n 'terms-conditions': 'terms-conditions',\n 'privacy-policy': 'privacy-policy'\n }\n }\n }\n });\n }\n buildInstance() {\n /**\n * Addresses ember-cli-mirage warning: \"You created a second Pretender\n * instance while there was already one running\". The recommended solution is\n * to shutdown the mirage sever after the app is destroyed.\n * see https://github.com/samselikoff/ember-cli-mirage/issues/915.\n *\n * However, since in some tests we logout from the app, the app is reset and another\n * app instance is created before the first app is destroyed and mirage server is shutdown.\n *\n * This addresses the issue by shutting down the server before building the registry.\n */\n shutdownMirage();\n return super.buildInstance(...arguments);\n }\n }\n function shutdownMirage() {\n if (_environment.default.environment === 'test' && typeof window.server !== 'undefined') {\n window.server.shutdown();\n }\n }\n (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n var _default = App;\n _exports.default = _default;\n});","define(\"simon/authenticators/default\", [\"exports\", \"@ember/service\", \"rsvp\", \"ember-simple-auth/authenticators/base\", \"simon/lib/password-wrapper\", \"moment\", \"simon/config/environment\", \"shared/utils/lifeline\"], function (_exports, _service, _rsvp, _base, _passwordWrapper, _moment, _environment, _lifeline) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"rsvp\",0,\"ember-simple-auth/authenticators/base\",0,\"simon/lib/password-wrapper\",0,\"moment\",0,\"simon/config/environment\",0,\"shared/utils/lifeline\"eaimeta@70e063a35619d71f\n /**\n * Ember Simple Auth authenticator.\n *\n * @module simon/authenticators/default\n */\n var _default = _base.default.extend({\n /**\n * @property api\n * @type {Services/Api}\n */\n api: (0, _service.inject)(),\n /**\n * @property store\n * @type {Services/Store}\n */\n store: (0, _service.inject)(),\n /**\n * @property session\n * @type {Service}\n */\n session: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n sessionShared: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n cookies: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n notification: (0, _service.inject)(),\n /**\n * Takes the stored session data (for example in local storage or cookie)\n * and restores the session.\n *\n * @method restore\n * @param {Object} data\n * @return {Promise}\n */\n restore(data) {\n if (data.token) {\n return (0, _rsvp.resolve)(data);\n }\n return (0, _rsvp.reject)();\n },\n /**\n * Called on logout\n *\n * @method invalidate\n * @return {Promise}\n */\n invalidate() {\n return this.get('api').request('SimonSignOff', {}, {\n method: 'POST'\n }).catch(e => {\n // For some reason API returns an errors array on logout.\n if (e instanceof Error) {\n throw e;\n }\n });\n },\n async afterAuthentication(authenticationResponse, password, MFAStatus) {\n let {\n sessionHash: token,\n trust,\n termsAndCondsCheck,\n version,\n isPwdExpired,\n pwdExpiresOn,\n fingerPrint,\n user: {\n firstName,\n lastName\n }\n } = authenticationResponse;\n let passwordWrapper = (0, _lifeline.registerInstance)(this, new _passwordWrapper.default(this, {\n password\n }));\n\n // Add `shouldAcceptTermsAndConditions` manually to the session since doing:\n // ```\n // this.get('session').set('data.authenticated.shouldAcceptTermsAndConditions')\n // ```\n // doesn't persist the data in the cookie but\n // ```\n // this.get('session').set('data.shouldAcceptTermsAndConditions')\n // ```\n // does\n this.session.setProperties({\n 'data.shouldAcceptTermsAndConditions': termsAndCondsCheck,\n 'data.shouldShowMFAAlert': termsAndCondsCheck && !MFAStatus.isMFARequired,\n 'data.isPwdExpired': isPwdExpired,\n 'data.pwdExpiresOn': pwdExpiresOn,\n 'data.didShowPasswordAlert': false,\n 'data.isMFAEnabled': MFAStatus.isMFAEnabled,\n 'data.isMFARequired': MFAStatus.isMFARequired,\n 'data.isMFAEnabledOriginallyAtAuthentication': MFAStatus.isMFAEnabled,\n 'data.canShowAccountPreferences': true,\n 'data.passwordIsInvalid': passwordWrapper.validations.attrs.password.isInvalid,\n 'data.user': {\n name: `${firstName} ${lastName}`,\n firstName,\n lastName\n }\n });\n let prefix = _environment.default.environment === 'test' ? 'testing-' : '';\n this.cookies.write(`${prefix}device-fingerprint`, fingerPrint, {\n expires: (0, _moment.default)().add(7, 'days').toDate()\n });\n return {\n token,\n version,\n trust\n };\n },\n /**\n * Responsible for authentication. The main purpose is to get the user session\n * token and user information. It is called after an original `GetAuthentication` request\n * that returns the authKey.\n *\n * - Calls `GetAuthentication` a second time but this time with both userIdentifier\n * and password (salted with the previous request's hash and encoded in base64).\n *\n * @method authenticate\n * @param {String} userIdentifier\n * @param {String} password\n * @param {String} authKey\n * @param {Object} MFAStatus\n * - {String} isMFAEnabled\n * - {String} isMFARequired\n * @return {Promise}\n * - {String} token The user token\n * - {User} user\n */\n async authenticate(userIdentifier, password, authKey) {\n let MFAStatus = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n this.get('sessionShared').clearSessionData();\n let authenticationResponse = await this.store.getAuthentication({\n reqUserID: userIdentifier,\n reqPassword: btoa(`${authKey}${password}`)\n });\n return this.afterAuthentication(authenticationResponse, password, MFAStatus);\n },\n /**\n * @param {Object} data\n */\n setTestCookie(data) {\n this.cookies.write('testing-ember_simple_auth-session', JSON.stringify({\n data\n }), {\n expires: (0, _moment.default)().add(7, 'days').toDate()\n });\n },\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n return this._super(...arguments);\n }\n });\n _exports.default = _default;\n});","define(\"simon/authenticators/polaris\", [\"exports\", \"ember-simple-auth/authenticators/base\", \"@ember/service\", \"ember-concurrency-ts\", \"rsvp\", \"simon/config/environment\", \"moment\", \"shared/utils/handle-test-error\", \"simon/transforms/boolean\"], function (_exports, _base, _service, _emberConcurrencyTs, _rsvp, _environment, _moment, _handleTestError, _boolean) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n _exports.getLastAuthenticatedTimestamp = getLastAuthenticatedTimestamp;\n var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n 0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/authenticators/base\",0,\"@ember/service\",0,\"ember-concurrency-ts\",0,\"rsvp\",0,\"simon/config/environment\",0,\"moment\",0,\"shared/utils/handle-test-error\",0,\"simon/transforms/boolean\"eaimeta@70e063a35619d71f\n function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n /**\n * We use these two functions to assert the timestamp in the tests\n */\n let lastAuthenticatedTimestamp;\n function getNewAuthenticationTimestamp() {\n lastAuthenticatedTimestamp = new Date().toISOString();\n return lastAuthenticatedTimestamp;\n }\n function getLastAuthenticatedTimestamp() {\n return lastAuthenticatedTimestamp;\n }\n let PolarisAuthenticator = (_class = class PolarisAuthenticator extends _base.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"store\", _descriptor, this);\n _initializerDefineProperty(this, \"session\", _descriptor2, this);\n _initializerDefineProperty(this, \"sessionShared\", _descriptor3, this);\n _initializerDefineProperty(this, \"api\", _descriptor4, this);\n _initializerDefineProperty(this, \"cookies\", _descriptor5, this);\n }\n /**\n * Takes the stored session data (for example in local storage or cookie)\n * and restores the session.\n */\n restore(data) {\n if (data.token) {\n return (0, _rsvp.resolve)(data);\n }\n return (0, _rsvp.reject)();\n }\n invalidate() {\n let {\n polarisTransactionId\n } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let params = {};\n\n // We make sure not to turn off pretender since we're doing\n // an additional request after the simon token invalidation.\n if (_environment.default.environment === 'test') {\n params = {\n shouldTurnOffPretender: false\n };\n }\n const createSimonInvalidatePromise = () => this.api.request('SimonSignOff', _objectSpread({}, params), {\n method: 'POST'\n }).catch(e => {\n // For some reason API returns an errors array on logout.\n if (e instanceof Error) {\n throw e;\n }\n });\n\n /**\n * Transaction ids occur through regular okta login. For sso (/sso route), there's no transaction id.\n */\n const createPolarisInvalidatePromise = polarisTransactionId ? () => {\n let adapter = this.store.adapterFor('polaris-authentication');\n return (0, _emberConcurrencyTs.taskFor)(adapter.invalidateTokenTask).perform(polarisTransactionId);\n } : () => Promise.resolve();\n let promises;\n // In mirage, we want to make the invalidate requests sequential in order to avoid the second Pretender instance error.\n if (_environment.default['ember-cli-mirage'].enabled) {\n promises = createPolarisInvalidatePromise().then(() => createSimonInvalidatePromise());\n } else {\n promises = (0, _rsvp.all)([createSimonInvalidatePromise(), createPolarisInvalidatePromise()]);\n }\n return promises.catch(error => {\n var _error$payload, _error$payload2;\n (0, _handleTestError.handleTestError)(error);\n\n // We might get a 404 which we need to swallow\n if (((_error$payload = error.payload) === null || _error$payload === void 0 ? void 0 : _error$payload.status) !== 'NOT_FOUND' && ((_error$payload2 = error.payload) === null || _error$payload2 === void 0 ? void 0 : _error$payload2.statusCode) !== 404) {\n throw error;\n }\n });\n }\n authenticate(accessToken, options, _ref) {\n let {\n isInAppAuthentication = false\n } = _ref;\n let clearSessionDataSkipProps = isInAppAuthentication ? ['userSettings', 'defaultUserType'] : [];\n this.sessionShared.clearSessionData({\n skipProps: clearSessionDataSkipProps\n });\n let adapter = this.store.adapterFor('polaris-authentication');\n return (0, _emberConcurrencyTs.taskFor)(adapter.exchangeJWTForHashTask).perform(accessToken).then(response => {\n let {\n authenticationHash,\n termsAndCondsCheck\n } = response;\n let {\n firstName,\n lastName,\n name\n } = options;\n this.session.setProperties({\n // @ts-ignore\n 'data.user': {\n name,\n firstName,\n lastName\n },\n 'data.canShowAccountPreferences': true,\n 'data.passwordIsInvalid': options.passwordIsInvalid,\n 'data.shouldAcceptTermsAndConditions': _boolean.default.deserialize(termsAndCondsCheck),\n 'data.lastAuthenticatedTimestamp': getNewAuthenticationTimestamp(),\n 'data.oktaUserIsApplicable': true\n });\n let sessionData = {\n polarisUserId: options.userId,\n polarisTransactionId: options.transactionId,\n polarisAccessToken: accessToken,\n polarisRefreshToken: options.refreshToken,\n polarisTokenExpiresOn: options.expiresAt,\n daysToExpiry: options.daysToExpiry,\n token: authenticationHash\n };\n if (_environment.default.environment === 'test') {\n this.setTestCookie(_objectSpread(_objectSpread({}, this.session.data), {}, {\n authenticated: _objectSpread({}, sessionData)\n }));\n }\n return sessionData;\n });\n }\n setTestCookie(data) {\n this.cookies.write('testing-ember_simple_auth-session', JSON.stringify({\n data\n }), {\n expires: (0, _moment.default)().add(7, 'days').toDate()\n });\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"sessionShared\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"api\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"cookies\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n })), _class);\n _exports.default = PolarisAuthenticator;\n});","define(\"simon/authenticators/sso\", [\"exports\", \"@ember/service\", \"rsvp\", \"ember-simple-auth/authenticators/base\", \"ember-concurrency\", \"moment\"], function (_exports, _service, _rsvp, _base, _emberConcurrency, _moment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n const _excluded = [\"simonUserId\"];\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"rsvp\",0,\"ember-simple-auth/authenticators/base\",0,\"ember-concurrency\",0,\"moment\"eaimeta@70e063a35619d71f\n function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n var _default = _base.default.extend({\n /**\n * @type {Services/Api}\n */\n api: (0, _service.inject)(),\n /**\n * @type {Services/SessionShared}\n */\n sessionShared: (0, _service.inject)(),\n /**\n * @type {Services/Session}\n */\n session: (0, _service.inject)(),\n /**\n * @type {Services/Store}\n */\n store: (0, _service.inject)(),\n /**\n * @type {Services/Features}\n */\n features: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n cookies: (0, _service.inject)(),\n /**\n * Takes the stored session data (for example in local storage or cookie)\n * and restores the session.\n *\n * @method restore\n * @param {Object} data\n * @return {Promise}\n */\n restore(data) {\n if (data.token) {\n return (0, _rsvp.resolve)(data);\n }\n return (0, _rsvp.reject)();\n },\n /**\n * Called on logout\n *\n * @method invalidate\n * @return {Promise}\n */\n invalidate() {\n return this.get('api').request('SimonSignOff', {}, {\n method: 'POST'\n }).catch(e => {\n // For some reason API returns an errors array on logout.\n if (e instanceof Error) {\n throw e;\n }\n });\n },\n clearSessionAndSetProperties(_ref) {\n let {\n termsAndCondsCheck,\n firstName,\n lastName,\n simonUserId\n } = _ref;\n let skipProps = [];\n if (simonUserId === this.session.data.simonUserId) {\n // Since `vatInfo` is set once we authenticate the user in the quoting portal,\n // if we clear it here for a user already authenticated, they might get kicked out from other app instances.\n // (If the app in another tab tried to make an API call before setting the new `vatInfo`)\n // Solution: Keep the `vatInfo` in the session for users re-logging into the app.\n skipProps.push('vatInfo');\n }\n this.sessionShared.clearSessionData({\n skipProps\n });\n this.session.setProperties({\n 'data.shouldAcceptTermsAndConditions': termsAndCondsCheck,\n 'data.shouldShowMFAAlert': false,\n 'data.isPwdExpired': false,\n 'data.pwdExpiresOn': null,\n 'data.didShowPasswordAlert': false,\n 'data.isMFAEnabled': false,\n 'data.isMFARequired': false,\n 'data.canShowAccountPreferences': false,\n 'data.simonUserId': simonUserId,\n 'data.user': {\n name: `${firstName} ${lastName}`,\n firstName,\n lastName\n }\n });\n },\n /**\n * @param {Object}\n * {String} token\n * - {String} firstName\n * - {String} lastName\n * - {Boolean} termsAndCondsCheck\n * @return {Promise}\n */\n authenticateTask: (0, _emberConcurrency.task)(function (_ref2) {\n var _this = this;\n let {\n token,\n firstName,\n lastName,\n termsAndCondsCheck\n } = _ref2;\n return function* () {\n let _yield$_this$store$ge = yield _this.store.getAuthentication({\n reqSessionHash: token\n }),\n {\n simonUserId\n } = _yield$_this$store$ge,\n rest = _objectWithoutProperties(_yield$_this$store$ge, _excluded);\n if (_this.features.check('safe-sso')) {\n ({\n termsAndCondsCheck,\n user: {\n firstName,\n lastName\n }\n } = rest);\n }\n _this.clearSessionAndSetProperties({\n termsAndCondsCheck,\n firstName,\n lastName,\n simonUserId\n });\n return {\n token\n };\n }();\n }).restartable(),\n /**\n * @param {Object}\n * - {String} token\n * - {String} firstName\n * - {String} lastName\n * - {String} terms\n */\n authenticate(_ref3) {\n let {\n token,\n firstName,\n lastName,\n terms\n } = _ref3;\n let termsAndCondsCheck = (terms === null || terms === void 0 ? void 0 : terms.toLowerCase()) === 'true';\n return this.authenticateTask.perform({\n token,\n termsAndCondsCheck,\n firstName,\n lastName\n });\n },\n /**\n * @param {Object} data\n */\n setTestCookie(data) {\n this.cookies.write('testing-ember_simple_auth-session', JSON.stringify({\n data\n }), {\n expires: (0, _moment.default)().add(7, 'days').toDate()\n });\n }\n });\n _exports.default = _default;\n});","define(\"simon/authenticators/token\", [\"exports\", \"@ember/service\", \"rsvp\", \"ember-simple-auth/authenticators/base\", \"moment\", \"ember-concurrency\"], function (_exports, _service, _rsvp, _base, _moment, _emberConcurrency) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"rsvp\",0,\"ember-simple-auth/authenticators/base\",0,\"moment\",0,\"ember-concurrency\"eaimeta@70e063a35619d71f\n /**\n * Ember Simple Auth token authenticator. Used to authenticate a user\n * who has the token in their url `?token=AUTHTOKEN`\n *\n * @module simon/authenticators/token\n */\n var _default = _base.default.extend({\n /**\n * @property session\n * @type {Service}\n */\n session: (0, _service.inject)(),\n /**\n * @property api\n * @type {Service}\n */\n api: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n sessionShared: (0, _service.inject)(),\n /**\n * @property store\n * @type {Services/Store}\n */\n store: (0, _service.inject)(),\n /**\n * @type {Service}\n */\n cookies: (0, _service.inject)(),\n /**\n * @type {Services/Features}\n */\n features: (0, _service.inject)(),\n /**\n * @method restore\n * @param {Object} data\n * @return {Object}\n */\n restore(data) {\n return (0, _rsvp.resolve)(data);\n },\n /**\n * @param {String} token\n */\n authenticateTask: (0, _emberConcurrency.task)(function* (token) {\n let {\n firstName,\n lastName\n } = yield this.store.getUserSettings({\n reqSessionHash: token\n });\n this.session.setProperties({\n 'data.canShowAccountPreferences': false,\n 'data.shouldShowMFAAlert': false,\n 'data.user': {\n name: `${firstName} ${lastName}`,\n firstName,\n lastName\n }\n });\n return {\n token\n };\n }),\n /**\n * @method authenticate\n * @param {String} token\n * @return {Promise}\n */\n authenticate(token) {\n this.get('sessionShared').clearSessionData();\n return this.authenticateTask.perform(token);\n },\n /**\n * @param {Object} data\n */\n setTestCookie(data) {\n this.cookies.write('testing-ember_simple_auth-session', JSON.stringify({\n data\n }), {\n expires: (0, _moment.default)().add(7, 'days').toDate()\n });\n }\n });\n _exports.default = _default;\n});","define(\"simon/component-managers/glimmer\", [\"exports\", \"@glimmer/component/-private/ember-component-manager\"], function (_exports, _emberComponentManager) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _emberComponentManager.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component/-private/ember-component-manager\"eaimeta@70e063a35619d71f\n});","define(\"simon/components/-dynamic-element-alt\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\"eaimeta@70e063a35619d71f\n // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n // has the special dependency rule for this addon removed:\n // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n // eslint-disable-next-line ember/no-empty-glimmer-component-classes\n class DynamicElementAlt extends _component.default {}\n _exports.default = DynamicElementAlt;\n});","define(\"simon/components/-dynamic-element\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\"eaimeta@70e063a35619d71f\n // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n // has the special dependency rule for this addon removed:\n // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n // eslint-disable-next-line ember/no-empty-glimmer-component-classes\n class DynamicElement extends _component.default {}\n _exports.default = DynamicElement;\n});","define(\"simon/components/account/account-box\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"shared/lib/media-query\", \"shared/utils/lifeline\", \"@ember/service\", \"@ember/object\", \"ember-concurrency-ts\"], function (_exports, _component, _templateFactory, _component2, _mediaQuery, _lifeline, _service, _object, _emberConcurrencyTs) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _class, _descriptor;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"shared/lib/media-query\",0,\"shared/utils/lifeline\",0,\"@ember/service\",0,\"@ember/object\",0,\"ember-concurrency-ts\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n {{t \"mainApp.account.myAccount\"}}\n
\n \n
\n
\n
\n {{!-- Added to avoid passwords autofill on IE --}}\n \n {{#if this.mediaQuery.isUntilDesktop}}\n {{#grid-cell modifiers=\"r_2 tc_4 mc_2 center margin-bottom_15\"}}\n
\n
\n {{/grid-cell}}\n {{else}}\n {{#grid-cell modifiers=\"r_2 c_5 borders center color_grey\"}}\n
\n
\n {{/grid-cell}}\n {{/if}}\n
\n
\n \n
\n \n \n \n \n \n
\n
\n
\n \n */\n {\n \"id\": \"XlSqs0OL\",\n \"block\": \"[[[10,0],[14,0,\\\"account-box\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__title\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,0],[\\\"mainApp.account.myAccount\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"account-box__content js-my-account\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__left\\\"],[12],[1,\\\"\\\\n \\\"],[10,\\\"form\\\"],[14,0,\\\"grid grid_is-form grid_is-account-page\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\" \\\"],[10,\\\"input\\\"],[14,3,\\\"password\\\"],[14,\\\"autocomplete\\\",\\\"password\\\"],[14,0,\\\"u-hidden\\\"],[14,4,\\\"password\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilDesktop\\\"]],[[[6,[39,2],null,[[\\\"modifiers\\\"],[\\\"r_2 tc_4 mc_2 center margin-bottom_15\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__avatar\\\"],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],[[[6,[39,2],null,[[\\\"modifiers\\\"],[\\\"r_2 c_5 borders center color_grey\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__avatar\\\"],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"account-box__right\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,3],null,[[\\\"@userInfoManager\\\",\\\"@onShake\\\"],[[30,1],[30,0,[\\\"shake\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,4],null,[[\\\"@userInfoManager\\\",\\\"@onShake\\\"],[[30,1],[30,0,[\\\"shake\\\"]]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,5],null,[[\\\"@userInfoManager\\\",\\\"@onShake\\\"],[[30,1],[30,0,[\\\"shake\\\"]]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"@userInfoManager\\\"],false,[\\\"t\\\",\\\"if\\\",\\\"grid-cell\\\",\\\"account/box/username-form\\\",\\\"account/box/email-form\\\",\\\"account/box/password-form\\\"]]\",\n \"moduleName\": \"simon/components/account/account-box.hbs\",\n \"isStrictMode\": false\n });\n let AccountBoxComponent = (_dec = (0, _object.computed)(), (_class = class AccountBoxComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _initializerDefineProperty(this, \"shaker\", _descriptor, this);\n }\n get mediaQuery() {\n return (0, _lifeline.createInstance)(this, _mediaQuery.default);\n }\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n super.willDestroy();\n }\n shake() {\n (0, _emberConcurrencyTs.taskFor)(this.shaker.shake).perform('.js-my-account');\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"shaker\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _applyDecoratedDescriptor(_class.prototype, \"mediaQuery\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"mediaQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"shake\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"shake\"), _class.prototype)), _class));\n _exports.default = AccountBoxComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AccountBoxComponent);\n});","define(\"simon/components/account/box/email-form\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"shared/lib/media-query\", \"shared/lib/errors\", \"ember-concurrency-decorators\", \"shared/utils/lifeline\", \"@ember/object\", \"ember-concurrency-ts\", \"shared/utils/assertions\"], function (_exports, _component, _templateFactory, _component2, _mediaQuery, _errors, _emberConcurrencyDecorators, _lifeline, _object, _emberConcurrencyTs, _assertions) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"shared/lib/media-query\",0,\"shared/lib/errors\",0,\"ember-concurrency-decorators\",0,\"shared/utils/lifeline\",0,\"@ember/object\",0,\"ember-concurrency-ts\",0,\"shared/utils/assertions\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{grid-field\n modifiers=\"c_2 tc_2 mc_2 color_grey\"\n label=(t \"mainApp.account.registrationEmail\")\n isLabelFaded=true\n labelIconClass=\"account-box__check-icon js-check-icon\"\n class=\"js-registration-email\"\n value=this.userSettings.userEmail\n isReadOnly=true\n isEditing=this.userInfoManager.isEditingEmail\n on-edit=(if this.userInfoManager.isUserEmailEditable (set this.userInfoManager \"isEditingEmail\" true))\n }}\n \n {{#if (or this.userInfoManager.isEditingEmail this.userInfoManager.pendingEmail)}}\n {{grid-field\n modifiers=\"c_2 tc_2 mc_2 color_grey\"\n label=(t \"mainApp.account.newRegistrationEmail\")\n labelIconClass=(unless this.userInfoManager.isEditingEmail \"account-box__clock-icon\")\n placeholder=\"ex: name@example.com\"\n class=\"js-new-registration-email\"\n isLabelFaded=true\n value=this.userInfoManager.newRegistrationEmail\n isReadOnly=(not this.userInfoManager.isEditingEmail)\n isEditing=this.userInfoManager.isEditingEmail\n on-edit=(set this.userInfoManager \"isEditingEmail\" true)\n isError=(or\n this.userInfoManager.emailServerError\n (and this.errorsShown.newRegistrationEmail (v-get this.userInfoManager \"newRegistrationEmail\" \"isInvalid\"))\n )\n on-input=(set this.userInfoManager \"emailServerError\" null)\n }}\n \n {{#if this.mediaQuery.isUntilDesktop}}\n {{#grid-cell modifiers=\"mc_2 tc_4 height_auto\"}}\n
\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{#if this.userInfoManager.isEditingEmail}}\n {{#grid-cell modifiers=\"c_1 tc_4 mc_2\"}}\n
\n
\n \n {{t \"mainApp.account.saveEmail\"}}\n \n
\n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{#if this.mediaQuery.isFromDesktop}}\n {{#grid-cell modifiers=\"c_4 height_auto\"}}\n
\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n {{else}}\n {{#if this.mediaQuery.isFromTablet}}\n {{#grid-cell modifiers=\"c_3\"}}{{/grid-cell}}\n {{/if}}\n {{/if}}\n \n {{#if (and this.userInfoManager.pendingEmail (not this.userInfoManager.isEditingEmail))}}\n {{!-- Show this after the request is successful --}}\n {{#grid-cell modifiers=\"mc_2 tc_4 c_5 height_auto\"}}\n
\n {{t \"mainApp.account.pendingEmailReminder\"}}\n
\n {{/grid-cell}}\n {{/if}}\n
\n \n */\n {\n \"id\": \"H0Q0o/qj\",\n \"block\": \"[[[10,\\\"form\\\"],[14,0,\\\"grid grid_is-form grid_is-account-page\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,0],null,[[\\\"modifiers\\\",\\\"label\\\",\\\"isLabelFaded\\\",\\\"labelIconClass\\\",\\\"class\\\",\\\"value\\\",\\\"isReadOnly\\\",\\\"isEditing\\\",\\\"on-edit\\\"],[\\\"c_2 tc_2 mc_2 color_grey\\\",[28,[37,1],[\\\"mainApp.account.registrationEmail\\\"],null],true,\\\"account-box__check-icon js-check-icon\\\",\\\"js-registration-email\\\",[30,0,[\\\"userSettings\\\",\\\"userEmail\\\"]],true,[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]],[52,[30,0,[\\\"userInfoManager\\\",\\\"isUserEmailEditable\\\"]],[28,[37,3],[[30,0,[\\\"userInfoManager\\\"]],\\\"isEditingEmail\\\",true],null]]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]],[30,0,[\\\"userInfoManager\\\",\\\"pendingEmail\\\"]]],null],[[[1,\\\" \\\"],[1,[28,[35,0],null,[[\\\"modifiers\\\",\\\"label\\\",\\\"labelIconClass\\\",\\\"placeholder\\\",\\\"class\\\",\\\"isLabelFaded\\\",\\\"value\\\",\\\"isReadOnly\\\",\\\"isEditing\\\",\\\"on-edit\\\",\\\"isError\\\",\\\"on-input\\\"],[\\\"c_2 tc_2 mc_2 color_grey\\\",[28,[37,1],[\\\"mainApp.account.newRegistrationEmail\\\"],null],[52,[51,[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]]],\\\"account-box__clock-icon\\\"],\\\"ex: name@example.com\\\",\\\"js-new-registration-email\\\",true,[30,0,[\\\"userInfoManager\\\",\\\"newRegistrationEmail\\\"]],[28,[37,6],[[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]]],null],[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]],[28,[37,3],[[30,0,[\\\"userInfoManager\\\"]],\\\"isEditingEmail\\\",true],null],[28,[37,4],[[30,0,[\\\"userInfoManager\\\",\\\"emailServerError\\\"]],[28,[37,7],[[30,0,[\\\"errorsShown\\\",\\\"newRegistrationEmail\\\"]],[28,[37,8],[[28,[37,8],[[28,[37,8],[[28,[37,8],[[30,0,[\\\"userInfoManager\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"newRegistrationEmail\\\"],null],\\\"isInvalid\\\"],null]],null]],null],[28,[37,3],[[30,0,[\\\"userInfoManager\\\"]],\\\"emailServerError\\\",null],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilDesktop\\\"]],[[[6,[39,9],null,[[\\\"modifiers\\\"],[\\\"mc_2 tc_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,1,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"newRegistrationEmail\\\"]],\\\"newRegistrationEmail\\\",[28,[37,1],[\\\"mainApp.account.newRegistrationEmail\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[1]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]],[[[6,[39,9],null,[[\\\"modifiers\\\"],[\\\"c_1 tc_4 mc_2\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__actions-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__actions-save\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"button button_size_compact \\\",[52,[30,0,[\\\"changeEmailTask\\\",\\\"isRunning\\\"]],\\\"button_loading\\\"],\\\" js-change-email\\\"]]],[24,\\\"tabindex\\\",\\\"2\\\"],[24,4,\\\"submit\\\"],[4,[38,11],[\\\"click\\\",[28,[37,12],[[30,0,[\\\"changeEmailTask\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.saveEmail\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"tabindex\\\",\\\"2\\\"],[24,0,\\\"link link_color_grey js-cancel-change-email\\\"],[24,4,\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"userInfoManager\\\",\\\"cancelEditingEmail\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromDesktop\\\"]],[[[6,[39,9],null,[[\\\"modifiers\\\"],[\\\"c_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,10],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,2,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"newRegistrationEmail\\\"]],\\\"newRegistrationEmail\\\",[28,[37,1],[\\\"mainApp.account.newRegistrationEmail\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[2]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null]],[]],[[[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromTablet\\\"]],[[[1,\\\" \\\"],[6,[39,9],null,[[\\\"modifiers\\\"],[\\\"c_3\\\"]],[[\\\"default\\\"],[[[],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n\\\"],[41,[28,[37,7],[[30,0,[\\\"userInfoManager\\\",\\\"pendingEmail\\\"]],[28,[37,6],[[30,0,[\\\"userInfoManager\\\",\\\"isEditingEmail\\\"]]],null]],null],[[[6,[39,9],null,[[\\\"modifiers\\\"],[\\\"mc_2 tc_4 c_5 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__pending-email-reminder js-email-pending-reminder\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.pendingEmailReminder\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[13],[1,\\\"\\\\n\\\"]],[\\\"options\\\",\\\"options\\\"],false,[\\\"grid-field\\\",\\\"t\\\",\\\"if\\\",\\\"set\\\",\\\"or\\\",\\\"unless\\\",\\\"not\\\",\\\"and\\\",\\\"get\\\",\\\"grid-cell\\\",\\\"error-box\\\",\\\"on\\\",\\\"perform\\\"]]\",\n \"moduleName\": \"simon/components/account/box/email-form.hbs\",\n \"isStrictMode\": false\n });\n let EmailFormComponent = (_dec = (0, _object.computed)(), _dec2 = (0, _emberConcurrencyDecorators.task)({\n drop: true\n }), (_class = class EmailFormComponent extends _component2.default {\n constructor(owner, args) {\n super(owner, args);\n (0, _assertions.requireProperties)(this.args, 'userInfoManager', 'onShake');\n }\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n super.willDestroy();\n }\n get mediaQuery() {\n return (0, _lifeline.registerInstance)(this, _mediaQuery.default.create());\n }\n get userInfoManager() {\n return this.args.userInfoManager;\n }\n get userSettings() {\n return this.userInfoManager.userSettings;\n }\n get errorsShown() {\n return this.userInfoManager.errorsShown;\n }\n *changeEmailTask(event) {\n event.preventDefault();\n try {\n yield (0, _emberConcurrencyTs.taskFor)(this.userInfoManager.changeEmailTask).unlinked().perform();\n } catch (e) {\n if (e instanceof _errors.ValidationError) {\n this.args.onShake();\n this.userInfoManager.showEmailErrors();\n } else {\n throw e;\n }\n }\n }\n }, (_applyDecoratedDescriptor(_class.prototype, \"mediaQuery\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"mediaQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeEmailTask\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"changeEmailTask\"), _class.prototype)), _class));\n _exports.default = EmailFormComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, EmailFormComponent);\n});","define(\"simon/components/account/box/password-form\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"shared/lib/media-query\", \"shared/lib/errors\", \"shared/utils/lifeline\", \"@ember/object\", \"ember-concurrency-decorators\", \"ember-concurrency-ts\", \"shared/utils/assertions\"], function (_exports, _component, _templateFactory, _component2, _mediaQuery, _errors, _lifeline, _object, _emberConcurrencyDecorators, _emberConcurrencyTs, _assertions) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"shared/lib/media-query\",0,\"shared/lib/errors\",0,\"shared/utils/lifeline\",0,\"@ember/object\",0,\"ember-concurrency-decorators\",0,\"ember-concurrency-ts\",0,\"shared/utils/assertions\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{#if this.userInfoManager.isPasswordExpiryVisible}}\n {{grid-field\n modifiers=\"c_2 tc_2 mc_2 color_grey\"\n label=(t \"mainApp.account.passwordExpiresIn\")\n hasOrangeLabel=true\n placeholder=(t \"mainApp.account.currentPassword\")\n class=\"js-password-expiry\"\n value=this.userInfoManager.passwordExpiryDate\n helpTipComponent=\"help-tips/password-expiration\"\n isReadOnly=true\n isEditing=(and this.userInfoManager.isPasswordExpiryVisible this.userInfoManager.isEditingPassword)\n on-edit=(set this.userInfoManager \"isEditingPassword\" true)\n }}\n \n {{#if this.mediaQuery.isFromTablet}}\n {{#grid-cell modifiers=\"c_3\"}}\n {{/grid-cell}}\n {{/if}}\n {{/if}}\n \n {{#if (or (not this.userInfoManager.isPasswordExpiryVisible) this.userInfoManager.isEditingPassword)}}\n {{grid-field\n modifiers=\"c_2 tc_2 mc_2\"\n label=(t \"mainApp.account.newPassword\")\n placeholder=(t \"mainApp.account.newPassword\")\n isLabelFaded=true\n class=\"js-new-password\"\n value=this.userInfoManager.passwordWrapper.password\n inputType=\"password\"\n helpTipComponent=\"help-tips/password-requirements\"\n on-input=(set this.userInfoManager \"hasPasswordServerErrors\" false)\n isError=(or this.userInfoManager.hasPasswordServerErrors (and this.errorsShown.newPassword (v-get this.userInfoManager.passwordWrapper \"password\" \"isInvalid\")))\n }}\n \n {{#if this.mediaQuery.isUntilTablet}}\n {{#grid-cell modifiers=\"mc_2 height_auto\"}}\n
\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{grid-field\n modifiers=\"c_2 tc_2 mc_2\"\n label=(t \"mainApp.account.confirmPassword\")\n placeholder=(t \"mainApp.account.confirmPassword\")\n isLabelFaded=true\n class=\"js-password-confirmation\"\n value=this.userInfoManager.passwordWrapper.passwordVerification\n inputType=\"password\"\n on-input=(set this.userInfoManager \"hasPasswordServerErrors\" false)\n isError=(or this.userInfoManager.hasPasswordServerErrors (and this.errorsShown.passwordConfirmation (v-get this.userInfoManager.passwordWrapper \"passwordVerification\" \"isInvalid\")))\n }}\n \n {{#if this.mediaQuery.isUntilDesktop}}\n {{#grid-cell modifiers=\"mc_2 tc_4 height_auto\"}}\n
\n \n {{#if this.mediaQuery.isFromTablet}}\n \n {{/if}}\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{#grid-cell modifiers=\"c_1 tc_4 mc_2\"}}\n
\n
\n \n {{t \"mainApp.account.changePassword\"}}\n \n
\n \n
\n {{/grid-cell}}\n \n {{#if this.mediaQuery.isFromDesktop}}\n {{#grid-cell modifiers=\"c_4 height_auto\"}}\n
\n \n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n {{/if}}\n
\n \n */\n {\n \"id\": \"6hqxWmsx\",\n \"block\": \"[[[10,\\\"form\\\"],[14,0,\\\"grid grid_is-form grid_is-account-page\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"userInfoManager\\\",\\\"isPasswordExpiryVisible\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],null,[[\\\"modifiers\\\",\\\"label\\\",\\\"hasOrangeLabel\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\",\\\"helpTipComponent\\\",\\\"isReadOnly\\\",\\\"isEditing\\\",\\\"on-edit\\\"],[\\\"c_2 tc_2 mc_2 color_grey\\\",[28,[37,2],[\\\"mainApp.account.passwordExpiresIn\\\"],null],true,[28,[37,2],[\\\"mainApp.account.currentPassword\\\"],null],\\\"js-password-expiry\\\",[30,0,[\\\"userInfoManager\\\",\\\"passwordExpiryDate\\\"]],\\\"help-tips/password-expiration\\\",true,[28,[37,3],[[30,0,[\\\"userInfoManager\\\",\\\"isPasswordExpiryVisible\\\"]],[30,0,[\\\"userInfoManager\\\",\\\"isEditingPassword\\\"]]],null],[28,[37,4],[[30,0,[\\\"userInfoManager\\\"]],\\\"isEditingPassword\\\",true],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromTablet\\\"]],[[[6,[39,5],null,[[\\\"modifiers\\\"],[\\\"c_3\\\"]],[[\\\"default\\\"],[[[],[]]]]]],[]],null]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,6],[[28,[37,7],[[30,0,[\\\"userInfoManager\\\",\\\"isPasswordExpiryVisible\\\"]]],null],[30,0,[\\\"userInfoManager\\\",\\\"isEditingPassword\\\"]]],null],[[[1,\\\" \\\"],[1,[28,[35,1],null,[[\\\"modifiers\\\",\\\"label\\\",\\\"placeholder\\\",\\\"isLabelFaded\\\",\\\"class\\\",\\\"value\\\",\\\"inputType\\\",\\\"helpTipComponent\\\",\\\"on-input\\\",\\\"isError\\\"],[\\\"c_2 tc_2 mc_2\\\",[28,[37,2],[\\\"mainApp.account.newPassword\\\"],null],[28,[37,2],[\\\"mainApp.account.newPassword\\\"],null],true,\\\"js-new-password\\\",[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\",\\\"password\\\"]],\\\"password\\\",\\\"help-tips/password-requirements\\\",[28,[37,4],[[30,0,[\\\"userInfoManager\\\"]],\\\"hasPasswordServerErrors\\\",false],null],[28,[37,6],[[30,0,[\\\"userInfoManager\\\",\\\"hasPasswordServerErrors\\\"]],[28,[37,3],[[30,0,[\\\"errorsShown\\\",\\\"newPassword\\\"]],[28,[37,8],[[28,[37,8],[[28,[37,8],[[28,[37,8],[[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"password\\\"],null],\\\"isInvalid\\\"],null]],null]],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilTablet\\\"]],[[[6,[39,5],null,[[\\\"modifiers\\\"],[\\\"mc_2 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,1,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"newPassword\\\"]],\\\"password\\\",[28,[37,2],[\\\"mainApp.account.newPassword\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[1]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n \\\"],[1,[28,[35,1],null,[[\\\"modifiers\\\",\\\"label\\\",\\\"placeholder\\\",\\\"isLabelFaded\\\",\\\"class\\\",\\\"value\\\",\\\"inputType\\\",\\\"on-input\\\",\\\"isError\\\"],[\\\"c_2 tc_2 mc_2\\\",[28,[37,2],[\\\"mainApp.account.confirmPassword\\\"],null],[28,[37,2],[\\\"mainApp.account.confirmPassword\\\"],null],true,\\\"js-password-confirmation\\\",[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\",\\\"passwordVerification\\\"]],\\\"password\\\",[28,[37,4],[[30,0,[\\\"userInfoManager\\\"]],\\\"hasPasswordServerErrors\\\",false],null],[28,[37,6],[[30,0,[\\\"userInfoManager\\\",\\\"hasPasswordServerErrors\\\"]],[28,[37,3],[[30,0,[\\\"errorsShown\\\",\\\"passwordConfirmation\\\"]],[28,[37,8],[[28,[37,8],[[28,[37,8],[[28,[37,8],[[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"passwordVerification\\\"],null],\\\"isInvalid\\\"],null]],null]],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilDesktop\\\"]],[[[6,[39,5],null,[[\\\"modifiers\\\"],[\\\"mc_2 tc_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromTablet\\\"]],[[[1,\\\" \\\"],[8,[30,2,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"newPassword\\\"]],\\\"password\\\",[28,[37,2],[\\\"mainApp.account.newPassword\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n \\\"],[8,[30,2,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"passwordConfirmation\\\"]],\\\"passwordVerification\\\",[28,[37,2],[\\\"mainApp.account.passwordConfirmation\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[2]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[6,[39,5],null,[[\\\"modifiers\\\"],[\\\"c_1 tc_4 mc_2\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__actions-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__actions-save\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"button button_size_compact \\\",[52,[30,0,[\\\"changePasswordTask\\\",\\\"isRunning\\\"]],\\\"button_loading\\\"],\\\" js-change-password\\\"]]],[24,\\\"tabindex\\\",\\\"2\\\"],[24,4,\\\"submit\\\"],[4,[38,10],[\\\"click\\\",[28,[37,11],[[30,0,[\\\"changePasswordTask\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"mainApp.account.changePassword\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"tabindex\\\",\\\"2\\\"],[24,0,\\\"link link_color_grey js-cancel-change-password\\\"],[24,4,\\\"button\\\"],[4,[38,10],[\\\"click\\\",[30,0,[\\\"userInfoManager\\\",\\\"cancelEditingPassword\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"mainApp.account.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromDesktop\\\"]],[[[6,[39,5],null,[[\\\"modifiers\\\"],[\\\"c_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\",\\\"passwordWrapper\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,3,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"newPassword\\\"]],\\\"password\\\",[28,[37,2],[\\\"mainApp.account.newPassword\\\"],null]]],null],[1,\\\"\\\\n \\\"],[8,[30,3,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"passwordConfirmation\\\"]],\\\"passwordVerification\\\",[28,[37,2],[\\\"mainApp.account.passwordConfirmation\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[3]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null]],[]],null],[13],[1,\\\"\\\\n\\\"]],[\\\"options\\\",\\\"options\\\",\\\"options\\\"],false,[\\\"if\\\",\\\"grid-field\\\",\\\"t\\\",\\\"and\\\",\\\"set\\\",\\\"grid-cell\\\",\\\"or\\\",\\\"not\\\",\\\"get\\\",\\\"error-box\\\",\\\"on\\\",\\\"perform\\\"]]\",\n \"moduleName\": \"simon/components/account/box/password-form.hbs\",\n \"isStrictMode\": false\n });\n let UsernameFormComponent = (_dec = (0, _object.computed)(), _dec2 = (0, _emberConcurrencyDecorators.task)({\n drop: true\n }), (_class = class UsernameFormComponent extends _component2.default {\n constructor(owner, args) {\n super(owner, args);\n (0, _assertions.requireProperties)(this.args, 'userInfoManager', 'onShake');\n }\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n super.willDestroy();\n }\n get mediaQuery() {\n return (0, _lifeline.registerInstance)(this, _mediaQuery.default.create());\n }\n get userInfoManager() {\n return this.args.userInfoManager;\n }\n get userSettings() {\n return this.userInfoManager.userSettings;\n }\n get errorsShown() {\n return this.userInfoManager.errorsShown;\n }\n *changePasswordTask(event) {\n event.preventDefault();\n try {\n yield (0, _emberConcurrencyTs.taskFor)(this.userInfoManager.changePasswordTask).unlinked().perform();\n } catch (e) {\n if (e instanceof _errors.ValidationError) {\n this.args.onShake();\n this.userInfoManager.showPasswordErrors();\n } else {\n throw e;\n }\n }\n }\n }, (_applyDecoratedDescriptor(_class.prototype, \"mediaQuery\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"mediaQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changePasswordTask\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"changePasswordTask\"), _class.prototype)), _class));\n _exports.default = UsernameFormComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, UsernameFormComponent);\n});","define(\"simon/components/account/box/username-form\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"shared/lib/media-query\", \"shared/lib/errors\", \"shared/utils/lifeline\", \"@ember/object\", \"ember-concurrency-decorators\", \"ember-concurrency-ts\", \"shared/utils/assertions\"], function (_exports, _component, _templateFactory, _component2, _mediaQuery, _errors, _lifeline, _object, _emberConcurrencyDecorators, _emberConcurrencyTs, _assertions) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"shared/lib/media-query\",0,\"shared/lib/errors\",0,\"shared/utils/lifeline\",0,\"@ember/object\",0,\"ember-concurrency-decorators\",0,\"ember-concurrency-ts\",0,\"shared/utils/assertions\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n {{grid-field\n modifiers=\"c_2 tc_2 mc_2 color_grey\"\n isLabelFaded=true\n label=(t \"mainApp.account.fullName\")\n placeholder=(t \"mainApp.account.fullName\")\n class=\"js-full-name\"\n value=this.userInfoManager.fullName\n isReadOnly=true\n }}\n \n {{grid-field\n modifiers=\"c_2 tc_2 mc_2 color_grey\"\n isLabelFaded=true\n inputModifiers=\"is-bold\"\n label=(t \"mainApp.account.username\")\n placeholder=(t \"mainApp.account.placeholders.username\")\n class=\"js-username\"\n value=this.userSettings.userLoginName\n isReadOnly=(not this.userInfoManager.isEditingUsername)\n isError=(or\n this.userInfoManager.usernameServerError\n (and this.errorsShown.userLoginName (v-get this.userInfoManager \"userSettings.userLoginName\" \"isInvalid\"))\n )\n isEditing=this.userInfoManager.isEditingUsername\n on-edit=(if this.userInfoManager.canEditUsername (set this.userInfoManager \"isEditingUsername\" true))\n on-input=(set this.userInfoManager \"usernameServerError\" null)\n }}\n \n {{#if this.mediaQuery.isUntilDesktop}}\n {{#grid-cell modifiers=\"mc_2 tc_4 height_auto\"}}\n
\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{#if this.userInfoManager.isEditingUsername}}\n {{#if this.mediaQuery.isUntilDesktop}}\n {{#grid-cell modifiers=\"tc_2\"}}\n {{/grid-cell}}\n {{/if}}\n \n {{#grid-cell modifiers=\"c_1 tc_2\"}}\n
\n
\n \n {{t \"mainApp.account.saveUsername\"}}\n \n
\n \n \n
\n {{/grid-cell}}\n {{/if}}\n \n {{#if this.mediaQuery.isFromDesktop}}\n {{#grid-cell modifiers=\"c_4 height_auto\"}}\n
\n \n \n \n
\n {{/grid-cell}}\n {{/if}}\n
\n \n */\n {\n \"id\": \"4rdRlqjN\",\n \"block\": \"[[[10,\\\"form\\\"],[14,0,\\\"grid grid_is-form grid_is-account-page\\\"],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,0],null,[[\\\"modifiers\\\",\\\"isLabelFaded\\\",\\\"label\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\",\\\"isReadOnly\\\"],[\\\"c_2 tc_2 mc_2 color_grey\\\",true,[28,[37,1],[\\\"mainApp.account.fullName\\\"],null],[28,[37,1],[\\\"mainApp.account.fullName\\\"],null],\\\"js-full-name\\\",[30,0,[\\\"userInfoManager\\\",\\\"fullName\\\"]],true]]]],[1,\\\"\\\\n\\\\n \\\"],[1,[28,[35,0],null,[[\\\"modifiers\\\",\\\"isLabelFaded\\\",\\\"inputModifiers\\\",\\\"label\\\",\\\"placeholder\\\",\\\"class\\\",\\\"value\\\",\\\"isReadOnly\\\",\\\"isError\\\",\\\"isEditing\\\",\\\"on-edit\\\",\\\"on-input\\\"],[\\\"c_2 tc_2 mc_2 color_grey\\\",true,\\\"is-bold\\\",[28,[37,1],[\\\"mainApp.account.username\\\"],null],[28,[37,1],[\\\"mainApp.account.placeholders.username\\\"],null],\\\"js-username\\\",[30,0,[\\\"userSettings\\\",\\\"userLoginName\\\"]],[28,[37,2],[[30,0,[\\\"userInfoManager\\\",\\\"isEditingUsername\\\"]]],null],[28,[37,3],[[30,0,[\\\"userInfoManager\\\",\\\"usernameServerError\\\"]],[28,[37,4],[[30,0,[\\\"errorsShown\\\",\\\"userLoginName\\\"]],[28,[37,5],[[28,[37,5],[[28,[37,5],[[28,[37,5],[[30,0,[\\\"userInfoManager\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"userSettings.userLoginName\\\"],null],\\\"isInvalid\\\"],null]],null]],null],[30,0,[\\\"userInfoManager\\\",\\\"isEditingUsername\\\"]],[52,[30,0,[\\\"userInfoManager\\\",\\\"canEditUsername\\\"]],[28,[37,7],[[30,0,[\\\"userInfoManager\\\"]],\\\"isEditingUsername\\\",true],null]],[28,[37,7],[[30,0,[\\\"userInfoManager\\\"]],\\\"usernameServerError\\\",null],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilDesktop\\\"]],[[[6,[39,8],null,[[\\\"modifiers\\\"],[\\\"mc_2 tc_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,1,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"userLoginName\\\"]],\\\"userSettings.userLoginName\\\",[28,[37,1],[\\\"mainApp.account.username\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[1]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"userInfoManager\\\",\\\"isEditingUsername\\\"]],[[[41,[30,0,[\\\"mediaQuery\\\",\\\"isUntilDesktop\\\"]],[[[6,[39,8],null,[[\\\"modifiers\\\"],[\\\"tc_2\\\"]],[[\\\"default\\\"],[[[],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[6,[39,8],null,[[\\\"modifiers\\\"],[\\\"c_1 tc_2\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__actions-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__actions-save\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"button button_size_compact \\\",[52,[30,0,[\\\"changeUsernameTask\\\",\\\"isRunning\\\"]],\\\"button_loading\\\"],\\\" js-change-username\\\"]]],[24,\\\"tabindex\\\",\\\"2\\\"],[24,4,\\\"submit\\\"],[4,[38,10],[\\\"click\\\",[28,[37,11],[[30,0,[\\\"changeUsernameTask\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.saveUsername\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[11,\\\"button\\\"],[24,\\\"tabindex\\\",\\\"2\\\"],[24,0,\\\"link link_color_grey js-cancel-change-username\\\"],[24,4,\\\"button\\\"],[4,[38,10],[\\\"click\\\",[30,0,[\\\"userInfoManager\\\",\\\"cancelEditingUsername\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.cancel\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"mediaQuery\\\",\\\"isFromDesktop\\\"]],[[[6,[39,8],null,[[\\\"modifiers\\\"],[\\\"c_4 height_auto\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"grid__error grid__error_fill-parent\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,9],null,[[\\\"@model\\\",\\\"@isSmall\\\"],[[30,0,[\\\"userInfoManager\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,2,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"userLoginName\\\"]],\\\"userSettings.userLoginName\\\",[28,[37,1],[\\\"mainApp.account.username\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[2]]]]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[]],null],[13],[1,\\\"\\\\n\\\"]],[\\\"options\\\",\\\"options\\\"],false,[\\\"grid-field\\\",\\\"t\\\",\\\"not\\\",\\\"or\\\",\\\"and\\\",\\\"get\\\",\\\"if\\\",\\\"set\\\",\\\"grid-cell\\\",\\\"error-box\\\",\\\"on\\\",\\\"perform\\\"]]\",\n \"moduleName\": \"simon/components/account/box/username-form.hbs\",\n \"isStrictMode\": false\n });\n let UsernameFormComponent = (_dec = (0, _object.computed)(), _dec2 = (0, _emberConcurrencyDecorators.task)({\n drop: true\n }), (_class = class UsernameFormComponent extends _component2.default {\n constructor(owner, args) {\n super(owner, args);\n (0, _assertions.requireProperties)(this.args, 'userInfoManager', 'onShake');\n }\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n super.willDestroy();\n }\n get mediaQuery() {\n return (0, _lifeline.registerInstance)(this, _mediaQuery.default.create());\n }\n get userInfoManager() {\n return this.args.userInfoManager;\n }\n get userSettings() {\n return this.userInfoManager.userSettings;\n }\n get errorsShown() {\n return this.userInfoManager.errorsShown;\n }\n *changeUsernameTask(event) {\n event.preventDefault();\n try {\n if (this.userSettings.isAttributeDirty('userLoginName')) {\n yield (0, _emberConcurrencyTs.taskFor)(this.userInfoManager.changeUsernameTask).unlinked().perform();\n } else {\n this.userInfoManager.cancelEditingUsername();\n }\n } catch (e) {\n if (e instanceof _errors.ValidationError) {\n this.args.onShake();\n this.userInfoManager.showUserNameErrors();\n } else {\n throw e;\n }\n }\n }\n }, (_applyDecoratedDescriptor(_class.prototype, \"mediaQuery\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"mediaQuery\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeUsernameTask\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"changeUsernameTask\"), _class.prototype)), _class));\n _exports.default = UsernameFormComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, UsernameFormComponent);\n});","define(\"simon/components/account/change-password\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"simon/lib/password-wrapper\", \"@ember/service\", \"tracked-built-ins\", \"@ember/object\", \"shared/utils/lifeline\", \"ember-concurrency-ts\", \"@ember/debug\"], function (_exports, _component, _templateFactory, _component2, _passwordWrapper, _service, _trackedBuiltIns, _object, _lifeline, _emberConcurrencyTs, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"simon/lib/password-wrapper\",0,\"@ember/service\",0,\"tracked-built-ins\",0,\"@ember/object\",0,\"shared/utils/lifeline\",0,\"ember-concurrency-ts\",0,\"@ember/debug\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n
\n
\n
\n
\n
\n {{#user-title\n isCollapsed=false\n modifiers=\"type_trigger\"\n class=\"js-user-menu-trigger\"\n as |options|\n }}\n {{options.user-menu\n canSwitchProfiles=false\n hasAccountPreferences=false\n shouldHidePortalLinks=true\n }}\n {{/user-title}}\n
\n
\n \n
{{@title}}
\n
{{@description}}
\n \n \n
\n \n \n \n
\n \n \n \n \n \n \n {{#liquid-if @serverError}}\n
\n {{@serverError}}\n
\n {{/liquid-if}}\n \n
\n
\n \n {{t \"login.changePassword\"}}\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n \n
\n
\n \n */\n {\n \"id\": \"sGhD9HAf\",\n \"block\": \"[[[10,0],[14,0,\\\"full-modal\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__container full-modal__container_has-user-title full-modal__container_size_small\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__center\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__header\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__user-title\\\"],[12],[1,\\\"\\\\n\\\"],[6,[39,0],null,[[\\\"isCollapsed\\\",\\\"modifiers\\\",\\\"class\\\"],[false,\\\"type_trigger\\\",\\\"js-user-menu-trigger\\\"]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[1,[28,[30,1,[\\\"user-menu\\\"]],null,[[\\\"canSwitchProfiles\\\",\\\"hasAccountPreferences\\\",\\\"shouldHidePortalLinks\\\"],[false,false,true]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"full-modal__title js-title\\\"],[12],[1,[30,2]],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__subtitle js-description\\\"],[12],[1,[30,3]],[13],[1,\\\"\\\\n\\\\n \\\"],[10,\\\"form\\\"],[14,0,\\\"full-modal__content full-modal__content_has-padding full-modal__content_has-margin\\\"],[14,\\\"action\\\",\\\"javascript:void(0)\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"js-new-password-content\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,1],[[24,0,\\\"js-new-password\\\"]],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@tabindex\\\",\\\"@autofocus\\\",\\\"@value\\\",\\\"@onBlur\\\",\\\"@onInput\\\",\\\"@isInvalid\\\"],[[28,[37,2],[\\\"login.newPassword\\\"],null],\\\"password\\\",\\\"password\\\",\\\"1\\\",true,[30,0,[\\\"passwordWrapper\\\",\\\"password\\\"]],[28,[37,3],[[30,0,[\\\"errorsShown\\\"]],\\\"password\\\",true],null],[30,4],[28,[37,4],[[30,0,[\\\"hasServerError\\\"]],[28,[37,5],[[30,0,[\\\"errorsShown\\\",\\\"password\\\"]],[28,[37,6],[[28,[37,6],[[28,[37,6],[[28,[37,6],[[30,0,[\\\"passwordWrapper\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"password\\\"],null],\\\"isInvalid\\\"],null]],null]],null]]],null],[1,\\\"\\\\n\\\\n \\\"],[8,[39,1],[[24,0,\\\"input_position_bottom js-password-verification\\\"]],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@tabindex\\\",\\\"@value\\\",\\\"@onBlur\\\",\\\"@onInput\\\",\\\"@isInvalid\\\"],[[28,[37,2],[\\\"login.verifyPassword\\\"],null],\\\"password\\\",\\\"password\\\",\\\"1\\\",[30,0,[\\\"passwordWrapper\\\",\\\"passwordVerification\\\"]],[28,[37,3],[[30,0,[\\\"errorsShown\\\"]],\\\"passwordVerification\\\",true],null],[30,4],[28,[37,4],[[30,0,[\\\"hasServerError\\\"]],[28,[37,5],[[30,0,[\\\"errorsShown\\\",\\\"passwordVerification\\\"]],[28,[37,6],[[28,[37,6],[[28,[37,6],[[28,[37,6],[[30,0,[\\\"passwordWrapper\\\"]],\\\"validations\\\"],null],\\\"attrs\\\"],null],\\\"passwordVerification\\\"],null],\\\"isInvalid\\\"],null]],null]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,7],null,[[\\\"@isSmall\\\",\\\"@model\\\"],[true,[30,0,[\\\"passwordWrapper\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n \\\"],[8,[30,5,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"password\\\"]],\\\"password\\\",[28,[37,2],[\\\"login.newPassword\\\"],null]]],null],[1,\\\"\\\\n \\\"],[8,[30,5,[\\\"error\\\"]],null,[[\\\"@show\\\",\\\"@name\\\",\\\"@label\\\"],[[30,0,[\\\"errorsShown\\\",\\\"passwordVerification\\\"]],\\\"passwordVerification\\\",[28,[37,2],[\\\"login.verifyPassword\\\"],null]]],null],[1,\\\"\\\\n \\\"]],[5]]]]],[1,\\\"\\\\n\\\\n\\\"],[6,[39,8],[[30,6]],null,[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"full-modal__error-item js-server-error u-margin-top-10\\\"],[12],[1,\\\"\\\\n \\\"],[1,[30,6]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__button-container\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"full-modal__button\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"button button_size_compact \\\",[52,[30,7],\\\"button_loading\\\"],\\\" js-change-password\\\"]]],[24,\\\"tabindex\\\",\\\"3\\\"],[24,4,\\\"submit\\\"],[4,[38,10],[\\\"click\\\",[30,0,[\\\"handleSubmit\\\"]]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"login.changePassword\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"full-modal__footer u-mobile-only\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"full-modal__contact js-open-contact-mobile\\\"],[24,4,\\\"button\\\"],[4,[38,10],[\\\"click\\\",[30,8]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,2],[\\\"contactForm.title\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[8,[39,11],null,[[\\\"@isCentered\\\"],[true]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[14,0,\\\"full-modal__powered-by\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,11],null,null,null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[\\\"options\\\",\\\"@title\\\",\\\"@description\\\",\\\"@onInput\\\",\\\"options\\\",\\\"@serverError\\\",\\\"@isSubmitting\\\",\\\"@onOpenContactForm\\\"],false,[\\\"user-title\\\",\\\"x-input\\\",\\\"t\\\",\\\"set\\\",\\\"or\\\",\\\"and\\\",\\\"get\\\",\\\"error-box\\\",\\\"liquid-if\\\",\\\"if\\\",\\\"on\\\",\\\"powered-by\\\"]]\",\n \"moduleName\": \"simon/components/account/change-password.hbs\",\n \"isStrictMode\": false\n });\n const ERROR_FIELDS = ['password', 'passwordVerification'];\n let ChangePasswordComponent = (_class = class ChangePasswordComponent extends _component2.default {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"passwordWrapper\", (0, _lifeline.registerInstance)(this, new _passwordWrapper.default(this)));\n _initializerDefineProperty(this, \"shaker\", _descriptor, this);\n _initializerDefineProperty(this, \"errorsShown\", _descriptor2, this);\n }\n get hasServerError() {\n return !!this.args.serverError || !!this.args.hasServerError;\n }\n handleSubmit() {\n if (this.passwordWrapper.validations.isInvalid) {\n this.showErrors();\n (0, _emberConcurrencyTs.taskFor)(this.shaker.shake).perform('.js-new-password-content');\n } else {\n let password = this.passwordWrapper.password;\n (false && !(!!password) && (0, _debug.assert)(`${this.toString()}#handleSubmit: Expected a password.`, !!password));\n this.args.onSubmit(password);\n }\n }\n showErrors() {\n let errorsShown = {};\n for (let key of ERROR_FIELDS) {\n errorsShown[key] = true;\n }\n this.errorsShown = errorsShown;\n }\n toString() {\n return this.constructor.name;\n }\n willDestroy() {\n (0, _lifeline.runDisposables)(this);\n super.willDestroy();\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"shaker\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"errorsShown\", [_trackedBuiltIns.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {};\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"handleSubmit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleSubmit\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showErrors\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showErrors\"), _class.prototype)), _class);\n _exports.default = ChangePasswordComponent;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ChangePasswordComponent);\n});","define(\"simon/components/account/exit-confirmation\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\"eaimeta@70e063a35619d71f\n var _default = _component.default.extend();\n _exports.default = _default;\n});","define(\"simon/components/account/refresh-confirmation\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\"eaimeta@70e063a35619d71f\n var _default = _component.default.extend();\n _exports.default = _default;\n});","define(\"simon/components/animate-entry\", [\"exports\", \"shared/components/animate-entry\"], function (_exports, _animateEntry) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animateEntry.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"shared/components/animate-entry\"eaimeta@70e063a35619d71f\n});","define(\"simon/components/animated-borders\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\"], function (_exports, _component, _templateFactory, _component2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n {{#if this.hasBorderBottom}}\n
\n {{/if}}\n \n {{#if this.hasSideBorders}}\n
\n
\n {{/if}}\n \n */\n {\n \"id\": \"SKMNqCIf\",\n \"block\": \"[[[10,0],[15,0,[29,[\\\"animated-border \\\",[52,[30,0,[\\\"isFocused\\\"]],\\\"animated-border_is-focused\\\"],\\\" animated-border_position_top\\\"]]],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"hasBorderBottom\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"animated-border \\\",[52,[30,0,[\\\"isFocused\\\"]],\\\"animated-border_is-focused\\\"],\\\" animated-border_position_bottom\\\"]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasSideBorders\\\"]],[[[1,\\\" \\\"],[10,0],[15,0,[29,[\\\"animated-border \\\",[52,[30,0,[\\\"isFocused\\\"]],\\\"animated-border_is-focused\\\"],\\\" animated-border_position_left\\\"]]],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[15,0,[29,[\\\"animated-border \\\",[52,[30,0,[\\\"isFocused\\\"]],\\\"animated-border_is-focused\\\"],\\\" animated-border_position_right\\\"]]],[12],[13],[1,\\\"\\\\n\\\"]],[]],null]],[],false,[\\\"if\\\"]]\",\n \"moduleName\": \"simon/components/animated-borders.hbs\",\n \"isStrictMode\": false\n });\n class AnimatedBorders extends _component2.default {\n get isFocused() {\n var _this$args$isFocused;\n return (_this$args$isFocused = this.args.isFocused) !== null && _this$args$isFocused !== void 0 ? _this$args$isFocused : false;\n }\n get hasSideBorders() {\n var _this$args$hasSideBor;\n return (_this$args$hasSideBor = this.args.hasSideBorders) !== null && _this$args$hasSideBor !== void 0 ? _this$args$hasSideBor : true;\n }\n get hasBorderBottom() {\n var _this$args$hasBorderB;\n return (_this$args$hasBorderB = this.args.hasBorderBottom) !== null && _this$args$hasBorderB !== void 0 ? _this$args$hasBorderB : true;\n }\n }\n _exports.default = AnimatedBorders;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AnimatedBorders);\n});","define(\"simon/components/animated-search\", [\"exports\", \"shared/components/animated-search\"], function (_exports, _animatedSearch) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _animatedSearch.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"shared/components/animated-search\"eaimeta@70e063a35619d71f\n});","define(\"simon/components/application-errors/bad-browser\", [\"exports\", \"shared/components/application-errors/bad-browser\"], function (_exports, _badBrowser) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _badBrowser.default;\n }\n });\n 0; //eaimeta@70e063a35619d71f0,\"shared/components/application-errors/bad-browser\"eaimeta@70e063a35619d71f\n});","define(\"simon/components/authentication-devices\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"ember-concurrency-ts\", \"ember-concurrency-decorators\", \"@ember/object\", \"@ember/debug\"], function (_exports, _component, _templateFactory, _component2, _service, _tracking, _emberConcurrencyTs, _emberConcurrencyDecorators, _object, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _class, _descriptor, _descriptor2;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/service\",0,\"@glimmer/tracking\",0,\"ember-concurrency-ts\",0,\"ember-concurrency-decorators\",0,\"@ember/object\",0,\"@ember/debug\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n
\n \n
\n {{#if this.hasAddDevicesText}}\n {{t \"mainApp.account.setUpYourDevices\"}}\n {{else}}\n {{t \"mainApp.account.twoStepAuthentication\"}}\n {{if (not this.isMFAEnabled) (t \"mainApp.account.disabled\")}}\n {{/if}}\n
\n
\n {{#if this.isMFAEnabled}}\n \n \n {{/if}}\n
\n \n
\n
\n
\n \n
\n
\n
\n {{#if this.hasAddDevicesText}}\n {{t \"mainApp.account.addDevicesAuthenticationDescription\"}}\n {{else}}\n {{t \"mainApp.account.authenticationDescription\"}}\n {{#if this.isMFAEnabled}}\n {{t \"mainApp.account.turnOffAuthentication\"}}\n {{else}}\n {{t \"mainApp.account.turnOnAuthentication\"}}\n {{/if}}\n {{t \"mainApp.account.maxDevices\"}}\n {{/if}}\n
\n \n {{#if this.deviceToRemove}}\n {{authentication-devices/remove-device\n model=this.deviceToRemove\n isDeleting=this.confirmDeleteDeviceTask.isRunning\n on-close=(set this \"deviceToRemove\" null)\n on-confirm=(perform-task this.confirmDeleteDeviceTask)\n }}\n {{/if}}\n \n {{#liquid-if this.isMFAEnabled}}\n
\n {{#if this.accountManager.queryDeviceListTask.isRunning}}\n
\n
\n {{else}}\n {{#each this.allDevices as |device|}}\n {{#liquid-bind\n device\n class=(if device.isNew \"js-authentication-device\")\n }}\n {{authentication-devices/device\n device=device\n status=device.status\n on-delete=this.deleteDevice\n sMSCarrierList=this.sMSCarrierList\n on-save=(fn this.saveDevice device)\n on-resend-code=(fn this.saveDevice device)\n on-submit-pin=(fn this.submitPin device)\n }}\n {{/liquid-bind}}\n {{/each}}\n {{/if}}\n
\n \n {{#if this.canShowAddDevices}}\n
\n
\n \n {{t \"mainApp.account.addAnotherEmail\"}}\n \n
\n
\n \n {{t \"mainApp.account.addAnotherPhoneNumber\"}}\n \n
\n
\n {{/if}}\n {{/liquid-if}}\n
\n \n \n */\n {\n \"id\": \"2QOQtozu\",\n \"block\": \"[[[10,0],[14,0,\\\"account-box account-box_is-mfa\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__header account-box__header_is-left-mobile\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__header-title js-header-title\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasAddDevicesText\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.setUpYourDevices\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.twoStepAuthentication\\\"],null]],[1,\\\"\\\\n \\\"],[1,[52,[28,[37,2],[[30,0,[\\\"isMFAEnabled\\\"]]],null],[28,[37,1],[\\\"mainApp.account.disabled\\\"],null]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__right-container\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isMFAEnabled\\\"]],[[[1,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"account-box__refresh account-box__refresh_has-margin-right js-refresh\\\"],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"accountManager\\\",\\\"refreshTask\\\"]]],null]],null],[12],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__toggle js-mfa-toggle\\\"],[12],[1,\\\"\\\\n \\\"],[8,[39,5],[[24,0,\\\"js-mfa-clickable\\\"]],[[\\\"@isChecked\\\",\\\"@onChange\\\"],[[30,0,[\\\"isMFAEnabled\\\"]],[28,[37,4],[[30,0,[\\\"toggleMFATask\\\"]]],null]]],null],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\\n \\\"],[10,0],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"authentication-devices\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"authentication-devices__description js-devices-description\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasAddDevicesText\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.addDevicesAuthenticationDescription\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.authenticationDescription\\\"],null]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isMFAEnabled\\\"]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.turnOffAuthentication\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.turnOnAuthentication\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[1,[28,[35,1],[\\\"mainApp.account.maxDevices\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"deviceToRemove\\\"]],[[[1,\\\" \\\"],[1,[28,[35,6],null,[[\\\"model\\\",\\\"isDeleting\\\",\\\"on-close\\\",\\\"on-confirm\\\"],[[30,0,[\\\"deviceToRemove\\\"]],[30,0,[\\\"confirmDeleteDeviceTask\\\",\\\"isRunning\\\"]],[28,[37,7],[[30,0],\\\"deviceToRemove\\\",null],null],[28,[37,4],[[30,0,[\\\"confirmDeleteDeviceTask\\\"]]],null]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[6,[39,8],[[30,0,[\\\"isMFAEnabled\\\"]]],null,[[\\\"default\\\"],[[[[1,\\\" \\\"],[10,0],[14,0,\\\"js-authentication-devices authentication-devices__body\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"accountManager\\\",\\\"queryDeviceListTask\\\",\\\"isRunning\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"loading-mask\\\"],[14,5,\\\"width: 300px;margin-bottom:25px;height: 30px;\\\"],[12],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"loading-mask\\\"],[14,5,\\\"width: 300px;height: 30px;\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"allDevices\\\"]]],null]],null],null,[[[6,[39,11],[[30,1]],[[\\\"class\\\"],[[52,[30,1,[\\\"isNew\\\"]],\\\"js-authentication-device\\\"]]],[[\\\"default\\\"],[[[[1,\\\" \\\"],[1,[28,[35,12],null,[[\\\"device\\\",\\\"status\\\",\\\"on-delete\\\",\\\"sMSCarrierList\\\",\\\"on-save\\\",\\\"on-resend-code\\\",\\\"on-submit-pin\\\"],[[30,1],[30,1,[\\\"status\\\"]],[30,0,[\\\"deleteDevice\\\"]],[30,0,[\\\"sMSCarrierList\\\"]],[28,[37,13],[[30,0,[\\\"saveDevice\\\"]],[30,1]],null],[28,[37,13],[[30,0,[\\\"saveDevice\\\"]],[30,1]],null],[28,[37,13],[[30,0,[\\\"submitPin\\\"]],[30,1]],null]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[1]],null]],[]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"canShowAddDevices\\\"]],[[[1,\\\" \\\"],[10,0],[14,0,\\\"account-box__add-fields\\\"],[12],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__add-field\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"link link_icon_add link_icon-no-padding js-another-email\\\"],[24,\\\"tabindex\\\",\\\"2\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"addDevice\\\"]],\\\"Email\\\"],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.addAnotherEmail\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[10,0],[14,0,\\\"account-box__add-field\\\"],[12],[1,\\\"\\\\n \\\"],[11,\\\"button\\\"],[24,0,\\\"link link_icon_add link_icon-no-padding js-another-phone\\\"],[24,\\\"tabindex\\\",\\\"2\\\"],[24,4,\\\"button\\\"],[4,[38,3],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"addDevice\\\"]],\\\"SMS\\\"],null]],null],[12],[1,\\\"\\\\n \\\"],[1,[28,[35,1],[\\\"mainApp.account.addAnotherPhoneNumber\\\"],null]],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]]]],[1,\\\" \\\"],[13],[1,\\\"\\\\n \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"device\\\"],false,[\\\"if\\\",\\\"t\\\",\\\"not\\\",\\\"on\\\",\\\"perform-task\\\",\\\"slide-checkbox\\\",\\\"authentication-devices/remove-device\\\",\\\"set\\\",\\\"liquid-if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"liquid-bind\\\",\\\"authentication-devices/device\\\",\\\"fn\\\"]]\",\n \"moduleName\": \"simon/components/authentication-devices.hbs\",\n \"isStrictMode\": false\n });\n let AuthenticationDevices = (_dec = (0, _object.computed)('session.data.isMFAEnabled'), _dec2 = (0, _emberConcurrencyDecorators.task)({\n enqueue: true\n }), (_class = class AuthenticationDevices extends _component2.default {\n constructor(context, args) {\n super(context, args);\n _initializerDefineProperty(this, \"session\", _descriptor, this);\n _initializerDefineProperty(this, \"deviceToRemove\", _descriptor2, this);\n (0, _emberConcurrencyTs.taskFor)(this.accountManager.queryDeviceListTask).perform();\n }\n get accountManager() {\n return this.args.accountManager;\n }\n get hasAddDevicesText() {\n var _this$args$hasAddDevi;\n return (_this$args$hasAddDevi = this.args.hasAddDevicesText) !== null && _this$args$hasAddDevi !== void 0 ? _this$args$hasAddDevi : false;\n }\n get allDevices() {\n return this.accountManager.allDevices;\n }\n get sMSCarrierList() {\n return this.accountManager.sMSCarrierList;\n }\n get isMFAEnabled() {\n var _this$session$data$is, _this$session$data;\n return (_this$session$data$is = (_this$session$data = this.session.data) === null || _this$session$data === void 0 ? void 0 : _this$session$data.isMFAEnabled) !== null && _this$session$data$is !== void 0 ? _this$session$data$is : false;\n }\n get canShowAddDevices() {\n return this.accountManager.allDevices.length < 5;\n }\n *toggleMFATask(isChecked) {\n yield this.args.onToggleMFA(isChecked);\n }\n *confirmDeleteDeviceTask() {\n (false && !(!!this.deviceToRemove) && (0, _debug.assert)(`${this.toString()}#confirmDeleteDeviceTask: Expected a deviceToRemove`, !!this.deviceToRemove));\n yield (0, _emberConcurrencyTs.taskFor)(this.accountManager.deleteDeviceTask).perform(this.deviceToRemove);\n this.deviceToRemove = null;\n }\n deleteDevice(device) {\n if (device.isNew) {\n this.accountManager.deleteNewDevice(device);\n } else {\n this.deviceToRemove = device;\n }\n }\n addDevice(type) {\n this.accountManager.addAuthenticationDevice(type);\n }\n saveDevice(device) {\n this.accountManager.save(device);\n }\n submitPin(device, vc) {\n return this.accountManager.submitPin(device, vc);\n }\n }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"deviceToRemove\", [_tracking.tracked], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return null;\n }\n }), _applyDecoratedDescriptor(_class.prototype, \"isMFAEnabled\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"isMFAEnabled\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleMFATask\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleMFATask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDeleteDeviceTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDeleteDeviceTask\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteDevice\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteDevice\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addDevice\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addDevice\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveDevice\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveDevice\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submitPin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitPin\"), _class.prototype)), _class));\n _exports.default = AuthenticationDevices;\n (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AuthenticationDevices);\n});","define(\"simon/components/authentication-devices/device\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"ember-cp-validations\", \"shared/utils/lifeline\", \"shared/lib/state-machine\", \"shared/utils/computed\", \"ember-concurrency\", \"@ember/object/computed\"], function (_exports, _component, _object, _service, _emberCpValidations, _lifeline, _stateMachine, _computed, _emberConcurrency, _computed2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"ember-cp-validations\",0,\"shared/utils/lifeline\",0,\"shared/lib/state-machine\",0,\"shared/utils/computed\",0,\"ember-concurrency\",0,\"@ember/object/computed\"eaimeta@70e063a35619d71f\n var _default = _component.default.extend((0, _emberCpValidations.buildValidations)({\n vc: (0, _emberCpValidations.validator)('presence', true)\n }), {\n /**\n * @type {Service}\n */\n shaker: (0, _service.inject)(),\n /**\n * @type {Services/Notification}\n */\n notification: (0, _service.inject)(),\n /**\n * @type {Services/Intl}\n */\n intl: (0, _service.inject)(),\n vc: null,\n /**\n * @type {String}\n */\n status: null,\n /**\n * @type {Array}\n */\n classNames: ['authentication-devices__device', 'js-device'],\n /**\n * @type {Array}\n */\n classNameBindings: ['jsClass'],\n /**\n * @type {Object}\n * - {String} carrierId\n * - {String} carrierName\n */\n selectedCarrier: (0, _object.computed)('device.carrierId', 'sMSCarrierList.@each.carrierId', {\n get() {\n return this.get('sMSCarrierList').findBy('carrierId', this.get('device.carrierId'));\n },\n set(key, val) {\n // If carrierId is empty, then we want the carrierName to be empty (instead of being \"I don't know\")\n // since that's a UI only thing.\n this.get('device').setProperties({\n 'carrierId': val.carrierId,\n 'carrierName': val.carrierId ? val.carrierName : ''\n });\n return this.get('sMSCarrierList').findBy('carrierId', this.get('device.carrierId'));\n }\n }),\n /**\n * @type {StateMachine}\n */\n stateMachine: (0, _object.computed)(function () {\n let stateMachine = _stateMachine.default.create({\n options: {\n 'displaying-verified': {\n actions: this.get('device.isRegistrationEmail') ? {} : {\n edit: machine => {\n machine.transitionTo('editing-verified');\n },\n delete: () => {\n this.delete();\n },\n stateDidChange: (machine, newStatus) => {\n if (newStatus === 'Unverified') {\n machine.transitionTo('displaying-unverified');\n }\n }\n }\n },\n 'displaying-unverified': {\n actions: {\n edit: machine => {\n machine.transitionTo('editing-unverified');\n },\n verify: machine => {\n machine.transitionTo('verifying');\n },\n delete: () => {\n this.delete();\n },\n stateDidChange: (machine, newStatus) => {\n if (newStatus === 'Verified') {\n machine.transitionTo('displaying-verified');\n }\n }\n }\n },\n 'editing-verified': {\n onEnter: () => {\n this.get('device').startEditing();\n },\n onLeave: () => {\n this.get('device').stopEditing();\n },\n actions: {\n cancel: machine => {\n this.get('device').rollback();\n machine.transitionTo('displaying-verified');\n },\n save: machine => {\n this.get('saveTask').perform(machine);\n },\n delete: () => {\n this.delete();\n },\n willDestroyComponent: machine => {\n machine.trigger('cancel');\n }\n }\n },\n 'editing-unverified': {\n onEnter: () => {\n this.get('device').startEditing();\n },\n onLeave: () => {\n this.get('device').stopEditing();\n },\n actions: {\n cancel: machine => {\n this.get('device').rollback();\n machine.transitionTo('displaying-unverified');\n },\n save: machine => {\n this.get('saveTask').perform(machine);\n },\n delete: () => {\n this.delete();\n },\n willDestroyComponent: machine => {\n machine.trigger('cancel');\n }\n }\n },\n new: {\n actions: {\n cancel: () => {\n this.delete();\n },\n save: machine => {\n this.get('saveTask').perform(machine);\n },\n delete: () => {\n this.delete();\n }\n }\n },\n verifying: {\n onLeave: () => {\n this.setProperties({\n vc: null,\n 'showError.vc': false,\n verificationPinError: null\n });\n },\n actions: {\n verifyLater: machine => {\n machine.transitionTo('displaying-unverified');\n },\n resendCode: machine => {\n this.get('resendCodeTask').perform(machine);\n },\n submitPin: machine => {\n this.get('submitPinTask').perform(machine);\n },\n delete: () => {\n this.delete();\n },\n stateDidChange: (machine, newStatus) => {\n if (newStatus === 'Verified') {\n machine.transitionTo('displaying-verified');\n }\n }\n }\n }\n }\n });\n return (0, _lifeline.registerInstance)(this, stateMachine);\n }),\n verificationPinError: null,\n hasVerificationPinError: (0, _computed2.bool)('verificationPinError'),\n /**\n * @type {Boolean}\n */\n isEditing: (0, _object.computed)('stateMachine.currentState', function () {\n return this.get('stateMachine').checkCurrentState('editing-verified', 'editing-unverified', 'new');\n }),\n /**\n * @type {String}\n */\n labelIconClass: (0, _object.computed)('stateMachine.currentState', function () {\n if (this.get('stateMachine').checkCurrentState('displaying-verified')) {\n return 'account-box__check-icon js-check-icon';\n }\n if (this.get('stateMachine').checkCurrentState('displaying-unverified')) {\n return 'account-box__clock-icon js-clock-icon';\n }\n return '';\n }),\n /**\n * @type {Boolean}\n */\n isPhone: (0, _computed2.readOnly)('device.isPhone'),\n 'on-save': null,\n 'on-submit-pin': null,\n /**\n * @param {StateMachine} machine\n */\n saveTask: (0, _emberConcurrency.task)(function* (machine) {\n if (!this.get('device').isDirty()) {\n this.get('stateMachine').rollbackState();\n return;\n }\n if (this.get('device.validations.attrs.address.isValid')) {\n yield this.get('on-save')();\n this.get('notification').show(this.intl.t('mainApp.account.deviceUpdated'));\n machine.transitionTo('verifying');\n } else {\n this.showAddressFormErrors();\n }\n }).drop(),\n /**\n * @param {StateMachine} machine\n */\n submitPinTask: (0, _emberConcurrency.task)(function* (machine) {\n if (this.get('validations.attrs.vc.isValid')) {\n yield this.get('on-submit-pin')(this.get('vc'));\n }\n if (this.get('device.isVerified')) {\n this.get('notification').show(this.intl.t('mainApp.account.deviceSuccessfullyValidated'));\n if (machine.checkCurrentState('verifying')) {\n machine.transitionTo('displaying-verified');\n }\n } else {\n this.showVerificationPinErrors();\n }\n }).drop(),\n resendCodeTask: (0, _emberConcurrency.task)(function* () {\n yield this.get('on-resend-code')();\n this.get('notification').show(this.intl.t('mainApp.account.codeResent'));\n this.set('showError.vc', false);\n this.set('verificationPinError', null);\n }).drop(),\n init() {\n if (this.get('device.isNew')) {\n this.get('stateMachine').transitionTo('new');\n } else {\n this.get('stateMachine').transitionTo(`displaying-${this.get('device.isVerified') ? 'verified' : 'unverified'}`);\n }\n return this._super(...arguments);\n },\n willDestroyElement() {\n // In case of refresh while currently editing, rollback device and stop editing.\n if (this.get('stateMachine').checkHasAction('willDestroyComponent')) {\n this.get('stateMachine').trigger('willDestroyComponent');\n }\n (0, _lifeline.runDisposables)(this);\n return this._super(...arguments);\n },\n /**\n * @type {String}\n */\n jsClass: (0, _object.computed)('device.id', 'device.isNew', function () {\n if (this.get('device.isNew')) {\n return 'js-device-new';\n }\n return `js-device-${this.get('device.id')}`;\n }),\n /**\n * @type {Object}\n */\n showError: (0, _computed.overridableComputed)(() => ({})),\n showAddressFormErrors() {\n this.setProperties({\n 'showError.address': true,\n 'showError.carrierId': true\n });\n this.shaker.shake.perform(this.element.querySelector('.js-address-form'));\n },\n showVerificationPinErrors() {\n this.set('showError.vc', true);\n this.shaker.shake.perform(this.element.querySelector('.js-verification-pin-form'));\n if (this.get('validations.attrs.vc.isValid')) {\n this.set('verificationPinError', this.get('device.comment'));\n }\n },\n /**\n * Passed from template.\n *\n * @type {AuthenticationDevice}\n */\n device: null,\n /**\n * Passed from the template.\n */\n sMSCarrierList: null,\n delete() {\n this.get('on-delete')(this.get('device'));\n },\n actions: {\n /**\n * @param {String} action\n */\n triggerAction(action) {\n this.get('stateMachine').trigger(action);\n },\n update() {\n this.get('accountManager').update(this.get('device'));\n },\n didUpdate() {\n if (this.stateMachine.checkHasAction('stateDidChange')) {\n this.stateMachine.trigger('stateDidChange', this.status);\n }\n }\n }\n });\n _exports.default = _default;\n});","define(\"simon/components/authentication-devices/remove-device\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n 0; //eaimeta@70e063a35619d71f0,\"@ember/component\"eaimeta@70e063a35619d71f\n var _default = _component.default.extend();\n _exports.default = _default;\n});","define(\"simon/components/authentication-flow/dialog\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"simon/lib/features/login/main\", \"@ember/object\", \"@ember/debug\", \"@ember/service\", \"shared/utils/lifeline\", \"ember-concurrency-decorators\", \"ember-concurrency-ts\", \"@glimmer/tracking\"], function (_exports, _component, _templateFactory, _component2, _main, _object, _debug, _service, _lifeline, _emberConcurrencyDecorators, _emberConcurrencyTs, _tracking) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n 0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"simon/lib/features/login/main\",0,\"@ember/object\",0,\"@ember/debug\",0,\"@ember/service\",0,\"shared/utils/lifeline\",0,\"ember-concurrency-decorators\",0,\"ember-concurrency-ts\",0,\"@glimmer/tracking\",0,\"@ember/template-factory\"eaimeta@70e063a35619d71f\n function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n function _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\n function _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\n const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n /*\n {{#x-modal modifiers=\"is-large\"}}\n