/* * # 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(j,O,k,I){"use strict";j.isWindow=j.isWindow||function(e){return null!=e&&e===e.window},j.isFunction=j.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},O=void 0!==O&&O.Math==Math?O:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),j.fn.tab=function(l){var d,u=j.isFunction(this)?j(O):j(this),b=u.selector||"",P=(new Date).getTime(),C=[],F=l,w="string"==typeof F,E=[].slice.call(arguments,1),S=!1;return u.each(function(){var g,i,f,h,p,v=j.isPlainObject(l)?j.extend(!0,{},j.fn.tab.settings,l):j.extend({},j.fn.tab.settings),m=v.className,y=v.metadata,t=v.selector,A=v.error,a=v.regExp,e="."+v.namespace,n="module-"+v.namespace,T=j(this),o={},x=!0,r=0,s=this,c=T.data(n),L={initialize:function(){L.debug("Initializing tab menu item",T),L.fix.callbacks(),L.determineTabs(),L.debug("Determining tabs",v.context,i),v.auto&&L.set.auto(),L.bind.events(),v.history&&!S&&(L.initializeHistory(),S=!0),v.autoTabActivation&&c===I&&null==L.determine.activeTab()&&(L.debug("No active tab detected, setting first tab active",L.get.initialPath()),L.changeTab(!0===v.autoTabActivation?L.get.initialPath():v.autoTabActivation)),L.instantiate()},instantiate:function(){L.verbose("Storing instance of module",L),c=L,T.data(n,L)},destroy:function(){L.debug("Destroying tabs",T),T.removeData(n).off(e)},bind:{events:function(){j.isWindow(s)||(L.debug("Attaching tab activation events to element",T),T.on("click"+e,L.event.click))}},determineTabs:function(){var e;"parent"===v.context?(0