!function(a){"use strict";a("#wizard1").steps({headerTag:"h3",bodyTag:"section",autoFocus:!0,titleTemplate:'<span class="number">#index#</span> <span class="title">#title#</span>'}),a("#wizard2").steps({headerTag:"h3",bodyTag:"section",autoFocus:!0,titleTemplate:'<span class="number">#index#</span> <span class="title">#title#</span>',onStepChanging:function(e,t,s){if(!(t<s))return!0;if(0===t){var i=a("#firstname").parsley(),n=a("#lastname").parsley();if(i.isValid()&&n.isValid())return!0;i.validate(),n.validate()}if(1===t){var r=a("#email").parsley();if(r.isValid())return!0;r.validate()}}}),a("#wizard3").steps({headerTag:"h3",bodyTag:"section",autoFocus:!0,titleTemplate:'<span class="number">#index#</span> <span class="title">#title#</span>',stepsOrientation:1}),a(".dropify-clear").click((function(){a(".dropify-render img").remove(),a(".dropify-preview").css("display","none"),a(".dropify-clear").css("display","none")}));var e={mode:"wizard",autoButtonsNextClass:"btn btn-primary float-end",autoButtonsPrevClass:"btn btn-light",stepNumberClass:"badge rounded-pill bg-primary me-1",onSubmit:function(){return alert("Form submitted!"),!0}};a("#form").accWizard(e)}(jQuery);