define(["require","exports"],function(i,t){"use strict";var e=function(){function i(){$("#smtpAuthType").on("changed.fu.selectlist",this.rebuildVisibility.bind(this)),$("#emailTransport").on("changed.fu.selectlist",this.rebuildVisibility.bind(this)).trigger("changed.fu.selectlist")}return i.prototype.rebuildVisibility=function(){var i=$('[name="mailService[transport]"]').val(),t=$('[name="mailService[smtpAuthType]"]').val();$(".emailOption").hide(),"sendmail"==i||("mandrill"==i?$(".emailOption.mandrillApiKey").show():"mailgun"==i?($(".emailOption.mailgunApiKey").show(),$(".emailOption.mailgunDomain").show()):"smtp"==i&&($(".emailOption.smtpHost").show(),$(".emailOption.smtpPort").show(),$(".emailOption.smtpAuthType").show(),"none"!=t&&($(".emailOption.smtpUsername").show(),$(".emailOption.smtpPassword").show())))},i}();t.SiteConfig=e});
//# sourceMappingURL=SiteConfig.js.map
