diff options
Diffstat (limited to 'js/vendor/angular/angular.min.js')
-rw-r--r-- | js/vendor/angular/angular.min.js | 554 |
1 files changed, 277 insertions, 277 deletions
diff --git a/js/vendor/angular/angular.min.js b/js/vendor/angular/angular.min.js index 5003be9a0..bac3e013b 100644 --- a/js/vendor/angular/angular.min.js +++ b/js/vendor/angular/angular.min.js @@ -1,282 +1,282 @@ /* - AngularJS v1.4.0-build.3861+sha.2c4ffd6 + AngularJS v1.4.0-build.3887+sha.41fdb3d (c) 2010-2015 Google, Inc. http://angularjs.org License: MIT */ -(function(O,W,t){'use strict';function Q(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.4.0-build.3861+sha.2c4ffd6/"+(b?b+"/":"")+a;for(a=1;a<arguments.length;a++){c=c+(1==a?"?":"&")+"p"+(a-1)+"=";var d=encodeURIComponent,e;e=arguments[a];e="function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e;c+=d(e)}return Error(c)}}function Pa(b){if(null==b||Qa(b))return!1;var a=b.length; -return b.nodeType===qa&&a?!0:J(b)||D(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function p(b,a,c){var d,e;if(b)if(I(b))for(d in b)"prototype"==d||"length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d)||a.call(c,b[d],d,b);else if(D(b)||Pa(b)){var f="object"!==typeof b;d=0;for(e=b.length;d<e;d++)(f||d in b)&&a.call(c,b[d],d,b)}else if(b.forEach&&b.forEach!==p)b.forEach(a,c,b);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d,b);return b}function Hd(b,a,c){for(var d=Object.keys(b).sort(), -e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function gc(b){return function(a,c){b(c,a)}}function Id(){return++fb}function hc(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function R(b){for(var a=b.$$hashKey,c=1,d=arguments.length;c<d;c++){var e=arguments[c];if(e)for(var f=Object.keys(e),g=0,h=f.length;g<h;g++){var l=f[g];b[l]=e[l]}}hc(b,a);return b}function aa(b){return parseInt(b,10)}function Kb(b,a){return R(Object.create(b),a)}function w(){}function Ra(b){return b}function ra(b){return function(){return b}} -function E(b){return"undefined"===typeof b}function A(b){return"undefined"!==typeof b}function F(b){return null!==b&&"object"===typeof b}function J(b){return"string"===typeof b}function S(b){return"number"===typeof b}function sa(b){return"[object Date]"===ta.call(b)}function I(b){return"function"===typeof b}function gb(b){return"[object RegExp]"===ta.call(b)}function Qa(b){return b&&b.window===b}function Sa(b){return b&&b.$evalAsync&&b.$watch}function Ta(b){return"boolean"===typeof b}function ic(b){return!(!b|| -!(b.nodeName||b.prop&&b.attr&&b.find))}function Jd(b){var a={};b=b.split(",");var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function ua(b){return L(b.nodeName||b[0]&&b[0].nodeName)}function Ua(b,a){var c=b.indexOf(a);0<=c&&b.splice(c,1);return c}function va(b,a,c,d){if(Qa(b)||Sa(b))throw Ca("cpws");if(jc.test(ta.call(a)))throw Ca("cpta");if(a){if(b===a)throw Ca("cpi");c=c||[];d=d||[];if(F(b)){var e=c.indexOf(b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(D(b))for(var f=a.length=0;f<b.length;f++)e= -va(b[f],null,c,d),F(b[f])&&(c.push(b[f]),d.push(e)),a.push(e);else{var g=a.$$hashKey;D(a)?a.length=0:p(a,function(b,c){delete a[c]});for(f in b)b.hasOwnProperty(f)&&(e=va(b[f],null,c,d),F(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e);hc(a,g)}}else if(a=b)D(b)?a=va(b,[],c,d):jc.test(ta.call(b))?a=new b.constructor(b):sa(b)?a=new Date(b.getTime()):gb(b)?(a=new RegExp(b.source,b.toString().match(/[^\/]*$/)[0]),a.lastIndex=b.lastIndex):F(b)&&(e=Object.create(Object.getPrototypeOf(b)),a=va(b,e,c,d));return a} -function da(b,a){if(D(b)){a=a||[];for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}else if(F(b))for(c in a=a||{},b)if("$"!==c.charAt(0)||"$"!==c.charAt(1))a[c]=b[c];return a||b}function la(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&"object"==c)if(D(b)){if(!D(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!la(b[d],a[d]))return!1;return!0}}else{if(sa(b))return sa(a)?la(b.getTime(),a.getTime()):!1;if(gb(b)&&gb(a))return b.toString()== -a.toString();if(Sa(b)||Sa(a)||Qa(b)||Qa(a)||D(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!I(b[d])){if(!la(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==t&&!I(a[d]))return!1;return!0}return!1}function Va(b,a,c){return b.concat(Wa.call(a,c))}function kc(b,a){var c=2<arguments.length?Wa.call(arguments,2):[];return!I(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,Va(c,arguments,0)):a.apply(b,c)}:function(){return arguments.length? -a.apply(b,arguments):a.call(b)}}function Kd(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)&&"$"===b.charAt(1)?c=t:Qa(a)?c="$WINDOW":a&&W===a?c="$DOCUMENT":Sa(a)&&(c="$SCOPE");return c}function Xa(b,a){if("undefined"===typeof b)return t;S(a)||(a=a?2:null);return JSON.stringify(b,Kd,a)}function lc(b){return J(b)?JSON.parse(b):b}function wa(b){b=H(b).clone();try{b.empty()}catch(a){}var c=H("<div>").append(b).html();try{return b[0].nodeType===hb?L(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/, -function(a,b){return"<"+L(b)})}catch(d){return L(c)}}function mc(b){try{return decodeURIComponent(b)}catch(a){}}function nc(b){var a={},c,d;p((b||"").split("&"),function(b){b&&(c=b.replace(/\+/g,"%20").split("="),d=mc(c[0]),A(d)&&(b=A(c[1])?mc(c[1]):!0,oc.call(a,d)?D(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Lb(b){var a=[];p(b,function(b,d){D(b)?p(b,function(b){a.push(Da(d,!0)+(!0===b?"":"="+Da(b,!0)))}):a.push(Da(d,!0)+(!0===b?"":"="+Da(b,!0)))});return a.length?a.join("&"):""} -function ib(b){return Da(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Da(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,a?"%20":"+")}function pc(b,a){var c,d,e=Ja.length;b=H(b);for(d=0;d<e;++d)if(c=Ja[d]+a,J(c=b.attr(c)))return c;return null}function Ld(b,a){var c,d,e={};p(Ja,function(a){a+="app";!c&&b.hasAttribute&&b.hasAttribute(a)&&(c=b,d=b.getAttribute(a))}); -p(Ja,function(a){a+="app";var e;!c&&(e=b.querySelector("["+a.replace(":","\\:")+"]"))&&(c=e,d=e.getAttribute(a))});c&&(e.strictDi=null!==pc(c,"strict-di"),a(c,d?[d]:[],e))}function qc(b,a,c){F(c)||(c={});c=R({strictDi:!1},c);var d=function(){b=H(b);if(b.injector()){var d=b[0]===W?"document":wa(b);throw Ca("btstrpd",d.replace(/</,"<").replace(/>/,">"));}a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);c.debugInfoEnabled&&a.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]); -a.unshift("ng");d=Ya(a,c.strictDi);d.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return d},e=/^NG_ENABLE_DEBUG_INFO!/,f=/^NG_DEFER_BOOTSTRAP!/;O&&e.test(O.name)&&(c.debugInfoEnabled=!0,O.name=O.name.replace(e,""));if(O&&!f.test(O.name))return d();O.name=O.name.replace(f,"");ba.resumeBootstrap=function(b){p(b,function(b){a.push(b)});return d()};I(ba.resumeDeferredBootstrap)&&ba.resumeDeferredBootstrap()}function Md(){O.name= -"NG_ENABLE_DEBUG_INFO!"+O.name;O.location.reload()}function Nd(b){b=ba.element(b).injector();if(!b)throw Ca("test");return b.get("$$testability")}function rc(b,a){a=a||"_";return b.replace(Od,function(b,d){return(d?a:"")+b.toLowerCase()})}function Pd(){var b;if(!sc){var a=jb();ma=O.jQuery;A(a)&&(ma=null===a?t:O[a]);ma&&ma.fn.on?(H=ma,R(ma.fn,{scope:Ka.scope,isolateScope:Ka.isolateScope,controller:Ka.controller,injector:Ka.injector,inheritedData:Ka.inheritedData}),b=ma.cleanData,ma.cleanData=function(a){var d; -if(Mb)Mb=!1;else for(var e=0,f;null!=(f=a[e]);e++)(d=ma._data(f,"events"))&&d.$destroy&&ma(f).triggerHandler("$destroy");b(a)}):H=P;ba.element=H;sc=!0}}function Nb(b,a,c){if(!b)throw Ca("areq",a||"?",c||"required");return b}function kb(b,a,c){c&&D(b)&&(b=b[b.length-1]);Nb(I(b),a,"not a function, got "+(b&&"object"===typeof b?b.constructor.name||"Object":typeof b));return b}function La(b,a){if("hasOwnProperty"===b)throw Ca("badname",a);}function tc(b,a,c){if(!a)return b;a=a.split(".");for(var d,e= -b,f=a.length,g=0;g<f;g++)d=a[g],b&&(b=(e=b)[d]);return!c&&I(b)?kc(e,b):b}function lb(b){var a=b[0];b=b[b.length-1];var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);return H(c)}function na(){return Object.create(null)}function Qd(b){function a(a,b,c){return a[b]||(a[b]=c())}var c=Q("$injector"),d=Q("ng");b=a(b,"angular",Object);b.$$minErr=b.$$minErr||Q;return a(b,"module",function(){var b={};return function(f,g,h){if("hasOwnProperty"===f)throw d("badname","module");g&&b.hasOwnProperty(f)&& -(b[f]=null);return a(b,f,function(){function a(c,d,e,f){f||(f=b);return function(){f[e||"push"]([c,d,arguments]);return u}}if(!g)throw c("nomod",f);var b=[],d=[],e=[],s=a("$injector","invoke","push",d),u={_invokeQueue:b,_configBlocks:d,_runBlocks:e,requires:g,name:f,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animateProvider","register"),filter:a("$filterProvider", -"register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:s,run:function(a){e.push(a);return this}};h&&s(h);return u})}})}function Rd(b){R(b,{bootstrap:qc,copy:va,extend:R,equals:la,element:H,forEach:p,injector:Ya,noop:w,bind:kc,toJson:Xa,fromJson:lc,identity:Ra,isUndefined:E,isDefined:A,isString:J,isFunction:I,isObject:F,isNumber:S,isElement:ic,isArray:D,version:Sd,isDate:sa,lowercase:L,uppercase:mb,callbacks:{counter:0},getTestability:Nd,$$minErr:Q, -$$csp:Za,reloadWithDebugInfo:Md});$a=Qd(O);try{$a("ngLocale")}catch(a){$a("ngLocale",[]).provider("$locale",Td)}$a("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:Ud});a.provider("$compile",uc).directive({a:Vd,input:vc,textarea:vc,form:Wd,script:Xd,select:Yd,style:Zd,option:$d,ngBind:ae,ngBindHtml:be,ngBindTemplate:ce,ngClass:de,ngClassEven:ee,ngClassOdd:fe,ngCloak:ge,ngController:he,ngForm:ie,ngHide:je,ngIf:ke,ngInclude:le,ngInit:me,ngNonBindable:ne,ngPluralize:oe,ngRepeat:pe, -ngShow:qe,ngStyle:re,ngSwitch:se,ngSwitchWhen:te,ngSwitchDefault:ue,ngOptions:ve,ngTransclude:we,ngModel:xe,ngList:ye,ngChange:ze,pattern:wc,ngPattern:wc,required:xc,ngRequired:xc,minlength:yc,ngMinlength:yc,maxlength:zc,ngMaxlength:zc,ngValue:Ae,ngModelOptions:Be}).directive({ngInclude:Ce}).directive(nb).directive(Ac);a.provider({$anchorScroll:De,$animate:Ee,$browser:Fe,$cacheFactory:Ge,$controller:He,$document:Ie,$exceptionHandler:Je,$filter:Bc,$interpolate:Ke,$interval:Le,$http:Me,$httpBackend:Ne, -$location:Oe,$log:Pe,$parse:Qe,$rootScope:Re,$q:Se,$$q:Te,$sce:Ue,$sceDelegate:Ve,$sniffer:We,$templateCache:Xe,$templateRequest:Ye,$$testability:Ze,$timeout:$e,$window:af,$$rAF:bf,$$asyncCallback:cf,$$jqLite:df})}])}function ab(b){return b.replace(ef,function(a,b,d,e){return e?d.toUpperCase():d}).replace(ff,"Moz$1")}function Cc(b){b=b.nodeType;return b===qa||!b||9===b}function Dc(b,a){var c,d,e=a.createDocumentFragment(),f=[];if(Ob.test(b)){c=c||e.appendChild(a.createElement("div"));d=(gf.exec(b)|| -["",""])[1].toLowerCase();d=ea[d]||ea._default;c.innerHTML=d[1]+b.replace(hf,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=Va(f,c.childNodes);c=e.firstChild;c.textContent=""}else f.push(a.createTextNode(b));e.textContent="";e.innerHTML="";p(f,function(a){e.appendChild(a)});return e}function P(b){if(b instanceof P)return b;var a;J(b)&&(b=V(b),a=!0);if(!(this instanceof P)){if(a&&"<"!=b.charAt(0))throw Pb("nosel");return new P(b)}if(a){a=W;var c;b=(c=jf.exec(b))?[a.createElement(c[1])]:(c=Dc(b, -a))?c.childNodes:[]}Ec(this,b)}function Qb(b){return b.cloneNode(!0)}function ob(b,a){a||pb(b);if(b.querySelectorAll)for(var c=b.querySelectorAll("*"),d=0,e=c.length;d<e;d++)pb(c[d])}function Fc(b,a,c,d){if(A(d))throw Pb("offargs");var e=(d=qb(b))&&d.events,f=d&&d.handle;if(f)if(a)p(a.split(" "),function(a){if(A(c)){var d=e[a];Ua(d||[],c);if(d&&0<d.length)return}b.removeEventListener(a,f,!1);delete e[a]});else for(a in e)"$destroy"!==a&&b.removeEventListener(a,f,!1),delete e[a]}function pb(b,a){var c= -b.ng339,d=c&&rb[c];d&&(a?delete d.data[a]:(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),Fc(b)),delete rb[c],b.ng339=t))}function qb(b,a){var c=b.ng339,c=c&&rb[c];a&&!c&&(b.ng339=c=++kf,c=rb[c]={events:{},data:{},handle:t});return c}function Rb(b,a,c){if(Cc(b)){var d=A(c),e=!d&&a&&!F(a),f=!a;b=(b=qb(b,!e))&&b.data;if(d)b[a]=c;else{if(f)return b;if(e)return b&&b[a];R(b,a)}}}function sb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+ -a+" "):!1}function tb(b,a){a&&b.setAttribute&&p(a.split(" "),function(a){b.setAttribute("class",V((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+V(a)+" "," ")))})}function ub(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");p(a.split(" "),function(a){a=V(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" ")});b.setAttribute("class",V(c))}}function Ec(b,a){if(a)if(a.nodeType)b[b.length++]=a;else{var c=a.length;if("number"===typeof c&&a.window!== -a){if(c)for(var d=0;d<c;d++)b[b.length++]=a[d]}else b[b.length++]=a}}function Gc(b,a){return vb(b,"$"+(a||"ngController")+"Controller")}function vb(b,a,c){9==b.nodeType&&(b=b.documentElement);for(a=D(a)?a:[a];b;){for(var d=0,e=a.length;d<e;d++)if((c=H.data(b,a[d]))!==t)return c;b=b.parentNode||11===b.nodeType&&b.host}}function Hc(b){for(ob(b,!0);b.firstChild;)b.removeChild(b.firstChild)}function Sb(b,a){a||ob(b);var c=b.parentNode;c&&c.removeChild(b)}function lf(b,a){a=a||O;if("complete"===a.document.readyState)a.setTimeout(b); -else H(a).on("load",b)}function Ic(b,a){var c=wb[a.toLowerCase()];return c&&Jc[ua(b)]&&c}function mf(b,a){var c=b.nodeName;return("INPUT"===c||"TEXTAREA"===c)&&Kc[a]}function nf(b,a){var c=function(c,e){c.isDefaultPrevented=function(){return c.defaultPrevented};var f=a[e||c.type],g=f?f.length:0;if(g){if(E(c.immediatePropagationStopped)){var h=c.stopImmediatePropagation;c.stopImmediatePropagation=function(){c.immediatePropagationStopped=!0;c.stopPropagation&&c.stopPropagation();h&&h.call(c)}}c.isImmediatePropagationStopped= -function(){return!0===c.immediatePropagationStopped};1<g&&(f=da(f));for(var l=0;l<g;l++)c.isImmediatePropagationStopped()||f[l].call(b,c)}};c.elem=b;return c}function df(){this.$get=function(){return R(P,{hasClass:function(b,a){b.attr&&(b=b[0]);return sb(b,a)},addClass:function(b,a){b.attr&&(b=b[0]);return ub(b,a)},removeClass:function(b,a){b.attr&&(b=b[0]);return tb(b,a)}})}}function Ea(b,a){var c=b&&b.$$hashKey;if(c)return"function"===typeof c&&(c=b.$$hashKey()),c;c=typeof b;return c="function"== -c||"object"==c&&null!==b?b.$$hashKey=c+":"+(a||Id)():c+":"+b}function xb(b,a){if(a){var c=0;this.nextUid=function(){return++c}}p(b,this.put,this)}function of(b){return(b=b.toString().replace(Lc,"").match(Mc))?"function("+(b[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ya(b,a){function c(a){return function(b,c){if(F(b))p(b,gc(a));else return a(b,c)}}function d(a,b){La(a,"service");if(I(b)||D(b))b=s.instantiate(b);if(!b.$get)throw Fa("pget",a);return m[a+"Provider"]=b}function e(a,b){return function(){var c= -y.invoke(b,this);if(E(c))throw Fa("undef",a);return c}}function f(a,b,c){return d(a,{$get:!1!==c?e(a,b):b})}function g(a){var b=[],c;p(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=s.get(e[0]);f[e[1]].apply(f,e[2])}}if(!n.get(a)){n.put(a,!0);try{J(a)?(c=$a(a),b=b.concat(g(c.requires)).concat(c._runBlocks),d(c._invokeQueue),d(c._configBlocks)):I(a)?b.push(s.invoke(a)):D(a)?b.push(s.invoke(a)):kb(a,"module")}catch(e){throw D(a)&&(a=a[a.length-1]),e.message&&e.stack&&-1== -e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Fa("modulerr",a,e.stack||e.message||e);}}});return b}function h(b,c){function d(a,e){if(b.hasOwnProperty(a)){if(b[a]===l)throw Fa("cdep",a+" <- "+k.join(" <- "));return b[a]}try{return k.unshift(a),b[a]=l,b[a]=c(a,e)}catch(f){throw b[a]===l&&delete b[a],f;}finally{k.shift()}}function e(b,c,f,h){"string"===typeof f&&(h=f,f=null);var g=[],k=Ya.$$annotate(b,a,h),l,s,m;s=0;for(l=k.length;s<l;s++){m=k[s];if("string"!==typeof m)throw Fa("itkn",m);g.push(f&& -f.hasOwnProperty(m)?f[m]:d(m,h))}D(b)&&(b=b[l]);return b.apply(c,g)}return{invoke:e,instantiate:function(a,b,c){var d=Object.create((D(a)?a[a.length-1]:a).prototype||null);a=e(a,d,b,c);return F(a)||I(a)?a:d},get:d,annotate:Ya.$$annotate,has:function(a){return m.hasOwnProperty(a+"Provider")||b.hasOwnProperty(a)}}}a=!0===a;var l={},k=[],n=new xb([],!0),m={$provide:{provider:c(d),factory:c(f),service:c(function(a,b){return f(a,["$injector",function(a){return a.instantiate(b)}])}),value:c(function(a, -b){return f(a,ra(b),!1)}),constant:c(function(a,b){La(a,"constant");m[a]=b;u[a]=b}),decorator:function(a,b){var c=s.get(a+"Provider"),d=c.$get;c.$get=function(){var a=y.invoke(d,c);return y.invoke(b,null,{$delegate:a})}}}},s=m.$injector=h(m,function(a,b){ba.isString(b)&&k.push(b);throw Fa("unpr",k.join(" <- "));}),u={},y=u.$injector=h(u,function(a,b){var c=s.get(a+"Provider",b);return y.invoke(c.$get,c,t,a)});p(g(b),function(a){y.invoke(a||w)});return y}function De(){var b=!0;this.disableAutoScrolling= -function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;Array.prototype.some.call(a,function(a){if("a"===ua(a))return b=a,!0});return b}function f(b){if(b){b.scrollIntoView();var c;c=g.yOffset;I(c)?c=c():ic(c)?(c=c[0],c="fixed"!==a.getComputedStyle(c).position?0:c.getBoundingClientRect().bottom):S(c)||(c=0);c&&(b=b.getBoundingClientRect().top,a.scrollBy(0,b-c))}else a.scrollTo(0,0)}function g(){var a=c.hash(),b;a?(b=h.getElementById(a))?f(b):(b=e(h.getElementsByName(a)))? -f(b):"top"===a&&f(null):f(null)}var h=a.document;b&&d.$watch(function(){return c.hash()},function(a,b){a===b&&""===a||lf(function(){d.$evalAsync(g)})});return g}]}function cf(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}:function(b){return a(b,0,!1)}}]}function pf(b,a,c,d){function e(a){try{a.apply(null,Wa.call(arguments,1))}finally{if(q--,0===q)for(;B.length;)try{B.pop()()}catch(b){c.error(b)}}}function f(a,b){(function qf(){p(z,function(a){a()});x=b(qf, -a)})()}function g(){h();l()}function h(){G=b.history.state;G=E(G)?null:G;la(G,pa)&&(G=pa);pa=G}function l(){if(C!==n.url()||M!==G)C=n.url(),M=G,p(Y,function(a){a(n.url(),G)})}function k(a){try{return decodeURIComponent(a)}catch(b){return a}}var n=this,m=a[0],s=b.location,u=b.history,y=b.setTimeout,N=b.clearTimeout,v={};n.isMock=!1;var q=0,B=[];n.$$completeOutstandingRequest=e;n.$$incOutstandingRequestCount=function(){q++};n.notifyWhenNoOutstandingRequests=function(a){p(z,function(a){a()});0===q?a(): -B.push(a)};var z=[],x;n.addPollFn=function(a){E(x)&&f(100,y);z.push(a);return a};var G,M,C=s.href,X=a.find("base"),fa=null;h();M=G;n.url=function(a,c,e){E(e)&&(e=null);s!==b.location&&(s=b.location);u!==b.history&&(u=b.history);if(a){var f=M===e;if(C===a&&(!d.history||f))return n;var g=C&&Ga(C)===Ga(a);C=a;M=e;!d.history||g&&f?(g||(fa=a),c?s.replace(a):g?(c=s,e=a.indexOf("#"),a=-1===e?"":a.substr(e+1),c.hash=a):s.href=a):(u[c?"replaceState":"pushState"](e,"",a),h(),M=G);return n}return fa||s.href.replace(/%27/g, -"'")};n.state=function(){return G};var Y=[],ga=!1,pa=null;n.onUrlChange=function(a){if(!ga){if(d.history)H(b).on("popstate",g);H(b).on("hashchange",g);ga=!0}Y.push(a);return a};n.$$checkUrlChange=l;n.baseHref=function(){var a=X.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var r={},A="",I=n.baseHref();n.cookies=function(a,b){var d,e,f,h;if(a)b===t?m.cookie=encodeURIComponent(a)+"=;path="+I+";expires=Thu, 01 Jan 1970 00:00:00 GMT":J(b)&&(d=(m.cookie=encodeURIComponent(a)+"="+encodeURIComponent(b)+ -";path="+I).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(m.cookie!==A)for(A=m.cookie,d=A.split("; "),r={},f=0;f<d.length;f++)e=d[f],h=e.indexOf("="),0<h&&(a=k(e.substring(0,h)),r[a]===t&&(r[a]=k(e.substring(h+1))));return r}};n.defer=function(a,b){var c;q++;c=y(function(){delete v[c];e(a)},b||0);v[c]=!0;return c};n.defer.cancel=function(a){return v[a]?(delete v[a],N(a),e(w),!0):!1}}function Fe(){this.$get=["$window", -"$log","$sniffer","$document",function(b,a,c,d){return new pf(b,d,a,c)}]}function Ge(){this.$get=function(){function b(b,d){function e(a){a!=m&&(s?s==a&&(s=a.n):s=a,f(a.n,a.p),f(a,m),m=a,m.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw Q("$cacheFactory")("iid",b);var g=0,h=R({},d,{id:b}),l={},k=d&&d.capacity||Number.MAX_VALUE,n={},m=null,s=null;return a[b]={put:function(a,b){if(!E(b)){if(k<Number.MAX_VALUE){var c=n[a]||(n[a]={key:a});e(c)}a in l||g++;l[a]=b;g>k&&this.remove(s.key); -return b}},get:function(a){if(k<Number.MAX_VALUE){var b=n[a];if(!b)return;e(b)}return l[a]},remove:function(a){if(k<Number.MAX_VALUE){var b=n[a];if(!b)return;b==m&&(m=b.p);b==s&&(s=b.n);f(b.n,b.p);delete n[a]}delete l[a];g--},removeAll:function(){l={};g=0;n={};m=s=null},destroy:function(){n=h=l=null;delete a[b]},info:function(){return R({},h,{size:g})}}}var a={};b.info=function(){var b={};p(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function Xe(){this.$get= -["$cacheFactory",function(b){return b("templates")}]}function uc(b,a){function c(a,b,c){var d=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,e={};p(a,function(a,f){var h=a.match(d);if(!h)throw ja("iscp",b,f,a,c?"controller bindings definition":"isolate scope definition");e[f]={mode:h[1][0],collection:"*"===h[2],optional:"?"===h[3],attrName:h[4]||f}});return e}var d={},e=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,f=/(([\w\-]+)(?:\:([^;]+))?;?)/,g=Jd("ngSrc,ngSrcset,src,srcset"),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,l= -/^(on[a-z]+|formaction)$/;this.directive=function m(a,e){La(a,"directive");J(a)?(Nb(e,"directiveFactory"),d.hasOwnProperty(a)||(d[a]=[],b.factory(a+"Directive",["$injector","$exceptionHandler",function(b,e){var f=[];p(d[a],function(d,h){try{var g=b.invoke(d);I(g)?g={compile:ra(g)}:!g.compile&&g.link&&(g.compile=ra(g.link));g.priority=g.priority||0;g.index=h;g.name=g.name||a;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"EA";var k=g,l=g,m=g.name,u={isolateScope:null,bindToController:null}; -F(l.scope)&&(!0===l.bindToController?(u.bindToController=c(l.scope,m,!0),u.isolateScope={}):u.isolateScope=c(l.scope,m,!1));F(l.bindToController)&&(u.bindToController=c(l.bindToController,m,!0));if(F(u.bindToController)){var X=l.controller,p=l.controllerAs;if(!X)throw ja("noctrl",m);var Y;a:if(p&&J(p))Y=p;else{if(J(X)){var ga=Oc.exec(X);if(ga){Y=ga[3];break a}}Y=void 0}if(!Y)throw ja("noident",m);}var pa=k.$$bindings=u;F(pa.isolateScope)&&(g.$$isolateBindings=pa.isolateScope);f.push(g)}catch(r){e(r)}}); -return f}])),d[a].push(e)):p(a,gc(m));return this};this.aHrefSanitizationWhitelist=function(b){return A(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(b){return A(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};var k=!0;this.debugInfoEnabled=function(a){return A(a)?(k=a,this):k};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document", -"$sce","$animate","$$sanitizeUri",function(a,b,c,y,N,v,q,B,z,x,G){function M(a,b){try{a.addClass(b)}catch(c){}}function C(a,b,c,d,e){a instanceof H||(a=H(a));p(a,function(b,c){b.nodeType==hb&&b.nodeValue.match(/\S+/)&&(a[c]=H(b).wrap("<span></span>").parent()[0])});var f=X(a,b,a,c,d,e);C.$$addScopeClass(a);var h=null;return function(b,c,d){Nb(b,"scope");d=d||{};var e=d.parentBoundTranscludeFn,g=d.transcludeControllers;d=d.futureParentElement;e&&e.$$boundTransclude&&(e=e.$$boundTransclude);h||(h=(d= -d&&d[0])?"foreignobject"!==ua(d)&&d.toString().match(/SVG/)?"svg":"html":"html");d="html"!==h?H(Tb(h,H("<div>").append(a).html())):c?Ka.clone.call(a):a;if(g)for(var l in g)d.data("$"+l+"Controller",g[l].instance);C.$$addScopeInfo(d,b);c&&c(d,b);f&&f(b,d,d,e);return d}}function X(a,b,c,d,e,f){function h(a,c,d,e){var f,l,k,s,m,u,y;if(q)for(y=Array(c.length),s=0;s<g.length;s+=3)f=g[s],y[f]=c[f];else y=c;s=0;for(m=g.length;s<m;)if(l=y[g[s++]],c=g[s++],f=g[s++],c){if(c.scope){if(k=a.$new(),C.$$addScopeInfo(H(l), -k),u=c.$$destroyBindings)c.$$destroyBindings=null,k.$on("$destroyed",u)}else k=a;u=c.transcludeOnThisElement?fa(a,c.transclude,e,c.elementTranscludeOnThisElement):!c.templateOnThisElement&&e?e:!e&&b?fa(a,b):null;c(f,k,l,d,u,c)}else f&&f(a,l.childNodes,t,e)}for(var g=[],l,k,s,m,q,u=0;u<a.length;u++){l=new ca;k=Y(a[u],[],l,0===u?d:t,e);(f=k.length?A(k,a[u],l,b,c,null,[],[],f):null)&&f.scope&&C.$$addScopeClass(l.$$element);l=f&&f.terminal||!(s=a[u].childNodes)||!s.length?null:X(s,f?(f.transcludeOnThisElement|| -!f.templateOnThisElement)&&f.transclude:b);if(f||l)g.push(u,f,l),m=!0,q=q||f;f=null}return m?h:null}function fa(a,b,c,d){return function(d,e,f,g,h){d||(d=a.$new(!1,h),d.$$transcluded=!0);return b(d,e,{parentBoundTranscludeFn:c,transcludeControllers:f,futureParentElement:g})}}function Y(a,b,c,d,g){var h=c.$attr,l;switch(a.nodeType){case qa:ha(b,xa(ua(a)),"E",d,g);for(var k,s,m,q=a.attributes,u=0,y=q&&q.length;u<y;u++){var C=!1,M=!1;k=q[u];l=k.name;s=V(k.value);k=xa(l);if(m=ka.test(k))l=l.replace(Pc, -"").substr(8).replace(/_(.)/g,function(a,b){return b.toUpperCase()});var G=k.replace(/(Start|End)$/,"");T(G)&&k===G+"Start"&&(C=l,M=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6));k=xa(l.toLowerCase());h[k]=l;if(m||!c.hasOwnProperty(k))c[k]=s,Ic(a,k)&&(c[k]=!0);U(a,b,s,k,m);ha(b,k,"A",d,g,C,M)}a=a.className;F(a)&&(a=a.animVal);if(J(a)&&""!==a)for(;l=f.exec(a);)k=xa(l[2]),ha(b,k,"C",d,g)&&(c[k]=V(l[3])),a=a.substr(l.index+l[0].length);break;case hb:P(b,a.nodeValue);break;case 8:try{if(l=e.exec(a.nodeValue))k= -xa(l[1]),ha(b,k,"M",d,g)&&(c[k]=V(l[2]))}catch(N){}}b.sort(O);return b}function ga(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ja("uterdir",b,c);a.nodeType==qa&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return H(d)}function r(a,b,c){return function(d,e,f,g,h){e=ga(e[0],b,c);return a(d,e,f,g,h)}}function A(a,b,d,e,f,g,l,k,s){function m(a,b,c,d){if(a){c&&(a=r(a,c,d));a.require=K.require;a.directiveName=ha;if(x=== -K||K.$$isolateScope)a=$(a,{isolateScope:!0});l.push(a)}if(b){c&&(b=r(b,c,d));b.require=K.require;b.directiveName=ha;if(x===K||K.$$isolateScope)b=$(b,{isolateScope:!0});k.push(b)}}function q(a,b,c,d){var e;if(J(b)){var f=b.match(h);b=b.substring(f[0].length);var g=f[1]||f[3],f="?"===f[2];"^^"===g?c=c.parent():e=(e=d&&d[b])&&e.instance;e||(d="$"+b+"Controller",e=g?c.inheritedData(d):c.data(d));if(!e&&!f)throw ja("ctreq",b,a);}else if(D(b))for(e=[],g=0,f=b.length;g<f;g++)e[g]=q(a,b[g],c,d);return e|| -null}function y(a,b,c,d,e,f){var g=na(),h;for(h in d){var l=d[h],k={$scope:l===x||l.$$isolateScope?e:f,$element:a,$attrs:b,$transclude:c},s=l.controller;"@"==s&&(s=b[l.name]);k=v(s,k,!0,l.controllerAs);g[l.name]=k;Na||a.data("$"+l.name+"Controller",k.instance)}return g}function M(a,c,e,f,g,h){function s(a,b,c){var d;Sa(a)||(c=b,b=a,a=t);Na&&(d=Y);c||(c=Na?oa.parent():oa);return g(a,b,d,c,ga)}var m,u,G,v,Y,B,oa;b===e?(f=d,oa=d.$$element):(oa=H(e),f=new ca(oa,d));x&&(v=c.$new(!0));g&&(B=s,B.$$boundTransclude= -g);z&&(Y=y(oa,f,B,z,v,c));x&&(C.$$addScopeInfo(oa,v,!0,!(X&&(X===x||X===x.$$originalDirective))),C.$$addScopeClass(oa,!0),v.$$isolateBindings=x.$$isolateBindings,ba(c,f,v,v.$$isolateBindings,x,v));if(Y){var p=x||N,fa;p&&Y[p.name]&&(u=p.$$bindings.bindToController,(G=Y[p.name])&&G.identifier&&u&&(fa=G,h.$$destroyBindings=ba(c,f,G.instance,u,p)));for(m in Y){G=Y[m];var r=G();r!==G.instance&&G===fa&&(h.$$destroyBindings(),h.$$destroyBindings=ba(c,f,r,u,p))}}m=0;for(h=l.length;m<h;m++)u=l[m],aa(u,u.isolateScope? -v:c,oa,f,u.require&&q(u.directiveName,u.require,oa,Y),B);var ga=c;x&&(x.template||null===x.templateUrl)&&(ga=v);a&&a(ga,e.childNodes,t,g);for(m=k.length-1;0<=m;m--)u=k[m],aa(u,u.isolateScope?v:c,oa,f,u.require&&q(u.directiveName,u.require,oa,Y),B)}s=s||{};for(var G=-Number.MAX_VALUE,N,z=s.controllerDirectives,x=s.newIsolateScopeDirective,X=s.templateDirective,B=s.nonTlbTranscludeDirective,p=!1,fa=!1,Na=s.hasElementTranscludeDirective,w=d.$$element=H(b),K,ha,T,L=e,O,P=0,R=a.length;P<R;P++){K=a[P]; -var S=K.$$start,U=K.$$end;S&&(w=ga(b,S,U));T=t;if(G>K.priority)break;if(T=K.scope)K.templateUrl||(F(T)?(Ma("new/isolated scope",x||N,K,w),x=K):Ma("new/isolated scope",x,K,w)),N=N||K;ha=K.name;!K.templateUrl&&K.controller&&(T=K.controller,z=z||na(),Ma("'"+ha+"' controller",z[ha],K,w),z[ha]=K);if(T=K.transclude)p=!0,K.$$tlb||(Ma("transclusion",B,K,w),B=K),"element"==T?(Na=!0,G=K.priority,T=w,w=d.$$element=H(W.createComment(" "+ha+": "+d[ha]+" ")),b=w[0],Z(f,Wa.call(T,0),b),L=C(T,e,G,g&&g.name,{nonTlbTranscludeDirective:B})): -(T=H(Qb(b)).contents(),w.empty(),L=C(T,e));if(K.template)if(fa=!0,Ma("template",X,K,w),X=K,T=I(K.template)?K.template(w,d):K.template,T=ia(T),K.replace){g=K;T=Ob.test(T)?Qc(Tb(K.templateNamespace,V(T))):[];b=T[0];if(1!=T.length||b.nodeType!==qa)throw ja("tplrt",ha,"");Z(f,w,b);R={$attr:{}};T=Y(b,[],R);var rf=a.splice(P+1,a.length-(P+1));x&&E(T);a=a.concat(T).concat(rf);Nc(d,R);R=a.length}else w.html(T);if(K.templateUrl)fa=!0,Ma("template",X,K,w),X=K,K.replace&&(g=K),M=Q(a.splice(P,a.length-P),w,d, -f,p&&L,l,k,{controllerDirectives:z,newIsolateScopeDirective:x,templateDirective:X,nonTlbTranscludeDirective:B}),R=a.length;else if(K.compile)try{O=K.compile(w,d,L),I(O)?m(null,O,S,U):O&&m(O.pre,O.post,S,U)}catch(da){c(da,wa(w))}K.terminal&&(M.terminal=!0,G=Math.max(G,K.priority))}M.scope=N&&!0===N.scope;M.transcludeOnThisElement=p;M.elementTranscludeOnThisElement=Na;M.templateOnThisElement=fa;M.transclude=L;s.hasElementTranscludeDirective=Na;return M}function E(a){for(var b=0,c=a.length;b<c;b++)a[b]= -Kb(a[b],{$$isolateScope:!0})}function ha(b,e,f,g,h,l,k){if(e===h)return null;h=null;if(d.hasOwnProperty(e)){var s;e=a.get(e+"Directive");for(var q=0,y=e.length;q<y;q++)try{s=e[q],(g===t||g>s.priority)&&-1!=s.restrict.indexOf(f)&&(l&&(s=Kb(s,{$$start:l,$$end:k})),b.push(s),h=s)}catch(C){c(C)}}return h}function T(b){if(d.hasOwnProperty(b))for(var c=a.get(b+"Directive"),e=0,f=c.length;e<f;e++)if(b=c[e],b.multiElement)return!0;return!1}function Nc(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;p(a,function(d, -e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});p(b,function(b,f){"class"==f?(M(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):"style"==f?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=c[f])})}function Q(a,b,c,d,e,f,g,h){var l=[],k,s,m=b[0],q=a.shift(),u=Kb(q,{templateUrl:null,transclude:null,replace:null,$$originalDirective:q}),C=I(q.templateUrl)?q.templateUrl(b,c):q.templateUrl, -G=q.templateNamespace;b.empty();y(z.getTrustedResourceUrl(C)).then(function(y){var x,N;y=ia(y);if(q.replace){y=Ob.test(y)?Qc(Tb(G,V(y))):[];x=y[0];if(1!=y.length||x.nodeType!==qa)throw ja("tplrt",q.name,C);y={$attr:{}};Z(d,b,x);var z=Y(x,[],y);F(q.scope)&&E(z);a=z.concat(a);Nc(c,y)}else x=m,b.html(y);a.unshift(u);k=A(a,x,c,e,b,q,f,g,h);p(d,function(a,c){a==x&&(d[c]=b[0])});for(s=X(b[0].childNodes,e);l.length;){y=l.shift();N=l.shift();var v=l.shift(),B=l.shift(),z=b[0];if(!y.$$destroyed){if(N!==m){var ga= -N.className;h.hasElementTranscludeDirective&&q.replace||(z=Qb(x));Z(v,H(N),z);M(H(z),ga)}N=k.transcludeOnThisElement?fa(y,k.transclude,B):B;k(s,y,z,d,N,k)}}l=null});return function(a,b,c,d,e){a=e;b.$$destroyed||(l?l.push(b,c,d,a):(k.transcludeOnThisElement&&(a=fa(b,k.transclude,e)),k(s,b,c,d,a,k)))}}function O(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.index}function Ma(a,b,c,d){if(b)throw ja("multidir",b.name,c.name,a,wa(d));}function P(a,c){var d= -b(c,!0);d&&a.push({priority:0,compile:function(a){a=a.parent();var b=!!a.length;b&&C.$$addBindingClass(a);return function(a,c){var e=c.parent();b||C.$$addBindingClass(e);C.$$addBindingInfo(e,d.expressions);a.$watch(d,function(a){c[0].nodeValue=a})}}})}function Tb(a,b){a=L(a||"html");switch(a){case "svg":case "math":var c=W.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes;default:return b}}function S(a,b){if("srcdoc"==b)return z.HTML;var c=ua(a);if("xlinkHref"== -b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return z.RESOURCE_URL}function U(a,c,d,e,f){var h=S(a,e);f=g[e]||f;var k=b(d,!0,h,f);if(k){if("multiple"===e&&"select"===ua(a))throw ja("selmulti",wa(a));c.push({priority:100,compile:function(){return{pre:function(a,c,g){c=g.$$observers||(g.$$observers={});if(l.test(e))throw ja("nodomevents");var m=g[e];m!==d&&(k=m&&b(m,!0,h,f),d=m);k&&(g[e]=k(a),(c[e]||(c[e]=[])).$$inter=!0,(g.$$observers&&g.$$observers[e].$$scope||a).$watch(k,function(a, -b){"class"===e&&a!=b?g.$updateClass(a,b):g.$set(e,a)}))}}}})}}function Z(a,b,c){var d=b[0],e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g<h;g++)if(a[g]==d){a[g++]=c;h=g+e-1;for(var l=a.length;g<l;g++,h++)h<l?a[g]=a[h]:delete a[g];a.length-=e-1;a.context===d&&(a.context=c);break}f&&f.replaceChild(c,d);a=W.createDocumentFragment();a.appendChild(d);H(c).data(H(d).data());ma?(Mb=!0,ma.cleanData([d])):delete H.cache[d[H.expando]];d=1;for(e=b.length;d<e;d++)f=b[d],H(f).remove(),a.appendChild(f), -delete b[d];b[0]=c;b.length=1}function $(a,b){return R(function(){return a.apply(null,arguments)},a,b)}function aa(a,b,d,e,f,g){try{a(b,d,e,f,g)}catch(h){c(h,wa(d))}}function ba(a,c,d,e,f,g){var h;p(e,function(e,g){var l=e.attrName,k=e.optional,m,q,u,y;switch(e.mode){case "@":c.$observe(l,function(a){d[g]=a});c.$$observers[l].$$scope=a;c[l]&&(d[g]=b(c[l])(a));break;case "=":if(k&&!c[l])break;q=N(c[l]);y=q.literal?la:function(a,b){return a===b||a!==a&&b!==b};u=q.assign||function(){m=d[g]=q(a);throw ja("nonassign", -c[l],f.name);};m=d[g]=q(a);k=function(b){y(b,d[g])||(y(b,m)?u(a,b=d[g]):d[g]=b);return m=b};k.$stateful=!0;k=e.collection?a.$watchCollection(c[l],k):a.$watch(N(c[l],k),null,q.literal);h=h||[];h.push(k);break;case "&":if(!c.hasOwnProperty(l)&&k)break;q=N(c[l]);if(q===w&&k)break;d[g]=function(b){return q(a,b)}}});e=h?function(){for(var a=0,b=h.length;a<b;++a)h[a]()}:w;return g&&e!==w?(g.$on("$destroy",e),w):e}var ca=function(a,b){if(b){var c=Object.keys(b),d,e,f;d=0;for(e=c.length;d<e;d++)f=c[d],this[f]= -b[f]}else this.$attr={};this.$$element=a};ca.prototype={$normalize:xa,$addClass:function(a){a&&0<a.length&&x.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&x.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Rc(a,b);c&&c.length&&x.addClass(this.$$element,c);(c=Rc(b,a))&&c.length&&x.removeClass(this.$$element,c)},$set:function(a,b,d,e){var f=this.$$element[0],g=Ic(f,a),h=mf(f,a),f=a;g?(this.$$element.prop(a,b),e=g):h&&(this[h]=b,f=h);this[a]=b;e?this.$attr[a]=e:(e= -this.$attr[a])||(this.$attr[a]=e=rc(a,"-"));g=ua(this.$$element);if("a"===g&&"href"===a||"img"===g&&"src"===a)this[a]=b=G(b,"src"===a);else if("img"===g&&"srcset"===a){for(var g="",h=V(b),l=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,l=/\s/.test(h)?l:/(,)/,h=h.split(l),l=Math.floor(h.length/2),k=0;k<l;k++)var s=2*k,g=g+G(V(h[s]),!0),g=g+(" "+V(h[s+1]));h=V(h[2*k]).split(/\s/);g+=G(V(h[0]),!0);2===h.length&&(g+=" "+V(h[1]));this[a]=b=g}!1!==d&&(null===b||b===t?this.$$element.removeAttr(e):this.$$element.attr(e, -b));(a=this.$$observers)&&p(a[f],function(a){try{a(b)}catch(d){c(d)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers=na()),e=d[a]||(d[a]=[]);e.push(b);q.$evalAsync(function(){!e.$$inter&&c.hasOwnProperty(a)&&b(c[a])});return function(){Ua(e,b)}}};var da=b.startSymbol(),ea=b.endSymbol(),ia="{{"==da||"}}"==ea?Ra:function(a){return a.replace(/\{\{/g,da).replace(/}}/g,ea)},ka=/^ngAttr[A-Z]/;C.$$addBindingInfo=k?function(a,b){var c=a.data("$binding")||[];D(b)?c=c.concat(b):c.push(b); -a.data("$binding",c)}:w;C.$$addBindingClass=k?function(a){M(a,"ng-binding")}:w;C.$$addScopeInfo=k?function(a,b,c,d){a.data(c?d?"$isolateScopeNoTemplate":"$isolateScope":"$scope",b)}:w;C.$$addScopeClass=k?function(a,b){M(a,b?"ng-isolate-scope":"ng-scope")}:w;return C}]}function xa(b){return ab(b.replace(Pc,""))}function Rc(b,a){var c="",d=b.split(/\s+/),e=a.split(/\s+/),f=0;a:for(;f<d.length;f++){for(var g=d[f],h=0;h<e.length;h++)if(g==e[h])continue a;c+=(0<c.length?" ":"")+g}return c}function Qc(b){b= -H(b);var a=b.length;if(1>=a)return b;for(;a--;)8===b[a].nodeType&&sf.call(b,a,1);return b}function He(){var b={},a=!1;this.register=function(a,d){La(a,"controller");F(a)?R(b,a):b[a]=d};this.allowGlobals=function(){a=!0};this.$get=["$injector","$window",function(c,d){function e(a,b,c,d){if(!a||!F(a.$scope))throw Q("$controller")("noscp",d,b);a.$scope[b]=c}return function(f,g,h,l){var k,n,m;h=!0===h;l&&J(l)&&(m=l);if(J(f)){l=f.match(Oc);if(!l)throw tf("ctrlfmt",f);n=l[1];m=m||l[3];f=b.hasOwnProperty(n)? -b[n]:tc(g.$scope,n,!0)||(a?tc(d,n,!0):t);kb(f,n,!0)}if(h)return h=(D(f)?f[f.length-1]:f).prototype,k=Object.create(h||null),m&&e(g,m,k,n||f.name),R(function(){var a=c.invoke(f,k,g,n);a!==k&&(F(a)||I(a))&&(k=a,m&&e(g,m,k,n||f.name));return k},{instance:k,identifier:m});k=c.instantiate(f,g,n);m&&e(g,m,k,n||f.name);return k}}]}function Ie(){this.$get=["$window",function(b){return H(b.document)}]}function Je(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Ub(b, -a){if(J(b)){var c=b.replace(uf,"").trim();if(c){var d=a("Content-Type");(d=d&&0===d.indexOf(Sc))||(d=(d=c.match(vf))&&wf[d[0]].test(c));d&&(b=lc(c))}}return b}function Tc(b){var a=na(),c;J(b)?p(b.split("\n"),function(b){c=b.indexOf(":");var e=L(V(b.substr(0,c)));b=V(b.substr(c+1));e&&(a[e]=a[e]?a[e]+", "+b:b)}):F(b)&&p(b,function(b,c){var f=L(c),g=V(b);f&&(a[f]=a[f]?a[f]+", "+g:g)});return a}function Uc(b){var a;return function(c){a||(a=Tc(b));return c?(c=a[L(c)],void 0===c&&(c=null),c):a}}function Vc(b, -a,c,d){if(I(d))return d(b,a,c);p(d,function(d){b=d(b,a,c)});return b}function Me(){var b=this.defaults={transformResponse:[Ub],transformRequest:[function(a){return F(a)&&"[object File]"!==ta.call(a)&&"[object Blob]"!==ta.call(a)&&"[object FormData]"!==ta.call(a)?Xa(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:da(Vb),put:da(Vb),patch:da(Vb)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},a=!1;this.useApplyAsync=function(b){return A(b)?(a=!!b,this):a};var c=this.interceptors= -[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(d,e,f,g,h,l){function k(a){function c(a){var b=R({},a);b.data=a.data?Vc(a.data,a.headers,a.status,e.transformResponse):a.data;a=a.status;return 200<=a&&300>a?b:h.reject(b)}function d(a,b){var c,e={};p(a,function(a,d){I(a)?(c=a(b),null!=c&&(e[d]=c)):e[d]=a});return e}if(!ba.isObject(a))throw Q("$http")("badreq",a);var e=R({method:"get",transformRequest:b.transformRequest,transformResponse:b.transformResponse}, -a);e.headers=function(a){var c=b.headers,e=R({},a.headers),f,g,h,c=R({},c.common,c[L(a.method)]);a:for(f in c){g=L(f);for(h in e)if(L(h)===g)continue a;e[f]=c[f]}return d(e,da(a))}(a);e.method=mb(e.method);var f=[function(a){var d=a.headers,e=Vc(a.data,Uc(d),t,a.transformRequest);E(e)&&p(d,function(a,b){"content-type"===L(b)&&delete d[b]});E(a.withCredentials)&&!E(b.withCredentials)&&(a.withCredentials=b.withCredentials);return n(a,e).then(c,c)},t],g=h.when(e);for(p(u,function(a){(a.request||a.requestError)&& -f.unshift(a.request,a.requestError);(a.response||a.responseError)&&f.push(a.response,a.responseError)});f.length;){a=f.shift();var l=f.shift(),g=g.then(a,l)}g.success=function(a){g.then(function(b){a(b.data,b.status,b.headers,e)});return g};g.error=function(a){g.then(null,function(b){a(b.data,b.status,b.headers,e)});return g};return g}function n(c,f){function l(b,c,d,e){function f(){n(c,b,d,e)}M&&(200<=b&&300>b?M.put(r,[b,c,Tc(d),e]):M.remove(r));a?g.$applyAsync(f):(f(),g.$$phase||g.$apply())}function n(a, -b,d,e){b=Math.max(b,0);(200<=b&&300>b?x.resolve:x.reject)({data:a,status:b,headers:Uc(d),config:c,statusText:e})}function u(a){n(a.data,a.status,da(a.headers()),a.statusText)}function z(){var a=k.pendingRequests.indexOf(c);-1!==a&&k.pendingRequests.splice(a,1)}var x=h.defer(),G=x.promise,M,C,p=c.headers,r=m(c.url,c.params);k.pendingRequests.push(c);G.then(z,z);!c.cache&&!b.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(M=F(c.cache)?c.cache:F(b.cache)?b.cache:s);M&&(C=M.get(r),A(C)?C&& -I(C.then)?C.then(u,u):D(C)?n(C[1],C[0],da(C[2]),C[3]):n(C,200,{},"OK"):M.put(r,G));E(C)&&((C=Wc(c.url)?e.cookies()[c.xsrfCookieName||b.xsrfCookieName]:t)&&(p[c.xsrfHeaderName||b.xsrfHeaderName]=C),d(c.method,r,f,l,p,c.timeout,c.withCredentials,c.responseType));return G}function m(a,b){if(!b)return a;var c=[];Hd(b,function(a,b){null===a||E(a)||(D(a)||(a=[a]),p(a,function(a){F(a)&&(a=sa(a)?a.toISOString():Xa(a));c.push(Da(b)+"="+Da(a))}))});0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&")); -return a}var s=f("$http"),u=[];p(c,function(a){u.unshift(J(a)?l.get(a):l.invoke(a))});k.pendingRequests=[];(function(a){p(arguments,function(a){k[a]=function(b,c){return k(R(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){p(arguments,function(a){k[a]=function(b,c,d){return k(R(d||{},{method:a,url:b,data:c}))}})})("post","put","patch");k.defaults=b;return k}]}function xf(){return new O.XMLHttpRequest}function Ne(){this.$get=["$browser","$window","$document",function(b,a,c){return yf(b, -xf,b.defer,a.angular.callbacks,c[0])}]}function yf(b,a,c,d,e){function f(a,b,c){var f=e.createElement("script"),n=null;f.type="text/javascript";f.src=a;f.async=!0;n=function(a){f.removeEventListener("load",n,!1);f.removeEventListener("error",n,!1);e.body.removeChild(f);f=null;var g=-1,u="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),u=a.type,g="error"===a.type?404:200);c&&c(g,u)};f.addEventListener("load",n,!1);f.addEventListener("error",n,!1);e.body.appendChild(f);return n}return function(e, -h,l,k,n,m,s,u){function y(){q&&q();B&&B.abort()}function N(a,d,e,f,g){x!==t&&c.cancel(x);q=B=null;a(d,e,f,g);b.$$completeOutstandingRequest(w)}b.$$incOutstandingRequestCount();h=h||b.url();if("jsonp"==L(e)){var v="_"+(d.counter++).toString(36);d[v]=function(a){d[v].data=a;d[v].called=!0};var q=f(h.replace("JSON_CALLBACK","angular.callbacks."+v),v,function(a,b){N(k,a,d[v].data,"",b);d[v]=w})}else{var B=a();B.open(e,h,!0);p(n,function(a,b){A(a)&&B.setRequestHeader(b,a)});B.onload=function(){var a=B.statusText|| -"",b="response"in B?B.response:B.responseText,c=1223===B.status?204:B.status;0===c&&(c=b?200:"file"==za(h).protocol?404:0);N(k,c,b,B.getAllResponseHeaders(),a)};e=function(){N(k,-1,null,null,"")};B.onerror=e;B.onabort=e;s&&(B.withCredentials=!0);if(u)try{B.responseType=u}catch(z){if("json"!==u)throw z;}B.send(l||null)}if(0<m)var x=c(y,m);else m&&I(m.then)&&m.then(y)}}function Ke(){var b="{{",a="}}";this.startSymbol=function(a){return a?(b=a,this):b};this.endSymbol=function(b){return b?(a=b,this): -a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function f(a){return"\\\\\\"+a}function g(c){return c.replace(n,b).replace(m,a)}function h(f,h,m,n){function v(a){try{var b=a;a=m?e.getTrusted(m,b):e.valueOf(b);var c;if(n&&!A(a))c=a;else if(null==a)c="";else{switch(typeof a){case "string":break;case "number":a=""+a;break;default:a=Xa(a)}c=a}return c}catch(g){c=Wb("interr",f,g.toString()),d(c)}}n=!!n;for(var q,p,z=0,x=[],G=[],M=f.length,C=[],X=[];z<M;)if(-1!=(q=f.indexOf(b,z))&&-1!= -(p=f.indexOf(a,q+l)))z!==q&&C.push(g(f.substring(z,q))),z=f.substring(q+l,p),x.push(z),G.push(c(z,v)),z=p+k,X.push(C.length),C.push("");else{z!==M&&C.push(g(f.substring(z)));break}if(m&&1<C.length)throw Wb("noconcat",f);if(!h||x.length){var r=function(a){for(var b=0,c=x.length;b<c;b++){if(n&&E(a[b]))return;C[X[b]]=a[b]}return C.join("")};return R(function(a){var b=0,c=x.length,e=Array(c);try{for(;b<c;b++)e[b]=G[b](a);return r(e)}catch(g){a=Wb("interr",f,g.toString()),d(a)}},{exp:f,expressions:x,$$watchDelegate:function(a, -b,c){var d;return a.$watchGroup(G,function(c,e){var f=r(c);I(b)&&b.call(this,f,c!==e?d:f,a);d=f},c)}})}}var l=b.length,k=a.length,n=new RegExp(b.replace(/./g,f),"g"),m=new RegExp(a.replace(/./g,f),"g");h.startSymbol=function(){return b};h.endSymbol=function(){return a};return h}]}function Le(){this.$get=["$rootScope","$window","$q","$$q",function(b,a,c,d){function e(e,h,l,k){var n=a.setInterval,m=a.clearInterval,s=0,u=A(k)&&!k,y=(u?d:c).defer(),N=y.promise;l=A(l)?l:0;N.then(null,null,e);N.$$intervalId= -n(function(){y.notify(s++);0<l&&s>=l&&(y.resolve(s),m(N.$$intervalId),delete f[N.$$intervalId]);u||b.$apply()},h);f[N.$$intervalId]=y;return N}var f={};e.cancel=function(b){return b&&b.$$intervalId in f?(f[b.$$intervalId].reject("canceled"),a.clearInterval(b.$$intervalId),delete f[b.$$intervalId],!0):!1};return e}]}function Td(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3, -lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"\u00a4",posSuf:"",negPre:"(\u00a4",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a", -fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(b){return 1===b?"one":"other"}}}}function Xb(b){b=b.split("/");for(var a=b.length;a--;)b[a]=ib(b[a]);return b.join("/")}function Xc(b,a){var c=za(b);a.$$protocol=c.protocol;a.$$host=c.hostname;a.$$port=aa(c.port)||zf[c.protocol]||null}function Yc(b,a){var c="/"!==b.charAt(0);c&&(b="/"+b);var d=za(b);a.$$path=decodeURIComponent(c&&"/"===d.pathname.charAt(0)? -d.pathname.substring(1):d.pathname);a.$$search=nc(d.search);a.$$hash=decodeURIComponent(d.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function ya(b,a){if(0===a.indexOf(b))return a.substr(b.length)}function Ga(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function yb(b){return b.replace(/(#.+)|#$/,"$1")}function Yb(b){return b.substr(0,Ga(b).lastIndexOf("/")+1)}function Zb(b,a){this.$$html5=! |