Ext.namespace("Zarafa.plugins.fetchmail");Zarafa.plugins.fetchmail.ABOUT='<p>Copyright (C) 2017  Oliver Asselmann &lt;olia@ktah.net&gt;</p><p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.</p><p>You should have received a copy of the GNU Affero General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/" target="_blank">http://www.gnu.org/licenses/</a>.</p><hr><p>The fetchmail plugin contains the following third-party components:</p><br><p>Fetchmail Plugin Icon is from the <a href=\'https://www.iconfinder.com/iconsets/mail-icons-2\'>"Mail Icons"</a> set by "Benjamin STAWARZ" licensed under <a href=\'http://creativecommons.org/licenses/by/3.0/\'>CC BY 3.0</a></p><p>Status Icons are from the <a href=\'https://www.iconfinder.com/iconsets/flat-actions-icons-9\'>"Flat Icons"</a> set by <a href=\'https://www.iconfinder.com/iconpack\'>"iconpack"</a> which is licensed free for commercial use.';
Ext.namespace("Zarafa.plugins.fetchmail");
Zarafa.plugins.fetchmail.FetchmailPlugin=Ext.extend(Zarafa.core.Plugin,{constructor:function(a){a=a||{};Zarafa.plugins.fetchmail.FetchmailPlugin.superclass.constructor.call(this,a)},initPlugin:function(){this.registerInsertionPoint("context.settings.categories",this.createSettingsCategory,this);Zarafa.core.data.SharedComponentType.addProperty("plugin.fetchmail.dialogs.accountdialogcontentpanel");Zarafa.plugins.fetchmail.FetchmailPlugin.superclass.initPlugin.apply(this,arguments)},bidSharedComponent:function(a,
b){var c=-1;switch(a){case Zarafa.core.data.SharedComponentType["plugin.fetchmail.dialogs.accountdialogcontentpanel"]:c=1}return c},getSharedComponent:function(a,b){var c;switch(a){case Zarafa.core.data.SharedComponentType["plugin.fetchmail.dialogs.accountdialogcontentpanel"]:c=Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogContentPanel}return c},createSettingsCategory:function(a,b,c){return{xtype:"zarafa.settingsfetchmailcategory",settingsContext:c}}});
Zarafa.onReady(function(){Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP=1;Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS=2;Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3=5;Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S=6;Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL=1;Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP=5;Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP_STRING="IMAP";Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS_STRING="IMAP+SSL";Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3_STRING=
"POP3";Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S_STRING="POP3+SSL";Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL_STRING="FETCHALL";Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP_STRING="KEEP";Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_SAVE_SUCCESS_RESPONSE=42;Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_SAVE_ERROR_PARAMETER_RESPONSE=43;Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_DELETE_SUCCESS_RESPONSE=142;Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_POLL_NOW_SUCCESS_RESPONSE=
1142;container.registerPlugin(new Zarafa.core.PluginMetaData({name:"fetchmail",displayName:_("Fetchmail Plugin","plugin_fetchmail"),about:Zarafa.plugins.fetchmail.ABOUT,pluginConstructor:Zarafa.plugins.fetchmail.FetchmailPlugin}))});Ext.namespace("Zarafa.plugins.fetchmail.data");
Zarafa.plugins.fetchmail.data.FetchmailAccountRecordFields=[{name:"entryid",type:"string"},{name:"kopano_uid",type:"string"},{name:"kopano_mail",type:"string"},{name:"src_server",type:"string"},{name:"src_port",type:"string"},{name:"src_protocol",type:"string"},{name:"src_polling_type",type:"string"},{name:"src_user",type:"string"},{name:"src_password",type:"string"},{name:"polling_freq",type:"string"},{name:"last_polling",type:"date",dateFormat:"timestamp"},{name:"last_update",type:"date",dateFormat:"timestamp"},
{name:"last_status_code",type:"string"},{name:"last_log_message",type:"string"}];Zarafa.plugins.fetchmail.data.FetchmailAccountRecord=Ext.extend(Zarafa.core.data.IPMRecord,{});Zarafa.core.data.RecordCustomObjectType.addProperty("ZARAFA_FETCHMAIL");Zarafa.core.data.RecordFactory.addFieldToCustomType(Zarafa.core.data.RecordCustomObjectType.ZARAFA_FETCHMAIL,Zarafa.plugins.fetchmail.data.FetchmailAccountRecordFields);
Zarafa.core.data.RecordFactory.addListenerToCustomType(Zarafa.core.data.RecordCustomObjectType.ZARAFA_FETCHMAIL,"createphantom",function(a){a.afterOpen()});Zarafa.core.data.RecordFactory.setBaseClassToCustomType(Zarafa.core.data.RecordCustomObjectType.ZARAFA_FETCHMAIL,Zarafa.plugins.fetchmail.data.FetchmailAccountRecord);Ext.namespace("Zarafa.plugins.fetchmail.data");
Zarafa.plugins.fetchmail.data.FetchmailAccountStore=Ext.extend(Zarafa.core.data.ListModuleStore,{constructor:function(a){a=a||{};Ext.applyIf(a,{autoLoad:!0,remoteSort:!1,reader:new Zarafa.plugins.fetchmail.data.JsonAccountReader,writer:new Zarafa.core.data.JsonWriter,proxy:new Zarafa.core.data.IPMProxy({listModuleName:"pluginfetchmailmodule",itemModuleName:"pluginfetchmailmodule"})});Zarafa.plugins.fetchmail.data.FetchmailAccountStore.superclass.constructor.call(this,a)}});
Ext.reg("fetchmail.accountstore",Zarafa.plugins.fetchmail.data.FetchmailAccountStore);Ext.namespace("Zarafa.plugins.fetchmail.data");Zarafa.plugins.fetchmail.data.FetchmailResponseHandler=Ext.extend(Zarafa.core.data.AbstractResponseHandler,{successCallback:null,doAccountsave:function(a){this.successCallback(a)},doAccountdelete:function(a){this.successCallback(a)},doAccountpollnow:function(a){this.successCallback(a)}});Ext.reg("fetchmail.responsehandler",Zarafa.plugins.fetchmail.data.FetchmailResponseHandler);
Ext.namespace("Zarafa.plugins.fetchmail.data");Zarafa.plugins.fetchmail.data.JsonAccountReader=Ext.extend(Zarafa.core.data.JsonReader,{customObjectType:Zarafa.core.data.RecordCustomObjectType.ZARAFA_FETCHMAIL,constructor:function(a,b){a=Ext.applyIf(a||{},{dynamicRecord:!1});b=Zarafa.core.data.RecordFactory.getRecordClassByCustomType(Zarafa.core.data.RecordCustomObjectType.ZARAFA_FETCHMAIL);Zarafa.plugins.fetchmail.data.JsonAccountReader.superclass.constructor.call(this,a,b)}});Ext.namespace("Zarafa.plugins.fetchmail.dialogs");
Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogContentPanel=Ext.extend(Zarafa.core.ui.ContentPanel,{constructor:function(a){a=a||{};var b=a.record.get("src_user");null==b&&(b=dgettext("plugin_fetchmail","New Account"));Ext.applyIf(a,{xtype:"fetchmailplugin.accountdialogcontentpanel",layout:"fit",modal:!0,width:500,height:500,title:dgettext("plugin_fetchmail",b),items:[{xtype:"fetchmailplugin.fetchmailaccountdialogdetailspanel",record:a.record,buttonAlign:"center",buttons:[{text:_("Save","plugin_fetchmail"),
handler:this.onSaveBtn,scope:this},{text:_("Cancel","plugin_fetchmail"),handler:this.close,scope:this}]}]});Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogContentPanel.superclass.constructor.call(this,a)},onSaveBtn:function(){this.get(0).saveFetchmailAccount()}});Ext.reg("fetchmailplugin.accountdialogcontentpanel",Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogContentPanel);Ext.namespace("Zarafa.plugins.fetchmail.dialogs");
Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogDetailsPanel=Ext.extend(Ext.form.FormPanel,{record:null,constructor:function(a){a=a||{};Ext.applyIf(a,{xtype:"fetchmailplugin.fetchmailaccountdialogdetailspanel",layout:"form",labelAlign:"top",anchor:"100%",defaults:{anchor:"100%"},items:[{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","EntryID"),name:"entryid",id:"entryid",hideLabel:!0,hidden:!0,readOnly:!0},{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","User mail address"),
name:"kopano_mail",id:"kopano_mail",hideLabel:!0,hidden:!0,readOnly:!0,value:container.getUser().getEmailAddress()},{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","Mail Server"),name:"src_server",id:"src_server",listeners:{change:function(){this.resetErrorMessage("src_server")},scope:this}},{xtype:"container",layout:"hbox",align:"middle",pack:"center",border:!1,defaults:{layout:"form",flex:.5,border:!1},items:[{items:[{xtype:"combo",fieldLabel:dgettext("plugin_fetchmail","Mail Protocol"),
hiddenName:"src_protocol",mode:"local",ref:"../../src_protocol",id:"src_protocol",store:new Ext.data.SimpleStore({data:[[Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP,Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP_STRING],[Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS,Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS_STRING],[Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3,Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3_STRING],[Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S,Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S_STRING]],
id:0,fields:["protocol_id","protocol_text"]}),valueField:"protocol_id",displayField:"protocol_text",triggerAction:"all",editable:!1,listeners:{change:function(){this.resetErrorMessage("src_protocol");switch(this.src_protocol.getValue()){case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP:this.src_port.setValue("143");break;case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS:this.src_port.setValue("993");break;case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3:this.src_port.setValue("110");
break;case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S:this.src_port.setValue("995")}},scope:this}}]},{items:[{xtype:"textfield",name:"src_port",fieldLabel:dgettext("plugin_fetchmail","Server Port"),ref:"../../src_port",id:"src_port",listeners:{change:function(){this.resetErrorMessage("src_port")},scope:this}}]}]},{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","Account Login"),name:"src_user",id:"src_user",listeners:{change:function(){this.resetErrorMessage("src_user")},scope:this}},
{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","Account Password"),name:"src_password",id:"src_password",inputType:"password",listeners:{change:function(){this.resetErrorMessage("src_password")},scope:this}},{xtype:"textfield",fieldLabel:dgettext("plugin_fetchmail","Polling Frequency (in minutes)"),name:"polling_freq",id:"polling_freq",listeners:{change:function(){this.resetErrorMessage("polling_freq")},scope:this}},{xtype:"combo",fieldLabel:dgettext("plugin_fetchmail","Polling Type (Warning: FETCHALL deletes the mails from the Remote Server)"),
hiddenName:"src_polling_type",id:"src_polling_type",mode:"local",store:new Ext.data.SimpleStore({data:[[Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL,Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL_STRING],[Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP,Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP_STRING]],id:0,fields:["polling_type_id","polling_type_text"]}),valueField:"polling_type_id",displayField:"polling_type_text",triggerAction:"all",editable:!1,listeners:{change:function(){this.resetErrorMessage("src_polling_type")},
scope:this}},{xtype:"textarea",fieldLabel:dgettext("plugin_fetchmail","Last Log Message"),autoHeight:!0,readOnly:!0,hidden:!0,hideMode:"visibility",grow:!0,growMax:100,name:"last_log_message",ref:"last_log_message",emptyText:_("No Log message found.","plugin_fetchmail")},{hideLabel:!0,hidden:!0,hideMode:"visibility",xtype:"displayfield",ref:"error_notification",name:"error_notification",cls:"zarafa-smime-invalid-text",value:_("Something went wrong. Please contact your Administrator.","plugin_fetchmail")}],
listeners:{afterlayout:this.onAfterLayout,scope:this}});Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogDetailsPanel.superclass.constructor.call(this,a)},onAfterLayout:function(){this.getForm().loadRecord(this.record);""!=this.last_log_message.getValue()&&this.last_log_message.show()},resetErrorMessage:function(a){(a=Ext.getCmp(a))&&a.getEl().removeClass("fetchmail-parameter-false");this.error_notification.hide();this.error_notification.setValue(_("Something went wrong. Please contact your Administrator.",
"plugin_fetchmail"))},saveFetchmailAccount:function(){var a=this.getForm().getFieldValues();container.getRequest().singleRequest("pluginfetchmailmodule","save",a,new Zarafa.plugins.fetchmail.data.FetchmailResponseHandler({successCallback:this.onSaveFetchmailAccountRequest.createDelegate(this)}))},onSaveFetchmailAccountRequest:function(a){a.code===Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_SAVE_SUCCESS_RESPONSE?(container.getNotifier().notify("info.saved",_("Fetchmail Message","plugin_fetchmail"),
_("Account saved succesfully!","plugin_fetchmail")),this.dialog.close()):(a.code===Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_SAVE_ERROR_PARAMETER_RESPONSE?(this.error_notification.setValue(_(a.message,"plugin_fetchmail")),(a=Ext.getCmp(a.parameter))&&a.getEl().addClass("fetchmail-parameter-false")):this.error_notification.setValue(_("Something went wrong. Please contact your Administrator.","plugin_fetchmail")),this.error_notification.show())}});
Ext.reg("fetchmailplugin.fetchmailaccountdialogdetailspanel",Zarafa.plugins.fetchmail.dialogs.FetchmailAccountDialogDetailsPanel);Ext.namespace("Zarafa.plugins.fetchmail.settings");
Zarafa.plugins.fetchmail.settings.SettingsFetchmailCategory=Ext.extend(Zarafa.settings.ui.SettingsCategory,{constructor:function(a){a=a||{};Ext.applyIf(a,{title:_("Fetchmail","plugin_fetchmail"),iconCls:"icon_fetchmail_settings",xtype:"zarafa.settingsfetchmailcategory",items:[{xtype:"zarafa.settingsfetchmailwidget",settingsContext:a.settingsContext},container.populateInsertionPoint("context.settings.category.fetchmail",this)]});Zarafa.plugins.fetchmail.settings.SettingsFetchmailCategory.superclass.constructor.call(this,
a)}});Ext.reg("zarafa.settingsfetchmailcategory",Zarafa.plugins.fetchmail.settings.SettingsFetchmailCategory);Ext.namespace("Zarafa.plugins.fetchmail.settings");
Zarafa.plugins.fetchmail.settings.SettingsFetchmailWidget=Ext.extend(Zarafa.settings.ui.SettingsWidget,{constructor:function(a){a=a||{};var b=new Zarafa.plugins.fetchmail.data.FetchmailAccountStore;Ext.applyIf(a,{title:_("Fetchmail Configuration","plugin_fetchmail"),items:[{xtype:"container",layout:"fit",itemId:"container",items:[{xtype:"grid",name:_("Accounts","plugin_fetchmail"),ref:"../accountGrid",height:400,itemId:"accountGrid",store:b,viewConfig:{forceFit:!0,deferEmptyText:!1,emptyText:'<div class="emptytext">'+
_("No accounts configured","plugin_fetchmail")+"</div>",getRowClass:function(a){if(1<a.get("last_status_code"))return"fetchmail-grid-polling-error"}},columns:[{dataIndex:"last_status_code",header:"&#160;",resizable:!1,sortable:!1,hideable:!1,width:10,renderer:function(a,b,d,e,f,g){b.css=0>a?b.css+" icon_fetchmail_unknown ":1<a?b.css+" icon_fetchmail_failure ":b.css+" icon_fetchmail_success ";b.attr='ext:qtip="'+a+'"';return"&nbsp;"}},{dataIndex:"src_server",header:_("Mail Server","plugin_fetchmail"),
renderer:Ext.util.Format.htmlEncode},{dataIndex:"src_port",header:_("Server Port","plugin_fetchmail"),renderer:Ext.util.Format.htmlEncode,width:70},{dataIndex:"src_protocol",header:_("Mail Protocol","plugin_fetchmail"),width:80,renderer:function(a){switch(parseInt(a)){case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP:return Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAP_STRING;case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS:return Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_IMAPS_STRING;
case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3:return Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3_STRING;case Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S:return Zarafa.plugins.fetchmail.FETCHMAIL_PROTOCOL_POP3S_STRING;default:return _("Unknown Polling Type","plugin_fetchmail")}}},{dataIndex:"src_polling_type",header:_("Polling Type","plugin_fetchmail"),width:80,renderer:function(a){switch(parseInt(a)){case Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL:return Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_FETCHALL_STRING;
case Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP:return Zarafa.plugins.fetchmail.FETCHMAIL_POLLING_TYPE_KEEP_STRING;default:return _("Unknown Polling Type","plugin_fetchmail")}}},{dataIndex:"src_user",header:_("Account Login","plugin_fetchmail"),renderer:Ext.util.Format.htmlEncode},{dataIndex:"polling_freq",header:_("Polling Frequency","plugin_fetchmail"),renderer:Ext.util.Format.htmlEncode},{dataIndex:"last_polling",header:_("Last Polling","plugin_fetchmail"),renderer:Ext.util.Format.htmlEncode,
width:220},{dataIndex:"last_log_message",header:_("Last Log Message","plugin_fetchmail"),renderer:Ext.util.Format.htmlEncode}],buttons:[{text:_("New Account","plugin_fetchmail"),ref:"../../../newAccountBtn",handler:this.onNewAccountBtn,scope:this},{text:_("Modify","plugin_fetchmail"),ref:"../../../modifyBtn",handler:this.onModifyBtn,scope:this},{text:_("Remove Account","plugin_fetchmail"),ref:"../../../removeAccountBtn",handler:this.onRemoveAccountBtn,scope:this},{text:_("Poll Now","plugin_fetchmail"),
ref:"../../../pollNowBtn",handler:this.onPollNowBtn,scope:this},{text:_("Refresh","plugin_fetchmail"),ref:"../../../refresh",handler:this.onRefresh,scope:this}],listeners:{rowdblclick:this.onRowDblClick,scope:this}}]}]});Zarafa.plugins.fetchmail.settings.SettingsFetchmailWidget.superclass.constructor.call(this,a)},onNewAccountBtn:function(){this.showModifyCreateDialog(new Zarafa.plugins.fetchmail.data.FetchmailAccountRecord({}))},onModifyBtn:function(){this.showModifyCreateDialog(this.getComponent("container").getComponent("accountGrid").getSelectionModel().getSelected())},
onRemoveAccountBtn:function(){var a=this.getComponent("container").getComponent("accountGrid").getSelectionModel().getSelected();container.getRequest().singleRequest("pluginfetchmailmodule","delete",a.data.entryid,new Zarafa.plugins.fetchmail.data.FetchmailResponseHandler({successCallback:this.onDeleteFetchmailAccountRequest.createDelegate(this)}))},onPollNowBtn:function(){var a=this.getComponent("container").getComponent("accountGrid").getSelectionModel().getSelected();container.getRequest().singleRequest("pluginfetchmailmodule",
"pollnow",a.data.entryid,new Zarafa.plugins.fetchmail.data.FetchmailResponseHandler({successCallback:this.onPollNowRequest.createDelegate(this)}))},onRefresh:function(){this.accountGrid.getStore().load()},onRowDblClick:function(a,b){var c=a.getStore().getAt(b);this.showModifyCreateDialog(c)},onDeleteFetchmailAccountRequest:function(a){a.code===Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_DELETE_SUCCESS_RESPONSE?container.getNotifier().notify("info.saved",_("Fetchmail Message","plugin_fetchmail"),_("Account deleted succesfully.",
"plugin_fetchmail")):container.getNotifier().notify("error",_("Fetchmail Message","plugin_fetchmail"),_(a.error,"plugin_fetchmail"));this.onRefresh()},onPollNowRequest:function(a){a.code===Zarafa.plugins.fetchmail.FETCHMAIL_ACCOUNT_POLL_NOW_SUCCESS_RESPONSE?container.getNotifier().notify("info.saved",_("Fetchmail Message","plugin_fetchmail"),_("Account marked for immediate polling.","plugin_fetchmail")):container.getNotifier().notify("error",_("Fetchmail Message","plugin_fetchmail"),_(a.error,"plugin_fetchmail"));
this.onRefresh()},showModifyCreateDialog:function(a){Zarafa.core.data.UIFactory.openLayerComponent(Zarafa.core.data.SharedComponentType["plugin.fetchmail.dialogs.accountdialogcontentpanel"],void 0,{manager:Ext.WindowMgr,record:a,listeners:{destroy:this.onRefresh,scope:this}})}});Ext.reg("zarafa.settingsfetchmailwidget",Zarafa.plugins.fetchmail.settings.SettingsFetchmailWidget);//# sourceMappingURL=fetchmail.js.map
