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.

225 lines
109 KiB

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