!function(o){function s(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return o[r].call(a.exports,a,a.exports,s),a.loaded=!0,a.exports}var t={};return s.m=o,s.c=t,s.p="",s(0)}([function(o,s,t){var r,a;r=t(1),a=t(2),o.exports=r||{},o.exports.__esModule&&(o.exports=o.exports["default"]),a&&(("function"==typeof o.exports?o.exports.options||(o.exports.options={}):o.exports).template=a)},function(o,s){"use strict";o.exports={section:{label:"Mail",icon:"pk-icon-large-mail",priority:40},props:["config","options"],data:function(){return window.$mail},methods:{test:function(o){this.$http.post("admin/system/"+o,{option:this.options}).then(function(o){var s=o.data;this.$notify(s.message,s.success?"":"danger")},function(){this.$notify("Ajax request to server failed.","danger")})}}},window.Settings.components["system/mail"]=o.exports},function(o,s){o.exports="<div class=\"uk-margin uk-flex uk-flex-space-between uk-flex-wrap\" data-uk-margin> <div data-uk-margin> <h2 class=uk-margin-remove>{{ 'Mail' | trans }}</h2> </div> <div data-uk-margin> <button class=\"uk-button uk-button-primary\" type=submit>{{ 'Save' | trans }}</button> </div> </div> <div class=uk-form-row> <label for=form-emailaddress class=uk-form-label>{{ 'From Email' | trans }}</label> <div class=uk-form-controls> <input id=form-emailaddress class=uk-form-width-large type=text v-model=options.from_address> </div> </div> <div class=uk-form-row> <label for=form-fromname class=uk-form-label>{{ 'From Name' | trans }}</label> <div class=uk-form-controls> <input id=form-fromname class=uk-form-width-large type=text v-model=options.from_name> </div> </div> <div class=uk-form-row> <label for=form-mailer class=uk-form-label>{{ 'Mailer' | trans }}</label> <div class=uk-form-controls> <select id=form-mailer class=uk-form-width-large v-model=options.driver> <option value=mail>{{ 'PHP Mailer' | trans }}</option> <option value=smtp>{{ 'SMTP Mailer' | trans }}</option> </select> </div> </div> <div class=uk-form-row v-show=\"'smtp' == options.driver\"> <div class=uk-form-row> <label for=form-smtpport class=uk-form-label>{{ 'SMTP Port' | trans }}</label> <div class=uk-form-controls> <input id=form-smtpport class=uk-form-width-large type=text v-model=options.port> </div> </div> <div class=uk-form-row> <label for=form-smtphost class=uk-form-label>{{ 'SMTP Host' | trans }}</label> <div class=uk-form-controls> <input id=form-smtphost class=uk-form-width-large type=text v-model=options.host> </div> </div> <div class=uk-form-row> <label for=form-smtpuser class=uk-form-label>{{ 'SMTP User' | trans }}</label> <div class=uk-form-controls> <input id=form-smtpuser class=uk-form-width-large type=text v-model=options.username> </div> </div> <div class=uk-form-row> <label for=form-smtppassword class=uk-form-label>{{ 'SMTP Password' | trans }}</label> <div class=\"uk-form-controls js-password\"> <div class=uk-form-password> <input id=form-smtppassword class=uk-form-width-large type=password v-model=options.password> <a class=uk-form-password-toggle data-uk-form-password>{{ 'Show' | trans }}</a> </div> </div> </div> <div class=uk-form-row> <label for=form-smtpencryption class=uk-form-label>{{ 'SMTP Encryption' | trans }}</label> <div class=uk-form-controls> <select id=form-smtpencryption class=uk-form-width-large v-model=options.encryption> <option value=\"\">{{ 'None' | trans }}</option> <option value=ssl :disabled=!ssl>{{ 'SSL' | trans }}</option> <option value=tls :disabled=!ssl>{{ 'TLS' | trans }}</option> </select> <p class=uk-form-help-block v-if=!ssl>{{ 'Please enable the PHP Open SSL extension.' | trans }}</p> </div> </div> </div> <div class=uk-form-row> <div class=uk-form-controls> <button class=uk-button type=button @click=\"test('smtp')\" v-show=\"'smtp' == options.driver\">{{ 'Check Connection' | trans }}</button> <button class=uk-button type=button @click=\"test('email')\">{{ 'Send Test Email' | trans }}</button> </div> </div>"}]);