text: /*
   * angular-ui-bootstrap
   * http://angular-ui.github.io/bootstrap/
  
   * Version: 0.13.3 - 2015-08-09
   * License: MIT
   */
  angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.tooltip","ui.bootstrap.position","ui.bootstrap.bindHtml"]),angular.module("ui.bootstrap.tpls",["template/tooltip/tooltip-html-popup.html","template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/tooltip/tooltip-template-popup.html"]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function t(t){var e=/[A-Z]/g,n="-";return t.replace(e,function(t,e){return(e?n:"")+t.toLowerCase()})}var e={placement:"top",animation:!0,popupDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",focus:"blur"},o={};this.options=function(t){angular.extend(o,t)},this.setTriggers=function(t){angular.extend(n,t)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate","$rootScope",function(i,p,l,a,r,u,s){return function(i,c,f,m){function d(t){var e=(t||m.trigger||f).split(" "),o=e.map(function(t){return n[t]||t});return{show:e,hide:o}}m=angular.extend({},e,o,m);var h=t(i),v=u.startSymbol(),$=u.endSymbol(),g="<div "+h+'-popup title="'+v+"title"+$+'" '+(m.useContentExp?'content-exp="contentExp()" ':'content="'+v+"content"+$+'" ')+'placement="'+v+"placement"+$+'" popup-class="'+v+"popupClass"+$+'" animation="animation" is-open="isOpen"origin-scope="origScope" ></div>';return{restrict:"EA",compile:function(){var t=p(g);return function(e,n,o){function p(){A.isOpen?f():u()}function u(){(!D||e.$eval(o[c+"Enable"]))&&(b(),A.popupDelay?T||(T=l(h,A.popupDelay,!1),T.then(function(t){t()})):h()())}function f(){v(),s.$$phase||s.$digest()}function h(){return T=null,O&&(l.cancel(O),O=null),(m.useContentExp?A.contentExp():A.content)?($(),H.css({top:0,left:0,display:"block"}),k(),A.isOpen=!0,A.$apply(),k):angular.noop}function v(){A.isOpen=!1,l.cancel(T),T=null,A.animation?O||(O=l(g,500)):g()}function $(){H&&g(),x=A.$new(),H=t(x,function(t){U?a.find("body").append(t):n.after(t)}),m.useContentExp&&(x.$watch("contentExp()",function(t){!t&&A.isOpen&&v()}),x.$watch(function(){P||(P=!0,x.$$postDigest(function(){P=!1,B()}))}))}function g(){O=null,H&&(H.remove(),H=null),x&&(x.$destroy(),x=null)}function b(){C(),E(),w()}function C(){A.popupClass=o[c+"Class"]}function E(){var t=o[c+"Placement"];A.placement=angular.isDefined(t)?t:m.placement}function w(){var t=o[c+"PopupDelay"],e=parseInt(t,10);A.popupDelay=isNaN(e)?m.popupDelay:e}function y(){var t=o[c+"Trigger"];L(),S=d(t),S.show.forEach(function(t,e){t===S.hide[e]?n.bind(t,p):t&&(n.bind(t,u),n.bind(S.hide[e],f))})}var H,x,O,T,U=angular.isDefined(m.appendToBody)?m.appendToBody:!1,S=d(void 0),D=angular.isDefined(o[c+"Enable"]),A=e.$new(!0),P=!1,k=function(){if(H){var t=r.positionElements(n,H,A.placement,U);t.top+="px",t.left+="px",H.css(t)}},B=function(){l(k,0,!1)};A.origScope=e,A.isOpen=!1,A.contentExp=function(){return e.$eval(o[i])},m.useContentExp||o.$observe(i,function(t){A.content=t,!t&&A.isOpen?v():B()}),o.$observe("disabled",function(t){T&&t&&l.cancel(T),t&&A.isOpen&&v()}),o.$observe(c+"Title",function(t){A.title=t,B()}),o.$observe(c+"Placement",function(){A.isOpen&&l(function(){E(),h()()},0,!1)});var L=function(){S.show.forEach(function(t){n.unbind(t,u)}),S.hide.forEach(function(t){n.unbind(t,f)})};y();var R=e.$eval(o[c+"Animation"]);A.animation=angular.isDefined(R)?!!R:m.animation;var W=e.$eval(o[c+"AppendToBody"]);U=angular.isDefined(W)?W:U,U&&e.$on("$locationChangeSuccess",function(){A.isOpen&&v()}),e.$on("$destroy",function(){l.cancel(O),l.cancel(T),L(),g(),A=null})}}}}}]}).directive("tooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(t,e,n,o){return{link:function(i,p,l){var a,r,u,s=i.$eval(l.tooltipTemplateTranscludeScope),c=0,f=function(){r&&(r.remove(),r=null),a&&(a.$destroy(),a=null),u&&(t.leave(u).then(function(){r=null}),r=u,u=null)};i.$watch(e.parseAsResourceUrl(l.tooltipTemplateTransclude),function(e){var l=++c;e?(o(e,!0).then(function(o){if(l===c){var i=s.$new(),r=o,m=n(r)(i,function(e){f(),t.enter(e,p)});a=i,u=m,a.$emit("$includeContentLoaded",e)}},function(){l===c&&(f(),i.$emit("$includeContentError",e))}),i.$emit("$includeContentRequested",e)):f()}),i.$on("$destroy",f)}}}]).directive("tooltipClasses",function(){return{restrict:"A",link:function(t,e,n){t.placement&&e.addClass(t.placement),t.popupClass&&e.addClass(t.popupClass),t.animation()&&e.addClass(n.tooltipAnimationClass)}}}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(t){return t("tooltip","tooltip","mouseenter")}]).directive("tooltipTemplatePopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/tooltip/tooltip-template-popup.html"}}).directive("tooltipTemplate",["$tooltip",function(t){return t("tooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlPopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-popup.html"}}).directive("tooltipHtml",["$tooltip",function(t){return t("tooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).value("tooltipHtmlUnsafeSuppressDeprecated",!1).directive("tooltipHtmlUnsafe",["$tooltip","tooltipHtmlUnsafeSuppressDeprecated","$log",function(t,e,n){return e||n.warn("tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead."),t("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(t,e){function n(t,n){return t.currentStyle?t.currentStyle[n]:e.getComputedStyle?e.getComputedStyle(t)[n]:t.style[n]}function o(t){return"static"===(n(t,"position")||"static")}var i=function(e){for(var n=t[0],i=e.offsetParent||n;i&&i!==n&&o(i);)i=i.offsetParent;return i||n};return{position:function(e){var n=this.offset(e),o={top:0,left:0},p=i(e[0]);p!=t[0]&&(o=this.offset(angular.element(p)),o.top+=p.clientTop-p.scrollTop,o.left+=p.clientLeft-p.scrollLeft);var l=e[0].getBoundingClientRect();return{width:l.width||e.prop("offsetWidth"),height:l.height||e.prop("offsetHeight"),top:n.top-o.top,left:n.left-o.left}},offset:function(n){var o=n[0].getBoundingClientRect();return{width:o.width||n.prop("offsetWidth"),height:o.height||n.prop("offsetHeight"),top:o.top+(e.pageYOffset||t[0].documentElement.scrollTop),left:o.left+(e.pageXOffset||t[0].documentElement.scrollLeft)}},positionElements:function(t,e,n,o){var i,p,l,a,r=n.split("-"),u=r[0],s=r[1]||"center";i=o?this.offset(t):this.position(t),p=e.prop("offsetWidth"),l=e.prop("offsetHeight");var c={center:function(){return i.left+i.width/2-p/2},left:function(){return i.left},right:function(){return i.left+i.width}},f={center:function(){return i.top+i.height/2-l/2},top:function(){return i.top},bottom:function(){return i.top+i.height}};switch(u){case"right":a={top:f[s](),left:c[u]()};break;case"left":a={top:f[s](),left:i.left-p};break;case"bottom":a={top:f[u](),left:c[s]()};break;default:a={top:i.top-l,left:c[s]()}}return a}}}]),angular.module("ui.bootstrap.bindHtml",[]).value("$bindHtmlUnsafeSuppressDeprecated",!1).directive("bindHtmlUnsafe",["$log","$bindHtmlUnsafeSuppressDeprecated",function(t,e){return function(n,o,i){e||t.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"),o.addClass("ng-binding").data("$binding",i.bindHtmlUnsafe),n.$watch(i.bindHtmlUnsafe,function(t){o.html(t||"")})}}]),angular.module("template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(t){t.put("template/tooltip/tooltip-html-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(t){t.put("template/tooltip/tooltip-html-unsafe-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" bind-html-unsafe="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(t){t.put("template/tooltip/tooltip-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(t){t.put("template/tooltip/tooltip-template-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner"\n    tooltip-template-transclude="contentExp()"\n    tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]);