").attr("colspan",""+p).addClass(G.today).appendTo(S)).text(J.today($)),k.data(_.date,i)),ie.update.focus(!1,T),$.inline&&ie.refreshTooltips()}}},update:{focus:function(e,t){t=t||te;var r=ie.get.mode(),n=ie.get.date(),s=ie.get.focusDate(),l=ie.get.startDate(),c=ie.get.endDate(),d=(e?s:null)||n||(u?null:s);t.find("td").each(function(){var e,t,n,i,o=ae(this),a=o.data(_.date);a&&(e=o.hasClass(G.disabledCell),t=o.hasClass(G.activeCell),n=o.hasClass(G.adjacentCell),i=ie.helper.dateEqual(a,s,r),a=!!d&&(!!l&&ie.helper.isDateInRange(a,r,l,d)||!!c&&ie.helper.isDateInRange(a,r,d,c)),o.toggleClass(G.focusCell,i&&(!u||f)&&(!n||$.selectAdjacentDays&&n)&&!e),ie.helper.isTodayButton(o)||o.toggleClass(G.rangeCell,a&&!t&&!e))})}},refresh:function(){ie.create.calendar()},refreshTooltips:function(){var i=ae(T).width();te.find("td[data-position]").each(function(){var e=ae(this),t=T.getComputedStyle(e[0],"::after").width.replace(/[^\d.]/g,""),n=e.attr("data-position"),t=i-e.width()-(parseInt(t,10)||250)>e.offset().left?"right":"left";-1===n.indexOf(t)&&e.attr("data-position",n.replace(/(left|right)/,t))})},bind:{events:function(){ie.debug("Binding events"),te.on("mousedown"+t,ie.event.mousedown),te.on("touchstart"+t,ie.event.mousedown),te.on("mouseup"+t,ie.event.mouseup),te.on("touchend"+t,ie.event.mouseup),te.on("mouseover"+t,ie.event.mouseover),0=e?ie.verbose("Unable to set maxDate variable lower that minDate variable",e,$.minDate):(ie.setting("maxDate",e),ie.set.dataKeyValue(_.maxDate,e))},monthOffset:function(e,t){var n=Math.max($.multiMonth,1);e=Math.max(1-n,Math.min(0,e)),ie.set.dataKeyValue(_.monthOffset,e,t)},mode:function(e,t){ie.set.dataKeyValue(_.mode,e,t)},dataKeyValue:function(e,t,n){var i=a.data(e),i=i===t||i<=t&&t<=i;return t?a.data(e,t):a.removeData(e),(n=!1!==n&&!i)&&ie.refresh(),!i}},selectDate:function(e,t){ie.verbose("New date selection",e);var n=ie.get.mode();t||"minute"===n||$.disableMinute&&"hour"===n||"date"===$.type&&"day"===n||"month"===$.type&&"month"===n||"year"===$.type&&"year"===n?!1!==ie.set.date(e)&&(g=!0,$.closable&&(ie.popup("hide"),(t=ie.get.calendarModule($.endCalendar))&&(t.refresh(),"focus"!==t.setting("on")&&t.popup("show"),t.focus()))):(t="year"===n?$.disableMonth?"day":"month":"month"===n?"day":"day"===n?"hour":"minute",ie.set.mode(t),"hour"===n||"day"===n&&ie.get.date()?ie.set.date(e,!0,!1):ie.set.focusDate(e))},changeDate:function(e){ie.set.date(e)},clear:function(){ie.set.date()},popup:function(){return s.popup.apply(s,arguments)},focus:function(){(0=t.centuryBreak&&n===v.length-1){i<=99&&(i+=t.currentCentury-100),g=i,v.splice(n,1);break}if(m<0)for(n=0;n adjusting invoked element"),p=p.closest(g.checkbox),y.refresh())}},setup:function(){y.set.initialLoad(),y.is.indeterminate()?(y.debug("Initial value is indeterminate"),y.indeterminate()):y.is.checked()?(y.debug("Initial value is checked"),y.check()):(y.debug("Initial value is unchecked"),y.uncheck()),y.remove.initialLoad()},refresh:function(){a=p.children(g.label),h=p.children(g.input),v=h[0]},hide:{input:function(){y.verbose("Modifying z-index to be unselectable"),h.addClass(t.hidden)}},show:{input:function(){y.verbose("Modifying z-index to be selectable"),h.removeClass(t.hidden)}},observeChanges:function(){"MutationObserver"in D&&((e=new MutationObserver(function(e){y.debug("DOM tree modified, updating selector cache"),y.refresh()})).observe(c,{childList:!0,subtree:!0}),y.debug("Setting up mutation observer",e))},attachEvents:function(e,t){var n=T(e);t=E(y[t])?y[t]:y.toggle,0").insertAfter(h),y.debug("Creating label",a))}},has:{label:function(){return 0 .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var t,n=k("").addClass("ui dimmer");return e.displayLoader&&(t=k("").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(t.text(e.loaderText),t.addClass("text")),n.append(t)),n}}}}(jQuery,window,document),function(_,ee,te){"use strict";function ne(e){return"function"==typeof e&&"number"!=typeof e.nodeType}ee=void 0!==ee&&ee.Math===Math?ee:globalThis,_.fn.dropdown=function(B){var W,Y=_(this),Q=_(te),K=Y.selector||"",X=Date.now(),$=[],G=B,J="string"==typeof G,Z=[].slice.call(arguments,1);return Y.each(function(L){var f,e,t,n,i,o,a,r,s,m=_.isPlainObject(B)?_.extend(!0,{},_.fn.dropdown.settings,B):_.extend({},_.fn.dropdown.settings),p=m.className,g=m.message,l=m.fields,h=m.keys,v=m.metadata,V=m.namespace,c=m.regExp,b=m.selector,d=m.error,N=m.templates,u="."+V,y="module-"+V,x=_(this),C=[ee,te].indexOf(m.context)<0?Q.find(m.context):_(m.context),w=x.find(b.text),k=x.find(b.search),S=x.find(b.sizer),T=x.find(b.input),q=x.find(b.icon),z=x.find(b.clearIcon),D=0").html(i).attr("data-"+v.value,t).attr("data-"+v.text,t).addClass(p.addition).addClass(p.item),m.hideAdditions&&i.addClass(p.hidden),n=void 0===n?i:n.add(i),j.verbose("Creating user choices for value",t,i))}),n)},userLabels:function(e){var t=j.get.userValues();t&&(j.debug("Adding user labels",t),_.each(t,function(e,t){j.verbose("Adding custom user value"),j.add.label(t,t)}))},menu:function(){A=_("").addClass(p.menu).appendTo(x)},sizer:function(){S=_("").addClass(p.sizer).insertAfter(k)}},search:function(e){e=void 0!==e?e:j.get.query(),j.verbose("Searching for query",e),!1===m.fireOnInit&&j.is.initialLoad()?j.verbose("Skipping callback on initial load",m.onSearch):j.has.minCharacters(e)&&!1!==m.onSearch.call(R,e)?j.filter(e):j.hide(null,!0)},select:{firstUnfiltered:function(){j.verbose("Selecting first non-filtered element"),j.remove.selectedItem(),E.not(b.unselectable).not(b.addition+b.hidden).eq(0).addClass(p.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(b.item).not(b.unselectable).eq(0),e=e.prevAll(b.item).not(b.unselectable).eq(0);0").addClass("remove icon").insertBefore(w)),j.is.search()&&!j.has.search()&&(j.verbose("Adding search input"),e=x.prev("label"),k=_("").addClass(p.search).prop("autocomplete",j.is.chrome()?"fomantic-search":"off"),0").attr("class",T.attr("class")).addClass(p.selection).addClass(p.dropdown).html(N.dropdown(e,l,m.preserveHTML,m.className)).insertBefore(T),T.hasClass(p.multiple)&&!1===T.prop("multiple")&&(j.error(d.missingMultiple),T.prop("multiple",!0)),T.is("[multiple]")&&j.set.multiple(),T.prop("disabled")&&(j.debug("Disabling dropdown"),x.addClass(p.disabled)),T.is("[required]")&&(m.forceSelection=!0),m.allowTab||T.removeAttr("tabindex"),T.prop("required",!1).removeAttr("class").detach().prependTo(x)),j.refresh()},menu:function(e){A.html(N.menu(e,l,m.preserveHTML,m.className)),E=A.find(b.item),O=m.hideDividers?E.parent().children(b.divider):_()},reference:function(){j.debug("Dropdown behavior was called on select, replacing with closest dropdown"),x=x.parent(b.dropdown),I=x.data(y),R=x[0],j.refresh(),j.setup.returnedObject()},returnedObject:function(){var e=Y.slice(0,L),t=Y.slice(L+1);Y=e.add(x).add(t)}},refresh:function(){j.refreshSelectors(),j.refreshData()},refreshItems:function(){E=A.find(b.item),O=m.hideDividers?E.parent().children(b.divider):_()},refreshSelectors:function(){j.verbose("Refreshing selector cache"),w=x.find(b.text),k=x.find(b.search),T=x.find(b.input),q=x.find(b.icon),D=0"),_.each(e,function(e,t){var n=m.templates.deQuote(t[l.value]),i=m.templates.escape(t[l.name]||"",m.preserveHTML);T.append('")}),j.observe.select())}},event:{paste:function(e){var t,n,i,o,a,r=(e.originalEvent.clipboardData||ee.clipboardData).getData("text").split(m.delimiter),s=[];r.forEach(function(e){!1===j.set.selected(j.escape.htmlEntities(e.trim()),null,!0,!0)&&s.push(e)}),e.preventDefault(),0 modified, recreating menu"),j.disconnect.selectObserver(),j.refresh(),j.setup.select(),j.set.selected(),j.observe.select())}},menu:{mutation:function(e){var e=e[0],t=e.addedNodes?_(e.addedNodes[0]):_(!1),e=e.removedNodes?_(e.removedNodes[0]):_(!1),t=t.add(e),e=t.is(b.addition)||0=m.maxSelections?(j.debug("Maximum selection count reached"),m.useLabels&&(E.addClass(p.filtered),j.add.message(g.maxSelections)),!0):(j.verbose("No longer at maximum selection count"),j.remove.message(),j.remove.filteredItem(),j.is.searchSelection()&&j.filterItems(),!1))},disabled:function(){k.attr("tabindex",j.is.disabled()?-1:0)}},restore:{defaults:function(e){j.clear(e),j.restore.defaultText(),j.restore.defaultValue()},defaultText:function(){var e=j.get.defaultText();e===j.get.placeholderText?(j.debug("Restoring default placeholder text",e),j.set.placeholderText(e)):(j.debug("Restoring default text",e),j.set.text(e))},placeholderText:function(){j.set.placeholderText()},defaultValue:function(){var e=j.get.defaultValue();void 0!==e&&(j.debug("Restoring default value",e),""!==e?(j.set.value(e),j.set.selected()):(j.remove.activeItem(),j.remove.selectedItem()))},labels:function(){m.allowAdditions&&(m.useLabels||(j.error(d.labels),m.useLabels=!0),j.debug("Restoring selected values"),j.create.userLabels()),j.check.maxSelections()},selected:function(){j.restore.values(),j.is.multiple()?(j.debug("Restoring previously selected values and labels"),j.restore.labels()):j.debug("Restoring previously selected values")},values:function(){j.set.initialLoad(),m.apiSettings&&m.saveRemoteData&&j.get.remoteValues()?j.restore.remoteValues():j.set.selected();var e=j.get.value();!e||""===e||Array.isArray(e)&&0===e.length?T.addClass(p.noselection):T.removeClass(p.noselection),j.remove.initialLoad()},remoteValues:function(){var e=j.get.remoteValues();j.debug("Recreating selected from session data",e),e&&(j.is.single()?_.each(e,function(e,t){j.set.text(t)}):_.each(e,function(e,t){j.add.label(e,t)}))}},read:{remoteData:function(e){if(void 0!==ee.Storage)return void 0!==(e=sessionStorage.getItem(e+i))&&e;j.error(d.noStorage)}},save:{defaults:function(){j.save.defaultText(),j.save.placeholderText(),j.save.defaultValue()},defaultValue:function(){var e=j.get.value();j.verbose("Saving default value as",e),x.data(v.defaultValue,e)},defaultText:function(){var e=j.get.text();j.verbose("Saving default text as",e),x.data(v.defaultText,e)},placeholderText:function(){var e;!1!==m.placeholder&&w.hasClass(p.placeholder)&&(e=j.get.text(),j.verbose("Saving placeholder text as",e),x.data(v.placeholderText,e))},remoteData:function(e,t){void 0===ee.Storage?j.error(d.noStorage):(j.verbose("Saving remote data to session storage",t,e),sessionStorage.setItem(t+i,e))}},clear:function(e){j.is.multiple()&&m.useLabels?j.remove.labels(x.find(b.label),e):(j.remove.activeItem(),j.remove.selectedItem(),j.remove.filteredItem()),j.set.placeholderText(),j.clearValue(e)},clearValue:function(e){j.set.value("",null,null,e)},scrollPage:function(e,t){var t=t||j.get.selectedItem(),n=t.closest(b.menu),i=n.outerHeight(),o=n.scrollTop(),a=E.eq(0).outerHeight(),i=Math.floor(i/a),o="up"===e?o-a*i:o+a*i,a=E.not(b.unselectable),i="up"===e?a.index(t)-i:a.index(t)+i,i=("up"===e?0<=i:i").addClass(p.label).attr("data-"+v.value,a).html(N.label(a,t,m.preserveHTML,m.className)),i=m.onLabelCreate.call(i,a,t),j.has.label(e)?j.debug("User selection already exists, skipping",a):(m.label.variation&&i.addClass(m.label.variation),!0===n&&m.label.transition?(j.debug("Animating in label",i),i.addClass(p.hidden).insertBefore(o).transition({animation:m.label.transition,debug:m.debug,verbose:m.verbose,silent:m.silent,duration:m.label.duration})):(j.debug("Adding selection label",i),i.insertBefore(o)))},message:function(e){var t=A.children(b.message),e=m.templates.message(j.add.variables(e));0").html(e).addClass(p.message).appendTo(A)},optionValue:function(e){var t=j.escape.value(e);0").prop("value",t).addClass(p.addition).text(e).appendTo(T),j.verbose("Adding user addition as an
'),{title:n.title,content:n.content,actions:[{text:e.text.ok,class:e.className.ok,click:function(){var e=t.get.settings(),e=t.get.element().find(e.selector.prompt)[0];n.handler(W(e).val())}},{text:e.text.cancel,class:e.className.cancel,click:function(){n.handler(null)}}]}}}}(jQuery,window,document),function(W,Y,Q){"use strict";function K(e){return"function"==typeof e&&"number"!=typeof e.nodeType}Y=void 0!==Y&&Y.Math===Math?Y:globalThis,W.fn.modal=function(F){var I,e=W(this),j=W(Y),L=W(Q),V=W("body"),N=e.selector||"",q=Date.now(),z=[],H=F,U="string"==typeof H,B=[].slice.call(arguments,1);return e.each(function(){var n,o,a,e,i,t,r,s,l,c,d,u=W.isPlainObject(F)?W.extend(!0,{},W.fn.modal.settings,F):W.extend({},W.fn.modal.settings),f=u.selector,m=u.className,g=u.namespace,p=u.fields,h=u.error,v="."+g,b="module-"+g,y=W(this),x=[Y,Q].indexOf(u.context)<0?L.find(u.context):V,C=x[0]===V[0],w=y.find(f.closeIcon),k=y.hasClass("modal"),S=this,T=k?y.data(b):void 0,D=!1,A="",E="",O=!1,P=!1,M=!1,R={initialize:function(){var a;R.create.id(),k||(R.create.modal(),K(u.onHidden)||(u.onHidden=function(){R.destroy(),y.remove()})),y.addClass(u.class),""!==u.title&&y.find(f.title).html(R.helpers.escape(u.title,u.preserveHTML)).addClass(u.classTitle),""!==u.content&&y.find(f.content).html(R.helpers.escape(u.content,u.preserveHTML)).addClass(u.classContent),R.has.configActions()&&(0===(a=y.find(f.actions).addClass(u.classActions)).length?a=W("",{class:m.actions+" "+(u.classActions||"")}).appendTo(y):a.empty(),u.actions.forEach(function(e){var t=e[p.icon]?"':"",n=R.helpers.escape(e[p.text]||"",u.preserveHTML),i=R.helpers.deQuote(e[p.class]||""),o=e[p.click]&&K(e[p.click])?e[p.click]:function(){};a.append(W("",{html:t+n,"aria-label":(e[p.text]||e[p.icon]||"").replace(/<[^>]+(>|$)/g,""),class:m.button+" "+i,on:{click:function(){var e=W(this);e.is(f.approve)||e.is(f.deny)||!1===o.call(S,y)||R.hide()}}}))})),R.cache={},R.verbose("Initializing dimmer",x),R.create.dimmer(),u.allowMultiple&&R.create.innerDimmer(),u.centered||y.addClass("top aligned"),R.refreshModals(),R.bind.events(),R.observeChanges(),R.instantiate(),u.autoShow&&R.show()},instantiate:function(){R.verbose("Storing instance of modal"),T=R,y.data(b,T)},create:{modal:function(){var e;y=W("",{class:m.modal,role:"dialog","aria-modal":!0}),u.closeIcon&&(w=W("",{class:m.close,role:"button",tabindex:0,"aria-label":u.text.close}),y.append(w)),""!==u.title&&(e="_"+R.get.id()+"title",y.attr("aria-labelledby",e),W("",{class:m.title,id:e}).appendTo(y)),""!==u.content&&(e="_"+R.get.id()+"desc",y.attr("aria-describedby",e),W("",{class:m.content,id:e}).appendTo(y)),R.has.configActions()&&W("",{class:m.actions}).appendTo(y),x.append(y),S=y[0]},dimmer:function(){var e={debug:u.debug,dimmerName:"modals"},e=W.extend(!0,e,u.dimmerSettings);void 0===W.fn.dimmer?R.error(h.dimmer):(R.debug("Creating dimmer"),i=x.dimmer(e),O=R.is.scrolling(),u.detachable?(R.verbose("Modal is detachable, moving content into dimmer"),i.dimmer("add content",y)):R.set.undetached(),t=i.dimmer("get dimmer"))},id:function(){c=(Math.random().toString(16)+"000000000").slice(2,10),l="."+c,R.verbose("Creating unique id for element",c)},innerDimmer:function(){0===y.find(f.dimmer).length&&W("",{class:m.innerDimmer}).prependTo(y)}},destroy:function(){d&&d.disconnect(),R.verbose("Destroying previous modal"),y.removeData(b).off(v),j.off(l),t.off(l),w.off(l),n&&n.off(l),x.dimmer("destroy")},observeChanges:function(){"MutationObserver"in Y&&((d=new MutationObserver(function(e){function o(e){for(var t=[],n=0,i=e.length;n=e.clientX))&&R.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(e){if(u.closable)if(r)R.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(s)R.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{var t=0":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e}},can:{leftBodyScrollbar:function(){return void 0===R.cache.leftBodyScrollbar&&(R.cache.leftBodyScrollbar=R.is.rtl()&&(R.is.iframe&&!R.is.firefox()||R.is.safari()||R.is.edge()||R.is.ie())),R.cache.leftBodyScrollbar},useFlex:function(){return"auto"===u.useFlex?u.detachable&&!R.is.ie():(u.useFlex&&R.is.ie()?R.debug("useFlex true is not supported in IE"):u.useFlex&&!u.detachable&&R.debug("useFlex true in combination with detachable false is not supported"),u.useFlex)},fit:function(){var e=R.cache.contextHeight,t=R.cache.contextHeight/2,n=R.cache.topOffset,i=R.cache.scrollHeight,o=R.cache.height,a=u.padding;return o .header",content:"> .content",actions:"> .actions",close:"> .close",closeIcon:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",prompt:".ui.input > input"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front",close:"close icon",button:"ui button",modal:"ui modal",title:"header",content:"content",actions:"actions",template:"ui tiny modal",ok:"positive",cancel:"negative",prompt:"ui fluid input",innerDimmer:"ui inverted dimmer"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},W.fn.modal.settings.templates={getArguments:function(e){e=[].slice.call(e);return W.isPlainObject(e[0])?W.extend({handler:function(){},content:"",title:""},e[0]):(K(e[e.length-1])||e.push(function(){}),{handler:e.pop(),content:e.pop()||"",title:e.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments),n=t.handler;return{title:t.title,content:t.content,onApprove:n,actions:[{text:e.text.ok,class:e.className.ok,click:n}]}},confirm:function(){function e(){i.handler(!0)}function t(){i.handler(!1)}var n=this.get.settings(),i=n.templates.getArguments(arguments);return{title:i.title,content:i.content,onApprove:e,onDeny:t,actions:[{text:n.text.ok,class:n.className.ok,click:e},{text:n.text.cancel,class:n.className.cancel,click:t}]}},prompt:function(){function e(){var e=n.get.settings(),e=n.get.element().find(e.selector.prompt)[0];o.handler(W(e).val())}function t(){o.handler(null)}var n=this,i=this.get.settings(),o=i.templates.getArguments(arguments);return 0===W(W.parseHTML(o.content)).filter(".ui.input").length&&(o.content+=''),{title:o.title,content:o.content,onApprove:e,onDeny:t,actions:[{text:i.text.ok,class:i.className.ok,click:e},{text:i.text.cancel,class:i.className.cancel,click:t}]}}}}(jQuery,window,document),function(x,C,w){"use strict";C=void 0!==C&&C.Math===Math?C:globalThis,x.fn.nag=function(f){var m,e=x(this),g=e.selector||"",p=Date.now(),h=[],v=f,b="string"==typeof v,y=[].slice.call(arguments,1);return e.each(function(){var i,o=x.isPlainObject(f)?x.extend(!0,{},x.fn.nag.settings,f):x.extend({},x.fn.nag.settings),e=o.selector,l=o.error,t=o.namespace,n="."+t,a=t+"-module",r=x(this),s=o.context?[C,w].indexOf(o.context)<0?x(w).find(o.context):x(o.context):x("body"),c=this,d=r.data(a),u={initialize:function(){u.verbose("Initializing element"),"string"!=typeof o.value&&(o.value=JSON.stringify(o.value)),i=u.get.storage(),r.on("click"+n,e.close,u.dismiss).data(a,u),o.detachable&&r.parent()[0]!==s[0]&&r.detach().prependTo(s),0 .close.icon"},duration:500,easing:"easeOutQuad",onShow:function(){},onVisible:function(){},onHide:function(){},onHidden:function(){}},x.extend(x.easing,{easeOutQuad:function(e){return 1-(1-e)*(1-e)}})}(jQuery,window,document),function(L,V,N){"use strict";function q(e){return"function"==typeof e&&"number"!=typeof e.nodeType}V=void 0!==V&&V.Math===Math?V:globalThis,L.fn.popup=function(S){var T,e=L(this),D=L(N),A=L(V),E=L("body"),O=e.selector||"",P="ontouchstart"in N.documentElement?"touchstart":"click",M=Date.now(),R=[],F=S,I="string"==typeof F,j=[].slice.call(arguments,1);return e.each(function(){var c,s,e,t,n,d=L.isPlainObject(S)?L.extend(!0,{},L.fn.popup.settings,S):L.extend({},L.fn.popup.settings),i=d.selector,u=d.className,f=d.error,m=d.metadata,o=d.namespace,a="."+d.namespace,r="module-"+o,g=L(this),l=[V,N].indexOf(d.context)<0?D.find(d.context):L(d.context),p=[V,N].indexOf(d.scrollContext)<0?D.find(d.scrollContext):L(d.scrollContext),h=[V,N].indexOf(d.boundary)<0?D.find(d.boundary):L(d.boundary),v=d.target?[V,N].indexOf(d.target)<0?D.find(d.target):L(d.target):g,b=0,y=!1,x=!1,C=this,w=g.data(r),k={initialize:function(){k.debug("Initializing",g),k.createID(),k.bind.events(),!k.exists()&&d.preserve&&k.create(),d.observeChanges&&k.observeChanges(),k.instantiate()},instantiate:function(){k.verbose("Storing instance",k),w=k,g.data(r,w)},observeChanges:function(){"MutationObserver"in V&&((e=new MutationObserver(k.event.documentChanged)).observe(N,{childList:!0,subtree:!0}),k.debug("Setting up mutation observer",e))},refresh:function(){d.popup?c=D.find(d.popup).eq(0):d.inline&&(c=v.nextAll(i.popup).eq(0),d.popup=c),d.popup?(k.set.invisible(),s=k.get.offsetParent(),k.remove.invisible(),d.movePopup&&k.has.popup()&&k.get.offsetParent(c)[0]!==s[0]&&(k.debug("Moving popup to the same offset parent as target"),c.detach().appendTo(s))):s=d.inline?k.get.offsetParent(v):k.has.popup()?k.get.offsetParent(c):E,s.is("html")&&s[0]!==E[0]&&(k.debug("Setting page as offset parent"),s=E),k.get.variation()&&k.set.variation()},reposition:function(){k.refresh(),k.set.position()},destroy:function(){k.debug("Destroying previous module"),e&&e.disconnect(),c&&!d.preserve&&k.removePopup(),clearTimeout(k.hideTimer),clearTimeout(k.showTimer),k.unbind.close(),k.unbind.events(),g.removeData(r)},event:{start:function(e){var t=L.isPlainObject(d.delay)?d.delay.show:d.delay;clearTimeout(k.hideTimer),x&&!d.addTouchEvents||(k.showTimer=setTimeout(k.show,t))},end:function(){var e=L.isPlainObject(d.delay)?d.delay.hide:d.delay;clearTimeout(k.showTimer),k.hideTimer=setTimeout(k.hide,e)},touchstart:function(e){x=!0,d.addTouchEvents&&k.show()},resize:function(){k.is.visible()&&k.set.position()},documentChanged:function(e){[].forEach.call(e,function(e){e.removedNodes&&[].forEach.call(e.removedNodes,function(e){(e===C||0").addClass(u.popup).data(m.activator,g).html(e),d.inline?(k.verbose("Inserting popup element inline",c),c.insertAfter(g)):(k.verbose("Appending popup element to body",c),c.appendTo(l)),k.refresh(),k.set.variation(),d.hoverable&&k.bind.popup(),d.onCreate.call(c,C)):d.popup?(D.find(d.popup).data(m.activator,g),k.verbose("Used popup specified in settings"),k.refresh(),d.hoverable&&k.bind.popup()):0":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return t[e]}):e},popup:function(e){var t="",n=L.fn.popup.settings.templates.escape;return void 0!==e&&(e.title&&(e.title=n(e.title),t+='
'+e.title+"
"),e.content&&(e.content=n(e.content),t+='
'+e.content+"
")),t}}}}(jQuery,window,document),function(S,e,T){"use strict";e=void 0!==e&&e.Math===Math?e:globalThis,S.fn.progress=function(h){var v,e=S(this),b=e.selector||"",y=Date.now(),x=[],C=h,w="string"==typeof C,k=[].slice.call(arguments,1);return e.each(function(){var r=S.isPlainObject(h)?S.extend(!0,{},S.fn.progress.settings,h):S.extend({},S.fn.progress.settings),n=r.className,t=r.metadata,e=r.namespace,i=r.selector,l=r.error,o="."+e,a="module-"+e,c=S(this),d=S(this).find(i.bar),s=S(this).find(i.progress),u=S(this).find(i.label),f=this,m=c.data(a),g=!1,p={helper:{sum:function(e){return Array.isArray(e)?e.reduce(function(e,t){return e+Number(t)},0):0},derivePrecision:function(e,t){for(var n=0,i=1,o=e/t;n<10&&!(1<(o*=i));)i=Math.pow(10,n++);return i},forceArray:function(e){return Array.isArray(e)?e:isNaN(e)?"string"==typeof e?e.split(","):[]:[e]}},initialize:function(){p.set.duration(),p.debug(f),p.read.metadata(),p.read.settings(),p.instantiate()},instantiate:function(){p.verbose("Storing instance of progress",p),m=p,c.data(a,p)},destroy:function(){p.verbose("Destroying previous progress for",c),clearInterval(m.interval),p.remove.state(),c.removeData(a),m=void 0},reset:function(){p.remove.nextValue(),p.update.progress(0)},complete:function(e){(void 0===p.percent||p.percent<100)&&(p.remove.progressPoll(),!0!==e&&p.set.percent(100))},read:{metadata:function(){var e={percent:p.helper.forceArray(c.data(t.percent)),total:c.data(t.total),value:p.helper.forceArray(c.data(t.value))};void 0!==e.total&&(p.debug("Total value set from metadata",e.total),p.set.total(e.total)),0p.total)return p.debug("Value cannot increment above total",p.total),p.total}else if(100p.total?p.error(l.sumExceedsTotal,a,p.total):!o&&100 .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}",bars:[""]},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(jQuery,window,document),function(B,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,B.fn.slider=function(M){var R,e=B(this),F=B(n),I=B(t),j=e.selector||"",L=Date.now(),V=[],N=M,q="string"==typeof N,z=[].slice.call(arguments,1),H=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],U=0;return e.each(function(){var c,r,s,l,e,d,u,t,f,m,g,p,o,h,a,v,b=B.isPlainObject(M)?B.extend(!0,{},B.fn.slider.settings,M):B.extend({},B.fn.slider.settings),n=b.className,i=b.metadata,y=b.namespace,x=b.error,C=b.keys,w=b.interpretLabel,k=!1,S="."+y,T="module-"+y,D=B(this),A=this,E=D.data(T),O=1,P={initialize:function(){P.debug("Initializing slider",b),v=!0,t=U+=1,P.setup.layout(),P.setup.labels(),P.is.disabled()||P.bind.events(),P.read.metadata(),P.read.settings(),v=!1,P.instantiate()},instantiate:function(){P.verbose("Storing instance of slider",P),E=P,D.data(T,P)},destroy:function(){P.verbose("Destroying previous slider for",D),clearInterval(E.interval),P.unbind.events(),P.unbind.slidingEvents(),D.removeData(T),E=void 0},setup:{layout:function(){void 0===D.attr("tabindex")&&D.attr("tabindex",0),0===D.find(".inner").length&&D.append("
"):null;n&&(P.update.labelPosition(e/t,n),u.append(n))}}},bind:{events:function(){P.bind.globalKeyboardEvents(),P.bind.keyboardEvents(),P.bind.mouseEvents(),b.autoAdjustLabels&&P.bind.windowEvents()},keyboardEvents:function(){P.verbose("Binding keyboard events"),D.on("keydown"+S,P.event.keydown)},globalKeyboardEvents:function(){F.on("keydown"+S+t,P.event.activateFocus)},mouseEvents:function(){P.verbose("Binding mouse and touch events"),D.find(".track, .thumb, .inner").on("mousedown"+S,function(e){e.stopImmediatePropagation(),e.preventDefault(),P.event.down(e)}),D.on("mousedown"+S,P.event.down),D.on("mouseenter"+S,function(e){k=!0}),D.on("mouseleave"+S,function(e){k=!1}),D.find(".thumb").on("touchstart"+S,P.event.touchDown).on("touchmove"+S,P.event.move).on("touchend"+S,P.event.up).on("touchcancel"+S,P.event.touchCancel)},slidingEvents:function(){P.verbose("Binding page wide events while handle is being draged"),F.on("mousemove"+S,P.event.move),F.on("mouseup"+S,P.event.up)},windowEvents:function(){I.on("resize"+S,P.event.resize)}},unbind:{events:function(){D.find(".track, .thumb, .inner").off("mousedown"+S),D.off("mousedown"+S),D.off("mouseenter"+S),D.off("mouseleave"+S),D.find(".thumb").off("touchstart"+S).off("touchmove"+S).off("touchend"+S).off("touchcancel"+S),D.off("keydown"+S),D.off("focusout"+S),F.off("keydown"+S+t,P.event.activateFocus),I.off("resize"+S)},slidingEvents:function(){F.off("mousemove"+S),F.off("mouseup"+S)}},event:{down:function(e){e.preventDefault(),P.is.range()?(e=P.determine.eventPos(e),e=P.determine.pos(e),c=b.preventCrossover&&P.is.range()&&P.thumbVal===P.secondThumbVal?void(a=e):P.determine.closestThumb(e),void 0===h&&(h=P.get.currentThumbValue())):void 0===h&&(h=P.get.value()),P.is.disabled()||P.bind.slidingEvents()},touchDown:function(e){e.preventDefault(),e.stopImmediatePropagation(),void 0===r&&(c=B(e.target),e=e.touches?e:e.originalEvent,r=e.targetTouches[0].identifier,void 0===h&&(h=P.get.currentThumbValue()))},move:function(e){var t,n,i;"mousemove"===e.type&&e.preventDefault(),P.is.disabled()||(t=P.determine.valueFromEvent(e),"mousemove"===e.type&&void 0===c&&(n=P.determine.eventPos(e),n=P.determine.pos(n),c=nP.get.trackOffset()+P.get.trackLength()?P.is.reversed()?P.get.min():P.get.max():P.determine.value(t);return e},smoothValueFromEvent:function(e){var t=P.get.min(),n=P.get.max(),i=P.get.trackLength(),e=P.determine.eventPos(e)-P.get.trackOffset(),e=(e=e<0?0:i',n++;return i}}}}(jQuery,window,document),function(O,P,M){"use strict";function R(e){return"function"==typeof e&&"number"!=typeof e.nodeType}P=void 0!==P&&P.Math===Math?P:globalThis,O.fn.search=function(x){var C,w=O(this),k=w.selector||"",S=Date.now(),T=[],D=x,A="string"==typeof D,E=[].slice.call(arguments,1);return w.each(function(){var u=O.isPlainObject(x)?O.extend(!0,{},O.fn.search.settings,x):O.extend({},O.fn.search.settings),f=u.className,l=u.metadata,i=u.regExp,a=u.fields,m=u.selector,g=u.error,e=u.namespace,o="."+e,t=e+"-module",p=O(this),h=p.find(m.prompt),n=p.find(m.searchButton),r=p.find(m.results),s=p.find(m.result),c=(p.find(m.category),this),d=p.data(t),v=!1,b=!1,y={initialize:function(){y.verbose("Initializing module"),y.get.settings(),y.determine.searchFields(),y.bind.events(),y.set.type(),y.create.results(),y.instantiate()},instantiate:function(){y.verbose("Storing instance of module",y),d=y,p.data(t,y)},destroy:function(){y.verbose("Destroying instance"),p.off(o).removeData(t)},refresh:function(){y.debug("Refreshing selector cache"),h=p.find(m.prompt),n=p.find(m.searchButton),p.find(m.category),r=p.find(m.results),s=p.find(m.result)},refreshResults:function(){r=p.find(m.results),s=p.find(m.result)},bind:{events:function(){y.verbose("Binding events to search"),u.automatic&&(p.on(y.get.inputEvent()+o,m.prompt,y.event.input),h.attr("autocomplete",y.is.chrome()?"fomantic-search":"off")),p.on("focus"+o,m.prompt,y.event.focus).on("blur"+o,m.prompt,y.event.blur).on("keydown"+o,m.prompt,y.handleKeyboard).on("click"+o,m.searchButton,y.query).on("mousedown"+o,m.results,y.event.result.mousedown).on("mouseup"+o,m.results,y.event.result.mouseup).on("click"+o,m.result,y.event.result.click)}},determine:{searchFields:function(){x&&void 0!==x.searchFields&&(u.searchFields=x.searchFields)}},event:{input:function(){u.searchDelay?(clearTimeout(y.timer),y.timer=setTimeout(function(){y.is.focused()&&y.query()},u.searchDelay)):y.query()},focus:function(){y.set.focus(),u.searchOnFocus&&y.has.minimumCharacters()&&y.query(function(){y.can.show()&&y.showResults()})},blur:function(e){function t(){y.cancel.query(),y.remove.focus(),y.timer=setTimeout(y.hideResults,u.hideDelay)}var n=M.activeElement===this;n||(b=!1,y.resultsClicked?(y.debug("Determining if user action caused search to close"),p.one("click.close"+o,m.results,function(e){y.is.inMessage(e)||v?h.trigger("focus"):(v=!1,y.is.animating()||y.is.hidden()||t())})):(y.debug("Input blurred without user action, closing results"),t()))},result:{mousedown:function(){y.resultsClicked=!0},mouseup:function(){y.resultsClicked=!1},click:function(e){y.debug("Search result selected");var t=O(this),n=t.find(m.title).eq(0),i=t.is("a[href]")?t:t.find("a[href]").eq(0),o=i.attr("href")||!1,a=i.attr("target")||!1,n=0=u.minCharacters},results:function(){return 0!==r.length&&""!==r.html()}},clear:{cache:function(e){var t=p.data(l.cache);e?t&&t[e]&&(y.debug("Removing value from cache",e),delete t[e],p.data(l.cache,t)):(y.debug("Clearing cache",e),p.removeData(l.cache))}},read:{cache:function(e){var t=p.data(l.cache);return!!u.cache&&(y.verbose("Checking cache for generated html for query",e),"object"==typeof t&&void 0!==t[e]&&t[e])}},create:{categoryResults:function(e){var n={};return O.each(e,function(e,t){t.category&&(void 0===n[t.category]?(y.verbose("Creating new category of results",t.category),n[t.category]={name:t.category,results:[t]}):n[t.category].results.push(t))}),n},id:function(e,t){var n,e=e+1;return void 0!==t?(t=String.fromCharCode(97+t),y.verbose("Creating category result id",n=t+e)):y.verbose("Creating result id",n=e),n},results:function(){0===r.length&&(r=O("").addClass(f.results).appendTo(p))}},inject:{result:function(e,t,n){y.verbose("Injecting result into results");n=(void 0!==n?r.children().eq(n).children(m.results).first():r).children(m.result).eq(t);y.verbose("Injecting results metadata",n),n.data(l.result,e)},id:function(e){y.debug("Injecting unique ids into results");var n=0,i=0;return"category"===u.type?O.each(e,function(e,t){0 as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[$()*+./?[\\\]^{|}-]/g,beginsWith:"(?:\\s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e},message:function(e,t,n){var i="";return void 0!==e&&void 0!==t&&(i+='
":''+a(e[n.action][n.actionText],i)+""),o)}}},O.extend(O.easing,{easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)}})}(jQuery,window,document),function(T,e,D){"use strict";e=void 0!==e&&e.Math===Math?e:globalThis,T.fn.shape=function(v){var b,y=T(this),x=Date.now(),C=[],w=v,k="string"==typeof w,S=[].slice.call(arguments,1);return y.each(function(){var n,i,t=y.selector||"",a=T.isPlainObject(v)?T.extend(!0,{},T.fn.shape.settings,v):T.extend({},T.fn.shape.settings),e=a.namespace,r=a.selector,l=a.error,s=a.className,o="."+e,c="module-"+e,d=T(this),u=d.find(">"+r.sides),f=u.find(">"+r.side),m=!1,g=this,p=d.data(c),h={initialize:function(){h.verbose("Initializing module for",g),h.set.defaultSide(),h.instantiate()},instantiate:function(){h.verbose("Storing instance of module",h),p=h,d.data(c,p)},destroy:function(){h.verbose("Destroying previous module for",g),d.removeData(c).off(o)},refresh:function(){h.verbose("Refreshing selector cache for",g),d=T(g),u=T(this).find(r.sides),f=T(this).find(r.side)},repaint:function(){h.verbose("Forcing repaint event");(u[0]||D.createElement("div")).offsetWidth},animate:function(e,t){h.verbose("Animating box with properties",e),t=t||function(e){h.verbose("Executing animation callback"),void 0!==e&&e.stopPropagation(),h.reset(),h.set.active()},a.onBeforeChange.call(i[0]),h.verbose("Starting CSS animation"),d.addClass(s.animating),u.css(e).one("transitionend",t),h.set.duration(a.duration),requestAnimationFrame(function(){d.addClass(s.animating),n.addClass(s.hidden)})},queue:function(e){h.debug("Queueing animation of",e),u.one("transitionend",function(){h.debug("Executing queued animation"),setTimeout(function(){d.shape(e)},0)})},reset:function(){h.verbose("Animating states reset"),d.removeClass(s.animating).attr("style","").removeAttr("style"),u.attr("style","").removeAttr("style"),f.attr("style","").removeAttr("style").removeClass(s.hidden),i.removeClass(s.animating).attr("style","").removeAttr("style")},is:{complete:function(){return f.filter("."+s.active)[0]===i[0]},animating:function(){return d.hasClass(s.animating)},hidden:function(){return 0"+r.sides+">"+r.side),n=t.filter("."+a.className.active),t=m?t.eq(m):0=v.scrollHeight&&(v.scrollTop=v.scrollHeight-v.offsetHeight-1)},scroll:function(e){0===L(e.target).closest(t.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){w.verbose("Adding clickaway events to context",m),m.on("click"+a,w.event.clickaway).on("touchend"+a,w.event.clickaway)},scrollLock:function(){s.scrollLock&&(w.debug("Disabling page scroll"),(C=w.has.scrollbar())&&(w.save.bodyMargin(),w.set.bodyMargin()),m.addClass(l.locked)),w.verbose("Adding events to contain sidebar scroll"),D.on("touchmove"+a,w.event.touch),f.on("scroll"+d,w.event.containScroll)}},unbind:{clickaway:function(){w.verbose("Removing clickaway events from context",m),m.off(a)},scrollLock:function(){w.verbose("Removing scroll lock from page"),C&&w.restore.bodyMargin(),m.removeClass(l.locked),D.off(a),f.off("scroll"+d)}},add:{inlineCSS:function(){var e=w.cache.width||f.outerWidth(),t=w.cache.height||f.outerHeight(),n=w.is.rtl(),i=w.get.direction(),t={left:e,right:-e,top:t,bottom:-t};n&&(w.verbose("RTL detected, flipping widths"),t.left=-e,t.right=e),n="").appendTo(O),w.debug("Adding sizing css to head",o)}},refresh:function(){w.verbose("Refreshing selector cache"),m=[V,N].indexOf(s.context)<0?D.find(s.context):A,w.refreshSidebars(),h=m.children(t.pusher),m.children(t.fixed),w.clear.cache()},refreshSidebars:function(){w.verbose("Refreshing other sidebars"),p=m.children(t.sidebar)},repaint:function(){w.verbose("Forcing repaint event"),v.style.display="none";v.offsetHeight;v.scrollTop=v.scrollTop,v.style.display=""},setup:{cache:function(){w.cache={width:f.outerWidth(),height:f.outerHeight()}},layout:function(){0===m.children(t.pusher).length&&(w.debug("Adding wrapper element for sidebar"),w.error(c.pusher),h=L(''),m.children().not(t.omitted).not(p).wrapAll(h),w.refresh()),0!==f.nextAll(t.pusher).length&&f.nextAll(t.pusher)[0]===h[0]||(w.debug("Moved sidebar to correct parent element"),w.error(c.movedSidebar,v),f.detach().prependTo(m),w.refresh()),w.clear.cache(),w.set.pushable(),w.set.direction()}},attachEvents:function(e,t){var n=L(e);t=q(w[t])?w[t]:w.toggle,0 .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{ios:/(iPad|iPhone|iPod)/g,mobileChrome:/(CriOS)/g,mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document),function(T,D,A){"use strict";D=void 0!==D&&D.Math===Math?D:globalThis,T.fn.sticky=function(h){var v,e=T(this),b=T(A),y=e.selector||"",x=Date.now(),C=[],w=h,k="string"==typeof w,S=[].slice.call(arguments,1);return e.each(function(){var t,i,e,n,s=T.isPlainObject(h)?T.extend(!0,{},T.fn.sticky.settings,h):T.extend({},T.fn.sticky.settings),o=s.className,a=s.namespace,l=s.error,r="."+a,c="module-"+a,d=T(this),u=T(D),f=[D,A].indexOf(s.scrollContext)<0?b.find(s.scrollContext):T(s.scrollContext),m=d.data(c),g=this,p={initialize:function(){p.determineContainer(),p.determineContext(),p.verbose("Initializing sticky",s,t),p.save.positions(),p.checkErrors(),p.bind.events(),s.observeChanges&&p.observeChanges(),p.instantiate()},instantiate:function(){p.verbose("Storing instance of module",p),m=p,d.data(c,p)},destroy:function(){p.verbose("Destroying previous instance"),p.reset(),e&&e.disconnect(),n&&n.disconnect(),u.off("load"+r,p.event.load).off("resize"+r,p.event.resize),f.off("scrollchange"+r,p.event.scrollchange),d.removeData(c)},observeChanges:function(){"MutationObserver"in D&&(e=new MutationObserver(p.event.documentChanged),n=new MutationObserver(p.event.changed),e.observe(A,{childList:!0,subtree:!0}),n.observe(g,{childList:!0,subtree:!0}),n.observe(i[0],{childList:!0,subtree:!0}),p.debug("Setting up mutation observer",n))},determineContainer:function(){t=s.container?[D,A].indexOf(s.container)<0?b.find(s.container):T(s.container):d.offsetParent()},determineContext:function(){0===(i=s.context?[D,A].indexOf(s.context)<0?b.find(s.context):T(s.context):t).length&&p.error(l.invalidContext,s.context,d)},checkErrors:function(){p.is.hidden()&&p.error(l.visible,d),p.cache.element.height>p.cache.context.height&&(p.reset(),p.error(l.elementSize,d))},bind:{events:function(){u.on("load"+r,p.event.load).on("resize"+r,p.event.resize),f.off("scroll"+r).on("scroll"+r,p.event.scroll).on("scrollchange"+r,p.event.scrollchange)}},event:{changed:function(e){clearTimeout(p.timer),p.timer=setTimeout(function(){p.verbose("DOM tree modified, updating sticky menu",e),p.refresh()},100)},documentChanged:function(e){[].forEach.call(e,function(e){e.removedNodes&&[].forEach.call(e.removedNodes,function(e){(e===g||0");return e.addClass(o.supported),e.css("position").match("sticky")}},save:{lastScroll:function(e){p.lastScroll=e},elementScroll:function(e){p.elementScroll=e},positions:function(){var e={height:f.height()},t={margin:{top:parseInt(d.css("margin-top"),10),bottom:parseInt(d.css("margin-bottom"),10)},offset:d.offset(),width:d.outerWidth(),height:d.outerHeight()},n={offset:i.offset(),height:i.outerHeight()};p.is.standardScroll()||(p.debug("Non-standard scroll. Removing scroll offset from element offset"),e.top=f.scrollTop(),e.left=f.scrollLeft(),t.offset.top+=e.top,n.offset.top+=e.top,t.offset.left+=e.left,n.offset.left+=e.left),p.cache={fits:t.height+s.offset<=e.height,sameHeight:t.height===n.height,scrollContext:{height:e.height},element:{margin:t.margin,top:t.offset.top-t.margin.top,left:t.offset.left,width:t.width,height:t.height,bottom:t.offset.top+t.height},context:{top:n.offset.top,height:n.height,bottom:n.offset.top+n.height}},p.set.containerSize(),p.stick(),p.debug("Caching element positions",p.cache)}},get:{direction:function(e){var t="down";return e=e||f.scrollTop(),t=p.lastScroll&&p.lastScroll>e?"up":t},scrollChange:function(e){return e=e||f.scrollTop(),p.lastScroll?e-p.lastScroll:0},currentElementScroll:function(){return p.elementScroll||(p.is.top()?Math.abs(parseInt(d.css("top"),10))||0:Math.abs(parseInt(d.css("bottom"),10))||0)},elementScroll:function(e){e=e||f.scrollTop();var t=p.cache.element,n=p.cache.scrollContext,e=p.get.scrollChange(e),t=t.height-n.height+s.offset,n=p.get.currentElementScroll(),e=n+e;return n=p.cache.fits||e<0?0:ts.jitter?(p.debug("Context is taller than container. Specifying exact height for container",p.cache.context.height),t.css({height:e})):t.css({height:""}),Math.abs(t.outerHeight()-p.cache.context.height)>s.jitter&&(p.debug("Context has padding, specifying exact height for container",p.cache.context.height),t.css({height:p.cache.context.height})))},minimumSize:function(){var e=p.cache.element;t.css("min-height",e.height)},scroll:function(e){p.debug("Setting scroll on element",e),p.elementScroll!==e&&(p.is.top()&&d.css("bottom","").css("top",-e+"px"),p.is.bottom()&&d.css("top","").css("bottom",e+"px"))},size:function(){0!==p.cache.element.height&&0!==p.cache.element.width&&(g.style.setProperty("width",p.cache.element.width+"px","important"),g.style.setProperty("height",p.cache.element.height+"px","important"))}},is:{standardScroll:function(){return f[0]===D},top:function(){return d.hasClass(o.top)},bottom:function(){return d.hasClass(o.bottom)},initialPosition:function(){return!p.is.fixed()&&!p.is.bound()},hidden:function(){return!d.is(":visible")},bound:function(){return d.hasClass(o.bound)},fixed:function(){return d.hasClass(o.fixed)}},stick:function(e){var e=e||f.scrollTop(),t=p.cache,n=t.fits,i=t.sameHeight,o=t.element,a=t.scrollContext,t=t.context,r=p.is.bottom()&&s.pushing?s.bottomOffset:s.offset,e={top:e+r,bottom:e+r+a.height},r=n?0:p.get.elementScroll(e.top),a=!n;0===o.height||i||(p.is.initialPosition()?e.top>=t.bottom?(p.debug("Initial element position is bottom of container"),p.bindBottom()):e.top>o.top&&(o.height+e.top-r>=t.bottom&&o.height=t.bottom?(p.debug("Fixed element reached bottom of container"),p.bindBottom()):a&&(p.set.scroll(r),p.save.lastScroll(e.top),p.save.elementScroll(r)):p.is.bottom()&&(e.bottom-o.height<=o.top?(p.debug("Bottom fixed rail has reached top of container"),p.setInitialPosition()):e.bottom>=t.bottom?(p.debug("Bottom fixed rail has reached bottom of container"),p.bindBottom()):a&&(p.set.scroll(r),p.save.lastScroll(e.top),p.save.elementScroll(r))):p.is.bottom()&&(e.top<=o.top?(p.debug("Jumped from bottom fixed to top fixed, most likely used home/end button"),p.setInitialPosition()):s.pushing?p.is.bound()&&e.bottom<=t.bottom&&(p.debug("Fixing bottom attached element to bottom of browser."),p.fixBottom()):p.is.bound()&&e.top<=t.bottom-o.height&&(p.debug("Fixing bottom attached element to top of browser."),p.fixTop())))},bindTop:function(){p.debug("Binding element to top of parent container"),p.remove.offset(),s.setSize&&p.set.size(),d.css({left:"",top:"",marginBottom:""}).removeClass(o.fixed).removeClass(o.bottom).addClass(o.bound).addClass(o.top),s.onTop.call(g),s.onUnstick.call(g)},bindBottom:function(){p.debug("Binding element to bottom of parent container"),p.remove.offset(),s.setSize&&p.set.size(),d.css({left:"",top:""}).removeClass(o.fixed).removeClass(o.top).addClass(o.bound).addClass(o.bottom),s.onBottom.call(g),s.onUnstick.call(g)},setInitialPosition:function(){p.debug("Returning to initial position"),p.unfix(),p.unbind()},fixTop:function(){p.debug("Fixing element to top of page"),s.setSize&&p.set.size(),p.set.minimumSize(),p.set.offset(),d.css({left:p.cache.element.left,bottom:"",marginBottom:""}).removeClass(o.bound).removeClass(o.bottom).addClass(o.fixed).addClass(o.top),s.onStick.call(g)},fixBottom:function(){p.debug("Sticking element to bottom of page"),s.setSize&&p.set.size(),p.set.minimumSize(),p.set.offset(),d.css({left:p.cache.element.left,bottom:"",marginBottom:""}).removeClass(o.bound).removeClass(o.top).addClass(o.fixed).addClass(o.bottom),s.onStick.call(g)},unbind:function(){p.is.bound()&&(p.debug("Removing container bound position on element"),p.remove.offset(),d.removeClass(o.bound).removeClass(o.top).removeClass(o.bottom))},unfix:function(){p.is.fixed()&&(p.debug("Removing fixed position on element"),p.remove.minimumSize(),p.remove.offset(),d.removeClass(o.fixed).removeClass(o.top).removeClass(o.bottom),s.onUnstick.call(g))},reset:function(){p.debug("Resetting elements position"),p.unbind(),p.unfix(),p.resetCSS(),p.remove.offset(),p.remove.lastScroll()},resetCSS:function(){d.css({width:"",height:""}),t.css({height:""})},setting:function(e,t){if(T.isPlainObject(e))T.extend(!0,s,e);else{if(void 0===t)return s[e];s[e]=t}},internal:function(e,t){if(T.isPlainObject(e))T.extend(!0,p,e);else{if(void 0===t)return p[e];p[e]=t}},debug:function(){!s.silent&&s.debug&&(s.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,s.name+":"),p.debug.apply(console,arguments)))},verbose:function(){!s.silent&&s.verbose&&s.debug&&(s.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,s.name+":"),p.verbose.apply(console,arguments)))},error:function(){s.silent||(p.error=Function.prototype.bind.call(console.error,console,s.name+":"),p.error.apply(console,arguments))},performance:{log:function(e){var t,n;s.performance&&(n=(t=Date.now())-(x||t),x=t,C.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:g,"Execution Time":n})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,0)},display:function(){var e=s.name+":",n=0;x=!1,clearTimeout(p.performance.timer),T.each(C,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",y&&(e+=" '"+y+"'"),0"},regExp:{escape:/[\s#$()*+,.:=?@[\\\]^{|}-]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document),function(P,M,R){"use strict";function F(e){return"function"==typeof e&&"number"!=typeof e.nodeType}M=void 0!==M&&M.Math===Math?M:globalThis,P.fn.toast=function(w){var k,e=P(this),S=e.selector||"",T=Date.now(),D=[],A=w,E="string"==typeof A,O=[].slice.call(arguments,1);return e.each(function(){var n,i,a,o,r,s,l,e,c=P.isPlainObject(w)?P.extend(!0,{},P.fn.toast.settings,w):P.extend({},P.fn.toast.settings),d=c.className,u=c.selector,f=c.error,t=c.namespace,m=c.fields,g="."+t,p=t+"-module",h=P(this),v=c.context?[M,R].indexOf(c.context)<0?P(R).find(c.context):P(c.context):P("body"),b=h.hasClass("toast")||h.hasClass("message")||h.hasClass("card"),y=this,x=b?h.data(p):void 0,C={initialize:function(){C.verbose("Initializing element"),C.create.id(),C.has.container()||C.create.container(),(b||""!==c.message||""!==c.title||""!==C.get.iconClass()||c.showImage||C.has.configActions())&&("string"==typeof c.showProgress&&-1!==[d.top,d.bottom].indexOf(c.showProgress)||(c.showProgress=!1),C.create.toast(),c.closeOnClick&&(c.closeIcon||0",{class:c.position+" "+d.container+" "+(c.horizontal?d.horizontal:"")+" "+(c.context&&"body"!==c.context?d.absolute:"")}))},id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),C.verbose("Creating unique id for element",e)},toast:function(){n=P("",{class:d.box});var e,t=C.get.iconClass();b?(i=c.cloneModule?h.clone().removeAttr("id"):h,l=i.find("> i"+C.helpers.toClass(d.close)),c.closeIcon=0",{role:"alert"}),e=P("",{class:d.content}),""!==t&&i.append(P("",{class:t+" "+d.icon})),c.showImage&&i.append(P("",{class:d.image+" "+c.classImage,src:c.showImage})),""!==c.title&&(t="_"+C.get.id()+"title",i.attr("aria-labelledby",t),e.append(P("",{class:d.title,id:t,html:C.helpers.escape(c.title,c.preserveHTML)}))),t="_"+C.get.id()+"desc",i.attr("aria-describedby",t),e.append(P("",{class:d.message,id:t,html:C.helpers.escape(c.message,c.preserveHTML)})),i.addClass(c.class+" "+d.toast).append(e),i.css("opacity",String(c.opacity)),c.closeIcon&&((l=P("",{class:d.close+" "+("string"==typeof c.closeIcon?c.closeIcon:""),role:"button",tabindex:0,"aria-label":c.text.close})).hasClass(d.left)?i.prepend(l):i.append(l))),i.hasClass(d.compact)&&(c.compact=!0),i.hasClass("card")&&(c.compact=!1),a=i.find(".actions"),C.has.configActions()&&(0===a.length&&(a=P("",{class:d.actions+" "+(c.classActions||"")}).appendTo(i)),i.hasClass("card")&&!a.hasClass(d.attached)&&(a.addClass(d.extraContent),a.hasClass(d.vertical)&&(a.removeClass(d.vertical),C.error(f.verticalCard))),c.actions.forEach(function(e){var t=e[m.icon]?"':"",n=C.helpers.escape(e[m.text]||"",c.preserveHTML),i=C.helpers.deQuote(e[m.class]||""),o=e[m.click]&&F(e[m.click])?e[m.click]:function(){};a.append(P("",{html:t+n,"aria-label":(e[m.text]||e[m.icon]||"").replace(/<[^>]+(>|$)/g,""),class:d.button+" "+i,on:{click:function(){var e=P(this);e.is(u.approve)||e.is(u.deny)||!1===o.call(y,h)||C.close()}}}))})),a&&a.hasClass(d.vertical)&&i.addClass(d.vertical),0",{class:d.vertical+" "+d.attached+" "+(c.compact?d.compact:"")})),a.hasClass(d.left)?i.addClass(d.left).parent().addClass(d.left).prepend(a):i.parent().append(a)):a.hasClass(d.top)?(n.prepend(a),i.addClass(d.bottom)):(n.append(a),i.addClass(d.top))),h!==i&&(y=(h=i)[0]),0",{class:d.progress+" "+(c.classProgress||c.class),"data-percent":""}),c.classProgress||(i.hasClass("toast")&&!i.hasClass(d.inverted)?o.addClass(d.inverted):o.removeClass(d.inverted)),r=P("",{class:"bar "+(c.progressUp?"up ":"down ")+t}),o.addClass(c.showProgress).append(r),o.hasClass(d.top)?n.prepend(o):n.append(o),r.css("animation-duration",c.displayTime/1e3+"s")),(s=P("",{class:"wait "+t})).css("animation-duration",c.displayTime/1e3+"s"),s.appendTo(i)),c.compact&&(n.addClass(d.compact),i.addClass(d.compact),o&&o.addClass(d.compact)),c.newestOnTop?n.prependTo(C.get.container()):n.appendTo(C.get.container())}},bind:{events:function(){C.debug("Binding events to toast"),c.closeIcon&&l.on("click"+g,C.event.close),i.on("click"+g,C.event.click),s&&s.on("animationend"+g,C.event.close),n.on("click"+g,u.approve,C.event.approve).on("click"+g,u.deny,C.event.deny)}},unbind:{events:function(){C.debug("Unbinding events to toast"),c.closeIcon&&l.off("click"+g),i.off("click"+g),s&&s.off("animationend"+g),n.off("click"+g)}},animate:{show:function(e){e=F(e)?e:function(){},c.transition&&C.can.useElement("transition")&&(C.set.visible(),n.transition({animation:c.transition.showMethod+" in",queue:!1,debug:c.debug,verbose:c.verbose,silent:c.silent,duration:c.transition.showDuration,onComplete:function(){e.call(n,y),c.onVisible.call(n,y)}}))},close:function(e){e=F(e)?e:function(){},c.transition&&void 0!==P.fn.transition?n.transition({animation:c.transition.hideMethod+" out",queue:!1,duration:c.transition.hideDuration,debug:c.debug,verbose:c.verbose,silent:c.silent,interval:50,onBeforeHide:function(e){e=F(e)?e:function(){},""!==c.transition.closeEasing?n&&(n.css("opacity","0"),n.wrap("").parent().hide(c.transition.closeDuration,c.transition.closeEasing,function(){n&&(n.parent().remove(),e.call(n))})):e.call(n)},onComplete:function(){e.call(n,y),c.onHidden.call(n,y),C.destroy()}}):C.error(f.noTransition)},pause:function(){s.css("animationPlayState","paused"),r&&r.css("animationPlayState","paused")},continue:function(){s.css("animationPlayState","running"),r&&r.css("animationPlayState","running")}},has:{container:function(){return C.verbose("Determining if there is already a container"),0":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,function(e){return n[e]}):e}},can:{useElement:function(e){return void 0!==P.fn[e]||(C.error(f.noElement.replace("{element}",e)),!1)}},setting:function(e,t){if(C.debug("Changing setting",e,t),P.isPlainObject(e))P.extend(!0,c,e);else{if(void 0===t)return c[e];P.isPlainObject(c[e])?P.extend(!0,c[e],t):c[e]=t}},internal:function(e,t){if(P.isPlainObject(e))P.extend(!0,C,e);else{if(void 0===t)return C[e];C[e]=t}},debug:function(){!c.silent&&c.debug&&(c.performance?C.performance.log(arguments):(C.debug=Function.prototype.bind.call(console.info,console,c.name+":"),C.debug.apply(console,arguments)))},verbose:function(){!c.silent&&c.verbose&&c.debug&&(c.performance?C.performance.log(arguments):(C.verbose=Function.prototype.bind.call(console.info,console,c.name+":"),C.verbose.apply(console,arguments)))},error:function(){c.silent||(C.error=Function.prototype.bind.call(console.error,console,c.name+":"),C.error.apply(console,arguments))},performance:{log:function(e){var t,n;c.performance&&(n=(t=Date.now())-(T||t),T=t,D.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:y,"Execution Time":n})),clearTimeout(C.performance.timer),C.performance.timer=setTimeout(C.performance.display,500)},display:function(){var e=c.name+":",n=0;T=!1,clearTimeout(C.performance.timer),P.each(D,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",S&&(e+=" '"+S+"'"),0 img.image, > .image > img",icon:"> i.icon",input:'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',clickable:"a, details, .ui.accordion",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onClick:function(){},onHide:function(){},onHidden:function(){},onRemove:function(){},onApprove:function(){},onDeny:function(){}},P.extend(P.easing,{easeOutBounce:function(e){var t=7.5625;return e<1/2.75?t*e*e:e<2/2.75?t*(e-=1.5/2.75)*e+.75:e<2.5/2.75?t*(e-=2.25/2.75)*e+.9375:t*(e-=2.625/2.75)*e+.984375},easeOutCubic:function(e){return--e*e*e+1}})}(jQuery,window,document),function(x,e){"use strict";e=void 0!==e&&e.Math===Math?e:globalThis,x.fn.transition=function(){var g,a=x(this),r=a.selector||"",s=Date.now(),p=[],h=arguments,v=h[0],b=[].slice.call(arguments,1),y="string"==typeof v;return a.each(function(n){var l,c,t,d,i,e,o,u=x(this),f=this,m={initialize:function(){l=m.get.settings.apply(f,h),d=l.className,t=l.error,i=l.metadata,o="."+l.namespace,e="module-"+l.namespace,c=u.data(e)||m,!1===(y=y&&m.invoke(v))&&(m.verbose("Converted arguments into settings object",l),l.interval?m.delay(l.interval):m.animate(),m.instantiate())},instantiate:function(){m.verbose("Storing instance of module",m),c=m,u.data(e,c)},destroy:function(){m.verbose("Destroying previous module for",f),u.removeData(e)},refresh:function(){m.verbose("Refreshing display type on next animation"),delete m.displayType},forceRepaint:function(){m.verbose("Forcing element repaint");var e=u.parent(),t=u.next();0===t.length?u.detach().appendTo(e):u.detach().insertBefore(t)},repaint:function(){m.verbose("Repainting element");f.offsetWidth},delay:function(e){var t=(t=m.get.animationDirection())||(m.can.transition()?m.get.direction():"static");e=void 0!==e?e:l.interval,t="auto"===l.reverse&&t===d.outward||!0===l.reverse?(a.length-n)*e:n*e,m.debug("Delaying animation by",t),setTimeout(m.animate,t)},animate:function(e){if(l=e||l,m.debug("Preparing animation",l.animation),m.is.animating()){if(l.queue)return!l.allowRepeats&&m.has.direction()&&m.is.occurring()&&!0!==m.queuing?m.debug("Animation is currently occurring, preventing queueing same animation",l.animation):m.queue(l.animation),!1;if(!l.allowRepeats&&m.is.occurring())return m.debug("Animation is already occurring, will not execute repeated animation",l.animation),!1;m.debug("New animation started, completing previous early",l.animation),c.complete()}m.can.animate()?m.set.animating(l.animation):m.error(t.noAnimation,l.animation,f)},reset:function(){m.debug("Resetting animation to beginning conditions"),m.remove.animationCallbacks(),m.restore.conditions(),m.remove.animating()},queue:function(e){m.debug("Queueing animation of",e),m.queuing=!0,u.one("animationend.queue"+o,function(){m.queuing=!1,m.repaint(),m.animate.apply(this,l)})},complete:function(e){e&&e.target===f&&e.stopPropagation(),m.debug("Animation complete",l.animation),m.remove.completeCallback(),m.remove.failSafe(),m.is.looping()||(m.is.outward()?(m.verbose("Animation is outward, hiding element"),m.restore.conditions(),m.hide()):m.is.inward()?(m.verbose("Animation is inward, showing element"),m.restore.conditions(),m.show()):(m.verbose("Static animation completed"),m.restore.conditions(),l.onComplete.call(f)))},force:{visible:function(){var e=u.attr("style"),e=m.get.userStyle(e),t=m.get.displayType(),e=e+"display: "+t+" !important;",n=u[0].style.display;return!t||"none"===n&&l.skipInlineHidden||u[0].tagName.match(/(script|link|style)/i)?(m.remove.transition(),!1):(m.verbose("Overriding default display to show element",t),u.attr("style",e),!0)},hidden:function(){var e=u.attr("style"),e=void 0===e||""===e;"none"===u.css("display")||m.is.hidden()?e&&u.removeAttr("style"):(m.verbose("Overriding default display to hide element"),u.css("display","none"))}},has:{direction:function(e){var n=!1;return"string"==typeof(e=e||l.animation)&&(e=e.split(" "),x.each(e,function(e,t){t!==d.inward&&t!==d.outward||(n=!0)})),n},inlineDisplay:function(){var e=u.attr("style")||"";return Array.isArray(e.match(/display.*?;/,""))}},set:{animating:function(e){m.remove.completeCallback(),e=e||l.animation;e=m.get.animationClass(e);m.save.animation(e),m.force.visible()&&(m.remove.hidden(),m.remove.direction(),m.start.animation(e))},duration:function(e,t){!(t="number"==typeof(t=t||l.duration)?t+"ms":t)&&0!==t||(m.verbose("Setting animation duration",t),u.css({"animation-duration":t}))},direction:function(e){(e=e||m.get.direction())===d.inward?m.set.inward():m.set.outward()},looping:function(){m.debug("Transition set to loop"),u.addClass(d.looping)},hidden:function(){u.addClass(d.transition).addClass(d.hidden)},inward:function(){m.debug("Setting direction to inward"),u.removeClass(d.outward).addClass(d.inward)},outward:function(){m.debug("Setting direction to outward"),u.removeClass(d.inward).addClass(d.outward)},visible:function(){u.addClass(d.transition).addClass(d.visible)}},start:{animation:function(e){e=e||m.get.animationClass(),m.debug("Starting tween",e),u.addClass(e).one("animationend.complete"+o,m.complete),l.useFailSafe&&m.add.failSafe(),m.set.duration(l.duration),l.onStart.call(f)}},save:{animation:function(e){m.cache||(m.cache={}),m.cache.animation=e},displayType:function(e){"none"!==e&&u.data(i.displayType,e)},transitionExists:function(e,t){x.fn.transition.exists[e]=t,m.verbose("Saving existence of transition",e,t)}},restore:{conditions:function(){var e=m.get.currentAnimation();e&&(u.removeClass(e),m.verbose("Removing animation class",m.cache)),m.remove.duration()}},add:{failSafe:function(){var e=m.get.duration();m.timer=setTimeout(function(){u.triggerHandler("animationend")},e+l.failSafeDelay),m.verbose("Adding fail safe timer",m.timer)}},remove:{animating:function(){u.removeClass(d.animating)},animationCallbacks:function(){m.remove.queueCallback(),m.remove.completeCallback()},queueCallback:function(){u.off(".queue"+o)},completeCallback:function(){u.off(".complete"+o)},display:function(){u.css("display","")},direction:function(){u.removeClass(d.inward).removeClass(d.outward)},duration:function(){u.css("animation-duration","")},failSafe:function(){m.verbose("Removing fail safe timer",m.timer),m.timer&&clearTimeout(m.timer)},hidden:function(){u.removeClass(d.hidden)},visible:function(){u.removeClass(d.visible)},looping:function(){m.debug("Transitions are no longer looping"),m.is.looping()&&(m.reset(),u.removeClass(d.looping))},transition:function(){u.removeClass(d.transition).removeClass(d.visible).removeClass(d.hidden)}},get:{settings:function(e,t,n){return"object"==typeof e?x.extend(!0,{},x.fn.transition.settings,e):"function"==typeof n?x.extend({},x.fn.transition.settings,{animation:e,onComplete:n,duration:t}):"string"==typeof t||"number"==typeof t?x.extend({},x.fn.transition.settings,{animation:e,duration:t}):"object"==typeof t?x.extend({},x.fn.transition.settings,t,{animation:e}):"function"==typeof t?x.extend({},x.fn.transition.settings,{animation:e,onComplete:t}):x.extend({},x.fn.transition.settings,{animation:e})},animationClass:function(e){var e=e||l.animation,t=m.can.transition()&&!m.has.direction()?m.get.direction()+" ":"";return d.animating+" "+d.transition+" "+t+e},currentAnimation:function(){return!(!m.cache||void 0===m.cache.animation)&&m.cache.animation},currentDirection:function(){return m.is.inward()?d.inward:d.outward},direction:function(){return m.is.hidden()||!m.is.visible()?d.inward:d.outward},animationDirection:function(e){var n;return"string"==typeof(e=e||l.animation)&&(e=e.split(" "),x.each(e,function(e,t){t===d.inward?n=d.inward:t===d.outward&&(n=d.outward)})),n||!1},duration:function(e){return"string"==typeof(e=!1===(e=e||l.duration)?u.css("animation-duration")||0:e)?-1").addClass(e).insertAfter(u)).addClass(a).removeClass(d.inward).removeClass(d.outward).addClass(d.animating).addClass(d.transition).css("animationName"),t.detach().insertAfter(u),i=t.addClass(d.inward).css("animationName"),s||(t.detach().insertAfter(u),s=t.attr("class",e).removeAttr("style").removeClass(d.hidden).removeClass(d.visible).show().css("display"),m.verbose("Determining final display state",s),m.save.displayType(s)),t.remove(),n!==i)m.debug("Direction exists for animation",a),o=!0;else{if("none"===n||!n)return void m.debug("No animation defined in css",a);m.debug("Static animation found",a,s),o=!1}m.save.transitionExists(a,o)}return void 0!==r?r:o},animate:function(){return void 0!==m.can.transition()}},is:{animating:function(){return u.hasClass(d.animating)},inward:function(){return u.hasClass(d.inward)},outward:function(){return u.hasClass(d.outward)},looping:function(){return u.hasClass(d.looping)},occurring:function(e){return e="."+(e=e||l.animation).replace(" ","."),0=e.length&&P(t)&&t()};n--;)(a=O.createElement("img")).addEventListener("load",r),a.addEventListener("error",r),a.src=e[n],o.push(a)},enableCallbacks:function(){h.debug("Allowing callbacks to occur"),p=!1},disableCallbacks:function(){h.debug("Disabling all callbacks temporarily"),p=!0},should:{trackChanges:function(){return k?(h.debug("One time query, no need to bind events"),!1):(h.debug("Callbacks being attached"),!0)}},setup:{cache:function(){h.cache={occurred:{},screen:{},element:{}}},image:function(){var e=u.data(r.src);e&&(h.verbose("Lazy loading image",e),o.once=!0,o.observeChanges=!1,o.onOnScreen=function(){h.debug("Image on screen",g),h.precache(e,function(){h.set.image(e,function(){++D===T&&o.onAllLoaded.call(this),o.onLoad.call(this)})})})},fixed:function(){h.debug("Setting up fixed"),o.once=!1,o.observeChanges=!1,o.initialCheck=!0,o.refreshOnLoad=!0,v.transition||(o.transition=!1),h.create.placeholder(),h.debug("Added placeholder",e),o.onTopPassed=function(){h.debug("Element passed, adding fixed position",u),h.show.placeholder(),h.set.fixed(),o.transition&&void 0!==A.fn.transition&&u.transition(o.transition,o.duration)},o.onTopPassedReverse=function(){h.debug("Element returned to position, removing fixed",u),h.hide.placeholder(),h.remove.fixed()}}},create:{placeholder:function(){h.verbose("Creating fixed position placeholder"),e=u.clone(!1).css("display","none").addClass(i.placeholder).insertAfter(u)}},show:{placeholder:function(){h.verbose("Showing placeholder"),e.css("display","block").css("visibility","hidden")}},hide:{placeholder:function(){h.verbose("Hiding placeholder"),e.css("display","none").css("visibility","")}},set:{fixed:function(){h.verbose("Setting element to fixed position"),u.addClass(i.fixed).css({position:"fixed",top:o.offset+"px",left:"auto",zIndex:o.zIndex}),o.onFixed.call(g)},image:function(e,t){u.attr("src",e),o.transition?void 0!==A.fn.transition?u.hasClass(i.visible)?h.debug("Transition already occurred on this image, skipping animation"):u.transition(o.transition,o.duration,t):u.fadeIn(o.duration,t):u.show()}},is:{onScreen:function(){return h.get.elementCalculations().onScreen},offScreen:function(){return h.get.elementCalculations().offScreen},visible:function(){return!(!h.cache||!h.cache.element)&&!(0===h.cache.element.width&&0===h.cache.element.offset.top)},verticallyScrollableContext:function(){var e=f[0]!==E&&f.css("overflow-y");return"auto"===e||"scroll"===e},horizontallyScrollableContext:function(){var e=f[0]!==E&&f.css("overflow-x");return"auto"===e||"scroll"===e}},refresh:function(){h.debug("Refreshing constants (width/height)"),"fixed"===o.type&&h.resetFixed(),h.reset(),h.save.position(),o.checkOnRefresh&&h.checkVisibility(),o.onRefresh.call(g)},resetFixed:function(){h.remove.fixed(),h.remove.occurred()},reset:function(){h.verbose("Resetting all cached values"),A.isPlainObject(h.cache)&&(h.cache.screen={},h.cache.element={})},checkVisibility:function(e){h.verbose("Checking visibility of element",h.cache.element),!p&&h.is.visible()&&(h.save.scroll(e),h.save.calculations(),h.passed(),h.passingReverse(),h.topVisibleReverse(),h.bottomVisibleReverse(),h.topPassedReverse(),h.bottomPassedReverse(),h.onScreen(),h.offScreen(),h.passing(),h.topVisible(),h.bottomVisible(),h.topPassed(),h.bottomPassed(),o.onUpdate&&o.onUpdate.call(g,h.get.elementCalculations()))},passed:function(e,t){var n=h.get.elementCalculations();if(e&&t)o.onPassed[e]=t;else{if(void 0!==e)return h.get.pixelsPassed(e)>n.pixelsPassed;n.passing&&A.each(o.onPassed,function(e,t){n.bottomVisible||n.pixelsPassed>h.get.pixelsPassed(e)?h.execute(t,e):o.once||h.remove.occurred(t)})}},onScreen:function(e){var t=h.get.elementCalculations(),n=e||o.onOnScreen;if(e&&(h.debug("Adding callback for onScreen",e),o.onOnScreen=e),t.onScreen?h.execute(n,"onScreen"):o.once||h.remove.occurred("onScreen"),void 0!==e)return t.onOnScreen},offScreen:function(e){var t=h.get.elementCalculations(),n=e||o.onOffScreen;if(e&&(h.debug("Adding callback for offScreen",e),o.onOffScreen=e),t.offScreen?h.execute(n,"offScreen"):o.once||h.remove.occurred("offScreen"),void 0!==e)return t.onOffScreen},passing:function(e){var t=h.get.elementCalculations(),n=e||o.onPassing;if(e&&(h.debug("Adding callback for passing",e),o.onPassing=e),t.passing?h.execute(n,"passing"):o.once||h.remove.occurred("passing"),void 0!==e)return t.passing},topVisible:function(e){var t=h.get.elementCalculations(),n=e||o.onTopVisible,i="topVisible";if(e&&(h.debug("Adding callback for top visible",e),o.onTopVisible=e),t.topVisible?h.execute(n,i):o.once||h.remove.occurred(i),void 0===e)return t.topVisible},bottomVisible:function(e){var t=h.get.elementCalculations(),n=e||o.onBottomVisible,i="bottomVisible";if(e&&(h.debug("Adding callback for bottom visible",e),o.onBottomVisible=e),t.bottomVisible?h.execute(n,i):o.once||h.remove.occurred(i),void 0===e)return t.bottomVisible},topPassed:function(e){var t=h.get.elementCalculations(),n=e||o.onTopPassed;if(e&&(h.debug("Adding callback for top passed",e),o.onTopPassed=e),t.topPassed?h.execute(n,"topPassed"):o.once||h.remove.occurred("topPassed"),void 0===e)return t.topPassed},bottomPassed:function(e){var t=h.get.elementCalculations(),n=e||o.onBottomPassed,i="bottomPassed";if(e&&(h.debug("Adding callback for bottom passed",e),o.onBottomPassed=e),t.bottomPassed?h.execute(n,i):o.once||h.remove.occurred(i),void 0===e)return t.bottomPassed},passingReverse:function(e){var t=h.get.elementCalculations(),n=e||o.onPassingReverse,i="passingReverse";if(e&&(h.debug("Adding callback for passing reverse",e),o.onPassingReverse=e),t.passing?o.once||h.remove.occurred(i):h.get.occurred("passing")&&h.execute(n,i),void 0!==e)return!t.passing},topVisibleReverse:function(e){var t=h.get.elementCalculations(),n=e||o.onTopVisibleReverse,i="topVisibleReverse";if(e&&(h.debug("Adding callback for top visible reverse",e),o.onTopVisibleReverse=e),t.topVisible?o.once||h.remove.occurred(i):h.get.occurred("topVisible")&&h.execute(n,i),void 0===e)return!t.topVisible},bottomVisibleReverse:function(e){var t=h.get.elementCalculations(),n=e||o.onBottomVisibleReverse,i="bottomVisibleReverse";if(e&&(h.debug("Adding callback for bottom visible reverse",e),o.onBottomVisibleReverse=e),t.bottomVisible?o.once||h.remove.occurred(i):h.get.occurred("bottomVisible")&&h.execute(n,i),void 0===e)return!t.bottomVisible},topPassedReverse:function(e){var t=h.get.elementCalculations(),n=e||o.onTopPassedReverse,i="topPassedReverse";if(e&&(h.debug("Adding callback for top passed reverse",e),o.onTopPassedReverse=e),t.topPassed?o.once||h.remove.occurred(i):h.get.occurred("topPassed")&&h.execute(n,i),void 0===e)return!t.onTopPassed},bottomPassedReverse:function(e){var t=h.get.elementCalculations(),n=e||o.onBottomPassedReverse,i="bottomPassedReverse";if(e&&(h.debug("Adding callback for bottom passed reverse",e),o.onBottomPassedReverse=e),t.bottomPassed?o.once||h.remove.occurred(i):h.get.occurred("bottomPassed")&&h.execute(n,i),void 0===e)return!t.bottomPassed},execute:function(e,t){var n=h.get.elementCalculations(),i=h.get.screenCalculations();(e=e||!1)&&(o.continuous?(h.debug("Callback being called continuously",t,n),e.call(g,n,i)):h.get.occurred(t)||(h.debug("Conditions met",t,n),e.call(g,n,i))),h.save.occurred(t)},remove:{fixed:function(){h.debug("Removing fixed position"),u.removeClass(i.fixed).css({position:"",top:"",left:"",zIndex:""}),o.onUnfixed.call(g)},placeholder:function(){h.debug("Removing placeholder content"),e&&e.remove()},occurred:function(e){var t;e?void 0!==(t=h.cache.occurred)[e]&&!0===t[e]&&(h.debug("Callback can now be called again",e),h.cache.occurred[e]=!1):h.cache.occurred={}}},save:{calculations:function(){h.verbose("Saving all calculations necessary to determine positioning"),h.save.direction(),h.save.screenCalculations(),h.save.elementCalculations()},occurred:function(e){!e||void 0!==h.cache.occurred[e]&&!0===h.cache.occurred[e]||(h.verbose("Saving callback occurred",e),h.cache.occurred[e]=!0)},scroll:function(e){e=e+o.offset||f.scrollTop()+o.offset,h.cache.scroll=e},direction:function(){var e=h.get.scroll(),t=h.get.lastScroll(),e=t=t.top,t.bottomPassed=e.top>=t.bottom,t.topVisible=e.bottom>=t.top&&!t.topPassed,t.bottomVisible=e.bottom>=t.bottom&&!t.bottomPassed,t.pixelsPassed=0,t.percentagePassed=0,t.onScreen=(t.topVisible||t.passing)&&!t.bottomPassed,t.passing=t.topPassed&&!t.bottomPassed,t.offScreen=!t.onScreen,t.passing&&(t.pixelsPassed=e.top-t.top,t.percentagePassed=(e.top-t.top)/t.height),h.cache.element=t,h.verbose("Updated element calculations",t),t},screenCalculations:function(){var e=h.get.scroll();return h.save.direction(),h.cache.screen.top=e,h.cache.screen.bottom=e+h.cache.screen.height,h.cache.screen},screenSize:function(){h.verbose("Saving window position"),h.cache.screen={height:f.height()}},position:function(){h.save.screenSize(),h.save.elementPosition()}},get:{pixelsPassed:function(e){var t=h.get.elementCalculations();return-1