Update to Angular 1.1.4

This commit is contained in:
Colin Frei 2013-04-07 11:37:21 +02:00
parent 72a485d6e8
commit f5fc1369ad
585 changed files with 48055 additions and 3041 deletions

19
lib/angular/angular-bootstrap-prettify.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -10,10 +10,10 @@ var directive = {};
var service = { value: {} }; var service = { value: {} };
var DEPENDENCIES = { var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/' + angular.version.full + 'angular.min.js', 'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js',
'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + 'angular-resource.min.js', 'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-resource.min.js',
'angular-sanitize.js': 'http://code.angularjs.org/' + angular.version.full + 'angular-sanitize.min.js', 'angular-sanitize.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-sanitize.min.js',
'angular-cookies.js': 'http://code.angularjs.org/' + angular.version.full + 'angular-cookies.min.js' 'angular-cookies.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-cookies.min.js'
}; };
@ -185,7 +185,8 @@ directive.ngEvalJavascript = ['getEmbeddedTemplate', function(getEmbeddedTemplat
}]; }];
directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', function($templateCache, $browser, docsRootScope, $location) { directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', '$sniffer',
function($templateCache, $browser, docsRootScope, $location, $sniffer) {
return { return {
terminal: true, terminal: true,
link: function(scope, element, attrs) { link: function(scope, element, attrs) {
@ -195,6 +196,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location',
$provide.value('$templateCache', $templateCache); $provide.value('$templateCache', $templateCache);
$provide.value('$anchorScroll', angular.noop); $provide.value('$anchorScroll', angular.noop);
$provide.value('$browser', $browser); $provide.value('$browser', $browser);
$provide.value('$sniffer', $sniffer);
$provide.provider('$location', function() { $provide.provider('$location', function() {
this.$get = ['$rootScope', function($rootScope) { this.$get = ['$rootScope', function($rootScope) {
docsRootScope.$on('$locationChangeSuccess', function(event, oldUrl, newUrl) { docsRootScope.$on('$locationChangeSuccess', function(event, oldUrl, newUrl) {
@ -229,6 +231,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location',
event.preventDefault(); event.preventDefault();
} }
}); });
angular.bootstrap(element, modules); angular.bootstrap(element, modules);
} }
}; };
@ -290,6 +293,7 @@ service.getEmbeddedTemplate = ['reindentCode', function(reindentCode) {
angular.module('bootstrapPrettify', []).directive(directive).factory(service); angular.module('bootstrapPrettify', []).directive(directive).factory(service);
// Copyright (C) 2006 Google Inc. // Copyright (C) 2006 Google Inc.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
@ -935,7 +939,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
* recognized. * recognized.
* *
* Shortcut is an optional string of characters, any of which, if the first * Shortcut is an optional string of characters, any of which, if the first
* character, gurantee that this pattern and only this pattern matches. * character, guarantee that this pattern and only this pattern matches.
* *
* @param {Array} shortcutStylePatterns patterns that always start with * @param {Array} shortcutStylePatterns patterns that always start with
* a known character. Must have a shortcut string. * a known character. Must have a shortcut string.
@ -1829,5 +1833,6 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
} }
})(); })();
})(window, window.angular); })(window, window.angular);
angular.element(document).find('head').append('<style type="text/css">.com{color:#93a1a1;}.lit{color:#195f91;}.pun,.opn,.clo{color:#93a1a1;}.fun{color:#dc322f;}.str,.atv{color:#D14;}.kwd,.linenums .tag{color:#1e347b;}.typ,.atn,.dec,.var{color:teal;}.pln{color:#48484c;}.prettyprint{padding:8px;background-color:#f7f7f9;border:1px solid #e1e1e8;}.prettyprint.linenums{-webkit-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;-moz-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;}ol.linenums{margin:0 0 0 33px;}ol.linenums li{padding-left:12px;color:#bebec5;line-height:18px;text-shadow:0 1px 0 #fff;}</style>'); angular.element(document).find('head').append('<style type="text/css">.com{color:#93a1a1;}.lit{color:#195f91;}.pun,.opn,.clo{color:#93a1a1;}.fun{color:#dc322f;}.str,.atv{color:#D14;}.kwd,.linenums .tag{color:#1e347b;}.typ,.atn,.dec,.var{color:teal;}.pln{color:#48484c;}.prettyprint{padding:8px;background-color:#f7f7f9;border:1px solid #e1e1e8;}.prettyprint.linenums{-webkit-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;-moz-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;}ol.linenums{margin:0 0 0 33px;}ol.linenums li{padding-left:12px;color:#bebec5;line-height:18px;text-shadow:0 1px 0 #fff;}</style>');

68
lib/angular/angular-bootstrap-prettify.min.js vendored Normal file → Executable file
View file

@ -1,41 +1,41 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */
(function(q,k,I){'use strict';function G(c){return c.replace(/\&/g,"&amp;").replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/"/g,"&quot;")}function D(c,e){var b=k.element("<pre>"+e+"</pre>");c.html("");c.append(b.contents());return c}var t={},w={value:{}},L={"angular.js":"http://code.angularjs.org/"+k.version.full+"angular.min.js","angular-resource.js":"http://code.angularjs.org/"+k.version.full+"angular-resource.min.js","angular-sanitize.js":"http://code.angularjs.org/"+k.version.full+"angular-sanitize.min.js", (function(v,t,H){'use strict';function F(d){return d.replace(/\&/g,"&amp;").replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/"/g,"&quot;")}function A(d,f){var a=t.element("<pre>"+f+"</pre>");d.html("");d.append(a.contents());return d}var s={},w={value:{}},K={"angular.js":"http://code.angularjs.org/"+t.version.full+"/angular.min.js","angular-resource.js":"http://code.angularjs.org/"+t.version.full+"/angular-resource.min.js","angular-sanitize.js":"http://code.angularjs.org/"+t.version.full+"/angular-sanitize.min.js",
"angular-cookies.js":"http://code.angularjs.org/"+k.version.full+"angular-cookies.min.js"};t.jsFiddle=function(c,e,b){return{terminal:!0,link:function(x,a,r){function d(a,b){return'<input type="hidden" name="'+a+'" value="'+e(b)+'">'}var H={html:"",css:"",js:""};k.forEach(r.jsFiddle.split(" "),function(a,b){var d=a.split(".")[1];H[d]+=d=="html"?b==0?"<div ng-app"+(r.module?'="'+r.module+'"':"")+">\n"+c(a,2):"\n\n\n <\!-- CACHE FILE: "+a+' --\>\n <script type="text/ng-template" id="'+a+'">\n'+c(a, "angular-cookies.js":"http://code.angularjs.org/"+t.version.full+"/angular-cookies.min.js"};s.jsFiddle=function(d,f,a){return{terminal:!0,link:function(o,c,l){function b(a,c){return'<input type="hidden" name="'+a+'" value="'+f(c)+'">'}var r={html:"",css:"",js:""};t.forEach(l.jsFiddle.split(" "),function(a,c){var b=a.split(".")[1];r[b]+=b=="html"?c==0?"<div ng-app"+(l.module?'="'+l.module+'"':"")+">\n"+d(a,2):"\n\n\n <\!-- CACHE FILE: "+a+' --\>\n <script type="text/ng-template" id="'+a+'">\n'+d(a,
4)+" <\/script>\n":c(a)+"\n"});H.html+="</div>\n";D(a,'<form class="jsfiddle" method="post" action="http://jsfiddle.net/api/post/library/pure/" target="_blank">'+d("title","AngularJS Example: ")+d("css",'</style> <\!-- Ugly Hack due to jsFiddle issue: http://goo.gl/BUfGZ --\> \n<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">\n'+b.angular+(r.resource?b.resource:"")+"<style>\n"+H.css)+d("html",H.html)+d("js",H.js)+'<button class="btn btn-primary"><i class="icon-white icon-pencil"></i> Edit Me</button></form>')}}}; 4)+" <\/script>\n":d(a)+"\n"});r.html+="</div>\n";A(c,'<form class="jsfiddle" method="post" action="http://jsfiddle.net/api/post/library/pure/" target="_blank">'+b("title","AngularJS Example: ")+b("css",'</style> <\!-- Ugly Hack due to jsFiddle issue: http://goo.gl/BUfGZ --\> \n<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">\n'+a.angular+(l.resource?a.resource:"")+"<style>\n"+r.css)+b("html",r.html)+b("js",r.js)+'<button class="btn btn-primary"><i class="icon-white icon-pencil"></i> Edit Me</button></form>')}}};
t.code=function(){return{restrict:"E",terminal:!0}};t.prettyprint=["reindentCode",function(c){return{restrict:"C",terminal:!0,compile:function(e){e.html(q.prettyPrintOne(c(e.html()),I,!0))}}}];t.ngSetText=["getEmbeddedTemplate",function(c){return{restrict:"CA",priority:10,compile:function(e,b){D(e,G(c(b.ngSetText)))}}}];t.ngHtmlWrap=["reindentCode","templateMerge",function(c,e){return{compile:function(b,c){var a={head:"",module:"",body:b.text()};k.forEach((c.ngHtmlWrap||"").split(" "),function(b){if(b){var b= s.code=function(){return{restrict:"E",terminal:!0}};s.prettyprint=["reindentCode",function(d){return{restrict:"C",terminal:!0,compile:function(f){f.html(v.prettyPrintOne(d(f.html()),H,!0))}}}];s.ngSetText=["getEmbeddedTemplate",function(d){return{restrict:"CA",priority:10,compile:function(f,a){A(f,F(d(a.ngSetText)))}}}];s.ngHtmlWrap=["reindentCode","templateMerge",function(d,f){return{compile:function(a,d){var c={head:"",module:"",body:a.text()};t.forEach((d.ngHtmlWrap||"").split(" "),function(a){if(a){var a=
L[b]||b,d=b.split(/\./).pop();d=="css"?a.head+='<link rel="stylesheet" href="'+b+'" type="text/css">\n':d=="js"?a.head+='<script src="'+b+'"><\/script>\n':a.module='="'+b+'"'}});D(b,G(e("<!doctype html>\n<html ng-app{{module}}>\n <head>\n{{head:4}} </head>\n <body>\n{{body:4}} </body>\n</html>",a)))}}}];t.ngSetHtml=["getEmbeddedTemplate",function(c){return{restrict:"CA",priority:10,compile:function(e,b){D(e,c(b.ngSetHtml))}}}];t.ngEvalJavascript=["getEmbeddedTemplate",function(c){return{compile:function(e, K[a]||a,b=a.split(/\./).pop();b=="css"?c.head+='<link rel="stylesheet" href="'+a+'" type="text/css">\n':b=="js"?c.head+='<script src="'+a+'"><\/script>\n':c.module='="'+a+'"'}});A(a,F(f("<!doctype html>\n<html ng-app{{module}}>\n <head>\n{{head:4}} </head>\n <body>\n{{body:4}} </body>\n</html>",c)))}}}];s.ngSetHtml=["getEmbeddedTemplate",function(d){return{restrict:"CA",priority:10,compile:function(f,a){A(f,d(a.ngSetHtml))}}}];s.ngEvalJavascript=["getEmbeddedTemplate",function(d){return{compile:function(f,
b){var x=c(b.ngEvalJavascript);try{q.execScript?q.execScript(x||'""'):q.eval(x)}catch(a){q.console?q.console.log(x,"\n",a):q.alert(a)}}}}];t.ngEmbedApp=["$templateCache","$browser","$rootScope","$location",function(c,e,b,x){return{terminal:!0,link:function(a,r,d){a=[];a.push(["$provide",function(a){a.value("$templateCache",c);a.value("$anchorScroll",k.noop);a.value("$browser",e);a.provider("$location",function(){this.$get=["$rootScope",function(a){b.$on("$locationChangeSuccess",function(b,d,c){a.$broadcast("$locationChangeSuccess", a){var o=d(a.ngEvalJavascript);try{v.execScript?v.execScript(o||'""'):v.eval(o)}catch(c){v.console?v.console.log(o,"\n",c):v.alert(c)}}}}];s.ngEmbedApp=["$templateCache","$browser","$rootScope","$location","$sniffer",function(d,f,a,o,c){return{terminal:!0,link:function(l,b,r){l=[];l.push(["$provide",function(b){b.value("$templateCache",d);b.value("$anchorScroll",t.noop);b.value("$browser",f);b.value("$sniffer",c);b.provider("$location",function(){this.$get=["$rootScope",function(b){a.$on("$locationChangeSuccess",
d,c)});return x}];this.html5Mode=k.noop});a.decorator("$timeout",["$rootScope","$delegate",function(a,b){return k.extend(function(d,c){return c&&c>50?setTimeout(function(){a.$apply(d)},c):b.apply(this,arguments)},b)}]);a.decorator("$rootScope",["$delegate",function(a){b.$watch(function(){a.$digest()});return a}])}]);d.ngEmbedApp&&a.push(d.ngEmbedApp);r.bind("click",function(a){a.target.attributes.getNamedItem("ng-click")&&a.preventDefault()});k.bootstrap(r,a)}}}];w.reindentCode=function(){return function(c, function(a,c,d){b.$broadcast("$locationChangeSuccess",c,d)});return o}];this.html5Mode=t.noop});b.decorator("$timeout",["$rootScope","$delegate",function(a,b){return t.extend(function(c,d){return d&&d>50?setTimeout(function(){a.$apply(c)},d):b.apply(this,arguments)},b)}]);b.decorator("$rootScope",["$delegate",function(b){a.$watch(function(){b.$digest()});return b}])}]);r.ngEmbedApp&&l.push(r.ngEmbedApp);b.bind("click",function(a){a.target.attributes.getNamedItem("ng-click")&&a.preventDefault()});
e){if(!c)return c;for(var b=c.split(/\r?\n/),x=" ".substr(0,e||0),a;b.length&&b[0].match(/^\s*$/);)b.shift();for(;b.length&&b[b.length-1].match(/^\s*$/);)b.pop();var r=999;for(a=0;a<b.length;a++){var d=b[0],k=d.match(/^\s*/)[0];if(k!==d&&k.length<r)r=k.length}for(a=0;a<b.length;a++)b[a]=x+b[a].substring(r);b.push("");return b.join("\n")}};w.templateMerge=["reindentCode",function(c){return function(e,b){return e.replace(/\{\{(\w+)(?:\:(\d+))?\}\}/g,function(e,a,k){e=b[a];k&&(e=c(e,k));return e== t.bootstrap(b,l)}}}];w.reindentCode=function(){return function(d,f){if(!d)return d;for(var a=d.split(/\r?\n/),o=" ".substr(0,f||0),c;a.length&&a[0].match(/^\s*$/);)a.shift();for(;a.length&&a[a.length-1].match(/^\s*$/);)a.pop();var l=999;for(c=0;c<a.length;c++){var b=a[0],r=b.match(/^\s*/)[0];if(r!==b&&r.length<l)l=r.length}for(c=0;c<a.length;c++)a[c]=o+a[c].substring(l);a.push("");return a.join("\n")}};w.templateMerge=["reindentCode",function(d){return function(f,a){return f.replace(/\{\{(\w+)(?:\:(\d+))?\}\}/g,
I?"":e})}}];w.getEmbeddedTemplate=["reindentCode",function(c){return function(e){e=document.getElementById(e);return!e?null:c(k.element(e).html(),0)}}];k.module("bootstrapPrettify",[]).directive(t).factory(w);q.PR_SHOULD_USE_CONTINUATION=!0;(function(){function c(a){function b(i){var a=i.charCodeAt(0);if(a!==92)return a;var l=i.charAt(1);return(a=k[l])?a:"0"<=l&&l<="7"?parseInt(i.substring(1),8):l==="u"||l==="x"?parseInt(i.substring(2),16):i.charCodeAt(1)}function A(i){if(i<32)return(i<16?"\\x0": function(f,c,l){f=a[c];l&&(f=d(f,l));return f==H?"":f})}}];w.getEmbeddedTemplate=["reindentCode",function(d){return function(f){f=document.getElementById(f);return!f?null:d(t.element(f).html(),0)}}];t.module("bootstrapPrettify",[]).directive(s).factory(w);v.PR_SHOULD_USE_CONTINUATION=!0;(function(){function d(a){function b(i){var a=i.charCodeAt(0);if(a!==92)return a;var k=i.charAt(1);return(a=O[k])?a:"0"<=k&&k<="7"?parseInt(i.substring(1),8):k==="u"||k==="x"?parseInt(i.substring(2),16):i.charCodeAt(1)}
"\\x")+i.toString(16);i=String.fromCharCode(i);return i==="\\"||i==="-"||i==="]"||i==="^"?"\\"+i:i}function M(i){var a=i.substring(1,i.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g),i=[],l=a[0]==="^",f=["["];l&&f.push("^");for(var l=l?1:0,g=a.length;l<g;++l){var j=a[l];if(/\\[bdsw]/i.test(j))f.push(j);else{var j=b(j),h;l+2<g&&"-"===a[l+1]?(h=b(a[l+2]),l+=2):h=j;i.push([j,h]);h<65||j>122||(h<65||j>90||i.push([Math.max(65,j)|32,Math.min(h,90)| function E(i){if(i<32)return(i<16?"\\x0":"\\x")+i.toString(16);i=String.fromCharCode(i);return i==="\\"||i==="-"||i==="]"||i==="^"?"\\"+i:i}function c(i){var a=i.substring(1,i.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g),i=[],k=a[0]==="^",e=["["];k&&e.push("^");for(var k=k?1:0,g=a.length;k<g;++k){var j=a[k];if(/\\[bdsw]/i.test(j))e.push(j);else{var j=b(j),h;k+2<g&&"-"===a[k+1]?(h=b(a[k+2]),k+=2):h=j;i.push([j,h]);h<65||j>122||(h<65||j>90||
32]),h<97||j>122||i.push([Math.max(97,j)&-33,Math.min(h,122)&-33]))}}i.sort(function(i,a){return i[0]-a[0]||a[1]-i[1]});a=[];g=[];for(l=0;l<i.length;++l)j=i[l],j[0]<=g[1]+1?g[1]=Math.max(g[1],j[1]):a.push(g=j);for(l=0;l<a.length;++l)j=a[l],f.push(A(j[0])),j[1]>j[0]&&(j[1]+1>j[0]&&f.push("-"),f.push(A(j[1])));f.push("]");return f.join("")}function c(i){for(var a=i.source.match(RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)", i.push([Math.max(65,j)|32,Math.min(h,90)|32]),h<97||j>122||i.push([Math.max(97,j)&-33,Math.min(h,122)&-33]))}}i.sort(function(i,a){return i[0]-a[0]||a[1]-i[1]});a=[];g=[];for(k=0;k<i.length;++k)j=i[k],j[0]<=g[1]+1?g[1]=Math.max(g[1],j[1]):a.push(g=j);for(k=0;k<a.length;++k)j=a[k],e.push(E(j[0])),j[1]>j[0]&&(j[1]+1>j[0]&&e.push("-"),e.push(E(j[1])));e.push("]");return e.join("")}function d(i){for(var a=i.source.match(RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)",
"g")),f=a.length,b=[],g=0,j=0;g<f;++g){var h=a[g];h==="("?++j:"\\"===h.charAt(0)&&(h=+h.substring(1))&&(h<=j?b[h]=-1:a[g]=A(h))}for(g=1;g<b.length;++g)-1===b[g]&&(b[g]=++d);for(j=g=0;g<f;++g)h=a[g],h==="("?(++j,b[j]||(a[g]="(?:")):"\\"===h.charAt(0)&&(h=+h.substring(1))&&h<=j&&(a[g]="\\"+b[h]);for(g=0;g<f;++g)"^"===a[g]&&"^"!==a[g+1]&&(a[g]="");if(i.ignoreCase&&e)for(g=0;g<f;++g)h=a[g],i=h.charAt(0),h.length>=2&&i==="["?a[g]=M(h):i!=="\\"&&(a[g]=h.replace(/[a-zA-Z]/g,function(a){a=a.charCodeAt(0); "g")),e=a.length,b=[],g=0,j=0;g<e;++g){var h=a[g];h==="("?++j:"\\"===h.charAt(0)&&(h=+h.substring(1))&&(h<=j?b[h]=-1:a[g]=E(h))}for(g=1;g<b.length;++g)-1===b[g]&&(b[g]=++f);for(j=g=0;g<e;++g)h=a[g],h==="("?(++j,b[j]||(a[g]="(?:")):"\\"===h.charAt(0)&&(h=+h.substring(1))&&h<=j&&(a[g]="\\"+b[h]);for(g=0;g<e;++g)"^"===a[g]&&"^"!==a[g+1]&&(a[g]="");if(i.ignoreCase&&y)for(g=0;g<e;++g)h=a[g],i=h.charAt(0),h.length>=2&&i==="["?a[g]=c(h):i!=="\\"&&(a[g]=h.replace(/[a-zA-Z]/g,function(a){a=a.charCodeAt(0);
return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var d=0,e=!1,m=!1,p=0,f=a.length;p<f;++p){var n=a[p];if(n.ignoreCase)m=!0;else if(/[a-z]/i.test(n.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){e=!0;m=!1;break}}for(var k={b:8,t:9,n:10,v:11,f:12,r:13},o=[],p=0,f=a.length;p<f;++p){n=a[p];if(n.global||n.multiline)throw Error(""+n);o.push("(?:"+c(n)+")")}return RegExp(o.join("|"),m?"gi":"g")}function e(a,b){function A(a){switch(a.nodeType){case 1:if(M.test(a.className))break; return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var f=0,y=!1,n=!1,q=0,e=a.length;q<e;++q){var m=a[q];if(m.ignoreCase)n=!0;else if(/[a-z]/i.test(m.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){y=!0;n=!1;break}}for(var O={b:8,t:9,n:10,v:11,f:12,r:13},p=[],q=0,e=a.length;q<e;++q){m=a[q];if(m.global||m.multiline)throw Error(""+m);p.push("(?:"+d(m)+")")}return RegExp(p.join("|"),n?"gi":"g")}function f(a,b){function c(a){switch(a.nodeType){case 1:if(d.test(a.className))break;
for(var f=a.firstChild;f;f=f.nextSibling)A(f);f=a.nodeName.toLowerCase();if("br"===f||"li"===f)c[m]="\n",e[m<<1]=d++,e[m++<<1|1]=a;break;case 3:case 4:f=a.nodeValue,f.length&&(f=b?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),c[m]=f,e[m<<1]=d,d+=f.length,e[m++<<1|1]=a)}}var M=/(?:^|\s)nocode(?:\s|$)/,c=[],d=0,e=[],m=0;A(a);return{sourceCode:c.join("").replace(/\n$/,""),spans:e}}function b(a,b,c,d){b&&(a={sourceCode:b,basePos:a},c(a),d.push.apply(d,a.decorations))}function k(a,d){var A={}, for(var e=a.firstChild;e;e=e.nextSibling)c(e);e=a.nodeName.toLowerCase();if("br"===e||"li"===e)f[n]="\n",y[n<<1]=l++,y[n++<<1|1]=a;break;case 3:case 4:e=a.nodeValue,e.length&&(e=b?e.replace(/\r\n?/g,"\n"):e.replace(/[ \t\r\n]+/g," "),f[n]=e,y[n<<1]=l,l+=e.length,y[n++<<1|1]=a)}}var d=/(?:^|\s)nocode(?:\s|$)/,f=[],l=0,y=[],n=0;c(a);return{sourceCode:f.join("").replace(/\n$/,""),spans:y}}function a(a,b,c,d){b&&(a={sourceCode:b,basePos:a},c(a),d.push.apply(d,a.decorations))}function o(b,c){var E={},
e;(function(){for(var b=a.concat(d),m=[],p={},f=0,n=b.length;f<n;++f){var k=b[f],o=k[3];if(o)for(var i=o.length;--i>=0;)A[o.charAt(i)]=k;k=k[1];o=""+k;p.hasOwnProperty(o)||(m.push(k),p[o]=null)}m.push(/[\0-\uffff]/);e=c(m)})();var r=d.length,N=function(a){for(var c=a.basePos,B=[c,"pln"],f=0,k=a.sourceCode.match(e)||[],v={},o=0,i=k.length;o<i;++o){var u=k[o],l=v[u],s=void 0,g;if(typeof l==="string")g=!1;else{var j=A[u.charAt(0)];if(j)s=u.match(j[1]),l=j[0];else{for(g=0;g<r;++g)if(j=d[g],s=u.match(j[1])){l= f;(function(){for(var a=b.concat(c),n=[],q={},e=0,m=a.length;e<m;++e){var l=a[e],p=l[3];if(p)for(var i=p.length;--i>=0;)E[p.charAt(i)]=l;l=l[1];p=""+l;q.hasOwnProperty(p)||(n.push(l),q[p]=null)}n.push(/[\0-\uffff]/);f=d(n)})();var l=c.length,t=function(b){for(var d=b.basePos,G=[d,"pln"],e=0,m=b.sourceCode.match(f)||[],s={},p=0,i=m.length;p<i;++p){var x=m[p],k=s[x],u=void 0,g;if(typeof k==="string")g=!1;else{var j=E[x.charAt(0)];if(j)u=x.match(j[1]),k=j[0];else{for(g=0;g<l;++g)if(j=c[g],u=x.match(j[1])){k=
j[0];break}s||(l="pln")}if((g=l.length>=5&&"lang-"===l.substring(0,5))&&!(s&&typeof s[1]==="string"))g=!1,l="src";g||(v[u]=l)}j=f;f+=u.length;if(g){g=s[1];var h=u.indexOf(g),E=h+g.length;s[2]&&(E=u.length-s[2].length,h=E-g.length);l=l.substring(5);b(c+j,u.substring(0,h),N,B);b(c+j+h,g,t(l,g),B);b(c+j+E,u.substring(E),N,B)}else B.push(c+j,l)}a.decorations=B};return N}function a(a){var b=[],c=[];a.tripleQuotedStrings?b.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/, j[0];break}u||(k="pln")}if((g=k.length>=5&&"lang-"===k.substring(0,5))&&!(u&&typeof u[1]==="string"))g=!1,k="src";g||(s[x]=k)}j=e;e+=x.length;if(g){g=u[1];var h=x.indexOf(g),D=h+g.length;u[2]&&(D=x.length-u[2].length,h=D-g.length);k=k.substring(5);a(d+j,x.substring(0,h),t,G);a(d+j+h,g,r(k,g),G);a(d+j+D,x.substring(D),t,G)}else G.push(d+j,k)}b.decorations=G};return t}function c(a){var b=[],c=[];a.tripleQuotedStrings?b.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,
null,"'\""]):a.multiLineStrings?b.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):b.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]);a.verbatimStrings&&c.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var d=a.hashComments;d&&(a.cStyleComments?(d>1?b.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):b.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/, null,"'\""]):a.multiLineStrings?b.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):b.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]);a.verbatimStrings&&c.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var d=a.hashComments;d&&(a.cStyleComments?(d>1?b.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):b.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,
null,"#"]),c.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):b.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(c.push(["com",/^\/\/[^\r\n]*/,null]),c.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));a.regexLiterals&&c.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)")]); null,"#"]),c.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):b.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(c.push(["com",/^\/\/[^\r\n]*/,null]),c.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));a.regexLiterals&&c.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)")]);
(d=a.types)&&c.push(["typ",d]);a=(""+a.keywords).replace(/^ | $/g,"");a.length&&c.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),null]);b.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);c.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]); (d=a.types)&&c.push(["typ",d]);a=(""+a.keywords).replace(/^ | $/g,"");a.length&&c.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),null]);b.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);c.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);
return k(b,c)}function r(a,b,c){function d(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("br"===a.nodeName)e(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)d(a);break;case 3:case 4:if(c){var b=a.nodeValue,f=b.match(r);if(f){var B=b.substring(0,f.index);a.nodeValue=B;(b=b.substring(f.index+f[0].length))&&a.parentNode.insertBefore(m.createTextNode(b),a.nextSibling);e(a);B||a.parentNode.removeChild(a)}}}}function e(a){function b(a,f){var c=f?a.cloneNode(!1): return o(b,c)}function l(a,b,c){function d(a){switch(a.nodeType){case 1:if(l.test(a.className))break;if("br"===a.nodeName)f(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)d(a);break;case 3:case 4:if(c){var b=a.nodeValue,e=b.match(t);if(e){var m=b.substring(0,e.index);a.nodeValue=m;(b=b.substring(e.index+e[0].length))&&a.parentNode.insertBefore(n.createTextNode(b),a.nextSibling);f(a);m||a.parentNode.removeChild(a)}}}}function f(a){function b(a,c){var e=c?a.cloneNode(!1):
a,h=a.parentNode;if(h){var h=b(h,1),d=a.nextSibling;h.appendChild(c);for(var i=d;i;i=d)d=i.nextSibling,h.appendChild(i)}return c}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),c;(c=a.parentNode)&&c.nodeType===1;)a=c;f.push(a)}for(var k=/(?:^|\s)nocode(?:\s|$)/,r=/\r\n?|\n/,m=a.ownerDocument,p=m.createElement("li");a.firstChild;)p.appendChild(a.firstChild);for(var f=[p],n=0;n<f.length;++n)d(f[n]);b===(b|0)&&f[0].setAttribute("value",b);var v=m.createElement("ol");v.className= a,h=a.parentNode;if(h){var h=b(h,1),d=a.nextSibling;h.appendChild(e);for(var i=d;i;i=d)d=i.nextSibling,h.appendChild(i)}return e}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),c;(c=a.parentNode)&&c.nodeType===1;)a=c;e.push(a)}for(var l=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,n=a.ownerDocument,q=n.createElement("li");a.firstChild;)q.appendChild(a.firstChild);for(var e=[q],m=0;m<e.length;++m)d(e[m]);b===(b|0)&&e[0].setAttribute("value",b);var s=n.createElement("ol");s.className=
"linenums";for(var b=Math.max(0,b-1|0)||0,n=0,o=f.length;n<o;++n)p=f[n],p.className="L"+(n+b)%10,p.firstChild||p.appendChild(m.createTextNode("\u00a0")),v.appendChild(p);a.appendChild(v)}function d(a,b){for(var c=b.length;--c>=0;){var d=b[c];J.hasOwnProperty(d)?F.console&&console.warn("cannot override language handler %s",d):J[d]=a}}function t(a,b){if(!a||!J.hasOwnProperty(a))a=/^\s*</.test(b)?"default-markup":"default-code";return J[a]}function D(a){var b=a.langExtension;try{var c=e(a.sourceNode, "linenums";for(var b=Math.max(0,b-1|0)||0,m=0,p=e.length;m<p;++m)q=e[m],q.className="L"+(m+b)%10,q.firstChild||q.appendChild(n.createTextNode("\u00a0")),s.appendChild(q);a.appendChild(s)}function b(a,b){for(var c=b.length;--c>=0;){var d=b[c];I.hasOwnProperty(d)?s.console&&console.warn("cannot override language handler %s",d):I[d]=a}}function r(a,b){if(!a||!I.hasOwnProperty(a))a=/^\s*</.test(b)?"default-markup":"default-code";return I[a]}function t(a){var b=a.langExtension;try{var c=f(a.sourceNode,
a.pre),d=c.sourceCode;a.sourceCode=d;a.spans=c.spans;a.basePos=0;t(b,d)(a);var k=/\bMSIE\s(\d+)/.exec(navigator.userAgent),k=k&&+k[1]<=8,b=/\n/g,r=a.sourceCode,q=r.length,c=0,m=a.spans,p=m.length,d=0,f=a.decorations,n=f.length,v=0;f[n]=q;var o,i;for(i=o=0;i<n;)f[i]!==f[i+2]?(f[o++]=f[i++],f[o++]=f[i++]):i+=2;n=o;for(i=o=0;i<n;){for(var u=f[i],l=f[i+1],s=i+2;s+2<=n&&f[s+1]===l;)s+=2;f[o++]=u;f[o++]=l;i=s}f.length=o;var g=a.sourceNode,j;if(g)j=g.style.display,g.style.display="none";try{for(;d<p;){var h= a.pre),d=c.sourceCode;a.sourceCode=d;a.spans=c.spans;a.basePos=0;r(b,d)(a);var l=/\bMSIE\s(\d+)/.exec(navigator.userAgent),l=l&&+l[1]<=8,b=/\n/g,o=a.sourceCode,y=o.length,c=0,n=a.spans,q=n.length,d=0,e=a.decorations,m=e.length,v=0;e[m]=y;var p,i;for(i=p=0;i<m;)e[i]!==e[i+2]?(e[p++]=e[i++],e[p++]=e[i++]):i+=2;m=p;for(i=p=0;i<m;){for(var x=e[i],k=e[i+1],u=i+2;u+2<=m&&e[u+1]===k;)u+=2;e[p++]=x;e[p++]=k;i=u}e.length=p;var g=a.sourceNode,j;if(g)j=g.style.display,g.style.display="none";try{for(;d<q;){var h=
m[d+2]||q,E=f[v+2]||q,s=Math.min(h,E),C=m[d+1],K;if(C.nodeType!==1&&(K=r.substring(c,s))){k&&(K=K.replace(b,"\r"));C.nodeValue=K;var x=C.ownerDocument,w=x.createElement("span");w.className=f[v+1];var z=C.parentNode;z.replaceChild(w,C);w.appendChild(C);c<h&&(m[d+1]=C=x.createTextNode(r.substring(s,h)),z.insertBefore(C,w.nextSibling))}c=s;c>=h&&(d+=2);c>=E&&(v+=2)}}finally{if(g)g.style.display=j}}catch(y){F.console&&console.log(y&&y.stack?y.stack:y)}}var F=q,z=["break,continue,do,else,for,if,return,while"], n[d+2]||y,D=e[v+2]||y,u=Math.min(h,D),C=n[d+1],J;if(C.nodeType!==1&&(J=o.substring(c,u))){l&&(J=J.replace(b,"\r"));C.nodeValue=J;var A=C.ownerDocument,w=A.createElement("span");w.className=e[v+1];var B=C.parentNode;B.replaceChild(w,C);w.appendChild(C);c<h&&(n[d+1]=C=A.createTextNode(o.substring(u,h)),B.insertBefore(C,w.nextSibling))}c=u;c>=h&&(d+=2);c>=D&&(v+=2)}}finally{if(g)g.style.display=j}}catch(z){s.console&&console.log(z&&z.stack?z.stack:z)}}var s=v,B=["break,continue,do,else,for,if,return,while"],
y=[[z,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],w=[y,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], z=[[B,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],A=[z,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],
G=[y,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],O=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],y=[y,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"], w=[z,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],F=[w,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],z=[z,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],
P=[z,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],Q=[z,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],z=[z,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, L=[B,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],M=[B,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],B=[B,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],N=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,
L=/\S/,S=a({keywords:[w,O,y,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+P,Q,z],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),J={};d(S,["default-code"]);d(k([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-", K=/\S/,P=c({keywords:[A,F,z,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+L,M,B],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};b(P,["default-code"]);b(o([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",
/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);d(k([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/], /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);b(o([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],
["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);d(k([],[["atv",/^[\s\S]+/]]),["uq.val"]);d(a({keywords:w,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);d(a({keywords:"null,true,false"}),["json"]);d(a({keywords:O,hashComments:!0,cStyleComments:!0, ["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);b(o([],[["atv",/^[\s\S]+/]]),["uq.val"]);b(c({keywords:A,hashComments:!0,cStyleComments:!0,types:N}),["c","cc","cpp","cxx","cyc","m"]);b(c({keywords:"null,true,false"}),["json"]);b(c({keywords:F,hashComments:!0,cStyleComments:!0,
verbatimStrings:!0,types:R}),["cs"]);d(a({keywords:G,cStyleComments:!0}),["java"]);d(a({keywords:z,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);d(a({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]);d(a({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl", verbatimStrings:!0,types:N}),["cs"]);b(c({keywords:w,cStyleComments:!0}),["java"]);b(c({keywords:B,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);b(c({keywords:L,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]);b(c({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl",
"pl","pm"]);d(a({keywords:Q,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);d(a({keywords:y,cStyleComments:!0,regexLiterals:!0}),["js"]);d(a({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);d(k([],[["str",/^[\s\S]+/]]),["regex"]);var T=F.PR={createSimpleLexer:k, "pl","pm"]);b(c({keywords:M,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);b(c({keywords:z,cStyleComments:!0,regexLiterals:!0}),["js"]);b(c({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);b(o([],[["str",/^[\s\S]+/]]),["regex"]);var Q=s.PR={createSimpleLexer:o,
registerLangHandler:d,sourceDecorator:a,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:F.prettyPrintOne=function(a,b,c){var d=document.createElement("div");d.innerHTML="<pre>"+a+"</pre>";d=d.firstChild;c&&r(d,c,!0);D({langExtension:b,numberLines:c,sourceNode:d,pre:1});return d.innerHTML},prettyPrint:F.prettyPrint= registerLangHandler:b,sourceDecorator:c,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:s.prettyPrintOne=function(a,b,c){var d=document.createElement("div");d.innerHTML="<pre>"+a+"</pre>";d=d.firstChild;c&&l(d,c,!0);t({langExtension:b,numberLines:c,sourceNode:d,pre:1});return d.innerHTML},prettyPrint:s.prettyPrint=
function(a){function b(){var s;for(var c=F.PR_SHOULD_USE_CONTINUATION?m.now()+250:Infinity;p<d.length&&m.now()<c;p++){var g=d[p],j=g.className;if(v.test(j)&&!o.test(j)){for(var h=!1,e=g.parentNode;e;e=e.parentNode)if(l.test(e.tagName)&&e.className&&v.test(e.className)){h=!0;break}if(!h){g.className+=" prettyprinted";var j=j.match(n),k;if(h=!j){for(var h=g,e=I,q=h.firstChild;q;q=q.nextSibling)var t=q.nodeType,e=t===1?e?h:q:t===3?L.test(q.nodeValue)?h:e:e;h=(k=e===h?I:e)&&u.test(k.tagName)}h&&(j=k.className.match(n)); function(a){function b(){var u;for(var c=s.PR_SHOULD_USE_CONTINUATION?n.now()+250:Infinity;q<d.length&&n.now()<c;q++){var g=d[q],j=g.className;if(v.test(j)&&!p.test(j)){for(var h=!1,f=g.parentNode;f;f=f.parentNode)if(k.test(f.tagName)&&f.className&&v.test(f.className)){h=!0;break}if(!h){g.className+=" prettyprinted";var j=j.match(m),o;if(h=!j){for(var h=g,f=H,r=h.firstChild;r;r=r.nextSibling)var w=r.nodeType,f=w===1?f?h:r:w===3?K.test(r.nodeValue)?h:f:f;h=(o=f===h?H:f)&&x.test(o.tagName)}h&&(j=o.className.match(m));
j&&(j=j[1]);s=i.test(g.tagName)?1:(h=(h=g.currentStyle)?h.whiteSpace:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(g,null).getPropertyValue("white-space"):0)&&"pre"===h.substring(0,3),h=s;(e=(e=g.className.match(/\blinenums\b(?::(\d+))?/))?e[1]&&e[1].length?+e[1]:!0:!1)&&r(g,e,h);f={langExtension:j,sourceNode:g,numberLines:e,pre:h};D(f)}}}p<d.length?setTimeout(b,250):a&&a()}for(var c=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"), j&&(j=j[1]);u=i.test(g.tagName)?1:(h=(h=g.currentStyle)?h.whiteSpace:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(g,null).getPropertyValue("white-space"):0)&&"pre"===h.substring(0,3),h=u;(f=(f=g.className.match(/\blinenums\b(?::(\d+))?/))?f[1]&&f[1].length?+f[1]:!0:!1)&&l(g,f,h);e={langExtension:j,sourceNode:g,numberLines:f,pre:h};t(e)}}}q<d.length?setTimeout(b,250):a&&a()}for(var c=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),
document.getElementsByTagName("xmp")],d=[],e=0;e<c.length;++e)for(var k=0,q=c[e].length;k<q;++k)d.push(c[e][k]);var c=null,m=Date;m.now||(m={now:function(){return+new Date}});var p=0,f,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,v=/\bprettyprint\b/,o=/\bprettyprinted\b/,i=/pre|xmp/i,u=/^code$/i,l=/^(?:pre|code|xmp)$/i;b()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return T})})()})(window,window.angular);angular.element(document).find("head").append('<style type="text/css">.com{color:#93a1a1;}.lit{color:#195f91;}.pun,.opn,.clo{color:#93a1a1;}.fun{color:#dc322f;}.str,.atv{color:#D14;}.kwd,.linenums .tag{color:#1e347b;}.typ,.atn,.dec,.var{color:teal;}.pln{color:#48484c;}.prettyprint{padding:8px;background-color:#f7f7f9;border:1px solid #e1e1e8;}.prettyprint.linenums{-webkit-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;-moz-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;}ol.linenums{margin:0 0 0 33px;}ol.linenums li{padding-left:12px;color:#bebec5;line-height:18px;text-shadow:0 1px 0 #fff;}</style>'); document.getElementsByTagName("xmp")],d=[],f=0;f<c.length;++f)for(var o=0,r=c[f].length;o<r;++o)d.push(c[f][o]);var c=null,n=Date;n.now||(n={now:function(){return+new Date}});var q=0,e,m=/\blang(?:uage)?-([\w.]+)(?!\S)/,v=/\bprettyprint\b/,p=/\bprettyprinted\b/,i=/pre|xmp/i,x=/^code$/i,k=/^(?:pre|code|xmp)$/i;b()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Q})})()})(window,window.angular);angular.element(document).find("head").append('<style type="text/css">.com{color:#93a1a1;}.lit{color:#195f91;}.pun,.opn,.clo{color:#93a1a1;}.fun{color:#dc322f;}.str,.atv{color:#D14;}.kwd,.linenums .tag{color:#1e347b;}.typ,.atn,.dec,.var{color:teal;}.pln{color:#48484c;}.prettyprint{padding:8px;background-color:#f7f7f9;border:1px solid #e1e1e8;}.prettyprint.linenums{-webkit-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;-moz-box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;box-shadow:inset 40px 0 0 #fbfbfc,inset 41px 0 0 #ececf0;}ol.linenums{margin:0 0 0 33px;}ol.linenums li{padding-left:12px;color:#bebec5;line-height:18px;text-shadow:0 1px 0 #fff;}</style>');

3
lib/angular/angular-bootstrap.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -163,4 +163,5 @@ directive.tabPane = function() {
angular.module('bootstrap', []).directive(directive); angular.module('bootstrap', []).directive(directive);
})(window, window.angular); })(window, window.angular);

2
lib/angular/angular-bootstrap.min.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */

15
lib/angular/angular-cookies.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -25,6 +25,18 @@ angular.module('ngCookies', ['ng']).
* this object, new cookies are created/deleted at the end of current $eval. * this object, new cookies are created/deleted at the end of current $eval.
* *
* @example * @example
<doc:example>
<doc:source>
<script>
function ExampleController($cookies) {
// Retrieving a cookie
var favoriteCookie = $cookies.myFavorite;
// Setting a cookie
$cookies.myFavorite = 'oatmeal';
}
</script>
</doc:source>
</doc:example>
*/ */
factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) { factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) {
var cookies = {}, var cookies = {},
@ -168,4 +180,5 @@ angular.module('ngCookies', ['ng']).
}]); }]);
})(window, window.angular); })(window, window.angular);

