mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-19 14:42:56 +01:00
1 line
123 KiB
JavaScript
1 line
123 KiB
JavaScript
angular.module("ui.bootstrap",["ui.bootstrap.tpls","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.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(m,g,f,e){var h=e.has("$animateCss")?e.get("$animateCss"):null;return{link:function(t,n,e){var a=f(e.expanding),i=f(e.expanded),o=f(e.collapsing),r=f(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();g.resolve(o(t)).then(function(){n.css(p(n[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),h?h(n,{removeClass:"in",to:u}).start().finally(d):m.removeClass(n,"in",{to:u}).then(d)},angular.noop)}():n.hasClass("collapse")&&n.hasClass("in")||g.resolve(a(t)).then(function(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),h?h(n,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:p(n[0])}).start().finally(c):m.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,a){this.groups=[],this.closeOthers=function(t){(angular.isDefined(n.closeOthers)?e.$eval(n.closeOthers):a.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,a){n.addClass("panel"),a.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&&a.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,a,i){a.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,n,t,a){e.$watch(function(){return a[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,a,i){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var o=angular.isDefined(n.dismissOnTimeout)?a(n.dismissOnTimeout)(e.$parent):null;o&&i(function(){e.close()},parseInt(o,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,a,e){var i=e[0],o=e[1],r=l(a.uibUncheckable);n.find("input").css({display:"none"}),o.$render=function(){n.toggleClass(i.activeClass,angular.equals(o.$modelValue,t.$eval(a.uibBtnRadio)))},n.on(i.toggleEvent,function(){var e;a.disabled||((e=n.hasClass(i.activeClass))&&!angular.isDefined(a.uncheckable)||t.$apply(function(){o.$setViewValue(e?null:t.$eval(a.uibBtnRadio)),o.$render()}))}),a.uibUncheckable&&t.$watch(r,function(e){a.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(n,e,t,a){var i=a[0],o=a[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"}),o.$render=function(){e.toggleClass(i.activeClass,angular.equals(o.$modelValue,r()))},e.on(i.toggleEvent,function(){t.disabled||n.$apply(function(){o.$setViewValue(e.hasClass(i.activeClass)?l(t.btnCheckboxFalse,!1):r()),o.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(i,o,t,e,r){var n,a,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;t++)s[t].slide.active=t===e}function m(e){for(var t=0;t<s.length;t++)if(s[t].slide===e)return t}function g(){n&&(t.cancel(n),n=null)}function f(){g();var e=+i.interval;!isNaN(e)&&0<e&&(n=t(h,e))}function h(){var e=+i.interval;a&&!isNaN(e)&&0<e&&s.length?i.next():i.pause()}o.addClass("carousel"),l.addSlide=function(e,t){s.push({slide:e,element:t}),s.sort(function(e,t){return e.slide.index-t.slide.index}),e.index!==i.active&&(1!==s.length||angular.isNumber(i.active))||(i.$currentTransition&&(i.$currentTransition=null),p=e.index,i.active=e.index,d(p),l.select(s[m(e)]),1===s.length&&i.play())},l.getCurrentIndex=function(){for(var e=0;e<s.length;e++)if(s[e].slide.index===p)return e},l.next=i.next=function(){var e=(l.getCurrentIndex()+1)%s.length;if(0!=e||!i.noWrap())return l.select(s[e],"next");i.pause()},l.prev=i.prev=function(){var e=l.getCurrentIndex()-1<0?s.length-1:l.getCurrentIndex()-1;if(!i.noWrap()||e!=s.length-1)return l.select(s[e],"prev");i.pause()},l.removeSlide=function(e){var t=m(e);s.splice(t,1),0<s.length&&p===t?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])):t<p&&(p--,i.active=p),0===s.length&&(p=null,i.active=null)},l.select=i.select=function(e,t){var n=m(e.slide);void 0===t&&(t=n>l.getCurrentIndex()?"next":"prev"),e.slide.index===p||i.$currentTransition||function(e,t,n){if(c)return;{var a;angular.extend(e,{direction:n}),angular.extend(s[p].slide||{},{direction:n}),r.enabled(o)&&!i.$currentTransition&&s[t].element&&1<l.slides.length&&(s[t].element.data(u,e.direction),a=l.getCurrentIndex(),angular.isNumber(a)&&s[a].element&&s[a].element.data(u,e.direction),i.$currentTransition=!0,r.on("addClass",s[t].element,function(e,t){"close"===t&&(i.$currentTransition=null,r.off("addClass",e))}))}i.active=e.index,p=e.index,d(t),f()}(e.slide,n,t)},i.indexOfSlide=function(e){return+e.slide.index},i.isActive=function(e){return i.active===e.slide.index},i.isPrevDisabled=function(){return 0===i.active&&i.noWrap()},i.isNextDisabled=function(){return i.active===s.length-1&&i.noWrap()},i.pause=function(){i.noPause||(a=!1,g())},i.play=function(){a||(a=!0,f())},o.on("mouseenter",i.pause),o.on("mouseleave",i.play),i.$on("$destroy",function(){c=!0,g()}),i.$watch("noTransition",function(e){r.enabled(o,!e)}),i.$watch("interval",f),i.$watchCollection("slides",function(e){e.length||(i.$currentTransition=null)}),i.$watch("active",function(e){if(angular.isNumber(e)&&p!==e){for(var t=0;t<s.length;t++)if(s[t].slide.index===e){e=t;break}s[e]&&(d(e),l.select(s[e]),p=e)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(i){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(e,t,n,a){t.addClass("item"),a.addSlide(e,t),e.$on("$destroy",function(){a.removeSlide(e)}),e.$watch("active",function(e){i[e?"addClass":"removeClass"](t,"active")})}}}]).animation(".item",["$animateCss",function(r){var l="uib-slideDirection";function s(e,t,n){e.removeClass(t),n&&n()}return{beforeAddClass:function(e,t,n){if("active"===t){var a=e.data(l),i="next"===a?"left":"right",o=s.bind(this,e,i+" "+a,n);return e.addClass(a),r(e,{addClass:i}).start().done(o),function(){0}}n()},beforeRemoveClass:function(e,t,n){if("active"===t){var a="next"===e.data(l)?"left":"right",i=s.bind(this,e,a,n);return r(e,{addClass:a}).start().done(i),function(){0}}n()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(f,h,n,b,t){var v,$,y=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function a(e){return t($,{key:e},!0)[0]}function o(e,t,n){return function(){return e.substr(t+1,n-t-1)}}function r(e,t){for(var n=e.substr(t),a=0;a<$.length;a++)if(new RegExp("^"+$[a].key).test(n)){var i=$[a];return{endIdx:t+i.key.length,parser:i.formatter}}return{endIdx:t+1,parser:function(){return n.charAt(0)}}}function l(e){return parseInt(e,10)}function i(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function s(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function u(e,t,n){n=n?-1:1;var a=e.getTimezoneOffset();return s(e,n*(i(t,a)-a))}this.init=function(){v=h.id,this.parsers={},this.formatters={},$=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=e<69?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:h.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=h.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:h.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=h.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:h.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:h.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:h.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],a=t[2],i=t[3];this.hours+=l(n+a),this.minutes+=l(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:h.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:h.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:h.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:h.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}],1<=angular.version.major&&4<angular.version.minor&&$.push({key:"LLLL",regex:h.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(e){this.month=h.DATETIME_FORMATS.STANDALONEMONTH.indexOf(e)},formatter:function(e){return n(e,"LLLL")}})},this.init(),this.getParser=function(e){var t=a(e);return t&&t.apply||null},this.overrideParser=function(e,t){var n=a(e);n&&angular.isFunction(t)&&(this.parsers={},n.apply=t)}.bind(this),this.filter=function(n,e){return angular.isDate(n)&&!isNaN(n)&&e?(e=h.DATETIME_FORMATS[e]||e,h.id!==v&&this.init(),this.formatters[e]||(this.formatters[e]=function(e){for(var t,n,a=[],i=0;i<e.length;)if(angular.isNumber(n)){if("'"===e.charAt(i))(i+1>=e.length||"'"!==e.charAt(i+1))&&(a.push(o(e,n,i)),n=null);else if(i===e.length)for(;n<e.length;)t=r(e,n),a.push(t),n=t.endIdx;i++}else"'"!==e.charAt(i)?(t=r(e,i),a.push(t.parser),i=t.endIdx):(n=i,i++);return a}(e)),this.formatters[e].reduce(function(e,t){return e+t(n)},"")):""},this.parse=function(e,t,n){if(!angular.isString(e)||!t)return e;t=(t=h.DATETIME_FORMATS[t]||t).replace(y,"\\$&"),h.id!==v&&this.init(),this.parsers[t]||(this.parsers[t]=function(i){var o=[],r=i.split(""),e=i.indexOf("'");if(-1<e){var t=!1;i=i.split("");for(var n=e;n<i.length;n++)t?("'"===i[n]&&(n+1<i.length&&"'"===i[n+1]?(i[n+1]="$",r[n+1]=""):(r[n]="",t=!1)),i[n]="$"):"'"===i[n]&&(i[n]="$",t=!(r[n]=""));i=i.join("")}return angular.forEach($,function(e){var t=i.indexOf(e.key);if(-1<t){i=i.split(""),r[t]="("+e.regex+")",i[t]="$";for(var n=t+1,a=t+e.key.length;n<a;n++)r[n]="",i[n]="$";i=i.join(""),o.push({index:t,key:e.key,apply:e.apply,matcher:e.regex})}}),{regex:new RegExp("^"+r.join("")+"$"),map:b(o,"index")}}(t));var a=this.parsers[t],i=a.regex,o=a.map,r=e.match(i),l=!1;if(r&&r.length){for(var s,u=angular.isDate(n)&&!isNaN(n.getTime())?{year:n.getFullYear(),month:n.getMonth(),date:n.getDate(),hours:n.getHours(),minutes:n.getMinutes(),seconds:n.getSeconds(),milliseconds:n.getMilliseconds()}:(n&&f.warn("dateparser:","baseDate is not a valid date"),{year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0}),p=1,c=r.length;p<c;p++){var d=o[p-1];"Z"===d.matcher&&(l=!0),d.apply&&d.apply.call(u,r[p])}var m=l?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,g=l?Date.prototype.setUTCHours:Date.prototype.setHours;return function(e,t,n){if(n<1)return;if(1===t&&28<n)return 29===n&&(e%4==0&&e%100!=0||e%400==0);return 3!==t&&5!==t&&8!==t&&10!==t||n<31}(u.year,u.month,u.date)&&(!angular.isDate(n)||isNaN(n.getTime())||l?(s=new Date(0),m.call(s,u.year,u.month,u.date),g.call(s,u.hours||0,u.minutes||0,u.seconds||0,u.milliseconds||0)):(s=new Date(n),m.call(s,u.year,u.month,u.date),g.call(s,u.hours,u.minutes,u.seconds,u.milliseconds))),s}},this.toTimezone=function(e,t){return e&&t?u(e,t):e},this.fromTimezone=function(e,t){return e&&t?u(e,t,!0):e},this.timezoneToOffset=i,this.addDateMinutes=s,this.convertTimezoneToLocal=u}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(p){var r=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,c=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(e,t){var i=[],l=[],s={},n=t.uibIsClass.match(r),u=n[2],a=n[1].split(",");return function(n,e,t){i.push(n),l.push({scope:n,element:e}),a.forEach(function(e,t){!function(e,t){var n=e.match(c),a=t.$eval(n[1]),i=n[2],o=s[e];{var r;o||(r=function(t){var n=null;l.some(function(e){if(e.scope.$eval(u)===t)return n=e,!0}),o.lastActivated!==n&&(o.lastActivated&&p.removeClass(o.lastActivated.element,a),n&&p.addClass(n.element,a),o.lastActivated=n)},s[e]=o={lastActivated:null,scope:t,watchFn:r,compareWithExp:i,watcher:t.$watch(i,r)})}o.watchFn(t.$eval(i))}(e,n)}),n.$on("$destroy",o)};function o(e){var t,n=e.targetScope,a=i.indexOf(n);i.splice(a,1),l.splice(a,1),i.length?(t=i[0],angular.forEach(s,function(e){e.scope===n&&(e.watcher=t.$watch(e.compareWithExp,e.watchFn),e.scope=t)})):s={}}}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(r,e,t,n,a,i,o,l,s,u,p,c){var d=this,m={$setViewValue:angular.noop},g={},f=[];e.addClass("uib-datepicker"),t.$set("role","application"),r.datepickerOptions||(r.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":r[t]=r.datepickerOptions[t]||angular.noop;break;case"datepickerMode":r.datepickerMode=angular.isDefined(r.datepickerOptions.datepickerMode)?r.datepickerOptions.datepickerMode:s.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":d[t]=angular.isDefined(r.datepickerOptions[t])?a(r.datepickerOptions[t])(r.$parent):s[t];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":d[t]=angular.isDefined(r.datepickerOptions[t])?r.datepickerOptions[t]:s[t];break;case"startingDay":angular.isDefined(r.datepickerOptions.startingDay)?d.startingDay=r.datepickerOptions.startingDay:angular.isNumber(s.startingDay)?d.startingDay=s.startingDay:d.startingDay=(i.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":r.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?d[t]=c.fromTimezone(new Date(e),g.getOption("timezone")):(u&&o.warn("Literal date support has been deprecated, please switch to date object usage"),d[t]=new Date(l(e,"medium"))):d[t]=s[t]?c.fromTimezone(new Date(s[t]),g.getOption("timezone")):null,d.refreshView()});break;case"maxMode":case"minMode":r.datepickerOptions[t]?r.$watch(function(){return r.datepickerOptions[t]},function(e){d[t]=r[t]=angular.isDefined(e)?e:r.datepickerOptions[t],("minMode"===t&&d.modes.indexOf(r.datepickerOptions.datepickerMode)<d.modes.indexOf(d[t])||"maxMode"===t&&d.modes.indexOf(r.datepickerOptions.datepickerMode)>d.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)&&f.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){g=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}(m=e),r.datepickerOptions.initDate?(d.activeDate=c.fromTimezone(r.datepickerOptions.initDate,g.getOption("timezone"))||new Date,r.$watch("datepickerOptions.initDate",function(e){e&&(m.$isEmpty(m.$modelValue)||m.$invalid)&&(d.activeDate=c.fromTimezone(e,g.getOption("timezone")),d.refreshView())})):d.activeDate=new Date;var t=m.$modelValue?new Date(m.$modelValue):new Date;this.activeDate=isNaN(t)?c.fromTimezone(new Date,g.getOption("timezone")):c.fromTimezone(t,g.getOption("timezone")),m.$render=function(){d.render()}},this.render=function(){var e;m.$viewValue&&(e=new Date(m.$viewValue),!isNaN(e)?this.activeDate=c.fromTimezone(e,g.getOption("timezone")):p||o.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=m.$viewValue?new Date(m.$viewValue):null,e=c.fromTimezone(e,g.getOption("timezone")),m.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e)))},this.createDateObject=function(e,t){var n=m.$viewValue?new Date(m.$viewValue):null,n=c.fromTimezone(n,g.getOption("timezone")),a=new Date,a=c.fromTimezone(a,g.getOption("timezone")),i=this.compare(e,a),o={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<i,customClass:this.customClass(e)||null};return n&&0===this.compare(e,n)&&(r.selectedDt=o),d.activeDate&&0===this.compare(o.date,d.activeDate)&&(r.activeDt=o),o},this.isDisabled=function(e){return r.disabled||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&0<this.compare(e,this.maxDate)||r.dateDisabled&&r.dateDisabled({date:e,mode:r.datepickerMode})},this.customClass=function(e){return r.customClass({date:e,mode:r.datepickerMode})},this.split=function(e,t){for(var n=[];0<e.length;)n.push(e.splice(0,t));return n},r.select=function(e){var t;r.datepickerMode===d.minMode?((t=m.$viewValue?c.fromTimezone(new Date(m.$viewValue),g.getOption("timezone")):new Date(0,0,0,0,0,0,0)).setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t=c.toTimezone(t,g.getOption("timezone")),m.$setViewValue(t),m.$render()):(d.activeDate=e,h(d.modes[d.modes.indexOf(r.datepickerMode)-1]),r.$emit("uib:datepicker.mode")),r.$broadcast("uib:datepicker.focus")},r.move=function(e){var t=d.activeDate.getFullYear()+e*(d.step.years||0),n=d.activeDate.getMonth()+e*(d.step.months||0);d.activeDate.setFullYear(t,n,1),d.refreshView()},r.toggleMode=function(e){e=e||1,r.datepickerMode===d.maxMode&&1===e||r.datepickerMode===d.minMode&&-1===e||(h(d.modes[d.modes.indexOf(r.datepickerMode)+e]),r.$emit("uib:datepicker.mode"))},r.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};function h(e){r.datepickerMode=e,r.datepickerOptions.datepickerMode=e}r.$on("uib:datepicker.focus",function(){d.element[0].focus()}),r.keydown=function(e){var t=r.keys[e.which];if(t&&!e.shiftKey&&!e.altKey&&!r.disabled)if(e.preventDefault(),d.shortcutPropagation||e.stopPropagation(),"enter"===t||"space"===t){if(d.isDisabled(d.activeDate))return;r.select(d.activeDate)}else!e.ctrlKey||"up"!==t&&"down"!==t?(d.handleKeyDown(t,e),d.refreshView()):r.toggleMode("up"===t?1:-1)},e.on("keydown",function(e){r.$apply(function(){r.keydown(e)})}),r.$on("$destroy",function(){for(;f.length;)f.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(d,e,m){var n=[31,28,31,30,31,30,31,31,30,31,30,31];function i(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?n[t]:29}function g(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}this.step={months:1},this.element=e,this.init=function(e){angular.extend(e,this),d.showWeeks=e.showWeeks,e.refreshView()},this.getDates=function(e,t){for(var n,a=new Array(t),i=new Date(e),o=0;o<t;)n=new Date(i),a[o++]=n,i.setDate(i.getDate()+1);return a},this._refreshView=function(){var e=this.activeDate.getFullYear(),t=this.activeDate.getMonth(),n=new Date(this.activeDate);n.setFullYear(e,t,1);var a=this.startingDay-n.getDay(),i=0<a?7-a:-a,o=new Date(n);0<i&&o.setDate(1-i);for(var r=this.getDates(o,42),l=0;l<42;l++)r[l]=angular.extend(this.createDateObject(r[l],this.formatDay),{secondary:r[l].getMonth()!==t,uid:d.uniqueId+"-"+l});d.labels=new Array(7);for(var s=0;s<7;s++)d.labels[s]={abbr:m(r[s].date,this.formatDayHeader),full:m(r[s].date,"EEEE")};if(d.title=m(this.activeDate,this.formatDayTitle),d.rows=this.split(r,7),d.showWeeks){d.weekNumbers=[];for(var u=(11-this.startingDay)%7,p=d.rows.length,c=0;c<p;c++)d.weekNumbers.push(g(d.rows[c][u].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),a.setFullYear(t.getFullYear()),n-a},this.handleKeyDown=function(e,t){var n,a=this.activeDate.getDate();"left"===e?--a:"up"===e?a-=7:"right"===e?a+=1:"down"===e?a+=7:"pageup"===e||"pagedown"===e?(n=this.activeDate.getMonth()+("pageup"===e?-1:1),this.activeDate.setMonth(n,1),a=Math.min(i(this.activeDate.getFullYear(),this.activeDate.getMonth()),a)):"home"===e?a=1:"end"===e&&(a=i(this.activeDate.getFullYear(),this.activeDate.getMonth())),this.activeDate.setDate(a)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(i,e,o){this.step={years:1},this.element=e,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var e,t=new Array(12),n=this.activeDate.getFullYear(),a=0;a<12;a++)(e=new Date(this.activeDate)).setFullYear(n,a,1),t[a]=angular.extend(this.createDateObject(e,this.formatMonth),{uid:i.uniqueId+"-"+a});i.title=o(this.activeDate,this.formatMonthTitle),i.rows=this.split(t,this.monthColumns),i.yearHeaderColspan=3<this.monthColumns?this.monthColumns-2:1},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),a=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),a.setFullYear(t.getFullYear()),n-a},this.handleKeyDown=function(e,t){var n,a=this.activeDate.getMonth();"left"===e?--a:"up"===e?a-=this.monthColumns:"right"===e?a+=1:"down"===e?a+=this.monthColumns:"pageup"===e||"pagedown"===e?(n=this.activeDate.getFullYear()+("pageup"===e?-1:1),this.activeDate.setFullYear(n)):"home"===e?a=0:"end"===e&&(a=11),this.activeDate.setMonth(a)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(i,e,t){var o,r;function l(e){return parseInt((e-1)/r,10)*r+1}this.element=e,this.yearpickerInit=function(){o=this.yearColumns,r=this.yearRows*o,this.step={years:r}},this._refreshView=function(){for(var e,t=new Array(r),n=0,a=l(this.activeDate.getFullYear());n<r;n++)(e=new Date(this.activeDate)).setFullYear(a+n,0,1),t[n]=angular.extend(this.createDateObject(e,this.formatYear),{uid:i.uniqueId+"-"+n});i.title=[t[0].label,t[r-1].label].join(" - "),i.rows=this.split(t,o),i.columns=o},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?--n:"up"===e?n-=o:"right"===e?n+=1:"down"===e?n+=o:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*r:"home"===e?n=l(this.activeDate.getFullYear()):"end"===e&&(n=l(this.activeDate.getFullYear())+r-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,a){var i=a[0],o=a[1];i.init(o)}}}).directive("uibDaypicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(e,t,n,a){var i=a[0];a[1].init(i)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(e,t,n,a){var i=a[0];a[1].init(i)}}}).directive("uibYearpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(e,t,n,a){var i=a[0];angular.extend(i,a[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(u,g){var a,i,p={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},f={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},r=/(HTML|BODY)/;return{getRawNode:function(e){return!e.nodeName&&e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(e){var t,n=(e=this.getRawNode(e)).offsetParent||u[0].documentElement;for(;n&&n!==u[0].documentElement&&(t=n,"static"===(g.getComputedStyle(t).position||"static"));)n=n.offsetParent;return n||u[0].documentElement},scrollbarWidth:function(e){var t,n;return e?(angular.isUndefined(i)&&((t=u.find("body")).addClass("uib-position-body-scrollbar-measure"),i=g.innerWidth-t[0].clientWidth,i=isFinite(i)?i:0,t.removeClass("uib-position-body-scrollbar-measure")),i):(angular.isUndefined(a)&&(n=angular.element('<div class="uib-position-scrollbar-measure"></div>'),u.find("body").append(n),a=n[0].offsetWidth-n[0].clientWidth,a=isFinite(a)?a:0,n.remove()),a)},scrollbarPadding:function(e){e=this.getRawNode(e);var t=g.getComputedStyle(e),n=this.parseStyle(t.paddingRight),a=this.parseStyle(t.paddingBottom),i=this.scrollParent(e,!1,!0),o=this.scrollbarWidth(r.test(i.tagName));return{scrollbarWidth:o,widthOverflow:i.scrollWidth>i.clientWidth,right:n+o,originalRight:n,heightOverflow:i.scrollHeight>i.clientHeight,bottom:a+o,originalBottom:a}},isScrollable:function(e,t){e=this.getRawNode(e);var n=t?p.hidden:p.normal,a=g.getComputedStyle(e);return n.test(a.overflow+a.overflowY+a.overflowX)},scrollParent:function(e,t,n){e=this.getRawNode(e);var a=t?p.hidden:p.normal,i=u[0].documentElement,o=g.getComputedStyle(e);if(n&&a.test(o.overflow+o.overflowY+o.overflowX))return e;var r="absolute"===o.position,l=e.parentElement||i;if(l===i||"fixed"===o.position)return i;for(;l.parentElement&&l!==i;){var s=g.getComputedStyle(l);if(r&&"static"!==s.position&&(r=!1),!r&&a.test(s.overflow+s.overflowY+s.overflowX))break;l=l.parentElement}return l},position:function(e,t){e=this.getRawNode(e);var n,a=this.offset(e);t&&(n=g.getComputedStyle(e),a.top-=this.parseStyle(n.marginTop),a.left-=this.parseStyle(n.marginLeft));var i=this.offsetParent(e),o={top:0,left:0};return i!==u[0].documentElement&&((o=this.offset(i)).top+=i.clientTop-i.scrollTop,o.left+=i.clientLeft-i.scrollLeft),{width:Math.round(angular.isNumber(a.width)?a.width:e.offsetWidth),height:Math.round(angular.isNumber(a.height)?a.height:e.offsetHeight),top:Math.round(a.top-o.top),left:Math.round(a.left-o.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+(g.pageYOffset||u[0].documentElement.scrollTop)),left:Math.round(t.left+(g.pageXOffset||u[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,n){n=!1!==n;var a,i=(e=this.getRawNode(e)).getBoundingClientRect(),o={top:0,left:0,bottom:0,right:0},r=t?u[0].documentElement:this.scrollParent(e),l=r.getBoundingClientRect();return o.top=l.top+r.clientTop,o.left=l.left+r.clientLeft,r===u[0].documentElement&&(o.top+=g.pageYOffset,o.left+=g.pageXOffset),o.bottom=o.top+r.clientHeight,o.right=o.left+r.clientWidth,n&&(a=g.getComputedStyle(r),o.top+=this.parseStyle(a.paddingTop),o.bottom-=this.parseStyle(a.paddingBottom),o.left+=this.parseStyle(a.paddingLeft),o.right-=this.parseStyle(a.paddingRight)),{top:Math.round(i.top-o.top),bottom:Math.round(o.bottom-i.bottom),left:Math.round(i.left-o.left),right:Math.round(o.right-i.right)}},parsePlacement:function(e){var t=f.auto.test(e);return t&&(e=e.replace(f.auto,"")),(e=e.split("-"))[0]=e[0]||"top",f.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",f.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,n,a){e=this.getRawNode(e),t=this.getRawNode(t);var i=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),o=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");n=this.parsePlacement(n);var r,l,s,u,p,c,d=a?this.offset(e):this.position(e),m={top:0,left:0,placement:""};switch(n[2]&&(r=this.viewportOffset(e,a),l=g.getComputedStyle(t),s=i+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),u=o+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]&&(f.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":m.top=d.top-o;break;case"bottom":m.top=d.top+d.height;break;case"left":m.left=d.left-i;break;case"right":m.left=d.left+d.width}switch(n[1]){case"top":m.top=d.top;break;case"bottom":m.top=d.top+d.height-o;break;case"left":m.left=d.left;break;case"right":m.left=d.left+d.width-i;break;case"center":f.vertical.test(n[0])?m.left=d.left+d.width/2-i/2:m.top=d.top+d.height/2-o/2}return m.top=Math.round(m.top),m.left=Math.round(m.left),m.placement="center"===n[1]?n[0]:n[0]+"-"+n[1],m},adjustTop:function(e,t,n,a){if(-1!==e.indexOf("top")&&n!==a)return{top:t.top-a+"px"}},positionArrow:function(e,t){var n=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(n){var a=angular.element(n).hasClass("tooltip-inner"),i=a?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(i){var o={top:"",bottom:"",left:"",right:""};if("center"!==(t=this.parsePlacement(t))[1]){var r="border-"+t[0]+"-width",l=g.getComputedStyle(i)[r],s="border-";f.vertical.test(t[0])?s+=t[0]+"-"+t[1]:s+=t[1]+"-"+t[0],s+="-radius";var u=g.getComputedStyle(a?n:e)[s];switch(t[0]){case"top":o.bottom=a?"0":"-"+l;break;case"bottom":o.top=a?"0":"-"+l;break;case"left":o.right=a?"0":"-"+l;break;case"right":o.left=a?"0":"-"+l}o[t[1]]=u,angular.element(i).css(o)}else angular.element(i).css(o)}}}}}]),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,o,a,t,n,e,r,l,s,u,p,c,d,m,g,f){var h,b,v,$,y,w,k,D,x,C,M,T,O,S=!1,P=[];function E(e){var t=c.parse(e,h,i.date);if(isNaN(t))for(var n=0;n<O.length;n++)if(t=c.parse(e,O[n],i.date),!isNaN(t))return t;return t}function A(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=E(e);if(!isNaN(t))return c.toTimezone(t,M.getOption("timezone"))}return M.getOption("allowInvalid")?e:void 0}function I(e,t){var n=e||t;return!a.ngRequired&&!n||(angular.isNumber(n)&&(n=new Date(n)),!n||(!(!angular.isDate(n)||isNaN(n))||!!angular.isString(n)&&!isNaN(E(n))))}function U(e){var t,n,a;!i.isOpen&&i.disabled||(t=T[0],n=o[0].contains(e.target),a=void 0!==t.contains&&t.contains(e.target),!i.isOpen||n||a||i.$apply(function(){i.isOpen=!1}))}function N(e){27===e.which&&i.isOpen?(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!1}),o[0].focus()):40!==e.which||i.isOpen||(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!0}))}function F(){var e,t,n;i.isOpen&&(e=angular.element(T[0].querySelector(".uib-datepicker-popup")),t=a.popupPlacement?a.popupPlacement:d.placement,n=u.positionElements(o,e,t,v),e.css({top:n.top+"px",left:n.left+"px"}),e.hasClass("uib-position-measure")&&e.removeClass("uib-position-measure"))}this.init=function(e){if(M=function(e){var t;angular.version.minor<6?(t=angular.isObject(e.$options)?e.$options:{timezone:null}).getOption=function(e){return t[e]}:t=e.$options;return t}(C=e),b=angular.isDefined(a.closeOnDateSelection)?i.$parent.$eval(a.closeOnDateSelection):d.closeOnDateSelection,v=angular.isDefined(a.datepickerAppendToBody)?i.$parent.$eval(a.datepickerAppendToBody):d.appendToBody,$=angular.isDefined(a.onOpenFocus)?i.$parent.$eval(a.onOpenFocus):d.onOpenFocus,y=angular.isDefined(a.datepickerPopupTemplateUrl)?a.datepickerPopupTemplateUrl:d.datepickerPopupTemplateUrl,w=angular.isDefined(a.datepickerTemplateUrl)?a.datepickerTemplateUrl:d.datepickerTemplateUrl,O=angular.isDefined(a.altInputFormats)?i.$parent.$eval(a.altInputFormats):d.altInputFormats,i.showButtonBar=angular.isDefined(a.showButtonBar)?i.$parent.$eval(a.showButtonBar):d.showButtonBar,d.html5Types[a.type]?(h=d.html5Types[a.type],S=!0):(h=a.uibDatepickerPopup||d.datepickerPopup,a.$observe("uibDatepickerPopup",function(e,t){var n=e||d.datepickerPopup;if(n!==h&&(h=n,C.$modelValue=null,!h))throw new Error("uibDatepickerPopup must have a date format specified.")})),!h)throw new Error("uibDatepickerPopup must have a date format specified.");if(S&&a.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");(k=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>")).attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":y}),(D=angular.element(k.children()[0])).attr("template-url",w),i.datepickerOptions||(i.datepickerOptions={}),S&&"month"===a.type&&(i.datepickerOptions.datepickerMode="month",i.datepickerOptions.minMode="month"),D.attr("datepicker-options","datepickerOptions"),S?C.$formatters.push(function(e){return i.date=c.fromTimezone(e,M.getOption("timezone")),e}):(C.$$parserName="date",C.$validators.date=I,C.$parsers.unshift(A),C.$formatters.push(function(e){return C.$isEmpty(e)?i.date=e:(angular.isNumber(e)&&(e=new Date(e)),i.date=c.fromTimezone(e,M.getOption("timezone")),c.filter(i.date,h))})),C.$viewChangeListeners.push(function(){i.date=E(C.$viewValue)}),o.on("keydown",N),T=t(k)(i),k.remove(),v?l.find("body").append(T):o.after(T),i.$on("$destroy",function(){for(!0===i.isOpen&&(s.$$phase||i.$apply(function(){i.isOpen=!1})),T.remove(),o.off("keydown",N),l.off("click",U),x&&x.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,M.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]):(f&&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<i.compare(e,t.maxDate)},i.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},i.dateSelection=function(e){i.date=e;var t=i.date?c.filter(i.date,h):null;o.val(t),C.$setViewValue(t),b&&(i.isOpen=!1,o[0].focus())},i.keydown=function(e){27===e.which&&(e.stopPropagation(),i.isOpen=!1,o[0].focus())},i.select=function(e,t){var n;t.stopPropagation(),"today"===e&&(n=new Date,angular.isDate(i.date)?(e=new Date(i.date)).setFullYear(n.getFullYear(),n.getMonth(),n.getDate()):(e=c.fromTimezone(n,M.getOption("timezone"))).setHours(0,0,0,0)),i.dateSelection(e)},i.close=function(e){e.stopPropagation(),i.isOpen=!1,o[0].focus()},i.disabled=angular.isDefined(a.disabled)||!1,a.ngDisabled&&P.push(i.$parent.$watch(e(a.ngDisabled),function(e){i.disabled=e})),i.$watch("isOpen",function(e){e?i.disabled?i.isOpen=!1:m(function(){F(),$&&i.$broadcast("uib:datepicker.focus"),l.on("click",U);var e=a.popupPlacement?a.popupPlacement:d.placement;v||u.parsePlacement(e)[2]?(x=x||angular.element(u.scrollParent(o)))&&x.on("scroll",F):x=null,angular.element(r).on("resize",F)},0,!1):(l.off("click",U),x&&x.off("scroll",F),angular.element(r).off("resize",F))}),i.$on("uib:datepicker.mode",function(){m(F,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,a){var i=a[0];a[1].init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(o){return function(n,a){var i;return function(){var e=this,t=Array.prototype.slice.call(arguments);i&&o.cancel(i),i=o(function(){n.apply(e,t)},a)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var i={};return{entries:function(){return Object.keys(i).map(function(e){return{key:e,value:i[e]}})},get:function(e){return i[e]},hasKey:function(e){return!!i[e]},keys:function(){return Object.keys(i)},put:function(e,t){i[e]||(i[e]=[]),i[e].push(t)},remove:function(e,t){var n,a=i[e];a&&(-1!==(n=a.indexOf(t))&&a.splice(n,1),a.length||delete i[e])}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(o,a,e){var r=null,l=e.createNew();this.isOnlyOpen=function(n,e){var t=l.get(e);if(t&&t.reduce(function(e,t){return t.scope===n?t:e},{}))return 1===t.length;return!1},this.open=function(e,t,n){var a;r||o.on("click",s),r&&r!==e&&(r.isOpen=!1),r=e,n&&((a=l.get(n))&&-1!==a.map(function(e){return e.scope}).indexOf(e)||l.put(n,{scope:e}))},this.close=function(n,e,t){var a,i;r===n&&(o.off("click",s),o.off("keydown",this.keybindFilter),r=null),t&&(!(a=l.get(t))||(i=a.reduce(function(e,t){return t.scope===n?t:e},{}))&&l.remove(t,i))};var s=function(e){var t,n;r&&r.isOpen&&(e&&"disabled"===r.getAutoClose()||e&&3===e.which||(t=r.getToggleElement(),e&&t&&t[0].contains(e.target)||(n=r.getDropdownElement(),e&&"outsideClick"===r.getAutoClose()&&n&&n[0].contains(e.target)||(r.focusToggleElement(),r.isOpen=!1,a.$$phase||r.$apply()))))};this.keybindFilter=function(e){var t,n,a,i;r&&(t=r.getDropdownElement(),n=r.getToggleElement(),a=t&&t[0].contains(e.target),i=n&&n[0].contains(e.target),27===e.which?(e.stopPropagation(),r.focusToggleElement(),s()):r.isKeynavEnabled()&&-1!==[38,40].indexOf(e.which)&&r.isOpen&&(a||i)&&(e.preventDefault(),e.stopPropagation(),r.focusDropdownEntry(e.which)))}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(h,b,v,$,e,y,w,k,D,x,C){var M,t,T=this,O=h.$new(),S=e.appendToOpenClass,P=e.openClass,E=angular.noop,A=v.onToggle?$(v.onToggle):angular.noop,n=!1,I=D.find("body");function U(){b.append(T.dropdownMenu)}b.addClass("dropdown"),this.init=function(){v.isOpen&&(t=$(v.isOpen),E=t.assign,h.$watch(t,function(e){O.isOpen=!!e})),n=angular.isDefined(v.keyboardNav)},this.toggle=function(e){return O.isOpen=arguments.length?!!e:!O.isOpen,angular.isFunction(E)&&E(O,O.isOpen),O.isOpen},this.isOpen=function(){return O.isOpen},O.getToggleElement=function(){return T.toggleElement},O.getAutoClose=function(){return v.autoClose||"always"},O.getElement=function(){return b},O.isKeynavEnabled=function(){return n},O.focusDropdownEntry=function(e){var t=T.dropdownMenu?angular.element(T.dropdownMenu).find("a"):b.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(T.selectedOption)?T.selectedOption=T.selectedOption===t.length-1?T.selectedOption:T.selectedOption+1:T.selectedOption=0;break;case 38:angular.isNumber(T.selectedOption)?T.selectedOption=0===T.selectedOption?0:T.selectedOption-1:T.selectedOption=t.length-1}t[T.selectedOption].focus()},O.getDropdownElement=function(){return T.dropdownMenu},O.focusToggleElement=function(){T.toggleElement&&T.toggleElement[0].focus()},O.$watch("isOpen",function(e,t){var n,a,i,o,r,l,s,u=null,p=!1;!angular.isDefined(v.dropdownAppendTo)||(n=$(v.dropdownAppendTo)(O))&&(u=angular.element(n)),angular.isDefined(v.dropdownAppendToBody)&&!1!==$(v.dropdownAppendToBody)(O)&&(p=!0),p&&!u&&(u=I),u&&T.dropdownMenu&&(e?(u.append(T.dropdownMenu),b.on("$destroy",U)):(b.off("$destroy",U),U())),u&&T.dropdownMenu&&(o=0,l={top:(a=k.positionElements(b,T.dropdownMenu,"bottom-left",!0)).top+"px",display:e?"block":"none"},(s=T.dropdownMenu.hasClass("dropdown-menu-right"))?(l.left="auto",(i=k.scrollbarPadding(u)).heightOverflow&&i.scrollbarWidth&&(o=i.scrollbarWidth),l.right=window.innerWidth-o-(a.left+b.prop("offsetWidth"))+"px"):(l.left=a.left+"px",l.right="auto"),p||(r=k.offset(u),l.top=a.top-r.top+"px",s?l.right=window.innerWidth-(a.left-r.left+b.prop("offsetWidth"))+"px":l.left=a.left-r.left+"px"),T.dropdownMenu.css(l));var c,d=u||b,m=u?S:P,g=d.hasClass(m),f=y.isOnlyOpen(h,u);g===!e&&w[u?f?"removeClass":"addClass":e?"addClass":"removeClass"](d,m).then(function(){angular.isDefined(e)&&e!==t&&A(h,{open:!!e})}),e?(T.dropdownMenuTemplateUrl?C(T.dropdownMenuTemplateUrl).then(function(e){M=O.$new(),x(e.trim())(M,function(e){var t=e;T.dropdownMenu.replaceWith(t),T.dropdownMenu=t,D.on("keydown",y.keybindFilter)})}):D.on("keydown",y.keybindFilter),O.focusToggleElement(),y.open(O,b,u)):(y.close(O,b,u),T.dropdownMenuTemplateUrl&&(M&&M.$destroy(),c=angular.element('<ul class="dropdown-menu"></ul>'),T.dropdownMenu.replaceWith(c),T.dropdownMenu=c),T.selectedOption=null),angular.isFunction(E)&&E(h,e)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,a){a.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,a){var i;a&&!angular.isDefined(n.dropdownNested)&&(t.addClass("dropdown-menu"),(i=n.templateUrl)&&(a.dropdownMenuTemplateUrl=i),a.dropdownMenu||(a.dropdownMenu=t))}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,n,a,i){var e;i&&(n.addClass("dropdown-toggle"),i.toggleElement=n,e=function(e){e.preventDefault(),n.hasClass("disabled")||a.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 a=[];return{add:function(e,t){a.push({key:e,value:t})},get:function(e){for(var t=0;t<a.length;t++)if(e===a[t].key)return a[t]},keys:function(){for(var e=[],t=0;t<a.length;t++)e.push(a[t].key);return e},top:function(){return a[a.length-1]},remove:function(e){for(var t=-1,n=0;n<a.length;n++)if(e===a[n].key){t=n;break}return a.splice(t,1)[0]},removeTop:function(){return a.pop()},length:function(){return a.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var e=this;this.resolver=null,this.setResolver=function(e){this.resolver=e},this.$get=["$injector","$q",function(o,r){var l=e.resolver?o.get(e.resolver):null;return{resolve:function(e,t,n,a){if(l)return l.resolve(e,t,n,a);var i=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?i.push(r.resolve(o.invoke(e))):angular.isString(e)?i.push(r.resolve(o.get(e))):i.push(r.resolve(e))}),r.all(i).then(function(n){var a={},i=0;return angular.forEach(e,function(e,t){a[t]=n[i++]}),a})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(r,e,t){return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),n}};function n(a,i,o){o.modalInClass&&(r.addClass(i,o.modalInClass),a.$on(t.NOW_CLOSING_EVENT,function(e,t){var n=t();a.modalOptions.animation?r.removeClass(i,o.modalInClass).then(n):n()}))}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(n,o,r,l){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(t,a,i){a.addClass(i.windowTopClass||""),t.size=i.size,t.close=function(e){var t=n.getTop();t&&t.value.backdrop&&"static"!==t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),n.dismiss(t.key,"backdrop click"))},a.on("click",t.close),t.$isRendered=!0;var e=o.defer();t.$$postDigest(function(){e.resolve()}),e.promise.then(function(){var e=null;i.modalInClass&&(e=r(a,{addClass:i.modalInClass}).start(),t.$on(n.NOW_CLOSING_EVENT,function(e,t){var n=t();r(a,{removeClass:i.modalInClass}).start().then(n)})),o.when(e).then(function(){var e,t=n.getTop();t&&n.modalRendered(t.key),l[0].activeElement&&a[0].contains(l[0].activeElement)||((e=a[0].querySelector("[autofocus]"))?e.focus():a[0].focus())})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(o){return{link:function(e,t,n,a,i){i(e.$parent,function(e){t.empty(),o.enter(e,t)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(s,e,u,p,c,l,t,n,d){var m,g,f,h="modal-open",b=n.createNew(),v=t.createNew(),$={NOW_CLOSING_EVENT:"modal.stack.now-closing"},y=0,w=null,k="data-bootstrap-modal-aria-hidden-count",D=/[A-Z]/g;function x(){for(var e=-1,t=b.keys(),n=0;n<t.length;n++)b.get(t[n]).value.backdrop&&(e=n);return-1<e&&e<y&&(e=y),e}function a(n,e){var a=b.get(n).value,i=a.appendTo;b.remove(n),(w=b.top())&&(y=parseInt(w.value.modalDomEl.attr("index"),10)),o(a.modalDomEl,a.modalScope,function(){var e=a.openedClass||h;v.remove(e,n);var t=v.hasKey(e);i.toggleClass(e,t),!t&&f&&f.heightOverflow&&f.scrollbarWidth&&(f.originalRight?i.css({paddingRight:f.originalRight+"px"}):i.css({paddingRight:""}),f=null),C(!0)},a.closedDeferred),function(){{m&&-1===x()&&(o(m,g,function(){0}),g=m=void 0)}}(),e&&e.focus?e.focus():i.focus&&i.focus()}function C(e){var t;0<b.length()&&(t=b.top().value).modalDomEl.toggleClass(t.windowTopClass||"",e)}function o(e,t,n,a){var i,o=null;return t.$broadcast($.NOW_CLOSING_EVENT,function(){return i||(i=l.defer(),o=i.promise),function(){i.resolve()}}),l.when(o).then(r);function r(){r.done||(r.done=!0,s.leave(e).then(function(){n&&n(),e.remove(),a&&a.resolve()}),t.$destroy())}}function i(e){if(e.isDefaultPrevented())return e;var t=b.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),c.$apply(function(){$.dismiss(t.key,"escape key press")}));break;case 9:var n=$.loadFocusElementList(t),a=!1;e.shiftKey?($.isFocusInFirstItem(e,n)||$.isModalFocused(e,t))&&(a=$.focusLastFocusableElement(n)):$.isFocusInLastItem(e,n)&&(a=$.focusFirstFocusableElement(n)),a&&(e.preventDefault(),e.stopPropagation())}}function r(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}function M(){Array.prototype.forEach.call(document.querySelectorAll("["+k+"]"),function(e){var t=parseInt(e.getAttribute(k),10)-1;e.setAttribute(k,t),t||(e.removeAttribute(k),e.removeAttribute("aria-hidden"))})}return c.$watch(x,function(e){g&&(g.index=e)}),u.on("keydown",i),c.$on("$destroy",function(){u.off("keydown",i)}),$.open=function(e,t){var n=u[0].activeElement,a=t.openedClass||h;C(!1),w=b.top(),b.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,closedDeferred:t.closedDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass,windowTopClass:t.windowTopClass,animation:t.animation,appendTo:t.appendTo}),v.put(a,e);var i,o=t.appendTo,r=x();0<=r&&!m&&((g=c.$new(!0)).modalOptions=t,g.index=r,(m=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>')).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&&m.addClass(t.backdropClass),t.animation&&m.attr("modal-animation","true"),p(m)(g),s.enter(m,o),d.isScrollable(o)&&(f=d.scrollbarPadding(o)).heightOverflow&&f.scrollbarWidth&&o.css({paddingRight:f.right+"px"})),t.component?(i=document.createElement(t.component.name.replace(D,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('<div uib-modal-window="modal-window"></div>');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"),o.addClass(a),t.scope&&(t.scope.$$topModalIndex=y),s.enter(p(l)(t.scope),o),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(k),10);n=n||(t?1:0),e.setAttribute(k,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 M(),n&&r(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),a(e,n.value.modalOpener),!0):!n},$.dismiss=function(e,t){var n=b.get(e);return M(),n&&r(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),a(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 0<e.length&&(e[0].focus(),!0)},$.focusLastFocusableElement=function(e){return 0<e.length&&(e[e.length-1].focus(),!0)},$.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},$.isFocusInFirstItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[0]},$.isFocusInLastItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[t.length-1]},$.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll("a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]");return n?Array.prototype.filter.call(n,function(e){return!!((t=e).offsetWidth||t.offsetHeight||t.getClientRects().length);var t}):n}}},$}]).provider("$uibModal",function(){var v={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(f,i,o,r,h,l,b){var e={};var s=null;return e.getPromiseChain=function(){return s},e.open=function(u){var e,t,n,p=i.defer(),c=i.defer(),d=i.defer(),m=i.defer(),g={result:p.promise,opened:c.promise,closed:d.promise,rendered:m.promise,close:function(e){return b.close(g,e)},dismiss:function(e){return b.dismiss(g,e)}};if((u=angular.extend({},v.options,u)).resolve=u.resolve||{},u.appendTo=u.appendTo||o.find("body").eq(0),!u.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!u.component&&!u.template&&!u.templateUrl)throw new Error("One of component or template or templateUrl options is required.");function a(){return e}return e=u.component?i.when(l.resolve(u.resolve,{},null,null)):i.all([(t=u).template?i.when(t.template):r(angular.isFunction(t.templateUrl)?t.templateUrl():t.templateUrl),l.resolve(u.resolve,{},null,null)]),n=s=i.all([s]).then(a,a).then(function(o){var e=u.scope||f,r=e.$new();r.$close=g.close,r.$dismiss=g.dismiss,r.$on("$destroy",function(){r.$$uibDestructionScheduled||r.$dismiss("$uibUnscheduledDestruction")});var t,n,a={scope:r,deferred:p,renderDeferred:m,closedDeferred:d,animation:u.animation,backdrop:u.backdrop,keyboard:u.keyboard,backdropClass:u.backdropClass,windowTopClass:u.windowTopClass,windowClass:u.windowClass,windowTemplateUrl:u.windowTemplateUrl,ariaLabelledBy:u.ariaLabelledBy,ariaDescribedBy:u.ariaDescribedBy,size:u.size,openedClass:u.openedClass,appendTo:u.appendTo},i={},l={};function s(n,e,t,a){n.$scope=r,n.$scope.$resolve={},t?n.$scope.$uibModalInstance=g:n.$uibModalInstance=g;var i=e?o[1]:o;angular.forEach(i,function(e,t){a&&(n[t]=e),n.$scope.$resolve[t]=e})}u.component?(s(i,!1,!0,!1),i.name=u.component,a.component=i):u.controller&&(s(l,!0,!1,!0),n=h(u.controller,l,!0,u.controllerAs),u.controllerAs&&u.bindToController&&((t=n.instance).$close=r.$close,t.$dismiss=r.$dismiss,angular.extend(t,{$resolve:l.$scope.$resolve},e)),t=n(),angular.isFunction(t.$onInit)&&t.$onInit()),u.component||(a.content=o[0]),b.open(g,a),c.resolve(!0)},function(e){c.reject(e),p.reject(e)}).finally(function(){s===n&&(s=null)}),g},e}]};return v}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(n,a,i){n.setNumPages=i.numPages?e(i.numPages).assign:angular.noop,n.ngModelCtrl={$setViewValue:angular.noop},n._watchers=[],n.init=function(e,t){n.ngModelCtrl=e,n.config=t,e.$render=function(){n.render()},i.itemsPerPage?n._watchers.push(a.$parent.$watch(i.itemsPerPage,function(e){n.itemsPerPage=parseInt(e,10),a.totalPages=n.calculateTotalPages(),n.updatePage()})):n.itemsPerPage=t.itemsPerPage,a.$watch("totalItems",function(e,t){!angular.isDefined(e)&&e===t||(a.totalPages=n.calculateTotalPages(),n.updatePage())})},n.calculateTotalPages=function(){var e=n.itemsPerPage<1?1:Math.ceil(a.totalItems/n.itemsPerPage);return Math.max(e||0,1)},n.render=function(){a.page=parseInt(n.ngModelCtrl.$viewValue,10)||1},a.selectPage=function(e,t){t&&t.preventDefault(),(!a.ngDisabled||!t)&&a.page!==e&&0<e&&e<=a.totalPages&&(t&&t.target&&t.target.blur(),n.ngModelCtrl.$setViewValue(e),n.ngModelCtrl.$render())},a.getText=function(e){return a[e+"Text"]||n.config[e+"Text"]},a.noPrevious=function(){return 1===a.page},a.noNext=function(){return a.page===a.totalPages},n.updatePage=function(){n.setNumPages(a.$parent,a.totalPages),a.page>a.totalPages?a.selectPage(a.totalPages):n.ngModelCtrl.$render()},a.$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,a){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):a.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,a){t.addClass("pager");var i=a[0],o=a[1];o&&i.init(o,r)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,n,e,a,i){var o=this,g=angular.isDefined(n.maxSize)?t.$parent.$eval(n.maxSize):i.maxSize,f=angular.isDefined(n.rotate)?t.$parent.$eval(n.rotate):i.rotate,h=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"),a.create(this,t,n),n.maxSize&&o._watchers.push(t.$parent.$watch(e(n.maxSize),function(e){g=parseInt(e,10),o.render()}));var r=this.render;this.render=function(){r(),0<t.page&&t.page<=t.totalPages&&(t.pages=function(e,t){var n=[],a=1,i=t,o=angular.isDefined(g)&&g<t;o&&(f?t<(i=(a=Math.max(e-Math.floor(g/2),1))+g-1)&&(a=(i=t)-g+1):(a=(Math.ceil(e/g)-1)*g+1,i=Math.min(a+g-1,t)));for(var r,l,s,u,p,c,d=a;d<=i;d++){var m=$(d,v(d),d===e);n.push(m)}return o&&0<g&&(!f||h||b)&&(1<a&&((!b||3<a)&&(r=$(a-1,"...",!1),n.unshift(r)),b&&(3===a&&(l=$(2,"2",!1),n.unshift(l)),s=$(1,"1",!1),n.unshift(s))),i<t&&((!b||i<t-2)&&(u=$(i+1,"...",!1),n.push(u)),b&&(i===t-2&&(p=$(t-1,t-1,!1),n.push(p)),c=$(t,t,!1),n.push(c)))),n}(t.page,t.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,r){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},link:function(e,t,n,a){t.addClass("pagination");var i=a[0],o=a[1];o&&i.init(o,r)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){var l={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},s={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},u={};this.options=function(e){angular.extend(u,e)},this.setTriggers=function(e){angular.extend(s,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(e,o,Y,B,W,r,t,j,n){var _=n.createNew();function a(e){var t;27!==e.which||(t=_.top())&&(t.value.close(),t=null)}return B.on("keyup",a),t.$on("$destroy",function(){B.off("keyup",a)}),function(V,q,a,L){function z(e){var t=(e||L.trigger||a).split(" "),n=t.map(function(e){return s[e]||e});return{show:t,hide:n}}L=angular.extend({},l,u,L);var e=V.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()}),t=r.startSymbol(),n=r.endSymbol(),i="<div "+e+'-popup uib-title="'+t+"title"+n+'" '+(L.useContentExp?'content-exp="contentExp()" ':'content="'+t+"content"+n+'" ')+'origin-scope="origScope" class="uib-position-measure '+q+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(e,t){var R=o(i);return function(a,o,i){var r,e,t,n,l,s,u,p,c=!!angular.isDefined(L.appendToBody)&&L.appendToBody,d=z(void 0),m=angular.isDefined(i[q+"Enable"]),g=a.$new(!0),f=!1,h=!!angular.isDefined(i[q+"IsOpen"])&&j(i[q+"IsOpen"]),b=!!L.useContentExp&&j(i[V]),v=[],$=function(){r&&r.html()&&(s=s||Y(function(){var e=W.positionElements(o,r,g.placement,c),n=angular.isDefined(r.offsetHeight)?r.offsetHeight:r.prop("offsetHeight"),a=c?W.offset(o):W.position(o);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(L.placementClassPrefix+e.placement)||(r.removeClass(L.placementClassPrefix+p),r.addClass(L.placementClassPrefix+e.placement)),u=Y(function(){var e=angular.isDefined(r.offsetHeight)?r.offsetHeight:r.prop("offsetHeight"),t=W.adjustTop(i,a,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(){(g.isOpen?k:w)()}function w(){m&&!a.$eval(i[q+"Enable"])||(M(),function(){g.title=i[q+"Title"],g.content=b?b(a):i[V];g.popupClass=i[q+"Class"],g.placement=angular.isDefined(i[q+"Placement"])?i[q+"Placement"]:L.placement;var e=W.parsePlacement(g.placement);p=e[1]?e[0]+"-"+e[1]:e[0];var t=parseInt(i[q+"PopupDelay"],10),n=parseInt(i[q+"PopupCloseDelay"],10);g.popupDelay=isNaN(t)?L.popupDelay:t,g.popupCloseDelay=isNaN(n)?L.popupCloseDelay:n}(),g.popupDelay?n=n||Y(D,g.popupDelay,!1):D())}function k(){x(),g.popupCloseDelay?l=l||Y(C,g.popupCloseDelay,!1):C()}function D(){if(x(),M(),!g.content)return angular.noop;!function(){if(r)return;e=g.$new(),r=R(e,function(e){c?B.find("body").append(e):o.after(e)}),_.add(g,{close:C}),function(){v.length=0,b?(v.push(a.$watch(b,function(e){!(g.content=e)&&g.isOpen&&C()})),v.push(e.$watch(function(){f||(f=!0,e.$$postDigest(function(){f=!1,g&&g.isOpen&&$()}))}))):v.push(i.$observe(V,function(e){(!(g.content=e)&&g.isOpen?C:$)()}));v.push(i.$observe(q+"Title",function(e){g.title=e,g.isOpen&&$()})),v.push(i.$observe(q+"Placement",function(e){g.placement=e||L.placement,g.isOpen&&$()}))}()}(),g.$evalAsync(function(){O(g.isOpen=!0),$()})}function x(){n&&(Y.cancel(n),n=null),s&&(Y.cancel(s),s=null)}function C(){g&&g.$evalAsync(function(){g&&(O(g.isOpen=!1),g.animation?t=t||Y(T,150,!1):T())})}function M(){l&&(Y.cancel(l),l=null),t&&(Y.cancel(t),t=null)}function T(){x(),M(),v.length&&(angular.forEach(v,function(e){e()}),v.length=0),r&&(r.remove(),r=null,u&&Y.cancel(u)),_.remove(g),e&&(e.$destroy(),e=null)}function O(e){h&&angular.isFunction(h.assign)&&h.assign(a,e)}function S(e){g&&g.isOpen&&r&&(o[0].contains(e.target)||r[0].contains(e.target)||k())}function P(e){27===e.which&&k()}g.origScope=a,g.isOpen=!1,g.contentExp=function(){return g.content},i.$observe("disabled",function(e){e&&x(),e&&g.isOpen&&C()}),h&&a.$watch(h,function(e){g&&!e===g.isOpen&&y()});function E(){d.show.forEach(function(e){"outsideClick"===e?o.off("click",y):(o.off(e,w),o.off(e,y)),o.off("keypress",P)}),d.hide.forEach(function(e){"outsideClick"===e?B.off("click",S):o.off(e,k)})}var A,I,U;A=[],I=[],U=a.$eval(i[q+"Trigger"]),E(),"none"!==(d=angular.isObject(U)?(Object.keys(U).forEach(function(e){A.push(e),I.push(U[e])}),{show:A,hide:I}):z(U)).show&&d.show.forEach(function(e,t){"outsideClick"===e?(o.on("click",y),B.on("click",S)):e===d.hide[t]?o.on(e,y):e&&(o.on(e,w),o.on(d.hide[t],k)),o.on("keypress",P)});var N=a.$eval(i[q+"Animation"]);g.animation=angular.isDefined(N)?!!N:L.animation;var F=q+"AppendToBody",H=F in i&&void 0===i[F]||a.$eval(i[F]),c=angular.isDefined(H)?H:c;a.$on("$destroy",function(){E(),T(),g=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(c,a,d,m){return{link:function(e,o,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(a.parseAsResourceUrl(t.uibTooltipTemplateTransclude),function(a){var i=++p;a?(m(a,!0).then(function(e){var t,n;i===p&&(t=u.$new(),n=d(e)(t,function(e){r(),c.enter(e,o)}),s=n,(l=t).$emit("$includeContentLoaded",a))},function(){i===p&&(r(),e.$emit("$includeContentError",a))}),e.$emit("$includeContentRequested",a)):r()}),e.$on("$destroy",r)}}}]).directive("uibTooltipClasses",["$uibPosition",function(i){return{restrict:"A",link:function(e,t,n){var a;e.placement&&(a=i.parsePlacement(e.placement),t.addClass(a[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 a=this,i=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;function o(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}this.bars=[],e.max=o(),this.addBar=function(t,e,n){i||e.css({transition:"none"}),this.bars.push(t),t.max=o(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=a.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);100<e&&(t.percent-=e-100)},t.$on("$destroy",function(){e=null,a.removeBar(t)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){a.bars.forEach(function(e){e.max=o(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,a){a.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,a){a.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(a,i,o){var r={$setViewValue:angular.noop},n=this;this.init=function(e){(r=e).$render=this.render,r.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(i.stateOn)?a.$parent.$eval(i.stateOn):o.stateOn,this.stateOff=angular.isDefined(i.stateOff)?a.$parent.$eval(i.stateOff):o.stateOff,this.enableReset=angular.isDefined(i.enableReset)?a.$parent.$eval(i.enableReset):o.enableReset;var t=angular.isDefined(i.titles)?a.$parent.$eval(i.titles):o.titles;this.titles=angular.isArray(t)&&0<t.length?t:o.titles;var n=angular.isDefined(i.ratingStates)?a.$parent.$eval(i.ratingStates):new Array(angular.isDefined(i.max)?a.$parent.$eval(i.max):o.max);a.range=this.buildTemplateObjects(n)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;t<n;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},a.rate=function(e){var t;!a.readonly&&0<=e&&e<=a.range.length&&(t=n.enableReset&&r.$viewValue===e?0:e,r.$setViewValue(t),r.$render())},a.enter=function(e){a.readonly||(a.value=e),a.onHover({value:e})},a.reset=function(){a.value=r.$viewValue,a.onLeave()},a.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),a.rate(a.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){a.value=r.$viewValue,a.title=n.getTitle(a.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,a){var i=a[0],o=a[1];i.init(o)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){var o,r,l=this;function s(e){for(var t=0;t<l.tabs.length;t++)if(l.tabs[t].index===e)return t}l.tabs=[],l.select=function(e,t){if(!r){var n=s(o),a=l.tabs[n];if(a){if(a.tab.onDeselect({$event:t,$selectedIndex:e}),t&&t.isDefaultPrevented())return;a.tab.active=!1}var i=l.tabs[e];i?(i.tab.onSelect({$event:t}),i.tab.active=!0,l.active=i.index,o=i.index):!i&&angular.isDefined(o)&&(l.active=null,o=null)}},l.addTab=function(e){var t;l.tabs.push({tab:e,index:e.index}),l.tabs.sort(function(e,t){return e.index>t.index?1:e.index<t.index?-1:0}),e.index!==l.active&&(angular.isDefined(l.active)||1!==l.tabs.length)||(t=s(e.index),l.select(t))},l.removeTab=function(e){for(var t,n,a=0;a<l.tabs.length;a++)if(l.tabs[a].tab===e){t=a;break}l.tabs[t].index===l.active&&(n=t===l.tabs.length-1?t-1:t+1%l.tabs.length,l.select(n)),l.tabs.splice(t,1)},e.$watch("tabset.active",function(e){angular.isDefined(e)&&e!==o&&l.select(s(e))}),e.$on("$destroy",function(){r=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tabset.html"},link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(o){return{require:"^uibTabset",replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(a,e,t,i,n){a.disabled=!1,t.disable&&a.$parent.$watch(o(t.disable),function(e){a.disabled=!!e}),angular.isUndefined(t.index)&&(i.tabs&&i.tabs.length?a.index=Math.max.apply(null,i.tabs.map(function(e){return e.index}))+1:a.index=0),angular.isUndefined(t.classes)&&(a.classes=""),a.select=function(e){if(!a.disabled){for(var t,n=0;n<i.tabs.length;n++)if(i.tabs[n].tab===a){t=n;break}i.select(t,e)}},i.addTab(a),a.$on("$destroy",function(){i.removeTab(a)}),a.$transcludeFn=n}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("uibTabContentTransclude",function(){return{restrict:"A",require:"^uibTabset",link:function(e,n,t){var a=e.$eval(t.uibTabContentTransclude).tab;a.$transcludeFn(a.$parent,function(e){angular.forEach(e,function(e){var t;(t=e).tagName&&(t.hasAttribute("uib-tab-heading")||t.hasAttribute("data-uib-tab-heading")||t.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===t.tagName.toLowerCase()||"data-uib-tab-heading"===t.tagName.toLowerCase()||"x-uib-tab-heading"===t.tagName.toLowerCase()||"uib:tab-heading"===t.tagName.toLowerCase())?a.headingElement=e:n.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(o,e,r,t,n,a,l){var s,u,p,i=new Date,c=[],d={$setViewValue:angular.noop},m=angular.isDefined(r.meridians)?o.$parent.$eval(r.meridians):l.meridians||a.DATETIME_FORMATS.AMPMS,g=!angular.isDefined(r.padHours)||o.$parent.$eval(r.padHours);o.tabindex=angular.isDefined(r.tabindex)?r.tabindex:0,e.removeAttr("tabindex"),this.init=function(e,t){(d=e).$render=this.render,d.$formatters.unshift(function(e){return e?new Date(e):null});var n=t.eq(0),a=t.eq(1),i=t.eq(2);s=n.controller("ngModel"),u=a.controller("ngModel"),p=i.controller("ngModel"),(angular.isDefined(r.mousewheel)?o.$parent.$eval(r.mousewheel):l.mousewheel)&&this.setupMousewheelEvents(n,a,i),(angular.isDefined(r.arrowkeys)?o.$parent.$eval(r.arrowkeys):l.arrowkeys)&&this.setupArrowkeyEvents(n,a,i),o.readonlyInput=angular.isDefined(r.readonlyInput)?o.$parent.$eval(r.readonlyInput):l.readonlyInput,this.setupInputEvents(n,a,i)};var f=l.hourStep;r.hourStep&&c.push(o.$parent.$watch(t(r.hourStep),function(e){f=+e}));var h,b,v=l.minuteStep;r.minuteStep&&c.push(o.$parent.$watch(t(r.minuteStep),function(e){v=+e})),c.push(o.$parent.$watch(t(r.min),function(e){var t=new Date(e);h=isNaN(t)?void 0:t})),c.push(o.$parent.$watch(t(r.max),function(e){var t=new Date(e);b=isNaN(t)?void 0:t}));var $=!1;r.ngDisabled&&c.push(o.$parent.$watch(t(r.ngDisabled),function(e){$=e})),o.noIncrementHours=function(){var e=O(i,60*f);return $||b<e||e<i&&e<h},o.noDecrementHours=function(){var e=O(i,60*-f);return $||e<h||i<e&&b<e},o.noIncrementMinutes=function(){var e=O(i,v);return $||b<e||e<i&&e<h},o.noDecrementMinutes=function(){var e=O(i,-v);return $||e<h||i<e&&b<e},o.noIncrementSeconds=function(){var e=S(i,y);return $||b<e||e<i&&e<h},o.noDecrementSeconds=function(){var e=S(i,-y);return $||e<h||i<e&&b<e},o.noToggleMeridian=function(){return i.getHours()<12?$||O(i,720)>b:$||O(i,-720)<h};var y=l.secondStep;function w(){var e=+o.hours;if((o.showMeridian?0<e&&e<13:0<=e&&e<24)&&""!==o.hours)return o.showMeridian&&(12===e&&(e=0),o.meridian===m[1]&&(e+=12)),e}function k(){var e=+o.minutes;if(0<=e&&e<60&&""!==o.minutes)return e}function D(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function x(e){C(),d.$setViewValue(new Date(i)),M(e)}function C(){s&&s.$setValidity("hours",!0),u&&u.$setValidity("minutes",!0),p&&p.$setValidity("seconds",!0),d.$setValidity("time",!0),o.invalidHours=!1,o.invalidMinutes=!1,o.invalidSeconds=!1}function M(e){var t,n,a;d.$modelValue?(t=i.getHours(),n=i.getMinutes(),a=i.getSeconds(),o.showMeridian&&(t=0===t||12===t?12:t%12),o.hours="h"===e?t:D(t,!g),"m"!==e&&(o.minutes=D(n)),o.meridian=i.getHours()<12?m[0]:m[1],"s"!==e&&(o.seconds=D(a)),o.meridian=i.getHours()<12?m[0]:m[1]):(o.hours=null,o.minutes=null,o.seconds=null,o.meridian=m[0])}function T(e){i=S(i,e),x()}function O(e,t){return S(e,60*t)}function S(e,t){var n=new Date(e.getTime()+1e3*t),a=new Date(e);return a.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),a}function P(){return(null===o.hours||""===o.hours)&&(null===o.minutes||""===o.minutes)&&(!o.showSeconds||o.showSeconds&&(null===o.seconds||""===o.seconds))}r.secondStep&&c.push(o.$parent.$watch(t(r.secondStep),function(e){y=+e})),o.showSeconds=l.showSeconds,r.showSeconds&&c.push(o.$parent.$watch(t(r.showSeconds),function(e){o.showSeconds=!!e})),o.showMeridian=l.showMeridian,r.showMeridian&&c.push(o.$parent.$watch(t(r.showMeridian),function(e){var t,n;o.showMeridian=!!e,d.$error.time?(t=w(),n=k(),angular.isDefined(t)&&angular.isDefined(n)&&(i.setHours(t),x())):M()})),this.setupMousewheelEvents=function(e,t,n){function a(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||0<t}e.on("mousewheel wheel",function(e){$||o.$apply(a(e)?o.incrementHours():o.decrementHours()),e.preventDefault()}),t.on("mousewheel wheel",function(e){$||o.$apply(a(e)?o.incrementMinutes():o.decrementMinutes()),e.preventDefault()}),n.on("mousewheel wheel",function(e){$||o.$apply(a(e)?o.incrementSeconds():o.decrementSeconds()),e.preventDefault()})},this.setupArrowkeyEvents=function(e,t,n){e.on("keydown",function(e){$||(38===e.which?(e.preventDefault(),o.incrementHours(),o.$apply()):40===e.which&&(e.preventDefault(),o.decrementHours(),o.$apply()))}),t.on("keydown",function(e){$||(38===e.which?(e.preventDefault(),o.incrementMinutes(),o.$apply()):40===e.which&&(e.preventDefault(),o.decrementMinutes(),o.$apply()))}),n.on("keydown",function(e){$||(38===e.which?(e.preventDefault(),o.incrementSeconds(),o.$apply()):40===e.which&&(e.preventDefault(),o.decrementSeconds(),o.$apply()))})},this.setupInputEvents=function(e,t,n){if(o.readonlyInput)return o.updateHours=angular.noop,o.updateMinutes=angular.noop,void(o.updateSeconds=angular.noop);function a(e,t,n){d.$setViewValue(null),d.$setValidity("time",!1),angular.isDefined(e)&&(o.invalidHours=e,s&&s.$setValidity("hours",!1)),angular.isDefined(t)&&(o.invalidMinutes=t,u&&u.$setValidity("minutes",!1)),angular.isDefined(n)&&(o.invalidSeconds=n,p&&p.$setValidity("seconds",!1))}o.updateHours=function(){var e=w(),t=k();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(e),i.setMinutes(t),i<h||b<i?a(!0):x("h")):a(!0)},e.on("blur",function(e){d.$setTouched(),P()?C():null===o.hours||""===o.hours?a(!0):!o.invalidHours&&o.hours<10&&o.$apply(function(){o.hours=D(o.hours,!g)})}),o.updateMinutes=function(){var e=k(),t=w();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(t),i.setMinutes(e),i<h||b<i?a(void 0,!0):x("m")):a(void 0,!0)},t.on("blur",function(e){d.$setTouched(),P()?C():null===o.minutes?a(void 0,!0):!o.invalidMinutes&&o.minutes<10&&o.$apply(function(){o.minutes=D(o.minutes)})}),o.updateSeconds=function(){var e,t=0<=(e=+o.seconds)&&e<60?e:void 0;d.$setDirty(),angular.isDefined(t)?(i.setSeconds(t),x("s")):a(void 0,void 0,!0)},n.on("blur",function(e){P()?C():!o.invalidSeconds&&o.seconds<10&&o.$apply(function(){o.seconds=D(o.seconds)})})},this.render=function(){var e=d.$viewValue;isNaN(e)?(d.$setValidity("time",!1),n.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(i=e),i<h||b<i?(d.$setValidity("time",!1),o.invalidHours=!0,o.invalidMinutes=!0):C(),M())},o.showSpinners=angular.isDefined(r.showSpinners)?o.$parent.$eval(r.showSpinners):l.showSpinners,o.incrementHours=function(){o.noIncrementHours()||T(60*f*60)},o.decrementHours=function(){o.noDecrementHours()||T(60*-f*60)},o.incrementMinutes=function(){o.noIncrementMinutes()||T(60*v)},o.decrementMinutes=function(){o.noDecrementMinutes()||T(60*-v)},o.incrementSeconds=function(){o.noIncrementSeconds()||T(y)},o.decrementSeconds=function(){o.noDecrementSeconds()||T(-y)},o.toggleMeridian=function(){var e=k(),t=w();o.noToggleMeridian()||(angular.isDefined(e)&&angular.isDefined(t)?T(720*(i.getHours()<12?60:-60)):o.meridian=o.meridian===m[0]?m[1]:m[0])},o.blur=function(){d.$setTouched()},o.$on("$destroy",function(){for(;c.length;)c.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(n){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(e,t){return t.templateUrl||n.templateUrl},link:function(e,t,n,a){var i=a[0],o=a[1];o&&i.init(o,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(n){var a=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(e){var t=e.match(a);if(!t)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+e+'".');return{itemName:t[3],source:n(t[4]),viewMapper:n(t[2]||t[1]),modelMapper:n(t[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(u,p,l,e,t,n,s,a,i,o,c,r,d){var m,g,f=[9,13,27,38,40],h=u.$eval(l.typeaheadMinLength);h||0===h||(h=1),u.$watch(l.typeaheadMinLength,function(e){h=e||0===e?e:1});var b=u.$eval(l.typeaheadWaitMs)||0,v=!1!==u.$eval(l.typeaheadEditable);u.$watch(l.typeaheadEditable,function(e){v=!1!==e});var $,y,w=t(l.typeaheadLoading).assign||angular.noop,k=l.typeaheadShouldSelect?t(l.typeaheadShouldSelect):function(e,t){var n=t.$event;return 13===n.which||9===n.which},D=t(l.typeaheadOnSelect),x=!!angular.isDefined(l.typeaheadSelectOnBlur)&&u.$eval(l.typeaheadSelectOnBlur),C=t(l.typeaheadNoResults).assign||angular.noop,M=l.typeaheadInputFormatter?t(l.typeaheadInputFormatter):void 0,T=!!l.typeaheadAppendToBody&&u.$eval(l.typeaheadAppendToBody),O=l.typeaheadAppendTo?u.$eval(l.typeaheadAppendTo):null,S=!1!==u.$eval(l.typeaheadFocusFirst),P=!!l.typeaheadSelectOnExact&&u.$eval(l.typeaheadSelectOnExact),E=t(l.typeaheadIsOpen).assign||angular.noop,A=u.$eval(l.typeaheadShowHint)||!1,I=t(l.ngModel),U=t(l.ngModel+"($$$p)"),N=d.parse(l.uibTypeahead),F=u.$new(),H=u.$on("$destroy",function(){F.$destroy()});F.$on("$destroy",H);var R,V,q="typeahead-"+F.$id+"-"+Math.floor(1e4*Math.random());p.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":q}),A&&((R=angular.element("<div></div>")).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 L=angular.element("<div uib-typeahead-popup></div>");L.attr({id:q,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)&&L.attr("template-url",l.typeaheadTemplateUrl),angular.isDefined(l.typeaheadPopupTemplateUrl)&&L.attr("popup-template-url",l.typeaheadPopupTemplateUrl);function z(){F.matches=[],F.activeIdx=-1,p.attr("aria-expanded",!1),A&&V.val("")}function Y(e){return q+"-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),C(u,!1),n.when(N.source(u,s)).then(function(e){var t,n,a=r===m.$viewValue;if(a&&$)if(e&&0<e.length){F.activeIdx=S?0:-1,C(u,!1);for(var i,o=F.matches.length=0;o<e.length;o++)s[N.itemName]=e[o],F.matches.push({id:Y(o),label:N.viewMapper(F,s),model:e[o]});F.query=r,G(),p.attr("aria-expanded",!0),P&&1===F.matches.length&&(t=r,n=0,F.matches.length>n&&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<r.length&&i.slice(0,r.length).toUpperCase()===r.toUpperCase()?V.val(r+i.slice(r.length)):V.val(""))}else z(),C(u,!0);a&&w(u,!1)},function(){z(),w(u,!1),C(u,!0)})}T&&(angular.element(i).on("resize",_),a.find("body").on("scroll",_));var W,j=c(function(){F.matches.length&&G(),F.moveInProgress=!1},200);function _(){F.moveInProgress||(F.moveInProgress=!0,F.$digest()),j()}function G(){F.position=T?r.offset(p):r.position(p),F.position.top+=p.prop("offsetHeight")}F.moveInProgress=!1,F.query=void 0;function K(){W&&s.cancel(W)}z(),F.assignIsOpen=function(e){E(u,e)},F.select=function(e,t){var n,a,i,o,r={};y=!0,r[N.itemName]=a=F.matches[e].model,n=N.modelMapper(u,r),i=u,o=n,angular.isFunction(I(u))&&g.getOption("getterSetter")?U(i,{$$$p:o}):I.assign(i,o),m.$setValidity("editable",!0),m.$setValidity("parse",!0),D(u,{$item:a,$model:n,$label:N.viewMapper(u,r),$event:t}),z(),!1!==F.$eval(l.typeaheadFocusOnSelect)&&s(function(){p[0].focus()},0,!1)},p.on("keydown",function(e){if(0!==F.matches.length&&-1!==f.indexOf(e.which)){var t,n=k(u,{$event:e});if(-1===F.activeIdx&&n||9===e.which&&e.shiftKey)return z(),void F.$digest();switch(e.preventDefault(),e.which){case 27:e.stopPropagation(),z(),u.$digest();break;case 38:F.activeIdx=(0<F.activeIdx?F.activeIdx:F.matches.length)-1,F.$digest(),(t=L[0].querySelectorAll(".uib-typeahead-match")[F.activeIdx]).parentNode.scrollTop=t.offsetTop;break;case 40:F.activeIdx=(F.activeIdx+1)%F.matches.length,F.$digest(),(t=L[0].querySelectorAll(".uib-typeahead-match")[F.activeIdx]).parentNode.scrollTop=t.offsetTop;break;default:n&&F.$apply(function(){angular.isNumber(F.debounceUpdate)||angular.isObject(F.debounceUpdate)?c(function(){F.select(F.activeIdx,e)},angular.isNumber(F.debounceUpdate)?F.debounceUpdate:F.debounceUpdate.default):F.select(F.activeIdx,e)})}}}),p.on("focus",function(e){$=!0,0!==h||m.$viewValue||s(function(){B(m.$viewValue,e)},0)}),p.on("blur",function(e){x&&F.matches.length&&-1!==F.activeIdx&&!y&&(y=!0,F.$apply(function(){angular.isObject(F.debounceUpdate)&&angular.isNumber(F.debounceUpdate.blur)?c(function(){F.select(F.activeIdx,e)},F.debounceUpdate.blur):F.select(F.activeIdx,e)})),!v&&m.$error.editable&&(m.$setViewValue(),F.$apply(function(){m.$setValidity("editable",!0),m.$setValidity("parse",!0)}),p.val("")),y=$=!1});function X(e){p[0]!==e.target&&3!==e.which&&0!==F.matches.length&&(z(),o.$$phase||u.$digest())}a.on("click",X),u.$on("$destroy",function(){a.off("click",X),(T||O)&&Z.remove(),T&&(angular.element(i).off("resize",_),a.find("body").off("scroll",_)),L.remove(),A&&R.remove()});var Z=e(L)(F);T?a.find("body").append(Z):O?angular.element(O).eq(0).append(Z):p.after(Z),this.init=function(e){g=function(e){var t;angular.version.minor<6?(t=e.$options||{}).getOption=function(e){return t[e]}:t=e.$options;return t}(m=e),F.debounceUpdate=t(g.getOption("debounce"))(u),m.$parsers.unshift(function(e){var t;return $=!0,0===h||e&&e.length>=h?0<b?(K(),t=e,W=s(function(){B(t)},b)):B(e):(w(u,!1),K(),z()),v?e:e?void m.$setValidity("editable",!1):(m.$setValidity("editable",!0),null)}),m.$formatters.push(function(e){var t,n={};return v||m.$setValidity("editable",!0),M?(n.$model=e,M(u,n)):(n[N.itemName]=e,t=N.viewMapper(u,n),n[N.itemName]=void 0,t!==N.viewMapper(u,n)?t:e)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(e,t,n,a){a[1].init(a[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(i){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(a,e,t){a.templateUrl=t.templateUrl,a.isOpen=function(){var e=0<a.matches.length;return a.assignIsOpen({isOpen:e}),e},a.isActive=function(e){return a.active===e},a.selectActive=function(e){a.active=e},a.selectMatch=function(e,t){var n=a.debounce();angular.isNumber(n)||angular.isObject(n)?i(function(){a.select({activeIdx:e,evt:t})},angular.isNumber(n)?n:n.default):a.select({activeIdx:e,evt:t})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(i,o,r){return{scope:{index:"=",match:"=",query:"="},link:function(n,a,e){var t=r(e.templateUrl)(n.$parent)||"uib/template/typeahead/typeahead-match.html";i(t).then(function(e){var t=angular.element(e.trim());a.replaceWith(t),o(t)(n)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(n,e,a){var i;return i=e.has("$sanitize"),function(e,t){return!i&&/<.*>/g.test(e)&&a.warn("Unsafe use of typeahead please use ngSanitize"),e=t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e,i||(e=n.trustAsHtml(e)),e}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n <h4 class="panel-title">\n <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n <span aria-hidden="true">×</span>\n <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n <tr>\n <th ng-if="showWeeks" class="text-center"></th>\n <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default btn-sm"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/popup.html",'<div>\n <ul class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n <li ng-transclude></li>\n <li ng-if="showButtonBar" class="uib-button-bar">\n <span class="btn-group pull-left">\n <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n </span>\n <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n </li>\n </ul>\n</div>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n <li ng-transclude></li>\n <li ng-if="showButtonBar" class="uib-button-bar">\n <span class="btn-group pull-left">\n <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n </span>\n <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n </li>\n</ul>\n')}]),angular.module("uib/template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/backdrop.html",'<div class="modal-backdrop"\n uib-modal-animation-class="fade"\n modal-in-class="in"\n ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'<div>\n <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n <div class="tab-content">\n <div class="tab-pane"\n ng-repeat="tab in tabset.tabs"\n ng-class="{active: tabset.active === tab.index}"\n uib-tab-content-transclude="tab">\n </div>\n </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n <tbody>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td> </td>\n <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n <tr>\n <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n </td>\n <td class="uib-separator">:</td>\n <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n </td>\n <td ng-show="showSeconds" class="uib-separator">:</td>\n <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n </td>\n <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n </tr>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td> </td>\n <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'<a href\n tabindex="-1"\n ng-bind-html="match.label | uibTypeaheadHighlight:query"\n ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){angular.$$csp().noInlineStyle||angular.$$uibCarouselCss||angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){angular.$$csp().noInlineStyle||angular.$$uibDatepickerCss||angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){angular.$$csp().noInlineStyle||angular.$$uibPositionCss||angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){angular.$$csp().noInlineStyle||angular.$$uibDatepickerpopupCss||angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTooltipCss||angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTimepickerCss||angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){angular.$$csp().noInlineStyle||angular.$$uibTypeaheadCss||angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}); |