text: !function(t){"use strict";var e,a=t(".contact__form"),s=t(".contact__msg");function n(t){s.fadeIn().removeClass("alert-danger").addClass("alert-success"),s.text(t),a.find('input:not([type="submit"]), textarea').val("")}function r(t){s.fadeIn().removeClass("alert-success").addClass("alert-success"),s.text(t.responseText)}a.submit(function(s){s.preventDefault(),e=t(this).serialize(),t.ajax({type:"POST",url:a.attr("action"),data:e}).done(n).fail(r)})}(jQuery);
  