2
lib/angular/angular-cookies.min.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */

30
lib/angular/angular-loader.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -170,6 +170,33 @@ function setupModuleLoader(window) {
*/ */
constant: invokeLater('$provide', 'constant', 'unshift'), constant: invokeLater('$provide', 'constant', 'unshift'),
/**
* @ngdoc method
* @name angular.Module#animation
* @methodOf angular.Module
* @param {string} name animation name
* @param {Function} animationFactory Factory function for creating new instance of an animation.
* @description
*
* Defines an animation hook that can be later used with {@link ng.directive:ngAnimate ngAnimate}
* alongside {@link ng.directive:ngAnimate#Description common ng directives} as well as custom directives.
* <pre>
* module.animation('animation-name', function($inject1, $inject2) {
* return {
* //this gets called in preparation to setup an animation
* setup : function(element) { ... },
*
* //this gets called once the animation is run
* start : function(element, done, memo) { ... }
* }
* })
* </pre>
*
* See {@link ng.$animationProvider#register $animationProvider.register()} and
* {@link ng.directive:ngAnimate ngAnimate} for more information.
*/
animation: invokeLater('$animationProvider', 'register'),
/** /**
* @ngdoc method * @ngdoc method
* @name angular.Module#filter * @name angular.Module#filter
@ -254,6 +281,7 @@ function setupModuleLoader(window) {
}); });
} }
)(window); )(window);
/** /**

4
lib/angular/angular-loader.min.js vendored Normal file → Executable file
View file

@ -1,7 +1,7 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */
(function(i){'use strict';function d(c,b,e){return c[b]||(c[b]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(b,e,f){e&&c.hasOwnProperty(b)&&(c[b]=null);return d(c,b,function(){function a(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+b);var c=[],d=[],h=a("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:b,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"), (function(i){'use strict';function d(c,b,e){return c[b]||(c[b]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(b,e,f){e&&c.hasOwnProperty(b)&&(c[b]=null);return d(c,b,function(){function a(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+b);var c=[],d=[],h=a("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:b,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),
value:a("$provide","value"),constant:a("$provide","constant","unshift"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window); value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animationProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window);

267
lib/angular/angular-mobile.js vendored Executable file
View file

@ -0,0 +1,267 @@
/**
* @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngMobile
* @description
*/
/*
* Touch events and other mobile helpers by Braden Shepherdson (braden.shepherdson@gmail.com)
* Based on jQuery Mobile touch event handling (jquerymobile.com)
*/
// define ngSanitize module and register $sanitize service
var ngMobile = angular.module('ngMobile', []);
/**
* @ngdoc directive
* @name ngMobile.directive:ngTap
*
* @description
* Specify custom behavior when element is tapped on a touchscreen device.
* A tap is a brief, down-and-up touch without much motion.
*
* @element ANY
* @param {expression} ngClick {@link guide/expression Expression} to evaluate
* upon tap. (Event object is available as `$event`)
*
* @example
<doc:example>
<doc:source>
<button ng-tap="count = count + 1" ng-init="count=0">
Increment
</button>
count: {{ count }}
</doc:source>
</doc:example>
*/
ngMobile.config(['$provide', function($provide) {
$provide.decorator('ngClickDirective', ['$delegate', function($delegate) {
// drop the default ngClick directive
$delegate.shift();
return $delegate;
}]);
}]);
ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement',
function($parse, $timeout, $rootElement) {
var TAP_DURATION = 750; // Shorter than 750ms is a tap, longer is a taphold or drag.
var MOVE_TOLERANCE = 12; // 12px seems to work in most mobile browsers.
var PREVENT_DURATION = 2500; // 2.5 seconds maximum from preventGhostClick call to click
var CLICKBUSTER_THRESHOLD = 25; // 25 pixels in any dimension is the limit for busting clicks.
var lastPreventedTime;
var touchCoordinates;
// TAP EVENTS AND GHOST CLICKS
//
// Why tap events?
// Mobile browsers detect a tap, then wait a moment (usually ~300ms) to see if you're
// double-tapping, and then fire a click event.
//
// This delay sucks and makes mobile apps feel unresponsive.
// So we detect touchstart, touchmove, touchcancel and touchend ourselves and determine when
// the user has tapped on something.
//
// What happens when the browser then generates a click event?
// The browser, of course, also detects the tap and fires a click after a delay. This results in
// tapping/clicking twice. So we do "clickbusting" to prevent it.
//
// How does it work?
// We attach global touchstart and click handlers, that run during the capture (early) phase.
// So the sequence for a tap is:
// - global touchstart: Sets an "allowable region" at the point touched.
// - element's touchstart: Starts a touch
// (- touchmove or touchcancel ends the touch, no click follows)
// - element's touchend: Determines if the tap is valid (didn't move too far away, didn't hold
// too long) and fires the user's tap handler. The touchend also calls preventGhostClick().
// - preventGhostClick() removes the allowable region the global touchstart created.
// - The browser generates a click event.
// - The global click handler catches the click, and checks whether it was in an allowable region.
// - If preventGhostClick was called, the region will have been removed, the click is busted.
// - If the region is still there, the click proceeds normally. Therefore clicks on links and
// other elements without ngTap on them work normally.
//
// This is an ugly, terrible hack!
// Yeah, tell me about it. The alternatives are using the slow click events, or making our users
// deal with the ghost clicks, so I consider this the least of evils. Fortunately Angular
// encapsulates this ugly logic away from the user.
//
// Why not just put click handlers on the element?
// We do that too, just to be sure. The problem is that the tap event might have caused the DOM
// to change, so that the click fires in the same position but something else is there now. So
// the handlers are global and care only about coordinates and not elements.
// Checks if the coordinates are close enough to be within the region.
function hit(x1, y1, x2, y2) {
return Math.abs(x1 - x2) < CLICKBUSTER_THRESHOLD && Math.abs(y1 - y2) < CLICKBUSTER_THRESHOLD;
}
// Checks a list of allowable regions against a click location.
// Returns true if the click should be allowed.
// Splices out the allowable region from the list after it has been used.
function checkAllowableRegions(touchCoordinates, x, y) {
for (var i = 0; i < touchCoordinates.length; i += 2) {
if (hit(touchCoordinates[i], touchCoordinates[i+1], x, y)) {
touchCoordinates.splice(i, i + 2);
return true; // allowable region
}
}
return false; // No allowable region; bust it.
}
// Global click handler that prevents the click if it's in a bustable zone and preventGhostClick
// was called recently.
function onClick(event) {
if (Date.now() - lastPreventedTime > PREVENT_DURATION) {
return; // Too old.
}
var touches = event.touches && event.touches.length ? event.touches : [event];
var x = touches[0].clientX;
var y = touches[0].clientY;
// Work around desktop Webkit quirk where clicking a label will fire two clicks (on the label
// and on the input element). Depending on the exact browser, this second click we don't want
// to bust has either (0,0) or negative coordinates.
if (x < 1 && y < 1) {
return; // offscreen
}
// Look for an allowable region containing this click.
// If we find one, that means it was created by touchstart and not removed by
// preventGhostClick, so we don't bust it.
if (checkAllowableRegions(touchCoordinates, x, y)) {
return;
}
// If we didn't find an allowable region, bust the click.
event.stopPropagation();
event.preventDefault();
}
// Global touchstart handler that creates an allowable region for a click event.
// This allowable region can be removed by preventGhostClick if we want to bust it.
function onTouchStart(event) {
var touches = event.touches && event.touches.length ? event.touches : [event];
var x = touches[0].clientX;
var y = touches[0].clientY;
touchCoordinates.push(x, y);
$timeout(function() {
// Remove the allowable region.
for (var i = 0; i < touchCoordinates.length; i += 2) {
if (touchCoordinates[i] == x && touchCoordinates[i+1] == y) {
touchCoordinates.splice(i, i + 2);
return;
}
}
}, PREVENT_DURATION, false);
}
// On the first call, attaches some event handlers. Then whenever it gets called, it creates a
// zone around the touchstart where clicks will get busted.
function preventGhostClick(x, y) {
if (!touchCoordinates) {
$rootElement[0].addEventListener('click', onClick, true);
$rootElement[0].addEventListener('touchstart', onTouchStart, true);
touchCoordinates = [];
}
lastPreventedTime = Date.now();
checkAllowableRegions(touchCoordinates, x, y);
}
// Actual linking function.
return function(scope, element, attr) {
var expressionFn = $parse(attr.ngClick),
tapping = false,
tapElement, // Used to blur the element after a tap.
startTime, // Used to check if the tap was held too long.
touchStartX,
touchStartY;
function resetState() {
tapping = false;
}
element.bind('touchstart', function(event) {
tapping = true;
tapElement = event.target ? event.target : event.srcElement; // IE uses srcElement.
// Hack for Safari, which can target text nodes instead of containers.
if(tapElement.nodeType == 3) {
tapElement = tapElement.parentNode;
}
startTime = Date.now();
var touches = event.touches && event.touches.length ? event.touches : [event];
var e = touches[0].originalEvent || touches[0];
touchStartX = e.clientX;
touchStartY = e.clientY;
});
element.bind('touchmove', function(event) {
resetState();
});
element.bind('touchcancel', function(event) {
resetState();
});
element.bind('touchend', function(event) {
var diff = Date.now() - startTime;
var touches = (event.changedTouches && event.changedTouches.length) ? event.changedTouches :
((event.touches && event.touches.length) ? event.touches : [event]);
var e = touches[0].originalEvent || touches[0];
var x = e.clientX;
var y = e.clientY;
var dist = Math.sqrt( Math.pow(x - touchStartX, 2) + Math.pow(y - touchStartY, 2) );
if (tapping && diff < TAP_DURATION && dist < MOVE_TOLERANCE) {
// Call preventGhostClick so the clickbuster will catch the corresponding click.
preventGhostClick(x, y);
// Blur the focused element (the button, probably) before firing the callback.
// This doesn't work perfectly on Android Chrome, but seems to work elsewhere.
// I couldn't get anything to work reliably on Android Chrome.
if (tapElement) {
tapElement.blur();
}
scope.$apply(function() {
// TODO(braden): This is sending the touchend, not a tap or click. Is that kosher?
expressionFn(scope, {$event: event});
});
}
tapping = false;
});
// Hack for iOS Safari's benefit. It goes searching for onclick handlers and is liable to click
// something else nearby.
element.onclick = function(event) { };
// Fallback click handler.
// Busted clicks don't get this far, and adding this handler allows ng-tap to be used on
// desktop as well, to allow more portable sites.
element.bind('click', function(event) {
scope.$apply(function() {
expressionFn(scope, {$event: event});
});
});
};
}]);
})(window, window.angular);

9
lib/angular/angular-mobile.min.js vendored Executable file
View file

@ -0,0 +1,9 @@
/*
AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
*/
(function(r,h){'use strict';var d=h.module("ngMobile",[]);d.config(["$provide",function(j){j.decorator("ngClickDirective",["$delegate",function(g){g.shift();return g}])}]);d.directive("ngClick",["$parse","$timeout","$rootElement",function(j,g,d){function k(a,b,c){for(var f=0;f<a.length;f+=2)if(Math.abs(a[f]-b)<m&&Math.abs(a[f+1]-c)<m)return a.splice(f,f+2),!0;return!1}function h(a){if(!(Date.now()-n>o)){var b=a.touches&&a.touches.length?a.touches:[a],e=b[0].clientX,b=b[0].clientY;!(e<1&&b<1)&&!k(c,
e,b)&&(a.stopPropagation(),a.preventDefault())}}function p(a){var a=a.touches&&a.touches.length?a.touches:[a],b=a[0].clientX,e=a[0].clientY;c.push(b,e);g(function(){for(var a=0;a<c.length;a+=2)if(c[a]==b&&c[a+1]==e){c.splice(a,a+2);break}},o,!1)}function q(a,b){c||(d[0].addEventListener("click",h,!0),d[0].addEventListener("touchstart",p,!0),c=[]);n=Date.now();k(c,a,b)}var o=2500,m=25,n,c;return function(a,b,c){var f=j(c.ngClick),d=!1,i,g,h,k;b.bind("touchstart",function(a){d=!0;i=a.target?a.target:
a.srcElement;if(i.nodeType==3)i=i.parentNode;g=Date.now();a=a.touches&&a.touches.length?a.touches:[a];a=a[0].originalEvent||a[0];h=a.clientX;k=a.clientY});b.bind("touchmove",function(){d=!1});b.bind("touchcancel",function(){d=!1});b.bind("touchend",function(b){var c=Date.now()-g,e=b.changedTouches&&b.changedTouches.length?b.changedTouches:b.touches&&b.touches.length?b.touches:[b],l=e[0].originalEvent||e[0],e=l.clientX,l=l.clientY,j=Math.sqrt(Math.pow(e-h,2)+Math.pow(l-k,2));d&&c<750&&j<12&&(q(e,l),
i&&i.blur(),a.$apply(function(){f(a,{$event:b})}));d=!1});b.onclick=function(){};b.bind("click",function(b){a.$apply(function(){f(a,{$event:b})})})}}])})(window,window.angular);

1846
lib/angular/angular-mocks.js vendored Executable file

File diff suppressed because it is too large Load diff

141
lib/angular/angular-resource.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -24,14 +24,23 @@
* The returned resource object has action methods which provide high-level behaviors without * The returned resource object has action methods which provide high-level behaviors without
* the need to interact with the low level {@link ng.$http $http} service. * the need to interact with the low level {@link ng.$http $http} service.
* *
* @param {string} url A parameterized URL template with parameters prefixed by `:` as in * # Installation
* `/user/:username`. If you are using a URL with a port number (e.g. * To use $resource make sure you have included the `angular-resource.js` that comes in Angular
* package. You also can find this stuff in {@link http://code.angularjs.org/ code.angularjs.org}.
* Finally load the module in your application:
*
* angular.module('app', ['ngResource']);
*
* and you ready to get started!
*
* @param {string} url A parametrized URL template with parameters prefixed by `:` as in
* `/user/:username`. If you are using a URL with a port number (e.g.
* `http://example.com:8080/api`), you'll need to escape the colon character before the port * `http://example.com:8080/api`), you'll need to escape the colon character before the port
* number, like this: `$resource('http://example.com\\:8080/api')`. * number, like this: `$resource('http://example.com\\:8080/api')`.
* *
* @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in
* `actions` methods. If any of the parameter value is a function, it will be executed every time * `actions` methods. If any of the parameter value is a function, it will be executed every time
* when a param value needs to be obtained for a request (unless the param was overriden). * when a param value needs to be obtained for a request (unless the param was overridden).
* *
* Each key value in the parameter object is first bound to url template if present and then any * Each key value in the parameter object is first bound to url template if present and then any
* excess keys are appended to the url search query after the `?`. * excess keys are appended to the url search query after the `?`.
@ -58,7 +67,9 @@
* and `JSONP`. * and `JSONP`.
* - **`params`** {Object=} Optional set of pre-bound parameters for this action. If any of the * - **`params`** {Object=} Optional set of pre-bound parameters for this action. If any of the
* parameter value is a function, it will be executed every time when a param value needs to be * parameter value is a function, it will be executed every time when a param value needs to be
* obtained for a request (unless the param was overriden). * obtained for a request (unless the param was overridden).
* - **`url`** {string} action specific `url` override. The url templating is supported just like
* for the resource-level urls.
* - **`isArray`** {boolean=} If true then the returned object for this action is an array, see * - **`isArray`** {boolean=} If true then the returned object for this action is an array, see
* `returns` section. * `returns` section.
* - **`transformRequest`** `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` * - **`transformRequest`** `{function(data, headersGetter)|Array.<function(data, headersGetter)>}`
@ -89,9 +100,9 @@
* *
* Calling these methods invoke an {@link ng.$http} with the specified http method, * Calling these methods invoke an {@link ng.$http} with the specified http method,
* destination and parameters. When the data is returned from the server then the object is an * destination and parameters. When the data is returned from the server then the object is an
* instance of the resource class `save`, `remove` and `delete` actions are available on it as * instance of the resource class. The actions `save`, `remove` and `delete` are available on it
* methods with the `$` prefix. This allows you to easily perform CRUD operations (create, read, * as methods with the `$` prefix. This allows you to easily perform CRUD operations (create,
* update, delete) on server-side data like this: * read, update, delete) on server-side data like this:
* <pre> * <pre>
var User = $resource('/user/:userId', {userId:'@id'}); var User = $resource('/user/:userId', {userId:'@id'});
var user = User.get({userId:123}, function() { var user = User.get({userId:123}, function() {
@ -116,6 +127,24 @@
* - non-GET instance actions: `instance.$action([parameters], [success], [error])` * - non-GET instance actions: `instance.$action([parameters], [success], [error])`
* *
* *
* The Resource instances and collection have these additional properties:
*
* - `$then`: the `then` method of a {@link ng.$q promise} derived from the underlying
* {@link ng.$http $http} call.
*
* The success callback for the `$then` method will be resolved if the underlying `$http` requests
* succeeds.
*
* The success callback is called with a single object which is the {@link ng.$http http response}
* object extended with a new property `resource`. This `resource` property is a reference to the
* result of the resource action resource object or array of resources.
*
* The error callback is called with the {@link ng.$http http response} object when an http
* error occurs.
*
* - `$resolved`: true if the promise has been resolved (either with success or rejection);
* Knowing if the Resource has been resolved is useful in data-binding.
*
* @example * @example
* *
* # Credit card resource * # Credit card resource
@ -171,9 +200,9 @@
}); });
</pre> </pre>
* *
* It's worth noting that the success callback for `get`, `query` and other method gets passed * It's worth noting that the success callback for `get`, `query` and other method gets passed
* in the response that came from the server as well as $http header getter function, so one * in the response that came from the server as well as $http header getter function, so one
* could rewrite the above example and get access to http headers as: * could rewrite the above example and get access to http headers as:
* *
<pre> <pre>
var User = $resource('/user/:userId', {userId:'@id'}); var User = $resource('/user/:userId', {userId:'@id'});
@ -273,7 +302,7 @@ angular.module('ngResource', ['ng']).
/** /**
* This method is intended for encoding *key* or *value* parts of query component. We need a custom * This method is intended for encoding *key* or *value* parts of query component. We need a custom
* method becuase encodeURIComponent is too agressive and encodes stuff that doesn't have to be * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be
* encoded per http://tools.ietf.org/html/rfc3986: * encoded per http://tools.ietf.org/html/rfc3986:
* query = *( pchar / "/" / "?" ) * query = *( pchar / "/" / "?" )
* pchar = unreserved / pct-encoded / sub-delims / ":" / "@" * pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
@ -288,36 +317,38 @@ angular.module('ngResource', ['ng']).
replace(/%3A/gi, ':'). replace(/%3A/gi, ':').
replace(/%24/g, '$'). replace(/%24/g, '$').
replace(/%2C/gi, ','). replace(/%2C/gi, ',').
replace((pctEncodeSpaces ? null : /%20/g), '+'); replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));
} }
function Route(template, defaults) { function Route(template, defaults) {
this.template = template = template + '#'; this.template = template = template + '#';
this.defaults = defaults || {}; this.defaults = defaults || {};
var urlParams = this.urlParams = {}; this.urlParams = {};
forEach(template.split(/\W/), function(param){
if (param && template.match(new RegExp("[^\\\\]:" + param + "\\W"))) {
urlParams[param] = true;
}
});
this.template = template.replace(/\\:/g, ':');
} }
Route.prototype = { Route.prototype = {
url: function(params) { setUrlParams: function(config, params, actionUrl) {
var self = this, var self = this,
url = this.template, url = actionUrl || self.template,
val, val,
encodedVal; encodedVal;
var urlParams = self.urlParams = {};
forEach(url.split(/\W/), function(param){
if (param && (new RegExp("(^|[^\\\\]):" + param + "(\\W|$)").test(url))) {
urlParams[param] = true;
}
});
url = url.replace(/\\:/g, ':');
params = params || {}; params = params || {};
forEach(this.urlParams, function(_, urlParam){ forEach(self.urlParams, function(_, urlParam){
val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam]; val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam];
if (angular.isDefined(val) && val !== null) { if (angular.isDefined(val) && val !== null) {
encodedVal = encodeUriSegment(val); encodedVal = encodeUriSegment(val);
url = url.replace(new RegExp(":" + urlParam + "(\\W)", "g"), encodedVal + "$1"); url = url.replace(new RegExp(":" + urlParam + "(\\W|$)", "g"), encodedVal + "$1");
} else { } else {
url = url.replace(new RegExp("(\/?):" + urlParam + "(\\W)", "g"), function(match, url = url.replace(new RegExp("(\/?):" + urlParam + "(\\W|$)", "g"), function(match,
leadingSlashes, tail) { leadingSlashes, tail) {
if (tail.charAt(0) == '/') { if (tail.charAt(0) == '/') {
return tail; return tail;
@ -327,16 +358,17 @@ angular.module('ngResource', ['ng']).
}); });
} }
}); });
url = url.replace(/\/?#$/, '');
var query = []; // set the url
config.url = url.replace(/\/?#$/, '').replace(/\/*$/, '');
// set params - delegate param encoding to $http
forEach(params, function(value, key){ forEach(params, function(value, key){
if (!self.urlParams[key]) { if (!self.urlParams[key]) {
query.push(encodeUriQuery(key) + '=' + encodeUriQuery(value)); config.params = config.params || {};
config.params[key] = value;
} }
}); });
query.sort();
url = url.replace(/\/*$/, '');
return url + (query.length ? '?' + query.join('&') : '');
} }
}; };
@ -368,6 +400,8 @@ angular.module('ngResource', ['ng']).
var data; var data;
var success = noop; var success = noop;
var error = null; var error = null;
var promise;
switch(arguments.length) { switch(arguments.length) {
case 4: case 4:
error = a4; error = a4;
@ -403,7 +437,8 @@ angular.module('ngResource', ['ng']).
} }
var value = this instanceof Resource ? this : (action.isArray ? [] : new Resource(data)); var value = this instanceof Resource ? this : (action.isArray ? [] : new Resource(data));
var httpConfig = {}; var httpConfig = {},
promise;
forEach(action, function(value, key) { forEach(action, function(value, key) {
if (key != 'params' && key != 'isArray' ) { if (key != 'params' && key != 'isArray' ) {
@ -411,23 +446,36 @@ angular.module('ngResource', ['ng']).
} }
}); });
httpConfig.data = data; httpConfig.data = data;
httpConfig.url = route.url(extend({}, extractParams(data, action.params || {}), params)) route.setUrlParams(httpConfig, extend({}, extractParams(data, action.params || {}), params), action.url);
$http(httpConfig).then(function(response) { function markResolved() { value.$resolved = true; }
var data = response.data;
if (data) { promise = $http(httpConfig);
if (action.isArray) { value.$resolved = false;
value.length = 0;
forEach(data, function(item) { promise.then(markResolved, markResolved);
value.push(new Resource(item)); value.$then = promise.then(function(response) {
}); var data = response.data;
} else { var then = value.$then, resolved = value.$resolved;
copy(data, value);
} if (data) {
if (action.isArray) {
value.length = 0;
forEach(data, function(item) {
value.push(new Resource(item));
});
} else {
copy(data, value);
value.$then = then;
value.$resolved = resolved;
} }
(success||noop)(value, response.headers); }
}, error);
(success||noop)(value, response.headers);
response.resource = value;
return response;
}, error).then;
return value; return value;
}; };
@ -469,4 +517,5 @@ angular.module('ngResource', ['ng']).
return ResourceFactory; return ResourceFactory;
}]); }]);
})(window, window.angular); })(window, window.angular);

13
lib/angular/angular-resource.min.js vendored Normal file → Executable file
View file

@ -1,10 +1,11 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */
(function(D,d,y){'use strict';d.module("ngResource",["ng"]).factory("$resource",["$http","$parse",function(z,A){function u(a,e){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(e?null:/%20/g,"+")}function w(a,e){this.template=a+="#";this.defaults=e||{};var b=this.urlParams={};h(a.split(/\W/),function(f){f&&a.match(RegExp("[^\\\\]:"+f+"\\W"))&&(b[f]=!0)});this.template=a.replace(/\\:/g,":")}function x(a,e,b){function f(n,b){var a= (function(B,f,x){'use strict';f.module("ngResource",["ng"]).factory("$resource",["$http","$parse",function(y,z){function v(g,c){this.template=g+"#";this.defaults=c||{};this.urlParams={}}function w(g,c,d){function j(e,b){var p={},b=q({},c,b);k(b,function(a,b){l(a)&&(a=a());var h;a.charAt&&a.charAt(0)=="@"?(h=a.substr(1),h=z(h)(e)):h=a;p[b]=h});return p}function b(b){u(b||{},this)}var m=new v(g),d=q({},A,d);k(d,function(e,c){e.method=f.uppercase(e.method);var p=e.method=="POST"||e.method=="PUT"||e.method==
{},b=q({},e,b);h(b,function(k,b){o(k)&&(k=k());var c;k.charAt&&k.charAt(0)=="@"?(c=k.substr(1),c=A(c)(n)):c=k;a[b]=c});return a}function g(b){v(b||{},this)}var l=new w(a),b=q({},B,b);h(b,function(b,a){b.method=d.uppercase(b.method);var e=b.method=="POST"||b.method=="PUT"||b.method=="PATCH";g[a]=function(a,c,d,C){var j={},i,m=r,s=null;switch(arguments.length){case 4:s=C,m=d;case 3:case 2:if(o(c)){if(o(a)){m=a;s=c;break}m=c;s=d}else{j=a;i=c;m=d;break}case 1:o(a)?m=a:e?i=a:j=a;break;case 0:break;default:throw"Expected between 0-4 arguments [params, data, success, error], got "+ "PATCH";b[c]=function(a,c,h,g){function f(){i.$resolved=!0}var n={},d,o=r,s=null;switch(arguments.length){case 4:s=g,o=h;case 3:case 2:if(l(c)){if(l(a)){o=a;s=c;break}o=c;s=h}else{n=a;d=c;o=h;break}case 1:l(a)?o=a:p?d=a:n=a;break;case 0:break;default:throw"Expected between 0-4 arguments [params, data, success, error], got "+arguments.length+" arguments.";}var i=this instanceof b?this:e.isArray?[]:new b(d),t={};k(e,function(a,b){b!="params"&&b!="isArray"&&(t[b]=u(a))});t.data=d;m.setUrlParams(t,q({},
arguments.length+" arguments.";}var p=this instanceof g?this:b.isArray?[]:new g(i),t={};h(b,function(b,a){a!="params"&&a!="isArray"&&(t[a]=v(b))});t.data=i;t.url=l.url(q({},f(i,b.params||{}),j));z(t).then(function(a){var c=a.data;if(c)b.isArray?(p.length=0,h(c,function(a){p.push(new g(a))})):v(c,p);(m||r)(p,a.headers)},s);return p};g.prototype["$"+a]=function(b,d,h){var n=f(this),j=r,i;switch(arguments.length){case 3:n=b;j=d;i=h;break;case 2:case 1:o(b)?(j=b,i=d):(n=b,j=d||r);case 0:break;default:throw"Expected between 1-3 arguments [params, success, error], got "+ j(d,e.params||{}),n),e.url);n=y(t);i.$resolved=!1;n.then(f,f);i.$then=n.then(function(a){var c=a.data,h=i.$then,d=i.$resolved;if(c)e.isArray?(i.length=0,k(c,function(a){i.push(new b(a))})):(u(c,i),i.$then=h,i.$resolved=d);(o||r)(i,a.headers);a.resource=i;return a},s).then;return i};b.prototype["$"+c]=function(a,e,h){var d=j(this),f=r,g;switch(arguments.length){case 3:d=a;f=e;g=h;break;case 2:case 1:l(a)?(f=a,g=e):(d=a,f=e||r);case 0:break;default:throw"Expected between 1-3 arguments [params, success, error], got "+
arguments.length+" arguments.";}g[a].call(this,n,e?this:y,j,i)}});g.bind=function(d){return x(a,q({},e,d),b)};return g}var B={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}},r=d.noop,h=d.forEach,q=d.extend,v=d.copy,o=d.isFunction;w.prototype={url:function(a){var e=this,b=this.template,f,g,a=a||{};h(this.urlParams,function(h,c){f=a.hasOwnProperty(c)?a[c]:e.defaults[c];d.isDefined(f)&&f!==null?(g=u(f,!0).replace(/%26/gi,"&").replace(/%3D/gi, arguments.length+" arguments.";}b[c].call(this,d,p?this:x,f,g)}});b.bind=function(b){return w(g,q({},c,b),d)};return b}var A={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}},r=f.noop,k=f.forEach,q=f.extend,u=f.copy,l=f.isFunction;v.prototype={setUrlParams:function(g,c,d){var j=this,b=d||j.template,m,e,l=j.urlParams={};k(b.split(/\W/),function(c){c&&RegExp("(^|[^\\\\]):"+c+"(\\W|$)").test(b)&&(l[c]=!0)});b=b.replace(/\\:/g,
"=").replace(/%2B/gi,"+"),b=b.replace(RegExp(":"+c+"(\\W)","g"),g+"$1")):b=b.replace(RegExp("(/?):"+c+"(\\W)","g"),function(b,a,c){return c.charAt(0)=="/"?c:a+c})});var b=b.replace(/\/?#$/,""),l=[];h(a,function(b,a){e.urlParams[a]||l.push(u(a)+"="+u(b))});l.sort();b=b.replace(/\/*$/,"");return b+(l.length?"?"+l.join("&"):"")}};return x}])})(window,window.angular); ":");c=c||{};k(j.urlParams,function(d,a){m=c.hasOwnProperty(a)?c[a]:j.defaults[a];f.isDefined(m)&&m!==null?(e=encodeURIComponent(m).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"%20").replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),b=b.replace(RegExp(":"+a+"(\\W|$)","g"),e+"$1")):b=b.replace(RegExp("(/?):"+a+"(\\W|$)","g"),function(a,b,c){return c.charAt(0)=="/"?c:b+c})});g.url=b.replace(/\/?#$/,"").replace(/\/*$/,"");k(c,function(b,
a){if(!j.urlParams[a])g.params=g.params||{},g.params[a]=b})}};return w}])})(window,window.angular);

4
lib/angular/angular-sanitize.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/** /**
* @license AngularJS v1.1.2 * @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org * (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT * License: MIT
*/ */
@ -422,6 +422,7 @@ angular.module('ngSanitize').directive('ngBindHtml', ['$sanitize', function($san
}); });
}; };
}]); }]);
/** /**
* @ngdoc filter * @ngdoc filter
* @name ngSanitize.filter:linky * @name ngSanitize.filter:linky
@ -553,4 +554,5 @@ angular.module('ngSanitize').filter('linky', function() {
}; };
}); });
})(window, window.angular); })(window, window.angular);

2
lib/angular/angular-sanitize.min.js vendored Normal file → Executable file
View file

@ -1,5 +1,5 @@
/* /*
AngularJS v1.1.2 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */

14677
lib/angular/angular.js.old → lib/angular/angular-scenario.js vendored Normal file → Executable file

File diff suppressed because it is too large Load diff

2611
lib/angular/angular.js vendored Normal file → Executable file

File diff suppressed because it is too large Load diff

327
lib/angular/angular.min.js vendored Normal file → Executable file
View file

@ -1,162 +1,173 @@
/* /*
AngularJS v1.1.1 AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org (c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT License: MIT
*/ */
(function(U,ba,p){'use strict';function m(b,a,c){var d;if(b)if(N(b))for(d in b)d!="prototype"&&d!="length"&&d!="name"&&b.hasOwnProperty(d)&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==m)b.forEach(a,c);else if(M(b)&&ya(b.length))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function nb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function ec(b,a,c){for(var d=nb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d} (function(M,V,s){'use strict';function gc(){var b=M.angular;M.angular=hc;return b}function o(b,a,c){var d;if(b)if(I(b))for(d in b)d!="prototype"&&d!="length"&&d!="name"&&b.hasOwnProperty(d)&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==o)b.forEach(a,c);else if(!b||typeof b.length!=="number"?0:typeof b.hasOwnProperty!="function"&&typeof b.constructor!="function"||b instanceof P||ca&&b instanceof ca||Da.call(b)!=="[object Object]"||typeof b.callee==="function")for(d=0;d<b.length;d++)a.call(c,b[d],
function ob(b){return function(a,c){b(c,a)}}function za(){for(var b=Z.length,a;b;){b--;a=Z[b].charCodeAt(0);if(a==57)return Z[b]="A",Z.join("");if(a==90)Z[b]="0";else return Z[b]=String.fromCharCode(a+1),Z.join("")}Z.unshift("0");return Z.join("")}function B(b){m(arguments,function(a){a!==b&&m(a,function(a,d){b[d]=a})});return b}function E(b){return parseInt(b,10)}function Aa(b,a){return B(new (B(function(){},{prototype:b})),a)}function D(){}function na(b){return b}function L(b){return function(){return b}} d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function rb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function ic(b,a,c){for(var d=rb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function sb(b){return function(a,c){b(c,a)}}function Ea(){for(var b=Z.length,a;b;){b--;a=Z[b].charCodeAt(0);if(a==57)return Z[b]="A",Z.join("");if(a==90)Z[b]="0";else return Z[b]=String.fromCharCode(a+1),Z.join("")}Z.unshift("0");return Z.join("")}function y(b){o(arguments,
function u(b){return typeof b=="undefined"}function s(b){return typeof b!="undefined"}function M(b){return b!=null&&typeof b=="object"}function F(b){return typeof b=="string"}function ya(b){return typeof b=="number"}function oa(b){return Va.apply(b)=="[object Date]"}function H(b){return Va.apply(b)=="[object Array]"}function N(b){return typeof b=="function"}function pa(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function R(b){return F(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}function fc(b){return b&& function(a){a!==b&&o(a,function(a,d){b[d]=a})});return b}function K(b){return parseInt(b,10)}function Fa(b,a){return y(new (y(function(){},{prototype:b})),a)}function t(){}function pa(b){return b}function Q(b){return function(){return b}}function u(b){return typeof b=="undefined"}function w(b){return typeof b!="undefined"}function L(b){return b!=null&&typeof b=="object"}function x(b){return typeof b=="string"}function Za(b){return typeof b=="number"}function qa(b){return Da.apply(b)=="[object Date]"}
(b.nodeName||b.bind&&b.find)}function Wa(b,a,c){var d=[];m(b,function(b,h,i){d.push(a.call(c,b,h,i))});return d}function gc(b,a){var c=0,d;if(H(b)||F(b))return b.length;else if(M(b))for(d in b)(!a||b.hasOwnProperty(d))&&c++;return c}function Ba(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 Ca(b,a){var c=Ba(b,a);c>=0&&b.splice(c,1);return a}function V(b,a){if(pa(b)||b&&b.$evalAsync&&b.$watch)throw y("Can't copy Window or Scope");if(a){if(b=== function C(b){return Da.apply(b)=="[object Array]"}function I(b){return typeof b=="function"}function ra(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function S(b){return x(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}function jc(b){return b&&(b.nodeName||b.bind&&b.find)}function $a(b,a,c){var d=[];o(b,function(b,f,i){d.push(a.call(c,b,f,i))});return d}function Ga(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 sa(b,a){var c=Ga(b,
a)throw y("Can't copy equivalent objects or arrays");if(H(b)){for(;a.length;)a.pop();for(var c=0;c<b.length;c++)a.push(V(b[c]))}else for(c in m(a,function(b,c){delete a[c]}),b)a[c]=V(b[c])}else(a=b)&&(H(b)?a=V(b,[]):oa(b)?a=new Date(b.getTime()):M(b)&&(a=V(b,{})));return a}function hc(b,a){var a=a||{},c;for(c in b)b.hasOwnProperty(c)&&c.substr(0,2)!=="$$"&&(a[c]=b[c]);return a}function ha(b,a){if(b===a)return!0;if(b===null||a===null)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&& a);c>=0&&b.splice(c,1);return a}function W(b,a){if(ra(b)||b&&b.$evalAsync&&b.$watch)throw Error("Can't copy Window or Scope");if(a){if(b===a)throw Error("Can't copy equivalent objects or arrays");if(C(b))for(var c=a.length=0;c<b.length;c++)a.push(W(b[c]));else for(c in o(a,function(b,c){delete a[c]}),b)a[c]=W(b[c])}else(a=b)&&(C(b)?a=W(b,[]):qa(b)?a=new Date(b.getTime()):L(b)&&(a=W(b,{})));return a}function kc(b,a){var a=a||{},c;for(c in b)b.hasOwnProperty(c)&&c.substr(0,2)!=="$$"&&(a[c]=b[c]);return a}
c=="object")if(H(b)){if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ha(b[d],a[d]))return!1;return!0}}else if(oa(b))return oa(a)&&b.getTime()==a.getTime();else{if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||pa(b)||pa(a))return!1;c={};for(d in b){if(d.charAt(0)!=="$"&&!N(b[d])&&!ha(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c[d]&&d.charAt(0)!=="$"&&!N(a[d]))return!1;return!0}return!1}function Xa(b,a){var c=arguments.length>2?ia.call(arguments,2):[];return N(a)&&!(a instanceof RegExp)?c.length? function ja(b,a){if(b===a)return!0;if(b===null||a===null)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&c=="object")if(C(b)){if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ja(b[d],a[d]))return!1;return!0}}else if(qa(b))return qa(a)&&b.getTime()==a.getTime();else{if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||ra(b)||ra(a))return!1;c={};for(d in b)if(!(d.charAt(0)==="$"||I(b[d]))){if(!ja(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c[d]&&d.charAt(0)!=="$"&&a[d]!==s&&!I(a[d]))return!1;
function(){return arguments.length?a.apply(b,c.concat(ia.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}:a}function ic(b,a){var c=a;/^\$+/.test(b)?c=p:pa(a)?c="$WINDOW":a&&ba===a?c="$DOCUMENT":a&&a.$evalAsync&&a.$watch&&(c="$SCOPE");return c}function ca(b,a){return JSON.stringify(b,ic,a?" ":null)}function pb(b){return F(b)?JSON.parse(b):b}function Da(b){b&&b.length!==0?(b=G(""+b),b=!(b=="f"||b=="0"||b=="false"||b=="no"||b=="n"||b=="[]")):b=!1; return!0}return!1}function ab(b,a){var c=arguments.length>2?ka.call(arguments,2):[];return I(a)&&!(a instanceof RegExp)?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)}:a}function lc(b,a){var c=a;/^\$+/.test(b)?c=s:ra(a)?c="$WINDOW":a&&V===a?c="$DOCUMENT":a&&a.$evalAsync&&a.$watch&&(c="$SCOPE");return c}function da(b,a){return JSON.stringify(b,lc,a?" ":null)}function tb(b){return x(b)?
return b}function qa(b){b=t(b).clone();try{b.html("")}catch(a){}return t("<div>").append(b).html().match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+G(b)})}function Ya(b){var a={},c,d;m((b||"").split("&"),function(b){b&&(c=b.split("="),d=decodeURIComponent(c[0]),a[d]=s(c[1])?decodeURIComponent(c[1]):!0)});return a}function qb(b){var a=[];m(b,function(b,d){a.push(Za(d,!0)+(b===!0?"":"="+Za(b,!0)))});return a.length?a.join("&"):""}function $a(b){return Za(b,!0).replace(/%26/gi,"&").replace(/%3D/gi, JSON.parse(b):b}function Ha(b){b&&b.length!==0?(b=J(""+b),b=!(b=="f"||b=="0"||b=="false"||b=="no"||b=="n"||b=="[]")):b=!1;return b}function ta(b){b=v(b).clone();try{b.html("")}catch(a){}var c=v("<div>").append(b).html();try{return b[0].nodeType===3?J(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+J(b)})}catch(d){return J(c)}}function bb(b){var a={},c,d;o((b||"").split("&"),function(b){b&&(c=b.split("="),d=decodeURIComponent(c[0]),a[d]=w(c[1])?decodeURIComponent(c[1]):!0)});
"=").replace(/%2B/gi,"+")}function Za(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(a?null:/%20/g,"+")}function jc(b,a){function c(a){a&&d.push(a)}var d=[b],e,h,i=["ng:app","ng-app","x-ng-app","data-ng-app"],f=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;m(i,function(a){i[a]=!0;c(ba.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(m(b.querySelectorAll("."+a),c),m(b.querySelectorAll("."+a+"\\:"),c),m(b.querySelectorAll("["+ return a}function ub(b){var a=[];o(b,function(b,d){a.push(ua(d,!0)+(b===!0?"":"="+ua(b,!0)))});return a.length?a.join("&"):""}function cb(b){return ua(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ua(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,a?"%20":"+")}function mc(b,a){function c(a){a&&d.push(a)}var d=[b],e,f,i=["ng:app","ng-app","x-ng-app","data-ng-app"],h=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;
a+"]"),c))});m(d,function(a){if(!e){var b=f.exec(" "+a.className+" ");b?(e=a,h=(b[2]||"").replace(/\s+/g,",")):m(a.attributes,function(b){if(!e&&i[b.name])e=a,h=b.value})}});e&&a(e,h?[h]:[])}function rb(b,a){b=t(b);a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");var c=sb(a);c.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,i){a.$apply(function(){b.data("$injector",i);c(b)(a)})}]);return c}function ab(b,a){a=a||"_";return b.replace(kc, o(i,function(a){i[a]=!0;c(V.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(o(b.querySelectorAll("."+a),c),o(b.querySelectorAll("."+a+"\\:"),c),o(b.querySelectorAll("["+a+"]"),c))});o(d,function(a){if(!e){var b=h.exec(" "+a.className+" ");b?(e=a,f=(b[2]||"").replace(/\s+/g,",")):o(a.attributes,function(b){if(!e&&i[b.name])e=a,f=b.value})}});e&&a(e,f?[f]:[])}function vb(b,a){var c=function(){b=v(b);a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");
function(b,d){return(d?a:"")+b.toLowerCase()})}function ra(b,a,c){if(!b)throw new y("Argument '"+(a||"?")+"' is "+(c||"required"));return b}function sa(b,a,c){c&&H(b)&&(b=b[b.length-1]);ra(N(b),a,"not a function, got "+(b&&typeof b=="object"?b.constructor.name||"Object":typeof b));return b}function lc(b){function a(a,b,e){return a[b]||(a[b]=e())}return a(a(b,"angular",Object),"module",function(){var b={};return function(d,e,h){e&&b.hasOwnProperty(d)&&(b[d]=null);return a(b,d,function(){function a(c, var c=wb(a);c.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return c},d=/^NG_DEFER_BOOTSTRAP!/;if(M&&!d.test(M.name))return c();M.name=M.name.replace(d,"");Ia.resumeBootstrap=function(b){o(b,function(b){a.push(b)});c()}}function db(b,a){a=a||"_";return b.replace(nc,function(b,d){return(d?a:"")+b.toLowerCase()})}function eb(b,a,c){if(!b)throw Error("Argument '"+(a||"?")+"' is "+(c||"required"));return b}function va(b,
d,e){return function(){b[e||"push"]([c,d,arguments]);return j}}if(!e)throw y("No module: "+d);var b=[],c=[],k=a("$injector","invoke"),j={_invokeQueue:b,_runBlocks:c,requires:e,name:d,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:k,run:function(a){c.push(a); a,c){c&&C(b)&&(b=b[b.length-1]);eb(I(b),a,"not a function, got "+(b&&typeof b=="object"?b.constructor.name||"Object":typeof b));return b}function oc(b){function a(a,b,e){return a[b]||(a[b]=e())}return a(a(b,"angular",Object),"module",function(){var b={};return function(d,e,f){e&&b.hasOwnProperty(d)&&(b[d]=null);return a(b,d,function(){function a(c,d,e){return function(){b[e||"push"]([c,d,arguments]);return m}}if(!e)throw Error("No module: "+d);var b=[],c=[],g=a("$injector","invoke"),m={_invokeQueue:b,
return this}};h&&k(h);return j})}})}function tb(b){return b.replace(mc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(nc,"Moz$1")}function bb(b,a){function c(){var e;for(var b=[this],c=a,i,f,g,k,j,l;b.length;){i=b.shift();f=0;for(g=i.length;f<g;f++){k=t(i[f]);c?k.triggerHandler("$destroy"):c=!c;j=0;for(e=(l=k.children()).length,k=e;j<k;j++)b.push(ja(l[j]))}}return d.apply(this,arguments)}var d=ja.fn[b],d=d.$original||d;c.$original=d;ja.fn[b]=c}function P(b){if(b instanceof P)return b;if(!(this instanceof _runBlocks:c,requires:e,name:d,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animationProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:g,run:function(a){c.push(a);return this}};f&&g(f);return m})}})}function Ja(b){return b.replace(pc,function(a,b,d,e){return e?
P)){if(F(b)&&b.charAt(0)!="<")throw y("selectors not implemented");return new P(b)}if(F(b)){var a=ba.createElement("div");a.innerHTML="<div>&#160;</div>"+b;a.removeChild(a.firstChild);cb(this,a.childNodes);this.remove()}else cb(this,b)}function db(b){return b.cloneNode(!0)}function ta(b){ub(b);for(var a=0,b=b.childNodes||[];a<b.length;a++)ta(b[a])}function vb(b,a,c){var d=$(b,"events");$(b,"handle")&&(u(a)?m(d,function(a,c){eb(b,c,a);delete d[c]}):u(c)?(eb(b,a,d[a]),delete d[a]):Ca(d[a],c))}function ub(b){var a= d.toUpperCase():d}).replace(qc,"Moz$1")}function fb(b,a){function c(){var e;for(var b=[this],c=a,i,h,j,g,m,k;b.length;){i=b.shift();h=0;for(j=i.length;h<j;h++){g=v(i[h]);c?g.triggerHandler("$destroy"):c=!c;m=0;for(e=(k=g.children()).length,g=e;m<g;m++)b.push(ca(k[m]))}}return d.apply(this,arguments)}var d=ca.fn[b],d=d.$original||d;c.$original=d;ca.fn[b]=c}function P(b){if(b instanceof P)return b;if(!(this instanceof P)){if(x(b)&&b.charAt(0)!="<")throw Error("selectors not implemented");return new P(b)}if(x(b)){var a=
b[Ea],c=Fa[a];c&&(c.handle&&(c.events.$destroy&&c.handle({},"$destroy"),vb(b)),delete Fa[a],b[Ea]=p)}function $(b,a,c){var d=b[Ea],d=Fa[d||-1];if(s(c))d||(b[Ea]=d=++oc,d=Fa[d]={}),d[a]=c;else return d&&d[a]}function wb(b,a,c){var d=$(b,"data"),e=s(c),h=!e&&s(a),i=h&&!M(a);!d&&!i&&$(b,"data",d={});if(e)d[a]=c;else if(h)if(i)return d&&d[a];else B(d,a);else return d}function Ga(b,a){return(" "+b.className+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" ")>-1}function xb(b,a){a&&m(a.split(" "),function(a){b.className= V.createElement("div");a.innerHTML="<div>&#160;</div>"+b;a.removeChild(a.firstChild);gb(this,a.childNodes);this.remove()}else gb(this,b)}function hb(b){return b.cloneNode(!0)}function wa(b){xb(b);for(var a=0,b=b.childNodes||[];a<b.length;a++)wa(b[a])}function yb(b,a,c){var d=$(b,"events");$(b,"handle")&&(u(a)?o(d,function(a,c){ib(b,c,a);delete d[c]}):u(c)?(ib(b,a,d[a]),delete d[a]):sa(d[a],c))}function xb(b){var a=b[Ka],c=La[a];c&&(c.handle&&(c.events.$destroy&&c.handle({},"$destroy"),yb(b)),delete La[a],
R((" "+b.className+" ").replace(/[\n\t]/g," ").replace(" "+R(a)+" "," "))})}function yb(b,a){a&&m(a.split(" "),function(a){if(!Ga(b,a))b.className=R(b.className+" "+R(a))})}function cb(b,a){if(a)for(var a=!a.nodeName&&s(a.length)&&!pa(a)?a:[a],c=0;c<a.length;c++)b.push(a[c])}function zb(b,a){return Ha(b,"$"+(a||"ngController")+"Controller")}function Ha(b,a,c){b=t(b);for(b[0].nodeType==9&&(b=b.find("html"));b.length;){if(c=b.data(a))return c;b=b.parent()}}function Ab(b,a){var c=Ia[a.toLowerCase()]; b[Ka]=s)}function $(b,a,c){var d=b[Ka],d=La[d||-1];if(w(c))d||(b[Ka]=d=++rc,d=La[d]={}),d[a]=c;else return d&&d[a]}function zb(b,a,c){var d=$(b,"data"),e=w(c),f=!e&&w(a),i=f&&!L(a);!d&&!i&&$(b,"data",d={});if(e)d[a]=c;else if(f)if(i)return d&&d[a];else y(d,a);else return d}function Ma(b,a){return(" "+b.className+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" ")>-1}function Ab(b,a){a&&o(a.split(" "),function(a){b.className=S((" "+b.className+" ").replace(/[\n\t]/g," ").replace(" "+S(a)+" "," "))})}function Bb(b,
return c&&Bb[b.nodeName]&&c}function pc(b,a){var c=function(c,e){if(!c.preventDefault)c.preventDefault=function(){c.returnValue=!1};if(!c.stopPropagation)c.stopPropagation=function(){c.cancelBubble=!0};if(!c.target)c.target=c.srcElement||ba;if(u(c.defaultPrevented)){var h=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;h.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented};m(a[e||c.type],function(a){a.call(b,c)});aa<=8?(c.preventDefault=null, a){a&&o(a.split(" "),function(a){if(!Ma(b,a))b.className=S(b.className+" "+S(a))})}function gb(b,a){if(a)for(var a=!a.nodeName&&w(a.length)&&!ra(a)?a:[a],c=0;c<a.length;c++)b.push(a[c])}function Cb(b,a){return Na(b,"$"+(a||"ngController")+"Controller")}function Na(b,a,c){b=v(b);for(b[0].nodeType==9&&(b=b.find("html"));b.length;){if(c=b.data(a))return c;b=b.parent()}}function Db(b,a){var c=Oa[a.toLowerCase()];return c&&Eb[b.nodeName]&&c}function sc(b,a){var c=function(c,e){if(!c.preventDefault)c.preventDefault=
c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function ga(b){var a=typeof b,c;if(a=="object"&&b!==null)if(typeof(c=b.$$hashKey)=="function")c=b.$$hashKey();else{if(c===p)c=b.$$hashKey=za()}else c=b;return a+":"+c}function Ja(b){m(b,this.put,this)}function fb(){}function Cb(b){var a,c;if(typeof b=="function"){if(!(a=b.$inject))a=[],c=b.toString().replace(qc,""),c=c.match(rc),m(c[1].split(sc),function(b){b.replace(tc, function(){c.returnValue=!1};if(!c.stopPropagation)c.stopPropagation=function(){c.cancelBubble=!0};if(!c.target)c.target=c.srcElement||V;if(u(c.defaultPrevented)){var f=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;f.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented};o(a[e||c.type],function(a){a.call(b,c)});X<=8?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};
function(b,c,d){a.push(d)})}),b.$inject=a}else H(b)?(c=b.length-1,sa(b[c],"fn"),a=b.slice(0,c)):sa(b,"fn",!0);return a}function sb(b){function a(a){return function(b,c){if(M(b))m(b,ob(a));else return a(b,c)}}function c(a,b){N(b)&&(b=l.instantiate(b));if(!b.$get)throw y("Provider "+a+" must define $get factory method.");return j[a+f]=b}function d(a,b){return c(a,{$get:b})}function e(a){var b=[];m(a,function(a){if(!k.get(a))if(k.put(a,!0),F(a)){var c=ua(a);b=b.concat(e(c.requires)).concat(c._runBlocks); c.elem=b;return c}function la(b){var a=typeof b,c;if(a=="object"&&b!==null)if(typeof(c=b.$$hashKey)=="function")c=b.$$hashKey();else{if(c===s)c=b.$$hashKey=Ea()}else c=b;return a+":"+c}function Pa(b){o(b,this.put,this)}function Fb(b){var a,c;if(typeof b=="function"){if(!(a=b.$inject))a=[],c=b.toString().replace(tc,""),c=c.match(uc),o(c[1].split(vc),function(b){b.replace(wc,function(b,c,d){a.push(d)})}),b.$inject=a}else C(b)?(c=b.length-1,va(b[c],"fn"),a=b.slice(0,c)):va(b,"fn",!0);return a}function wb(b){function a(a){return function(b,
try{for(var d=c._invokeQueue,c=0,f=d.length;c<f;c++){var g=d[c],h=l.get(g[0]);h[g[1]].apply(h,g[2])}}catch(n){throw n.message&&(n.message+=" from "+a),n;}}else if(N(a))try{b.push(l.invoke(a))}catch(i){throw i.message&&(i.message+=" from "+a),i;}else if(H(a))try{b.push(l.invoke(a))}catch(q){throw q.message&&(q.message+=" from "+String(a[a.length-1])),q;}else sa(a,"module")});return b}function h(a,b){function c(d){if(typeof d!=="string")throw y("Service name expected");if(a.hasOwnProperty(d)){if(a[d]=== c){if(L(b))o(b,sb(a));else return a(b,c)}}function c(a,b){if(I(b)||C(b))b=k.instantiate(b);if(!b.$get)throw Error("Provider "+a+" must define $get factory method.");return m[a+h]=b}function d(a,b){return c(a,{$get:b})}function e(a){var b=[];o(a,function(a){if(!g.get(a))if(g.put(a,!0),x(a)){var c=xa(a);b=b.concat(e(c.requires)).concat(c._runBlocks);try{for(var d=c._invokeQueue,c=0,h=d.length;c<h;c++){var f=d[c],n=k.get(f[0]);n[f[1]].apply(n,f[2])}}catch(j){throw j.message&&(j.message+=" from "+a),
i)throw y("Circular dependency: "+g.join(" <- "));return a[d]}else try{return g.unshift(d),a[d]=i,a[d]=b(d)}finally{g.shift()}}function d(a,b,e){var f=[],k=Cb(a),h,n,i;n=0;for(h=k.length;n<h;n++)i=k[n],f.push(e&&e.hasOwnProperty(i)?e[i]:c(i,g));a.$inject||(a=a[h]);switch(b?-1:f.length){case 0:return a();case 1:return a(f[0]);case 2:return a(f[0],f[1]);case 3:return a(f[0],f[1],f[2]);case 4:return a(f[0],f[1],f[2],f[3]);case 5:return a(f[0],f[1],f[2],f[3],f[4]);case 6:return a(f[0],f[1],f[2],f[3], j;}}else if(I(a))try{b.push(k.invoke(a))}catch(i){throw i.message&&(i.message+=" from "+a),i;}else if(C(a))try{b.push(k.invoke(a))}catch(l){throw l.message&&(l.message+=" from "+String(a[a.length-1])),l;}else va(a,"module")});return b}function f(a,b){function c(d){if(typeof d!=="string")throw Error("Service name expected");if(a.hasOwnProperty(d)){if(a[d]===i)throw Error("Circular dependency: "+j.join(" <- "));return a[d]}else try{return j.unshift(d),a[d]=i,a[d]=b(d)}finally{j.shift()}}function d(a,
f[4],f[5]);case 7:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6]);case 8:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7]);case 9:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8]);case 10:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9]);default:return a.apply(b,f)}}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(H(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return M(e)?e:c},get:c,annotate:Cb}}var i={},f="Provider",g=[],k=new Ja,j={$provide:{provider:a(c), b,e){var g=[],h=Fb(a),f,j,n;j=0;for(f=h.length;j<f;j++)n=h[j],g.push(e&&e.hasOwnProperty(n)?e[n]:c(n));a.$inject||(a=a[f]);switch(b?-1:g.length){case 0:return a();case 1:return a(g[0]);case 2:return a(g[0],g[1]);case 3:return a(g[0],g[1],g[2]);case 4:return a(g[0],g[1],g[2],g[3]);case 5:return a(g[0],g[1],g[2],g[3],g[4]);case 6:return a(g[0],g[1],g[2],g[3],g[4],g[5]);case 7:return a(g[0],g[1],g[2],g[3],g[4],g[5],g[6]);case 8:return a(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7]);case 9:return a(g[0],g[1],
factory:a(d),service:a(function(a,b){return d(a,["$injector",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,L(b))}),constant:a(function(a,b){j[a]=b;o[a]=b}),decorator:function(a,b){var c=l.get(a+f),d=c.$get;c.$get=function(){var a=q.invoke(d,c);return q.invoke(b,null,{$delegate:a})}}}},l=j.$injector=h(j,function(){throw y("Unknown provider: "+g.join(" <- "));}),o={},q=o.$injector=h(o,function(a){a=l.get(a+f);return q.invoke(a.$get,a)});m(e(b),function(a){q.invoke(a||D)}); g[2],g[3],g[4],g[5],g[6],g[7],g[8]);case 10:return a(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9]);default:return a.apply(b,g)}}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(C(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return L(e)?e:c},get:c,annotate:Fb}}var i={},h="Provider",j=[],g=new Pa,m={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,["$injector",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,Q(b))}),
return q}function uc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;m(a,function(a){!b&&G(a.nodeName)==="a"&&(b=a)});return b}function h(){var b=c.hash(),d;b?(d=i.getElementById(b))?d.scrollIntoView():(d=e(i.getElementsByName(b)))?d.scrollIntoView():b==="top"&&a.scrollTo(0,0):a.scrollTo(0,0)}var i=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(h)});return h}]}function vc(b,a,c, constant:a(function(a,b){m[a]=b;l[a]=b}),decorator:function(a,b){var c=k.get(a+h),d=c.$get;c.$get=function(){var a=q.invoke(d,c);return q.invoke(b,null,{$delegate:a})}}}},k=m.$injector=f(m,function(){throw Error("Unknown provider: "+j.join(" <- "));}),l={},q=l.$injector=f(l,function(a){a=k.get(a+h);return q.invoke(a.$get,a)});o(e(b),function(a){q.invoke(a||t)});return q}function xc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=
d){function e(a){try{a.apply(null,ia.call(arguments,1))}finally{if(n--,n===0)for(;z.length;)try{z.pop()()}catch(b){c.error(b)}}}function h(a,b){(function ea(){m(r,function(a){a()});v=b(ea,a)})()}function i(){da!=f.url()&&(da=f.url(),m(w,function(a){a(f.url())}))}var f=this,g=a[0],k=b.location,j=b.history,l=b.setTimeout,o=b.clearTimeout,q={};f.isMock=!1;var n=0,z=[];f.$$completeOutstandingRequest=e;f.$$incOutstandingRequestCount=function(){n++};f.notifyWhenNoOutstandingRequests=function(a){m(r,function(a){a()}); null;o(a,function(a){!b&&J(a.nodeName)==="a"&&(b=a)});return b}function f(){var b=c.hash(),d;b?(d=i.getElementById(b))?d.scrollIntoView():(d=e(i.getElementsByName(b)))?d.scrollIntoView():b==="top"&&a.scrollTo(0,0):a.scrollTo(0,0)}var i=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)});return f}]}function Gb(b){this.register=function(a,c){b.factory(Ja(a)+"Animation",c)};this.$get=["$injector",function(a){return function(b){if(b)try{return a.get(Ja(b)+"Animation")}catch(d){}}}]}
n===0?a():z.push(a)};var r=[],v;f.addPollFn=function(a){u(v)&&h(100,l);r.push(a);return a};var da=k.href,C=a.find("base");f.url=function(a,b){if(a){if(da!=a)return da=a,d.history?b?j.replaceState(null,"",a):(j.pushState(null,"",a),C.attr("href",C.attr("href"))):b?k.replace(a):k.href=a,f}else return k.href.replace(/%27/g,"'")};var w=[],Q=!1;f.onUrlChange=function(a){Q||(d.history&&t(b).bind("popstate",i),d.hashchange?t(b).bind("hashchange",i):f.addPollFn(i),Q=!0);w.push(a);return a};f.baseHref=function(){var a= function yc(b,a,c,d){function e(a){try{a.apply(null,ka.call(arguments,1))}finally{if(n--,n===0)for(;B.length;)try{B.pop()()}catch(b){c.error(b)}}}function f(a,b){(function z(){o(r,function(a){a()});p=b(z,a)})()}function i(){E!=h.url()&&(E=h.url(),o(G,function(a){a(h.url())}))}var h=this,j=a[0],g=b.location,m=b.history,k=b.setTimeout,l=b.clearTimeout,q={};h.isMock=!1;var n=0,B=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){n++};h.notifyWhenNoOutstandingRequests=function(a){o(r,
C.attr("href");return a?a.replace(/^https?\:\/\/[^\/]*/,""):a};var W={},x="",I=f.baseHref();f.cookies=function(a,b){var d,e,f,k;if(a)if(b===p)g.cookie=escape(a)+"=;path="+I+";expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(F(b))d=(g.cookie=escape(a)+"="+escape(b)+";path="+I).length+1,d>4096&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"),W.length>20&&c.warn("Cookie '"+a+"' possibly not set or overflowed because too many cookies were already set ("+ function(a){a()});n===0?a():B.push(a)};var r=[],p;h.addPollFn=function(a){u(p)&&f(100,k);r.push(a);return a};var E=g.href,D=a.find("base");h.url=function(a,b){if(a){if(E!=a)return E=a,d.history?b?m.replaceState(null,"",a):(m.pushState(null,"",a),D.attr("href",D.attr("href"))):b?g.replace(a):g.href=a,h}else return g.href.replace(/%27/g,"'")};var G=[],R=!1;h.onUrlChange=function(a){R||(d.history&&v(b).bind("popstate",i),d.hashchange?v(b).bind("hashchange",i):h.addPollFn(i),R=!0);G.push(a);return a};
W.length+" > 20 )")}else{if(g.cookie!==x){x=g.cookie;d=x.split("; ");W={};for(f=0;f<d.length;f++)e=d[f],k=e.indexOf("="),k>0&&(W[unescape(e.substring(0,k))]=unescape(e.substring(k+1)))}return W}};f.defer=function(a,b){var c;n++;c=l(function(){delete q[c];e(a)},b||0);q[c]=!0;return c};f.defer.cancel=function(a){return q[a]?(delete q[a],o(a),e(D),!0):!1}}function wc(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new vc(b,d,a,c)}]}function xc(){this.$get=function(){function b(b, h.baseHref=function(){var a=D.attr("href");return a?a.replace(/^https?\:\/\/[^\/]*/,""):""};var A={},H="",F=h.baseHref();h.cookies=function(a,b){var d,e,g,h;if(a)if(b===s)j.cookie=escape(a)+"=;path="+F+";expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(x(b))d=(j.cookie=escape(a)+"="+escape(b)+";path="+F).length+1,d>4096&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!")}else{if(j.cookie!==H){H=j.cookie;d=H.split("; ");A={};for(g=0;g<d.length;g++)e=
d){function e(a){if(a!=l){if(o){if(o==a)o=a.n}else o=a;h(a.n,a.p);h(a,l);l=a;l.n=null}}function h(a,b){if(a!=b){if(a)a.p=b;if(b)b.n=a}}if(b in a)throw y("cacheId "+b+" taken");var i=0,f=B({},d,{id:b}),g={},k=d&&d.capacity||Number.MAX_VALUE,j={},l=null,o=null;return a[b]={put:function(a,b){var c=j[a]||(j[a]={key:a});e(c);if(!u(b))return a in g||i++,g[a]=b,i>k&&this.remove(o.key),b},get:function(a){var b=j[a];if(b)return e(b),g[a]},remove:function(a){var b=j[a];if(b){if(b==l)l=b.p;if(b==o)o=b.n;h(b.n, d[g],h=e.indexOf("="),h>0&&(A[unescape(e.substring(0,h))]=unescape(e.substring(h+1)))}return A}};h.defer=function(a,b){var c;n++;c=k(function(){delete q[c];e(a)},b||0);q[c]=!0;return c};h.defer.cancel=function(a){return q[a]?(delete q[a],l(a),e(t),!0):!1}}function zc(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new yc(b,d,a,c)}]}function Ac(){this.$get=function(){function b(b,d){function e(a){if(a!=k){if(l){if(l==a)l=a.n}else l=a;f(a.n,a.p);f(a,k);k=a;k.n=null}}function f(a,
b.p);delete j[a];delete g[a];i--}},removeAll:function(){g={};i=0;j={};l=o=null},destroy:function(){j=f=g=null;delete a[b]},info:function(){return B({},f,{size:i})}}}var a={};b.info=function(){var b={};m(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function yc(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Db(b){var a={},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,h="Template must have exactly one root element. was: "; b){if(a!=b){if(a)a.p=b;if(b)b.n=a}}if(b in a)throw Error("cacheId "+b+" taken");var i=0,h=y({},d,{id:b}),j={},g=d&&d.capacity||Number.MAX_VALUE,m={},k=null,l=null;return a[b]={put:function(a,b){var c=m[a]||(m[a]={key:a});e(c);if(!u(b))return a in j||i++,j[a]=b,i>g&&this.remove(l.key),b},get:function(a){var b=m[a];if(b)return e(b),j[a]},remove:function(a){var b=m[a];if(b){if(b==k)k=b.p;if(b==l)l=b.n;f(b.n,b.p);delete m[a];delete j[a];i--}},removeAll:function(){j={};i=0;m={};k=l=null},destroy:function(){m=
this.directive=function f(d,e){F(d)?(ra(e,"directive"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];m(a[d],function(a){try{var f=b.invoke(a);if(N(f))f={compile:L(f)};else if(!f.compile&&f.link)f.compile=L(f.link);f.priority=f.priority||0;f.name=f.name||d;f.require=f.require||f.controller&&f.name;f.restrict=f.restrict||"A";e.push(f)}catch(k){c(k)}});return e}])),a[d].push(e)):m(d,ob(f));return this};this.$get=["$injector","$interpolate","$exceptionHandler", h=j=null;delete a[b]},info:function(){return y({},h,{size:i})}}}var a={};b.info=function(){var b={};o(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function Bc(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Hb(b){var a={},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,f="Template must have exactly one root element. was: ",i=/^\s*(https?|ftp|mailto|file):/;this.directive=function j(d,e){x(d)?
"$http","$templateCache","$parse","$controller","$rootScope",function(b,g,k,j,l,o,q,n){function z(a,b,c){a instanceof t||(a=t(a));m(a,function(b,c){b.nodeType==3&&(a[c]=t(b).wrap("<span></span>").parent()[0])});var d=v(a,b,a,c);return function(b,c){ra(b,"scope");var e=c?va.clone.call(a):a;e.data("$scope",b);r(e,"ng-scope");c&&c(e,b);d&&d(b,e,e);return e}}function r(a,b){try{a.addClass(b)}catch(c){}}function v(a,b,c,d){function e(a,c,d,k){for(var g,h,j,n,o,l=0,q=0,r=f.length;l<r;q++)j=c[q],g=f[l++], (eb(e,"directive"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];o(a[d],function(a){try{var f=b.invoke(a);if(I(f))f={compile:Q(f)};else if(!f.compile&&f.link)f.compile=Q(f.link);f.priority=f.priority||0;f.name=f.name||d;f.require=f.require||f.controller&&f.name;f.restrict=f.restrict||"A";e.push(f)}catch(j){c(j)}});return e}])),a[d].push(e)):o(d,sb(j));return this};this.urlSanitizationWhitelist=function(a){return w(a)?(i=a,this):i};this.$get=["$injector",
h=f[l++],g?(g.scope?(n=a.$new(M(g.scope)),t(j).data("$scope",n)):n=a,(o=g.transclude)||!k&&b?g(h,n,j,d,function(b){return function(c){var d=a.$new();return b(d,c).bind("$destroy",Xa(d,d.$destroy))}}(o||b)):g(h,n,j,p,k)):h&&h(a,j.childNodes,p,k)}for(var f=[],k,g,h,j=0;j<a.length;j++)g=new ea,k=da(a[j],[],g,d),g=(k=k.length?C(k,a[j],g,b,c):null)&&k.terminal||!a[j].childNodes.length?null:v(a[j].childNodes,k?k.transclude:b),f.push(k),f.push(g),h=h||k||g;return h?e:null}function da(a,b,c,f){var k=c.$attr, "$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document",function(b,g,m,k,l,q,n,B,r){function p(a,b,c){a instanceof v||(a=v(a));o(a,function(b,c){b.nodeType==3&&b.nodeValue.match(/\S+/)&&(a[c]=v(b).wrap("<span></span>").parent()[0])});var d=D(a,b,a,c);return function(b,c){eb(b,"scope");for(var e=c?za.clone.call(a):a,g=0,f=e.length;g<f;g++){var j=e[g];(j.nodeType==1||j.nodeType==9)&&e.eq(g).data("$scope",b)}E(e,"ng-scope");c&&c(e,b);d&&d(b,e,e);return e}}
g;switch(a.nodeType){case 1:w(b,fa(Eb(a).toLowerCase()),"E",f);var h,j,n;g=a.attributes;for(var l=0,o=g&&g.length;l<o;l++)if(h=g[l],h.specified)j=h.name,n=fa(j.toLowerCase()),k[n]=j,c[n]=h=R(aa&&j=="href"?decodeURIComponent(a.getAttribute(j,2)):h.value),Ab(a,n)&&(c[n]=!0),X(a,b,h,n),w(b,n,"A",f);a=a.className;if(F(a)&&a!=="")for(;g=e.exec(a);)n=fa(g[2]),w(b,n,"C",f)&&(c[n]=R(g[3])),a=a.substr(g.index+g[0].length);break;case 3:J(b,a.nodeValue);break;case 8:try{if(g=d.exec(a.nodeValue))n=fa(g[1]),w(b, function E(a,b){try{a.addClass(b)}catch(c){}}function D(a,b,c,d){function e(a,c,d,f){var j,i,l,m,n,k,q,p=[];n=0;for(k=c.length;n<k;n++)p.push(c[n]);q=n=0;for(k=g.length;n<k;q++)i=p[q],c=g[n++],j=g[n++],c?(c.scope?(l=a.$new(L(c.scope)),v(i).data("$scope",l)):l=a,(m=c.transclude)||!f&&b?c(j,l,i,d,function(b){return function(c){var d=a.$new();d.$$transcluded=!0;return b(d,c).bind("$destroy",ab(d,d.$destroy))}}(m||b)):c(j,l,i,s,f)):j&&j(a,i.childNodes,s,f)}for(var g=[],f,j,i,l=0;l<a.length;l++)j=new ya,
n,"M",f)&&(c[n]=R(g[2]))}catch(q){}}b.sort(x);return b}function C(a,b,c,d,e){function f(a,b){if(a)a.require=A.require,l.push(a);if(b)b.require=A.require,v.push(b)}function g(a,b){var c,d="data",e=!1;if(F(a)){for(;(c=a.charAt(0))=="^"||c=="?";)a=a.substr(1),c=="^"&&(d="inheritedData"),e=e||c=="?";c=b[d]("$"+a+"Controller");if(!c&&!e)throw y("No controller: "+a);}else H(a)&&(c=[],m(a,function(a){c.push(g(a,b))}));return c}function n(a,d,e,f,h){var j,r,z,K,Q;j=b===e?c:hc(c,new ea(t(e),c.$attr));r=j.$$element; f=G(a[l],[],j,d),j=(f=f.length?R(f,a[l],j,b,c):null)&&f.terminal||!a[l].childNodes||!a[l].childNodes.length?null:D(a[l].childNodes,f?f.transclude:b),g.push(f),g.push(j),i=i||f||j;return i?e:null}function G(a,b,c,g){var f=c.$attr,j;switch(a.nodeType){case 1:A(b,aa(jb(a).toLowerCase()),"E",g);var i,l,n;j=a.attributes;for(var m=0,k=j&&j.length;m<k;m++)if(i=j[m],i.specified)l=i.name,n=aa(l),ha.test(n)&&(l=n.substr(6).toLowerCase()),n=aa(l.toLowerCase()),f[n]=l,c[n]=i=S(X&&l=="href"?decodeURIComponent(a.getAttribute(l,
if(C){var zc=/^\s*([@=&])\s*(\w*)\s*$/,x=d.$parent||d;m(C.scope,function(a,b){var c=a.match(zc)||[],e=c[2]||b,f,g,k;switch(c[1]){case "@":j.$observe(e,function(a){d[b]=a});j.$$observers[e].$$scope=x;break;case "=":g=o(j[e]);k=g.assign||function(){f=d[b]=g(x);throw y(Fb+j[e]+" (directive: "+C.name+")");};f=d[b]=g(x);d.$watch(function(){var a=g(x);a!==d[b]&&(a!==f?f=d[b]=a:k(x,a=f=d[b]));return a});break;case "&":g=o(j[e]);d[b]=function(a){return g(x,a)};break;default:throw y("Invalid isolate scope definition for directive "+ 2)):i.value),Db(a,n)&&(c[n]=!0),z(a,b,i,n),A(b,n,"A",g);a=a.className;if(x(a)&&a!=="")for(;j=e.exec(a);)n=aa(j[2]),A(b,n,"C",g)&&(c[n]=S(j[3])),a=a.substr(j.index+j[0].length);break;case 3:ga(b,a.nodeValue);break;case 8:try{if(j=d.exec(a.nodeValue))n=aa(j[1]),A(b,n,"M",g)&&(c[n]=S(j[2]))}catch(q){}}b.sort(N);return b}function R(a,b,c,d,e){function j(a,b){if(a)a.require=z.require,B.push(a);if(b)b.require=z.require,r.push(b)}function i(a,b){var c,d="data",e=!1;if(x(a)){for(;(c=a.charAt(0))=="^"||c==
C.name+": "+a);}})}s&&m(s,function(a){var b={$scope:d,$element:r,$attrs:j,$transclude:h};Q=a.controller;Q=="@"&&(Q=j[a.name]);r.data("$"+a.name+"Controller",q(Q,b))});f=0;for(z=l.length;f<z;f++)try{K=l[f],K(d,r,j,K.require&&g(K.require,r))}catch(I){k(I,qa(r))}a&&a(d,e.childNodes,p,h);f=0;for(z=v.length;f<z;f++)try{K=v[f],K(d,r,j,K.require&&g(K.require,r))}catch(w){k(w,qa(r))}}for(var j=-Number.MAX_VALUE,l=[],v=[],K=null,C=null,w=null,x=c.$$element=t(b),A,J,X,D,u=d,s,B,Y,E=0,G=a.length;E<G;E++){A= "?";)a=a.substr(1),c=="^"&&(d="inheritedData"),e=e||c=="?";c=b[d]("$"+a+"Controller");if(!c&&!e)throw Error("No controller: "+a);}else C(a)&&(c=[],o(a,function(a){c.push(i(a,b))}));return c}function l(a,d,e,f,j){var k,p,D,G,H;k=b===e?c:kc(c,new ya(v(e),c.$attr));p=k.$$element;if(ba){var z=/^\s*([@=&])(\??)\s*(\w*)\s*$/,F=d.$parent||d;o(ba.scope,function(a,b){var c=a.match(z)||[],e=c[3]||b,f=c[2]=="?",c=c[1],j,l,i;d.$$isolateBindings[b]=c+e;switch(c){case "@":k.$observe(e,function(a){d[b]=a});k.$$observers[e].$$scope=
a[E];X=p;if(j>A.priority)break;if(Y=A.scope)I("isolated scope",C,A,x),M(Y)&&(r(x,"ng-isolate-scope"),C=A),r(x,"ng-scope"),K=K||A;J=A.name;if(Y=A.controller)s=s||{},I("'"+J+"' controller",s[J],A,x),s[J]=A;if(Y=A.transclude)I("transclusion",D,A,x),D=A,j=A.priority,Y=="element"?(X=t(b),x=c.$$element=t("<\!-- "+J+": "+c[J]+" --\>"),b=x[0],Ka(e,t(X[0]),b),u=z(X,d,j)):(X=t(db(b)).contents(),x.html(""),u=z(X,d));if(Y=A.template)if(I("template",w,A,x),w=A,Y=Gb(Y),A.replace){X=t("<div>"+R(Y)+"</div>").contents(); F;k[e]&&(d[b]=g(k[e])(F));break;case "=":if(f&&!k[e])break;l=q(k[e]);i=l.assign||function(){j=d[b]=l(F);throw Error(Ib+k[e]+" (directive: "+ba.name+")");};j=d[b]=l(F);d.$watch(function(){var a=l(F);a!==d[b]&&(a!==j?j=d[b]=a:i(F,a=j=d[b]));return a});break;case "&":l=q(k[e]);d[b]=function(a){return l(F,a)};break;default:throw Error("Invalid isolate scope definition for directive "+ba.name+": "+a);}})}ha&&o(ha,function(a){var b={$scope:d,$element:p,$attrs:k,$transclude:j};H=a.controller;H=="@"&&(H=
b=X[0];if(X.length!=1||b.nodeType!==1)throw new y(h+Y);Ka(e,x,b);J={$attr:{}};a=a.concat(da(b,a.splice(E+1,a.length-(E+1)),J));Q(c,J);G=a.length}else x.html(Y);if(A.templateUrl)I("template",w,A,x),w=A,n=W(a.splice(E,a.length-E),n,x,c,e,A.replace,u),G=a.length;else if(A.compile)try{B=A.compile(x,c,u),N(B)?f(null,B):B&&f(B.pre,B.post)}catch(L){k(L,qa(x))}if(A.terminal)n.terminal=!0,j=Math.max(j,A.priority)}n.scope=K&&K.scope;n.transclude=D&&u;return n}function w(d,e,g,h){var j=!1;if(a.hasOwnProperty(e))for(var n, k[a.name]);p.data("$"+a.name+"Controller",n(H,b))});f=0;for(D=B.length;f<D;f++)try{G=B[f],G(d,p,k,G.require&&i(G.require,p))}catch(E){m(E,ta(p))}a&&a(d,e.childNodes,s,j);f=0;for(D=r.length;f<D;f++)try{G=r[f],G(d,p,k,G.require&&i(G.require,p))}catch(N){m(N,ta(p))}}for(var k=-Number.MAX_VALUE,B=[],r=[],D=null,ba=null,N=null,A=c.$$element=v(b),z,T,R,ga,ia=d,ha,t,y,w=0,u=a.length;w<u;w++){z=a[w];R=s;if(k>z.priority)break;if(y=z.scope)ea("isolated scope",ba,z,A),L(y)&&(E(A,"ng-isolate-scope"),ba=z),E(A,
e=b.get(e+c),l=0,o=e.length;l<o;l++)try{if(n=e[l],(h===p||h>n.priority)&&n.restrict.indexOf(g)!=-1)d.push(n),j=!0}catch(q){k(q)}return j}function Q(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;m(a,function(d,e){e.charAt(0)!="$"&&(b[e]&&(d+=(e==="style"?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});m(b,function(b,f){f=="class"?(r(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):f=="style"?e.attr("style",e.attr("style")+";"+b):f.charAt(0)!="$"&&!a.hasOwnProperty(f)&&(a[f]=b,d[f]=c[f])})}function W(a,b,c,d,e, "ng-scope"),D=D||z;T=z.name;if(y=z.controller)ha=ha||{},ea("'"+T+"' controller",ha[T],z,A),ha[T]=z;if(y=z.transclude)ea("transclusion",ga,z,A),ga=z,k=z.priority,y=="element"?(R=v(b),A=c.$$element=v(V.createComment(" "+T+": "+c[T]+" ")),b=A[0],fa(e,v(R[0]),b),ia=p(R,d,k)):(R=v(hb(b)).contents(),A.html(""),ia=p(R,d));if(z.template)if(ea("template",N,z,A),N=z,y=I(z.template)?z.template(A,c):z.template,y=Jb(y),z.replace){R=v("<div>"+S(y)+"</div>").contents();b=R[0];if(R.length!=1||b.nodeType!==1)throw Error(f+
f,g){var k=[],n,o,q=c[0],r=a.shift(),z=B({},r,{controller:null,templateUrl:null,transclude:null,scope:null});c.html("");j.get(r.templateUrl,{cache:l}).success(function(j){var l,r,j=Gb(j);if(f){r=t("<div>"+R(j)+"</div>").contents();l=r[0];if(r.length!=1||l.nodeType!==1)throw new y(h+j);j={$attr:{}};Ka(e,c,l);da(l,a,j);Q(d,j)}else l=q,c.html(j);a.unshift(z);n=C(a,c,d,g);for(o=v(c.contents(),g);k.length;){var K=k.pop(),j=k.pop();r=k.pop();var x=k.pop(),m=l;r!==q&&(m=db(l),Ka(j,t(r),m));n(function(){b(o, y);fa(e,A,b);T={$attr:{}};a=a.concat(G(b,a.splice(w+1,a.length-(w+1)),T));H(c,T);u=a.length}else A.html(y);if(z.templateUrl)ea("template",N,z,A),N=z,l=F(a.splice(w,a.length-w),l,A,c,e,z.replace,ia),u=a.length;else if(z.compile)try{t=z.compile(A,c,ia),I(t)?j(null,t):t&&j(t.pre,t.post)}catch(J){m(J,ta(A))}if(z.terminal)l.terminal=!0,k=Math.max(k,z.priority)}l.scope=D&&D.scope;l.transclude=ga&&ia;return l}function A(d,e,g,f){var l=!1;if(a.hasOwnProperty(e))for(var i,e=b.get(e+c),n=0,k=e.length;n<k;n++)try{if(i=
x,m,e,K)},x,m,e,K)}k=null}).error(function(a,b,c,d){throw y("Failed to load template: "+d.url);});return function(a,c,d,e,f){k?(k.push(c),k.push(d),k.push(e),k.push(f)):n(function(){b(o,c,d,e,f)},c,d,e,f)}}function x(a,b){return b.priority-a.priority}function I(a,b,c,d){if(b)throw y("Multiple directives ["+b.name+", "+c.name+"] asking for "+a+" on: "+qa(d));}function J(a,b){var c=g(b,!0);c&&a.push({priority:0,compile:L(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);r(d.data("$binding", e[n],(f===s||f>i.priority)&&i.restrict.indexOf(g)!=-1)d.push(i),l=!0}catch(q){m(q)}return l}function H(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;o(a,function(d,e){e.charAt(0)!="$"&&(b[e]&&(d+=(e==="style"?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});o(b,function(b,g){g=="class"?(E(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):g=="style"?e.attr("style",e.attr("style")+";"+b):g.charAt(0)!="$"&&!a.hasOwnProperty(g)&&(a[g]=b,d[g]=c[g])})}function F(a,b,c,d,e,g,j){var i=[],n,m,q=c[0],p=a.shift(),ya=y({},
e),"ng-binding");a.$watch(c,function(a){b[0].nodeValue=a})})})}function X(a,b,c,d){var e=g(c,!0);e&&b.push({priority:100,compile:L(function(a,b,c){b=c.$$observers||(c.$$observers={});d==="class"&&(e=g(c[d],!0));c[d]=p;(b[d]||(b[d]=[])).$$inter=!0;(c.$$observers&&c.$$observers[d].$$scope||a).$watch(e,function(a){c.$set(d,a)})})})}function Ka(a,b,c){var d=b[0],e=d.parentNode,f,g;if(a){f=0;for(g=a.length;f<g;f++)if(a[f]==d){a[f]=c;break}}e&&e.replaceChild(c,d);c[t.expando]=d[t.expando];b[0]=c}var ea= p,{controller:null,templateUrl:null,transclude:null,scope:null}),p=I(p.templateUrl)?p.templateUrl(c,d):p.templateUrl;c.html("");k.get(p,{cache:l}).success(function(l){var k,p,l=Jb(l);if(g){p=v("<div>"+S(l)+"</div>").contents();k=p[0];if(p.length!=1||k.nodeType!==1)throw Error(f+l);l={$attr:{}};fa(e,c,k);G(k,a,l);H(d,l)}else k=q,c.html(l);a.unshift(ya);n=R(a,k,d,j);for(m=D(c[0].childNodes,j);i.length;){var B=i.shift(),l=i.shift();p=i.shift();var r=i.shift(),F=k;l!==q&&(F=hb(k),fa(p,v(l),F));n(function(){b(m,
function(a,b){this.$$element=a;this.$attr=b||{}};ea.prototype={$normalize:fa,$set:function(a,b,c,d){var e=Ab(this.$$element[0],a),f=this.$$observers;e&&(this.$$element.prop(a,b),d=e);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=ab(a,"-"));c!==!1&&(b===null||b===p?this.$$element.removeAttr(d):this.$$element.attr(d,b));f&&m(f[a],function(a){try{a(b)}catch(c){k(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);n.$evalAsync(function(){e.$$inter|| B,F,e,r)},B,F,e,r)}i=null}).error(function(a,b,c,d){throw Error("Failed to load template: "+d.url);});return function(a,c,d,e,g){i?(i.push(c),i.push(d),i.push(e),i.push(g)):n(function(){b(m,c,d,e,g)},c,d,e,g)}}function N(a,b){return b.priority-a.priority}function ea(a,b,c,d){if(b)throw Error("Multiple directives ["+b.name+", "+c.name+"] asking for "+a+" on: "+ta(d));}function ga(a,b){var c=g(b,!0);c&&a.push({priority:0,compile:Q(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);E(d.data("$binding",
b(c[a])});return b}};var D=g.startSymbol(),K=g.endSymbol(),Gb=D=="{{"||K=="}}"?na:function(a){return a.replace(/\{\{/g,D).replace(/}}/g,K)};return z}]}function fa(b){return tb(b.replace(Ac,""))}function Bc(){var b={};this.register=function(a,c){M(a)?B(b,a):b[a]=c};this.$get=["$injector","$window",function(a,c){return function(d,e){if(F(d)){var h=d,d=b.hasOwnProperty(h)?b[h]:gb(e.$scope,h,!0)||gb(c,h,!0);sa(d,h,!0)}return a.instantiate(d,e)}}]}function Cc(){this.$get=["$window",function(b){return t(b.document)}]} e),"ng-binding");a.$watch(c,function(a){b[0].nodeValue=a})})})}function z(a,b,c,d){var e=g(c,!0);e&&b.push({priority:100,compile:Q(function(a,b,c){b=c.$$observers||(c.$$observers={});if(e=g(c[d],!0))c[d]=e(a),(b[d]||(b[d]=[])).$$inter=!0,(c.$$observers&&c.$$observers[d].$$scope||a).$watch(e,function(a){c.$set(d,a)})})})}function fa(a,b,c){var d=b[0],e=d.parentNode,g,f;if(a){g=0;for(f=a.length;g<f;g++)if(a[g]==d){a[g]=c;break}}e&&e.replaceChild(c,d);c[v.expando]=d[v.expando];b[0]=c}var ya=function(a,
function Dc(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Ec(){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",function(c,d){function e(e,g){for(var k,j,l=0,o=[],q=e.length,n=!1,z=[];l<q;)(k=e.indexOf(b,l))!=-1&&(j=e.indexOf(a,k+h))!=-1?(l!=k&&o.push(e.substring(l,k)),o.push(l=c(n=e.substring(k+h,j))),l.exp=n,l=j+i,n=!0):(l!=q&&o.push(e.substring(l)), b){this.$$element=a;this.$attr=b||{}};ya.prototype={$normalize:aa,$set:function(a,b,c,d){var e=Db(this.$$element[0],a),g=this.$$observers;e&&(this.$$element.prop(a,b),d=e);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=db(a,"-"));if(jb(this.$$element[0])==="A"&&a==="href")ba.setAttribute("href",b),e=ba.href,e.match(i)||(this[a]=b="unsafe:"+e);c!==!1&&(b===null||b===s?this.$$element.removeAttr(d):this.$$element.attr(d,b));g&&o(g[a],function(a){try{a(b)}catch(c){m(c)}})},$observe:function(a,
l=q);if(!(q=o.length))o.push(""),q=1;if(!g||n)return z.length=q,l=function(a){try{for(var b=0,c=q,g;b<c;b++){if(typeof(g=o[b])=="function")g=g(a),g==null||g==p?g="":typeof g!="string"&&(g=ca(g));z[b]=g}return z.join("")}catch(k){a=new y("Error while interpolating: "+e+"\n"+k.toString()),d(a)}},l.exp=e,l.parts=o,l}var h=b.length,i=a.length;e.startSymbol=function(){return b};e.endSymbol=function(){return a};return e}]}function Hb(b){for(var b=b.split("/"),a=b.length;a--;)b[a]=$a(b[a]);return b.join("/")} b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);B.$evalAsync(function(){e.$$inter||b(c[a])});return b}};var ba=r[0].createElement("a"),T=g.startSymbol(),ia=g.endSymbol(),Jb=T=="{{"||ia=="}}"?pa:function(a){return a.replace(/\{\{/g,T).replace(/}}/g,ia)},ha=/^ngAttr[A-Z]/;return p}]}function aa(b){return Ja(b.replace(Cc,""))}function Dc(){var b={};this.register=function(a,c){L(a)?y(b,a):b[a]=c};this.$get=["$injector","$window",function(a,c){return function(d,e){if(x(d)){var f=
function wa(b,a){var c=hb.exec(b),c={protocol:c[1],host:c[3],port:E(c[5])||xa[c[1]]||null,path:c[6]||"/",search:c[8],hash:c[10]};if(a)a.$$protocol=c.protocol,a.$$host=c.host,a.$$port=c.port;return c}function ka(b,a,c){return b+"://"+a+(c==xa[b]?"":":"+c)}function Fc(b,a,c){var d=wa(b);return decodeURIComponent(d.path)!=a||u(d.hash)||d.hash.indexOf(c)!==0?b:ka(d.protocol,d.host,d.port)+a.substr(0,a.lastIndexOf("/"))+d.hash.substr(c.length)}function Gc(b,a,c){var d=wa(b);if(decodeURIComponent(d.path)== d,d=b.hasOwnProperty(f)?b[f]:kb(e.$scope,f,!0)||kb(c,f,!0);va(d,f,!0)}return a.instantiate(d,e)}}]}function Ec(){this.$get=["$window",function(b){return v(b.document)}]}function Fc(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Gc(){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",function(c,d){function e(e,j){for(var g,m,k=0,l=[],q=e.length,n=
a)return b;else{var e=d.search&&"?"+d.search||"",h=d.hash&&"#"+d.hash||"",i=a.substr(0,a.lastIndexOf("/")),f=d.path.substr(i.length);if(d.path.indexOf(i)!==0)throw y('Invalid url "'+b+'", missing path prefix "'+i+'" !');return ka(d.protocol,d.host,d.port)+a+"#"+c+f+e+h}}function ib(b,a,c){a=a||"";this.$$parse=function(b){var c=wa(b,this);if(c.path.indexOf(a)!==0)throw y('Invalid url "'+b+'", missing path prefix "'+a+'" !');this.$$path=decodeURIComponent(c.path.substr(a.length));this.$$search=Ya(c.search); !1,B=[];k<q;)(g=e.indexOf(b,k))!=-1&&(m=e.indexOf(a,g+f))!=-1?(k!=g&&l.push(e.substring(k,g)),l.push(k=c(n=e.substring(g+f,m))),k.exp=n,k=m+i,n=!0):(k!=q&&l.push(e.substring(k)),k=q);if(!(q=l.length))l.push(""),q=1;if(!j||n)return B.length=q,k=function(a){try{for(var b=0,c=q,g;b<c;b++){if(typeof(g=l[b])=="function")g=g(a),g==null||g==s?g="":typeof g!="string"&&(g=da(g));B[b]=g}return B.join("")}catch(f){d(Error("Error while interpolating: "+e+"\n"+f.toString()))}},k.exp=e,k.parts=l,k}var f=b.length,
this.$$hash=c.hash&&decodeURIComponent(c.hash)||"";this.$$compose()};this.$$compose=function(){var b=qb(this.$$search),c=this.$$hash?"#"+$a(this.$$hash):"";this.$$url=Hb(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ka(this.$$protocol,this.$$host,this.$$port)+a+this.$$url};this.$$rewriteAppUrl=function(a){if(a.indexOf(c)==0)return a};this.$$parse(b)}function La(b,a,c){var d;this.$$parse=function(b){var c=wa(b,this);if(c.hash&&c.hash.indexOf(a)!==0)throw y('Invalid url "'+b+'", missing hash prefix "'+ i=a.length;e.startSymbol=function(){return b};e.endSymbol=function(){return a};return e}]}function Kb(b){for(var b=b.split("/"),a=b.length;a--;)b[a]=cb(b[a]);return b.join("/")}function Aa(b,a){var c=lb.exec(b),c={protocol:c[1],host:c[3],port:K(c[5])||Ba[c[1]]||null,path:c[6]||"/",search:c[8],hash:c[10]};if(a)a.$$protocol=c.protocol,a.$$host=c.host,a.$$port=c.port;return c}function ma(b,a,c){return b+"://"+a+(c==Ba[b]?"":":"+c)}function Hc(b,a,c){var d=Aa(b);return decodeURIComponent(d.path)!=a||
a+'" !');d=c.path+(c.search?"?"+c.search:"");c=Hc.exec((c.hash||"").substr(a.length));this.$$path=c[1]?(c[1].charAt(0)=="/"?"":"/")+decodeURIComponent(c[1]):"";this.$$search=Ya(c[3]);this.$$hash=c[5]&&decodeURIComponent(c[5])||"";this.$$compose()};this.$$compose=function(){var b=qb(this.$$search),c=this.$$hash?"#"+$a(this.$$hash):"";this.$$url=Hb(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ka(this.$$protocol,this.$$host,this.$$port)+d+(this.$$url?"#"+a+this.$$url:"")};this.$$rewriteAppUrl=function(a){if(a.indexOf(c)== u(d.hash)||d.hash.indexOf(c)!==0?b:ma(d.protocol,d.host,d.port)+a.substr(0,a.lastIndexOf("/"))+d.hash.substr(c.length)}function Ic(b,a,c){var d=Aa(b);if(decodeURIComponent(d.path)==a&&!u(d.hash)&&d.hash.indexOf(c)===0)return b;else{var e=d.search&&"?"+d.search||"",f=d.hash&&"#"+d.hash||"",i=a.substr(0,a.lastIndexOf("/")),h=d.path.substr(i.length);if(d.path.indexOf(i)!==0)throw Error('Invalid url "'+b+'", missing path prefix "'+i+'" !');return ma(d.protocol,d.host,d.port)+a+"#"+c+h+e+f}}function mb(b,
0)return a};this.$$parse(b)}function Ib(b,a,c,d){La.apply(this,arguments);this.$$rewriteAppUrl=function(b){if(b.indexOf(c)==0)return c+d+"#"+a+b.substr(c.length)}}function Ma(b){return function(){return this[b]}}function Jb(b,a){return function(c){if(u(c))return this[b];this[b]=a(c);this.$$compose();return this}}function Ic(){var b="",a=!1;this.hashPrefix=function(a){return s(a)?(b=a,this):b};this.html5Mode=function(b){return s(b)?(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement", a,c){a=a||"";this.$$parse=function(b){var c=Aa(b,this);if(c.path.indexOf(a)!==0)throw Error('Invalid url "'+b+'", missing path prefix "'+a+'" !');this.$$path=decodeURIComponent(c.path.substr(a.length));this.$$search=bb(c.search);this.$$hash=c.hash&&decodeURIComponent(c.hash)||"";this.$$compose()};this.$$compose=function(){var b=ub(this.$$search),c=this.$$hash?"#"+cb(this.$$hash):"";this.$$url=Kb(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ma(this.$$protocol,this.$$host,this.$$port)+a+this.$$url};this.$$rewriteAppUrl=
function(c,d,e,h){function i(a){c.$broadcast("$locationChangeSuccess",f.absUrl(),a)}var f,g,k,j=d.url(),l=wa(j);a?(g=d.baseHref()||"/",k=g.substr(0,g.lastIndexOf("/")),l=ka(l.protocol,l.host,l.port)+k+"/",f=e.history?new ib(Fc(j,g,b),k,l):new Ib(Gc(j,g,b),b,l,g.substr(k.length+1))):(l=ka(l.protocol,l.host,l.port)+(l.path||"")+(l.search?"?"+l.search:"")+"#"+b+"/",f=new La(j,b,l));h.bind("click",function(a){if(!a.ctrlKey&&!(a.metaKey||a.which==2)){for(var b=t(a.target);G(b[0].nodeName)!=="a";)if(b[0]=== function(a){if(a.indexOf(c)==0)return a};this.$$parse(b)}function Qa(b,a,c){var d;this.$$parse=function(b){var c=Aa(b,this);if(c.hash&&c.hash.indexOf(a)!==0)throw Error('Invalid url "'+b+'", missing hash prefix "'+a+'" !');d=c.path+(c.search?"?"+c.search:"");c=Jc.exec((c.hash||"").substr(a.length));this.$$path=c[1]?(c[1].charAt(0)=="/"?"":"/")+decodeURIComponent(c[1]):"";this.$$search=bb(c[3]);this.$$hash=c[5]&&decodeURIComponent(c[5])||"";this.$$compose()};this.$$compose=function(){var b=ub(this.$$search),
h[0]||!(b=b.parent())[0])return;var d=b.prop("href"),e=f.$$rewriteAppUrl(d);d&&!b.attr("target")&&e&&(f.$$parse(e),c.$apply(),a.preventDefault(),U.angular["ff-684208-preventDefault"]=!0)}});f.absUrl()!=j&&d.url(f.absUrl(),!0);d.onUrlChange(function(a){f.absUrl()!=a&&(c.$evalAsync(function(){var b=f.absUrl();f.$$parse(a);i(b)}),c.$$phase||c.$digest())});var o=0;c.$watch(function(){var a=d.url(),b=f.$$replace;if(!o||a!=f.absUrl())o++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",f.absUrl(), c=this.$$hash?"#"+cb(this.$$hash):"";this.$$url=Kb(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ma(this.$$protocol,this.$$host,this.$$port)+d+(this.$$url?"#"+a+this.$$url:"")};this.$$rewriteAppUrl=function(a){if(a.indexOf(c)==0)return a};this.$$parse(b)}function Lb(b,a,c,d){Qa.apply(this,arguments);this.$$rewriteAppUrl=function(b){if(b.indexOf(c)==0)return c+d+"#"+a+b.substr(c.length)}}function Ra(b){return function(){return this[b]}}function Mb(b,a){return function(c){if(u(c))return this[b];this[b]=
a).defaultPrevented?f.$$parse(a):(d.url(f.absUrl(),b),i(a))});f.$$replace=!1;return o});return f}]}function Jc(){this.$get=["$window",function(b){function a(a){a instanceof y&&(a.stack?a=a.message&&a.stack.indexOf(a.message)===-1?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function c(c){var e=b.console||{},h=e[c]||e.log||D;return h.apply?function(){var b=[];m(arguments,function(c){b.push(a(c))});return h.apply(e,b)}:function(a,b){h(a,b)}} a(c);this.$$compose();return this}}function Kc(){var b="",a=!1;this.hashPrefix=function(a){return w(a)?(b=a,this):b};this.html5Mode=function(b){return w(b)?(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function i(a){c.$broadcast("$locationChangeSuccess",h.absUrl(),a)}var h,j,g,m=d.url(),k=Aa(m);a?(j=d.baseHref()||"/",g=j.substr(0,j.lastIndexOf("/")),k=ma(k.protocol,k.host,k.port)+g+"/",h=e.history?new mb(Hc(m,j,b),g,k):new Lb(Ic(m,j,b),b,k,j.substr(g.length+
return{log:c("log"),warn:c("warn"),info:c("info"),error:c("error")}}]}function Kc(b,a){function c(a){return a.indexOf(r)!=-1}function d(){return n+1<b.length?b.charAt(n+1):!1}function e(a){return"0"<=a&&a<="9"}function h(a){return a==" "||a=="\r"||a=="\t"||a=="\n"||a=="\u000b"||a=="\u00a0"}function i(a){return"a"<=a&&a<="z"||"A"<=a&&a<="Z"||"_"==a||a=="$"}function f(a){return a=="-"||a=="+"||e(a)}function g(a,c,d){d=d||n;throw y("Lexer Error: "+a+" at column"+(s(c)?"s "+c+"-"+n+" ["+b.substring(c, 1))):(k=ma(k.protocol,k.host,k.port)+(k.path||"")+(k.search?"?"+k.search:"")+"#"+b+"/",h=new Qa(m,b,k));f.bind("click",function(a){if(!a.ctrlKey&&!(a.metaKey||a.which==2)){for(var b=v(a.target);J(b[0].nodeName)!=="a";)if(b[0]===f[0]||!(b=b.parent())[0])return;var d=b.prop("href"),e=h.$$rewriteAppUrl(d);d&&!b.attr("target")&&e&&(h.$$parse(e),c.$apply(),a.preventDefault(),M.angular["ff-684208-preventDefault"]=!0)}});h.absUrl()!=m&&d.url(h.absUrl(),!0);d.onUrlChange(function(a){h.absUrl()!=a&&(c.$evalAsync(function(){var b=
d)+"]":" "+d)+" in expression ["+b+"].");}function k(){for(var a="",c=n;n<b.length;){var k=G(b.charAt(n));if(k=="."||e(k))a+=k;else{var h=d();if(k=="e"&&f(h))a+=k;else if(f(k)&&h&&e(h)&&a.charAt(a.length-1)=="e")a+=k;else if(f(k)&&(!h||!e(h))&&a.charAt(a.length-1)=="e")g("Invalid exponent");else break}n++}a*=1;o.push({index:c,text:a,json:!0,fn:function(){return a}})}function j(){for(var c="",d=n,f,g,k;n<b.length;){var j=b.charAt(n);if(j=="."||i(j)||e(j))j=="."&&(f=n),c+=j;else break;n++}if(f)for(g= h.absUrl();h.$$parse(a);i(b)}),c.$$phase||c.$digest())});var l=0;c.$watch(function(){var a=d.url(),b=h.$$replace;if(!l||a!=h.absUrl())l++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):(d.url(h.absUrl(),b),i(a))});h.$$replace=!1;return l});return h}]}function Lc(){var b=!0,a=this;this.debugEnabled=function(a){return w(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&a.stack.indexOf(a.message)===
n;g<b.length;){j=b.charAt(g);if(j=="("){k=c.substr(f-d+1);c=c.substr(0,f-d);n=g;break}if(h(j))g++;else break}d={index:d,text:c};if(Na.hasOwnProperty(c))d.fn=d.json=Na[c];else{var l=Kb(c,a);d.fn=B(function(a,b){return l(a,b)},{assign:function(a,b){return Lb(a,c,b)}})}o.push(d);k&&(o.push({index:f,text:".",json:!1}),o.push({index:f+1,text:k,json:!1}))}function l(a){var c=n;n++;for(var d="",e=a,f=!1;n<b.length;){var k=b.charAt(n);e+=k;if(f)k=="u"?(k=b.substring(n+1,n+5),k.match(/[\da-f]{4}/i)||g("Invalid unicode escape [\\u"+ -1?"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||t;return e.apply?function(){var a=[];o(arguments,function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,b)}}return{log:e("log"),warn:e("warn"),info:e("info"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function Mc(b,a){function c(a){return a.indexOf(r)!=-1}function d(a){a=a||
k+"]"),n+=4,d+=String.fromCharCode(parseInt(k,16))):(f=Lc[k],d+=f?f:k),f=!1;else if(k=="\\")f=!0;else if(k==a){n++;o.push({index:c,text:e,string:d,json:!0,fn:function(){return d}});return}else d+=k;n++}g("Unterminated quote",c)}for(var o=[],q,n=0,z=[],r,v=":";n<b.length;){r=b.charAt(n);if(c("\"'"))l(r);else if(e(r)||c(".")&&e(d()))k();else if(i(r)){if(j(),"{,".indexOf(v)!=-1&&z[0]=="{"&&(q=o[o.length-1]))q.json=q.text.indexOf(".")==-1}else if(c("(){}[].,;:"))o.push({index:n,text:r,json:":[,".indexOf(v)!= 1;return n+a<b.length?b.charAt(n+a):!1}function e(a){return"0"<=a&&a<="9"}function f(a){return a==" "||a=="\r"||a=="\t"||a=="\n"||a=="\u000b"||a=="\u00a0"}function i(a){return"a"<=a&&a<="z"||"A"<=a&&a<="Z"||"_"==a||a=="$"}function h(a){return a=="-"||a=="+"||e(a)}function j(a,c,d){d=d||n;throw Error("Lexer Error: "+a+" at column"+(w(c)?"s "+c+"-"+n+" ["+b.substring(c,d)+"]":" "+d)+" in expression ["+b+"].");}function g(){for(var a="",c=n;n<b.length;){var g=J(b.charAt(n));if(g=="."||e(g))a+=g;else{var f=
-1&&c("{[")||c("}]:,")}),c("{[")&&z.unshift(r),c("}]")&&z.shift(),n++;else if(h(r)){n++;continue}else{var m=r+d(),C=Na[r],w=Na[m];w?(o.push({index:n,text:m,fn:w}),n+=2):C?(o.push({index:n,text:r,fn:C,json:"[,:".indexOf(v)!=-1&&c("+-")}),n+=1):g("Unexpected next character ",n,n+1)}v=r}return o}function Mc(b,a,c,d){function e(a,c){throw y("Syntax Error: Token '"+c.text+"' "+a+" at column "+(c.index+1)+" of the expression ["+b+"] starting at ["+b.substring(c.index)+"].");}function h(){if(I.length=== d();if(g=="e"&&h(f))a+=g;else if(h(g)&&f&&e(f)&&a.charAt(a.length-1)=="e")a+=g;else if(h(g)&&(!f||!e(f))&&a.charAt(a.length-1)=="e")j("Invalid exponent");else break}n++}a*=1;l.push({index:c,text:a,json:!0,fn:function(){return a}})}function m(){for(var c="",d=n,g,h,j;n<b.length;){var k=b.charAt(n);if(k=="."||i(k)||e(k))k=="."&&(g=n),c+=k;else break;n++}if(g)for(h=n;h<b.length;){k=b.charAt(h);if(k=="("){j=c.substr(g-d+1);c=c.substr(0,g-d);n=h;break}if(f(k))h++;else break}d={index:d,text:c};if(Ca.hasOwnProperty(c))d.fn=
0)throw y("Unexpected end of expression: "+b);return I[0]}function i(a,b,c,d){if(I.length>0){var e=I[0],f=e.text;if(f==a||f==b||f==c||f==d||!a&&!b&&!c&&!d)return e}return!1}function f(b,c,d,f){return(b=i(b,c,d,f))?(a&&!b.json&&e("is not valid json",b),I.shift(),b):!1}function g(a){f(a)||e("is unexpected, expecting ["+a+"]",i())}function k(a,b){return function(c,d){return a(c,d,b)}}function j(a,b,c){return function(d,e){return b(d,e,a,c)}}function l(){for(var a=[];;)if(I.length>0&&!i("}",")",";","]")&& d.json=Ca[c];else{var m=Nb(c,a);d.fn=y(function(a,b){return m(a,b)},{assign:function(a,b){return Ob(a,c,b)}})}l.push(d);j&&(l.push({index:g,text:".",json:!1}),l.push({index:g+1,text:j,json:!1}))}function k(a){var c=n;n++;for(var d="",e=a,g=!1;n<b.length;){var h=b.charAt(n);e+=h;if(g)h=="u"?(h=b.substring(n+1,n+5),h.match(/[\da-f]{4}/i)||j("Invalid unicode escape [\\u"+h+"]"),n+=4,d+=String.fromCharCode(parseInt(h,16))):(g=Nc[h],d+=g?g:h),g=!1;else if(h=="\\")g=!0;else if(h==a){n++;l.push({index:c,
a.push(s()),!f(";"))return a.length==1?a[0]:function(b,c){for(var d,e=0;e<a.length;e++){var f=a[e];f&&(d=f(b,c))}return d}}function o(){for(var a=f(),b=c(a.text),d=[];;)if(a=f(":"))d.push(J());else{var e=function(a,c,e){for(var e=[e],f=0;f<d.length;f++)e.push(d[f](a,c));return b.apply(a,e)};return function(){return e}}}function q(){for(var a=n(),b;;)if(b=f("||"))a=j(a,b.fn,n());else return a}function n(){var a=z(),b;if(b=f("&&"))a=j(a,b.fn,n());return a}function z(){var a=r(),b;if(b=f("==","!="))a= text:e,string:d,json:!0,fn:function(){return d}});return}else d+=h;n++}j("Unterminated quote",c)}for(var l=[],q,n=0,B=[],r,p=":";n<b.length;){r=b.charAt(n);if(c("\"'"))k(r);else if(e(r)||c(".")&&e(d()))g();else if(i(r)){if(m(),"{,".indexOf(p)!=-1&&B[0]=="{"&&(q=l[l.length-1]))q.json=q.text.indexOf(".")==-1}else if(c("(){}[].,;:"))l.push({index:n,text:r,json:":[,".indexOf(p)!=-1&&c("{[")||c("}]:,")}),c("{[")&&B.unshift(r),c("}]")&&B.shift(),n++;else if(f(r)){n++;continue}else{var E=r+d(),D=E+d(2),
j(a,b.fn,z());return a}function r(){var a;a=v();for(var b;b=f("+","-");)a=j(a,b.fn,v());if(b=f("<",">","<=",">="))a=j(a,b.fn,r());return a}function v(){for(var a=m(),b;b=f("*","/","%");)a=j(a,b.fn,m());return a}function m(){var a;return f("+")?C():(a=f("-"))?j(W,a.fn,m()):(a=f("!"))?k(a.fn,m()):C()}function C(){var a;if(f("("))a=s(),g(")");else if(f("["))a=w();else if(f("{"))a=Q();else{var b=f();(a=b.fn)||e("not a primary expression",b)}for(var c;b=f("(","[",".");)b.text==="("?(a=t(a,c),c=null):b.text=== G=Ca[r],o=Ca[E],A=Ca[D];A?(l.push({index:n,text:D,fn:A}),n+=3):o?(l.push({index:n,text:E,fn:o}),n+=2):G?(l.push({index:n,text:r,fn:G,json:"[,:".indexOf(p)!=-1&&c("+-")}),n+=1):j("Unexpected next character ",n,n+1)}p=r}return l}function Oc(b,a,c,d){function e(a,c){throw Error("Syntax Error: Token '"+c.text+"' "+a+" at column "+(c.index+1)+" of the expression ["+b+"] starting at ["+b.substring(c.index)+"].");}function f(){if(F.length===0)throw Error("Unexpected end of expression: "+b);return F[0]}function i(a,
"["?(c=a,a=ea(a)):b.text==="."?(c=a,a=u(a)):e("IMPOSSIBLE");return a}function w(){var a=[];if(h().text!="]"){do a.push(J());while(f(","))}g("]");return function(b,c){for(var d=[],e=0;e<a.length;e++)d.push(a[e](b,c));return d}}function Q(){var a=[];if(h().text!="}"){do{var b=f(),b=b.string||b.text;g(":");var c=J();a.push({key:b,value:c})}while(f(","))}g("}");return function(b,c){for(var d={},e=0;e<a.length;e++){var f=a[e],k=f.value(b,c);d[f.key]=k}return d}}var W=L(0),x,I=Kc(b,d),J=function(){var a= b,c,d){if(F.length>0){var e=F[0],g=e.text;if(g==a||g==b||g==c||g==d||!a&&!b&&!c&&!d)return e}return!1}function h(b,c,d,g){return(b=i(b,c,d,g))?(a&&!b.json&&e("is not valid json",b),F.shift(),b):!1}function j(a){h(a)||e("is unexpected, expecting ["+a+"]",i())}function g(a,b){return y(function(c,d){return a(c,d,b)},{constant:b.constant})}function m(a,b,c){return y(function(d,e){return b(d,e,a,c)},{constant:a.constant&&c.constant})}function k(){for(var a=[];;)if(F.length>0&&!i("}",")",";","]")&&a.push(fa()),
q(),c,d;return(d=f("="))?(a.assign||e("implies assignment but ["+b.substring(0,d.index)+"] can not be assigned to",d),c=q(),function(b,d){return a.assign(b,c(b,d),d)}):a},t=function(a,b){var c=[];if(h().text!=")"){do c.push(J());while(f(","))}g(")");return function(d,e){for(var f=[],k=b?b(d,e):d,g=0;g<c.length;g++)f.push(c[g](d,e));g=a(d,e)||D;return g.apply?g.apply(k,f):g(f[0],f[1],f[2],f[3],f[4])}},u=function(a){var b=f().text,c=Kb(b,d);return B(function(b,d){return c(a(b,d),d)},{assign:function(c, !h(";"))return a.length==1?a[0]:function(b,c){for(var d,e=0;e<a.length;e++){var g=a[e];g&&(d=g(b,c))}return d}}function l(){for(var a=h(),b=c(a.text),d=[];;)if(a=h(":"))d.push(N());else{var e=function(a,c,e){for(var e=[e],g=0;g<d.length;g++)e.push(d[g](a,c));return b.apply(a,e)};return function(){return e}}}function q(){for(var a=n(),b;;)if(b=h("||"))a=m(a,b.fn,n());else return a}function n(){var a=B(),b;if(b=h("&&"))a=m(a,b.fn,n());return a}function B(){var a=r(),b;if(b=h("==","!=","===","!=="))a=
d,e){return Lb(a(c,e),b,d)}})},ea=function(a){var b=J();g("]");return B(function(c,d){var e=a(c,d),f=b(c,d),g;if(!e)return p;if((e=e[f])&&e.then){g=e;if(!("$$v"in e))g.$$v=p,g.then(function(a){g.$$v=a});e=e.$$v}return e},{assign:function(c,d,e){return a(c,e)[b(c,e)]=d}})},s=function(){for(var a=J(),b;;)if(b=f("|"))a=j(a,b.fn,o());else return a};a?(J=q,t=u=ea=s=function(){e("is not valid json",{text:b,index:0})},x=C()):x=l();I.length!==0&&e("is an unexpected token",I[0]);return x}function Lb(b,a,c){for(var a= m(a,b.fn,B());return a}function r(){var a;a=p();for(var b;b=h("+","-");)a=m(a,b.fn,p());if(b=h("<",">","<=",">="))a=m(a,b.fn,r());return a}function p(){for(var a=E(),b;b=h("*","/","%");)a=m(a,b.fn,E());return a}function E(){var a;return h("+")?D():(a=h("-"))?m(A,a.fn,E()):(a=h("!"))?g(a.fn,E()):D()}function D(){var a;if(h("("))a=fa(),j(")");else if(h("["))a=G();else if(h("{"))a=o();else{var b=h();(a=b.fn)||e("not a primary expression",b);if(b.json)a.constant=a.literal=!0}for(var c;b=h("(","[",".");)b.text===
a.split("."),d=0;a.length>1;d++){var e=a.shift(),h=b[e];h||(h={},b[e]=h);b=h}return b[a.shift()]=c}function gb(b,a,c){if(!a)return b;for(var a=a.split("."),d,e=b,h=a.length,i=0;i<h;i++)d=a[i],b&&(b=(e=b)[d]);return!c&&N(b)?Xa(e,b):b}function Mb(b,a,c,d,e){return function(h,i){var f=i&&i.hasOwnProperty(b)?i:h,g;if(f===null||f===p)return f;if((f=f[b])&&f.then){if(!("$$v"in f))g=f,g.$$v=p,g.then(function(a){g.$$v=a});f=f.$$v}if(!a||f===null||f===p)return f;if((f=f[a])&&f.then){if(!("$$v"in f))g=f,g.$$v= "("?(a=ea(a,c),c=null):b.text==="["?(c=a,a=z(a)):b.text==="."?(c=a,a=ga(a)):e("IMPOSSIBLE");return a}function G(){var a=[],b=!0;if(f().text!="]"){do{var c=N();a.push(c);c.constant||(b=!1)}while(h(","))}j("]");return y(function(b,c){for(var d=[],e=0;e<a.length;e++)d.push(a[e](b,c));return d},{literal:!0,constant:b})}function o(){var a=[],b=!0;if(f().text!="}"){do{var c=h(),c=c.string||c.text;j(":");var d=N();a.push({key:c,value:d});d.constant||(b=!1)}while(h(","))}j("}");return y(function(b,c){for(var d=
p,g.then(function(a){g.$$v=a});f=f.$$v}if(!c||f===null||f===p)return f;if((f=f[c])&&f.then){if(!("$$v"in f))g=f,g.$$v=p,g.then(function(a){g.$$v=a});f=f.$$v}if(!d||f===null||f===p)return f;if((f=f[d])&&f.then){if(!("$$v"in f))g=f,g.$$v=p,g.then(function(a){g.$$v=a});f=f.$$v}if(!e||f===null||f===p)return f;if((f=f[e])&&f.then){if(!("$$v"in f))g=f,g.$$v=p,g.then(function(a){g.$$v=a});f=f.$$v}return f}}function Kb(b,a){if(jb.hasOwnProperty(b))return jb[b];var c=b.split("."),d=c.length,e;if(a)e=d<6?Mb(c[0], {},e=0;e<a.length;e++){var g=a[e],h=g.value(b,c);d[g.key]=h}return d},{literal:!0,constant:b})}var A=Q(0),H,F=Mc(b,d),N=function(){var a=q(),c,d;return(d=h("="))?(a.assign||e("implies assignment but ["+b.substring(0,d.index)+"] can not be assigned to",d),c=q(),function(b,d){return a.assign(b,c(b,d),d)}):a},ea=function(a,b){var c=[];if(f().text!=")"){do c.push(N());while(h(","))}j(")");return function(d,e){for(var g=[],h=b?b(d,e):d,f=0;f<c.length;f++)g.push(c[f](d,e));f=a(d,e)||t;return f.apply?f.apply(h,
c[1],c[2],c[3],c[4]):function(a,b){var e=0,k;do k=Mb(c[e++],c[e++],c[e++],c[e++],c[e++])(a,b),b=p,a=k;while(e<d);return k};else{var h="var l, fn, p;\n";m(c,function(a,b){h+="if(s === null || s === undefined) return s;\nl=s;\ns="+(b?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\nif (s && s.then) {\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n'});h+="return s;";e=Function("s","k",h);e.toString=function(){return h}}return jb[b]=e}function Nc(){var b= g):f(g[0],g[1],g[2],g[3],g[4])}},ga=function(a){var b=h().text,c=Nb(b,d);return y(function(b,d){return c(a(b,d),d)},{assign:function(c,d,e){return Ob(a(c,e),b,d)}})},z=function(a){var b=N();j("]");return y(function(c,d){var e=a(c,d),g=b(c,d),h;if(!e)return s;if((e=e[g])&&e.then){h=e;if(!("$$v"in e))h.$$v=s,h.then(function(a){h.$$v=a});e=e.$$v}return e},{assign:function(c,d,e){return a(c,e)[b(c,e)]=d}})},fa=function(){for(var a=N(),b;;)if(b=h("|"))a=m(a,b.fn,l());else return a};a?(N=q,ea=ga=z=fa=function(){e("is not valid json",
{};this.$get=["$filter","$sniffer",function(a,c){return function(d){switch(typeof d){case "string":return b.hasOwnProperty(d)?b[d]:b[d]=Mc(d,!1,a,c.csp);case "function":return d;default:return D}}}]}function Oc(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Pc(function(a){b.$evalAsync(a)},a)}]}function Pc(b,a){function c(a){return a}function d(a){return i(a)}var e=function(){var f=[],g,k;return k={resolve:function(a){if(f){var c=f;f=p;g=h(a);c.length&&b(function(){for(var a,b= {text:b,index:0})},H=D()):H=k();F.length!==0&&e("is an unexpected token",F[0]);H.literal=!!H.literal;H.constant=!!H.constant;return H}function Ob(b,a,c){for(var a=a.split("."),d=0;a.length>1;d++){var e=a.shift(),f=b[e];f||(f={},b[e]=f);b=f}return b[a.shift()]=c}function kb(b,a,c){if(!a)return b;for(var a=a.split("."),d,e=b,f=a.length,i=0;i<f;i++)d=a[i],b&&(b=(e=b)[d]);return!c&&I(b)?ab(e,b):b}function Pb(b,a,c,d,e){return function(f,i){var h=i&&i.hasOwnProperty(b)?i:f,j;if(h===null||h===s)return h;
0,d=c.length;b<d;b++)a=c[b],g.then(a[0],a[1])})}},reject:function(a){k.resolve(i(a))},promise:{then:function(b,k){var h=e(),i=function(d){try{h.resolve((b||c)(d))}catch(e){a(e),h.reject(e)}},n=function(b){try{h.resolve((k||d)(b))}catch(c){a(c),h.reject(c)}};f?f.push([i,n]):g.then(i,n);return h.promise}}}},h=function(a){return a&&a.then?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},i=function(a){return{then:function(c,k){var h=e();b(function(){h.resolve((k||d)(a))}); if((h=h[b])&&h.then){if(!("$$v"in h))j=h,j.$$v=s,j.then(function(a){j.$$v=a});h=h.$$v}if(!a||h===null||h===s)return h;if((h=h[a])&&h.then){if(!("$$v"in h))j=h,j.$$v=s,j.then(function(a){j.$$v=a});h=h.$$v}if(!c||h===null||h===s)return h;if((h=h[c])&&h.then){if(!("$$v"in h))j=h,j.$$v=s,j.then(function(a){j.$$v=a});h=h.$$v}if(!d||h===null||h===s)return h;if((h=h[d])&&h.then){if(!("$$v"in h))j=h,j.$$v=s,j.then(function(a){j.$$v=a});h=h.$$v}if(!e||h===null||h===s)return h;if((h=h[e])&&h.then){if(!("$$v"in
return h.promise}}};return{defer:e,reject:i,when:function(f,g,k){var j=e(),l,o=function(b){try{return(g||c)(b)}catch(d){return a(d),i(d)}},q=function(b){try{return(k||d)(b)}catch(c){return a(c),i(c)}};b(function(){h(f).then(function(a){l||(l=!0,j.resolve(h(a).then(o,q)))},function(a){l||(l=!0,j.resolve(q(a)))})});return j.promise},all:function(a){var b=e(),c=a.length,d=[];c?m(a,function(a,e){h(a).then(function(a){e in d||(d[e]=a,--c||b.resolve(d))},function(a){e in d||b.reject(a)})}):b.resolve(d); h))j=h,j.$$v=s,j.then(function(a){j.$$v=a});h=h.$$v}return h}}function Nb(b,a){if(nb.hasOwnProperty(b))return nb[b];var c=b.split("."),d=c.length,e;if(a)e=d<6?Pb(c[0],c[1],c[2],c[3],c[4]):function(a,b){var e=0,g;do g=Pb(c[e++],c[e++],c[e++],c[e++],c[e++])(a,b),b=s,a=g;while(e<d);return g};else{var f="var l, fn, p;\n";o(c,function(a,b){f+="if(s === null || s === undefined) return s;\nl=s;\ns="+(b?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\nif (s && s.then) {\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n'});
return b.promise}}}function Qc(){var b={};this.when=function(a,c){b[a]=B({reloadOnSearch:!0},c);if(a){var d=a[a.length-1]=="/"?a.substr(0,a.length-1):a+"/";b[d]={redirectTo:a}}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache",function(a,c,d,e,h,i,f){function g(){var b=k(),g=q.current;if(b&&g&&b.$route===g.$route&&ha(b.pathParams,g.pathParams)&&!b.reloadOnSearch&&!o)g.params=b.params,V(g.params, f+="return s;";e=Function("s","k",f);e.toString=function(){return f}}return nb[b]=e}function Pc(){var b={};this.$get=["$filter","$sniffer",function(a,c){return function(d){switch(typeof d){case "string":return b.hasOwnProperty(d)?b[d]:b[d]=Oc(d,!1,a,c.csp);case "function":return d;default:return t}}}]}function Qc(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Rc(function(a){b.$evalAsync(a)},a)}]}function Rc(b,a){function c(a){return a}function d(a){return i(a)}var e=function(){var h=
d),a.$broadcast("$routeUpdate",g);else if(b||g)o=!1,a.$broadcast("$routeChangeStart",b,g),(q.current=b)&&b.redirectTo&&(F(b.redirectTo)?c.path(j(b.redirectTo,b.params)).search(b.params).replace():c.url(b.redirectTo(b.pathParams,c.path(),c.search())).replace()),e.when(b).then(function(){if(b){var a=[],c=[],d;m(b.resolve||{},function(b,d){a.push(d);c.push(F(b)?h.get(b):h.invoke(b))});if(!s(d=b.template))if(s(d=b.templateUrl))d=i.get(d,{cache:f}).then(function(a){return a.data});s(d)&&(a.push("$template"), [],j,g;return g={resolve:function(a){if(h){var c=h;h=s;j=f(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],j.then(a[0],a[1])})}},reject:function(a){g.resolve(i(a))},promise:{then:function(b,g){var f=e(),i=function(d){try{f.resolve((b||c)(d))}catch(e){a(e),f.reject(e)}},n=function(b){try{f.resolve((g||d)(b))}catch(c){a(c),f.reject(c)}};h?h.push([i,n]):j.then(i,n);return f.promise}}}},f=function(a){return a&&a.then?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},
c.push(d));return e.all(c).then(function(b){var c={};m(b,function(b,d){c[a[d]]=b});return c})}}).then(function(c){if(b==q.current){if(b)b.locals=c,V(b.params,d);a.$broadcast("$routeChangeSuccess",b,g)}},function(c){b==q.current&&a.$broadcast("$routeChangeError",b,g,c)})}function k(){var a,d;m(b,function(b,e){if(!d&&(a=l(c.path(),e)))d=Aa(b,{params:B({},c.search(),a),pathParams:a}),d.$route=b});return d||b[null]&&Aa(b[null],{params:{},pathParams:{}})}function j(a,b){var c=[];m((a||"").split(":"),function(a, i=function(a){return{then:function(c,g){var f=e();b(function(){f.resolve((g||d)(a))});return f.promise}}};return{defer:e,reject:i,when:function(h,j,g){var m=e(),k,l=function(b){try{return(j||c)(b)}catch(d){return a(d),i(d)}},q=function(b){try{return(g||d)(b)}catch(c){return a(c),i(c)}};b(function(){f(h).then(function(a){k||(k=!0,m.resolve(f(a).then(l,q)))},function(a){k||(k=!0,m.resolve(q(a)))})});return m.promise},all:function(a){var b=e(),c=0,d=C(a)?[]:{};o(a,function(a,e){c++;f(a).then(function(a){d.hasOwnProperty(e)||
d){if(d==0)c.push(a);else{var e=a.match(/(\w+)(.*)/),f=e[1];c.push(b[f]);c.push(e[2]||"");delete b[f]}});return c.join("")}var l=function(a,b){var c="^"+b.replace(/([\.\\\(\)\^\$])/g,"\\$1")+"$",d=[],e={};m(b.split(/\W/),function(a){if(a){var b=RegExp(":"+a+"([\\W])");c.match(b)&&(c=c.replace(b,"([^\\/]*)$1"),d.push(a))}});var f=a.match(RegExp(c));f&&m(d,function(a,b){e[a]=f[b+1]});return f?e:null},o=!1,q={routes:b,reload:function(){o=!0;a.$evalAsync(g)}};a.$on("$locationChangeSuccess",g);return q}]} (d[e]=a,--c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});c===0&&b.resolve(d);return b.promise}}}function Sc(){var b={};this.when=function(a,c){b[a]=y({reloadOnSearch:!0,caseInsensitiveMatch:!1},c);if(a){var d=a[a.length-1]=="/"?a.substr(0,a.length-1):a+"/";b[d]={redirectTo:a}}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache",function(a,c,d,e,f,i,h){function j(a,b,c){for(var b=
function Rc(){this.$get=L({})}function Sc(){var b=10;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse",function(a,c,d){function e(){this.$id=za();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$asyncQueue=[];this.$$listeners={}}function h(a){if(g.$$phase)throw y(g.$$phase+" already in progress");g.$$phase=a}function i(a,b){var c= "^"+b.replace(/[-\/\\^$:*+?.()|[\]{}]/g,"\\$&")+"$",d="",e=[],g={},f=/\\([:*])(\w+)/g,h,j=0;(h=f.exec(b))!==null;){d+=b.slice(j,h.index);switch(h[1]){case ":":d+="([^\\/]*)";break;case "*":d+="(.*)"}e.push(h[2]);j=f.lastIndex}d+=b.substr(j);var i=a.match(RegExp(d,c.caseInsensitiveMatch?"i":""));i&&o(e,function(a,b){g[a]=i[b+1]});return i?g:null}function g(){var b=m(),g=q.current;if(b&&g&&b.$$route===g.$$route&&ja(b.pathParams,g.pathParams)&&!b.reloadOnSearch&&!l)g.params=b.params,W(g.params,d),a.$broadcast("$routeUpdate",
d(a);sa(c,b);return c}function f(){}e.prototype={$new:function(a){if(N(a))throw y("API-CHANGE: Use $controller to instantiate controllers.");a?(a=new e,a.$root=this.$root):(a=function(){},a.prototype=this,a=new a,a.$id=za());a["this"]=a;a.$$listeners={};a.$parent=this;a.$$watchers=a.$$nextSibling=a.$$childHead=a.$$childTail=null;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,c){var d= g);else if(b||g)l=!1,a.$broadcast("$routeChangeStart",b,g),(q.current=b)&&b.redirectTo&&(x(b.redirectTo)?c.path(k(b.redirectTo,b.params)).search(b.params).replace():c.url(b.redirectTo(b.pathParams,c.path(),c.search())).replace()),e.when(b).then(function(){if(b){var a=y({},b.resolve),c;o(a,function(b,c){a[c]=x(b)?f.get(b):f.invoke(b)});if(w(c=b.template))I(c)&&(c=c(b.params));else if(w(c=b.templateUrl))if(I(c)&&(c=c(b.params)),w(c))b.loadedTemplateUrl=c,c=i.get(c,{cache:h}).then(function(a){return a.data});
i(a,"watch"),e=this.$$watchers,g={fn:b,last:f,get:d,exp:a,eq:!!c};if(!N(b)){var h=i(b||D,"listener");g.fn=function(a,b,c){h(c)}}if(!e)e=this.$$watchers=[];e.unshift(g);return function(){Ca(e,g)}},$digest:function(){var a,d,e,i,q=this.$$asyncQueue,n,m,r=b,v,p=[],C,w;h("$digest");do{m=!1;for(v=this;q.length;)try{v.$eval(q.shift())}catch(Q){c(Q)}do{if(i=v.$$watchers)for(n=i.length;n--;)try{if(a=i[n],(d=a.get(v))!==(e=a.last)&&!(a.eq?ha(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))m= w(c)&&(a.$template=c);return e.all(a)}}).then(function(c){if(b==q.current){if(b)b.locals=c,W(b.params,d);a.$broadcast("$routeChangeSuccess",b,g)}},function(c){b==q.current&&a.$broadcast("$routeChangeError",b,g,c)})}function m(){var a,d;o(b,function(b,e){if(!d&&(a=j(c.path(),e,b)))d=Fa(b,{params:y({},c.search(),a),pathParams:a}),d.$$route=b});return d||b[null]&&Fa(b[null],{params:{},pathParams:{}})}function k(a,b){var c=[];o((a||"").split(":"),function(a,d){if(d==0)c.push(a);else{var e=a.match(/(\w+)(.*)/),
!0,a.last=a.eq?V(d):d,a.fn(d,e===f?d:e,v),r<5&&(C=4-r,p[C]||(p[C]=[]),w=N(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,w+="; newVal: "+ca(d)+"; oldVal: "+ca(e),p[C].push(w))}catch(W){c(W)}if(!(i=v.$$childHead||v!==this&&v.$$nextSibling))for(;v!==this&&!(i=v.$$nextSibling);)v=v.$parent}while(v=i);if(m&&!r--)throw g.$$phase=null,y(b+" $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: "+ca(p));}while(m||q.length);g.$$phase=null},$destroy:function(){if(g!=this){var a= g=e[1];c.push(b[g]);c.push(e[2]||"");delete b[g]}});return c.join("")}var l=!1,q={routes:b,reload:function(){l=!0;a.$evalAsync(g)}};a.$on("$locationChangeSuccess",g);return q}]}function Tc(){this.$get=Q({})}function Uc(){var b=10;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse",function(a,c,d){function e(){this.$id=Ea();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;
this.$parent;this.$broadcast("$destroy");if(a.$$childHead==this)a.$$childHead=this.$$nextSibling;if(a.$$childTail==this)a.$$childTail=this.$$prevSibling;if(this.$$prevSibling)this.$$prevSibling.$$nextSibling=this.$$nextSibling;if(this.$$nextSibling)this.$$nextSibling.$$prevSibling=this.$$prevSibling;this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null}},$eval:function(a,b){return d(a)(this,b)},$evalAsync:function(a){this.$$asyncQueue.push(a)},$apply:function(a){try{return h("$apply"), this["this"]=this.$root=this;this.$$destroyed=!1;this.$$asyncQueue=[];this.$$listeners={};this.$$isolateBindings={}}function f(a){if(j.$$phase)throw Error(j.$$phase+" already in progress");j.$$phase=a}function i(a,b){var c=d(a);va(c,b);return c}function h(){}e.prototype={$new:function(a){if(I(a))throw Error("API-CHANGE: Use $controller to instantiate controllers.");a?(a=new e,a.$root=this.$root):(a=function(){},a.prototype=this,a=new a,a.$id=Ea());a["this"]=a;a.$$listeners={};a.$parent=this;a.$$watchers=
this.$eval(a)}catch(b){c(b)}finally{g.$$phase=null;try{g.$digest()}catch(d){throw c(d),d;}}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);return function(){c[Ba(c,b)]=null}},$emit:function(a,b){var d=[],e,f=this,g=!1,h={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},i=[h].concat(ia.call(arguments,1)),m,p;do{e=f.$$listeners[a]||d;h.currentScope=f;m=0;for(p=e.length;m<p;m++)if(e[m])try{if(e[m].apply(null, a.$$nextSibling=a.$$childHead=a.$$childTail=null;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,c){var d=i(a,"watch"),e=this.$$watchers,f={fn:b,last:h,get:d,exp:a,eq:!!c};if(!I(b)){var j=i(b||t,"listener");f.fn=function(a,b,c){j(c)}}if(typeof a=="string"&&d.constant){var r=f.fn;f.fn=function(a,b,c){r.call(this,a,b,c);sa(e,f)}}if(!e)e=this.$$watchers=[];e.unshift(f);return function(){sa(e,
i),g)return h}catch(C){c(C)}else e.splice(m,1),m--,p--;f=f.$parent}while(f);return h},$broadcast:function(a,b){var d=this,e=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},g=[f].concat(ia.call(arguments,1)),h,i;do{d=e;f.currentScope=d;e=d.$$listeners[a]||[];h=0;for(i=e.length;h<i;h++)if(e[h])try{e[h].apply(null,g)}catch(m){c(m)}else e.splice(h,1),h--,i--;if(!(e=d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(e=d.$$nextSibling);)d=d.$parent}while(d= f)}},$watchCollection:function(a,b){var c=this,e,f,h=0,j=d(a),i=[],p={},o=0;return this.$watch(function(){f=j(c);var a,b;if(L(f))if(C(f)){if(e!==i)e=i,o=e.length=0,h++;a=f.length;if(o!==a)h++,e.length=o=a;for(b=0;b<a;b++)e[b]!==f[b]&&(h++,e[b]=f[b])}else{e!==p&&(e=p={},o=0,h++);a=0;for(b in f)f.hasOwnProperty(b)&&(a++,e.hasOwnProperty(b)?e[b]!==f[b]&&(h++,e[b]=f[b]):(o++,e[b]=f[b],h++));if(o>a)for(b in h++,e)e.hasOwnProperty(b)&&!f.hasOwnProperty(b)&&(o--,delete e[b])}else e!==f&&(e=f,h++);return h},
e);return f}};var g=new e;return g}]}function Tc(){this.$get=["$window","$document",function(b,a){var c={},d=E((/android (\d+)/.exec(G(b.navigator.userAgent))||[])[1]),e=a[0];return{history:!(!b.history||!b.history.pushState||d<4),hashchange:"onhashchange"in b&&(!e.documentMode||e.documentMode>7),hasEvent:function(a){if(a=="input"&&aa==9)return!1;if(u(c[a])){var b=e.createElement("div");c[a]="on"+a in b}return c[a]},csp:e.securityPolicy?e.securityPolicy.isActive:!1}}]}function Uc(){this.$get=L(U)} function(){b(f,e,c)})},$digest:function(){var a,d,e,i,q=this.$$asyncQueue,n,o,r=b,p,E=[],D,G;f("$digest");do{o=!1;for(p=this;q.length;)try{p.$eval(q.shift())}catch(s){c(s)}do{if(i=p.$$watchers)for(n=i.length;n--;)try{if(a=i[n],(d=a.get(p))!==(e=a.last)&&!(a.eq?ja(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))o=!0,a.last=a.eq?W(d):d,a.fn(d,e===h?d:e,p),r<5&&(D=4-r,E[D]||(E[D]=[]),G=I(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,G+="; newVal: "+da(d)+"; oldVal: "+da(e),E[D].push(G))}catch(A){c(A)}if(!(i=
function Nb(b){var a={},c,d,e;if(!b)return a;m(b.split("\n"),function(b){e=b.indexOf(":");c=G(R(b.substr(0,e)));d=R(b.substr(e+1));c&&(a[c]?a[c]+=", "+d:a[c]=d)});return a}function Vc(b,a){var c=Wc.exec(b);if(c==null)return!0;var d={protocol:c[2],host:c[4],port:E(c[6])||xa[c[2]]||null,relativeProtocol:c[2]===p||c[2]===""},c=hb.exec(a),c={protocol:c[1],host:c[3],port:E(c[5])||xa[c[1]]||null};return(d.protocol==c.protocol||d.relativeProtocol)&&d.host==c.host&&(d.port==c.port||d.relativeProtocol&&c.port== p.$$childHead||p!==this&&p.$$nextSibling))for(;p!==this&&!(i=p.$$nextSibling);)p=p.$parent}while(p=i);if(o&&!r--)throw j.$$phase=null,Error(b+" $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: "+da(E));}while(o||q.length);j.$$phase=null},$destroy:function(){if(!(j==this||this.$$destroyed)){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;if(a.$$childHead==this)a.$$childHead=this.$$nextSibling;if(a.$$childTail==this)a.$$childTail=this.$$prevSibling;
xa[c.protocol])}function Ob(b){var a=M(b)?b:p;return function(c){a||(a=Nb(b));return c?a[G(c)]||null:a}}function Pb(b,a,c){if(N(c))return c(b,a);m(c,function(c){b=c(b,a)});return b}function Xc(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d=this.defaults={transformResponse:[function(d){F(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=pb(d,!0)));return d}],transformRequest:[function(a){return M(a)&&Va.apply(a)!=="[object File]"?ca(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"}, if(this.$$prevSibling)this.$$prevSibling.$$nextSibling=this.$$nextSibling;if(this.$$nextSibling)this.$$nextSibling.$$prevSibling=this.$$prevSibling;this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null}},$eval:function(a,b){return d(a)(this,b)},$evalAsync:function(a){this.$$asyncQueue.push(a)},$apply:function(a){try{return f("$apply"),this.$eval(a)}catch(b){c(b)}finally{j.$$phase=null;try{j.$digest()}catch(d){throw c(d),d;}}},$on:function(a,b){var c=this.$$listeners[a];
post:{"Content-Type":"application/json;charset=utf-8"},put:{"Content-Type":"application/json;charset=utf-8"}}},e=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,g,k,j){function l(a){function c(a){var b=B({},a,{data:Pb(a.data,a.headers,f)});return 200<=a.status&&a.status<300?b:k.reject(b)}a.method=la(a.method);var e=a.transformRequest||d.transformRequest,f=a.transformResponse||d.transformResponse,g=d.headers,h=Vc(a.url, c||(this.$$listeners[a]=c=[]);c.push(b);return function(){c[Ga(c,b)]=null}},$emit:function(a,b){var d=[],e,f=this,h=!1,i={name:a,targetScope:f,stopPropagation:function(){h=!0},preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1},j=[i].concat(ka.call(arguments,1)),p,o;do{e=f.$$listeners[a]||d;i.currentScope=f;p=0;for(o=e.length;p<o;p++)if(e[p])try{if(e[p].apply(null,j),h)return i}catch(D){c(D)}else e.splice(p,1),p--,o--;f=f.$parent}while(f);return i},$broadcast:function(a,b){var d=
b.url())?b.cookies()["XSRF-TOKEN"]:p,g=B({"X-XSRF-TOKEN":h},g.common,g[G(a.method)],a.headers),e=Pb(a.data,Ob(g),e),j;u(a.data)&&delete g["Content-Type"];if(u(a.withCredentials)&&!u(d.withCredentials))a.withCredentials=d.withCredentials;j=o(a,e,g);j=j.then(c,c);m(z,function(a){j=a(j)});j.success=function(b){j.then(function(c){b(c.data,c.status,c.headers,a)});return j};j.error=function(b){j.then(null,function(c){b(c.data,c.status,c.headers,a)});return j};return j}function o(b,c,d){function e(a,b,c){m&& this,e=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},h=[f].concat(ka.call(arguments,1)),i,j;do{d=e;f.currentScope=d;e=d.$$listeners[a]||[];i=0;for(j=e.length;i<j;i++)if(e[i])try{e[i].apply(null,h)}catch(p){c(p)}else e.splice(i,1),i--,j--;if(!(e=d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(e=d.$$nextSibling);)d=d.$parent}while(d=e);return f}};var j=new e;return j}]}function Vc(){this.$get=["$window","$document",function(b,a){var c=
(200<=a&&a<300?m.put(z,[a,b,Nb(c)]):m.remove(z));f(b,a,c);g.$apply()}function f(a,c,d){c=Math.max(c,0);(200<=c&&c<300?j.resolve:j.reject)({data:a,status:c,headers:Ob(d),config:b})}function i(){var a=Ba(l.pendingRequests,b);a!==-1&&l.pendingRequests.splice(a,1)}var j=k.defer(),o=j.promise,m,p,z=q(b.url,b.params);l.pendingRequests.push(b);o.then(i,i);b.cache&&b.method=="GET"&&(m=M(b.cache)?b.cache:n);if(m)if(p=m.get(z))if(p.then)return p.then(i,i),p;else H(p)?f(p[1],p[0],V(p[2])):f(p,200,{});else m.put(z, {},d=K((/android (\d+)/.exec(J((b.navigator||{}).userAgent))||[])[1]),e=a[0]||{},f,i=/^(Moz|webkit|O|ms)(?=[A-Z])/,h=e.body&&e.body.style,j=!1;if(h){for(var g in h)if(j=i.exec(g)){f=j[0];f=f.substr(0,1).toUpperCase()+f.substr(1);break}j=!!(f+"Transition"in h)}return{history:!(!b.history||!b.history.pushState||d<4),hashchange:"onhashchange"in b&&(!e.documentMode||e.documentMode>7),hasEvent:function(a){if(a=="input"&&X==9)return!1;if(u(c[a])){var b=e.createElement("div");c[a]="on"+a in b}return c[a]},
o);p||a(b.method,z,c,e,d,b.timeout,b.withCredentials,b.responseType);return o}function q(a,b){if(!b)return a;var c=[];ec(b,function(a,b){a==null||a==p||(H(a)||(a=[a]),m(a,function(a){M(a)&&(a=ca(a));c.push(encodeURIComponent(b)+"="+encodeURIComponent(a))}))});return a+(a.indexOf("?")==-1?"?":"&")+c.join("&")}var n=c("$http"),z=[];m(e,function(a){z.push(F(a)?j.get(a):j.invoke(a))});l.pendingRequests=[];(function(a){m(arguments,function(a){l[a]=function(b,c){return l(B(c||{},{method:a,url:b}))}})})("get", csp:e.securityPolicy?e.securityPolicy.isActive:!1,vendorPrefix:f,supportsTransitions:j}}]}function Wc(){this.$get=Q(M)}function Qb(b){var a={},c,d,e;if(!b)return a;o(b.split("\n"),function(b){e=b.indexOf(":");c=J(S(b.substr(0,e)));d=S(b.substr(e+1));c&&(a[c]?a[c]+=", "+d:a[c]=d)});return a}function Xc(b,a){var c=Yc.exec(b);if(c==null)return!0;var d={protocol:c[2],host:c[4],port:K(c[6])||Ba[c[2]]||null,relativeProtocol:c[2]===s||c[2]===""},c=lb.exec(a),c={protocol:c[1],host:c[3],port:K(c[5])||Ba[c[1]]||
"delete","head","jsonp");(function(a){m(arguments,function(a){l[a]=function(b,c,d){return l(B(d||{},{method:a,url:b,data:c}))}})})("post","put");l.defaults=d;return l}]}function Yc(){this.$get=["$browser","$window","$document",function(b,a,c){return Zc(b,$c,b.defer,a.angular.callbacks,c[0],a.location.protocol.replace(":",""))}]}function Zc(b,a,c,d,e,h){function i(a,b){var c=e.createElement("script"),d=function(){e.body.removeChild(c);b&&b()};c.type="text/javascript";c.src=a;aa?c.onreadystatechange= null};return(d.protocol==c.protocol||d.relativeProtocol)&&d.host==c.host&&(d.port==c.port||d.relativeProtocol&&c.port==Ba[c.protocol])}function Rb(b){var a=L(b)?b:s;return function(c){a||(a=Qb(b));return c?a[J(c)]||null:a}}function Sb(b,a,c){if(I(c))return c(b,a);o(c,function(c){b=c(b,a)});return b}function Zc(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d=this.defaults={transformResponse:[function(d){x(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=tb(d,!0)));return d}],transformRequest:[function(a){return L(a)&&
function(){/loaded|complete/.test(c.readyState)&&d()}:c.onload=c.onerror=d;e.body.appendChild(c)}return function(e,g,k,j,l,o,q,n){function p(a,c,d,e){c=(g.match(hb)||["",h])[1]=="file"?d?200:404:c;a(c==1223?204:c,d,e);b.$$completeOutstandingRequest(D)}b.$$incOutstandingRequestCount();g=g||b.url();if(G(e)=="jsonp"){var r="_"+(d.counter++).toString(36);d[r]=function(a){d[r].data=a};i(g.replace("JSON_CALLBACK","angular.callbacks."+r),function(){d[r].data?p(j,200,d[r].data):p(j,-2);delete d[r]})}else{var v= Da.apply(a)!=="[object File]"?da(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:{"Content-Type":"application/json;charset=utf-8"},put:{"Content-Type":"application/json;charset=utf-8"}},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},e=this.interceptors=[],f=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,g,m,k){function l(a){function c(a){var b=y({},a,{data:Sb(a.data,a.headers,e.transformResponse)});
new a;v.open(e,g,!0);m(l,function(a,b){a&&v.setRequestHeader(b,a)});var t;v.onreadystatechange=function(){v.readyState==4&&p(j,t||v.status,v.response||v.responseText,v.getAllResponseHeaders())};if(q)v.withCredentials=!0;if(n)v.responseType=n;v.send(k||"");o>0&&c(function(){t=-1;v.abort()},o)}}}function ad(){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, return 200<=a.status&&a.status<300?b:m.reject(b)}var e={transformRequest:d.transformRequest,transformResponse:d.transformResponse},g={};y(e,a);e.headers=g;e.method=na(e.method);y(g,d.headers.common,d.headers[J(e.method)],a.headers);(a=Xc(e.url,b.url())?b.cookies()[e.xsrfCookieName||d.xsrfCookieName]:s)&&(g[e.xsrfHeaderName||d.xsrfHeaderName]=a);var f=[function(a){var b=Sb(a.data,Rb(g),a.transformRequest);u(a.data)&&delete g["Content-Type"];if(u(a.withCredentials)&&!u(d.withCredentials))a.withCredentials=
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", d.withCredentials;return q(a,b,g).then(c,c)},s],j=m.when(e);for(o(r,function(a){(a.request||a.requestError)&&f.unshift(a.request,a.requestError);(a.response||a.responseError)&&f.push(a.response,a.responseError)});f.length;)var a=f.shift(),i=f.shift(),j=j.then(a,i);j.success=function(a){j.then(function(b){a(b.data,b.status,b.headers,e)});return j};j.error=function(a){j.then(null,function(b){a(b.data,b.status,b.headers,e)});return j};return j}function q(b,c,e){function f(a,b,c){o&&(200<=a&&a<300?o.put(s,
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 b===1?"one":"other"}}}}function bd(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(b,a,c,d){function e(e,f,g){var k=c.defer(),j=k.promise,l=s(g)&&!g,f=a.defer(function(){try{k.resolve(e())}catch(a){k.reject(a),d(a)}l||b.$apply()},f),g=function(){delete h[j.$$timeoutId]};j.$$timeoutId=f;h[f]=k;j.then(g,g);return j}var h={};e.cancel=function(b){return b&& [a,b,Qb(c)]):o.remove(s));h(b,a,c);g.$apply()}function h(a,c,d){c=Math.max(c,0);(200<=c&&c<300?k.resolve:k.reject)({data:a,status:c,headers:Rb(d),config:b})}function j(){var a=Ga(l.pendingRequests,b);a!==-1&&l.pendingRequests.splice(a,1)}var k=m.defer(),q=k.promise,o,r,s=n(b.url,b.params);l.pendingRequests.push(b);q.then(j,j);if((b.cache||d.cache)&&b.cache!==!1&&b.method=="GET")o=L(b.cache)?b.cache:L(d.cache)?d.cache:B;if(o)if(r=o.get(s))if(r.then)return r.then(j,j),r;else C(r)?h(r[1],r[0],W(r[2])):
b.$$timeoutId in h?(h[b.$$timeoutId].reject("canceled"),a.defer.cancel(b.$$timeoutId)):!1};return e}]}function Qb(b){function a(a,e){return b.factory(a+c,e)}var c="Filter";this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}];a("currency",Rb);a("date",Sb);a("filter",cd);a("json",dd);a("limitTo",ed);a("lowercase",fd);a("number",Tb);a("orderBy",Ub);a("uppercase",gd)}function cd(){return function(b,a){if(!(b instanceof Array))return b;var c=[];c.check=function(a){for(var b= h(r,200,{});else o.put(s,q);r||a(b.method,s,c,f,e,b.timeout,b.withCredentials,b.responseType);return q}function n(a,b){if(!b)return a;var c=[];ic(b,function(a,b){a==null||a==s||(C(a)||(a=[a]),o(a,function(a){L(a)&&(a=da(a));c.push(ua(b)+"="+ua(a))}))});return a+(a.indexOf("?")==-1?"?":"&")+c.join("&")}var B=c("$http"),r=[];o(e,function(a){r.unshift(x(a)?k.get(a):k.invoke(a))});o(f,function(a,b){var c=x(a)?k.get(a):k.invoke(a);r.splice(b,0,{response:function(a){return c(m.when(a))},responseError:function(a){return c(m.reject(a))}})});
0;b<c.length;b++)if(!c[b](a))return!1;return!0};var d=function(a,b){if(b.charAt(0)==="!")return!d(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return(""+a).toLowerCase().indexOf(b)>-1;case "object":for(var c in a)if(c.charAt(0)!=="$"&&d(a[c],b))return!0;return!1;case "array":for(c=0;c<a.length;c++)if(d(a[c],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var e in a)e=="$"?function(){var b=(""+ l.pendingRequests=[];(function(a){o(arguments,function(a){l[a]=function(b,c){return l(y(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){o(arguments,function(a){l[a]=function(b,c,d){return l(y(d||{},{method:a,url:b,data:c}))}})})("post","put");l.defaults=d;return l}]}function $c(){this.$get=["$browser","$window","$document",function(b,a,c){return ad(b,bd,b.defer,a.angular.callbacks,c[0],a.location.protocol.replace(":",""))}]}function ad(b,a,c,d,e,f){function i(a,b){var c=
a[e]).toLowerCase();b&&c.push(function(a){return d(a,b)})}():function(){var b=e,f=(""+a[e]).toLowerCase();f&&c.push(function(a){return d(gb(a,b),f)})}();break;case "function":c.push(a);break;default:return b}for(var h=[],i=0;i<b.length;i++){var f=b[i];c.check(f)&&h.push(f)}return h}}function Rb(b){var a=b.NUMBER_FORMATS;return function(b,d){if(u(d))d=a.CURRENCY_SYM;return Vb(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Tb(b){var a=b.NUMBER_FORMATS;return function(b, e.createElement("script"),d=function(){e.body.removeChild(c);b&&b()};c.type="text/javascript";c.src=a;X?c.onreadystatechange=function(){/loaded|complete/.test(c.readyState)&&d()}:c.onload=c.onerror=d;e.body.appendChild(c)}return function(e,j,g,m,k,l,q,n){function B(a,c,d,e){c=(j.match(lb)||["",f])[1]=="file"?d?200:404:c;a(c==1223?204:c,d,e);b.$$completeOutstandingRequest(t)}b.$$incOutstandingRequestCount();j=j||b.url();if(J(e)=="jsonp"){var r="_"+(d.counter++).toString(36);d[r]=function(a){d[r].data=
d){return Vb(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Vb(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var h=b<0,b=Math.abs(b),i=b+"",f="",g=[],k=!1;if(i.indexOf("e")!==-1){var j=i.match(/([\d\.]+)e(-?)(\d+)/);j&&j[2]=="-"&&j[3]>e+1?i="0":(f=i,k=!0)}if(!k){i=(i.split(Wb)[1]||"").length;u(e)&&(e=Math.min(Math.max(a.minFrac,i),a.maxFrac));var i=Math.pow(10,e),b=Math.round(b*i)/i,b=(""+b).split(Wb),i=b[0],b=b[1]||"",k=0,j=a.lgSize,l=a.gSize;if(i.length>=j+l)for(var k=i.length-j,o=0;o<k;o++)(k- a};i(j.replace("JSON_CALLBACK","angular.callbacks."+r),function(){d[r].data?B(m,200,d[r].data):B(m,-2);delete d[r]})}else{var p=new a;p.open(e,j,!0);o(k,function(a,b){a&&p.setRequestHeader(b,a)});var s;p.onreadystatechange=function(){if(p.readyState==4){var a=p.getAllResponseHeaders(),b=["Cache-Control","Content-Language","Content-Type","Expires","Last-Modified","Pragma"];a||(a="",o(b,function(b){var c=p.getResponseHeader(b);c&&(a+=b+": "+c+"\n")}));B(m,s||p.status,p.responseType?p.response:p.responseText,
o)%l===0&&o!==0&&(f+=c),f+=i.charAt(o);for(o=k;o<i.length;o++)(i.length-o)%j===0&&o!==0&&(f+=c),f+=i.charAt(o);for(;b.length<e;)b+="0";e&&(f+=d+b.substr(0,e))}g.push(h?a.negPre:a.posPre);g.push(f);g.push(h?a.negSuf:a.posSuf);return g.join("")}function kb(b,a,c){var d="";b<0&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function O(b,a,c,d){return function(e){e=e["get"+b]();if(c>0||e>-c)e+=c;e===0&&c==-12&&(e=12);return kb(e,a,d)}}function Oa(b,a){return function(c, a)}};if(q)p.withCredentials=!0;if(n)p.responseType=n;p.send(g||"");l>0&&c(function(){s=-1;p.abort()},l)}}}function cd(){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(","),
d){var e=c["get"+b](),h=la(a?"SHORT"+b:b);return d[h][e]}}function Sb(b){function a(a){var b;if(b=a.match(c)){var a=new Date(0),h=0,i=0;b[9]&&(h=E(b[9]+b[10]),i=E(b[9]+b[11]));a.setUTCFullYear(E(b[1]),E(b[2])-1,E(b[3]));a.setUTCHours(E(b[4]||0)-h,E(b[5]||0)-i,E(b[6]||0),E(b[7]||0))}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 h="",i=[],f,g,e=e||"mediumDate",e=b.DATETIME_FORMATS[e]||e;F(c)&&(c=hd.test(c)? 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 b===1?"one":"other"}}}}function dd(){this.$get=["$rootScope","$browser","$q",
E(c):a(c));ya(c)&&(c=new Date(c));if(!oa(c))return c;for(;e;)(g=id.exec(e))?(i=i.concat(ia.call(g,1)),e=i.pop()):(i.push(e),e=null);m(i,function(a){f=jd[a];h+=f?f(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return h}}function dd(){return function(b){return ca(b,!0)}}function ed(){return function(b,a){if(!(b instanceof Array))return b;var a=E(a),c=[],d,e;if(!b||!(b instanceof Array))return c;a>b.length?a=b.length:a<-b.length&&(a=-b.length);a>0?(d=0,e=a):(d=b.length+a,e=b.length); "$exceptionHandler",function(b,a,c,d){function e(e,h,j){var g=c.defer(),m=g.promise,k=w(j)&&!j,h=a.defer(function(){try{g.resolve(e())}catch(a){g.reject(a),d(a)}k||b.$apply()},h),j=function(){delete f[m.$$timeoutId]};m.$$timeoutId=h;f[h]=g;m.then(j,j);return m}var f={};e.cancel=function(b){return b&&b.$$timeoutId in f?(f[b.$$timeoutId].reject("canceled"),a.defer.cancel(b.$$timeoutId)):!1};return e}]}function Tb(b){function a(a,e){return b.factory(a+c,e)}var c="Filter";this.register=a;this.$get=["$injector",
for(;d<e;d++)c.push(b[d]);return c}}function Ub(b){return function(a,c,d){function e(a,b){return Da(b)?function(b,c){return a(c,b)}:a}if(!(a instanceof Array))return a;if(!c)return a;for(var c=H(c)?c:[c],c=Wa(c,function(a){var c=!1,d=a||na;if(F(a)){if(a.charAt(0)=="+"||a.charAt(0)=="-")c=a.charAt(0)=="-",a=a.substring(1);d=b(a)}return e(function(a,b){var c;c=d(a);var e=d(b),f=typeof c,g=typeof e;f==g?(f=="string"&&(c=c.toLowerCase()),f=="string"&&(e=e.toLowerCase()),c=c===e?0:c<e?-1:1):c=f<g?-1:1; function(a){return function(b){return a.get(b+c)}}];a("currency",Ub);a("date",Vb);a("filter",ed);a("json",fd);a("limitTo",gd);a("lowercase",hd);a("number",Wb);a("orderBy",Xb);a("uppercase",id)}function ed(){return function(b,a,c){if(!C(b))return b;var d=[];d.check=function(a){for(var b=0;b<d.length;b++)if(!d[b](a))return!1;return!0};switch(typeof c){case "function":break;case "boolean":if(c==!0){c=function(a,b){return Ia.equals(a,b)};break}default:c=function(a,b){b=(""+b).toLowerCase();return(""+
return c},c)}),h=[],i=0;i<a.length;i++)h.push(a[i]);return h.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(e!==0)return e}return 0},d))}}function S(b){N(b)&&(b={link:b});b.restrict=b.restrict||"AC";return L(b)}function Xb(b,a){function c(a,c){c=c?"-"+ab(c,"-"):"";b.removeClass((a?Pa:Qa)+c).addClass((a?Qa:Pa)+c)}var d=this,e=b.parent().controller("form")||Ra,h=0,i=d.$error={},f=[];d.$name=a.name;d.$dirty=!1;d.$pristine=!0;d.$valid=!0;d.$invalid=!1;e.$addControl(d);b.addClass(ma); a).toLowerCase().indexOf(b)>-1}}var e=function(a,b){if(typeof b=="string"&&b.charAt(0)==="!")return!e(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)!=="$"&&e(a[d],b))return!0}return!1;case "array":for(d=0;d<a.length;d++)if(e(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 f in a)f==
c(!0);d.$addControl=function(a){f.push(a);a.$name&&!d.hasOwnProperty(a.$name)&&(d[a.$name]=a)};d.$removeControl=function(a){a.$name&&d[a.$name]===a&&delete d[a.$name];m(i,function(b,c){d.$setValidity(c,!0,a)});Ca(f,a)};d.$setValidity=function(a,b,f){var l=i[a];if(b){if(l&&(Ca(l,f),!l.length)){h--;if(!h)c(b),d.$valid=!0,d.$invalid=!1;i[a]=!1;c(!0,a);e.$setValidity(a,!0,d)}}else{h||c(b);if(l){if(Ba(l,f)!=-1)return}else i[a]=l=[],h++,c(!1,a),e.$setValidity(a,!1,d);l.push(f);d.$valid=!1;d.$invalid=!0}}; "$"?function(){if(a[f]){var b=f;d.push(function(c){return e(c,a[b])})}}():function(){if(a[f]){var b=f;d.push(function(c){return e(kb(c,b),a[b])})}}();break;case "function":d.push(a);break;default:return b}for(var i=[],h=0;h<b.length;h++){var j=b[h];d.check(j)&&i.push(j)}return i}}function Ub(b){var a=b.NUMBER_FORMATS;return function(b,d){if(u(d))d=a.CURRENCY_SYM;return Yb(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Wb(b){var a=b.NUMBER_FORMATS;return function(b,d){return Yb(b,
d.$setDirty=function(){b.removeClass(ma).addClass(Sa);d.$dirty=!0;d.$pristine=!1;e.$setDirty()};d.$setPristine=function(){b.removeClass(Sa).addClass(ma);d.$dirty=!1;d.$pristine=!0;m(f,function(a){a.$setPristine()})}}function T(b){return u(b)||b===""||b===null||b!==b}function Ta(b,a,c,d,e,h){var i=function(){var e=a.val();if(Da(c.ngTrim||"T"))e=R(e);d.$viewValue!==e&&b.$apply(function(){d.$setViewValue(e)})};if(e.hasEvent("input"))a.bind("input",i);else{var f;a.bind("keydown",function(a){a=a.keyCode; a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Yb(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var f=b<0,b=Math.abs(b),i=b+"",h="",j=[],g=!1;if(i.indexOf("e")!==-1){var m=i.match(/([\d\.]+)e(-?)(\d+)/);m&&m[2]=="-"&&m[3]>e+1?i="0":(h=i,g=!0)}if(!g){i=(i.split(Zb)[1]||"").length;u(e)&&(e=Math.min(Math.max(a.minFrac,i),a.maxFrac));var i=Math.pow(10,e),b=Math.round(b*i)/i,b=(""+b).split(Zb),i=b[0],b=b[1]||"",g=0,m=a.lgSize,k=a.gSize;if(i.length>=m+k)for(var g=i.length-m,l=0;l<g;l++)(g-l)%k===
a===91||15<a&&a<19||37<=a&&a<=40||f||(f=h.defer(function(){i();f=null}))});a.bind("change",i)}d.$render=function(){a.val(T(d.$viewValue)?"":d.$viewValue)};var g=c.ngPattern,k=function(a,b){return T(b)||a.test(b)?(d.$setValidity("pattern",!0),b):(d.$setValidity("pattern",!1),p)};g&&(g.match(/^\/(.*)\/$/)?(g=RegExp(g.substr(1,g.length-2)),e=function(a){return k(g,a)}):e=function(a){var c=b.$eval(g);if(!c||!c.test)throw new y("Expected "+g+" to be a RegExp but was "+c);return k(c,a)},d.$formatters.push(e), 0&&l!==0&&(h+=c),h+=i.charAt(l);for(l=g;l<i.length;l++)(i.length-l)%m===0&&l!==0&&(h+=c),h+=i.charAt(l);for(;b.length<e;)b+="0";e&&e!=="0"&&(h+=d+b.substr(0,e))}j.push(f?a.negPre:a.posPre);j.push(h);j.push(f?a.negSuf:a.posSuf);return j.join("")}function ob(b,a,c){var d="";b<0&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function O(b,a,c,d){return function(e){e=e["get"+b]();if(c>0||e>-c)e+=c;e===0&&c==-12&&(e=12);return ob(e,a,d)}}function Sa(b,a){return function(c,
d.$parsers.push(e));if(c.ngMinlength){var j=E(c.ngMinlength),e=function(a){return!T(a)&&a.length<j?(d.$setValidity("minlength",!1),p):(d.$setValidity("minlength",!0),a)};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var l=E(c.ngMaxlength),e=function(a){return!T(a)&&a.length>l?(d.$setValidity("maxlength",!1),p):(d.$setValidity("maxlength",!0),a)};d.$parsers.push(e);d.$formatters.push(e)}}function lb(b,a){b="ngClass"+b;return S(function(c,d,e){function h(b,d){if(a===!0||c.$index%2===a)d&& d){var e=c["get"+b](),f=na(a?"SHORT"+b:b);return d[f][e]}}function Vb(b){function a(a){var b;if(b=a.match(c)){var a=new Date(0),f=0,i=0,h=b[8]?a.setUTCFullYear:a.setFullYear,j=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=K(b[9]+b[10]),i=K(b[9]+b[11]));h.call(a,K(b[1]),K(b[2])-1,K(b[3]));j.call(a,K(b[4]||0)-f,K(b[5]||0)-i,K(b[6]||0),K(b[7]||0))}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="",i=[],h,j,e=e||
b!==d&&i(d),f(b)}function i(a){M(a)&&!H(a)&&(a=Wa(a,function(a,b){if(a)return b}));d.removeClass(H(a)?a.join(" "):a)}function f(a){M(a)&&!H(a)&&(a=Wa(a,function(a,b){if(a)return b}));a&&d.addClass(H(a)?a.join(" "):a)}c.$watch(e[b],h,!0);e.$observe("class",function(){var a=c.$eval(e[b]);h(a,a)});b!=="ngClass"&&c.$watch("$index",function(d,h){var j=d%2;j!==h%2&&(j==a?f(c.$eval(e[b])):i(c.$eval(e[b])))})})}var G=function(b){return F(b)?b.toLowerCase():b},la=function(b){return F(b)?b.toUpperCase():b}, "mediumDate",e=b.DATETIME_FORMATS[e]||e;x(c)&&(c=jd.test(c)?K(c):a(c));Za(c)&&(c=new Date(c));if(!qa(c))return c;for(;e;)(j=kd.exec(e))?(i=i.concat(ka.call(j,1)),e=i.pop()):(i.push(e),e=null);o(i,function(a){h=ld[a];f+=h?h(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return f}}function fd(){return function(b){return da(b,!0)}}function gd(){return function(b,a){if(!C(b)&&!x(b))return b;a=K(a);if(x(b))return a?a>=0?b.slice(0,a):b.slice(a,b.length):"";var c=[],d,e;a>b.length?a=
y=U.Error,aa=E((/msie (\d+)/.exec(G(navigator.userAgent))||[])[1]),t,ja,ia=[].slice,Ua=[].push,Va=Object.prototype.toString,Yb=U.angular||(U.angular={}),ua,Eb,Z=["0","0","0"];D.$inject=[];na.$inject=[];Eb=aa<9?function(b){b=b.nodeName?b:b[0];return b.scopeName&&b.scopeName!="HTML"?la(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var kc=/[A-Z]/g,kd={full:"1.1.1",major:1,minor:1,dot:1,codeName:"pathological-kerning"},Fa=P.cache={},Ea=P.expando="ng-"+ b.length:a<-b.length&&(a=-b.length);a>0?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function Xb(b){return function(a,c,d){function e(a,b){return Ha(b)?function(b,c){return a(c,b)}:a}if(!C(a))return a;if(!c)return a;for(var c=C(c)?c:[c],c=$a(c,function(a){var c=!1,d=a||pa;if(x(a)){if(a.charAt(0)=="+"||a.charAt(0)=="-")c=a.charAt(0)=="-",a=a.substring(1);d=b(a)}return e(function(a,b){var c;c=d(a);var e=d(b),f=typeof c,h=typeof e;f==h?(f=="string"&&(c=c.toLowerCase()),f==
(new Date).getTime(),oc=1,Zb=U.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},eb=U.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)},mc=/([\:\-\_]+(.))/g,nc=/^moz([A-Z])/,va=P.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;this.bind("DOMContentLoaded",a);P(U).bind("load",a)},toString:function(){var b=[];m(this,function(a){b.push(""+a)});return"["+b.join(", ")+ "string"&&(e=e.toLowerCase()),c=c===e?0:c<e?-1:1):c=f<h?-1:1;return c},c)}),f=[],i=0;i<a.length;i++)f.push(a[i]);return f.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(e!==0)return e}return 0},d))}}function Y(b){I(b)&&(b={link:b});b.restrict=b.restrict||"AC";return Q(b)}function $b(b,a){function c(a,c){c=c?"-"+db(c,"-"):"";b.removeClass((a?Ta:Ua)+c).addClass((a?Ua:Ta)+c)}var d=this,e=b.parent().controller("form")||Va,f=0,i=d.$error={},h=[];d.$name=a.name;d.$dirty=!1;d.$pristine=
"]"},eq:function(b){return b>=0?t(this[b]):t(this[this.length+b])},length:0,push:Ua,sort:[].sort,splice:[].splice},Ia={};m("multiple,selected,checked,disabled,readOnly,required".split(","),function(b){Ia[G(b)]=b});var Bb={};m("input,select,option,textarea,button,form".split(","),function(b){Bb[la(b)]=!0});m({data:wb,inheritedData:Ha,scope:function(b){return Ha(b,"$scope")},controller:zb,injector:function(b){return Ha(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Ga,css:function(b, !0;d.$valid=!0;d.$invalid=!1;e.$addControl(d);b.addClass(oa);c(!0);d.$addControl=function(a){h.push(a);a.$name&&!d.hasOwnProperty(a.$name)&&(d[a.$name]=a)};d.$removeControl=function(a){a.$name&&d[a.$name]===a&&delete d[a.$name];o(i,function(b,c){d.$setValidity(c,!0,a)});sa(h,a)};d.$setValidity=function(a,b,h){var k=i[a];if(b){if(k&&(sa(k,h),!k.length)){f--;if(!f)c(b),d.$valid=!0,d.$invalid=!1;i[a]=!1;c(!0,a);e.$setValidity(a,!0,d)}}else{f||c(b);if(k){if(Ga(k,h)!=-1)return}else i[a]=k=[],f++,c(!1,
a,c){a=tb(a);if(s(c))b.style[a]=c;else{var d;aa<=8&&(d=b.currentStyle&&b.currentStyle[a],d===""&&(d="auto"));d=d||b.style[a];aa<=8&&(d=d===""?p:d);return d}},attr:function(b,a,c){var d=G(a);if(Ia[d])if(s(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||D).specified?d:p;else if(s(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),b===null?p:b},prop:function(b,a,c){if(s(c))b[a]=c;else return b[a]},text:B(aa<9? a),e.$setValidity(a,!1,d);k.push(h);d.$valid=!1;d.$invalid=!0}};d.$setDirty=function(){b.removeClass(oa).addClass(Wa);d.$dirty=!0;d.$pristine=!1;e.$setDirty()};d.$setPristine=function(){b.removeClass(Wa).addClass(oa);d.$dirty=!1;d.$pristine=!0;o(h,function(a){a.$setPristine()})}}function U(b){return u(b)||b===""||b===null||b!==b}function Xa(b,a,c,d,e,f){var i=function(){var e=a.val();if(Ha(c.ngTrim||"T"))e=S(e);d.$viewValue!==e&&b.$apply(function(){d.$setViewValue(e)})};if(e.hasEvent("input"))a.bind("input",
function(b,a){if(b.nodeType==1){if(u(a))return b.innerText;b.innerText=a}else{if(u(a))return b.nodeValue;b.nodeValue=a}}:function(b,a){if(u(a))return b.textContent;b.textContent=a},{$dv:""}),val:function(b,a){if(u(a))return b.value;b.value=a},html:function(b,a){if(u(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)ta(d[c]);b.innerHTML=a}},function(b,a){P.prototype[a]=function(a,d){var e,h;if((b.length==2&&b!==Ga&&b!==zb?a:d)===p)if(M(a)){for(e=0;e<this.length;e++)if(b===wb)b(this[e], i);else{var h;a.bind("keydown",function(a){a=a.keyCode;a===91||15<a&&a<19||37<=a&&a<=40||h||(h=f.defer(function(){i();h=null}))});a.bind("change",i)}d.$render=function(){a.val(U(d.$viewValue)?"":d.$viewValue)};var j=c.ngPattern,g=function(a,b){return U(b)||a.test(b)?(d.$setValidity("pattern",!0),b):(d.$setValidity("pattern",!1),s)};j&&(j.match(/^\/(.*)\/$/)?(j=RegExp(j.substr(1,j.length-2)),e=function(a){return g(j,a)}):e=function(a){var c=b.$eval(j);if(!c||!c.test)throw Error("Expected "+j+" to be a RegExp but was "+
a);else for(h in a)b(this[e],h,a[h]);return this}else{if(this.length)return b(this[0],a,d)}else{for(e=0;e<this.length;e++)b(this[e],a,d);return this}return b.$dv}});m({removeData:ub,dealoc:ta,bind:function a(c,d,e){var h=$(c,"events"),i=$(c,"handle");h||$(c,"events",h={});i||$(c,"handle",i=pc(c,h));m(d.split(" "),function(d){var g=h[d];if(!g){if(d=="mouseenter"||d=="mouseleave"){var k=0;h.mouseenter=[];h.mouseleave=[];a(c,"mouseover",function(a){k++;k==1&&i(a,"mouseenter")});a(c,"mouseout",function(a){k--; c);return g(c,a)},d.$formatters.push(e),d.$parsers.push(e));if(c.ngMinlength){var m=K(c.ngMinlength),e=function(a){return!U(a)&&a.length<m?(d.$setValidity("minlength",!1),s):(d.$setValidity("minlength",!0),a)};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var k=K(c.ngMaxlength),e=function(a){return!U(a)&&a.length>k?(d.$setValidity("maxlength",!1),s):(d.$setValidity("maxlength",!0),a)};d.$parsers.push(e);d.$formatters.push(e)}}function pb(b,a){b="ngClass"+b;return Y(function(c,d,e){function f(b){if(a===
k==0&&i(a,"mouseleave")})}else Zb(c,d,i),h[d]=[];g=h[d]}g.push(e)})},unbind:vb,replaceWith:function(a,c){var d,e=a.parentNode;ta(a);m(new P(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];m(a.childNodes,function(a){a.nodeName!="#text"&&c.push(a)});return c},contents:function(a){return a.childNodes},append:function(a,c){m(new P(c),function(c){(a.nodeType===1||a.nodeType===11)&&a.appendChild(c)})},prepend:function(a,c){if(a.nodeType===1){var d= !0||c.$index%2===a)j&&b!==j&&i(j),h(b);j=b}function i(a){L(a)&&!C(a)&&(a=$a(a,function(a,b){if(a)return b}));d.removeClass(C(a)?a.join(" "):a)}function h(a){L(a)&&!C(a)&&(a=$a(a,function(a,b){if(a)return b}));a&&d.addClass(C(a)?a.join(" "):a)}var j=s;c.$watch(e[b],f,!0);e.$observe("class",function(){var a=c.$eval(e[b]);f(a,a)});b!=="ngClass"&&c.$watch("$index",function(d,f){var j=d%2;j!==f%2&&(j==a?h(c.$eval(e[b])):i(c.$eval(e[b])))})})}var J=function(b){return x(b)?b.toLowerCase():b},na=function(b){return x(b)?
a.firstChild;m(new P(c),function(c){d?a.insertBefore(c,d):(a.appendChild(c),d=c)})}},wrap:function(a,c){var c=t(c)[0],d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){ta(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;m(new P(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:yb,removeClass:xb,toggleClass:function(a,c,d){u(d)&&(d=!Ga(a,c));(d?yb:xb)(a,c)},parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null}, b.toUpperCase():b},X=K((/msie (\d+)/.exec(J(navigator.userAgent))||[])[1]),v,ca,ka=[].slice,Ya=[].push,Da=Object.prototype.toString,hc=M.angular,Ia=M.angular||(M.angular={}),xa,jb,Z=["0","0","0"];t.$inject=[];pa.$inject=[];jb=X<9?function(b){b=b.nodeName?b:b[0];return b.scopeName&&b.scopeName!="HTML"?na(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var nc=/[A-Z]/g,md={full:"1.1.4",major:1,minor:1,dot:4,codeName:"quantum-manipulation"},La=P.cache={},
next:function(a){return a.nextSibling},find:function(a,c){return a.getElementsByTagName(c)},clone:db,triggerHandler:function(a,c){var d=($(a,"events")||{})[c];m(d,function(c){c.call(a,null)})}},function(a,c){P.prototype[c]=function(c,e){for(var h,i=0;i<this.length;i++)h==p?(h=a(this[i],c,e),h!==p&&(h=t(h))):cb(h,a(this[i],c,e));return h==p?this:h}});Ja.prototype={put:function(a,c){this[ga(a)]=c},get:function(a){return this[ga(a)]},remove:function(a){var c=this[a=ga(a)];delete this[a];return c}};fb.prototype= Ka=P.expando="ng-"+(new Date).getTime(),rc=1,ac=M.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},ib=M.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)},pc=/([\:\-\_]+(.))/g,qc=/^moz([A-Z])/,za=P.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;V.readyState==="complete"?setTimeout(a):(this.bind("DOMContentLoaded",a),P(M).bind("load",a))},toString:function(){var b=
{push:function(a,c){var d=this[a=ga(a)];d?d.push(c):this[a]=[c]},shift:function(a){var c=this[a=ga(a)];if(c)return c.length==1?(delete this[a],c[0]):c.shift()},peek:function(a){if(a=this[ga(a)])return a[0]}};var rc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,sc=/,/,tc=/^\s*(_?)(\S+?)\1\s*$/,qc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Fb="Non-assignable model expression: ";Db.$inject=["$provide"];var Ac=/^(x[\:\-_]|data[\:\-_])/i,hb=/^([^:]+):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/, [];o(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return b>=0?v(this[b]):v(this[this.length+b])},length:0,push:Ya,sort:[].sort,splice:[].splice},Oa={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(b){Oa[J(b)]=b});var Eb={};o("input,select,option,textarea,button,form,details".split(","),function(b){Eb[na(b)]=!0});o({data:zb,inheritedData:Na,scope:function(b){return Na(b,"$scope")},controller:Cb,injector:function(b){return Na(b,"$injector")},
$b=/^([^\?#]*)?(\?([^#]*))?(#(.*))?$/,Hc=$b,xa={http:80,https:443,ftp:21};ib.prototype={$$replace:!1,absUrl:Ma("$$absUrl"),url:function(a,c){if(u(a))return this.$$url;var d=$b.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));if(d[2]||d[1])this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:Ma("$$protocol"),host:Ma("$$host"),port:Ma("$$port"),path:Jb("$$path",function(a){return a.charAt(0)=="/"?a:"/"+a}),search:function(a,c){if(u(a))return this.$$search;s(c)?c===null?delete this.$$search[a]: removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Ma,css:function(b,a,c){a=Ja(a);if(w(c))b.style[a]=c;else{var d;X<=8&&(d=b.currentStyle&&b.currentStyle[a],d===""&&(d="auto"));d=d||b.style[a];X<=8&&(d=d===""?s:d);return d}},attr:function(b,a,c){var d=J(a);if(Oa[d])if(w(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||t).specified?d:s;else if(w(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),b===null?
this.$$search[a]=c:this.$$search=F(a)?Ya(a):a;this.$$compose();return this},hash:Jb("$$hash",na),replace:function(){this.$$replace=!0;return this}};La.prototype=Aa(ib.prototype);Ib.prototype=Aa(La.prototype);var Na={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:D,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return s(d)?s(e)?d+e:d:s(e)?e:p},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(s(d)?d:0)-(s(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)}, s:b},prop:function(b,a,c){if(w(c))b[a]=c;else return b[a]},text:y(X<9?function(b,a){if(b.nodeType==1){if(u(a))return b.innerText;b.innerText=a}else{if(u(a))return b.nodeValue;b.nodeValue=a}}:function(b,a){if(u(a))return b.textContent;b.textContent=a},{$dv:""}),val:function(b,a){if(u(a))return b.value;b.value=a},html:function(b,a){if(u(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)wa(d[c]);b.innerHTML=a}},function(b,a){P.prototype[a]=function(a,d){var e,f;if((b.length==2&&b!==Ma&&
"/":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)},"=":D,"==":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)}, b!==Cb?a:d)===s)if(L(a)){for(e=0;e<this.length;e++)if(b===zb)b(this[e],a);else for(f in a)b(this[e],f,a[f]);return this}else{if(this.length)return b(this[0],a,d)}else{for(e=0;e<this.length;e++)b(this[e],a,d);return this}return b.$dv}});o({removeData:xb,dealoc:wa,bind:function a(c,d,e){var f=$(c,"events"),i=$(c,"handle");f||$(c,"events",f={});i||$(c,"handle",i=sc(c,f));o(d.split(" "),function(d){var j=f[d];if(!j){if(d=="mouseenter"||d=="mouseleave"){var g=0;f.mouseenter=[];f.mouseleave=[];a(c,"mouseover",
"&":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)}},Lc={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'},jb={},Wc=/^(([^:]+):)?\/\/(\w+:{0,1}\w*@)?([\w\.-]*)?(:([0-9]+))?(.*)$/,$c=U.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw new y("This browser does not support XMLHttpRequest."); function(a){g++;g==1&&i(a,"mouseenter")});a(c,"mouseout",function(a){g--;g==0&&i(a,"mouseleave")})}else ac(c,d,i),f[d]=[];j=f[d]}j.push(e)})},unbind:yb,replaceWith:function(a,c){var d,e=a.parentNode;wa(a);o(new P(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];o(a.childNodes,function(a){a.nodeType===1&&c.push(a)});return c},contents:function(a){return a.childNodes||[]},append:function(a,c){o(new P(c),function(c){(a.nodeType===1||a.nodeType===
};Qb.$inject=["$provide"];Rb.$inject=["$locale"];Tb.$inject=["$locale"];var Wb=".",jd={yyyy:O("FullYear",4),yy:O("FullYear",2,0,!0),y:O("FullYear",1),MMMM:Oa("Month"),MMM:Oa("Month",!0),MM:O("Month",2,1),M:O("Month",1,1),dd:O("Date",2),d:O("Date",1),HH:O("Hours",2),H:O("Hours",1),hh:O("Hours",2,-12),h:O("Hours",1,-12),mm:O("Minutes",2),m:O("Minutes",1),ss:O("Seconds",2),s:O("Seconds",1),EEEE:Oa("Day"),EEE:Oa("Day",!0),a:function(a,c){return a.getHours()<12?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=a.getTimezoneOffset(); 11)&&a.appendChild(c)})},prepend:function(a,c){if(a.nodeType===1){var d=a.firstChild;o(new P(c),function(c){d?a.insertBefore(c,d):(a.appendChild(c),d=c)})}},wrap:function(a,c){var c=v(c)[0],d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){wa(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;o(new P(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:Bb,removeClass:Ab,toggleClass:function(a,c,d){u(d)&&(d=!Ma(a,c));(d?Bb:Ab)(a,
return kb(a/60,2)+kb(Math.abs(a%60),2)}},id=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,hd=/^\d+$/;Sb.$inject=["$locale"];var fd=L(G),gd=L(la);Ub.$inject=["$parse"];var ld=L({restrict:"E",compile:function(a,c){c.href||c.$set("href","");return function(a,c){c.bind("click",function(a){if(!c.attr("href"))return a.preventDefault(),!1})}}}),mb={};m(Ia,function(a,c){var d=fa("ng-"+c);mb[d]=function(){return{priority:100,compile:function(){return function(a,h,i){a.$watch(i[d], c)},parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;for(a=a.nextSibling;a!=null&&a.nodeType!==1;)a=a.nextSibling;return a},find:function(a,c){return a.getElementsByTagName(c)},clone:hb,triggerHandler:function(a,c){var d=($(a,"events")||{})[c];o(d,function(c){c.call(a,null)})}},function(a,c){P.prototype[c]=function(c,e){for(var f,i=0;i<this.length;i++)f==s?(f=a(this[i],c,e),f!==s&&(f=v(f))):gb(f,a(this[i],c,e));
function(a){i.$set(c,!!a)})}}}}});m(["src","href"],function(a){var c=fa("ng-"+a);mb[c]=function(){return{priority:99,link:function(d,e,h){h.$observe(c,function(c){c&&(h.$set(a,c),aa&&e.prop(a,c))})}}}});var Ra={$addControl:D,$removeControl:D,$setValidity:D,$setDirty:D,$setPristine:D};Xb.$inject=["$element","$attrs","$scope"];var Ua=function(a){return["$timeout",function(c){var d={name:"form",restrict:"E",controller:Xb,compile:function(){return{pre:function(a,d,i,f){if(!i.action){var g=function(a){a.preventDefault? return f==s?this:f}});Pa.prototype={put:function(a,c){this[la(a)]=c},get:function(a){return this[la(a)]},remove:function(a){var c=this[a=la(a)];delete this[a];return c}};var uc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,vc=/,/,wc=/^\s*(_?)(\S+?)\1\s*$/,tc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg;Gb.$inject=["$provide"];var nd=function(){this.$get=["$animation","$window","$sniffer",function(a,c,d){function e(a){a.css("display","")}function f(a){a.css("display","none")}function i(a,c,d){d?d.after(a):c.append(a)}
a.preventDefault():a.returnValue=!1};Zb(d[0],"submit",g);d.bind("$destroy",function(){c(function(){eb(d[0],"submit",g)},0,!1)})}var k=d.parent().controller("form"),j=i.name||i.ngForm;j&&(a[j]=f);k&&d.bind("$destroy",function(){k.$removeControl(f);j&&(a[j]=p);B(f,Ra)})}}}};return a?B(V(d),{restrict:"EAC"}):d}]},md=Ua(),nd=Ua(!0),od=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,pd=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/,qd=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/, function h(a){a.remove()}function j(a,c,d){i(a,c,d)}return function(g,m){function k(e,f,h){var i=l&&g.$eval(l),e=l?L(i)?i[e]:i+"-"+e:"",j=(i=a(e))&&i.setup,k=i&&i.start;if(e){var m=e+"-setup",q=e+"-start";return function(a,e,g){function i(){h(a,e,g);a.removeClass(m);a.removeClass(q)}if(!d.supportsTransitions&&!j&&!k)f(a,e,g),h(a,e,g);else{a.addClass(m);f(a,e,g);if(a.length==0)return i();var l=(j||t)(a);c.setTimeout(function(){a.addClass(q);if(k)k(a,i,l);else if(I(c.getComputedStyle)){var e=d.vendorPrefix+
ac={text:Ta,number:function(a,c,d,e,h,i){Ta(a,c,d,e,h,i);e.$parsers.push(function(a){var c=T(a);return c||qd.test(a)?(e.$setValidity("number",!0),a===""?null:c?a:parseFloat(a)):(e.$setValidity("number",!1),p)});e.$formatters.push(function(a){return T(a)?"":""+a});if(d.min){var f=parseFloat(d.min),a=function(a){return!T(a)&&a<f?(e.$setValidity("min",!1),p):(e.$setValidity("min",!0),a)};e.$parsers.push(a);e.$formatters.push(a)}if(d.max){var g=parseFloat(d.max),d=function(a){return!T(a)&&a>g?(e.$setValidity("max", "Transition",f=0;o(a,function(a){a=c.getComputedStyle(a)||{};f=Math.max(parseFloat(a.transitionDuration)||parseFloat(a[e+"Duration"])||0,f)});c.setTimeout(i,f*1E3)}else i()},1)}}}else return function(a,c,d){f(a,c,d);h(a,c,d)}}var l=m.ngAnimate,q={};q.enter=k("enter",i,t);q.leave=k("leave",t,h);q.move=k("move",j,t);q.show=k("show",e,t);q.hide=k("hide",t,f);return q}}]},Ib="Non-assignable model expression: ";Hb.$inject=["$provide"];var Cc=/^(x[\:\-_]|data[\:\-_])/i,lb=/^([^:]+):\/\/(\w+:{0,1}\w*@)?(\{?[\w\.-]*\}?)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,
!1),p):(e.$setValidity("max",!0),a)};e.$parsers.push(d);e.$formatters.push(d)}e.$formatters.push(function(a){return T(a)||ya(a)?(e.$setValidity("number",!0),a):(e.$setValidity("number",!1),p)})},url:function(a,c,d,e,h,i){Ta(a,c,d,e,h,i);a=function(a){return T(a)||od.test(a)?(e.$setValidity("url",!0),a):(e.$setValidity("url",!1),p)};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,c,d,e,h,i){Ta(a,c,d,e,h,i);a=function(a){return T(a)||pd.test(a)?(e.$setValidity("email",!0),a):(e.$setValidity("email", bc=/^([^\?#]*)?(\?([^#]*))?(#(.*))?$/,Jc=bc,Ba={http:80,https:443,ftp:21};mb.prototype={$$replace:!1,absUrl:Ra("$$absUrl"),url:function(a,c){if(u(a))return this.$$url;var d=bc.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));if(d[2]||d[1])this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:Ra("$$protocol"),host:Ra("$$host"),port:Ra("$$port"),path:Mb("$$path",function(a){return a.charAt(0)=="/"?a:"/"+a}),search:function(a,c){if(u(a))return this.$$search;w(c)?c===null?delete this.$$search[a]:
!1),p)};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,e){u(d.name)&&c.attr("name",za());c.bind("click",function(){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var h=d.ngTrueValue,i=d.ngFalseValue;F(h)||(h=!0);F(i)||(i=!1);c.bind("click",function(){a.$apply(function(){e.$setViewValue(c[0].checked)})});e.$render=function(){c[0].checked=e.$viewValue};e.$formatters.push(function(a){return a=== this.$$search[a]=c:this.$$search=x(a)?bb(a):a;this.$$compose();return this},hash:Mb("$$hash",pa),replace:function(){this.$$replace=!0;return this}};Qa.prototype=Fa(mb.prototype);Lb.prototype=Fa(Qa.prototype);var Ca={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:t,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return w(d)?w(e)?d+e:d:w(e)?e:s},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(w(d)?d:0)-(w(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)},
h});e.$parsers.push(function(a){return a?h:i})},hidden:D,button:D,submit:D,reset:D},bc=["$browser","$sniffer",function(a,c){return{restrict:"E",require:"?ngModel",link:function(d,e,h,i){i&&(ac[G(h.type)]||ac.text)(d,e,h,i,c,a)}}}],Qa="ng-valid",Pa="ng-invalid",ma="ng-pristine",Sa="ng-dirty",rd=["$scope","$exceptionHandler","$attrs","$element","$parse",function(a,c,d,e,h){function i(a,c){c=c?"-"+ab(c,"-"):"";e.removeClass((a?Pa:Qa)+c).addClass((a?Qa:Pa)+c)}this.$modelValue=this.$viewValue=Number.NaN; "/":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)},"=":t,"===":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,
this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$name=d.name;var f=h(d.ngModel),g=f.assign;if(!g)throw y(Fb+d.ngModel+" ("+qa(e)+")");this.$render=D;var k=e.inheritedData("$formController")||Ra,j=0,l=this.$error={};e.addClass(ma);i(!0);this.$setValidity=function(a,c){if(l[a]!==!c){if(c){if(l[a]&&j--,!j)i(!0),this.$valid=!0,this.$invalid=!1}else i(!1),this.$invalid=!0,this.$valid=!1,j++;l[a]=!c;i(c,a);k.$setValidity(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)}},Nc={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'},nb={},Yc=/^(([^:]+):)?\/\/(\w+:{0,1}\w*@)?([\w\.-]*)?(:([0-9]+))?(.*)$/,bd=M.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");
c,this)}};this.$setPristine=function(){this.$dirty=!1;this.$pristine=!0;e.removeClass(Sa).addClass(ma)};this.$setViewValue=function(d){this.$viewValue=d;if(this.$pristine)this.$dirty=!0,this.$pristine=!1,e.removeClass(ma).addClass(Sa),k.$setDirty();m(this.$parsers,function(a){d=a(d)});if(this.$modelValue!==d)this.$modelValue=d,g(a,d),m(this.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})};var o=this;a.$watch(function(){var c=f(a);if(o.$modelValue!==c){var d=o.$formatters,e=d.length;for(o.$modelValue= };Tb.$inject=["$provide"];Ub.$inject=["$locale"];Wb.$inject=["$locale"];var Zb=".",ld={yyyy:O("FullYear",4),yy:O("FullYear",2,0,!0),y:O("FullYear",1),MMMM:Sa("Month"),MMM:Sa("Month",!0),MM:O("Month",2,1),M:O("Month",1,1),dd:O("Date",2),d:O("Date",1),HH:O("Hours",2),H:O("Hours",1),hh:O("Hours",2,-12),h:O("Hours",1,-12),mm:O("Minutes",2),m:O("Minutes",1),ss:O("Seconds",2),s:O("Seconds",1),sss:O("Milliseconds",3),EEEE:Sa("Day"),EEE:Sa("Day",!0),a:function(a,c){return a.getHours()<12?c.AMPMS[0]:c.AMPMS[1]},
c;e--;)c=d[e](c);if(o.$viewValue!==c)o.$viewValue=c,o.$render()}})}],sd=function(){return{require:["ngModel","^?form"],controller:rd,link:function(a,c,d,e){var h=e[0],i=e[1]||Ra;i.$addControl(h);c.bind("$destroy",function(){i.$removeControl(h)})}}},td=L({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),cc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=!0;var h=function(a){if(d.required&&(T(a)||a===!1))e.$setValidity("required", Z:function(a){var a=-1*a.getTimezoneOffset(),c=a>=0?"+":"";c+=ob(Math[a>0?"floor":"ceil"](a/60),2)+ob(Math.abs(a%60),2);return c}},kd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,jd=/^\d+$/;Vb.$inject=["$locale"];var hd=Q(J),id=Q(na);Xb.$inject=["$parse"];var od=Q({restrict:"E",compile:function(a,c){X<=8&&(!c.href&&!c.name&&c.$set("href",""),a.append(V.createComment("IE fix")));return function(a,c){c.bind("click",function(a){c.attr("href")||a.preventDefault()})}}}),
!1);else return e.$setValidity("required",!0),a};e.$formatters.push(h);e.$parsers.unshift(h);d.$observe("required",function(){h(e.$viewValue)})}}}},ud=function(){return{require:"ngModel",link:function(a,c,d,e){var h=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){var c=[];a&&m(a.split(h),function(a){a&&c.push(R(a))});return c});e.$formatters.push(function(a){return H(a)?a.join(", "):p})}}},vd=/^(true|false|\d+)$/,wd=function(){return{priority:100,compile:function(a, qb={};o(Oa,function(a,c){var d=aa("ng-"+c);qb[d]=function(){return{priority:100,compile:function(){return function(a,f,i){a.$watch(i[d],function(a){i.$set(c,!!a)})}}}}});o(["src","href"],function(a){var c=aa("ng-"+a);qb[c]=function(){return{priority:99,link:function(d,e,f){f.$observe(c,function(c){c&&(f.$set(a,c),X&&e.prop(a,f[a]))})}}}});var Va={$addControl:t,$removeControl:t,$setValidity:t,$setDirty:t,$setPristine:t};$b.$inject=["$element","$attrs","$scope"];var Ya=function(a){return["$timeout",
c){return vd.test(c.ngValue)?function(a,c,h){h.$set("value",a.$eval(h.ngValue))}:function(a,c,h){a.$watch(h.ngValue,function(a){h.$set("value",a,!1)})}}}},xd=S(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==p?"":a)})}),yd=["$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)})}}],zd=[function(){return function(a, function(c){var d={name:"form",restrict:"E",controller:$b,compile:function(){return{pre:function(a,d,i,h){if(!i.action){var j=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1};ac(d[0],"submit",j);d.bind("$destroy",function(){c(function(){ib(d[0],"submit",j)},0,!1)})}var g=d.parent().controller("form"),m=i.name||i.ngForm;m&&(a[m]=h);g&&d.bind("$destroy",function(){g.$removeControl(h);m&&(a[m]=s);y(h,Va)})}}}};return a?y(W(d),{restrict:"EAC"}):d}]},pd=Ya(),qd=Ya(!0),rd=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,
c,d){c.addClass("ng-binding").data("$binding",d.ngBindHtmlUnsafe);a.$watch(d.ngBindHtmlUnsafe,function(a){c.html(a||"")})}}],Ad=lb("",!0),Bd=lb("Odd",0),Cd=lb("Even",1),Dd=S({compile:function(a,c){c.$set("ngCloak",p);a.removeClass("ng-cloak")}}),Ed=[function(){return{scope:!0,controller:"@"}}],Fd=["$sniffer",function(a){return{priority:1E3,compile:function(){a.csp=!0}}}],dc={};m("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave".split(" "),function(a){var c=fa("ng-"+ sd=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/,td=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,cc={text:Xa,number:function(a,c,d,e,f,i){Xa(a,c,d,e,f,i);e.$parsers.push(function(a){var c=U(a);return c||td.test(a)?(e.$setValidity("number",!0),a===""?null:c?a:parseFloat(a)):(e.$setValidity("number",!1),s)});e.$formatters.push(function(a){return U(a)?"":""+a});if(d.min){var h=parseFloat(d.min),a=function(a){return!U(a)&&a<h?(e.$setValidity("min",!1),s):(e.$setValidity("min",!0),a)};e.$parsers.push(a);
a);dc[c]=["$parse",function(d){return function(e,h,i){var f=d(i[c]);h.bind(G(a),function(a){e.$apply(function(){f(e,{$event:a})})})}}]});var Gd=S(function(a,c,d){c.bind("submit",function(){a.$apply(d.ngSubmit)})}),Hd=["$http","$templateCache","$anchorScroll","$compile",function(a,c,d,e){return{restrict:"ECA",terminal:!0,compile:function(h,i){var f=i.ngInclude||i.src,g=i.onload||"",k=i.autoscroll;return function(h,i){var o=0,m,n=function(){m&&(m.$destroy(),m=null);i.html("")};h.$watch(f,function(f){var p= e.$formatters.push(a)}if(d.max){var j=parseFloat(d.max),d=function(a){return!U(a)&&a>j?(e.$setValidity("max",!1),s):(e.$setValidity("max",!0),a)};e.$parsers.push(d);e.$formatters.push(d)}e.$formatters.push(function(a){return U(a)||Za(a)?(e.$setValidity("number",!0),a):(e.$setValidity("number",!1),s)})},url:function(a,c,d,e,f,i){Xa(a,c,d,e,f,i);a=function(a){return U(a)||rd.test(a)?(e.$setValidity("url",!0),a):(e.$setValidity("url",!1),s)};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,
++o;f?a.get(f,{cache:c}).success(function(a){p===o&&(m&&m.$destroy(),m=h.$new(),i.html(a),e(i.contents())(m),s(k)&&(!k||h.$eval(k))&&d(),m.$emit("$includeContentLoaded"),h.$eval(g))}).error(function(){p===o&&n()}):n()})}}}}],Id=S({compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),Jd=S({terminal:!0,priority:1E3}),Kd=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,h,i){var f=i.count,g=h.attr(i.$attr.when),k=i.offset||0,j=e.$eval(g),l={},o= c,d,e,f,i){Xa(a,c,d,e,f,i);a=function(a){return U(a)||sd.test(a)?(e.$setValidity("email",!0),a):(e.$setValidity("email",!1),s)};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,e){u(d.name)&&c.attr("name",Ea());c.bind("click",function(){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var f=d.ngTrueValue,i=d.ngFalseValue;x(f)||(f=!0);x(i)||(i=!1);c.bind("click",
c.startSymbol(),q=c.endSymbol();m(j,function(a,e){l[e]=c(a.replace(d,o+f+"-"+k+q))});e.$watch(function(){var c=parseFloat(e.$eval(f));return isNaN(c)?"":(j[c]||(c=a.pluralCat(c-k)),l[c](e,h,!0))},function(a){h.text(a)})}}}],Ld=S({transclude:"element",priority:1E3,terminal:!0,compile:function(a,c,d){return function(a,c,i){var f=i.ngRepeat,i=f.match(/^\s*(.+)\s+in\s+(.*)\s*$/),g,k,j;if(!i)throw y("Expected ngRepeat in form of '_item_ in _collection_' but got '"+f+"'.");f=i[1];g=i[2];i=f.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/); function(){a.$apply(function(){e.$setViewValue(c[0].checked)})});e.$render=function(){c[0].checked=e.$viewValue};e.$formatters.push(function(a){return a===f});e.$parsers.push(function(a){return a?f:i})},hidden:t,button:t,submit:t,reset:t},dc=["$browser","$sniffer",function(a,c){return{restrict:"E",require:"?ngModel",link:function(d,e,f,i){i&&(cc[J(f.type)]||cc.text)(d,e,f,i,c,a)}}}],Ua="ng-valid",Ta="ng-invalid",oa="ng-pristine",Wa="ng-dirty",ud=["$scope","$exceptionHandler","$attrs","$element","$parse",
if(!i)throw y("'item' in 'item in collection' should be identifier or (key, value) but got '"+f+"'.");k=i[3]||i[1];j=i[2];var l=new fb;a.$watch(function(a){var e,f,i=a.$eval(g),m=gc(i,!0),p,t=new fb,C,w,s,u,x=c;if(H(i))s=i||[];else{s=[];for(C in i)i.hasOwnProperty(C)&&C.charAt(0)!="$"&&s.push(C);s.sort()}e=0;for(f=s.length;e<f;e++){C=i===s?e:s[e];w=i[C];if(u=l.shift(w)){p=u.scope;t.push(w,u);if(e!==u.index)u.index=e,x.after(u.element);x=u.element}else p=a.$new();p[k]=w;j&&(p[j]=C);p.$index=e;p.$first= function(a,c,d,e,f){function i(a,c){c=c?"-"+db(c,"-"):"";e.removeClass((a?Ta:Ua)+c).addClass((a?Ua:Ta)+c)}this.$modelValue=this.$viewValue=Number.NaN;this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$name=d.name;var h=f(d.ngModel),j=h.assign;if(!j)throw Error(Ib+d.ngModel+" ("+ta(e)+")");this.$render=t;var g=e.inheritedData("$formController")||Va,m=0,k=this.$error={};e.addClass(oa);i(!0);this.$setValidity=function(a,
e===0;p.$last=e===m-1;p.$middle=!(p.$first||p.$last);u||d(p,function(a){x.after(a);u={scope:p,element:x=a,index:e};t.push(w,u)})}for(C in l)if(l.hasOwnProperty(C))for(s=l[C];s.length;)w=s.pop(),w.element.remove(),w.scope.$destroy();l=t})}}}),Md=S(function(a,c,d){a.$watch(d.ngShow,function(a){c.css("display",Da(a)?"":"none")})}),Nd=S(function(a,c,d){a.$watch(d.ngHide,function(a){c.css("display",Da(a)?"none":"")})}),Od=S(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&m(d,function(a,d){c.css(d, c){if(k[a]!==!c){if(c){if(k[a]&&m--,!m)i(!0),this.$valid=!0,this.$invalid=!1}else i(!1),this.$invalid=!0,this.$valid=!1,m++;k[a]=!c;i(c,a);g.$setValidity(a,c,this)}};this.$setPristine=function(){this.$dirty=!1;this.$pristine=!0;e.removeClass(Wa).addClass(oa)};this.$setViewValue=function(d){this.$viewValue=d;if(this.$pristine)this.$dirty=!0,this.$pristine=!1,e.removeClass(oa).addClass(Wa),g.$setDirty();o(this.$parsers,function(a){d=a(d)});if(this.$modelValue!==d)this.$modelValue=d,j(a,d),o(this.$viewChangeListeners,
"")});a&&c.css(a)},!0)}),Pd=L({restrict:"EA",compile:function(a,c){var d=c.ngSwitch||c.on,e={};a.data("ng-switch",e);return function(a,i){var f,g,k;a.$watch(d,function(d){g&&(k.$destroy(),g.remove(),g=k=null);if(f=e["!"+d]||e["?"])a.$eval(c.change),k=a.$new(),f(k,function(a){g=a;i.append(a)})})}}}),Qd=S({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch");ra(a);a["!"+c.ngSwitchWhen]=d}}),Rd=S({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch"); function(a){try{a()}catch(d){c(d)}})};var l=this;a.$watch(function(){var c=h(a);if(l.$modelValue!==c){var d=l.$formatters,e=d.length;for(l.$modelValue=c;e--;)c=d[e](c);if(l.$viewValue!==c)l.$viewValue=c,l.$render()}})}],vd=function(){return{require:["ngModel","^?form"],controller:ud,link:function(a,c,d,e){var f=e[0],i=e[1]||Va;i.$addControl(f);c.bind("$destroy",function(){i.$removeControl(f)})}}},wd=Q({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),
ra(a);a["?"]=d}}),Sd=S({controller:["$transclude","$element",function(a,c){a(function(a){c.append(a)})}]}),Td=["$http","$templateCache","$route","$anchorScroll","$compile","$controller",function(a,c,d,e,h,i){return{restrict:"ECA",terminal:!0,link:function(a,c,k){function j(){var j=d.current&&d.current.locals,k=j&&j.$template;if(k){c.html(k);l&&(l.$destroy(),l=null);var k=h(c.contents()),p=d.current;l=p.scope=a.$new();if(p.controller)j.$scope=l,j=i(p.controller,j),c.contents().data("$ngControllerController", ec=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=!0;var f=function(a){if(d.required&&(U(a)||a===!1))e.$setValidity("required",!1);else return e.$setValidity("required",!0),a};e.$formatters.push(f);e.$parsers.unshift(f);d.$observe("required",function(){f(e.$viewValue)})}}}},xd=function(){return{require:"ngModel",link:function(a,c,d,e){var f=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){var c=[];a&&o(a.split(f),function(a){a&&c.push(S(a))});
j);k(l);l.$emit("$viewContentLoaded");l.$eval(m);e()}else c.html(""),l&&(l.$destroy(),l=null)}var l,m=k.onload||"";a.$on("$routeChangeSuccess",j);j()}}}],Ud=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){d.type=="text/ng-template"&&a.put(d.id,c[0].text)}}}],Vd=L({terminal:!0}),Wd=["$compile","$parse",function(a,c){var d=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w\d]*)|(?:\(\s*([\$\w][\$\w\d]*)\s*,\s*([\$\w][\$\w\d]*)\s*\)))\s+in\s+(.*)$/, return c});e.$formatters.push(function(a){return C(a)?a.join(", "):s})}}},yd=/^(true|false|\d+)$/,zd=function(){return{priority:100,compile:function(a,c){return yd.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,!1)})}}}},Ad=Y(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==s?"":a)})}),Bd=["$interpolate",function(a){return function(c,d,e){c=a(d.attr(e.$attr.ngBindTemplate));
e={$setViewValue:D};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var g=this,k={},j=e,l;g.databound=d.ngModel;g.init=function(a,c,d){j=a;l=d};g.addOption=function(c){k[c]=!0;j.$viewValue==c&&(a.val(c),l.parent()&&l.remove())};g.removeOption=function(a){this.hasOption(a)&&(delete k[a],j.$viewValue==a&&this.renderUnknownOption(a))};g.renderUnknownOption=function(c){c="? "+ga(c)+" ?";l.val(c);a.prepend(l);a.val(c);l.prop("selected",!0)};g.hasOption= d.addClass("ng-binding").data("$binding",c);e.$observe("ngBindTemplate",function(a){d.text(a)})}}],Cd=[function(){return function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBindHtmlUnsafe);a.$watch(d.ngBindHtmlUnsafe,function(a){c.html(a||"")})}}],Dd=pb("",!0),Ed=pb("Odd",0),Fd=pb("Even",1),Gd=Y({compile:function(a,c){c.$set("ngCloak",s);a.removeClass("ng-cloak")}}),Hd=[function(){return{scope:!0,controller:"@"}}],Id=["$sniffer",function(a){return{priority:1E3,compile:function(){a.csp=!0}}}],
function(a){return k.hasOwnProperty(a)};c.$on("$destroy",function(){g.renderUnknownOption=D})}],link:function(e,i,f,g){function k(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(w.parent()&&w.remove(),c.val(a),a===""&&v.prop("selected",!0)):u(a)&&v?c.val(""):e.renderUnknownOption(a)};c.bind("change",function(){a.$apply(function(){w.parent()&&w.remove();d.$setViewValue(c.val())})})}function j(a,c,d){var e;d.$render=function(){var a=new Ja(d.$viewValue);m(c.children(),function(c){c.selected= fc={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress".split(" "),function(a){var c=aa("ng-"+a);fc[c]=["$parse",function(d){return function(e,f,i){var h=d(i[c]);f.bind(J(a),function(a){e.$apply(function(){h(e,{$event:a})})})}}]});var Jd=Y(function(a,c,d){c.bind("submit",function(){a.$apply(d.ngSubmit)})}),Kd=["$http","$templateCache","$anchorScroll","$compile","$animator",function(a,c,d,e,f){return{restrict:"ECA",terminal:!0,compile:function(i,
s(a.get(c.value))})};a.$watch(function(){ha(e,d.$viewValue)||(e=V(d.$viewValue),d.$render())});c.bind("change",function(){a.$apply(function(){var a=[];m(c.children(),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function l(e,f,g){function h(){var a={"":[]},c=[""],d,i,s,u,t;s=g.$modelValue;u=q(e)||[];var x=l?nb(u):u,z,w,y;w={};t=!1;var A,B;if(n)t=new Ja(s);else if(s===null||r)a[""].push({selected:s===null,id:"",label:""}),t=!0;for(y=0;z=x.length,y<z;y++){w[k]=u[l?w[l]=x[y]:y];d= h){var j=h.ngInclude||h.src,g=h.onload||"",m=h.autoscroll;return function(h,i,o){var n=f(h,o),s=0,r,p=function(){r&&(r.$destroy(),r=null);n.leave(i.contents(),i)};h.$watch(j,function(f){var j=++s;f?a.get(f,{cache:c}).success(function(a){j===s&&(r&&r.$destroy(),r=h.$new(),n.leave(i.contents(),i),a=v("<div/>").html(a).contents(),n.enter(a,i),e(a)(r),w(m)&&(!m||h.$eval(m))&&d(),r.$emit("$includeContentLoaded"),h.$eval(g))}).error(function(){j===s&&p()}):p()})}}}}],Ld=Y({compile:function(){return{pre:function(a,
m(e,w)||"";if(!(i=a[d]))i=a[d]=[],c.push(d);n?d=t.remove(o(e,w))!=p:(d=s===o(e,w),t=t||d);A=j(e,w);A=A===p?"":A;i.push({id:l?x[y]:y,label:A,selected:d})}!n&&!t&&a[""].unshift({id:"?",label:"",selected:!0});w=0;for(x=c.length;w<x;w++){d=c[w];i=a[d];if(v.length<=w)s={element:C.clone().attr("label",d),label:i.label},u=[s],v.push(u),f.append(s.element);else if(u=v[w],s=u[0],s.label!=d)s.element.attr("label",s.label=d);A=null;y=0;for(z=i.length;y<z;y++)if(d=i[y],t=u[y+1]){A=t.element;if(t.label!==d.label)A.text(t.label= c,d){a.$eval(d.ngInit)}}}}),Md=Y({terminal:!0,priority:1E3}),Nd=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,f,i){var h=i.count,j=f.attr(i.$attr.when),g=i.offset||0,m=e.$eval(j),k={},l=c.startSymbol(),q=c.endSymbol();o(m,function(a,e){k[e]=c(a.replace(d,l+h+"-"+g+q))});e.$watch(function(){var c=parseFloat(e.$eval(h));return isNaN(c)?"":(m[c]||(c=a.pluralCat(c-g)),k[c](e,f,!0))},function(a){f.text(a)})}}}],Od=["$parse","$animator",function(a,c){return{transclude:"element",
d.label);if(t.id!==d.id)A.val(t.id=d.id);if(t.element.selected!==d.selected)A.prop("selected",t.selected=d.selected)}else d.id===""&&r?B=r:(B=D.clone()).val(d.id).attr("selected",d.selected).text(d.label),u.push({element:B,label:d.label,id:d.id,selected:d.selected}),A?A.after(B):s.element.append(B),A=B;for(y++;u.length>y;)u.pop().element.remove()}for(;v.length>w;)v.pop()[0].element.remove()}var i;if(!(i=z.match(d)))throw y("Expected ngOptions in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '"+ priority:1E3,terminal:!0,compile:function(d,e,f){return function(d,e,j){var g=c(d,j),m=j.ngRepeat,k=m.match(/^\s*(.+)\s+in\s+(.*?)\s*(\s+track\s+by\s+(.+)\s*)?$/),l,q,n,s,r,p={$id:la};if(!k)throw Error("Expected ngRepeat in form of '_item_ in _collection_[ track by _id_]' but got '"+m+"'.");j=k[1];n=k[2];(k=k[4])?(l=a(k),q=function(a,c,e){r&&(p[r]=a);p[s]=c;p.$index=e;return l(d,p)}):q=function(a,c){return la(c)};k=j.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!k)throw Error("'item' in 'item in collection' should be identifier or (key, value) but got '"+
z+"'.");var j=c(i[2]||i[1]),k=i[4]||i[6],l=i[5],m=c(i[3]||""),o=c(i[2]?i[1]:k),q=c(i[7]),v=[[{element:f,label:""}]];r&&(a(r)(e),r.removeClass("ng-scope"),r.remove());f.html("");f.bind("change",function(){e.$apply(function(){var a,c=q(e)||[],d={},h,i,j,m,r,s;if(n){i=[];m=0;for(s=v.length;m<s;m++){a=v[m];j=1;for(r=a.length;j<r;j++)if((h=a[j].element)[0].selected)h=h.val(),l&&(d[l]=h),d[k]=c[h],i.push(o(e,d))}}else h=f.val(),h=="?"?i=p:h==""?i=null:(d[k]=c[h],l&&(d[l]=h),i=o(e,d));g.$setViewValue(i)})}); j+"'.");s=k[3]||k[1];r=k[2];var y={};d.$watchCollection(n,function(a){var c,j,k=e,l,n={},p,t,v,z,w,u,x=[];if(C(a))w=a;else{w=[];for(v in a)a.hasOwnProperty(v)&&v.charAt(0)!="$"&&w.push(v);w.sort()}p=w.length;j=x.length=w.length;for(c=0;c<j;c++)if(v=a===w?c:w[c],z=a[v],l=q(v,z,c),u=y[l])delete y[l],n[l]=u,x[c]=u;else if(n.hasOwnProperty(l))throw o(x,function(a){a&&a.element&&(y[a.id]=a)}),Error("Duplicates in a repeater are not allowed. Repeater: "+m);else x[c]={id:l};for(v in y)if(y.hasOwnProperty(v))u=
g.$render=h;e.$watch(h)}if(g[1]){for(var o=g[0],q=g[1],n=f.multiple,z=f.ngOptions,r=!1,v,D=t(ba.createElement("option")),C=t(ba.createElement("optgroup")),w=D.clone(),g=0,B=i.children(),E=B.length;g<E;g++)if(B[g].value==""){v=r=B.eq(g);break}o.init(q,r,w);if(n&&(f.required||f.ngRequired)){var x=function(a){q.$setValidity("required",!f.required||a&&a.length);return a};q.$parsers.push(x);q.$formatters.unshift(x);f.$observe("required",function(){x(q.$viewValue)})}z?l(e,i,q):n?j(e,i,q):k(e,i,q,o)}}}}], y[v],g.leave(u.element),u.element[0].$$NG_REMOVED=!0,u.scope.$destroy();c=0;for(j=w.length;c<j;c++){v=a===w?c:w[c];z=a[v];u=x[c];if(u.element){t=u.scope;l=k[0];do l=l.nextSibling;while(l&&l.$$NG_REMOVED);u.element[0]!=l&&g.move(u.element,null,k);k=u.element}else t=d.$new();t[s]=z;r&&(t[r]=v);t.$index=c;t.$first=c===0;t.$last=c===p-1;t.$middle=!(t.$first||t.$last);u.element||f(t,function(a){g.enter(a,null,k);k=a;u.scope=t;u.element=a;n[u.id]=u})}y=n})}}}}],Pd=["$animator",function(a){return function(c,
Xd=["$interpolate",function(a){var c={addOption:D,removeOption:D};return{restrict:"E",priority:100,compile:function(d,e){if(u(e.value)){var h=a(d.text(),!0);h||e.$set("value",d.text())}return function(a,d,e){var k=d.parent(),j=k.data("$selectController")||k.parent().data("$selectController");j&&j.databound?d.prop("selected",!1):j=c;h?a.$watch(h,function(a,c){e.$set("value",a);a!==c&&j.removeOption(c);j.addOption(a)}):j.addOption(e.value);d.bind("$destroy",function(){j.removeOption(e.value)})}}}}], d,e){var f=a(c,e);c.$watch(e.ngShow,function(a){f[Ha(a)?"show":"hide"](d)})}}],Qd=["$animator",function(a){return function(c,d,e){var f=a(c,e);c.$watch(e.ngHide,function(a){f[Ha(a)?"hide":"show"](d)})}}],Rd=Y(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&o(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),Sd=["$animator",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,f){var i=a(c,e),h,j,g=[];c.$watch(e.ngSwitch||
Yd=L({restrict:"E",terminal:!0});(ja=U.jQuery)?(t=ja,B(ja.fn,{scope:va.scope,controller:va.controller,injector:va.injector,inheritedData:va.inheritedData}),bb("remove",!0),bb("empty"),bb("html")):t=P;Yb.element=t;(function(a){B(a,{bootstrap:rb,copy:V,extend:B,equals:ha,element:t,forEach:m,injector:sb,noop:D,bind:Xa,toJson:ca,fromJson:pb,identity:na,isUndefined:u,isDefined:s,isString:F,isFunction:N,isObject:M,isNumber:ya,isElement:fc,isArray:H,version:kd,isDate:oa,lowercase:G,uppercase:la,callbacks:{counter:0}}); e.on,function(a){for(var d=0,l=g.length;d<l;d++)g[d].$destroy(),i.leave(j[d]);j=[];g=[];if(h=f.cases["!"+a]||f.cases["?"])c.$eval(e.change),o(h,function(a){var d=c.$new();g.push(d);a.transclude(d,function(c){var d=a.element;j.push(c);i.enter(c,d.parent(),d)})})})}}}],Td=Y({transclude:"element",priority:500,require:"^ngSwitch",compile:function(a,c,d){return function(a,f,i,h){h.cases["!"+c.ngSwitchWhen]=h.cases["!"+c.ngSwitchWhen]||[];h.cases["!"+c.ngSwitchWhen].push({transclude:d,element:f})}}}),Ud=
ua=lc(U);try{ua("ngLocale")}catch(c){ua("ngLocale",[]).provider("$locale",ad)}ua("ng",["ngLocale"],["$provide",function(a){a.provider("$compile",Db).directive({a:ld,input:bc,textarea:bc,form:md,script:Ud,select:Wd,style:Yd,option:Xd,ngBind:xd,ngBindHtmlUnsafe:zd,ngBindTemplate:yd,ngClass:Ad,ngClassEven:Cd,ngClassOdd:Bd,ngCsp:Fd,ngCloak:Dd,ngController:Ed,ngForm:nd,ngHide:Nd,ngInclude:Hd,ngInit:Id,ngNonBindable:Jd,ngPluralize:Kd,ngRepeat:Ld,ngShow:Md,ngSubmit:Gd,ngStyle:Od,ngSwitch:Pd,ngSwitchWhen:Qd, Y({transclude:"element",priority:500,require:"^ngSwitch",compile:function(a,c,d){return function(a,c,i,h){h.cases["?"]=h.cases["?"]||[];h.cases["?"].push({transclude:d,element:c})}}}),Vd=Y({controller:["$transclude","$element",function(a,c){a(function(a){c.append(a)})}]}),Wd=["$http","$templateCache","$route","$anchorScroll","$compile","$controller","$animator",function(a,c,d,e,f,i,h){return{restrict:"ECA",terminal:!0,link:function(a,c,m){function k(){var h=d.current&&d.current.locals,k=h&&h.$template;
ngSwitchDefault:Rd,ngOptions:Vd,ngView:Td,ngTransclude:Sd,ngModel:sd,ngList:ud,ngChange:td,required:cc,ngRequired:cc,ngValue:wd}).directive(mb).directive(dc);a.provider({$anchorScroll:uc,$browser:wc,$cacheFactory:xc,$controller:Bc,$document:Cc,$exceptionHandler:Dc,$filter:Qb,$interpolate:Ec,$http:Xc,$httpBackend:Yc,$location:Ic,$log:Jc,$parse:Nc,$route:Qc,$routeParams:Rc,$rootScope:Sc,$q:Oc,$sniffer:Tc,$templateCache:yc,$timeout:bd,$window:Uc})}])})(Yb);t(ba).ready(function(){jc(ba,rb)})})(window, if(k){n.leave(c.contents(),c);l&&(l.$destroy(),l=null);n.enter(v("<div></div>").html(k).contents(),c);var k=f(c.contents()),m=d.current;l=m.scope=a.$new();if(m.controller)h.$scope=l,h=i(m.controller,h),c.children().data("$ngControllerController",h);k(l);l.$emit("$viewContentLoaded");l.$eval(o);e()}else n.leave(c.contents(),c),l&&(l.$destroy(),l=null)}var l,o=m.onload||"",n=h(a,m);a.$on("$routeChangeSuccess",k);k()}}}],Xd=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,
document);angular.element(document).find("head").append('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\\:form{display:block;}</style>'); d){d.type=="text/ng-template"&&a.put(d.id,c[0].text)}}}],Yd=Q({terminal:!0}),Zd=["$compile","$parse",function(a,c){var d=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w\d]*)|(?:\(\s*([\$\w][\$\w\d]*)\s*,\s*([\$\w][\$\w\d]*)\s*\)))\s+in\s+(.*)$/,e={$setViewValue:t};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var j=this,g={},m=e,k;j.databound=d.ngModel;j.init=function(a,c,d){m=a;k=d};j.addOption=function(c){g[c]=
!0;m.$viewValue==c&&(a.val(c),k.parent()&&k.remove())};j.removeOption=function(a){this.hasOption(a)&&(delete g[a],m.$viewValue==a&&this.renderUnknownOption(a))};j.renderUnknownOption=function(c){c="? "+la(c)+" ?";k.val(c);a.prepend(k);a.val(c);k.prop("selected",!0)};j.hasOption=function(a){return g.hasOwnProperty(a)};c.$on("$destroy",function(){j.renderUnknownOption=t})}],link:function(e,i,h,j){function g(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(x.parent()&&x.remove(),c.val(a),
a===""&&p.prop("selected",!0)):u(a)&&p?c.val(""):e.renderUnknownOption(a)};c.bind("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 Pa(d.$viewValue);o(c.find("option"),function(c){c.selected=w(a.get(c.value))})};a.$watch(function(){ja(e,d.$viewValue)||(e=W(d.$viewValue),d.$render())});c.bind("change",function(){a.$apply(function(){var a=[];o(c.find("option"),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}
function k(e,f,h){function g(){var a={"":[]},c=[""],d,i,t,v,u;t=h.$modelValue;v=p(e)||[];var w=l?rb(v):v,z,x,A;x={};u=!1;var B,C;if(n)u=new Pa(t);else if(t===null||r)a[""].push({selected:t===null,id:"",label:""}),u=!0;for(A=0;z=w.length,A<z;A++){x[k]=v[l?x[l]=w[A]:A];d=m(e,x)||"";if(!(i=a[d]))i=a[d]=[],c.push(d);n?d=u.remove(o(e,x))!=s:(d=t===o(e,x),u=u||d);B=j(e,x);B=B===s?"":B;i.push({id:l?w[A]:A,label:B,selected:d})}!n&&!u&&a[""].unshift({id:"?",label:"",selected:!0});x=0;for(w=c.length;x<w;x++){d=
c[x];i=a[d];if(q.length<=x)t={element:D.clone().attr("label",d),label:i.label},v=[t],q.push(v),f.append(t.element);else if(v=q[x],t=v[0],t.label!=d)t.element.attr("label",t.label=d);B=null;A=0;for(z=i.length;A<z;A++)if(d=i[A],u=v[A+1]){B=u.element;if(u.label!==d.label)B.text(u.label=d.label);if(u.id!==d.id)B.val(u.id=d.id);if(u.element.selected!==d.selected)B.prop("selected",u.selected=d.selected)}else d.id===""&&r?C=r:(C=y.clone()).val(d.id).attr("selected",d.selected).text(d.label),v.push({element:C,
label:d.label,id:d.id,selected:d.selected}),B?B.after(C):t.element.append(C),B=C;for(A++;v.length>A;)v.pop().element.remove()}for(;q.length>x;)q.pop()[0].element.remove()}var i;if(!(i=t.match(d)))throw Error("Expected ngOptions in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '"+t+"'.");var j=c(i[2]||i[1]),k=i[4]||i[6],l=i[5],m=c(i[3]||""),o=c(i[2]?i[1]:k),p=c(i[7]),q=[[{element:f,label:""}]];r&&(a(r)(e),r.removeClass("ng-scope"),r.remove());f.html("");f.bind("change",
function(){e.$apply(function(){var a,c=p(e)||[],d={},g,i,j,m,r,t;if(n){i=[];m=0;for(t=q.length;m<t;m++){a=q[m];j=1;for(r=a.length;j<r;j++)if((g=a[j].element)[0].selected)g=g.val(),l&&(d[l]=g),d[k]=c[g],i.push(o(e,d))}}else g=f.val(),g=="?"?i=s:g==""?i=null:(d[k]=c[g],l&&(d[l]=g),i=o(e,d));h.$setViewValue(i)})});h.$render=g;e.$watch(g)}if(j[1]){for(var l=j[0],q=j[1],n=h.multiple,t=h.ngOptions,r=!1,p,y=v(V.createElement("option")),D=v(V.createElement("optgroup")),x=y.clone(),j=0,C=i.children(),A=C.length;j<
A;j++)if(C[j].value==""){p=r=C.eq(j);break}l.init(q,r,x);if(n&&(h.required||h.ngRequired)){var H=function(a){q.$setValidity("required",!h.required||a&&a.length);return a};q.$parsers.push(H);q.$formatters.unshift(H);h.$observe("required",function(){H(q.$viewValue)})}t?k(e,i,q):n?m(e,i,q):g(e,i,q,l)}}}}],$d=["$interpolate",function(a){var c={addOption:t,removeOption:t};return{restrict:"E",priority:100,compile:function(d,e){if(u(e.value)){var f=a(d.text(),!0);f||e.$set("value",d.text())}return function(a,
d,e){var g=d.parent(),m=g.data("$selectController")||g.parent().data("$selectController");m&&m.databound?d.prop("selected",!1):m=c;f?a.$watch(f,function(a,c){e.$set("value",a);a!==c&&m.removeOption(c);m.addOption(a)}):m.addOption(e.value);d.bind("$destroy",function(){m.removeOption(e.value)})}}}}],ae=Q({restrict:"E",terminal:!0});(ca=M.jQuery)?(v=ca,y(ca.fn,{scope:za.scope,controller:za.controller,injector:za.injector,inheritedData:za.inheritedData}),fb("remove",!0),fb("empty"),fb("html")):v=P;Ia.element=
v;(function(a){y(a,{bootstrap:vb,copy:W,extend:y,equals:ja,element:v,forEach:o,injector:wb,noop:t,bind:ab,toJson:da,fromJson:tb,identity:pa,isUndefined:u,isDefined:w,isString:x,isFunction:I,isObject:L,isNumber:Za,isElement:jc,isArray:C,version:md,isDate:qa,lowercase:J,uppercase:na,callbacks:{counter:0},noConflict:gc});xa=oc(M);try{xa("ngLocale")}catch(c){xa("ngLocale",[]).provider("$locale",cd)}xa("ng",["ngLocale"],["$provide",function(a){a.provider("$compile",Hb).directive({a:od,input:dc,textarea:dc,
form:pd,script:Xd,select:Zd,style:ae,option:$d,ngBind:Ad,ngBindHtmlUnsafe:Cd,ngBindTemplate:Bd,ngClass:Dd,ngClassEven:Fd,ngClassOdd:Ed,ngCsp:Id,ngCloak:Gd,ngController:Hd,ngForm:qd,ngHide:Qd,ngInclude:Kd,ngInit:Ld,ngNonBindable:Md,ngPluralize:Nd,ngRepeat:Od,ngShow:Pd,ngSubmit:Jd,ngStyle:Rd,ngSwitch:Sd,ngSwitchWhen:Td,ngSwitchDefault:Ud,ngOptions:Yd,ngView:Wd,ngTransclude:Vd,ngModel:vd,ngList:xd,ngChange:wd,required:ec,ngRequired:ec,ngValue:zd}).directive(qb).directive(fc);a.provider({$anchorScroll:xc,
$animation:Gb,$animator:nd,$browser:zc,$cacheFactory:Ac,$controller:Dc,$document:Ec,$exceptionHandler:Fc,$filter:Tb,$interpolate:Gc,$http:Zc,$httpBackend:$c,$location:Kc,$log:Lc,$parse:Pc,$route:Sc,$routeParams:Tc,$rootScope:Uc,$q:Qc,$sniffer:Vc,$templateCache:Bc,$timeout:dd,$window:Wc})}])})(Ia);v(V).ready(function(){mc(V,vb)})})(window,document);angular.element(document).find("head").append('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\\:form{display:block;}</style>');

