define(["modules/forms/module","modules/forms/common","jquery-maskedinput","jquery-validation"],function(a,b){"use strict";return a.registerDirective("smartReviewForm",function(){return{restrict:"E",replace:!0,templateUrl:"build/modules/forms/directives/form-layouts/smart-review-form.tpl.html",scope:!0,link:function(a,c){c.validate(angular.extend({rules:{name:{required:!0},email:{required:!0,email:!0},review:{required:!0,minlength:20},quality:{required:!0},reliability:{required:!0},overall:{required:!0}},messages:{name:{required:"Please enter your name"},email:{required:"Please enter your email address",email:'<i class="fa fa-warning"></i><strong>Please enter a VALID email addres</strong>'},review:{required:"Please enter your review"},quality:{required:"Please rate quality of the product"},reliability:{required:"Please rate reliability of the product"},overall:{required:"Please rate the product"}}},b.validateOptions))}}})});