!function(a,b){functionc(a,b){o(a).push(b)}functiond(d,e,f){varg=d.children(e.headerTag),h=d.children(e.bodyTag);g.length>h.length?R(Z,"contents"):g.length<h.length&&R(Z,"titles");vari=e.startIndex;if(f.stepCount=g.length,e.saveState&&a.cookie){varj=a.cookie(U+q(d)),k=parseInt(j,0);!isNaN(k)&&k<f.stepCount&&(i=k)}f.currentIndex=i,g.each(function(e){varf=a(this),g=h.eq(e),i=g.data("mode"),j=null==i?$.html:r($,/^\s*$/.test(i)||isNaN(i)?i:parseInt(i,0)),k=j===$.html||g.data("url")===b?"":g.data("url"),l=j!==$.html&&"1"===g.data("loaded"),m=a.extend({},bb,{title:f.html(),content:j===$.html?g.html():"",contentUrl:k,contentMode:j,contentLoaded:l});c(d,m)})}functione(a){a.triggerHandler("canceled")}functionf(a,b){returna.currentIndex-b}functiong(b,c){vard=i(b);b.unbind(d).removeData("uid").removeData("options").removeData("state").removeData("steps").removeData("eventNamespace").find(".actions a").unbind(d),b.removeClass(c.clearFixCssClass+" vertical");vare=b.find(".content > *");e.removeData("loaded").removeData("mode").removeData("url"),e.removeAttr("id").removeAttr("role").removeAttr("tabindex").removeAttr("class").removeAttr("style")._removeAria("labelledby")._removeAria("hidden"),b.find(".content > [data-mode='async'],.content > [data-mode='iframe']").empty();varf=a('<{0} class="{1}"></{0}>'.format(b.get(0).tagName,b.attr("class"))),g=b._id();returnnull!=g&&""!==g&&f._id(g),f.html(b.find(".content").html()),b.after(f),b.remove(),f}functionh(a,b){varc=a.find(".steps li").eq(b.currentIndex);a.triggerHandler("finishing",[b.currentIndex])?(c.addClass("done").removeClass("error"),a.triggerHandler("finished",[b.currentIndex])):c.addClass("error")}functioni(a){varb=a.data("eventNamespace");returnnull==b&&(b="."+q(a),a.data("eventNamespace",b)),b}functionj(a,b){varc=q(a);returna.find("#"+c+V+b)}functionk(a,b){varc=q(a);returna.find("#"+c+W+b)}functionl(a,b){varc=q(a);returna.find("#"+c+X+b)}functionm(a){returna.data("options")}functionn(a){returna.data("state")}functiono(a){returna.data("steps")}functionp(a,b){varc=o(a);return(0>b||b>=c.length)&&R(Y),c[b]}functionq(a){varb=a.data("uid");returnnull==b&&(b=a._id(),null==b&&(b="steps-uid-".concat(T),a._id(b)),T++,a.data("uid",b)),b}functionr(a,c){if(S("enumType",a),S("keyOrValue",c),"string"==typeofc){vard=a[c];returnd===b&&R("The enum key '{0}' does not exist.",c),d}if("number"==typeofc){for(vareina)if(a[e]===c)returnc;R("Invalid enum value '{0}'.",c)}elseR("Invalid key or value type.")}functions(a,b,c){returnB(a,b,c,v(c,1))}functiont(a,b,c){returnB(a,b,c,f(c,1))}functionu(a,b,c,d){if((0>d||d>=c.stepCount)&&R(Y),!(b.forceMoveForward&&d<c.currentIndex)){vare=c.currentIndex;returna.triggerHandler("stepChanging",[c.currentIndex,d])?(c.currentIndex=d,O(a,b,c),E(a,b,c,e),D(a,b,c),A(a,b,c),P(a,b,c,d,e),a.triggerHandler("stepChanged",[d,e])):a.find(".steps li").eq(e).addClass("error"),!0}}functionv(a,b){returna.currentIndex+b}functionw(b){varc=a.extend(!0,{},cb,b);returnthis.each(function(){varb=a(this),e={currentIndex:c.startIndex,currentStep:null,stepCount:0,transitionElement:null};b.data("options",c),b.data("state",e),b.data("steps",[]),d(b,c,e),J(b,c,e),G(b,c),c.autoFocus&&0===T&&j(b,c.startIndex).focus()})}functionx(b,c,d,e,f){(0>e||e>d.stepCount)&&R(Y),f=a.extend({},bb,f),y(b,e,f),d.currentIndex!==d.stepCount&&d.currentIndex>=e&&(d.currentIndex++,O(b,c,d)),d.stepCount++;varg=b.find(".content"),h=a("<{0}>{1}</{0}>".format(c.headerTag,f.title)),i=a("<{0}></{0}>".format(c.bodyTag));return(null==f.contentMode||f.contentMode===$.html)&&i.html(f.content),0===e?g.prepend(i).prepend(h):k(b,e-1).after(i).after(h),K(b,d,i,e),N(b,c,d,h,e),F(b,c,d,e),e===d.currentIndex&&E(b,c,d),D(b,c,d),b}functiony(a,b,c){o(a).splice(b,0,c)}functionz(b){varc=a(this),d=m(c),e=n(c);if(d.suppressPaginationOnFocus&&c.find(":focus").is(":input"))returnb.preventDefault(),!1;varf={left:37,right:39};b.keyCode===f.left?(b.preventDefault(),t(c,d,e)):b.keyCode===f.right&&(b.preventDefault(),s(c,d,e))}functionA(b,c,d){if(d.stepCount>0){vare=p(b,d.curre