4
lib/angular/docs/.htaccess Normal file → Executable file
View file

@ -4,11 +4,11 @@
# current angular version. If this rule matches the appcache-offline.manifest will be served for # current angular version. If this rule matches the appcache-offline.manifest will be served for
# requests to appcache.manifest # requests to appcache.manifest
# #
# This file must be processed by Rake in order to replace %ANGULAR_VERSION% with the actual version. # This file must be processed by Grunt in order to replace %ANGULAR_VERSION% with the actual version.
Options -Indexes Options -Indexes
RewriteEngine on RewriteEngine on
RewriteCond %{HTTP_COOKIE} ng-offline=1.1.2 RewriteCond %{HTTP_COOKIE} ng-offline=1.1.4
RewriteRule appcache.manifest appcache-offline.manifest RewriteRule appcache.manifest appcache-offline.manifest
## Redirect to the latest manifest ## Redirect to the latest manifest

13
lib/angular/docs/appcache-offline.manifest Normal file → Executable file
View file

@ -1,9 +1,10 @@
CACHE MANIFEST CACHE MANIFEST
# 2013-01-23T20:01:19.974Z # 2013-04-04T02:26:16.065Z
# cache all of these # cache all of these
CACHE: CACHE:
../angular.min.js ../angular.min.js
css/animations.css
css/bootstrap.min.css css/bootstrap.min.css
css/doc_widgets.css css/doc_widgets.css
css/docs.css css/docs.css
@ -56,6 +57,7 @@ index-jq-nocache.html
index-jq.html index-jq.html
index-nocache.html index-nocache.html
index.html index.html
js/disableAnimations.js
js/docs.js js/docs.js
js/jquery.js js/jquery.js
js/jquery.min.js js/jquery.min.js
@ -80,12 +82,14 @@ partials/api/angular.isObject.html
partials/api/angular.isString.html partials/api/angular.isString.html
partials/api/angular.isUndefined.html partials/api/angular.isUndefined.html
partials/api/angular.lowercase.html partials/api/angular.lowercase.html
partials/api/angular.mock.createMockWindow.html
partials/api/angular.mock.dump.html partials/api/angular.mock.dump.html
partials/api/angular.mock.html partials/api/angular.mock.html
partials/api/angular.mock.inject.html partials/api/angular.mock.inject.html
partials/api/angular.mock.module.html partials/api/angular.mock.module.html
partials/api/angular.mock.TzDate.html partials/api/angular.mock.TzDate.html
partials/api/angular.module.html partials/api/angular.module.html
partials/api/angular.noConflict.html
partials/api/angular.noop.html partials/api/angular.noop.html
partials/api/angular.toJson.html partials/api/angular.toJson.html
partials/api/angular.uppercase.html partials/api/angular.uppercase.html
@ -95,6 +99,9 @@ partials/api/AUTO.$provide.html
partials/api/AUTO.html partials/api/AUTO.html
partials/api/index.html partials/api/index.html
partials/api/ng.$anchorScroll.html partials/api/ng.$anchorScroll.html
partials/api/ng.$animation.html
partials/api/ng.$animationProvider.html
partials/api/ng.$animator.html
partials/api/ng.$cacheFactory.html partials/api/ng.$cacheFactory.html
partials/api/ng.$compile.directive.Attributes.html partials/api/ng.$compile.directive.Attributes.html
partials/api/ng.$compile.html partials/api/ng.$compile.html
@ -136,6 +143,7 @@ partials/api/ng.directive:input.number.html
partials/api/ng.directive:input.radio.html partials/api/ng.directive:input.radio.html
partials/api/ng.directive:input.text.html partials/api/ng.directive:input.text.html
partials/api/ng.directive:input.url.html partials/api/ng.directive:input.url.html
partials/api/ng.directive:ngAnimate.html
partials/api/ng.directive:ngApp.html partials/api/ng.directive:ngApp.html
partials/api/ng.directive:ngBind.html partials/api/ng.directive:ngBind.html
partials/api/ng.directive:ngBindHtmlUnsafe.html partials/api/ng.directive:ngBindHtmlUnsafe.html
@ -157,6 +165,7 @@ partials/api/ng.directive:ngHref.html
partials/api/ng.directive:ngInclude.html partials/api/ng.directive:ngInclude.html
partials/api/ng.directive:ngInit.html partials/api/ng.directive:ngInit.html
partials/api/ng.directive:ngKeydown.html partials/api/ng.directive:ngKeydown.html
partials/api/ng.directive:ngKeypress.html
partials/api/ng.directive:ngKeyup.html partials/api/ng.directive:ngKeyup.html
partials/api/ng.directive:ngList.html partials/api/ng.directive:ngList.html
partials/api/ng.directive:ngModel.html partials/api/ng.directive:ngModel.html
@ -197,6 +206,8 @@ partials/api/ng.html
partials/api/ngCookies.$cookies.html partials/api/ngCookies.$cookies.html
partials/api/ngCookies.$cookieStore.html partials/api/ngCookies.$cookieStore.html
partials/api/ngCookies.html partials/api/ngCookies.html
partials/api/ngMobile.directive:ngTap.html
partials/api/ngMobile.html
partials/api/ngMock.$exceptionHandler.html partials/api/ngMock.$exceptionHandler.html
partials/api/ngMock.$exceptionHandlerProvider.html partials/api/ngMock.$exceptionHandlerProvider.html
partials/api/ngMock.$httpBackend.html partials/api/ngMock.$httpBackend.html

