define(["modules/forms/module","modules/forms/common","jquery-maskedinput","jquery-validation"],function(a,b){"use strict";return a.registerDirective("smartOrderForm",function(){return{restrict:"E",replace:!0,templateUrl:"build/modules/forms/directives/form-layouts/smart-order-form.tpl.html",scope:!0,link:function(a,c){c.validate(angular.extend({rules:{name:{required:!0},email:{required:!0,email:!0},phone:{required:!0},interested:{required:!0},budget:{required:!0}},messages:{name:{required:"Please enter your name"},email:{required:"Please enter your email address",email:"Please enter a VALID email address"},phone:{required:"Please enter your phone number"},interested:{required:"Please select interested service"},budget:{required:"Please select your budget"}}},b.validateOptions))}}})});