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