diff options
Diffstat (limited to 'js/vendor/angular')
-rw-r--r-- | js/vendor/angular/.bower.json | 8 | ||||
-rw-r--r-- | js/vendor/angular/angular.js | 49 | ||||
-rw-r--r-- | js/vendor/angular/angular.min.js | 496 | ||||
-rw-r--r-- | js/vendor/angular/angular.min.js.gzip | bin | 52249 -> 46451 bytes | |||
-rw-r--r-- | js/vendor/angular/angular.min.js.map | 4 | ||||
-rw-r--r-- | js/vendor/angular/bower.json | 2 | ||||
-rw-r--r-- | js/vendor/angular/package.json | 2 |
7 files changed, 281 insertions, 280 deletions
diff --git a/js/vendor/angular/.bower.json b/js/vendor/angular/.bower.json index eb58ac9cf..de4082649 100644 --- a/js/vendor/angular/.bower.json +++ b/js/vendor/angular/.bower.json @@ -1,15 +1,15 @@ { "name": "angular", - "version": "1.3.19", + "version": "1.3.20", "main": "./angular.js", "ignore": [], "dependencies": {}, "homepage": "https://github.com/angular/bower-angular", - "_release": "1.3.19", + "_release": "1.3.20", "_resolution": { "type": "version", - "tag": "v1.3.19", - "commit": "c0244e99bef8819b17d4ee3037f8737b84b0d080" + "tag": "v1.3.20", + "commit": "0cd10f27471310fe07167b00f8a4242c6bba4df2" }, "_source": "git://github.com/angular/bower-angular.git", "_target": "~1.3.*", diff --git a/js/vendor/angular/angular.js b/js/vendor/angular/angular.js index 8204cf35f..2445ab55e 100644 --- a/js/vendor/angular/angular.js +++ b/js/vendor/angular/angular.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.3.19 + * @license AngularJS v1.3.20 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -54,7 +54,7 @@ function minErr(module, ErrorConstructor) { return match; }); - message = message + '\nhttp://errors.angularjs.org/1.3.19/' + + message = message + '\nhttp://errors.angularjs.org/1.3.20/' + (module ? module + '/' : '') + code; for (i = 2; i < arguments.length; i++) { message = message + (i == 2 ? '?' : '&') + 'p' + (i - 2) + '=' + @@ -2139,11 +2139,11 @@ function toDebugString(obj) { * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat". */ var version = { - full: '1.3.19', // all of these placeholder strings will be replaced by grunt's + full: '1.3.20', // all of these placeholder strings will be replaced by grunt's major: 1, // package task minor: 3, - dot: 19, - codeName: 'glutinous-shriek' + dot: 20, + codeName: 'shallow-translucence' }; @@ -6518,14 +6518,6 @@ function $CompileProvider($provide, $$sanitizeUriProvider) { return bindings; } - function assertValidDirectiveName(name) { - var letter = name.charAt(0); - if (!letter || letter !== lowercase(letter)) { - throw $compileMinErr('baddir', "Directive name '{0}' is invalid. The first character must be a lowercase letter", name); - } - return name; - } - /** * @ngdoc method * @name $compileProvider#directive @@ -6544,7 +6536,6 @@ function $CompileProvider($provide, $$sanitizeUriProvider) { this.directive = function registerDirective(name, directiveFactory) { assertNotHasOwnProperty(name, 'directive'); if (isString(name)) { - assertValidDirectiveName(name); assertArg(directiveFactory, 'directiveFactory'); if (!hasDirectives.hasOwnProperty(name)) { hasDirectives[name] = []; @@ -11763,20 +11754,30 @@ var $parseMinErr = minErr('$parse'); function ensureSafeMemberName(name, fullExpression) { + if (name === "__defineGetter__" || name === "__defineSetter__" + || name === "__lookupGetter__" || name === "__lookupSetter__" + || name === "__proto__") { + throw $parseMinErr('isecfld', + 'Attempting to access a disallowed field in Angular expressions! ' + + 'Expression: {0}', fullExpression); + } + return name; +} + +function getStringValue(name, fullExpression) { // From the JavaScript docs: // Property names must be strings. This means that non-string objects cannot be used // as keys in an object. Any non-string object, including a number, is typecasted // into a string via the toString method. // // So, to ensure that we are checking the same `name` that JavaScript would use, - // we cast it to a string, if possible - name = (isObject(name) && name.toString) ? name.toString() : name; - - if (name === "__defineGetter__" || name === "__defineSetter__" - || name === "__lookupGetter__" || name === "__lookupSetter__" - || name === "__proto__") { - throw $parseMinErr('isecfld', - 'Attempting to access a disallowed field in Angular expressions! ' + // we cast it to a string, if possible. + // Doing `name + ''` can cause a repl error if the result to `toString` is not a string, + // this is, this will handle objects that misbehave. + name = name + ''; + if (!isString(name)) { + throw $parseMinErr('iseccst', + 'Cannot convert object to primitive value! ' + 'Expression: {0}', fullExpression); } return name; @@ -12423,7 +12424,7 @@ Parser.prototype = { return extend(function $parseObjectIndex(self, locals) { var o = obj(self, locals), - i = indexFn(self, locals), + i = getStringValue(indexFn(self, locals), expression), v; ensureSafeMemberName(i, expression); @@ -12432,7 +12433,7 @@ Parser.prototype = { return v; }, { assign: function(self, value, locals) { - var key = ensureSafeMemberName(indexFn(self, locals), expression); + var key = ensureSafeMemberName(getStringValue(indexFn(self, locals), expression), expression); // prevent overwriting of Function.constructor which would break ensureSafeObject check var o = ensureSafeObject(obj(self, locals), expression); if (!o) obj.assign(self, o = {}, locals); diff --git a/js/vendor/angular/angular.min.js b/js/vendor/angular/angular.min.js index 1a1408042..8dcf6e0c6 100644 --- a/js/vendor/angular/angular.min.js +++ b/js/vendor/angular/angular.min.js @@ -1,253 +1,253 @@ /* - AngularJS v1.3.19 + AngularJS v1.3.20 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ -(function(S,W,u){'use strict';function y(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.19/"+(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 Sa(b){if(null==b||Ta(b))return!1;var a="length"in Object(b)&&b.length; -return b.nodeType===ma&&a?!0:K(b)||x(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d,e;if(b)if(B(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(x(b)||Sa(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!==q)b.forEach(a,c,b);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d,b);return b}function Id(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 oc(b){return function(a,c){b(c,a)}}function Jd(){return++sb}function pc(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function z(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]}}pc(b,a);return b}function aa(b){return parseInt(b,10)}function Pb(b,a){return z(Object.create(b),a)}function F(){}function na(b){return b}function ca(b){return function(){return b}} -function A(b){return"undefined"===typeof b}function D(b){return"undefined"!==typeof b}function J(b){return null!==b&&"object"===typeof b}function K(b){return"string"===typeof b}function U(b){return"number"===typeof b}function ea(b){return"[object Date]"===Aa.call(b)}function B(b){return"function"===typeof b}function Ua(b){return"[object RegExp]"===Aa.call(b)}function Ta(b){return b&&b.window===b}function Va(b){return b&&b.$evalAsync&&b.$watch}function Wa(b){return"boolean"===typeof b}function qc(b){return!(!b|| -!(b.nodeName||b.prop&&b.attr&&b.find))}function Kd(b){var a={};b=b.split(",");var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function ta(b){return P(b.nodeName||b[0]&&b[0].nodeName)}function Xa(b,a){var c=b.indexOf(a);0<=c&&b.splice(c,1);return a}function Ba(b,a,c,d){if(Ta(b)||Va(b))throw Ja("cpws");if(a){if(b===a)throw Ja("cpi");c=c||[];d=d||[];if(J(b)){var e=c.indexOf(b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(x(b))for(var f=a.length=0;f<b.length;f++)e=Ba(b[f],null,c,d),J(b[f])&&(c.push(b[f]), -d.push(e)),a.push(e);else{var g=a.$$hashKey;x(a)?a.length=0:q(a,function(b,c){delete a[c]});for(f in b)b.hasOwnProperty(f)&&(e=Ba(b[f],null,c,d),J(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e);pc(a,g)}}else if(a=b)x(b)?a=Ba(b,[],c,d):ea(b)?a=new Date(b.getTime()):Ua(b)?(a=new RegExp(b.source,b.toString().match(/[^\/]*$/)[0]),a.lastIndex=b.lastIndex):J(b)&&(e=Object.create(Object.getPrototypeOf(b)),a=Ba(b,e,c,d));return a}function oa(b,a){if(x(b)){a=a||[];for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}else if(J(b))for(c in a= -a||{},b)if("$"!==c.charAt(0)||"$"!==c.charAt(1))a[c]=b[c];return a||b}function fa(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(x(b)){if(!x(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!fa(b[d],a[d]))return!1;return!0}}else{if(ea(b))return ea(a)?fa(b.getTime(),a.getTime()):!1;if(Ua(b))return Ua(a)?b.toString()==a.toString():!1;if(Va(b)||Va(a)||Ta(b)||Ta(a)||x(a)||ea(a)||Ua(a))return!1;c={};for(d in b)if("$"!== -d.charAt(0)&&!B(b[d])){if(!fa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==u&&!B(a[d]))return!1;return!0}return!1}function Ya(b,a,c){return b.concat(Za.call(a,c))}function rc(b,a){var c=2<arguments.length?Za.call(arguments,2):[];return!B(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,Ya(c,arguments,0)):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function Ld(b,a){var c=a;"string"===typeof b&& -"$"===b.charAt(0)&&"$"===b.charAt(1)?c=u:Ta(a)?c="$WINDOW":a&&W===a?c="$DOCUMENT":Va(a)&&(c="$SCOPE");return c}function $a(b,a){if("undefined"===typeof b)return u;U(a)||(a=a?2:null);return JSON.stringify(b,Ld,a)}function sc(b){return K(b)?JSON.parse(b):b}function ua(b){b=G(b).clone();try{b.empty()}catch(a){}var c=G("<div>").append(b).html();try{return b[0].nodeType===ab?P(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+P(b)})}catch(d){return P(c)}}function tc(b){try{return decodeURIComponent(b)}catch(a){}} -function uc(b){var a={},c,d;q((b||"").split("&"),function(b){b&&(c=b.replace(/\+/g,"%20").split("="),d=tc(c[0]),D(d)&&(b=D(c[1])?tc(c[1]):!0,vc.call(a,d)?x(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Qb(b){var a=[];q(b,function(b,d){x(b)?q(b,function(b){a.push(Ca(d,!0)+(!0===b?"":"="+Ca(b,!0)))}):a.push(Ca(d,!0)+(!0===b?"":"="+Ca(b,!0)))});return a.length?a.join("&"):""}function tb(b){return Ca(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Ca(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 Md(b,a){var c,d,e=ub.length;b=G(b);for(d=0;d<e;++d)if(c=ub[d]+a,K(c=b.attr(c)))return c;return null}function Nd(b,a){var c,d,e={};q(ub,function(a){a+="app";!c&&b.hasAttribute&&b.hasAttribute(a)&&(c=b,d=b.getAttribute(a))});q(ub,function(a){a+="app";var e;!c&&(e=b.querySelector("["+a.replace(":","\\:")+"]"))&&(c=e,d=e.getAttribute(a))});c&&(e.strictDi=null!==Md(c,"strict-di"), -a(c,d?[d]:[],e))}function wc(b,a,c){J(c)||(c={});c=z({strictDi:!1},c);var d=function(){b=G(b);if(b.injector()){var d=b[0]===W?"document":ua(b);throw Ja("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=bb(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!/;S&&e.test(S.name)&&(c.debugInfoEnabled=!0,S.name=S.name.replace(e,""));if(S&&!f.test(S.name))return d();S.name=S.name.replace(f,"");ba.resumeBootstrap=function(b){q(b,function(b){a.push(b)});return d()};B(ba.resumeDeferredBootstrap)&&ba.resumeDeferredBootstrap()}function Od(){S.name="NG_ENABLE_DEBUG_INFO!"+S.name;S.location.reload()}function Pd(b){b=ba.element(b).injector();if(!b)throw Ja("test");return b.get("$$testability")} -function xc(b,a){a=a||"_";return b.replace(Qd,function(b,d){return(d?a:"")+b.toLowerCase()})}function Rd(){var b;yc||((pa=S.jQuery)&&pa.fn.on?(G=pa,z(pa.fn,{scope:Ka.scope,isolateScope:Ka.isolateScope,controller:Ka.controller,injector:Ka.injector,inheritedData:Ka.inheritedData}),b=pa.cleanData,pa.cleanData=function(a){var c;if(Rb)Rb=!1;else for(var d=0,e;null!=(e=a[d]);d++)(c=pa._data(e,"events"))&&c.$destroy&&pa(e).triggerHandler("$destroy");b(a)}):G=R,ba.element=G,yc=!0)}function Sb(b,a,c){if(!b)throw Ja("areq", -a||"?",c||"required");return b}function La(b,a,c){c&&x(b)&&(b=b[b.length-1]);Sb(B(b),a,"not a function, got "+(b&&"object"===typeof b?b.constructor.name||"Object":typeof b));return b}function Ma(b,a){if("hasOwnProperty"===b)throw Ja("badname",a);}function zc(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&&B(b)?rc(e,b):b}function vb(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 G(c)}function ga(){return Object.create(null)} -function Sd(b){function a(a,b,c){return a[b]||(a[b]=c())}var c=y("$injector"),d=y("ng");b=a(b,"angular",Object);b.$$minErr=b.$$minErr||y;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 s}}if(!g)throw c("nomod",f);var b=[],d=[],e=[],n=a("$injector","invoke","push",d),s={_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:n,run:function(a){e.push(a);return this}};h&&n(h);return s})}})}function Td(b){z(b,{bootstrap:wc,copy:Ba,extend:z,equals:fa, -element:G,forEach:q,injector:bb,noop:F,bind:rc,toJson:$a,fromJson:sc,identity:na,isUndefined:A,isDefined:D,isString:K,isFunction:B,isObject:J,isNumber:U,isElement:qc,isArray:x,version:Ud,isDate:ea,lowercase:P,uppercase:wb,callbacks:{counter:0},getTestability:Pd,$$minErr:y,$$csp:cb,reloadWithDebugInfo:Od});db=Sd(S);try{db("ngLocale")}catch(a){db("ngLocale",[]).provider("$locale",Vd)}db("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:Wd});a.provider("$compile",Ac).directive({a:Xd, -input:Bc,textarea:Bc,form:Yd,script:Zd,select:$d,style:ae,option:be,ngBind:ce,ngBindHtml:de,ngBindTemplate:ee,ngClass:fe,ngClassEven:ge,ngClassOdd:he,ngCloak:ie,ngController:je,ngForm:ke,ngHide:le,ngIf:me,ngInclude:ne,ngInit:oe,ngNonBindable:pe,ngPluralize:qe,ngRepeat:re,ngShow:se,ngStyle:te,ngSwitch:ue,ngSwitchWhen:ve,ngSwitchDefault:we,ngOptions:xe,ngTransclude:ye,ngModel:ze,ngList:Ae,ngChange:Be,pattern:Cc,ngPattern:Cc,required:Dc,ngRequired:Dc,minlength:Ec,ngMinlength:Ec,maxlength:Fc,ngMaxlength:Fc, -ngValue:Ce,ngModelOptions:De}).directive({ngInclude:Ee}).directive(xb).directive(Gc);a.provider({$anchorScroll:Fe,$animate:Ge,$browser:He,$cacheFactory:Ie,$controller:Je,$document:Ke,$exceptionHandler:Le,$filter:Hc,$interpolate:Me,$interval:Ne,$http:Oe,$httpBackend:Pe,$location:Qe,$log:Re,$parse:Se,$rootScope:Te,$q:Ue,$$q:Ve,$sce:We,$sceDelegate:Xe,$sniffer:Ye,$templateCache:Ze,$templateRequest:$e,$$testability:af,$timeout:bf,$window:cf,$$rAF:df,$$asyncCallback:ef,$$jqLite:ff})}])}function eb(b){return b.replace(gf, -function(a,b,d,e){return e?d.toUpperCase():d}).replace(hf,"Moz$1")}function Ic(b){b=b.nodeType;return b===ma||!b||9===b}function Jc(b,a){var c,d,e=a.createDocumentFragment(),f=[];if(Tb.test(b)){c=c||e.appendChild(a.createElement("div"));d=(jf.exec(b)||["",""])[1].toLowerCase();d=ha[d]||ha._default;c.innerHTML=d[1]+b.replace(kf,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=Ya(f,c.childNodes);c=e.firstChild;c.textContent=""}else f.push(a.createTextNode(b));e.textContent="";e.innerHTML="";q(f,function(a){e.appendChild(a)}); -return e}function R(b){if(b instanceof R)return b;var a;K(b)&&(b=T(b),a=!0);if(!(this instanceof R)){if(a&&"<"!=b.charAt(0))throw Ub("nosel");return new R(b)}if(a){a=W;var c;b=(c=lf.exec(b))?[a.createElement(c[1])]:(c=Jc(b,a))?c.childNodes:[]}Kc(this,b)}function Vb(b){return b.cloneNode(!0)}function yb(b,a){a||zb(b);if(b.querySelectorAll)for(var c=b.querySelectorAll("*"),d=0,e=c.length;d<e;d++)zb(c[d])}function Lc(b,a,c,d){if(D(d))throw Ub("offargs");var e=(d=Ab(b))&&d.events,f=d&&d.handle;if(f)if(a)q(a.split(" "), -function(a){if(D(c)){var d=e[a];Xa(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 zb(b,a){var c=b.ng339,d=c&&Bb[c];d&&(a?delete d.data[a]:(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),Lc(b)),delete Bb[c],b.ng339=u))}function Ab(b,a){var c=b.ng339,c=c&&Bb[c];a&&!c&&(b.ng339=c=++mf,c=Bb[c]={events:{},data:{},handle:u});return c}function Wb(b,a,c){if(Ic(b)){var d=D(c),e=!d&&a&&!J(a), -f=!a;b=(b=Ab(b,!e))&&b.data;if(d)b[a]=c;else{if(f)return b;if(e)return b&&b[a];z(b,a)}}}function Cb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function Db(b,a){a&&b.setAttribute&&q(a.split(" "),function(a){b.setAttribute("class",T((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+T(a)+" "," ")))})}function Eb(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "); -q(a.split(" "),function(a){a=T(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" ")});b.setAttribute("class",T(c))}}function Kc(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 Mc(b,a){return Fb(b,"$"+(a||"ngController")+"Controller")}function Fb(b,a,c){9==b.nodeType&&(b=b.documentElement);for(a=x(a)?a:[a];b;){for(var d=0,e=a.length;d<e;d++)if((c=G.data(b,a[d]))!==u)return c;b=b.parentNode|| -11===b.nodeType&&b.host}}function Nc(b){for(yb(b,!0);b.firstChild;)b.removeChild(b.firstChild)}function Oc(b,a){a||yb(b);var c=b.parentNode;c&&c.removeChild(b)}function nf(b,a){a=a||S;if("complete"===a.document.readyState)a.setTimeout(b);else G(a).on("load",b)}function Pc(b,a){var c=Gb[a.toLowerCase()];return c&&Qc[ta(b)]&&c}function of(b,a){var c=b.nodeName;return("INPUT"===c||"TEXTAREA"===c)&&Rc[a]}function pf(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(A(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=oa(f));for(var l=0;l<g;l++)c.isImmediatePropagationStopped()||f[l].call(b,c)}};c.elem=b;return c}function ff(){this.$get=function(){return z(R,{hasClass:function(b,a){b.attr&&(b=b[0]); -return Cb(b,a)},addClass:function(b,a){b.attr&&(b=b[0]);return Eb(b,a)},removeClass:function(b,a){b.attr&&(b=b[0]);return Db(b,a)}})}}function Na(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||Jd)():c+":"+b}function fb(b,a){if(a){var c=0;this.nextUid=function(){return++c}}q(b,this.put,this)}function qf(b){return(b=b.toString().replace(Sc,"").match(Tc))?"function("+(b[1]||"").replace(/[\s\r\n]+/, -" ")+")":"fn"}function bb(b,a){function c(a){return function(b,c){if(J(b))q(b,oc(a));else return a(b,c)}}function d(a,b){Ma(a,"service");if(B(b)||x(b))b=n.instantiate(b);if(!b.$get)throw Da("pget",a);return r[a+"Provider"]=b}function e(a,b){return function(){var c=t.invoke(b,this);if(A(c))throw Da("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;q(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=n.get(e[0]);f[e[1]].apply(f, -e[2])}}if(!m.get(a)){m.put(a,!0);try{K(a)?(c=db(a),b=b.concat(g(c.requires)).concat(c._runBlocks),d(c._invokeQueue),d(c._configBlocks)):B(a)?b.push(n.invoke(a)):x(a)?b.push(n.invoke(a)):La(a,"module")}catch(e){throw x(a)&&(a=a[a.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Da("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 Da("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,g){"string"===typeof f&&(g=f,f=null);var l=[],k=bb.$$annotate(b,a,g),h,n,m;n=0;for(h=k.length;n<h;n++){m=k[n];if("string"!==typeof m)throw Da("itkn",m);l.push(f&&f.hasOwnProperty(m)?f[m]:d(m,g))}x(b)&&(b=b[h]);return b.apply(c,l)}return{invoke:e,instantiate:function(a,b,c){var d=Object.create((x(a)?a[a.length-1]:a).prototype||null);a=e(a,d,b,c);return J(a)||B(a)?a:d},get:d,annotate:bb.$$annotate,has:function(a){return r.hasOwnProperty(a+ -"Provider")||b.hasOwnProperty(a)}}}a=!0===a;var l={},k=[],m=new fb([],!0),r={$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,ca(b),!1)}),constant:c(function(a,b){Ma(a,"constant");r[a]=b;s[a]=b}),decorator:function(a,b){var c=n.get(a+"Provider"),d=c.$get;c.$get=function(){var a=t.invoke(d,c);return t.invoke(b,null,{$delegate:a})}}}},n=r.$injector=h(r,function(a,b){ba.isString(b)&&k.push(b); -throw Da("unpr",k.join(" <- "));}),s={},t=s.$injector=h(s,function(a,b){var c=n.get(a+"Provider",b);return t.invoke(c.$get,c,u,a)});q(g(b),function(a){t.invoke(a||F)});return t}function Fe(){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"===ta(a))return b=a,!0});return b}function f(b){if(b){b.scrollIntoView();var c;c=g.yOffset;B(c)?c=c():qc(c)?(c=c[0],c="fixed"!== -a.getComputedStyle(c).position?0:c.getBoundingClientRect().bottom):U(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||nf(function(){d.$evalAsync(g)})});return g}]}function ef(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}: -function(b){return a(b,0,!1)}}]}function rf(b,a,c,d){function e(a){try{a.apply(null,Za.call(arguments,1))}finally{if(p--,0===p)for(;H.length;)try{H.pop()()}catch(b){c.error(b)}}}function f(a,b){(function Xb(){q(E,function(a){a()});Q=b(Xb,a)})()}function g(){h();l()}function h(){a:{try{L=s.state;break a}catch(a){}L=void 0}L=A(L)?null:L;fa(L,O)&&(L=O);O=L}function l(){if(I!==m.url()||C!==L)I=m.url(),C=L,q($,function(a){a(m.url(),L)})}function k(a){try{return decodeURIComponent(a)}catch(b){return a}} -var m=this,r=a[0],n=b.location,s=b.history,t=b.setTimeout,w=b.clearTimeout,v={};m.isMock=!1;var p=0,H=[];m.$$completeOutstandingRequest=e;m.$$incOutstandingRequestCount=function(){p++};m.notifyWhenNoOutstandingRequests=function(a){q(E,function(a){a()});0===p?a():H.push(a)};var E=[],Q;m.addPollFn=function(a){A(Q)&&f(100,t);E.push(a);return a};var L,C,I=n.href,N=a.find("base"),Y=null;h();C=L;m.url=function(a,c,e){A(e)&&(e=null);n!==b.location&&(n=b.location);s!==b.history&&(s=b.history);if(a){var f= -C===e;if(I===a&&(!d.history||f))return m;var g=I&&Ea(I)===Ea(a);I=a;C=e;if(!d.history||g&&f){if(!g||Y)Y=a;c?n.replace(a):g?(c=n,e=a.indexOf("#"),a=-1===e?"":a.substr(e),c.hash=a):n.href=a}else s[c?"replaceState":"pushState"](e,"",a),h(),C=L;return m}return Y||n.href.replace(/%27/g,"'")};m.state=function(){return L};var $=[],V=!1,O=null;m.onUrlChange=function(a){if(!V){if(d.history)G(b).on("popstate",g);G(b).on("hashchange",g);V=!0}$.push(a);return a};m.$$checkUrlChange=l;m.baseHref=function(){var a= -N.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var Fa={},D="",hb=m.baseHref();m.cookies=function(a,b){var d,e,f,g;if(a)b===u?r.cookie=encodeURIComponent(a)+"=;path="+hb+";expires=Thu, 01 Jan 1970 00:00:00 GMT":K(b)&&(d=(r.cookie=encodeURIComponent(a)+"="+encodeURIComponent(b)+";path="+hb).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(r.cookie!==D)for(D=r.cookie,d=D.split("; "),Fa={},f=0;f<d.length;f++)e= -d[f],g=e.indexOf("="),0<g&&(a=k(e.substring(0,g)),Fa[a]===u&&(Fa[a]=k(e.substring(g+1))));return Fa}};m.defer=function(a,b){var c;p++;c=t(function(){delete v[c];e(a)},b||0);v[c]=!0;return c};m.defer.cancel=function(a){return v[a]?(delete v[a],w(a),e(F),!0):!1}}function He(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new rf(b,d,a,c)}]}function Ie(){this.$get=function(){function b(b,d){function e(a){a!=r&&(n?n==a&&(n=a.n):n=a,f(a.n,a.p),f(a,r),r=a,r.n=null)}function f(a, -b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw y("$cacheFactory")("iid",b);var g=0,h=z({},d,{id:b}),l={},k=d&&d.capacity||Number.MAX_VALUE,m={},r=null,n=null;return a[b]={put:function(a,b){if(k<Number.MAX_VALUE){var c=m[a]||(m[a]={key:a});e(c)}if(!A(b))return a in l||g++,l[a]=b,g>k&&this.remove(n.key),b},get:function(a){if(k<Number.MAX_VALUE){var b=m[a];if(!b)return;e(b)}return l[a]},remove:function(a){if(k<Number.MAX_VALUE){var b=m[a];if(!b)return;b==r&&(r=b.p);b==n&&(n=b.n);f(b.n,b.p);delete m[a]}delete l[a]; -g--},removeAll:function(){l={};g=0;m={};r=n=null},destroy:function(){m=h=l=null;delete a[b]},info:function(){return z({},h,{size:g})}}}var a={};b.info=function(){var b={};q(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function Ze(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Ac(b,a){function c(a,b){var c=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,d={};q(a,function(a,e){var f=a.match(c);if(!f)throw da("iscp",b,e,a);d[e]={mode:f[1][0],collection:"*"=== -f[2],optional:"?"===f[3],attrName:f[4]||e}});return d}function d(a){var b=a.charAt(0);if(!b||b!==P(b))throw da("baddir",a);return a}var e={},f=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,g=/(([\w\-]+)(?:\:([^;]+))?;?)/,h=Kd("ngSrc,ngSrcset,src,srcset"),l=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/;this.directive=function n(a,f){Ma(a,"directive");K(a)?(d(a),Sb(f,"directiveFactory"),e.hasOwnProperty(a)||(e[a]=[],b.factory(a+"Directive",["$injector","$exceptionHandler",function(b,d){var f=[]; -q(e[a],function(e,g){try{var h=b.invoke(e);B(h)?h={compile:ca(h)}:!h.compile&&h.link&&(h.compile=ca(h.link));h.priority=h.priority||0;h.index=g;h.name=h.name||a;h.require=h.require||h.controller&&h.name;h.restrict=h.restrict||"EA";J(h.scope)&&(h.$$isolateBindings=c(h.scope,h.name));f.push(h)}catch(l){d(l)}});return f}])),e[a].push(f)):q(a,oc(n));return this};this.aHrefSanitizationWhitelist=function(b){return D(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist= -function(b){return D(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};var m=!0;this.debugInfoEnabled=function(a){return D(a)?(m=a,this):m};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(a,b,c,d,v,p,H,E,Q,L,C){function I(a,b){try{a.addClass(b)}catch(c){}}function N(a,b,c,d,e){a instanceof G||(a=G(a));q(a,function(b,c){b.nodeType==ab&&b.nodeValue.match(/\S+/)&& -(a[c]=G(b).wrap("<span></span>").parent()[0])});var f=Y(a,b,a,c,d,e);N.$$addScopeClass(a);var g=null;return function(b,c,d){Sb(b,"scope");d=d||{};var e=d.parentBoundTranscludeFn,h=d.transcludeControllers;d=d.futureParentElement;e&&e.$$boundTransclude&&(e=e.$$boundTransclude);g||(g=(d=d&&d[0])?"foreignobject"!==ta(d)&&d.toString().match(/SVG/)?"svg":"html":"html");d="html"!==g?G(S(g,G("<div>").append(a).html())):c?Ka.clone.call(a):a;if(h)for(var l in h)d.data("$"+l+"Controller",h[l].instance);N.$$addScopeInfo(d, -b);c&&c(d,b);f&&f(b,d,d,e);return d}}function Y(a,b,c,d,e,f){function g(a,c,d,e){var f,l,k,n,m,t,s;if(p)for(s=Array(c.length),n=0;n<h.length;n+=3)f=h[n],s[f]=c[f];else s=c;n=0;for(m=h.length;n<m;)l=s[h[n++]],c=h[n++],f=h[n++],c?(c.scope?(k=a.$new(),N.$$addScopeInfo(G(l),k)):k=a,t=c.transcludeOnThisElement?$(a,c.transclude,e,c.elementTranscludeOnThisElement):!c.templateOnThisElement&&e?e:!e&&b?$(a,b):null,c(f,k,l,d,t)):f&&f(a,l.childNodes,u,e)}for(var h=[],l,k,n,m,p,t=0;t<a.length;t++){l=new $b;k= -V(a[t],[],l,0===t?d:u,e);(f=k.length?D(k,a[t],l,b,c,null,[],[],f):null)&&f.scope&&N.$$addScopeClass(l.$$element);l=f&&f.terminal||!(n=a[t].childNodes)||!n.length?null:Y(n,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b);if(f||l)h.push(t,f,l),m=!0,p=p||f;f=null}return m?g:null}function $(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 V(a,b,c,d,e){var h= -c.$attr,l;switch(a.nodeType){case ma:A(b,wa(ta(a)),"E",d,e);for(var k,n,m,p=a.attributes,t=0,s=p&&p.length;t<s;t++){var L=!1,Q=!1;k=p[t];l=k.name;n=T(k.value);k=wa(l);if(m=ac.test(k))l=l.replace(Vc,"").substr(8).replace(/_(.)/g,function(a,b){return b.toUpperCase()});var w=k.replace(/(Start|End)$/,"");y(w)&&k===w+"Start"&&(L=l,Q=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6));k=wa(l.toLowerCase());h[k]=l;if(m||!c.hasOwnProperty(k))c[k]=n,Pc(a,k)&&(c[k]=!0);R(a,b,n,k,m);A(b,k,"A",d,e,L,Q)}a= -a.className;J(a)&&(a=a.animVal);if(K(a)&&""!==a)for(;l=g.exec(a);)k=wa(l[2]),A(b,k,"C",d,e)&&(c[k]=T(l[3])),a=a.substr(l.index+l[0].length);break;case ab:ia(b,a.nodeValue);break;case 8:try{if(l=f.exec(a.nodeValue))k=wa(l[1]),A(b,k,"M",d,e)&&(c[k]=T(l[2]))}catch(v){}}b.sort(xa);return b}function O(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw da("uterdir",b,c);a.nodeType==ma&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a); -return G(d)}function Fa(a,b,c){return function(d,e,f,g,h){e=O(e[0],b,c);return a(d,e,f,g,h)}}function D(a,d,e,f,g,h,k,n,m){function L(a,b,c,d){if(a){c&&(a=Fa(a,c,d));a.require=M.require;a.directiveName=ia;if(E===M||M.$$isolateScope)a=X(a,{isolateScope:!0});k.push(a)}if(b){c&&(b=Fa(b,c,d));b.require=M.require;b.directiveName=ia;if(E===M||M.$$isolateScope)b=X(b,{isolateScope:!0});n.push(b)}}function Q(a,b,c,d){var e,f="data",g=!1,h=c,k;if(K(b)){k=b.match(l);b=b.substring(k[0].length);k[3]&&(k[1]?k[3]= -null:k[1]=k[3]);"^"===k[1]?f="inheritedData":"^^"===k[1]&&(f="inheritedData",h=c.parent());"?"===k[2]&&(g=!0);e=null;d&&"data"===f&&(e=d[b])&&(e=e.instance);e=e||h[f]("$"+b+"Controller");if(!e&&!g)throw da("ctreq",b,a);return e||null}x(b)&&(e=[],q(b,function(b){e.push(Q(a,b,c,d))}));return e}function w(a,c,f,g,h){function l(a,b,c){var d;Va(a)||(c=b,b=a,a=u);F&&(d=H);c||(c=F?O.parent():O);return h(a,b,d,c,Zb)}var m,t,L,C,H,ib,O,V;d===f?(V=e,O=e.$$element):(O=G(f),V=new $b(O,e));E&&(C=c.$new(!0));h&& -(ib=l,ib.$$boundTransclude=h);I&&($={},H={},q(I,function(a){var b={$scope:a===E||a.$$isolateScope?C:c,$element:O,$attrs:V,$transclude:ib};L=a.controller;"@"==L&&(L=V[a.name]);b=p(L,b,!0,a.controllerAs);H[a.name]=b;F||O.data("$"+a.name+"Controller",b.instance);$[a.name]=b}));if(E){N.$$addScopeInfo(O,C,!0,!(Y&&(Y===E||Y===E.$$originalDirective)));N.$$addScopeClass(O,!0);g=$&&$[E.name];var va=C;g&&g.identifier&&!0===E.bindToController&&(va=g.instance);q(C.$$isolateBindings=E.$$isolateBindings,function(a, -d){var e=a.attrName,f=a.optional,g,h,l,k;switch(a.mode){case "@":V.$observe(e,function(a){va[d]=a});V.$$observers[e].$$scope=c;V[e]&&(va[d]=b(V[e])(c));break;case "=":if(f&&!V[e])break;h=v(V[e]);k=h.literal?fa:function(a,b){return a===b||a!==a&&b!==b};l=h.assign||function(){g=va[d]=h(c);throw da("nonassign",V[e],E.name);};g=va[d]=h(c);f=function(a){k(a,va[d])||(k(a,g)?l(c,a=va[d]):va[d]=a);return g=a};f.$stateful=!0;f=a.collection?c.$watchCollection(V[e],f):c.$watch(v(V[e],f),null,h.literal);C.$on("$destroy", -f);break;case "&":h=v(V[e]),va[d]=function(a){return h(c,a)}}})}$&&(q($,function(a){a()}),$=null);g=0;for(m=k.length;g<m;g++)t=k[g],Wc(t,t.isolateScope?C:c,O,V,t.require&&Q(t.directiveName,t.require,O,H),ib);var Zb=c;E&&(E.template||null===E.templateUrl)&&(Zb=C);a&&a(Zb,f.childNodes,u,h);for(g=n.length-1;0<=g;g--)t=n[g],Wc(t,t.isolateScope?C:c,O,V,t.require&&Q(t.directiveName,t.require,O,H),ib)}m=m||{};for(var C=-Number.MAX_VALUE,H,I=m.controllerDirectives,$,E=m.newIsolateScopeDirective,Y=m.templateDirective, -Ga=m.nonTlbTranscludeDirective,A=!1,Yb=!1,F=m.hasElementTranscludeDirective,z=e.$$element=G(d),M,ia,y,gb=f,xa,qa=0,P=a.length;qa<P;qa++){M=a[qa];var R=M.$$start,jb=M.$$end;R&&(z=O(d,R,jb));y=u;if(C>M.priority)break;if(y=M.scope)M.templateUrl||(J(y)?(Oa("new/isolated scope",E||H,M,z),E=M):Oa("new/isolated scope",E,M,z)),H=H||M;ia=M.name;!M.templateUrl&&M.controller&&(y=M.controller,I=I||{},Oa("'"+ia+"' controller",I[ia],M,z),I[ia]=M);if(y=M.transclude)A=!0,M.$$tlb||(Oa("transclusion",Ga,M,z),Ga=M), -"element"==y?(F=!0,C=M.priority,y=z,z=e.$$element=G(W.createComment(" "+ia+": "+e[ia]+" ")),d=z[0],U(g,Za.call(y,0),d),gb=N(y,f,C,h&&h.name,{nonTlbTranscludeDirective:Ga})):(y=G(Vb(d)).contents(),z.empty(),gb=N(y,f));if(M.template)if(Yb=!0,Oa("template",Y,M,z),Y=M,y=B(M.template)?M.template(z,e):M.template,y=Xc(y),M.replace){h=M;y=Tb.test(y)?Yc(S(M.templateNamespace,T(y))):[];d=y[0];if(1!=y.length||d.nodeType!==ma)throw da("tplrt",ia,"");U(g,z,d);P={$attr:{}};y=V(d,[],P);var sf=a.splice(qa+1,a.length- -(qa+1));E&&hb(y);a=a.concat(y).concat(sf);Uc(e,P);P=a.length}else z.html(y);if(M.templateUrl)Yb=!0,Oa("template",Y,M,z),Y=M,M.replace&&(h=M),w=Xb(a.splice(qa,a.length-qa),z,e,g,A&&gb,k,n,{controllerDirectives:I,newIsolateScopeDirective:E,templateDirective:Y,nonTlbTranscludeDirective:Ga}),P=a.length;else if(M.compile)try{xa=M.compile(z,e,gb),B(xa)?L(null,xa,R,jb):xa&&L(xa.pre,xa.post,R,jb)}catch(ac){c(ac,ua(z))}M.terminal&&(w.terminal=!0,C=Math.max(C,M.priority))}w.scope=H&&!0===H.scope;w.transcludeOnThisElement= -A;w.elementTranscludeOnThisElement=F;w.templateOnThisElement=Yb;w.transclude=gb;m.hasElementTranscludeDirective=F;return w}function hb(a){for(var b=0,c=a.length;b<c;b++)a[b]=Pb(a[b],{$$isolateScope:!0})}function A(b,d,f,g,h,l,k){if(d===h)return null;h=null;if(e.hasOwnProperty(d)){var m;d=a.get(d+"Directive");for(var p=0,L=d.length;p<L;p++)try{m=d[p],(g===u||g>m.priority)&&-1!=m.restrict.indexOf(f)&&(l&&(m=Pb(m,{$$start:l,$$end:k})),b.push(m),h=m)}catch(s){c(s)}}return h}function y(b){if(e.hasOwnProperty(b))for(var c= -a.get(b+"Directive"),d=0,f=c.length;d<f;d++)if(b=c[d],b.multiElement)return!0;return!1}function Uc(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;q(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});q(b,function(b,f){"class"==f?(I(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 Xb(a,b,c,e,f,g, -h,l){var k=[],n,m,p=b[0],t=a.shift(),L=Pb(t,{templateUrl:null,transclude:null,replace:null,$$originalDirective:t}),s=B(t.templateUrl)?t.templateUrl(b,c):t.templateUrl,Q=t.templateNamespace;b.empty();d(s).then(function(d){var w,C;d=Xc(d);if(t.replace){d=Tb.test(d)?Yc(S(Q,T(d))):[];w=d[0];if(1!=d.length||w.nodeType!==ma)throw da("tplrt",t.name,s);d={$attr:{}};U(e,b,w);var v=V(w,[],d);J(t.scope)&&hb(v);a=v.concat(a);Uc(c,d)}else w=p,b.html(d);a.unshift(L);n=D(a,w,c,f,b,t,g,h,l);q(e,function(a,c){a== -w&&(e[c]=b[0])});for(m=Y(b[0].childNodes,f);k.length;){d=k.shift();C=k.shift();var H=k.shift(),N=k.shift(),v=b[0];if(!d.$$destroyed){if(C!==p){var E=C.className;l.hasElementTranscludeDirective&&t.replace||(v=Vb(w));U(H,G(C),v);I(G(v),E)}C=n.transcludeOnThisElement?$(d,n.transclude,N):N;n(m,d,v,e,C)}}k=null});return function(a,b,c,d,e){a=e;b.$$destroyed||(k?k.push(b,c,d,a):(n.transcludeOnThisElement&&(a=$(b,n.transclude,e)),n(m,b,c,d,a)))}}function xa(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 Oa(a,b,c,d){if(b)throw da("multidir",b.name,c.name,a,ua(d));}function ia(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:function(a){a=a.parent();var b=!!a.length;b&&N.$$addBindingClass(a);return function(a,c){var e=c.parent();b||N.$$addBindingClass(e);N.$$addBindingInfo(e,d.expressions);a.$watch(d,function(a){c[0].nodeValue=a})}}})}function S(a,b){a=P(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 jb(a,b){if("srcdoc"==b)return Q.HTML;var c=ta(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return Q.RESOURCE_URL}function R(a,c,d,e,f){var g=jb(a,e);f=h[e]||f;var l=b(d,!0,g,f);if(l){if("multiple"===e&&"select"===ta(a))throw da("selmulti",ua(a));c.push({priority:100,compile:function(){return{pre:function(a,c,h){c=h.$$observers||(h.$$observers={});if(k.test(e))throw da("nodomevents"); -var n=h[e];n!==d&&(l=n&&b(n,!0,g,f),d=n);l&&(h[e]=l(a),(c[e]||(c[e]=[])).$$inter=!0,(h.$$observers&&h.$$observers[e].$$scope||a).$watch(l,function(a,b){"class"===e&&a!=b?h.$updateClass(a,b):h.$set(e,a)}))}}}})}}function U(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); -G(c).data(G(d).data());pa?(Rb=!0,pa.cleanData([d])):delete G.cache[d[G.expando]];d=1;for(e=b.length;d<e;d++)f=b[d],G(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}function X(a,b){return z(function(){return a.apply(null,arguments)},a,b)}function Wc(a,b,d,e,f,g){try{a(b,d,e,f,g)}catch(h){c(h,ua(d))}}var $b=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};$b.prototype={$normalize:wa,$addClass:function(a){a&& -0<a.length&&L.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&L.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Zc(a,b);c&&c.length&&L.addClass(this.$$element,c);(c=Zc(b,a))&&c.length&&L.removeClass(this.$$element,c)},$set:function(a,b,d,e){var f=this.$$element[0],g=Pc(f,a),h=of(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=xc(a,"-"));g=ta(this.$$element);if("a"===g&&"href"===a||"img"=== -g&&"src"===a)this[a]=b=C(b,"src"===a);else if("img"===g&&"srcset"===a){for(var g="",h=T(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 n=2*k,g=g+C(T(h[n]),!0),g=g+(" "+T(h[n+1]));h=T(h[2*k]).split(/\s/);g+=C(T(h[0]),!0);2===h.length&&(g+=" "+T(h[1]));this[a]=b=g}!1!==d&&(null===b||b===u?this.$$element.removeAttr(e):this.$$element.attr(e,b));(a=this.$$observers)&&q(a[f],function(a){try{a(b)}catch(d){c(d)}})},$observe:function(a, -b){var c=this,d=c.$$observers||(c.$$observers=ga()),e=d[a]||(d[a]=[]);e.push(b);H.$evalAsync(function(){!e.$$inter&&c.hasOwnProperty(a)&&b(c[a])});return function(){Xa(e,b)}}};var Ga=b.startSymbol(),qa=b.endSymbol(),Xc="{{"==Ga||"}}"==qa?na:function(a){return a.replace(/\{\{/g,Ga).replace(/}}/g,qa)},ac=/^ngAttr[A-Z]/;N.$$addBindingInfo=m?function(a,b){var c=a.data("$binding")||[];x(b)?c=c.concat(b):c.push(b);a.data("$binding",c)}:F;N.$$addBindingClass=m?function(a){I(a,"ng-binding")}:F;N.$$addScopeInfo= -m?function(a,b,c,d){a.data(c?d?"$isolateScopeNoTemplate":"$isolateScope":"$scope",b)}:F;N.$$addScopeClass=m?function(a,b){I(a,b?"ng-isolate-scope":"ng-scope")}:F;return N}]}function wa(b){return eb(b.replace(Vc,""))}function Zc(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 Yc(b){b=G(b);var a=b.length;if(1>=a)return b;for(;a--;)8===b[a].nodeType&&tf.call(b,a,1);return b}function Je(){var b= -{},a=!1,c=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,c){Ma(a,"controller");J(a)?z(b,a):b[a]=c};this.allowGlobals=function(){a=!0};this.$get=["$injector","$window",function(d,e){function f(a,b,c,d){if(!a||!J(a.$scope))throw y("$controller")("noscp",d,b);a.$scope[b]=c}return function(g,h,l,k){var m,r,n;l=!0===l;k&&K(k)&&(n=k);if(K(g)){k=g.match(c);if(!k)throw uf("ctrlfmt",g);r=k[1];n=n||k[3];g=b.hasOwnProperty(r)?b[r]:zc(h.$scope,r,!0)||(a?zc(e,r,!0):u);La(g,r,!0)}if(l)return l=(x(g)?g[g.length- -1]:g).prototype,m=Object.create(l||null),n&&f(h,n,m,r||g.name),z(function(){d.invoke(g,m,h,r);return m},{instance:m,identifier:n});m=d.instantiate(g,h,r);n&&f(h,n,m,r||g.name);return m}}]}function Ke(){this.$get=["$window",function(b){return G(b.document)}]}function Le(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function bc(b,a){if(K(b)){var c=b.replace(vf,"").trim();if(c){var d=a("Content-Type");(d=d&&0===d.indexOf($c))||(d=(d=c.match(wf))&&xf[d[0]].test(c)); -d&&(b=sc(c))}}return b}function ad(b){var a=ga(),c,d,e;if(!b)return a;q(b.split("\n"),function(b){e=b.indexOf(":");c=P(T(b.substr(0,e)));d=T(b.substr(e+1));c&&(a[c]=a[c]?a[c]+", "+d:d)});return a}function bd(b){var a=J(b)?b:u;return function(c){a||(a=ad(b));return c?(c=a[P(c)],void 0===c&&(c=null),c):a}}function cd(b,a,c,d){if(B(d))return d(b,a,c);q(d,function(d){b=d(b,a,c)});return b}function Oe(){var b=this.defaults={transformResponse:[bc],transformRequest:[function(a){return J(a)&&"[object File]"!== -Aa.call(a)&&"[object Blob]"!==Aa.call(a)&&"[object FormData]"!==Aa.call(a)?$a(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:oa(cc),put:oa(cc),patch:oa(cc)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},a=!1;this.useApplyAsync=function(b){return D(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=z({},a);b.data=a.data?cd(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){var b,c={};q(a,function(a,d){B(a)?(b=a(),null!=b&&(c[d]=b)):c[d]=a});return c}if(!ba.isObject(a))throw y("$http")("badreq",a);var e=z({method:"get",transformRequest:b.transformRequest,transformResponse:b.transformResponse},a);e.headers=function(a){var c=b.headers,e=z({},a.headers),f,g,c=z({},c.common,c[P(a.method)]);a:for(f in c){a=P(f);for(g in e)if(P(g)===a)continue a;e[f]=c[f]}return d(e)}(a); -e.method=wb(e.method);var f=[function(a){var d=a.headers,e=cd(a.data,bd(d),u,a.transformRequest);A(e)&&q(d,function(a,b){"content-type"===P(b)&&delete d[b]});A(a.withCredentials)&a |