Telegram Web, preconfigured for usage in I2P. http://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

243 lines
118 KiB

11 years ago
/*
AngularJS v1.3.0-rc.4
11 years ago
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(Q,$,t){'use strict';function U(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.0-rc.4/"+(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 Na(b){if(null==b||Oa(b))return!1;var a=b.length;return 1===b.nodeType&&
a?!0:F(b)||P(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d,e;if(b)if(N(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(P(b)||Na(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 cc(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}
function ud(b,a,c){for(var d=cc(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function dc(b){return function(a,c){b(c,a)}}function vd(){return++db}function ec(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 k=f[g];b[k]=e[k]}}ec(b,a);return b}function Y(b){return parseInt(b,10)}function fc(b,a){return z(new (z(function(){},{prototype:b})),a)}function x(){}
function Pa(b){return b}function ga(b){return function(){return b}}function E(b){return"undefined"===typeof b}function w(b){return"undefined"!==typeof b}function R(b){return null!==b&&"object"===typeof b}function F(b){return"string"===typeof b}function ea(b){return"number"===typeof b}function ha(b){return"[object Date]"===Ea.call(b)}function N(b){return"function"===typeof b}function eb(b){return"[object RegExp]"===Ea.call(b)}function Oa(b){return b&&b.window===b}function Qa(b){return b&&b.$evalAsync&&
b.$watch}function fb(b){return"boolean"===typeof b}function wd(b){return!(!b||!(b.nodeName||b.prop&&b.attr&&b.find))}function xd(b){var a={};b=b.split(",");var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function oa(b){return S(b.nodeName||b[0].nodeName)}function Ra(b,a){var c=b.indexOf(a);0<=c&&b.splice(c,1);return a}function Fa(b,a,c,d){if(Oa(b)||Qa(b))throw Sa("cpws");if(a){if(b===a)throw Sa("cpi");c=c||[];d=d||[];if(R(b)){var e=c.indexOf(b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(P(b))for(var f=
a.length=0;f<b.length;f++)e=Fa(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a.push(e);else{var g=a.$$hashKey;P(a)?a.length=0:q(a,function(b,c){delete a[c]});for(f in b)b.hasOwnProperty(f)&&(e=Fa(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e);ec(a,g)}}else if(a=b)P(b)?a=Fa(b,[],c,d):ha(b)?a=new Date(b.getTime()):eb(b)?(a=new RegExp(b.source,b.toString().match(/[^\/]*$/)[0]),a.lastIndex=b.lastIndex):R(b)&&(e=Object.create(Object.getPrototypeOf(b)),a=Fa(b,e,c,d));return a}function pa(b,
a){if(P(b)){a=a||[];for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}else if(R(b))for(c in a=a||{},b)if("$"!==c.charAt(0)||"$"!==c.charAt(1))a[c]=b[c];return a||b}function qa(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(P(b)){if(!P(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!qa(b[d],a[d]))return!1;return!0}}else{if(ha(b))return ha(a)?qa(b.getTime(),a.getTime()):!1;if(eb(b)&&eb(a))return b.toString()==a.toString();
if(Qa(b)||Qa(a)||Oa(b)||Oa(a)||P(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!N(b[d])){if(!qa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==t&&!N(a[d]))return!1;return!0}return!1}function gb(b,a,c){return b.concat(Ta.call(a,c))}function gc(b,a){var c=2<arguments.length?Ta.call(arguments,2):[];return!N(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(Ta.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?
a.apply(b,arguments):a.call(b)}}function yd(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)&&"$"===b.charAt(1)?c=t:Oa(a)?c="$WINDOW":a&&$===a?c="$DOCUMENT":Qa(a)&&(c="$SCOPE");return c}function ra(b,a){return"undefined"===typeof b?t:JSON.stringify(b,yd,a?" ":null)}function hc(b){return F(b)?JSON.parse(b):b}function sa(b){b=y(b).clone();try{b.empty()}catch(a){}var c=y("<div>").append(b).html();try{return 3===b[0].nodeType?S(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+
S(b)})}catch(d){return S(c)}}function ic(b){try{return decodeURIComponent(b)}catch(a){}}function jc(b){var a={},c,d;q((b||"").split("&"),function(b){b&&(c=b.replace(/\+/g,"%20").split("="),d=ic(c[0]),w(d)&&(b=w(c[1])?ic(c[1]):!0,Eb.call(a,d)?P(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Fb(b){var a=[];q(b,function(b,d){P(b)?q(b,function(b){a.push(Ba(d,!0)+(!0===b?"":"="+Ba(b,!0)))}):a.push(Ba(d,!0)+(!0===b?"":"="+Ba(b,!0)))});return a.length?a.join("&"):""}function hb(b){return Ba(b,
!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Ba(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 zd(b,a){var c,d,e=ib.length;b=y(b);for(d=0;d<e;++d)if(c=ib[d]+a,F(c=b.attr(c)))return c;return null}function Ad(b,a){var c,d,e={};q(ib,function(a){a+="app";!c&&b.hasAttribute&&b.hasAttribute(a)&&(c=b,d=b.getAttribute(a))});q(ib,function(a){a+="app";
var e;!c&&(e=b.querySelector("["+a.replace(":","\\:")+"]"))&&(c=e,d=e.getAttribute(a))});c&&(e.strictDi=null!==zd(c,"strict-di"),a(c,d?[d]:[],e))}function kc(b,a,c){R(c)||(c={});c=z({strictDi:!1},c);var d=function(){b=y(b);if(b.injector()){var d=b[0]===$?"document":sa(b);throw Sa("btstrpd",d.replace(/</,"&lt;").replace(/>/,"&gt;"));}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=Gb(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!/;Q&&e.test(Q.name)&&(c.debugInfoEnabled=!0,Q.name=Q.name.replace(e,""));if(Q&&!f.test(Q.name))return d();Q.name=Q.name.replace(f,"");Ca.resumeBootstrap=function(b){q(b,function(b){a.push(b)});d()}}function Bd(){Q.name="NG_ENABLE_DEBUG_INFO!"+Q.name;Q.location.reload()}function Cd(b){return Ca.element(b).injector().get("$$testability")}
function Hb(b,a){a=a||"_";return b.replace(Dd,function(b,d){return(d?a:"")+b.toLowerCase()})}function Ed(){var b;lc||((la=Q.jQuery)&&la.fn.on?(y=la,z(la.fn,{scope:Ga.scope,isolateScope:Ga.isolateScope,controller:Ga.controller,injector:Ga.injector,inheritedData:Ga.inheritedData}),b=la.cleanData,la.cleanData=function(a){var c;if(Ib)Ib=!1;else for(var d=0,e;null!=(e=a[d]);d++)(c=la._data(e,"events"))&&c.$destroy&&la(e).triggerHandler("$destroy");b(a)}):y=T,Ca.element=y,lc=!0)}function Jb(b,a,c){if(!b)throw Sa("areq",
a||"?",c||"required");return b}function jb(b,a,c){c&&P(b)&&(b=b[b.length-1]);Jb(N(b),a,"not a function, got "+(b&&"object"===typeof b?b.constructor.name||"Object":typeof b));return b}function Ha(b,a){if("hasOwnProperty"===b)throw Sa("badname",a);}function mc(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&&N(b)?gc(e,b):b}function kb(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 y(c)}function Fd(b){function a(a,
b,c){return a[b]||(a[b]=c())}var c=U("$injector"),d=U("ng");b=a(b,"angular",Object);b.$$minErr=b.$$minErr||U;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 m}}if(!g)throw c("nomod",f);var b=[],d=[],e=[],r=a("$injector","invoke","push",d),m={_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:r,run:function(a){e.push(a);return this}};h&&r(h);return m})}})}function Gd(b){z(b,{bootstrap:kc,copy:Fa,extend:z,equals:qa,element:y,forEach:q,
injector:Gb,noop:x,bind:gc,toJson:ra,fromJson:hc,identity:Pa,isUndefined:E,isDefined:w,isString:F,isFunction:N,isObject:R,isNumber:ea,isElement:wd,isArray:P,version:Hd,isDate:ha,lowercase:S,uppercase:lb,callbacks:{counter:0},getTestability:Cd,$$minErr:U,$$csp:Ua,reloadWithDebugInfo:Bd,$$hasClass:mb});Va=Fd(Q);try{Va("ngLocale")}catch(a){Va("ngLocale",[]).provider("$locale",Id)}Va("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:Jd});a.provider("$compile",nc).directive({a:Kd,input:oc,
textarea:oc,form:Ld,script:Md,select:Nd,style:Od,option:Pd,ngBind:Qd,ngBindHtml:Rd,ngBindTemplate:Sd,ngClass:Td,ngClassEven:Ud,ngClassOdd:Vd,ngCloak:Wd,ngController:Xd,ngForm:Yd,ngHide:Zd,ngIf:$d,ngInclude:ae,ngInit:be,ngNonBindable:ce,ngPluralize:de,ngRepeat:ee,ngShow:fe,ngStyle:ge,ngSwitch:he,ngSwitchWhen:ie,ngSwitchDefault:je,ngOptions:ke,ngTransclude:le,ngModel:me,ngList:ne,ngChange:oe,pattern:pc,ngPattern:pc,required:qc,ngRequired:qc,minlength:rc,ngMinlength:rc,maxlength:sc,ngMaxlength:sc,ngValue:pe,
ngModelOptions:qe}).directive({ngInclude:re}).directive(nb).directive(tc);a.provider({$anchorScroll:se,$animate:te,$browser:ue,$cacheFactory:ve,$controller:we,$document:xe,$exceptionHandler:ye,$filter:uc,$interpolate:ze,$interval:Ae,$http:Be,$httpBackend:Ce,$location:De,$log:Ee,$parse:Fe,$rootScope:Ge,$q:He,$$q:Ie,$sce:Je,$sceDelegate:Ke,$sniffer:Le,$templateCache:Me,$templateRequest:Ne,$$testability:Oe,$timeout:Pe,$window:Qe,$$rAF:Re,$$asyncCallback:Se})}])}function Wa(b){return b.replace(Te,function(a,
b,d,e){return e?d.toUpperCase():d}).replace(Ue,"Moz$1")}function vc(b){b=b.nodeType;return 1===b||!b||9===b}function wc(b,a){var c,d,e=a.createDocumentFragment(),f=[];if(Kb.test(b)){c=c||e.appendChild(a.createElement("div"));d=(Ve.exec(b)||["",""])[1].toLowerCase();d=ia[d]||ia._default;c.innerHTML=d[1]+b.replace(We,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=gb(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 T(b){if(b instanceof T)return b;var a;F(b)&&(b=X(b),a=!0);if(!(this instanceof T)){if(a&&"<"!=b.charAt(0))throw Lb("nosel");return new T(b)}if(a){a=$;var c;b=(c=Xe.exec(b))?[a.createElement(c[1])]:(c=wc(b,a))?c.childNodes:[]}xc(this,b)}function Mb(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 yc(b,a,c,d){if(w(d))throw Lb("offargs");var e=(d=qb(b))&&d.events;if(d&&d.handle)if(a)q(a.split(" "),
function(a){E(c)?(b.removeEventListener(a,e[a],!1),delete e[a]):Ra(e[a]||[],c)});else for(a in e)"$destroy"!==a&&b.removeEventListener(a,e[a],!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"),yc(b)),delete rb[c],b.ng339=t))}function qb(b,a){var c=b.ng339,c=c&&rb[c];a&&!c&&(b.ng339=c=++Ye,c=rb[c]={events:{},data:{},handle:t});return c}function Nb(b,a,c){if(vc(b)){var d=w(c),e=!d&&a&&!R(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];z(b,a)}}}function mb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function Ob(b,a){a&&b.setAttribute&&q(a.split(" "),function(a){b.setAttribute("class",X((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+X(a)+" "," ")))})}function Pb(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");q(a.split(" "),function(a){a=
X(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" ")});b.setAttribute("class",X(c))}}function xc(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 zc(b,a){return sb(b,"$"+(a||"ngController")+"Controller")}function sb(b,a,c){9==b.nodeType&&(b=b.documentElement);for(a=P(a)?a:[a];b;){for(var d=0,e=a.length;d<e;d++)if((c=y.data(b,a[d]))!==t)return c;b=b.parentNode||11===b.nodeType&&b.host}}
function Ac(b){for(ob(b,!0);b.firstChild;)b.removeChild(b.firstChild)}function Bc(b,a){a||ob(b);var c=b.parentNode;c&&c.removeChild(b)}function Cc(b,a){var c=tb[a.toLowerCase()];return c&&Dc[oa(b)]&&c}function Ze(b,a){var c=b.nodeName;return("INPUT"===c||"TEXTAREA"===c)&&Ec[a]}function $e(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=pa(f));for(var k=0;k<g;k++)c.isImmediatePropagationStopped()||f[k].call(b,c)}};c.elem=b;return c}function Ia(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||vd)():c+":"+b}function Xa(b,a){if(a){var c=
0;this.nextUid=function(){return++c}}q(b,this.put,this)}function af(b){return(b=b.toString().replace(Fc,"").match(Gc))?"function("+(b[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Qb(b,a,c){var d;if("function"===typeof b){if(!(d=b.$inject)){d=[];if(b.length){if(a)throw F(c)&&c||(c=b.name||af(b)),Ja("strictdi",c);a=b.toString().replace(Fc,"");a=a.match(Gc);q(a[1].split(bf),function(a){a.replace(cf,function(a,b,c){d.push(c)})})}b.$inject=d}}else P(b)?(a=b.length-1,jb(b[a],"fn"),d=b.slice(0,a)):
jb(b,"fn",!0);return d}function Gb(b,a){function c(a){return function(b,c){if(R(b))q(b,dc(a));else return a(b,c)}}function d(a,b){Ha(a,"service");if(N(b)||P(b))b=p.instantiate(b);if(!b.$get)throw Ja("pget",a);return n[a+"Provider"]=b}function e(a,b){return d(a,{$get:b})}function f(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=p.get(e[0]);f[e[1]].apply(f,e[2])}}if(!l.get(a)){l.put(a,!0);try{F(a)?(c=Va(a),b=b.concat(f(c.requires)).concat(c._runBlocks),
d(c._invokeQueue),d(c._configBlocks)):N(a)?b.push(p.invoke(a)):P(a)?b.push(p.invoke(a)):jb(a,"module")}catch(e){throw P(a)&&(a=a[a.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Ja("modulerr",a,e.stack||e.message||e);}}});return b}function g(b,c){function d(a){if(b.hasOwnProperty(a)){if(b[a]===h)throw Ja("cdep",a+" <- "+k.join(" <- "));return b[a]}try{return k.unshift(a),b[a]=h,b[a]=c(a)}catch(e){throw b[a]===h&&delete b[a],e;}finally{k.shift()}}function e(b,
c,f,h){"string"===typeof f&&(h=f,f=null);var g=[];h=Qb(b,a,h);var k,l,m;l=0;for(k=h.length;l<k;l++){m=h[l];if("string"!==typeof m)throw Ja("itkn",m);g.push(f&&f.hasOwnProperty(m)?f[m]:d(m))}P(b)&&(b=b[k]);return b.apply(c,g)}return{invoke:e,instantiate:function(a,b,c){var d=function(){};d.prototype=(P(a)?a[a.length-1]:a).prototype;d=new d;a=e(a,d,b,c);return R(a)||N(a)?a:d},get:d,annotate:Qb,has:function(a){return n.hasOwnProperty(a+"Provider")||b.hasOwnProperty(a)}}}a=!0===a;var h={},k=[],l=new Xa([],
!0),n={$provide:{provider:c(d),factory:c(e),service:c(function(a,b){return e(a,["$injector",function(a){return a.instantiate(b)}])}),value:c(function(a,b){return e(a,ga(b))}),constant:c(function(a,b){Ha(a,"constant");n[a]=b;r[a]=b}),decorator:function(a,b){var c=p.get(a+"Provider"),d=c.$get;c.$get=function(){var a=m.invoke(d,c);return m.invoke(b,null,{$delegate:a})}}}},p=n.$injector=g(n,function(){throw Ja("unpr",k.join(" <- "));}),r={},m=r.$injector=g(r,function(a){var b=p.get(a+"Provider");return m.invoke(b.$get,
b,t,a)});q(f(b),function(a){m.invoke(a||x)});return m}function se(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;q(a,function(a){b||"a"!==oa(a)||(b=a)});return b}function f(){var b=c.hash(),d;b?(d=g.getElementById(b))?d.scrollIntoView():(d=e(g.getElementsByName(b)))?d.scrollIntoView():"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var g=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)});
return f}]}function Se(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}:function(b){return a(b,0,!1)}}]}function df(b,a,c,d){function e(a){try{a.apply(null,Ta.call(arguments,1))}finally{if(s--,0===s)for(;v.length;)try{v.pop()()}catch(b){c.error(b)}}}function f(a,b){(function fa(){q(J,function(a){a()});A=b(fa,a)})()}function g(){C=null;u!=h.url()&&(u=h.url(),q(D,function(a){a(h.url())}))}var h=this,k=a[0],l=b.location,n=b.history,p=b.setTimeout,r=b.clearTimeout,
m={};h.isMock=!1;var s=0,v=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){s++};h.notifyWhenNoOutstandingRequests=function(a){q(J,function(a){a()});0===s?a():v.push(a)};var J=[],A;h.addPollFn=function(a){E(A)&&f(100,p);J.push(a);return a};var u=l.href,B=a.find("base"),C=null;h.url=function(a,c){l!==b.location&&(l=b.location);n!==b.history&&(n=b.history);if(a){if(u!=a)return u=a,d.history?c?n.replaceState(null,"",a):n.pushState(null,"",a):(C=a,c?l.replace(a):l.href=a),
h}else return C||l.href.replace(/%27/g,"'")};var D=[],W=!1;h.onUrlChange=function(a){if(!W){if(d.history)y(b).on("popstate",g);if(d.hashchange)y(b).on("hashchange",g);else h.addPollFn(g);W=!0}D.push(a);return a};h.$$checkUrlChange=g;h.baseHref=function(){var a=B.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var I={},aa="",O=h.baseHref();h.cookies=function(a,b){var d,e,f,h;if(a)b===t?k.cookie=encodeURIComponent(a)+"=;path="+O+";expires=Thu, 01 Jan 1970 00:00:00 GMT":F(b)&&(d=(k.cookie=
encodeURIComponent(a)+"="+encodeURIComponent(b)+";path="+O).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(k.cookie!==aa)for(aa=k.cookie,d=aa.split("; "),I={},f=0;f<d.length;f++)e=d[f],h=e.indexOf("="),0<h&&(a=decodeURIComponent(e.substring(0,h)),I[a]===t&&(I[a]=decodeURIComponent(e.substring(h+1))));return I}};h.defer=function(a,b){var c;s++;c=p(function(){delete m[c];e(a)},b||0);m[c]=!0;return c};h.defer.cancel=function(a){return m[a]?
(delete m[a],r(a),e(x),!0):!1}}function ue(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new df(b,d,a,c)}]}function ve(){this.$get=function(){function b(b,d){function e(a){a!=p&&(r?r==a&&(r=a.n):r=a,f(a.n,a.p),f(a,p),p=a,p.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw U("$cacheFactory")("iid",b);var g=0,h=z({},d,{id:b}),k={},l=d&&d.capacity||Number.MAX_VALUE,n={},p=null,r=null;return a[b]={put:function(a,b){if(l<Number.MAX_VALUE){var c=n[a]||
(n[a]={key:a});e(c)}if(!E(b))return a in k||g++,k[a]=b,g>l&&this.remove(r.key),b},get:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;e(b)}return k[a]},remove:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;b==p&&(p=b.p);b==r&&(r=b.n);f(b.n,b.p);delete n[a]}delete k[a];g--},removeAll:function(){k={};g=0;n={};p=r=null},destroy:function(){n=h=k=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 Me(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function nc(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 ja("iscp",b,e,a);d[e]={attrName:f[3]||e,mode:f[1],optional:"?"===f[2]}});return d}var d={},e=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,f=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,g=xd("ngSrc,ngSrcset,src,srcset"),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/;
this.directive=function p(a,e){Ha(a,"directive");F(a)?(Jb(e,"directiveFactory"),d.hasOwnProperty(a)||(d[a]=[],b.factory(a+"Directive",["$injector","$exceptionHandler",function(b,e){var f=[];q(d[a],function(d,h){try{var g=b.invoke(d);N(g)?g={compile:ga(g)}:!g.compile&&g.link&&(g.compile=ga(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";R(g.scope)&&(g.$$isolateBindings=c(g.scope,g.name));f.push(g)}catch(k){e(k)}});return f}])),
d[a].push(e)):q(a,dc(p));return this};this.aHrefSanitizationWhitelist=function(b){return w(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(b){return w(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};var l=!0;this.debugInfoEnabled=function(a){return w(a)?(l=a,this):l};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate",
"$$sanitizeUri",function(a,b,c,s,v,J,A,u,B,C,D){function W(a,b){try{a.addClass(b)}catch(c){}}function I(a,b,c,d,e){a instanceof y||(a=y(a));q(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=y(b).wrap("<span></span>").parent()[0])});var f=aa(a,b,a,c,d,e);I.$$addScopeClass(a);var g=null,h=a,k;return function(b,c,d,e,l){Jb(b,"scope");g||(g=(l=l&&l[0])?"foreignobject"!==oa(l)&&l.toString().match(/SVG/)?"svg":"html":"html");"html"!==g&&a[0]!==k&&(h=y(Rb(g,y("<div>").append(a).html())));
k=a[0];l=c?Ga.clone.call(h):h;if(d)for(var m in d)l.data("$"+m+"Controller",d[m].instance);I.$$addScopeInfo(l,b);c&&c(l,b);f&&f(b,l,l,e);return l}}function aa(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,m,r,u,s;if(p)for(s=Array(c.length),m=0;m<h.length;m+=3)f=h[m],s[f]=c[f];else s=c;m=0;for(r=h.length;m<r;)k=s[h[m++]],c=h[m++],f=h[m++],c?(c.scope?(l=a.$new(),I.$$addScopeInfo(y(k),l)):l=a,u=c.transcludeOnThisElement?O(a,c.transclude,e,c.elementTranscludeOnThisElement):!c.templateOnThisElement&&e?e:
!e&&b?O(a,b):null,c(f,l,k,d,u)):f&&f(a,k.childNodes,t,e)}for(var h=[],k,l,m,r,p,u=0;u<a.length;u++){k=new Sb;l=L(a[u],[],k,0===u?d:t,e);(f=l.length?fa(l,a[u],k,b,c,null,[],[],f):null)&&f.scope&&I.$$addScopeClass(k.$$element);k=f&&f.terminal||!(m=a[u].childNodes)||!m.length?null:aa(m,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b);if(f||k)h.push(u,f,k),r=!0,p=p||f;f=null}return r?g:null}function O(a,b,c,d){return function(d,e,f,g,h){d||(d=a.$new(!1,h),d.$$transcluded=!0);return b(d,
e,f,c,g)}}function L(b,c,g,h,k){var l=g.$attr,m;switch(b.nodeType){case 1:wa(c,ua(oa(b)),"E",h,k);for(var r,u,s,B=b.attributes,I=0,J=B&&B.length;I<J;I++){var v=!1,C=!1;r=B[I];if(!ba||8<=ba||r.specified){m=r.name;r=X(r.value);u=ua(m);if(s=xa.test(u))m=Hb(u.substr(6),"-");var W=u.replace(/(Start|End)$/,""),D;a:{var L=W;if(d.hasOwnProperty(L)){D=void 0;for(var L=a.get(L+"Directive"),O=0,q=L.length;O<q;O++)if(D=L[O],D.multiElement){D=!0;break a}}D=!1}D&&u===W+"Start"&&(v=m,C=m.substr(0,m.length-5)+"end",
m=m.substr(0,m.length-6));u=ua(m.toLowerCase());l[u]=m;if(s||!g.hasOwnProperty(u))g[u]=r,Cc(b,u)&&(g[u]=!0);Z(b,c,r,u,s);wa(c,u,"A",h,k,v,C)}}b=b.className;if(F(b)&&""!==b)for(;m=f.exec(b);)u=ua(m[2]),wa(c,u,"C",h,k)&&(g[u]=X(m[3])),b=b.substr(m.index+m[0].length);break;case 3:H(c,b.nodeValue);break;case 8:try{if(m=e.exec(b.nodeValue))u=ua(m[1]),wa(c,u,"M",h,k)&&(g[u]=X(m[2]))}catch(G){}}c.sort(E);return c}function G(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ja("uterdir",
b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return y(d)}function V(a,b,c){return function(d,e,f,g,h){e=G(e[0],b,c);return a(d,e,f,g,h)}}function fa(a,d,e,f,g,k,l,u,p){function s(a,b,c,d){if(a){c&&(a=V(a,c,d));a.require=K.require;a.directiveName=z;if(A===K||K.$$isolateScope)a=Ic(a,{isolateScope:!0});l.push(a)}if(b){c&&(b=V(b,c,d));b.require=K.require;b.directiveName=z;if(A===K||K.$$isolateScope)b=Ic(b,{isolateScope:!0});u.push(b)}}
function B(a,b,c,d){var e,f="data",g=!1,k=c,l;if(F(b)){if(l=b.match(h),b=b.substring(l[0].length),l[3]&&(l[1]?l[3]=null:l[1]=l[3]),"^"===l[1]?f="inheritedData":"^^"===l[1]&&(f="inheritedData",k=c.parent()),"?"===l[2]&&(g=!0),e=null,d&&"data"===f&&(e=d[b])&&(e=e.instance),e=e||k[f]("$"+b+"Controller"),!e&&!g)throw ja("ctreq",b,a);}else P(b)&&(e=[],q(b,function(b){e.push(B(a,b,c,d))}));return e}function C(a,c,f,g,h){function k(a,b,c){var d;Qa(a)||(c=b,b=a,a=t);E&&(d=D);c||(c=E?L.parent():L);return h(a,
b,d,c,fa)}var m,p,s,ta,D,W,L,G;d===f?(G=e,L=e.$$element):(L=y(f),G=new Sb(L,e));A&&(ta=c.$new(!0));W=h&&k;O&&(aa={},D={},q(O,function(a){var b={$scope:a===A||a.$$isolateScope?ta:c,$element:L,$attrs:G,$transclude:W};s=a.controller;"@"==s&&(s=G[a.name]);b=J(s,b,!0,a.controllerAs);D[a.name]=b;E||L.data("$"+a.name+"Controller",b.instance);aa[a.name]=b}));if(A){I.$$addScopeInfo(L,ta,!0,!(Z&&(Z===A||Z===A.$$originalDirective)));I.$$addScopeClass(L,!0);g=aa&&aa[A.name];var V=ta;g&&g.identifier&&!0===A.bindToController&&
(V=g.instance);q(ta.$$isolateBindings=A.$$isolateBindings,function(a,d){var e=a.attrName,f=a.optional,g,h,k,l;switch(a.mode){case "@":G.$observe(e,function(a){V[d]=a});G.$$observers[e].$$scope=c;G[e]&&(V[d]=b(G[e])(c));break;case "=":if(f&&!G[e])break;h=v(G[e]);l=h.literal?qa:function(a,b){return a===b||a!==a&&b!==b};k=h.assign||function(){g=V[d]=h(c);throw ja("nonassign",G[e],A.name);};g=V[d]=h(c);f=function(a){l(a,V[d])||(l(a,g)?k(c,a=V[d]):V[d]=a);return g=a};f.$stateful=!0;f=c.$watch(v(G[e],f),
null,h.literal);ta.$on("$destroy",f);break;case "&":h=v(G[e]),V[d]=function(a){return h(c,a)}}})}aa&&(q(aa,function(a){a()}),aa=null);g=0;for(m=l.length;g<m;g++)p=l[g],U(p,p.isolateScope?ta:c,L,G,p.require&&B(p.directiveName,p.require,L,D),W);var fa=c;A&&(A.template||null===A.templateUrl)&&(fa=ta);a&&a(fa,f.childNodes,t,h);for(g=u.length-1;0<=g;g--)p=u[g],U(p,p.isolateScope?ta:c,L,G,p.require&&B(p.directiveName,p.require,L,D),W)}p=p||{};for(var D=-Number.MAX_VALUE,W,O=p.controllerDirectives,aa,A=
p.newIsolateScopeDirective,Z=p.templateDirective,fa=p.nonTlbTranscludeDirective,wa=!1,x=!1,E=p.hasElementTranscludeDirective,M=e.$$element=y(d),K,z,H,Q=f,S,T=0,xa=a.length;T<xa;T++){K=a[T];var ub=K.$$start,Y=K.$$end;ub&&(M=G(d,ub,Y));H=t;if(D>K.priority)break;if(H=K.scope)K.templateUrl||(R(H)?(Ka("new/isolated scope",A||W,K,M),A=K):Ka("new/isolated scope",A,K,M)),W=W||K;z=K.name;!K.templateUrl&&K.controller&&(H=K.controller,O=O||{},Ka("'"+z+"' controller",O[z],K,M),O[z]=K);if(H=K.transclude)wa=!0,
K.$$tlb||(Ka("transclusion",fa,K,M),fa=K),"element"==H?(E=!0,D=K.priority,H=M,M=e.$$element=y($.createComment(" "+z+": "+e[z]+" ")),d=M[0],vb(g,Ta.call(H,0),d),Q=I(H,f,D,k&&k.name,{nonTlbTranscludeDirective:fa})):(H=y(Mb(d)).contents(),M.empty(),Q=I(H,f));if(K.template)if(x=!0,Ka("template",Z,K,M),Z=K,H=N(K.template)?K.template(M,e):K.template,H=Jc(H),K.replace){k=K;H=Kb.test(H)?y(Rb(K.templateNamespace,X(H))):[];d=H[0];if(1!=H.length||1!==d.nodeType)throw ja("tplrt",z,"");vb(g,M,d);xa={$attr:{}};
H=L(d,[],xa);var ba=a.splice(T+1,a.length-(T+1));A&&Hc(H);a=a.concat(H).concat(ba);w(e,xa);xa=a.length}else M.html(H);if(K.templateUrl)x=!0,Ka("template",Z,K,M),Z=K,K.replace&&(k=K),C=ef(a.splice(T,a.length-T),M,e,g,wa&&Q,l,u,{controllerDirectives:O,newIsolateScopeDirective:A,templateDirective:Z,nonTlbTranscludeDirective:fa}),xa=a.length;else if(K.compile)try{S=K.compile(M,e,Q),N(S)?s(null,S,ub,Y):S&&s(S.pre,S.post,ub,Y)}catch(ca){c(ca,sa(M))}K.terminal&&(C.terminal=!0,D=Math.max(D,K.priority))}C.scope=
W&&!0===W.scope;C.transcludeOnThisElement=wa;C.elementTranscludeOnThisElement=E;C.templateOnThisElement=x;C.transclude=Q;p.hasElementTranscludeDirective=E;return C}function Hc(a){for(var b=0,c=a.length;b<c;b++)a[b]=fc(a[b],{$$isolateScope:!0})}function wa(b,e,f,g,h,k,l){if(e===h)return null;h=null;if(d.hasOwnProperty(e)){var r;e=a.get(e+"Directive");for(var u=0,s=e.length;u<s;u++)try{r=e[u],(g===t||g>r.priority)&&-1!=r.restrict.indexOf(f)&&(k&&(r=fc(r,{$$start:k,$$end:l})),b.push(r),h=r)}catch(B){c(B)}}return h}
function w(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?(W(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 ef(a,b,c,d,e,f,g,h){var k=[],l,m,r=b[0],u=a.shift(),p=z({},u,{templateUrl:null,transclude:null,replace:null,
$$originalDirective:u}),I=N(u.templateUrl)?u.templateUrl(b,c):u.templateUrl,C=u.templateNamespace;b.empty();s(B.getTrustedResourceUrl(I)).then(function(s){var B,J;s=Jc(s);if(u.replace){s=Kb.test(s)?y(Rb(C,X(s))):[];B=s[0];if(1!=s.length||1!==B.nodeType)throw ja("tplrt",u.name,I);s={$attr:{}};vb(d,b,B);var v=L(B,[],s);R(u.scope)&&Hc(v);a=v.concat(a);w(c,s)}else B=r,b.html(s);a.unshift(p);l=fa(a,B,c,e,b,u,f,g,h);q(d,function(a,c){a==B&&(d[c]=b[0])});for(m=aa(b[0].childNodes,e);k.length;){s=k.shift();
J=k.shift();var D=k.shift(),G=k.shift(),v=b[0];if(!s.$$destroyed){if(J!==r){var V=J.className;h.hasElementTranscludeDirective&&u.replace||(v=Mb(B));vb(D,y(J),v);W(y(v),V)}J=l.transcludeOnThisElement?O(s,l.transclude,G):G;l(m,s,v,d,J)}}k=null});return function(a,b,c,d,e){a=e;b.$$destroyed||(k?(k.push(b),k.push(c),k.push(d),k.push(a)):(l.transcludeOnThisElement&&(a=O(b,l.transclude,e)),l(m,b,c,d,a)))}}function E(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 Ka(a,b,c,d){if(b)throw ja("multidir",b.name,c.name,a,sa(d));}function H(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:function(a){a=a.parent();var b=!!a.length;b&&I.$$addBindingClass(a);return function(a,c){var e=c.parent();b||I.$$addBindingClass(e);I.$$addBindingInfo(e,d.expressions);a.$watch(d,function(a){c[0].nodeValue=a})}}})}function Rb(a,b){a=S(a||"html");switch(a){case "svg":case "math":var c=$.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes;
default:return b}}function M(a,b){if("srcdoc"==b)return B.HTML;var c=oa(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return B.RESOURCE_URL}function Z(a,c,d,e,f){var h=b(d,!0);if(h){if("multiple"===e&&"select"===oa(a))throw ja("selmulti",sa(a));c.push({priority:100,compile:function(){return{pre:function(c,d,l){d=l.$$observers||(l.$$observers={});if(k.test(e))throw ja("nodomevents");if(h=b(l[e],!0,M(a,e),g[e]||f))l[e]=h(c),(d[e]||(d[e]=[])).$$inter=!0,(l.$$observers&&
l.$$observers[e].$$scope||c).$watch(h,function(a,b){"class"===e&&a!=b?l.$updateClass(a,b):l.$set(e,a)})}}}})}}function vb(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 k=a.length;g<k;g++,h++)h<k?a[g]=a[h]:delete a[g];a.length-=e-1;a.context===d&&(a.context=c);break}f&&f.replaceChild(c,d);a=$.createDocumentFragment();a.appendChild(d);y(c).data(y(d).data());la?(Ib=!0,la.cleanData([d])):delete y.cache[d[y.expando]];d=1;for(e=b.length;d<
e;d++)f=b[d],y(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}function Ic(a,b){return z(function(){return a.apply(null,arguments)},a,b)}function U(a,b,d,e,f,g){try{a(b,d,e,f,g)}catch(h){c(h,sa(d))}}var Sb=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};Sb.prototype={$normalize:ua,$addClass:function(a){a&&0<a.length&&C.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&C.removeClass(this.$$element,
a)},$updateClass:function(a,b){var c=Kc(a,b);c&&c.length&&C.addClass(this.$$element,c);(c=Kc(b,a))&&c.length&&C.removeClass(this.$$element,c)},$set:function(a,b,d,e){var f=this.$$element[0],g=Cc(f,a),h=Ze(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=Hb(a,"-"));g=oa(this.$$element);if("a"===g&&"href"===a||"img"===g&&"src"===a)this[a]=b=D(b,"src"===a);else if("img"===g&&"srcset"===a){for(var g="",h=X(b),k=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,
k=/\s/.test(h)?k:/(,)/,h=h.split(k),k=Math.floor(h.length/2),l=0;l<k;l++)var r=2*l,g=g+D(X(h[r]),!0),g=g+(" "+X(h[r+1]));h=X(h[2*l]).split(/\s/);g+=D(X(h[0]),!0);2===h.length&&(g+=" "+X(h[1]));this[a]=b=g}!1!==d&&(null===b||b===t?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=Object.create(null)),e=d[a]||(d[a]=[]);e.push(b);A.$evalAsync(function(){e.$$inter||
b(c[a])});return function(){Ra(e,b)}}};var Q=b.startSymbol(),T=b.endSymbol(),Jc="{{"==Q||"}}"==T?Pa:function(a){return a.replace(/\{\{/g,Q).replace(/}}/g,T)},xa=/^ngAttr[A-Z]/;I.$$addBindingInfo=l?function(a,b){var c=a.data("$binding")||[];P(b)?c=c.concat(b):c.push(b);a.data("$binding",c)}:x;I.$$addBindingClass=l?function(a){W(a,"ng-binding")}:x;I.$$addScopeInfo=l?function(a,b,c,d){a.data(c?d?"$isolateScopeNoTemplate":"$isolateScope":"$scope",b)}:x;I.$$addScopeClass=l?function(a,b){W(a,b?"ng-isolate-scope":
"ng-scope")}:x;return I}]}function ua(b){return Wa(b.replace(ff,""))}function Kc(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 we(){var b={},a=!1,c=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,c){Ha(a,"controller");R(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||!R(a.$scope))throw U("$controller")("noscp",
d,b);a.$scope[b]=c}return function(g,h,k,l){var n,p,r;k=!0===k;l&&F(l)&&(r=l);F(g)&&(l=g.match(c),p=l[1],r=r||l[3],g=b.hasOwnProperty(p)?b[p]:mc(h.$scope,p,!0)||(a?mc(e,p,!0):t),jb(g,p,!0));if(k)return k=function(){},k.prototype=(P(g)?g[g.length-1]:g).prototype,n=new k,r&&f(h,r,n,p||g.name),z(function(){d.invoke(g,n,h,p);return n},{instance:n,identifier:r});n=d.instantiate(g,h,p);r&&f(h,r,n,p||g.name);return n}}]}function xe(){this.$get=["$window",function(b){return y(b.document)}]}function ye(){this.$get=
["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Lc(b){var a={},c,d,e;if(!b)return a;q(b.split("\n"),function(b){e=b.indexOf(":");c=S(X(b.substr(0,e)));d=X(b.substr(e+1));c&&(a[c]=a[c]?a[c]+", "+d:d)});return a}function Mc(b){var a=R(b)?b:t;return function(c){a||(a=Lc(b));return c?a[S(c)]||null:a}}function Nc(b,a,c){if(N(c))return c(b,a);q(c,function(c){b=c(b,a)});return b}function Be(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d={"Content-Type":"application/json;charset=utf-8"},
e=this.defaults={transformResponse:[function(d){F(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=hc(d)));return d}],transformRequest:[function(a){return R(a)&&"[object File]"!==Ea.call(a)&&"[object Blob]"!==Ea.call(a)?ra(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:pa(d),put:pa(d),patch:pa(d)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},f=!1;this.useApplyAsync=function(a){return w(a)?(f=!!a,this):f};var g=this.interceptors=[];this.$get=["$httpBackend","$browser",
"$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,p,r){function m(a){function b(a){var d=z({},a,{data:Nc(a.data,a.headers,c.transformResponse)});a=a.status;return 200<=a&&300>a?d:p.reject(d)}var c={method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},d=function(a){var b=e.headers,c=z({},a.headers),d,f,b=z({},b.common,b[S(a.method)]);a:for(d in b){a=S(d);for(f in c)if(S(f)===a)continue a;c[d]=b[d]}(function(a){var b;q(a,function(c,d){N(c)&&(b=c(),null!=
b?a[d]=b:delete a[d])})})(c);return c}(a);z(c,a);c.headers=d;c.method=lb(c.method);var f=[function(a){d=a.headers;var c=Nc(a.data,Mc(d),a.transformRequest);E(c)&&q(d,function(a,b){"content-type"===S(b)&&delete d[b]});E(a.withCredentials)&&!E(e.withCredentials)&&(a.withCredentials=e.withCredentials);return s(a,c,d).then(b,b)},t],g=p.when(c);for(q(A,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 h=f.shift(),g=g.then(a,h)}g.success=function(a){g.then(function(b){a(b.data,b.status,b.headers,c)});return g};g.error=function(a){g.then(null,function(b){a(b.data,b.status,b.headers,c)});return g};return g}function s(c,g,l){function r(a,b,c,e){function g(){s(b,a,c,e)}L&&(200<=a&&300>a?L.put(V,[a,b,Lc(c),e]):L.remove(V));f?d.$applyAsync(g):(g(),d.$$phase||d.$apply())}function s(a,b,d,e){b=Math.max(b,0);(200<=b&&300>b?q.resolve:q.reject)({data:a,status:b,headers:Mc(d),config:c,statusText:e})}
function I(){var a=m.pendingRequests.indexOf(c);-1!==a&&m.pendingRequests.splice(a,1)}var q=p.defer(),A=q.promise,L,G,V=v(c.url,c.params);m.pendingRequests.push(c);A.then(I,I);!c.cache&&!e.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(L=R(c.cache)?c.cache:R(e.cache)?e.cache:J);if(L)if(G=L.get(V),w(G)){if(G&&N(G.then))return G.then(I,I),G;P(G)?s(G[1],G[0],pa(G[2]),G[3]):s(G,200,{},"OK")}else L.put(V,A);E(G)&&((G=Oc(c.url)?b.cookies()[c.xsrfCookieName||e.xsrfCookieName]:t)&&(l[c.xsrfHeaderName||
e.xsrfHeaderName]=G),a(c.method,V,g,r,l,c.timeout,c.withCredentials,c.responseType));return A}function v(a,b){if(!b)return a;var c=[];ud(b,function(a,b){null===a||E(a)||(P(a)||(a=[a]),q(a,function(a){R(a)&&(a=ha(a)?a.toISOString():ra(a));c.push(Ba(b)+"="+Ba(a))}))});0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&"));return a}var J=c("$http"),A=[];q(g,function(a){A.unshift(F(a)?r.get(a):r.invoke(a))});m.pendingRequests=[];(function(a){q(arguments,function(a){m[a]=function(b,c){return m(z(c||
{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){q(arguments,function(a){m[a]=function(b,c,d){return m(z(d||{},{method:a,url:b,data:c}))}})})("post","put","patch");m.defaults=e;return m}]}function gf(b){if(8>=ba&&(!b.match(/^(get|post|head|put|delete|options)$/i)||!Q.XMLHttpRequest))return new Q.ActiveXObject("Microsoft.XMLHTTP");if(Q.XMLHttpRequest)return new Q.XMLHttpRequest;throw U("$httpBackend")("noxhr");}function Ce(){this.$get=["$browser","$window","$document",function(b,
a,c){return hf(b,gf,b.defer,a.angular.callbacks,c[0])}]}function hf(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,m="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),m=a.type,g="error"===a.type?404:200);c&&c(g,m)};f.addEventListener("load",n,!1);f.addEventListener("error",n,!1);e.body.appendChild(f);
return n}return function(e,h,k,l,n,p,r,m){function s(){J=-1;u&&u();B&&B.abort()}function v(a,d,e,f,g){D&&c.cancel(D);u=B=null;0===d&&(d=e?200:"file"==ya(h).protocol?404:0);a(1223===d?204:d,e,f,g||"");b.$$completeOutstandingRequest(x)}var J;b.$$incOutstandingRequestCount();h=h||b.url();if("jsonp"==S(e)){var A="_"+(d.counter++).toString(36);d[A]=function(a){d[A].data=a;d[A].called=!0};var u=f(h.replace("JSON_CALLBACK","angular.callbacks."+A),A,function(a,b){v(l,a,d[A].data,"",b);d[A]=x})}else{var B=
a(e);B.open(e,h,!0);q(n,function(a,b){w(a)&&B.setRequestHeader(b,a)});B.onreadystatechange=function(){if(B&&4==B.readyState){var a=null,b=null,c="";-1!==J&&(a=B.getAllResponseHeaders(),b="response"in B?B.response:B.responseText);-1===J&&10>ba||(c=B.statusText);v(l,J||B.status,b,a,c)}};r&&(B.withCredentials=!0);if(m)try{B.responseType=m}catch(C){if("json"!==m)throw C;}B.send(k||null)}if(0<p)var D=c(s,p);else p&&N(p.then)&&p.then(s)}}function ze(){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,m,s){function v(c){return c.replace(l,b).replace(n,a)}function J(a){try{var b;var c=m?e.getTrusted(m,a):e.valueOf(a);if(null==c)b="";else{switch(typeof c){case "string":break;case "number":c=""+c;break;default:c=ra(c)}b=c}return b}catch(g){a=Tb("interr",f,g.toString()),d(a)}}s=!!s;for(var q,u,B=0,C=[],D=[],W=f.length,I=[],aa=[];B<
W;)if(-1!=(q=f.indexOf(b,B))&&-1!=(u=f.indexOf(a,q+h)))B!==q&&I.push(v(f.substring(B,q))),B=f.substring(q+h,u),C.push(B),D.push(c(B,J)),B=u+k,aa.push(I.length),I.push("");else{B!==W&&I.push(v(f.substring(B)));break}if(m&&1<I.length)throw Tb("noconcat",f);if(!g||C.length){var O=function(a){for(var b=0,c=C.length;b<c;b++){if(s&&E(a[b]))return;I[aa[b]]=a[b]}return I.join("")};return z(function(a){var b=0,c=C.length,e=Array(c);try{for(;b<c;b++)e[b]=D[b](a);return O(e)}catch(g){a=Tb("interr",f,g.toString()),
d(a)}},{exp:f,expressions:C,$$watchDelegate:function(a,b,c){var d;return a.$watchGroup(D,function(c,e){var f=O(c);N(b)&&b.call(this,f,c!==e?d:f,a);d=f},c)}})}}var h=b.length,k=a.length,l=new RegExp(b.replace(/./g,f),"g"),n=new RegExp(a.replace(/./g,f),"g");g.startSymbol=function(){return b};g.endSymbol=function(){return a};return g}]}function Ae(){this.$get=["$rootScope","$window","$q","$$q",function(b,a,c,d){function e(e,h,k,l){var n=a.setInterval,p=a.clearInterval,r=0,m=w(l)&&!l,s=(m?d:c).defer(),
v=s.promise;k=w(k)?k:0;v.then(null,null,e);v.$$intervalId=n(function(){s.notify(r++);0<k&&r>=k&&(s.resolve(r),p(v.$$intervalId),delete f[v.$$intervalId]);m||b.$apply()},h);f[v.$$intervalId]=s;return v}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 Id(){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 Ub(b){b=b.split("/");for(var a=b.length;a--;)b[a]=hb(b[a]);return b.join("/")}function Pc(b,a,c){b=ya(b,c);a.$$protocol=b.protocol;a.$$host=b.hostname;a.$$port=Y(b.port)||jf[b.protocol]||null}function Qc(b,a,c){var d="/"!==b.charAt(0);d&&(b=
"/"+b);b=ya(b,c);a.$$path=decodeURIComponent(d&&"/"===b.pathname.charAt(0)?b.pathname.substring(1):b.pathname);a.$$search=jc(b.search);a.$$hash=decodeURIComponent(b.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function va(b,a){if(0===a.indexOf(b))return a.substr(b.length)}function Ya(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function Vb(b){return b.substr(0,Ya(b).lastIndexOf("/")+1)}function Rc(b,a){this.$$html5=!0;a=a||"";var c=Vb(b);Pc(b,this,b);this.$$parse=function(a){var e=
va(c,a);if(!F(e))throw wb("ipthprfx",a,c);Qc(e,this,b);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Fb(this.$$search),b=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(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=va(b,d))!==t?(g=f,g=(f=va(a,f))!==t?c+(va("/",f)||f):b+g):(f=va(c,d))!==t?g=c+f:c==d+"/"&&(g=c);g&&this.$$parse(g);return!!g}}function Wb(b,
a){var c=Vb(b);Pc(b,this,b);this.$$parse=function(d){var e=va(b,d)||va(c,d),e="#"==e.charAt(0)?va(a,e):this.$$html5?e:"";if(!F(e))throw wb("ihshprfx",d,a);Qc(e,this,b);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=Fb(this.$$search),e=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+(this.$$url?a+this.$$url:"")};this.$$parseLinkUrl=
function(a,c){return Ya(b)==Ya(a)?(this.$$parse(a),!0):!1}}function Sc(b,a){this.$$html5=!0;Wb.apply(this,arguments);var c=Vb(b);this.$$parseLinkUrl=function(d,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;b==Ya(d)?f=d:(g=va(c,d))?f=b+a+g:c===d+"/"&&(f=c);f&&this.$$parse(f);return!!f};this.$$compose=function(){var c=Fb(this.$$search),e=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+a+this.$$url}}function xb(b){return function(){return this[b]}}
function Tc(b,a){return function(c){if(E(c))return this[b];this[b]=a(c);this.$$compose();return this}}function De(){var b="",a={enabled:!1,requireBase:!0};this.hashPrefix=function(a){return w(a)?(b=a,this):b};this.html5Mode=function(b){return fb(b)?(a.enabled=b,this):R(b)?(a.enabled=fb(b.enabled)?b.enabled:a.enabled,a.requireBase=fb(b.requireBase)?b.requireBase:a.requireBase,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function g(a){c.$broadcast("$locationChangeSuccess",
h.absUrl(),a)}var h,k=d.baseHref(),l=d.url();if(a.enabled){if(!k&&a.requireBase)throw wb("nobase");k=l.substring(0,l.indexOf("/",l.indexOf("//")+2))+(k||"/");e=e.history?Rc:Sc}else k=Ya(l),e=Wb;h=new e(k,"#"+b);h.$$parseLinkUrl(l,l);var n=/^\s*(javascript|mailto):/i;f.on("click",function(a){if(!a.ctrlKey&&!a.metaKey&&2!=a.which){for(var b=y(a.target);"a"!==oa(b[0]);)if(b[0]===f[0]||!(b=b.parent())[0])return;var e=b.prop("href"),g=b.attr("href")||b.attr("xlink:href");R(e)&&"[object SVGAnimatedString]"===
e.toString()&&(e=ya(e.animVal).href);n.test(e)||!e||b.attr("target")||a.isDefaultPrevented()||!h.$$parseLinkUrl(e,g)||(a.preventDefault(),h.absUrl()!=d.url()&&(c.$apply(),Q.angular["ff-684208-preventDefault"]=!0))}});h.absUrl()!=l&&d.url(h.absUrl(),!0);d.onUrlChange(function(a){h.absUrl()!=a&&(c.$evalAsync(function(){var b=h.absUrl();h.$$parse(a);c.$broadcast("$locationChangeStart",a,b).defaultPrevented?(h.$$parse(b),d.url(b)):g(b)}),c.$$phase||c.$digest())});var p=0;c.$watch(function(){var a=d.url(),
b=h.$$replace;p&&a==h.absUrl()||(p++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):(d.url(h.absUrl(),b),g(a))}));h.$$replace=!1;return p});return h}]}function Ee(){var b=!0,a=this;this.debugEnabled=function(a){return w(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+
a.line));return a}function e(a){var b=c.console||{},e=b[a]||b.log||x;a=!1;try{a=!!e.apply}catch(k){}return a?function(){var a=[];q(arguments,function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function ma(b,a){if("__defineGetter__"===b||"__defineSetter__"===b||"__lookupGetter__"===b||"__lookupSetter__"===b||"__proto__"===
b)throw na("isecfld",a);return b}function za(b,a){if(b){if(b.constructor===b)throw na("isecfn",a);if(b.window===b)throw na("isecwindow",a);if(b.children&&(b.nodeName||b.prop&&b.attr&&b.find))throw na("isecdom",a);if(b===Object)throw na("isecobj",a);}return b}function Xb(b){return b.constant}function La(b,a,c,d){za(b,d);a=a.split(".");for(var e,f=0;1<a.length;f++){e=ma(a.shift(),d);var g=za(b[e],d);g||(g={},b[e]=g);b=g}e=ma(a.shift(),d);za(b[e],d);return b[e]=c}function Uc(b,a,c,d,e,f){ma(b,f);ma(a,
f);ma(c,f);ma(d,f);ma(e,f);return function(f,h){var k=h&&h.hasOwnProperty(b)?h:f;if(null==k)return k;k=k[b];if(!a)return k;if(null==k)return t;k=k[a];if(!c)return k;if(null==k)return t;k=k[c];if(!d)return k;if(null==k)return t;k=k[d];return e?null==k?t:k=k[e]:k}}function Vc(b,a,c){var d=Wc[b];if(d)return d;var e=b.split("."),f=e.length;if(a.csp)d=6>f?Uc(e[0],e[1],e[2],e[3],e[4],c):function(a,b){var d=0,g;do g=Uc(e[d++],e[d++],e[d++],e[d++],e[d++],c)(a,b),b=t,a=g;while(d<f);return g};else{var g="";
q(e,function(a,b){ma(a,c);g+="if(s == null) return undefined;\ns="+(b?"s":'((l&&l.hasOwnProperty("'+a+'"))?l:s)')+"."+a+";\n"});g+="return s;";a=new Function("s","l",g);a.toString=ga(g);d=a}d.sharedGetter=!0;d.assign=function(a,c){return La(a,b,c,b)};return Wc[b]=d}function Fe(){var b=Object.create(null),a={csp:!1};this.$get=["$filter","$sniffer",function(c,d){function e(a){var b=a;a.sharedGetter&&(b=function(b,c){return a(b,c)},b.literal=a.literal,b.constant=a.constant,b.assign=a.assign);return b}
function f(a,b){for(var c=0,d=a.length;c<d;c++){var e=a[c];e.constant||(e.inputs?f(e.inputs,b):-1===b.indexOf(e)&&b.push(e))}return b}function g(a,b){return null==a||null==b?a===b:"object"===typeof a&&(a=a.valueOf(),"object"===typeof a)?!1:a===b||a!==a&&b!==b}function h(a,b,c,d){var e=d.$$inputs||(d.$$inputs=f(d.inputs,[])),h;if(1===e.length){var k=g,e=e[0];return a.$watch(function(a){var b=e(a);g(b,k)||(h=d(a),k=b&&b.valueOf());return h},b,c)}for(var l=[],n=0,p=e.length;n<p;n++)l[n]=g;return a.$watch(function(a){for(var b=
!1,c=0,f=e.length;c<f;c++){var k=e[c](a);if(b||(b=!g(k,l[c])))l[c]=k&&k.valueOf()}b&&(h=d(a));return h},b,c)}function k(a,b,c,d){var e,f;return e=a.$watch(function(a){return d(a)},function(a,c,d){f=a;N(b)&&b.apply(this,arguments);w(a)&&d.$$postDigest(function(){w(f)&&e()})},c)}function l(a,b,c,d){function e(a){var b=!0;q(a,function(a){w(a)||(b=!1)});return b}var f;return f=a.$watch(function(a){return d(a)},function(a,c,d){N(b)&&b.call(this,a,c,d);e(a)&&d.$$postDigest(function(){e(a)&&f()})},c)}function n(a,
b,c,d){var e;return e=a.$watch(function(a){return d(a)},function(a,c,d){N(b)&&b.apply(this,arguments);e()},c)}function p(a,b){if(!b)return a;var c=function(c,d){var e=a(c,d),f=b(e,c,d);return w(e)?f:e};a.$$watchDelegate&&a.$$watchDelegate!==h?c.$$watchDelegate=a.$$watchDelegate:b.$stateful||(c.$$watchDelegate=h,c.inputs=[a]);return c}a.csp=d.csp;return function(d,f){var g,v,J;switch(typeof d){case "string":return J=d=d.trim(),g=b[J],g||(":"===d.charAt(0)&&":"===d.charAt(1)&&(v=!0,d=d.substring(2)),
g=new Yb(a),g=(new Za(g,c,a)).parse(d),g.constant?g.$$watchDelegate=n:v?(g=e(g),g.$$watchDelegate=g.literal?l:k):g.inputs&&(g.$$watchDelegate=h),b[J]=g),p(g,f);case "function":return p(d,f);default:return p(x,f)}}}]}function He(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Xc(function(a){b.$evalAsync(a)},a)}]}function Ie(){this.$get=["$browser","$exceptionHandler",function(b,a){return Xc(function(a){b.defer(a)},a)}]}function Xc(b,a){function c(a,b,c){function d(b){return function(c){e||
(e=!0,b.call(a,c))}}var e=!1;return[d(b),d(c)]}function d(){this.$$state={status:0}}function e(a,b){return function(c){b.call(a,c)}}function f(c){!c.processScheduled&&c.pending&&(c.processScheduled=!0,b(function(){var b,d,e;e=c.pending;c.processScheduled=!1;c.pending=t;for(var f=0,g=e.length;f<g;++f){d=e[f][0];b=e[f][c.status];try{N(b)?d.resolve(b(c.value)):1===c.status?d.resolve(c.value):d.reject(c.value)}catch(h){d.reject(h),a(h)}}}))}function g(){this.promise=new d;this.resolve=e(this,this.resolve);
this.reject=e(this,this.reject);this.notify=e(this,this.notify)}var h=U("$q",TypeError);d.prototype={then:function(a,b,c){var d=new g;this.$$state.pending=this.$$state.pending||[];this.$$state.pending.push([d,a,b,c]);0<this.$$state.status&&f(this.$$state);return d.promise},"catch":function(a){return this.then(null,a)},"finally":function(a,b){return this.then(function(b){return l(b,!0,a)},function(b){return l(b,!1,a)},b)}};g.prototype={resolve:function(a){this.promise.$$state.status||(a===this.promise?
this.$$reject(h("qcycle",a)):this.$$resolve(a))},$$resolve:function(b){var d,e;e=c(this,this.$$resolve,this.$$reject);try{if(R(b)||N(b))d=b&&b.then;N(d)?(this.promise.$$state.status=-1,d.call(b,e[0],e[1],this.notify)):(this.promise.$$state.value=b,this.promise.$$state.status=1,f(this.promise.$$state))}catch(g){e[1](g),a(g)}},reject:function(a){this.promise.$$state.status||this.$$reject(a)},$$reject:function(a){this.promise.$$state.value=a;this.promise.$$state.status=2;f(this.promise.$$state)},notify:function(c){var d=
this.promise.$$state.pending;0>=this.promise.$$state.status&&d&&d.length&&b(function(){for(var b,e,f=0,g=d.length;f<g;f++){e=d[f][0];b=d[f][3];try{e.notify(N(b)?b(c):c)}catch(h){a(h)}}})}};var k=function(a,b){var c=new g;b?c.resolve(a):c.reject(a);return c.promise},l=function(a,b,c){var d=null;try{N(c)&&(d=c())}catch(e){return k(e,!1)}return d&&N(d.then)?d.then(function(){return k(a,b)},function(a){return k(a,!1)}):k(a,b)},n=function(a,b,c,d){var e=new g;e.resolve(a);return e.promise.then(b,c,d)},
p=function m(a){if(!N(a))throw h("norslvr",a);if(!(this instanceof m))return new m(a);var b=new g;a(function(a){b.resolve(a)},function(a){b.reject(a)});return b.promise};p.defer=function(){return new g};p.reject=function(a){var b=new g;b.reject(a);return b.promise};p.when=n;p.all=function(a){var b=new g,c=0,d=P(a)?[]:{};q(a,function(a,e){c++;n(a).then(function(a){d.hasOwnProperty(e)||(d[e]=a,--c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});0===c&&b.resolve(d);return b.promise};
return p}function Re(){this.$get=["$window","$timeout",function(b,a){var c=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame,d=b.cancelAnimationFrame||b.webkitCancelAnimationFrame||b.mozCancelAnimationFrame||b.webkitCancelRequestAnimationFrame,e=!!c,f=e?function(a){var b=c(a);return function(){d(b)}}:function(b){var c=a(b,16.66,!1);return function(){a.cancel(c)}};f.supported=e;return f}]}function Ge(){var b=10,a=U("$rootScope"),c=null,d=null;this.digestTtl=function(a){arguments.length&&
(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse","$browser",function(e,f,g,h){function k(){this.$id=++db;this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this.$root=this;this.$$destroyed=!1;this.$$listeners={};this.$$listenerCount={};this.$$isolateBindings=null}function l(b){if(s.$$phase)throw a("inprog",s.$$phase);s.$$phase=b}function n(a,b,c){do a.$$listenerCount[c]-=b,0===a.$$listenerCount[c]&&delete a.$$listenerCount[c];
while(a=a.$parent)}function p(){}function r(){for(;t.length;)try{t.shift()()}catch(a){f(a)}d=null}function m(){null===d&&(d=h.defer(function(){s.$apply(r)}))}k.prototype={constructor:k,$new:function(a,b){function c(){d.$$destroyed=!0}var d;b=b||this;a?(d=new k,d.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$id=++db;this.$$ChildScope=null},this.$$ChildScope.prototype=
this),d=new this.$$ChildScope);d.$parent=b;d.$$prevSibling=b.$$childTail;b.$$childHead?(b.$$childTail.$$nextSibling=d,b.$$childTail=d):b.$$childHead=b.$$childTail=d;(a||b!=this)&&d.$on("$destroy",c);return d},$watch:function(a,b,d){var e=g(a);if(e.$$watchDelegate)return e.$$watchDelegate(this,b,d,e);var f=this.$$watchers,h={fn:b,last:p,get:e,exp:a,eq:!!d};c=null;N(b)||(h.fn=x);f||(f=this.$$watchers=[]);f.unshift(h);return function(){Ra(f,h);c=null}},$watchGroup:function(a,b){function c(){h=!1;k?(k=
!1,b(e,e,g)):b(e,d,g)}var d=Array(a.length),e=Array(a.length),f=[],g=this,h=!1,k=!0;if(!a.length){var l=!0;g.$evalAsync(function(){l&&b(e,e,g)});return function(){l=!1}}if(1===a.length)return this.$watch(a[0],function(a,c,f){e[0]=a;d[0]=c;b(e,a===c?e:d,f)});q(a,function(a,b){var k=g.$watch(a,function(a,f){e[b]=a;d[b]=f;h||(h=!0,g.$evalAsync(c))});f.push(k)});return function(){for(;f.length;)f.shift()()}},$watchCollection:function(a,b){function c(a){e=a;var b,d,g,h;if(R(e))if(Na(e))for(f!==m&&(f=m,
s=f.length=0,l++),a=e.length,s!==a&&(l++,f.length=s=a),b=0;b<a;b++)h=f[b],g=e[b],d=h!==h&&g!==g,d||h===g||(l++,f[b]=g);else{f!==p&&(f=p={},s=0,l++);a=0;for(b in e)e.hasOwnProperty(b)&&(a++,g=e[b],h=f[b],b in f?(d=h!==h&&g!==g,d||h===g||(l++,f[b]=g)):(s++,f[b]=g,l++));if(s>a)for(b in l++,f)e.hasOwnProperty(b)||(s--,delete f[b])}else f!==e&&(f=e,l++);return l}c.$stateful=!0;var d=this,e,f,h,k=1<b.length,l=0,n=g(a,c),m=[],p={},r=!0,s=0;return this.$watch(n,function(){r?(r=!1,b(e,e,d)):b(e,h,d);if(k)if(R(e))if(Na(e)){h=
Array(e.length);for(var a=0;a<e.length;a++)h[a]=e[a]}else for(a in h={},e)Eb.call(e,a)&&(h[a]=e[a]);else h=e})},$digest:function(){var e,g,k,n,m,q,t=b,O,L=[],G,V,A;l("$digest");h.$$checkUrlChange();this===s&&null!==d&&(h.defer.cancel(d),r());c=null;do{q=!1;for(O=this;v.length;){try{A=v.shift(),A.scope.$eval(A.expression)}catch(w){f(w)}c=null}a:do{if(n=O.$$watchers)for(m=n.length;m--;)try{if(e=n[m])if((g=e.get(O))!==(k=e.last)&&!(e.eq?qa(g,k):"number"===typeof g&&"number"===typeof k&&isNaN(g)&&isNaN(k)))q=
!0,c=e,e.last=e.eq?Fa(g,null):g,e.fn(g,k===p?g:k,O),5>t&&(G=4-t,L[G]||(L[G]=[]),V=N(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,V+="; newVal: "+ra(g)+"; oldVal: "+ra(k),L[G].push(V));else if(e===c){q=!1;break a}}catch(y){f(y)}if(!(n=O.$$childHead||O!==this&&O.$$nextSibling))for(;O!==this&&!(n=O.$$nextSibling);)O=O.$parent}while(O=n);if((q||v.length)&&!t--)throw s.$$phase=null,a("infdig",b,ra(L));}while(q||v.length);for(s.$$phase=null;J.length;)try{J.shift()()}catch(x){f(x)}},$destroy:function(){if(!this.$$destroyed){var a=
this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;if(this!==s){for(var b in this.$$listenerCount)n(this,this.$$listenerCount[b],b);a.$$childHead==this&&(a.$$childHead=this.$$nextSibling);a.$$childTail==this&&(a.$$childTail=this.$$prevSibling);this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling);this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling);this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=x;this.$on=this.$watch=this.$watchGroup=
function(){return x};this.$$listeners={};this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}}},$eval:function(a,b){return g(a)(this,b)},$evalAsync:function(a){s.$$phase||v.length||h.defer(function(){v.length&&s.$digest()});v.push({scope:this,expression:a})},$$postDigest:function(a){J.push(a)},$apply:function(a){try{return l("$apply"),this.$eval(a)}catch(b){f(b)}finally{s.$$phase=null;try{s.$digest()}catch(c){throw f(c),c;}}},$applyAsync:function(a){function b(){c.$eval(a)}
var c=this;a&&t.push(b);m()},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);var d=this;do d.$$listenerCount[a]||(d.$$listenerCount[a]=0),d.$$listenerCount[a]++;while(d=d.$parent);var e=this;return function(){c[c.indexOf(b)]=null;n(e,1,a)}},$emit:function(a,b){var c=[],d,e=this,g=!1,h={name:a,targetScope:e,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},k=gb([h],arguments,1),l,n;do{d=e.$$listeners[a]||c;h.currentScope=
e;l=0;for(n=d.length;l<n;l++)if(d[l])try{d[l].apply(null,k)}catch(m){f(m)}else d.splice(l,1),l--,n--;if(g)return h.currentScope=null,h;e=e.$parent}while(e);h.currentScope=null;return h},$broadcast:function(a,b){var c=this,d=this,e={name:a,targetScope:this,preventDefault:function(){e.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[a])return e;for(var g=gb([e],arguments,1),h,k;c=d;){e.currentScope=c;d=c.$$listeners[a]||[];h=0;for(k=d.length;h<k;h++)if(d[h])try{d[h].apply(null,g)}catch(l){f(l)}else d.splice(h,
1),h--,k--;if(!(d=c.$$listenerCount[a]&&c.$$childHead||c!==this&&c.$$nextSibling))for(;c!==this&&!(d=c.$$nextSibling);)c=c.$parent}e.currentScope=null;return e}};var s=new k,v=s.$$asyncQueue=[],J=s.$$postDigestQueue=[],t=s.$$applyAsyncQueue=[];return s}]}function Jd(){var b=/^\s*(https?|ftp|mailto|tel|file):/,a=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(a){return w(a)?(b=a,this):b};this.imgSrcSanitizationWhitelist=function(b){return w(b)?(a=b,this):a};this.$get=
function(){return function(c,d){var e=d?a:b,f;if(!ba||8<=ba)if(f=ya(c).href,""!==f&&!f.match(e))return"unsafe:"+f;return c}}}function kf(b){if("self"===b)return b;if(F(b)){if(-1<b.indexOf("***"))throw Aa("iwcard",b);b=b.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*");return new RegExp("^"+b+"$")}if(eb(b))return new RegExp("^"+b.source+"$");throw Aa("imatcher");}function Yc(b){var a=[];w(b)&&q(b,function(b){a.push(kf(b))});
return a}function Ke(){this.SCE_CONTEXTS=ka;var b=["self"],a=[];this.resourceUrlWhitelist=function(a){arguments.length&&(b=Yc(a));return b};this.resourceUrlBlacklist=function(b){arguments.length&&(a=Yc(b));return a};this.$get=["$injector",function(c){function d(a,b){return"self"===a?Oc(b):!!a.exec(b.href)}function e(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}};a&&(b.prototype=new a);b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()};b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()};
return b}var f=function(a){throw Aa("unsafe");};c.has("$sanitize")&&(f=c.get("$sanitize"));var g=e(),h={};h[ka.HTML]=e(g);h[ka.CSS]=e(g);h[ka.URL]=e(g);h[ka.JS]=e(g);h[ka.RESOURCE_URL]=e(h[ka.URL]);return{trustAs:function(a,b){var c=h.hasOwnProperty(a)?h[a]:null;if(!c)throw Aa("icontext",a,b);if(null===b||b===t||""===b)return b;if("string"!==typeof b)throw Aa("itype",a);return new c(b)},getTrusted:function(c,e){if(null===e||e===t||""===e)return e;var g=h.hasOwnProperty(c)?h[c]:null;if(g&&e instanceof
g)return e.$$unwrapTrustedValue();if(c===ka.RESOURCE_URL){var g=ya(e.toString()),p,r,m=!1;p=0;for(r=b.length;p<r;p++)if(d(b[p],g)){m=!0;break}if(m)for(p=0,r=a.length;p<r;p++)if(d(a[p],g)){m=!1;break}if(m)return e;throw Aa("insecurl",e.toString());}if(c===ka.HTML)return f(e);throw Aa("unsafe");},valueOf:function(a){return a instanceof g?a.$$unwrapTrustedValue():a}}}]}function Je(){var b=!0;this.enabled=function(a){arguments.length&&(b=!!a);return b};this.$get=["$parse","$sniffer","$sceDelegate",function(a,
c,d){if(b&&c.msie&&8>c.msieDocumentMode)throw Aa("iequirks");var e=pa(ka);e.isEnabled=function(){return b};e.trustAs=d.trustAs;e.getTrusted=d.getTrusted;e.valueOf=d.valueOf;b||(e.trustAs=e.getTrusted=function(a,b){return b},e.valueOf=Pa);e.parseAs=function(b,c){var d=a(c);return d.literal&&d.constant?d:a(c,function(a){return e.getTrusted(b,a)})};var f=e.parseAs,g=e.getTrusted,h=e.trustAs;q(ka,function(a,b){var c=S(b);e[Wa("parse_as_"+c)]=function(b){return f(a,b)};e[Wa("get_trusted_"+c)]=function(b){return g(a,
b)};e[Wa("trust_as_"+c)]=function(b){return h(a,b)}});return e}]}function Le(){this.$get=["$window","$document",function(b,a){var c={},d=Y((/android (\d+)/.exec(S((b.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((b.navigator||{}).userAgent),f=a[0]||{},g=f.documentMode,h,k=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=f.body&&f.body.style,n=!1,p=!1;if(l){for(var r in l)if(n=k.exec(r)){h=n[0];h=h.substr(0,1).toUpperCase()+h.substr(1);break}h||(h="WebkitOpacity"in l&&"webkit");n=!!("transition"in l||h+"Transition"in
l);p=!!("animation"in l||h+"Animation"in l);!d||n&&p||(n=F(f.body.style.webkitTransition),p=F(f.body.style.webkitAnimation))}return{history:!(!b.history||!b.history.pushState||4>d||e),hashchange:"onhashchange"in b&&(!g||7<g),hasEvent:function(a){if("input"==a&&9==ba)return!1;if(E(c[a])){var b=f.createElement("div");c[a]="on"+a in b}return c[a]},csp:Ua(),vendorPrefix:h,transitions:n,animations:p,android:d,msie:ba,msieDocumentMode:g}}]}function Ne(){this.$get=["$templateCache","$http","$q",function(b,
a,c){function d(e,f){function g(){h.totalPendingRequests--;if(!f)throw ja("tpload",e);return c.reject()}var h=d;h.totalPendingRequests++;return a.get(e,{cache:b}).then(function(a){a=a.data;if(!a||0===a.length)return g();h.totalPendingRequests--;b.put(e,a);return a},g)}d.totalPendingRequests=0;return d}]}function Oe(){this.$get=["$rootScope","$browser","$location",function(b,a,c){return{findBindings:function(a,b,c){a=a.getElementsByClassName("ng-binding");var g=[];q(a,function(a){var d=Ca.element(a).data("$binding");
d&&q(d,function(d){c?(new RegExp("(^|\\s)"+b+"(\\s|\\||$)")).test(d)&&g.push(a):-1!=d.indexOf(b)&&g.push(a)})});return g},findModels:function(a,b,c){for(var g=["ng-","data-ng-","ng\\:"],h=0;h<g.length;++h){var k=a.querySelectorAll("["+g[h]+"model"+(c?"=":"*=")+'"'+b+'"]');if(k.length)return k}},getLocation:function(){return c.url()},setLocation:function(a){a!==c.url()&&(c.url(a),b.$digest())},whenStable:function(b){a.notifyWhenNoOutstandingRequests(b)}}}]}function Pe(){this.$get=["$rootScope","$browser",
"$q","$$q","$exceptionHandler",function(b,a,c,d,e){function f(f,k,l){var n=w(l)&&!l,p=(n?d:c).defer(),r=p.promise;k=a.defer(function(){try{p.resolve(f())}catch(a){p.reject(a),e(a)}finally{delete g[r.$$timeoutId]}n||b.$apply()},k);r.$$timeoutId=k;g[k]=p;return r}var g={};f.cancel=function(b){return b&&b.$$timeoutId in g?(g[b.$$timeoutId].reject("canceled"),delete g[b.$$timeoutId],a.defer.cancel(b.$$timeoutId)):!1};return f}]}function ya(b,a){var c=b;ba&&(ca.setAttribute("href",c),c=ca.href);ca.setAttribute("href",
c);return{href:ca.href,protocol:ca.protocol?ca.protocol.replace(/:$/,""):"",host:ca.host,search:ca.search?ca.search.replace(/^\?/,""):"",hash:ca.hash?ca.hash.replace(/^#/,""):"",hostname:ca.hostname,port:ca.port,pathname:"/"===ca.pathname.charAt(0)?ca.pathname:"/"+ca.pathname}}function Oc(b){b=F(b)?ya(b):b;return b.protocol===Zc.protocol&&b.host===Zc.host}function Qe(){this.$get=ga(Q)}function uc(b){function a(c,d){if(R(c)){var e={};q(c,function(b,c){e[c]=a(c,b)});return e}return b.factory(c+"Filter",
d)}this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+"Filter")}}];a("currency",$c);a("date",ad);a("filter",lf);a("json",mf);a("limitTo",nf);a("lowercase",of);a("number",bd);a("orderBy",cd);a("uppercase",pf)}function lf(){return function(b,a,c){if(!P(b))return b;var d=typeof c,e=[];e.check=function(a,b){for(var c=0;c<e.length;c++)if(!e[c](a,b))return!1;return!0};"function"!==d&&(c="boolean"===d&&c?function(a,b){return Ca.equals(a,b)}:function(a,b){if(a&&b&&"object"===
typeof a&&"object"===typeof b){for(var d in a)if("$"!==d.charAt(0)&&Eb.call(a,d)&&c(a[d],b[d]))return!0;return!1}b=(""+b).toLowerCase();return-1<(""+a).toLowerCase().indexOf(b)});var f=function(a,b){if("string"==typeof b&&"!"===b.charAt(0))return!f(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return c(a,b);case "object":switch(typeof b){case "object":return c(a,b);default:for(var d in a)if("$"!==d.charAt(0)&&f(a[d],b))return!0}return!1;case "array":for(d=0;d<a.length;d++)if(f(a[d],
b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var g in a)(function(b){"undefined"!==typeof a[b]&&e.push(function(c){return f("$"==b?c:c&&c[b],a[b])})})(g);break;case "function":e.push(a);break;default:return b}d=[];for(g=0;g<b.length;g++){var h=b[g];e.check(h,g)&&d.push(h)}return d}}function $c(b){var a=b.NUMBER_FORMATS;return function(b,d){E(d)&&(d=a.CURRENCY_SYM);return null==b?b:dd(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,
2).replace(/\u00A4/g,d)}}function bd(b){var a=b.NUMBER_FORMATS;return function(b,d){return null==b?b:dd(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function dd(b,a,c,d,e){if(!isFinite(b)||R(b))return"";var f=0>b;b=Math.abs(b);var g=b+"",h="",k=[],l=!1;if(-1!==g.indexOf("e")){var n=g.match(/([\d\.]+)e(-?)(\d+)/);n&&"-"==n[2]&&n[3]>e+1?(g="0",b=0):(h=g,l=!0)}if(l)0<e&&-1<b&&1>b&&(h=b.toFixed(e));else{g=(g.split(ed)[1]||"").length;E(e)&&(e=Math.min(Math.max(a.minFrac,g),a.maxFrac));b=+(Math.round(+(b.toString()+
"e"+e)).toString()+"e"+-e);0===b&&(f=!1);b=(""+b).split(ed);g=b[0];b=b[1]||"";var n=0,p=a.lgSize,r=a.gSize;if(g.length>=p+r)for(n=g.length-p,l=0;l<n;l++)0===(n-l)%r&&0!==l&&(h+=c),h+=g.charAt(l);for(l=n;l<g.length;l++)0===(g.length-l)%p&&0!==l&&(h+=c),h+=g.charAt(l);for(;b.length<e;)b+="0";e&&"0"!==e&&(h+=d+b.substr(0,e))}k.push(f?a.negPre:a.posPre);k.push(h);k.push(f?a.negSuf:a.posSuf);return k.join("")}function yb(b,a,c){var d="";0>b&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-
a));return d+b}function da(b,a,c,d){c=c||0;return function(e){e=e["get"+b]();if(0<c||e>-c)e+=c;0===e&&-12==c&&(e=12);return yb(e,a,d)}}function zb(b,a){return function(c,d){var e=c["get"+b](),f=lb(a?"SHORT"+b:b);return d[f][e]}}function fd(b){var a=(new Date(b,0,1)).getDay();return new Date(b,0,(4>=a?5:12)-a)}function gd(b){return function(a){var c=fd(a.getFullYear());a=+new Date(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))-+c;a=1+Math.round(a/6048E5);return yb(a,b)}}function ad(b){function a(a){var b;
if(b=a.match(c)){a=new Date(0);var f=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,k=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=Y(b[9]+b[10]),g=Y(b[9]+b[11]));h.call(a,Y(b[1]),Y(b[2])-1,Y(b[3]));f=Y(b[4]||0)-f;g=Y(b[5]||0)-g;h=Y(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));k.call(a,f,g,h,b)}return a}var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,e,f){var g="",h=[],k,l;e=e||"mediumDate";e=b.DATETIME_FORMATS[e]||e;F(c)&&
(c=qf.test(c)?Y(c):a(c));ea(c)&&(c=new Date(c));if(!ha(c))return c;for(;e;)(l=rf.exec(e))?(h=gb(h,l,1),e=h.pop()):(h.push(e),e=null);f&&"UTC"===f&&(c=new Date(c.getTime()),c.setMinutes(c.getMinutes()+c.getTimezoneOffset()));q(h,function(a){k=sf[a];g+=k?k(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function mf(){return function(b){return ra(b,!0)}}function nf(){return function(b,a){ea(b)&&(b=b.toString());if(!P(b)&&!F(b))return b;a=Infinity===Math.abs(Number(a))?Number(a):
Y(a);if(F(b))return a?0<=a?b.slice(0,a):b.slice(a,b.length):"";var c=[],d,e;a>b.length?a=b.length:a<-b.length&&(a=-b.length);0<a?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function cd(b){return function(a,c,d){function e(a,b){return b?function(b,c){return a(c,b)}:a}function f(a,b){var c=typeof a,d=typeof b;return c==d?(ha(a)&&ha(b)&&(a=a.valueOf(),b=b.valueOf()),"string"==c&&(a=a.toLowerCase(),b=b.toLowerCase()),a===b?0:a<b?-1:1):c<d?-1:1}if(!Na(a)||!c)return a;c=P(c)?
c:[c];c=c.map(function(a){var c=!1,d=a||Pa;if(F(a)){if("+"==a.charAt(0)||"-"==a.charAt(0))c="-"==a.charAt(0),a=a.substring(1);d=b(a);if(d.constant){var g=d();return e(function(a,b){return f(a[g],b[g])},c)}}return e(function(a,b){return f(d(a),d(b))},c)});for(var g=[],h=0;h<a.length;h++)g.push(a[h]);return g.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(0!==e)return e}return 0},d))}}function Da(b){N(b)&&(b={link:b});b.restrict=b.restrict||"AC";return ga(b)}function hd(b,a,c,d,
e){var f=this,g=[],h=f.$$parentForm=b.parent().controller("form")||$a;f.$error={};f.$$success={};f.$pending=t;f.$name=e(a.name||a.ngForm||"")(c);f.$dirty=!1;f.$pristine=!0;f.$valid=!0;f.$invalid=!1;f.$submitted=!1;h.$addControl(f);f.$rollbackViewValue=function(){q(g,function(a){a.$rollbackViewValue()})};f.$commitViewValue=function(){q(g,function(a){a.$commitViewValue()})};f.$addControl=function(a){Ha(a.$name,"input");g.push(a);a.$name&&(f[a.$name]=a)};f.$$renameControl=function(a,b){var c=a.$name;
f[c]===a&&delete f[c];f[b]=a;a.$name=b};f.$removeControl=function(a){a.$name&&f[a.$name]===a&&delete f[a.$name];q(f.$pending,function(b,c){f.$setValidity(c,null,a)});q(f.$error,function(b,c){f.$setValidity(c,null,a)});Ra(g,a)};id({ctrl:this,$element:b,set:function(a,b,c){var d=a[b];d?-1===d.indexOf(c)&&d.push(c):a[b]=[c]},unset:function(a,b,c){var d=a[b];d&&(Ra(d,c),0===d.length&&delete a[b])},parentForm:h,$animate:d});f.$setDirty=function(){d.removeClass(b,Ma);d.addClass(b,Ab);f.$dirty=!0;f.$pristine=
!1;h.$setDirty()};f.$setPristine=function(){d.setClass(b,Ma,Ab+" ng-submitted");f.$dirty=!1;f.$pristine=!0;f.$submitted=!1;q(g,function(a){a.$setPristine()})};f.$setUntouched=function(){q(g,function(a){a.$setUntouched()})};f.$setSubmitted=function(){d.addClass(b,"ng-submitted");f.$submitted=!0;h.$setSubmitted()}}function Zb(b){b.$formatters.push(function(a){return b.$isEmpty(a)?a:a.toString()})}function ab(b,a,c,d,e,f){a.prop("validity");var g=a[0].placeholder,h={},k=S(a[0].type);if(!e.android){var l=
!1;a.on("compositionstart",function(a){l=!0});a.on("compositionend",function(){l=!1;n()})}var n=function(b){if(!l){var e=a.val(),f=b&&b.type;ba&&"input"===(b||h).type&&a[0].placeholder!==g?g=a[0].placeholder:("password"===k||c.ngTrim&&"false"===c.ngTrim||(e=X(e)),(d.$viewValue!==e||""===e&&d.$$hasNativeValidators)&&d.$setViewValue(e,f))}};if(e.hasEvent("input"))a.on("input",n);else{var p,r=function(a){p||(p=f.defer(function(){n(a);p=null}))};a.on("keydown",function(a){var b=a.keyCode;91===b||15<b&&
19>b||37<=b&&40>=b||r(a)});if(e.hasEvent("paste"))a.on("paste cut",r)}a.on("change",n);d.$render=function(){a.val(d.$isEmpty(d.$modelValue)?"":d.$viewValue)}}function Bb(b,a){return function(c,d){var e,f;if(ha(c))return c;if(F(c)){'"'==c.charAt(0)&&'"'==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1));if(tf.test(c))return new Date(c);b.lastIndex=0;if(e=b.exec(c))return e.shift(),f=d?{yyyy:d.getFullYear(),MM:d.getMonth()+1,dd:d.getDate(),HH:d.getHours(),mm:d.getMinutes(),ss:d.getSeconds(),sss:d.getMilliseconds()/
1E3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},q(e,function(b,c){c<a.length&&(f[a[c]]=+b)}),new Date(f.yyyy,f.MM-1,f.dd,f.HH,f.mm,f.ss||0,1E3*f.sss||0)}return NaN}}function bb(b,a,c,d){return function(e,f,g,h,k,l,n){function p(a){return w(a)?ha(a)?a:c(a):t}jd(e,f,g,h);ab(e,f,g,h,k,l);var r=h&&h.$options&&h.$options.timezone,m;h.$$parserName=b;h.$parsers.push(function(b){return h.$isEmpty(b)?null:a.test(b)?(b=c(b,m),"UTC"===r&&b.setMinutes(b.getMinutes()-b.getTimezoneOffset()),b):t});h.$formatters.push(function(a){if(h.$isEmpty(a))m=
null;else{if(!ha(a))throw Cb("datefmt",a);if((m=a)&&"UTC"===r){var b=6E4*m.getTimezoneOffset();m=new Date(m.getTime()+b)}return n("date")(a,d,r)}return""});if(w(g.min)||g.ngMin){var q;h.$validators.min=function(a){return h.$isEmpty(a)||E(q)||c(a)>=q};g.$observe("min",function(a){q=p(a);h.$validate()})}if(w(g.max)||g.ngMax){var v;h.$validators.max=function(a){return h.$isEmpty(a)||E(v)||c(a)<=v};g.$observe("max",function(a){v=p(a);h.$validate()})}h.$isEmpty=function(a){return!a||a.getTime&&a.getTime()!==
a.getTime()}}}function jd(b,a,c,d){(d.$$hasNativeValidators=R(a[0].validity))&&d.$parsers.push(function(b){var c=a.prop("validity")||{};return c.badInput&&!c.typeMismatch?t:b})}function kd(b,a,c,d,e){if(w(d)){b=b(d);if(!b.constant)throw U("ngModel")("constexpr",c,d);return b(a)}return e}function id(b){function a(a,b){b&&!f[a]?(l.addClass(e,a),f[a]=!0):!b&&f[a]&&(l.removeClass(e,a),f[a]=!1)}function c(b,c){b=b?"-"+Hb(b,"-"):"";a(cb+b,!0===c);a(ld+b,!1===c)}var d=b.ctrl,e=b.$element,f={},g=b.set,h=
b.unset,k=b.parentForm,l=b.$animate;f[ld]=!(f[cb]=e.hasClass(cb));d.$setValidity=function(b,e,f){e===t?(d.$pending||(d.$pending={}),g(d.$pending,b,f)):(d.$pending&&h(d.$pending,b,f),md(d.$pending)&&(d.$pending=t));fb(e)?e?(h(d.$error,b,f),g(d.$$success,b,f)):(g(d.$error,b,f),h(d.$$success,b,f)):(h(d.$error,b,f),h(d.$$success,b,f));d.$pending?(a(nd,!0),d.$valid=d.$invalid=t,c("",null)):(a(nd,!1),d.$valid=md(d.$error),d.$invalid=!d.$valid,c("",d.$valid));e=d.$pending&&d.$pending[b]?t:d.$error[b]?!1:
d.$$success[b]?!0:null;c(b,e);k.$setValidity(b,e,d)}}function md(b){if(b)for(var a in b)return!1;return!0}function $b(b,a){b="ngClass"+b;return["$animate",function(c){function d(a,b){var c=[],d=0;a:for(;d<a.length;d++){for(var e=a[d],n=0;n<b.length;n++)if(e==b[n])continue a;c.push(e)}return c}function e(a){if(!P(a)){if(F(a))return a.split(" ");if(R(a)){var b=[];q(a,function(a,c){a&&(b=b.concat(c.split(" ")))});return b}}return a}return{restrict:"AC",link:function(f,g,h){function k(a,b){var c=g.data("$classCounts")||
{},d=[];q(a,function(a){if(0<b||c[a])c[a]=(c[a]||0)+b,c[a]===+(0<b)&&d.push(a)});g.data("$classCounts",c);return d.join(" ")}function l(b){if(!0===a||f.$index%2===a){var l=e(b||[]);if(!n){var m=k(l,1);h.$addClass(m)}else if(!qa(b,n)){var q=e(n),m=d(l,q),l=d(q,l),m=k(m,1),l=k(l,-1);m&&m.length&&c.addClass(g,m);l&&l.length&&c.removeClass(g,l)}}n=pa(b)}var n;f.$watch(h[b],l,!0);h.$observe("class",function(a){l(f.$eval(h[b]))});"ngClass"!==b&&f.$watch("$index",function(c,d){var g=c&1;if(g!==(d&1)){var l=
e(f.$eval(h[b]));g===a?(g=k(l,1),h.$addClass(g)):(g=k(l,-1),h.$removeClass(g))}})}}}]}var uf=/^\/(.+)\/([a-z]*)$/,S=function(b){return F(b)?b.toLowerCase():b},Eb=Object.prototype.hasOwnProperty,lb=function(b){return F(b)?b.toUpperCase():b},ba,y,la,Ta=[].slice,vf=[].push,Ea=Object.prototype.toString,Sa=U("ng"),Ca=Q.angular||(Q.angular={}),Va,db=0;ba=Y((/msie (\d+)/.exec(S(navigator.userAgent))||[])[1]);isNaN(ba)&&(ba=Y((/trident\/.*; rv:(\d+)/.exec(S(navigator.userAgent))||[])[1]));x.$inject=[];Pa.$inject=
[];var P=Array.isArray,X=function(b){return F(b)?b.trim():b},Ua=function(){if(w(Ua.isActive_))return Ua.isActive_;var b=!(!$.querySelector("[ng-csp]")&&!$.querySelector("[data-ng-csp]"));if(!b)try{new Function("")}catch(a){b=!0}return Ua.isActive_=b},ib=["ng-","data-ng-","ng:","x-ng-"],Dd=/[A-Z]/g,lc=!1,Ib,Hd={full:"1.3.0-rc.4",major:1,minor:3,dot:0,codeName:"unicorn-hydrafication"};T.expando="ng339";var rb=T.cache={},Ye=1;T._data=function(b){return this.cache[b[this.expando]]||{}};var Te=/([\:\-\_]+(.))/g,
Ue=/^moz([A-Z])/,wf={mouseleave:"mouseout",mouseenter:"mouseover"},Lb=U("jqLite"),Xe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Kb=/<|&#?\w+;/,Ve=/<([\w:]+)/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ia={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ia.optgroup=ia.option;ia.tbody=
ia.tfoot=ia.colgroup=ia.caption=ia.thead;ia.th=ia.td;var Ga=T.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;"complete"===$.readyState?setTimeout(a):(this.on("DOMContentLoaded",a),T(Q).on("load",a),this.on("DOMContentLoaded",a))},toString:function(){var b=[];q(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return 0<=b?y(this[b]):y(this[this.length+b])},length:0,push:vf,sort:[].sort,splice:[].splice},tb={};q("multiple selected checked disabled readOnly required open".split(" "),
function(b){tb[S(b)]=b});var Dc={};q("input select option textarea button form details".split(" "),function(b){Dc[b]=!0});var Ec={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};q({data:Nb,removeData:pb},function(b,a){T[a]=b});q({data:Nb,inheritedData:sb,scope:function(b){return y.data(b,"$scope")||sb(b.parentNode||b,["$isolateScope","$scope"])},isolateScope:function(b){return y.data(b,"$isolateScope")||y.data(b,"$isolateScopeNoTemplate")},controller:zc,
injector:function(b){return sb(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:mb,css:function(b,a,c){a=Wa(a);if(w(c))b.style[a]=c;else return b.style[a]},attr:function(b,a,c){var d=S(a);if(tb[d])if(w(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||x).specified?d:t;else if(w(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),null===b?t:b},prop:function(b,a,c){if(w(c))b[a]=c;else return b[a]},
text:function(){function b(a,b){if(E(b)){var d=a.nodeType;return 1===d||3===d?a.textContent:""}a.textContent=b}b.$dv="";return b}(),val:function(b,a){if(E(a)){if(b.multiple&&"select"===oa(b)){var c=[];q(b.options,function(a){a.selected&&c.push(a.value||a.text)});return 0===c.length?null:c}return b.value}b.value=a},html:function(b,a){if(E(a))return b.innerHTML;ob(b,!0);b.innerHTML=a},empty:Ac},function(b,a){T.prototype[a]=function(a,d){var e,f,g=this.length;if(b!==Ac&&(2==b.length&&b!==mb&&b!==zc?
a:d)===t){if(R(a)){for(e=0;e<g;e++)if(b===Nb)b(this[e],a);else for(f in a)b(this[e],f,a[f]);return this}e=b.$dv;g=e===t?Math.min(g,1):g;for(f=0;f<g;f++){var h=b(this[f],a,d);e=e?e+h:h}return e}for(e=0;e<g;e++)b(this[e],a,d);return this}});q({removeData:pb,on:function a(c,d,e,f){if(w(f))throw Lb("onargs");if(vc(c)){var g=qb(c,!0);f=g.events;var h=g.handle;h||(h=g.handle=$e(c,f));for(var g=0<=d.indexOf(" ")?d.split(" "):[d],k=g.length;k--;){d=g[k];var l=f[d];l||(f[d]=[],"mouseenter"===d||"mouseleave"===
d?a(c,wf[d],function(a){var c=a.relatedTarget;c&&(c===this||this.contains(c))||h(a,d)}):"$destroy"!==d&&c.addEventListener(d,h,!1),l=f[d]);l.push(e)}}},off:yc,one:function(a,c,d){a=y(a);a.on(c,function f(){a.off(c,d);a.off(c,f)});a.on(c,d)},replaceWith:function(a,c){var d,e=a.parentNode;ob(a);q(new T(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];q(a.childNodes,function(a){1===a.nodeType&&c.push(a)});return c},contents:function(a){return a.contentDocument||
a.childNodes||[]},append:function(a,c){var d=a.nodeType;if(1===d||11===d){c=new T(c);for(var d=0,e=c.length;d<e;d++)a.appendChild(c[d])}},prepend:function(a,c){if(1===a.nodeType){var d=a.firstChild;q(new T(c),function(c){a.insertBefore(c,d)})}},wrap:function(a,c){c=y(c).eq(0).clone()[0];var d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:Bc,detach:function(a){Bc(a,!0)},after:function(a,c){var d=a,e=a.parentNode;c=new T(c);for(var f=0,g=c.length;f<g;f++){var h=c[f];e.insertBefore(h,
d.nextSibling);d=h}},addClass:Pb,removeClass:Ob,toggleClass:function(a,c,d){c&&q(c.split(" "),function(c){var f=d;E(f)&&(f=!mb(a,c));(f?Pb:Ob)(a,c)})},parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},next:function(a){return a.nextElementSibling},find:function(a,c){return a.getElementsByTagName?a.getElementsByTagName(c):[]},clone:Mb,triggerHandler:function(a,c,d){var e,f,g=c.type||c,h=qb(a);if(h=(h=h&&h.events)&&h[g])e={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===
this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:x,type:g,target:a},c.type&&(e=z(e,c)),c=pa(h),f=d?[e].concat(d):[e],q(c,function(c){e.isImmediatePropagationStopped()||c.apply(a,f)})}},function(a,c){T.prototype[c]=function(c,e,f){for(var g,h=0,k=this.length;h<k;h++)E(g)?(g=a(this[h],c,e,f),w(g)&&(g=y(g))):xc(g,a(this[h],c,e,f));return w(g)?g:this};T.prototype.bind=
T.prototype.on;T.prototype.unbind=T.prototype.off});Xa.prototype={put:function(a,c){this[Ia(a,this.nextUid)]=c},get:function(a){return this[Ia(a,this.nextUid)]},remove:function(a){var c=this[a=Ia(a,this.nextUid)];delete this[a];return c}};var Gc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,bf=/,/,cf=/^\s*(_?)(\S+?)\1\s*$/,Fc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Ja=U("$injector");Gb.$$annotate=Qb;var xf=U("$animate"),te=["$provide",function(a){this.$$selectors={};this.register=function(c,d){var e=c+"-animation";
if(c&&"."!=c.charAt(0))throw xf("notcsel",c);this.$$selectors[c.substr(1)]=e;a.factory(e,d)};this.classNameFilter=function(a){1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null);return this.$$classNameFilter};this.$get=["$$q","$$asyncCallback",function(a,d){function e(){f||(f=a.defer(),d(function(){f.resolve();f=null}));return f.promise}var f;return{enter:function(a,c,d){d?d.after(a):c.prepend(a);return e()},leave:function(a){a.remove();return e()},move:function(a,c,d){return this.enter(a,
c,d)},addClass:function(a,c){c=F(c)?c:P(c)?c.join(" "):"";q(a,function(a){Pb(a,c)});return e()},removeClass:function(a,c){c=F(c)?c:P(c)?c.join(" "):"";q(a,function(a){Ob(a,c)});return e()},setClass:function(a,c,d){this.addClass(a,c);this.removeClass(a,d);return e()},enabled:x,cancel:x}}]}],ja=U("$compile");nc.$inject=["$provide","$$sanitizeUriProvider"];var ff=/^(x[\:\-_]|data[\:\-_])/i,Tb=U("$interpolate"),yf=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,jf={http:80,https:443,ftp:21},wb=U("$location");Sc.prototype=
Wb.prototype=Rc.prototype={$$html5:!1,$$replace:!1,absUrl:xb("$$absUrl"),url:function(a){if(E(a))return this.$$url;a=yf.exec(a);a[1]&&this.path(decodeURIComponent(a[1]));(a[2]||a[1])&&this.search(a[3]||"");this.hash(a[5]||"");return this},protocol:xb("$$protocol"),host:xb("$$host"),port:xb("$$port"),path:Tc("$$path",function(a){a=a?a.toString():"";return"/"==a.charAt(0)?a:"/"+a}),search:function(a,c){switch(arguments.length){case 0:return this.$$search;case 1:if(F(a)||ea(a))a=a.toString(),this.$$search=
jc(a);else if(R(a))q(a,function(c,e){null==c&&delete a[e]}),this.$$search=a;else throw wb("isrcharg");break;default:E(c)||null===c?delete this.$$search[a]:this.$$search[a]=c}this.$$compose();return this},hash:Tc("$$hash",function(a){return a?a.toString():""}),replace:function(){this.$$replace=!0;return this}};var na=U("$parse"),zf=Function.prototype.call,Af=Function.prototype.apply,Bf=Function.prototype.bind,Db=Object.create(null);q({"null":function(){return null},"true":function(){return!0},"false":function(){return!1},
undefined:function(){}},function(a,c){a.constant=a.literal=a.sharedGetter=!0;Db[c]=a});Db["this"]=function(a){return a};Db["this"].sharedGetter=!0;var ac=z(Object.create(null),{"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return w(d)?w(e)?d+e:d:w(e)?e:t},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(w(d)?d:0)-(w(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)},"/":function(a,c,d,e){return d(a,c)/e(a,c)},"%":function(a,c,d,e){return d(a,c)%e(a,c)},"^":function(a,c,d,e){return d(a,c)^e(a,c)},"===":function(a,
c,d,e){return d(a,c)===e(a,c)},"!==":function(a,c,d,e){return d(a,c)!==e(a,c)},"==":function(a,c,d,e){return d(a,c)==e(a,c)},"!=":function(a,c,d,e){return d(a,c)!=e(a,c)},"<":function(a,c,d,e){return d(a,c)<e(a,c)},">":function(a,c,d,e){return d(a,c)>e(a,c)},"<=":function(a,c,d,e){return d(a,c)<=e(a,c)},">=":function(a,c,d,e){return d(a,c)>=e(a,c)},"&&":function(a,c,d,e){return d(a,c)&&e(a,c)},"||":function(a,c,d,e){return d(a,c)||e(a,c)},"&":function(a,c,d,e){return d(a,c)&e(a,c)},"!":function(a,
c,d){return!d(a,c)},"=":!0,"|":!0}),Cf={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Yb=function(a){this.options=a};Yb.prototype={constructor:Yb,lex:function(a){this.text=a;this.index=0;this.ch=t;for(this.tokens=[];this.index<this.text.length;)if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,
text:this.ch}),this.index++;else if(this.isWhitespace(this.ch))this.index++;else{a=this.ch+this.peek();var c=a+this.peek(2),d=ac[this.ch],e=ac[a],f=ac[c];f?(this.tokens.push({index:this.index,text:c,fn:f}),this.index+=3):e?(this.tokens.push({index:this.index,text:a,fn:e}),this.index+=2):d?(this.tokens.push({index:this.index,text:this.ch,fn:d}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(a){return-1!==a.indexOf(this.ch)},peek:function(a){a=
a||1;return this.index+a<this.text.length?this.text.charAt(this.index+a):!1},isNumber:function(a){return"0"<=a&&"9">=a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdent:function(a){return"a"<=a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,c,d){d=d||this.index;c=w(c)?"s "+c+"-"+this.index+" ["+this.text.substring(c,d)+"]":" "+d;throw na("lexerr",a,c,this.text);
},readNumber:function(){for(var a="",c=this.index;this.index<this.text.length;){var d=S(this.text.charAt(this.index));if("."==d||this.isNumber(d))a+=d;else{var e=this.peek();if("e"==d&&this.isExpOperator(e))a+=d;else if(this.isExpOperator(d)&&e&&this.isNumber(e)&&"e"==a.charAt(a.length-1))a+=d;else if(!this.isExpOperator(d)||e&&this.isNumber(e)||"e"!=a.charAt(a.length-1))break;else this.throwError("Invalid exponent")}this.index++}a*=1;this.tokens.push({index:c,text:a,constant:!0,fn:function(){return a}})},
readIdent:function(){for(var a=this.text,c="",d=this.index,e,f,g,h;this.index<this.text.length;){h=this.text.charAt(this.index);if("."===h||this.isIdent(h)||this.isNumber(h))"."===h&&(e=this.index),c+=h;else break;this.index++}e&&"."===c[c.length-1]&&(this.index--,c=c.slice(0,-1),e=c.lastIndexOf("."),-1===e&&(e=t));if(e)for(f=this.index;f<this.text.length;){h=this.text.charAt(f);if("("===h){g=c.substr(e-d+1);c=c.substr(0,e-d);this.index=f;break}if(this.isWhitespace(h))f++;else break}this.tokens.push({index:d,
text:c,fn:Db[c]||Vc(c,this.options,a)});g&&(this.tokens.push({index:e,text:"."}),this.tokens.push({index:e+1,text:g}))},readString:function(a){var c=this.index;this.index++;for(var d="",e=a,f=!1;this.index<this.text.length;){var g=this.text.charAt(this.index),e=e+g;if(f)"u"===g?(f=this.text.substring(this.index+1,this.index+5),f.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+f+"]"),this.index+=4,d+=String.fromCharCode(parseInt(f,16))):d+=Cf[g]||g,f=!1;else if("\\"===g)f=!0;else{if(g===
a){this.index++;this.tokens.push({index:c,text:e,string:d,constant:!0,fn:function(){return d}});return}d+=g}this.index++}this.throwError("Unterminated quote",c)}};var Za=function(a,c,d){this.lexer=a;this.$filter=c;this.options=d};Za.ZERO=z(function(){return 0},{sharedGetter:!0,constant:!0});Za.prototype={constructor:Za,parse:function(a){this.text=a;this.tokens=this.lexer.lex(a);a=this.statements();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);a.literal=!!a.literal;
a.constant=!!a.constant;return a},primary:function(){var a;if(this.expect("("))a=this.filterChain(),this.consume(")");else if(this.expect("["))a=this.arrayDeclaration();else if(this.expect("{"))a=this.object();else{var c=this.expect();(a=c.fn)||this.throwError("not a primary expression",c);c.constant&&(a.constant=!0,a.literal=!0)}for(var d;c=this.expect("(","[",".");)"("===c.text?(a=this.functionCall(a,d),d=null):"["===c.text?(d=a,a=this.objectIndex(a)):"."===c.text?(d=a,a=this.fieldAccess(a)):this.throwError("IMPOSSIBLE");
return a},throwError:function(a,c){throw na("syntax",c.text,a,c.index+1,this.text,this.text.substring(c.index));},peekToken:function(){if(0===this.tokens.length)throw na("ueoe",this.text);return this.tokens[0]},peek:function(a,c,d,e){if(0<this.tokens.length){var f=this.tokens[0],g=f.text;if(g===a||g===c||g===d||g===e||!(a||c||d||e))return f}return!1},expect:function(a,c,d,e){return(a=this.peek(a,c,d,e))?(this.tokens.shift(),a):!1},consume:function(a){this.expect(a)||this.throwError("is unexpected, expecting ["+
a+"]",this.peek())},unaryFn:function(a,c){return z(function(d,e){return a(d,e,c)},{constant:c.constant,inputs:[c]})},binaryFn:function(a,c,d,e){return z(function(e,g){return c(e,g,a,d)},{constant:a.constant&&d.constant,inputs:!e&&[a,d]})},statements:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.filterChain()),!this.expect(";"))return 1===a.length?a[0]:function(c,d){for(var e,f=0,g=a.length;f<g;f++)e=a[f](c,d);return e}},filterChain:function(){for(var a=
this.expression();this.expect("|");)a=this.filter(a);return a},filter:function(a){var c=this.expect(),d=this.$filter(c.text),e,f;if(this.peek(":"))for(e=[],f=[];this.expect(":");)e.push(this.expression());c=[a].concat(e||[]);return z(function(c,h){var k=a(c,h);if(f){f[0]=k;for(k=e.length;k--;)f[k+1]=e[k](c,h);return d.apply(t,f)}return d(k)},{constant:!d.$stateful&&c.every(Xb),inputs:!d.$stateful&&c})},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary(),c,d;
return(d=this.expect("="))?(a.assign||this.throwError("implies assignment but ["+this.text.substring(0,d.index)+"] can not be assigned to",d),c=this.ternary(),z(function(d,f){return a.assign(d,c(d,f),f)},{inputs:[a,c]})):a},ternary:function(){var a=this.logicalOR(),c,d;if(d=this.expect("?")){c=this.assignment();if(d=this.expect(":")){var e=this.assignment();return z(function(d,g){return a(d,g)?c(d,g):e(d,g)},{constant:a.constant&&c.constant&&e.constant})}this.throwError("expected :",d)}return a},
logicalOR:function(){for(var a=this.logicalAND(),c;c=this.expect("||");)a=this.binaryFn(a,c.fn,this.logicalAND(),!0);return a},logicalAND:function(){var a=this.equality(),c;if(c=this.expect("&&"))a=this.binaryFn(a,c.fn,this.logicalAND(),!0);return a},equality:function(){var a=this.relational(),c;if(c=this.expect("==","!=","===","!=="))a=this.binaryFn(a,c.fn,this.equality());return a},relational:function(){var a=this.additive(),c;if(c=this.expect("<",">","<=",">="))a=this.binaryFn(a,c.fn,this.relational());
return a},additive:function(){for(var a=this.multiplicative(),c;c=this.expect("+","-");)a=this.binaryFn(a,c.fn,this.multiplicative());return a},multiplicative:function(){for(var a=this.unary(),c;c=this.expect("*","/","%");)a=this.binaryFn(a,c.fn,this.unary());return a},unary:function(){var a;return this.expect("+")?this.primary():(a=this.expect("-"))?this.binaryFn(Za.ZERO,a.fn,this.unary()):(a=this.expect("!"))?this.unaryFn(a.fn,this.unary()):this.primary()},fieldAccess:function(a){var c=this.text,
d=this.expect().text,e=Vc(d,this.options,c);return z(function(c,d,h){return e(h||a(c,d))},{assign:function(e,g,h){(h=a(e,h))||a.assign(e,h={});return La(h,d,g,c)}})},objectIndex:function(a){var c=this.text,d=this.expression();this.consume("]");return z(function(e,f){var g=a(e,f),h=d(e,f);ma(h,c);return g?za(g[h],c):t},{assign:function(e,f,g){var h=ma(d(e,g),c);(g=za(a(e,g),c))||a.assign(e,g={});return g[h]=f}})},functionCall:function(a,c){var d=[];if(")"!==this.peekToken().text){do d.push(this.expression());
while(this.expect(","))}this.consume(")");var e=this.text,f=d.length?[]:null;return function(g,h){var k=c?c(g,h):g,l=a(g,h,k)||x;if(f)for(var n=d.length;n--;)f[n]=za(d[n](g,h),e);za(k,e);if(l){if(l.constructor===l)throw na("isecfn",e);if(l===zf||l===Af||l===Bf)throw na("isecff",e);}k=l.apply?l.apply(k,f):l(f[0],f[1],f[2],f[3],f[4]);return za(k,e)}},arrayDeclaration:function(){var a=[];if("]"!==this.peekToken().text){do{if(this.peek("]"))break;var c=this.expression();a.push(c)}while(this.expect(","))
}this.consume("]");return z(function(c,e){for(var f=[],g=0,h=a.length;g<h;g++)f.push(a[g](c,e));return f},{literal:!0,constant:a.every(Xb),inputs:a})},object:function(){var a=[],c=[];if("}"!==this.peekToken().text){do{if(this.peek("}"))break;var d=this.expect();a.push(d.string||d.text);this.consume(":");d=this.expression();c.push(d)}while(this.expect(","))}this.consume("}");return z(function(d,f){for(var g={},h=0,k=c.length;h<k;h++)g[a[h]]=c[h](d,f);return g},{literal:!0,constant:c.every(Xb),inputs:c})}};
var Wc=Object.create(null),Aa=U("$sce"),ka={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},ja=U("$compile"),ca=$.createElement("a"),Zc=ya(Q.location.href,!0);uc.$inject=["$provide"];$c.$inject=["$locale"];bd.$inject=["$locale"];var ed=".",sf={yyyy:da("FullYear",4),yy:da("FullYear",2,0,!0),y:da("FullYear",1),MMMM:zb("Month"),MMM:zb("Month",!0),MM:da("Month",2,1),M:da("Month",1,1),dd:da("Date",2),d:da("Date",1),HH:da("Hours",2),H:da("Hours",1),hh:da("Hours",2,-12),h:da("Hours",
1,-12),mm:da("Minutes",2),m:da("Minutes",1),ss:da("Seconds",2),s:da("Seconds",1),sss:da("Milliseconds",3),EEEE:zb("Day"),EEE:zb("Day",!0),a:function(a,c){return 12>a.getHours()?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=-1*a.getTimezoneOffset();return a=(0<=a?"+":"")+(yb(Math[0<a?"floor":"ceil"](a/60),2)+yb(Math.abs(a%60),2))},ww:gd(2),w:gd(1)},rf=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,qf=/^\-?\d+$/;ad.$inject=["$locale"];var of=ga(S),pf=ga(lb);cd.$inject=["$parse"];
var Kd=ga({restrict:"E",compile:function(a,c){8>=ba&&(c.href||c.name||c.$set("href",""),a.append($.createComment("IE fix")));if(!c.href&&!c.xlinkHref&&!c.name)return function(a,c){var f="[object SVGAnimatedString]"===Ea.call(c.prop("href"))?"xlink:href":"href";c.on("click",function(a){c.attr(f)||a.preventDefault()})}}}),nb={};q(tb,function(a,c){if("multiple"!=a){var d=ua("ng-"+c);nb[d]=function(){return{restrict:"A",priority:100,link:function(a,f,g){a.$watch(g[d],function(a){g.$set(c,!!a)})}}}}});
q(Ec,function(a,c){nb[c]=function(){return{priority:100,link:function(a,e,f){if("ngPattern"===c&&"/"==f.ngPattern.charAt(0)&&(e=f.ngPattern.match(uf))){f.$set("ngPattern",new RegExp(e[1],e[2]));return}a.$watch(f[c],function(a){f.$set(c,a)})}}}});q(["src","srcset","href"],function(a){var c=ua("ng-"+a);nb[c]=function(){return{priority:99,link:function(d,e,f){var g=a,h=a;"href"===a&&"[object SVGAnimatedString]"===Ea.call(e.prop("href"))&&(h="xlinkHref",f.$attr[h]="xlink:href",g=null);f.$observe(c,function(c){c?
(f.$set(h,c),ba&&g&&e.prop(g,f[h])):"href"===a&&f.$set(h,null)})}}}});var $a={$addControl:x,$$renameControl:function(a,c){a.$name=c},$removeControl:x,$setValidity:x,$$setPending:x,$setDirty:x,$setPristine:x,$setSubmitted:x,$$clearControlValidity:x};hd.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var od=function(a){return["$timeout",function(c){return{name:"form",restrict:a?"EAC":"E",controller:hd,compile:function(a){a.addClass(Ma).addClass(cb);return{pre:function(a,d,g,h){if(!g.action){var k=
function(c){a.$apply(function(){h.$commitViewValue();h.$setSubmitted()});c.preventDefault?c.preventDefault():c.returnValue=!1};d[0].addEventListener("submit",k,!1);d.on("$destroy",function(){c(function(){d[0].removeEventListener("submit",k,!1)},0,!1)})}var l=h.$$parentForm,n=h.$name;n&&(La(a,n,h,n),g.$observe(g.name?"name":"ngForm",function(c){n!==c&&(La(a,n,t,n),n=c,La(a,n,h,n),l.$$renameControl(h,n))}));if(l!==$a)d.on("$destroy",function(){l.$removeControl(h);n&&La(a,n,t,n);z(h,$a)})}}}}}]},Ld=
od(),Yd=od(!0),tf=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Df=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Ef=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Ff=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,pd=/^(\d{4})-(\d{2})-(\d{2})$/,qd=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,bc=/^(\d{4})-W(\d\d)$/,rd=/^(\d{4})-(\d\d)$/,sd=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,
Gf=/(\s+|^)default(\s+|$)/,Cb=new U("ngModel"),td={text:function(a,c,d,e,f,g){ab(a,c,d,e,f,g);Zb(e)},date:bb("date",pd,Bb(pd,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":bb("datetimelocal",qd,Bb(qd,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:bb("time",sd,Bb(sd,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:bb("week",bc,function(a,c){if(ha(a))return a;if(F(a)){bc.lastIndex=0;var d=bc.exec(a);if(d){var e=+d[1],f=+d[2],g=d=0,h=0,k=0,l=fd(e),f=7*(f-1);c&&(d=c.getHours(),
g=c.getMinutes(),h=c.getSeconds(),k=c.getMilliseconds());return new Date(e,0,l.getDate()+f,d,g,h,k)}}return NaN},"yyyy-Www"),month:bb("month",rd,Bb(rd,["yyyy","MM"]),"yyyy-MM"),number:function(a,c,d,e,f,g){jd(a,c,d,e);ab(a,c,d,e,f,g);e.$$parserName="number";e.$parsers.push(function(a){return e.$isEmpty(a)?null:Ff.test(a)?parseFloat(a):t});e.$formatters.push(function(a){if(!e.$isEmpty(a)){if(!ea(a))throw Cb("numfmt",a);a=a.toString()}return a});if(d.min||d.ngMin){var h;e.$validators.min=function(a){return e.$isEmpty(a)||
E(h)||a>=h};d.$observe("min",function(a){w(a)&&!ea(a)&&(a=parseFloat(a,10));h=ea(a)&&!isNaN(a)?a:t;e.$validate()})}if(d.max||d.ngMax){var k;e.$validators.max=function(a){return e.$isEmpty(a)||E(k)||a<=k};d.$observe("max",function(a){w(a)&&!ea(a)&&(a=parseFloat(a,10));k=ea(a)&&!isNaN(a)?a:t;e.$validate()})}},url:function(a,c,d,e,f,g){ab(a,c,d,e,f,g);Zb(e);e.$$parserName="url";e.$validators.url=function(a){return e.$isEmpty(a)||Df.test(a)}},email:function(a,c,d,e,f,g){ab(a,c,d,e,f,g);Zb(e);e.$$parserName=
"email";e.$validators.email=function(a){return e.$isEmpty(a)||Ef.test(a)}},radio:function(a,c,d,e){E(d.name)&&c.attr("name",++db);c.on("click",function(a){c[0].checked&&e.$setViewValue(d.value,a&&a.type)});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e,f,g,h,k){var l=kd(k,a,"ngTrueValue",d.ngTrueValue,!0),n=kd(k,a,"ngFalseValue",d.ngFalseValue,!1);c.on("click",function(a){e.$setViewValue(c[0].checked,a&&a.type)});e.$render=function(){c[0].checked=
e.$viewValue};e.$isEmpty=function(a){return a!==l};e.$formatters.push(function(a){return qa(a,l)});e.$parsers.push(function(a){return a?l:n})},hidden:x,button:x,submit:x,reset:x,file:x},oc=["$browser","$sniffer","$filter","$parse",function(a,c,d,e){return{restrict:"E",require:["?ngModel"],link:{pre:function(f,g,h,k){k[0]&&(td[S(h.type)]||td.text)(f,g,h,k[0],c,a,d,e)}}}}],cb="ng-valid",ld="ng-invalid",Ma="ng-pristine",Ab="ng-dirty",nd="ng-pending",Hf=["$scope","$exceptionHandler","$attrs","$element",
"$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,c,d,e,f,g,h,k,l,n){this.$modelValue=this.$viewValue=Number.NaN;this.$validators={};this.$asyncValidators={};this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$untouched=!0;this.$touched=!1;this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$error={};this.$$success={};this.$pending=t;this.$name=n(d.name||"",!1)(a);var p=f(d.ngModel),r=null,m=this,s=function(){var c=p(a);m.$options&&m.$options.getterSetter&&
N(c)&&(c=c());return c},v=function(c){var d;m.$options&&m.$options.getterSetter&&N(d=p(a))?d(m.$modelValue):p.assign(a,m.$modelValue)};this.$$setOptions=function(a){m.$options=a;if(!(p.assign||a&&a.getterSetter))throw Cb("nonassign",d.ngModel,sa(e));};this.$render=x;this.$isEmpty=function(a){return E(a)||""===a||null===a||a!==a};var J=e.inheritedData("$formController")||$a,A=0;id({ctrl:this,$element:e,set:function(a,c){a[c]=!0},unset:function(a,c){delete a[c]},parentForm:J,$animate:g});this.$setPristine=
function(){m.$dirty=!1;m.$pristine=!0;g.removeClass(e,Ab);g.addClass(e,Ma)};this.$setUntouched=function(){m.$touched=!1;m.$untouched=!0;g.setClass(e,"ng-untouched","ng-touched")};this.$setTouched=function(){m.$touched=!0;m.$untouched=!1;g.setClass(e,"ng-touched","ng-untouched")};this.$rollbackViewValue=function(){h.cancel(r);m.$viewValue=m.$$lastCommittedViewValue;m.$render()};this.$validate=function(){ea(m.$modelValue)&&isNaN(m.$modelValue)||this.$$parseAndValidate()};this.$$runValidators=function(a,
c,d,e){function f(){var a=!0;q(m.$validators,function(e,f){var g=e(c,d);a=a&&g;h(f,g)});return a?!0:(q(m.$asyncValidators,function(a,c){h(c,null)}),!1)}function g(){var a=[],e=!0;q(m.$asyncValidators,function(f,g){var k=f(c,d);if(!k||!N(k.then))throw Cb("$asyncValidators",k);h(g,t);a.push(k.then(function(){h(g,!0)},function(a){e=!1;h(g,!1)}))});a.length?l.all(a).then(function(){k(e)},x):k(!0)}function h(a,c){n===A&&m.$setValidity(a,c)}function k(a){n===A&&e(a)}A++;var n=A;(function(a){var c=m.$$parserName||
"parse";if(a===t)h(c,null);else if(h(c,a),!a)return q(m.$validators,function(a,c){h(c,null)}),q(m.$asyncValidators,function(a,c){h(c,null)}),!1;return!0})(a)?f()?g():k(!1):k(!1)};this.$commitViewValue=function(){var a=m.$viewValue;h.cancel(r);if(m.$$lastCommittedViewValue!==a||""===a&&m.$$hasNativeValidators)m.$$lastCommittedViewValue=a,m.$pristine&&(m.$dirty=!0,m.$pristine=!1,g.removeClass(e,Ma),g.addClass(e,Ab),J.$setDirty()),this.$$parseAndValidate()};this.$$parseAndValidate=function(){var a=m.$$lastCommittedViewValue,
c=a,d=E(c)?t:!0;if(d)for(var e=0;e<m.$parsers.length;e++)if(c=m.$parsers[e](c),E(c)){d=!1;break}ea(m.$modelValue)&&isNaN(m.$modelValue)&&(m.$modelValue=s());var f=m.$modelValue,g=m.$options&&m.$options.allowInvalid;g&&(m.$modelValue=c,m.$modelValue!==f&&m.$$writeModelToScope());m.$$runValidators(d,c,a,function(a){g||(m.$modelValue=a?c:t,m.$modelValue!==f&&m.$$writeModelToScope())})};this.$$writeModelToScope=function(){v(m.$modelValue);q(m.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})};
this.$setViewValue=function(a,c){m.$viewValue=a;m.$options&&!m.$options.updateOnDefault||m.$$debounceViewValueCommit(c)};this.$$debounceViewValueCommit=function(c){var d=0,e=m.$options;e&&w(e.debounce)&&(e=e.debounce,ea(e)?d=e:ea(e[c])?d=e[c]:ea(e["default"])&&(d=e["default"]));h.cancel(r);d?r=h(function(){m.$commitViewValue()},d):k.$$phase?m.$commitViewValue():a.$apply(function(){m.$commitViewValue()})};a.$watch(function(){var a=s();if(a!==m.$modelValue){m.$modelValue=a;for(var c=m.$formatters,d=
c.length,e=a;d--;)e=c[d](e);m.$viewValue!==e&&(m.$viewValue=m.$$lastCommittedViewValue=e,m.$render(),m.$$runValidators(t,a,e,x))}return a})}],me=function(){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Hf,priority:1,compile:function(a){a.addClass(Ma).addClass("ng-untouched").addClass(cb);return{pre:function(a,d,e,f){var g=f[0],h=f[1]||$a;g.$$setOptions(f[2]&&f[2].$options);h.$addControl(g);e.$observe("name",function(a){g.$name!==a&&h.$$renameControl(g,a)});a.$on("$destroy",
function(){h.$removeControl(g)})},post:function(a,d,e,f){var g=f[0];if(g.$options&&g.$options.updateOn)d.on(g.$options.updateOn,function(a){g.$$debounceViewValueCommit(a&&a.type)});d.on("blur",function(d){g.$touched||a.$apply(function(){g.$setTouched()})})}}}}},oe=ga({restrict:"A",require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),qc=function(){return{restrict:"A",require:"?ngModel",link:function(a,c,d,e){e&&(d.required=!0,e.$validators.required=
function(a){return!d.required||!e.$isEmpty(a)},d.$observe("required",function(){e.$validate()}))}}},pc=function(){return{restrict:"A",require:"?ngModel",link:function(a,c,d,e){if(e){var f,g=d.ngPattern||d.pattern;d.$observe("pattern",function(a){F(a)&&0<a.length&&(a=new RegExp(a));if(a&&!a.test)throw U("ngPattern")("noregexp",g,a,sa(c));f=a||t;e.$validate()});e.$validators.pattern=function(a){return e.$isEmpty(a)||E(f)||f.test(a)}}}}},sc=function(){return{restrict:"A",require:"?ngModel",link:function(a,
c,d,e){if(e){var f=0;d.$observe("maxlength",function(a){f=Y(a)||0;e.$validate()});e.$validators.maxlength=function(a,c){return e.$isEmpty(a)||c.length<=f}}}}},rc=function(){return{restrict:"A",require:"?ngModel",link:function(a,c,d,e){if(e){var f=0;d.$observe("minlength",function(a){f=Y(a)||0;e.$validate()});e.$validators.minlength=function(a,c){return e.$isEmpty(a)||c.length>=f}}}}},ne=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(a,c,d,e){var f=c.attr(d.$attr.ngList)||
", ",g="false"!==d.ngTrim,h=g?X(f):f;e.$parsers.push(function(a){if(!E(a)){var c=[];a&&q(a.split(h),function(a){a&&c.push(g?X(a):a)});return c}});e.$formatters.push(function(a){return P(a)?a.join(f):t});e.$isEmpty=function(a){return!a||!a.length}}}},If=/^(true|false|\d+)$/,pe=function(){return{restrict:"A",priority:100,compile:function(a,c){return If.test(c.ngValue)?function(a,c,f){f.$set("value",a.$eval(f.ngValue))}:function(a,c,f){a.$watch(f.ngValue,function(a){f.$set("value",a)})}}}},qe=function(){return{restrict:"A",
controller:["$scope","$attrs",function(a,c){var d=this;this.$options=a.$eval(c.ngModelOptions);this.$options.updateOn!==t?(this.$options.updateOnDefault=!1,this.$options.updateOn=X(this.$options.updateOn.replace(Gf,function(){d.$options.updateOnDefault=!0;return" "}))):this.$options.updateOnDefault=!0}]}},Qd=["$compile",function(a){return{restrict:"AC",compile:function(c){a.$$addBindingClass(c);return function(c,e,f){a.$$addBindingInfo(e,f.ngBind);c.$watch(f.ngBind,function(a){e.text(a==t?"":a)})}}}}],
Sd=["$interpolate","$compile",function(a,c){return{compile:function(d){c.$$addBindingClass(d);return function(d,f,g){d=a(f.attr(g.$attr.ngBindTemplate));c.$$addBindingInfo(f,d.expressions);g.$observe("ngBindTemplate",function(a){f.text(a)})}}}}],Rd=["$sce","$parse","$compile",function(a,c,d){return{restrict:"A",compile:function(e,f){var g=c(f.ngBindHtml),h=c(f.ngBindHtml,function(a){return(a||"").toString()});d.$$addBindingClass(e);return function(c,e,f){d.$$addBindingInfo(e,f.ngBindHtml);c.$watch(h,
function(){e.html(a.getTrustedHtml(g(c))||"")})}}}}],Td=$b("",!0),Vd=$b("Odd",0),Ud=$b("Even",1),Wd=Da({compile:function(a,c){c.$set("ngCloak",t);a.removeClass("ng-cloak")}}),Xd=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],tc={},Jf={blur:!0,focus:!0};q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var c=ua("ng-"+a);tc[c]=["$parse","$rootScope",function(d,
e){return{restrict:"A",compile:function(f,g){var h=d(g[c]);return function(c,d){d.on(a,function(d){var f=function(){h(c,{$event:d})};Jf[a]&&e.$$phase?c.$evalAsync(f):c.$apply(f)})}}}}]});var $d=["$animate",function(a){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(c,d,e,f,g){var h,k,l;c.$watch(e.ngIf,function(c){c?k||g(function(c,f){k=f;c[c.length++]=$.createComment(" end ngIf: "+e.ngIf+" ");h={clone:c};a.enter(c,d.parent(),d)}):(l&&(l.remove(),
l=null),k&&(k.$destroy(),k=null),h&&(l=kb(h.clone),a.leave(l).then(function(){l=null}),h=null))})}}}],ae=["$templateRequest","$anchorScroll","$animate","$sce",function(a,c,d,e){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ca.noop,compile:function(f,g){var h=g.ngInclude||g.src,k=g.onload||"",l=g.autoscroll;return function(f,g,r,m,q){var v=0,t,A,u,B=function(){A&&(A.remove(),A=null);t&&(t.$destroy(),t=null);u&&(d.leave(u).then(function(){A=null}),A=u,u=null)};f.$watch(e.parseAsResourceUrl(h),
function(e){var h=function(){!w(l)||l&&!f.$eval(l)||c()},r=++v;e?(a(e,!0).then(function(a){if(r===v){var c=f.$new();m.template=a;a=q(c,function(a){B();d.enter(a,null,g).then(h)});t=c;u=a;t.$emit("$includeContentLoaded",e);f.$eval(k)}},function(){r===v&&(B(),f.$emit("$includeContentError",e))}),f.$emit("$includeContentRequested",e)):(B(),m.template=null)})}}}}],re=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(c,d,e,f){/SVG/.test(d[0].toString())?(d.empty(),
a(wc(f.template,$).childNodes)(c,function(a){d.append(a)},t,t,d)):(d.html(f.template),a(d.contents())(c))}}}],be=Da({priority:450,compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),ce=Da({terminal:!0,priority:1E3}),de=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,f,g){var h=g.count,k=g.$attr.when&&f.attr(g.$attr.when),l=g.offset||0,n=e.$eval(k)||{},p={},r=c.startSymbol(),m=c.endSymbol(),s=/^when(Minus)?(.+)$/;q(g,function(a,c){s.test(c)&&
(n[S(c.replace("when","").replace("Minus","-"))]=f.attr(g.$attr[c]))});q(n,function(a,e){p[e]=c(a.replace(d,r+h+"-"+l+m))});e.$watch(function(){var c=parseFloat(e.$eval(h));if(isNaN(c))return"";c in n||(c=a.pluralCat(c-l));return p[c](e)},function(a){f.text(a)})}}}],ee=["$parse","$animate",function(a,c){var d=U("ngRepeat"),e=function(a,c,d,e,l,n,p){a[d]=e;l&&(a[l]=n);a.$index=c;a.$first=0===c;a.$last=c===p-1;a.$middle=!(a.$first||a.$last);a.$odd=!(a.$even=0===(c&1))};return{restrict:"A",multiElement:!0,
transclude:"element",priority:1E3,terminal:!0,$$tlb:!0,compile:function(f,g){var h=g.ngRepeat,k=$.createComment(" end ngRepeat: "+h+" "),l=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!l)throw d("iexp",h);var n=l[1],p=l[2],r=l[3],m=l[4],l=n.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!l)throw d("iidexp",n);var s=l[3]||l[1],v=l[2];if(r&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(r)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent)$/.test(r)))throw d("badident",
r);var w,A,u,B,x={$id:Ia};m?w=a(m):(u=function(a,c){return Ia(c)},B=function(a){return a});return function(a,f,g,l,m){w&&(A=function(c,d,e){v&&(x[v]=c);x[s]=d;x.$index=e;return w(a,x)});var n=Object.create(null);a.$watchCollection(p,function(g){var l,p,I=f[0],w,x=Object.create(null),z,E,J,H,C,M,Z;r&&(a[r]=g);if(Na(g))C=g,p=A||u;else{p=A||B;C=[];for(Z in g)g.hasOwnProperty(Z)&&"$"!=Z.charAt(0)&&C.push(Z);C.sort()}z=C.length;Z=Array(z);for(l=0;l<z;l++)if(E=g===C?l:C[l],J=g[E],H=p(E,J,l),n[H])M=n[H],
delete n[H],x[H]=M,Z[l]=M;else{if(x[H])throw q(Z,function(a){a&&a.scope&&(n[a.id]=a)}),d("dupes",h,H,ra(J));Z[l]={id:H,scope:t,clone:t};x[H]=!0}for(w in n){M=n[w];H=kb(M.clone);c.leave(H);if(H[0].parentNode)for(l=0,p=H.length;l<p;l++)H[l].$$NG_REMOVED=!0;M.scope.$destroy()}for(l=0;l<z;l++)if(E=g===C?l:C[l],J=g[E],M=Z[l],M.scope){w=I;do w=w.nextSibling;while(w&&w.$$NG_REMOVED);M.clone[0]!=w&&c.move(kb(M.clone),null,y(I));I=M.clone[M.clone.length-1];e(M.scope,l,s,J,v,E,z)}else m(function(a,d){M.scope=
d;var f=k.cloneNode(!1);a[a.length++]=f;c.enter(a,null,y(I));I=f;M.clone=a;x[M.id]=M;e(M.scope,l,s,J,v,E,z)});n=x})}}}}],fe=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(c,d,e){c.$watch(e.ngShow,function(c){a[c?"removeClass":"addClass"](d,"ng-hide")})}}}],Zd=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(c,d,e){c.$watch(e.ngHide,function(c){a[c?"addClass":"removeClass"](d,"ng-hide")})}}}],ge=Da(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&
a!==d&&q(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),he=["$animate",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,f){var g=[],h=[],k=[],l=[],n=function(a,c){return function(){a.splice(c,1)}};c.$watch(e.ngSwitch||e.on,function(c){var d,e;d=0;for(e=k.length;d<e;++d)a.cancel(k[d]);d=k.length=0;for(e=l.length;d<e;++d){var s=kb(h[d].clone);l[d].$destroy();(k[d]=a.leave(s)).then(n(k,d))}h.length=0;l.length=0;(g=f.cases["!"+c]||
f.cases["?"])&&q(g,function(c){c.transclude(function(d,e){l.push(e);var f=c.element;d[d.length++]=$.createComment(" end ngSwitchWhen: ");h.push({clone:d});a.enter(d,f.parent(),f)})})})}}}],ie=Da({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,c,d,e,f){e.cases["!"+d.ngSwitchWhen]=e.cases["!"+d.ngSwitchWhen]||[];e.cases["!"+d.ngSwitchWhen].push({transclude:f,element:c})}}),je=Da({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,
c,d,e,f){e.cases["?"]=e.cases["?"]||[];e.cases["?"].push({transclude:f,element:c})}}),le=Da({restrict:"EAC",link:function(a,c,d,e,f){if(!f)throw U("ngTransclude")("orphan",sa(c));f(function(a){c.empty();c.append(a)})}}),Md=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){"text/ng-template"==d.type&&a.put(d.id,c[0].text)}}}],Kf=U("ngOptions"),ke=ga({restrict:"A",terminal:!0}),Nd=["$compile","$parse",function(a,c){var d=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,
e={$setViewValue:x};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var k=this,l={},n=e,p;k.databound=d.ngModel;k.init=function(a,c,d){n=a;p=d};k.addOption=function(c,d){Ha(c,'"option value"');l[c]=!0;n.$viewValue==c&&(a.val(c),p.parent()&&p.remove());d[0].hasAttribute("selected")&&(d[0].selected=!0)};k.removeOption=function(a){this.hasOption(a)&&(delete l[a],n.$viewValue==a&&this.renderUnknownOption(a))};k.renderUnknownOption=function(c){c=
"? "+Ia(c)+" ?";p.val(c);a.prepend(p);a.val(c);p.prop("selected",!0)};k.hasOption=function(a){return l.hasOwnProperty(a)};c.$on("$destroy",function(){k.renderUnknownOption=x})}],link:function(e,g,h,k){function l(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(z.parent()&&z.remove(),c.val(a),""===a&&x.prop("selected",!0)):E(a)&&x?c.val(""):e.renderUnknownOption(a)};c.on("change",function(){a.$apply(function(){z.parent()&&z.remove();d.$setViewValue(c.val())})})}function n(a,c,d){var e;
d.$render=function(){var a=new Xa(d.$viewValue);q(c.find("option"),function(c){c.selected=w(a.get(c.value))})};a.$watch(function(){qa(e,d.$viewValue)||(e=pa(d.$viewValue),d.$render())});c.on("change",function(){a.$apply(function(){var a=[];q(c.find("option"),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function p(e,f,g){function h(){A||(e.$$postDigest(l),A=!0)}function l(){A=!1;var a={"":[]},c=[""],d,h,k,s,t;k=g.$modelValue;s=E(e)||[];var G=q?cc(s):s,J,C,D;C={};D=!1;if(m)if(h=
g.$modelValue,y&&P(h))for(D=new Xa([]),d={},t=0;t<h.length;t++)d[p]=h[t],D.put(y(e,d),h[t]);else D=new Xa(h);t=D;var F,L;for(D=0;J=G.length,D<J;D++){h=D;if(q){h=G[D];if("$"===h.charAt(0))continue;C[q]=h}C[p]=s[h];d=x(e,C)||"";(h=a[d])||(h=a[d]=[],c.push(d));m?d=w(t.remove(y?y(e,C):z(e,C))):(y?(d={},d[p]=k,d=y(e,d)===y(e,C)):d=k===z(e,C),t=t||d);F=n(e,C);F=w(F)?F:"";h.push({id:y?y(e,C):q?G[D]:D,label:F,selected:d})}m||(v||null===k?a[""].unshift({id:"",label:"",selected:!t}):t||a[""].unshift({id:"?",
label:"",selected:!0}));C=0;for(G=c.length;C<G;C++){d=c[C];h=a[d];H.length<=C?(k={element:B.clone().attr("label",d),label:h.label},s=[k],H.push(s),f.append(k.element)):(s=H[C],k=s[0],k.label!=d&&k.element.attr("label",k.label=d));F=null;D=0;for(J=h.length;D<J;D++)d=h[D],(t=s[D+1])?(F=t.element,t.label!==d.label&&F.text(t.label=d.label),t.id!==d.id&&F.val(t.id=d.id),F[0].selected!==d.selected&&(F.prop("selected",t.selected=d.selected),ba&&F.prop("selected",t.selected))):(""===d.id&&v?L=v:(L=u.clone()).val(d.id).prop("selected",
d.selected).attr("selected",d.selected).text(d.label),s.push({element:L,label:d.label,id:d.id,selected:d.selected}),r.addOption(d.label,L),F?F.after(L):k.element.append(L),F=L);for(D++;s.length>D;)d=s.pop(),r.removeOption(d.label),d.element.remove()}for(;H.length>C;)H.pop()[0].element.remove()}var k;if(!(k=s.match(d)))throw Kf("iexp",s,sa(f));var n=c(k[2]||k[1]),p=k[4]||k[6],q=k[5],x=c(k[3]||""),z=c(k[2]?k[1]:p),E=c(k[7]),y=k[8]?c(k[8]):null,H=[[{element:f,label:""}]];v&&(a(v)(e),v.removeClass("ng-scope"),
v.remove());f.empty();f.on("change",function(){e.$apply(function(){var a,c=E(e)||[],d={},h,k,n,r,s,u,v;if(m)for(k=[],r=0,u=H.length;r<u;r++)for(a=H[r],n=1,s=a.length;n<s;n++){if((h=a[n].element)[0].selected){h=h.val();q&&(d[q]=h);if(y)for(v=0;v<c.length&&(d[p]=c[v],y(e,d)!=h);v++);else d[p]=c[h];k.push(z(e,d))}}else if(h=f.val(),"?"==h)k=t;else if(""===h)k=null;else if(y)for(v=0;v<c.length;v++){if(d[p]=c[v],y(e,d)==h){k=z(e,d);break}}else d[p]=c[h],q&&(d[q]=h),k=z(e,d);g.$setViewValue(k);l()})});
g.$render=l;e.$watchCollection(E,h);e.$watchCollection(function(){var a={},c=E(e);if(c){for(var d=Array(c.length),f=0,g=c.length;f<g;f++)a[p]=c[f],d[f]=n(e,a);return d}},h);m&&e.$watchCollection(function(){return g.$modelValue},h)}if(k[1]){var r=k[0];k=k[1];var m=h.multiple,s=h.ngOptions,v=!1,x,A=!1,u=y($.createElement("option")),B=y($.createElement("optgroup")),z=u.clone();h=0;for(var D=g.children(),F=D.length;h<F;h++)if(""===D[h].value){x=v=D.eq(h);break}r.init(k,v,z);m&&(k.$isEmpty=function(a){return!a||
0===a.length});s?p(e,g,k):m?n(e,g,k):l(e,g,k,r)}}}}],Pd=["$interpolate",function(a){var c={addOption:x,removeOption:x};return{restrict:"E",priority:100,compile:function(d,e){if(E(e.value)){var f=a(d.text(),!0);f||e.$set("value",d.text())}return function(a,d,e){var l=d.parent(),n=l.data("$selectController")||l.parent().data("$selectController");n&&n.databound||(n=c);f?a.$watch(f,function(a,c){e.$set("value",a);c!==a&&n.removeOption(c);n.addOption(a,d)}):n.addOption(e.value,d);d.on("$destroy",function(){n.removeOption(e.value)})}}}}],
Od=ga({restrict:"E",terminal:!1});Q.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(Ed(),Gd(Ca),y($).ready(function(){Ad($,kc)}))})(window,document);!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-animate){display:none !important;}ng\\:form{display:block;}</style>');
11 years ago
//# sourceMappingURL=angular.min.js.map