"):null;n&&(f.update.labelPosition(e/t,n),g.append(n))}}},bind:{events:function(){f.bind.globalKeyboardEvents(),f.bind.keyboardEvents(),f.bind.mouseEvents(),f.is.touch()&&f.bind.touchEvents(),d.autoAdjustLabels&&f.bind.windowEvents()},keyboardEvents:function(){f.verbose("Binding keyboard events"),i.on("keydown"+e,f.event.keydown)},globalKeyboardEvents:function(){U(B).on("keydown"+e+n,f.event.activateFocus)},mouseEvents:function(){f.verbose("Binding mouse events"),i.find(".track, .thumb, .inner").on("mousedown"+e,function(e){e.stopImmediatePropagation(),e.preventDefault(),f.event.down(e)}),i.on("mousedown"+e,f.event.down),i.on("mouseenter"+e,function(e){D=!0}),i.on("mouseleave"+e,function(e){D=!1})},touchEvents:function(){f.verbose("Binding touch events"),i.find(".track, .thumb, .inner").on("touchstart"+e,function(e){e.stopImmediatePropagation(),e.preventDefault(),f.event.down(e)}),i.on("touchstart"+e,f.event.down)},slidingEvents:function(){f.verbose("Binding page wide events while handle is being draged"),f.is.touch()?(U(B).on("touchmove"+e,f.event.move),U(B).on("touchend"+e,f.event.up)):(U(B).on("mousemove"+e,f.event.move),U(B).on("mouseup"+e,f.event.up))},windowEvents:function(){M.on("resize"+e,f.event.resize)}},unbind:{events:function(){i.find(".track, .thumb, .inner").off("mousedown"+e),i.find(".track, .thumb, .inner").off("touchstart"+e),i.off("mousedown"+e),i.off("mouseenter"+e),i.off("mouseleave"+e),i.off("touchstart"+e),i.off("keydown"+e),i.off("focusout"+e),U(B).off("keydown"+e+n,f.event.activateFocus),M.off("resize"+e)},slidingEvents:function(){f.is.touch()?(U(B).off("touchmove"+e),U(B).off("touchend"+e)):(U(B).off("mousemove"+e),U(B).off("mouseup"+e))}},event:{down:function(e){e.preventDefault(),f.is.range()?(e=f.determine.eventPos(e),e=f.determine.pos(e),c=d.preventCrossover&&f.is.range()&&f.thumbVal===f.secondThumbVal?(y=e,W):f.determine.closestThumb(e),u===W&&(u=f.get.currentThumbValue())):u===W&&(u=f.get.value()),f.is.disabled()||f.bind.slidingEvents()},move:function(e){e.preventDefault();var t,n,i=f.determine.valueFromEvent(e);c===W&&(t=f.determine.eventPos(e),t=f.determine.pos(t),c=tf.get.trackOffset()+f.get.trackLength()?f.is.reversed()?f.get.min():f.get.max():f.determine.value(t);return e},smoothValueFromEvent:function(e){var t=f.get.min(),n=f.get.max(),i=f.get.trackLength(),e=f.determine.eventPos(e)-f.get.trackOffset(),e=(e=e<0?0:i',n++;return i}}}}(jQuery,window,void document),function(F,P,O,R){"use strict";F.isFunction=F.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},P=void 0!==P&&P.Math==Math?P:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),F.fn.search=function(x){var C,w=F(this),k=w.selector||"",T=(new Date).getTime(),S=[],D=x,A="string"==typeof D,E=[].slice.call(arguments,1);return F(this).each(function(){var u=F.isPlainObject(x)?F.extend(!0,{},F.fn.search.settings,x):F.extend({},F.fn.search.settings),d=u.className,l=u.metadata,h=u.regExp,a=u.fields,f=u.selector,m=u.error,e=u.namespace,i="."+e,t=e+"-module",g=F(this),v=g.find(f.prompt),n=g.find(f.searchButton),o=g.find(f.results),r=g.find(f.result),c=(g.find(f.category),this),s=g.data(t),b=!1,y=!1,p={initialize:function(){p.verbose("Initializing module"),p.get.settings(),p.determine.searchFields(),p.bind.events(),p.set.type(),p.create.results(),p.instantiate()},instantiate:function(){p.verbose("Storing instance of module",p),s=p,g.data(t,p)},destroy:function(){p.verbose("Destroying instance"),g.off(i).removeData(t)},refresh:function(){p.debug("Refreshing selector cache"),v=g.find(f.prompt),n=g.find(f.searchButton),g.find(f.category),o=g.find(f.results),r=g.find(f.result)},refreshResults:function(){o=g.find(f.results),r=g.find(f.result)},bind:{events:function(){p.verbose("Binding events to search"),u.automatic&&(g.on(p.get.inputEvent()+i,f.prompt,p.event.input),v.attr("autocomplete",p.is.chrome()?"fomantic-search":"off")),g.on("focus"+i,f.prompt,p.event.focus).on("blur"+i,f.prompt,p.event.blur).on("keydown"+i,f.prompt,p.handleKeyboard).on("click"+i,f.searchButton,p.query).on("mousedown"+i,f.results,p.event.result.mousedown).on("mouseup"+i,f.results,p.event.result.mouseup).on("click"+i,f.result,p.event.result.click)}},determine:{searchFields:function(){x&&x.searchFields!==R&&(u.searchFields=x.searchFields)}},event:{input:function(){u.searchDelay?(clearTimeout(p.timer),p.timer=setTimeout(function(){p.is.focused()&&p.query()},u.searchDelay)):p.query()},focus:function(){p.set.focus(),u.searchOnFocus&&p.has.minimumCharacters()&&p.query(function(){p.can.show()&&p.showResults()})},blur:function(e){function t(){p.cancel.query(),p.remove.focus(),p.timer=setTimeout(p.hideResults,u.hideDelay)}var n=O.activeElement===this;n||(y=!1,p.resultsClicked?(p.debug("Determining if user action caused search to close"),g.one("click.close"+i,f.results,function(e){p.is.inMessage(e)||b?v.focus():(b=!1,p.is.animating()||p.is.hidden()||t())})):(p.debug("Input blurred without user action, closing results"),t()))},result:{mousedown:function(){p.resultsClicked=!0},mouseup:function(){p.resultsClicked=!1},click:function(e){p.debug("Search result selected");var t=F(this),n=t.find(f.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!==o.length&&""!=o.html()}},clear:{cache:function(e){var t=g.data(l.cache);e?t&&t[e]&&(p.debug("Removing value from cache",e),delete t[e],g.data(l.cache,t)):(p.debug("Clearing cache",e),g.removeData(l.cache))}},read:{cache:function(e){var t=g.data(l.cache);return!!u.cache&&(p.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==R&&t[e])}},create:{categoryResults:function(e){var n={};return F.each(e,function(e,t){t.category&&(n[t.category]===R?(p.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 t!==R?(t=String.fromCharCode(97+t),p.verbose("Creating category result id",n=t+e)):p.verbose("Creating result id",n=e),n},results:function(){0===o.length&&(o=F("").addClass(d.results).appendTo(g))}},inject:{result:function(e,t,n){p.verbose("Injecting result into results");n=(n!==R?o.children().eq(n).children(f.results).first():o).children(f.result).eq(t);p.verbose("Injecting results metadata",n),n.data(l.result,e)},id:function(e){p.debug("Injecting unique ids into results");var n=0,i=0;return"category"===u.type?F.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(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,function(e){return n[e]}):e},message:function(e,t,n){var i="";return e!==R&&t!==R&&(i+='
":o+=''+a(e[n.action][n.actionText],i)+""),o)}}}}(jQuery,window,document),function(D,e,A,E){"use strict";D.isFunction=D.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),D.fn.shape=function(v){var b,y=D(this),x=(new Date).getTime(),C=[],w=v,k="string"==typeof w,T=[].slice.call(arguments,1),S=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,0)};return y.each(function(){var n,i,t=y.selector||"",a=D.isPlainObject(v)?D.extend(!0,{},D.fn.shape.settings,v):D.extend({},D.fn.shape.settings),e=a.namespace,r=a.selector,f=a.error,s=a.className,m="."+e,g="module-"+e,l=D(this),o=l.find(">"+r.sides),c=o.find(">"+r.side),p=!1,u=this,h=l.data(g),d={initialize:function(){d.verbose("Initializing module for",u),d.set.defaultSide(),d.instantiate()},instantiate:function(){d.verbose("Storing instance of module",d),h=d,l.data(g,h)},destroy:function(){d.verbose("Destroying previous module for",u),l.removeData(g).off(m)},refresh:function(){d.verbose("Refreshing selector cache for",u),l=D(u),o=D(this).find(r.sides),c=D(this).find(r.side)},repaint:function(){d.verbose("Forcing repaint event");(o[0]||A.createElement("div")).offsetWidth},animate:function(e,t){d.verbose("Animating box with properties",e),t=t||function(e){d.verbose("Executing animation callback"),e!==E&&e.stopPropagation(),d.reset(),d.set.active()},a.beforeChange.call(i[0]),d.get.transitionEvent()?(d.verbose("Starting CSS animation"),l.addClass(s.animating),o.css(e).one(d.get.transitionEvent(),t),d.set.duration(a.duration),S(function(){l.addClass(s.animating),n.addClass(s.hidden)})):t()},queue:function(e){d.debug("Queueing animation of",e),o.one(d.get.transitionEvent(),function(){d.debug("Executing queued animation"),setTimeout(function(){l.shape(e)},0)})},reset:function(){d.verbose("Animating states reset"),l.removeClass(s.animating).attr("style","").removeAttr("style"),o.attr("style","").removeAttr("style"),c.attr("style","").removeAttr("style").removeClass(s.hidden),i.removeClass(s.animating).attr("style","").removeAttr("style")},is:{complete:function(){return c.filter("."+s.active)[0]==i[0]},animating:function(){return l.hasClass(s.animating)},hidden:function(){return 0"+r.sides+">"+r.side),n=t.filter("."+a.className.active),t=p?t.eq(p):0=d.scrollHeight&&(d.scrollTop=d.scrollHeight-d.offsetHeight-1)},scroll:function(e){0===M(e.target).closest(t.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){f.verbose("Adding clickaway events to context",n),n.on("click"+a,f.event.clickaway).on("touchend"+a,f.event.clickaway)},scrollLock:function(){s.scrollLock&&(f.debug("Disabling page scroll"),w.on("DOMMouseScroll"+a,f.event.scroll)),f.verbose("Adding events to contain sidebar scroll"),k.on("touchmove"+a,f.event.touch),c.on("scroll"+h,f.event.containScroll)}},unbind:{clickaway:function(){f.verbose("Removing clickaway events from context",n),n.off(a)},scrollLock:function(){f.verbose("Removing scroll lock from page"),k.off(a),w.off(a),c.off("scroll"+h)}},add:{inlineCSS:function(){var e=f.cache.width||c.outerWidth(),t=f.cache.height||c.outerHeight(),n=f.is.rtl(),i=f.get.direction(),t={left:e,right:-e,top:t,bottom:-t};n&&(f.verbose("RTL detected, flipping widths"),t.left=-e,t.right=e),n="").appendTo(F),f.debug("Adding sizing css to head",o)}},refresh:function(){f.verbose("Refreshing selector cache"),n=M(s.context),b=n.children(t.sidebar),u=n.children(t.pusher),n.children(t.fixed),f.clear.cache()},refreshSidebars:function(){f.verbose("Refreshing other sidebars"),b=n.children(t.sidebar)},repaint:function(){f.verbose("Forcing repaint event"),d.style.display="none";d.offsetHeight;d.scrollTop=d.scrollTop,d.style.display=""},setup:{cache:function(){f.cache={width:c.outerWidth(),height:c.outerHeight()}},layout:function(){0===n.children(t.pusher).length&&(f.debug("Adding wrapper element for sidebar"),f.error(p.pusher),u=M(''),n.children().not(t.omitted).not(b).wrapAll(u),f.refresh()),0!==c.nextAll(t.pusher).length&&c.nextAll(t.pusher)[0]===u[0]||(f.debug("Moved sidebar to correct parent element"),f.error(p.movedSidebar,d),c.detach().prependTo(n),f.refresh()),f.clear.cache(),f.set.pushable(),f.set.direction()}},attachEvents:function(e,t){var n=M(e);t=M.isFunction(f[t])?f[t]:f.toggle,0d.cache.context.height&&(d.reset(),d.error(m.elementSize,o))},bind:{events:function(){p.on("load"+i,d.event.load).on("resize"+i,d.event.resize),c.off("scroll"+i).on("scroll"+i,d.event.scroll).on("scrollchange"+i,d.event.scrollchange)}},event:{changed:function(e){clearTimeout(d.timer),d.timer=setTimeout(function(){d.verbose("DOM tree modified, updating sticky menu",e),d.refresh()},100)},documentChanged:function(e){[].forEach.call(e,function(e){e.removedNodes&&[].forEach.call(e.removedNodes,function(e){(e==u||0");return e.addClass(n.supported),e.css("position").match("sticky")}},save:{lastScroll:function(e){d.lastScroll=e},elementScroll:function(e){d.elementScroll=e},positions:function(){var e={height:c.height()},t={margin:{top:parseInt(o.css("margin-top"),10),bottom:parseInt(o.css("margin-bottom"),10)},offset:o.offset(),width:o.outerWidth(),height:o.outerHeight()},n={offset:a.offset(),height:a.outerHeight()};d.is.standardScroll()||(d.debug("Non-standard scroll. Removing scroll offset from element offset"),e.top=c.scrollTop(),e.left=c.scrollLeft(),t.offset.top+=e.top,n.offset.top+=e.top,t.offset.left+=e.left,n.offset.left+=e.left),d.cache={fits:t.height+l.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}},d.set.containerSize(),d.stick(),d.debug("Caching element positions",d.cache)}},get:{direction:function(e){var t="down";return e=e||c.scrollTop(),d.lastScroll!==E&&(d.lastScrolle&&(t="up")),t},scrollChange:function(e){return e=e||c.scrollTop(),d.lastScroll?e-d.lastScroll:0},currentElementScroll:function(){return d.elementScroll||(d.is.top()?Math.abs(parseInt(o.css("top"),10))||0:Math.abs(parseInt(o.css("bottom"),10))||0)},elementScroll:function(e){e=e||c.scrollTop();var t=d.cache.element,n=d.cache.scrollContext,e=d.get.scrollChange(e),t=t.height-n.height+l.offset,n=d.get.currentElementScroll(),e=n+e;return n=d.cache.fits||e<0?0:tl.jitter&&(d.debug("Context has padding, specifying exact height for container",d.cache.context.height),t.css({height:d.cache.context.height}))},minimumSize:function(){var e=d.cache.element;t.css("min-height",e.height)},scroll:function(e){d.debug("Setting scroll on element",e),d.elementScroll!=e&&(d.is.top()&&o.css("bottom","").css("top",-e),d.is.bottom()&&o.css("top","").css("bottom",e))},size:function(){0!==d.cache.element.height&&0!==d.cache.element.width&&(u.style.setProperty("width",d.cache.element.width+"px","important"),u.style.setProperty("height",d.cache.element.height+"px","important"))}},is:{standardScroll:function(){return c[0]==D},top:function(){return o.hasClass(n.top)},bottom:function(){return o.hasClass(n.bottom)},initialPosition:function(){return!d.is.fixed()&&!d.is.bound()},hidden:function(){return!o.is(":visible")},bound:function(){return o.hasClass(n.bound)},fixed:function(){return o.hasClass(n.fixed)}},stick:function(e){var t=e||c.scrollTop(),n=d.cache,i=n.fits,o=n.sameHeight,a=n.element,r=n.scrollContext,n=n.context,s=d.is.bottom()&&l.pushing?l.bottomOffset:l.offset,e={top:t+s,bottom:t+s+r.height},t=i?0:d.get.elementScroll(e.top),s=!i;0===a.height||o||(d.is.initialPosition()?e.top>=n.bottom?(d.debug("Initial element position is bottom of container"),d.bindBottom()):e.top>a.top&&(a.height+e.top-t>=n.bottom?(d.debug("Initial element position is bottom of container"),d.bindBottom()):(d.debug("Initial element position is fixed"),d.fixTop())):d.is.fixed()?d.is.top()?e.top<=a.top?(d.debug("Fixed element reached top of container"),d.setInitialPosition()):a.height+e.top-t>=n.bottom?(d.debug("Fixed element reached bottom of container"),d.bindBottom()):s&&(d.set.scroll(t),d.save.lastScroll(e.top),d.save.elementScroll(t)):d.is.bottom()&&(e.bottom-a.height<=a.top?(d.debug("Bottom fixed rail has reached top of container"),d.setInitialPosition()):e.bottom>=n.bottom?(d.debug("Bottom fixed rail has reached bottom of container"),d.bindBottom()):s&&(d.set.scroll(t),d.save.lastScroll(e.top),d.save.elementScroll(t))):d.is.bottom()&&(e.top<=a.top?(d.debug("Jumped from bottom fixed to top fixed, most likely used home/end button"),d.setInitialPosition()):l.pushing?d.is.bound()&&e.bottom<=n.bottom&&(d.debug("Fixing bottom attached element to bottom of browser."),d.fixBottom()):d.is.bound()&&e.top<=n.bottom-a.height&&(d.debug("Fixing bottom attached element to top of browser."),d.fixTop())))},bindTop:function(){d.debug("Binding element to top of parent container"),d.remove.offset(),o.css({left:"",top:"",marginBottom:""}).removeClass(n.fixed).removeClass(n.bottom).addClass(n.bound).addClass(n.top),l.onTop.call(u),l.onUnstick.call(u)},bindBottom:function(){d.debug("Binding element to bottom of parent container"),d.remove.offset(),o.css({left:"",top:""}).removeClass(n.fixed).removeClass(n.top).addClass(n.bound).addClass(n.bottom),l.onBottom.call(u),l.onUnstick.call(u)},setInitialPosition:function(){d.debug("Returning to initial position"),d.unfix(),d.unbind()},fixTop:function(){d.debug("Fixing element to top of page"),l.setSize&&d.set.size(),d.set.minimumSize(),d.set.offset(),o.css({left:d.cache.element.left,bottom:"",marginBottom:""}).removeClass(n.bound).removeClass(n.bottom).addClass(n.fixed).addClass(n.top),l.onStick.call(u)},fixBottom:function(){d.debug("Sticking element to bottom of page"),l.setSize&&d.set.size(),d.set.minimumSize(),d.set.offset(),o.css({left:d.cache.element.left,bottom:"",marginBottom:""}).removeClass(n.bound).removeClass(n.top).addClass(n.fixed).addClass(n.bottom),l.onStick.call(u)},unbind:function(){d.is.bound()&&(d.debug("Removing container bound position on element"),d.remove.offset(),o.removeClass(n.bound).removeClass(n.top).removeClass(n.bottom))},unfix:function(){d.is.fixed()&&(d.debug("Removing fixed position on element"),d.remove.minimumSize(),d.remove.offset(),o.removeClass(n.fixed).removeClass(n.top).removeClass(n.bottom),l.onUnstick.call(u))},reset:function(){d.debug("Resetting elements position"),d.unbind(),d.unfix(),d.resetCSS(),d.remove.offset(),d.remove.lastScroll()},resetCSS:function(){o.css({width:"",height:""}),t.css({height:""})},setting:function(e,t){if(S.isPlainObject(e))S.extend(!0,l,e);else{if(t===E)return l[e];l[e]=t}},internal:function(e,t){if(S.isPlainObject(e))S.extend(!0,d,e);else{if(t===E)return d[e];d[e]=t}},debug:function(){!l.silent&&l.debug&&(l.performance?d.performance.log(arguments):(d.debug=Function.prototype.bind.call(console.info,console,l.name+":"),d.debug.apply(console,arguments)))},verbose:function(){!l.silent&&l.verbose&&l.debug&&(l.performance?d.performance.log(arguments):(d.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),d.verbose.apply(console,arguments)))},error:function(){l.silent||(d.error=Function.prototype.bind.call(console.error,console,l.name+":"),d.error.apply(console,arguments))},performance:{log:function(e){var t,n;l.performance&&(n=(t=(new Date).getTime())-(x||t),x=t,C.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":n})),clearTimeout(d.performance.timer),d.performance.timer=setTimeout(d.performance.display,0)},display:function(){var e=l.name+":",n=0;x=!1,clearTimeout(d.performance.timer),S.each(C,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",y&&(e+=" '"+y+"'"),(console.group!==E||console.table!==E)&&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(F,e,P){"use strict";F.isFunction=F.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),F.fn.toast=function(C){var w,e=F(this),k=e.selector||"",T=(new Date).getTime(),S=[],D=C,A="string"==typeof D,E=[].slice.call(arguments,1);return e.each(function(){var n,i,a,o,f,r,m,s=F.isPlainObject(C)?F.extend(!0,{},F.fn.toast.settings,C):F.extend({},F.fn.toast.settings),l=s.className,g=s.selector,p=s.error,e=s.namespace,h=s.fields,t="."+e,v=e+"-module",c=F(this),b=s.context?F(s.context):F("body"),y=c.hasClass("toast")||c.hasClass("message")||c.hasClass("card"),u=this,x=y?c.data(v):P,d={initialize:function(){d.verbose("Initializing element"),d.has.container()||d.create.container(),(y||""!==s.message||""!==s.title||""!==d.get.iconClass()||s.showImage||d.has.configActions())&&("string"==typeof s.showProgress&&-1!==[l.top,l.bottom].indexOf(s.showProgress)||(s.showProgress=!1),d.create.toast(),s.closeOnClick&&(s.closeIcon||0",{class:s.position+" "+l.container+" "+(s.horizontal?l.horizontal:"")}))},toast:function(){n=F("",{class:l.box});var e,t=d.get.iconClass();y?(i=s.cloneModule?c.clone().removeAttr("id"):c,m=i.find("> i"+d.helpers.toClass(l.close)),s.closeIcon=0"),e=F("",{class:l.content}),""!==t&&i.append(F("",{class:t+" "+l.icon})),s.showImage&&i.append(F("",{class:l.image+" "+s.classImage,src:s.showImage})),""!==s.title&&e.append(F("",{class:l.title,text:s.title})),e.append(F("",{class:l.message,html:d.helpers.escape(s.message,s.preserveHTML)})),i.addClass(s.class+" "+l.toast).append(e),i.css("opacity",s.opacity),s.closeIcon&&((m=F("",{class:l.close+" "+("string"==typeof s.closeIcon?s.closeIcon:"")})).hasClass(l.left)?i.prepend(m):i.append(m))),i.hasClass(l.compact)&&(s.compact=!0),i.hasClass("card")&&(s.compact=!1),a=i.find(".actions"),d.has.configActions()&&(0===a.length&&(a=F("",{class:l.actions+" "+(s.classActions||"")}).appendTo(i)),i.hasClass("card")&&!a.hasClass(l.attached)&&(a.addClass(l.extraContent),a.hasClass(l.vertical)&&(a.removeClass(l.vertical),d.error(p.verticalCard))),s.actions.forEach(function(e){var t=e[h.icon]?'':"",n=d.helpers.escape(e[h.text]||"",s.preserveHTML),i=d.helpers.deQuote(e[h.class]||""),o=e[h.click]&&F.isFunction(e[h.click])?e[h.click]:function(){};a.append(F("",{html:t+n,class:l.button+" "+i,click:function(){!1!==o.call(u,c)&&d.close()}}))})),a&&a.hasClass(l.vertical)&&i.addClass(l.vertical),0",{class:l.vertical+" "+l.attached+" "+(s.compact?l.compact:"")})),a.hasClass(l.left)?i.addClass(l.left).parent().addClass(l.left).prepend(a):i.parent().append(a)):a.hasClass(l.top)?(n.prepend(a),i.addClass(l.bottom)):(n.append(a),i.addClass(l.top))),c!==i&&(u=(c=i)[0]),0",{class:l.progress+" "+(s.classProgress||s.class),"data-percent":""}),s.classProgress||(i.hasClass("toast")&&!i.hasClass(l.inverted)?o.addClass(l.inverted):o.removeClass(l.inverted)),f=F("",{class:"bar "+(s.progressUp?"up ":"down ")+t}),o.addClass(s.showProgress).append(f),o.hasClass(l.top)?n.prepend(o):n.append(o),f.css("animation-duration",s.displayTime/1e3+"s")),(r=F("",{class:"wait "+t})).css("animation-duration",s.displayTime/1e3+"s"),r.appendTo(i)),s.compact&&(n.addClass(l.compact),i.addClass(l.compact),o&&o.addClass(l.compact)),s.newestOnTop?n.prependTo(d.get.container()):n.appendTo(d.get.container())}},bind:{events:function(){d.debug("Binding events to toast"),(s.closeOnClick||s.closeIcon)&&(s.closeIcon?m:i).on("click"+t,d.event.click),r&&r.on("animationend"+t,d.close),n.on("click"+t,g.approve,d.event.approve).on("click"+t,g.deny,d.event.deny)}},unbind:{events:function(){d.debug("Unbinding events to toast"),(s.closeOnClick||s.closeIcon)&&(s.closeIcon?m:i).off("click"+t),r&&r.off("animationend"+t),n.off("click"+t)}},animate:{show:function(e){e=F.isFunction(e)?e:function(){},s.transition&&d.can.useElement("transition")&&c.transition("is supported")&&(d.set.visible(),n.transition({animation:s.transition.showMethod+" in",queue:!1,debug:s.debug,verbose:s.verbose,duration:s.transition.showDuration,onComplete:function(){e.call(n,u),s.onVisible.call(n,u)}}))},close:function(e){e=F.isFunction(e)?e:function(){},d.debug("Closing toast"),!1!==s.onHide.call(n,u)?s.transition&&F.fn.transition!==P&&c.transition("is supported")?n.transition({animation:s.transition.hideMethod+" out",queue:!1,duration:s.transition.hideDuration,debug:s.debug,verbose:s.verbose,interval:50,onBeforeHide:function(e){e=F.isFunction(e)?e:function(){},""!==s.transition.closeEasing?n&&(n.css("opacity",0),n.wrap("").parent().hide(s.transition.closeDuration,s.transition.closeEasing,function(){n&&(n.parent().remove(),e.call(n))})):e.call(n)},onComplete:function(){e.call(n,u),s.onHidden.call(n,u),d.destroy()}}):d.error(p.noTransition):d.debug("onHide callback returned false, cancelling toast animation")},pause:function(){r.css("animationPlayState","paused"),f&&f.css("animationPlayState","paused")},continue:function(){r.css("animationPlayState","running"),f&&f.css("animationPlayState","running")}},has:{container:function(){return d.verbose("Determining if there is already a container"),0":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,function(e){return n[e]}):e}},can:{useElement:function(e){return F.fn[e]!==P||(d.error(p.noElement.replace("{element}",e)),!1)}},setting:function(e,t){if(d.debug("Changing setting",e,t),F.isPlainObject(e))F.extend(!0,s,e);else{if(t===P)return s[e];F.isPlainObject(s[e])?F.extend(!0,s[e],t):s[e]=t}},internal:function(e,t){if(F.isPlainObject(e))F.extend(!0,d,e);else{if(t===P)return d[e];d[e]=t}},debug:function(){!s.silent&&s.debug&&(s.performance?d.performance.log(arguments):(d.debug=Function.prototype.bind.call(console.info,console,s.name+":"),d.debug.apply(console,arguments)))},verbose:function(){!s.silent&&s.verbose&&s.debug&&(s.performance?d.performance.log(arguments):(d.verbose=Function.prototype.bind.call(console.info,console,s.name+":"),d.verbose.apply(console,arguments)))},error:function(){s.silent||(d.error=Function.prototype.bind.call(console.error,console,s.name+":"),d.error.apply(console,arguments))},performance:{log:function(e){var t,n;s.performance&&(n=(t=(new Date).getTime())-(T||t),T=t,S.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":n})),clearTimeout(d.performance.timer),d.performance.timer=setTimeout(d.performance.display,500)},display:function(){var e=s.name+":",n=0;T=!1,clearTimeout(d.performance.timer),F.each(S,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",k&&(e+=" '"+k+"'"),(console.group!==P||console.table!==P)&&0 img.image, > .image > img",icon:"> i.icon",input:'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',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(){}},F.extend(F.easing,{easeOutBounce:function(e,t,n,i,o){return(t/=o)<1/2.75?i*(7.5625*t*t)+n:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeOutCubic:function(e){return--e*e*e+1}})}(jQuery,window,void document),function(C,e,w,k){"use strict";C.isFunction=C.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),C.fn.transition=function(){var m,r=C(this),g=r.selector||"",p=(new Date).getTime(),h=[],v=arguments,b=v[0],y=[].slice.call(arguments,1),x="string"==typeof b;return r.each(function(o){var l,s,a,c,t,n,e,i,u=C(this),d=this,f={initialize:function(){l=f.get.settings.apply(d,v),c=l.className,a=l.error,t=l.metadata,i="."+l.namespace,e="module-"+l.namespace,s=u.data(e)||f,n=f.get.animationEndEvent(),!1===(x=x&&f.invoke(b))&&(f.verbose("Converted arguments into settings object",l),l.interval?f.delay(l.animate):f.animate(),f.instantiate())},instantiate:function(){f.verbose("Storing instance of module",f),s=f,u.data(e,s)},destroy:function(){f.verbose("Destroying previous module for",d),u.removeData(e)},refresh:function(){f.verbose("Refreshing display type on next animation"),delete f.displayType},forceRepaint:function(){f.verbose("Forcing element repaint");var e=u.parent(),t=u.next();0===t.length?u.detach().appendTo(e):u.detach().insertBefore(t)},repaint:function(){f.verbose("Repainting element");d.offsetWidth},delay:function(e){var t=(t=f.get.animationDirection())||(f.can.transition()?f.get.direction():"static");e=e!==k?e:l.interval,e="auto"==l.reverse&&t==c.outward||1==l.reverse?(r.length-o)*l.interval:o*l.interval,f.debug("Delaying animation by",e),setTimeout(f.animate,e)},animate:function(e){if(l=e||l,!f.is.supported())return f.error(a.support),!1;if(f.debug("Preparing animation",l.animation),f.is.animating()){if(l.queue)return!l.allowRepeats&&f.has.direction()&&f.is.occurring()&&!0!==f.queuing?f.debug("Animation is currently occurring, preventing queueing same animation",l.animation):f.queue(l.animation),!1;if(!l.allowRepeats&&f.is.occurring())return f.debug("Animation is already occurring, will not execute repeated animation",l.animation),!1;f.debug("New animation started, completing previous early",l.animation),s.complete()}f.can.animate()?f.set.animating(l.animation):f.error(a.noAnimation,l.animation,d)},reset:function(){f.debug("Resetting animation to beginning conditions"),f.remove.animationCallbacks(),f.restore.conditions(),f.remove.animating()},queue:function(e){f.debug("Queueing animation of",e),f.queuing=!0,u.one(n+".queue"+i,function(){f.queuing=!1,f.repaint(),f.animate.apply(this,l)})},complete:function(e){e&&e.target===d&&e.stopPropagation(),f.debug("Animation complete",l.animation),f.remove.completeCallback(),f.remove.failSafe(),f.is.looping()||(f.is.outward()?(f.verbose("Animation is outward, hiding element"),f.restore.conditions(),f.hide()):f.is.inward()?(f.verbose("Animation is outward, showing element"),f.restore.conditions(),f.show()):(f.verbose("Static animation completed"),f.restore.conditions(),l.onComplete.call(d)))},force:{visible:function(){var e=u.attr("style"),e=f.get.userStyle(e),t=f.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)?(f.remove.transition(),!1):(f.verbose("Overriding default display to show element",t),u.attr("style",e),!0)},hidden:function(){var e=u.attr("style"),t=u.css("display"),e=e===k||""===e;"none"===t||f.is.hidden()?e&&u.removeAttr("style"):(f.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(" "),C.each(e,function(e,t){t!==c.inward&&t!==c.outward||(n=!0)})),n},inlineDisplay:function(){var e=u.attr("style")||"";return Array.isArray(e.match(/display.*?;/,""))}},set:{animating:function(e){f.remove.completeCallback(),e=e||l.animation;e=f.get.animationClass(e);f.save.animation(e),f.force.visible()&&(f.remove.hidden(),f.remove.direction(),f.start.animation(e))},duration:function(e,t){!(t="number"==typeof(t=t||l.duration)?t+"ms":t)&&0!==t||(f.verbose("Setting animation duration",t),u.css({"animation-duration":t}))},direction:function(e){(e=e||f.get.direction())==c.inward?f.set.inward():f.set.outward()},looping:function(){f.debug("Transition set to loop"),u.addClass(c.looping)},hidden:function(){u.addClass(c.transition).addClass(c.hidden)},inward:function(){f.debug("Setting direction to inward"),u.removeClass(c.outward).addClass(c.inward)},outward:function(){f.debug("Setting direction to outward"),u.removeClass(c.inward).addClass(c.outward)},visible:function(){u.addClass(c.transition).addClass(c.visible)}},start:{animation:function(e){e=e||f.get.animationClass(),f.debug("Starting tween",e),u.addClass(e).one(n+".complete"+i,f.complete),l.useFailSafe&&f.add.failSafe(),f.set.duration(l.duration),l.onStart.call(d)}},save:{animation:function(e){f.cache||(f.cache={}),f.cache.animation=e},displayType:function(e){"none"!==e&&u.data(t.displayType,e)},transitionExists:function(e,t){C.fn.transition.exists[e]=t,f.verbose("Saving existence of transition",e,t)}},restore:{conditions:function(){var e=f.get.currentAnimation();e&&(u.removeClass(e),f.verbose("Removing animation class",f.cache)),f.remove.duration()}},add:{failSafe:function(){var e=f.get.duration();f.timer=setTimeout(function(){u.triggerHandler(n)},e+l.failSafeDelay),f.verbose("Adding fail safe timer",f.timer)}},remove:{animating:function(){u.removeClass(c.animating)},animationCallbacks:function(){f.remove.queueCallback(),f.remove.completeCallback()},queueCallback:function(){u.off(".queue"+i)},completeCallback:function(){u.off(".complete"+i)},display:function(){u.css("display","")},direction:function(){u.removeClass(c.inward).removeClass(c.outward)},duration:function(){u.css("animation-duration","")},failSafe:function(){f.verbose("Removing fail safe timer",f.timer),f.timer&&clearTimeout(f.timer)},hidden:function(){u.removeClass(c.hidden)},visible:function(){u.removeClass(c.visible)},looping:function(){f.debug("Transitions are no longer looping"),f.is.looping()&&(f.reset(),u.removeClass(c.looping))},transition:function(){u.removeClass(c.transition).removeClass(c.visible).removeClass(c.hidden)}},get:{settings:function(e,t,n){return"object"==typeof e?C.extend(!0,{},C.fn.transition.settings,e):"function"==typeof n?C.extend({},C.fn.transition.settings,{animation:e,onComplete:n,duration:t}):"string"==typeof t||"number"==typeof t?C.extend({},C.fn.transition.settings,{animation:e,duration:t}):"object"==typeof t?C.extend({},C.fn.transition.settings,t,{animation:e}):"function"==typeof t?C.extend({},C.fn.transition.settings,{animation:e,onComplete:t}):C.extend({},C.fn.transition.settings,{animation:e})},animationClass:function(e){var e=e||l.animation,t=f.can.transition()&&!f.has.direction()?f.get.direction()+" ":"";return c.animating+" "+c.transition+" "+t+e},currentAnimation:function(){return!(!f.cache||f.cache.animation===k)&&f.cache.animation},currentDirection:function(){return f.is.inward()?c.inward:c.outward},direction:function(){return f.is.hidden()||!f.is.visible()?c.inward:c.outward},animationDirection:function(e){var n;return"string"==typeof(e=e||l.animation)&&(e=e.split(" "),C.each(e,function(e,t){t===c.inward?n=c.inward:t===c.outward&&(n=c.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(c.inward).removeClass(c.outward).addClass(c.animating).addClass(c.transition).css("animationName"),i=t.addClass(c.inward).css("animationName"),s||(s=t.attr("class",e).removeAttr("style").removeClass(c.hidden).removeClass(c.visible).show().css("display"),f.verbose("Determining final display state",s),f.save.displayType(s)),t.remove(),n!=i)f.debug("Direction exists for animation",a),o=!0;else{if("none"==n||!n)return void f.debug("No animation defined in css",a);f.debug("Static animation found",a,s),o=!1}f.save.transitionExists(a,o)}return r!==k?r:o},animate:function(){return f.can.transition()!==k}},is:{animating:function(){return u.hasClass(c.animating)},inward:function(){return u.hasClass(c.inward)},outward:function(){return u.hasClass(c.outward)},looping:function(){return u.hasClass(c.looping)},occurring:function(e){return e="."+(e=e||l.animation).replace(" ","."),0=e.length&&E.isFunction(t)&&t()};n--;)(a=P.createElement("img")).onload=r,a.onerror=r,a.src=e[n],o.push(a)},enableCallbacks:function(){c.debug("Allowing callbacks to occur"),v=!1},disableCallbacks:function(){c.debug("Disabling all callbacks temporarily"),v=!0},should:{trackChanges:function(){return T?(c.debug("One time query, no need to bind events"),!1):(c.debug("Callbacks being attached"),!0)}},setup:{cache:function(){c.cache={occurred:{},screen:{},element:{}}},image:function(){var e=a.data(m.src);e&&(c.verbose("Lazy loading image",e),o.once=!0,o.observeChanges=!1,o.onOnScreen=function(){c.debug("Image on screen",l),c.precache(e,function(){c.set.image(e,function(){++A==D&&o.onAllLoaded.call(this),o.onLoad.call(this)})})})},fixed:function(){c.debug("Setting up fixed"),o.once=!1,o.observeChanges=!1,o.initialCheck=!0,o.refreshOnLoad=!0,b.transition||(o.transition=!1),c.create.placeholder(),c.debug("Added placeholder",e),o.onTopPassed=function(){c.debug("Element passed, adding fixed position",a),c.show.placeholder(),c.set.fixed(),o.transition&&E.fn.transition!==O&&a.transition(o.transition,o.duration)},o.onTopPassedReverse=function(){c.debug("Element returned to position, removing fixed",a),c.hide.placeholder(),c.remove.fixed()}}},create:{placeholder:function(){c.verbose("Creating fixed position placeholder"),e=a.clone(!1).css("display","none").addClass(u.placeholder).insertAfter(a)}},show:{placeholder:function(){c.verbose("Showing placeholder"),e.css("display","block").css("visibility","hidden")}},hide:{placeholder:function(){c.verbose("Hiding placeholder"),e.css("display","none").css("visibility","")}},set:{fixed:function(){c.verbose("Setting element to fixed position"),a.addClass(u.fixed).css({position:"fixed",top:o.offset+"px",left:"auto",zIndex:o.zIndex}),o.onFixed.call(l)},image:function(e,t){a.attr("src",e),o.transition?E.fn.transition!==O?a.hasClass(u.visible)?c.debug("Transition already occurred on this image, skipping animation"):a.transition(o.transition,o.duration,t):a.fadeIn(o.duration,t):a.show()}},is:{onScreen:function(){return c.get.elementCalculations().onScreen},offScreen:function(){return c.get.elementCalculations().offScreen},visible:function(){return!(!c.cache||!c.cache.element)&&!(0===c.cache.element.width&&0===c.cache.element.offset.top)},verticallyScrollableContext:function(){var e=r.get(0)!==F&&r.css("overflow-y");return"auto"==e||"scroll"==e},horizontallyScrollableContext:function(){var e=r.get(0)!==F&&r.css("overflow-x");return"auto"==e||"scroll"==e}},refresh:function(){c.debug("Refreshing constants (width/height)"),"fixed"==o.type&&c.resetFixed(),c.reset(),c.save.position(),o.checkOnRefresh&&c.checkVisibility(),o.onRefresh.call(l)},resetFixed:function(){c.remove.fixed(),c.remove.occurred()},reset:function(){c.verbose("Resetting all cached values"),E.isPlainObject(c.cache)&&(c.cache.screen={},c.cache.element={})},checkVisibility:function(e){c.verbose("Checking visibility of element",c.cache.element),!v&&c.is.visible()&&(c.save.scroll(e),c.save.calculations(),c.passed(),c.passingReverse(),c.topVisibleReverse(),c.bottomVisibleReverse(),c.topPassedReverse(),c.bottomPassedReverse(),c.onScreen(),c.offScreen(),c.passing(),c.topVisible(),c.bottomVisible(),c.topPassed(),c.bottomPassed(),o.onUpdate&&o.onUpdate.call(l,c.get.elementCalculations()))},passed:function(e,t){var n=c.get.elementCalculations();if(e&&t)o.onPassed[e]=t;else{if(e!==O)return c.get.pixelsPassed(e)>n.pixelsPassed;n.passing&&E.each(o.onPassed,function(e,t){n.bottomVisible||n.pixelsPassed>c.get.pixelsPassed(e)?c.execute(t,e):o.once||c.remove.occurred(t)})}},onScreen:function(e){var t=c.get.elementCalculations(),n=e||o.onOnScreen;if(e&&(c.debug("Adding callback for onScreen",e),o.onOnScreen=e),t.onScreen?c.execute(n,"onScreen"):o.once||c.remove.occurred("onScreen"),e!==O)return t.onOnScreen},offScreen:function(e){var t=c.get.elementCalculations(),n=e||o.onOffScreen;if(e&&(c.debug("Adding callback for offScreen",e),o.onOffScreen=e),t.offScreen?c.execute(n,"offScreen"):o.once||c.remove.occurred("offScreen"),e!==O)return t.onOffScreen},passing:function(e){var t=c.get.elementCalculations(),n=e||o.onPassing;if(e&&(c.debug("Adding callback for passing",e),o.onPassing=e),t.passing?c.execute(n,"passing"):o.once||c.remove.occurred("passing"),e!==O)return t.passing},topVisible:function(e){var t=c.get.elementCalculations(),n=e||o.onTopVisible,i="topVisible";if(e&&(c.debug("Adding callback for top visible",e),o.onTopVisible=e),t.topVisible?c.execute(n,i):o.once||c.remove.occurred(i),e===O)return t.topVisible},bottomVisible:function(e){var t=c.get.elementCalculations(),n=e||o.onBottomVisible,i="bottomVisible";if(e&&(c.debug("Adding callback for bottom visible",e),o.onBottomVisible=e),t.bottomVisible?c.execute(n,i):o.once||c.remove.occurred(i),e===O)return t.bottomVisible},topPassed:function(e){var t=c.get.elementCalculations(),n=e||o.onTopPassed;if(e&&(c.debug("Adding callback for top passed",e),o.onTopPassed=e),t.topPassed?c.execute(n,"topPassed"):o.once||c.remove.occurred("topPassed"),e===O)return t.topPassed},bottomPassed:function(e){var t=c.get.elementCalculations(),n=e||o.onBottomPassed,i="bottomPassed";if(e&&(c.debug("Adding callback for bottom passed",e),o.onBottomPassed=e),t.bottomPassed?c.execute(n,i):o.once||c.remove.occurred(i),e===O)return t.bottomPassed},passingReverse:function(e){var t=c.get.elementCalculations(),n=e||o.onPassingReverse,i="passingReverse";if(e&&(c.debug("Adding callback for passing reverse",e),o.onPassingReverse=e),t.passing?o.once||c.remove.occurred(i):c.get.occurred("passing")&&c.execute(n,i),e!==O)return!t.passing},topVisibleReverse:function(e){var t=c.get.elementCalculations(),n=e||o.onTopVisibleReverse,i="topVisibleReverse";if(e&&(c.debug("Adding callback for top visible reverse",e),o.onTopVisibleReverse=e),t.topVisible?o.once||c.remove.occurred(i):c.get.occurred("topVisible")&&c.execute(n,i),e===O)return!t.topVisible},bottomVisibleReverse:function(e){var t=c.get.elementCalculations(),n=e||o.onBottomVisibleReverse,i="bottomVisibleReverse";if(e&&(c.debug("Adding callback for bottom visible reverse",e),o.onBottomVisibleReverse=e),t.bottomVisible?o.once||c.remove.occurred(i):c.get.occurred("bottomVisible")&&c.execute(n,i),e===O)return!t.bottomVisible},topPassedReverse:function(e){var t=c.get.elementCalculations(),n=e||o.onTopPassedReverse,i="topPassedReverse";if(e&&(c.debug("Adding callback for top passed reverse",e),o.onTopPassedReverse=e),t.topPassed?o.once||c.remove.occurred(i):c.get.occurred("topPassed")&&c.execute(n,i),e===O)return!t.onTopPassed},bottomPassedReverse:function(e){var t=c.get.elementCalculations(),n=e||o.onBottomPassedReverse,i="bottomPassedReverse";if(e&&(c.debug("Adding callback for bottom passed reverse",e),o.onBottomPassedReverse=e),t.bottomPassed?o.once||c.remove.occurred(i):c.get.occurred("bottomPassed")&&c.execute(n,i),e===O)return!t.bottomPassed},execute:function(e,t){var n=c.get.elementCalculations(),i=c.get.screenCalculations();(e=e||!1)&&(o.continuous?(c.debug("Callback being called continuously",t,n),e.call(l,n,i)):c.get.occurred(t)||(c.debug("Conditions met",t,n),e.call(l,n,i))),c.save.occurred(t)},remove:{fixed:function(){c.debug("Removing fixed position"),a.removeClass(u.fixed).css({position:"",top:"",left:"",zIndex:""}),o.onUnfixed.call(l)},placeholder:function(){c.debug("Removing placeholder content"),e&&e.remove()},occurred:function(e){var t;e?(t=c.cache.occurred)[e]!==O&&!0===t[e]&&(c.debug("Callback can now be called again",e),c.cache.occurred[e]=!1):c.cache.occurred={}}},save:{calculations:function(){c.verbose("Saving all calculations necessary to determine positioning"),c.save.direction(),c.save.screenCalculations(),c.save.elementCalculations()},occurred:function(e){e&&(c.cache.occurred[e]!==O&&!0===c.cache.occurred[e]||(c.verbose("Saving callback occurred",e),c.cache.occurred[e]=!0))},scroll:function(e){e=e+o.offset||r.scrollTop()+o.offset,c.cache.scroll=e},direction:function(){var e=c.get.scroll(),t=c.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),c.cache.element=t,c.verbose("Updated element calculations",t),t},screenCalculations:function(){var e=c.get.scroll();return c.save.direction(),c.cache.screen.top=e,c.cache.screen.bottom=e+c.cache.screen.height,c.cache.screen},screenSize:function(){c.verbose("Saving window position"),c.cache.screen={height:r.height()}},position:function(){c.save.screenSize(),c.save.elementPosition()}},get:{pixelsPassed:function(e){var t=c.get.elementCalculations();return-1