mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
799 lines
44 KiB
JavaScript
799 lines
44 KiB
JavaScript
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.3.
|
|
((s, d, e) => {
|
|
s[d] = s[d] || {};
|
|
s[d][e] = s[d][e] || [];
|
|
s[d][e].push({p: "main.dart.js_1", e: "beginPart"});
|
|
})(self, "$__dart_deferred_initializers__", "eventLog");
|
|
$__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersList, $) {
|
|
var J, A, B,
|
|
C = {_AutofillScopeTextInputConfiguration: function _AutofillScopeTextInputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
|
|
var _ = this;
|
|
_.allConfigurations = t0;
|
|
_.viewId = t1;
|
|
_.inputType = t2;
|
|
_.readOnly = t3;
|
|
_.obscureText = t4;
|
|
_.autocorrect = t5;
|
|
_.autofillConfiguration = t6;
|
|
_.smartDashesType = t7;
|
|
_.smartQuotesType = t8;
|
|
_.enableSuggestions = t9;
|
|
_.enableInteractiveSelection = t10;
|
|
_.actionLabel = t11;
|
|
_.inputAction = t12;
|
|
_.textCapitalization = t13;
|
|
_.keyboardAppearance = t14;
|
|
_.enableIMEPersonalizedLearning = t15;
|
|
_.allowedMimeTypes = t16;
|
|
_.enableDeltaModel = t17;
|
|
}, _AutofillScopeTextInputConfiguration_toJson_closure: function _AutofillScopeTextInputConfiguration_toJson_closure() {
|
|
}, AutofillScopeMixin: function AutofillScopeMixin() {
|
|
}, AutofillScopeMixin_attach_closure: function AutofillScopeMixin_attach_closure() {
|
|
}, AutofillContextAction: function AutofillContextAction(t0, t1) {
|
|
this.index = t0;
|
|
this._core$_name = t1;
|
|
}, AutofillGroup: function AutofillGroup(t0, t1) {
|
|
this.child = t0;
|
|
this.key = t1;
|
|
}, AutofillGroupState: function AutofillGroupState(t0, t1) {
|
|
var _ = this;
|
|
_._clients = t0;
|
|
_._isTopmostAutofillGroup = false;
|
|
_._widget = null;
|
|
_._debugLifecycleState = t1;
|
|
_._framework$_element = null;
|
|
}, AutofillGroupState_autofillClients_closure: function AutofillGroupState_autofillClients_closure() {
|
|
}, AutofillGroupState_register_closure: function AutofillGroupState_register_closure(t0) {
|
|
this.client = t0;
|
|
}, _AutofillScope: function _AutofillScope(t0, t1, t2) {
|
|
this._scope = t0;
|
|
this.child = t1;
|
|
this.key = t2;
|
|
}, _AutofillGroupState_State_AutofillScopeMixin: function _AutofillGroupState_State_AutofillScopeMixin() {
|
|
}, RecentItemTileWidget: function RecentItemTileWidget(t0, t1, t2, t3) {
|
|
var _ = this;
|
|
_.item = t0;
|
|
_._recent_item_tile_widget$_imagePath = t1;
|
|
_.key = t2;
|
|
_.$ti = t3;
|
|
}, BaseLoginView: function BaseLoginView() {
|
|
}, BaseLoginView_buildUserNameInput_closure: function BaseLoginView_buildUserNameInput_closure() {
|
|
}, BaseLoginView_buildUserNameInput_closure0: function BaseLoginView_buildUserNameInput_closure0() {
|
|
}, BaseLoginView_buildPasswordInput_closure: function BaseLoginView_buildPasswordInput_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginView$() {
|
|
return new C.LoginView(null);
|
|
},
|
|
LoginView: function LoginView(t0) {
|
|
this.key = t0;
|
|
},
|
|
LoginView__buildMobileForm_closure: function LoginView__buildMobileForm_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginView__buildMobileForm_closure0: function LoginView__buildMobileForm_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildWebForm_closure: function LoginView__buildWebForm_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginView__buildWebForm_closure0: function LoginView__buildWebForm_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress_closure: function LoginView__buildLoadingProgress_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress__closure: function LoginView__buildLoadingProgress__closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginView__buildLoadingProgress__closure0: function LoginView__buildLoadingProgress__closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
PrivacyLinkWidget: function PrivacyLinkWidget(t0) {
|
|
this.key = t0;
|
|
},
|
|
PrivacyLinkWidget_build_closure: function PrivacyLinkWidget_build_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
LoginInputDecorationBuilder: function LoginInputDecorationBuilder() {
|
|
var _ = this;
|
|
_.fillColor = _.errorTextStyle = _.errorText = _.errorBorder = _.enabledBorder = _.contentPadding = _.hintStyle = _.hintText = _.labelText = _.prefixText = null;
|
|
},
|
|
LoginMessageWidget$(formType, viewState) {
|
|
return new C.LoginMessageWidget(formType, viewState, A.getBinding(null, type$.ToastManager), null);
|
|
},
|
|
LoginMessageWidget: function LoginMessageWidget(t0, t1, t2, t3) {
|
|
var _ = this;
|
|
_.formType = t0;
|
|
_.viewState = t1;
|
|
_._toastManager = t2;
|
|
_.key = t3;
|
|
},
|
|
LoginMessageWidget_build_closure: function LoginMessageWidget_build_closure(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginMessageWidget_build_closure0: function LoginMessageWidget_build_closure0(t0, t1) {
|
|
this.$this = t0;
|
|
this.context = t1;
|
|
},
|
|
LoginMessageWidget_build_closure1: function LoginMessageWidget_build_closure1() {
|
|
},
|
|
LoginMessageWidget_build_closure2: function LoginMessageWidget_build_closure2() {
|
|
},
|
|
LoginTextInputBuilder: function LoginTextInputBuilder(t0, t1, t2, t3, t4, t5, t6, t7) {
|
|
var _ = this;
|
|
_.hintText = t0;
|
|
_.textInputAction = t1;
|
|
_.controller = t2;
|
|
_.focusNode = t3;
|
|
_.autofillHints = t4;
|
|
_.onTextChange = t5;
|
|
_.onSubmitted = t6;
|
|
_.key = t7;
|
|
},
|
|
_LoginTextInputBuilderState: function _LoginTextInputBuilderState(t0, t1) {
|
|
var _ = this;
|
|
_.imagePaths = t0;
|
|
_.___LoginTextInputBuilderState__obscureText_A = _.___LoginTextInputBuilderState__controller_A = $;
|
|
_._widget = null;
|
|
_._debugLifecycleState = t1;
|
|
_._framework$_element = null;
|
|
},
|
|
_LoginTextInputBuilderState_build_closure: function _LoginTextInputBuilderState_build_closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
_LoginTextInputBuilderState_build__closure: function _LoginTextInputBuilderState_build__closure(t0) {
|
|
this.$this = t0;
|
|
},
|
|
TryAgainButton: function TryAgainButton(t0, t1, t2) {
|
|
this.onRetry = t0;
|
|
this.responsiveUtils = t1;
|
|
this.key = t2;
|
|
},
|
|
TextInput_finishAutofillContext(shouldSave) {
|
|
var t1, t2, t3, t4, t5;
|
|
for (t1 = $.$get$TextInput__instance(), t2 = t1._inputControls, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = type$.void, t4 = t2.$ti._precomputed1; t2.moveNext$0();) {
|
|
t5 = t2._collection$_current;
|
|
if (t5 == null)
|
|
t4._as(t5);
|
|
t5 = t1.__TextInput__channel_A;
|
|
t5 === $ && A.throwUnnamedLateFieldNI();
|
|
t5.invokeMethod$1$2("TextInput.finishAutofillContext", shouldSave, t3);
|
|
}
|
|
}
|
|
},
|
|
D, E, G, F;
|
|
J = holdersList[1];
|
|
A = holdersList[0];
|
|
B = holdersList[2];
|
|
C = hunkHelpers.updateHolder(holdersList[3], C);
|
|
D = holdersList[10];
|
|
E = holdersList[9];
|
|
G = holdersList[12];
|
|
F = holdersList[11];
|
|
C._AutofillScopeTextInputConfiguration.prototype = {
|
|
toJson$0() {
|
|
var result = this.super$TextInputConfiguration$toJson(),
|
|
t1 = this.allConfigurations;
|
|
t1 = A.MappedIterable_MappedIterable(t1, new C._AutofillScopeTextInputConfiguration_toJson_closure(), t1.$ti._eval$1("Iterable.E"), type$.Map_String_dynamic);
|
|
result.$indexSet(0, "fields", A.List_List$of(t1, false, A._instanceType(t1)._eval$1("Iterable.E")));
|
|
return result;
|
|
}
|
|
};
|
|
C.AutofillScopeMixin.prototype = {
|
|
attach$2(trigger, configuration) {
|
|
var t1 = this.get$autofillClients(),
|
|
connection = A.TextInputConnection$_(trigger);
|
|
$.$get$TextInput__instance()._attach$2(connection, new C._AutofillScopeTextInputConfiguration(new A.MappedIterable(t1, new C.AutofillScopeMixin_attach_closure(), t1.$ti._eval$1("MappedIterable<1,TextInputConfiguration>")), configuration.viewId, configuration.inputType, false, configuration.obscureText, configuration.autocorrect, configuration.autofillConfiguration, configuration.smartDashesType, configuration.smartQuotesType, true, true, configuration.actionLabel, configuration.inputAction, configuration.textCapitalization, configuration.keyboardAppearance, true, B.List_empty0, false));
|
|
return connection;
|
|
}
|
|
};
|
|
C.AutofillContextAction.prototype = {
|
|
_enumToString$0() {
|
|
return "AutofillContextAction." + this._core$_name;
|
|
}
|
|
};
|
|
C.AutofillGroup.prototype = {
|
|
createState$0() {
|
|
return new C.AutofillGroupState(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.AutofillClient), B._StateLifecycle_0);
|
|
}
|
|
};
|
|
C.AutofillGroupState.prototype = {
|
|
getAutofillClient$1(autofillId) {
|
|
return this._clients.$index(0, autofillId);
|
|
},
|
|
get$autofillClients() {
|
|
var t1 = this._clients.get$values(0);
|
|
return new A.WhereIterable(t1, new C.AutofillGroupState_autofillClients_closure(), A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>"));
|
|
},
|
|
register$1(_, client) {
|
|
this._clients.putIfAbsent$2(0, client.get$autofillId(), new C.AutofillGroupState_register_closure(client));
|
|
},
|
|
unregister$1(_, autofillId) {
|
|
this._clients.remove$1(0, autofillId);
|
|
},
|
|
didChangeDependencies$0() {
|
|
this.super$State$didChangeDependencies();
|
|
var t1 = this._framework$_element;
|
|
t1.toString;
|
|
this._isTopmostAutofillGroup = A.AutofillGroup_maybeOf(t1) == null;
|
|
},
|
|
build$1(context) {
|
|
return new C._AutofillScope(this, this._widget.child, null);
|
|
},
|
|
dispose$0() {
|
|
this.super$State$dispose();
|
|
if (!this._isTopmostAutofillGroup)
|
|
return;
|
|
this._widget.toString;
|
|
switch (0) {
|
|
case 0:
|
|
C.TextInput_finishAutofillContext(true);
|
|
break;
|
|
}
|
|
}
|
|
};
|
|
C._AutofillScope.prototype = {
|
|
updateShouldNotify$1(old) {
|
|
return this._scope !== old._scope;
|
|
}
|
|
};
|
|
C._AutofillGroupState_State_AutofillScopeMixin.prototype = {};
|
|
C.RecentItemTileWidget.prototype = {
|
|
build$1(context) {
|
|
var _null = null;
|
|
return new A.Padding(B.EdgeInsets_12_12_12_12, A.Row$(A._setArrayType([A.SvgPicture$asset("assets/images/ic_clock_sb.svg", B.Alignment_0_0, _null, B.BoxFit_1, _null, _null, _null, _null), B.SizedBox_8_null_null_null, A.Expanded$(A.Text$(this._getTitle$1(this.item), _null, _null, _null, _null, _null, _null, _null, _null, B.TextStyle_69t, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null);
|
|
},
|
|
_getTitle$1(item) {
|
|
return item.username;
|
|
}
|
|
};
|
|
C.BaseLoginView.prototype = {
|
|
buildLoginButton$1(context) {
|
|
var t2, t3, t4, _this = this, _null = null,
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = t1._jsWeakMap;
|
|
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t2._as(t1.get(_this)).toString;
|
|
t3 = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data;
|
|
t4 = A.ElevatedButton_styleFrom(_null, _null, B.Color_4278221567, _null, _null, _null, _null, _null, _null, B.Color_4294967295, _null, _null, _null, _null, new A.RoundedRectangleBorder(A.BorderRadius$circular(10), B.BorderSide_UKi), _null, _null, _null, _null);
|
|
A.Expando__checkType(_this);
|
|
t1 = t2._as(t1.get(_this)).get$handleLoginPressed();
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Container$(_null, A.ElevatedButton$(false, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_6nc1, _null, _null, _null, _null, _null), _null, _null, B.IconAlignment_0, D.ValueKey_loginSubmitForm, _null, _null, _null, t1, _null, t4), B.Clip_0, _null, _null, _null, _null, 48, _null, D.EdgeInsetsDirectional_24_0_24_16, _null, _null, _null, t3.size._dx);
|
|
},
|
|
buildInputCredentialForm$1(context) {
|
|
return new C.AutofillGroup(new A.Padding(B.EdgeInsetsDirectional_24_0_24_0, A.Column$(A._setArrayType([this.buildUserNameInput$1(context), B.SizedBox_null_24_null_null, this.buildPasswordInput$1(context), D.SizedBox_null_40_null_null], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), null), null);
|
|
},
|
|
buildUserNameInput$1(context) {
|
|
var t2, t3, t4, t5, t6, t7, _this = this, _null = null, _s5_ = "email",
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = t1._jsWeakMap;
|
|
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t3 = t2._as(t1.get(_this)).usernameInputController;
|
|
A.Expando__checkType(_this);
|
|
t4 = t2._as(t1.get(_this)).get$onUsernameChange();
|
|
A.Expando__checkType(_this);
|
|
t5 = t2._as(t1.get(_this)).userNameFocusNode;
|
|
t6 = new C.LoginInputDecorationBuilder();
|
|
t7 = type$.AppLocalizations;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t7).toString;
|
|
t6.labelText = A.Intl__message(_s5_, _null, _s5_, _null, _null);
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t7).toString;
|
|
t6.hintText = A.Intl__message(_s5_, _null, _s5_, _null, _null);
|
|
t6 = t6.build$0();
|
|
A.Expando__checkType(_this);
|
|
t7 = t2._as(t1.get(_this)).get$getAllRecentLoginUsernameAction();
|
|
A.Expando__checkType(_this);
|
|
return A.TypeAheadFormFieldBuilder$(false, D.List_email, t3, B.Duration_300000, t6, t5, true, true, true, new C.BaseLoginView_buildUserNameInput_closure(), D.ValueKey_login_username_input, B.TextInputType_5_null_null, new C.BaseLoginView_buildUserNameInput_closure0(), t2._as(t1.get(_this)).get$selectUsernameFromSuggestion(), t4, t7, B.TextInputAction_6, type$.RecentLoginUsername);
|
|
},
|
|
buildPasswordInput$1(context) {
|
|
var t2, t3, t4, t5, _this = this,
|
|
_s8_ = "password",
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = t1._jsWeakMap;
|
|
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t3 = t2._as(t1.get(_this)).passwordInputController;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t4 = A.Intl__message(_s8_, null, _s8_, null, null);
|
|
A.Expando__checkType(_this);
|
|
t5 = t2._as(t1.get(_this)).passFocusNode;
|
|
A.Expando__checkType(_this);
|
|
return new C.LoginTextInputBuilder(t4, B.TextInputAction_2, t3, t5, D.List_password, t2._as(t1.get(_this)).get$onPasswordChange(), new C.BaseLoginView_buildPasswordInput_closure(_this), D.ValueKey_login_password_input);
|
|
}
|
|
};
|
|
C.LoginView.prototype = {
|
|
build$1(context) {
|
|
var t2, _this = this, _null = null,
|
|
t1 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).responsiveUtils;
|
|
t2 = _this._buildMobileForm$1(context);
|
|
return A.Scaffold$(_null, B.Color_4294967295, A.Center$(A.SingleChildScrollView$(A.ResponsiveWidget$(_this._buildWebForm$1(context), _null, _null, t2, t1, _null, _null), _null, _null, _null, _null, _null, B.Axis_1), _null, _null), _null, _null, true, _null, _null, _null);
|
|
},
|
|
_buildMobileForm$1(context) {
|
|
var t2, t3, _this = this, _null = null,
|
|
t1 = E.ApplicationLogoWidthTextWidget$(_null, _null);
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t2 = type$.JSArray_Widget;
|
|
t1 = A.Column$(A._setArrayType([new A.Padding(D.EdgeInsets_0_67_0_0, t1, _null), new A.Padding(D.EdgeInsets_0_67_0_0, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t27, _null, _null, _null, _null, _null), _null), new A.Obx(new C.LoginView__buildMobileForm_closure(_this), _null), new A.Obx(new C.LoginView__buildMobileForm_closure0(_this, context), _null), _this._buildLoadingProgress$1(context), D.Padding_HfL, F.ApplicationVersionWidget_null_null_null_null], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1);
|
|
t3 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
A._instanceType(_this)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(_this)).toString;
|
|
return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([new A.ConstrainedBox(D.BoxConstraints_oA84, t1, _null), A.Positioned$fill(24, new A.Align(B.Alignment_0_1, _null, _null, A.SvgPicture$asset("assets/images/power_by_linagora.svg", B.Alignment_0_0, _null, B.BoxFit_0, 44, _null, _null, 97), _null))], t2), _null);
|
|
},
|
|
_buildWebForm$1(context) {
|
|
var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null,
|
|
t1 = type$.AppLocalizations;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t2 = A.Text$(A.Intl__message("JMAP-based\ncollaborative team mail solution", _null, "jmapBasedMailSolution", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t25, _null, _null, _null, _null, _null);
|
|
t3 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(_this);
|
|
t3 = t3._jsWeakMap;
|
|
t4 = A._instanceType(_this)._eval$1("GetWidget.S");
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t5 = A.SloganBuilder$(true, _null, "assets/images/ic_jmap_standard.svg", _null, _null, B.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("JMAP standard", _null, "jmapStandard", _null, _null), _null, D.TextStyle_69t26);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t6 = A.SloganBuilder$(true, _null, "assets/images/ic_encrypted.svg", _null, _null, B.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Encrypted mailbox", _null, "encryptedMailbox", _null, _null), _null, D.TextStyle_69t26);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t7 = A.SloganBuilder$(true, _null, "assets/images/ic_team.svg", _null, _null, B.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Manage email as a team", _null, "manageEmailAsATeam", _null, _null), _null, D.TextStyle_69t26);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t8 = A.SloganBuilder$(true, _null, "assets/images/ic_integration.svg", _null, _null, B.EdgeInsets_12_0_0_0, _null, 48, A.Intl__message("Multiple integrations", _null, "multipleIntegrations", _null, _null), _null, D.TextStyle_69t26);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
t9 = type$.JSArray_Widget;
|
|
t8 = A.Column$(A._setArrayType([t2, new A.Padding(B.EdgeInsets_0_24_0_0, t5, _null), new A.Padding(B.EdgeInsets_0_16_0_0, t6, _null), new A.Padding(B.EdgeInsets_0_16_0_0, t7, _null), new A.Padding(B.EdgeInsets_0_16_0_0, t8, _null), new A.Padding(D.EdgeInsets_0_44_0_0, A.SvgPicture$asset("assets/images/ic_login_graphic.svg", B.Alignment_0_0, _null, B.BoxFit_0, _null, _null, _null, _null), _null)], t9), B.CrossAxisAlignment_0, B.MainAxisAlignment_2, B.MainAxisSize_1, B.VerticalDirection_1);
|
|
t7 = E.ApplicationLogoWidthTextWidget$(_null, _null);
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t7 = A.Container$(_null, A.Column$(A._setArrayType([new A.Padding(D.EdgeInsets_0_66_0_0, t7, _null), new A.Padding(D.EdgeInsets_0_67_0_0, A.Text$(A.Intl__message("Sign In", _null, "signIn", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t27, _null, _null, _null, _null, _null), _null), new A.Obx(new C.LoginView__buildWebForm_closure(_this), _null), new A.Obx(new C.LoginView__buildWebForm_closure0(_this, context), _null), _this._buildLoadingProgress$1(context), D.Padding_HfL, F.ApplicationVersionWidget_null_null_null_null], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_2, _null, _null, D.ShapeDecoration_OJ5, _null, 684, _null, _null, D.EdgeInsets_31_0_31_0, _null, _null, 458);
|
|
A.Expando__checkType(_this);
|
|
t4._as(t3.get(_this)).toString;
|
|
return new A.Padding(D.EdgeInsets_0_60_0_60, A.Row$(A._setArrayType([new A.Padding(D.EdgeInsets_0_0_86_0, t8, _null), A.Column$(A._setArrayType([t7, new A.Padding(D.EdgeInsets_0_44_0_10, A.SvgPicture$asset("assets/images/power_by_linagora.svg", B.Alignment_0_0, _null, B.BoxFit_0, 44, _null, _null, 97), _null)], t9), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t9), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, _null), _null);
|
|
},
|
|
_buildLoadingProgress$1(context) {
|
|
return new A.Obx(new C.LoginView__buildLoadingProgress_closure(this, context), null);
|
|
}
|
|
};
|
|
C.PrivacyLinkWidget.prototype = {
|
|
build$1(context) {
|
|
var t2, t3, _null = null,
|
|
t1 = type$.AppLocalizations;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t2 = A.Text$(A.Intl__message("By continuing, you're agreeing to our", _null, "byContinuingYouAreAgreeingToOur", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, B.TextStyle_8aB2, _null, _null, _null, _null, _null);
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, t1).toString;
|
|
t1 = A.Intl__message("Privacy policy", _null, "privacyPolicy", _null, _null);
|
|
t3 = A.TapGestureRecognizer$(_null, _null);
|
|
t3.onTap = new C.PrivacyLinkWidget_build_closure(this);
|
|
return A.Column$(A._setArrayType([t2, A.RichText$(_null, _null, B.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(_null, _null, _null, _null, _null, t3, _null, _null, G.TextStyle_OkG0, t1), B.TextAlign_4, _null, _null, B._LinearTextScaler_1, B.TextWidthBasis_0)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1);
|
|
}
|
|
};
|
|
C.LoginInputDecorationBuilder.prototype = {
|
|
build$0() {
|
|
var t2, t3, t4, t5, t6, _this = this, _null = null,
|
|
t1 = _this.enabledBorder;
|
|
if (t1 == null)
|
|
t1 = D.OutlineInputBorder_AuK;
|
|
t2 = _this.prefixText;
|
|
t3 = _this.labelText;
|
|
t4 = _this.hintText;
|
|
t5 = _this.hintStyle;
|
|
if (t5 == null)
|
|
t5 = D.TextStyle_QBc;
|
|
t6 = _this.contentPadding;
|
|
return A.InputDecoration$(_null, _null, _null, t6 == null ? D.EdgeInsetsDirectional_25_15_25_15 : t6, _null, _null, _null, _null, true, t1, _null, B.OutlineInputBorder_en2, _null, _null, _null, B.Color_4294112245, true, _null, B.FloatingLabelBehavior_0, _null, _null, D.OutlineInputBorder_ieL1, _null, _null, _null, _null, _null, _null, _null, t5, t4, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_2bL0, t3, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, _null);
|
|
}
|
|
};
|
|
C.LoginMessageWidget.prototype = {
|
|
build$1(context) {
|
|
var _null = null,
|
|
t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.size._dx < 600 ? 280 : 320,
|
|
t2 = this.viewState;
|
|
return new A.Padding(D.EdgeInsetsDirectional_58_11_58_36, new A.SizedBox(t1, _null, A.Text$(t2.fold$2(0, new C.LoginMessageWidget_build_closure(this, context), new C.LoginMessageWidget_build_closure0(this, context)), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t2.fold$2(0, new C.LoginMessageWidget_build_closure1(), new C.LoginMessageWidget_build_closure2()), _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, B.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), B.TextAlign_2, _null, _null, _null, _null), _null), _null);
|
|
}
|
|
};
|
|
C.LoginTextInputBuilder.prototype = {
|
|
createState$0() {
|
|
$.$get$Get();
|
|
var t1 = $.GetInstance__getInstance;
|
|
if (t1 == null)
|
|
t1 = $.GetInstance__getInstance = B.C_GetInstance;
|
|
return new C._LoginTextInputBuilderState(t1.find$1$1$tag(0, null, type$.ImagePaths), B._StateLifecycle_0);
|
|
}
|
|
};
|
|
C._LoginTextInputBuilderState.prototype = {
|
|
initState$0() {
|
|
var t1, _this = this;
|
|
_this.super$State$initState();
|
|
t1 = _this._widget;
|
|
t1.toString;
|
|
_this.___LoginTextInputBuilderState__obscureText_A = true;
|
|
_this.___LoginTextInputBuilderState__controller_A = t1.controller;
|
|
},
|
|
build$1(context) {
|
|
var t5, t6, t7, t8, t9, _this = this, _null = null,
|
|
t1 = _this._widget,
|
|
t2 = t1.onSubmitted,
|
|
t3 = t1.onTextChange,
|
|
t4 = _this.___LoginTextInputBuilderState__obscureText_A;
|
|
t4 === $ && A.throwUnnamedLateFieldNI();
|
|
t5 = t1.textInputAction;
|
|
t6 = t1.autofillHints;
|
|
t7 = _this.___LoginTextInputBuilderState__controller_A;
|
|
t7 === $ && A.throwUnnamedLateFieldNI();
|
|
t8 = t1.focusNode;
|
|
t9 = new C.LoginInputDecorationBuilder();
|
|
t9.hintText = t1.hintText;
|
|
t9.contentPadding = D.EdgeInsetsDirectional_25_15_40_15;
|
|
t9.hintStyle = B.TextStyle_8aB4;
|
|
t9.errorTextStyle = D.TextStyle_8eb4;
|
|
t9.enabledBorder = D.OutlineInputBorder_AuK;
|
|
t9.errorBorder = B.OutlineInputBorder_en2;
|
|
t5 = A._setArrayType([A.TextFormFieldBuilder$(false, t6, t7, t9.build$0(), t8, _null, t4, t3, t2, t5, B.TextStyle_8aB4)], type$.JSArray_Widget);
|
|
_this._widget.toString;
|
|
t1 = _this.___LoginTextInputBuilderState__obscureText_A ? "assets/images/ic_eye.svg" : "assets/images/ic_eye_off.svg";
|
|
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(B.Color_0, 20, _null, t1, _null, 18, _null, B.EdgeInsetsDirectional_0_0_4_0, 1 / 0, _null, new C._LoginTextInputBuilderState_build_closure(_this), _null, _null));
|
|
return new A.Stack(B.AlignmentDirectional_1_0, _null, B.StackFit_0, B.Clip_1, t5, _null);
|
|
},
|
|
dispose$0() {
|
|
this._widget.toString;
|
|
this.super$State$dispose();
|
|
}
|
|
};
|
|
C.TryAgainButton.prototype = {
|
|
build$1(context) {
|
|
var _null = null;
|
|
A.Localizations_of(context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.TMailButtonWidget_TMailButtonWidget$fromText(B.Color_4278221567, 10, _null, D.EdgeInsetsDirectional_24_0_24_16, 1 / 0, _null, 1 / 0, 0, _null, this.onRetry, B.EdgeInsets_0_12_0_12, A.Intl__message("Try again", _null, "tryAgain", _null, _null), B.TextAlign_2, D.TextStyle_6nc1, _null, A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data.size._dx);
|
|
}
|
|
};
|
|
var typesOffset = hunkHelpers.updateTypes(["LoginMessageWidget()", "RecentItemTileWidget<RecentLoginUsername>(BuildContext,RecentLoginUsername)"]);
|
|
C._AutofillScopeTextInputConfiguration_toJson_closure.prototype = {
|
|
call$1(configuration) {
|
|
return configuration.toJson$0();
|
|
},
|
|
$signature: 1806
|
|
};
|
|
C.AutofillScopeMixin_attach_closure.prototype = {
|
|
call$1(client) {
|
|
return client.get$textInputConfiguration();
|
|
},
|
|
$signature: 1807
|
|
};
|
|
C.AutofillGroupState_autofillClients_closure.prototype = {
|
|
call$1(client) {
|
|
return client.get$textInputConfiguration().autofillConfiguration.enabled;
|
|
},
|
|
$signature: 1808
|
|
};
|
|
C.AutofillGroupState_register_closure.prototype = {
|
|
call$0() {
|
|
return this.client;
|
|
},
|
|
$signature: 1809
|
|
};
|
|
C.BaseLoginView_buildUserNameInput_closure.prototype = {
|
|
call$2(_, loginUsername) {
|
|
var t1;
|
|
$.$get$Get();
|
|
t1 = $.GetInstance__getInstance;
|
|
if (t1 == null)
|
|
t1 = $.GetInstance__getInstance = B.C_GetInstance;
|
|
return new C.RecentItemTileWidget(loginUsername, t1.find$1$1$tag(0, null, type$.ImagePaths), null, type$.RecentItemTileWidget_RecentLoginUsername);
|
|
},
|
|
$signature: typesOffset + 1
|
|
};
|
|
C.BaseLoginView_buildUserNameInput_closure0.prototype = {
|
|
call$1(context) {
|
|
return B.SizedBox_null_null_null_null;
|
|
},
|
|
$signature: 492
|
|
};
|
|
C.BaseLoginView_buildPasswordInput_closure.prototype = {
|
|
call$1(_) {
|
|
var t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleLoginPressed$0();
|
|
},
|
|
$signature: 7
|
|
};
|
|
C.LoginView__buildMobileForm_closure.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
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)).loginFormType.get$value(0);
|
|
A.Expando__checkType(t1);
|
|
return C.LoginMessageWidget$(t4, t3._as(t2.get(t1)).viewState.get$value(0));
|
|
},
|
|
$signature: typesOffset + 0
|
|
};
|
|
C.LoginView__buildMobileForm_closure0.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
switch (t3._as(t2.get(t1)).loginFormType.get$value(0)) {
|
|
case B.LoginFormType_3:
|
|
return t1.buildInputCredentialForm$1(this.context);
|
|
case B.LoginFormType_1:
|
|
A.Expando__checkType(t1);
|
|
t4 = t3._as(t2.get(t1)).get$retryCheckOidc();
|
|
A.Expando__checkType(t1);
|
|
return new C.TryAgainButton(t4, t3._as(t2.get(t1)).responsiveUtils, null);
|
|
default:
|
|
return B.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 3
|
|
};
|
|
C.LoginView__buildWebForm_closure.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
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)).loginFormType.get$value(0);
|
|
A.Expando__checkType(t1);
|
|
return C.LoginMessageWidget$(t4, t3._as(t2.get(t1)).viewState.get$value(0));
|
|
},
|
|
$signature: typesOffset + 0
|
|
};
|
|
C.LoginView__buildWebForm_closure0.prototype = {
|
|
call$0() {
|
|
var t3, t4,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t2 = t2._jsWeakMap;
|
|
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
|
|
switch (t3._as(t2.get(t1)).loginFormType.get$value(0)) {
|
|
case B.LoginFormType_3:
|
|
return t1.buildInputCredentialForm$1(this.context);
|
|
case B.LoginFormType_1:
|
|
A.Expando__checkType(t1);
|
|
t4 = t3._as(t2.get(t1)).get$retryCheckOidc();
|
|
A.Expando__checkType(t1);
|
|
return new C.TryAgainButton(t4, t3._as(t2.get(t1)).responsiveUtils, null);
|
|
default:
|
|
return B.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 3
|
|
};
|
|
C.LoginView__buildLoadingProgress_closure.prototype = {
|
|
call$0() {
|
|
var t3,
|
|
t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
t3 = this.context;
|
|
return J.fold$2$ax(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), new C.LoginView__buildLoadingProgress__closure(t1, t3), new C.LoginView__buildLoadingProgress__closure0(t1, t3));
|
|
},
|
|
$signature: 3
|
|
};
|
|
C.LoginView__buildLoadingProgress__closure.prototype = {
|
|
call$1(failure) {
|
|
var t1 = this.$this,
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loginFormType.get$value(0)) {
|
|
case B.LoginFormType_3:
|
|
return t1.buildLoginButton$1(this.context);
|
|
default:
|
|
return B.SizedBox_0_0_null_null;
|
|
}
|
|
},
|
|
$signature: 106
|
|
};
|
|
C.LoginView__buildLoadingProgress__closure0.prototype = {
|
|
call$1(success) {
|
|
var t1, t2;
|
|
if (success instanceof A.LoadingState)
|
|
return D.SizedBox_gg9;
|
|
else {
|
|
t1 = this.$this;
|
|
t2 = $.$get$GetWidget__cache();
|
|
A.Expando__checkType(t1);
|
|
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loginFormType.get$value(0)) {
|
|
case B.LoginFormType_3:
|
|
return t1.buildLoginButton$1(this.context);
|
|
default:
|
|
return B.SizedBox_0_0_null_null;
|
|
}
|
|
}
|
|
},
|
|
$signature: 50
|
|
};
|
|
C.PrivacyLinkWidget_build_closure.prototype = {
|
|
call$0() {
|
|
return A.AppUtils_launchLink("https://www.linagora.com/en/legal/privacy");
|
|
},
|
|
$signature: 0
|
|
};
|
|
C.LoginMessageWidget_build_closure.prototype = {
|
|
call$1(failure) {
|
|
var t1, _this = this, _null = null,
|
|
_s40_ = "Unknown error occurred, please try again",
|
|
_s12_ = "unknownError";
|
|
if (failure instanceof A.GetOIDCConfigurationFailure) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Can not verify SSO configuration, please check with your system administrator", _null, "canNotVerifySSOConfiguration", _null, _null);
|
|
} else if (failure instanceof A.GetTokenOIDCFailure && failure.exception instanceof A.NoSuitableBrowserForOIDCException) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("No suitable browser for OIDC, please check with your system administrator", _null, "noSuitableBrowserForOIDC", _null, _null);
|
|
} else if (failure instanceof A.FeatureFailure) {
|
|
t1 = _this.$this._toastManager;
|
|
t1 = t1 == null ? _null : t1.getMessageByException$2(_this.context, failure.exception);
|
|
if (t1 == null) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
t1 = A.Intl__message(_s40_, _null, _s12_, _null, _null);
|
|
}
|
|
return t1;
|
|
} else {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message(_s40_, _null, _s12_, _null, _null);
|
|
}
|
|
},
|
|
$signature: 1810
|
|
};
|
|
C.LoginMessageWidget_build_closure0.prototype = {
|
|
call$1(success) {
|
|
var _this = this, _null = null,
|
|
t1 = _this.$this.formType;
|
|
if (t1 === B.LoginFormType_3) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Enter your credentials to sign in", _null, "loginInputCredentialMessage", _null, _null);
|
|
} else if (t1 === B.LoginFormType_5) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("To login and access your message please enter your email", _null, "dnsLookupLoginMessage", _null, _null);
|
|
} else if (t1 === B.LoginFormType_4) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("Enter your password to sign in", _null, "enterYourPasswordToSignIn", _null, _null);
|
|
} else if (t1 === B.LoginFormType_2) {
|
|
A.Localizations_of(_this.context, B.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
|
|
return A.Intl__message("To login and access your message please connect to your JMAP server", _null, "loginInputUrlMessage", _null, _null);
|
|
} else
|
|
return "";
|
|
},
|
|
$signature: 1811
|
|
};
|
|
C.LoginMessageWidget_build_closure1.prototype = {
|
|
call$1(failure) {
|
|
return B.Color_4293281350;
|
|
},
|
|
$signature: 1812
|
|
};
|
|
C.LoginMessageWidget_build_closure2.prototype = {
|
|
call$1(success) {
|
|
return B.Color_4278190080;
|
|
},
|
|
$signature: 1813
|
|
};
|
|
C._LoginTextInputBuilderState_build_closure.prototype = {
|
|
call$0() {
|
|
var t1 = this.$this;
|
|
t1.setState$1(new C._LoginTextInputBuilderState_build__closure(t1));
|
|
},
|
|
$signature: 0
|
|
};
|
|
C._LoginTextInputBuilderState_build__closure.prototype = {
|
|
call$0() {
|
|
var t1 = this.$this,
|
|
t2 = t1.___LoginTextInputBuilderState__obscureText_A;
|
|
t2 === $ && A.throwUnnamedLateFieldNI();
|
|
return t1.___LoginTextInputBuilderState__obscureText_A = !t2;
|
|
},
|
|
$signature: 0
|
|
};
|
|
(function inheritance() {
|
|
var _mixin = hunkHelpers.mixin,
|
|
_inherit = hunkHelpers.inherit,
|
|
_inheritMany = hunkHelpers.inheritMany;
|
|
_inherit(C._AutofillScopeTextInputConfiguration, A.TextInputConfiguration);
|
|
_inheritMany(A.Closure, [C._AutofillScopeTextInputConfiguration_toJson_closure, C.AutofillScopeMixin_attach_closure, C.AutofillGroupState_autofillClients_closure, C.BaseLoginView_buildUserNameInput_closure0, C.BaseLoginView_buildPasswordInput_closure, C.LoginView__buildLoadingProgress__closure, C.LoginView__buildLoadingProgress__closure0, C.LoginMessageWidget_build_closure, C.LoginMessageWidget_build_closure0, C.LoginMessageWidget_build_closure1, C.LoginMessageWidget_build_closure2]);
|
|
_inherit(C.AutofillScopeMixin, A.Object);
|
|
_inherit(C.AutofillContextAction, A._Enum);
|
|
_inheritMany(A.StatefulWidget, [C.AutofillGroup, C.LoginTextInputBuilder]);
|
|
_inheritMany(A.State0, [C._AutofillGroupState_State_AutofillScopeMixin, C._LoginTextInputBuilderState]);
|
|
_inherit(C.AutofillGroupState, C._AutofillGroupState_State_AutofillScopeMixin);
|
|
_inheritMany(A.Closure0Args, [C.AutofillGroupState_register_closure, C.LoginView__buildMobileForm_closure, C.LoginView__buildMobileForm_closure0, C.LoginView__buildWebForm_closure, C.LoginView__buildWebForm_closure0, C.LoginView__buildLoadingProgress_closure, C.PrivacyLinkWidget_build_closure, C._LoginTextInputBuilderState_build_closure, C._LoginTextInputBuilderState_build__closure]);
|
|
_inherit(C._AutofillScope, A.InheritedWidget);
|
|
_inheritMany(A.StatelessWidget, [C.RecentItemTileWidget, C.PrivacyLinkWidget, C.LoginMessageWidget, C.TryAgainButton]);
|
|
_inherit(C.BaseLoginView, A.GetWidget);
|
|
_inherit(C.BaseLoginView_buildUserNameInput_closure, A.Closure2Args);
|
|
_inherit(C.LoginView, C.BaseLoginView);
|
|
_inherit(C.LoginInputDecorationBuilder, A.InputDecorationBuilder);
|
|
_mixin(C._AutofillGroupState_State_AutofillScopeMixin, C.AutofillScopeMixin);
|
|
})();
|
|
A._Universe_addRules(init.typeUniverse, JSON.parse('{"_AutofillScopeTextInputConfiguration":{"TextInputConfiguration":[]},"AutofillGroup":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"AutofillGroupState":{"State0":["AutofillGroup"]},"_AutofillScope":{"InheritedWidget":[],"ProxyWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecentItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BaseLoginView":{"GetWidget":["LoginController"],"Widget":[],"DiagnosticableTree":[]},"LoginView":{"GetWidget":["LoginController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"LoginController"},"PrivacyLinkWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"LoginMessageWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"LoginTextInputBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_LoginTextInputBuilderState":{"State0":["LoginTextInputBuilder"]},"TryAgainButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]}}'));
|
|
var type$ = (function rtii() {
|
|
var findType = A.findType;
|
|
return {
|
|
AppLocalizations: findType("AppLocalizations"),
|
|
AutofillClient: findType("AutofillClient"),
|
|
ImagePaths: findType("ImagePaths"),
|
|
JSArray_String: findType("JSArray<String>"),
|
|
JSArray_Widget: findType("JSArray<Widget>"),
|
|
Map_String_dynamic: findType("Map<String,@>"),
|
|
MediaQuery: findType("MediaQuery"),
|
|
RecentItemTileWidget_RecentLoginUsername: findType("RecentItemTileWidget<RecentLoginUsername>"),
|
|
RecentLoginUsername: findType("RecentLoginUsername"),
|
|
String: findType("String"),
|
|
ToastManager: findType("ToastManager"),
|
|
ValueKey_String: findType("ValueKey<String>"),
|
|
void: findType("~")
|
|
};
|
|
})();
|
|
(function constants() {
|
|
var makeConstList = hunkHelpers.makeConstList;
|
|
D.AutofillContextAction_0 = new C.AutofillContextAction(0, "commit");
|
|
D.BoxConstraints_oA84 = new A.BoxConstraints(200, 720, 720, 1 / 0);
|
|
D.EdgeInsetsDirectional_24_0_24_16 = new A.EdgeInsetsDirectional(24, 0, 24, 16);
|
|
D.EdgeInsetsDirectional_25_15_25_15 = new A.EdgeInsetsDirectional(25, 15, 25, 15);
|
|
D.EdgeInsetsDirectional_25_15_40_15 = new A.EdgeInsetsDirectional(25, 15, 40, 15);
|
|
D.EdgeInsetsDirectional_58_11_58_36 = new A.EdgeInsetsDirectional(58, 11, 58, 36);
|
|
D.EdgeInsets_0_0_86_0 = new A.EdgeInsets(0, 0, 86, 0);
|
|
D.EdgeInsets_0_44_0_0 = new A.EdgeInsets(0, 44, 0, 0);
|
|
D.EdgeInsets_0_44_0_10 = new A.EdgeInsets(0, 44, 0, 10);
|
|
D.EdgeInsets_0_60_0_60 = new A.EdgeInsets(0, 60, 0, 60);
|
|
D.EdgeInsets_0_66_0_0 = new A.EdgeInsets(0, 66, 0, 0);
|
|
D.EdgeInsets_0_67_0_0 = new A.EdgeInsets(0, 67, 0, 0);
|
|
D.EdgeInsets_31_0_31_0 = new A.EdgeInsets(31, 0, 31, 0);
|
|
D.List_email = A._setArrayType(makeConstList(["email"]), type$.JSArray_String);
|
|
D.List_password = A._setArrayType(makeConstList(["password"]), type$.JSArray_String);
|
|
D.BorderSide_Fkb = new A.BorderSide(B.Color_4294112245, 1, B.BorderStyle_1, -1);
|
|
D.OutlineInputBorder_AuK = new A.OutlineInputBorder(4, B.BorderRadius_ww82, D.BorderSide_Fkb);
|
|
D.BorderSide_UKi2 = new A.BorderSide(B.Color_4278221567, 2, B.BorderStyle_1, -1);
|
|
D.OutlineInputBorder_ieL1 = new A.OutlineInputBorder(4, B.BorderRadius_ww82, D.BorderSide_UKi2);
|
|
D.PrivacyLinkWidget_null = new C.PrivacyLinkWidget(null);
|
|
D.Padding_HfL = new A.Padding(B.EdgeInsets_0_16_0_0, D.PrivacyLinkWidget_null, null);
|
|
D.Color_1035779260 = new A.Color(1035779260);
|
|
D.BoxShadow_c9P = new A.BoxShadow(2, B.BlurStyle_0, D.Color_1035779260, B.Offset_0_2, 40);
|
|
D.List_1WK = A._setArrayType(makeConstList([D.BoxShadow_c9P]), A.findType("JSArray<BoxShadow>"));
|
|
D.ShapeDecoration_OJ5 = new A.ShapeDecoration(B.Color_4294967295, null, null, D.List_1WK, B.RoundedRectangleBorder_NYu11);
|
|
D.ValueKey_login_loading_icon = new A.ValueKey("login_loading_icon", type$.ValueKey_String);
|
|
D.SizedBox_gg9 = new A.SizedBox(40, 40, B.CircularProgressIndicator_86y0, D.ValueKey_login_loading_icon);
|
|
D.SizedBox_null_40_null_null = new A.SizedBox(null, 40, null, null);
|
|
D.TextStyle_2bL0 = new A.TextStyle(true, B.Color_4286482075, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t26 = new A.TextStyle(true, B.Color_4278190080, null, null, null, null, 24, B.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t27 = new A.TextStyle(true, B.Color_4278190080, null, null, null, null, 32, B.FontWeight_8_900, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_69t25 = new A.TextStyle(true, B.Color_4278190080, null, null, null, null, 36, B.FontWeight_8_900, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_6nc1 = new A.TextStyle(true, B.Color_4294967295, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_8eb4 = new A.TextStyle(true, B.Color_4293281350, null, null, null, null, 13, B.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.TextStyle_QBc = new A.TextStyle(true, B.Color_4285887861, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
|
|
D.ValueKey_loginSubmitForm = new A.ValueKey("loginSubmitForm", type$.ValueKey_String);
|
|
D.ValueKey_login_password_input = new A.ValueKey("login_password_input", type$.ValueKey_String);
|
|
D.ValueKey_login_username_input = new A.ValueKey("login_username_input", type$.ValueKey_String);
|
|
})();
|
|
};
|
|
;
|
|
((d, h) => {
|
|
d[h] = d.current;
|
|
d.eventLog.push({p: "main.dart.js_1", e: "endPart", h: h});
|
|
})($__dart_deferred_initializers__, "shiJjbPnRvPSwq3G2fvG5t+2Vro=");
|
|
; |