2
lib/angular/docs/appcache.manifest Normal file → Executable file
View file

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 2013-01-23T20:01:18.713Z # 2013-04-04T02:26:14.068Z
# cache all of these # cache all of these
CACHE: CACHE:

View file

@ -0,0 +1,73 @@
.reveal-setup {
-webkit-transition:1s linear all;
-moz-transition:1s linear all;
-ms-transition:1s linear all;
-o-transition:1s linear all;
transition:1s linear all;
opacity:0;
}
.reveal-setup.reveal-start {
opacity:1;
}
.slide-reveal-setup {
-webkit-transition:0.5s linear all;
-moz-transition:0.5s linear all;
-ms-transition:0.5s linear all;
-o-transition:0.5s linear all;
transition:0.5s linear all;
opacity:0.5;
}
.slide-reveal-setup.slide-reveal-start {
opacity:1;
}
.slide-enter-setup {
-webkit-transition:0.5s linear all;
-moz-transition:0.5s linear all;
-ms-transition:0.5s linear all;
-o-transition:0.5s linear all;
transition:0.5s linear all;
position:relative;
left:10px;
opacity:0;
}
.slide-enter-setup.slide-enter-start {
left:0;
opacity:1;
}
.slide-leave-setup {
-webkit-transition:0.5s linear all;
-moz-transition:0.5s linear all;
-ms-transition:0.5s linear all;
-o-transition:0.5s linear all;
transition:0.5s linear all;
opacity:1;
}
.slide-leave-setup.slide-leave-start {
opacity:0;
}
.example-animate-container {
position:relative;
background:white;
border:1px solid black;
height:40px;
overflow:hidden;
}
.example-animate-container > div {
padding:1em;
}
.animator-container.animations-off * {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: color 0 ease-in; /* opera is special :) */
transition: none;
}

