PageSourceSearch

https://s1.48hourprint.com/assets/libraries/angular-ui-bootstrap/2.5.0/ui-bootstrap-custom.min.js

js 48hourprint.com collected 2026-10-03 22:11:07 UTC 37,853 bytes, 1 lines download raw bytes

1angular.module("ui.bootstrap",["ui.bootstrap.modal","ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]),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(a,i){var l=e.resolver?a.get(e.resolver):null;return{resolve:function(e,t,o,n){if(l)return l.resolve(e,t,o,n);var r=[];return angular.forEach(e,function(e){r.push(angular.isFunction(e)||angular.isArray(e)?i.resolve(a.invoke(e)):angular.isString(e)?i.resolve(a.get(e)):i.resolve(e))}),i.all(r).then(function(o){var n={},r=0;return angular.forEach(e,function(e,t){n[t]=o[r++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(i,e,t){function o(n,r,a){a.modalInClass&&(i.addClass(r,a.modalInClass),n.$on(t.NOW_CLOSING_EVENT,function(e,t){var o=t();n.modalOptions.animation?i.removeClass(r,a.modalInClass).then(o):o()}))}return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),o}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(o,a,i,l){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(t,n,r){n.addClass(r.windowTopClass||""),t.size=r.size,t.close=function(e){var t=o.getTop();t&&t.value.backdrop&&"static"!==t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),o.dismiss(t.key,"backdrop click"))},n.on("click",t.close),t.$isRendered=!0;var e=a.defer();t.$$postDigest(function(){e.resolve()}),e.promise.then(function(){var e=null;r.modalInClass&&(e=i(n,{addClass:r.modalInClass}).start(),t.$on(o.NOW_CLOSING_EVENT,function(e,t){var o=t();i(n,{removeClass:r.modalInClass}).start().then(o)})),a.when(e).then(function(){var e=o.getTop();if(e&&o.modalRendered(e.key),!l[0].activeElement||!n[0].contains(l[0].activeElement)){var t=n[0].querySelector("[autofocus]");t?t.focus():n[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(a){return{link:function(e,t,o,n,r){r(e.$parent,function(e){t.empty(),a.enter(e,t)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(s,e,d,u,c,i,t,o,p){function f(){for(var e=-1,t=$.keys(),o=0;o<t.length;o++)$.get(t[o]).value.backdrop&&(e=o);return-1<e&&e<C&&(e=C),e}function n(o,e){var n=$.get(o).value,r=n.appendTo;$.remove(o),(S=$.top())&&(C=parseInt(S.value.modalDomEl.attr("index"),10)),a(n.modalDomEl,n.modalScope,function(){var e=n.openedClass||w;y.remove(e,o);var t=y.hasKey(e);r.toggleClass(e,t),!t&&b&&b.heightOverflow&&b.scrollbarWidth&&(r.css(b.originalRight?{paddingRight:b.originalRight+"px"}:{paddingRight:""}),b=null),m(!0)},n.closedDeferred),function(){if(g&&-1===f()){a(g,v,function(){null}),v=g=void 0}}(),e&&e.focus?e.focus():r.focus&&r.focus()}function m(e){var t;0<$.length()&&(t=$.top().value).modalDomEl.toggleClass(t.windowTopClass||"",e)}function a(t,o,n,r){var e,a=null;return o.$broadcast(k.NOW_CLOSING_EVENT,function(){return e||(e=i.defer(),a=e.promise),function(){e.resolve()}}),i.when(a).then(function e(){e.done||(e.done=!0,s.leave(t).then(function(){n&&n(),t.remove(),r&&r.resolve()}),o.$destroy())})}function r(e){if(e.isDefaultPrevented())return e;var t=$.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),c.$apply(function(){k.dismiss(t.key,"escape key press")}));break;case 9:var o=k.loadFocusElementList(t),n=!1;e.shiftKey?(k.isFocusInFirstItem(e,o)||k.isModalFocused(e,t))&&(n=k.focusLastFocusableElement(o)):k.isFocusInLastItem(e,o)&&(n=k.focusFirstFocusableElement(o)),n&&(e.preventDefault(),e.stopPropagation())}}function l(e,t,o){return!e.value.modalScope.$broadcast("modal.closing",t,o).defaultPrevented}function h(){Array.prototype.forEach.call(document.querySelectorAll("["+E+"]"),function(e){var t=parseInt(e.getAttribute(E),10)-1;e.setAttribute(E,t),t||(e.removeAttribute(E),e.removeAttribute("aria-hidden"))})}var g,v,b,w="modal-open",$=o.createNew(),y=t.createNew(),k={NOW_CLOSING_EVENT:"modal.stack.now-closing"},C=0,S=null,E="data-bootstrap-modal-aria-hidden-count",M=/[A-Z]/g;return c.$watch(f,function(e){v&&(v.index=e)}),d.on("keydown",r),c.$on("$destroy",function(){d.off("keydown",r)}),k.open=function(e,t){var o=d[0].activeElement,n=t.openedClass||w;m(!1),S=$.top(),$.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}),y.put(n,e);
1var r,a=t.appendTo,i=f();0<=i&&!g&&((v=c.$new(!0)).modalOptions=t,v.index=i,(g=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&&g.addClass(t.backdropClass),t.animation&&g.attr("modal-animation","true"),u(g)(v),s.enter(g,a),p.isScrollable(a)&&((b=p.scrollbarPadding(a)).heightOverflow&&b.scrollbarWidth&&a.css({paddingRight:b.right+"px"}))),t.component?(r=document.createElement(t.component.name.replace(M,function(e,t){return(t?"-":"")+e.toLowerCase()})),(r=angular.element(r)).attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):r=t.content,C=S?parseInt(S.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:C,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(r),t.windowClass&&l.addClass(t.windowClass),t.animation&&l.attr("modal-animation","true"),a.addClass(n),t.scope&&(t.scope.$$topModalIndex=C),s.enter(u(l)(t.scope),a),$.top().value.modalDomEl=l,$.top().value.modalOpener=o,function e(t){if(t&&"BODY"!==t[0].tagName)return(o=t,n=o.parent()?o.parent().children():[],Array.prototype.filter.call(n,function(e){return e!==o[0]})).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),o=parseInt(e.getAttribute(E),10);o||(o=t?1:0),e.setAttribute(E,o+1),e.setAttribute("aria-hidden","true")}),e(t.parent());var o,n}(l)},k.close=function(e,t){var o=$.get(e);return h(),o&&l(o,t,!0)?(o.value.modalScope.$$uibDestructionScheduled=!0,o.value.deferred.resolve(t),n(e,o.value.modalOpener),!0):!o},k.dismiss=function(e,t){var o=$.get(e);return h(),o&&l(o,t,!1)?(o.value.modalScope.$$uibDestructionScheduled=!0,o.value.deferred.reject(t),n(e,o.value.modalOpener),!0):!o},k.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},k.getTop=function(){return $.top()},k.modalRendered=function(e){var t=$.get(e);t&&t.value.renderDeferred.resolve()},k.focusFirstFocusableElement=function(e){return 0<e.length&&(e[0].focus(),!0)},k.focusLastFocusableElement=function(e){return 0<e.length&&(e[e.length-1].focus(),!0)},k.isModalFocused=function(e,t){if(e&&t){var o=t.value.modalDomEl;if(o&&o.length)return(e.target||e.srcElement)===o[0]}return!1},k.isFocusInFirstItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[0]},k.isFocusInLastItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[t.length-1]},k.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var o=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 o?Array.prototype.filter.call(o,function(e){return!!((t=e).offsetWidth||t.offsetHeight||t.getClientRects().length);var t}):o}}},k}]).provider("$uibModal",function(){var b={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(h,r,a,i,g,l,v){var e={},s=null;return e.getPromiseChain=function(){return s},e.open=function(d){function e(){return t}var t,o,n,u=r.defer(),c=r.defer(),p=r.defer(),f=r.defer(),m={result:u.promise,opened:c.promise,closed:p.promise,rendered:f.promise,close:function(e){return v.close(m,e)},dismiss:function(e){return v.dismiss(m,e)}};if((d=angular.extend({},b.options,d)).resolve=d.resolve||{},d.appendTo=d.appendTo||a.find("body").eq(0),!d.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");
1if(!d.component&&!d.template&&!d.templateUrl)throw new Error("One of component or template or templateUrl options is required.");return t=d.component?r.when(l.resolve(d.resolve,{},null,null)):r.all([(o=d,o.template?r.when(o.template):i(angular.isFunction(o.templateUrl)?o.templateUrl():o.templateUrl)),l.resolve(d.resolve,{},null,null)]),n=s=r.all([s]).then(e,e).then(function(a){function e(o,e,t,n){o.$scope=i,o.$scope.$resolve={},t?o.$scope.$uibModalInstance=m:o.$uibModalInstance=m;var r=e?a[1]:a;angular.forEach(r,function(e,t){n&&(o[t]=e),o.$scope.$resolve[t]=e})}var t=d.scope||h,i=t.$new();i.$close=m.close,i.$dismiss=m.dismiss,i.$on("$destroy",function(){i.$$uibDestructionScheduled||i.$dismiss("$uibUnscheduledDestruction")});var o,n,r={scope:i,deferred:u,renderDeferred:f,closedDeferred:p,animation:d.animation,backdrop:d.backdrop,keyboard:d.keyboard,backdropClass:d.backdropClass,windowTopClass:d.windowTopClass,windowClass:d.windowClass,windowTemplateUrl:d.windowTemplateUrl,ariaLabelledBy:d.ariaLabelledBy,ariaDescribedBy:d.ariaDescribedBy,size:d.size,openedClass:d.openedClass,appendTo:d.appendTo},l={},s={};d.component?(e(l,!1,!0,!1),l.name=d.component,r.component=l):d.controller&&(e(s,!0,!1,!0),n=g(d.controller,s,!0,d.controllerAs),d.controllerAs&&d.bindToController&&((o=n.instance).$close=i.$close,o.$dismiss=i.$dismiss,angular.extend(o,{$resolve:s.$scope.$resolve},t)),o=n(),angular.isFunction(o.$onInit)&&o.$onInit()),d.component||(r.content=a[0]),v.open(m,r),c.resolve(!0)},function(e){c.reject(e),u.reject(e)}).finally(function(){s===n&&(s=null)}),m},e}]};return b}),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var r={};return{entries:function(){return Object.keys(r).map(function(e){return{key:e,value:r[e]}})},get:function(e){return r[e]},hasKey:function(e){return!!r[e]},keys:function(){return Object.keys(r)},put:function(e,t){r[e]||(r[e]=[]),r[e].push(t)},remove:function(e,t){var o=r[e];if(o){var n=o.indexOf(t);-1!==n&&o.splice(n,1),o.length||delete r[e]}}}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var n=[];return{add:function(e,t){n.push({key:e,value:t})},get:function(e){for(var t=0;t<n.length;t++)if(e===n[t].key)return n[t]},keys:function(){for(var e=[],t=0;t<n.length;t++)e.push(n[t].key);return e},top:function(){return n[n.length-1]},remove:function(e){for(var t=-1,o=0;o<n.length;o++)if(e===n[o].key){t=o;break}return n.splice(t,1)[0]},removeTop:function(){return n.pop()},length:function(){return n.length}}}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(d,m){var n,r,u={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},h={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},i=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(e){for(var t=(e=this.getRawNode(e)).offsetParent||d[0].documentElement;t&&t!==d[0].documentElement&&(o=t,"static"===(m.getComputedStyle(o).position||"static"));)t=t.offsetParent;var o;return t||d[0].documentElement},scrollbarWidth:function(e){if(e){if(angular.isUndefined(r)){var t=d.find("body");t.addClass("uib-position-body-scrollbar-measure"),r=m.innerWidth-t[0].clientWidth,r=isFinite(r)?r:0,t.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var o=angular.element('<div class="uib-position-scrollbar-measure"></div>');d.find("body").append(o),n=o[0].offsetWidth-o[0].clientWidth,n=isFinite(n)?n:0,o.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var t=m.getComputedStyle(e),o=this.parseStyle(t.paddingRight),n=this.parseStyle(t.paddingBottom),r=this.scrollParent(e,!1,!0),a=this.scrollbarWidth(i.test(r.tagName));return{scrollbarWidth:a,widthOverflow:r.scrollWidth>r.clientWidth,right:o+a,originalRight:o,heightOverflow:r.scrollHeight>r.clientHeight,bottom:n+a,originalBottom:n}},isScrollable:function(e,t){e=this.getRawNode(e);var o=t?u.hidden:u.normal,n=m.getComputedStyle(e);return o.test(n.overflow+n.overflowY+n.overflowX)},scrollParent:function(e,t,o){e=this.getRawNode(e);var n=t?u.hidden:u.normal,r=d[0].documentElement,a=m.getComputedStyle(e);
1if(o&&n.test(a.overflow+a.overflowY+a.overflowX))return e;var i="absolute"===a.position,l=e.parentElement||r;if(l===r||"fixed"===a.position)return r;for(;l.parentElement&&l!==r;){var s=m.getComputedStyle(l);if(i&&"static"!==s.position&&(i=!1),!i&&n.test(s.overflow+s.overflowY+s.overflowX))break;l=l.parentElement}return l},position:function(e,t){e=this.getRawNode(e);var o=this.offset(e);if(t){var n=m.getComputedStyle(e);o.top-=this.parseStyle(n.marginTop),o.left-=this.parseStyle(n.marginLeft)}var r=this.offsetParent(e),a={top:0,left:0};return r!==d[0].documentElement&&((a=this.offset(r)).top+=r.clientTop-r.scrollTop,a.left+=r.clientLeft-r.scrollLeft),{width:Math.round(angular.isNumber(o.width)?o.width:e.offsetWidth),height:Math.round(angular.isNumber(o.height)?o.height:e.offsetHeight),top:Math.round(o.top-a.top),left:Math.round(o.left-a.left)}},offset:function(e){var t=(e=this.getRawNode(e)).getBoundingClientRect();return{width:Math.round(angular.isNumber(t.width)?t.width:e.offsetWidth),height:Math.round(angular.isNumber(t.height)?t.height:e.offsetHeight),top:Math.round(t.top+(m.pageYOffset||d[0].documentElement.scrollTop)),left:Math.round(t.left+(m.pageXOffset||d[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,o){o=!1!==o;var n=(e=this.getRawNode(e)).getBoundingClientRect(),r={top:0,left:0,bottom:0,right:0},a=t?d[0].documentElement:this.scrollParent(e),i=a.getBoundingClientRect();if(r.top=i.top+a.clientTop,r.left=i.left+a.clientLeft,a===d[0].documentElement&&(r.top+=m.pageYOffset,r.left+=m.pageXOffset),r.bottom=r.top+a.clientHeight,r.right=r.left+a.clientWidth,o){var l=m.getComputedStyle(a);r.top+=this.parseStyle(l.paddingTop),r.bottom-=this.parseStyle(l.paddingBottom),r.left+=this.parseStyle(l.paddingLeft),r.right-=this.parseStyle(l.paddingRight)}return{top:Math.round(n.top-r.top),bottom:Math.round(r.bottom-n.bottom),left:Math.round(n.left-r.left),right:Math.round(r.right-n.right)}},parsePlacement:function(e){var t=h.auto.test(e);return t&&(e=e.replace(h.auto,"")),(e=e.split("-"))[0]=e[0]||"top",h.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",h.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,o,n){e=this.getRawNode(e),t=this.getRawNode(t);var r=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),a=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");o=this.parsePlacement(o);var i=n?this.offset(e):this.position(e),l={top:0,left:0,placement:""};if(o[2]){var s=this.viewportOffset(e,n),d=m.getComputedStyle(t),u=r+Math.round(Math.abs(this.parseStyle(d.marginLeft)+this.parseStyle(d.marginRight))),c=a+Math.round(Math.abs(this.parseStyle(d.marginTop)+this.parseStyle(d.marginBottom)));if(o[0]="top"===o[0]&&c>s.top&&c<=s.bottom?"bottom":"bottom"===o[0]&&c>s.bottom&&c<=s.top?"top":"left"===o[0]&&u>s.left&&u<=s.right?"right":"right"===o[0]&&u>s.right&&u<=s.left?"left":o[0],o[1]="top"===o[1]&&c-i.height>s.bottom&&c-i.height<=s.top?"bottom":"bottom"===o[1]&&c-i.height>s.top&&c-i.height<=s.bottom?"top":"left"===o[1]&&u-i.width>s.right&&u-i.width<=s.left?"right":"right"===o[1]&&u-i.width>s.left&&u-i.width<=s.right?"left":o[1],"center"===o[1])if(h.vertical.test(o[0])){var p=i.width/2-r/2;s.left+p<0&&u-i.width<=s.right?o[1]="left":s.right+p<0&&u-i.width<=s.left&&(o[1]="right")}else{var f=i.height/2-c/2;s.top+f<0&&c-i.height<=s.bottom?o[1]="top":s.bottom+f<0&&c-i.height<=s.top&&(o[1]="bottom")}}switch(o[0]){case"top":l.top=i.top-a;break;case"bottom":l.top=i.top+i.height;break;case"left":l.left=i.left-r;break;case"right":l.left=i.left+i.width}switch(o[1]){case"top":l.top=i.top;break;case"bottom":l.top=i.top+i.height-a;break;case"left":l.left=i.left;break;case"right":l.left=i.left+i.width-r;break;case"center":h.vertical.test(o[0])?l.left=i.left+i.width/2-r/2:l.top=i.top+i.height/2-a/2}return l.top=Math.round(l.top),l.left=Math.round(l.left),l.placement="center"===o[1]?o[0]:o[0]+"-"+o[1],l},adjustTop:function(e,t,o,n){return-1!==e.indexOf("top")&&o!==n?{top:t.top-n+"px"}:void 0},positionArrow:function(e,t){var o=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(o){var n=angular.element(o).hasClass("tooltip-inner"),r=e.querySelector(n?".tooltip-arrow":".arrow");if(r){var a={top:"",bottom:"",left:"",right:""};if("center"===(t=this.parsePlacement(t))[1])return void angular.element(r).css(a);var i="border-"+t[0]+"-width",l=m.getComputedStyle(r)[i],s="border-";s+=h.vertical.test(t[0])?t[0]+"-"+t[1]:t[1]+"-"+t[0],s+="-radius";var d=m.getComputedStyle(n?o:e)[s];switch(t[0]){case"top":a.bottom=n?"0":"-"+l;break;case"bottom":a.top=n?"0":"-"+l;break;case"left":a.right=n?"0":"-"+l;break;case"right":a.left=n?"0":"-"+l}a[t[1]]=d,angular.element(r).css(a)}}}}}]),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!
1angular.$$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",["ui.bootstrap.tpls","ui.bootstrap.modal","ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]),angular.module("ui.bootstrap.tpls",["uib/template/modal/window.html"]),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(a,i){var l=e.resolver?a.get(e.resolver):null;return{resolve:function(e,t,o,n){if(l)return l.resolve(e,t,o,n);var r=[];return angular.forEach(e,function(e){r.push(angular.isFunction(e)||angular.isArray(e)?i.resolve(a.invoke(e)):angular.isString(e)?i.resolve(a.get(e)):i.resolve(e))}),i.all(r).then(function(o){var n={},r=0;return angular.forEach(e,function(e,t){n[t]=o[r++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(i,e,t){function o(n,r,a){a.modalInClass&&(i.addClass(r,a.modalInClass),n.$on(t.NOW_CLOSING_EVENT,function(e,t){var o=t();n.modalOptions.animation?i.removeClass(r,a.modalInClass).then(o):o()}))}return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),o}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(o,a,i,l){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(t,n,r){n.addClass(r.windowTopClass||""),t.size=r.size,t.close=function(e){var t=o.getTop();t&&t.value.backdrop&&"static"!==t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),o.dismiss(t.key,"backdrop click"))},n.on("click",t.close),t.$isRendered=!0;var e=a.defer();t.$$postDigest(function(){e.resolve()}),e.promise.then(function(){var e=null;r.modalInClass&&(e=i(n,{addClass:r.modalInClass}).start(),t.$on(o.NOW_CLOSING_EVENT,function(e,t){var o=t();i(n,{removeClass:r.modalInClass}).start().then(o)})),a.when(e).then(function(){var e=o.getTop();if(e&&o.modalRendered(e.key),!l[0].activeElement||!n[0].contains(l[0].activeElement)){var t=n[0].querySelector("[autofocus]");t?t.focus():n[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(a){return{link:function(e,t,o,n,r){r(e.$parent,function(e){t.empty(),a.enter(e,t)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(s,e,d,u,c,i,t,o,p){function f(){for(var e=-1,t=$.keys(),o=0;o<t.length;o++)$.get(t[o]).value.backdrop&&(e=o);return-1<e&&e<C&&(e=C),e}function n(o,e){var n=$.get(o).value,r=n.appendTo;$.remove(o),(S=$.top())&&(C=parseInt(S.value.modalDomEl.attr("index"),10)),a(n.modalDomEl,n.modalScope,function(){var e=n.openedClass||w;y.remove(e,o);var t=y.hasKey(e);r.toggleClass(e,t),!t&&b&&b.heightOverflow&&b.scrollbarWidth&&(r.css(b.originalRight?{paddingRight:b.originalRight+"px"}:{paddingRight:""}),b=null),m(!0)},n.closedDeferred),function(){if(g&&-1===f()){a(g,v,function(){null}),v=g=void 0}}(),e&&e.focus?e.focus():r.focus&&r.focus()}function m(e){var t;0<$.length()&&(t=$.top().value).modalDomEl.toggleClass(t.windowTopClass||"",e)}function a(t,o,n,r){var e,a=null;return o.$broadcast(k.NOW_CLOSING_EVENT,function(){return e||(e=i.defer(),a=e.promise),function(){e.resolve()}}),i.when(a).then(function e(){e.done||(e.done=!0,s.leave(t).then(function(){n&&n(),t.remove(),r&&r.resolve()}),o.$destroy())})}function r(e){if(e.isDefaultPrevented())return e;var t=$.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),c.$apply(function(){k.dismiss(t.key,"escape key press")}));break;case 9:var o=k.loadFocusElementList(t),n=!1;e.shiftKey?(k.isFocusInFirstItem(e,o)||k.isModalFocused(e,t))&&(n=k.focusLastFocusableElement(o)):k.isFocusInLastItem(e,o)&&(n=k.focusFirstFocusableElement(o)),n&&(e.preventDefault(),e.stopPropagation())}}function l(e,t,o){return!e.value.modalScope.$broadcast("modal.closing",t,o).defaultPrevented}function h(){Array.prototype.forEach.call(document.querySelectorAll("["+E+"]"),function(e){var t=parseInt(e.getAttribute(E),10)-1;e.setAttribute(E,t),t||(e.removeAttribute(E),e.removeAttribute("aria-hidden"))})}var g,v,b,w="modal-open",$=o.createNew(),y=t.createNew(),k={NOW_CLOSING_EVENT:"modal.stack.now-closing"},C=0,S=null,E="data-bootstrap-modal-aria-hidden-count",M=/[A-Z]/g;return c.$watch(f,function(e){v&&(v.index=e)}),d.on("keydown",r),c.$on("$destroy",function(){d.off("keydown",r)}),k.open=function(e,t){var o=d[0].activeElement,n=t.openedClass||w;m(!1),S=$.top(),$.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}),y.put(n,e);
1var r,a=t.appendTo,i=f();0<=i&&!g&&((v=c.$new(!0)).modalOptions=t,v.index=i,(g=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&&g.addClass(t.backdropClass),t.animation&&g.attr("modal-animation","true"),u(g)(v),s.enter(g,a),p.isScrollable(a)&&((b=p.scrollbarPadding(a)).heightOverflow&&b.scrollbarWidth&&a.css({paddingRight:b.right+"px"}))),t.component?(r=document.createElement(t.component.name.replace(M,function(e,t){return(t?"-":"")+e.toLowerCase()})),(r=angular.element(r)).attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):r=t.content,C=S?parseInt(S.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:C,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(r),t.windowClass&&l.addClass(t.windowClass),t.animation&&l.attr("modal-animation","true"),a.addClass(n),t.scope&&(t.scope.$$topModalIndex=C),s.enter(u(l)(t.scope),a),$.top().value.modalDomEl=l,$.top().value.modalOpener=o,function e(t){if(t&&"BODY"!==t[0].tagName)return(o=t,n=o.parent()?o.parent().children():[],Array.prototype.filter.call(n,function(e){return e!==o[0]})).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),o=parseInt(e.getAttribute(E),10);o||(o=t?1:0),e.setAttribute(E,o+1),e.setAttribute("aria-hidden","true")}),e(t.parent());var o,n}(l)},k.close=function(e,t){var o=$.get(e);return h(),o&&l(o,t,!0)?(o.value.modalScope.$$uibDestructionScheduled=!0,o.value.deferred.resolve(t),n(e,o.value.modalOpener),!0):!o},k.dismiss=function(e,t){var o=$.get(e);return h(),o&&l(o,t,!1)?(o.value.modalScope.$$uibDestructionScheduled=!0,o.value.deferred.reject(t),n(e,o.value.modalOpener),!0):!o},k.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},k.getTop=function(){return $.top()},k.modalRendered=function(e){var t=$.get(e);t&&t.value.renderDeferred.resolve()},k.focusFirstFocusableElement=function(e){return 0<e.length&&(e[0].focus(),!0)},k.focusLastFocusableElement=function(e){return 0<e.length&&(e[e.length-1].focus(),!0)},k.isModalFocused=function(e,t){if(e&&t){var o=t.value.modalDomEl;if(o&&o.length)return(e.target||e.srcElement)===o[0]}return!1},k.isFocusInFirstItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[0]},k.isFocusInLastItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[t.length-1]},k.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var o=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 o?Array.prototype.filter.call(o,function(e){return!!((t=e).offsetWidth||t.offsetHeight||t.getClientRects().length);var t}):o}}},k}]).provider("$uibModal",function(){var b={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(h,r,a,i,g,l,v){var e={},s=null;return e.getPromiseChain=function(){return s},e.open=function(d){function e(){return t}var t,o,n,u=r.defer(),c=r.defer(),p=r.defer(),f=r.defer(),m={result:u.promise,opened:c.promise,closed:p.promise,rendered:f.promise,close:function(e){return v.close(m,e)},dismiss:function(e){return v.dismiss(m,e)}};if((d=angular.extend({},b.options,d)).resolve=d.resolve||{},d.appendTo=d.appendTo||a.find("body").eq(0),!d.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");
1if(!d.component&&!d.template&&!d.templateUrl)throw new Error("One of component or template or templateUrl options is required.");return t=d.component?r.when(l.resolve(d.resolve,{},null,null)):r.all([(o=d,o.template?r.when(o.template):i(angular.isFunction(o.templateUrl)?o.templateUrl():o.templateUrl)),l.resolve(d.resolve,{},null,null)]),n=s=r.all([s]).then(e,e).then(function(a){function e(o,e,t,n){o.$scope=i,o.$scope.$resolve={},t?o.$scope.$uibModalInstance=m:o.$uibModalInstance=m;var r=e?a[1]:a;angular.forEach(r,function(e,t){n&&(o[t]=e),o.$scope.$resolve[t]=e})}var t=d.scope||h,i=t.$new();i.$close=m.close,i.$dismiss=m.dismiss,i.$on("$destroy",function(){i.$$uibDestructionScheduled||i.$dismiss("$uibUnscheduledDestruction")});var o,n,r={scope:i,deferred:u,renderDeferred:f,closedDeferred:p,animation:d.animation,backdrop:d.backdrop,keyboard:d.keyboard,backdropClass:d.backdropClass,windowTopClass:d.windowTopClass,windowClass:d.windowClass,windowTemplateUrl:d.windowTemplateUrl,ariaLabelledBy:d.ariaLabelledBy,ariaDescribedBy:d.ariaDescribedBy,size:d.size,openedClass:d.openedClass,appendTo:d.appendTo},l={},s={};d.component?(e(l,!1,!0,!1),l.name=d.component,r.component=l):d.controller&&(e(s,!0,!1,!0),n=g(d.controller,s,!0,d.controllerAs),d.controllerAs&&d.bindToController&&((o=n.instance).$close=i.$close,o.$dismiss=i.$dismiss,angular.extend(o,{$resolve:s.$scope.$resolve},t)),o=n(),angular.isFunction(o.$onInit)&&o.$onInit()),d.component||(r.content=a[0]),v.open(m,r),c.resolve(!0)},function(e){c.reject(e),u.reject(e)}).finally(function(){s===n&&(s=null)}),m},e}]};return b}),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var r={};return{entries:function(){return Object.keys(r).map(function(e){return{key:e,value:r[e]}})},get:function(e){return r[e]},hasKey:function(e){return!!r[e]},keys:function(){return Object.keys(r)},put:function(e,t){r[e]||(r[e]=[]),r[e].push(t)},remove:function(e,t){var o=r[e];if(o){var n=o.indexOf(t);-1!==n&&o.splice(n,1),o.length||delete r[e]}}}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var n=[];return{add:function(e,t){n.push({key:e,value:t})},get:function(e){for(var t=0;t<n.length;t++)if(e===n[t].key)return n[t]},keys:function(){for(var e=[],t=0;t<n.length;t++)e.push(n[t].key);return e},top:function(){return n[n.length-1]},remove:function(e){for(var t=-1,o=0;o<n.length;o++)if(e===n[o].key){t=o;break}return n.splice(t,1)[0]},removeTop:function(){return n.pop()},length:function(){return n.length}}}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(d,m){var n,r,u={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},h={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},i=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(e){for(var t=(e=this.getRawNode(e)).offsetParent||d[0].documentElement;t&&t!==d[0].documentElement&&(o=t,"static"===(m.getComputedStyle(o).position||"static"));)t=t.offsetParent;var o;return t||d[0].documentElement},scrollbarWidth:function(e){if(e){if(angular.isUndefined(r)){var t=d.find("body");t.addClass("uib-position-body-scrollbar-measure"),r=m.innerWidth-t[0].clientWidth,r=isFinite(r)?r:0,t.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var o=angular.element('<div class="uib-position-scrollbar-measure"></div>');d.find("body").append(o),n=o[0].offsetWidth-o[0].clientWidth,n=isFinite(n)?n:0,o.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var t=m.getComputedStyle(e),o=this.parseStyle(t.paddingRight),n=this.parseStyle(t.paddingBottom),r=this.scrollParent(e,!1,!0),a=this.scrollbarWidth(i.test(r.tagName));return{scrollbarWidth:a,widthOverflow:r.scrollWidth>r.clientWidth,right:o+a,originalRight:o,heightOverflow:r.scrollHeight>r.clientHeight,bottom:n+a,originalBottom:n}},isScrollable:function(e,t){e=this.getRawNode(e);var o=t?u.hidden:u.normal,n=m.getComputedStyle(e);return o.test(n.overflow+n.overflowY+n.overflowX)},scrollParent:function(e,t,o){e=this.getRawNode(e);var n=t?u.hidden:u.normal,r=d[0].documentElement,a=m.getComputedStyle(e);
1if(o&&n.test(a.overflow+a.overflowY+a.overflowX))return e;var i="absolute"===a.position,l=e.parentElement||r;if(l===r||"fixed"===a.position)return r;for(;l.parentElement&&l!==r;){var s=m.getComputedStyle(l);if(i&&"static"!==s.position&&(i=!1),!i&&n.test(s.overflow+s.overflowY+s.overflowX))break;l=l.parentElement}return l},position:function(e,t){e=this.getRawNode(e);var o=this.offset(e);if(t){var n=m.getComputedStyle(e);o.top-=this.parseStyle(n.marginTop),o.left-=this.parseStyle(n.marginLeft)}var r=this.offsetParent(e),a={top:0,left:0};return r!==d[0].documentElement&&((a=this.offset(r)).top+=r.clientTop-r.scrollTop,a.left+=r.clientLeft-r.scrollLeft),{width:Math.round(angular.isNumber(o.width)?o.width:e.offsetWidth),height:Math.round(angular.isNumber(o.height)?o.height:e.offsetHeight),top:Math.round(o.top-a.top),left:Math.round(o.left-a.left)}},offset:function(e){var t=(e=this.getRawNode(e)).getBoundingClientRect();return{width:Math.round(angular.isNumber(t.width)?t.width:e.offsetWidth),height:Math.round(angular.isNumber(t.height)?t.height:e.offsetHeight),top:Math.round(t.top+(m.pageYOffset||d[0].documentElement.scrollTop)),left:Math.round(t.left+(m.pageXOffset||d[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,o){o=!1!==o;var n=(e=this.getRawNode(e)).getBoundingClientRect(),r={top:0,left:0,bottom:0,right:0},a=t?d[0].documentElement:this.scrollParent(e),i=a.getBoundingClientRect();if(r.top=i.top+a.clientTop,r.left=i.left+a.clientLeft,a===d[0].documentElement&&(r.top+=m.pageYOffset,r.left+=m.pageXOffset),r.bottom=r.top+a.clientHeight,r.right=r.left+a.clientWidth,o){var l=m.getComputedStyle(a);r.top+=this.parseStyle(l.paddingTop),r.bottom-=this.parseStyle(l.paddingBottom),r.left+=this.parseStyle(l.paddingLeft),r.right-=this.parseStyle(l.paddingRight)}return{top:Math.round(n.top-r.top),bottom:Math.round(r.bottom-n.bottom),left:Math.round(n.left-r.left),right:Math.round(r.right-n.right)}},parsePlacement:function(e){var t=h.auto.test(e);return t&&(e=e.replace(h.auto,"")),(e=e.split("-"))[0]=e[0]||"top",h.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",h.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,o,n){e=this.getRawNode(e),t=this.getRawNode(t);var r=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),a=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");o=this.parsePlacement(o);var i=n?this.offset(e):this.position(e),l={top:0,left:0,placement:""};if(o[2]){var s=this.viewportOffset(e,n),d=m.getComputedStyle(t),u=r+Math.round(Math.abs(this.parseStyle(d.marginLeft)+this.parseStyle(d.marginRight))),c=a+Math.round(Math.abs(this.parseStyle(d.marginTop)+this.parseStyle(d.marginBottom)));if(o[0]="top"===o[0]&&c>s.top&&c<=s.bottom?"bottom":"bottom"===o[0]&&c>s.bottom&&c<=s.top?"top":"left"===o[0]&&u>s.left&&u<=s.right?"right":"right"===o[0]&&u>s.right&&u<=s.left?"left":o[0],o[1]="top"===o[1]&&c-i.height>s.bottom&&c-i.height<=s.top?"bottom":"bottom"===o[1]&&c-i.height>s.top&&c-i.height<=s.bottom?"top":"left"===o[1]&&u-i.width>s.right&&u-i.width<=s.left?"right":"right"===o[1]&&u-i.width>s.left&&u-i.width<=s.right?"left":o[1],"center"===o[1])if(h.vertical.test(o[0])){var p=i.width/2-r/2;s.left+p<0&&u-i.width<=s.right?o[1]="left":s.right+p<0&&u-i.width<=s.left&&(o[1]="right")}else{var f=i.height/2-c/2;s.top+f<0&&c-i.height<=s.bottom?o[1]="top":s.bottom+f<0&&c-i.height<=s.top&&(o[1]="bottom")}}switch(o[0]){case"top":l.top=i.top-a;break;case"bottom":l.top=i.top+i.height;break;case"left":l.left=i.left-r;break;case"right":l.left=i.left+i.width}switch(o[1]){case"top":l.top=i.top;break;case"bottom":l.top=i.top+i.height-a;break;case"left":l.left=i.left;break;case"right":l.left=i.left+i.width-r;break;case"center":h.vertical.test(o[0])?l.left=i.left+i.width/2-r/2:l.top=i.top+i.height/2-a/2}return l.top=Math.round(l.top),l.left=Math.round(l.left),l.placement="center"===o[1]?o[0]:o[0]+"-"+o[1],l},adjustTop:function(e,t,o,n){return-1!==e.indexOf("top")&&o!==n?{top:t.top-n+"px"}:void 0},positionArrow:function(e,t){var o=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(o){var n=angular.element(o).hasClass("tooltip-inner"),r=e.querySelector(n?".tooltip-arrow":".arrow");if(r){var a={top:"",bottom:"",left:"",right:""};if("center"===(t=this.parsePlacement(t))[1])return void angular.element(r).css(a);var i="border-"+t[0]+"-width",l=m.getComputedStyle(r)[i],s="border-";s+=h.vertical.test(t[0])?t[0]+"-"+t[1]:t[1]+"-"+t[0],s+="-radius";var d=m.getComputedStyle(n?o:e)[s];switch(t[0]){case"top":a.bottom=n?"0":"-"+l;break;case"bottom":a.top=n?"0":"-"+l;break;case"left":a.right=n?"0":"-"+l;break;case"right":a.left=n?"0":"-"+l}a[t[1]]=d,angular.element(r).css(a)}}}}}]),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("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!
1angular.$$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});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.