{"version":3,"sources":["site.js"],"names":["$","window","document","undefined","site","fn","parameters","module","returnedValue","time","Date","getTime","performance","query","arguments","methodInvoked","queryArguments","slice","call","settings","isPlainObject","extend","namespace","error","moduleNamespace","$document","$module","element","this","instance","data","initialize","instantiate","verbose","normalize","fix","console","requestAnimationFrame","debug","log","disable","group","groupEnd","groupCollapsed","markTimeline","consoleClear","clear","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","moduleExists","name","enabled","modules","enabledModules","each","index","push","disabled","disabledModules","change","setting","value","modifyExisting","$existingModules","length","newSettings","enable","cache","info","warn","destroy","removeData","internal","Function","prototype","bind","apply","message","currentTime","executionTime","previousTime","Element","Name","Arguments","Execution Time","clearTimeout","timer","display","title","totalTime","table","invoke","passedArguments","context","maxDepth","found","response","object","split","depth","camelCaseValue","charAt","toUpperCase","method","isFunction","isArray","siteNamespace","namespaceStub","config","sections","section","utilities","expr","createPseudo","dataName","elem","i","match","jQuery"],"mappings":";;;;;;;;;CAUC,SAAWA,EAAGC,EAAQC,EAAUC,GAEjCH,EAAEI,KAAOJ,EAAEK,GAAGD,KAAO,SAASE,GAC5B,GAuBEC,GACAC,EAvBAC,GAAiB,GAAIC,OAAOC,UAC5BC,KAEAC,EAAiBC,UAAU,GAC3BC,EAAkC,gBAATF,GACzBG,KAAoBC,MAAMC,KAAKJ,UAAW,GAE1CK,EAAoBnB,EAAEoB,cAAcd,GAChCN,EAAEqB,QAAO,KAAUrB,EAAEI,KAAKe,SAAUb,GACpCN,EAAEqB,UAAWrB,EAAEI,KAAKe,UAExBG,EAAkBH,EAASG,UAC3BC,EAAkBJ,EAASI,MAG3BC,EAAkB,UAAYF,EAE9BG,EAAkBzB,EAAEE,GACpBwB,EAAkBD,EAClBE,EAAkBC,KAClBC,EAAkBH,EAAQI,KAAKN,EAgYjC,OA3XAjB,IAEEwB,WAAY,WACVxB,EAAOyB,eAGTA,YAAa,WACXzB,EAAO0B,QAAQ,2BAA4B1B,G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wB,aAETxB,EAAOuF,OAAOjF,KAGXgB,IAAa1B,GACdI,EAAOkE,UAETlE,EAAOwB,cAEDvB,IAAkBL,EACtBK,EACAoB,MAIN5B,EAAEI,KAAKe,UAELkC,KAAc,OACd/B,UAAc,OAEdC,OACEa,QAAU,+EACVsE,OAAS,yCAGXpE,OAAc,EACdL,SAAc,EACdrB,aAAc,EAEd2C,SACE,YACA,MACA,WACA,SACA,WACA,QACA,OACA,QACA,MACA,QACA,SACA,QACA,UACA,QACA,SACA,MACA,aACA,QACA,cAGFsD,cAAkB,OAClBC,eACExC,SACAyC,UACAC,YACAC,WACAC,eAMJlH,EAAEqB,OAAOrB,EAAEmH,KAAM,MACfrF,KAAO9B,EAAEmH,KAAiB,aACtBnH,EAAEmH,KAAKC,aAAa,SAASC,GAC3B,MAAO,UAASC,GACd,QAAStH,EAAE8B,KAAKwF,EAAMD,MAG1B,SAASC,EAAMC,EAAGC,GAElB,QAASxH,EAAE8B,KAAKwF,EAAME,EAAO,QAK/BC,OAAQxH,OAAQC","file":"site.min.js","sourcesContent":["/*!\n * # Semantic UI 2.2.6 - Site\n * http://github.com/semantic-org/semantic-ui/\n *\n *\n * Released under the MIT license\n * http://opensource.org/licenses/MIT\n *\n */\n\n;(function ($, window, document, undefined) {\n\n$.site = $.fn.site = function(parameters) {\n var\n time = new Date().getTime(),\n performance = [],\n\n query = arguments[0],\n methodInvoked = (typeof query == 'string'),\n queryArguments = [].slice.call(arguments, 1),\n\n settings = ( $.isPlainObject(parameters) )\n ? $.extend(true, {}, $.site.settings, parameters)\n : $.extend({}, $.site.settings),\n\n namespace = settings.namespace,\n error = settings.error,\n\n eventNamespace = '.' + namespace,\n moduleNamespace = 'module-' + namespace,\n\n $document = $(document),\n $module = $document,\n element = this,\n instance = $module.data(moduleNamespace),\n\n module,\n returnedValue\n ;\n module = {\n\n initialize: function() {\n module.instantiate();\n },\n\n instantiate: function() {\n module.verbose('Storing instance of site', module);\n instance = module;\n $module\n .data(moduleNamespace, module)\n ;\n },\n\n normalize: function() {\n module.fix.console();\n module.fix.requestAnimationFrame();\n },\n\n fix: {\n console: function() {\n module.debug('Normalizing window.console');\n if (console === undefined || console.log === undefined) {\n module.verbose('Console not available, normalizing events');\n module.disable.console();\n }\n if (typeof console.group == 'undefined' || typeof console.groupEnd == 'undefined' || typeof console.groupCollapsed == 'undefined') {\n module.verbose('Console group not available, normalizing events');\n window.console.group = function() {};\n window.console.groupEnd = function() {};\n window.console.groupCollapsed = function() {};\n }\n if (typeof console.markTimeline == 'undefined') {\n module.verbose('Mark timeline not available, normalizing events');\n window.console.markTimeline = function() {};\n }\n },\n consoleClear: function() {\n module.debug('Disabling programmatic console clearing');\n window.console.clear = function() {};\n },\n requestAnimationFrame: function() {\n module.debug('Normalizing requestAnimationFrame');\n if(window.requestAnimationFrame === undefined) {\n module.debug('RequestAnimationFrame not available, normalizing event');\n window.requestAnimationFrame = window.requestAnimationFrame\n || window.mozRequestAnimationFrame\n || window.webkitRequestAnimationFrame\n || window.msRequestAnimationFrame\n || function(callback) { setTimeout(callback, 0); }\n ;\n }\n }\n },\n\n moduleExists: function(name) {\n return ($.fn[name] !== undefined && $.fn[name].settings !== undefined);\n },\n\n enabled: {\n modules: function(modules) {\n var\n enabledModules = []\n ;\n modules = modules || settings.modules;\n $.each(modules, function(index, name) {\n if(module.moduleExists(name)) {\n enabledModules.push(name);\n }\n });\n return enabledModules;\n }\n },\n\n disabled: {\n modules: function(modules) {\n var\n disabledModules = []\n ;\n modules = modules || settings.modules;\n $.each(modules, function(index, name) {\n if(!module.moduleExists(name)) {\n disabledModules.push(name);\n }\n });\n return disabledModules;\n }\n },\n\n change: {\n setting: function(setting, value, modules, modifyExisting) {\n modules = (typeof modules === 'string')\n ? (modules === 'all')\n ? settings.modules\n : [modules]\n : modules || settings.modules\n ;\n modifyExisting = (modifyExisting !== undefined)\n ? modifyExisting\n : true\n ;\n $.each(modules, function(index, name) {\n var\n namespace = (module.moduleExists(name))\n ? $.fn[name].settings.namespace || false\n : true,\n $existingModules\n ;\n if(module.moduleExists(name)) {\n module.verbose('Changing default setting', setting, value, name);\n $.fn[name].settings[setting] = value;\n if(modifyExisting && namespace) {\n $existingModules = $(':data(module-' + namespace + ')');\n if($existingModules.length > 0) {\n module.verbose('Modifying existing settings', $existingModules);\n $existingModules[name]('setting', setting, value);\n }\n }\n }\n });\n },\n settings: function(newSettings, modules, modifyExisting) {\n modules = (typeof modules === 'string')\n ? [modules]\n : modules || settings.modules\n ;\n modifyExisting = (modifyExisting !== undefined)\n ? modifyExisting\n : true\n ;\n $.each(modules, function(index, name) {\n var\n $existingModules\n ;\n if(module.moduleExists(name)) {\n module.verbose('Changing default setting', newSettings, name);\n $.extend(true, $.fn[name].settings, newSettings);\n if(modifyExisting && namespace) {\n $existingModules = $(':data(module-' + namespace + ')');\n if($existingModules.length > 0) {\n module.verbose('Modifying existing settings', $existingModules);\n $existingModules[name]('setting', newSettings);\n }\n }\n }\n });\n }\n },\n\n enable: {\n console: function() {\n module.console(true);\n },\n debug: function(modules, modifyExisting) {\n modules = modules || settings.modules;\n module.debug('Enabling debug for modules', modules);\n module.change.setting('debug', true, modules, modifyExisting);\n },\n verbose: function(modules, modifyExisting) {\n modules = modules || settings.modules;\n module.debug('Enabling verbose debug for modules', modules);\n module.change.setting('verbose', true, modules, modifyExisting);\n }\n },\n disable: {\n console: function() {\n module.console(false);\n },\n debug: function(modules, modifyExisting) {\n modules = modules || settings.modules;\n module.debug('Disabling debug for modules', modules);\n module.change.setting('debug', false, modules, modifyExisting);\n },\n verbose: function(modules, modifyExisting) {\n modules = modules || settings.modules;\n module.debug('Disabling verbose debug for modules', modules);\n module.change.setting('verbose', false, modules, modifyExisting);\n }\n },\n\n console: function(enable) {\n if(enable) {\n if(instance.cache.console === undefined) {\n module.error(error.console);\n return;\n }\n module.debug('Restoring console function');\n window.console = instance.cache.console;\n }\n else {\n module.debug('Disabling console function');\n instance.cache.console = window.console;\n window.console = {\n clear : function(){},\n error : function(){},\n group : function(){},\n groupCollapsed : function(){},\n groupEnd : function(){},\n info : function(){},\n log : function(){},\n markTimeline : function(){},\n warn : function(){}\n };\n }\n },\n\n destroy: function() {\n module.verbose('Destroying previous site for', $module);\n $module\n .removeData(moduleNamespace)\n ;\n },\n\n cache: {},\n\n setting: function(name, value) {\n if( $.isPlainObject(name) ) {\n $.extend(true, settings, name);\n }\n else if(value !== undefined) {\n settings[name] = value;\n }\n else {\n return settings[name];\n }\n },\n internal: function(name, value) {\n if( $.isPlainObject(name) ) {\n $.extend(true, module, name);\n }\n else if(value !== undefined) {\n module[name] = value;\n }\n else {\n return module[name];\n }\n },\n debug: function() {\n if(settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.debug.apply(console, arguments);\n }\n }\n },\n verbose: function() {\n if(settings.verbose && settings.debug) {\n if(settings.performance) {\n module.performance.log(arguments);\n }\n else {\n module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');\n module.verbose.apply(console, arguments);\n }\n }\n },\n error: function() {\n module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');\n module.error.apply(console, arguments);\n },\n performance: {\n log: function(message) {\n var\n currentTime,\n executionTime,\n previousTime\n ;\n if(settings.performance) {\n currentTime = new Date().getTime();\n previousTime = time || currentTime;\n executionTime = currentTime - previousTime;\n time = currentTime;\n performance.push({\n 'Element' : element,\n 'Name' : message[0],\n 'Arguments' : [].slice.call(message, 1) || '',\n 'Execution Time' : executionTime\n });\n }\n clearTimeout(module.performance.timer);\n module.performance.timer = setTimeout(module.performance.display, 500);\n },\n display: function() {\n var\n title = settings.name + ':',\n totalTime = 0\n ;\n time = false;\n clearTimeout(module.performance.timer);\n $.each(performance, function(index, data) {\n totalTime += data['Execution Time'];\n });\n title += ' ' + totalTime + 'ms';\n if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {\n console.groupCollapsed(title);\n if(console.table) {\n console.table(performance);\n }\n else {\n $.each(performance, function(index, data) {\n console.log(data['Name'] + ': ' + data['Execution Time']+'ms');\n });\n }\n console.groupEnd();\n }\n performance = [];\n }\n },\n invoke: function(query, passedArguments, context) {\n var\n object = instance,\n maxDepth,\n found,\n response\n ;\n passedArguments = passedArguments || queryArguments;\n context = element || context;\n if(typeof query == 'string' && object !== undefined) {\n query = query.split(/[\\. ]/);\n maxDepth = query.length - 1;\n $.each(query, function(depth, value) {\n var camelCaseValue = (depth != maxDepth)\n ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)\n : query\n ;\n if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {\n object = object[camelCaseValue];\n }\n else if( object[camelCaseValue] !== undefined ) {\n found = object[camelCaseValue];\n return false;\n }\n else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {\n object = object[value];\n }\n else if( object[value] !== undefined ) {\n found = object[value];\n return false;\n }\n else {\n module.error(error.method, query);\n return false;\n }\n });\n }\n if ( $.isFunction( found ) ) {\n response = found.apply(context, passedArguments);\n }\n else if(found !== undefined) {\n response = found;\n }\n if($.isArray(returnedValue)) {\n returnedValue.push(response);\n }\n else if(returnedValue !== undefined) {\n returnedValue = [returnedValue, response];\n }\n else if(response !== undefined) {\n returnedValue = response;\n }\n return found;\n }\n };\n\n if(methodInvoked) {\n if(instance === undefined) {\n module.initialize();\n }\n module.invoke(query);\n }\n else {\n if(instance !== undefined) {\n module.destroy();\n }\n module.initialize();\n }\n return (returnedValue !== undefined)\n ? returnedValue\n : this\n ;\n};\n\n$.site.settings = {\n\n name : 'Site',\n namespace : 'site',\n\n error : {\n console : 'Console cannot be restored, most likely it was overwritten outside of module',\n method : 'The method you called is not defined.'\n },\n\n debug : false,\n verbose : false,\n performance : true,\n\n modules: [\n 'accordion',\n 'api',\n 'checkbox',\n 'dimmer',\n 'dropdown',\n 'embed',\n 'form',\n 'modal',\n 'nag',\n 'popup',\n 'rating',\n 'shape',\n 'sidebar',\n 'state',\n 'sticky',\n 'tab',\n 'transition',\n 'visit',\n 'visibility'\n ],\n\n siteNamespace : 'site',\n namespaceStub : {\n cache : {},\n config : {},\n sections : {},\n section : {},\n utilities : {}\n }\n\n};\n\n// allows for selection of elements with data attributes\n$.extend($.expr[ \":\" ], {\n data: ($.expr.createPseudo)\n ? $.expr.createPseudo(function(dataName) {\n return function(elem) {\n return !!$.data(elem, dataName);\n };\n })\n : function(elem, i, match) {\n // support: jQuery < 1.8\n return !!$.data(elem, match[ 3 ]);\n }\n});\n\n\n})( jQuery, window, document );\n"]}