0
lib/angular/docs/css/bootstrap.min.css vendored Normal file → Executable file
View file

0
lib/angular/docs/css/doc_widgets.css Normal file → Executable file
View file

13
lib/angular/docs/css/docs.css Normal file → Executable file
View file

@ -3,6 +3,15 @@ img.AngularJS-small {
height: 25px; height: 25px;
} }
/* this is here to avoid the display=block shuffling of ngShow */
.breadcrumb li > * {
float:left;
margin:0 2px 0 0;
}
.breadcrumb {
padding-bottom:2px;
}
.clear-navbar { .clear-navbar {
margin-top: 60px; margin-top: 60px;
@ -86,6 +95,10 @@ img.AngularJS-small {
/* Content */ /* Content */
/* =============================== */ /* =============================== */
.improve-docs {
float: right;
}
.hint { .hint {
font-size: .7em; font-size: .7em;
color: #c0c0c0; color: #c0c0c0;

89
lib/angular/docs/docs-keywords.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

4
lib/angular/docs/docs-scenario.html Normal file → Executable file
View file

@ -6,8 +6,8 @@
var production = location.hostname === 'docs.angularjs.org', var production = location.hostname === 'docs.angularjs.org',
headEl = document.head, headEl = document.head,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('script', {src: path('angular-scenario.js')}, function() { addTag('script', {src: path('angular-scenario.js')}, function() {

980
lib/angular/docs/docs-scenario.js vendored Normal file → Executable file

File diff suppressed because it is too large Load diff

0
lib/angular/docs/favicon.ico Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

0
lib/angular/docs/img/AngularJS-small.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

0
lib/angular/docs/img/One_Way_Data_Binding.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

0
lib/angular/docs/img/Two_Way_Data_Binding.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Before After
Before After

0
lib/angular/docs/img/angular_parts.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before After
Before After

0
lib/angular/docs/img/form_data_flow.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before After
Before After

0
lib/angular/docs/img/glyphicons-halflings-white.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before After
Before After

0
lib/angular/docs/img/glyphicons-halflings.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before After
Before After

0
lib/angular/docs/img/guide/about_model_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before After
Before After

0
lib/angular/docs/img/guide/about_view_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-controller.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-directive.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-model.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-runtime.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-scope.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-startup.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Before After
Before After

0
lib/angular/docs/img/guide/concepts-view.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before After
Before After

0
lib/angular/docs/img/guide/di_sequence_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Before After
Before After

0
lib/angular/docs/img/guide/dom_scope_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Before After
Before After

0
lib/angular/docs/img/guide/hashbang_vs_regular_url.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

0
lib/angular/docs/img/guide/scenario_runner.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before After
Before After

0
lib/angular/docs/img/guide/simple_scope_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Before After
Before After

0
lib/angular/docs/img/helloworld.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

0
lib/angular/docs/img/helloworld_2way.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/catalog_screen.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_00.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_00_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_02.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_03.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_04.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_07_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_08-09_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 209 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/tutorial_10-11_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Before After
Before After

0
lib/angular/docs/img/tutorial/xhr_service_final.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

Before After
Before After

16
lib/angular/docs/index-debug.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

16
lib/angular/docs/index-jq-debug.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

16
lib/angular/docs/index-jq-nocache.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

16
lib/angular/docs/index-jq.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

16
lib/angular/docs/index-nocache.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

16
lib/angular/docs/index.html Normal file → Executable file
View file

@ -26,19 +26,21 @@
headEl = document.getElementsByTagName('head')[0], headEl = document.getElementsByTagName('head')[0],
sync = true, sync = true,
angularVersion = { angularVersion = {
current: '1.1.2', // rewrite during build current: '1.1.4', // rewrite during build
stable: '1.0.3' stable: '1.0.5'
}; };
addTag('base', {href: baseUrl}); addTag('base', {href: baseUrl});
addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync); addTag('script', {src: path('angular-cookies.js') }, sync);
addTag('script', {src: path('angular-sanitize.js') }, sync); addTag('script', {src: path('angular-sanitize.js') }, sync);
addTag('script', {src: path('angular-mobile.js') }, sync);
addTag('script', {src: path('angular-bootstrap.js') }, sync); addTag('script', {src: path('angular-bootstrap.js') }, sync);
addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync); addTag('script', {src: path('angular-bootstrap-prettify.js') }, sync);
addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'js/docs.js'}, sync);
@ -230,21 +232,21 @@
<li class="nav-header section" ng-show="module.directives"> <li class="nav-header section" ng-show="module.directives">
<a href="{{URL.directive}}" class="guide">directive</a> <a href="{{URL.directive}}" class="guide">directive</a>
</li> </li>
<li ng-repeat="page in module.directives" ng-class="navClass(page)"> <li ng-repeat="page in module.directives" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.filters"> <li class="nav-header section" ng-show="module.filters">
<a href="{{URL.filter}}" class="guide">filter</a> <a href="{{URL.filter}}" class="guide">filter</a>
</li> </li>
<li ng-repeat="page in module.filters" ng-class="navClass(page)"> <li ng-repeat="page in module.filters" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
<li class="nav-header section" ng-show="module.services"> <li class="nav-header section" ng-show="module.services">
<a href="{{URL.service}}" class="guide">service</a> <a href="{{URL.service}}" class="guide">service</a>
</li> </li>
<li ng-repeat="service in module.services" ng-class="navClass(service.instance, service.provider)"> <li ng-repeat="service in module.services" ng-animate="'slide'" ng-class="navClass(service.instance, service.provider)">
<a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a> <a ng-show="service.provider" class="pull-right" href="{{service.provider.url}}" tabindex="2"><i class="icon-cog"></i></a>
<a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a> <a href="{{service.instance.url}}" tabindex="2">{{service.name}}</a>
</li> </li>
@ -252,7 +254,7 @@
<li class="nav-header section" ng-show="module.types"> <li class="nav-header section" ng-show="module.types">
<a href="{{URL.type}}" class="guide">Types</a> <a href="{{URL.type}}" class="guide">Types</a>
</li> </li>
<li ng-repeat="page in module.types" ng-class="navClass(page)"> <li ng-repeat="page in module.types" ng-class="navClass(page)" ng-animate="'slide'">
<a href="{{page.url}}" tabindex="2">{{page.shortName}}</a> <a href="{{page.url}}" tabindex="2">{{page.shortName}}</a>
</li> </li>
@ -280,7 +282,7 @@
<div id="loading" ng-show="loading">Loading...</div> <div id="loading" ng-show="loading">Loading...</div>
<div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content"></div> <div ng-hide="loading" ng-include src="currentPage.partialUrl" onload="afterPartialLoaded()" autoscroll class="content" ng-animate="{enter: 'slide-reveal'}" ></div>
<div id="disqus" class="disqus"> <div id="disqus" class="disqus">
<h2>Discussion</h2> <h2>Discussion</h2>

11
lib/angular/docs/js/disableAnimations.js vendored Executable file
View file

@ -0,0 +1,11 @@
'use strict';
console.log('#1 disableAnimations.js loaded');
angular.module('disableAnimations', []).config(function($provide) {
console.log('#2 disableAnimations module loaded');
$provide.decorator('$sniffer', function($delegate) {
console.log('#3 sniffer decorated');
$delegate.supportsTransitions = false;
return $delegate;
});
});

0
lib/angular/docs/js/docs.js vendored Normal file → Executable file
View file

0
lib/angular/docs/js/jquery.js vendored Normal file → Executable file
View file

0
lib/angular/docs/js/jquery.min.js vendored Normal file → Executable file
View file

0
lib/angular/docs/offline.html Normal file → Executable file
View file

10
lib/angular/docs/partials/api/AUTO.$injector.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(service in module <code ng:non-bindable="">AUTO</code> <span class="hint">(service in module <code ng:non-bindable="">AUTO</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/auto/injector.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p><code>$injector</code> is used to retrieve object instances as defined by <div class="description"><p><code>$injector</code> is used to retrieve object instances as defined by
<a href="api/AUTO.$provide"><code>provider</code></a>, instantiate types, invoke methods, <a href="api/AUTO.$provide"><code>provider</code></a>, instantiate types, invoke methods,
and load modules.</p> and load modules.</p>
@ -24,15 +24,15 @@ following ways are all valid way of annotating function with injection arguments
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
// inferred (only works if code not minified/obfuscated) // inferred (only works if code not minified/obfuscated)
$inject.invoke(function(serviceA){}); $injector.invoke(function(serviceA){});
// annotated // annotated
function explicit(serviceA) {}; function explicit(serviceA) {};
explicit.$inject = ['serviceA']; explicit.$inject = ['serviceA'];
$inject.invoke(explicit); $injector.invoke(explicit);
// inline // inline
$inject.invoke(['serviceA', function(serviceA){}]); $injector.invoke(['serviceA', function(serviceA){}]);
</pre> </pre>
<h4>Inference</h4> <h4>Inference</h4>
@ -71,7 +71,7 @@ the function into a string using <code>toString()</code> method and extracting t
<p>This method does not work with code minfication / obfuscation. For this reason the following annotation strategies <p>This method does not work with code minfication / obfuscation. For this reason the following annotation strategies
are supported.</p> are supported.</p>
<h4>The <code>$injector</code> property</h4> <h4>The <code>$inject</code> property</h4>
<p>If a function has an <code>$inject</code> property and its value is an array of strings, then the strings represent names of <p>If a function has an <code>$inject</code> property and its value is an array of strings, then the strings represent names of
services to be injected into the function. services to be injected into the function.

4
lib/angular/docs/partials/api/AUTO.$provide.html Normal file → Executable file
View file

@ -2,9 +2,9 @@
<span class="hint">(service in module <code ng:non-bindable="">AUTO</code> <span class="hint">(service in module <code ng:non-bindable="">AUTO</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/auto/injector.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Use <code>$provide</code> to register new providers with the <code>$injector</code>. The providers are the factories for the instance. <div class="description"><p>Use <code>$provide</code> to register new providers with the <code>$injector</code>. The providers are the factories for the instance.
The providers share the same name as the instance they create with the <code>Provider</code> suffixed to them.</p> The providers share the same name as the instance they create with <code>Provider</code> suffixed to them.</p>
<p>A provider is an object with a <code>$get()</code> method. The injector calls the <code>$get</code> method to create a new instance of <p>A provider is an object with a <code>$get()</code> method. The injector calls the <code>$get</code> method to create a new instance of
a service. The Provider can have additional methods which would allow for configuration of the provider.</p> a service. The Provider can have additional methods which would allow for configuration of the provider.</p>

2
lib/angular/docs/partials/api/AUTO.html Normal file → Executable file
View file

@ -1,4 +1,4 @@
<h1><code ng:non-bindable=""></code> <h1><code ng:non-bindable=""></code>
<span class="hint"></span> <span class="hint"></span>
</h1> </h1>
<div><p>Implicit module which gets automatically added to each <a href="api/AUTO.$injector"><code>$injector</code></a>.</p></div> <div><a href="http://github.com/angular/angular.js/edit/master/src/auto/injector.js" class="improve-docs btn btn-primary">Improve this doc</a><p>Implicit module which gets automatically added to each <a href="api/AUTO.$injector"><code>$injector</code></a>.</p></div>

28
lib/angular/docs/partials/api/angular.IModule.html Normal file → Executable file
View file

@ -2,10 +2,34 @@
<span class="hint">(Type in module <code ng:non-bindable="">ng</code> <span class="hint">(Type in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/loader.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Interface for configuring angular <a href="api/angular.module"><code>modules</code></a>.</p></div> <div class="description"><p>Interface for configuring angular <a href="api/angular.module"><code>modules</code></a>.</p></div>
<div class="member method"><h2 id="Methods">Methods</h2> <div class="member method"><h2 id="Methods">Methods</h2>
<ul class="methods"><li><h3 id="config">config(configFn)</h3> <ul class="methods"><li><h3 id="animation">animation(name, animationFactory)</h3>
<div class="animation"><p>Defines an animation hook that can be later used with <a href="api/ng.directive:ngAnimate"><code>ngAnimate</code></a>
alongside <a href="api/ng.directive:ngAnimate#Description"><code>common ng directives</code></a> as well as custom directives.
<pre class="prettyprint linenums">
module.animation('animation-name', function($inject1, $inject2) {
return {
//this gets called in preparation to setup an animation
setup : function(element) { ... },
//this gets called once the animation is run
start : function(element, done, memo) { ... }
}
})
</pre>
<p>See <a href="api/ng.$animationProvider#register"><code>$animationProvider.register()</code></a> and
<a href="api/ng.directive:ngAnimate"><code>ngAnimate</code></a> for more information.</p><h4 id="Parameters">Parameters</h4>
<ul class="parameters"><li><code ng:non-bindable="">name {string} </code>
<p>animation name</p></li>
<li><code ng:non-bindable="">animationFactory {Function} </code>
<p>Factory function for creating new instance of an animation.</p></li>
</ul>
</div>
</li>
<li><h3 id="config">config(configFn)</h3>
<div class="config"><p>Use this method to register work which needs to be performed on module loading.</p><h4 id="Parameters">Parameters</h4> <div class="config"><p>Use this method to register work which needs to be performed on module loading.</p><h4 id="Parameters">Parameters</h4>
<ul class="parameters"><li><code ng:non-bindable="">configFn {Function} </code> <ul class="parameters"><li><code ng:non-bindable="">configFn {Function} </code>
<p>Execute this function on module load. Useful for service <p>Execute this function on module load. Useful for service

2
lib/angular/docs/partials/api/angular.bind.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Returns a function which calls function <code>fn</code> bound to <code>self</code> (<code>self</code> becomes the <code>this</code> for <div class="description"><p>Returns a function which calls function <code>fn</code> bound to <code>self</code> (<code>self</code> becomes the <code>this</code> for
<code>fn</code>). You can supply optional <code>args</code> that are are prebound to the function. This feature is also <code>fn</code>). You can supply optional <code>args</code> that are are prebound to the function. This feature is also
known as <a href="http://en.wikipedia.org/wiki/Currying">function currying</a>.</p></div> known as <a href="http://en.wikipedia.org/wiki/Currying">function currying</a>.</p></div>

2
lib/angular/docs/partials/api/angular.bootstrap.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Use this function to manually start up angular application.</p> <div class="description"><p>Use this function to manually start up angular application.</p>
<p>See: <a href="guide/bootstrap">Bootstrap</a></p></div> <p>See: <a href="guide/bootstrap">Bootstrap</a></p></div>

2
lib/angular/docs/partials/api/angular.copy.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Creates a deep copy of <code>source</code>, which should be an object or an array.</p> <div class="description"><p>Creates a deep copy of <code>source</code>, which should be an object or an array.</p>
<ul> <ul>

4
lib/angular/docs/partials/api/angular.element.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/jqLite.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Wraps a raw DOM element or HTML string as a <a href="http://jquery.com">jQuery</a> element. <div class="description"><p>Wraps a raw DOM element or HTML string as a <a href="http://jquery.com">jQuery</a> element.
<code>angular.element</code> can be either an alias for <a href="http://api.jquery.com/jQuery/">jQuery</a> function, if <code>angular.element</code> can be either an alias for <a href="http://api.jquery.com/jQuery/">jQuery</a> function, if
jQuery is available, or a function that wraps the element or string in Angular's jQuery lite jQuery is available, or a function that wraps the element or string in Angular's jQuery lite
@ -54,7 +54,7 @@ raw DOM references.</p>
<li><a href="http://api.jquery.com/wrap/">wrap()</a></li> <li><a href="http://api.jquery.com/wrap/">wrap()</a></li>
</ul> </ul>
<h4>In addtion to the above, Angular provides additional methods to both jQuery and jQuery lite:</h4> <h4>In addition to the above, Angular provides additional methods to both jQuery and jQuery lite:</h4>
<ul> <ul>
<li><code>controller(name)</code> - retrieves the controller of the current element or its parent. By default <li><code>controller(name)</code> - retrieves the controller of the current element or its parent. By default

4
lib/angular/docs/partials/api/angular.equals.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if two objects or two values are equivalent. Supports value types, arrays and <div class="description"><p>Determines if two objects or two values are equivalent. Supports value types, arrays and
objects.</p> objects.</p>
@ -14,7 +14,7 @@ objects.</p>
<li>Both values are NaN. (In JavasScript, NaN == NaN => false. But we consider two NaN as equal)</li> <li>Both values are NaN. (In JavasScript, NaN == NaN => false. But we consider two NaN as equal)</li>
</ul> </ul>
<p>During a property comparision, properties of <code>function</code> type and properties with names <p>During a property comparison, properties of <code>function</code> type and properties with names
that begin with <code>$</code> are ignored.</p> that begin with <code>$</code> are ignored.</p>
<p>Scope and DOMWindow objects are being compared only be identify (<code>===</code>).</p></div> <p>Scope and DOMWindow objects are being compared only be identify (<code>===</code>).</p></div>

2
lib/angular/docs/partials/api/angular.extend.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Extends the destination object <code>dst</code> by copying all of the properties from the <code>src</code> object(s) <div class="description"><p>Extends the destination object <code>dst</code> by copying all of the properties from the <code>src</code> object(s)
to <code>dst</code>. You can specify multiple <code>src</code> objects.</p></div> to <code>dst</code>. You can specify multiple <code>src</code> objects.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>

2
lib/angular/docs/partials/api/angular.forEach.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Invokes the <code>iterator</code> function once for each item in <code>obj</code> collection, which can be either an <div class="description"><p>Invokes the <code>iterator</code> function once for each item in <code>obj</code> collection, which can be either an
object or an array. The <code>iterator</code> function is invoked with <code>iterator(value, key)</code>, where <code>value</code> object or an array. The <code>iterator</code> function is invoked with <code>iterator(value, key)</code>, where <code>value</code>
is the value of an object property or an array element and <code>key</code> is the object property key or is the value of an object property or an array element and <code>key</code> is the object property key or

2
lib/angular/docs/partials/api/angular.fromJson.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Deserializes a JSON string.</p></div> <div class="description"><p>Deserializes a JSON string.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.fromJson(json);</pre> <div class="usage"><pre class="prettyprint linenums">angular.fromJson(json);</pre>

2
lib/angular/docs/partials/api/angular.identity.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>A function that returns its first argument. This function is useful when writing code in the <div class="description"><p>A function that returns its first argument. This function is useful when writing code in the
functional style.</p> functional style.</p>

2
lib/angular/docs/partials/api/angular.injector.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/auto/injector.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Creates an injector function that can be used for retrieving services as well as for <div class="description"><p>Creates an injector function that can be used for retrieving services as well as for
dependency injection (see <a href="guide/di">dependency injection</a>).</p></div> dependency injection (see <a href="guide/di">dependency injection</a>).</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>

2
lib/angular/docs/partials/api/angular.isArray.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is an <code>Array</code>.</p></div> <div class="description"><p>Determines if a reference is an <code>Array</code>.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isArray(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isArray(value);</pre>

2
lib/angular/docs/partials/api/angular.isDate.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a value is a date.</p></div> <div class="description"><p>Determines if a value is a date.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isDate(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isDate(value);</pre>

2
lib/angular/docs/partials/api/angular.isDefined.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is defined.</p></div> <div class="description"><p>Determines if a reference is defined.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isDefined(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isDefined(value);</pre>

2
lib/angular/docs/partials/api/angular.isElement.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is a DOM element (or wrapped jQuery element).</p></div> <div class="description"><p>Determines if a reference is a DOM element (or wrapped jQuery element).</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isElement(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isElement(value);</pre>

2
lib/angular/docs/partials/api/angular.isFunction.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is a <code>Function</code>.</p></div> <div class="description"><p>Determines if a reference is a <code>Function</code>.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isFunction(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isFunction(value);</pre>

2
lib/angular/docs/partials/api/angular.isNumber.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is a <code>Number</code>.</p></div> <div class="description"><p>Determines if a reference is a <code>Number</code>.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isNumber(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isNumber(value);</pre>

2
lib/angular/docs/partials/api/angular.isObject.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is an <code>Object</code>. Unlike <code>typeof</code> in JavaScript, <code>null</code>s are not <div class="description"><p>Determines if a reference is an <code>Object</code>. Unlike <code>typeof</code> in JavaScript, <code>null</code>s are not
considered to be objects.</p></div> considered to be objects.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>

2
lib/angular/docs/partials/api/angular.isString.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is a <code>String</code>.</p></div> <div class="description"><p>Determines if a reference is a <code>String</code>.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isString(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isString(value);</pre>

2
lib/angular/docs/partials/api/angular.isUndefined.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Determines if a reference is undefined.</p></div> <div class="description"><p>Determines if a reference is undefined.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.isUndefined(value);</pre> <div class="usage"><pre class="prettyprint linenums">angular.isUndefined(value);</pre>

2
lib/angular/docs/partials/api/angular.lowercase.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Converts the specified string to lowercase.</p></div> <div class="description"><p>Converts the specified string to lowercase.</p></div>
<h2 id="Usage">Usage</h2> <h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.lowercase(string);</pre> <div class="usage"><pre class="prettyprint linenums">angular.lowercase(string);</pre>

5
lib/angular/docs/partials/api/angular.mock.TzDate.html Normal file → Executable file
View file

@ -2,10 +2,10 @@
<span class="hint">(API in module <code ng:non-bindable="">ng</code> <span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span> )</span>
</h1> </h1>
<div><h2 id="Description">Description</h2> <div><a href="http://github.com/angular/angular.js/edit/master/src/ngMock/angular-mocks.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p><em>NOTE</em>: this is not an injectable instance, just a globally available mock class of <code>Date</code>.</p> <div class="description"><p><em>NOTE</em>: this is not an injectable instance, just a globally available mock class of <code>Date</code>.</p>
<p>Mock of the Date type which has its timezone specified via constroctor arg.</p> <p>Mock of the Date type which has its timezone specified via constructor arg.</p>
<p>The main purpose is to create Date-like instances with timezone fixed to the specified timezone <p>The main purpose is to create Date-like instances with timezone fixed to the specified timezone
offset, so that we can test code that depends on local timezone settings without dependency on offset, so that we can test code that depends on local timezone settings without dependency on
@ -36,5 +36,6 @@ newYearInBratislava.getMonth() =&gt; 0;
newYearInBratislava.getDate() =&gt; 1; newYearInBratislava.getDate() =&gt; 1;
newYearInBratislava.getHours() =&gt; 0; newYearInBratislava.getHours() =&gt; 0;
newYearInBratislava.getMinutes() =&gt; 0; newYearInBratislava.getMinutes() =&gt; 0;
newYearInBratislava.getSeconds() =&gt; 0;
</pre></div> </pre></div>
</div> </div>

View file

@ -0,0 +1,25 @@
<h1><code ng:non-bindable="">angular.mock.createMockWindow</code>
<span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span>
</h1>
<div><a href="http://github.com/angular/angular.js/edit/master/src/ngMock/angular-mocks.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>This function creates a mock window object useful for controlling access ot setTimeout, but mocking out
sufficient window's properties to allow Angular to execute.</p></div>
<h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.mock.createMockWindow();</pre>
</div>
<h2 id="Example">Example</h2>
<div class="example"><pre class="prettyprint linenums">
beforeEach(module(function($provide) {
$provide.value('$window', window = angular.mock.createMockWindow());
}));
it('should do something', inject(function($window) {
var val = null;
$window.setTimeout(function() { val = 123; }, 10);
expect(val).toEqual(null);
window.setTimeout.expect(10).process();
expect(val).toEqual(123);
});
</pre></div>
</div>

Some files were not shown because too many files have changed in this diff Show more