forked from ClickerMonkey/SemanticUI-Angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular-semantic-ui.min.js.map
9 lines (9 loc) · 120 KB
/
angular-semantic-ui.min.js.map
1
2
3
4
5
6
7
8
9
/**
* semantic-ui-angular-jquery - 0.2.4
* Angular Directives for Semantic UI
*
* https://github.com/ClickerMonkey/SemanticUI-Angular
* Released under the MIT license.
* Copyright 2017 Philip Diffenderfer and contributors.
*/
{"version":3,"sources":["sm.js","sm-core.js","checkbox/sm-checkbox.js","checkbox/sm-radio.js","accordion/sm-accordion.js","comment/sm-comment.js","dropdown/sm-dropdown.js","embed/sm-embed.js","list/sm-list.js","menu/sm-menu.js","modal/sm-modal.js","popup/sm-popup.js","progress/sm-progress.js","rating/sm-rating.js","search/sm-search.js","dimmer/sm-dimmer.js","shape/sm-shape.js","sidebar/sm-sidebar.js","sticky/sm-sticky.js","tab/sm-tab.js","timeago/sm-timeago.js","transition/sm-transition.js"],"names":["angular","module","app","SemanticUIFactory","$compile","SemanticUI","setDefaultFunction","scope","variable","attributes","func","triggerChange","element","initialized","$watch","updated","$evalAsync","trigger","bindAttribute","attribute","attr","onEvent","settings","evt","existing","undefined","result0","isFunction","apply","this","arguments","result1","linkEvents","defaults","linkings","scopeValue","linkSettings","settingsAttribute","forEach","value","key","createBind","restrict","link","initBind","ready","input","$eval","createBehavior","method","initBehavior","$","enabled","previousEvent","isString","isObject","isDefined","off","on","watcher","expression","context","force","equals","currentValue","copy","call","set","update","RecursiveCompiler","postLink","post","compiledContents","contents","remove","pre","clone","append","SemanticButton","replace","transclude","template","SemanticItem","icon","SemanticFlatMenu","join","SemanticHtml","$injector","sanitize","$sce","get","getTrustedHtml","trustAsHtml","e","attrs","smHtml","html","factory","directive","SemanticCheckboxBind","SemanticCheckbox","SemanticCheckboxLink","model","label","indeterminateValue","checkedValue","uncheckedValue","children","onInit","onChange","onChecked","onIndeterminate","onDeterminate","onUnchecked","onEnable","onDisable","enabledWatcher","checkbox","modelWatcher","fn","$children","settingChildren","change","checked","each","i","child","length","BEHAVIORS","smCheckboxToggle","smCheckboxCheck","smCheckboxUncheck","smCheckboxIndeterminate","smCheckboxDeterminate","smCheckboxEnable","smCheckboxDisable","SemanticRadioBind","SemanticRadio","SemanticRadioLink","name","hasClass","removeClass","smRadioCheck","smRadioEnable","smRadioDisable","SemanticAccordionBind","SemanticAccordion","SemanticAccordionLink","onOpening","onOpen","onClosing","onClose","accordion","SemanticAccordionGroup","required","title","active","smAccordionOpen","smAccordionCloseOthers","smAccordionClose","smAccordionToggle","SemanticComments","comments","content","avatar","author","date","replies","reply","collapsible","onAuthor","onReply","onShowReplies","onHideReplies","controller","compile","SemanticCommentsController","$scope","setCollapsed","comment","$event","collapse","$isCollapsed","hasReplies","getReplyCount","getShowRepliesText","count","getHideRepliesText","SemanticDropdownBind","SemanticDropdown","SemanticDropdownLink","items","defaultText","emptyValue","onAdd","onRemove","onLabelCreate","onLabelSelect","onNoResults","onShow","onHide","SemanticDropdownController","hashMap","getValue","item","getKey","$$hashKey","isEmpty","translateValue","translated","matching","findMatchingItem","hasDefault","getDefaultText","updateHashMap","$timeout","applyValue","dropdown","Array","translatedValue","push","locals","ignoreChange","modelArray","mapped","mappedValue","indexOf","inArray","splice","smDropdownToggle","smDropdownShow","smDropdownHide","smDropdownClear","smDropdownHideOthers","smDropdownRestoreDefaults","smDropdownRestoreDefaultText","smDropdownRestoreDefaultValue","smDropdownSaveDefaults","smDropdownSetSelected","smDropdownSetText","smDropdownSetValue","smDropdownBindTouchEvents","smDropdownMouseEvents","smDropdownBindIntent","smDropdownUnbindIntent","smDropdownSetActive","smDropdownSetVisible","smDropdownRemoveActive","smDropdownRemoveVisible","SemanticEmbedBind","SemanticEmbed","SemanticEmbedLink","source","sourceId","url","placeholder","onCreate","onDisplay","onPlaceholderDisplay","onEmbed","id","embed","smEmbedReset","smEmbedShow","smEmbedHide","smEmbedDestroy","SemanticList","SemanticListLink","description","image","header","headerHref","onHeader","has","headerLink","getChildCount","SemanticMenu","onClick","hidden","divider","SemanticMenuController","hasChildren","getChildren","getLabel","getIcon","getDescription","isHidden","isDivider","SemanticModalBind","SemanticModal","SemanticModalLink","visible","onVisible","onHidden","onApprove","onDeny","visibleWatcher","modal","smModalShow","smModalHide","smModalToggle","smModalRefresh","smModalShowDimmer","smModalHideDimmer","smModalHideOthers","smModalHideAll","smModalCacheSizes","smModalSetActive","SemanticPopup","SemanticPopupLink","smPopup","smPopupTitle","smPopupHtml","smPopupPosition","smPopupVariation","smPopupSettings","smPopupOnInit","smPopupOnCreate","smPopupOnRemove","smPopupOnShow","smPopupOnVisible","smPopupOnHide","smPopupOnHidden","popup","SemanticPopupInline","SemanticPopupInlineLink","smPopupInline","smPopupInlineOnInit","smPopupInlineOnCreate","smPopupInlineOnRemove","smPopupInlineOnShow","smPopupInlineOnVisible","smPopupInlineOnHide","smPopupInlineOnHidden","inline","SemanticPopupDisplay","SemanticPopupDisplayLink","smPopupDisplay","smPopupDisplaySettings","smPopupDisplayOnInit","smPopupDisplayOnCreate","smPopupDisplayOnRemove","smPopupDisplayOnShow","smPopupDisplayOnVisible","smPopupDisplayOnHide","smPopupDisplayOnHidden","SemanticPopupDetached","smPopupShow","smPopupHide","smPopupHideAll","smPopupToggle","smPopupReposition","smPopupDestroy","smPopupRemove","SemanticProgress","SemanticProgressLink","total","activeText","successText","errorText","warningText","duration","onSuccess","onActive","onError","onWarning","addText","property","text","progress","showActivity","smProgressIncrement","SemanticRatingBind","SemanticRating","SemanticRatingLink","type","disabled","onRate","rating","valueWatcher","smRatingSet","smRatingDisable","smRatingEnable","smRatingClear","SemanticSearchBind","SemanticSearch","SemanticSearchLink","category","local","remote","onSelect","onResultsAdd","onSearchQuery","onResults","onResultsOpen","onResultsClose","defaultTitle","search","fields","textProperty","apiSettings","result","response","smSearchQuery","smSearchCancelQuery","smSearchSearchLocal","smSearchSearchRemote","smSearchSet","smSearchShowResults","smSearchHideResults","smSearchDestroy","SemanticDimmerBind","SemanticDimmer","SemanticDimmerLink","dimmer","smDimmerShow","smDimmerHide","smDimmerToggle","SemanticShapeBind","SemanticShape","SemanticShapeLink","onBeforeChange","shape","smShapeFlipUp","smShapeFlipDown","smShapeFlipLeft","smShapeFlipRight","smShapeFlipOver","smShapeFlipBack","smShapeSetNextSide","smShapeReset","smShapeQueue","smShapeRepaint","smShapeSetDefaultSide","smShapeSetStageSize","smShapeRefresh","SemanticSidebarBind","SemanticSidebar","SemanticSidebarLink","sidebar","pusher","insertBefore","smSidebarShow","smSidebarHide","smSidebarToggle","smSidebarPushPage","smSidebarPullPage","smSidebarAddBodyCss","smSidebarRemoveBodyCss","SemanticStickyBind","SemanticSticky","SemanticStickyLink","onReposition","onScroll","onStick","onUnstick","onTop","onBottom","sticky","smStickyRefresh","SemanticTabBind","SemanticTabMenu","SemanticTabMenuLink","tabs","setActiveTab","tab","elements","hasActive","activeWatcher","SemanticTab","smTabSet","SemanticTimeAgo","getTime","hours","getHours","minutes","getMinutes","minutesPadded","HOURS","getTh","x","THS","getDaysAgo","Math","ceil","Date","MONTHS","timeout","updateText","now","today","getFullYear","getMonth","getDate","yesterday","elapsed","updateIn","minutesAgo","floor","daysAgo","clearTimeout","setTimeout","smTimeAgo","SemanticTransition","SemanticTransitionLink","smTransition","smTransitionEvents","smTransitionOther","transition"],"mappings":"AACAA,QAAAC,OAAA,eACA,mBACA,wBACA,uBACA,oBACA,sBACA,qBACA,uBACA,oBACA,mBACA,mBACA,oBACA,oBACA,uBACA,qBACA,qBACA,oBACA,sBACA,qBACA,kBACA,yBACA,wBCtBA,SAAAC,GAWA,QAAAC,GAAAC,GAEA,GAAAC,IAEAC,mBAAA,SAAAC,EAAAC,EAAAC,EAAAC,GAEAD,EAAAD,KAEAD,EAAAC,GAAAE,IAGAC,cAAA,SAAAJ,EAAAC,EAAAI,EAAAC,GAEAN,EAAAO,OAAAN,EAAA,SAAAO,GAGAF,GAIAN,EAAAS,WAAA,WAEAJ,EAAAK,QAAA,YAIAJ,GAAA,KAGA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gBAAAF,EAAAE,gBACA3H,GAAA,IAAAzU,EAAAoc,eAEA3H,GAAA,OAAAwG,EAAAjb,EACA,IAAA4c,GAAAjB,EAAA3b,EACA4c,IAAA,KACAnI,GAAA,KAAAkH,EAAA3b,GAAA,cAIA3B,EAAAoW,KAAAA,GAEAuH,IAEAa,aAAAb,GACAA,GAAA,GAGAS,IAEAT,EAAAc,WAAA,WAEAd,GAAA,EACAC,KAEAQ,IAIAze,GAAAO,OAAAL,EAAA6e,UAAA,SAAAve,GAEAwB,EAAA,GAAA8b,MAAAtd,GACAyd,QAjHAte,EACAgG,UAAA,YAAAqX,IAsHAvd,QAAAC,OAAA,uBAAA,sBC1HA,SAAAC,GAUA,QAAAqf,GAAAC,GAEA,OAEA9c,SAAA,IAEAnC,OACAkf,aAAA,IACAC,mBAAA,IACAC,kBAAA,KAGAhd,KAAA6c,GAIA,QAAAA,GAAAnf,GAEA,MAAA,UAAAE,EAAAK,EAAAH,GAEAF,EAAAmf,mBAAAnf,EAAAmf,oBAAA,QAEA9e,EAAA8C,GAAAnD,EAAAmf,mBAAA,YAEAnf,EAAAof,kBAAAxc,EAAA5C,EAAAof,mBAAA/e,GAAAgf,WAAArf,EAAAkf,iBA7BAvf,EACA+F,QAAA,0BAAA,aAAAuZ,IACAtZ,UAAA,gBAAA,yBAAAqZ,KAgCAvf,QAAAC,OAAA,0BAAA","file":"angular-semantic-ui.min.js","sourcesContent":["\nangular.module('semantic-ui', [\n 'semantic-ui-core',\n 'semantic-ui-accordion',\n 'semantic-ui-checkbox',\n 'semantic-ui-radio',\n 'semantic-ui-comment',\n 'semantic-ui-dimmer',\n 'semantic-ui-dropdown',\n 'semantic-ui-embed',\n 'semantic-ui-list',\n 'semantic-ui-menu',\n 'semantic-ui-modal',\n 'semantic-ui-popup',\n 'semantic-ui-progress',\n 'semantic-ui-rating',\n 'semantic-ui-search',\n 'semantic-ui-shape',\n 'semantic-ui-sidebar',\n 'semantic-ui-sticky',\n 'semantic-ui-tab',\n 'semantic-ui-transition',\n 'semantic-ui-timeago'\n]);\n","(function(app)\n{\n\n app\n .factory('SemanticUI', ['$compile', SemanticUIFactory])\n .directive('smButton', SemanticButton)\n .directive('smMenuItem', SemanticItem)\n .directive('smFlatMenu', SemanticFlatMenu)\n .directive('smHtml', ['$injector', SemanticHtml])\n ;\n\n function SemanticUIFactory($compile)\n {\n var SemanticUI =\n {\n setDefaultFunction: function(scope, variable, attributes, func)\n {\n if ( !attributes[ variable ] )\n {\n scope[ variable ] = func;\n }\n },\n triggerChange: function(scope, variable, element, initialized)\n {\n scope.$watch( variable, function(updated)\n {\n // Don't trigger the change event if the element hasn't been initialized.\n if ( initialized )\n {\n // Trigger the change event during a digest cycle so any other\n // variables that are changing this current digest cycle can finish.\n scope.$evalAsync(function()\n {\n element.trigger('change');\n });\n }\n\n initialized = true;\n })\n },\n bindAttribute: function(scope, variable, element, attribute)\n {\n scope.$watch( variable, function(updated)\n {\n element.attr( attribute, updated );\n });\n },\n onEvent: function(settings, evt, func)\n {\n settings[ evt ] = (function(existing, undefined)\n {\n return function EventHandler()\n {\n var result0 = undefined;\n\n if ( angular.isFunction( existing ) )\n {\n result0 = existing.apply( this, arguments );\n }\n\n var result1 = func.apply( this, arguments );\n\n return ( result0 !== undefined ? result0 : result1 );\n }\n })( settings[ evt ] );\n },\n linkEvents: function(scope, settings, defaults, linkings)\n {\n for (var evt in linkings)\n {\n (function(variable, evt)\n {\n SemanticUI.onEvent( settings, evt, function()\n {\n var scopeValue = scope[ variable ];\n\n if ( angular.isFunction( scopeValue ) )\n {\n return scopeValue.apply( this, arguments );\n }\n else if ( angular.isFunction( defaults[ evt ] ) )\n {\n return defaults[ evt ].apply( this, arguments );\n }\n });\n\n })( linkings[ evt ], evt );\n }\n },\n linkSettings: function(scope, element, attributes, module, initialized, settingsAttribute)\n {\n var settings = settingsAttribute || 'settings';\n\n if ( settings in attributes )\n {\n scope.$watch( settings, function( updated )\n {\n if ( initialized )\n {\n angular.forEach( updated, function(value, key)\n {\n element[ module ]( 'setting', key, value );\n });\n }\n\n initialized = true;\n\n }, true );\n }\n },\n createBind: function(attribute, module)\n {\n return {\n\n restrict: 'A',\n\n link: function(scope, element, attributes)\n {\n SemanticUI.linkSettings( scope, element, attributes, module, false, attribute );\n SemanticUI.initBind( scope, element, attributes, attribute, module );\n }\n };\n },\n initBind: function(scope, element, attributes, attribute, module)\n {\n element.ready(function()\n {\n var settings = {};\n var input = attributes[ attribute ];\n\n if ( input )\n {\n settings = scope.$eval( input );\n }\n\n element[ module ]( settings );\n });\n },\n createBehavior: function(attribute, module, method)\n {\n return {\n\n restrict: 'A',\n\n link: function(scope, element, attributes)\n {\n SemanticUI.initBehavior( scope, attributes, attribute, element, module, method );\n }\n };\n },\n initBehavior: function(scope, attributes, attribute, element, module, method)\n {\n // Default settings on the attribute.\n var settings = {\n $: undefined,\n evt: 'click',\n enabled: true,\n value: undefined\n };\n\n var onEvent = function()\n {\n // If the trigger is currently enabled...\n if ( settings.enabled )\n {\n // Call the method on the module.\n $( settings.$ )[ module ]( method, settings.value );\n }\n };\n\n var previousEvent = false;\n\n scope.$watch( attributes[ attribute ], function(input)\n {\n // If the attribute value is a string, take it as the selector\n if ( angular.isString( input ) )\n {\n settings.$ = input;\n }\n // If the attribute value is an object, overwrite the defaults.\n else if ( angular.isObject( input ) )\n {\n if ( !angular.isString( input.evt ) ) input.evt = settings.evt;\n if ( !angular.isDefined( input.enabled ) ) input.enabled = settings.enabled;\n\n settings = input;\n }\n\n if ( previousEvent )\n {\n element.off( previousEvent, onEvent );\n }\n\n element.on( previousEvent = settings.evt, onEvent );\n\n }, true );\n },\n watcher: function (scope, expression, func, context, force, equals) \n {\n var currentValue = angular.copy(scope[expression]);\n\n scope.$watch(expression, function (updated) \n {\n if (expression != 'model' || !angular.equals(currentValue, updated)) \n {\n func.call(context, updated);\n }\n\n }, equals);\n\n return {\n set: function (value) \n {\n if (scope[expression] != value || force) \n {\n scope.$evalAsync(function () \n {\n scope[expression] = value;\n currentValue = angular.copy(scope[expression]);\n });\n }\n },\n update: function () \n {\n scope.$evalAsync(function () \n {\n });\n }\n }\n },\n RecursiveCompiler: function(postLink)\n {\n return function(element, link)\n {\n // Normalize the link parameter\n if( angular.isFunction( link ) )\n {\n link = { post: link };\n }\n\n // Break the recursion loop by removing the contents\n var contents = element.contents().remove();\n var compiledContents;\n\n return {\n pre: (link && link.pre) ? link.pre : null,\n /**\n * Compiles and re-adds the contents\n */\n post: function(scope, element)\n {\n // Compile the contents\n if( !compiledContents )\n {\n compiledContents = $compile(contents);\n }\n\n // Re-add the compiled contents to the element\n compiledContents( scope, function(clone)\n {\n element.append(clone);\n });\n\n // Call the post-linking function, if any\n if ( link && link.post )\n {\n link.post.apply( null, arguments );\n }\n\n if ( angular.isFunction( postLink ) )\n {\n postLink.apply( null, arguments );\n }\n }\n };\n };\n }\n };\n\n return SemanticUI;\n }\n\n function SemanticButton()\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n template: '<button class=\"ui button\" ng-transclude></button>'\n };\n }\n\n function SemanticItem()\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n icon: '@'\n },\n\n template: '<a class=\"item\"><i class=\"{{ icon }} icon\" ng-if=\"icon\"></i><span ng-transclude></span></a>'\n }\n }\n\n function SemanticFlatMenu()\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n template: [\n '<div class=\"menu\">',\n ' <div class=\"item\" ng-repeat=\"item in items\" data-value=\"{{ getValue(item) }}\" sm-html=\"label({item:item})\"></div>',\n '</div>'\n ].join('\\n')\n }\n }\n\n function SemanticHtml($injector)\n {\n var sanitize = function(value)\n {\n return value;\n };\n\n try\n {\n $sce = $injector.get('$sce');\n\n sanitize = function(value)\n {\n return $sce.getTrustedHtml( $sce.trustAsHtml( value ) );\n };\n }\n catch (e)\n {\n // ignore\n }\n\n return function(scope, element, attrs)\n {\n scope.$watch( attrs.smHtml, function(value)\n {\n element.html( sanitize( value || '' ) );\n });\n };\n }\n\n})( angular.module('semantic-ui-core', []) );\n","(function(app)\n{\n\n app\n .factory('SemanticCheckboxLink', ['SemanticUI', SemanticCheckboxLink])\n .directive('smCheckboxBind', ['SemanticUI', SemanticCheckboxBind])\n .directive('smCheckbox', ['SemanticCheckboxLink', SemanticCheckbox])\n ;\n\n var BEHAVIORS = {\n smCheckboxToggle: 'toggle',\n smCheckboxCheck: 'check',\n smCheckboxUncheck: 'uncheck',\n smCheckboxIndeterminate: 'indeterminate',\n smCheckboxDeterminate: 'determinate',\n smCheckboxEnable: 'enable',\n smCheckboxDisable: 'disable'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'checkbox', method );\n }]);\n });\n\n function SemanticCheckboxBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smCheckboxBind', 'checkbox' );\n }\n\n function SemanticCheckbox(SemanticCheckboxLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Required */\n model: '=',\n label: '@',\n /* Optional */\n settings: '=',\n enabled: '=',\n indeterminateValue: '=',\n checkedValue: '=',\n uncheckedValue: '=',\n children: '@',\n onInit: '=',\n /* Events */\n onChange: '=',\n onChecked: '=',\n onIndeterminate: '=',\n onDeterminate: '=',\n onUnchecked: '=',\n onEnable: '=',\n onDisable: '='\n },\n\n template: [\n '<div class=\"ui checkbox\">',\n ' <input type=\"checkbox\">',\n ' <label>{{ label }}</label>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticCheckboxLink\n };\n }\n\n function SemanticCheckboxLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n element.ready(function()\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'checkbox', true );\n\n SemanticUI.triggerChange( scope, 'model', element, true );\n\n var checkedValue = function() {\n return angular.isDefined( scope.checkedValue ) ? scope.checkedValue : true;\n };\n var uncheckedValue = function() {\n return angular.isDefined( scope.uncheckedValue ) ? scope.uncheckedValue : false;\n };\n var indeterminateValue = function() {\n return angular.isDefined( scope.indeterminateValue ) ? scope.indeterminateValue : void 0;\n };\n\n if ( attributes.enabled )\n {\n var enabledWatcher = SemanticUI.watcher( scope, 'enabled',\n function(updated) {\n if ( angular.isDefined( updated ) ) {\n element.checkbox( updated ? 'set enabled' : 'set disabled' );\n }\n }\n );\n\n SemanticUI.onEvent( settings, 'onEnable',\n function(value) {\n enabledWatcher.set( true );\n }\n );\n\n SemanticUI.onEvent( settings, 'onDisable',\n function(value) {\n enabledWatcher.set( false );\n }\n );\n }\n\n var modelWatcher = SemanticUI.watcher( scope, 'model',\n function(updated) {\n if ( angular.isDefined( updated ) ) {\n element.checkbox( updated ? 'set checked' : 'set unchecked' );\n }\n }\n );\n\n SemanticUI.onEvent( settings, 'onChecked',\n function() {\n modelWatcher.set( checkedValue() );\n }\n );\n\n SemanticUI.onEvent( settings, 'onUnchecked',\n function() {\n modelWatcher.set( uncheckedValue() );\n }\n );\n\n SemanticUI.onEvent( settings, 'onIndeterminate',\n function() {\n modelWatcher.set( indeterminateValue() );\n }\n );\n\n SemanticUI.linkEvents( scope, settings, $.fn.checkbox.settings, {\n onChange: 'onChange',\n onChecked: 'onChecked',\n onIndeterminate: 'onIndeterminate',\n onDeterminate: 'onDeterminate',\n onUnchecked: 'onUnchecked',\n onEnable: 'onEnable',\n onDisable: 'onDisable'\n });\n\n // If the checkbox has children, link the value of this checkbox to the children\n if ( scope.children )\n {\n var $children = $( scope.children );\n var settingChildren = false;\n\n SemanticUI.onEvent( settings, 'onChecked',\n function() {\n settingChildren = true;\n $children.checkbox( 'check' );\n settingChildren = false;\n }\n );\n SemanticUI.onEvent( settings, 'onUnchecked',\n function() {\n settingChildren = true;\n $children.checkbox( 'uncheck' );\n settingChildren = false;\n }\n );\n\n $children.children('input[type=checkbox], input[type=radio]')\n .change(function() {\n\n if ( settingChildren ) {\n return;\n }\n\n var checked = 0;\n\n $children.each(function(i, child) {\n if ( $( child ).checkbox( 'is checked') ) {\n checked++;\n }\n });\n\n if ( checked === 0 ) {\n element.checkbox( 'uncheck' );\n }\n else if ( checked === $children.length ) {\n element.checkbox( 'check' );\n }\n else {\n element.checkbox( 'indeterminate' );\n }\n })\n ;\n }\n\n // Initialize the element with the given settings.\n element.checkbox( settings );\n\n // Set initial state of the checkbox\n if ( scope.model == checkedValue() )\n {\n element.checkbox( 'set checked' );\n }\n else if ( scope.model === indeterminateValue() )\n {\n element.checkbox( 'set indeterminate' );\n }\n\n if ( angular.isDefined( scope.enabled ) && !scope.enabled )\n {\n element.checkbox( 'set disabled' );\n }\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n });\n };\n }\n\n})( angular.module('semantic-ui-checkbox', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticRadioLink', ['SemanticUI', SemanticRadioLink])\n .directive('smRadioBind', ['SemanticUI', SemanticRadioBind])\n .directive('smRadio', ['SemanticRadioLink', SemanticRadio])\n ;\n\n var BEHAVIORS = {\n smRadioCheck: 'check',\n smRadioEnable: 'enable',\n smRadioDisable: 'disable'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'checkbox', method );\n }]);\n });\n\n function SemanticRadioBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smRadioBind', 'checkbox' );\n }\n\n function SemanticRadio(SemanticRadioLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Required */\n model: '=',\n label: '@',\n name: '@',\n value: '=',\n /* Optional */\n settings: '=',\n enabled: '=',\n onInit: '=',\n /* Events */\n onChange: '=',\n onChecked: '=',\n onUnchecked: '=',\n onEnable: '=',\n onDisable: '='\n },\n\n template: [\n '<div class=\"ui radio checkbox\">',\n ' <input name=\"{{ name }}\" type=\"radio\">',\n ' <label>{{ label }}</label>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticRadioLink\n };\n }\n\n function SemanticRadioLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n element.ready(function()\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'checkbox', true );\n\n SemanticUI.triggerChange( scope, 'model', element, true );\n\n if ( attributes.enabled )\n {\n var enabledWatcher = SemanticUI.watcher( scope, 'enabled',\n function(updated) {\n if ( angular.isDefined( updated ) ) {\n element.checkbox( updated ? 'set enabled' : 'set disabled' );\n }\n }\n );\n\n SemanticUI.onEvent( settings, 'onEnable',\n function(value) {\n enabledWatcher.set( true );\n }\n );\n\n SemanticUI.onEvent( settings, 'onDisable',\n function(value) {\n enabledWatcher.set( false );\n }\n );\n }\n\n var modelWatcher = SemanticUI.watcher( scope, 'model',\n function(updated) {\n if ( updated === scope.value ) {\n element.checkbox( 'set checked' );\n }\n }\n );\n\n SemanticUI.onEvent( settings, 'onChecked',\n function() {\n modelWatcher.set( scope.value );\n }\n );\n\n SemanticUI.linkEvents( scope, settings, $.fn.checkbox.settings, {\n onChange: 'onChange',\n onChecked: 'onChecked',\n onUnchecked: 'onUnchecked',\n onEnable: 'onEnable',\n onDisable: 'onDisable'\n });\n\n // Initialize the element with the given settings.\n element.checkbox( settings );\n\n // Set initial state of the radio\n if ( scope.model === scope.value )\n {\n element.checkbox( 'set checked' );\n }\n\n // If the radio is a slider, remove the radio class\n if ( element.hasClass( 'slider' ) )\n {\n element.removeClass( 'radio' );\n }\n\n if ( angular.isDefined( scope.enabled ) && !scope.enabled )\n {\n element.checkbox( 'set disabled' );\n }\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n });\n };\n }\n\n})( angular.module('semantic-ui-radio', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticAccordionLink', ['SemanticUI', SemanticAccordionLink])\n .directive('smAccordionBind', ['SemanticUI', SemanticAccordionBind])\n .directive('smAccordion', ['SemanticAccordionLink', SemanticAccordion])\n .directive('smAccordionGroup', SemanticAccordionGroup)\n ;\n\n var BEHAVIORS = {\n smAccordionOpen: 'open',\n smAccordionCloseOthers: 'close others',\n smAccordionClose: 'close',\n smAccordionToggle: 'toggle'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'accordion', method );\n }]);\n });\n\n function SemanticAccordionBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smAccordionBind', 'accordion' );\n }\n\n function SemanticAccordion(SemanticAccordionLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Optional */\n settings: '=',\n onInit: '=',\n /* Events */\n onOpening: '=',\n onOpen: '=',\n onClosing: '=',\n onClose: '=',\n onChange: '='\n },\n\n template: '<div class=\"ui accordion\" ng-transclude></div>',\n\n link: SemanticAccordionLink\n };\n }\n\n function SemanticAccordionLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n element.ready(function()\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'accordion', true );\n\n SemanticUI.linkEvents( scope, settings, $.fn.accordion.settings, {\n onOpening: 'onOpening',\n onOpen: 'onOpen',\n onClosing: 'onClosing',\n onClose: 'onClose',\n onChange: 'onChange'\n });\n\n element.accordion( settings );\n\n if ( angular.isFunction( scope.onInit ) )\n {\n scope.onInit( element );\n }\n });\n };\n }\n\n function SemanticAccordionGroup()\n {\n return {\n restrict: 'E',\n required: 'title',\n transclude: true,\n scope: {\n /* Required */\n title: '=',\n /* Optional */\n active: '='\n },\n template: [\n '<div class=\"title\" ng-class=\"{active: active}\">',\n ' <i class=\"dropdown icon\"></i>',\n ' {{ title }}',\n '</div>',\n '<div class=\"content\" ng-class=\"{active: active}\" ng-transclude>',\n '</div>'\n ].join('\\n')\n }\n }\n\n})( angular.module('semantic-ui-accordion', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .controller('SemanticCommentsController', ['$scope', SemanticCommentsController])\n .directive('smComments', ['SemanticUI', SemanticComments])\n ;\n\n function SemanticComments(SemanticUI)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n // transclude: true,\n\n scope: {\n /* Required */\n comments: '=',\n content: '&',\n /* Optional */\n avatar: '&',\n author: '&',\n date: '&',\n replies: '&',\n reply: '=',\n collapsible: '=',\n\n onAuthor: '&',\n onReply: '&',\n onShowReplies: '&',\n onHideReplies: '&'\n },\n\n template: [\n '<div class=\"ui comments\">',\n ' <div class=\"comment\" ng-repeat=\"c in comments\" ng-init=\"$ = {comment: c}; c.$isCollapsed = true;\">',\n ' <a ng-if=\"avatar($)\" class=\"avatar\" ng-click=\"onAuthor({comment: c, $event: $event})\">',\n ' <img ng-src=\"{{ avatar($) }}\">',\n ' </a>',\n ' <div class=\"content\">',\n ' <a class=\"author\" ng-click=\"onAuthor({comment: c, $event: $event})\" sm-html=\"author($)\"></a>',\n ' <div class=\"metadata\">',\n ' <span class=\"date\" sm-time-ago=\"date($)\"></span>',\n ' </div>',\n ' <div class=\"text\" sm-html=\"content($)\"></div>',\n ' <div class=\"actions\">',\n ' <a class=\"reply\" ng-click=\"onReply({comment: c, $event: $event})\" ng-if=\"reply\">Reply</a>',\n ' <a class=\"show-replies\" ng-if=\"reply && collapsible && c.$isCollapsed\" href ng-click=\"setCollapsed(c, $event, false)\" sm-html=\"getShowRepliesText($)\"></a>',\n ' <a class=\"hide-replies\" ng-if=\"reply && collapsible && !c.$isCollapsed\" href ng-click=\"setCollapsed(c, $event, true)\" sm-html=\"getHideRepliesText($)\"></a>',\n ' </div>',\n ' </div>',\n ' <sm-comments ng-if=\"hasReplies($)\" ng-class=\"{collapsed: collapsible && c.$isCollapsed}\" comments=\"replies($)\" content=\"content({comment: comment})\" avatar=\"avatar({comment: comment})\" author=\"author({comment: comment})\" date=\"date({comment: comment})\" replies=\"replies({comment: comment})\" reply=\"reply\" collapsible=\"collapsible\"',\n ' on-author=\"onAuthor({comment: comment, $event: $event})\" on-reply=\"onReply({comment: comment, $event: $event})\" on-show-replies=\"onShowReplies({comment: comment, $event: $event})\" on-hide-replies=\"onHideReplies({comment: comment, $event: $event})\"></sm-comments>',\n ' </div>',\n '</div>'\n ].join('\\n'),\n\n controller: 'SemanticCommentsController',\n\n compile: SemanticUI.RecursiveCompiler()\n\n };\n }\n\n function SemanticCommentsController($scope)\n {\n $scope.setCollapsed = function(comment, $event, collapse)\n {\n var $ = {comment: comment, $event: $event};\n\n if ( comment.$isCollapsed != collapse )\n {\n if ( comment.$isCollapsed )\n {\n if ( $scope.onShowReplies($) !== false )\n {\n comment.$isCollapsed = false;\n }\n }\n else\n {\n if ( $scope.onHideReplies($) !== false )\n {\n comment.$isCollapsed = true;\n }\n }\n }\n };\n\n $scope.hasReplies = function($)\n {\n if ( !$scope.reply )\n {\n return false;\n }\n\n var replies = $scope.replies($);\n\n return replies && replies.length;\n };\n\n $scope.getReplyCount = function($)\n {\n if ( !$scope.reply )\n {\n return false;\n }\n\n var replies = $scope.replies($);\n\n return replies ? replies.length : 0;\n };\n\n $scope.getShowRepliesText = function($)\n {\n var count = $scope.getReplyCount($);\n\n return count === 0 ? '' : (count === 1 ? 'Show Reply' : 'Show Replies (' + count + ')');\n };\n\n $scope.getHideRepliesText = function($)\n {\n var count = $scope.getReplyCount($);\n\n return count === 0 ? '' : (count === 1 ? 'Hide Reply' : 'Hide Replies (' + count + ')');\n };\n }\n\n})( angular.module('semantic-ui-comment', ['semantic-ui-core', 'semantic-ui-timeago']) );\n","(function(app)\n{\n\n app\n .controller('SemanticDropdownController', ['$scope', SemanticDropdownController])\n .factory('SemanticDropdownLink', ['SemanticUI', '$timeout', SemanticDropdownLink])\n .directive('smDropdownBind', ['SemanticUI', SemanticDropdownBind])\n .directive('smDropdown', ['SemanticDropdownLink', SemanticDropdown])\n ;\n\n var BEHAVIORS = {\n smDropdownToggle: 'toggle',\n smDropdownShow: 'show',\n smDropdownHide: 'hide',\n smDropdownClear: 'clear',\n smDropdownHideOthers: 'hide others',\n smDropdownRestoreDefaults: 'restore defaults',\n smDropdownRestoreDefaultText: 'restore default text',\n smDropdownRestoreDefaultValue: 'restore default value',\n smDropdownSaveDefaults: 'save defaults',\n smDropdownSetSelected: 'set selected',\n smDropdownSetText: 'set text',\n smDropdownSetValue: 'set value',\n smDropdownBindTouchEvents: 'bind touch events',\n smDropdownMouseEvents: 'mouse events',\n smDropdownBindIntent: 'bind intent',\n smDropdownUnbindIntent: 'unbind intent',\n smDropdownSetActive: 'set active',\n smDropdownSetVisible: 'set visible',\n smDropdownRemoveActive: 'remove active',\n smDropdownRemoveVisible: 'remove visible'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'dropdown', method );\n }]);\n });\n\n function SemanticDropdownBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smDropdownBind', 'dropdown' );\n }\n\n function SemanticDropdown(SemanticDropdownLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Required */\n model: '=',\n items: '=',\n label: '&',\n value: '&',\n /* Optional */\n settings: '=',\n defaultText: '=',\n onInit: '=',\n emptyValue: '=',\n /* Events */\n onChange: '=',\n onAdd: '=',\n onRemove: '=',\n onLabelCreate: '=',\n onLabelSelect: '=',\n onNoResults: '=',\n onShow: '=',\n onHide: '='\n },\n\n template: [\n '<div class=\"ui dropdown\">',\n '<i class=\"dropdown icon\"></i>',\n '<div class=\"text\" ng-class=\"::{default: hasDefault()}\" sm-html=\"::getDefaultText()\"></div>',\n '<sm-flat-menu></sm-flat-menu>',\n '</div>'\n ].join('\\n'),\n\n controller: 'SemanticDropdownController',\n\n link: SemanticDropdownLink\n };\n }\n\n function SemanticDropdownController($scope)\n {\n var hashMap = {};\n\n // Returns the value to be placed in the data-value attribute. If the computed value has a $$hashKey,\n // then return the hashKey. This enables the exact instance of the item to be set to the model.\n $scope.getValue = function(item)\n {\n // Computes the value given the expression in the 'value' attribute\n return $scope.getKey( $scope.value( {item: item} ) );\n };\n\n $scope.getKey = function(value)\n {\n return (value ? value.$$hashKey || value : value) + '';\n };\n\n $scope.isEmpty = function()\n {\n return !$scope.model || $scope.model.length === 0;\n };\n\n // Translates the value (the model, an item of the model, or a variable\n // created from the value function) into the key that's stored on the dropdown.\n $scope.translateValue = function(value)\n {\n var translated = $scope.getKey( value );\n var matching = $scope.findMatchingItem( translated );\n\n if ( angular.isDefined( matching ) )\n {\n return $scope.getValue( matching );\n }\n };\n\n // Determines whether this dropdown should currently display the default text.\n $scope.hasDefault = function()\n {\n return ( $scope.defaultText && $scope.isEmpty() );\n };\n\n // Gets the current text for the drop down. If the current model has a value which is found\n // in the items, the appropriate item's label is displayed. Otherwise return the default text.\n $scope.getDefaultText = function()\n {\n var defaultText = $scope.defaultText ? $scope.defaultText : '';\n return ( $scope.isEmpty() ? defaultText : $scope.translateValue($scope.findMatchingItem($scope.model)) );\n };\n\n // Finds an item instance that has the exact same value as the given value.\n $scope.findMatchingItem = function(value)\n {\n return hashMap[ value ];\n };\n\n // Updates the hash map providing a mapping from values to items.\n $scope.updateHashMap = function( items )\n {\n hashMap = {};\n\n angular.forEach( items, function(item)\n {\n hashMap[ $scope.getValue( item ) ] = item;\n });\n };\n }\n\n function SemanticDropdownLink(SemanticUI, $timeout)\n {\n return function (scope, element, attributes) {\n var applyValue = function (value) {\n $timeout(function () {\n if (value === null) {\n element.dropdown('clear');\n } else if(value === false){\n // Do nothing\n }\n else if (element.dropdown('is multiple')) {\n if (value instanceof Array) {\n var translatedValue = [];\n\n for (var i = 0; i < value.length; i++) {\n var translated = scope.translateValue(value[ i ]);\n\n if (angular.isDefined(translated)) {\n translatedValue.push(translated);\n }\n }\n\n element.dropdown('set exactly', translatedValue);\n }\n } else {\n element.dropdown('set selected', scope.translateValue(value));\n }\n }, 0);\n };\n\n SemanticUI.setDefaultFunction( scope, 'label', attributes, function(locals){return locals.item} );\n SemanticUI.setDefaultFunction( scope, 'value', attributes, function(locals){return locals.item} );\n\n element.ready(function()\n {\n var settings = scope.settings || {};\n var ignoreChange = true;\n\n SemanticUI.linkSettings( scope, element, attributes, 'dropdown', true );\n\n SemanticUI.triggerChange( scope, 'model', element, true );\n\n // Returns the model on the scope, converting it to an array if it's not one.\n var modelArray = function() {\n if ( !(scope.model instanceof Array) ) {\n scope.model = scope.model ? [ scope.model ] : [];\n }\n return scope.model;\n };\n\n // When the model changes, set the value on the drop down\n var modelWatcher = SemanticUI.watcher( scope, 'model',\n function(updated) {\n applyValue( updated );\n }\n , null, true, true );\n\n // Inject an onChange function into the settings which sets the model value\n // and causes the scope to be updated.\n SemanticUI.onEvent( settings, 'onChange',\n function(value) {\n if ( ignoreChange ) {\n return;\n }\n if ( !element.dropdown('is multiple') ) {\n var mapped = scope.findMatchingItem( value );\n if (angular.isDefined(mapped)) {\n var mappedValue = scope.value({item: mapped});\n modelWatcher.set( mappedValue );\n } else if ( element.dropdown('setting', 'allowAdditions') ) {\n modelWatcher.set( value );\n } else {\n modelWatcher.set( scope.emptyValue );\n }\n }\n }\n );\n\n // When a new item is selected for multiple selection dropdowns, add it to the model.\n SemanticUI.onEvent( settings, 'onAdd',\n function(value) {\n if ( ignoreChange ) {\n return;\n }\n var mapped = scope.findMatchingItem( value );\n if (angular.isDefined(mapped)) {\n var mappedValue = scope.value({item: mapped});\n var indexOf = $.inArray( mappedValue, modelArray() );\n if ( indexOf === -1 ) {\n scope.model.push( mappedValue );\n modelWatcher.update();\n }\n } else if ( element.dropdown('setting', 'allowAdditions') ) {\n scope.model.push( value );\n modelWatcher.update();\n }\n }\n );\n\n // When an item is deselected for multiple selection dropdowns, remove it from the model.\n SemanticUI.onEvent( settings, 'onRemove',\n function(value) {\n if ( ignoreChange ) {\n return;\n }\n var mapped = scope.findMatchingItem( value );\n if (angular.isDefined(mapped)) {\n var mappedValue = scope.value({item: mapped});\n var indexOf = $.inArray( mappedValue, modelArray() );\n if ( indexOf !== -1 ) {\n scope.model.splice( indexOf, 1 );\n modelWatcher.update();\n }\n } else {\n var indexOf = $.inArray( value, modelArray() );\n if ( indexOf !== -1 ) {\n scope.model.splice( indexOf, 1 );\n modelWatcher.update();\n }\n }\n }\n );\n\n SemanticUI.linkEvents( scope, settings, $.fn.dropdown.settings, {\n onChange: 'onChange',\n onAdd: 'onAdd',\n onRemove: 'onRemove',\n onLabelCreate: 'onLabelCreate',\n onLabelSelect: 'onLabelSelect',\n onNoResults: 'onNoResults',\n onShow: 'onShow',\n onHide: 'onHide'\n });\n\n // When items changes, rebuild the hashMap & reapply the values.\n scope.$watch( 'items', function( updated )\n {\n scope.updateHashMap( scope.items );\n applyValue( scope.model );\n\n }, true );\n\n // Initialize the element with the given settings.\n element.dropdown( settings );\n\n // Update the hashmap with items\n scope.updateHashMap( scope.items );\n\n // Apply current value\n applyValue( scope.model );\n\n // Save defaults\n element.dropdown( 'save defaults' );\n\n // Stop ignoring changes!\n ignoreChange = false;\n\n // Notify initialized callback.\n if ( angular.isFunction( scope.onInit ) )\n {\n scope.onInit( element );\n }\n\n });\n };\n }\n\n})( angular.module('semantic-ui-dropdown', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticEmbedLink', ['SemanticUI', SemanticEmbedLink])\n .directive('smEmbedBind', ['SemanticUI', SemanticEmbedBind])\n .directive('smEmbed', ['SemanticEmbedLink', SemanticEmbed])\n ;\n\n var BEHAVIORS = {\n smEmbedReset: 'reset',\n smEmbedShow: 'show',\n smEmbedHide: 'hide',\n smEmbedDestroy: 'destroy'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'embed', method );\n }]);\n });\n\n function SemanticEmbedBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smEmbedBind', 'embed' );\n }\n\n function SemanticEmbed(SemanticEmbedLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Optional */\n source: '@',\n sourceId: '@',\n url: '@',\n placeholder: '@',\n icon: '@',\n settings: '=',\n onInit: '=',\n /* Events */\n onCreate: '=',\n onDisplay: '=',\n onPlaceholderDisplay: '=',\n onEmbed: '='\n },\n\n template: '<div class=\"ui embed\"></div>',\n\n link: SemanticEmbedLink\n };\n }\n\n function SemanticEmbedLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'embed' );\n\n if ( scope.source ) settings.source = scope.source;\n if ( scope.sourceId ) settings.id = scope.sourceId;\n if ( scope.placeholder ) settings.placeholder = scope.placeholder;\n if ( scope.icon ) settings.icon = scope.icon;\n if ( scope.url ) settings.url = scope.url;\n\n SemanticUI.linkEvents( scope, settings, $.fn.embed.settings, {\n onCreate: 'onCreate',\n onDisplay: 'onDisplay',\n onPlaceholderDisplay: 'onPlaceholderDisplay',\n onEmbed: 'onEmbed'\n });\n\n element.embed( settings );\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n };\n }\n\n\n})( angular.module('semantic-ui-embed', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticListLink', ['SemanticUI', SemanticListLink])\n .directive('smList', ['SemanticUI', 'SemanticListLink', SemanticList])\n ;\n\n function SemanticList(SemanticUI, SemanticListLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n scope:\n {\n /* Required */\n items: '=',\n /* Optional */\n description: '&',\n icon: '&',\n image: '&',\n header: '&',\n headerHref: '&',\n children: '&',\n onHeader: '&',\n /* Private */\n has: '=?'\n },\n\n template: [\n '<div class=\"ui list\">',\n ' <div class=\"item\" ng-repeat=\"i in items\" ng-init=\"$ = {item: i}\">',\n ' <i ng-if=\"has.icon\" class=\"icon {{ icon($) }}\"></i>',\n ' <img ng-if=\"has.image\" class=\"ui avatar image\" ng-src=\"{{ image($) }}\">',\n ' <div ng-if=\"has.header || has.children\" class=\"content\">',\n ' <div ng-if=\"!has.headerLink\" class=\"header\" sm-html=\"header($)\"></div>',\n ' <a ng-if=\"has.headerLink\" class=\"header\" ng-href=\"{{ headerHref($) }}\" ng-click=\"onHeader($)\" sm-html=\"header($)\"></a>',\n ' <div class=\"description\" sm-html=\"description($)\"></div>',\n ' <sm-list ng-if=\"has.children && getChildCount($)\" has=\"has\" items=\"children($)\" description=\"description({item: item})\" icon=\"icon({item: item})\" header=\"header({item: item})\" header-href=\"headerHref({item: item})\" children=\"children({item: item})\" on-header=\"onHeader({item: item})\"></sm-list>',\n ' </div>',\n ' <div ng-if=\"!has.header && !has.children\" class=\"content\" sm-html=\"description($)\"></div>',\n ' </div>',\n '</div>'\n ].join('\\n'),\n\n compile: SemanticUI.RecursiveCompiler(SemanticListLink)\n }\n }\n\n function SemanticListLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n if ( !scope.has )\n {\n scope.has = {\n icon: !!attributes.icon,\n image: !!attributes.image,\n header: !!attributes.header,\n headerLink: !!attributes.headerHref,\n description: !!attributes.description,\n children: !!attributes.children\n };\n }\n\n scope.getChildCount = function($)\n {\n var children = scope.children($);\n\n return children ? children.length : 0;\n };\n\n SemanticUI.setDefaultFunction( scope, 'description', attributes, function(locals){return locals.item} );\n SemanticUI.setDefaultFunction( scope, 'icon', attributes, function(locals){return locals.item.icon} );\n SemanticUI.setDefaultFunction( scope, 'header', attributes, function(locals){return locals.item.header} );\n SemanticUI.setDefaultFunction( scope, 'children', attributes, function(locals){return locals.item.children} );\n };\n }\n\n})( angular.module('semantic-ui-list', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .controller('SemanticMenuController', ['$scope', SemanticMenuController])\n .directive('smMenu', ['SemanticUI', SemanticMenu])\n ;\n\n function SemanticMenu(SemanticUI)\n {\n return {\n restrict: 'E',\n replace: true,\n scope: {\n /* Required */\n items: '=',\n label: '&',\n /* Optional */\n onClick: '&',\n children: '&',\n description: '&',\n icon: '&',\n hidden: '&',\n divider: '&'\n },\n template: [\n '<div class=\"menu\">',\n '<div ng-repeat=\"i in items\" ng-hide=\"isHidden( i )\" ng-class=\"{item: !isDivider( i ), divider: isDivider( i )}\" ng-click=\"onClick({item: i, $event:$event})\">',\n '<i class=\"{{ getIcon( i ) }} icon\" ng-if=\"getIcon( i )\"></i>',\n '<span class=\"description\" ng-if=\"getDescription( i )\">{{ getDescription( i ) }}</span>',\n '{{ getLabel( i ) }}',\n '<sm-menu ng-if=\"hasChildren( i )\" items=\"getChildren( i )\" label=\"getLabel( item )\" children=\"getChildren( item )\" description=\"getDescription( item )\" icon=\"getIcon( item )\" hidden=\"isHidden( item )\" divider=\"isDivider( item )\" on-click=\"onClick({item: item, $event: $event})\"></sm-menu>',\n '</div>',\n '</div>'\n ].join('\\n'),\n\n controller: 'SemanticMenuController',\n\n compile: SemanticUI.RecursiveCompiler()\n };\n }\n\n function SemanticMenuController($scope)\n {\n $scope.hasChildren = function(item) {\n var children = $scope.children({item: item});\n return children && children.length;\n };\n $scope.getChildren = function(item) {\n return $scope.children({item: item});\n };\n\n $scope.getLabel = function(item) {\n return $scope.label({item: item});\n };\n $scope.getIcon = function(item) {\n return $scope.icon({item: item});\n }\n $scope.getDescription = function(item) {\n return $scope.description({item: item});\n };\n $scope.isHidden = function(item) {\n return $scope.hidden({item: item});\n };\n $scope.isDivider = function(item) {\n return $scope.divider({item: item});\n };\n }\n\n\n})( angular.module('semantic-ui-menu', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticModalLink', ['SemanticUI', SemanticModalLink])\n .directive('smModalBind', ['SemanticUI', SemanticModalBind])\n .directive('smModal', ['SemanticModalLink', SemanticModal])\n ;\n\n var BEHAVIORS = {\n smModalShow: 'show',\n smModalHide: 'hide',\n smModalToggle: 'toggle',\n smModalRefresh: 'refresh',\n smModalShowDimmer: 'show dimmer',\n smModalHideDimmer: 'hide dimmer',\n smModalHideOthers: 'hide others',\n smModalHideAll: 'hide all',\n smModalCacheSizes: 'cache sizes',\n smModalSetActive: 'set active'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'modal', method );\n }]);\n });\n\n function SemanticModalBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smModalBind', 'modal' );\n }\n\n function SemanticModal(SemanticModalLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Optional */\n visible: '=',\n settings: '=',\n onInit: '=',\n /* Events */\n onShow: '=',\n onVisible: '=',\n onHide: '=',\n onHidden: '=',\n onApprove: '=',\n onDeny: '='\n },\n\n template: '<div class=\"ui modal\" ng-transclude></div>',\n\n link: SemanticModalLink\n }\n }\n\n function SemanticModalLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'modal' );\n\n // If the visible attribute is specified, listen to onHide and update modal when variable changes.\n if ( attributes.visible )\n {\n var visibleWatcher = SemanticUI.watcher( scope, 'visible',\n function(updated) {\n element.modal( updated ? 'show' : 'hide' );\n }\n );\n\n SemanticUI.onEvent( settings, 'onHide',\n function() {\n visibleWatcher.set( false );\n }\n );\n\n SemanticUI.onEvent( settings, 'onShow',\n function() {\n visibleWatcher.set( true );\n }\n );\n }\n\n SemanticUI.linkEvents( scope, settings, $.fn.modal.settings, {\n onShow: 'onShow',\n onVisible: 'onVisible',\n onHide: 'onHide',\n onHidden: 'onHidden',\n onApprove: 'onApprove',\n onDeny: 'onDeny'\n });\n\n // Initialize the element with the given settings.\n element.modal( settings );\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n };\n }\n\n})( angular.module('semantic-ui-modal', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticPopupLink', ['SemanticUI', SemanticPopupLink])\n .factory('SemanticPopupInlineLink', ['SemanticUI', SemanticPopupInlineLink])\n .factory('SemanticPopupDisplayLink', ['SemanticUI', SemanticPopupDisplayLink])\n .directive('smPopupBind', ['SemanticUI', SemanticModalBind])\n .directive('smPopup', ['SemanticPopupLink', SemanticPopup])\n .directive('smPopupInline', ['SemanticPopupInlineLink', SemanticPopupInline])\n .directive('smPopupDisplay', ['SemanticPopupDisplayLink', SemanticPopupDisplay])\n .directive('smPopupDetached', [SemanticPopupDetached])\n ;\n\n var BEHAVIORS = {\n smPopupShow: 'show',\n smPopupHide: 'hide',\n smPopupHideAll: 'hide all',\n smPopupToggle: 'toggle',\n smPopupReposition: 'reposition',\n smPopupDestroy: 'destroy',\n smPopupRemove: 'remove popup'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'popup', method );\n }]);\n });\n\n function SemanticModalBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smPopupBind', 'popup' );\n }\n\n // An attribute directive which displays a popup for this element.\n function SemanticPopup(SemanticPopupLink)\n {\n return {\n\n restrict: 'A',\n\n scope: {\n /* Required */\n smPopup: '=',\n /* Optional */\n smPopupTitle: '=',\n smPopupHtml: '=',\n smPopupPosition: '@',\n smPopupVariation: '@',\n smPopupSettings: '=',\n smPopupOnInit: '=',\n /* Events */\n smPopupOnCreate: '=',\n smPopupOnRemove: '=',\n smPopupOnShow: '=',\n smPopupOnVisible: '=',\n smPopupOnHide: '=',\n smPopupOnHidden: '='\n },\n\n link: SemanticPopupLink\n };\n }\n\n function SemanticPopupLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.smPopupSettings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'popup', false, 'smPopupSettings' );\n\n SemanticUI.bindAttribute( scope, 'smPopup', element, 'data-content' );\n SemanticUI.bindAttribute( scope, 'smPopupTitle', element, 'data-title' );\n SemanticUI.bindAttribute( scope, 'smPopupHtml', element, 'data-html' );\n SemanticUI.bindAttribute( scope, 'smPopupPosition', element, 'data-position' );\n SemanticUI.bindAttribute( scope, 'smPopupVariation', element, 'data-variation' );\n\n SemanticUI.linkEvents( scope, settings, {\n onCreate: 'smPopupOnCreate',\n onRemove: 'smPopupOnRemove',\n onShow: 'smPopupOnShow',\n onVisible: 'smPopupOnVisible',\n onHide: 'smPopupOnHide',\n onHidden: 'smPopupOnHidden'\n });\n\n element.popup( settings );\n\n if ( angular.isFunction( scope.smPopupOnInit ) )\n {\n scope.smPopupOnInit( element );\n }\n };\n }\n\n // An attribute directive to show the detached popup which follows this element.\n function SemanticPopupInline(SemanticPopupInlineLink)\n {\n return {\n\n restrict: 'A',\n\n scope: {\n /* Optional */\n smPopupInline: '=',\n smPopupInlineOnInit: '=',\n /* Events */\n smPopupInlineOnCreate: '=',\n smPopupInlineOnRemove: '=',\n smPopupInlineOnShow: '=',\n smPopupInlineOnVisible: '=',\n smPopupInlineOnHide: '=',\n smPopupInlineOnHidden: '='\n },\n\n link: SemanticPopupInlineLink\n };\n }\n\n function SemanticPopupInlineLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.smPopupInline || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'popup', false, 'smPopupInline' );\n\n SemanticUI.linkEvents( scope, settings, {\n onCreate: 'smPopupInlineOnCreate',\n onRemove: 'smPopupInlineOnRemove',\n onShow: 'smPopupInlineOnShow',\n onVisible: 'smPopupInlineOnVisible',\n onHide: 'smPopupInlineOnHide',\n onHidden: 'smPopupInlineOnHidden'\n });\n\n settings.inline = true;\n\n element.popup( settings );\n\n if ( angular.isFunction( scope.smPopupInlineOnInit ) ) {\n scope.smPopupInlineOnInit( element );\n }\n };\n }\n\n // An attribute directive to show a detached popup over this element given it's name.\n function SemanticPopupDisplay(SemanticPopupDisplayLink)\n {\n return {\n\n restrict: 'A',\n\n scope: {\n /* Required */\n smPopupDisplay: '@',\n /* Optional */\n smPopupDisplaySettings: '=',\n smPopupDisplayOnInit: '=',\n /* Events */\n smPopupDisplayOnCreate: '=',\n smPopupDisplayOnRemove: '=',\n smPopupDisplayOnShow: '=',\n smPopupDisplayOnVisible: '=',\n smPopupDisplayOnHide: '=',\n smPopupDisplayOnHidden: '='\n },\n\n link: SemanticPopupDisplayLink\n };\n }\n\n function SemanticPopupDisplayLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.smPopupDisplaySettings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'popup', false, 'smPopupDisplaySettings' );\n\n SemanticUI.linkEvents( scope, settings, $.fn.popup.settings, {\n onCreate: 'smPopupDisplayOnCreate',\n onRemove: 'smPopupDisplayOnRemove',\n onShow: 'smPopupDisplayOnShow',\n onVisible: 'smPopupDisplayOnVisible',\n onHide: 'smPopupDisplayOnHide',\n onHidden: 'smPopupDisplayOnHidden'\n });\n\n settings.popup = '[data-popup-named=\"' + attributes.smPopupDisplay + '\"]';\n\n element.popup( settings );\n\n if ( angular.isFunction( scope.smPopupDisplayOnInit ) ) {\n scope.smPopupDisplayOnInit( element );\n }\n };\n }\n\n // An element directive for a popup, can be used after an element or can be named and used with sm-popup-display.\n function SemanticPopupDetached()\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n name: '@'\n },\n\n template: '<div class=\"ui popup\" data-popup-named=\"{{ name }}\" ng-transclude></div>'\n };\n }\n\n})( angular.module('semantic-ui-popup', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticProgressLink', ['SemanticUI', SemanticProgressLink])\n .directive('smProgressBind', ['SemanticUI', SemanticModalBind])\n .directive('smProgress', ['SemanticProgressLink', SemanticProgress])\n ;\n\n var BEHAVIORS = {\n 'smProgressIncrement': 'increment'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'progress', method );\n }]);\n });\n\n function SemanticModalBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smProgressBind', 'progress' );\n }\n\n function SemanticProgress(SemanticProgressLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Required */\n model: '=',\n /* Optional */\n total: '=',\n label: '@',\n activeText: '@',\n successText: '@',\n errorText: '@',\n warningText: '@',\n duration: '@',\n onInit: '=',\n /* Events */\n onChange: '=',\n onSuccess: '=',\n onActive: '=',\n onError: '=',\n onWarning: '='\n },\n\n template: [\n '<div class=\"ui progress\">',\n ' <div class=\"bar\">',\n ' <div class=\"progress\" ng-show=\"label\"></div>',\n ' </div>',\n ' <div class=\"label\" ng-transclude></div>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticProgressLink\n };\n }\n\n function SemanticProgressLink(SemanticUI)\n {\n var addText = function( scope, attributes, settings, attribute, property )\n {\n if ( angular.isDefined( attributes[ attribute ] ) )\n {\n settings.text = settings.text || {};\n settings.text[ property ] = scope[ attribute ];\n }\n };\n\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'progress' );\n\n SemanticUI.linkEvents( scope, settings, $.fn.progress.settings, {\n onChange: 'onChange',\n onSuccess: 'onSuccess',\n onActive: 'onActive',\n onError: 'onError',\n onWarning: 'onWarning'\n });\n\n if ( !angular.isDefined( settings.showActivity ) )\n {\n settings.showActivity = false;\n }\n\n if ( angular.isDefined( attributes.label ) )\n {\n settings.label = scope.label;\n }\n\n if ( angular.isDefined( attributes.total ) )\n {\n settings.total = scope.total;\n }\n else\n {\n settings.total = 100;\n }\n\n if ( angular.isDefined( attributes.model ) )\n {\n settings.value = scope.model;\n }\n\n addText( scope, attributes, settings, 'activeText', 'active' );\n addText( scope, attributes, settings, 'successText', 'success' );\n addText( scope, attributes, settings, 'errorText', 'error' );\n addText( scope, attributes, settings, 'warningText', 'warning' );\n\n element.progress( settings );\n\n SemanticUI.watcher( scope, 'model', function(value)\n {\n var total = element.progress( 'get total' ) || 100;\n\n element.progress( 'set percent', value * 100 / total );\n element.progress( 'set value', value );\n });\n\n if ( angular.isDefined( attributes.duration ) )\n {\n SemanticUI.watcher( scope, 'duration', function(duration)\n {\n element.progress( 'set duration', duration );\n });\n }\n\n if ( angular.isDefined( attributes.total ) )\n {\n SemanticUI.watcher( scope, 'total', function(total)\n {\n element.progress( 'set total', total );\n });\n }\n\n if ( angular.isFunction( scope.onInit ) )\n {\n scope.onInit( element );\n }\n };\n }\n\n})( angular.module('semantic-ui-progress', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticRatingLink', ['SemanticUI', SemanticRatingLink])\n .directive('smRatingBind', ['SemanticUI', SemanticRatingBind])\n .directive('smRating', ['SemanticRatingLink', SemanticRating])\n ;\n\n var BEHAVIORS = {\n smRatingSet: 'set rating',\n smRatingDisable: 'disable',\n smRatingEnable: 'enable',\n smRatingClear: 'clear rating'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'rating', method );\n }]);\n });\n\n function SemanticRatingBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smRatingBind', 'rating' );\n }\n\n function SemanticRating(SemanticRatingLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n scope: {\n /* Required */\n model: '=',\n total: '=',\n /* Optional */\n type: '@',\n disabled: '=',\n settings: '=',\n onInit: '=',\n /* Events */\n onRate: '='\n },\n\n template: '<div class=\"ui rating {{ type }}\" data-rating=\"{{ model }}\" data-max-rating=\"{{ total }}\"></div>',\n\n link: SemanticRatingLink\n };\n }\n\n function SemanticRatingLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n element.ready(function()\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'rating', true );\n\n SemanticUI.triggerChange( scope, 'model', element, true );\n\n if ( attributes.disabled )\n {\n var disabledWatcher = SemanticUI.watcher( scope, 'disabled',\n function(updated) {\n element.rating( updated ? 'disable' : 'enable' );\n }\n );\n }\n\n var valueWatcher = SemanticUI.watcher( scope, 'model',\n function(updated) {\n element.rating( 'set rating', updated );\n }\n );\n\n SemanticUI.onEvent( settings, 'onRate',\n function(value) {\n valueWatcher.set( value );\n }\n );\n\n SemanticUI.linkEvents( scope, settings, $.fn.rating.settings, {\n onRate: 'onRate'\n });\n\n element.rating( settings );\n\n if ( scope.disabled )\n {\n element.rating( 'disable' );\n }\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n });\n };\n }\n\n})( angular.module('semantic-ui-rating', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticSearchLink', ['SemanticUI', SemanticSearchLink])\n .directive('smSearchBind', ['SemanticUI', SemanticSearchBind])\n .directive('smSearch', ['SemanticSearchLink', SemanticSearch])\n ;\n\n var BEHAVIORS = {\n smSearchQuery: 'query',\n smSearchCancelQuery: 'cancel query',\n smSearchSearchLocal: 'search local',\n smSearchSearchRemote: 'search remote',\n smSearchSet: 'set value',\n smSearchShowResults: 'show results',\n smSearchHideResults: 'hide results',\n smSearchDestroy: 'destroy'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'search', method );\n }]);\n });\n\n function SemanticSearchBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smSearchBind', 'search' );\n }\n\n function SemanticSearch(SemanticSearchLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n scope: {\n /* Required */\n model: '=',\n /* Optional */\n text: '=?',\n icon: '@',\n placeholder: '@',\n category: '@',\n local: '=',\n remote: '@',\n settings: '=',\n onInit: '=',\n /* Events */\n onSelect: '=',\n onResultsAdd: '=',\n onSearchQuery: '=',\n onResults: '=',\n onResultsOpen: '=',\n onResultsClose: '='\n },\n\n template: [\n '<div class=\"ui search\" ng-class=\"{category: category}\">',\n ' <div class=\"ui input\" ng-class=\"{icon: icon}\">',\n ' <input class=\"prompt\" type=\"text\" placeholder=\"{{ placeholder }}\" ng-model=\"text\">',\n ' <i ng-if=\"icon\" class=\"{{ icon }} icon\"></i>',\n ' </div>',\n ' <div class=\"results\"></div>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticSearchLink\n };\n }\n\n function SemanticSearchLink(SemanticUI)\n {\n var defaultTitle = $.fn.search && $.fn.search.settings && $.fn.search.settings.fields ? $.fn.search.settings.fields.title : '';\n\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n var textProperty = settings.fields && settings.fields.title ? settings.fields.title : defaultTitle;\n\n SemanticUI.linkSettings( scope, element, attributes, 'search' );\n\n if ( scope.local ) settings.source = scope.local;\n if ( scope.remote ) settings.apiSettings = { url: scope.remote };\n if ( scope.category ) settings.type = 'category';\n\n var modelWatcher = SemanticUI.watcher( scope, 'model',\n function(value) {\n element.search( 'set value', value && (textProperty in value) ? value[ textProperty ] : value );\n }\n );\n\n SemanticUI.onEvent( settings, 'onSelect',\n function(result, response) {\n modelWatcher.set( result );\n if ( attributes.text ) {\n scope.$evalAsync(function() {\n scope.text = result[ textProperty ];\n });\n }\n }\n );\n\n SemanticUI.linkEvents( scope, settings, $.fn.search.settings, {\n onSelect: 'onSelect',\n onResultsAdd: 'onResultsAdd',\n onSearchQuery: 'onSearchQuery',\n onResults: 'onResults',\n onResultsOpen: 'onResultsOpen',\n onResultsClose: 'onResultsClose'\n });\n\n element.search( settings );\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n\n if ( scope.model && attributes.text && textProperty in scope.model ) {\n scope.text = scope.model[ textProperty ];\n }\n };\n }\n\n})( angular.module('semantic-ui-search', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticDimmerLink', ['SemanticUI', SemanticDimmerLink])\n .directive('smDimmerBind', ['SemanticUI', SemanticDimmerBind])\n .directive('smDimmer', ['SemanticDimmerLink', SemanticDimmer])\n ;\n\n var BEHAVIORS = {\n smDimmerShow: 'show',\n smDimmerHide: 'hide',\n smDimmerToggle: 'toggle'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'dimmer', method );\n }]);\n });\n\n function SemanticDimmerBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smDimmerBind', 'dimmer' );\n }\n\n function SemanticDimmer(SemanticDimmerLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Optional */\n visible: '=',\n settings: '=',\n onInit: '=',\n /* Events */\n onShow: '=',\n onHide: '=',\n onChange: '='\n },\n\n template: '<div class=\"ui dimmer\" ng-transclude></div>',\n\n link: SemanticDimmerLink\n };\n }\n\n function SemanticDimmerLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'dimmer' );\n\n // If the visible attribute is specified, listen to onHide and update modal when variable changes.\n if ( attributes.visible )\n {\n var visibleWatcher = SemanticUI.watcher( scope, 'visible',\n function(updated) {\n element.dimmer( updated ? 'show' : 'hide' );\n }\n );\n\n SemanticUI.onEvent( settings, 'onShow',\n function(value) {\n visibleWatcher.set( true );\n }\n );\n\n SemanticUI.onEvent( settings, 'onHide',\n function(value) {\n visibleWatcher.set( false );\n }\n );\n }\n\n SemanticUI.linkEvents( scope, settings, $.fn.dimmer.settings, {\n onShow: 'onShow',\n onHide: 'onHide',\n onChange: 'onChange'\n });\n\n element.dimmer( settings );\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n };\n }\n\n})( angular.module('semantic-ui-dimmer', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticShapeLink', ['SemanticUI', SemanticShapeLink])\n .directive('smShapeBind', ['SemanticUI', SemanticShapeBind])\n .directive('smShape', ['SemanticShapeLink', SemanticShape])\n ;\n\n var BEHAVIORS = {\n smShapeFlipUp: 'flip up',\n smShapeFlipDown: 'flip down',\n smShapeFlipLeft: 'flip left',\n smShapeFlipRight: 'flip right',\n smShapeFlipOver: 'flip over',\n smShapeFlipBack: 'flip back',\n smShapeSetNextSide: 'set next side',\n smShapeReset: 'reset',\n smShapeQueue: 'queue',\n smShapeRepaint: 'repaint',\n smShapeSetDefaultSide: 'set default side',\n smShapeSetStageSize: 'set stage size',\n smShapeRefresh: 'refresh'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'shape', method );\n }]);\n });\n\n function SemanticShapeBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smShapeBind', 'shape' );\n }\n\n function SemanticShape(SemanticShapeLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n\n settings: '=',\n onInit: '=',\n /* Events */\n onBeforeChange: '=',\n onChange: '=',\n },\n\n template: [\n '<div class=\"ui shape\">',\n ' <div class=\"sides\" ng-transclude>',\n ' </div>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticShapeLink\n\n };\n }\n\n function SemanticShapeLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'shape' );\n\n SemanticUI.linkEvents( scope, settings, $.fn.shape.settings, {\n onBeforeChange: 'onBeforeChange',\n onChange: 'onChange'\n });\n\n element.shape( settings );\n\n if ( angular.isFunction( scope.onInit ) ) {\n scope.onInit( element );\n }\n };\n }\n\n})( angular.module('semantic-ui-shape', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticSidebarLink', ['SemanticUI', SemanticSidebarLink])\n .directive('smSidebarBind', ['SemanticUI', SemanticSidebarBind])\n .directive('smSidebar', ['SemanticSidebarLink', SemanticSidebar])\n ;\n\n var BEHAVIORS = {\n smSidebarShow: 'show',\n smSidebarHide: 'hide',\n smSidebarToggle: 'toggle',\n smSidebarPushPage: 'push page',\n smSidebarPullPage: 'pull page',\n smSidebarAddBodyCss: 'add body css',\n smSidebarRemoveBodyCss: 'remove body css'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'sidebar', method );\n }]);\n });\n\n function SemanticSidebarBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smSidebarBind', 'sidebar' );\n }\n\n function SemanticSidebar(SemanticSidebarLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n scope: {\n /* Required */\n items: '=',\n label: '&',\n /* Optional */\n onClick: '&',\n visible: '=',\n settings: '=',\n onInit: '=',\n /* Events */\n onVisible: '=',\n onShow: '=',\n onChange: '=',\n onHide: '=',\n onHidden: '='\n },\n\n template: [\n '<div class=\"ui sidebar\">',\n ' <a class=\"item\" ng-repeat=\"i in items\" sm-html=\"label({item:i})\" ng-click=\"onClick({item:i, $event:$event})\"></a>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticSidebarLink\n };\n }\n\n function SemanticSidebarLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n var settings = scope.settings || {};\n\n SemanticUI.setDefaultFunction( scope, 'label', attributes, function(locals){return locals.item} );\n\n SemanticUI.linkSettings( scope, element, attributes, 'sidebar' );\n\n if ( attributes.visible )\n {\n var visibleWatcher = SemanticUI.watcher( scope, 'visible',\n function(updated) {\n element.sidebar( updated ? 'show' : 'hide' );\n }\n );\n\n SemanticUI.onEvent( settings, 'onHide',\n function() {\n visibleWatcher.set( false );\n }\n );\n\n SemanticUI.onEvent( settings, 'onShow',\n function() {\n visibleWatcher.set( true );\n }\n );\n }\n\n SemanticUI.linkEvents( scope, settings, $.fn.sidebar.settings, {\n onVisible: 'onVisible',\n onShow: 'onShow',\n onChange: 'onChange',\n onHide: 'onHide',\n onHidden: 'onHidden'\n });\n\n var pusher = $('.pusher');\n\n if ( pusher.length )\n {\n element.insertBefore( pusher );\n }\n\n // Initialize the element with the given settings.\n element.sidebar( settings );\n\n if ( scope.visible )\n {\n element.sidebar( 'show' );\n }\n\n if ( angular.isFunction( scope.onInit ) )\n {\n scope.onInit( element );\n }\n };\n }\n\n})( angular.module('semantic-ui-sidebar', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticStickyLink', ['SemanticUI', SemanticStickyLink])\n .directive('smStickyBind', ['SemanticUI', SemanticStickyBind])\n .directive('smSticky', ['SemanticStickyLink', SemanticSticky])\n ;\n\n var BEHAVIORS = {\n smStickyRefresh: 'refresh'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'sticky', method );\n }]);\n });\n\n function SemanticStickyBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smStickyBind', 'sticky' );\n }\n\n function SemanticSticky(SemanticStickyLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n /* Optional */\n context: '@',\n settings: '=',\n onInit: '=',\n /* Events */\n onReposition: '=',\n onScroll: '=',\n onStick: '=',\n onUnstick: '=',\n onTop: '=',\n onBottom: '='\n },\n\n template: '<div class=\"ui sticky\" ng-transclude></div>',\n\n link: SemanticStickyLink\n };\n }\n\n function SemanticStickyLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n element.ready(function()\n {\n var settings = scope.settings || {};\n\n SemanticUI.linkSettings( scope, element, attributes, 'sticky', true );\n\n SemanticUI.linkEvents( scope, settings, $.fn.sticky.settings, {\n onReposition: 'onReposition',\n onScroll: 'onScroll',\n onStick: 'onStick',\n onStick: 'onStick',\n onTop: 'onTop',\n onBottom: 'onBottom'\n });\n\n if ( !settings.context )\n {\n settings.context = scope.context;\n }\n\n element.sticky( settings );\n\n if ( angular.isFunction( scope.onInit ) )\n {\n scope.onInit( element );\n }\n });\n };\n }\n\n})( angular.module('semantic-ui-sticky', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .factory('SemanticTabMenuLink', ['SemanticUI', '$timeout', SemanticTabMenuLink])\n .directive('smTabBind', ['SemanticUI', SemanticTabBind])\n .directive('smTabMenu', ['SemanticTabMenuLink', SemanticTabMenu])\n .directive('smTab', ['SemanticUI', SemanticTab])\n ;\n\n var BEHAVIORS = {\n smTabSet: 'change tab'\n };\n\n angular.forEach( BEHAVIORS, function(method, directive)\n {\n app.directive( directive, ['SemanticUI', function(SemanticUI)\n {\n return SemanticUI.createBehavior( directive, 'tab', method );\n }]);\n });\n\n function SemanticTabBind(SemanticUI)\n {\n return SemanticUI.createBind( 'smTabBind', 'tab' );\n }\n\n function SemanticTabMenu(SemanticTabMenuLink)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n scope: {\n /* Required */\n tabs: '=',\n /* Optional */\n active: '=?',\n settings: '='\n },\n\n template: [\n '<div class=\"ui menu\">',\n ' <a class=\"item\" ng-repeat=\"(name, title) in tabs\" ng-class=\"{active: name === active}\" data-tab=\"{{ name }}\" sm-html=\"title\"></a>',\n '</div>'\n ].join('\\n'),\n\n link: SemanticTabMenuLink\n }\n }\n\n function SemanticTabMenuLink(SemanticUI, $timeout)\n {\n return function(scope, element, attributes)\n {\n var setActiveTab = function( tab )\n {\n if ( tab )\n {\n element.tab( 'change tab', tab );\n }\n };\n\n $timeout(function()\n {\n var settings = scope.settings || {};\n var elements = element.children('.item');\n var hasActive = !!attributes.active;\n\n SemanticUI.linkSettings( scope, elements, attributes, 'tab', true );\n\n if ( hasActive )\n {\n var activeWatcher = SemanticUI.watcher( scope, 'active',\n function( tab ) {\n setActiveTab( tab );\n }\n );\n\n SemanticUI.onEvent( settings, 'onVisible',\n function(tab) {\n activeWatcher.set( tab );\n }\n );\n }\n\n elements.tab( settings );\n\n if ( hasActive )\n {\n setActiveTab( scope.active );\n }\n });\n };\n }\n\n function SemanticTab(SemanticUI)\n {\n return {\n\n restrict: 'E',\n\n replace: true,\n\n transclude: true,\n\n scope: {\n name: '@'\n },\n\n template: '<div class=\"ui tab\" data-tab=\"{{ name }}\" ng-transclude></div>'\n };\n }\n\n})( angular.module('semantic-ui-tab', ['semantic-ui-core']) );\n","(function(app)\n{\n\n app\n .directive('smTimeAgo', SemanticTimeAgo)\n ;\n\n function SemanticTimeAgo()\n {\n var MONTHS = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];\n var THS = ['th', 'st', 'nd', 'rd', 'th', 'th', 'th', 'th', 'th', 'th'];\n var HOURS = ['12', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'];\n\n function getTime(date)\n {\n var hours = date.getHours();\n var minutes = date.getMinutes();\n var minutesPadded = minutes < 10 ? '0' + minutes : minutes;\n\n return HOURS[ hours % HOURS.length ] + ':' + minutesPadded + ( hours < 12 ? 'AM' : 'PM' );\n }\n\n function getTh(x)\n {\n return (x >= 11 && x <= 13) ? (x + 'th') : x + THS[ x % THS.length ];\n }\n\n function getDaysAgo(date)\n {\n return Math.ceil( ( new Date().getTime() - date.getTime() ) / 86400000 );\n }\n\n return {\n\n restrict: 'A',\n\n link: function(scope, element, attributes)\n {\n var timeout = false;\n var value = false;\n var fuzzy = false;\n\n var updateText = function()\n {\n var now = new Date();\n var today = new Date( now.getFullYear(), now.getMonth(), now.getDate() );\n var yesterday = new Date( now.getFullYear(), now.getMonth(), now.getDate() - 1 );\n\n var elapsed = now.getTime() - value.getTime();\n\n var text = '';\n var updateIn = false;\n\n if ( elapsed < 60000 )\n { // 1 minute\n text = 'Just now';\n updateIn = 60000 - elapsed;\n }\n else if ( elapsed < 3600000 )\n { // 1 hour\n var minutesAgo = Math.floor( elapsed / 60000 );\n text = minutesAgo === 1 ? '1 minute ago' : minutesAgo + ' minutes ago';\n updateIn = elapsed % 60000;\n }\n else if ( value.getTime() > today.getTime() )\n { // today\n text = 'Today at ' + getTime( value );\n updateIn = elapsed % 3600000;\n }\n else if ( value.getTime() > yesterday.getTime() )\n { // yesterday\n text = 'Yesterday at ' + getTime( value );\n updateIn = elapsed % 3600000;\n }\n else if ( value.getMonth() === now.getMonth() && value.getFullYear() === now.getFullYear() )\n { // this month\n text += 'The ' + getTh( value.getDate() );\n text +=' at ' + getTime( value );\n text += ' (' + getDaysAgo( value ) + ' days ago)';\n updateIn = 86400000;\n }\n else\n { // before the current month\n text += MONTHS[ value.getMonth() ] + ' ' + getTh( value.getDate() );\n if ( value.getFullYear() !== now.getFullYear() ) {\n text += ' ' + value.getFullYear();\n }\n text += ' at ' + getTime( value );\n var daysAgo = getDaysAgo( value );\n if ( daysAgo <= 60 ) {\n text += ' (' + getDaysAgo( value ) + ' days ago)'\n }\n }\n\n element.text( text );\n\n if ( timeout )\n {\n clearTimeout( timeout );\n timeout = false;\n }\n\n if ( updateIn )\n {\n timeout = setTimeout(function()\n {\n timeout = false;\n updateText();\n\n }, updateIn);\n }\n };\n\n scope.$watch( attributes.smTimeAgo, function(updated)\n {\n value = new Date( updated );\n updateText();\n });\n }\n }\n }\n\n})( angular.module('semantic-ui-timeago', ['semantic-ui-core']) );\n","(function(app)\n{\n\n // Transitions: scale, fade, flip, drop, fly, swing, browse, slide, jiggle, flash, shake, pulse, tada, bounce\n\n app\n .factory('SemanticTransitionLink', ['SemanticUI', SemanticTransitionLink])\n .directive('smTransition', ['SemanticTransitionLink', SemanticTransition])\n ;\n\n function SemanticTransition(SemanticTransitionLink)\n {\n return {\n\n restrict: 'A',\n\n scope: {\n smTransition: '@',\n smTransitionEvents: '@',\n smTransitionOther: '@'\n },\n\n link: SemanticTransitionLink\n };\n }\n\n function SemanticTransitionLink(SemanticUI)\n {\n return function(scope, element, attributes)\n {\n scope.smTransitionEvents = scope.smTransitionEvents || 'click';\n\n element.on( scope.smTransitionEvents, function()\n {\n ( scope.smTransitionOther ? $( scope.smTransitionOther ) : element ).transition( scope.smTransition );\n });\n };\n }\n\n})( angular.module('semantic-ui-transition', ['semantic-ui-core']) );\n"]}