!function(){"use strict";vart={17:function(){jQuery(document).ready((t=>{conste={},r={show(){this.$el.attr("aria-hidden",!1).show()},hide(){this.$el.attr("aria-hidden",!0).hide()}};functions(e){returnthis.$el=einstanceoft?e:t(e),this.$el.find("h4").text(i18n._t("UserForms.ERROR_CONTAINER_HEADER","Please correct the following errors and try again:")),this}functioni(r){consti=this;this.$el=rinstanceoft?r:t(r);constn=this.$el.closest(".userform").data("inst");returnthis.$elButton=t(`.step-button-wrapper[data-for='${this.$el.prop("id")}']`),this.viewed=!1,this.valid=!1,this.id=null,this.hide(),e.DISPLAY_ERROR_MESSAGES_AT_TOP&&(this.errorContainer=news(this.$el.find(".error-container")),n.$el.on("userform.form.error",((e,r)=>{i.$el.is(":visible")&&t.each(r.errorList,((e,r)=>{i.errorContainer.updateErrorMessage(t(r.element),r.message)}))})),n.$el.on("userform.form.valid",((t,e)=>{i.errorContainer.removeErrorMessage(e)}))),this.$elButton.on("userform.field.hide userform.field.show",(()=>{n.$el.trigger("userform.form.conditionalstep")})),this}functionn(e){constr=this;this.$el=einstanceoft?e:t(e),this.$buttons=this.$el.find(".step-button-jump"),this.$jsAlign=this.$el.find(".js-align");consts=this.$el.closest(".userform").data("inst");returnthis.$buttons.each(((e,s)=>{t(s).on("click",(e=>{e.preventDefault();consts=parseInt(t(e.target).data("step"),10);r.$el.trigger("userform.progress.changestep",s)}))})),s.$el.on("userform.form.changestep",((t,e)=>{r.update(e)})),s.$el.on("userform.form.conditionalstep",(()=>{conste=r.$buttons.filter(":visible");e.each(((e,r)=>{t(r).text(e+1)})),r.$el.find(".progress-bar").attr("aria-valuemax",e.length),r.$el.find(".total-step-number").text(e.length)})),this.$jsAlign.each(((e,s)=>{consti=t(s),n=`${100/(r.$jsAlign.length-1)*e}%`,o=i.innerWidth()/2*-1;i.css({left:n,marginLeft:o}),e===r.$jsAlign.length-1?i.css({marginLeft:2*o}):0===e&&i.css({marginLeft:0})})),this}functiono(e){constr=this;this.$el=einstanceoft?e:t(e);consts=this.$el.closest(".userform");this.userformInstance=s.data("inst"),this.$prevButton=this.$el.find(".step-button-prev"),this.$nextButton=this.$el.find(".step-button-next"),this.$prevButton.parent().attr("aria-hidden",!1).show(),this.$nextButton.parent().attr("aria-hidden",!1).show();consti=function(){conste=s.offset();t("html, body").animate({scrollTop:e.top},"slow")};returnthis.$prevButton.on("click",(t=>{t.preventDefault(),i(),r.$el.trigger("userform.action.prev")})),this.$nextButton.on("click",(t=>{t.preventDefault(),i(),r.$el.trigger("userform.action.next")})),this.userformInstance.$el.on("userform.form.changestep userform.form.conditionalstep",(()=>{r.update()})),this}functiona(e){constr=this;returnthis.$el=einstanceoft?e:t(e),this.steps=[],this.errorContainer=news(this.$el.children(".error-container")),this.$el.on("userform.action.prev",(()=>{r.prevStep()})),this.$el.on("userform.action.next",(()=>{r.nextStep()})),this.$el.find(".userform-progress").on("userform.progress.changestep",((t,e)=>{r.jumpToStep(e-1)})),this.$el.on("userform.form.valid",((t,e)=>{r.errorContainer.removeStepLink(e)})),this.$el.validate(this.validationOptions),this.$el.find(".optionset.requiredField input").each(((e,r)=>{t(r).rules("add",{required:!0})})),this}s.prototype.hasErrors=function(){returnthis.$el.find(".error-list").children().length>0},s.prototype.removeErrorMessage=function(t){this.$el.find(`#${t}-top-error`).remove(),this.hasErrors()||this.hide()},s.prototype.addStepLink=function(e){constr=this.$el.closest(".userform").data("inst"),s=`${e.$el.attr("id")}-error-link`;leti=this.$el.find(`#${s}`);constn=e.$el.attr("id"),o=e.$el.data("title");i.length||(i=t(`<li id="${s}"><a href="#${n}">${o}</a></li>`),i.on("click",(t=>{t.preventDefault(),r.jumpToStep(e.id)})),this.$el.find(".error-list").append(i))},s.prototype.removeStepLink=function(e){constr=t(`#${e}`).closest(".form-step").attr("id");this.$el.find(`#${r}-error-link`).remove(),this.$el.find(".error-list").is(":empty")&&this.hide()},s.prototype.updateErrorMessage=function(e,r){consts=e.attr("id");