You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
49 KiB

{"version":3,"sources":["sidebar.js"],"names":["$","window","document","undefined","Math","self","Function","fn","sidebar","parameters","returnedValue","$allModules","this","$window","$document","$html","$head","moduleSelector","selector","time","Date","getTime","performance","query","arguments","methodInvoked","queryArguments","slice","call","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","each","$style","elementNamespace","id","currentScroll","transitionEvent","module","settings","isPlainObject","extend","className","namespace","regExp","error","eventNamespace","moduleNamespace","$module","$context","context","$sidebars","children","$fixed","fixed","$pusher","pusher","element","instance","data","initialize","debug","create","get","is","ios","set","delaySetup","setup","layout","cache","instantiate","verbose","random","toString","substr","destroy","off","removeData","remove","event","clickaway","clickedInPusher","find","target","length","clickedContext","hide","touch","containScroll","scrollTop","offsetHeight","scrollHeight","scroll","closest","preventDefault","bind","closable","on","scrollLock","unbind","add","inlineCSS","style","width","outerWidth","height","outerHeight","isRTL","rtl","direction","distance","left","right","top","bottom","ie","appendTo","refresh","clear","refreshSidebars","repaint","display","css","not","omitted","wrapAll","nextAll","movedSidebar","detach","prependTo","pushable","attachEvents","$toggle","isFunction","toggle","notFound","show","hidden","overlay","transition","othersActive","exclusive","hideOthers","pushPage","onShow","onChange","onVisible","visible","animating","pullPage","onHidden","onHide","othersAnimating","filter","othersVisible","$otherSidebars","sidebarCount","callbackCount","animate","dim","transitionEnd","$transition","scrollToTop","dimmed","dimPage","removeClass","returnScroll","mobile","scrollBack","scrollTo","addClass","pushed","active","hasClass","mobileTransition","defaultTransition","computer","createElement","transitions","OTransition","MozTransition","WebkitTransition","isIE11","isIE","userAgent","navigator","isIOS","match","isMobileChrome","mobileChrome","isMobile","open","closed","vertical","setting","name","value","internal","silent","log","prototype","console","info","apply","message","currentTime","executionTime","previousTime","push","Name","Arguments","Element","Execution Time","clearTimeout","timer","title","totalTime","index","group","table","groupCollapsed","groupEnd","invoke","passedArguments","maxDepth","found","response","object","split","depth","camelCaseValue","charAt","toUpperCase","method","isArray","duration","jQuery"],"mappings":";;;;;;;;;CAUC,SAAWA,EAAGC,EAAQC,EAAUC,GAEjC,YAEAF,GAA2B,mBAAVA,IAAyBA,EAAOG,MAAQA,KACrDH,EACgB,mBAARI,OAAuBA,KAAKD,MAAQA,KAC1CC,KACAC,SAAS,iBAGfN,EAAEO,GAAGC,QAAU,SAASC,GACtB,GAsBEC,GArBAC,EAAkBX,EAAEY,MACpBC,EAAkBb,EAAEC,GACpBa,EAAkBd,EAAEE,GACpBa,EAAkBf,EAAE,QACpBgB,EAAkBhB,EAAE,QAEpBiB,EAAkBN,EAAYO,UAAY,GAE1CC,GAAkB,GAAIC,OAAOC,UAC7BC,KAEAC,EAAkBC,UAAU,GAC5BC,EAAmC,gBAATF,GAC1BG,KAAqBC,MAAMC,KAAKJ,UAAW,GAE3CK,EAAwB5B,EAAO4B,uBAC1B5B,EAAO6B,0BACP7B,EAAO8B,6BACP9B,EAAO+B,yBACP,SAASC,GAAYC,WAAWD,EAAU,GAw4BjD,OAn4BAtB,GACGwB,KAAK,WACJ,GAoBEC,GAKAC,EACAC,EACAC,EACAC,EAEAC,EA7BAC,EAAoB1C,EAAE2C,cAAclC,GAChCT,EAAE4C,QAAO,KAAU5C,EAAEO,GAAGC,QAAQkC,SAAUjC,GAC1CT,EAAE4C,UAAW5C,EAAEO,GAAGC,QAAQkC,UAE9BxB,EAAkBwB,EAASxB,SAC3B2B,EAAkBH,EAASG,UAC3BC,EAAkBJ,EAASI,UAC3BC,EAAkBL,EAASK,OAC3BC,EAAkBN,EAASM,MAE3BC,EAAkB,IAAMH,EACxBI,EAAkB,UAAYJ,EAE9BK,EAAkBnD,EAAEY,MACpBwC,EAAkBpD,EAAE0C,EAASW,SAE7BC,EAAkBH,EAAQI,SAASrC,EAASV,SAC5CgD,EAAkBJ,EAASG,SAASrC,EAASuC,OAC7CC,EAAkBN,EAASG,SAASrC,EAASy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AS,UACTC,MAAS,UACTC,IAAS,UACTC,OAAS,WAEXqD,QACExD,KAAS,UACTC,MAAS,UACTC,IAAS,UACTC,OAAS,YAIbjE,QAAoB,OACpB4F,WAAoB,EACpB7C,UAAoB,EACpBoE,SAAoB,EACpBlE,YAAoB,EACpBoE,cAAoB,EACpBpG,YAAoB,EAEpByK,SAAoB,IAEpB1F,SAAoB,aACpBD,OAAoB,aACpBO,OAAoB,aAEpBD,SAAoB,aACpBJ,UAAoB,aAEpBzG,WACEmI,OAAY,SACZxB,UAAY,YACZe,OAAY,SACZnG,IAAY,MACZkE,SAAY,WACZyC,OAAY,SACZ3D,MAAY,QACZC,IAAY,MACZF,KAAY,OACZG,OAAY,SACZiC,QAAY,WAGdrI,UACEuC,MAAU,SACVuE,QAAU,iEACVrE,OAAU,UACVnD,QAAU,eAGZuC,QACEqB,IAAe,sBACf6H,aAAe,WACftB,OAAe,qKAGjB3H,OACE6L,OAAe,wCACflL,OAAe,uGACfwE,aAAe,iHACfW,QAAe,qEACfH,SAAe,gEAMfqG,OAAQ/O,OAAQC","file":"sidebar.min.js","sourcesContent":["/*!\n * # Semantic UI 2.2.6 - Sidebar\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\"use strict\";\n\nwindow = (typeof window != 'undefined' && window.Math == Math)\n ? window\n : (typeof self != 'undefined' && self.Math == Math)\n ? self\n : Function('return this')()\n;\n\n$.fn.sidebar = function(parameters) {\n var\n $allModules = $(this),\n $window = $(window),\n $document = $(document),\n $html = $('html'),\n $head = $('head'),\n\n moduleSelector = $allModules.selector || '',\n\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 requestAnimationFrame = window.requestAnimationFrame\n || window.mozRequestAnimationFrame\n || window.webkitRequestAnimationFrame\n || window.msRequestAnimationFrame\n || function(callback) { setTimeout(callback, 0); },\n\n returnedValue\n ;\n\n $allModules\n .each(function() {\n var\n settings = ( $.isPlainObject(parameters) )\n ? $.extend(true, {}, $.fn.sidebar.settings, parameters)\n : $.extend({}, $.fn.sidebar.settings),\n\n selector = settings.selector,\n className = settings.className,\n namespace = settings.namespace,\n regExp = settings.regExp,\n error = settings.error,\n\n eventNamespace = '.' + namespace,\n moduleNamespace = 'module-' + namespace,\n\n $module = $(this),\n $context = $(settings.context),\n\n $sidebars = $module.children(selector.sidebar),\n $fixed = $context.children(selector.fixed),\n $pusher = $context.children(selector.pusher),\n $style,\n\n element = this,\n instance = $module.data(moduleNamespace),\n\n elementNamespace,\n id,\n currentScroll,\n transitionEvent,\n\n module\n ;\n\n module = {\n\n initialize: function() {\n module.debug('Initializing sidebar', parameters);\n\n module.create.id();\n\n transitionEvent = module.get.transitionEvent();\n\n if(module.is.ios()) {\n module.set.ios();\n }\n\n // avoids locking rendering if initialized in onReady\n if(settings.delaySetup) {\n requestAnimationFrame(module.setup.layout);\n }\n else {\n module.setup.layout();\n }\n\n requestAnimationFrame(function() {\n module.setup.cache();\n });\n\n module.instantiate();\n },\n\n instantiate: function() {\n module.verbose('Storing instance of module', module);\n instance = module;\n $module\n .data(moduleNamespace, module)\n ;\n },\n\n create: {\n id: function() {\n id = (Math.random().toString(16) + '000000000').substr(2,8);\n elementNamespace = '.' + id;\n module.verbose('Creating unique id for element', id);\n }\n },\n\n destroy: function() {\n module.verbose('Destroying previous module for', $module);\n $module\n .off(eventNamespace)\n .removeData(moduleNamespace)\n ;\n if(module.is.ios()) {\n module.remove.ios();\n }\n // bound by uuid\n $context.off(elementNamespace);\n $window.off(elementNamespace);\n $document.off(elementNamespace);\n },\n\n event: {\n clickaway: function(event) {\n var\n clickedInPusher = ($pusher.find(event.target).length > 0 || $pusher.is(event.target)),\n clickedContext = ($context.is(event.target))\n ;\n if(clickedInPusher) {\n module.verbose('User clicked on dimmed page');\n module.hide();\n }\n if(clickedContext) {\n module.verbose('User clicked on dimmable context (scaled out page)');\n module.hide();\n }\n },\n touch: function(event) {\n //event.stopPropagation();\n },\n containScroll: function(event) {\n if(element.scrollTop <= 0) {\n element.scrollTop = 1;\n }\n if((element.scrollTop + element.offsetHeight) >= element.scrollHeight) {\n element.scrollTop = element.scrollHeight - element.offsetHeight - 1;\n }\n },\n scroll: function(event) {\n if( $(event.target).closest(selector.sidebar).length === 0 ) {\n event.preventDefault();\n }\n }\n },\n\n bind: {\n clickaway: function() {\n module.verbose('Adding clickaway events to context', $context);\n if(settings.closable) {\n $context\n .on('click' + elementNamespace, module.event.clickaway)\n .on('touchend' + elementNamespace, module.event.clickaway)\n ;\n }\n },\n scrollLock: function() {\n if(settings.scrollLock) {\n module.debug('Disabling page scroll');\n $window\n .on('DOMMouseScroll' + elementNamespace, module.event.scroll)\n ;\n }\n module.verbose('Adding events to contain sidebar scroll');\n $document\n .on('touchmove' + elementNamespace, module.event.touch)\n ;\n $module\n .on('scroll' + eventNamespace, module.event.containScroll)\n ;\n }\n },\n unbind: {\n clickaway: function() {\n module.verbose('Removing clickaway events from context', $context);\n $context.off(elementNamespace);\n },\n scrollLock: function() {\n module.verbose('Removing scroll lock from page');\n $document.off(elementNamespace);\n $window.off(elementNamespace);\n $module.off('scroll' + eventNamespace);\n }\n },\n\n add: {\n inlineCSS: function() {\n var\n width = module.cache.width || $module.outerWidth(),\n height = module.cache.height || $module.outerHeight(),\n isRTL = module.is.rtl(),\n direction = module.get.direction(),\n distance = {\n left : width,\n right : -width,\n top : height,\n bottom : -height\n },\n style\n ;\n\n if(isRTL){\n module.verbose('RTL detected, flipping widths');\n distance.left = -width;\n distance.right = width;\n }\n\n style = '<style>';\n\n if(direction === 'left' || direction === 'right') {\n module.debug('Adding CSS rules for animation distance', width);\n style += ''\n + ' .ui.visible.' + direction + '.sidebar ~ .fixed,'\n + ' .ui.visible.' + direction + '.sidebar ~ .pusher {'\n + ' -webkit-transform: translate3d('+ distance[direction] + 'px, 0, 0);'\n + ' transform: translate3d('+ distance[direction] + 'px, 0, 0);'\n + ' }'\n ;\n }\n else if(direction === 'top' || direction == 'bottom') {\n style += ''\n + ' .ui.visible.' + direction + '.sidebar ~ .fixed,'\n + ' .ui.visible.' + direction + '.sidebar ~ .pusher {'\n + ' -webkit-transform: translate3d(0, ' + distance[direction] + 'px, 0);'\n + ' transform: translate3d(0, ' + distance[direction] + 'px, 0);'\n + ' }'\n ;\n }\n\n /* IE is only browser not to create context with transforms */\n /* https://www.w3.org/Bugs/Public/show_bug.cgi?id=16328 */\n if( module.is.ie() ) {\n if(direction === 'left' || direction === 'right') {\n module.debug('Adding CSS rules for animation distance', width);\n style += ''\n + ' body.pushable > .ui.visible.' + direction + '.sidebar ~ .pusher:after {'\n + ' -webkit-transform: translate3d('+ distance[direction] + 'px, 0, 0);'\n + ' transform: translate3d('+ distance[direction] + 'px, 0, 0);'\n + ' }'\n ;\n }\n else if(direction === 'top' || direction == 'bottom') {\n style += ''\n + ' body.pushable > .ui.visible.' + direction + '.sidebar ~ .pusher:after {'\n + ' -webkit-transform: translate3d(0, ' + distance[direction] + 'px, 0);'\n + ' transform: translate3d(0, ' + distance[direction] + 'px, 0);'\n + ' }'\n ;\n }\n /* opposite sides visible forces content overlay */\n style += ''\n + ' body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher:after,'\n + ' body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher:after {'\n + ' -webkit-transform: translate3d(0px, 0, 0);'\n + ' transform: translate3d(0px, 0, 0);'\n + ' }'\n ;\n }\n style += '</style>';\n $style = $(style)\n .appendTo($head)\n ;\n module.debug('Adding sizing css to head', $style);\n }\n },\n\n refresh: function() {\n module.verbose('Refreshing selector cache');\n $context = $(settings.context);\n $sidebars = $context.children(selector.sidebar);\n $pusher = $context.children(selector.pusher);\n $fixed = $context.children(selector.fixed);\n module.clear.cache();\n },\n\n refreshSidebars: function() {\n module.verbose('Refreshing other sidebars');\n $sidebars = $context.children(selector.sidebar);\n },\n\n repaint: function() {\n module.verbose('Forcing repaint event');\n element.style.display = 'none';\n var ignored = element.offsetHeight;\n element.scrollTop = element.scrollTop;\n element.style.display = '';\n },\n\n setup: {\n cache: function() {\n module.cache = {\n width : $module.outerWidth(),\n height : $module.outerHeight(),\n rtl : ($module.css('direction') == 'rtl')\n };\n },\n layout: function() {\n if( $context.children(selector.pusher).length === 0 ) {\n module.debug('Adding wrapper element for sidebar');\n module.error(error.pusher);\n $pusher = $('<div class=\"pusher\" />');\n $context\n .children()\n .not(selector.omitted)\n .not($sidebars)\n .wrapAll($pusher)\n ;\n module.refresh();\n }\n if($module.nextAll(selector.pusher).length === 0 || $module.nextAll(selector.pusher)[0] !== $pusher[0]) {\n module.debug('Moved sidebar to correct parent element');\n module.error(error.movedSidebar, element);\n $module.detach().prependTo($context);\n module.refresh();\n }\n module.clear.cache();\n module.set.pushable();\n module.set.direction();\n }\n },\n\n attachEvents: function(selector, event) {\n var\n $toggle = $(selector)\n ;\n event = $.isFunction(module[event])\n ? module[event]\n : module.toggle\n ;\n if($toggle.length > 0) {\n module.debug('Attaching sidebar events to element', selector, event);\n $toggle\n .on('click' + eventNamespace, event)\n ;\n }\n else {\n module.error(error.notFound, selector);\n }\n },\n\n show: function(callback) {\n callback = $.isFunction(callback)\n ? callback\n : function(){}\n ;\n if(module.is.hidden()) {\n module.refreshSidebars();\n if(settings.overlay) {\n module.error(error.overlay);\n settings.transition = 'overlay';\n }\n module.refresh();\n if(module.othersActive()) {\n module.debug('Other sidebars currently visible');\n if(settings.exclusive) {\n // if not overlay queue animation after hide\n if(settings.transition != 'overlay') {\n module.hideOthers(module.show);\n return;\n }\n else {\n module.hideOthers();\n }\n }\n else {\n settings.transition = 'overlay';\n }\n }\n module.pushPage(function() {\n callback.call(element);\n settings.onShow.call(element);\n });\n settings.onChange.call(element);\n settings.onVisible.call(element);\n }\n else {\n module.debug('Sidebar is already visible');\n }\n },\n\n hide: function(callback) {\n callback = $.isFunction(callback)\n ? callback\n : function(){}\n ;\n if(module.is.visible() || module.is.animating()) {\n module.debug('Hiding sidebar', callback);\n module.refreshSidebars();\n module.pullPage(function() {\n callback.call(element);\n settings.onHidden.call(element);\n });\n settings.onChange.call(element);\n settings.onHide.call(element);\n }\n },\n\n othersAnimating: function() {\n return ($sidebars.not($module).filter('.' + className.animating).length > 0);\n },\n othersVisible: function() {\n return ($sidebars.not($module).filter('.' + className.visible).length > 0);\n },\n othersActive: function() {\n return(module.othersVisible() || module.othersAnimating());\n },\n\n hideOthers: function(callback) {\n var\n $otherSidebars = $sidebars.not($module).filter('.' + className.visible),\n sidebarCount = $otherSidebars.length,\n callbackCount = 0\n ;\n callback = callback || function(){};\n $otherSidebars\n .sidebar('hide', function() {\n callbackCount++;\n if(callbackCount == sidebarCount) {\n callback();\n }\n })\n ;\n },\n\n toggle: function() {\n module.verbose('Determining toggled direction');\n if(module.is.hidden()) {\n module.show();\n }\n else {\n module.hide();\n }\n },\n\n pushPage: function(callback) {\n var\n transition = module.get.transition(),\n $transition = (transition === 'overlay' || module.othersActive())\n ? $module\n : $pusher,\n animate,\n dim,\n transitionEnd\n ;\n callback = $.isFunction(callback)\n ? callback\n : function(){}\n ;\n if(settings.transition == 'scale down') {\n module.scrollToTop();\n }\n module.set.transition(transition);\n module.repaint();\n animate = function() {\n module.bind.clickaway();\n module.add.inlineCSS();\n module.set.animating();\n module.set.visible();\n };\n dim = function() {\n module.set.dimmed();\n };\n transitionEnd = function(event) {\n if( event.target == $transition[0] ) {\n $transition.off(transitionEvent + elementNamespace, transitionEnd);\n module.remove.animating();\n module.bind.scrollLock();\n callback.call(element);\n }\n };\n $transition.off(transitionEvent + elementNamespace);\n $transition.on(transitionEvent + elementNamespace, transitionEnd);\n requestAnimationFrame(animate);\n if(settings.dimPage && !module.othersVisible()) {\n requestAnimationFrame(dim);\n }\n },\n\n pullPage: function(callback) {\n var\n transition = module.get.transition(),\n $transition = (transition == 'overlay' || module.othersActive())\n ? $module\n : $pusher,\n animate,\n transitionEnd\n ;\n callback = $.isFunction(callback)\n ? callback\n : function(){}\n ;\n module.verbose('Removing context push state', module.get.direction());\n\n module.unbind.clickaway();\n module.unbind.scrollLock();\n\n animate = function() {\n module.set.transition(transition);\n module.set.animating();\n module.remove.visible();\n if(settings.dimPage && !module.othersVisible()) {\n $pusher.removeClass(className.dimmed);\n }\n };\n transitionEnd = function(event) {\n if( event.target == $transition[0] ) {\n $transition.off(transitionEvent + elementNamespace, transitionEnd);\n module.remove.animating();\n module.remove.transition();\n module.remove.inlineCSS();\n if(transition == 'scale down' || (settings.returnScroll && module.is.mobile()) ) {\n module.scrollBack();\n }\n callback.call(element);\n }\n };\n $transition.off(transitionEvent + elementNamespace);\n $transition.on(transitionEvent + elementNamespace, transitionEnd);\n requestAnimationFrame(animate);\n },\n\n scrollToTop: function() {\n module.verbose('Scrolling to top of page to avoid animation issues');\n currentScroll = $(window).scrollTop();\n $module.scrollTop(0);\n window.scrollTo(0, 0);\n },\n\n scrollBack: function() {\n module.verbose('Scrolling back to original page position');\n window.scrollTo(0, currentScroll);\n },\n\n clear: {\n cache: function() {\n module.verbose('Clearing cached dimensions');\n module.cache = {};\n }\n },\n\n set: {\n\n // ios only (scroll on html not document). This prevent auto-resize canvas/scroll in ios\n ios: function() {\n $html.addClass(className.ios);\n },\n\n // container\n pushed: function() {\n $context.addClass(className.pushed);\n },\n pushable: function() {\n $context.addClass(className.pushable);\n },\n\n // pusher\n dimmed: function() {\n $pusher.addClass(className.dimmed);\n },\n\n // sidebar\n active: function() {\n $module.addClass(className.active);\n },\n animating: function() {\n $module.addClass(className.animating);\n },\n transition: function(transition) {\n transition = transition || module.get.transition();\n $module.addClass(transition);\n },\n direction: function(direction) {\n direction = direction || module.get.direction();\n $module.addClass(className[direction]);\n },\n visible: function() {\n $module.addClass(className.visible);\n },\n overlay: function() {\n $module.addClass(className.overlay);\n }\n },\n remove: {\n\n inlineCSS: function() {\n module.debug('Removing inline css styles', $style);\n if($style && $style.length > 0) {\n $style.remove();\n }\n },\n\n // ios scroll on html not document\n ios: function() {\n $html.removeClass(className.ios);\n },\n\n // context\n pushed: function() {\n $context.removeClass(className.pushed);\n },\n pushable: function() {\n $context.removeClass(className.pushable);\n },\n\n // sidebar\n active: function() {\n $module.removeClass(className.active);\n },\n animating: function() {\n $module.removeClass(className.animating);\n },\n transition: function(transition) {\n transition = transition || module.get.transition();\n $module.removeClass(transition);\n },\n direction: function(direction) {\n direction = direction || module.get.direction();\n $module.removeClass(className[direction]);\n },\n visible: function() {\n $module.removeClass(className.visible);\n },\n overlay: function() {\n $module.removeClass(className.overlay);\n }\n },\n\n get: {\n direction: function() {\n if($module.hasClass(className.top)) {\n return className.top;\n }\n else if($module.hasClass(className.right)) {\n return className.right;\n }\n else if($module.hasClass(className.bottom)) {\n return className.bottom;\n }\n return className.left;\n },\n transition: function() {\n var\n direction = module.get.direction(),\n transition\n ;\n transition = ( module.is.mobile() )\n ? (settings.mobileTransition == 'auto')\n ? settings.defaultTransition.mobile[direction]\n : settings.mobileTransition\n : (settings.transition == 'auto')\n ? settings.defaultTransition.computer[direction]\n : settings.transition\n ;\n module.verbose('Determined transition', transition);\n return transition;\n },\n transitionEvent: function() {\n var\n element = document.createElement('element'),\n transitions = {\n 'transition' :'transitionend',\n 'OTransition' :'oTransitionEnd',\n 'MozTransition' :'transitionend',\n 'WebkitTransition' :'webkitTransitionEnd'\n },\n transition\n ;\n for(transition in transitions){\n if( element.style[transition] !== undefined ){\n return transitions[transition];\n }\n }\n }\n },\n\n is: {\n\n ie: function() {\n var\n isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),\n isIE = ('ActiveXObject' in window)\n ;\n return (isIE11 || isIE);\n },\n\n ios: function() {\n var\n userAgent = navigator.userAgent,\n isIOS = userAgent.match(regExp.ios),\n isMobileChrome = userAgent.match(regExp.mobileChrome)\n ;\n if(isIOS && !isMobileChrome) {\n module.verbose('Browser was found to be iOS', userAgent);\n return true;\n }\n else {\n return false;\n }\n },\n mobile: function() {\n var\n userAgent = navigator.userAgent,\n isMobile = userAgent.match(regExp.mobile)\n ;\n if(isMobile) {\n module.verbose('Browser was found to be mobile', userAgent);\n return true;\n }\n else {\n module.verbose('Browser is not mobile, using regular transition', userAgent);\n return false;\n }\n },\n hidden: function() {\n return !module.is.visible();\n },\n visible: function() {\n return $module.hasClass(className.visible);\n },\n // alias\n open: function() {\n return module.is.visible();\n },\n closed: function() {\n return module.is.hidden();\n },\n vertical: function() {\n return $module.hasClass(className.top);\n },\n animating: function() {\n return $context.hasClass(className.animating);\n },\n rtl: function () {\n if(module.cache.rtl === undefined) {\n module.cache.rtl = ($module.css('direction') == 'rtl');\n }\n return module.cache.rtl;\n }\n },\n\n setting: function(name, value) {\n module.debug('Changing setting', name, value);\n if( $.isPlainObject(name) ) {\n $.extend(true, settings, name);\n }\n else if(value !== undefined) {\n if($.isPlainObject(settings[name])) {\n $.extend(true, settings[name], value);\n }\n else {\n settings[name] = value;\n }\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.silent && 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.silent && 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 if(!settings.silent) {\n module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');\n module.error.apply(console, arguments);\n }\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 'Name' : message[0],\n 'Arguments' : [].slice.call(message, 1) || '',\n 'Element' : element,\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(moduleSelector) {\n title += ' \\'' + moduleSelector + '\\'';\n }\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\n if(methodInvoked) {\n if(instance === undefined) {\n module.initialize();\n }\n module.invoke(query);\n }\n else {\n if(instance !== undefined) {\n module.invoke('destroy');\n }\n module.initialize();\n }\n });\n\n return (returnedValue !== undefined)\n ? returnedValue\n : this\n ;\n};\n\n$.fn.sidebar.settings = {\n\n name : 'Sidebar',\n namespace : 'sidebar',\n\n silent : false,\n debug : false,\n verbose : false,\n performance : true,\n\n transition : 'auto',\n mobileTransition : 'auto',\n\n defaultTransition : {\n computer: {\n left : 'uncover',\n right : 'uncover',\n top : 'overlay',\n bottom : 'overlay'\n },\n mobile: {\n left : 'uncover',\n right : 'uncover',\n top : 'overlay',\n bottom : 'overlay'\n }\n },\n\n context : 'body',\n exclusive : false,\n closable : true,\n dimPage : true,\n scrollLock : false,\n returnScroll : false,\n delaySetup : false,\n\n duration : 500,\n\n onChange : function(){},\n onShow : function(){},\n onHide : function(){},\n\n onHidden : function(){},\n onVisible : function(){},\n\n className : {\n active : 'active',\n animating : 'animating',\n dimmed : 'dimmed',\n ios : 'ios',\n pushable : 'pushable',\n pushed : 'pushed',\n right : 'right',\n top : 'top',\n left : 'left',\n bottom : 'bottom',\n visible : 'visible'\n },\n\n selector: {\n fixed : '.fixed',\n omitted : 'script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed',\n pusher : '.pusher',\n sidebar : '.ui.sidebar'\n },\n\n regExp: {\n ios : /(iPad|iPhone|iPod)/g,\n mobileChrome : /(CriOS)/g,\n 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\n },\n\n error : {\n method : 'The method you called is not defined.',\n pusher : 'Had to add pusher element. For optimal performance make sure body content is inside a pusher element',\n movedSidebar : 'Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag',\n overlay : 'The overlay setting is no longer supported, use animation: overlay',\n notFound : 'There were no elements that matched the specified selector'\n }\n\n};\n\n\n})( jQuery, window, document );\n"]}