diff --git a/3075/flutter_bootstrap.js b/3075/flutter_bootstrap.js index 25411484f..564a9833d 100644 --- a/3075/flutter_bootstrap.js +++ b/3075/flutter_bootstrap.js @@ -11,6 +11,6 @@ _flutter.buildConfig = {"engineRevision":"edd8546116457bdf1c5bdfb13ecb9463d2bb5e _flutter.loader.load({ serviceWorkerSettings: { - serviceWorkerVersion: "4132009045" + serviceWorkerVersion: "608255248" } }); diff --git a/3075/flutter_service_worker.js b/3075/flutter_service_worker.js index e797e361c..d15d79f26 100644 --- a/3075/flutter_service_worker.js +++ b/3075/flutter_service_worker.js @@ -308,7 +308,7 @@ const RESOURCES = {"splash/splash.js": "123c400b58bea74c1305ca3ac966748d", "assets/NOTICES": "bb172052d2e008bc32809b9de1c67a0d", "index.html": "4788a009ed07611f0563e615d89349c2", "/": "4788a009ed07611f0563e615d89349c2", -"main.dart.js": "2e1ad28e7c44e31573b128b3bca8c57f", +"main.dart.js": "29ab76a032ee5d5b554fdf6a4b70d326", "version.json": "9e5bfd2e8f5c4ac4e75261ce2b00d1bd", "main.dart.js_4.part.js": "2467bed526823b02eff61bad6f5cd98e", "login-callback.html": "e17f83d4982ea3cce6e692b31c4b4beb", @@ -326,7 +326,7 @@ const RESOURCES = {"splash/splash.js": "123c400b58bea74c1305ca3ac966748d", "worker_service/img/ic-close-3x.png": "7415143fe67dc6b2a680300c5aa16296", "worker_service/img/tmail-4x.png": "5fa99cd8d413ff51d6b13f41d5511c61", "worker_service/img/ic-close-2x.png": "4472c6a715b4bab53815806f07f59d0f", -"flutter_bootstrap.js": "591a836bf7f49c7c55f2579ff7812c30", +"flutter_bootstrap.js": "ef5e1e7e22c789c8018f89f3f492108e", "main.dart.js_1.part.js": "d1044203c2a8703249bf05b8aa45d2af", "firebase-messaging-sw.js": "ed5b30ced7e7646f08edc16e2d5d5ad5", "main.dart.js_6.part.js": "2891a1ebdd7b91efc0328a73d6a195cb", @@ -343,7 +343,7 @@ const RESOURCES = {"splash/splash.js": "123c400b58bea74c1305ca3ac966748d", "canvaskit/skwasm.worker.js": "bfb704a6c714a75da9ef320991e88b03", "canvaskit/skwasm.js": "5d4f9263ec93efeb022bb14a3881d240", "manifest.json": "c2c66c9dd73fa42a8a2c5e95615de7d1", -"main.dart.js_3.part.js": "f1f05f659b1c1d8f23a7f574e75ff79f", +"main.dart.js_3.part.js": "b44760a17e62d4aad5da11b966508383", "flutter.js": "383e55f7f3cce5be08fcf1f3881f585c"}; // The application shell files that are downloaded before a service worker can // start. diff --git a/3075/main.dart.js b/3075/main.dart.js index a19a0ed53..e31b456ec 100644 --- a/3075/main.dart.js +++ b/3075/main.dart.js @@ -67130,9 +67130,9 @@ t1.RxObjectMixin___RxObjectMixin__value_A = initial; return t1; }, - Rxn$(initial, $T) { + Rxn$($T) { var t1 = new A.Rxn($, true, false, new A.GetStream(A._setArrayType([], $T._eval$1("JSArray>")), $T._eval$1("GetStream<0?>")), A.LinkedHashMap_LinkedHashMap$_empty(type$.GetStream_dynamic, type$.List_StreamSubscription_dynamic), $T._eval$1("Rxn<0>")); - t1.RxObjectMixin___RxObjectMixin__value_A = initial; + t1.RxObjectMixin___RxObjectMixin__value_A = null; return t1; }, RxString$(initial) { @@ -89735,8 +89735,8 @@ _._storeSpamReportStateInteractor = t2; _._getSpamReportStateInteractor = t3; _._getSpamMailboxCachedInteractor = t4; - _._presentationSpamMailbox = t5; - _._spamReportState = t6; + _.presentationSpamMailbox = t5; + _.spamReportState = t6; _.cachingManager = t7; _.languageCacheManager = t8; _.authorizationInterceptors = t9; @@ -91117,7 +91117,7 @@ if (t2 == null) t2 = $.GetInstance__getInstance = B.C_GetInstance; t3 = type$.InternalFinalCallback_void; - t3 = new A.NetworkConnectionController(t1, t2.find$1$1$tag(0, _null, type$.AppToast), A.Rxn$(_null, type$.ConnectivityResult), _connectivity, A._setArrayType([], type$.JSArray_of_nullable_void_Function), A.HashMap_HashMap(_null, _null, _null, type$.nullable_Object, type$.List_of_void_Function), new A.InternalFinalCallback(t3), new A.InternalFinalCallback(t3), false, false); + t3 = new A.NetworkConnectionController(t1, t2.find$1$1$tag(0, _null, type$.AppToast), A.Rxn$(type$.ConnectivityResult), _connectivity, A._setArrayType([], type$.JSArray_of_nullable_void_Function), A.HashMap_HashMap(_null, _null, _null, type$.nullable_Object, type$.List_of_void_Function), new A.InternalFinalCallback(t3), new A.InternalFinalCallback(t3), false, false); t3.$$configureLifeCycle$0(); return t3; }, @@ -92279,21 +92279,21 @@ RulesFilterCreatorController$(_getAllMailboxInteractor, treeBuilder, verifyNameInteractor) { var t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, _null = null, t1 = type$.String, - t2 = A.Rxn$(_null, t1), - t3 = A.Rxn$(_null, type$.EmailRuleFilterAction), - t4 = A.Rxn$(_null, type$.PresentationMailbox), + t2 = A.Rxn$(t1), + t3 = A.Rxn$(type$.EmailRuleFilterAction), + t4 = A.Rxn$(type$.PresentationMailbox), t5 = A.Rx$(B.CreatorActionType_0, type$.CreatorActionType), t6 = A.RxList$(B.List_empty13, type$.RuleCondition), t7 = $.$get$ChangeNotifier__emptyListeners(), t8 = A.FocusNode$(true, _null, true, true, _null, _null, false), t9 = A.RxList$(B.List_empty13, type$.RulesFilterInputFieldArguments), - t10 = A.Rxn$(_null, type$.ConditionCombiner), - t11 = A.Rxn$(_null, t1); - t1 = A.Rxn$(_null, t1); + t10 = A.Rxn$(type$.ConditionCombiner), + t11 = A.Rxn$(t1); + t1 = A.Rxn$(t1); t12 = A.FocusNode$(true, _null, true, true, _null, _null, false); t13 = A.RxList$(B.List_empty13, type$.RuleFilterActionArguments); t14 = new A.WhereIterable(B.List_EGJ, new A.RulesFilterCreatorController_maxCountAction_closure(), type$.WhereIterable_EmailRuleFilterAction).get$length(0); - t15 = A.Rxn$(_null, type$.bool); + t15 = A.Rxn$(type$.bool); t16 = A.Rx$(new A.MailboxCategoriesExpandMode(B.ExpandMode_1, B.ExpandMode_1, B.ExpandMode_1), type$.MailboxCategoriesExpandMode); t17 = $.$get$MailboxNode__root(); t18 = type$.MailboxTree; @@ -94175,7 +94175,7 @@ _.openingEmail = t8; _.loadingMoreStatus = t9; _.canSearchMore = _.canLoadMore = false; - _._currentEmailState = null; + _._currentEmailState = _._currentMemoryMailboxId = null; _.listEmailController = t10; _.focusNodeKeyBoard = t11; _.latestEmailSelectedOrUnselected = t12; @@ -341503,24 +341503,24 @@ if (t17 == null) t17 = $.GetInstance__getInstance = B.C_GetInstance; t17 = t17.find$1$1$tag(0, _null, type$.BeforeReconnectManager); - t18 = A.Rxn$(_null, type$.ComposerArguments); + t18 = A.Rxn$(type$.ComposerArguments); t19 = A.RxBool$(false); t20 = A.RxBool$(false); - t21 = A.Rxn$(_null, type$.String); + t21 = A.Rxn$(type$.String); t22 = A.Rx$(B.ScreenDisplayMode_2, type$.ScreenDisplayMode); t23 = type$.ExpandMode; t24 = A.Rx$(B.ExpandMode_1, t23); t25 = A.Rx$(B.ExpandMode_1, t23); t23 = A.Rx$(B.ExpandMode_1, t23); t26 = type$.Either_Failure_Success; - t27 = A.Rxn$(_null, t26); + t27 = A.Rxn$(t26); t28 = A.RxBool$(false); t29 = type$.PrefixRecipientState; t30 = A.Rx$(B.PrefixRecipientState_1, t29); t31 = A.Rx$(B.PrefixRecipientState_1, t29); t29 = A.Rx$(B.PrefixRecipientState_1, t29); t32 = type$.Identity; - t33 = A.Rxn$(_null, t32); + t33 = A.Rxn$(t32); t32 = A.RxList$(B.List_empty13, t32); t34 = type$.JSArray_EmailAddress; t35 = A._setArrayType([], t34); @@ -346075,7 +346075,7 @@ t1 = $.$get$ChangeNotifier__emptyListeners(), t2 = A.FocusNode$(true, _null, true, true, _null, _null, false), t3 = A.Rx$(new A.SearchQuery(""), type$.SearchQuery), - t4 = A.Rxn$(_null, type$.Session), + t4 = A.Rxn$(type$.Session), t5 = A.RxList$(B.List_empty13, type$.EmailAddress), t6 = A.Debouncer$(B.Duration_300000, "", type$.String); $.$get$Get(); @@ -346648,15 +346648,15 @@ if (t6 == null) t6 = $.GetInstance__getInstance = B.C_GetInstance; t6 = t6.find$1$1$tag(0, _null, type$.RefreshAllMailboxInteractor); - t7 = A.Rxn$(_null, type$.MailboxActions); + t7 = A.Rxn$(type$.MailboxActions); t8 = type$.JSArray_PresentationMailbox; t9 = type$.PresentationMailbox; t10 = A.RxList$(A._setArrayType([], t8), t9); t11 = A.Rx$(new A.SearchState(B.SearchStatus_1), type$.SearchState); t12 = A.Rx$(new A.SearchQuery(""), type$.SearchQuery); t13 = A.Rx$(B.DestinationScreenType_0, type$.DestinationScreenType); - t9 = A.Rxn$(_null, t9); - t14 = A.Rxn$(_null, type$.String); + t9 = A.Rxn$(t9); + t14 = A.Rxn$(type$.String); t15 = A._setArrayType([], type$.JSArray_String); t16 = A.FocusNode$(true, _null, true, true, _null, _null, false); t17 = A.FocusNode$(true, _null, true, true, _null, _null, false); @@ -353206,7 +353206,7 @@ t6 = type$.nullable_Object, t7 = type$.List_of_void_Function, t8 = type$.InternalFinalCallback_void; - t3 = new A.EmailSupervisorController((t3 == null ? $.GetInstance__getInstance = B.C_GetInstance : t3).find$1$1$tag(0, _null, t2), A.ListQueue$(_null, t4), A._setArrayType([], type$.JSArray_PresentationEmail), A.Rx$(B.PageViewNavigatorState_3, type$.PageViewNavigatorState), A.RxBool$(false), A.Rxn$(_null, type$.ScrollPhysics), A._setArrayType([], t5), A.HashMap_HashMap(_null, _null, _null, t6, t7), new A.InternalFinalCallback(t8), new A.InternalFinalCallback(t8), false, false); + t3 = new A.EmailSupervisorController((t3 == null ? $.GetInstance__getInstance = B.C_GetInstance : t3).find$1$1$tag(0, _null, t2), A.ListQueue$(_null, t4), A._setArrayType([], type$.JSArray_PresentationEmail), A.Rx$(B.PageViewNavigatorState_3, type$.PageViewNavigatorState), A.RxBool$(false), A.Rxn$(type$.ScrollPhysics), A._setArrayType([], t5), A.HashMap_HashMap(_null, _null, _null, t6, t7), new A.InternalFinalCallback(t8), new A.InternalFinalCallback(t8), false, false); t3.$$configureLifeCycle$0(); t9 = type$.EmailSupervisorController; A.Inst_put(t1, t3, _null, t9); @@ -353277,16 +353277,16 @@ t23 = new A.RxnString($, true, false, new A.GetStream(A._setArrayType([], type$.JSArray_LightSubscription_nullable_String), type$.GetStream_nullable_String), A.LinkedHashMap_LinkedHashMap$_empty(t21, t22)); t23.RxObjectMixin___RxObjectMixin__value_A = null; t24 = A.RxList$(A._setArrayType([], type$.JSArray_Attachment), type$.Attachment); - t25 = A.Rxn$(_null, type$.BlobCalendarEvent); + t25 = A.Rxn$(type$.BlobCalendarEvent); t26 = $.$get$UIState_idle(); t27 = type$.Right_Failure_Success; t28 = type$.Either_Failure_Success; t29 = A.Rx$(new A.Right(t26, t27), t28); - t30 = A.Rxn$(_null, type$.EmailUnsubscribe); + t30 = A.Rxn$(type$.EmailUnsubscribe); t22 = new A.RxMap($, true, false, new A.GetStream(A._setArrayType([], type$.JSArray_LightSubscription_Map_of_Id_and_Either_Failure_Success), type$.GetStream_Map_of_Id_and_Either_Failure_Success), A.LinkedHashMap_LinkedHashMap$_empty(t21, t22), type$.RxMap_of_Id_and_Either_Failure_Success); t22.RxObjectMixin___RxObjectMixin__value_A = A.LinkedHashMap_LinkedHashMap$from(B.Map_empty6, type$.Id, t28); t21 = A.RxBool$(false); - t4 = A.Rxn$(_null, t4); + t4 = A.Rxn$(t4); t31 = $.GetInstance__getInstance; if (t31 == null) t31 = $.GetInstance__getInstance = B.C_GetInstance; @@ -356732,10 +356732,10 @@ t2 = A.Rx$(B.EmailRecoveryTimeType_4, t1); t1 = A.Rx$(B.EmailRecoveryTimeType_0, t1); t3 = type$.DateTime; - t4 = A.Rxn$(_null, t3); - t5 = A.Rxn$(_null, t3); - t6 = A.Rxn$(_null, t3); - t3 = A.Rxn$(_null, t3); + t4 = A.Rxn$(t3); + t5 = A.Rxn$(t3); + t6 = A.Rxn$(t3); + t3 = A.Rxn$(t3); t7 = A.RxBool$(false); t8 = type$.ExpandMode; t9 = A.Rx$(B.ExpandMode_1, t8); @@ -358861,11 +358861,11 @@ t6 = A.RxList$(A._setArrayType([], t4), t5); t4 = A.RxList$(A._setArrayType([], t4), t5); t7 = type$.String; - t8 = A.Rxn$(_null, t7); - t7 = A.Rxn$(_null, t7); - t9 = A.Rxn$(_null, t5); - t10 = A.Rxn$(_null, t5); - t5 = A.Rxn$(_null, t5); + t8 = A.Rxn$(t7); + t7 = A.Rxn$(t7); + t9 = A.Rxn$(t5); + t10 = A.Rxn$(t5); + t5 = A.Rxn$(t5); t11 = A.Rx$(B.IdentityActionType_0, type$.IdentityActionType); t12 = A.RxBool$(false); t13 = A.RxBool$(false); @@ -369134,10 +369134,10 @@ if (!t1.$eq(0, t3 == null ? null : t3.id)) t2.filterMessageOption.set$value(0, B.FilterMessageOption_0); this._disableAllSearchEmail$0(); - this._mailbox_controller$_replaceBrowserHistory$0(); t2.closeMailboxMenuDrawer$0(); t2.setSelectedMailbox$1(presentationMailboxSelected); t2.dispatchRoute$1(B.DashboardRoutes_0); + this._mailbox_controller$_replaceBrowserHistory$0(); }, _disableAllSearchEmail$0() { var t1 = this.mailboxDashBoardController, @@ -369682,7 +369682,7 @@ t1._handleCreateDefaultFolderIfMissing$1(t2.mapDefaultMailboxIdByRole); t1._handleDataFromNavigationRouter$0(); t1 = t2.spamReportController; - if (J.$eq$(t1._spamReportState.get$value(0), B.SpamReportState_0) && t2.sessionCurrent != null && t2.accountId.get$value(0) != null) { + if (t1.spamReportState.get$value(0) === B.SpamReportState_0 && t2.sessionCurrent != null && t2.accountId.get$value(0) != null) { t3 = t2.sessionCurrent; t3.toString; t2 = t2.accountId.get$value(0); @@ -369694,7 +369694,7 @@ t1._selectSelectedMailboxDefault$0(); t2 = t1.mailboxDashBoardController; t3 = t2.spamReportController; - if (J.$eq$(t3._spamReportState.get$value(0), B.SpamReportState_0) && t2.sessionCurrent != null && t2.accountId.get$value(0) != null) { + if (t3.spamReportState.get$value(0) === B.SpamReportState_0 && t2.sessionCurrent != null && t2.accountId.get$value(0) != null) { t4 = t2.accountId.get$value(0); t4.toString; t3.consumeState$1(t3._getSpamMailboxCachedInteractor.execute$2(t4, t2.sessionCurrent.username)); @@ -369972,7 +369972,7 @@ }, openMailboxMenuActionOnWeb$6(context, imagePaths, responsiveUtils, position, mailbox, controller) { var t1, - contextMenuActions = this.listContextMenuItemAction$2(mailbox, J.$eq$(controller.mailboxDashBoardController.spamReportController._spamReportState.get$value(0), B.SpamReportState_0)); + contextMenuActions = this.listContextMenuItemAction$2(mailbox, controller.mailboxDashBoardController.spamReportController.spamReportState.get$value(0) === B.SpamReportState_0); if (contextMenuActions.length === 0) return; t1 = controller.get$handleMailboxAction(); @@ -371206,8 +371206,8 @@ if (t1 == null) t1 = $.GetInstance__getInstance = B.C_GetInstance; t1 = t1.find$1$1$tag(0, _null, type$.VerifyNameInteractor); - t2 = A.Rxn$(_null, type$.PresentationMailbox); - t3 = A.Rxn$(_null, type$.String); + t2 = A.Rxn$(type$.PresentationMailbox); + t3 = A.Rxn$(type$.String); t4 = A.FocusNode$(true, _null, true, true, _null, _null, false); t5 = $.$get$ChangeNotifier__emptyListeners(); t6 = A._setArrayType([], type$.JSArray_String); @@ -373923,7 +373923,7 @@ t2 = t2.find$1$1$tag(0, _null, type$.GetAppDashboardConfigurationInteractor); t3 = type$.ExpandMode; t4 = type$.AppGridDashboardController; - A.Inst_put(t1, new A.AppGridDashboardController(A.RxBool$(false), A.Rx$(B.ExpandMode_0, t3), A.Rxn$(_null, type$.LinagoraApplications), t2), _null, t4); + A.Inst_put(t1, new A.AppGridDashboardController(A.RxBool$(false), A.Rx$(B.ExpandMode_0, t3), A.Rxn$(type$.LinagoraApplications), t2), _null, t4); t2 = type$.JSArray_of_nullable_void_Function; t5 = type$.nullable_Object; t6 = type$.List_of_void_Function; @@ -374018,8 +374018,8 @@ t14 = $.GetInstance__getInstance = B.C_GetInstance; t14 = t14.find$1$1$tag(0, _null, type$.GetSpamMailboxCachedInteractor); t15 = type$.PresentationMailbox; - t16 = A.Rxn$(_null, t15); - t17 = A.Rxn$(B.SpamReportState_0, type$.SpamReportState); + t16 = A.Rxn$(t15); + t17 = A.Rx$(B.SpamReportState_0, type$.SpamReportState); t18 = $.GetInstance__getInstance; t18 = (t18 == null ? $.GetInstance__getInstance = B.C_GetInstance : t18).find$1$1$tag(0, _null, t21); t19 = $.GetInstance__getInstance; @@ -374165,13 +374165,13 @@ if (t53 == null) t53 = $.GetInstance__getInstance = B.C_GetInstance; t53 = t53.find$1$1$tag(0, _null, type$.NetworkConnectionController); - t54 = A.Rxn$(_null, t15); + t54 = A.Rxn$(t15); t55 = type$.PresentationEmail; - t56 = A.Rxn$(_null, t55); - t57 = A.Rxn$(_null, type$.AccountId); - t58 = A.Rxn$(_null, type$.UIAction); - t59 = A.Rxn$(_null, type$.MailboxUIAction); - t60 = A.Rxn$(_null, type$.EmailUIAction); + t56 = A.Rxn$(t55); + t57 = A.Rxn$(type$.AccountId); + t58 = A.Rxn$(type$.UIAction); + t59 = A.Rxn$(type$.MailboxUIAction); + t60 = A.Rxn$(type$.EmailUIAction); t61 = A.Rx$(B.DashboardRoutes_3, type$.DashboardRoutes); t62 = A.Rx$(B.SelectMode_1, type$.SelectMode); t63 = A.Rx$(B.FilterMessageOption_0, type$.FilterMessageOption); @@ -374179,16 +374179,16 @@ t65 = A.RxList$(A._setArrayType([], t64), t55); t66 = A.Rx$(B.ComposerOverlayState_1, type$.ComposerOverlayState); t67 = A.Rx$(new A.Right(t46, t47), t48); - t68 = A.Rxn$(_null, type$.VacationResponse); - t69 = A.Rxn$(_null, type$.Map_String_dynamic); + t68 = A.Rxn$(type$.VacationResponse); + t69 = A.Rxn$(type$.Map_String_dynamic); t70 = A.RxBool$(false); t71 = A.RxBool$(false); t72 = A.RxList$(B.List_empty13, type$.SendingEmail); t73 = A.Rx$(new A.Right(t46, t47), t48); t74 = type$.DraggableAppState; - t75 = A.Rxn$(_null, t74); + t75 = A.Rxn$(t74); t76 = A.RxBool$(false); - t74 = A.Rxn$(_null, t74); + t74 = A.Rxn$(t74); t77 = type$.MailboxId; t64 = A.RxList$(A._setArrayType([], t64), t55); t55 = A.RxList$(B.List_empty13, t55); @@ -374240,8 +374240,8 @@ t4 = A.Rx$(B.EmailReceiveTimeType_0, type$.EmailReceiveTimeType); t9 = A.RxBool$(false); t10 = type$.DateTime; - t11 = A.Rxn$(_null, t10); - t10 = A.Rxn$(_null, t10); + t11 = A.Rxn$(t10); + t10 = A.Rxn$(t10); t13 = type$.LabeledGlobalKey_TagsEditorState_dynamic; t14 = A.Rx$(B.ExpandMode_1, t3); t3 = A.Rx$(B.ExpandMode_1, t3); @@ -377615,7 +377615,7 @@ }, storeSpamReportStateAction$0() { var t1 = this.spamReportController, - storeSpamReportState = J.$eq$(t1._spamReportState.get$value(0), B.SpamReportState_0) ? B.SpamReportState_1 : B.SpamReportState_0; + storeSpamReportState = t1.spamReportState.get$value(0) === B.SpamReportState_0 ? B.SpamReportState_1 : B.SpamReportState_0; t1.consumeState$1(t1._storeSpamReportStateInteractor.execute$1(storeSpamReportState)); }, _handleSendEmailFailure$1(failure) { @@ -378992,20 +378992,20 @@ var _this = this; _this.super$BaseController$handleSuccessViewState(success); if (success instanceof A.GetUnreadSpamMailboxSuccess) - _this._presentationSpamMailbox.set$value(0, A.MailboxExtension_toPresentationMailbox(success.unreadSpamMailbox)); + _this.presentationSpamMailbox.set$value(0, A.MailboxExtension_toPresentationMailbox(success.unreadSpamMailbox)); else if (success instanceof A.StoreLastTimeDismissedSpamReportSuccess) - _this._presentationSpamMailbox.set$value(0, null); + _this.presentationSpamMailbox.set$value(0, null); else if (success instanceof A.GetSpamReportStateSuccess) - _this._spamReportState.set$value(0, success.spamReportState); + _this.spamReportState.set$value(0, success.spamReportState); else if (success instanceof A.StoreSpamReportStateSuccess) - _this._spamReportState.set$value(0, success.spamReportState); + _this.spamReportState.set$value(0, success.spamReportState); else if (success instanceof A.GetSpamMailboxCachedSuccess) - _this._presentationSpamMailbox.set$value(0, A.MailboxExtension_toPresentationMailbox(success.spamMailbox)); + _this.presentationSpamMailbox.set$value(0, A.MailboxExtension_toPresentationMailbox(success.spamMailbox)); }, handleFailureViewState$1(failure) { this.super$BaseController$handleFailureViewState(failure); if (failure instanceof A.GetUnreadSpamMailboxFailure || failure instanceof A.GetSpamMailboxCachedFailure || failure instanceof A.InvalidSpamReportCondition) - this._presentationSpamMailbox.set$value(0, null); + this.presentationSpamMailbox.set$value(0, null); }, dismissSpamReportAction$1(context) { var t1, t2, mailboxDashBoardController, spamMailbox, session, accountId, t3, t4, _null = null; @@ -379017,7 +379017,7 @@ if ($.GetInstance__singl.containsKey$1(0, t2._getKey$2(0, A.createRuntimeType(t1), _null))) { t2 = $.GetInstance__getInstance; mailboxDashBoardController = (t2 == null ? $.GetInstance__getInstance = B.C_GetInstance : t2).find$1$1$tag(0, _null, t1); - t1 = this._presentationSpamMailbox; + t1 = this.presentationSpamMailbox; spamMailbox = t1.get$value(0); session = mailboxDashBoardController.sessionCurrent; accountId = mailboxDashBoardController.accountId.get$value(0); @@ -379035,7 +379035,7 @@ } }, get$numberOfUnreadSpamEmails() { - var t1 = this._presentationSpamMailbox.get$value(0); + var t1 = this.presentationSpamMailbox.get$value(0); t1 = t1 == null ? null : A.PresentationMailboxExtension_get_countUnReadEmailsAsString(t1); return t1 == null ? "" : t1; }, @@ -379047,7 +379047,7 @@ t1 = $.GetInstance__getInstance = B.C_GetInstance; mailboxDashBoardController = t1.find$1$1$tag(0, null, type$.MailboxDashBoardController); this.consumeState$1(this._storeSpamReportInteractor.execute$1(new A.DateTime(Date.now(), false))); - t1 = this._presentationSpamMailbox.get$value(0); + t1 = this.presentationSpamMailbox.get$value(0); t1.toString; t1 = new A.OpenMailboxAction(t1); A.log(string$.MailbodM + A.getRuntimeTypeOfDartObject(t1).toString$0(0), B.Level_3); @@ -382969,7 +382969,7 @@ if (t3 == null) t3 = $.GetInstance__getInstance = B.C_GetInstance; t3 = t3.find$1$1$tag(0, _null, type$.UpdateAlwaysReadReceiptSettingInteractor); - t4 = A.Rxn$(_null, type$.bool); + t4 = A.Rxn$(type$.bool); t5 = $.GetInstance__getInstance; if (t5 == null) t5 = $.GetInstance__getInstance = B.C_GetInstance; @@ -383688,7 +383688,7 @@ t1 = t1.find$1$1$tag(0, _null, type$.ManageAccountDashBoardController); t2 = A.Rx$(B.SelectMode_1, type$.SelectMode); t3 = A.RxList$(B.List_empty13, type$.RecipientForward); - t4 = A.Rxn$(_null, type$.TMailForward); + t4 = A.Rxn$(type$.TMailForward); t5 = $.GetInstance__getInstance; if (t5 == null) t5 = $.GetInstance__getInstance = B.C_GetInstance; @@ -384951,12 +384951,12 @@ bindingsController$0() { var t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, _null = null, t1 = $.$get$Get(), - t2 = A.Rxn$(_null, type$.AccountId), + t2 = A.Rxn$(type$.AccountId), t3 = A.Rx$(B.AccountMenuItem_0, type$.AccountMenuItem), t4 = A.Rx$(B.SettingsPageLevel_0, type$.SettingsPageLevel), - t5 = A.Rxn$(_null, type$.VacationResponse), - t6 = A.Rxn$(_null, type$.BannerState), - t7 = A.Rxn$(_null, type$.UIAction), + t5 = A.Rxn$(type$.VacationResponse), + t6 = A.Rxn$(type$.BannerState), + t7 = A.Rxn$(type$.UIAction), t8 = type$.ImagePaths, t9 = $.GetInstance__getInstance; t9 = (t9 == null ? $.GetInstance__getInstance = B.C_GetInstance : t9).find$1$1$tag(0, _null, t8); @@ -385726,7 +385726,7 @@ if (t3 == null) t3 = $.GetInstance__getInstance = B.C_GetInstance; t3 = t3.find$1$1$tag(0, _null, type$.ToggleNotificationSettingInteractor); - t4 = A.Rxn$(_null, type$.bool); + t4 = A.Rxn$(type$.bool); t5 = $.GetInstance__getInstance; if (t5 == null) t5 = $.GetInstance__getInstance = B.C_GetInstance; @@ -386146,11 +386146,14 @@ A.ExtensionDialog_dialog($.$get$Get(), new A.DeleteIdentityDialogBuilder(this.responsiveUtils, this.imagePaths, new A.IdentitiesController_openConfirmationDialogDeleteIdentityAction_closure(this, identity), null), B.Color_1711276032, true, type$.dynamic); }, _deleteIdentityAction$1(identityId) { - var t1 = this.accountDashBoardController, + var _this = this, + t1 = _this.accountDashBoardController, session = t1.sessionCurrent, accountId = t1.accountId.get$value(0); if (accountId != null && session != null) - this.consumeState$1(this._deleteIdentityInteractor.execute$3(session, accountId, identityId)); + _this.consumeState$1(_this._deleteIdentityInteractor.execute$3(session, accountId, identityId)); + else + _this.consumeState$1(A.Stream_Stream$value(new A.Left(new A.DeleteIdentityFailure(null), type$.Left_Failure_Success), type$.Either_Failure_Success)); }, _dereferencePublicAssets$1(identity) { return this._dereferencePublicAssets$body$IdentitiesController(identity); @@ -386404,8 +386407,8 @@ t9 = $.GetInstance__getInstance = B.C_GetInstance; t9 = t9.find$1$1$tag(0, _null, type$.ManageAccountDashBoardController); t10 = type$.Identity; - t11 = A.Rxn$(_null, t10); - t12 = A.Rxn$(_null, type$.String); + t11 = A.Rxn$(t10); + t12 = A.Rxn$(type$.String); t10 = A.RxList$(A._setArrayType([], type$.JSArray_Identity), t10); t13 = $.GetInstance__getInstance; if (t13 == null) @@ -387173,7 +387176,7 @@ t6 = $.GetInstance__getInstance = B.C_GetInstance; t6 = t6.find$1$1$tag(0, _null, type$.SettingsController); t7 = A.Rx$(new A.VacationPresentation(B.VacationResponderStatus_1, _null, _null, _null, _null, _null, _null, _null, false), type$.VacationPresentation); - t8 = A.Rxn$(_null, type$.String); + t8 = A.Rxn$(type$.String); t9 = $.$get$ChangeNotifier__emptyListeners(); t10 = A.FocusNode$(true, _null, true, true, _null, _null, false); t11 = type$.ValueNotifier_Color; @@ -393444,7 +393447,7 @@ if (t3 == null) t3 = $.GetInstance__getInstance = B.C_GetInstance; t3 = t3.find$1$1$tag(0, _null, type$.MailboxDashBoardController); - t4 = A.Rxn$(_null, type$.Quota); + t4 = A.Rxn$(type$.Quota); t5 = $.GetInstance__getInstance; if (t5 == null) t5 = $.GetInstance__getInstance = B.C_GetInstance; @@ -402086,7 +402089,7 @@ t13 = A._setArrayType([], type$.JSArray_ScrollPosition); t14 = $.$get$ChangeNotifier__emptyListeners(); t15 = A.FocusNode$(true, _null, true, true, _null, _null, false); - t9 = A.Rxn$(_null, t9); + t9 = A.Rxn$(t9); t16 = $.GetInstance__getInstance; if (t16 == null) t16 = $.GetInstance__getInstance = B.C_GetInstance; @@ -402351,9 +402354,11 @@ this.super$BaseController$onReady(); }, onClose$0(_) { - this.listEmailController.dispose$0(); - this.focusNodeKeyBoard.dispose$0(); - this.super$BaseController$onClose(0); + var _this = this; + _this._currentEmailState = _this._currentMemoryMailboxId = null; + _this.listEmailController.dispose$0(); + _this.focusNodeKeyBoard.dispose$0(); + _this.super$BaseController$onClose(0); }, handleSuccessViewState$1(success) { var t1, t2, t3, t4, t5, t6, appendableList, mailboxContain, _this = this, _null = null, @@ -402590,21 +402595,26 @@ }); return A._asyncStartSync($async$_handleErrorGetAllOrRefreshChangesEmail$2, $async$completer); }, + _thread_controller$_resetToOriginalValue$0() { + A.log("ThreadController::_resetToOriginalValue", B.Level_3); + var t1 = this.EmailActionController_mailboxDashBoardController; + t1.emailsInCurrentMailbox.set$length(0, 0); + t1.listEmailSelected.set$length(0, 0); + t1.currentSelectMode.set$value(0, B.SelectMode_1); + this.canLoadMore = false; + this.loadingMoreStatus.set$value(0, B.LoadingMoreStatus_0); + }, _getAllEmailSuccess$1(success) { var t5, t6, newListEmail, _this = this, _null = null, t1 = success.currentMailboxId, t2 = _this.EmailActionController_mailboxDashBoardController, t3 = t2.selectedMailbox, t4 = t3.get$value(0); - if (!J.$eq$(t1, t4 == null ? _null : A.PresentationMailboxExtension_get_mailboxId(t4))) { + if (!J.$eq$(t1, t4 == null ? _null : t4.id)) { t1 = t1 == null ? _null : t1.id.value; t2 = t3.get$value(0); - if (t2 == null) - t2 = _null; - else { - t2 = A.PresentationMailboxExtension_get_mailboxId(t2); - t2 = t2 == null ? _null : t2.id.value; - } + t2 = t2 == null ? _null : t2.id; + t2 = t2 == null ? _null : t2.id.value; t3 = t3.get$value(0); if (t3 == null) t3 = _null; @@ -402612,7 +402622,7 @@ t3 = t3.name; t3 = t3 == null ? _null : t3.name; } - A.log("ThreadController::_getAllEmailSuccess: SELECTED_MAILBOX_ID = " + A.S(t1) + " | CURRENT_MAILBOX_ID = " + A.S(t2) + " | CURRENT_MAILBOX_NAME = " + A.S(t3), B.Level_3); + A.log("ThreadController::_getAllEmailSuccess: GetAllForMailboxId = " + A.S(t1) + " | SELECTED_MAILBOX_ID = " + A.S(t2) + " | SELECTED_MAILBOX_NAME = " + A.S(t3), B.Level_3); return; } t2.refreshingMailboxState.set$value(0, new A.Right(success, type$.Right_Failure_Success)); @@ -402635,15 +402645,11 @@ t2 = _this.EmailActionController_mailboxDashBoardController, t3 = t2.selectedMailbox, t4 = t3.get$value(0); - if (!J.$eq$(t1, t4 == null ? _null : A.PresentationMailboxExtension_get_mailboxId(t4))) { + if (!J.$eq$(t1, t4 == null ? _null : t4.id)) { t1 = t1 == null ? _null : t1.id.value; t2 = t3.get$value(0); - if (t2 == null) - t2 = _null; - else { - t2 = A.PresentationMailboxExtension_get_mailboxId(t2); - t2 = t2 == null ? _null : t2.id.value; - } + t2 = t2 == null ? _null : t2.id; + t2 = t2 == null ? _null : t2.id.value; t3 = t3.get$value(0); if (t3 == null) t3 = _null; @@ -402651,7 +402657,7 @@ t3 = t3.name; t3 = t3 == null ? _null : t3.name; } - A.log("ThreadController::_refreshChangesAllEmailSuccess: SELECTED_MAILBOX_ID = " + A.S(t1) + " | CURRENT_MAILBOX_ID = " + A.S(t2) + " | CURRENT_MAILBOX_NAME = " + A.S(t3), B.Level_3); + A.log("ThreadController::_refreshChangesAllEmailSuccess: RefreshedMailboxId = " + A.S(t1) + " | SELECTED_MAILBOX_ID = " + A.S(t2) + " | SELECTED_MAILBOX_NAME = " + A.S(t3), B.Level_3); return; } _this._currentEmailState = success.currentEmailState; @@ -402685,16 +402691,17 @@ t6 = t1.searchController.sortOrderFiltered.get$value(0).getSortOrder$0().toNullable$0(); t7 = t1.selectedMailbox; t8 = t7.get$value(0); - t8 = _this._getFilterCondition$1$mailboxIdSelected(t8 == null ? null : A.PresentationMailboxExtension_get_mailboxId(t8)); + t8 = _this._getFilterCondition$1$mailboxIdSelected(t8 == null ? null : t8.id); t9 = t1.filterMessageOption.get$value(0); t7 = t7.get$value(0); - t7 = t7 == null ? null : A.PresentationMailboxExtension_get_mailboxId(t7); + t7 = t7 == null ? null : t7.id; t1 = t1.sessionCurrent; t1.toString; t3 = t3.get$value(0); t3.toString; _this.consumeState$1(_this._getEmailsInMailboxInteractor.execute$7$emailFilter$limit$propertiesCreated$propertiesUpdated$sort(t2, t4, new A.EmailFilter(t8, t9, t7), t5, A.EmailUtils_getPropertiesForEmailGetMethod(t1, t3), $.$get$ThreadConstants_propertiesUpdatedDefault(), t6)); - } + } else + _this.consumeState$1(A.Stream_Stream$value(new A.Left(new A.GetAllEmailFailure(new A.NotFoundSessionException()), type$.Left_Failure_Success), type$.Either_Failure_Success)); }, _getFilterCondition$2$mailboxIdSelected$oldestEmail(mailboxIdSelected, oldestEmail) { var t1, t2, _null = null; @@ -402720,13 +402727,20 @@ return this._getFilterCondition$2$mailboxIdSelected$oldestEmail(null, null); }, refreshAllEmail$0() { - var t1, _this = this; - _this.viewState.set$value(0, new A.Right(new A.LoadingState(), type$.Right_Failure_Success)); + var _this = this, + t1 = _this.EmailActionController_mailboxDashBoardController.searchController, + t2 = t1.simpleSearchIsActivated, + t3 = t2.get$value(0) || t1.advancedSearchIsActivated.get$value(0), + t4 = type$.Either_Failure_Success, + t5 = type$.Right_Failure_Success; + if (t3) + _this.consumeState$1(A.Stream_Stream$value(new A.Right(new A.SearchingState(), t5), t4)); + else + _this.consumeState$1(A.Stream_Stream$value(new A.Right(new A.GetAllEmailLoading(), t5), t4)); _this.canLoadMore = false; _this.loadingMoreStatus.get$value(0); _this.cancelSelectEmail$0(); - t1 = _this.EmailActionController_mailboxDashBoardController.searchController; - if (t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0)) + if (t2.get$value(0) || t1.advancedSearchIsActivated.get$value(0)) _this._searchEmail$1$limit(_this.get$limitEmailFetched()); else _this._getAllEmailAction$0(); @@ -402767,10 +402781,10 @@ t6 = $.$get$ThreadConstants_propertiesUpdatedDefault(); t7 = t1.selectedMailbox; t8 = t7.get$value(0); - t8 = _this._getFilterCondition$1$mailboxIdSelected(t8 == null ? null : A.PresentationMailboxExtension_get_mailboxId(t8)); + t8 = _this._getFilterCondition$1$mailboxIdSelected(t8 == null ? null : t8.id); t1 = t1.filterMessageOption.get$value(0); t7 = t7.get$value(0); - t7 = t7 == null ? null : A.PresentationMailboxExtension_get_mailboxId(t7); + t7 = t7 == null ? null : t7.id; _this.consumeState$1(_this._refreshChangesEmailsInMailboxInteractor.execute$7$emailFilter$propertiesCreated$propertiesUpdated$sort(t3, t5, newEmailState, new A.EmailFilter(t8, t1, t7), t4, t6, t2)); } } @@ -402923,7 +402937,7 @@ t5.toString; _this.consumeState$1(_this._searchEmailInteractor.execute$7$filter$limit$position$properties$sort(t4, t6, t3, t7, t8, A.EmailUtils_getPropertiesForEmailGetMethod(t1, t5), t9)); } else - _this.viewState.set$value(0, new A.Left(new A.SearchEmailFailure(new A.NotFoundEmailException()), type$.Left_Failure_Success)); + _this.consumeState$1(A.Stream_Stream$value(new A.Left(new A.SearchEmailFailure(new A.NotFoundSessionException()), type$.Left_Failure_Success), type$.Either_Failure_Success)); }, _searchEmail$0() { return this._searchEmail$1$limit(null); @@ -403153,12 +403167,12 @@ return this._getEmailByIdFromLocationBar$2$mailboxContain(emailId, null); }, get$isNewFolderCreated() { - var t1, - currentMailbox = this.EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0); - if (currentMailbox != null) { - t1 = currentMailbox.namespace; - if (t1 == null || t1.$eq(0, new A.Namespace("Personal"))) { - t1 = currentMailbox.role; + var t2, + t1 = this.EmailActionController_mailboxDashBoardController.selectedMailbox; + if (t1.get$value(0) != null) { + t2 = t1.get$value(0).namespace; + if (t2 == null || t2.$eq(0, new A.Namespace("Personal"))) { + t1 = t1.get$value(0).role; t1 = !(t1 != null && t1.value.length !== 0); } else t1 = false; @@ -403169,7 +403183,7 @@ goToCreateEmailRuleView$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), - $async$self = this, newRuleFilterRequest, t1, accountId, session, currentMailbox; + $async$self = this, newRuleFilterRequest, t1, accountId, session; var $async$goToCreateEmailRuleView$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -403180,13 +403194,12 @@ t1 = $async$self.EmailActionController_mailboxDashBoardController; accountId = t1.accountId.get$value(0); session = t1.sessionCurrent; - currentMailbox = t1.selectedMailbox.get$value(0); $async$goto = accountId != null && session != null ? 2 : 4; break; case 2: // then $async$goto = 5; - return A._asyncAwait(A.DialogRouter_pushGeneralDialog(new A.RulesFilterCreatorArguments(accountId, session, B.CreatorActionType_0, null, null, currentMailbox), "/rules_filter_creator"), $async$goToCreateEmailRuleView$0); + return A._asyncAwait(A.DialogRouter_pushGeneralDialog(new A.RulesFilterCreatorArguments(accountId, session, B.CreatorActionType_0, null, null, t1.selectedMailbox.get$value(0)), "/rules_filter_creator"), $async$goToCreateEmailRuleView$0); case 5: // returning from await. newRuleFilterRequest = $async$result; @@ -403331,7 +403344,7 @@ t2 = t2.sortOrderFiltered.get$value(0).getSortOrder$0().toNullable$0(); t8 = t1.filterMessageOption.get$value(0); t9 = t1.selectedMailbox.get$value(0); - t9 = _this._getFilterCondition$2$mailboxIdSelected$oldestEmail(t9 == null ? _null : A.PresentationMailboxExtension_get_mailboxId(t9), oldestEmail); + t9 = _this._getFilterCondition$2$mailboxIdSelected$oldestEmail(t9 == null ? _null : t9.id, oldestEmail); t1 = t1.sessionCurrent; t1.toString; t4 = t4.get$value(0); @@ -403345,27 +403358,19 @@ }; A.ThreadController__registerObxStreamListener_closure.prototype = { call$1(mailbox) { - var t3, - t1 = mailbox == null, - t2 = t1 ? null : mailbox.id.id.value; - if (t1) - t3 = null; - else { - t3 = mailbox.name; - t3 = t3 == null ? null : t3.name; - } - A.log("ThreadController::_registerObxStreamListener:ever: SELECTED_MAILBOX_ID = " + A.S(t2) + " | SELECTED_MAILBOX_NAME = " + A.S(t3), B.Level_3); - t3 = this.$this; - A.log("ThreadController::_resetToOriginalValue:", B.Level_3); - t3.consumeState$1(A.Stream_Stream$value(new A.Right(new A.GetAllEmailLoading(), type$.Right_Failure_Success), type$.Either_Failure_Success)); - t2 = t3.EmailActionController_mailboxDashBoardController; - t2.emailsInCurrentMailbox.set$length(0, 0); - t2.listEmailSelected.set$length(0, 0); - t2.currentSelectMode.set$value(0, B.SelectMode_1); - t3.canLoadMore = false; - t3.loadingMoreStatus.set$value(0, B.LoadingMoreStatus_0); - if (!t1) + var t1 = mailbox == null, + t2 = A.S(t1 ? null : mailbox.id), + t3 = this.$this; + A.log("ThreadController::_registerObxStreamListener:TEST: SelectedMailbox: " + t2 + " - " + A.S(t1 ? null : mailbox.name) + " | CurrentMemoryMailboxId: " + A.S(t3._currentMemoryMailboxId), B.Level_3); + if (mailbox instanceof A.PresentationMailbox && !J.$eq$(A.PresentationMailboxExtension_get_mailboxId(mailbox), t3._currentMemoryMailboxId)) { + t3._currentMemoryMailboxId = mailbox.id; + t3.consumeState$1(A.Stream_Stream$value(new A.Right(new A.GetAllEmailLoading(), type$.Right_Failure_Success), type$.Either_Failure_Success)); + t3._thread_controller$_resetToOriginalValue$0(); t3._getAllEmailAction$0(); + } else if (t1) { + t3._currentMemoryMailboxId = null; + t3._thread_controller$_resetToOriginalValue$0(); + } }, $signature: 1603 }; @@ -419522,7 +419527,7 @@ email_recovery: [] }, deferredPartUris: ["main.dart.js_7.part.js", "main.dart.js_2.part.js", "main.dart.js_1.part.js", "main.dart.js_4.part.js", "main.dart.js_3.part.js", "main.dart.js_6.part.js", "main.dart.js_5.part.js"], - deferredPartHashes: ["+QaGQ9qFQxe1J4grOu9waeLjcVE=", "+r21T1lTHvzr8yxwMkes6GDxHlc=", "g4pUCrQ2Kj+hmHy5yOWIVVSRRbk=", "SULgk+R4zOK7iK2cgc0UgTr+CoQ=", "D226rhszwZnHjjlcQA6UtG3CBVY=", "RXcSO666XfiTrQn01Ml6RhfxzJU=", "b6zzVhHf+c3UUGapOEq5caWldBo="], + deferredPartHashes: ["+QaGQ9qFQxe1J4grOu9waeLjcVE=", "+r21T1lTHvzr8yxwMkes6GDxHlc=", "g4pUCrQ2Kj+hmHy5yOWIVVSRRbk=", "SULgk+R4zOK7iK2cgc0UgTr+CoQ=", "ZjZrxwK9oDRLni4tM2VaAxwaPf8=", "RXcSO666XfiTrQn01Ml6RhfxzJU=", "b6zzVhHf+c3UUGapOEq5caWldBo="], typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"}, mangledNames: {}, diff --git a/3075/main.dart.js_3.part.js b/3075/main.dart.js_3.part.js index cbdb38df8..e654fc870 100644 --- a/3075/main.dart.js_3.part.js +++ b/3075/main.dart.js_3.part.js @@ -3051,7 +3051,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis MailboxDashBoardView__buildDownloadTaskStateWidget__closure0: function MailboxDashBoardView__buildDownloadTaskStateWidget__closure0() { }, MailboxDashBoardView__buildDownloadTaskStateWidget__closure: function MailboxDashBoardView__buildDownloadTaskStateWidget__closure(t0) { - this.downloadTasks = t0; + this.listDownloadTasks = t0; }, MailboxDashBoardView__buildVacationNotificationMessage_closure: function MailboxDashBoardView__buildVacationNotificationMessage_closure(t0) { this.$this = t0; @@ -4250,8 +4250,8 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis BottomBarThreadSelectionWidget_build_closure3: function BottomBarThreadSelectionWidget_build_closure3(t0) { this.$this = t0; }, - EmailTileBuilder$(emailActionClick, isDrag, isSearchEmailRunning, isShowingEmailContent, mailboxContain, onMoreActionClick, padding, presentationEmail, searchQuery, selectAllMode) { - return new B.EmailTileBuilder(presentationEmail, selectAllMode, mailboxContain, searchQuery, isSearchEmailRunning, padding, isDrag, isShowingEmailContent, emailActionClick, onMoreActionClick, null); + EmailTileBuilder$(emailActionClick, isDrag, isSearchEmailRunning, isShowingEmailContent, key, mailboxContain, onMoreActionClick, padding, presentationEmail, searchQuery, selectAllMode) { + return new B.EmailTileBuilder(presentationEmail, selectAllMode, mailboxContain, searchQuery, isSearchEmailRunning, padding, isDrag, isShowingEmailContent, emailActionClick, onMoreActionClick, key); }, EmailTileBuilder: function EmailTileBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; @@ -8914,17 +8914,20 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis _this.super$State$didUpdateWidget(oldWidget); }, dispose$0() { - var _this = this, + var t2, _this = this, t1 = _this._htmlEditorHeight; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; t1 = _this.___WebEditorState__editorController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.evaluateJavascriptWeb$1(D.Record2_inI._0); - t1 = window; - t1.toString; - C.Window_methods.removeEventListener$2(t1, "message", _this._dropListener); - _this._dropListener = null; + t1 = _this._dropListener; + if (t1 != null) { + t2 = window; + t2.toString; + C.Window_methods.removeEventListener$2(t2, "message", t1); + _this._dropListener = null; + } _this.super$State$dispose(); }, build$1(context) { @@ -11225,7 +11228,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis var contextMenuActions, _this = this, t1 = $.$get$GetWidget__cache(); A.Expando__checkType(_this); - contextMenuActions = _this.listContextMenuItemAction$2(mailbox, J.$eq$(A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).dashboardController.spamReportController._spamReportState.get$value(0), C.SpamReportState_0)); + contextMenuActions = _this.listContextMenuItemAction$2(mailbox, A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).dashboardController.spamReportController.spamReportState.get$value(0) === C.SpamReportState_0); t1 = A._arrayInstanceType(contextMenuActions)._eval$1("MappedListIterable<1,FocusedMenuItem>"); return A.List_List$of(new A.MappedListIterable(contextMenuActions, new B.SearchMailboxView__listPopupMenuItemAction_closure(_this, context, mailbox), t1), true, t1._eval$1("ListIterable.E")); }, @@ -11244,7 +11247,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis A.Expando__checkType(_this); t1 = t1._jsWeakMap; t2 = A._instanceType(_this)._eval$1("GetWidget.S"); - contextMenuActions = _this.listContextMenuItemAction$2(mailbox, J.$eq$(t2._as(t1.get(_this)).dashboardController.spamReportController._spamReportState.get$value(0), C.SpamReportState_0)); + contextMenuActions = _this.listContextMenuItemAction$2(mailbox, t2._as(t1.get(_this)).dashboardController.spamReportController.spamReportState.get$value(0) === C.SpamReportState_0); if (contextMenuActions.length === 0) return; A.Expando__checkType(_this); @@ -11554,6 +11557,22 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis _buildListButtonSelectionForMobile$1(context) { return new A.Obx(new B.ThreadView__buildListButtonSelectionForMobile_closure(this, context), null); }, + _validateDisplayBottomBarSelection$4$context$currentSelectMode$isSearchEmailRunning$listEmailSelected(context, currentSelectMode, isSearchEmailRunning, listEmailSelected) { + var t1; + if (currentSelectMode === C.SelectMode_0) + if (isSearchEmailRunning) { + t1 = $.$get$GetWidget__cache(); + A.Expando__checkType(this); + A._instanceType(this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(this)).toString; + t1 = !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200) && listEmailSelected.length !== 0; + } else + t1 = false; + else + t1 = false; + if (t1) + return true; + return false; + }, _buildFloatingButtonCompose$1(context) { var _this = this, t1 = $.$get$GetWidget__cache(); @@ -11662,7 +11681,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis return _this._buildEmailItemNotDraggable$2(context, presentationEmail); }, _buildEmailItemDraggable$2(context, presentationEmail) { - var t2, t3, t4, t5, isShowingEmailContent, selectModeAll, _this = this, _null = null, + var t2, t3, t4, t5, t6, isShowingEmailContent, selectModeAll, _this = this, _null = null, t1 = $.$get$GetWidget__cache(); A.Expando__checkType(_this); t1 = t1._jsWeakMap; @@ -11672,16 +11691,18 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis A.Expando__checkType(_this); t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.selectedEmail.get$value(0); t5 = t5 == null ? _null : t5.id; - isShowingEmailContent = J.$eq$(t5, presentationEmail.id); + t6 = presentationEmail.id; + isShowingEmailContent = J.$eq$(t5, t6); A.Expando__checkType(_this); selectModeAll = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0); + t5 = t6 == null ? _null : t6.id.value; A.Expando__checkType(_this); - t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text; + t6 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text; A.Expando__checkType(_this); t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController; t1 = t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0); - t5 = B.EmailTileBuilder$(_null, true, t1, isShowingEmailContent, presentationEmail.mailboxContain, _null, _null, presentationEmail, t5, selectModeAll); - return A.GestureDetector$(C.HitTestBehavior_2, B.Draggable$(_this._buildEmailItemNotDraggable$2(context, presentationEmail), t5, t3, B.drag_target__pointerDragAnchorStrategy$closure(), t4, new B.ThreadView__buildEmailItemDraggable_closure(_this), new B.ThreadView__buildEmailItemDraggable_closure0(_this, presentationEmail), new B.ThreadView__buildEmailItemDraggable_closure1(_this), type$.List_PresentationEmail), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure2(), _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure3(), _null, _null, _null, _null, _null, false, C.Offset_7BT); + t6 = B.EmailTileBuilder$(_null, true, t1, isShowingEmailContent, new A.ValueKey("email_tile_builder_" + A.S(t5), type$.ValueKey_String), presentationEmail.mailboxContain, _null, _null, presentationEmail, t6, selectModeAll); + return A.GestureDetector$(C.HitTestBehavior_2, B.Draggable$(_this._buildEmailItemNotDraggable$2(context, presentationEmail), t6, t3, B.drag_target__pointerDragAnchorStrategy$closure(), t4, new B.ThreadView__buildEmailItemDraggable_closure(_this), new B.ThreadView__buildEmailItemDraggable_closure0(_this, presentationEmail), new B.ThreadView__buildEmailItemDraggable_closure1(_this), type$.List_PresentationEmail), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure2(), _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure3(), _null, _null, _null, _null, _null, false, C.Offset_7BT); }, _buildEmailItemNotDraggable$2(context, presentationEmail) { var t2, t3, t4, isShowingEmailContent, selectModeAll, t5, t6, t7, t8, _this = this, _null = null, @@ -11731,12 +11752,13 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis t5 = t8; } else t5 = _null; + t6 = t4 == null ? _null : t4.id.value; A.Expando__checkType(_this); - t6 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text; + t8 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text; A.Expando__checkType(_this); t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController; t1 = t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0); - return A.Dismissible$(t7, C.HitTestBehavior_1, B.EmailTileBuilder$(new B.ThreadView__buildEmailItemNotDraggable_closure(_this, context), false, t1, isShowingEmailContent, presentationEmail.mailboxContain, new B.ThreadView__buildEmailItemNotDraggable_closure0(_this, context), _null, presentationEmail, t6, selectModeAll), new B.ThreadView__buildEmailItemNotDraggable_closure1(_this, context, presentationEmail), t3, new A.ValueKey(t4, type$.ValueKey_nullable_EmailId), _null, C.Duration_300000, t5); + return A.Dismissible$(t7, C.HitTestBehavior_1, B.EmailTileBuilder$(new B.ThreadView__buildEmailItemNotDraggable_closure(_this, context), false, t1, isShowingEmailContent, new A.ValueKey("email_tile_builder_" + A.S(t6), type$.ValueKey_String), presentationEmail.mailboxContain, new B.ThreadView__buildEmailItemNotDraggable_closure0(_this, context), _null, presentationEmail, t8, selectModeAll), new B.ThreadView__buildEmailItemNotDraggable_closure1(_this, context, presentationEmail), t3, new A.ValueKey(t4, type$.ValueKey_nullable_EmailId), _null, C.Duration_300000, t5); }, _buildFeedBackWidget$1(context) { var _this = this, _null = null, @@ -17591,18 +17613,14 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis }; B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure.prototype = { call$0() { - var t3, t4, downloadTasks, _null = null, + var listDownloadTasks, _null = null, t1 = this.$this, t2 = $.$get$GetWidget__cache(); A.Expando__checkType(t1); - t2 = t2._jsWeakMap; - t3 = A._instanceType(t1)._eval$1("GetWidget.S"); - t4 = t3._as(t2.get(t1)).downloadController.listDownloadTaskState; - if (!t4.get$isEmpty(t4)) { - A.Expando__checkType(t1); - downloadTasks = t3._as(t2.get(t1)).downloadController.listDownloadTaskState; - return new A.Align(C.Alignment_0_1, _null, _null, A.Container$(_null, A.ListView$separated(_null, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure(downloadTasks), J.get$length$asx(downloadTasks.get$value(0)), _null, C.ScrollViewKeyboardDismissBehavior_0, C.EdgeInsets_0_0_0_0, _null, _null, false, C.Axis_0, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0(), false), C.Clip_0, D.Color_4281611320, _null, _null, _null, 60, _null, _null, _null, _null, _null, 1 / 0), _null); - } else + listDownloadTasks = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).downloadController.listDownloadTaskState; + if (!listDownloadTasks.get$isEmpty(listDownloadTasks)) + return new A.Align(C.Alignment_0_1, _null, _null, A.Container$(_null, A.ListView$separated(_null, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure(listDownloadTasks), J.get$length$asx(listDownloadTasks.get$value(0)), _null, C.ScrollViewKeyboardDismissBehavior_0, C.EdgeInsets_0_0_0_0, _null, _null, false, C.Axis_0, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0(), false), C.Clip_0, D.Color_4281611320, _null, _null, _null, 60, _null, _null, _null, _null, _null, 1 / 0), _null); + else return C.SizedBox_0_0_null_null; }, $signature: 67 @@ -17615,7 +17633,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis }; B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure.prototype = { call$2(context, index) { - return new B.DownloadTaskItemWidget(J.$index$asx(this.downloadTasks.get$value(0), index), null); + return new B.DownloadTaskItemWidget(J.$index$asx(this.listDownloadTasks.get$value(0), index), null); }, $signature: typesOffset + 49 }; @@ -19400,7 +19418,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis A.Expando__checkType(t2); t4._as(t3.get(t2)).toString; t3 = this.context; - return B.EmailTileBuilder$(new B.SearchEmailView__buildListEmailBody___closure(t2, t3, t1), false, true, t7, t1.mailboxContain, new B.SearchEmailView__buildListEmailBody___closure0(t2, t3), D.EdgeInsetsDirectional_0_8_8_8, t1, t6, t5); + return B.EmailTileBuilder$(new B.SearchEmailView__buildListEmailBody___closure(t2, t3, t1), false, true, t7, null, t1.mailboxContain, new B.SearchEmailView__buildListEmailBody___closure0(t2, t3), D.EdgeInsetsDirectional_0_8_8_8, t1, t6, t5); }, $signature: typesOffset + 60 }; @@ -20112,43 +20130,29 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis }; B.ThreadView__buildListButtonSelectionForMobile_closure.prototype = { call$0() { - var t3, t4, t5, t6, _this = this, - t1 = _this.$this, + var t3, listEmailSelected, currentSelectMode, isSearchEmailRunning, t4, t5, t6, + t1 = this.$this, t2 = $.$get$GetWidget__cache(); A.Expando__checkType(t1); t2 = t2._jsWeakMap; t3 = A._instanceType(t1)._eval$1("GetWidget.S"); - if (t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0) === C.SelectMode_0) { + listEmailSelected = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox); + A.Expando__checkType(t1); + currentSelectMode = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0); + A.Expando__checkType(t1); + if (!t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.simpleSearchIsActivated.get$value(0)) { A.Expando__checkType(t1); - t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController; - if (t4.simpleSearchIsActivated.get$value(0) || t4.advancedSearchIsActivated.get$value(0)) { - A.Expando__checkType(t1); - t3._as(t2.get(t1)).toString; - t1 = !(A.InheritedModel_inheritFrom(_this.context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200); - } else - t1 = false; + isSearchEmailRunning = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.advancedSearchIsActivated.get$value(0); } else - t1 = false; - if (t1) { - t1 = _this.$this; - t2 = $.$get$GetWidget__cache(); + isSearchEmailRunning = true; + t4 = this.context; + if (t1._validateDisplayBottomBarSelection$4$context$currentSelectMode$isSearchEmailRunning$listEmailSelected(t4, currentSelectMode, isSearchEmailRunning, listEmailSelected)) { A.Expando__checkType(t1); - t1 = A.ListPresentationEmailExtension_get_listEmailSelected(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox).length !== 0; - } else - t1 = false; - if (t1) { - t1 = _this.$this; - t2 = $.$get$GetWidget__cache(); + t5 = t3._as(t2.get(t1)).EmailActionController_imagePaths; A.Expando__checkType(t1); - t2 = t2._jsWeakMap; - t3 = A._instanceType(t1)._eval$1("GetWidget.S"); - t4 = t3._as(t2.get(t1)).EmailActionController_imagePaths; + t6 = t3._as(t2.get(t1)).EmailActionController_responsiveUtils; A.Expando__checkType(t1); - t5 = t3._as(t2.get(t1)).EmailActionController_responsiveUtils; - A.Expando__checkType(t1); - t6 = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox); - A.Expando__checkType(t1); - return new B.BottomBarThreadSelectionWidget(t4, t5, t6, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0), new B.ThreadView__buildListButtonSelectionForMobile__closure(t1, _this.context), null); + return new B.BottomBarThreadSelectionWidget(t5, t6, listEmailSelected, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0), new B.ThreadView__buildListButtonSelectionForMobile__closure(t1, t4), null); } else return C.SizedBox_0_0_null_null; }, @@ -20501,7 +20505,20 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis B.ThreadView__buildEmptyEmail__closure0.prototype = { call$1(success) { var t1, t2, t3, t4, t5; - if (!(success instanceof A.LoadingState) && !(success instanceof A.SearchingState)) { + if (success instanceof A.GetAllEmailLoading || success instanceof A.SearchingState) + return C.SizedBox_0_0_null_null; + if (success instanceof A.GetAllEmailSuccess) { + t1 = this.$this; + t2 = $.$get$GetWidget__cache(); + A.Expando__checkType(t1); + t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0); + t1 = t1 == null ? null : t1.id; + t1 = !J.$eq$(success.currentMailboxId, t1); + } else + t1 = false; + if (t1) + return C.SizedBox_0_0_null_null; + else { t1 = this.$this; t2 = this.context; t3 = t1._getMessageEmptyEmail$1(t2); @@ -20517,10 +20534,8 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis t1 = t5._as(t4.get(t1)).get$goToCreateEmailRuleView(); } else t1 = null; - t1 = new B.EmptyEmailsWidget(t3, "assets/images/ic_empty_email.svg", t2, t1, D.ValueKey_empty_thread_view); - } else - t1 = C.SizedBox_0_0_null_null; - return t1; + return new B.EmptyEmailsWidget(t3, "assets/images/ic_empty_email.svg", t2, t1, D.ValueKey_empty_thread_view); + } }, $signature: 61 }; @@ -21049,7 +21064,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis call$0() { var t2, t3, t4, t5, t6, t7, t8, _null = null, t1 = this.spamReportController; - if (!J.$eq$(t1._spamReportState.get$value(0), C.SpamReportState_0) || t1._presentationSpamMailbox.get$value(0) == null) + if (t1.spamReportState.get$value(0) === C.SpamReportState_1 || t1.presentationSpamMailbox.get$value(0) == null) return C.SizedBox_null_8_null_null; t2 = $.$get$SpamReportBannerWebStyles_backgroundColor(); t3 = t1.get$numberOfUnreadSpamEmails(); @@ -21076,7 +21091,7 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis var t3, t4, t5, t6, _null = null, t1 = this.$this, t2 = t1.spamReportController; - if (!J.$eq$(t2._spamReportState.get$value(0), C.SpamReportState_0) || t2._presentationSpamMailbox.get$value(0) == null) + if (t2.spamReportState.get$value(0) === C.SpamReportState_1 || t2.presentationSpamMailbox.get$value(0) == null) return C.SizedBox_0_0_null_null; t3 = $.$get$SpamReportBannerStyles_backgroundColor(); t4 = t2.get$numberOfUnreadSpamEmails(); @@ -21753,5 +21768,5 @@ $__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersLis ((d, h) => { d[h] = d.current; d.eventLog.push({p: "main.dart.js_3", e: "endPart", h: h}); -})($__dart_deferred_initializers__, "D226rhszwZnHjjlcQA6UtG3CBVY="); +})($__dart_deferred_initializers__, "ZjZrxwK9oDRLni4tM2VaAxwaPf8="); ; \ No newline at end of file