/* * # Fomantic UI - 2.8.8 * https://github.com/fomantic/Fomantic-UI * http://fomantic-ui.com/ * * Copyright 2022 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ !function(A,e,E,Y){"use strict";A.isFunction=A.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")(),A.fn.shape=function(v){var b,x=A(this),y=(new Date).getTime(),w=[],C=v,S="string"==typeof C,T=[].slice.call(arguments,1),W=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,0)};return x.each(function(){var i,n,t=x.selector||"",a=A.isPlainObject(v)?A.extend(!0,{},A.fn.shape.settings,v):A.extend({},A.fn.shape.settings),e=a.namespace,r=a.selector,f=a.error,s=a.className,g="."+e,h="module-"+e,d=A(this),o=d.find(">"+r.sides),l=o.find(">"+r.side),m=!1,u=this,p=d.data(h),c={initialize:function(){c.verbose("Initializing module for",u),c.set.defaultSide(),c.instantiate()},instantiate:function(){c.verbose("Storing instance of module",c),p=c,d.data(h,p)},destroy:function(){c.verbose("Destroying previous module for",u),d.removeData(h).off(g)},refresh:function(){c.verbose("Refreshing selector cache for",u),d=A(u),o=A(this).find(r.sides),l=A(this).find(r.side)},repaint:function(){c.verbose("Forcing repaint event");(o[0]||E.createElement("div")).offsetWidth},animate:function(e,t){c.verbose("Animating box with properties",e),t=t||function(e){c.verbose("Executing animation callback"),e!==Y&&e.stopPropagation(),c.reset(),c.set.active()},a.beforeChange.call(n[0]),c.get.transitionEvent()?(c.verbose("Starting CSS animation"),d.addClass(s.animating),o.css(e).one(c.get.transitionEvent(),t),c.set.duration(a.duration),W(function(){d.addClass(s.animating),i.addClass(s.hidden)})):t()},queue:function(e){c.debug("Queueing animation of",e),o.one(c.get.transitionEvent(),function(){c.debug("Executing queued animation"),setTimeout(function(){d.shape(e)},0)})},reset:function(){c.verbose("Animating states reset"),d.removeClass(s.animating).attr("style","").removeAttr("style"),o.attr("style","").removeAttr("style"),l.attr("style","").removeAttr("style").removeClass(s.hidden),n.removeClass(s.animating).attr("style","").removeAttr("style")},is:{complete:function(){return l.filter("."+s.active)[0]==n[0]},animating:function(){return d.hasClass(s.animating)},hidden:function(){return 0"+r.sides+">"+r.side),i=t.filter("."+a.className.active),t=m?t.eq(m):0