angular.module("ui.bootstrap",["ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(f,m,h,e){var g=e.has("$animateCss")?e.get("$animateCss"):null;return{link:function(t,n,e){var o=h(e.expanding),i=h(e.expanded),a=h(e.collapsing),r=h(e.collapsed),l=!1,s={},u={};function p(e){return l?{width:e.scrollWidth+"px"}:{height:e.scrollHeight+"px"}}function c(){n.removeClass("collapsing").addClass("collapse").css(s),i(t)}function d(){n.css(u),n.removeClass("collapsing").addClass("collapse"),r(t)}!function(){u=(l=!!("horizontal"in e))?(s={width:""},{width:"0"}):(s={height:""},{height:"0"});t.$eval(e.uibCollapse)||n.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(s)}(),t.$watch(e.uibCollapse,function(e){e?function(){if(!n.hasClass("collapse")&&!n.hasClass("in"))return d();m.resolve(a(t)).then(function(){n.css(p(n[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),g?g(n,{removeClass:"in",to:u}).start().finally(d):f.removeClass(n,"in",{to:u}).then(d)},angular.noop)}():n.hasClass("collapse")&&n.hasClass("in")||m.resolve(o(t)).then(function(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),g?g(n,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:p(n[0])}).start().finally(c):f.addClass(n,"in",{css:{overflow:"hidden"},to:p(n[0])}).then(c)},angular.noop)})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(e,t,n){n.$observe("disabled",function(e){n.$set("tabindex",e?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,n,o){this.groups=[],this.closeOthers=function(t){(angular.isDefined(n.closeOthers)?e.$eval(n.closeOthers):o.closeOthers)&&angular.forEach(this.groups,function(e){e!==t&&(e.isOpen=!1)})},this.addGroup=function(t){var n=this;this.groups.push(t),t.$on("$destroy",function(e){n.removeGroup(t)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(t,n,e,o){n.addClass("panel"),o.addGroup(t),t.openClass=e.openClass||"panel-open",t.panelClass=e.panelClass||"panel-default",t.$watch("isOpen",function(e){n.toggleClass(t.openClass,!!e),e&&o.closeOthers(t)}),t.toggleOpen=function(e){t.isDisabled||e&&32!==e.which||(t.isOpen=!t.isOpen)};var i="accordiongroup-"+t.$id+"-"+Math.floor(1e4*Math.random());t.headingId=i+"-tab",t.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,o,i){o.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,n,t,o){e.$watch(function(){return o[t.uibAccordionTransclude]},function(e){var t;e&&((t=angular.element(n[0].querySelector("uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"))).html(""),t.append(e))})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(e,t,n,o,i){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var a=angular.isDefined(n.dismissOnTimeout)?o(n.dismissOnTimeout)(e.$parent):null;a&&i(function(){e.close()},parseInt(a,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(l){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,o,e){var i=e[0],a=e[1],r=l(o.uibUncheckable);n.find("input").css({display:"none"}),a.$render=function(){n.toggleClass(i.activeClass,angular.equals(a.$modelValue,t.$eval(o.uibBtnRadio)))},n.on(i.toggleEvent,function(){var e;o.disabled||((e=n.hasClass(i.activeClass))&&!angular.isDefined(o.uncheckable)||t.$apply(function(){a.$setViewValue(e?null:t.$eval(o.uibBtnRadio)),a.$render()}))}),o.uibUncheckable&&t.$watch(r,function(e){o.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(n,e,t,o){var i=o[0],a=o[1];function r(){return l(t.btnCheckboxTrue,!0)}function l(e,t){return angular.isDefined(e)?n.$eval(e):t}e.find("input").css({display:"none"}),a.$render=function(){e.toggleClass(i.activeClass,angular.equals(a.$modelValue,r()))},e.on(i.toggleEvent,function(){t.disabled||n.$apply(function(){a.$setViewValue(e.hasClass(i.activeClass)?l(t.btnCheckboxFalse,!1):r()),a.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(i,a,t,e,r){var n,o,l=this,s=l.slides=i.slides=[],u="uib-slideDirection",p=i.active,c=!1;function d(e){for(var t=0;t=s.length?(p=s.length-1,d(i.active=p),l.select(s[s.length-1])):(p=t,d(i.active=p),l.select(s[t])):tl.getCurrentIndex()?"next":"prev"),e.slide.index===p||i.$currentTransition||function(e,t,n){if(c)return;{var o;angular.extend(e,{direction:n}),angular.extend(s[p].slide||{},{direction:n}),r.enabled(a)&&!i.$currentTransition&&s[t].element&&1=e.length||"'"!==e.charAt(i+1))&&(o.push(a(e,n,i)),n=null);else if(i===e.length)for(;nd.modes.indexOf(d[t]))&&(r.datepickerMode=d[t],r.datepickerOptions.datepickerMode=d[t])}):d[t]=r[t]=s[t]||null}}),r.uniqueId="datepicker-"+r.$id+"-"+Math.floor(1e4*Math.random()),r.disabled=angular.isDefined(t.disabled)||!1,angular.isDefined(t.ngDisabled)&&h.push(r.$parent.$watch(t.ngDisabled,function(e){r.disabled=e,d.refreshView()})),r.isActive=function(e){return 0===d.compare(e.date,d.activeDate)&&(r.activeDateId=e.uid,!0)},this.init=function(e){m=function(e){var t;{var n;angular.version.minor<6?(t=e.$options||r.datepickerOptions.ngModelOptions||s.ngModelOptions||{}).getOption=function(e){return t[e]}:(n=e.$options.getOption("timezone")||(r.datepickerOptions.ngModelOptions?r.datepickerOptions.ngModelOptions.timezone:null)||(s.ngModelOptions?s.ngModelOptions.timezone:null),t=e.$options.createChild(s.ngModelOptions).createChild(r.datepickerOptions.ngModelOptions).createChild(e.$options).createChild({timezone:n}))}return t}(f=e),r.datepickerOptions.initDate?(d.activeDate=c.fromTimezone(r.datepickerOptions.initDate,m.getOption("timezone"))||new Date,r.$watch("datepickerOptions.initDate",function(e){e&&(f.$isEmpty(f.$modelValue)||f.$invalid)&&(d.activeDate=c.fromTimezone(e,m.getOption("timezone")),d.refreshView())})):d.activeDate=new Date;var t=f.$modelValue?new Date(f.$modelValue):new Date;this.activeDate=isNaN(t)?c.fromTimezone(new Date,m.getOption("timezone")):c.fromTimezone(t,m.getOption("timezone")),f.$render=function(){d.render()}},this.render=function(){var e;f.$viewValue&&(e=new Date(f.$viewValue),!isNaN(e)?this.activeDate=c.fromTimezone(e,m.getOption("timezone")):p||a.error('Datepicker directive: "ng-model" value must be a Date object')),this.refreshView()},this.refreshView=function(){var e;this.element&&(r.selectedDt=null,this._refreshView(),r.activeDt&&(r.activeDateId=r.activeDt.uid),e=f.$viewValue?new Date(f.$viewValue):null,e=c.fromTimezone(e,m.getOption("timezone")),f.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e)))},this.createDateObject=function(e,t){var n=f.$viewValue?new Date(f.$viewValue):null,n=c.fromTimezone(n,m.getOption("timezone")),o=new Date,o=c.fromTimezone(o,m.getOption("timezone")),i=this.compare(e,o),a={date:e,label:c.filter(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),past:i<0,current:0===i,future:0'),u.find("body").append(n),o=n[0].offsetWidth-n[0].clientWidth,o=isFinite(o)?o:0,n.remove()),o)},scrollbarPadding:function(e){e=this.getRawNode(e);var t=m.getComputedStyle(e),n=this.parseStyle(t.paddingRight),o=this.parseStyle(t.paddingBottom),i=this.scrollParent(e,!1,!0),a=this.scrollbarWidth(r.test(i.tagName));return{scrollbarWidth:a,widthOverflow:i.scrollWidth>i.clientWidth,right:n+a,originalRight:n,heightOverflow:i.scrollHeight>i.clientHeight,bottom:o+a,originalBottom:o}},isScrollable:function(e,t){e=this.getRawNode(e);var n=t?p.hidden:p.normal,o=m.getComputedStyle(e);return n.test(o.overflow+o.overflowY+o.overflowX)},scrollParent:function(e,t,n){e=this.getRawNode(e);var o=t?p.hidden:p.normal,i=u[0].documentElement,a=m.getComputedStyle(e);if(n&&o.test(a.overflow+a.overflowY+a.overflowX))return e;var r="absolute"===a.position,l=e.parentElement||i;if(l===i||"fixed"===a.position)return i;for(;l.parentElement&&l!==i;){var s=m.getComputedStyle(l);if(r&&"static"!==s.position&&(r=!1),!r&&o.test(s.overflow+s.overflowY+s.overflowX))break;l=l.parentElement}return l},position:function(e,t){e=this.getRawNode(e);var n,o=this.offset(e);t&&(n=m.getComputedStyle(e),o.top-=this.parseStyle(n.marginTop),o.left-=this.parseStyle(n.marginLeft));var i=this.offsetParent(e),a={top:0,left:0};return i!==u[0].documentElement&&((a=this.offset(i)).top+=i.clientTop-i.scrollTop,a.left+=i.clientLeft-i.scrollLeft),{width:Math.round(angular.isNumber(o.width)?o.width:e.offsetWidth),height:Math.round(angular.isNumber(o.height)?o.height:e.offsetHeight),top:Math.round(o.top-a.top),left:Math.round(o.left-a.left)}},offset:function(e){var t=(e=this.getRawNode(e)).getBoundingClientRect();return{width:Math.round(angular.isNumber(t.width)?t.width:e.offsetWidth),height:Math.round(angular.isNumber(t.height)?t.height:e.offsetHeight),top:Math.round(t.top+(m.pageYOffset||u[0].documentElement.scrollTop)),left:Math.round(t.left+(m.pageXOffset||u[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,n){n=!1!==n;var o,i=(e=this.getRawNode(e)).getBoundingClientRect(),a={top:0,left:0,bottom:0,right:0},r=t?u[0].documentElement:this.scrollParent(e),l=r.getBoundingClientRect();return a.top=l.top+r.clientTop,a.left=l.left+r.clientLeft,r===u[0].documentElement&&(a.top+=m.pageYOffset,a.left+=m.pageXOffset),a.bottom=a.top+r.clientHeight,a.right=a.left+r.clientWidth,n&&(o=m.getComputedStyle(r),a.top+=this.parseStyle(o.paddingTop),a.bottom-=this.parseStyle(o.paddingBottom),a.left+=this.parseStyle(o.paddingLeft),a.right-=this.parseStyle(o.paddingRight)),{top:Math.round(i.top-a.top),bottom:Math.round(a.bottom-i.bottom),left:Math.round(i.left-a.left),right:Math.round(a.right-i.right)}},parsePlacement:function(e){var t=h.auto.test(e);return t&&(e=e.replace(h.auto,"")),(e=e.split("-"))[0]=e[0]||"top",h.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",h.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,n,o){e=this.getRawNode(e),t=this.getRawNode(t);var i=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),a=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");n=this.parsePlacement(n);var r,l,s,u,p,c,d=o?this.offset(e):this.position(e),f={top:0,left:0,placement:""};switch(n[2]&&(r=this.viewportOffset(e,o),l=m.getComputedStyle(t),s=i+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),u=a+Math.round(Math.abs(this.parseStyle(l.marginTop)+this.parseStyle(l.marginBottom))),n[0]="top"===n[0]&&u>r.top&&u<=r.bottom?"bottom":"bottom"===n[0]&&u>r.bottom&&u<=r.top?"top":"left"===n[0]&&s>r.left&&s<=r.right?"right":"right"===n[0]&&s>r.right&&s<=r.left?"left":n[0],n[1]="top"===n[1]&&u-d.height>r.bottom&&u-d.height<=r.top?"bottom":"bottom"===n[1]&&u-d.height>r.top&&u-d.height<=r.bottom?"top":"left"===n[1]&&s-d.width>r.right&&s-d.width<=r.left?"right":"right"===n[1]&&s-d.width>r.left&&s-d.width<=r.right?"left":n[1],"center"===n[1]&&(h.vertical.test(n[0])?(p=d.width/2-i/2,r.left+p<0&&s-d.width<=r.right?n[1]="left":r.right+p<0&&s-d.width<=r.left&&(n[1]="right")):(c=d.height/2-u/2,r.top+c<0&&u-d.height<=r.bottom?n[1]="top":r.bottom+c<0&&u-d.height<=r.top&&(n[1]="bottom")))),n[0]){case"top":f.top=d.top-a;break;case"bottom":f.top=d.top+d.height;break;case"left":f.left=d.left-i;break;case"right":f.left=d.left+d.width}switch(n[1]){case"top":f.top=d.top;break;case"bottom":f.top=d.top+d.height-a;break;case"left":f.left=d.left;break;case"right":f.left=d.left+d.width-i;break;case"center":h.vertical.test(n[0])?f.left=d.left+d.width/2-i/2:f.top=d.top+d.height/2-a/2}return f.top=Math.round(f.top),f.left=Math.round(f.left),f.placement="center"===n[1]?n[0]:n[0]+"-"+n[1],f},adjustTop:function(e,t,n,o){if(-1!==e.indexOf("top")&&n!==o)return{top:t.top-o+"px"}},positionArrow:function(e,t){var n=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(n){var o=angular.element(n).hasClass("tooltip-inner"),i=o?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(i){var a={top:"",bottom:"",left:"",right:""};if("center"!==(t=this.parsePlacement(t))[1]){var r="border-"+t[0]+"-width",l=m.getComputedStyle(i)[r],s="border-";h.vertical.test(t[0])?s+=t[0]+"-"+t[1]:s+=t[1]+"-"+t[0],s+="-radius";var u=m.getComputedStyle(o?n:e)[s];switch(t[0]){case"top":a.bottom=o?"0":"-"+l;break;case"bottom":a.top=o?"0":"-"+l;break;case"left":a.right=o?"0":"-"+l;break;case"right":a.left=o?"0":"-"+l}a[t[1]]=u,angular.element(i).css(a)}else angular.element(i).css(a)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(i,a,o,t,n,e,r,l,s,u,p,c,d,f,m,h){var g,b,v,$,y,w,D,k,C,T,x,M,O,E=!1,P=[];function S(e){var t=c.parse(e,g,i.date);if(isNaN(t))for(var n=0;n
")).attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":y}),(k=angular.element(D.children()[0])).attr("template-url",w),i.datepickerOptions||(i.datepickerOptions={}),E&&"month"===o.type&&(i.datepickerOptions.datepickerMode="month",i.datepickerOptions.minMode="month"),k.attr("datepicker-options","datepickerOptions"),E?T.$formatters.push(function(e){return i.date=c.fromTimezone(e,x.getOption("timezone")),e}):(T.$$parserName="date",T.$validators.date=I,T.$parsers.unshift(A),T.$formatters.push(function(e){return T.$isEmpty(e)?i.date=e:(angular.isNumber(e)&&(e=new Date(e)),i.date=c.fromTimezone(e,x.getOption("timezone")),c.filter(i.date,g))})),T.$viewChangeListeners.push(function(){i.date=S(T.$viewValue)}),a.on("keydown",N),M=t(D)(i),D.remove(),v?l.find("body").append(M):a.after(M),i.$on("$destroy",function(){for(!0===i.isOpen&&(s.$$phase||i.$apply(function(){i.isOpen=!1})),M.remove(),a.off("keydown",N),l.off("click",U),C&&C.off("scroll",F),angular.element(r).off("resize",F);P.length;)P.shift()()})},i.getText=function(e){return i[e+"Text"]||d[e+"Text"]},i.isDisabled=function(e){"today"===e&&(e=c.fromTimezone(new Date,x.getOption("timezone")));var t={};return angular.forEach(["minDate","maxDate"],function(e){i.datepickerOptions[e]?angular.isDate(i.datepickerOptions[e])?t[e]=new Date(i.datepickerOptions[e]):(h&&n.warn("Literal date support has been deprecated, please switch to date object usage"),t[e]=new Date(p(i.datepickerOptions[e],"medium"))):t[e]=null}),i.datepickerOptions&&t.minDate&&i.compare(e,t.minDate)<0||t.maxDate&&0'),M.dropdownMenu.replaceWith(c),M.dropdownMenu=c),M.selectedOption=null),angular.isFunction(S)&&S(g,e)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,o){o.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,o){var i;o&&!angular.isDefined(n.dropdownNested)&&(t.addClass("dropdown-menu"),(i=n.templateUrl)&&(o.dropdownMenuTemplateUrl=i),o.dropdownMenu||(o.dropdownMenu=t))}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,n,o,i){var e;i&&(n.addClass("dropdown-toggle"),i.toggleElement=n,e=function(e){e.preventDefault(),n.hasClass("disabled")||o.disabled||t.$apply(function(){i.toggle()})},n.on("click",e),n.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(i.isOpen,function(e){n.attr("aria-expanded",!!e)}),t.$on("$destroy",function(){n.off("click",e)}))}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var o=[];return{add:function(e,t){o.push({key:e,value:t})},get:function(e){for(var t=0;t')).attr({class:"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),t.backdropClass&&f.addClass(t.backdropClass),t.animation&&f.attr("modal-animation","true"),p(f)(m),s.enter(f,a),d.isScrollable(a)&&(h=d.scrollbarPadding(a)).heightOverflow&&h.scrollbarWidth&&a.css({paddingRight:h.right+"px"})),t.component?(i=document.createElement(t.component.name.replace(k,function(e,t){return(t?"-":"")+e.toLowerCase()})),(i=angular.element(i)).attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):i=t.content,y=w?parseInt(w.value.modalDomEl.attr("index"),10)+1:0;var l=angular.element('
');l.attr({class:"modal","template-url":t.windowTemplateUrl,"window-top-class":t.windowTopClass,role:"dialog","aria-labelledby":t.ariaLabelledBy,"aria-describedby":t.ariaDescribedBy,size:t.size,index:y,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(i),t.windowClass&&l.addClass(t.windowClass),t.animation&&l.attr("modal-animation","true"),a.addClass(o),t.scope&&(t.scope.$$topModalIndex=y),s.enter(p(l)(t.scope),a),b.top().value.modalDomEl=l,b.top().value.modalOpener=n,function e(t){if(!t||"BODY"===t[0].tagName)return;n(t).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),n=parseInt(e.getAttribute(D),10);n=n||(t?1:0),e.setAttribute(D,n+1),e.setAttribute("aria-hidden","true")});return e(t.parent());function n(t){var e=t.parent()?t.parent().children():[];return Array.prototype.filter.call(e,function(e){return e!==t[0]})}}(l)},$.close=function(e,t){var n=b.get(e);return x(),n&&r(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),o(e,n.value.modalOpener),!0):!n},$.dismiss=function(e,t){var n=b.get(e);return x(),n&&r(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),o(e,n.value.modalOpener),!0):!n},$.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},$.getTop=function(){return b.top()},$.modalRendered=function(e){var t=b.get(e);t&&t.value.renderDeferred.resolve()},$.focusFirstFocusableElement=function(e){return 0o.totalPages?o.selectPage(o.totalPages):n.ngModelCtrl.$render()},o.$on("$destroy",function(){for(;n._watchers.length;)n._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,o){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):o.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(r){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},link:function(e,t,n,o){t.addClass("pager");var i=o[0],a=o[1];a&&i.init(a,r)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,n,e,o,i){var a=this,m=angular.isDefined(n.maxSize)?t.$parent.$eval(n.maxSize):i.maxSize,h=angular.isDefined(n.rotate)?t.$parent.$eval(n.rotate):i.rotate,g=angular.isDefined(n.forceEllipses)?t.$parent.$eval(n.forceEllipses):i.forceEllipses,b=angular.isDefined(n.boundaryLinkNumbers)?t.$parent.$eval(n.boundaryLinkNumbers):i.boundaryLinkNumbers,v=angular.isDefined(n.pageLabel)?function(e){return t.$parent.$eval(n.pageLabel,{$page:e})}:angular.identity;function $(e,t,n){return{number:e,text:t,active:n}}t.boundaryLinks=angular.isDefined(n.boundaryLinks)?t.$parent.$eval(n.boundaryLinks):i.boundaryLinks,t.directionLinks=angular.isDefined(n.directionLinks)?t.$parent.$eval(n.directionLinks):i.directionLinks,n.$set("role","menu"),o.create(this,t,n),n.maxSize&&a._watchers.push(t.$parent.$watch(e(n.maxSize),function(e){m=parseInt(e,10),a.render()}));var r=this.render;this.render=function(){r(),0';return{compile:function(e,t){var R=a(i);return function(o,a,i){var r,e,t,n,l,s,u,p,c=!!angular.isDefined(z.appendToBody)&&z.appendToBody,d=q(void 0),f=angular.isDefined(i[L+"Enable"]),m=o.$new(!0),h=!1,g=!!angular.isDefined(i[L+"IsOpen"])&&j(i[L+"IsOpen"]),b=!!z.useContentExp&&j(i[V]),v=[],$=function(){r&&r.html()&&(s=s||Y(function(){var e=W.positionElements(a,r,m.placement,c),n=angular.isDefined(r.offsetHeight)?r.offsetHeight:r.prop("offsetHeight"),o=c?W.offset(a):W.position(a);r.css({top:e.top+"px",left:e.left+"px"});var i=e.placement.split("-");r.hasClass(i[0])||(r.removeClass(p.split("-")[0]),r.addClass(i[0])),r.hasClass(z.placementClassPrefix+e.placement)||(r.removeClass(z.placementClassPrefix+p),r.addClass(z.placementClassPrefix+e.placement)),u=Y(function(){var e=angular.isDefined(r.offsetHeight)?r.offsetHeight:r.prop("offsetHeight"),t=W.adjustTop(i,o,n,e);t&&r.css(t),u=null},0,!1),r.hasClass("uib-position-measure")?(W.positionArrow(r,e.placement),r.removeClass("uib-position-measure")):p!==e.placement&&W.positionArrow(r,e.placement),p=e.placement,s=null},0,!1))};function y(){(m.isOpen?D:w)()}function w(){f&&!o.$eval(i[L+"Enable"])||(x(),function(){m.title=i[L+"Title"],m.content=b?b(o):i[V];m.popupClass=i[L+"Class"],m.placement=angular.isDefined(i[L+"Placement"])?i[L+"Placement"]:z.placement;var e=W.parsePlacement(m.placement);p=e[1]?e[0]+"-"+e[1]:e[0];var t=parseInt(i[L+"PopupDelay"],10),n=parseInt(i[L+"PopupCloseDelay"],10);m.popupDelay=isNaN(t)?z.popupDelay:t,m.popupCloseDelay=isNaN(n)?z.popupCloseDelay:n}(),m.popupDelay?n=n||Y(k,m.popupDelay,!1):k())}function D(){C(),m.popupCloseDelay?l=l||Y(T,m.popupCloseDelay,!1):T()}function k(){if(C(),x(),!m.content)return angular.noop;!function(){if(r)return;e=m.$new(),r=R(e,function(e){c?B.find("body").append(e):a.after(e)}),_.add(m,{close:T}),function(){v.length=0,b?(v.push(o.$watch(b,function(e){!(m.content=e)&&m.isOpen&&T()})),v.push(e.$watch(function(){h||(h=!0,e.$$postDigest(function(){h=!1,m&&m.isOpen&&$()}))}))):v.push(i.$observe(V,function(e){(!(m.content=e)&&m.isOpen?T:$)()}));v.push(i.$observe(L+"Title",function(e){m.title=e,m.isOpen&&$()})),v.push(i.$observe(L+"Placement",function(e){m.placement=e||z.placement,m.isOpen&&$()}))}()}(),m.$evalAsync(function(){O(m.isOpen=!0),$()})}function C(){n&&(Y.cancel(n),n=null),s&&(Y.cancel(s),s=null)}function T(){m&&m.$evalAsync(function(){m&&(O(m.isOpen=!1),m.animation?t=t||Y(M,150,!1):M())})}function x(){l&&(Y.cancel(l),l=null),t&&(Y.cancel(t),t=null)}function M(){C(),x(),v.length&&(angular.forEach(v,function(e){e()}),v.length=0),r&&(r.remove(),r=null,u&&Y.cancel(u)),_.remove(m),e&&(e.$destroy(),e=null)}function O(e){g&&angular.isFunction(g.assign)&&g.assign(o,e)}function E(e){m&&m.isOpen&&r&&(a[0].contains(e.target)||r[0].contains(e.target)||D())}function P(e){27===e.which&&D()}m.origScope=o,m.isOpen=!1,m.contentExp=function(){return m.content},i.$observe("disabled",function(e){e&&C(),e&&m.isOpen&&T()}),g&&o.$watch(g,function(e){m&&!e===m.isOpen&&y()});function S(){d.show.forEach(function(e){"outsideClick"===e?a.off("click",y):(a.off(e,w),a.off(e,y)),a.off("keypress",P)}),d.hide.forEach(function(e){"outsideClick"===e?B.off("click",E):a.off(e,D)})}var A,I,U;A=[],I=[],U=o.$eval(i[L+"Trigger"]),S(),"none"!==(d=angular.isObject(U)?(Object.keys(U).forEach(function(e){A.push(e),I.push(U[e])}),{show:A,hide:I}):q(U)).show&&d.show.forEach(function(e,t){"outsideClick"===e?(a.on("click",y),B.on("click",E)):e===d.hide[t]?a.on(e,y):e&&(a.on(e,w),a.on(d.hide[t],D)),a.on("keypress",P)});var N=o.$eval(i[L+"Animation"]);m.animation=angular.isDefined(N)?!!N:z.animation;var F=L+"AppendToBody",H=F in i&&void 0===i[F]||o.$eval(i[F]),c=angular.isDefined(H)?H:c;o.$on("$destroy",function(){S(),M(),m=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(c,o,d,f){return{link:function(e,a,t){function r(){n&&(n.remove(),n=null),l&&(l.$destroy(),l=null),s&&(c.leave(s).then(function(){n=null}),n=s,s=null)}var l,n,s,u=e.$eval(t.tooltipTemplateTranscludeScope),p=0;e.$watch(o.parseAsResourceUrl(t.uibTooltipTemplateTransclude),function(o){var i=++p;o?(f(o,!0).then(function(e){var t,n;i===p&&(t=u.$new(),n=d(e)(t,function(e){r(),c.enter(e,a)}),s=n,(l=t).$emit("$includeContentLoaded",o))},function(){i===p&&(r(),e.$emit("$includeContentError",o))}),e.$emit("$includeContentRequested",o)):r()}),e.$on("$destroy",r)}}}]).directive("uibTooltipClasses",["$uibPosition",function(i){return{restrict:"A",link:function(e,t,n){var o;e.placement&&(o=i.parsePlacement(e.placement),t.addClass(o[0])),e.popupClass&&t.addClass(e.popupClass),e.animation&&t.addClass(n.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){var o=this,i=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;function a(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}this.bars=[],e.max=a(),this.addBar=function(t,e,n){i||e.css({transition:"none"}),this.bars.push(t),t.max=a(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=o.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);100=this.titles.length?e+1:this.titles[e]},o.rate=function(e){var t;!o.readonly&&0<=e&&e<=o.range.length&&(t=n.enableReset&&r.$viewValue===e?0:e,r.$setViewValue(t),r.$render())},o.enter=function(e){o.readonly||(o.value=e),o.onHover({value:e})},o.reset=function(){o.value=r.$viewValue,o.onLeave()},o.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),o.rate(o.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){o.value=r.$viewValue,o.title=n.getTitle(o.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(e,t,n,o){var i=o[0],a=o[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){var a,r,l=this;function s(e){for(var t=0;tt.index?1:e.indexb:$||O(i,-720)")).css("position","relative"),p.after(R),(V=p.clone()).attr("placeholder",""),V.attr("tabindex","-1"),V.val(""),V.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),p.css({position:"relative","vertical-align":"top","background-color":"transparent"}),V.attr("id")&&V.removeAttr("id"),R.append(V),V.after(p));var z=angular.element("
");z.attr({id:L,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(l.typeaheadTemplateUrl)&&z.attr("template-url",l.typeaheadTemplateUrl),angular.isDefined(l.typeaheadPopupTemplateUrl)&&z.attr("popup-template-url",l.typeaheadPopupTemplateUrl);function q(){F.matches=[],F.activeIdx=-1,p.attr("aria-expanded",!1),A&&V.val("")}function Y(e){return L+"-option-"+e}F.$watch("activeIdx",function(e){e<0?p.removeAttr("aria-activedescendant"):p.attr("aria-activedescendant",Y(e))});function B(r,l){var s={$viewValue:r};w(u,!0),T(u,!1),n.when(N.source(u,s)).then(function(e){var t,n,o=r===f.$viewValue;if(o&&$)if(e&&0n&&t&&t.toUpperCase()===F.matches[n].label.toUpperCase())&&(angular.isNumber(F.debounceUpdate)||angular.isObject(F.debounceUpdate)?c(function(){F.select(0,l)},angular.isNumber(F.debounceUpdate)?F.debounceUpdate:F.debounceUpdate.default):F.select(0,l)),A&&(i=F.matches[0].label,angular.isString(r)&&0=g?0/g.test(e)&&o.warn("Unsafe use of typeahead please use ngSanitize"),e=t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"$&"):e,i||(e=n.trustAsHtml(e)),e}}]),angular.module("ui.bootstrap.carousel").run(function(){angular.$$csp().noInlineStyle||angular.$$uibCarouselCss||angular.element(document).find("head").prepend(''),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){angular.$$csp().noInlineStyle||angular.$$uibDatepickerCss||angular.element(document).find("head").prepend(''),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){angular.$$csp().noInlineStyle||angular.$$uibPositionCss||angular.element(document).find("head").prepend(''),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){angular.$$csp().noInlineStyle||angular.$$uibDatepickerpopupCss||angular.element(document).find("head").prepend(''),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTooltipCss||angular.element(document).find("head").prepend(''),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTimepickerCss||angular.element(document).find("head").prepend(''),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTypeaheadCss||angular.element(document).find("head").prepend(''),angular.$$uibTypeaheadCss=!0});