diff --git a/400-SOURCECODE/AIAHTML5.API/Controllers/AuthenticateController.cs b/400-SOURCECODE/AIAHTML5.API/Controllers/AuthenticateController.cs index 320ff7b..16db659 100644 --- a/400-SOURCECODE/AIAHTML5.API/Controllers/AuthenticateController.cs +++ b/400-SOURCECODE/AIAHTML5.API/Controllers/AuthenticateController.cs @@ -386,20 +386,22 @@ namespace AIAHTML5.API.Controllers string Path = ConfigurationManager.AppSettings["ANIMATION_HOSTING_SERVER"]; foreach (JObject item in JsonvidData) { - string data = item.GetValue("Data").ToString(); - // string folderName = item.GetValue("folderNo").ToString(); + // string folderName = item.GetValue("folderNo").ToString(); string fileName = item.GetValue("FileName").ToString(); + // DirectoryInfo di = Directory.CreateDirectory(Path); + string filePath = HostingEnvironment.MapPath(Path + fileName + ".mp4"); + if (!File.Exists(filePath)) + { + string data = item.GetValue("Data").ToString(); - //Convert Base64 Encoded string to Byte Array. - byte[] imageBytes = Convert.FromBase64String(data); + //Convert Base64 Encoded string to Byte Array. + byte[] imageBytes = Convert.FromBase64String(data); - //Save the Byte Array as Image File. - // string Path = HostingEnvironment.MapPath("~/../content/data/AnimationMp4/"+ folderName); + //Save the Byte Array as Image File. + // string Path = HostingEnvironment.MapPath("~/../content/data/AnimationMp4/"+ folderName); - // DirectoryInfo di = Directory.CreateDirectory(Path); - string filePath = HostingEnvironment.MapPath(Path + fileName + ".mp4"); - - File.WriteAllBytes(filePath, imageBytes); + File.WriteAllBytes(filePath, imageBytes); + } } result = 1; diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js index 0ed7c50..f010f2d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js @@ -13,6 +13,7 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ $rootScope.dynamicUpdatedJsonForSaveCB = ""; $scope.isChangeFromDropDown=false; $rootScope.collectAnimationSource = []; + $scope.SectionContentForExportCB=[]; $scope.IsVisible = function () { $scope.scroll(); } @@ -105,7 +106,7 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ var opcity = $("#HomeContainerDiv").css("opacity") - if (opcity != 1) { + if (opcity != 1 && $scope.SectionContentForExportCB.length<=0) { $scope.CBEnableUI(); } }, 40000); @@ -436,6 +437,7 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ $rootScope.dynamicUpdatedJsonForSaveCB = ""; $scope.isChangeFromDropDown=false; $rootScope.collectAnimationSource = []; + $scope.SectionContentForExportCB=[]; if (($location.url() == "/curriculum-builder")) { $location.url("/curriculum-builder-detail"); @@ -1182,6 +1184,7 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ return; } $scope.CBDisableUI(); + $rootScope.dynamicUpdatedJsonForExportCB=""; var strFromParent=$scope.selectedNodeSingleObj['structure']; var parentLevel=$scope.selectedNodeSingleObj._label; var parentId=$scope.selectedNodeSingleObj._id ; @@ -1275,23 +1278,35 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ .then( function (result) { if(result!=null) - { + { $scope.downloadCurriculum(downloadtype,filename); $rootScope.collectAnimationSource = []; //clear video source after save on server // next time it load from server for (var i = 0; i < $rootScope.VideoWindowData.length; i++) { $rootScope.VideoWindowData[i].videoSource=""; + $rootScope.VideoWindowData[i].isSourceExist=false; } } - }, + }, function (error) { console.log(' Error in Saving video = ' + error.statusText); - $scope.CBEnableUI(); + $scope.CBEnableUI(); + $scope.SectionContentForExportCB=[]; + $rootScope.dynamicUpdatedJsonForExportCB = ""; + $rootScope.dynamicUpdatedJsonForSaveCB = ""; + $('#uploading-curriculum').css("display", "none"); + $("#filename").val(""); $rootScope.errorMessage = AIAConstants.SAVE_ANIMATION_ERROR+"\n"+error.ExceptionMessage;; $("#messageModal").css('zIndex', 80000000000); - $("#messageModal").modal('show'); - }) + $("#messageModal").modal('show'); + }, + function(progress){ + $('#uploading-curriculum').css("display", "block"); + //console.log('uploading: ' + Math.floor(progress) + '%'); + $rootScope.loadingstatus= + Math.floor(progress) + '%'; + } + ) } else { @@ -1326,10 +1341,21 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ saveElement.dispatchEvent(event); } + $scope.SectionContentForExportCB=[]; $rootScope.dynamicUpdatedJsonForExportCB = ""; $rootScope.dynamicUpdatedJsonForSaveCB = ""; $("#filename").val(""); - $scope.CBEnableUI(); + $('#uploading-curriculum').css("display", "none"); + $scope.CBEnableUI(); + + //disable tiny editor while section active + if($scope.nodeTypeIsBranch=="true") + { + $('.tox-editor-header').css('pointer-events', 'none'); + $('.tox-editor-header').css('opacity', '0.7'); + $('#CBTextArea_ifr').css('pointer-events', 'none'); + $('#CBTextArea_ifr').css('opacity', '0.7'); + } } $rootScope.DeleteSlideSection = function () { @@ -1693,7 +1719,8 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ console.log($rootScope.contentNotesForSaveCB); } - $rootScope.saveCurricullam = function () { + $rootScope.saveCurricullam = function () { + $scope.SectionContentForExportCB=[]; $("#btnExportCB").css({"display":"none"}) ; $("#btnSaveCB").css({"display":"block"}) ; $(".export-curriculum").modal("show").draggable({ handle: ".modal-header" }); @@ -1707,8 +1734,9 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ { alert("Curriculum name is empty!"); return; - } + } $scope.CBDisableUI(); + $rootScope.dynamicUpdatedJsonForSaveCB=""; var cbCurrentId = document.getElementById('cbSelect').value; if ($rootScope.structureObjForSaveCB.length == 0) { $rootScope.structureObjForSaveCB = $rootScope.stru.structure.structure; @@ -1720,6 +1748,8 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ $scope.updateWindowsContentForSaveCB(cbCurrentId,false); + $scope.SectionContentForExportCB=$rootScope.contentNotesForSaveCB; + $rootScope.dynamicUpdatedJsonForSaveCB = { "slideshow": { @@ -1737,7 +1767,7 @@ function ($scope, $rootScope, pages, log, Modules, $http, $compile, $location, $ "_window_size": "828,453" // Apply Dynamic }, "content": { - "element": $rootScope.contentNotesForSaveCB, + "element": $scope.SectionContentForExportCB, } } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/services/AuthenticationService.js b/400-SOURCECODE/AIAHTML5.Web/app/services/AuthenticationService.js index 8e40571..8a1307d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/services/AuthenticationService.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/services/AuthenticationService.js @@ -71,7 +71,10 @@ $http.post('/API/api/saveAnimationVideo', JSON.stringify(vidData), { headers: { 'Content-Type': 'application/json' - } + }, + uploadEventHandlers: { progress: function(e) { + deferred.notify(e.loaded * 100 / e.total); + }} }) .success(function (data, status, headers, config) { console.log('success') diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/CBuild/curriculum-builder-detail.html b/400-SOURCECODE/AIAHTML5.Web/app/views/CBuild/curriculum-builder-detail.html index 87cdf14..8f3ed48 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/CBuild/curriculum-builder-detail.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/CBuild/curriculum-builder-detail.html @@ -293,6 +293,21 @@ + + + +
diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular-route.min.js b/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular-route.min.js index 428e668..87af262 100644 --- a/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular-route.min.js +++ b/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular-route.min.js @@ -1,51 +1,16 @@ -/* - AngularJS v1.4.9 - (c) 2010-2015 Google, Inc. http://angularjs.org +/* + AngularJS v1.5.7 + (c) 2010-2016 Google, Inc. http://angularjs.org License: MIT */ -(function (p, c, C) { - 'use strict'; function v(r, h, g) { - return { - restrict: "ECA", terminal: !0, priority: 400, transclude: "element", link: function (a, f, b, d, y) { - function z() { k && (g.cancel(k), k = null); l && (l.$destroy(), l = null); m && (k = g.leave(m), k.then(function () { k = null }), m = null) } function x() { - var b = r.current && r.current.locals; if (c.isDefined(b && b.$template)) { - var b = a.$new(), d = r.current; m = y(b, function (b) { g.enter(b, null, m || f).then(function () { !c.isDefined(t) || t && !a.$eval(t) || h() }); z() }); l = d.scope = b; l.$emit("$viewContentLoaded"); - l.$eval(w) - } else z() - } var l, m, k, t = b.autoscroll, w = b.onload || ""; a.$on("$routeChangeSuccess", x); x() - } - } - } function A(c, h, g) { return { restrict: "ECA", priority: -400, link: function (a, f) { var b = g.current, d = b.locals; f.html(d.$template); var y = c(f.contents()); b.controller && (d.$scope = a, d = h(b.controller, d), b.controllerAs && (a[b.controllerAs] = d), f.data("$ngControllerController", d), f.children().data("$ngControllerController", d)); y(a) } } } p = c.module("ngRoute", ["ng"]).provider("$route", function () { - function r(a, f) { - return c.extend(Object.create(a), - f) - } function h(a, c) { var b = c.caseInsensitiveMatch, d = { originalPath: a, regexp: a }, g = d.keys = []; a = a.replace(/([().])/g, "\\$1").replace(/(\/)?:(\w+)([\?\*])?/g, function (a, c, b, d) { a = "?" === d ? d : null; d = "*" === d ? d : null; g.push({ name: b, optional: !!a }); c = c || ""; return "" + (a ? "" : c) + "(?:" + (a ? c : "") + (d && "(.+?)" || "([^/]+)") + (a || "") + ")" + (a || "") }).replace(/([\/$\*])/g, "\\$1"); d.regexp = new RegExp("^" + a + "$", b ? "i" : ""); return d } var g = {}; this.when = function (a, f) { - var b = c.copy(f); c.isUndefined(b.reloadOnSearch) && (b.reloadOnSearch = !0); - c.isUndefined(b.caseInsensitiveMatch) && (b.caseInsensitiveMatch = this.caseInsensitiveMatch); g[a] = c.extend(b, a && h(a, b)); if (a) { var d = "/" == a[a.length - 1] ? a.substr(0, a.length - 1) : a + "/"; g[d] = c.extend({ redirectTo: a }, h(d, b)) } return this - }; this.caseInsensitiveMatch = !1; this.otherwise = function (a) { "string" === typeof a && (a = { redirectTo: a }); this.when(null, a); return this }; this.$get = ["$rootScope", "$location", "$routeParams", "$q", "$injector", "$templateRequest", "$sce", function (a, f, b, d, h, p, x) { - function l(b) { - var e = s.current; - (v = (n = k()) && e && n.$$route === e.$$route && c.equals(n.pathParams, e.pathParams) && !n.reloadOnSearch && !w) || !e && !n || a.$broadcast("$routeChangeStart", n, e).defaultPrevented && b && b.preventDefault() - } function m() { - var u = s.current, e = n; if (v) u.params = e.params, c.copy(u.params, b), a.$broadcast("$routeUpdate", u); else if (e || u) w = !1, (s.current = e) && e.redirectTo && (c.isString(e.redirectTo) ? f.path(t(e.redirectTo, e.params)).search(e.params).replace() : f.url(e.redirectTo(e.pathParams, f.path(), f.search())).replace()), d.when(e).then(function () { - if (e) { - var a = - c.extend({}, e.resolve), b, f; c.forEach(a, function (b, e) { a[e] = c.isString(b) ? h.get(b) : h.invoke(b, null, null, e) }); c.isDefined(b = e.template) ? c.isFunction(b) && (b = b(e.params)) : c.isDefined(f = e.templateUrl) && (c.isFunction(f) && (f = f(e.params)), c.isDefined(f) && (e.loadedTemplateUrl = x.valueOf(f), b = p(f))); c.isDefined(b) && (a.$template = b); return d.all(a) - } - }).then(function (f) { e == s.current && (e && (e.locals = f, c.copy(e.params, b)), a.$broadcast("$routeChangeSuccess", e, u)) }, function (b) { - e == s.current && a.$broadcast("$routeChangeError", - e, u, b) - }) - } function k() { var a, b; c.forEach(g, function (d, g) { var q; if (q = !b) { var h = f.path(); q = d.keys; var l = {}; if (d.regexp) if (h = d.regexp.exec(h)) { for (var k = 1, m = h.length; k < m; ++k) { var n = q[k - 1], p = h[k]; n && p && (l[n.name] = p) } q = l } else q = null; else q = null; q = a = q } q && (b = r(d, { params: c.extend({}, f.search(), a), pathParams: a }), b.$$route = d) }); return b || g[null] && r(g[null], { params: {}, pathParams: {} }) } function t(a, b) { - var d = []; c.forEach((a || "").split(":"), function (a, c) { - if (0 === c) d.push(a); else { - var f = a.match(/(\w+)(?:[?*])?(.*)/), - g = f[1]; d.push(b[g]); d.push(f[2] || ""); delete b[g] - } - }); return d.join("") - } var w = !1, n, v, s = { routes: g, reload: function () { w = !0; a.$evalAsync(function () { l(); m() }) }, updateParams: function (a) { if (this.current && this.current.$$route) a = c.extend({}, this.current.params, a), f.path(t(this.current.$$route.originalPath, a)), f.search(a); else throw B("norout"); } }; a.$on("$locationChangeStart", l); a.$on("$locationChangeSuccess", m); return s - }] - }); var B = c.$$minErr("ngRoute"); p.provider("$routeParams", function () { this.$get = function () { return {} } }); - p.directive("ngView", v); p.directive("ngView", A); v.$inject = ["$route", "$anchorScroll", "$animate"]; A.$inject = ["$compile", "$controller", "$route"] -})(window, window.angular); - +(function(F,d){'use strict';function x(t,l,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(b,e,a,c,k){function p(){m&&(g.cancel(m),m=null);h&&(h.$destroy(),h=null);n&&(m=g.leave(n),m.then(function(){m=null}),n=null)}function A(){var a=t.current&&t.current.locals;if(d.isDefined(a&&a.$template)){var a=b.$new(),c=t.current;n=k(a,function(a){g.enter(a,null,n||e).then(function(){!d.isDefined(z)||z&&!b.$eval(z)||l()});p()});h=c.scope=a;h.$emit("$viewContentLoaded"); +h.$eval(s)}else p()}var h,n,m,z=a.autoscroll,s=a.onload||"";b.$on("$routeChangeSuccess",A);A()}}}function w(d,l,g){return{restrict:"ECA",priority:-400,link:function(b,e){var a=g.current,c=a.locals;e.html(c.$template);var k=d(e.contents());if(a.controller){c.$scope=b;var p=l(a.controller,c);a.controllerAs&&(b[a.controllerAs]=p);e.data("$ngControllerController",p);e.children().data("$ngControllerController",p)}b[a.resolveAs||"$resolve"]=c;k(b)}}}var C=d.isArray,D=d.isObject,s=d.module("ngRoute",["ng"]).provider("$route", +function(){function t(b,e){return d.extend(Object.create(b),e)}function l(b,d){var a=d.caseInsensitiveMatch,c={originalPath:b,regexp:b},g=c.keys=[];b=b.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(b,a,d,c){b="?"===c||"*?"===c?"?":null;c="*"===c||"*?"===c?"*":null;g.push({name:d,optional:!!b});a=a||"";return""+(b?"":a)+"(?:"+(b?a:"")+(c&&"(.+?)"||"([^/]+)")+(b||"")+")"+(b||"")}).replace(/([\/$\*])/g,"\\$1");c.regexp=new RegExp("^"+b+"$",a?"i":"");return c}var g={};this.when= +function(b,e){var a;a=void 0;if(C(e)){a=a||[];for(var c=0,k=e.length;c= c; d--) f.end && f.end(e[d]); e.length = c } - } "string" !== typeof a && (a = null === a || "undefined" === typeof a ? "" : "" + a); var b, k, e = [], m = a, l; for (e.last = function () { return e[e.length - 1] }; a;) { - l = ""; k = !0; if (e.last() && w[e.last()]) a = a.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*" + e.last() + "[^>]*>", "i"), function (a, b) { b = b.replace(H, "$1").replace(I, "$1"); f.chars && f.chars(q(b)); return "" }), c("", e.last()); else { - if (0 === a.indexOf("\x3c!--")) b = a.indexOf("--", 4), 0 <= b && a.lastIndexOf("--\x3e", - b) === b && (f.comment && f.comment(a.substring(4, b)), a = a.substring(b + 3), k = !1); else if (x.test(a)) { if (b = a.match(x)) a = a.replace(b[0], ""), k = !1 } else if (J.test(a)) { if (b = a.match(y)) a = a.substring(b[0].length), b[0].replace(y, c), k = !1 } else K.test(a) && ((b = a.match(z)) ? (b[4] && (a = a.substring(b[0].length), b[0].replace(z, d)), k = !1) : (l += "<", a = a.substring(1))); k && (b = a.indexOf("<"), l += 0 > b ? a : a.substring(0, b), a = 0 > b ? "" : a.substring(b), f.chars && f.chars(q(l))) - } if (a == m) throw L("badparse", a); m = a - } c() - } function q(a) { - if (!a) return ""; A.innerHTML = - a.replace(//g, ">") } function r(a, f) { - var d = !1, c = h.bind(a, a.push); return { - start: function (a, k, e) { - a = h.lowercase(a); !d && w[a] && (d = a); d || !0 !== C[a] || (c("<"), c(a), h.forEach(k, function (d, e) { - var k = h.lowercase(e), g = "img" === a && "src" === k || - "background" === k; !0 !== O[k] || !0 === D[k] && !f(d, g) || (c(" "), c(e), c('="'), c(B(d)), c('"')) - }), c(e ? "/>" : ">")) - }, end: function (a) { a = h.lowercase(a); d || !0 !== C[a] || (c("")); a == d && (d = !1) }, chars: function (a) { d || c(B(a)) } - } - } var L = h.$$minErr("$sanitize"), z = /^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/, y = /^<\/\s*([\w:-]+)[^>]*>/, G = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g, K = /^]*?)>/i, - I = /"\u201d\u2019]/i, d = /^mailto:/i; return function (c, b) { - function k(a) { a && g.push(E(a)) } function e(a, - c) { g.push("'); k(c); g.push("") } if (!c) return c; for (var m, l = c, g = [], n, p; m = l.match(f) ;) n = m[0], m[2] || m[4] || (n = (m[3] ? "http://" : "mailto:") + n), p = m.index, k(l.substr(0, p)), e(n, m[0].replace(d, "")), l = l.substring(p + m[0].length); k(l); return a(g.join("")) - } - }]) -})(window, window.angular); - +(function(q,e){'use strict';function A(a){var c=[];v(c,e.noop).chars(a);return c.join("")}function h(a,c){var b={},d=a.split(","),l;for(l=0;l/g,">")}function v(a,c){var b=!1,d=e.bind(a,a.push);return{start:function(a,f){a=e.lowercase(a);!b&&F[a]&&(b=a);b||!0!==n[a]||(d("<"),d(a),e.forEach(f,function(b,f){var g=e.lowercase(f),h="img"===a&&"src"===g||"background"===g;!0!==G[g]||!0===y[g]&&!c(b,h)||(d(" "),d(f),d('="'),d(x(b)),d('"'))}),d(">"))},end:function(a){a=e.lowercase(a);b||!0!==n[a]||!0===z[a]||(d(""));a== +b&&(b=!1)},chars:function(a){b||d(x(a))}}}function r(a){if(a.nodeType===q.Node.ELEMENT_NODE)for(var c=a.attributes,b=0,d=c.length;b"\u201d\u2019]/i,b=/^mailto:/i,d=e.$$minErr("linky"),g=e.isString;return function(f,h,k){function m(a){a&&p.push(A(a))}function q(a,b){var c,d=r(a);p.push("');m(b);p.push("")}if(null==f||""===f)return f;if(!g(f))throw d("notstring",f);for(var r=e.isFunction(k)?k:e.isObject(k)?function(){return k}:function(){return{}},s=f,p=[],t,n;f=s.match(c);)t=f[0],f[2]||f[4]||(t=(f[3]?"http://":"mailto:")+t),n=f.index,m(s.substr(0,n)),q(t,f[0].replace(b,"")),s=s.substring(n+f[0].length);m(s);return a(p.join(""))}}])})(window,window.angular); +//# sourceMappingURL=angular-sanitize.min.js.map diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular.min.js b/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular.min.js index 71ea4e9..aa62c75 100644 --- a/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular.min.js +++ b/400-SOURCECODE/AIAHTML5.Web/libs/angular/1.4.9/angular.min.js @@ -1,1326 +1,316 @@ -/* - AngularJS v1.4.9 - (c) 2010-2015 Google, Inc. http://angularjs.org +/* + AngularJS v1.5.7 + (c) 2010-2016 Google, Inc. http://angularjs.org License: MIT */ -(function (S, W, w) { - 'use strict'; function M(a) { return function () { var b = arguments[0], d; d = "[" + (a ? a + ":" : "") + b + "] http://errors.angularjs.org/1.4.9/" + (a ? a + "/" : "") + b; for (b = 1; b < arguments.length; b++) { d = d + (1 == b ? "?" : "&") + "p" + (b - 1) + "="; var c = encodeURIComponent, e; e = arguments[b]; e = "function" == typeof e ? e.toString().replace(/ \{[\s\S]*$/, "") : "undefined" == typeof e ? "undefined" : "string" != typeof e ? JSON.stringify(e) : e; d += c(e) } return Error(d) } } function Aa(a) { - if (null == a || Xa(a)) return !1; if (E(a) || F(a) || A && a instanceof A) return !0; - var b = "length" in Object(a) && a.length; return Q(b) && (0 <= b && (b - 1 in a || a instanceof Array) || "function" == typeof a.item) - } function n(a, b, d) { - var c, e; if (a) if (B(a)) for (c in a) "prototype" == c || "length" == c || "name" == c || a.hasOwnProperty && !a.hasOwnProperty(c) || b.call(d, a[c], c, a); else if (E(a) || Aa(a)) { var f = "object" !== typeof a; c = 0; for (e = a.length; c < e; c++) (f || c in a) && b.call(d, a[c], c, a) } else if (a.forEach && a.forEach !== n) a.forEach(b, d, a); else if (oc(a)) for (c in a) b.call(d, a[c], c, a); else if ("function" === typeof a.hasOwnProperty) for (c in a) a.hasOwnProperty(c) && - b.call(d, a[c], c, a); else for (c in a) ra.call(a, c) && b.call(d, a[c], c, a); return a - } function pc(a, b, d) { for (var c = Object.keys(a).sort(), e = 0; e < c.length; e++) b.call(d, a[c[e]], c[e]); return c } function qc(a) { return function (b, d) { a(d, b) } } function Xd() { return ++ob } function Ob(a, b, d) { - for (var c = a.$$hashKey, e = 0, f = b.length; e < f; ++e) { - var g = b[e]; if (G(g) || B(g)) for (var h = Object.keys(g), k = 0, l = h.length; k < l; k++) { - var m = h[k], r = g[m]; d && G(r) ? da(r) ? a[m] = new Date(r.valueOf()) : La(r) ? a[m] = new RegExp(r) : r.nodeName ? a[m] = r.cloneNode(!0) : - Pb(r) ? a[m] = r.clone() : (G(a[m]) || (a[m] = E(r) ? [] : {}), Ob(a[m], [r], !0)) : a[m] = r - } - } c ? a.$$hashKey = c : delete a.$$hashKey; return a - } function N(a) { return Ob(a, sa.call(arguments, 1), !1) } function Yd(a) { return Ob(a, sa.call(arguments, 1), !0) } function Z(a) { return parseInt(a, 10) } function Qb(a, b) { return N(Object.create(a), b) } function z() { } function Ya(a) { return a } function na(a) { return function () { return a } } function rc(a) { return B(a.toString) && a.toString !== ta } function q(a) { return "undefined" === typeof a } function u(a) { - return "undefined" !== - typeof a - } function G(a) { return null !== a && "object" === typeof a } function oc(a) { return null !== a && "object" === typeof a && !sc(a) } function F(a) { return "string" === typeof a } function Q(a) { return "number" === typeof a } function da(a) { return "[object Date]" === ta.call(a) } function B(a) { return "function" === typeof a } function La(a) { return "[object RegExp]" === ta.call(a) } function Xa(a) { return a && a.window === a } function Za(a) { return a && a.$evalAsync && a.$watch } function $a(a) { return "boolean" === typeof a } function tc(a) { - return a && Q(a.length) && - Zd.test(ta.call(a)) - } function Pb(a) { return !(!a || !(a.nodeName || a.prop && a.attr && a.find)) } function $d(a) { var b = {}; a = a.split(","); var d; for (d = 0; d < a.length; d++) b[a[d]] = !0; return b } function oa(a) { return K(a.nodeName || a[0] && a[0].nodeName) } function ab(a, b) { var d = a.indexOf(b); 0 <= d && a.splice(d, 1); return d } function Ma(a, b) { - function d(a, b) { - var d = b.$$hashKey, e; if (E(a)) { e = 0; for (var f = a.length; e < f; e++) b.push(c(a[e])) } else if (oc(a)) for (e in a) b[e] = c(a[e]); else if (a && "function" === typeof a.hasOwnProperty) for (e in a) a.hasOwnProperty(e) && - (b[e] = c(a[e])); else for (e in a) ra.call(a, e) && (b[e] = c(a[e])); d ? b.$$hashKey = d : delete b.$$hashKey; return b - } function c(a) { if (!G(a)) return a; var b = e.indexOf(a); if (-1 !== b) return f[b]; if (Xa(a) || Za(a)) throw Ba("cpws"); var b = !1, c; E(a) ? (c = [], b = !0) : tc(a) ? c = new a.constructor(a) : da(a) ? c = new Date(a.getTime()) : La(a) ? (c = new RegExp(a.source, a.toString().match(/[^\/]*$/)[0]), c.lastIndex = a.lastIndex) : B(a.cloneNode) ? c = a.cloneNode(!0) : (c = Object.create(sc(a)), b = !0); e.push(a); f.push(c); return b ? d(a, c) : c } var e = [], f = []; if (b) { - if (tc(b)) throw Ba("cpta"); - if (a === b) throw Ba("cpi"); E(b) ? b.length = 0 : n(b, function (a, c) { "$$hashKey" !== c && delete b[c] }); e.push(a); f.push(b); return d(a, b) - } return c(a) - } function ha(a, b) { if (E(a)) { b = b || []; for (var d = 0, c = a.length; d < c; d++) b[d] = a[d] } else if (G(a)) for (d in b = b || {}, a) if ("$" !== d.charAt(0) || "$" !== d.charAt(1)) b[d] = a[d]; return b || a } function ka(a, b) { - if (a === b) return !0; if (null === a || null === b) return !1; if (a !== a && b !== b) return !0; var d = typeof a, c; if (d == typeof b && "object" == d) if (E(a)) { - if (!E(b)) return !1; if ((d = a.length) == b.length) { - for (c = - 0; c < d; c++) if (!ka(a[c], b[c])) return !1; return !0 - } - } else { if (da(a)) return da(b) ? ka(a.getTime(), b.getTime()) : !1; if (La(a)) return La(b) ? a.toString() == b.toString() : !1; if (Za(a) || Za(b) || Xa(a) || Xa(b) || E(b) || da(b) || La(b)) return !1; d = ea(); for (c in a) if ("$" !== c.charAt(0) && !B(a[c])) { if (!ka(a[c], b[c])) return !1; d[c] = !0 } for (c in b) if (!(c in d) && "$" !== c.charAt(0) && u(b[c]) && !B(b[c])) return !1; return !0 } return !1 - } function bb(a, b, d) { return a.concat(sa.call(b, d)) } function uc(a, b) { - var d = 2 < arguments.length ? sa.call(arguments, 2) : - []; return !B(b) || b instanceof RegExp ? b : d.length ? function () { return arguments.length ? b.apply(a, bb(d, arguments, 0)) : b.apply(a, d) } : function () { return arguments.length ? b.apply(a, arguments) : b.call(a) } - } function ae(a, b) { var d = b; "string" === typeof a && "$" === a.charAt(0) && "$" === a.charAt(1) ? d = w : Xa(b) ? d = "$WINDOW" : b && W === b ? d = "$DOCUMENT" : Za(b) && (d = "$SCOPE"); return d } function cb(a, b) { if ("undefined" === typeof a) return w; Q(b) || (b = b ? 2 : null); return JSON.stringify(a, ae, b) } function vc(a) { return F(a) ? JSON.parse(a) : a } function wc(a, - b) { var d = Date.parse("Jan 01, 1970 00:00:00 " + a) / 6E4; return isNaN(d) ? b : d } function Rb(a, b, d) { d = d ? -1 : 1; var c = wc(b, a.getTimezoneOffset()); b = a; a = d * (c - a.getTimezoneOffset()); b = new Date(b.getTime()); b.setMinutes(b.getMinutes() + a); return b } function ua(a) { a = A(a).clone(); try { a.empty() } catch (b) { } var d = A("
").append(a).html(); try { return a[0].nodeType === Na ? K(d) : d.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/, function (a, b) { return "<" + K(b) }) } catch (c) { return K(d) } } function xc(a) { try { return decodeURIComponent(a) } catch (b) { } } - function yc(a) { var b = {}; n((a || "").split("&"), function (a) { var c, e, f; a && (e = a = a.replace(/\+/g, "%20"), c = a.indexOf("="), -1 !== c && (e = a.substring(0, c), f = a.substring(c + 1)), e = xc(e), u(e) && (f = u(f) ? xc(f) : !0, ra.call(b, e) ? E(b[e]) ? b[e].push(f) : b[e] = [b[e], f] : b[e] = f)) }); return b } function Sb(a) { var b = []; n(a, function (a, c) { E(a) ? n(a, function (a) { b.push(ia(c, !0) + (!0 === a ? "" : "=" + ia(a, !0))) }) : b.push(ia(c, !0) + (!0 === a ? "" : "=" + ia(a, !0))) }); return b.length ? b.join("&") : "" } function pb(a) { - return ia(a, !0).replace(/%26/gi, "&").replace(/%3D/gi, - "=").replace(/%2B/gi, "+") - } function ia(a, b) { return encodeURIComponent(a).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%3B/gi, ";").replace(/%20/g, b ? "%20" : "+") } function be(a, b) { var d, c, e = Oa.length; for (c = 0; c < e; ++c) if (d = Oa[c] + b, F(d = a.getAttribute(d))) return d; return null } function ce(a, b) { - var d, c, e = {}; n(Oa, function (b) { b += "app"; !d && a.hasAttribute && a.hasAttribute(b) && (d = a, c = a.getAttribute(b)) }); n(Oa, function (b) { - b += "app"; var e; !d && (e = a.querySelector("[" + b.replace(":", - "\\:") + "]")) && (d = e, c = e.getAttribute(b)) - }); d && (e.strictDi = null !== be(d, "strict-di"), b(d, c ? [c] : [], e)) - } function zc(a, b, d) { - G(d) || (d = {}); d = N({ strictDi: !1 }, d); var c = function () { - a = A(a); if (a.injector()) { var c = a[0] === W ? "document" : ua(a); throw Ba("btstrpd", c.replace(//, ">")); } b = b || []; b.unshift(["$provide", function (b) { b.value("$rootElement", a) }]); d.debugInfoEnabled && b.push(["$compileProvider", function (a) { a.debugInfoEnabled(!0) }]); b.unshift("ng"); c = db(b, d.strictDi); c.invoke(["$rootScope", - "$rootElement", "$compile", "$injector", function (a, b, c, d) { a.$apply(function () { b.data("$injector", d); c(b)(a) }) }]); return c - }, e = /^NG_ENABLE_DEBUG_INFO!/, f = /^NG_DEFER_BOOTSTRAP!/; S && e.test(S.name) && (d.debugInfoEnabled = !0, S.name = S.name.replace(e, "")); if (S && !f.test(S.name)) return c(); S.name = S.name.replace(f, ""); $.resumeBootstrap = function (a) { n(a, function (a) { b.push(a) }); return c() }; B($.resumeDeferredBootstrap) && $.resumeDeferredBootstrap() - } function de() { S.name = "NG_ENABLE_DEBUG_INFO!" + S.name; S.location.reload() } - function ee(a) { a = $.element(a).injector(); if (!a) throw Ba("test"); return a.get("$$testability") } function Ac(a, b) { b = b || "_"; return a.replace(fe, function (a, c) { return (c ? b : "") + a.toLowerCase() }) } function ge() { - var a; if (!Bc) { - var b = qb(); (pa = q(b) ? S.jQuery : b ? S[b] : w) && pa.fn.on ? (A = pa, N(pa.fn, { scope: Pa.scope, isolateScope: Pa.isolateScope, controller: Pa.controller, injector: Pa.injector, inheritedData: Pa.inheritedData }), a = pa.cleanData, pa.cleanData = function (b) { - var c; if (Tb) Tb = !1; else for (var e = 0, f; null != (f = b[e]) ; e++) (c = - pa._data(f, "events")) && c.$destroy && pa(f).triggerHandler("$destroy"); a(b) - }) : A = P; $.element = A; Bc = !0 - } - } function rb(a, b, d) { if (!a) throw Ba("areq", b || "?", d || "required"); return a } function Qa(a, b, d) { d && E(a) && (a = a[a.length - 1]); rb(B(a), b, "not a function, got " + (a && "object" === typeof a ? a.constructor.name || "Object" : typeof a)); return a } function Ra(a, b) { if ("hasOwnProperty" === a) throw Ba("badname", b); } function Cc(a, b, d) { - if (!b) return a; b = b.split("."); for (var c, e = a, f = b.length, g = 0; g < f; g++) c = b[g], a && (a = (e = a)[c]); return !d && - B(a) ? uc(e, a) : a - } function sb(a) { for (var b = a[0], d = a[a.length - 1], c, e = 1; b !== d && (b = b.nextSibling) ; e++) if (c || a[e] !== b) c || (c = A(sa.call(a, 0, e))), c.push(b); return c || a } function ea() { return Object.create(null) } function he(a) { - function b(a, b, c) { return a[b] || (a[b] = c()) } var d = M("$injector"), c = M("ng"); a = b(a, "angular", Object); a.$$minErr = a.$$minErr || M; return b(a, "module", function () { - var a = {}; return function (f, g, h) { - if ("hasOwnProperty" === f) throw c("badname", "module"); g && a.hasOwnProperty(f) && (a[f] = null); return b(a, f, function () { - function a(b, - d, e, f) { f || (f = c); return function () { f[e || "push"]([b, d, arguments]); return y } } function b(a, d) { return function (b, e) { e && B(e) && (e.$$moduleName = f); c.push([a, d, arguments]); return y } } if (!g) throw d("nomod", f); var c = [], e = [], t = [], C = a("$injector", "invoke", "push", e), y = { - _invokeQueue: c, _configBlocks: e, _runBlocks: t, requires: g, name: f, provider: b("$provide", "provider"), factory: b("$provide", "factory"), service: b("$provide", "service"), value: a("$provide", "value"), constant: a("$provide", "constant", "unshift"), decorator: b("$provide", - "decorator"), animation: b("$animateProvider", "register"), filter: b("$filterProvider", "register"), controller: b("$controllerProvider", "register"), directive: b("$compileProvider", "directive"), config: C, run: function (a) { t.push(a); return this } - }; h && C(h); return y - }) - } - }) - } function ie(a) { - N(a, { - bootstrap: zc, copy: Ma, extend: N, merge: Yd, equals: ka, element: A, forEach: n, injector: db, noop: z, bind: uc, toJson: cb, fromJson: vc, identity: Ya, isUndefined: q, isDefined: u, isString: F, isFunction: B, isObject: G, isNumber: Q, isElement: Pb, isArray: E, - version: je, isDate: da, lowercase: K, uppercase: tb, callbacks: { counter: 0 }, getTestability: ee, $$minErr: M, $$csp: Ca, reloadWithDebugInfo: de - }); Ub = he(S); Ub("ng", ["ngLocale"], ["$provide", function (a) { - a.provider({ $$sanitizeUri: ke }); a.provider("$compile", Dc).directive({ - a: le, input: Ec, textarea: Ec, form: me, script: ne, select: oe, style: pe, option: qe, ngBind: re, ngBindHtml: se, ngBindTemplate: te, ngClass: ue, ngClassEven: ve, ngClassOdd: we, ngCloak: xe, ngController: ye, ngForm: ze, ngHide: Ae, ngIf: Be, ngInclude: Ce, ngInit: De, ngNonBindable: Ee, - ngPluralize: Fe, ngRepeat: Ge, ngShow: He, ngStyle: Ie, ngSwitch: Je, ngSwitchWhen: Ke, ngSwitchDefault: Le, ngOptions: Me, ngTransclude: Ne, ngModel: Oe, ngList: Pe, ngChange: Qe, pattern: Fc, ngPattern: Fc, required: Gc, ngRequired: Gc, minlength: Hc, ngMinlength: Hc, maxlength: Ic, ngMaxlength: Ic, ngValue: Re, ngModelOptions: Se - }).directive({ ngInclude: Te }).directive(ub).directive(Jc); a.provider({ - $anchorScroll: Ue, $animate: Ve, $animateCss: We, $$animateJs: Xe, $$animateQueue: Ye, $$AnimateRunner: Ze, $$animateAsyncRun: $e, $browser: af, $cacheFactory: bf, - $controller: cf, $document: df, $exceptionHandler: ef, $filter: Kc, $$forceReflow: ff, $interpolate: gf, $interval: hf, $http: jf, $httpParamSerializer: kf, $httpParamSerializerJQLike: lf, $httpBackend: mf, $xhrFactory: nf, $location: of, $log: pf, $parse: qf, $rootScope: rf, $q: sf, $$q: tf, $sce: uf, $sceDelegate: vf, $sniffer: wf, $templateCache: xf, $templateRequest: yf, $$testability: zf, $timeout: Af, $window: Bf, $$rAF: Cf, $$jqLite: Df, $$HashMap: Ef, $$cookieReader: Ff - }) - }]) - } function eb(a) { - return a.replace(Gf, function (a, d, c, e) { - return e ? c.toUpperCase() : - c - }).replace(Hf, "Moz$1") - } function Lc(a) { a = a.nodeType; return 1 === a || !a || 9 === a } function Mc(a, b) { var d, c, e = b.createDocumentFragment(), f = []; if (Vb.test(a)) { d = d || e.appendChild(b.createElement("div")); c = (If.exec(a) || ["", ""])[1].toLowerCase(); c = ja[c] || ja._default; d.innerHTML = c[1] + a.replace(Jf, "<$1>") + c[2]; for (c = c[0]; c--;) d = d.lastChild; f = bb(f, d.childNodes); d = e.firstChild; d.textContent = "" } else f.push(b.createTextNode(a)); e.textContent = ""; e.innerHTML = ""; n(f, function (a) { e.appendChild(a) }); return e } function P(a) { - if (a instanceof - P) return a; var b; F(a) && (a = T(a), b = !0); if (!(this instanceof P)) { if (b && "<" != a.charAt(0)) throw Wb("nosel"); return new P(a) } if (b) { b = W; var d; a = (d = Kf.exec(a)) ? [b.createElement(d[1])] : (d = Mc(a, b)) ? d.childNodes : [] } Nc(this, a) - } function Xb(a) { return a.cloneNode(!0) } function vb(a, b) { b || wb(a); if (a.querySelectorAll) for (var d = a.querySelectorAll("*"), c = 0, e = d.length; c < e; c++) wb(d[c]) } function Oc(a, b, d, c) { - if (u(c)) throw Wb("offargs"); var e = (c = xb(a)) && c.events, f = c && c.handle; if (f) if (b) { - var g = function (b) { - var c = e[b]; u(d) && - ab(c || [], d); u(d) && c && 0 < c.length || (a.removeEventListener(b, f, !1), delete e[b]) - }; n(b.split(" "), function (a) { g(a); yb[a] && g(yb[a]) }) - } else for (b in e) "$destroy" !== b && a.removeEventListener(b, f, !1), delete e[b] - } function wb(a, b) { var d = a.ng339, c = d && fb[d]; c && (b ? delete c.data[b] : (c.handle && (c.events.$destroy && c.handle({}, "$destroy"), Oc(a)), delete fb[d], a.ng339 = w)) } function xb(a, b) { var d = a.ng339, d = d && fb[d]; b && !d && (a.ng339 = d = ++Lf, d = fb[d] = { events: {}, data: {}, handle: w }); return d } function Yb(a, b, d) { - if (Lc(a)) { - var c = - u(d), e = !c && b && !G(b), f = !b; a = (a = xb(a, !e)) && a.data; if (c) a[b] = d; else { if (f) return a; if (e) return a && a[b]; N(a, b) } - } - } function zb(a, b) { return a.getAttribute ? -1 < (" " + (a.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").indexOf(" " + b + " ") : !1 } function Ab(a, b) { b && a.setAttribute && n(b.split(" "), function (b) { a.setAttribute("class", T((" " + (a.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").replace(" " + T(b) + " ", " "))) }) } function Bb(a, b) { - if (b && a.setAttribute) { - var d = (" " + (a.getAttribute("class") || "") + " ").replace(/[\n\t]/g, - " "); n(b.split(" "), function (a) { a = T(a); -1 === d.indexOf(" " + a + " ") && (d += a + " ") }); a.setAttribute("class", T(d)) - } - } function Nc(a, b) { if (b) if (b.nodeType) a[a.length++] = b; else { var d = b.length; if ("number" === typeof d && b.window !== b) { if (d) for (var c = 0; c < d; c++) a[a.length++] = b[c] } else a[a.length++] = b } } function Pc(a, b) { return Cb(a, "$" + (b || "ngController") + "Controller") } function Cb(a, b, d) { - 9 == a.nodeType && (a = a.documentElement); for (b = E(b) ? b : [b]; a;) { - for (var c = 0, e = b.length; c < e; c++) if (u(d = A.data(a, b[c]))) return d; a = a.parentNode || - 11 === a.nodeType && a.host - } - } function Qc(a) { for (vb(a, !0) ; a.firstChild;) a.removeChild(a.firstChild) } function Zb(a, b) { b || vb(a); var d = a.parentNode; d && d.removeChild(a) } function Mf(a, b) { b = b || S; if ("complete" === b.document.readyState) b.setTimeout(a); else A(b).on("load", a) } function Rc(a, b) { var d = Db[b.toLowerCase()]; return d && Sc[oa(a)] && d } function Nf(a, b) { - var d = function (c, d) { - c.isDefaultPrevented = function () { return c.defaultPrevented }; var f = b[d || c.type], g = f ? f.length : 0; if (g) { - if (q(c.immediatePropagationStopped)) { - var h = - c.stopImmediatePropagation; c.stopImmediatePropagation = function () { c.immediatePropagationStopped = !0; c.stopPropagation && c.stopPropagation(); h && h.call(c) } - } c.isImmediatePropagationStopped = function () { return !0 === c.immediatePropagationStopped }; var k = f.specialHandlerWrapper || Of; 1 < g && (f = ha(f)); for (var l = 0; l < g; l++) c.isImmediatePropagationStopped() || k(a, c, f[l]) - } - }; d.elem = a; return d - } function Of(a, b, d) { d.call(a, b) } function Pf(a, b, d) { var c = b.relatedTarget; c && (c === a || Qf.call(a, c)) || d.call(a, b) } function Df() { - this.$get = - function () { return N(P, { hasClass: function (a, b) { a.attr && (a = a[0]); return zb(a, b) }, addClass: function (a, b) { a.attr && (a = a[0]); return Bb(a, b) }, removeClass: function (a, b) { a.attr && (a = a[0]); return Ab(a, b) } }) } - } function Da(a, b) { var d = a && a.$$hashKey; if (d) return "function" === typeof d && (d = a.$$hashKey()), d; d = typeof a; return d = "function" == d || "object" == d && null !== a ? a.$$hashKey = d + ":" + (b || Xd)() : d + ":" + a } function Sa(a, b) { if (b) { var d = 0; this.nextUid = function () { return ++d } } n(a, this.put, this) } function Rf(a) { - return (a = a.toString().replace(Tc, - "").match(Uc)) ? "function(" + (a[1] || "").replace(/[\s\r\n]+/, " ") + ")" : "fn" - } function db(a, b) { - function d(a) { return function (b, c) { if (G(b)) n(b, qc(a)); else return a(b, c) } } function c(a, b) { Ra(a, "service"); if (B(b) || E(b)) b = t.instantiate(b); if (!b.$get) throw Ea("pget", a); return r[a + "Provider"] = b } function e(a, b) { return function () { var c = y.invoke(b, this); if (q(c)) throw Ea("undef", a); return c } } function f(a, b, d) { return c(a, { $get: !1 !== d ? e(a, b) : b }) } function g(a) { - rb(q(a) || E(a), "modulesToLoad", "not an array"); var b = [], c; - n(a, function (a) { function d(a) { var b, c; b = 0; for (c = a.length; b < c; b++) { var e = a[b], f = t.get(e[0]); f[e[1]].apply(f, e[2]) } } if (!m.get(a)) { m.put(a, !0); try { F(a) ? (c = Ub(a), b = b.concat(g(c.requires)).concat(c._runBlocks), d(c._invokeQueue), d(c._configBlocks)) : B(a) ? b.push(t.invoke(a)) : E(a) ? b.push(t.invoke(a)) : Qa(a, "module") } catch (e) { throw E(a) && (a = a[a.length - 1]), e.message && e.stack && -1 == e.stack.indexOf(e.message) && (e = e.message + "\n" + e.stack), Ea("modulerr", a, e.stack || e.message || e); } } }); return b - } function h(a, c) { - function d(b, - e) { if (a.hasOwnProperty(b)) { if (a[b] === k) throw Ea("cdep", b + " <- " + l.join(" <- ")); return a[b] } try { return l.unshift(b), a[b] = k, a[b] = c(b, e) } catch (f) { throw a[b] === k && delete a[b], f; } finally { l.shift() } } function e(a, c, f, g) { "string" === typeof f && (g = f, f = null); var k = [], h = db.$$annotate(a, b, g), l, m, t; m = 0; for (l = h.length; m < l; m++) { t = h[m]; if ("string" !== typeof t) throw Ea("itkn", t); k.push(f && f.hasOwnProperty(t) ? f[t] : d(t, g)) } E(a) && (a = a[l]); return a.apply(c, k) } return { - invoke: e, instantiate: function (a, b, c) { - var d = Object.create((E(a) ? - a[a.length - 1] : a).prototype || null); a = e(a, d, b, c); return G(a) || B(a) ? a : d - }, get: d, annotate: db.$$annotate, has: function (b) { return r.hasOwnProperty(b + "Provider") || a.hasOwnProperty(b) } - } - } b = !0 === b; var k = {}, l = [], m = new Sa([], !0), r = { - $provide: { - provider: d(c), factory: d(f), service: d(function (a, b) { return f(a, ["$injector", function (a) { return a.instantiate(b) }]) }), value: d(function (a, b) { return f(a, na(b), !1) }), constant: d(function (a, b) { Ra(a, "constant"); r[a] = b; C[a] = b }), decorator: function (a, b) { - var c = t.get(a + "Provider"), d = c.$get; - c.$get = function () { var a = y.invoke(d, c); return y.invoke(b, null, { $delegate: a }) } - } - } - }, t = r.$injector = h(r, function (a, b) { $.isString(b) && l.push(b); throw Ea("unpr", l.join(" <- ")); }), C = {}, y = C.$injector = h(C, function (a, b) { var c = t.get(a + "Provider", b); return y.invoke(c.$get, c, w, a) }); n(g(a), function (a) { a && y.invoke(a) }); return y - } function Ue() { - var a = !0; this.disableAutoScrolling = function () { a = !1 }; this.$get = ["$window", "$location", "$rootScope", function (b, d, c) { - function e(a) { - var b = null; Array.prototype.some.call(a, function (a) { - if ("a" === - oa(a)) return b = a, !0 - }); return b - } function f(a) { if (a) { a.scrollIntoView(); var c; c = g.yOffset; B(c) ? c = c() : Pb(c) ? (c = c[0], c = "fixed" !== b.getComputedStyle(c).position ? 0 : c.getBoundingClientRect().bottom) : Q(c) || (c = 0); c && (a = a.getBoundingClientRect().top, b.scrollBy(0, a - c)) } else b.scrollTo(0, 0) } function g(a) { a = F(a) ? a : d.hash(); var b; a ? (b = h.getElementById(a)) ? f(b) : (b = e(h.getElementsByName(a))) ? f(b) : "top" === a && f(null) : f(null) } var h = b.document; a && c.$watch(function () { return d.hash() }, function (a, b) { a === b && "" === a || Mf(function () { c.$evalAsync(g) }) }); - return g - }] - } function gb(a, b) { if (!a && !b) return ""; if (!a) return b; if (!b) return a; E(a) && (a = a.join(" ")); E(b) && (b = b.join(" ")); return a + " " + b } function Sf(a) { F(a) && (a = a.split(" ")); var b = ea(); n(a, function (a) { a.length && (b[a] = !0) }); return b } function Fa(a) { return G(a) ? a : {} } function Tf(a, b, d, c) { - function e(a) { try { a.apply(null, sa.call(arguments, 1)) } finally { if (y--, 0 === y) for (; R.length;) try { R.pop()() } catch (b) { d.error(b) } } } function f() { H = null; g(); h() } function g() { - a: { try { p = m.state; break a } catch (a) { } p = void 0 } p = q(p) ? - null : p; ka(p, D) && (p = D); D = p - } function h() { if (v !== k.url() || x !== p) v = k.url(), x = p, n(la, function (a) { a(k.url(), p) }) } var k = this, l = a.location, m = a.history, r = a.setTimeout, t = a.clearTimeout, C = {}; k.isMock = !1; var y = 0, R = []; k.$$completeOutstandingRequest = e; k.$$incOutstandingRequestCount = function () { y++ }; k.notifyWhenNoOutstandingRequests = function (a) { 0 === y ? a() : R.push(a) }; var p, x, v = l.href, Y = b.find("base"), H = null; g(); x = p; k.url = function (b, d, e) { - q(e) && (e = null); l !== a.location && (l = a.location); m !== a.history && (m = a.history); if (b) { - var f = - x === e; if (v === b && (!c.history || f)) return k; var h = v && Ga(v) === Ga(b); v = b; x = e; if (!c.history || h && f) { if (!h || H) H = b; d ? l.replace(b) : h ? (d = l, e = b.indexOf("#"), e = -1 === e ? "" : b.substr(e), d.hash = e) : l.href = b; l.href !== b && (H = b) } else m[d ? "replaceState" : "pushState"](e, "", b), g(), x = p; return k - } return H || l.href.replace(/%27/g, "'") - }; k.state = function () { return p }; var la = [], I = !1, D = null; k.onUrlChange = function (b) { if (!I) { if (c.history) A(a).on("popstate", f); A(a).on("hashchange", f); I = !0 } la.push(b); return b }; k.$$applicationDestroyed = function () { - A(a).off("hashchange popstate", - f) - }; k.$$checkUrlChange = h; k.baseHref = function () { var a = Y.attr("href"); return a ? a.replace(/^(https?\:)?\/\/[^\/]*/, "") : "" }; k.defer = function (a, b) { var c; y++; c = r(function () { delete C[c]; e(a) }, b || 0); C[c] = !0; return c }; k.defer.cancel = function (a) { return C[a] ? (delete C[a], t(a), e(z), !0) : !1 } - } function af() { this.$get = ["$window", "$log", "$sniffer", "$document", function (a, b, d, c) { return new Tf(a, c, b, d) }] } function bf() { - this.$get = function () { - function a(a, c) { - function e(a) { - a != r && (t ? t == a && (t = a.n) : t = a, f(a.n, a.p), f(a, r), r = a, - r.n = null) - } function f(a, b) { a != b && (a && (a.p = b), b && (b.n = a)) } if (a in b) throw M("$cacheFactory")("iid", a); var g = 0, h = N({}, c, { id: a }), k = ea(), l = c && c.capacity || Number.MAX_VALUE, m = ea(), r = null, t = null; return b[a] = { - put: function (a, b) { if (!q(b)) { if (l < Number.MAX_VALUE) { var c = m[a] || (m[a] = { key: a }); e(c) } a in k || g++; k[a] = b; g > l && this.remove(t.key); return b } }, get: function (a) { if (l < Number.MAX_VALUE) { var b = m[a]; if (!b) return; e(b) } return k[a] }, remove: function (a) { - if (l < Number.MAX_VALUE) { - var b = m[a]; if (!b) return; b == r && (r = b.p); b == - t && (t = b.n); f(b.n, b.p); delete m[a] - } a in k && (delete k[a], g--) - }, removeAll: function () { k = ea(); g = 0; m = ea(); r = t = null }, destroy: function () { m = h = k = null; delete b[a] }, info: function () { return N({}, h, { size: g }) } - } - } var b = {}; a.info = function () { var a = {}; n(b, function (b, e) { a[e] = b.info() }); return a }; a.get = function (a) { return b[a] }; return a - } - } function xf() { this.$get = ["$cacheFactory", function (a) { return a("templates") }] } function Dc(a, b) { - function d(a, b, c) { - var d = /^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/, e = {}; n(a, function (a, f) { - var g = a.match(d); - if (!g) throw ga("iscp", b, f, a, c ? "controller bindings definition" : "isolate scope definition"); e[f] = { mode: g[1][0], collection: "*" === g[2], optional: "?" === g[3], attrName: g[4] || f } - }); return e - } function c(a) { var b = a.charAt(0); if (!b || b !== K(b)) throw ga("baddir", a); if (a !== a.trim()) throw ga("baddir", a); } var e = {}, f = /^\s*directive\:\s*([\w\-]+)\s+(.*)$/, g = /(([\w\-]+)(?:\:([^;]+))?;?)/, h = $d("ngSrc,ngSrcset,src,srcset"), k = /^(?:(\^\^?)?(\?)?(\^\^?)?)?/, l = /^(on[a-z]+|formaction)$/; this.directive = function t(b, f) { - Ra(b, "directive"); - F(b) ? (c(b), rb(f, "directiveFactory"), e.hasOwnProperty(b) || (e[b] = [], a.factory(b + "Directive", ["$injector", "$exceptionHandler", function (a, c) { - var f = []; n(e[b], function (e, g) { - try { - var h = a.invoke(e); B(h) ? h = { compile: na(h) } : !h.compile && h.link && (h.compile = na(h.link)); h.priority = h.priority || 0; h.index = g; h.name = h.name || b; h.require = h.require || h.controller && h.name; h.restrict = h.restrict || "EA"; var k = h, l = h, m = h.name, t = { isolateScope: null, bindToController: null }; G(l.scope) && (!0 === l.bindToController ? (t.bindToController = d(l.scope, - m, !0), t.isolateScope = {}) : t.isolateScope = d(l.scope, m, !1)); G(l.bindToController) && (t.bindToController = d(l.bindToController, m, !0)); if (G(t.bindToController)) { var y = l.controller, X = l.controllerAs; if (!y) throw ga("noctrl", m); var U; a: if (X && F(X)) U = X; else { if (F(y)) { var n = Vc.exec(y); if (n) { U = n[3]; break a } } U = void 0 } if (!U) throw ga("noident", m); } var s = k.$$bindings = t; G(s.isolateScope) && (h.$$isolateBindings = s.isolateScope); h.$$moduleName = e.$$moduleName; f.push(h) - } catch (w) { c(w) } - }); return f - }])), e[b].push(f)) : n(b, qc(t)); - return this - }; this.aHrefSanitizationWhitelist = function (a) { return u(a) ? (b.aHrefSanitizationWhitelist(a), this) : b.aHrefSanitizationWhitelist() }; this.imgSrcSanitizationWhitelist = function (a) { return u(a) ? (b.imgSrcSanitizationWhitelist(a), this) : b.imgSrcSanitizationWhitelist() }; var m = !0; this.debugInfoEnabled = function (a) { return u(a) ? (m = a, this) : m }; this.$get = ["$injector", "$interpolate", "$exceptionHandler", "$templateRequest", "$parse", "$controller", "$rootScope", "$sce", "$animate", "$$sanitizeUri", function (a, b, c, - d, p, x, v, Y, H, la) { - function I(a, b) { try { a.addClass(b) } catch (c) { } } function D(a, b, c, d, e) { - a instanceof A || (a = A(a)); n(a, function (b, c) { b.nodeType == Na && b.nodeValue.match(/\S+/) && (a[c] = A(b).wrap("").parent()[0]) }); var f = L(a, b, a, c, d, e); D.$$addScopeClass(a); var g = null; return function (b, c, d) { - rb(b, "scope"); e && e.needsNewScope && (b = b.$parent.$new()); d = d || {}; var h = d.parentBoundTranscludeFn, k = d.transcludeControllers; d = d.futureParentElement; h && h.$$boundTransclude && (h = h.$$boundTransclude); g || (g = (d = d && d[0]) ? - "foreignobject" !== oa(d) && d.toString().match(/SVG/) ? "svg" : "html" : "html"); d = "html" !== g ? A(Q(g, A("
").append(a).html())) : c ? Pa.clone.call(a) : a; if (k) for (var l in k) d.data("$" + l + "Controller", k[l].instance); D.$$addScopeInfo(d, b); c && c(d, b); f && f(b, d, d, h); return d - } - } function L(a, b, c, d, e, f) { - function g(a, c, d, e) { - var f, k, l, m, t, v, I; if (p) for (I = Array(c.length), m = 0; m < h.length; m += 3) f = h[m], I[f] = c[f]; else I = c; m = 0; for (t = h.length; m < t;) k = I[h[m++]], c = h[m++], f = h[m++], c ? (c.scope ? (l = a.$new(), D.$$addScopeInfo(A(k), l)) : l = a, - v = c.transcludeOnThisElement ? O(a, c.transclude, e) : !c.templateOnThisElement && e ? e : !e && b ? O(a, b) : null, c(f, l, k, d, v)) : f && f(a, k.childNodes, w, e) - } for (var h = [], k, l, m, t, p, v = 0; v < a.length; v++) { k = new aa; l = X(a[v], [], k, 0 === v ? d : w, e); (f = l.length ? s(l, a[v], k, b, c, null, [], [], f) : null) && f.scope && D.$$addScopeClass(k.$$element); k = f && f.terminal || !(m = a[v].childNodes) || !m.length ? null : L(m, f ? (f.transcludeOnThisElement || !f.templateOnThisElement) && f.transclude : b); if (f || k) h.push(v, f, k), t = !0, p = p || f; f = null } return t ? g : null - } function O(a, - b, c) { return function (d, e, f, g, h) { d || (d = a.$new(!1, h), d.$$transcluded = !0); return b(d, e, { parentBoundTranscludeFn: c, transcludeControllers: f, futureParentElement: g }) } } function X(a, b, c, d, e) { - var h = c.$attr, k; switch (a.nodeType) { - case 1: u(b, va(oa(a)), "E", d, e); for (var l, m, t, p = a.attributes, v = 0, I = p && p.length; v < I; v++) { - var L = !1, C = !1; l = p[v]; k = l.name; m = T(l.value); l = va(k); if (t = ia.test(l)) k = k.replace(Yc, "").substr(8).replace(/_(.)/g, function (a, b) { return b.toUpperCase() }); (l = l.match(ja)) && fa(l[1]) && (L = k, C = k.substr(0, k.length - - 5) + "end", k = k.substr(0, k.length - 6)); l = va(k.toLowerCase()); h[l] = k; if (t || !c.hasOwnProperty(l)) c[l] = m, Rc(a, l) && (c[l] = !0); P(a, b, m, l, t); u(b, l, "A", d, e, L, C) - } a = a.className; G(a) && (a = a.animVal); if (F(a) && "" !== a) for (; k = g.exec(a) ;) l = va(k[2]), u(b, l, "C", d, e) && (c[l] = T(k[3])), a = a.substr(k.index + k[0].length); break; case Na: if (11 === Ha) for (; a.parentNode && a.nextSibling && a.nextSibling.nodeType === Na;) a.nodeValue += a.nextSibling.nodeValue, a.parentNode.removeChild(a.nextSibling); J(b, a.nodeValue); break; case 8: try { - if (k = f.exec(a.nodeValue)) l = - va(k[1]), u(b, l, "M", d, e) && (c[l] = T(k[2])) - } catch (X) { } - } b.sort(wa); return b - } function U(a, b, c) { var d = [], e = 0; if (b && a.hasAttribute && a.hasAttribute(b)) { do { if (!a) throw ga("uterdir", b, c); 1 == a.nodeType && (a.hasAttribute(b) && e++, a.hasAttribute(c) && e--); d.push(a); a = a.nextSibling } while (0 < e) } else d.push(a); return A(d) } function Ta(a, b, c) { return function (d, e, f, g, h) { e = U(e[0], b, c); return a(d, e, f, g, h) } } function s(a, b, d, e, f, g, h, l, m) { - function t(a, b, c, d) { - if (a) { - c && (a = Ta(a, c, d)); a.require = q.require; a.directiveName = z; if (O === - q || q.$$isolateScope) a = ba(a, { isolateScope: !0 }); h.push(a) - } if (b) { c && (b = Ta(b, c, d)); b.require = q.require; b.directiveName = z; if (O === q || q.$$isolateScope) b = ba(b, { isolateScope: !0 }); l.push(b) } - } function p(a, b, c, d) { - var e; if (F(b)) { var f = b.match(k); b = b.substring(f[0].length); var g = f[1] || f[3], f = "?" === f[2]; "^^" === g ? c = c.parent() : e = (e = d && d[b]) && e.instance; e || (d = "$" + b + "Controller", e = g ? c.inheritedData(d) : c.data(d)); if (!e && !f) throw ga("ctreq", b, a); } else if (E(b)) for (e = [], g = 0, f = b.length; g < f; g++) e[g] = p(a, b[g], c, d); return e || - null - } function v(a, b, c, d, e, f) { var g = ea(), h; for (h in d) { var k = d[h], l = { $scope: k === O || k.$$isolateScope ? e : f, $element: a, $attrs: b, $transclude: c }, m = k.controller; "@" == m && (m = b[k.name]); l = x(m, l, !0, k.controllerAs); g[k.name] = l; hb || a.data("$" + k.name + "Controller", l.instance) } return g } function I(a, c, e, f, g) { - function k(a, b, c) { var d; Za(a) || (c = b, b = a, a = w); hb && (d = X); c || (c = hb ? x.parent() : x); return g(a, b, d, c, Ta) } var m, t, L, X, y, x, U; b === e ? (f = d, x = d.$$element) : (x = A(e), f = new aa(x, d)); L = c; O ? t = c.$new(!0) : C && (L = c.$parent); g && (y = k, - y.$$boundTransclude = g); R && (X = v(x, f, y, R, t, c)); O && (D.$$addScopeInfo(x, t, !0, !(n && (n === O || n === O.$$originalDirective))), D.$$addScopeClass(x, !0), t.$$isolateBindings = O.$$isolateBindings, (U = Z(c, f, t, t.$$isolateBindings, O)) && t.$on("$destroy", U)); for (var Xc in X) { U = R[Xc]; var Y = X[Xc], H = U.$$bindings.bindToController; Y.identifier && H && (m = Z(L, f, Y.instance, H, U)); var q = Y(); q !== Y.instance && (Y.instance = q, x.data("$" + U.name + "Controller", q), m && m(), m = Z(L, f, Y.instance, H, U)) } fa = 0; for (K = h.length; fa < K; fa++) m = h[fa], ca(m, m.isolateScope ? - t : c, x, f, m.require && p(m.directiveName, m.require, x, X), y); var Ta = c; O && (O.template || null === O.templateUrl) && (Ta = t); a && a(Ta, e.childNodes, w, g); for (fa = l.length - 1; 0 <= fa; fa--) m = l[fa], ca(m, m.isolateScope ? t : c, x, f, m.require && p(m.directiveName, m.require, x, X), y) - } m = m || {}; for (var L = -Number.MAX_VALUE, C = m.newScopeDirective, R = m.controllerDirectives, O = m.newIsolateScopeDirective, n = m.templateDirective, Y = m.nonTlbTranscludeDirective, H = !1, la = !1, hb = m.hasElementTranscludeDirective, u = d.$$element = A(b), q, z, J, ib = e, wa, fa = 0, K = a.length; fa < - K; fa++) { - q = a[fa]; var N = q.$$start, P = q.$$end; N && (u = U(b, N, P)); J = w; if (L > q.priority) break; if (J = q.scope) q.templateUrl || (G(J) ? (Ua("new/isolated scope", O || C, q, u), O = q) : Ua("new/isolated scope", O, q, u)), C = C || q; z = q.name; !q.templateUrl && q.controller && (J = q.controller, R = R || ea(), Ua("'" + z + "' controller", R[z], q, u), R[z] = q); if (J = q.transclude) H = !0, q.$$tlb || (Ua("transclusion", Y, q, u), Y = q), "element" == J ? (hb = !0, L = q.priority, J = u, u = d.$$element = A(W.createComment(" " + z + ": " + d[z] + " ")), b = u[0], V(f, sa.call(J, 0), b), ib = D(J, e, L, g && g.name, - { nonTlbTranscludeDirective: Y })) : (J = A(Xb(b)).contents(), u.empty(), ib = D(J, e, w, w, { needsNewScope: q.$$isolateScope || q.$$newScope })); if (q.template) if (la = !0, Ua("template", n, q, u), n = q, J = B(q.template) ? q.template(u, d) : q.template, J = ha(J), q.replace) { g = q; J = Vb.test(J) ? Zc(Q(q.templateNamespace, T(J))) : []; b = J[0]; if (1 != J.length || 1 !== b.nodeType) throw ga("tplrt", z, ""); V(f, u, b); J = { $attr: {} }; var Eb = X(b, [], J), $ = a.splice(fa + 1, a.length - (fa + 1)); (O || C) && Wc(Eb, O, C); a = a.concat(Eb).concat($); M(d, J); K = a.length } else u.html(J); if (q.templateUrl) la = - !0, Ua("template", n, q, u), n = q, q.replace && (g = q), I = S(a.splice(fa, a.length - fa), u, d, f, H && ib, h, l, { controllerDirectives: R, newScopeDirective: C !== q && C, newIsolateScopeDirective: O, templateDirective: n, nonTlbTranscludeDirective: Y }), K = a.length; else if (q.compile) try { wa = q.compile(u, d, ib), B(wa) ? t(null, wa, N, P) : wa && t(wa.pre, wa.post, N, P) } catch (da) { c(da, ua(u)) } q.terminal && (I.terminal = !0, L = Math.max(L, q.priority)) - } I.scope = C && !0 === C.scope; I.transcludeOnThisElement = H; I.templateOnThisElement = la; I.transclude = ib; m.hasElementTranscludeDirective = - hb; return I - } function Wc(a, b, c) { for (var d = 0, e = a.length; d < e; d++) a[d] = Qb(a[d], { $$isolateScope: b, $$newScope: c }) } function u(b, d, f, g, h, k, l) { if (d === h) return null; h = null; if (e.hasOwnProperty(d)) { var m; d = a.get(d + "Directive"); for (var p = 0, v = d.length; p < v; p++) try { m = d[p], (q(g) || g > m.priority) && -1 != m.restrict.indexOf(f) && (k && (m = Qb(m, { $$start: k, $$end: l })), b.push(m), h = m) } catch (I) { c(I) } } return h } function fa(b) { - if (e.hasOwnProperty(b)) for (var c = a.get(b + "Directive"), d = 0, f = c.length; d < f; d++) if (b = c[d], b.multiElement) return !0; - return !1 - } function M(a, b) { var c = b.$attr, d = a.$attr, e = a.$$element; n(a, function (d, e) { "$" != e.charAt(0) && (b[e] && b[e] !== d && (d += ("style" === e ? ";" : " ") + b[e]), a.$set(e, d, !0, c[e])) }); n(b, function (b, f) { "class" == f ? (I(e, b), a["class"] = (a["class"] ? a["class"] + " " : "") + b) : "style" == f ? (e.attr("style", e.attr("style") + ";" + b), a.style = (a.style ? a.style + ";" : "") + b) : "$" == f.charAt(0) || a.hasOwnProperty(f) || (a[f] = b, d[f] = c[f]) }) } function S(a, b, c, e, f, g, h, k) { - var l = [], m, t, p = b[0], v = a.shift(), C = Qb(v, { - templateUrl: null, transclude: null, replace: null, - $$originalDirective: v - }), x = B(v.templateUrl) ? v.templateUrl(b, c) : v.templateUrl, y = v.templateNamespace; b.empty(); d(x).then(function (d) { - var R, D; d = ha(d); if (v.replace) { d = Vb.test(d) ? Zc(Q(y, T(d))) : []; R = d[0]; if (1 != d.length || 1 !== R.nodeType) throw ga("tplrt", v.name, x); d = { $attr: {} }; V(e, b, R); var U = X(R, [], d); G(v.scope) && Wc(U, !0); a = U.concat(a); M(c, d) } else R = p, b.html(d); a.unshift(C); m = s(a, R, c, f, b, v, g, h, k); n(e, function (a, c) { a == R && (e[c] = b[0]) }); for (t = L(b[0].childNodes, f) ; l.length;) { - d = l.shift(); D = l.shift(); var Y = l.shift(), - H = l.shift(), U = b[0]; if (!d.$$destroyed) { if (D !== p) { var q = D.className; k.hasElementTranscludeDirective && v.replace || (U = Xb(R)); V(Y, A(D), U); I(A(U), q) } D = m.transcludeOnThisElement ? O(d, m.transclude, H) : H; m(t, d, U, e, D) } - } l = null - }); return function (a, b, c, d, e) { a = e; b.$$destroyed || (l ? l.push(b, c, d, a) : (m.transcludeOnThisElement && (a = O(b, m.transclude, e)), m(t, b, c, d, a))) } - } function wa(a, b) { var c = b.priority - a.priority; return 0 !== c ? c : a.name !== b.name ? a.name < b.name ? -1 : 1 : a.index - b.index } function Ua(a, b, c, d) { - function e(a) { - return a ? - " (module: " + a + ")" : "" - } if (b) throw ga("multidir", b.name, e(b.$$moduleName), c.name, e(c.$$moduleName), a, ua(d)); - } function J(a, c) { var d = b(c, !0); d && a.push({ priority: 0, compile: function (a) { a = a.parent(); var b = !!a.length; b && D.$$addBindingClass(a); return function (a, c) { var e = c.parent(); b || D.$$addBindingClass(e); D.$$addBindingInfo(e, d.expressions); a.$watch(d, function (a) { c[0].nodeValue = a }) } } }) } function Q(a, b) { - a = K(a || "html"); switch (a) { - case "svg": case "math": var c = W.createElement("div"); c.innerHTML = "<" + a + ">" + b + ""; return c.childNodes[0].childNodes; default: return b - } - } function Eb(a, b) { if ("srcdoc" == b) return Y.HTML; var c = oa(a); if ("xlinkHref" == b || "form" == c && "action" == b || "img" != c && ("src" == b || "ngSrc" == b)) return Y.RESOURCE_URL } function P(a, c, d, e, f) { - var g = Eb(a, e); f = h[e] || f; var k = b(d, !0, g, f); if (k) { - if ("multiple" === e && "select" === oa(a)) throw ga("selmulti", ua(a)); c.push({ - priority: 100, compile: function () { - return { - pre: function (a, c, h) { - c = h.$$observers || (h.$$observers = ea()); if (l.test(e)) throw ga("nodomevents"); var m = h[e]; m !== - d && (k = m && b(m, !0, g, f), d = m); k && (h[e] = k(a), (c[e] || (c[e] = [])).$$inter = !0, (h.$$observers && h.$$observers[e].$$scope || a).$watch(k, function (a, b) { "class" === e && a != b ? h.$updateClass(a, b) : h.$set(e, a) })) - } - } - } - }) - } - } function V(a, b, c) { - var d = b[0], e = b.length, f = d.parentNode, g, h; if (a) for (g = 0, h = a.length; g < h; g++) if (a[g] == d) { a[g++] = c; h = g + e - 1; for (var k = a.length; g < k; g++, h++) h < k ? a[g] = a[h] : delete a[g]; a.length -= e - 1; a.context === d && (a.context = c); break } f && f.replaceChild(c, d); a = W.createDocumentFragment(); a.appendChild(d); A.hasData(d) && - (A.data(c, A.data(d)), pa ? (Tb = !0, pa.cleanData([d])) : delete A.cache[d[A.expando]]); d = 1; for (e = b.length; d < e; d++) f = b[d], A(f).remove(), a.appendChild(f), delete b[d]; b[0] = c; b.length = 1 - } function ba(a, b) { return N(function () { return a.apply(null, arguments) }, a, b) } function ca(a, b, d, e, f, g) { try { a(b, d, e, f, g) } catch (h) { c(h, ua(d)) } } function Z(a, c, d, e, f) { - var g = []; n(e, function (e, h) { - var k = e.attrName, l = e.optional, m, t, v, I; switch (e.mode) { - case "@": l || ra.call(c, k) || (d[h] = c[k] = void 0); c.$observe(k, function (a) { F(a) && (d[h] = a) }); - c.$$observers[k].$$scope = a; F(c[k]) && (d[h] = b(c[k])(a)); break; case "=": if (!ra.call(c, k)) { if (l) break; c[k] = void 0 } if (l && !c[k]) break; t = p(c[k]); I = t.literal ? ka : function (a, b) { return a === b || a !== a && b !== b }; v = t.assign || function () { m = d[h] = t(a); throw ga("nonassign", c[k], f.name); }; m = d[h] = t(a); l = function (b) { I(b, d[h]) || (I(b, m) ? v(a, b = d[h]) : d[h] = b); return m = b }; l.$stateful = !0; l = e.collection ? a.$watchCollection(c[k], l) : a.$watch(p(c[k], l), null, t.literal); g.push(l); break; case "&": t = c.hasOwnProperty(k) ? p(c[k]) : z; if (t === z && - l) break; d[h] = function (b) { return t(a, b) } - } - }); return g.length && function () { for (var a = 0, b = g.length; a < b; ++a) g[a]() } - } var aa = function (a, b) { if (b) { var c = Object.keys(b), d, e, f; d = 0; for (e = c.length; d < e; d++) f = c[d], this[f] = b[f] } else this.$attr = {}; this.$$element = a }; aa.prototype = { - $normalize: va, $addClass: function (a) { a && 0 < a.length && H.addClass(this.$$element, a) }, $removeClass: function (a) { a && 0 < a.length && H.removeClass(this.$$element, a) }, $updateClass: function (a, b) { - var c = $c(a, b); c && c.length && H.addClass(this.$$element, c); (c = - $c(b, a)) && c.length && H.removeClass(this.$$element, c) - }, $set: function (a, b, d, e) { - var f = Rc(this.$$element[0], a), g = ad[a], h = a; f ? (this.$$element.prop(a, b), e = f) : g && (this[g] = b, h = g); this[a] = b; e ? this.$attr[a] = e : (e = this.$attr[a]) || (this.$attr[a] = e = Ac(a, "-")); f = oa(this.$$element); if ("a" === f && "href" === a || "img" === f && "src" === a) this[a] = b = la(b, "src" === a); else if ("img" === f && "srcset" === a) { - for (var f = "", g = T(b), k = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/, k = /\s/.test(g) ? k : /(,)/, g = g.split(k), k = Math.floor(g.length / 2), l = 0; l < k; l++) var m = - 2 * l, f = f + la(T(g[m]), !0), f = f + (" " + T(g[m + 1])); g = T(g[2 * l]).split(/\s/); f += la(T(g[0]), !0); 2 === g.length && (f += " " + T(g[1])); this[a] = b = f - } !1 !== d && (null === b || q(b) ? this.$$element.removeAttr(e) : this.$$element.attr(e, b)); (a = this.$$observers) && n(a[h], function (a) { try { a(b) } catch (d) { c(d) } }) - }, $observe: function (a, b) { var c = this, d = c.$$observers || (c.$$observers = ea()), e = d[a] || (d[a] = []); e.push(b); v.$evalAsync(function () { e.$$inter || !c.hasOwnProperty(a) || q(c[a]) || b(c[a]) }); return function () { ab(e, b) } } - }; var $ = b.startSymbol(), - da = b.endSymbol(), ha = "{{" == $ || "}}" == da ? Ya : function (a) { return a.replace(/\{\{/g, $).replace(/}}/g, da) }, ia = /^ngAttr[A-Z]/, ja = /^(.+)Start$/; D.$$addBindingInfo = m ? function (a, b) { var c = a.data("$binding") || []; E(b) ? c = c.concat(b) : c.push(b); a.data("$binding", c) } : z; D.$$addBindingClass = m ? function (a) { I(a, "ng-binding") } : z; D.$$addScopeInfo = m ? function (a, b, c, d) { a.data(c ? d ? "$isolateScopeNoTemplate" : "$isolateScope" : "$scope", b) } : z; D.$$addScopeClass = m ? function (a, b) { I(a, b ? "ng-isolate-scope" : "ng-scope") } : z; return D - }] - } function va(a) { - return eb(a.replace(Yc, - "")) - } function $c(a, b) { var d = "", c = a.split(/\s+/), e = b.split(/\s+/), f = 0; a: for (; f < c.length; f++) { for (var g = c[f], h = 0; h < e.length; h++) if (g == e[h]) continue a; d += (0 < d.length ? " " : "") + g } return d } function Zc(a) { a = A(a); var b = a.length; if (1 >= b) return a; for (; b--;) 8 === a[b].nodeType && Uf.call(a, b, 1); return a } function cf() { - var a = {}, b = !1; this.register = function (b, c) { Ra(b, "controller"); G(b) ? N(a, b) : a[b] = c }; this.allowGlobals = function () { b = !0 }; this.$get = ["$injector", "$window", function (d, c) { - function e(a, b, c, d) { - if (!a || !G(a.$scope)) throw M("$controller")("noscp", - d, b); a.$scope[b] = c - } return function (f, g, h, k) { var l, m, r; h = !0 === h; k && F(k) && (r = k); if (F(f)) { k = f.match(Vc); if (!k) throw Vf("ctrlfmt", f); m = k[1]; r = r || k[3]; f = a.hasOwnProperty(m) ? a[m] : Cc(g.$scope, m, !0) || (b ? Cc(c, m, !0) : w); Qa(f, m, !0) } if (h) return h = (E(f) ? f[f.length - 1] : f).prototype, l = Object.create(h || null), r && e(g, r, l, m || f.name), N(function () { var a = d.invoke(f, l, g, m); a !== l && (G(a) || B(a)) && (l = a, r && e(g, r, l, m || f.name)); return l }, { instance: l, identifier: r }); l = d.instantiate(f, g, m); r && e(g, r, l, m || f.name); return l } - }] - } function df() { - this.$get = - ["$window", function (a) { return A(a.document) }] - } function ef() { this.$get = ["$log", function (a) { return function (b, d) { a.error.apply(a, arguments) } }] } function $b(a) { return G(a) ? da(a) ? a.toISOString() : cb(a) : a } function kf() { this.$get = function () { return function (a) { if (!a) return ""; var b = []; pc(a, function (a, c) { null === a || q(a) || (E(a) ? n(a, function (a, d) { b.push(ia(c) + "=" + ia($b(a))) }) : b.push(ia(c) + "=" + ia($b(a)))) }); return b.join("&") } } } function lf() { - this.$get = function () { - return function (a) { - function b(a, e, f) { - null === a || q(a) || - (E(a) ? n(a, function (a, c) { b(a, e + "[" + (G(a) ? c : "") + "]") }) : G(a) && !da(a) ? pc(a, function (a, c) { b(a, e + (f ? "" : "[") + c + (f ? "" : "]")) }) : d.push(ia(e) + "=" + ia($b(a)))) - } if (!a) return ""; var d = []; b(a, "", !0); return d.join("&") - } - } - } function ac(a, b) { if (F(a)) { var d = a.replace(Wf, "").trim(); if (d) { var c = b("Content-Type"); (c = c && 0 === c.indexOf(bd)) || (c = (c = d.match(Xf)) && Yf[c[0]].test(d)); c && (a = vc(d)) } } return a } function cd(a) { - var b = ea(), d; F(a) ? n(a.split("\n"), function (a) { - d = a.indexOf(":"); var e = K(T(a.substr(0, d))); a = T(a.substr(d + 1)); e && - (b[e] = b[e] ? b[e] + ", " + a : a) - }) : G(a) && n(a, function (a, d) { var f = K(d), g = T(a); f && (b[f] = b[f] ? b[f] + ", " + g : g) }); return b - } function dd(a) { var b; return function (d) { b || (b = cd(a)); return d ? (d = b[K(d)], void 0 === d && (d = null), d) : b } } function ed(a, b, d, c) { if (B(c)) return c(a, b, d); n(c, function (c) { a = c(a, b, d) }); return a } function jf() { - var a = this.defaults = { - transformResponse: [ac], transformRequest: [function (a) { return G(a) && "[object File]" !== ta.call(a) && "[object Blob]" !== ta.call(a) && "[object FormData]" !== ta.call(a) ? cb(a) : a }], headers: { - common: { Accept: "application/json, text/plain, */*" }, - post: ha(bc), put: ha(bc), patch: ha(bc) - }, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", paramSerializer: "$httpParamSerializer" - }, b = !1; this.useApplyAsync = function (a) { return u(a) ? (b = !!a, this) : b }; var d = !0; this.useLegacyPromiseExtensions = function (a) { return u(a) ? (d = !!a, this) : d }; var c = this.interceptors = []; this.$get = ["$httpBackend", "$$cookieReader", "$cacheFactory", "$rootScope", "$q", "$injector", function (e, f, g, h, k, l) { - function m(b) { - function c(a) { - var b = N({}, a); b.data = ed(a.data, a.headers, a.status, f.transformResponse); - a = a.status; return 200 <= a && 300 > a ? b : k.reject(b) - } function e(a, b) { var c, d = {}; n(a, function (a, e) { B(a) ? (c = a(b), null != c && (d[e] = c)) : d[e] = a }); return d } if (!$.isObject(b)) throw M("$http")("badreq", b); if (!F(b.url)) throw M("$http")("badreq", b.url); var f = N({ method: "get", transformRequest: a.transformRequest, transformResponse: a.transformResponse, paramSerializer: a.paramSerializer }, b); f.headers = function (b) { - var c = a.headers, d = N({}, b.headers), f, g, h, c = N({}, c.common, c[K(b.method)]); a: for (f in c) { - g = K(f); for (h in d) if (K(h) === - g) continue a; d[f] = c[f] - } return e(d, ha(b)) - }(b); f.method = tb(f.method); f.paramSerializer = F(f.paramSerializer) ? l.get(f.paramSerializer) : f.paramSerializer; var g = [function (b) { var d = b.headers, e = ed(b.data, dd(d), w, b.transformRequest); q(e) && n(d, function (a, b) { "content-type" === K(b) && delete d[b] }); q(b.withCredentials) && !q(a.withCredentials) && (b.withCredentials = a.withCredentials); return r(b, e).then(c, c) }, w], h = k.when(f); for (n(y, function (a) { - (a.request || a.requestError) && g.unshift(a.request, a.requestError); (a.response || - a.responseError) && g.push(a.response, a.responseError) - }) ; g.length;) { b = g.shift(); var m = g.shift(), h = h.then(b, m) } d ? (h.success = function (a) { Qa(a, "fn"); h.then(function (b) { a(b.data, b.status, b.headers, f) }); return h }, h.error = function (a) { Qa(a, "fn"); h.then(null, function (b) { a(b.data, b.status, b.headers, f) }); return h }) : (h.success = fd("success"), h.error = fd("error")); return h - } function r(c, d) { - function g(a, c, d, e) { - function f() { l(c, a, d, e) } D && (200 <= a && 300 > a ? D.put(X, [a, c, cd(d), e]) : D.remove(X)); b ? h.$applyAsync(f) : (f(), h.$$phase || - h.$apply()) - } function l(a, b, d, e) { b = -1 <= b ? b : 0; (200 <= b && 300 > b ? n.resolve : n.reject)({ data: a, status: b, headers: dd(d), config: c, statusText: e }) } function r(a) { l(a.data, a.status, ha(a.headers()), a.statusText) } function y() { var a = m.pendingRequests.indexOf(c); -1 !== a && m.pendingRequests.splice(a, 1) } var n = k.defer(), I = n.promise, D, L, O = c.headers, X = t(c.url, c.paramSerializer(c.params)); m.pendingRequests.push(c); I.then(y, y); !c.cache && !a.cache || !1 === c.cache || "GET" !== c.method && "JSONP" !== c.method || (D = G(c.cache) ? c.cache : G(a.cache) ? - a.cache : C); D && (L = D.get(X), u(L) ? L && B(L.then) ? L.then(r, r) : E(L) ? l(L[1], L[0], ha(L[2]), L[3]) : l(L, 200, {}, "OK") : D.put(X, I)); q(L) && ((L = gd(c.url) ? f()[c.xsrfCookieName || a.xsrfCookieName] : w) && (O[c.xsrfHeaderName || a.xsrfHeaderName] = L), e(c.method, X, d, g, O, c.timeout, c.withCredentials, c.responseType)); return I - } function t(a, b) { 0 < b.length && (a += (-1 == a.indexOf("?") ? "?" : "&") + b); return a } var C = g("$http"); a.paramSerializer = F(a.paramSerializer) ? l.get(a.paramSerializer) : a.paramSerializer; var y = []; n(c, function (a) { - y.unshift(F(a) ? - l.get(a) : l.invoke(a)) - }); m.pendingRequests = []; (function (a) { n(arguments, function (a) { m[a] = function (b, c) { return m(N({}, c || {}, { method: a, url: b })) } }) })("get", "delete", "head", "jsonp"); (function (a) { n(arguments, function (a) { m[a] = function (b, c, d) { return m(N({}, d || {}, { method: a, url: b, data: c })) } }) })("post", "put", "patch"); m.defaults = a; return m - }] - } function nf() { this.$get = function () { return function () { return new S.XMLHttpRequest } } } function mf() { - this.$get = ["$browser", "$window", "$document", "$xhrFactory", function (a, b, d, - c) { return Zf(a, c, a.defer, b.angular.callbacks, d[0]) }] - } function Zf(a, b, d, c, e) { - function f(a, b, d) { var f = e.createElement("script"), m = null; f.type = "text/javascript"; f.src = a; f.async = !0; m = function (a) { f.removeEventListener("load", m, !1); f.removeEventListener("error", m, !1); e.body.removeChild(f); f = null; var g = -1, C = "unknown"; a && ("load" !== a.type || c[b].called || (a = { type: "error" }), C = a.type, g = "error" === a.type ? 404 : 200); d && d(g, C) }; f.addEventListener("load", m, !1); f.addEventListener("error", m, !1); e.body.appendChild(f); return m } - return function (e, h, k, l, m, r, t, C) { - function y() { x && x(); v && v.abort() } function R(b, c, e, f, g) { u(H) && d.cancel(H); x = v = null; b(c, e, f, g); a.$$completeOutstandingRequest(z) } a.$$incOutstandingRequestCount(); h = h || a.url(); if ("jsonp" == K(e)) { var p = "_" + (c.counter++).toString(36); c[p] = function (a) { c[p].data = a; c[p].called = !0 }; var x = f(h.replace("JSON_CALLBACK", "angular.callbacks." + p), p, function (a, b) { R(l, a, c[p].data, "", b); c[p] = z }) } else { - var v = b(e, h); v.open(e, h, !0); n(m, function (a, b) { u(a) && v.setRequestHeader(b, a) }); v.onload = - function () { var a = v.statusText || "", b = "response" in v ? v.response : v.responseText, c = 1223 === v.status ? 204 : v.status; 0 === c && (c = b ? 200 : "file" == xa(h).protocol ? 404 : 0); R(l, c, b, v.getAllResponseHeaders(), a) }; e = function () { R(l, -1, null, null, "") }; v.onerror = e; v.onabort = e; t && (v.withCredentials = !0); if (C) try { v.responseType = C } catch (Y) { if ("json" !== C) throw Y; } v.send(q(k) ? null : k) - } if (0 < r) var H = d(y, r); else r && B(r.then) && r.then(y) - } - } function gf() { - var a = "{{", b = "}}"; this.startSymbol = function (b) { return b ? (a = b, this) : a }; this.endSymbol = - function (a) { return a ? (b = a, this) : b }; this.$get = ["$parse", "$exceptionHandler", "$sce", function (d, c, e) { - function f(a) { return "\\\\\\" + a } function g(c) { return c.replace(m, a).replace(r, b) } function h(f, h, m, r) { - function p(a) { try { var b = a; a = m ? e.getTrusted(m, b) : e.valueOf(b); var d; if (r && !u(a)) d = a; else if (null == a) d = ""; else { switch (typeof a) { case "string": break; case "number": a = "" + a; break; default: a = cb(a) } d = a } return d } catch (g) { c(Ia.interr(f, g)) } } r = !!r; for (var x, v, n = 0, H = [], s = [], I = f.length, D = [], L = []; n < I;) if (-1 != (x = f.indexOf(a, - n)) && -1 != (v = f.indexOf(b, x + k))) n !== x && D.push(g(f.substring(n, x))), n = f.substring(x + k, v), H.push(n), s.push(d(n, p)), n = v + l, L.push(D.length), D.push(""); else { n !== I && D.push(g(f.substring(n))); break } m && 1 < D.length && Ia.throwNoconcat(f); if (!h || H.length) { - var O = function (a) { for (var b = 0, c = H.length; b < c; b++) { if (r && q(a[b])) return; D[L[b]] = a[b] } return D.join("") }; return N(function (a) { var b = 0, d = H.length, e = Array(d); try { for (; b < d; b++) e[b] = s[b](a); return O(e) } catch (g) { c(Ia.interr(f, g)) } }, { - exp: f, expressions: H, $$watchDelegate: function (a, - b) { var c; return a.$watchGroup(s, function (d, e) { var f = O(d); B(b) && b.call(this, f, d !== e ? c : f, a); c = f }) } - }) - } - } var k = a.length, l = b.length, m = new RegExp(a.replace(/./g, f), "g"), r = new RegExp(b.replace(/./g, f), "g"); h.startSymbol = function () { return a }; h.endSymbol = function () { return b }; return h - }] - } function hf() { - this.$get = ["$rootScope", "$window", "$q", "$$q", function (a, b, d, c) { - function e(e, h, k, l) { - var m = 4 < arguments.length, r = m ? sa.call(arguments, 4) : [], t = b.setInterval, C = b.clearInterval, y = 0, n = u(l) && !l, p = (n ? c : d).defer(), x = p.promise; - k = u(k) ? k : 0; x.then(null, null, m ? function () { e.apply(null, r) } : e); x.$$intervalId = t(function () { p.notify(y++); 0 < k && y >= k && (p.resolve(y), C(x.$$intervalId), delete f[x.$$intervalId]); n || a.$apply() }, h); f[x.$$intervalId] = p; return x - } var f = {}; e.cancel = function (a) { return a && a.$$intervalId in f ? (f[a.$$intervalId].reject("canceled"), b.clearInterval(a.$$intervalId), delete f[a.$$intervalId], !0) : !1 }; return e - }] - } function cc(a) { a = a.split("/"); for (var b = a.length; b--;) a[b] = pb(a[b]); return a.join("/") } function hd(a, b) { - var d = - xa(a); b.$$protocol = d.protocol; b.$$host = d.hostname; b.$$port = Z(d.port) || $f[d.protocol] || null - } function id(a, b) { var d = "/" !== a.charAt(0); d && (a = "/" + a); var c = xa(a); b.$$path = decodeURIComponent(d && "/" === c.pathname.charAt(0) ? c.pathname.substring(1) : c.pathname); b.$$search = yc(c.search); b.$$hash = decodeURIComponent(c.hash); b.$$path && "/" != b.$$path.charAt(0) && (b.$$path = "/" + b.$$path) } function qa(a, b) { if (0 === b.indexOf(a)) return b.substr(a.length) } function Ga(a) { var b = a.indexOf("#"); return -1 == b ? a : a.substr(0, b) } function jb(a) { - return a.replace(/(#.+)|#$/, - "$1") - } function dc(a, b, d) { - this.$$html5 = !0; d = d || ""; hd(a, this); this.$$parse = function (a) { var d = qa(b, a); if (!F(d)) throw Fb("ipthprfx", a, b); id(d, this); this.$$path || (this.$$path = "/"); this.$$compose() }; this.$$compose = function () { var a = Sb(this.$$search), d = this.$$hash ? "#" + pb(this.$$hash) : ""; this.$$url = cc(this.$$path) + (a ? "?" + a : "") + d; this.$$absUrl = b + this.$$url.substr(1) }; this.$$parseLinkUrl = function (c, e) { - if (e && "#" === e[0]) return this.hash(e.slice(1)), !0; var f, g; u(f = qa(a, c)) ? (g = f, g = u(f = qa(d, f)) ? b + (qa("/", f) || f) : - a + g) : u(f = qa(b, c)) ? g = b + f : b == c + "/" && (g = b); g && this.$$parse(g); return !!g - } - } function ec(a, b, d) { - hd(a, this); this.$$parse = function (c) { var e = qa(a, c) || qa(b, c), f; q(e) || "#" !== e.charAt(0) ? this.$$html5 ? f = e : (f = "", q(e) && (a = c, this.replace())) : (f = qa(d, e), q(f) && (f = e)); id(f, this); c = this.$$path; var e = a, g = /^\/[A-Z]:(\/.*)/; 0 === f.indexOf(e) && (f = f.replace(e, "")); g.exec(f) || (c = (f = g.exec(c)) ? f[1] : c); this.$$path = c; this.$$compose() }; this.$$compose = function () { - var b = Sb(this.$$search), e = this.$$hash ? "#" + pb(this.$$hash) : ""; this.$$url = - cc(this.$$path) + (b ? "?" + b : "") + e; this.$$absUrl = a + (this.$$url ? d + this.$$url : "") - }; this.$$parseLinkUrl = function (b, d) { return Ga(a) == Ga(b) ? (this.$$parse(b), !0) : !1 } - } function jd(a, b, d) { - this.$$html5 = !0; ec.apply(this, arguments); this.$$parseLinkUrl = function (c, e) { if (e && "#" === e[0]) return this.hash(e.slice(1)), !0; var f, g; a == Ga(c) ? f = c : (g = qa(b, c)) ? f = a + d + g : b === c + "/" && (f = b); f && this.$$parse(f); return !!f }; this.$$compose = function () { - var b = Sb(this.$$search), e = this.$$hash ? "#" + pb(this.$$hash) : ""; this.$$url = cc(this.$$path) + - (b ? "?" + b : "") + e; this.$$absUrl = a + d + this.$$url - } - } function Gb(a) { return function () { return this[a] } } function kd(a, b) { return function (d) { if (q(d)) return this[a]; this[a] = b(d); this.$$compose(); return this } } function of() { - var a = "", b = { enabled: !1, requireBase: !0, rewriteLinks: !0 }; this.hashPrefix = function (b) { return u(b) ? (a = b, this) : a }; this.html5Mode = function (a) { - return $a(a) ? (b.enabled = a, this) : G(a) ? ($a(a.enabled) && (b.enabled = a.enabled), $a(a.requireBase) && (b.requireBase = a.requireBase), $a(a.rewriteLinks) && (b.rewriteLinks = - a.rewriteLinks), this) : b - }; this.$get = ["$rootScope", "$browser", "$sniffer", "$rootElement", "$window", function (d, c, e, f, g) { - function h(a, b, d) { var e = l.url(), f = l.$$state; try { c.url(a, b, d), l.$$state = c.state() } catch (g) { throw l.url(e), l.$$state = f, g; } } function k(a, b) { d.$broadcast("$locationChangeSuccess", l.absUrl(), a, l.$$state, b) } var l, m; m = c.baseHref(); var r = c.url(), t; if (b.enabled) { if (!m && b.requireBase) throw Fb("nobase"); t = r.substring(0, r.indexOf("/", r.indexOf("//") + 2)) + (m || "/"); m = e.history ? dc : jd } else t = Ga(r), m = - ec; var C = t.substr(0, Ga(t).lastIndexOf("/") + 1); l = new m(t, C, "#" + a); l.$$parseLinkUrl(r, r); l.$$state = c.state(); var y = /^\s*(javascript|mailto):/i; f.on("click", function (a) { - if (b.rewriteLinks && !a.ctrlKey && !a.metaKey && !a.shiftKey && 2 != a.which && 2 != a.button) { - for (var e = A(a.target) ; "a" !== oa(e[0]) ;) if (e[0] === f[0] || !(e = e.parent())[0]) return; var h = e.prop("href"), k = e.attr("href") || e.attr("xlink:href"); G(h) && "[object SVGAnimatedString]" === h.toString() && (h = xa(h.animVal).href); y.test(h) || !h || e.attr("target") || a.isDefaultPrevented() || - !l.$$parseLinkUrl(h, k) || (a.preventDefault(), l.absUrl() != c.url() && (d.$apply(), g.angular["ff-684208-preventDefault"] = !0)) - } - }); jb(l.absUrl()) != jb(r) && c.url(l.absUrl(), !0); var n = !0; c.onUrlChange(function (a, b) { q(qa(C, a)) ? g.location.href = a : (d.$evalAsync(function () { var c = l.absUrl(), e = l.$$state, f; a = jb(a); l.$$parse(a); l.$$state = b; f = d.$broadcast("$locationChangeStart", a, c, b, e).defaultPrevented; l.absUrl() === a && (f ? (l.$$parse(c), l.$$state = e, h(c, !1, e)) : (n = !1, k(c, e))) }), d.$$phase || d.$digest()) }); d.$watch(function () { - var a = - jb(c.url()), b = jb(l.absUrl()), f = c.state(), g = l.$$replace, m = a !== b || l.$$html5 && e.history && f !== l.$$state; if (n || m) n = !1, d.$evalAsync(function () { var b = l.absUrl(), c = d.$broadcast("$locationChangeStart", b, a, l.$$state, f).defaultPrevented; l.absUrl() === b && (c ? (l.$$parse(a), l.$$state = f) : (m && h(b, g, f === l.$$state ? null : l.$$state), k(a, f))) }); l.$$replace = !1 - }); return l - }] - } function pf() { - var a = !0, b = this; this.debugEnabled = function (b) { return u(b) ? (a = b, this) : a }; this.$get = ["$window", function (d) { - function c(a) { - a instanceof Error && - (a.stack ? a = a.message && -1 === a.stack.indexOf(a.message) ? "Error: " + a.message + "\n" + a.stack : a.stack : a.sourceURL && (a = a.message + "\n" + a.sourceURL + ":" + a.line)); return a - } function e(a) { var b = d.console || {}, e = b[a] || b.log || z; a = !1; try { a = !!e.apply } catch (k) { } return a ? function () { var a = []; n(arguments, function (b) { a.push(c(b)) }); return e.apply(b, a) } : function (a, b) { e(a, null == b ? "" : b) } } return { log: e("log"), info: e("info"), warn: e("warn"), error: e("error"), debug: function () { var c = e("debug"); return function () { a && c.apply(b, arguments) } }() } - }] - } - function Va(a, b) { if ("__defineGetter__" === a || "__defineSetter__" === a || "__lookupGetter__" === a || "__lookupSetter__" === a || "__proto__" === a) throw aa("isecfld", b); return a } function ld(a, b) { a += ""; if (!F(a)) throw aa("iseccst", b); return a } function ya(a, b) { if (a) { if (a.constructor === a) throw aa("isecfn", b); if (a.window === a) throw aa("isecwindow", b); if (a.children && (a.nodeName || a.prop && a.attr && a.find)) throw aa("isecdom", b); if (a === Object) throw aa("isecobj", b); } return a } function md(a, b) { - if (a) { - if (a.constructor === a) throw aa("isecfn", - b); if (a === ag || a === bg || a === cg) throw aa("isecff", b); - } - } function nd(a, b) { if (a && (a === (0).constructor || a === (!1).constructor || a === "".constructor || a === {}.constructor || a === [].constructor || a === Function.constructor)) throw aa("isecaf", b); } function dg(a, b) { return "undefined" !== typeof a ? a : b } function od(a, b) { return "undefined" === typeof a ? b : "undefined" === typeof b ? a : a + b } function V(a, b) { - var d, c; switch (a.type) { - case s.Program: d = !0; n(a.body, function (a) { V(a.expression, b); d = d && a.expression.constant }); a.constant = d; break; case s.Literal: a.constant = - !0; a.toWatch = []; break; case s.UnaryExpression: V(a.argument, b); a.constant = a.argument.constant; a.toWatch = a.argument.toWatch; break; case s.BinaryExpression: V(a.left, b); V(a.right, b); a.constant = a.left.constant && a.right.constant; a.toWatch = a.left.toWatch.concat(a.right.toWatch); break; case s.LogicalExpression: V(a.left, b); V(a.right, b); a.constant = a.left.constant && a.right.constant; a.toWatch = a.constant ? [] : [a]; break; case s.ConditionalExpression: V(a.test, b); V(a.alternate, b); V(a.consequent, b); a.constant = a.test.constant && - a.alternate.constant && a.consequent.constant; a.toWatch = a.constant ? [] : [a]; break; case s.Identifier: a.constant = !1; a.toWatch = [a]; break; case s.MemberExpression: V(a.object, b); a.computed && V(a.property, b); a.constant = a.object.constant && (!a.computed || a.property.constant); a.toWatch = [a]; break; case s.CallExpression: d = a.filter ? !b(a.callee.name).$stateful : !1; c = []; n(a.arguments, function (a) { V(a, b); d = d && a.constant; a.constant || c.push.apply(c, a.toWatch) }); a.constant = d; a.toWatch = a.filter && !b(a.callee.name).$stateful ? c : - [a]; break; case s.AssignmentExpression: V(a.left, b); V(a.right, b); a.constant = a.left.constant && a.right.constant; a.toWatch = [a]; break; case s.ArrayExpression: d = !0; c = []; n(a.elements, function (a) { V(a, b); d = d && a.constant; a.constant || c.push.apply(c, a.toWatch) }); a.constant = d; a.toWatch = c; break; case s.ObjectExpression: d = !0; c = []; n(a.properties, function (a) { V(a.value, b); d = d && a.value.constant; a.value.constant || c.push.apply(c, a.value.toWatch) }); a.constant = d; a.toWatch = c; break; case s.ThisExpression: a.constant = !1, a.toWatch = - [] - } - } function pd(a) { if (1 == a.length) { a = a[0].expression; var b = a.toWatch; return 1 !== b.length ? b : b[0] !== a ? b : w } } function qd(a) { return a.type === s.Identifier || a.type === s.MemberExpression } function rd(a) { if (1 === a.body.length && qd(a.body[0].expression)) return { type: s.AssignmentExpression, left: a.body[0].expression, right: { type: s.NGValueParameter }, operator: "=" } } function sd(a) { - return 0 === a.body.length || 1 === a.body.length && (a.body[0].expression.type === s.Literal || a.body[0].expression.type === s.ArrayExpression || a.body[0].expression.type === - s.ObjectExpression) - } function td(a, b) { this.astBuilder = a; this.$filter = b } function ud(a, b) { this.astBuilder = a; this.$filter = b } function Hb(a) { return "constructor" == a } function fc(a) { return B(a.valueOf) ? a.valueOf() : eg.call(a) } function qf() { - var a = ea(), b = ea(); this.$get = ["$filter", function (d) { - function c(a, b) { return null == a || null == b ? a === b : "object" === typeof a && (a = fc(a), "object" === typeof a) ? !1 : a === b || a !== a && b !== b } function e(a, b, d, e, f) { - var g = e.inputs, h; if (1 === g.length) { - var k = c, g = g[0]; return a.$watch(function (a) { - var b = - g(a); c(b, k) || (h = e(a, w, w, [b]), k = b && fc(b)); return h - }, b, d, f) - } for (var l = [], m = [], r = 0, n = g.length; r < n; r++) l[r] = c, m[r] = null; return a.$watch(function (a) { for (var b = !1, d = 0, f = g.length; d < f; d++) { var k = g[d](a); if (b || (b = !c(k, l[d]))) m[d] = k, l[d] = k && fc(k) } b && (h = e(a, w, w, m)); return h }, b, d, f) - } function f(a, b, c, d) { var e, f; return e = a.$watch(function (a) { return d(a) }, function (a, c, d) { f = a; B(b) && b.apply(this, arguments); u(a) && d.$$postDigest(function () { u(f) && e() }) }, c) } function g(a, b, c, d) { - function e(a) { - var b = !0; n(a, function (a) { - u(a) || - (b = !1) - }); return b - } var f, g; return f = a.$watch(function (a) { return d(a) }, function (a, c, d) { g = a; B(b) && b.call(this, a, c, d); e(a) && d.$$postDigest(function () { e(g) && f() }) }, c) - } function h(a, b, c, d) { var e; return e = a.$watch(function (a) { return d(a) }, function (a, c, d) { B(b) && b.apply(this, arguments); e() }, c) } function k(a, b) { - if (!b) return a; var c = a.$$watchDelegate, d = !1, c = c !== g && c !== f ? function (c, e, f, g) { f = d && g ? g[0] : a(c, e, f, g); return b(f, c, e) } : function (c, d, e, f) { e = a(c, d, e, f); c = b(e, c, d); return u(e) ? c : e }; a.$$watchDelegate && a.$$watchDelegate !== - e ? c.$$watchDelegate = a.$$watchDelegate : b.$stateful || (c.$$watchDelegate = e, d = !a.inputs, c.inputs = a.inputs ? a.inputs : [a]); return c - } var l = Ca().noUnsafeEval, m = { csp: l, expensiveChecks: !1 }, r = { csp: l, expensiveChecks: !0 }; return function (c, l, y) { - var n, p, x; switch (typeof c) { - case "string": x = c = c.trim(); var v = y ? b : a; n = v[x]; n || (":" === c.charAt(0) && ":" === c.charAt(1) && (p = !0, c = c.substring(2)), y = y ? r : m, n = new gc(y), n = (new hc(n, d, y)).parse(c), n.constant ? n.$$watchDelegate = h : p ? n.$$watchDelegate = n.literal ? g : f : n.inputs && (n.$$watchDelegate = - e), v[x] = n); return k(n, l); case "function": return k(c, l); default: return k(z, l) - } - } - }] - } function sf() { this.$get = ["$rootScope", "$exceptionHandler", function (a, b) { return vd(function (b) { a.$evalAsync(b) }, b) }] } function tf() { this.$get = ["$browser", "$exceptionHandler", function (a, b) { return vd(function (b) { a.defer(b) }, b) }] } function vd(a, b) { - function d(a, b, c) { function d(b) { return function (c) { e || (e = !0, b.call(a, c)) } } var e = !1; return [d(b), d(c)] } function c() { this.$$state = { status: 0 } } function e(a, b) { - return function (c) { - b.call(a, - c) - } - } function f(c) { !c.processScheduled && c.pending && (c.processScheduled = !0, a(function () { var a, d, e; e = c.pending; c.processScheduled = !1; c.pending = w; for (var f = 0, g = e.length; f < g; ++f) { d = e[f][0]; a = e[f][c.status]; try { B(a) ? d.resolve(a(c.value)) : 1 === c.status ? d.resolve(c.value) : d.reject(c.value) } catch (h) { d.reject(h), b(h) } } })) } function g() { this.promise = new c; this.resolve = e(this, this.resolve); this.reject = e(this, this.reject); this.notify = e(this, this.notify) } var h = M("$q", TypeError); N(c.prototype, { - then: function (a, b, c) { - if (q(a) && - q(b) && q(c)) return this; var d = new g; this.$$state.pending = this.$$state.pending || []; this.$$state.pending.push([d, a, b, c]); 0 < this.$$state.status && f(this.$$state); return d.promise - }, "catch": function (a) { return this.then(null, a) }, "finally": function (a, b) { return this.then(function (b) { return l(b, !0, a) }, function (b) { return l(b, !1, a) }, b) } - }); N(g.prototype, { - resolve: function (a) { this.promise.$$state.status || (a === this.promise ? this.$$reject(h("qcycle", a)) : this.$$resolve(a)) }, $$resolve: function (a) { - var c, e; e = d(this, this.$$resolve, - this.$$reject); try { if (G(a) || B(a)) c = a && a.then; B(c) ? (this.promise.$$state.status = -1, c.call(a, e[0], e[1], this.notify)) : (this.promise.$$state.value = a, this.promise.$$state.status = 1, f(this.promise.$$state)) } catch (g) { e[1](g), b(g) } - }, reject: function (a) { this.promise.$$state.status || this.$$reject(a) }, $$reject: function (a) { this.promise.$$state.value = a; this.promise.$$state.status = 2; f(this.promise.$$state) }, notify: function (c) { - var d = this.promise.$$state.pending; 0 >= this.promise.$$state.status && d && d.length && a(function () { - for (var a, - e, f = 0, g = d.length; f < g; f++) { e = d[f][0]; a = d[f][3]; try { e.notify(B(a) ? a(c) : c) } catch (h) { b(h) } } - }) - } - }); var k = function (a, b) { var c = new g; b ? c.resolve(a) : c.reject(a); return c.promise }, l = function (a, b, c) { var d = null; try { B(c) && (d = c()) } catch (e) { return k(e, !1) } return d && B(d.then) ? d.then(function () { return k(a, b) }, function (a) { return k(a, !1) }) : k(a, b) }, m = function (a, b, c, d) { var e = new g; e.resolve(a); return e.promise.then(b, c, d) }, r = function C(a) { - if (!B(a)) throw h("norslvr", a); if (!(this instanceof C)) return new C(a); var b = new g; - a(function (a) { b.resolve(a) }, function (a) { b.reject(a) }); return b.promise - }; r.defer = function () { return new g }; r.reject = function (a) { var b = new g; b.reject(a); return b.promise }; r.when = m; r.resolve = m; r.all = function (a) { var b = new g, c = 0, d = E(a) ? [] : {}; n(a, function (a, e) { c++; m(a).then(function (a) { d.hasOwnProperty(e) || (d[e] = a, --c || b.resolve(d)) }, function (a) { d.hasOwnProperty(e) || b.reject(a) }) }); 0 === c && b.resolve(d); return b.promise }; return r - } function Cf() { - this.$get = ["$window", "$timeout", function (a, b) { - var d = a.requestAnimationFrame || - a.webkitRequestAnimationFrame, c = a.cancelAnimationFrame || a.webkitCancelAnimationFrame || a.webkitCancelRequestAnimationFrame, e = !!d, f = e ? function (a) { var b = d(a); return function () { c(b) } } : function (a) { var c = b(a, 16.66, !1); return function () { b.cancel(c) } }; f.supported = e; return f - }] - } function rf() { - function a(a) { - function b() { this.$$watchers = this.$$nextSibling = this.$$childHead = this.$$childTail = null; this.$$listeners = {}; this.$$listenerCount = {}; this.$$watchersCount = 0; this.$id = ++ob; this.$$ChildScope = null } b.prototype = a; - return b - } var b = 10, d = M("$rootScope"), c = null, e = null; this.digestTtl = function (a) { arguments.length && (b = a); return b }; this.$get = ["$injector", "$exceptionHandler", "$parse", "$browser", function (f, g, h, k) { - function l(a) { a.currentScope.$$destroyed = !0 } function m(a) { 9 === Ha && (a.$$childHead && m(a.$$childHead), a.$$nextSibling && m(a.$$nextSibling)); a.$parent = a.$$nextSibling = a.$$prevSibling = a.$$childHead = a.$$childTail = a.$root = a.$$watchers = null } function r() { - this.$id = ++ob; this.$$phase = this.$parent = this.$$watchers = this.$$nextSibling = - this.$$prevSibling = this.$$childHead = this.$$childTail = null; this.$root = this; this.$$destroyed = !1; this.$$listeners = {}; this.$$listenerCount = {}; this.$$watchersCount = 0; this.$$isolateBindings = null - } function t(a) { if (v.$$phase) throw d("inprog", v.$$phase); v.$$phase = a } function C(a, b) { do a.$$watchersCount += b; while (a = a.$parent) } function y(a, b, c) { do a.$$listenerCount[c] -= b, 0 === a.$$listenerCount[c] && delete a.$$listenerCount[c]; while (a = a.$parent) } function s() { } function p() { - for (; w.length;) try { w.shift()() } catch (a) { g(a) } e = - null - } function x() { null === e && (e = k.defer(function () { v.$apply(p) })) } r.prototype = { - constructor: r, $new: function (b, c) { var d; c = c || this; b ? (d = new r, d.$root = this.$root) : (this.$$ChildScope || (this.$$ChildScope = a(this)), d = new this.$$ChildScope); d.$parent = c; d.$$prevSibling = c.$$childTail; c.$$childHead ? (c.$$childTail.$$nextSibling = d, c.$$childTail = d) : c.$$childHead = c.$$childTail = d; (b || c != this) && d.$on("$destroy", l); return d }, $watch: function (a, b, d, e) { - var f = h(a); if (f.$$watchDelegate) return f.$$watchDelegate(this, b, d, f, - a); var g = this, k = g.$$watchers, l = { fn: b, last: s, get: f, exp: e || a, eq: !!d }; c = null; B(b) || (l.fn = z); k || (k = g.$$watchers = []); k.unshift(l); C(this, 1); return function () { 0 <= ab(k, l) && C(g, -1); c = null } - }, $watchGroup: function (a, b) { - function c() { h = !1; k ? (k = !1, b(e, e, g)) : b(e, d, g) } var d = Array(a.length), e = Array(a.length), f = [], g = this, h = !1, k = !0; if (!a.length) { var l = !0; g.$evalAsync(function () { l && b(e, e, g) }); return function () { l = !1 } } if (1 === a.length) return this.$watch(a[0], function (a, c, f) { e[0] = a; d[0] = c; b(e, a === c ? e : d, f) }); n(a, function (a, - b) { var k = g.$watch(a, function (a, f) { e[b] = a; d[b] = f; h || (h = !0, g.$evalAsync(c)) }); f.push(k) }); return function () { for (; f.length;) f.shift()() } - }, $watchCollection: function (a, b) { - function c(a) { - e = a; var b, d, g, h; if (!q(e)) { - if (G(e)) if (Aa(e)) for (f !== r && (f = r, p = f.length = 0, l++), a = e.length, p !== a && (l++, f.length = p = a), b = 0; b < a; b++) h = f[b], g = e[b], d = h !== h && g !== g, d || h === g || (l++, f[b] = g); else { - f !== t && (f = t = {}, p = 0, l++); a = 0; for (b in e) ra.call(e, b) && (a++, g = e[b], h = f[b], b in f ? (d = h !== h && g !== g, d || h === g || (l++, f[b] = g)) : (p++, f[b] = g, l++)); if (p > - a) for (b in l++, f) ra.call(e, b) || (p--, delete f[b]) - } else f !== e && (f = e, l++); return l - } - } c.$stateful = !0; var d = this, e, f, g, k = 1 < b.length, l = 0, m = h(a, c), r = [], t = {}, n = !0, p = 0; return this.$watch(m, function () { n ? (n = !1, b(e, e, d)) : b(e, g, d); if (k) if (G(e)) if (Aa(e)) { g = Array(e.length); for (var a = 0; a < e.length; a++) g[a] = e[a] } else for (a in g = {}, e) ra.call(e, a) && (g[a] = e[a]); else g = e }) - }, $digest: function () { - var a, f, h, l, m, r, n = b, C, x = [], q, y; t("$digest"); k.$$checkUrlChange(); this === v && null !== e && (k.defer.cancel(e), p()); c = null; do { - r = !1; for (C = - this; u.length;) { try { y = u.shift(), y.scope.$eval(y.expression, y.locals) } catch (w) { g(w) } c = null }a: do { - if (l = C.$$watchers) for (m = l.length; m--;) try { if (a = l[m]) if ((f = a.get(C)) !== (h = a.last) && !(a.eq ? ka(f, h) : "number" === typeof f && "number" === typeof h && isNaN(f) && isNaN(h))) r = !0, c = a, a.last = a.eq ? Ma(f, null) : f, a.fn(f, h === s ? f : h, C), 5 > n && (q = 4 - n, x[q] || (x[q] = []), x[q].push({ msg: B(a.exp) ? "fn: " + (a.exp.name || a.exp.toString()) : a.exp, newVal: f, oldVal: h })); else if (a === c) { r = !1; break a } } catch (la) { g(la) } if (!(l = C.$$watchersCount && C.$$childHead || - C !== this && C.$$nextSibling)) for (; C !== this && !(l = C.$$nextSibling) ;) C = C.$parent - } while (C = l); if ((r || u.length) && !n--) throw v.$$phase = null, d("infdig", b, x); - } while (r || u.length); for (v.$$phase = null; H.length;) try { H.shift()() } catch (A) { g(A) } - }, $destroy: function () { - if (!this.$$destroyed) { - var a = this.$parent; this.$broadcast("$destroy"); this.$$destroyed = !0; this === v && k.$$applicationDestroyed(); C(this, -this.$$watchersCount); for (var b in this.$$listenerCount) y(this, this.$$listenerCount[b], b); a && a.$$childHead == this && (a.$$childHead = - this.$$nextSibling); a && a.$$childTail == this && (a.$$childTail = this.$$prevSibling); this.$$prevSibling && (this.$$prevSibling.$$nextSibling = this.$$nextSibling); this.$$nextSibling && (this.$$nextSibling.$$prevSibling = this.$$prevSibling); this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = z; this.$on = this.$watch = this.$watchGroup = function () { return z }; this.$$listeners = {}; this.$$nextSibling = null; m(this) - } - }, $eval: function (a, b) { return h(a)(this, b) }, $evalAsync: function (a, b) { - v.$$phase || u.length || - k.defer(function () { u.length && v.$digest() }); u.push({ scope: this, expression: a, locals: b }) - }, $$postDigest: function (a) { H.push(a) }, $apply: function (a) { try { t("$apply"); try { return this.$eval(a) } finally { v.$$phase = null } } catch (b) { g(b) } finally { try { v.$digest() } catch (c) { throw g(c), c; } } }, $applyAsync: function (a) { function b() { c.$eval(a) } var c = this; a && w.push(b); x() }, $on: function (a, b) { - var c = this.$$listeners[a]; c || (this.$$listeners[a] = c = []); c.push(b); var d = this; do d.$$listenerCount[a] || (d.$$listenerCount[a] = 0), d.$$listenerCount[a]++; - while (d = d.$parent); var e = this; return function () { var d = c.indexOf(b); -1 !== d && (c[d] = null, y(e, 1, a)) } - }, $emit: function (a, b) { - var c = [], d, e = this, f = !1, h = { name: a, targetScope: e, stopPropagation: function () { f = !0 }, preventDefault: function () { h.defaultPrevented = !0 }, defaultPrevented: !1 }, k = bb([h], arguments, 1), l, m; do { d = e.$$listeners[a] || c; h.currentScope = e; l = 0; for (m = d.length; l < m; l++) if (d[l]) try { d[l].apply(null, k) } catch (r) { g(r) } else d.splice(l, 1), l--, m--; if (f) return h.currentScope = null, h; e = e.$parent } while (e); h.currentScope = - null; return h - }, $broadcast: function (a, b) { - var c = this, d = this, e = { name: a, targetScope: this, preventDefault: function () { e.defaultPrevented = !0 }, defaultPrevented: !1 }; if (!this.$$listenerCount[a]) return e; for (var f = bb([e], arguments, 1), h, k; c = d;) { e.currentScope = c; d = c.$$listeners[a] || []; h = 0; for (k = d.length; h < k; h++) if (d[h]) try { d[h].apply(null, f) } catch (l) { g(l) } else d.splice(h, 1), h--, k--; if (!(d = c.$$listenerCount[a] && c.$$childHead || c !== this && c.$$nextSibling)) for (; c !== this && !(d = c.$$nextSibling) ;) c = c.$parent } e.currentScope = - null; return e - } - }; var v = new r, u = v.$$asyncQueue = [], H = v.$$postDigestQueue = [], w = v.$$applyAsyncQueue = []; return v - }] - } function ke() { var a = /^\s*(https?|ftp|mailto|tel|file):/, b = /^\s*((https?|ftp|file|blob):|data:image\/)/; this.aHrefSanitizationWhitelist = function (b) { return u(b) ? (a = b, this) : a }; this.imgSrcSanitizationWhitelist = function (a) { return u(a) ? (b = a, this) : b }; this.$get = function () { return function (d, c) { var e = c ? b : a, f; f = xa(d).href; return "" === f || f.match(e) ? d : "unsafe:" + f } } } function fg(a) { - if ("self" === a) return a; - if (F(a)) { if (-1 < a.indexOf("***")) throw za("iwcard", a); a = wd(a).replace("\\*\\*", ".*").replace("\\*", "[^:/.?&;]*"); return new RegExp("^" + a + "$") } if (La(a)) return new RegExp("^" + a.source + "$"); throw za("imatcher"); - } function xd(a) { var b = []; u(a) && n(a, function (a) { b.push(fg(a)) }); return b } function vf() { - this.SCE_CONTEXTS = ma; var a = ["self"], b = []; this.resourceUrlWhitelist = function (b) { arguments.length && (a = xd(b)); return a }; this.resourceUrlBlacklist = function (a) { arguments.length && (b = xd(a)); return b }; this.$get = ["$injector", - function (d) { - function c(a, b) { return "self" === a ? gd(b) : !!a.exec(b.href) } function e(a) { var b = function (a) { this.$$unwrapTrustedValue = function () { return a } }; a && (b.prototype = new a); b.prototype.valueOf = function () { return this.$$unwrapTrustedValue() }; b.prototype.toString = function () { return this.$$unwrapTrustedValue().toString() }; return b } var f = function (a) { throw za("unsafe"); }; d.has("$sanitize") && (f = d.get("$sanitize")); var g = e(), h = {}; h[ma.HTML] = e(g); h[ma.CSS] = e(g); h[ma.URL] = e(g); h[ma.JS] = e(g); h[ma.RESOURCE_URL] = - e(h[ma.URL]); return { - trustAs: function (a, b) { var c = h.hasOwnProperty(a) ? h[a] : null; if (!c) throw za("icontext", a, b); if (null === b || q(b) || "" === b) return b; if ("string" !== typeof b) throw za("itype", a); return new c(b) }, getTrusted: function (d, e) { - if (null === e || q(e) || "" === e) return e; var g = h.hasOwnProperty(d) ? h[d] : null; if (g && e instanceof g) return e.$$unwrapTrustedValue(); if (d === ma.RESOURCE_URL) { - var g = xa(e.toString()), r, t, n = !1; r = 0; for (t = a.length; r < t; r++) if (c(a[r], g)) { n = !0; break } if (n) for (r = 0, t = b.length; r < t; r++) if (c(b[r], - g)) { n = !1; break } if (n) return e; throw za("insecurl", e.toString()); - } if (d === ma.HTML) return f(e); throw za("unsafe"); - }, valueOf: function (a) { return a instanceof g ? a.$$unwrapTrustedValue() : a } - } - }] - } function uf() { - var a = !0; this.enabled = function (b) { arguments.length && (a = !!b); return a }; this.$get = ["$parse", "$sceDelegate", function (b, d) { - if (a && 8 > Ha) throw za("iequirks"); var c = ha(ma); c.isEnabled = function () { return a }; c.trustAs = d.trustAs; c.getTrusted = d.getTrusted; c.valueOf = d.valueOf; a || (c.trustAs = c.getTrusted = function (a, b) { return b }, - c.valueOf = Ya); c.parseAs = function (a, d) { var e = b(d); return e.literal && e.constant ? e : b(d, function (b) { return c.getTrusted(a, b) }) }; var e = c.parseAs, f = c.getTrusted, g = c.trustAs; n(ma, function (a, b) { var d = K(b); c[eb("parse_as_" + d)] = function (b) { return e(a, b) }; c[eb("get_trusted_" + d)] = function (b) { return f(a, b) }; c[eb("trust_as_" + d)] = function (b) { return g(a, b) } }); return c - }] - } function wf() { - this.$get = ["$window", "$document", function (a, b) { - var d = {}, c = Z((/android (\d+)/.exec(K((a.navigator || {}).userAgent)) || [])[1]), e = /Boxee/i.test((a.navigator || - {}).userAgent), f = b[0] || {}, g, h = /^(Moz|webkit|ms)(?=[A-Z])/, k = f.body && f.body.style, l = !1, m = !1; if (k) { for (var r in k) if (l = h.exec(r)) { g = l[0]; g = g.substr(0, 1).toUpperCase() + g.substr(1); break } g || (g = "WebkitOpacity" in k && "webkit"); l = !!("transition" in k || g + "Transition" in k); m = !!("animation" in k || g + "Animation" in k); !c || l && m || (l = F(k.webkitTransition), m = F(k.webkitAnimation)) } return { - history: !(!a.history || !a.history.pushState || 4 > c || e), hasEvent: function (a) { - if ("input" === a && 11 >= Ha) return !1; if (q(d[a])) { - var b = f.createElement("div"); - d[a] = "on" + a in b - } return d[a] - }, csp: Ca(), vendorPrefix: g, transitions: l, animations: m, android: c - } - }] - } function yf() { - this.$get = ["$templateCache", "$http", "$q", "$sce", function (a, b, d, c) { - function e(f, g) { - e.totalPendingRequests++; F(f) && a.get(f) || (f = c.getTrustedResourceUrl(f)); var h = b.defaults && b.defaults.transformResponse; E(h) ? h = h.filter(function (a) { return a !== ac }) : h === ac && (h = null); return b.get(f, { cache: a, transformResponse: h })["finally"](function () { e.totalPendingRequests-- }).then(function (b) { a.put(f, b.data); return b.data }, - function (a) { if (!g) throw ga("tpload", f, a.status, a.statusText); return d.reject(a) }) - } e.totalPendingRequests = 0; return e - }] - } function zf() { - this.$get = ["$rootScope", "$browser", "$location", function (a, b, d) { - return { - findBindings: function (a, b, d) { a = a.getElementsByClassName("ng-binding"); var g = []; n(a, function (a) { var c = $.element(a).data("$binding"); c && n(c, function (c) { d ? (new RegExp("(^|\\s)" + wd(b) + "(\\s|\\||$)")).test(c) && g.push(a) : -1 != c.indexOf(b) && g.push(a) }) }); return g }, findModels: function (a, b, d) { - for (var g = ["ng-", - "data-ng-", "ng\\:"], h = 0; h < g.length; ++h) { var k = a.querySelectorAll("[" + g[h] + "model" + (d ? "=" : "*=") + '"' + b + '"]'); if (k.length) return k } - }, getLocation: function () { return d.url() }, setLocation: function (b) { b !== d.url() && (d.url(b), a.$digest()) }, whenStable: function (a) { b.notifyWhenNoOutstandingRequests(a) } - } - }] - } function Af() { - this.$get = ["$rootScope", "$browser", "$q", "$$q", "$exceptionHandler", function (a, b, d, c, e) { - function f(f, k, l) { - B(f) || (l = k, k = f, f = z); var m = sa.call(arguments, 3), r = u(l) && !l, t = (r ? c : d).defer(), n = t.promise, q; - q = b.defer(function () { try { t.resolve(f.apply(null, m)) } catch (b) { t.reject(b), e(b) } finally { delete g[n.$$timeoutId] } r || a.$apply() }, k); n.$$timeoutId = q; g[q] = t; return n - } var g = {}; f.cancel = function (a) { return a && a.$$timeoutId in g ? (g[a.$$timeoutId].reject("canceled"), delete g[a.$$timeoutId], b.defer.cancel(a.$$timeoutId)) : !1 }; return f - }] - } function xa(a) { - Ha && (ba.setAttribute("href", a), a = ba.href); ba.setAttribute("href", a); return { - href: ba.href, protocol: ba.protocol ? ba.protocol.replace(/:$/, "") : "", host: ba.host, search: ba.search ? - ba.search.replace(/^\?/, "") : "", hash: ba.hash ? ba.hash.replace(/^#/, "") : "", hostname: ba.hostname, port: ba.port, pathname: "/" === ba.pathname.charAt(0) ? ba.pathname : "/" + ba.pathname - } - } function gd(a) { a = F(a) ? xa(a) : a; return a.protocol === yd.protocol && a.host === yd.host } function Bf() { this.$get = na(S) } function zd(a) { - function b(a) { try { return decodeURIComponent(a) } catch (b) { return a } } var d = a[0] || {}, c = {}, e = ""; return function () { - var a, g, h, k, l; a = d.cookie || ""; if (a !== e) for (e = a, a = e.split("; "), c = {}, h = 0; h < a.length; h++) g = a[h], k = - g.indexOf("="), 0 < k && (l = b(g.substring(0, k)), q(c[l]) && (c[l] = b(g.substring(k + 1)))); return c - } - } function Ff() { this.$get = zd } function Kc(a) { function b(d, c) { if (G(d)) { var e = {}; n(d, function (a, c) { e[c] = b(c, a) }); return e } return a.factory(d + "Filter", c) } this.register = b; this.$get = ["$injector", function (a) { return function (b) { return a.get(b + "Filter") } }]; b("currency", Ad); b("date", Bd); b("filter", gg); b("json", hg); b("limitTo", ig); b("lowercase", jg); b("number", Cd); b("orderBy", Dd); b("uppercase", kg) } function gg() { - return function (a, - b, d) { if (!Aa(a)) { if (null == a) return a; throw M("filter")("notarray", a); } var c; switch (ic(b)) { case "function": break; case "boolean": case "null": case "number": case "string": c = !0; case "object": b = lg(b, d, c); break; default: return a } return Array.prototype.filter.call(a, b) } - } function lg(a, b, d) { - var c = G(a) && "$" in a; !0 === b ? b = ka : B(b) || (b = function (a, b) { if (q(a)) return !1; if (null === a || null === b) return a === b; if (G(b) || G(a) && !rc(a)) return !1; a = K("" + a); b = K("" + b); return -1 !== a.indexOf(b) }); return function (e) { - return c && !G(e) ? Ja(e, - a.$, b, !1) : Ja(e, a, b, d) - } - } function Ja(a, b, d, c, e) { var f = ic(a), g = ic(b); if ("string" === g && "!" === b.charAt(0)) return !Ja(a, b.substring(1), d, c); if (E(a)) return a.some(function (a) { return Ja(a, b, d, c) }); switch (f) { case "object": var h; if (c) { for (h in a) if ("$" !== h.charAt(0) && Ja(a[h], b, d, !0)) return !0; return e ? !1 : Ja(a, b, d, !1) } if ("object" === g) { for (h in b) if (e = b[h], !B(e) && !q(e) && (f = "$" === h, !Ja(f ? a : a[h], e, d, f, f))) return !1; return !0 } return d(a, b); case "function": return !1; default: return d(a, b) } } function ic(a) { - return null === - a ? "null" : typeof a - } function Ad(a) { var b = a.NUMBER_FORMATS; return function (a, c, e) { q(c) && (c = b.CURRENCY_SYM); q(e) && (e = b.PATTERNS[1].maxFrac); return null == a ? a : Ed(a, b.PATTERNS[1], b.GROUP_SEP, b.DECIMAL_SEP, e).replace(/\u00A4/g, c) } } function Cd(a) { var b = a.NUMBER_FORMATS; return function (a, c) { return null == a ? a : Ed(a, b.PATTERNS[0], b.GROUP_SEP, b.DECIMAL_SEP, c) } } function mg(a) { - var b = 0, d, c, e, f, g; -1 < (c = a.indexOf(Fd)) && (a = a.replace(Fd, "")); 0 < (e = a.search(/e/i)) ? (0 > c && (c = e), c += +a.slice(e + 1), a = a.substring(0, e)) : 0 > c && (c = - a.length); for (e = 0; a.charAt(e) == jc; e++); if (e == (g = a.length)) d = [0], c = 1; else { for (g--; a.charAt(g) == jc;) g--; c -= e; d = []; for (f = 0; e <= g; e++, f++) d[f] = +a.charAt(e) } c > Gd && (d = d.splice(0, Gd - 1), b = c - 1, c = 1); return { d: d, e: b, i: c } - } function ng(a, b, d, c) { - var e = a.d, f = e.length - a.i; b = q(b) ? Math.min(Math.max(d, f), c) : +b; d = b + a.i; c = e[d]; if (0 < d) e.splice(d); else { a.i = 1; e.length = d = b + 1; for (var g = 0; g < d; g++) e[g] = 0 } for (5 <= c && e[d - 1]++; f < b; f++) e.push(0); if (b = e.reduceRight(function (a, b, c, d) { b += a; d[c] = b % 10; return Math.floor(b / 10) }, 0)) e.unshift(b), - a.i++ - } function Ed(a, b, d, c, e) { - if (!F(a) && !Q(a) || isNaN(a)) return ""; var f = !isFinite(a), g = !1, h = Math.abs(a) + "", k = ""; if (f) k = "\u221e"; else { g = mg(h); ng(g, e, b.minFrac, b.maxFrac); k = g.d; h = g.i; e = g.e; f = []; for (g = k.reduce(function (a, b) { return a && !b }, !0) ; 0 > h;) k.unshift(0), h++; 0 < h ? f = k.splice(h) : (f = k, k = [0]); h = []; for (k.length > b.lgSize && h.unshift(k.splice(-b.lgSize).join("")) ; k.length > b.gSize;) h.unshift(k.splice(-b.gSize).join("")); k.length && h.unshift(k.join("")); k = h.join(d); f.length && (k += c + f.join("")); e && (k += "e+" + e) } return 0 > - a && !g ? b.negPre + k + b.negSuf : b.posPre + k + b.posSuf - } function Ib(a, b, d) { var c = ""; 0 > a && (c = "-", a = -a); for (a = "" + a; a.length < b;) a = jc + a; d && (a = a.substr(a.length - b)); return c + a } function ca(a, b, d, c) { d = d || 0; return function (e) { e = e["get" + a](); if (0 < d || e > -d) e += d; 0 === e && -12 == d && (e = 12); return Ib(e, b, c) } } function Jb(a, b) { return function (d, c) { var e = d["get" + a](), f = tb(b ? "SHORT" + a : a); return c[f][e] } } function Hd(a) { var b = (new Date(a, 0, 1)).getDay(); return new Date(a, 0, (4 >= b ? 5 : 12) - b) } function Id(a) { - return function (b) { - var d = Hd(b.getFullYear()); - b = +new Date(b.getFullYear(), b.getMonth(), b.getDate() + (4 - b.getDay())) - +d; b = 1 + Math.round(b / 6048E5); return Ib(b, a) - } - } function kc(a, b) { return 0 >= a.getFullYear() ? b.ERAS[0] : b.ERAS[1] } function Bd(a) { - function b(a) { - var b; if (b = a.match(d)) { - a = new Date(0); var f = 0, g = 0, h = b[8] ? a.setUTCFullYear : a.setFullYear, k = b[8] ? a.setUTCHours : a.setHours; b[9] && (f = Z(b[9] + b[10]), g = Z(b[9] + b[11])); h.call(a, Z(b[1]), Z(b[2]) - 1, Z(b[3])); f = Z(b[4] || 0) - f; g = Z(b[5] || 0) - g; h = Z(b[6] || 0); b = Math.round(1E3 * parseFloat("0." + (b[7] || 0))); k.call(a, f, g, - h, b) - } return a - } var d = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; return function (c, d, f) { - var g = "", h = [], k, l; d = d || "mediumDate"; d = a.DATETIME_FORMATS[d] || d; F(c) && (c = og.test(c) ? Z(c) : b(c)); Q(c) && (c = new Date(c)); if (!da(c) || !isFinite(c.getTime())) return c; for (; d;) (l = pg.exec(d)) ? (h = bb(h, l, 1), d = h.pop()) : (h.push(d), d = null); var m = c.getTimezoneOffset(); f && (m = wc(f, c.getTimezoneOffset()), c = Rb(c, f, !0)); n(h, function (b) { - k = qg[b]; g += k ? k(c, a.DATETIME_FORMATS, m) : - b.replace(/(^'|'$)/g, "").replace(/''/g, "'") - }); return g - } - } function hg() { return function (a, b) { q(b) && (b = 2); return cb(a, b) } } function ig() { return function (a, b, d) { b = Infinity === Math.abs(Number(b)) ? Number(b) : Z(b); if (isNaN(b)) return a; Q(a) && (a = a.toString()); if (!E(a) && !F(a)) return a; d = !d || isNaN(d) ? 0 : Z(d); d = 0 > d ? Math.max(0, a.length + d) : d; return 0 <= b ? a.slice(d, d + b) : 0 === d ? a.slice(b, a.length) : a.slice(Math.max(0, d + b), d) } } function Dd(a) { - function b(b, d) { - d = d ? -1 : 1; return b.map(function (b) { - var c = 1, h = Ya; if (B(b)) h = b; else if (F(b)) { - if ("+" == - b.charAt(0) || "-" == b.charAt(0)) c = "-" == b.charAt(0) ? -1 : 1, b = b.substring(1); if ("" !== b && (h = a(b), h.constant)) var k = h(), h = function (a) { return a[k] } - } return { get: h, descending: c * d } - }) - } function d(a) { switch (typeof a) { case "number": case "boolean": case "string": return !0; default: return !1 } } return function (a, e, f) { - if (!Aa(a)) return a; E(e) || (e = [e]); 0 === e.length && (e = ["+"]); var g = b(e, f); g.push({ get: function () { return {} }, descending: f ? -1 : 1 }); a = Array.prototype.map.call(a, function (a, b) { - return { - value: a, predicateValues: g.map(function (c) { - var e = - c.get(a); c = typeof e; if (null === e) c = "string", e = "null"; else if ("string" === c) e = e.toLowerCase(); else if ("object" === c) a: { if ("function" === typeof e.valueOf && (e = e.valueOf(), d(e))) break a; if (rc(e) && (e = e.toString(), d(e))) break a; e = b } return { value: e, type: c } - }) - } - }); a.sort(function (a, b) { for (var c = 0, d = 0, e = g.length; d < e; ++d) { var c = a.predicateValues[d], f = b.predicateValues[d], n = 0; c.type === f.type ? c.value !== f.value && (n = c.value < f.value ? -1 : 1) : n = c.type < f.type ? -1 : 1; if (c = n * g[d].descending) break } return c }); return a = a.map(function (a) { return a.value }) - } - } - function Ka(a) { B(a) && (a = { link: a }); a.restrict = a.restrict || "AC"; return na(a) } function Jd(a, b, d, c, e) { - var f = this, g = []; f.$error = {}; f.$$success = {}; f.$pending = w; f.$name = e(b.name || b.ngForm || "")(d); f.$dirty = !1; f.$pristine = !0; f.$valid = !0; f.$invalid = !1; f.$submitted = !1; f.$$parentForm = Kb; f.$rollbackViewValue = function () { n(g, function (a) { a.$rollbackViewValue() }) }; f.$commitViewValue = function () { n(g, function (a) { a.$commitViewValue() }) }; f.$addControl = function (a) { - Ra(a.$name, "input"); g.push(a); a.$name && (f[a.$name] = a); a.$$parentForm = - f - }; f.$$renameControl = function (a, b) { var c = a.$name; f[c] === a && delete f[c]; f[b] = a; a.$name = b }; f.$removeControl = function (a) { a.$name && f[a.$name] === a && delete f[a.$name]; n(f.$pending, function (b, c) { f.$setValidity(c, null, a) }); n(f.$error, function (b, c) { f.$setValidity(c, null, a) }); n(f.$$success, function (b, c) { f.$setValidity(c, null, a) }); ab(g, a); a.$$parentForm = Kb }; Kd({ - ctrl: this, $element: a, set: function (a, b, c) { var d = a[b]; d ? -1 === d.indexOf(c) && d.push(c) : a[b] = [c] }, unset: function (a, b, c) { - var d = a[b]; d && (ab(d, c), 0 === d.length && - delete a[b]) - }, $animate: c - }); f.$setDirty = function () { c.removeClass(a, Wa); c.addClass(a, Lb); f.$dirty = !0; f.$pristine = !1; f.$$parentForm.$setDirty() }; f.$setPristine = function () { c.setClass(a, Wa, Lb + " ng-submitted"); f.$dirty = !1; f.$pristine = !0; f.$submitted = !1; n(g, function (a) { a.$setPristine() }) }; f.$setUntouched = function () { n(g, function (a) { a.$setUntouched() }) }; f.$setSubmitted = function () { c.addClass(a, "ng-submitted"); f.$submitted = !0; f.$$parentForm.$setSubmitted() } - } function lc(a) { - a.$formatters.push(function (b) { - return a.$isEmpty(b) ? - b : b.toString() - }) - } function kb(a, b, d, c, e, f) { - var g = K(b[0].type); if (!e.android) { var h = !1; b.on("compositionstart", function (a) { h = !0 }); b.on("compositionend", function () { h = !1; k() }) } var k = function (a) { l && (f.defer.cancel(l), l = null); if (!h) { var e = b.val(); a = a && a.type; "password" === g || d.ngTrim && "false" === d.ngTrim || (e = T(e)); (c.$viewValue !== e || "" === e && c.$$hasNativeValidators) && c.$setViewValue(e, a) } }; if (e.hasEvent("input")) b.on("input", k); else { - var l, m = function (a, b, c) { l || (l = f.defer(function () { l = null; b && b.value === c || k(a) })) }; - b.on("keydown", function (a) { var b = a.keyCode; 91 === b || 15 < b && 19 > b || 37 <= b && 40 >= b || m(a, this, this.value) }); if (e.hasEvent("paste")) b.on("paste cut", m) - } b.on("change", k); c.$render = function () { var a = c.$isEmpty(c.$viewValue) ? "" : c.$viewValue; b.val() !== a && b.val(a) } - } function Mb(a, b) { - return function (d, c) { - var e, f; if (da(d)) return d; if (F(d)) { - '"' == d.charAt(0) && '"' == d.charAt(d.length - 1) && (d = d.substring(1, d.length - 1)); if (rg.test(d)) return new Date(d); a.lastIndex = 0; if (e = a.exec(d)) return e.shift(), f = c ? { - yyyy: c.getFullYear(), - MM: c.getMonth() + 1, dd: c.getDate(), HH: c.getHours(), mm: c.getMinutes(), ss: c.getSeconds(), sss: c.getMilliseconds() / 1E3 - } : { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 }, n(e, function (a, c) { c < b.length && (f[b[c]] = +a) }), new Date(f.yyyy, f.MM - 1, f.dd, f.HH, f.mm, f.ss || 0, 1E3 * f.sss || 0) - } return NaN - } - } function lb(a, b, d, c) { - return function (e, f, g, h, k, l, m) { - function r(a) { return a && !(a.getTime && a.getTime() !== a.getTime()) } function n(a) { return u(a) && !da(a) ? d(a) || w : a } Ld(e, f, g, h); kb(e, f, g, h, k, l); var C = h && h.$options && h.$options.timezone, - y; h.$$parserName = a; h.$parsers.push(function (a) { return h.$isEmpty(a) ? null : b.test(a) ? (a = d(a, y), C && (a = Rb(a, C)), a) : w }); h.$formatters.push(function (a) { if (a && !da(a)) throw mb("datefmt", a); if (r(a)) return (y = a) && C && (y = Rb(y, C, !0)), m("date")(a, c, C); y = null; return "" }); if (u(g.min) || g.ngMin) { var s; h.$validators.min = function (a) { return !r(a) || q(s) || d(a) >= s }; g.$observe("min", function (a) { s = n(a); h.$validate() }) } if (u(g.max) || g.ngMax) { - var p; h.$validators.max = function (a) { return !r(a) || q(p) || d(a) <= p }; g.$observe("max", function (a) { - p = - n(a); h.$validate() - }) - } - } - } function Ld(a, b, d, c) { (c.$$hasNativeValidators = G(b[0].validity)) && c.$parsers.push(function (a) { var c = b.prop("validity") || {}; return c.badInput && !c.typeMismatch ? w : a }) } function Md(a, b, d, c, e) { if (u(c)) { a = a(c); if (!a.constant) throw mb("constexpr", d, c); return a(b) } return e } function mc(a, b) { - a = "ngClass" + a; return ["$animate", function (d) { - function c(a, b) { var c = [], d = 0; a: for (; d < a.length; d++) { for (var e = a[d], m = 0; m < b.length; m++) if (e == b[m]) continue a; c.push(e) } return c } function e(a) { - var b = []; return E(a) ? - (n(a, function (a) { b = b.concat(e(a)) }), b) : F(a) ? a.split(" ") : G(a) ? (n(a, function (a, c) { a && (b = b.concat(c.split(" "))) }), b) : a - } return { - restrict: "AC", link: function (f, g, h) { - function k(a, b) { var c = g.data("$classCounts") || ea(), d = []; n(a, function (a) { if (0 < b || c[a]) c[a] = (c[a] || 0) + b, c[a] === +(0 < b) && d.push(a) }); g.data("$classCounts", c); return d.join(" ") } function l(a) { - if (!0 === b || f.$index % 2 === b) { - var l = e(a || []); if (!m) { var n = k(l, 1); h.$addClass(n) } else if (!ka(a, m)) { - var q = e(m), n = c(l, q), l = c(q, l), n = k(n, 1), l = k(l, -1); n && n.length && - d.addClass(g, n); l && l.length && d.removeClass(g, l) - } - } m = ha(a) - } var m; f.$watch(h[a], l, !0); h.$observe("class", function (b) { l(f.$eval(h[a])) }); "ngClass" !== a && f.$watch("$index", function (c, d) { var g = c & 1; if (g !== (d & 1)) { var l = e(f.$eval(h[a])); g === b ? (g = k(l, 1), h.$addClass(g)) : (g = k(l, -1), h.$removeClass(g)) } }) - } - } - }] - } function Kd(a) { - function b(a, b) { b && !f[a] ? (k.addClass(e, a), f[a] = !0) : !b && f[a] && (k.removeClass(e, a), f[a] = !1) } function d(a, c) { a = a ? "-" + Ac(a, "-") : ""; b(nb + a, !0 === c); b(Nd + a, !1 === c) } var c = a.ctrl, e = a.$element, f = {}, g = - a.set, h = a.unset, k = a.$animate; f[Nd] = !(f[nb] = e.hasClass(nb)); c.$setValidity = function (a, e, f) { - q(e) ? (c.$pending || (c.$pending = {}), g(c.$pending, a, f)) : (c.$pending && h(c.$pending, a, f), Od(c.$pending) && (c.$pending = w)); $a(e) ? e ? (h(c.$error, a, f), g(c.$$success, a, f)) : (g(c.$error, a, f), h(c.$$success, a, f)) : (h(c.$error, a, f), h(c.$$success, a, f)); c.$pending ? (b(Pd, !0), c.$valid = c.$invalid = w, d("", null)) : (b(Pd, !1), c.$valid = Od(c.$error), c.$invalid = !c.$valid, d("", c.$valid)); e = c.$pending && c.$pending[a] ? w : c.$error[a] ? !1 : c.$$success[a] ? - !0 : null; d(a, e); c.$$parentForm.$setValidity(a, e, c) - } - } function Od(a) { if (a) for (var b in a) if (a.hasOwnProperty(b)) return !1; return !0 } var sg = /^\/(.+)\/([a-z]*)$/, K = function (a) { return F(a) ? a.toLowerCase() : a }, ra = Object.prototype.hasOwnProperty, tb = function (a) { return F(a) ? a.toUpperCase() : a }, Ha, A, pa, sa = [].slice, Uf = [].splice, tg = [].push, ta = Object.prototype.toString, sc = Object.getPrototypeOf, Ba = M("ng"), $ = S.angular || (S.angular = {}), Ub, ob = 0; Ha = W.documentMode; z.$inject = []; Ya.$inject = []; var E = Array.isArray, Zd = /^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/, - T = function (a) { return F(a) ? a.trim() : a }, wd = function (a) { return a.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/, Vb = /<|&#?\w+;/, If = /<([\w:-]+)/, Jf = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, ja = { option: [1, '"], thead: [1, "", "
"], col: [2, "", "
"], tr: [2, "", "
"], td: [3, "", "
"], _default: [0, "", ""] }; ja.optgroup = ja.option; ja.tbody = ja.tfoot = ja.colgroup = ja.caption = ja.thead; - ja.th = ja.td; var Qf = Node.prototype.contains || function (a) { return !!(this.compareDocumentPosition(a) & 16) }, Pa = P.prototype = { ready: function (a) { function b() { d || (d = !0, a()) } var d = !1; "complete" === W.readyState ? setTimeout(b) : (this.on("DOMContentLoaded", b), P(S).on("load", b)) }, toString: function () { var a = []; n(this, function (b) { a.push("" + b) }); return "[" + a.join(", ") + "]" }, eq: function (a) { return 0 <= a ? A(this[a]) : A(this[this.length + a]) }, length: 0, push: tg, sort: [].sort, splice: [].splice }, Db = {}; n("multiple selected checked disabled readOnly required open".split(" "), - function (a) { Db[K(a)] = a }); var Sc = {}; n("input select option textarea button form details".split(" "), function (a) { Sc[a] = !0 }); var ad = { ngMinlength: "minlength", ngMaxlength: "maxlength", ngMin: "min", ngMax: "max", ngPattern: "pattern" }; n({ data: Yb, removeData: wb, hasData: function (a) { for (var b in fb[a.ng339]) return !0; return !1 } }, function (a, b) { P[b] = a }); n({ - data: Yb, inheritedData: Cb, scope: function (a) { return A.data(a, "$scope") || Cb(a.parentNode || a, ["$isolateScope", "$scope"]) }, isolateScope: function (a) { - return A.data(a, "$isolateScope") || - A.data(a, "$isolateScopeNoTemplate") - }, controller: Pc, injector: function (a) { return Cb(a, "$injector") }, removeAttr: function (a, b) { a.removeAttribute(b) }, hasClass: zb, css: function (a, b, d) { b = eb(b); if (u(d)) a.style[b] = d; else return a.style[b] }, attr: function (a, b, d) { - var c = a.nodeType; if (c !== Na && 2 !== c && 8 !== c) if (c = K(b), Db[c]) if (u(d)) d ? (a[b] = !0, a.setAttribute(b, c)) : (a[b] = !1, a.removeAttribute(c)); else return a[b] || (a.attributes.getNamedItem(b) || z).specified ? c : w; else if (u(d)) a.setAttribute(b, d); else if (a.getAttribute) return a = - a.getAttribute(b, 2), null === a ? w : a - }, prop: function (a, b, d) { if (u(d)) a[b] = d; else return a[b] }, text: function () { function a(a, d) { if (q(d)) { var c = a.nodeType; return 1 === c || c === Na ? a.textContent : "" } a.textContent = d } a.$dv = ""; return a }(), val: function (a, b) { if (q(b)) { if (a.multiple && "select" === oa(a)) { var d = []; n(a.options, function (a) { a.selected && d.push(a.value || a.text) }); return 0 === d.length ? null : d } return a.value } a.value = b }, html: function (a, b) { if (q(b)) return a.innerHTML; vb(a, !0); a.innerHTML = b }, empty: Qc - }, function (a, b) { - P.prototype[b] = - function (b, c) { var e, f, g = this.length; if (a !== Qc && q(2 == a.length && a !== zb && a !== Pc ? b : c)) { if (G(b)) { for (e = 0; e < g; e++) if (a === Yb) a(this[e], b); else for (f in b) a(this[e], f, b[f]); return this } e = a.$dv; g = q(e) ? Math.min(g, 1) : g; for (f = 0; f < g; f++) { var h = a(this[f], b, c); e = e ? e + h : h } return e } for (e = 0; e < g; e++) a(this[e], b, c); return this } - }); n({ - removeData: wb, on: function (a, b, d, c) { - if (u(c)) throw Wb("onargs"); if (Lc(a)) { - c = xb(a, !0); var e = c.events, f = c.handle; f || (f = c.handle = Nf(a, e)); c = 0 <= b.indexOf(" ") ? b.split(" ") : [b]; for (var g = c.length, - h = function (b, c, g) { var h = e[b]; h || (h = e[b] = [], h.specialHandlerWrapper = c, "$destroy" === b || g || a.addEventListener(b, f, !1)); h.push(d) }; g--;) b = c[g], yb[b] ? (h(yb[b], Pf), h(b, w, !0)) : h(b) - } - }, off: Oc, one: function (a, b, d) { a = A(a); a.on(b, function e() { a.off(b, d); a.off(b, e) }); a.on(b, d) }, replaceWith: function (a, b) { var d, c = a.parentNode; vb(a); n(new P(b), function (b) { d ? c.insertBefore(b, d.nextSibling) : c.replaceChild(b, a); d = b }) }, children: function (a) { var b = []; n(a.childNodes, function (a) { 1 === a.nodeType && b.push(a) }); return b }, contents: function (a) { - return a.contentDocument || - a.childNodes || [] - }, append: function (a, b) { var d = a.nodeType; if (1 === d || 11 === d) { b = new P(b); for (var d = 0, c = b.length; d < c; d++) a.appendChild(b[d]) } }, prepend: function (a, b) { if (1 === a.nodeType) { var d = a.firstChild; n(new P(b), function (b) { a.insertBefore(b, d) }) } }, wrap: function (a, b) { b = A(b).eq(0).clone()[0]; var d = a.parentNode; d && d.replaceChild(b, a); b.appendChild(a) }, remove: Zb, detach: function (a) { Zb(a, !0) }, after: function (a, b) { - var d = a, c = a.parentNode; b = new P(b); for (var e = 0, f = b.length; e < f; e++) { - var g = b[e]; c.insertBefore(g, - d.nextSibling); d = g - } - }, addClass: Bb, removeClass: Ab, toggleClass: function (a, b, d) { b && n(b.split(" "), function (b) { var e = d; q(e) && (e = !zb(a, b)); (e ? Bb : Ab)(a, b) }) }, parent: function (a) { return (a = a.parentNode) && 11 !== a.nodeType ? a : null }, next: function (a) { return a.nextElementSibling }, find: function (a, b) { return a.getElementsByTagName ? a.getElementsByTagName(b) : [] }, clone: Xb, triggerHandler: function (a, b, d) { - var c, e, f = b.type || b, g = xb(a); if (g = (g = g && g.events) && g[f]) c = { - preventDefault: function () { this.defaultPrevented = !0 }, isDefaultPrevented: function () { - return !0 === - this.defaultPrevented - }, stopImmediatePropagation: function () { this.immediatePropagationStopped = !0 }, isImmediatePropagationStopped: function () { return !0 === this.immediatePropagationStopped }, stopPropagation: z, type: f, target: a - }, b.type && (c = N(c, b)), b = ha(g), e = d ? [c].concat(d) : [c], n(b, function (b) { c.isImmediatePropagationStopped() || b.apply(a, e) }) - } - }, function (a, b) { - P.prototype[b] = function (b, c, e) { for (var f, g = 0, h = this.length; g < h; g++) q(f) ? (f = a(this[g], b, c, e), u(f) && (f = A(f))) : Nc(f, a(this[g], b, c, e)); return u(f) ? f : this }; P.prototype.bind = - P.prototype.on; P.prototype.unbind = P.prototype.off - }); Sa.prototype = { put: function (a, b) { this[Da(a, this.nextUid)] = b }, get: function (a) { return this[Da(a, this.nextUid)] }, remove: function (a) { var b = this[a = Da(a, this.nextUid)]; delete this[a]; return b } }; var Ef = [function () { this.$get = [function () { return Sa }] }], Uc = /^[^\(]*\(\s*([^\)]*)\)/m, ug = /,/, vg = /^\s*(_?)(\S+?)\1\s*$/, Tc = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg, Ea = M("$injector"); db.$$annotate = function (a, b, d) { - var c; if ("function" === typeof a) { - if (!(c = a.$inject)) { - c = []; if (a.length) { - if (b) throw F(d) && - d || (d = a.name || Rf(a)), Ea("strictdi", d); b = a.toString().replace(Tc, ""); b = b.match(Uc); n(b[1].split(ug), function (a) { a.replace(vg, function (a, b, d) { c.push(d) }) }) - } a.$inject = c - } - } else E(a) ? (b = a.length - 1, Qa(a[b], "fn"), c = a.slice(0, b)) : Qa(a, "fn", !0); return c - }; var Qd = M("$animate"), Xe = function () { this.$get = function () { } }, Ye = function () { - var a = new Sa, b = []; this.$get = ["$$AnimateRunner", "$rootScope", function (d, c) { - function e(a, b, c) { var d = !1; b && (b = F(b) ? b.split(" ") : E(b) ? b : [], n(b, function (b) { b && (d = !0, a[b] = c) })); return d } function f() { - n(b, - function (b) { var c = a.get(b); if (c) { var d = Sf(b.attr("class")), e = "", f = ""; n(c, function (a, b) { a !== !!d[b] && (a ? e += (e.length ? " " : "") + b : f += (f.length ? " " : "") + b) }); n(b, function (a) { e && Bb(a, e); f && Ab(a, f) }); a.remove(b) } }); b.length = 0 - } return { - enabled: z, on: z, off: z, pin: z, push: function (g, h, k, l) { - l && l(); k = k || {}; k.from && g.css(k.from); k.to && g.css(k.to); if (k.addClass || k.removeClass) if (h = k.addClass, l = k.removeClass, k = a.get(g) || {}, h = e(k, h, !0), l = e(k, l, !1), h || l) a.put(g, k), b.push(g), 1 === b.length && c.$$postDigest(f); g = new d; g.complete(); - return g - } - } - }] - }, Ve = ["$provide", function (a) { - var b = this; this.$$registeredAnimations = Object.create(null); this.register = function (d, c) { if (d && "." !== d.charAt(0)) throw Qd("notcsel", d); var e = d + "-animation"; b.$$registeredAnimations[d.substr(1)] = e; a.factory(e, c) }; this.classNameFilter = function (a) { if (1 === arguments.length && (this.$$classNameFilter = a instanceof RegExp ? a : null) && /(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString())) throw Qd("nongcls", "ng-animate"); return this.$$classNameFilter }; this.$get = - ["$$animateQueue", function (a) { - function b(a, c, d) { if (d) { var h; a: { for (h = 0; h < d.length; h++) { var k = d[h]; if (1 === k.nodeType) { h = k; break a } } h = void 0 } !h || h.parentNode || h.previousElementSibling || (d = null) } d ? d.after(a) : c.prepend(a) } return { - on: a.on, off: a.off, pin: a.pin, enabled: a.enabled, cancel: function (a) { a.end && a.end() }, enter: function (e, f, g, h) { f = f && A(f); g = g && A(g); f = f || g.parent(); b(e, f, g); return a.push(e, "enter", Fa(h)) }, move: function (e, f, g, h) { f = f && A(f); g = g && A(g); f = f || g.parent(); b(e, f, g); return a.push(e, "move", Fa(h)) }, - leave: function (b, c) { return a.push(b, "leave", Fa(c), function () { b.remove() }) }, addClass: function (b, c, g) { g = Fa(g); g.addClass = gb(g.addclass, c); return a.push(b, "addClass", g) }, removeClass: function (b, c, g) { g = Fa(g); g.removeClass = gb(g.removeClass, c); return a.push(b, "removeClass", g) }, setClass: function (b, c, g, h) { h = Fa(h); h.addClass = gb(h.addClass, c); h.removeClass = gb(h.removeClass, g); return a.push(b, "setClass", h) }, animate: function (b, c, g, h, k) { - k = Fa(k); k.from = k.from ? N(k.from, c) : c; k.to = k.to ? N(k.to, g) : g; k.tempClasses = gb(k.tempClasses, - h || "ng-inline-animate"); return a.push(b, "animate", k) - } - } - }] - }], $e = function () { this.$get = ["$$rAF", function (a) { function b(b) { d.push(b); 1 < d.length || a(function () { for (var a = 0; a < d.length; a++) d[a](); d = [] }) } var d = []; return function () { var a = !1; b(function () { a = !0 }); return function (d) { a ? d() : b(d) } } }] }, Ze = function () { - this.$get = ["$q", "$sniffer", "$$animateAsyncRun", "$document", "$timeout", function (a, b, d, c, e) { - function f(a) { - this.setHost(a); var b = d(); this._doneCallbacks = []; this._tick = function (a) { - var d = c[0]; d && d.hidden ? e(a, - 0, !1) : b(a) - }; this._state = 0 - } f.chain = function (a, b) { function c() { if (d === a.length) b(!0); else a[d](function (a) { !1 === a ? b(!1) : (d++, c()) }) } var d = 0; c() }; f.all = function (a, b) { function c(f) { e = e && f; ++d === a.length && b(e) } var d = 0, e = !0; n(a, function (a) { a.done(c) }) }; f.prototype = { - setHost: function (a) { this.host = a || {} }, done: function (a) { 2 === this._state ? a() : this._doneCallbacks.push(a) }, progress: z, getPromise: function () { if (!this.promise) { var b = this; this.promise = a(function (a, c) { b.done(function (b) { !1 === b ? c() : a() }) }) } return this.promise }, - then: function (a, b) { return this.getPromise().then(a, b) }, "catch": function (a) { return this.getPromise()["catch"](a) }, "finally": function (a) { return this.getPromise()["finally"](a) }, pause: function () { this.host.pause && this.host.pause() }, resume: function () { this.host.resume && this.host.resume() }, end: function () { this.host.end && this.host.end(); this._resolve(!0) }, cancel: function () { this.host.cancel && this.host.cancel(); this._resolve(!1) }, complete: function (a) { var b = this; 0 === b._state && (b._state = 1, b._tick(function () { b._resolve(a) })) }, - _resolve: function (a) { 2 !== this._state && (n(this._doneCallbacks, function (b) { b(a) }), this._doneCallbacks.length = 0, this._state = 2) } - }; return f - }] - }, We = function () { - this.$get = ["$$rAF", "$q", "$$AnimateRunner", function (a, b, d) { - return function (b, e) { - function f() { a(function () { g.addClass && (b.addClass(g.addClass), g.addClass = null); g.removeClass && (b.removeClass(g.removeClass), g.removeClass = null); g.to && (b.css(g.to), g.to = null); h || k.complete(); h = !0 }); return k } var g = e || {}; g.$$prepared || (g = Ma(g)); g.cleanupStyles && (g.from = g.to = - null); g.from && (b.css(g.from), g.from = null); var h, k = new d; return { start: f, end: f } - } - }] - }, ga = M("$compile"); Dc.$inject = ["$provide", "$$sanitizeUriProvider"]; var Yc = /^((?:x|data)[\:\-_])/i, Vf = M("$controller"), Vc = /^(\S+)(\s+as\s+([\w$]+))?$/, ff = function () { this.$get = ["$document", function (a) { return function (b) { b ? !b.nodeType && b instanceof A && (b = b[0]) : b = a[0].body; return b.offsetWidth + 1 } }] }, bd = "application/json", bc = { "Content-Type": bd + ";charset=utf-8" }, Xf = /^\[|^\{(?!\{)/, Yf = { "[": /]$/, "{": /}$/ }, Wf = /^\)\]\}',?\n/, wg = - M("$http"), fd = function (a) { return function () { throw wg("legacy", a); } }, Ia = $.$interpolateMinErr = M("$interpolate"); Ia.throwNoconcat = function (a) { throw Ia("noconcat", a); }; Ia.interr = function (a, b) { return Ia("interr", a, b.toString()) }; var xg = /^([^\?#]*)(\?([^#]*))?(#(.*))?$/, $f = { http: 80, https: 443, ftp: 21 }, Fb = M("$location"), yg = { - $$html5: !1, $$replace: !1, absUrl: Gb("$$absUrl"), url: function (a) { - if (q(a)) return this.$$url; var b = xg.exec(a); (b[1] || "" === a) && this.path(decodeURIComponent(b[1])); (b[2] || b[1] || "" === a) && this.search(b[3] || - ""); this.hash(b[5] || ""); return this - }, protocol: Gb("$$protocol"), host: Gb("$$host"), port: Gb("$$port"), path: kd("$$path", function (a) { a = null !== a ? a.toString() : ""; return "/" == a.charAt(0) ? a : "/" + a }), search: function (a, b) { - switch (arguments.length) { case 0: return this.$$search; case 1: if (F(a) || Q(a)) a = a.toString(), this.$$search = yc(a); else if (G(a)) a = Ma(a, {}), n(a, function (b, c) { null == b && delete a[c] }), this.$$search = a; else throw Fb("isrcharg"); break; default: q(b) || null === b ? delete this.$$search[a] : this.$$search[a] = b } this.$$compose(); - return this - }, hash: kd("$$hash", function (a) { return null !== a ? a.toString() : "" }), replace: function () { this.$$replace = !0; return this } - }; n([jd, ec, dc], function (a) { a.prototype = Object.create(yg); a.prototype.state = function (b) { if (!arguments.length) return this.$$state; if (a !== dc || !this.$$html5) throw Fb("nostate"); this.$$state = q(b) ? null : b; return this } }); var aa = M("$parse"), ag = Function.prototype.call, bg = Function.prototype.apply, cg = Function.prototype.bind, Nb = ea(); n("+ - * / % === !== == != < > <= >= && || ! = |".split(" "), - function (a) { Nb[a] = !0 }); var zg = { n: "\n", f: "\f", r: "\r", t: "\t", v: "\v", "'": "'", '"': '"' }, gc = function (a) { this.options = a }; gc.prototype = { - constructor: gc, lex: function (a) { - this.text = a; this.index = 0; for (this.tokens = []; this.index < this.text.length;) if (a = this.text.charAt(this.index), '"' === a || "'" === a) this.readString(a); else if (this.isNumber(a) || "." === a && this.isNumber(this.peek())) this.readNumber(); else if (this.isIdent(a)) this.readIdent(); else if (this.is(a, "(){}[].,;:?")) this.tokens.push({ index: this.index, text: a }), this.index++; - else if (this.isWhitespace(a)) this.index++; else { var b = a + this.peek(), d = b + this.peek(2), c = Nb[b], e = Nb[d]; Nb[a] || c || e ? (a = e ? d : c ? b : a, this.tokens.push({ index: this.index, text: a, operator: !0 }), this.index += a.length) : this.throwError("Unexpected next character ", this.index, this.index + 1) } return this.tokens - }, is: function (a, b) { return -1 !== b.indexOf(a) }, peek: function (a) { a = a || 1; return this.index + a < this.text.length ? this.text.charAt(this.index + a) : !1 }, isNumber: function (a) { return "0" <= a && "9" >= a && "string" === typeof a }, isWhitespace: function (a) { - return " " === - a || "\r" === a || "\t" === a || "\n" === a || "\v" === a || "\u00a0" === a - }, isIdent: function (a) { return "a" <= a && "z" >= a || "A" <= a && "Z" >= a || "_" === a || "$" === a }, isExpOperator: function (a) { return "-" === a || "+" === a || this.isNumber(a) }, throwError: function (a, b, d) { d = d || this.index; b = u(b) ? "s " + b + "-" + this.index + " [" + this.text.substring(b, d) + "]" : " " + d; throw aa("lexerr", a, b, this.text); }, readNumber: function () { - for (var a = "", b = this.index; this.index < this.text.length;) { - var d = K(this.text.charAt(this.index)); if ("." == d || this.isNumber(d)) a += d; else { - var c = - this.peek(); if ("e" == d && this.isExpOperator(c)) a += d; else if (this.isExpOperator(d) && c && this.isNumber(c) && "e" == a.charAt(a.length - 1)) a += d; else if (!this.isExpOperator(d) || c && this.isNumber(c) || "e" != a.charAt(a.length - 1)) break; else this.throwError("Invalid exponent") - } this.index++ - } this.tokens.push({ index: b, text: a, constant: !0, value: Number(a) }) - }, readIdent: function () { - for (var a = this.index; this.index < this.text.length;) { var b = this.text.charAt(this.index); if (!this.isIdent(b) && !this.isNumber(b)) break; this.index++ } this.tokens.push({ - index: a, - text: this.text.slice(a, this.index), identifier: !0 - }) - }, readString: function (a) { - var b = this.index; this.index++; for (var d = "", c = a, e = !1; this.index < this.text.length;) { - var f = this.text.charAt(this.index), c = c + f; if (e) "u" === f ? (e = this.text.substring(this.index + 1, this.index + 5), e.match(/[\da-f]{4}/i) || this.throwError("Invalid unicode escape [\\u" + e + "]"), this.index += 4, d += String.fromCharCode(parseInt(e, 16))) : d += zg[f] || f, e = !1; else if ("\\" === f) e = !0; else { - if (f === a) { - this.index++; this.tokens.push({ - index: b, text: c, constant: !0, - value: d - }); return - } d += f - } this.index++ - } this.throwError("Unterminated quote", b) - } - }; var s = function (a, b) { this.lexer = a; this.options = b }; s.Program = "Program"; s.ExpressionStatement = "ExpressionStatement"; s.AssignmentExpression = "AssignmentExpression"; s.ConditionalExpression = "ConditionalExpression"; s.LogicalExpression = "LogicalExpression"; s.BinaryExpression = "BinaryExpression"; s.UnaryExpression = "UnaryExpression"; s.CallExpression = "CallExpression"; s.MemberExpression = "MemberExpression"; s.Identifier = "Identifier"; s.Literal = - "Literal"; s.ArrayExpression = "ArrayExpression"; s.Property = "Property"; s.ObjectExpression = "ObjectExpression"; s.ThisExpression = "ThisExpression"; s.NGValueParameter = "NGValueParameter"; s.prototype = { - ast: function (a) { this.text = a; this.tokens = this.lexer.lex(a); a = this.program(); 0 !== this.tokens.length && this.throwError("is an unexpected token", this.tokens[0]); return a }, program: function () { - for (var a = []; ;) if (0 < this.tokens.length && !this.peek("}", ")", ";", "]") && a.push(this.expressionStatement()), !this.expect(";")) return { - type: s.Program, - body: a - } - }, expressionStatement: function () { return { type: s.ExpressionStatement, expression: this.filterChain() } }, filterChain: function () { for (var a = this.expression() ; this.expect("|") ;) a = this.filter(a); return a }, expression: function () { return this.assignment() }, assignment: function () { var a = this.ternary(); this.expect("=") && (a = { type: s.AssignmentExpression, left: a, right: this.assignment(), operator: "=" }); return a }, ternary: function () { - var a = this.logicalOR(), b, d; return this.expect("?") && (b = this.expression(), this.consume(":")) ? - (d = this.expression(), { type: s.ConditionalExpression, test: a, alternate: b, consequent: d }) : a - }, logicalOR: function () { for (var a = this.logicalAND() ; this.expect("||") ;) a = { type: s.LogicalExpression, operator: "||", left: a, right: this.logicalAND() }; return a }, logicalAND: function () { for (var a = this.equality() ; this.expect("&&") ;) a = { type: s.LogicalExpression, operator: "&&", left: a, right: this.equality() }; return a }, equality: function () { - for (var a = this.relational(), b; b = this.expect("==", "!=", "===", "!==") ;) a = { - type: s.BinaryExpression, - operator: b.text, left: a, right: this.relational() - }; return a - }, relational: function () { for (var a = this.additive(), b; b = this.expect("<", ">", "<=", ">=") ;) a = { type: s.BinaryExpression, operator: b.text, left: a, right: this.additive() }; return a }, additive: function () { for (var a = this.multiplicative(), b; b = this.expect("+", "-") ;) a = { type: s.BinaryExpression, operator: b.text, left: a, right: this.multiplicative() }; return a }, multiplicative: function () { - for (var a = this.unary(), b; b = this.expect("*", "/", "%") ;) a = { - type: s.BinaryExpression, operator: b.text, - left: a, right: this.unary() - }; return a - }, unary: function () { var a; return (a = this.expect("+", "-", "!")) ? { type: s.UnaryExpression, operator: a.text, prefix: !0, argument: this.unary() } : this.primary() }, primary: function () { - var a; this.expect("(") ? (a = this.filterChain(), this.consume(")")) : this.expect("[") ? a = this.arrayDeclaration() : this.expect("{") ? a = this.object() : this.constants.hasOwnProperty(this.peek().text) ? a = Ma(this.constants[this.consume().text]) : this.peek().identifier ? a = this.identifier() : this.peek().constant ? a = this.constant() : - this.throwError("not a primary expression", this.peek()); for (var b; b = this.expect("(", "[", ".") ;) "(" === b.text ? (a = { type: s.CallExpression, callee: a, arguments: this.parseArguments() }, this.consume(")")) : "[" === b.text ? (a = { type: s.MemberExpression, object: a, property: this.expression(), computed: !0 }, this.consume("]")) : "." === b.text ? a = { type: s.MemberExpression, object: a, property: this.identifier(), computed: !1 } : this.throwError("IMPOSSIBLE"); return a - }, filter: function (a) { - a = [a]; for (var b = { - type: s.CallExpression, callee: this.identifier(), - arguments: a, filter: !0 - }; this.expect(":") ;) a.push(this.expression()); return b - }, parseArguments: function () { var a = []; if (")" !== this.peekToken().text) { do a.push(this.expression()); while (this.expect(",")) } return a }, identifier: function () { var a = this.consume(); a.identifier || this.throwError("is not a valid identifier", a); return { type: s.Identifier, name: a.text } }, constant: function () { return { type: s.Literal, value: this.consume().value } }, arrayDeclaration: function () { - var a = []; if ("]" !== this.peekToken().text) { - do { - if (this.peek("]")) break; - a.push(this.expression()) - } while (this.expect(",")) - } this.consume("]"); return { type: s.ArrayExpression, elements: a } - }, object: function () { var a = [], b; if ("}" !== this.peekToken().text) { do { if (this.peek("}")) break; b = { type: s.Property, kind: "init" }; this.peek().constant ? b.key = this.constant() : this.peek().identifier ? b.key = this.identifier() : this.throwError("invalid key", this.peek()); this.consume(":"); b.value = this.expression(); a.push(b) } while (this.expect(",")) } this.consume("}"); return { type: s.ObjectExpression, properties: a } }, - throwError: function (a, b) { throw aa("syntax", b.text, a, b.index + 1, this.text, this.text.substring(b.index)); }, consume: function (a) { if (0 === this.tokens.length) throw aa("ueoe", this.text); var b = this.expect(a); b || this.throwError("is unexpected, expecting [" + a + "]", this.peek()); return b }, peekToken: function () { if (0 === this.tokens.length) throw aa("ueoe", this.text); return this.tokens[0] }, peek: function (a, b, d, c) { return this.peekAhead(0, a, b, d, c) }, peekAhead: function (a, b, d, c, e) { - if (this.tokens.length > a) { - a = this.tokens[a]; - var f = a.text; if (f === b || f === d || f === c || f === e || !(b || d || c || e)) return a - } return !1 - }, expect: function (a, b, d, c) { return (a = this.peek(a, b, d, c)) ? (this.tokens.shift(), a) : !1 }, constants: { "true": { type: s.Literal, value: !0 }, "false": { type: s.Literal, value: !1 }, "null": { type: s.Literal, value: null }, undefined: { type: s.Literal, value: w }, "this": { type: s.ThisExpression } } - }; td.prototype = { - compile: function (a, b) { - var d = this, c = this.astBuilder.ast(a); this.state = { - nextId: 0, filters: {}, expensiveChecks: b, fn: { vars: [], body: [], own: {} }, assign: { - vars: [], - body: [], own: {} - }, inputs: [] - }; V(c, d.$filter); var e = "", f; this.stage = "assign"; if (f = rd(c)) this.state.computing = "assign", e = this.nextId(), this.recurse(f, e), this.return_(e), e = "fn.assign=" + this.generateFunction("assign", "s,v,l"); f = pd(c.body); d.stage = "inputs"; n(f, function (a, b) { var c = "fn" + b; d.state[c] = { vars: [], body: [], own: {} }; d.state.computing = c; var e = d.nextId(); d.recurse(a, e); d.return_(e); d.state.inputs.push(c); a.watchId = b }); this.state.computing = "fn"; this.stage = "main"; this.recurse(c); e = '"' + this.USE + " " + this.STRICT + - '";\n' + this.filterPrefix() + "var fn=" + this.generateFunction("fn", "s,l,a,i") + e + this.watchFns() + "return fn;"; e = (new Function("$filter", "ensureSafeMemberName", "ensureSafeObject", "ensureSafeFunction", "getStringValue", "ensureSafeAssignContext", "ifDefined", "plus", "text", e))(this.$filter, Va, ya, md, ld, nd, dg, od, a); this.state = this.stage = w; e.literal = sd(c); e.constant = c.constant; return e - }, USE: "use", STRICT: "strict", watchFns: function () { - var a = [], b = this.state.inputs, d = this; n(b, function (b) { - a.push("var " + b + "=" + d.generateFunction(b, - "s")) - }); b.length && a.push("fn.inputs=[" + b.join(",") + "];"); return a.join("") - }, generateFunction: function (a, b) { return "function(" + b + "){" + this.varsPrefix(a) + this.body(a) + "};" }, filterPrefix: function () { var a = [], b = this; n(this.state.filters, function (d, c) { a.push(d + "=$filter(" + b.escape(c) + ")") }); return a.length ? "var " + a.join(",") + ";" : "" }, varsPrefix: function (a) { return this.state[a].vars.length ? "var " + this.state[a].vars.join(",") + ";" : "" }, body: function (a) { return this.state[a].body.join("") }, recurse: function (a, b, - d, c, e, f) { - var g, h, k = this, l, m; c = c || z; if (!f && u(a.watchId)) b = b || this.nextId(), this.if_("i", this.lazyAssign(b, this.computedMember("i", a.watchId)), this.lazyRecurse(a, b, d, c, e, !0)); else switch (a.type) { - case s.Program: n(a.body, function (b, c) { k.recurse(b.expression, w, w, function (a) { h = a }); c !== a.body.length - 1 ? k.current().body.push(h, ";") : k.return_(h) }); break; case s.Literal: m = this.escape(a.value); this.assign(b, m); c(m); break; case s.UnaryExpression: this.recurse(a.argument, w, w, function (a) { h = a }); m = a.operator + "(" + this.ifDefined(h, - 0) + ")"; this.assign(b, m); c(m); break; case s.BinaryExpression: this.recurse(a.left, w, w, function (a) { g = a }); this.recurse(a.right, w, w, function (a) { h = a }); m = "+" === a.operator ? this.plus(g, h) : "-" === a.operator ? this.ifDefined(g, 0) + a.operator + this.ifDefined(h, 0) : "(" + g + ")" + a.operator + "(" + h + ")"; this.assign(b, m); c(m); break; case s.LogicalExpression: b = b || this.nextId(); k.recurse(a.left, b); k.if_("&&" === a.operator ? b : k.not(b), k.lazyRecurse(a.right, b)); c(b); break; case s.ConditionalExpression: b = b || this.nextId(); k.recurse(a.test, - b); k.if_(b, k.lazyRecurse(a.alternate, b), k.lazyRecurse(a.consequent, b)); c(b); break; case s.Identifier: b = b || this.nextId(); d && (d.context = "inputs" === k.stage ? "s" : this.assign(this.nextId(), this.getHasOwnProperty("l", a.name) + "?l:s"), d.computed = !1, d.name = a.name); Va(a.name); k.if_("inputs" === k.stage || k.not(k.getHasOwnProperty("l", a.name)), function () { - k.if_("inputs" === k.stage || "s", function () { - e && 1 !== e && k.if_(k.not(k.nonComputedMember("s", a.name)), k.lazyAssign(k.nonComputedMember("s", a.name), "{}")); k.assign(b, k.nonComputedMember("s", - a.name)) - }) - }, b && k.lazyAssign(b, k.nonComputedMember("l", a.name))); (k.state.expensiveChecks || Hb(a.name)) && k.addEnsureSafeObject(b); c(b); break; case s.MemberExpression: g = d && (d.context = this.nextId()) || this.nextId(); b = b || this.nextId(); k.recurse(a.object, g, w, function () { - k.if_(k.notNull(g), function () { - if (a.computed) h = k.nextId(), k.recurse(a.property, h), k.getStringValue(h), k.addEnsureSafeMemberName(h), e && 1 !== e && k.if_(k.not(k.computedMember(g, h)), k.lazyAssign(k.computedMember(g, h), "{}")), m = k.ensureSafeObject(k.computedMember(g, - h)), k.assign(b, m), d && (d.computed = !0, d.name = h); else { Va(a.property.name); e && 1 !== e && k.if_(k.not(k.nonComputedMember(g, a.property.name)), k.lazyAssign(k.nonComputedMember(g, a.property.name), "{}")); m = k.nonComputedMember(g, a.property.name); if (k.state.expensiveChecks || Hb(a.property.name)) m = k.ensureSafeObject(m); k.assign(b, m); d && (d.computed = !1, d.name = a.property.name) } - }, function () { k.assign(b, "undefined") }); c(b) - }, !!e); break; case s.CallExpression: b = b || this.nextId(); a.filter ? (h = k.filter(a.callee.name), l = [], n(a.arguments, - function (a) { var b = k.nextId(); k.recurse(a, b); l.push(b) }), m = h + "(" + l.join(",") + ")", k.assign(b, m), c(b)) : (h = k.nextId(), g = {}, l = [], k.recurse(a.callee, h, g, function () { - k.if_(k.notNull(h), function () { k.addEnsureSafeFunction(h); n(a.arguments, function (a) { k.recurse(a, k.nextId(), w, function (a) { l.push(k.ensureSafeObject(a)) }) }); g.name ? (k.state.expensiveChecks || k.addEnsureSafeObject(g.context), m = k.member(g.context, g.name, g.computed) + "(" + l.join(",") + ")") : m = h + "(" + l.join(",") + ")"; m = k.ensureSafeObject(m); k.assign(b, m) }, - function () { k.assign(b, "undefined") }); c(b) - })); break; case s.AssignmentExpression: h = this.nextId(); g = {}; if (!qd(a.left)) throw aa("lval"); this.recurse(a.left, w, g, function () { k.if_(k.notNull(g.context), function () { k.recurse(a.right, h); k.addEnsureSafeObject(k.member(g.context, g.name, g.computed)); k.addEnsureSafeAssignContext(g.context); m = k.member(g.context, g.name, g.computed) + a.operator + h; k.assign(b, m); c(b || m) }) }, 1); break; case s.ArrayExpression: l = []; n(a.elements, function (a) { k.recurse(a, k.nextId(), w, function (a) { l.push(a) }) }); - m = "[" + l.join(",") + "]"; this.assign(b, m); c(m); break; case s.ObjectExpression: l = []; n(a.properties, function (a) { k.recurse(a.value, k.nextId(), w, function (b) { l.push(k.escape(a.key.type === s.Identifier ? a.key.name : "" + a.key.value) + ":" + b) }) }); m = "{" + l.join(",") + "}"; this.assign(b, m); c(m); break; case s.ThisExpression: this.assign(b, "s"); c("s"); break; case s.NGValueParameter: this.assign(b, "v"), c("v") - } - }, getHasOwnProperty: function (a, b) { - var d = a + "." + b, c = this.current().own; c.hasOwnProperty(d) || (c[d] = this.nextId(!1, a + "&&(" + - this.escape(b) + " in " + a + ")")); return c[d] - }, assign: function (a, b) { if (a) return this.current().body.push(a, "=", b, ";"), a }, filter: function (a) { this.state.filters.hasOwnProperty(a) || (this.state.filters[a] = this.nextId(!0)); return this.state.filters[a] }, ifDefined: function (a, b) { return "ifDefined(" + a + "," + this.escape(b) + ")" }, plus: function (a, b) { return "plus(" + a + "," + b + ")" }, return_: function (a) { this.current().body.push("return ", a, ";") }, if_: function (a, b, d) { - if (!0 === a) b(); else { - var c = this.current().body; c.push("if(", a, - "){"); b(); c.push("}"); d && (c.push("else{"), d(), c.push("}")) - } - }, not: function (a) { return "!(" + a + ")" }, notNull: function (a) { return a + "!=null" }, nonComputedMember: function (a, b) { return a + "." + b }, computedMember: function (a, b) { return a + "[" + b + "]" }, member: function (a, b, d) { return d ? this.computedMember(a, b) : this.nonComputedMember(a, b) }, addEnsureSafeObject: function (a) { this.current().body.push(this.ensureSafeObject(a), ";") }, addEnsureSafeMemberName: function (a) { this.current().body.push(this.ensureSafeMemberName(a), ";") }, - addEnsureSafeFunction: function (a) { this.current().body.push(this.ensureSafeFunction(a), ";") }, addEnsureSafeAssignContext: function (a) { this.current().body.push(this.ensureSafeAssignContext(a), ";") }, ensureSafeObject: function (a) { return "ensureSafeObject(" + a + ",text)" }, ensureSafeMemberName: function (a) { return "ensureSafeMemberName(" + a + ",text)" }, ensureSafeFunction: function (a) { return "ensureSafeFunction(" + a + ",text)" }, getStringValue: function (a) { this.assign(a, "getStringValue(" + a + ",text)") }, ensureSafeAssignContext: function (a) { - return "ensureSafeAssignContext(" + - a + ",text)" - }, lazyRecurse: function (a, b, d, c, e, f) { var g = this; return function () { g.recurse(a, b, d, c, e, f) } }, lazyAssign: function (a, b) { var d = this; return function () { d.assign(a, b) } }, stringEscapeRegex: /[^ a-zA-Z0-9]/g, stringEscapeFn: function (a) { return "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4) }, escape: function (a) { - if (F(a)) return "'" + a.replace(this.stringEscapeRegex, this.stringEscapeFn) + "'"; if (Q(a)) return a.toString(); if (!0 === a) return "true"; if (!1 === a) return "false"; if (null === a) return "null"; if ("undefined" === - typeof a) return "undefined"; throw aa("esc"); - }, nextId: function (a, b) { var d = "v" + this.state.nextId++; a || this.current().vars.push(d + (b ? "=" + b : "")); return d }, current: function () { return this.state[this.state.computing] } - }; ud.prototype = { - compile: function (a, b) { - var d = this, c = this.astBuilder.ast(a); this.expression = a; this.expensiveChecks = b; V(c, d.$filter); var e, f; if (e = rd(c)) f = this.recurse(e); e = pd(c.body); var g; e && (g = [], n(e, function (a, b) { var c = d.recurse(a); a.input = c; g.push(c); a.watchId = b })); var h = []; n(c.body, function (a) { h.push(d.recurse(a.expression)) }); - e = 0 === c.body.length ? function () { } : 1 === c.body.length ? h[0] : function (a, b) { var c; n(h, function (d) { c = d(a, b) }); return c }; f && (e.assign = function (a, b, c) { return f(a, c, b) }); g && (e.inputs = g); e.literal = sd(c); e.constant = c.constant; return e - }, recurse: function (a, b, d) { - var c, e, f = this, g; if (a.input) return this.inputs(a.input, a.watchId); switch (a.type) { - case s.Literal: return this.value(a.value, b); case s.UnaryExpression: return e = this.recurse(a.argument), this["unary" + a.operator](e, b); case s.BinaryExpression: return c = this.recurse(a.left), - e = this.recurse(a.right), this["binary" + a.operator](c, e, b); case s.LogicalExpression: return c = this.recurse(a.left), e = this.recurse(a.right), this["binary" + a.operator](c, e, b); case s.ConditionalExpression: return this["ternary?:"](this.recurse(a.test), this.recurse(a.alternate), this.recurse(a.consequent), b); case s.Identifier: return Va(a.name, f.expression), f.identifier(a.name, f.expensiveChecks || Hb(a.name), b, d, f.expression); case s.MemberExpression: return c = this.recurse(a.object, !1, !!d), a.computed || (Va(a.property.name, - f.expression), e = a.property.name), a.computed && (e = this.recurse(a.property)), a.computed ? this.computedMember(c, e, b, d, f.expression) : this.nonComputedMember(c, e, f.expensiveChecks, b, d, f.expression); case s.CallExpression: return g = [], n(a.arguments, function (a) { g.push(f.recurse(a)) }), a.filter && (e = this.$filter(a.callee.name)), a.filter || (e = this.recurse(a.callee, !0)), a.filter ? function (a, c, d, f) { for (var r = [], n = 0; n < g.length; ++n) r.push(g[n](a, c, d, f)); a = e.apply(w, r, f); return b ? { context: w, name: w, value: a } : a } : function (a, - c, d, m) { var n = e(a, c, d, m), t; if (null != n.value) { ya(n.context, f.expression); md(n.value, f.expression); t = []; for (var q = 0; q < g.length; ++q) t.push(ya(g[q](a, c, d, m), f.expression)); t = ya(n.value.apply(n.context, t), f.expression) } return b ? { value: t } : t }; case s.AssignmentExpression: return c = this.recurse(a.left, !0, 1), e = this.recurse(a.right), function (a, d, g, m) { var n = c(a, d, g, m); a = e(a, d, g, m); ya(n.value, f.expression); nd(n.context); n.context[n.name] = a; return b ? { value: a } : a }; case s.ArrayExpression: return g = [], n(a.elements, function (a) { g.push(f.recurse(a)) }), - function (a, c, d, e) { for (var f = [], n = 0; n < g.length; ++n) f.push(g[n](a, c, d, e)); return b ? { value: f } : f }; case s.ObjectExpression: return g = [], n(a.properties, function (a) { g.push({ key: a.key.type === s.Identifier ? a.key.name : "" + a.key.value, value: f.recurse(a.value) }) }), function (a, c, d, e) { for (var f = {}, n = 0; n < g.length; ++n) f[g[n].key] = g[n].value(a, c, d, e); return b ? { value: f } : f }; case s.ThisExpression: return function (a) { return b ? { value: a } : a }; case s.NGValueParameter: return function (a, c, d, e) { return b ? { value: d } : d } - } - }, "unary+": function (a, - b) { return function (d, c, e, f) { d = a(d, c, e, f); d = u(d) ? +d : 0; return b ? { value: d } : d } }, "unary-": function (a, b) { return function (d, c, e, f) { d = a(d, c, e, f); d = u(d) ? -d : 0; return b ? { value: d } : d } }, "unary!": function (a, b) { return function (d, c, e, f) { d = !a(d, c, e, f); return b ? { value: d } : d } }, "binary+": function (a, b, d) { return function (c, e, f, g) { var h = a(c, e, f, g); c = b(c, e, f, g); h = od(h, c); return d ? { value: h } : h } }, "binary-": function (a, b, d) { return function (c, e, f, g) { var h = a(c, e, f, g); c = b(c, e, f, g); h = (u(h) ? h : 0) - (u(c) ? c : 0); return d ? { value: h } : h } }, "binary*": function (a, - b, d) { return function (c, e, f, g) { c = a(c, e, f, g) * b(c, e, f, g); return d ? { value: c } : c } }, "binary/": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) / b(c, e, f, g); return d ? { value: c } : c } }, "binary%": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) % b(c, e, f, g); return d ? { value: c } : c } }, "binary===": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) === b(c, e, f, g); return d ? { value: c } : c } }, "binary!==": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) !== b(c, e, f, g); return d ? { value: c } : c } }, "binary==": function (a, b, - d) { return function (c, e, f, g) { c = a(c, e, f, g) == b(c, e, f, g); return d ? { value: c } : c } }, "binary!=": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) != b(c, e, f, g); return d ? { value: c } : c } }, "binary<": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) < b(c, e, f, g); return d ? { value: c } : c } }, "binary>": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) > b(c, e, f, g); return d ? { value: c } : c } }, "binary<=": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) <= b(c, e, f, g); return d ? { value: c } : c } }, "binary>=": function (a, b, d) { - return function (c, - e, f, g) { c = a(c, e, f, g) >= b(c, e, f, g); return d ? { value: c } : c } - }, "binary&&": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) && b(c, e, f, g); return d ? { value: c } : c } }, "binary||": function (a, b, d) { return function (c, e, f, g) { c = a(c, e, f, g) || b(c, e, f, g); return d ? { value: c } : c } }, "ternary?:": function (a, b, d, c) { return function (e, f, g, h) { e = a(e, f, g, h) ? b(e, f, g, h) : d(e, f, g, h); return c ? { value: e } : e } }, value: function (a, b) { return function () { return b ? { context: w, name: w, value: a } : a } }, identifier: function (a, b, d, c, e) { - return function (f, g, h, k) { - f = - g && a in g ? g : f; c && 1 !== c && f && !f[a] && (f[a] = {}); g = f ? f[a] : w; b && ya(g, e); return d ? { context: f, name: a, value: g } : g - } - }, computedMember: function (a, b, d, c, e) { return function (f, g, h, k) { var l = a(f, g, h, k), m, n; null != l && (m = b(f, g, h, k), m = ld(m), Va(m, e), c && 1 !== c && l && !l[m] && (l[m] = {}), n = l[m], ya(n, e)); return d ? { context: l, name: m, value: n } : n } }, nonComputedMember: function (a, b, d, c, e, f) { return function (g, h, k, l) { g = a(g, h, k, l); e && 1 !== e && g && !g[b] && (g[b] = {}); h = null != g ? g[b] : w; (d || Hb(b)) && ya(h, f); return c ? { context: g, name: b, value: h } : h } }, inputs: function (a, - b) { return function (d, c, e, f) { return f ? f[b] : a(d, c, e) } } - }; var hc = function (a, b, d) { this.lexer = a; this.$filter = b; this.options = d; this.ast = new s(this.lexer); this.astCompiler = d.csp ? new ud(this.ast, b) : new td(this.ast, b) }; hc.prototype = { constructor: hc, parse: function (a) { return this.astCompiler.compile(a, this.options.expensiveChecks) } }; var eg = Object.prototype.valueOf, za = M("$sce"), ma = { HTML: "html", CSS: "css", URL: "url", RESOURCE_URL: "resourceUrl", JS: "js" }, ga = M("$compile"), ba = W.createElement("a"), yd = xa(S.location.href); - zd.$inject = ["$document"]; Kc.$inject = ["$provide"]; var Gd = 22, Fd = ".", jc = "0"; Ad.$inject = ["$locale"]; Cd.$inject = ["$locale"]; var qg = { - yyyy: ca("FullYear", 4), yy: ca("FullYear", 2, 0, !0), y: ca("FullYear", 1), MMMM: Jb("Month"), MMM: Jb("Month", !0), MM: ca("Month", 2, 1), M: ca("Month", 1, 1), dd: ca("Date", 2), d: ca("Date", 1), HH: ca("Hours", 2), H: ca("Hours", 1), hh: ca("Hours", 2, -12), h: ca("Hours", 1, -12), mm: ca("Minutes", 2), m: ca("Minutes", 1), ss: ca("Seconds", 2), s: ca("Seconds", 1), sss: ca("Milliseconds", 3), EEEE: Jb("Day"), EEE: Jb("Day", !0), - a: function (a, b) { return 12 > a.getHours() ? b.AMPMS[0] : b.AMPMS[1] }, Z: function (a, b, d) { a = -1 * d; return a = (0 <= a ? "+" : "") + (Ib(Math[0 < a ? "floor" : "ceil"](a / 60), 2) + Ib(Math.abs(a % 60), 2)) }, ww: Id(2), w: Id(1), G: kc, GG: kc, GGG: kc, GGGG: function (a, b) { return 0 >= a.getFullYear() ? b.ERANAMES[0] : b.ERANAMES[1] } - }, pg = /((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/, og = /^\-?\d+$/; Bd.$inject = ["$locale"]; var jg = na(K), kg = na(tb); Dd.$inject = ["$parse"]; var le = na({ - restrict: "E", compile: function (a, b) { - if (!b.href && - !b.xlinkHref) return function (a, b) { if ("a" === b[0].nodeName.toLowerCase()) { var e = "[object SVGAnimatedString]" === ta.call(b.prop("href")) ? "xlink:href" : "href"; b.on("click", function (a) { b.attr(e) || a.preventDefault() }) } } - } - }), ub = {}; n(Db, function (a, b) { function d(a, d, e) { a.$watch(e[c], function (a) { e.$set(b, !!a) }) } if ("multiple" != a) { var c = va("ng-" + b), e = d; "checked" === a && (e = function (a, b, e) { e.ngModel !== e[c] && d(a, b, e) }); ub[c] = function () { return { restrict: "A", priority: 100, link: e } } } }); n(ad, function (a, b) { - ub[b] = function () { - return { - priority: 100, - link: function (a, c, e) { if ("ngPattern" === b && "/" == e.ngPattern.charAt(0) && (c = e.ngPattern.match(sg))) { e.$set("ngPattern", new RegExp(c[1], c[2])); return } a.$watch(e[b], function (a) { e.$set(b, a) }) } - } - } - }); n(["src", "srcset", "href"], function (a) { - var b = va("ng-" + a); ub[b] = function () { - return { - priority: 99, link: function (d, c, e) { - var f = a, g = a; "href" === a && "[object SVGAnimatedString]" === ta.call(c.prop("href")) && (g = "xlinkHref", e.$attr[g] = "xlink:href", f = null); e.$observe(b, function (b) { - b ? (e.$set(g, b), Ha && f && c.prop(f, e[g])) : "href" === - a && e.$set(g, null) - }) - } - } - } - }); var Kb = { $addControl: z, $$renameControl: function (a, b) { a.$name = b }, $removeControl: z, $setValidity: z, $setDirty: z, $setPristine: z, $setSubmitted: z }; Jd.$inject = ["$element", "$attrs", "$scope", "$animate", "$interpolate"]; var Rd = function (a) { - return ["$timeout", "$parse", function (b, d) { - function c(a) { return "" === a ? d('this[""]').assign : d(a).assign || z } return { - name: "form", restrict: a ? "EAC" : "E", require: ["form", "^^?form"], controller: Jd, compile: function (d, f) { - d.addClass(Wa).addClass(nb); var g = f.name ? "name" : - a && f.ngForm ? "ngForm" : !1; return { - pre: function (a, d, e, f) { - var n = f[0]; if (!("action" in e)) { var t = function (b) { a.$apply(function () { n.$commitViewValue(); n.$setSubmitted() }); b.preventDefault() }; d[0].addEventListener("submit", t, !1); d.on("$destroy", function () { b(function () { d[0].removeEventListener("submit", t, !1) }, 0, !1) }) } (f[1] || n.$$parentForm).$addControl(n); var q = g ? c(n.$name) : z; g && (q(a, n), e.$observe(g, function (b) { n.$name !== b && (q(a, w), n.$$parentForm.$$renameControl(n, b), q = c(n.$name), q(a, n)) })); d.on("$destroy", - function () { n.$$parentForm.$removeControl(n); q(a, w); N(n, Kb) }) - } - } - } - } - }] - }, me = Rd(), ze = Rd(!0), rg = /\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/, Ag = /^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i, Bg = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i, Cg = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/, Sd = /^(\d{4})-(\d{2})-(\d{2})$/, Td = /^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/, - nc = /^(\d{4})-W(\d\d)$/, Ud = /^(\d{4})-(\d\d)$/, Vd = /^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/, Wd = { - text: function (a, b, d, c, e, f) { kb(a, b, d, c, e, f); lc(c) }, date: lb("date", Sd, Mb(Sd, ["yyyy", "MM", "dd"]), "yyyy-MM-dd"), "datetime-local": lb("datetimelocal", Td, Mb(Td, "yyyy MM dd HH mm ss sss".split(" ")), "yyyy-MM-ddTHH:mm:ss.sss"), time: lb("time", Vd, Mb(Vd, ["HH", "mm", "ss", "sss"]), "HH:mm:ss.sss"), week: lb("week", nc, function (a, b) { - if (da(a)) return a; if (F(a)) { - nc.lastIndex = 0; var d = nc.exec(a); if (d) { - var c = +d[1], e = +d[2], f = d = 0, g = - 0, h = 0, k = Hd(c), e = 7 * (e - 1); b && (d = b.getHours(), f = b.getMinutes(), g = b.getSeconds(), h = b.getMilliseconds()); return new Date(c, 0, k.getDate() + e, d, f, g, h) - } - } return NaN - }, "yyyy-Www"), month: lb("month", Ud, Mb(Ud, ["yyyy", "MM"]), "yyyy-MM"), number: function (a, b, d, c, e, f) { - Ld(a, b, d, c); kb(a, b, d, c, e, f); c.$$parserName = "number"; c.$parsers.push(function (a) { return c.$isEmpty(a) ? null : Cg.test(a) ? parseFloat(a) : w }); c.$formatters.push(function (a) { if (!c.$isEmpty(a)) { if (!Q(a)) throw mb("numfmt", a); a = a.toString() } return a }); if (u(d.min) || - d.ngMin) { var g; c.$validators.min = function (a) { return c.$isEmpty(a) || q(g) || a >= g }; d.$observe("min", function (a) { u(a) && !Q(a) && (a = parseFloat(a, 10)); g = Q(a) && !isNaN(a) ? a : w; c.$validate() }) } if (u(d.max) || d.ngMax) { var h; c.$validators.max = function (a) { return c.$isEmpty(a) || q(h) || a <= h }; d.$observe("max", function (a) { u(a) && !Q(a) && (a = parseFloat(a, 10)); h = Q(a) && !isNaN(a) ? a : w; c.$validate() }) } - }, url: function (a, b, d, c, e, f) { - kb(a, b, d, c, e, f); lc(c); c.$$parserName = "url"; c.$validators.url = function (a, b) { - var d = a || b; return c.$isEmpty(d) || - Ag.test(d) - } - }, email: function (a, b, d, c, e, f) { kb(a, b, d, c, e, f); lc(c); c.$$parserName = "email"; c.$validators.email = function (a, b) { var d = a || b; return c.$isEmpty(d) || Bg.test(d) } }, radio: function (a, b, d, c) { q(d.name) && b.attr("name", ++ob); b.on("click", function (a) { b[0].checked && c.$setViewValue(d.value, a && a.type) }); c.$render = function () { b[0].checked = d.value == c.$viewValue }; d.$observe("value", c.$render) }, checkbox: function (a, b, d, c, e, f, g, h) { - var k = Md(h, a, "ngTrueValue", d.ngTrueValue, !0), l = Md(h, a, "ngFalseValue", d.ngFalseValue, - !1); b.on("click", function (a) { c.$setViewValue(b[0].checked, a && a.type) }); c.$render = function () { b[0].checked = c.$viewValue }; c.$isEmpty = function (a) { return !1 === a }; c.$formatters.push(function (a) { return ka(a, k) }); c.$parsers.push(function (a) { return a ? k : l }) - }, hidden: z, button: z, submit: z, reset: z, file: z - }, Ec = ["$browser", "$sniffer", "$filter", "$parse", function (a, b, d, c) { return { restrict: "E", require: ["?ngModel"], link: { pre: function (e, f, g, h) { h[0] && (Wd[K(g.type)] || Wd.text)(e, f, g, h[0], b, a, d, c) } } } }], Dg = /^(true|false|\d+)$/, - Re = function () { return { restrict: "A", priority: 100, compile: function (a, b) { return Dg.test(b.ngValue) ? function (a, b, e) { e.$set("value", a.$eval(e.ngValue)) } : function (a, b, e) { a.$watch(e.ngValue, function (a) { e.$set("value", a) }) } } } }, re = ["$compile", function (a) { return { restrict: "AC", compile: function (b) { a.$$addBindingClass(b); return function (b, c, e) { a.$$addBindingInfo(c, e.ngBind); c = c[0]; b.$watch(e.ngBind, function (a) { c.textContent = q(a) ? "" : a }) } } } }], te = ["$interpolate", "$compile", function (a, b) { - return { - compile: function (d) { - b.$$addBindingClass(d); - return function (c, d, f) { c = a(d.attr(f.$attr.ngBindTemplate)); b.$$addBindingInfo(d, c.expressions); d = d[0]; f.$observe("ngBindTemplate", function (a) { d.textContent = q(a) ? "" : a }) } - } - } - }], se = ["$sce", "$parse", "$compile", function (a, b, d) { return { restrict: "A", compile: function (c, e) { var f = b(e.ngBindHtml), g = b(e.ngBindHtml, function (a) { return (a || "").toString() }); d.$$addBindingClass(c); return function (b, c, e) { d.$$addBindingInfo(c, e.ngBindHtml); b.$watch(g, function () { c.html(a.getTrustedHtml(f(b)) || "") }) } } } }], Qe = na({ - restrict: "A", - require: "ngModel", link: function (a, b, d, c) { c.$viewChangeListeners.push(function () { a.$eval(d.ngChange) }) } - }), ue = mc("", !0), we = mc("Odd", 0), ve = mc("Even", 1), xe = Ka({ compile: function (a, b) { b.$set("ngCloak", w); a.removeClass("ng-cloak") } }), ye = [function () { return { restrict: "A", scope: !0, controller: "@", priority: 500 } }], Jc = {}, Eg = { blur: !0, focus: !0 }; n("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "), function (a) { - var b = - va("ng-" + a); Jc[b] = ["$parse", "$rootScope", function (d, c) { return { restrict: "A", compile: function (e, f) { var g = d(f[b], null, !0); return function (b, d) { d.on(a, function (d) { var e = function () { g(b, { $event: d }) }; Eg[a] && c.$$phase ? b.$evalAsync(e) : b.$apply(e) }) } } } }] - }); var Be = ["$animate", function (a) { - return { - multiElement: !0, transclude: "element", priority: 600, terminal: !0, restrict: "A", $$tlb: !0, link: function (b, d, c, e, f) { - var g, h, k; b.$watch(c.ngIf, function (b) { - b ? h || f(function (b, e) { - h = e; b[b.length++] = W.createComment(" end ngIf: " + - c.ngIf + " "); g = { clone: b }; a.enter(b, d.parent(), d) - }) : (k && (k.remove(), k = null), h && (h.$destroy(), h = null), g && (k = sb(g.clone), a.leave(k).then(function () { k = null }), g = null)) - }) - } - } - }], Ce = ["$templateRequest", "$anchorScroll", "$animate", function (a, b, d) { - return { - restrict: "ECA", priority: 400, terminal: !0, transclude: "element", controller: $.noop, compile: function (c, e) { - var f = e.ngInclude || e.src, g = e.onload || "", h = e.autoscroll; return function (c, e, m, n, q) { - var s = 0, y, w, p, x = function () { - w && (w.remove(), w = null); y && (y.$destroy(), y = null); p && - (d.leave(p).then(function () { w = null }), w = p, p = null) - }; c.$watch(f, function (f) { var m = function () { !u(h) || h && !c.$eval(h) || b() }, H = ++s; f ? (a(f, !0).then(function (a) { if (!c.$$destroyed && H === s) { var b = c.$new(); n.template = a; a = q(b, function (a) { x(); d.enter(a, null, e).then(m) }); y = b; p = a; y.$emit("$includeContentLoaded", f); c.$eval(g) } }, function () { c.$$destroyed || H !== s || (x(), c.$emit("$includeContentError", f)) }), c.$emit("$includeContentRequested", f)) : (x(), n.template = null) }) - } - } - } - }], Te = ["$compile", function (a) { - return { - restrict: "ECA", - priority: -400, require: "ngInclude", link: function (b, d, c, e) { /SVG/.test(d[0].toString()) ? (d.empty(), a(Mc(e.template, W).childNodes)(b, function (a) { d.append(a) }, { futureParentElement: d })) : (d.html(e.template), a(d.contents())(b)) } - } - }], De = Ka({ priority: 450, compile: function () { return { pre: function (a, b, d) { a.$eval(d.ngInit) } } } }), Pe = function () { - return { - restrict: "A", priority: 100, require: "ngModel", link: function (a, b, d, c) { - var e = b.attr(d.$attr.ngList) || ", ", f = "false" !== d.ngTrim, g = f ? T(e) : e; c.$parsers.push(function (a) { - if (!q(a)) { - var b = - []; a && n(a.split(g), function (a) { a && b.push(f ? T(a) : a) }); return b - } - }); c.$formatters.push(function (a) { return E(a) ? a.join(e) : w }); c.$isEmpty = function (a) { return !a || !a.length } - } - } - }, nb = "ng-valid", Nd = "ng-invalid", Wa = "ng-pristine", Lb = "ng-dirty", Pd = "ng-pending", mb = M("ngModel"), Fg = ["$scope", "$exceptionHandler", "$attrs", "$element", "$parse", "$animate", "$timeout", "$rootScope", "$q", "$interpolate", function (a, b, d, c, e, f, g, h, k, l) { - this.$modelValue = this.$viewValue = Number.NaN; this.$$rawModelValue = w; this.$validators = {}; this.$asyncValidators = - {}; this.$parsers = []; this.$formatters = []; this.$viewChangeListeners = []; this.$untouched = !0; this.$touched = !1; this.$pristine = !0; this.$dirty = !1; this.$valid = !0; this.$invalid = !1; this.$error = {}; this.$$success = {}; this.$pending = w; this.$name = l(d.name || "", !1)(a); this.$$parentForm = Kb; var m = e(d.ngModel), r = m.assign, t = m, s = r, y = null, A, p = this; this.$$setOptions = function (a) { - if ((p.$options = a) && a.getterSetter) { - var b = e(d.ngModel + "()"), f = e(d.ngModel + "($$$p)"); t = function (a) { var c = m(a); B(c) && (c = b(a)); return c }; s = function (a, - b) { B(m(a)) ? f(a, { $$$p: p.$modelValue }) : r(a, p.$modelValue) } - } else if (!m.assign) throw mb("nonassign", d.ngModel, ua(c)); - }; this.$render = z; this.$isEmpty = function (a) { return q(a) || "" === a || null === a || a !== a }; var x = 0; Kd({ ctrl: this, $element: c, set: function (a, b) { a[b] = !0 }, unset: function (a, b) { delete a[b] }, $animate: f }); this.$setPristine = function () { p.$dirty = !1; p.$pristine = !0; f.removeClass(c, Lb); f.addClass(c, Wa) }; this.$setDirty = function () { p.$dirty = !0; p.$pristine = !1; f.removeClass(c, Wa); f.addClass(c, Lb); p.$$parentForm.$setDirty() }; - this.$setUntouched = function () { p.$touched = !1; p.$untouched = !0; f.setClass(c, "ng-untouched", "ng-touched") }; this.$setTouched = function () { p.$touched = !0; p.$untouched = !1; f.setClass(c, "ng-touched", "ng-untouched") }; this.$rollbackViewValue = function () { g.cancel(y); p.$viewValue = p.$$lastCommittedViewValue; p.$render() }; this.$validate = function () { - if (!Q(p.$modelValue) || !isNaN(p.$modelValue)) { - var a = p.$$rawModelValue, b = p.$valid, c = p.$modelValue, d = p.$options && p.$options.allowInvalid; p.$$runValidators(a, p.$$lastCommittedViewValue, - function (e) { d || b === e || (p.$modelValue = e ? a : w, p.$modelValue !== c && p.$$writeModelToScope()) }) - } - }; this.$$runValidators = function (a, b, c) { - function d() { var c = !0; n(p.$validators, function (d, e) { var g = d(a, b); c = c && g; f(e, g) }); return c ? !0 : (n(p.$asyncValidators, function (a, b) { f(b, null) }), !1) } function e() { - var c = [], d = !0; n(p.$asyncValidators, function (e, g) { var h = e(a, b); if (!h || !B(h.then)) throw mb("nopromise", h); f(g, w); c.push(h.then(function () { f(g, !0) }, function (a) { d = !1; f(g, !1) })) }); c.length ? k.all(c).then(function () { g(d) }, - z) : g(!0) - } function f(a, b) { h === x && p.$setValidity(a, b) } function g(a) { h === x && c(a) } x++; var h = x; (function () { var a = p.$$parserName || "parse"; if (q(A)) f(a, null); else return A || (n(p.$validators, function (a, b) { f(b, null) }), n(p.$asyncValidators, function (a, b) { f(b, null) })), f(a, A), A; return !0 })() ? d() ? e() : g(!1) : g(!1) - }; this.$commitViewValue = function () { var a = p.$viewValue; g.cancel(y); if (p.$$lastCommittedViewValue !== a || "" === a && p.$$hasNativeValidators) p.$$lastCommittedViewValue = a, p.$pristine && this.$setDirty(), this.$$parseAndValidate() }; - this.$$parseAndValidate = function () { var b = p.$$lastCommittedViewValue; if (A = q(b) ? w : !0) for (var c = 0; c < p.$parsers.length; c++) if (b = p.$parsers[c](b), q(b)) { A = !1; break } Q(p.$modelValue) && isNaN(p.$modelValue) && (p.$modelValue = t(a)); var d = p.$modelValue, e = p.$options && p.$options.allowInvalid; p.$$rawModelValue = b; e && (p.$modelValue = b, p.$modelValue !== d && p.$$writeModelToScope()); p.$$runValidators(b, p.$$lastCommittedViewValue, function (a) { e || (p.$modelValue = a ? b : w, p.$modelValue !== d && p.$$writeModelToScope()) }) }; this.$$writeModelToScope = - function () { s(a, p.$modelValue); n(p.$viewChangeListeners, function (a) { try { a() } catch (c) { b(c) } }) }; this.$setViewValue = function (a, b) { p.$viewValue = a; p.$options && !p.$options.updateOnDefault || p.$$debounceViewValueCommit(b) }; this.$$debounceViewValueCommit = function (b) { var c = 0, d = p.$options; d && u(d.debounce) && (d = d.debounce, Q(d) ? c = d : Q(d[b]) ? c = d[b] : Q(d["default"]) && (c = d["default"])); g.cancel(y); c ? y = g(function () { p.$commitViewValue() }, c) : h.$$phase ? p.$commitViewValue() : a.$apply(function () { p.$commitViewValue() }) }; a.$watch(function () { - var b = - t(a); if (b !== p.$modelValue && (p.$modelValue === p.$modelValue || b === b)) { p.$modelValue = p.$$rawModelValue = b; A = w; for (var c = p.$formatters, d = c.length, e = b; d--;) e = c[d](e); p.$viewValue !== e && (p.$viewValue = p.$$lastCommittedViewValue = e, p.$render(), p.$$runValidators(b, e, z)) } return b - }) - }], Oe = ["$rootScope", function (a) { - return { - restrict: "A", require: ["ngModel", "^?form", "^?ngModelOptions"], controller: Fg, priority: 1, compile: function (b) { - b.addClass(Wa).addClass("ng-untouched").addClass(nb); return { - pre: function (a, b, e, f) { - var g = - f[0]; b = f[1] || g.$$parentForm; g.$$setOptions(f[2] && f[2].$options); b.$addControl(g); e.$observe("name", function (a) { g.$name !== a && g.$$parentForm.$$renameControl(g, a) }); a.$on("$destroy", function () { g.$$parentForm.$removeControl(g) }) - }, post: function (b, c, e, f) { var g = f[0]; if (g.$options && g.$options.updateOn) c.on(g.$options.updateOn, function (a) { g.$$debounceViewValueCommit(a && a.type) }); c.on("blur", function (c) { g.$touched || (a.$$phase ? b.$evalAsync(g.$setTouched) : b.$apply(g.$setTouched)) }) } - } - } - } - }], Gg = /(\s+|^)default(\s+|$)/, - Se = function () { return { restrict: "A", controller: ["$scope", "$attrs", function (a, b) { var d = this; this.$options = Ma(a.$eval(b.ngModelOptions)); u(this.$options.updateOn) ? (this.$options.updateOnDefault = !1, this.$options.updateOn = T(this.$options.updateOn.replace(Gg, function () { d.$options.updateOnDefault = !0; return " " }))) : this.$options.updateOnDefault = !0 }] } }, Ee = Ka({ terminal: !0, priority: 1E3 }), Hg = M("ngOptions"), Ig = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/, - Me = ["$compile", "$parse", function (a, b) { - function d(a, c, d) { - function e(a, b, c, d, f) { this.selectValue = a; this.viewValue = b; this.label = c; this.group = d; this.disabled = f } function l(a) { var b; if (!q && Aa(a)) b = a; else { b = []; for (var c in a) a.hasOwnProperty(c) && "$" !== c.charAt(0) && b.push(c) } return b } var m = a.match(Ig); if (!m) throw Hg("iexp", a, ua(c)); var n = m[5] || m[7], q = m[6]; a = / as /.test(m[0]) && m[1]; var s = m[9]; c = b(m[2] ? m[1] : n); var y = a && b(a) || c, u = s && b(s), p = s ? function (a, b) { return u(d, b) } : function (a) { return Da(a) }, x = function (a, - b) { return p(a, D(a, b)) }, v = b(m[2] || m[1]), w = b(m[3] || ""), H = b(m[4] || ""), A = b(m[8]), z = {}, D = q ? function (a, b) { z[q] = b; z[n] = a; return z } : function (a) { z[n] = a; return z }; return { - trackBy: s, getTrackByValue: x, getWatchables: b(A, function (a) { var b = []; a = a || []; for (var c = l(a), e = c.length, f = 0; f < e; f++) { var g = a === c ? f : c[f], k = D(a[g], g), g = p(a[g], k); b.push(g); if (m[2] || m[1]) g = v(d, k), b.push(g); m[4] && (k = H(d, k), b.push(k)) } return b }), getOptions: function () { - for (var a = [], b = {}, c = A(d) || [], f = l(c), g = f.length, m = 0; m < g; m++) { - var n = c === f ? m : f[m], r = - D(c[n], n), q = y(d, r), n = p(q, r), t = v(d, r), u = w(d, r), r = H(d, r), q = new e(n, q, t, u, r); a.push(q); b[n] = q - } return { items: a, selectValueMap: b, getOptionFromViewValue: function (a) { return b[x(a)] }, getViewValueFromOption: function (a) { return s ? $.copy(a.viewValue) : a.viewValue } } - } - } - } var c = W.createElement("option"), e = W.createElement("optgroup"); return { - restrict: "A", terminal: !0, require: ["select", "?ngModel"], link: { - pre: function (a, b, c, d) { d[0].registerOption = z }, post: function (b, g, h, k) { - function l(a, b) { - a.element = b; b.disabled = a.disabled; - a.label !== b.label && (b.label = a.label, b.textContent = a.label); a.value !== b.value && (b.value = a.selectValue) - } function m(a, b, c, d) { b && K(b.nodeName) === c ? c = b : (c = d.cloneNode(!1), b ? a.insertBefore(c, b) : a.appendChild(c)); return c } function r(a) { for (var b; a;) b = a.nextSibling, Zb(a), a = b } function q(a) { var b = x && x[0], c = z && z[0]; if (b || c) for (; a && (a === b || a === c || 8 === a.nodeType || "option" === oa(a) && "" === a.value) ;) a = a.nextSibling; return a } function s() { - var a = B && u.readValue(); B = D.getOptions(); var b = {}, d = g[0].firstChild; H && g.prepend(x); - d = q(d); B.items.forEach(function (a) { var f, h; a.group ? (f = b[a.group], f || (f = m(g[0], d, "optgroup", e), d = f.nextSibling, f.label = a.group, f = b[a.group] = { groupElement: f, currentOptionElement: f.firstChild }), h = m(f.groupElement, f.currentOptionElement, "option", c), l(a, h), f.currentOptionElement = h.nextSibling) : (h = m(g[0], d, "option", c), l(a, h), d = h.nextSibling) }); Object.keys(b).forEach(function (a) { r(b[a].currentOptionElement) }); r(d); y.$render(); if (!y.$isEmpty(a)) { - var f = u.readValue(); (D.trackBy || p ? ka(a, f) : a === f) || (y.$setViewValue(f), - y.$render()) - } - } var y = k[1]; if (y) { - var u = k[0], p = h.multiple, x; k = 0; for (var v = g.children(), w = v.length; k < w; k++) if ("" === v[k].value) { x = v.eq(k); break } var H = !!x, z = A(c.cloneNode(!1)); z.val("?"); var B, D = d(h.ngOptions, g, b); p ? (y.$isEmpty = function (a) { return !a || 0 === a.length }, u.writeValue = function (a) { B.items.forEach(function (a) { a.element.selected = !1 }); a && a.forEach(function (a) { (a = B.getOptionFromViewValue(a)) && !a.disabled && (a.element.selected = !0) }) }, u.readValue = function () { - var a = g.val() || [], b = []; n(a, function (a) { - (a = B.selectValueMap[a]) && - !a.disabled && b.push(B.getViewValueFromOption(a)) - }); return b - }, D.trackBy && b.$watchCollection(function () { if (E(y.$viewValue)) return y.$viewValue.map(function (a) { return D.getTrackByValue(a) }) }, function () { y.$render() })) : (u.writeValue = function (a) { - var b = B.getOptionFromViewValue(a); b && !b.disabled ? g[0].value !== b.selectValue && (z.remove(), H || x.remove(), g[0].value = b.selectValue, b.element.selected = !0, b.element.setAttribute("selected", "selected")) : null === a || H ? (z.remove(), H || g.prepend(x), g.val(""), x.prop("selected", - !0), x.attr("selected", !0)) : (H || x.remove(), g.prepend(z), g.val("?"), z.prop("selected", !0), z.attr("selected", !0)) - }, u.readValue = function () { var a = B.selectValueMap[g.val()]; return a && !a.disabled ? (H || x.remove(), z.remove(), B.getViewValueFromOption(a)) : null }, D.trackBy && b.$watch(function () { return D.getTrackByValue(y.$viewValue) }, function () { y.$render() })); H ? (x.remove(), a(x)(b), x.removeClass("ng-scope")) : x = A(c.cloneNode(!1)); s(); b.$watchCollection(D.getWatchables, s) - } - } - } - } - }], Fe = ["$locale", "$interpolate", "$log", - function (a, b, d) { - var c = /{}/g, e = /^when(Minus)?(.+)$/; return { - link: function (f, g, h) { - function k(a) { g.text(a || "") } var l = h.count, m = h.$attr.when && g.attr(h.$attr.when), r = h.offset || 0, t = f.$eval(m) || {}, s = {}, u = b.startSymbol(), w = b.endSymbol(), p = u + l + "-" + r + w, x = $.noop, v; n(h, function (a, b) { var c = e.exec(b); c && (c = (c[1] ? "-" : "") + K(c[2]), t[c] = g.attr(h.$attr[b])) }); n(t, function (a, d) { s[d] = b(a.replace(c, p)) }); f.$watch(l, function (b) { - var c = parseFloat(b), e = isNaN(c); e || c in t || (c = a.pluralCat(c - r)); c === v || e && Q(v) && isNaN(v) || (x(), - e = s[c], q(e) ? (null != b && d.debug("ngPluralize: no rule defined for '" + c + "' in " + m), x = z, k()) : x = f.$watch(e, k), v = c) - }) - } - } - }], Ge = ["$parse", "$animate", function (a, b) { - var d = M("ngRepeat"), c = function (a, b, c, d, k, l, m) { a[c] = d; k && (a[k] = l); a.$index = b; a.$first = 0 === b; a.$last = b === m - 1; a.$middle = !(a.$first || a.$last); a.$odd = !(a.$even = 0 === (b & 1)) }; return { - restrict: "A", multiElement: !0, transclude: "element", priority: 1E3, terminal: !0, $$tlb: !0, compile: function (e, f) { - var g = f.ngRepeat, h = W.createComment(" end ngRepeat: " + g + " "), k = g.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/); - if (!k) throw d("iexp", g); var l = k[1], m = k[2], r = k[3], q = k[4], k = l.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/); if (!k) throw d("iidexp", l); var s = k[3] || k[1], u = k[2]; if (r && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(r) || /^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(r))) throw d("badident", r); var z, p, x, v, B = { $id: Da }; q ? z = a(q) : (x = function (a, b) { return Da(b) }, v = function (a) { return a }); return function (a, e, f, k, l) { - z && (p = function (b, c, d) { - u && (B[u] = b); B[s] = c; B.$index = - d; return z(a, B) - }); var q = ea(); a.$watchCollection(m, function (f) { - var k, m, t = e[0], z, B = ea(), D, F, G, E, I, J, K; r && (a[r] = f); if (Aa(f)) I = f, m = p || x; else for (K in m = p || v, I = [], f) ra.call(f, K) && "$" !== K.charAt(0) && I.push(K); D = I.length; K = Array(D); for (k = 0; k < D; k++) if (F = f === I ? k : I[k], G = f[F], E = m(F, G, k), q[E]) J = q[E], delete q[E], B[E] = J, K[k] = J; else { if (B[E]) throw n(K, function (a) { a && a.scope && (q[a.id] = a) }), d("dupes", g, E, G); K[k] = { id: E, scope: w, clone: w }; B[E] = !0 } for (z in q) { - J = q[z]; E = sb(J.clone); b.leave(E); if (E[0].parentNode) for (k = 0, m = - E.length; k < m; k++) E[k].$$NG_REMOVED = !0; J.scope.$destroy() - } for (k = 0; k < D; k++) if (F = f === I ? k : I[k], G = f[F], J = K[k], J.scope) { z = t; do z = z.nextSibling; while (z && z.$$NG_REMOVED); J.clone[0] != z && b.move(sb(J.clone), null, A(t)); t = J.clone[J.clone.length - 1]; c(J.scope, k, s, G, u, F, D) } else l(function (a, d) { J.scope = d; var e = h.cloneNode(!1); a[a.length++] = e; b.enter(a, null, A(t)); t = e; J.clone = a; B[J.id] = J; c(J.scope, k, s, G, u, F, D) }); q = B - }) - } - } - } - }], He = ["$animate", function (a) { - return { - restrict: "A", multiElement: !0, link: function (b, d, c) { - b.$watch(c.ngShow, - function (b) { a[b ? "removeClass" : "addClass"](d, "ng-hide", { tempClasses: "ng-hide-animate" }) }) - } - } - }], Ae = ["$animate", function (a) { return { restrict: "A", multiElement: !0, link: function (b, d, c) { b.$watch(c.ngHide, function (b) { a[b ? "addClass" : "removeClass"](d, "ng-hide", { tempClasses: "ng-hide-animate" }) }) } } }], Ie = Ka(function (a, b, d) { a.$watch(d.ngStyle, function (a, d) { d && a !== d && n(d, function (a, c) { b.css(c, "") }); a && b.css(a) }, !0) }), Je = ["$animate", function (a) { - return { - require: "ngSwitch", controller: ["$scope", function () { this.cases = {} }], - link: function (b, d, c, e) { - var f = [], g = [], h = [], k = [], l = function (a, b) { return function () { a.splice(b, 1) } }; b.$watch(c.ngSwitch || c.on, function (b) { - var c, d; c = 0; for (d = h.length; c < d; ++c) a.cancel(h[c]); c = h.length = 0; for (d = k.length; c < d; ++c) { var q = sb(g[c].clone); k[c].$destroy(); (h[c] = a.leave(q)).then(l(h, c)) } g.length = 0; k.length = 0; (f = e.cases["!" + b] || e.cases["?"]) && n(f, function (b) { - b.transclude(function (c, d) { - k.push(d); var e = b.element; c[c.length++] = W.createComment(" end ngSwitchWhen: "); g.push({ clone: c }); a.enter(c, e.parent(), - e) - }) - }) - }) - } - } - }], Ke = Ka({ transclude: "element", priority: 1200, require: "^ngSwitch", multiElement: !0, link: function (a, b, d, c, e) { c.cases["!" + d.ngSwitchWhen] = c.cases["!" + d.ngSwitchWhen] || []; c.cases["!" + d.ngSwitchWhen].push({ transclude: e, element: b }) } }), Le = Ka({ transclude: "element", priority: 1200, require: "^ngSwitch", multiElement: !0, link: function (a, b, d, c, e) { c.cases["?"] = c.cases["?"] || []; c.cases["?"].push({ transclude: e, element: b }) } }), Ne = Ka({ - restrict: "EAC", link: function (a, b, d, c, e) { - if (!e) throw M("ngTransclude")("orphan", - ua(b)); e(function (a) { b.empty(); b.append(a) }) - } - }), ne = ["$templateCache", function (a) { return { restrict: "E", terminal: !0, compile: function (b, d) { "text/ng-template" == d.type && a.put(d.id, b[0].text) } } }], Jg = { $setViewValue: z, $render: z }, Kg = ["$element", "$scope", "$attrs", function (a, b, d) { - var c = this, e = new Sa; c.ngModelCtrl = Jg; c.unknownOption = A(W.createElement("option")); c.renderUnknownOption = function (b) { b = "? " + Da(b) + " ?"; c.unknownOption.val(b); a.prepend(c.unknownOption); a.val(b) }; b.$on("$destroy", function () { - c.renderUnknownOption = - z - }); c.removeUnknownOption = function () { c.unknownOption.parent() && c.unknownOption.remove() }; c.readValue = function () { c.removeUnknownOption(); return a.val() }; c.writeValue = function (b) { c.hasOption(b) ? (c.removeUnknownOption(), a.val(b), "" === b && c.emptyOption.prop("selected", !0)) : null == b && c.emptyOption ? (c.removeUnknownOption(), a.val("")) : c.renderUnknownOption(b) }; c.addOption = function (a, b) { - Ra(a, '"option value"'); "" === a && (c.emptyOption = b); var d = e.get(a) || 0; e.put(a, d + 1); c.ngModelCtrl.$render(); b[0].hasAttribute("selected") && - (b[0].selected = !0) - }; c.removeOption = function (a) { var b = e.get(a); b && (1 === b ? (e.remove(a), "" === a && (c.emptyOption = w)) : e.put(a, b - 1)) }; c.hasOption = function (a) { return !!e.get(a) }; c.registerOption = function (a, b, d, e, l) { if (e) { var m; d.$observe("value", function (a) { u(m) && c.removeOption(m); m = a; c.addOption(a, b) }) } else l ? a.$watch(l, function (a, e) { d.$set("value", a); e !== a && c.removeOption(e); c.addOption(a, b) }) : c.addOption(d.value, b); b.on("$destroy", function () { c.removeOption(d.value); c.ngModelCtrl.$render() }) } - }], oe = function () { - return { - restrict: "E", - require: ["select", "?ngModel"], controller: Kg, priority: 1, link: { - pre: function (a, b, d, c) { - var e = c[1]; if (e) { - var f = c[0]; f.ngModelCtrl = e; b.on("change", function () { a.$apply(function () { e.$setViewValue(f.readValue()) }) }); if (d.multiple) { - f.readValue = function () { var a = []; n(b.find("option"), function (b) { b.selected && a.push(b.value) }); return a }; f.writeValue = function (a) { var c = new Sa(a); n(b.find("option"), function (a) { a.selected = u(c.get(a.value)) }) }; var g, h = NaN; a.$watch(function () { - h !== e.$viewValue || ka(g, e.$viewValue) || (g = - ha(e.$viewValue), e.$render()); h = e.$viewValue - }); e.$isEmpty = function (a) { return !a || 0 === a.length } - } - } - }, post: function (a, b, d, c) { var e = c[1]; if (e) { var f = c[0]; e.$render = function () { f.writeValue(e.$viewValue) } } } - } - } - }, qe = ["$interpolate", function (a) { - return { - restrict: "E", priority: 100, compile: function (b, d) { - if (u(d.value)) var c = a(d.value, !0); else { var e = a(b.text(), !0); e || d.$set("value", b.text()) } return function (a, b, d) { - var k = b.parent(); (k = k.data("$selectController") || k.parent().data("$selectController")) && k.registerOption(a, - b, d, c, e) - } - } - } - }], pe = na({ restrict: "E", terminal: !1 }), Gc = function () { return { restrict: "A", require: "?ngModel", link: function (a, b, d, c) { c && (d.required = !0, c.$validators.required = function (a, b) { return !d.required || !c.$isEmpty(b) }, d.$observe("required", function () { c.$validate() })) } } }, Fc = function () { - return { - restrict: "A", require: "?ngModel", link: function (a, b, d, c) { - if (c) { - var e, f = d.ngPattern || d.pattern; d.$observe("pattern", function (a) { - F(a) && 0 < a.length && (a = new RegExp("^" + a + "$")); if (a && !a.test) throw M("ngPattern")("noregexp", - f, a, ua(b)); e = a || w; c.$validate() - }); c.$validators.pattern = function (a, b) { return c.$isEmpty(b) || q(e) || e.test(b) } - } - } - } - }, Ic = function () { return { restrict: "A", require: "?ngModel", link: function (a, b, d, c) { if (c) { var e = -1; d.$observe("maxlength", function (a) { a = Z(a); e = isNaN(a) ? -1 : a; c.$validate() }); c.$validators.maxlength = function (a, b) { return 0 > e || c.$isEmpty(b) || b.length <= e } } } } }, Hc = function () { - return { - restrict: "A", require: "?ngModel", link: function (a, b, d, c) { - if (c) { - var e = 0; d.$observe("minlength", function (a) { e = Z(a) || 0; c.$validate() }); - c.$validators.minlength = function (a, b) { return c.$isEmpty(b) || b.length >= e } - } - } - } - }; S.angular.bootstrap ? console.log("WARNING: Tried to load angular more than once.") : (ge(), ie($), $.module("ngLocale", [], ["$provide", function (a) { - function b(a) { a += ""; var b = a.indexOf("."); return -1 == b ? 0 : a.length - b - 1 } a.value("$locale", { - DATETIME_FORMATS: { - AMPMS: ["AM", "PM"], DAY: "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), ERANAMES: ["Before Christ", "Anno Domini"], ERAS: ["BC", "AD"], FIRSTDAYOFWEEK: 6, MONTH: "January February March April May June July August September October November December".split(" "), - SHORTDAY: "Sun Mon Tue Wed Thu Fri Sat".split(" "), SHORTMONTH: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), STANDALONEMONTH: "January February March April May June July August September October November December".split(" "), WEEKENDRANGE: [5, 6], fullDate: "EEEE, MMMM d, y", longDate: "MMMM d, y", medium: "MMM d, y h:mm:ss a", mediumDate: "MMM d, y", mediumTime: "h:mm:ss a", "short": "M/d/yy h:mm a", shortDate: "M/d/yy", shortTime: "h:mm a" - }, NUMBER_FORMATS: { - CURRENCY_SYM: "$", DECIMAL_SEP: ".", GROUP_SEP: ",", - PATTERNS: [{ gSize: 3, lgSize: 3, maxFrac: 3, minFrac: 0, minInt: 1, negPre: "-", negSuf: "", posPre: "", posSuf: "" }, { gSize: 3, lgSize: 3, maxFrac: 2, minFrac: 2, minInt: 1, negPre: "-\u00a4", negSuf: "", posPre: "\u00a4", posSuf: "" }] - }, id: "en-us", pluralCat: function (a, c) { var e = a | 0, f = c; w === f && (f = Math.min(b(a), 3)); Math.pow(10, f); return 1 == e && 0 == f ? "one" : "other" } - }) - }]), A(W).ready(function () { ce(W, zc) })) -})(window, document); !window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(''); - +(function(E){'use strict';function O(a){return function(){var b=arguments[0],d;d="["+(a?a+":":"")+b+"] http://errors.angularjs.org/1.5.7/"+(a?a+"/":"")+b;for(b=1;b").append(a).html();try{return a[0].nodeType===Na?M(d):d.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+M(b)})}catch(c){return M(d)}}function zc(a){try{return decodeURIComponent(a)}catch(b){}}function Ac(a){var b={};r((a||"").split("&"),function(a){var c,e,f;a&&(e=a=a.replace(/\+/g,"%20"),c=a.indexOf("="), +-1!==c&&(e=a.substring(0,c),f=a.substring(c+1)),e=zc(e),x(e)&&(f=x(f)?zc(f):!0,sa.call(b,e)?J(b[e])?b[e].push(f):b[e]=[b[e],f]:b[e]=f))});return b}function Tb(a){var b=[];r(a,function(a,c){J(a)?r(a,function(a){b.push(ja(c,!0)+(!0===a?"":"="+ja(a,!0)))}):b.push(ja(c,!0)+(!0===a?"":"="+ja(a,!0)))});return b.length?b.join("&"):""}function qb(a){return ja(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ja(a,b){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi, +":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,b?"%20":"+")}function fe(a,b){var d,c,e=Oa.length;for(c=0;c/,">"));}b=b||[];b.unshift(["$provide",function(b){b.value("$rootElement",a)}]);d.debugInfoEnabled&&b.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]);b.unshift("ng");c=db(b,d.strictDi);c.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,d,c){a.$apply(function(){b.data("$injector",c);d(b)(a)})}]); +return c},e=/^NG_ENABLE_DEBUG_INFO!/,f=/^NG_DEFER_BOOTSTRAP!/;E&&e.test(E.name)&&(d.debugInfoEnabled=!0,E.name=E.name.replace(e,""));if(E&&!f.test(E.name))return c();E.name=E.name.replace(f,"");ea.resumeBootstrap=function(a){r(a,function(a){b.push(a)});return c()};z(ea.resumeDeferredBootstrap)&&ea.resumeDeferredBootstrap()}function he(){E.name="NG_ENABLE_DEBUG_INFO!"+E.name;E.location.reload()}function ie(a){a=ea.element(a).injector();if(!a)throw za("test");return a.get("$$testability")}function Cc(a, +b){b=b||"_";return a.replace(je,function(a,c){return(c?b:"")+a.toLowerCase()})}function ke(){var a;if(!Dc){var b=rb();(pa=w(b)?E.jQuery:b?E[b]:void 0)&&pa.fn.on?(B=pa,R(pa.fn,{scope:Pa.scope,isolateScope:Pa.isolateScope,controller:Pa.controller,injector:Pa.injector,inheritedData:Pa.inheritedData}),a=pa.cleanData,pa.cleanData=function(b){for(var c,e=0,f;null!=(f=b[e]);e++)(c=pa._data(f,"events"))&&c.$destroy&&pa(f).triggerHandler("$destroy");a(b)}):B=U;ea.element=B;Dc=!0}}function sb(a,b,d){if(!a)throw za("areq", +b||"?",d||"required");return a}function Qa(a,b,d){d&&J(a)&&(a=a[a.length-1]);sb(z(a),b,"not a function, got "+(a&&"object"===typeof a?a.constructor.name||"Object":typeof a));return a}function Ra(a,b){if("hasOwnProperty"===a)throw za("badname",b);}function Ec(a,b,d){if(!b)return a;b=b.split(".");for(var c,e=a,f=b.length,g=0;g")+c[2];for(c=c[0];c--;)d=d.lastChild;f=ab(f,d.childNodes);d=e.firstChild;d.textContent=""}else f.push(b.createTextNode(a));e.textContent="";e.innerHTML="";r(f,function(a){e.appendChild(a)}); +return e}function Pc(a,b){var d=a.parentNode;d&&d.replaceChild(b,a);b.appendChild(a)}function U(a){if(a instanceof U)return a;var b;F(a)&&(a=W(a),b=!0);if(!(this instanceof U)){if(b&&"<"!=a.charAt(0))throw Wb("nosel");return new U(a)}if(b){b=E.document;var d;a=(d=Of.exec(a))?[b.createElement(d[1])]:(d=Oc(a,b))?d.childNodes:[]}Qc(this,a)}function Xb(a){return a.cloneNode(!0)}function wb(a,b){b||fb(a);if(a.querySelectorAll)for(var d=a.querySelectorAll("*"),c=0,e=d.length;c=Ba?!1:"function"===typeof a&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(a)+" ");return d?(c.unshift(null),new (Function.prototype.bind.apply(a,c))):a.apply(b,c)},instantiate:function(a,b,c){var d=J(a)?a[a.length-1]:a;a=e(a,b,c);a.unshift(null);return new (Function.prototype.bind.apply(d, +a))},get:d,annotate:db.$$annotate,has:function(b){return n.hasOwnProperty(b+"Provider")||a.hasOwnProperty(b)}}}b=!0===b;var k={},l=[],m=new Sa([],!0),n={$provide:{provider:d(c),factory:d(f),service:d(function(a,b){return f(a,["$injector",function(a){return a.instantiate(b)}])}),value:d(function(a,b){return f(a,da(b),!1)}),constant:d(function(a,b){Ra(a,"constant");n[a]=b;s[a]=b}),decorator:function(a,b){var c=p.get(a+"Provider"),d=c.$get;c.$get=function(){var a=I.invoke(d,c);return I.invoke(b,null, +{$delegate:a})}}}},p=n.$injector=h(n,function(a,b){ea.isString(b)&&l.push(b);throw Ha("unpr",l.join(" <- "));}),s={},V=h(s,function(a,b){var c=p.get(a+"Provider",b);return I.invoke(c.$get,c,void 0,a)}),I=V;n.$injectorProvider={$get:da(V)};var q=g(a),I=V.get("$injector");I.strictDi=b;r(q,function(a){a&&I.invoke(a)});return I}function Ye(){var a=!0;this.disableAutoScrolling=function(){a=!1};this.$get=["$window","$location","$rootScope",function(b,d,c){function e(a){var b=null;Array.prototype.some.call(a, +function(a){if("a"===ua(a))return b=a,!0});return b}function f(a){if(a){a.scrollIntoView();var c;c=g.yOffset;z(c)?c=c():Qb(c)?(c=c[0],c="fixed"!==b.getComputedStyle(c).position?0:c.getBoundingClientRect().bottom):S(c)||(c=0);c&&(a=a.getBoundingClientRect().top,b.scrollBy(0,a-c))}else b.scrollTo(0,0)}function g(a){a=F(a)?a:d.hash();var b;a?(b=h.getElementById(a))?f(b):(b=e(h.getElementsByName(a)))?f(b):"top"===a&&f(null):f(null)}var h=b.document;a&&c.$watch(function(){return d.hash()},function(a,b){a=== +b&&""===a||Qf(function(){c.$evalAsync(g)})});return g}]}function hb(a,b){if(!a&&!b)return"";if(!a)return b;if(!b)return a;J(a)&&(a=a.join(" "));J(b)&&(b=b.join(" "));return a+" "+b}function Zf(a){F(a)&&(a=a.split(" "));var b=T();r(a,function(a){a.length&&(b[a]=!0)});return b}function Ia(a){return H(a)?a:{}}function $f(a,b,d,c){function e(a){try{a.apply(null,ta.call(arguments,1))}finally{if(V--,0===V)for(;I.length;)try{I.pop()()}catch(b){d.error(b)}}}function f(){y=null;g();h()}function g(){q=P(); +q=w(q)?null:q;na(q,D)&&(q=D);D=q}function h(){if(v!==k.url()||K!==q)v=k.url(),K=q,r(L,function(a){a(k.url(),q)})}var k=this,l=a.location,m=a.history,n=a.setTimeout,p=a.clearTimeout,s={};k.isMock=!1;var V=0,I=[];k.$$completeOutstandingRequest=e;k.$$incOutstandingRequestCount=function(){V++};k.notifyWhenNoOutstandingRequests=function(a){0===V?a():I.push(a)};var q,K,v=l.href,u=b.find("base"),y=null,P=c.history?function(){try{return m.state}catch(a){}}:A;g();K=q;k.url=function(b,d,e){w(e)&&(e=null);l!== +a.location&&(l=a.location);m!==a.history&&(m=a.history);if(b){var f=K===e;if(v===b&&(!c.history||f))return k;var h=v&&Ja(v)===Ja(b);v=b;K=e;!c.history||h&&f?(h||(y=b),d?l.replace(b):h?(d=l,e=b.indexOf("#"),e=-1===e?"":b.substr(e),d.hash=e):l.href=b,l.href!==b&&(y=b)):(m[d?"replaceState":"pushState"](e,"",b),g(),K=q);y&&(y=b);return k}return y||l.href.replace(/%27/g,"'")};k.state=function(){return q};var L=[],C=!1,D=null;k.onUrlChange=function(b){if(!C){if(c.history)B(a).on("popstate",f);B(a).on("hashchange", +f);C=!0}L.push(b);return b};k.$$applicationDestroyed=function(){B(a).off("hashchange popstate",f)};k.$$checkUrlChange=h;k.baseHref=function(){var a=u.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};k.defer=function(a,b){var c;V++;c=n(function(){delete s[c];e(a)},b||0);s[c]=!0;return c};k.defer.cancel=function(a){return s[a]?(delete s[a],p(a),e(A),!0):!1}}function ef(){this.$get=["$window","$log","$sniffer","$document",function(a,b,d,c){return new $f(a,c,b,d)}]}function ff(){this.$get= +function(){function a(a,c){function e(a){a!=n&&(p?p==a&&(p=a.n):p=a,f(a.n,a.p),f(a,n),n=a,n.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(a in b)throw O("$cacheFactory")("iid",a);var g=0,h=R({},c,{id:a}),k=T(),l=c&&c.capacity||Number.MAX_VALUE,m=T(),n=null,p=null;return b[a]={put:function(a,b){if(!w(b)){if(ll&&this.remove(p.key);return b}},get:function(a){if(l";b=la.firstChild.attributes;var d=b[0];b.removeNamedItem(d.name);d.value=c;a.attributes.setNamedItem(d)}function N(a,b){try{a.addClass(b)}catch(c){}}function ba(a,b,c,d,e){a instanceof B||(a=B(a));for(var f=/\S+/,g=0,h=a.length;g< +h;g++){var k=a[g];k.nodeType===Na&&k.nodeValue.match(f)&&Pc(k,a[g]=E.document.createElement("span"))}var l=t(a,b,a,c,d,e);ba.$$addScopeClass(a);var n=null;return function(b,c,d){sb(b,"scope");e&&e.needsNewScope&&(b=b.$parent.$new());d=d||{};var f=d.parentBoundTranscludeFn,g=d.transcludeControllers;d=d.futureParentElement;f&&f.$$boundTransclude&&(f=f.$$boundTransclude);n||(n=(d=d&&d[0])?"foreignobject"!==ua(d)&&ka.call(d).match(/SVG/)?"svg":"html":"html");d="html"!==n?B(ca(n,B("
").append(a).html())): +c?Pa.clone.call(a):a;if(g)for(var h in g)d.data("$"+h+"Controller",g[h].instance);ba.$$addScopeInfo(d,b);c&&c(d,b);l&&l(b,d,d,f);return d}}function t(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,n,m,v,q;if(p)for(q=Array(c.length),n=0;nu.priority)break;if(x=u.scope)u.templateUrl||(H(x)?(X("new/isolated scope",s||v,u,N),s=u):X("new/isolated scope",s,u,N)),v=v||u;G=u.name;if(!Ca&&(u.replace&&(u.templateUrl||u.template)||u.transclude&&!u.$$tlb)){for(x=A+1;Ca=a[x++];)if(Ca.transclude&&!Ca.$$tlb||Ca.replace&& +(Ca.templateUrl||Ca.template)){wa=!0;break}Ca=!0}!u.templateUrl&&u.controller&&(x=u.controller,q=q||T(),X("'"+G+"' controller",q[G],u,N),q[G]=u);if(x=u.transclude)if(D=!0,u.$$tlb||(X("transclusion",C,u,N),C=u),"element"==x)y=!0,p=u.priority,Q=N,N=d.$$element=B(ba.$$createComment(G,d[G])),b=N[0],da(f,ta.call(Q,0),b),Q[0].$$parentNode=Q[0].parentNode,P=ac(wa,Q,e,p,g&&g.name,{nonTlbTranscludeDirective:C});else{var M=T();Q=B(Xb(b)).contents();if(H(x)){Q=[];var S=T(),Da=T();r(x,function(a,b){var c="?"=== +a.charAt(0);a=c?a.substring(1):a;S[a]=b;M[b]=null;Da[b]=c});r(N.contents(),function(a){var b=S[xa(ua(a))];b?(Da[b]=!0,M[b]=M[b]||[],M[b].push(a)):Q.push(a)});r(Da,function(a,b){if(!a)throw fa("reqslot",b);});for(var Y in M)M[Y]&&(M[Y]=ac(wa,M[Y],e))}N.empty();P=ac(wa,Q,e,void 0,void 0,{needsNewScope:u.$$isolateScope||u.$$newScope});P.$$slots=M}if(u.template)if(I=!0,X("template",L,u,N),L=u,x=z(u.template)?u.template(N,d):u.template,x=ra(x),u.replace){g=u;Q=Vb.test(x)?$c(ca(u.templateNamespace,W(x))): +[];b=Q[0];if(1!=Q.length||1!==b.nodeType)throw fa("tplrt",G,"");da(f,N,b);E={$attr:{}};x=$b(b,[],E);var aa=a.splice(A+1,a.length-(A+1));(s||v)&&ad(x,s,v);a=a.concat(x).concat(aa);U(d,E);E=a.length}else N.html(x);if(u.templateUrl)I=!0,X("template",L,u,N),L=u,u.replace&&(g=u),m=$(a.splice(A,a.length-A),N,d,f,D&&P,h,k,{controllerDirectives:q,newScopeDirective:v!==u&&v,newIsolateScopeDirective:s,templateDirective:L,nonTlbTranscludeDirective:C}),E=a.length;else if(u.compile)try{t=u.compile(N,d,P);var Z= +u.$$originalDirective||u;z(t)?n(null,bb(Z,t),F,Ta):t&&n(bb(Z,t.pre),bb(Z,t.post),F,Ta)}catch(ea){c(ea,va(N))}u.terminal&&(m.terminal=!0,p=Math.max(p,u.priority))}m.scope=v&&!0===v.scope;m.transcludeOnThisElement=D;m.templateOnThisElement=I;m.transclude=P;l.hasElementTranscludeDirective=y;return m}function ib(a,b,c,d){var e;if(F(b)){var f=b.match(l);b=b.substring(f[0].length);var g=f[1]||f[3],f="?"===f[2];"^^"===g?c=c.parent():e=(e=d&&d[b])&&e.instance;if(!e){var h="$"+b+"Controller";e=g?c.inheritedData(h): +c.data(h)}if(!e&&!f)throw fa("ctreq",b,a);}else if(J(b))for(e=[],g=0,f=b.length;gm.priority)&&-1!=m.restrict.indexOf(g)){l&&(m=Rb(m,{$$start:l,$$end:n}));if(!m.$$bindings){var q=m,s=m,L=m.name,u={isolateScope:null,bindToController:null};H(s.scope)&&(!0===s.bindToController?(u.bindToController=d(s.scope,L,!0),u.isolateScope={}):u.isolateScope=d(s.scope,L,!1));H(s.bindToController)&&(u.bindToController= +d(s.bindToController,L,!0));if(H(u.bindToController)){var C=s.controller,D=s.controllerAs;if(!C)throw fa("noctrl",L);if(!Xc(C,D))throw fa("noident",L);}var N=q.$$bindings=u;H(N.isolateScope)&&(m.$$isolateBindings=N.isolateScope)}b.push(m);k=m}}catch(G){c(G)}}return k}function S(b){if(f.hasOwnProperty(b))for(var c=a.get(b+"Directive"),d=0,e=c.length;d"+b+"";return c.childNodes[0].childNodes;default:return b}}function ea(a,b){if("srcdoc"==b)return L.HTML;var c=ua(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return L.RESOURCE_URL}function ia(a, +c,d,e,f){var g=ea(a,e);f=k[e]||f;var h=b(d,!0,g,f);if(h){if("multiple"===e&&"select"===ua(a))throw fa("selmulti",va(a));c.push({priority:100,compile:function(){return{pre:function(a,c,k){c=k.$$observers||(k.$$observers=T());if(m.test(e))throw fa("nodomevents");var l=k[e];l!==d&&(h=l&&b(l,!0,g,f),d=l);h&&(k[e]=h(a),(c[e]||(c[e]=[])).$$inter=!0,(k.$$observers&&k.$$observers[e].$$scope||a).$watch(h,function(a,b){"class"===e&&a!=b?k.$updateClass(a,b):k.$set(e,a)}))}}}})}}function da(a,b,c){var d=b[0], +e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g=b)return a;for(;b--;)8===a[b].nodeType&&bg.call(a,b,1);return a}function Xc(a,b){if(b&&F(b))return b;if(F(a)){var d=dd.exec(a);if(d)return d[3]}}function gf(){var a={},b=!1;this.has=function(b){return a.hasOwnProperty(b)};this.register=function(b,c){Ra(b,"controller");H(b)?R(a,b):a[b]=c};this.allowGlobals=function(){b=!0};this.$get=["$injector","$window",function(d,c){function e(a, +b,c,d){if(!a||!H(a.$scope))throw O("$controller")("noscp",d,b);a.$scope[b]=c}return function(f,g,h,k){var l,m,n;h=!0===h;k&&F(k)&&(n=k);if(F(f)){k=f.match(dd);if(!k)throw cg("ctrlfmt",f);m=k[1];n=n||k[3];f=a.hasOwnProperty(m)?a[m]:Ec(g.$scope,m,!0)||(b?Ec(c,m,!0):void 0);Qa(f,m,!0)}if(h)return h=(J(f)?f[f.length-1]:f).prototype,l=Object.create(h||null),n&&e(g,n,l,m||f.name),R(function(){var a=d.invoke(f,l,g,m);a!==l&&(H(a)||z(a))&&(l=a,n&&e(g,n,l,m||f.name));return l},{instance:l,identifier:n});l= +d.instantiate(f,g,m);n&&e(g,n,l,m||f.name);return l}}]}function hf(){this.$get=["$window",function(a){return B(a.document)}]}function jf(){this.$get=["$log",function(a){return function(b,d){a.error.apply(a,arguments)}}]}function cc(a){return H(a)?ia(a)?a.toISOString():cb(a):a}function of(){this.$get=function(){return function(a){if(!a)return"";var b=[];tc(a,function(a,c){null===a||w(a)||(J(a)?r(a,function(a){b.push(ja(c)+"="+ja(cc(a)))}):b.push(ja(c)+"="+ja(cc(a))))});return b.join("&")}}}function pf(){this.$get= +function(){return function(a){function b(a,e,f){null===a||w(a)||(J(a)?r(a,function(a,c){b(a,e+"["+(H(a)?c:"")+"]")}):H(a)&&!ia(a)?tc(a,function(a,c){b(a,e+(f?"":"[")+c+(f?"":"]"))}):d.push(ja(e)+"="+ja(cc(a))))}if(!a)return"";var d=[];b(a,"",!0);return d.join("&")}}}function dc(a,b){if(F(a)){var d=a.replace(dg,"").trim();if(d){var c=b("Content-Type");(c=c&&0===c.indexOf(ed))||(c=(c=d.match(eg))&&fg[c[0]].test(d));c&&(a=xc(d))}}return a}function fd(a){var b=T(),d;F(a)?r(a.split("\n"),function(a){d= +a.indexOf(":");var e=M(W(a.substr(0,d)));a=W(a.substr(d+1));e&&(b[e]=b[e]?b[e]+", "+a:a)}):H(a)&&r(a,function(a,d){var f=M(d),g=W(a);f&&(b[f]=b[f]?b[f]+", "+g:g)});return b}function gd(a){var b;return function(d){b||(b=fd(a));return d?(d=b[M(d)],void 0===d&&(d=null),d):b}}function hd(a,b,d,c){if(z(c))return c(a,b,d);r(c,function(c){a=c(a,b,d)});return a}function nf(){var a=this.defaults={transformResponse:[dc],transformRequest:[function(a){return H(a)&&"[object File]"!==ka.call(a)&&"[object Blob]"!== +ka.call(a)&&"[object FormData]"!==ka.call(a)?cb(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ga(ec),put:ga(ec),patch:ga(ec)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},b=!1;this.useApplyAsync=function(a){return x(a)?(b=!!a,this):b};var d=!0;this.useLegacyPromiseExtensions=function(a){return x(a)?(d=!!a,this):d};var c=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector", +function(e,f,g,h,k,l){function m(b){function c(a){var b=R({},a);b.data=hd(a.data,a.headers,a.status,f.transformResponse);a=a.status;return 200<=a&&300>a?b:k.reject(b)}function e(a,b){var c,d={};r(a,function(a,e){z(a)?(c=a(b),null!=c&&(d[e]=c)):d[e]=a});return d}if(!H(b))throw O("$http")("badreq",b);if(!F(b.url))throw O("$http")("badreq",b.url);var f=R({method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse,paramSerializer:a.paramSerializer},b);f.headers=function(b){var c= +a.headers,d=R({},b.headers),f,g,h,c=R({},c.common,c[M(b.method)]);a:for(f in c){g=M(f);for(h in d)if(M(h)===g)continue a;d[f]=c[f]}return e(d,ga(b))}(b);f.method=ub(f.method);f.paramSerializer=F(f.paramSerializer)?l.get(f.paramSerializer):f.paramSerializer;var g=[function(b){var d=b.headers,e=hd(b.data,gd(d),void 0,b.transformRequest);w(e)&&r(d,function(a,b){"content-type"===M(b)&&delete d[b]});w(b.withCredentials)&&!w(a.withCredentials)&&(b.withCredentials=a.withCredentials);return n(b,e).then(c, +c)},void 0],h=k.when(f);for(r(V,function(a){(a.request||a.requestError)&&g.unshift(a.request,a.requestError);(a.response||a.responseError)&&g.push(a.response,a.responseError)});g.length;){b=g.shift();var m=g.shift(),h=h.then(b,m)}d?(h.success=function(a){Qa(a,"fn");h.then(function(b){a(b.data,b.status,b.headers,f)});return h},h.error=function(a){Qa(a,"fn");h.then(null,function(b){a(b.data,b.status,b.headers,f)});return h}):(h.success=id("success"),h.error=id("error"));return h}function n(c,d){function g(a){if(a){var c= +{};r(a,function(a,d){c[d]=function(c){function d(){a(c)}b?h.$applyAsync(d):h.$$phase?d():h.$apply(d)}});return c}}function l(a,c,d,e){function f(){n(c,a,d,e)}D&&(200<=a&&300>a?D.put(Q,[a,c,fd(d),e]):D.remove(Q));b?h.$applyAsync(f):(f(),h.$$phase||h.$apply())}function n(a,b,d,e){b=-1<=b?b:0;(200<=b&&300>b?L.resolve:L.reject)({data:a,status:b,headers:gd(d),config:c,statusText:e})}function y(a){n(a.data,a.status,ga(a.headers()),a.statusText)}function V(){var a=m.pendingRequests.indexOf(c);-1!==a&&m.pendingRequests.splice(a, +1)}var L=k.defer(),C=L.promise,D,G,Aa=c.headers,Q=p(c.url,c.paramSerializer(c.params));m.pendingRequests.push(c);C.then(V,V);!c.cache&&!a.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(D=H(c.cache)?c.cache:H(a.cache)?a.cache:s);D&&(G=D.get(Q),x(G)?G&&z(G.then)?G.then(y,y):J(G)?n(G[1],G[0],ga(G[2]),G[3]):n(G,200,{},"OK"):D.put(Q,C));w(G)&&((G=jd(c.url)?f()[c.xsrfCookieName||a.xsrfCookieName]:void 0)&&(Aa[c.xsrfHeaderName||a.xsrfHeaderName]=G),e(c.method,Q,d,l,Aa,c.timeout,c.withCredentials, +c.responseType,g(c.eventHandlers),g(c.uploadEventHandlers)));return C}function p(a,b){0=l&&(v.resolve(q),I(u.$$intervalId),delete g[u.$$intervalId]);K||a.$apply()},k);g[u.$$intervalId]=v;return u}var g={};f.cancel=function(a){return a&&a.$$intervalId in g?(g[a.$$intervalId].reject("canceled"),b.clearInterval(a.$$intervalId),delete g[a.$$intervalId],!0):!1};return f}]}function fc(a){a=a.split("/");for(var b=a.length;b--;)a[b]= +qb(a[b]);return a.join("/")}function kd(a,b){var d=qa(a);b.$$protocol=d.protocol;b.$$host=d.hostname;b.$$port=aa(d.port)||hg[d.protocol]||null}function ld(a,b){var d="/"!==a.charAt(0);d&&(a="/"+a);var c=qa(a);b.$$path=decodeURIComponent(d&&"/"===c.pathname.charAt(0)?c.pathname.substring(1):c.pathname);b.$$search=Ac(c.search);b.$$hash=decodeURIComponent(c.hash);b.$$path&&"/"!=b.$$path.charAt(0)&&(b.$$path="/"+b.$$path)}function la(a,b){if(0===b.lastIndexOf(a,0))return b.substr(a.length)}function Ja(a){var b= +a.indexOf("#");return-1==b?a:a.substr(0,b)}function jb(a){return a.replace(/(#.+)|#$/,"$1")}function gc(a,b,d){this.$$html5=!0;d=d||"";kd(a,this);this.$$parse=function(a){var d=la(b,a);if(!F(d))throw Gb("ipthprfx",a,b);ld(d,this);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Tb(this.$$search),d=this.$$hash?"#"+qb(this.$$hash):"";this.$$url=fc(this.$$path)+(a?"?"+a:"")+d;this.$$absUrl=b+this.$$url.substr(1)};this.$$parseLinkUrl=function(c,e){if(e&&"#"===e[0])return this.hash(e.slice(1)), +!0;var f,g;x(f=la(a,c))?(g=f,g=x(f=la(d,f))?b+(la("/",f)||f):a+g):x(f=la(b,c))?g=b+f:b==c+"/"&&(g=b);g&&this.$$parse(g);return!!g}}function hc(a,b,d){kd(a,this);this.$$parse=function(c){var e=la(a,c)||la(b,c),f;w(e)||"#"!==e.charAt(0)?this.$$html5?f=e:(f="",w(e)&&(a=c,this.replace())):(f=la(d,e),w(f)&&(f=e));ld(f,this);c=this.$$path;var e=a,g=/^\/[A-Z]:(\/.*)/;0===f.lastIndexOf(e,0)&&(f=f.replace(e,""));g.exec(f)||(c=(f=g.exec(c))?f[1]:c);this.$$path=c;this.$$compose()};this.$$compose=function(){var b= +Tb(this.$$search),e=this.$$hash?"#"+qb(this.$$hash):"";this.$$url=fc(this.$$path)+(b?"?"+b:"")+e;this.$$absUrl=a+(this.$$url?d+this.$$url:"")};this.$$parseLinkUrl=function(b,d){return Ja(a)==Ja(b)?(this.$$parse(b),!0):!1}}function md(a,b,d){this.$$html5=!0;hc.apply(this,arguments);this.$$parseLinkUrl=function(c,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;a==Ja(c)?f=c:(g=la(b,c))?f=a+d+g:b===c+"/"&&(f=b);f&&this.$$parse(f);return!!f};this.$$compose=function(){var b=Tb(this.$$search), +e=this.$$hash?"#"+qb(this.$$hash):"";this.$$url=fc(this.$$path)+(b?"?"+b:"")+e;this.$$absUrl=a+d+this.$$url}}function Hb(a){return function(){return this[a]}}function nd(a,b){return function(d){if(w(d))return this[a];this[a]=b(d);this.$$compose();return this}}function sf(){var a="",b={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(b){return x(b)?(a=b,this):a};this.html5Mode=function(a){return Ea(a)?(b.enabled=a,this):H(a)?(Ea(a.enabled)&&(b.enabled=a.enabled),Ea(a.requireBase)&& +(b.requireBase=a.requireBase),Ea(a.rewriteLinks)&&(b.rewriteLinks=a.rewriteLinks),this):b};this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(d,c,e,f,g){function h(a,b,d){var e=l.url(),f=l.$$state;try{c.url(a,b,d),l.$$state=c.state()}catch(g){throw l.url(e),l.$$state=f,g;}}function k(a,b){d.$broadcast("$locationChangeSuccess",l.absUrl(),a,l.$$state,b)}var l,m;m=c.baseHref();var n=c.url(),p;if(b.enabled){if(!m&&b.requireBase)throw Gb("nobase");p=n.substring(0,n.indexOf("/", +n.indexOf("//")+2))+(m||"/");m=e.history?gc:md}else p=Ja(n),m=hc;var s=p.substr(0,Ja(p).lastIndexOf("/")+1);l=new m(p,s,"#"+a);l.$$parseLinkUrl(n,n);l.$$state=c.state();var r=/^\s*(javascript|mailto):/i;f.on("click",function(a){if(b.rewriteLinks&&!a.ctrlKey&&!a.metaKey&&!a.shiftKey&&2!=a.which&&2!=a.button){for(var e=B(a.target);"a"!==ua(e[0]);)if(e[0]===f[0]||!(e=e.parent())[0])return;var h=e.prop("href"),k=e.attr("href")||e.attr("xlink:href");H(h)&&"[object SVGAnimatedString]"===h.toString()&&(h= +qa(h.animVal).href);r.test(h)||!h||e.attr("target")||a.isDefaultPrevented()||!l.$$parseLinkUrl(h,k)||(a.preventDefault(),l.absUrl()!=c.url()&&(d.$apply(),g.angular["ff-684208-preventDefault"]=!0))}});jb(l.absUrl())!=jb(n)&&c.url(l.absUrl(),!0);var I=!0;c.onUrlChange(function(a,b){w(la(s,a))?g.location.href=a:(d.$evalAsync(function(){var c=l.absUrl(),e=l.$$state,f;a=jb(a);l.$$parse(a);l.$$state=b;f=d.$broadcast("$locationChangeStart",a,c,b,e).defaultPrevented;l.absUrl()===a&&(f?(l.$$parse(c),l.$$state= +e,h(c,!1,e)):(I=!1,k(c,e)))}),d.$$phase||d.$digest())});d.$watch(function(){var a=jb(c.url()),b=jb(l.absUrl()),f=c.state(),g=l.$$replace,n=a!==b||l.$$html5&&e.history&&f!==l.$$state;if(I||n)I=!1,d.$evalAsync(function(){var b=l.absUrl(),c=d.$broadcast("$locationChangeStart",b,a,l.$$state,f).defaultPrevented;l.absUrl()===b&&(c?(l.$$parse(a),l.$$state=f):(n&&h(b,g,f===l.$$state?null:l.$$state),k(a,f)))});l.$$replace=!1});return l}]}function tf(){var a=!0,b=this;this.debugEnabled=function(b){return x(b)? +(a=b,this):a};this.$get=["$window",function(d){function c(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function e(a){var b=d.console||{},e=b[a]||b.log||A;a=!1;try{a=!!e.apply}catch(k){}return a?function(){var a=[];r(arguments,function(b){a.push(c(b))});return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"), +debug:function(){var c=e("debug");return function(){a&&c.apply(b,arguments)}}()}}]}function Ua(a,b){if("__defineGetter__"===a||"__defineSetter__"===a||"__lookupGetter__"===a||"__lookupSetter__"===a||"__proto__"===a)throw ca("isecfld",b);return a}function ig(a){return a+""}function ra(a,b){if(a){if(a.constructor===a)throw ca("isecfn",b);if(a.window===a)throw ca("isecwindow",b);if(a.children&&(a.nodeName||a.prop&&a.attr&&a.find))throw ca("isecdom",b);if(a===Object)throw ca("isecobj",b);}return a}function od(a, +b){if(a){if(a.constructor===a)throw ca("isecfn",b);if(a===jg||a===kg||a===lg)throw ca("isecff",b);}}function Ib(a,b){if(a&&(a===(0).constructor||a===(!1).constructor||a==="".constructor||a==={}.constructor||a===[].constructor||a===Function.constructor))throw ca("isecaf",b);}function mg(a,b){return"undefined"!==typeof a?a:b}function pd(a,b){return"undefined"===typeof a?b:"undefined"===typeof b?a:a+b}function $(a,b){var d,c;switch(a.type){case t.Program:d=!0;r(a.body,function(a){$(a.expression,b);d= +d&&a.expression.constant});a.constant=d;break;case t.Literal:a.constant=!0;a.toWatch=[];break;case t.UnaryExpression:$(a.argument,b);a.constant=a.argument.constant;a.toWatch=a.argument.toWatch;break;case t.BinaryExpression:$(a.left,b);$(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.left.toWatch.concat(a.right.toWatch);break;case t.LogicalExpression:$(a.left,b);$(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.constant?[]:[a];break;case t.ConditionalExpression:$(a.test, +b);$(a.alternate,b);$(a.consequent,b);a.constant=a.test.constant&&a.alternate.constant&&a.consequent.constant;a.toWatch=a.constant?[]:[a];break;case t.Identifier:a.constant=!1;a.toWatch=[a];break;case t.MemberExpression:$(a.object,b);a.computed&&$(a.property,b);a.constant=a.object.constant&&(!a.computed||a.property.constant);a.toWatch=[a];break;case t.CallExpression:d=a.filter?!b(a.callee.name).$stateful:!1;c=[];r(a.arguments,function(a){$(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)}); +a.constant=d;a.toWatch=a.filter&&!b(a.callee.name).$stateful?c:[a];break;case t.AssignmentExpression:$(a.left,b);$(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=[a];break;case t.ArrayExpression:d=!0;c=[];r(a.elements,function(a){$(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)});a.constant=d;a.toWatch=c;break;case t.ObjectExpression:d=!0;c=[];r(a.properties,function(a){$(a.value,b);d=d&&a.value.constant&&!a.computed;a.value.constant||c.push.apply(c,a.value.toWatch)}); +a.constant=d;a.toWatch=c;break;case t.ThisExpression:a.constant=!1;a.toWatch=[];break;case t.LocalsExpression:a.constant=!1,a.toWatch=[]}}function qd(a){if(1==a.length){a=a[0].expression;var b=a.toWatch;return 1!==b.length?b:b[0]!==a?b:void 0}}function rd(a){return a.type===t.Identifier||a.type===t.MemberExpression}function sd(a){if(1===a.body.length&&rd(a.body[0].expression))return{type:t.AssignmentExpression,left:a.body[0].expression,right:{type:t.NGValueParameter},operator:"="}}function td(a){return 0=== +a.body.length||1===a.body.length&&(a.body[0].expression.type===t.Literal||a.body[0].expression.type===t.ArrayExpression||a.body[0].expression.type===t.ObjectExpression)}function ud(a,b){this.astBuilder=a;this.$filter=b}function vd(a,b){this.astBuilder=a;this.$filter=b}function Jb(a){return"constructor"==a}function ic(a){return z(a.valueOf)?a.valueOf():ng.call(a)}function uf(){var a=T(),b=T(),d={"true":!0,"false":!1,"null":null,undefined:void 0},c,e;this.addLiteral=function(a,b){d[a]=b};this.setIdentifierFns= +function(a,b){c=a;e=b;return this};this.$get=["$filter",function(f){function g(c,d,e){var g,k,C;e=e||K;switch(typeof c){case "string":C=c=c.trim();var D=e?b:a;g=D[C];if(!g){":"===c.charAt(0)&&":"===c.charAt(1)&&(k=!0,c=c.substring(2));g=e?q:I;var G=new jc(g);g=(new kc(G,f,g)).parse(c);g.constant?g.$$watchDelegate=p:k?g.$$watchDelegate=g.literal?n:m:g.inputs&&(g.$$watchDelegate=l);e&&(g=h(g));D[C]=g}return s(g,d);case "function":return s(c,d);default:return s(A,d)}}function h(a){function b(c,d,e,f){var g= +K;K=!0;try{return a(c,d,e,f)}finally{K=g}}if(!a)return a;b.$$watchDelegate=a.$$watchDelegate;b.assign=h(a.assign);b.constant=a.constant;b.literal=a.literal;for(var c=0;a.inputs&&c=this.promise.$$state.status&&d&&d.length&&a(function(){for(var a,e,f=0,g=d.length;fa)for(b in l++,f)sa.call(e,b)||(q--,delete f[b])}else f!==e&&(f=e,l++);return l}}c.$stateful=!0;var d=this,e,f,h,k=1r&&(w=4-r,x[w]||(x[w]=[]),x[w].push({msg:z(a.exp)? +"fn: "+(a.exp.name||a.exp.toString()):a.exp,newVal:g,oldVal:k}));else if(a===c){q=!1;break a}}catch(B){f(B)}if(!(p=y.$$watchersCount&&y.$$childHead||y!==this&&y.$$nextSibling))for(;y!==this&&!(p=y.$$nextSibling);)y=y.$parent}while(y=p);if((q||v.length)&&!r--)throw K.$$phase=null,d("infdig",b,x);}while(q||v.length);for(K.$$phase=null;PBa)throw ya("iequirks");var c=ga(ma);c.isEnabled=function(){return a}; +c.trustAs=d.trustAs;c.getTrusted=d.getTrusted;c.valueOf=d.valueOf;a||(c.trustAs=c.getTrusted=function(a,b){return b},c.valueOf=Ya);c.parseAs=function(a,d){var e=b(d);return e.literal&&e.constant?e:b(d,function(b){return c.getTrusted(a,b)})};var e=c.parseAs,f=c.getTrusted,g=c.trustAs;r(ma,function(a,b){var d=M(b);c[eb("parse_as_"+d)]=function(b){return e(a,b)};c[eb("get_trusted_"+d)]=function(b){return f(a,b)};c[eb("trust_as_"+d)]=function(b){return g(a,b)}});return c}]}function Af(){this.$get=["$window", +"$document",function(a,b){var d={},c=!(a.chrome&&a.chrome.app&&a.chrome.app.runtime)&&a.history&&a.history.pushState,e=aa((/android (\d+)/.exec(M((a.navigator||{}).userAgent))||[])[1]),f=/Boxee/i.test((a.navigator||{}).userAgent),g=b[0]||{},h,k=/^(Moz|webkit|ms)(?=[A-Z])/,l=g.body&&g.body.style,m=!1,n=!1;if(l){for(var p in l)if(m=k.exec(p)){h=m[0];h=h[0].toUpperCase()+h.substr(1);break}h||(h="WebkitOpacity"in l&&"webkit");m=!!("transition"in l||h+"Transition"in l);n=!!("animation"in l||h+"Animation"in +l);!e||m&&n||(m=F(l.webkitTransition),n=F(l.webkitAnimation))}return{history:!(!c||4>e||f),hasEvent:function(a){if("input"===a&&11>=Ba)return!1;if(w(d[a])){var b=g.createElement("div");d[a]="on"+a in b}return d[a]},csp:Fa(),vendorPrefix:h,transitions:m,animations:n,android:e}}]}function Cf(){var a;this.httpOptions=function(b){return b?(a=b,this):a};this.$get=["$templateCache","$http","$q","$sce",function(b,d,c,e){function f(g,h){f.totalPendingRequests++;if(!F(g)||w(b.get(g)))g=e.getTrustedResourceUrl(g); +var k=d.defaults&&d.defaults.transformResponse;J(k)?k=k.filter(function(a){return a!==dc}):k===dc&&(k=null);return d.get(g,R({cache:b,transformResponse:k},a))["finally"](function(){f.totalPendingRequests--}).then(function(a){b.put(g,a.data);return a.data},function(a){if(!h)throw pg("tpload",g,a.status,a.statusText);return c.reject(a)})}f.totalPendingRequests=0;return f}]}function Df(){this.$get=["$rootScope","$browser","$location",function(a,b,d){return{findBindings:function(a,b,d){a=a.getElementsByClassName("ng-binding"); +var g=[];r(a,function(a){var c=ea.element(a).data("$binding");c&&r(c,function(c){d?(new RegExp("(^|\\s)"+xd(b)+"(\\s|\\||$)")).test(c)&&g.push(a):-1!=c.indexOf(b)&&g.push(a)})});return g},findModels:function(a,b,d){for(var g=["ng-","data-ng-","ng\\:"],h=0;hc&&(c=e),c+=+a.slice(e+1),a=a.substring(0,e)):0>c&&(c=a.length);for(e=0;a.charAt(e)==mc;e++);if(e==(g=a.length))d=[0],c=1;else{for(g--;a.charAt(g)==mc;)g--;c-=e;d=[];for(f=0;e<=g;e++,f++)d[f]=+a.charAt(e)}c>Hd&&(d=d.splice(0,Hd-1),b=c-1,c=1);return{d:d,e:b,i:c}}function xg(a,b,d,c){var e=a.d,f=e.length-a.i;b=w(b)?Math.min(Math.max(d,f),c):+b;d=b+a.i;c=e[d];if(0d-1){for(c=0;c>d;c--)e.unshift(0),a.i++;e.unshift(1);a.i++}else e[d-1]++;for(;fh;)k.unshift(0),h++;0=b.lgSize&&h.unshift(k.splice(-b.lgSize,k.length).join(""));k.length>b.gSize;)h.unshift(k.splice(-b.gSize,k.length).join(""));k.length&&h.unshift(k.join(""));k=h.join(d);f.length&&(k+=c+f.join(""));e&&(k+="e+"+e)}return 0>a&&!g?b.negPre+k+b.negSuf:b.posPre+k+b.posSuf}function Kb(a,b,d,c){var e="";if(0>a||c&&0>=a)c?a=-a+1:(a=-a,e="-");for(a=""+a;a.length-d)f+=d;0===f&&-12==d&&(f=12);return Kb(f,b,c,e)}}function kb(a,b,d){return function(c,e){var f=c["get"+a](),g=ub((d?"STANDALONE":"")+(b?"SHORT":"")+a);return e[g][f]}}function Id(a){var b=(new Date(a,0,1)).getDay();return new Date(a,0,(4>=b?5:12)-b)}function Jd(a){return function(b){var d=Id(b.getFullYear());b=+new Date(b.getFullYear(),b.getMonth(),b.getDate()+(4-b.getDay()))-+d;b=1+Math.round(b/6048E5);return Kb(b,a)}}function nc(a, +b){return 0>=a.getFullYear()?b.ERAS[0]:b.ERAS[1]}function Cd(a){function b(a){var b;if(b=a.match(d)){a=new Date(0);var f=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,k=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=aa(b[9]+b[10]),g=aa(b[9]+b[11]));h.call(a,aa(b[1]),aa(b[2])-1,aa(b[3]));f=aa(b[4]||0)-f;g=aa(b[5]||0)-g;h=aa(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));k.call(a,f,g,h,b)}return a}var d=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; +return function(c,d,f){var g="",h=[],k,l;d=d||"mediumDate";d=a.DATETIME_FORMATS[d]||d;F(c)&&(c=yg.test(c)?aa(c):b(c));S(c)&&(c=new Date(c));if(!ia(c)||!isFinite(c.getTime()))return c;for(;d;)(l=zg.exec(d))?(h=ab(h,l,1),d=h.pop()):(h.push(d),d=null);var m=c.getTimezoneOffset();f&&(m=yc(f,m),c=Sb(c,f,!0));r(h,function(b){k=Ag[b];g+=k?k(c,a.DATETIME_FORMATS,m):"''"===b?"'":b.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function rg(){return function(a,b){w(b)&&(b=2);return cb(a,b)}}function sg(){return function(a, +b,d){b=Infinity===Math.abs(Number(b))?Number(b):aa(b);if(isNaN(b))return a;S(a)&&(a=a.toString());if(!oa(a))return a;d=!d||isNaN(d)?0:aa(d);d=0>d?Math.max(0,a.length+d):d;return 0<=b?oc(a,d,d+b):0===d?oc(a,b,a.length):oc(a,Math.max(0,d+b),d)}}function oc(a,b,d){return F(a)?a.slice(b,d):ta.call(a,b,d)}function Ed(a){function b(b){return b.map(function(b){var c=1,d=Ya;if(z(b))d=b;else if(F(b)){if("+"==b.charAt(0)||"-"==b.charAt(0))c="-"==b.charAt(0)?-1:1,b=b.substring(1);if(""!==b&&(d=a(b),d.constant))var e= +d(),d=function(a){return a[e]}}return{get:d,descending:c}})}function d(a){switch(typeof a){case "number":case "boolean":case "string":return!0;default:return!1}}function c(a,b){var c=0,d=a.type,k=b.type;if(d===k){var k=a.value,l=b.value;"string"===d?(k=k.toLowerCase(),l=l.toLowerCase()):"object"===d&&(H(k)&&(k=a.index),H(l)&&(l=b.index));k!==l&&(c=kb||37<=b&&40>=b||m(a,this,this.value)});if(e.hasEvent("paste"))b.on("paste cut",m)}b.on("change",l);if(Md[g]&&c.$$hasNativeValidators&&g===d.type)b.on("keydown wheel mousedown",function(a){if(!k){var b=this.validity,c=b.badInput,d=b.typeMismatch;k=f.defer(function(){k=null;b.badInput===c&&b.typeMismatch===d||l(a)})}});c.$render=function(){var a=c.$isEmpty(c.$viewValue)? +"":c.$viewValue;b.val()!==a&&b.val(a)}}function Nb(a,b){return function(d,c){var e,f;if(ia(d))return d;if(F(d)){'"'==d.charAt(0)&&'"'==d.charAt(d.length-1)&&(d=d.substring(1,d.length-1));if(Bg.test(d))return new Date(d);a.lastIndex=0;if(e=a.exec(d))return e.shift(),f=c?{yyyy:c.getFullYear(),MM:c.getMonth()+1,dd:c.getDate(),HH:c.getHours(),mm:c.getMinutes(),ss:c.getSeconds(),sss:c.getMilliseconds()/1E3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(e,function(a,c){c=t};g.$observe("min",function(a){t=p(a);h.$validate()})}if(x(g.max)||g.ngMax){var q;h.$validators.max=function(a){return!n(a)||w(q)||d(a)<=q};g.$observe("max",function(a){q=p(a);h.$validate()})}}}function Nd(a,b,d,c){(c.$$hasNativeValidators=H(b[0].validity))&&c.$parsers.push(function(a){var c=b.prop("validity")||{};return c.badInput||c.typeMismatch?void 0:a})}function Od(a, +b,d,c,e){if(x(c)){a=a(c);if(!a.constant)throw nb("constexpr",d,c);return a(b)}return e}function qc(a,b){a="ngClass"+a;return["$animate",function(d){function c(a,b){var c=[],d=0;a:for(;d(?:<\/\1>|)$/,Vb=/<|&#?\w+;/,Mf=/<([\w:-]+)/,Nf=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ha={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ha.optgroup=ha.option;ha.tbody=ha.tfoot=ha.colgroup=ha.caption=ha.thead; +ha.th=ha.td;var Uf=E.Node.prototype.contains||function(a){return!!(this.compareDocumentPosition(a)&16)},Pa=U.prototype={ready:function(a){function b(){d||(d=!0,a())}var d=!1;"complete"===E.document.readyState?E.setTimeout(b):(this.on("DOMContentLoaded",b),U(E).on("load",b))},toString:function(){var a=[];r(this,function(b){a.push(""+b)});return"["+a.join(", ")+"]"},eq:function(a){return 0<=a?B(this[a]):B(this[this.length+a])},length:0,push:Dg,sort:[].sort,splice:[].splice},Eb={};r("multiple selected checked disabled readOnly required open".split(" "), +function(a){Eb[M(a)]=a});var Vc={};r("input select option textarea button form details".split(" "),function(a){Vc[a]=!0});var cd={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Yb,removeData:fb,hasData:function(a){for(var b in gb[a.ng339])return!0;return!1},cleanData:function(a){for(var b=0,d=a.length;b/,Xf=/^[^\(]*\(\s*([^\)]*)\)/m,Eg=/,/,Fg=/^\s*(_?)(\S+?)\1\s*$/,Vf=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Ha=O("$injector");db.$$annotate= +function(a,b,d){var c;if("function"===typeof a){if(!(c=a.$inject)){c=[];if(a.length){if(b)throw F(d)&&d||(d=a.name||Yf(a)),Ha("strictdi",d);b=Wc(a);r(b[1].split(Eg),function(a){a.replace(Fg,function(a,b,d){c.push(d)})})}a.$inject=c}}else J(a)?(b=a.length-1,Qa(a[b],"fn"),c=a.slice(0,b)):Qa(a,"fn",!0);return c};var Sd=O("$animate"),af=function(){this.$get=A},bf=function(){var a=new Sa,b=[];this.$get=["$$AnimateRunner","$rootScope",function(d,c){function e(a,b,c){var d=!1;b&&(b=F(b)?b.split(" "):J(b)? +b:[],r(b,function(b){b&&(d=!0,a[b]=c)}));return d}function f(){r(b,function(b){var c=a.get(b);if(c){var d=Zf(b.attr("class")),e="",f="";r(c,function(a,b){a!==!!d[b]&&(a?e+=(e.length?" ":"")+b:f+=(f.length?" ":"")+b)});r(b,function(a){e&&Bb(a,e);f&&Ab(a,f)});a.remove(b)}});b.length=0}return{enabled:A,on:A,off:A,pin:A,push:function(g,h,k,l){l&&l();k=k||{};k.from&&g.css(k.from);k.to&&g.css(k.to);if(k.addClass||k.removeClass)if(h=k.addClass,l=k.removeClass,k=a.get(g)||{},h=e(k,h,!0),l=e(k,l,!1),h||l)a.put(g, +k),b.push(g),1===b.length&&c.$$postDigest(f);g=new d;g.complete();return g}}}]},Ze=["$provide",function(a){var b=this;this.$$registeredAnimations=Object.create(null);this.register=function(d,c){if(d&&"."!==d.charAt(0))throw Sd("notcsel",d);var e=d+"-animation";b.$$registeredAnimations[d.substr(1)]=e;a.factory(e,c)};this.classNameFilter=function(a){if(1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw Sd("nongcls", +"ng-animate");return this.$$classNameFilter};this.$get=["$$animateQueue",function(a){function b(a,c,d){if(d){var h;a:{for(h=0;h <= >= && || ! = |".split(" "),function(a){Ob[a]=!0});var Jg={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},jc=function(a){this.options=a};jc.prototype={constructor:jc,lex:function(a){this.text=a;this.index=0;for(this.tokens=[];this.index=a&&"string"===typeof a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdentifierStart:function(a){return this.options.isIdentifierStart?this.options.isIdentifierStart(a,this.codePointAt(a)):this.isValidIdentifierStart(a)},isValidIdentifierStart:function(a){return"a"<=a&&"z">= +a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isIdentifierContinue:function(a){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(a,this.codePointAt(a)):this.isValidIdentifierContinue(a)},isValidIdentifierContinue:function(a,b){return this.isValidIdentifierStart(a,b)||this.isNumber(a)},codePointAt:function(a){return 1===a.length?a.charCodeAt(0):(a.charCodeAt(0)<<10)+a.charCodeAt(1)-56613888},peekMultichar:function(){var a=this.text.charAt(this.index),b=this.peek();if(!b)return a;var d= +a.charCodeAt(0),c=b.charCodeAt(0);return 55296<=d&&56319>=d&&56320<=c&&57343>=c?a+b:a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,b,d){d=d||this.index;b=x(b)?"s "+b+"-"+this.index+" ["+this.text.substring(b,d)+"]":" "+d;throw ca("lexerr",a,b,this.text);},readNumber:function(){for(var a="",b=this.index;this.index","<=",">=");)a={type:t.BinaryExpression,operator:b.text,left:a,right:this.additive()};return a},additive:function(){for(var a=this.multiplicative(),b;b=this.expect("+","-");)a={type:t.BinaryExpression,operator:b.text,left:a,right:this.multiplicative()};return a},multiplicative:function(){for(var a=this.unary(),b;b=this.expect("*", +"/","%");)a={type:t.BinaryExpression,operator:b.text,left:a,right:this.unary()};return a},unary:function(){var a;return(a=this.expect("+","-","!"))?{type:t.UnaryExpression,operator:a.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var a;this.expect("(")?(a=this.filterChain(),this.consume(")")):this.expect("[")?a=this.arrayDeclaration():this.expect("{")?a=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?a=Z(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)? +a={type:t.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?a=this.identifier():this.peek().constant?a=this.constant():this.throwError("not a primary expression",this.peek());for(var b;b=this.expect("(","[",".");)"("===b.text?(a={type:t.CallExpression,callee:a,arguments:this.parseArguments()},this.consume(")")):"["===b.text?(a={type:t.MemberExpression,object:a,property:this.expression(),computed:!0},this.consume("]")):"."===b.text?a={type:t.MemberExpression,object:a, +property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return a},filter:function(a){a=[a];for(var b={type:t.CallExpression,callee:this.identifier(),arguments:a,filter:!0};this.expect(":");)a.push(this.expression());return b},parseArguments:function(){var a=[];if(")"!==this.peekToken().text){do a.push(this.filterChain());while(this.expect(","))}return a},identifier:function(){var a=this.consume();a.identifier||this.throwError("is not a valid identifier",a);return{type:t.Identifier,name:a.text}}, +constant:function(){return{type:t.Literal,value:this.consume().value}},arrayDeclaration:function(){var a=[];if("]"!==this.peekToken().text){do{if(this.peek("]"))break;a.push(this.expression())}while(this.expect(","))}this.consume("]");return{type:t.ArrayExpression,elements:a}},object:function(){var a=[],b;if("}"!==this.peekToken().text){do{if(this.peek("}"))break;b={type:t.Property,kind:"init"};this.peek().constant?(b.key=this.constant(),b.computed=!1,this.consume(":"),b.value=this.expression()): +this.peek().identifier?(b.key=this.identifier(),b.computed=!1,this.peek(":")?(this.consume(":"),b.value=this.expression()):b.value=b.key):this.peek("[")?(this.consume("["),b.key=this.expression(),this.consume("]"),b.computed=!0,this.consume(":"),b.value=this.expression()):this.throwError("invalid key",this.peek());a.push(b)}while(this.expect(","))}this.consume("}");return{type:t.ObjectExpression,properties:a}},throwError:function(a,b){throw ca("syntax",b.text,a,b.index+1,this.text,this.text.substring(b.index)); +},consume:function(a){if(0===this.tokens.length)throw ca("ueoe",this.text);var b=this.expect(a);b||this.throwError("is unexpected, expecting ["+a+"]",this.peek());return b},peekToken:function(){if(0===this.tokens.length)throw ca("ueoe",this.text);return this.tokens[0]},peek:function(a,b,d,c){return this.peekAhead(0,a,b,d,c)},peekAhead:function(a,b,d,c,e){if(this.tokens.length>a){a=this.tokens[a];var f=a.text;if(f===b||f===d||f===c||f===e||!(b||d||c||e))return a}return!1},expect:function(a,b,d,c){return(a= +this.peek(a,b,d,c))?(this.tokens.shift(),a):!1},selfReferential:{"this":{type:t.ThisExpression},$locals:{type:t.LocalsExpression}}};ud.prototype={compile:function(a,b){var d=this,c=this.astBuilder.ast(a);this.state={nextId:0,filters:{},expensiveChecks:b,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]};$(c,d.$filter);var e="",f;this.stage="assign";if(f=sd(c))this.state.computing="assign",e=this.nextId(),this.recurse(f,e),this.return_(e),e="fn.assign="+this.generateFunction("assign", +"s,v,l");f=qd(c.body);d.stage="inputs";r(f,function(a,b){var c="fn"+b;d.state[c]={vars:[],body:[],own:{}};d.state.computing=c;var e=d.nextId();d.recurse(a,e);d.return_(e);d.state.inputs.push(c);a.watchId=b});this.state.computing="fn";this.stage="main";this.recurse(c);e='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+e+this.watchFns()+"return fn;";e=(new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue", +"ensureSafeAssignContext","ifDefined","plus","text",e))(this.$filter,Ua,ra,od,ig,Ib,mg,pd,a);this.state=this.stage=void 0;e.literal=td(c);e.constant=c.constant;return e},USE:"use",STRICT:"strict",watchFns:function(){var a=[],b=this.state.inputs,d=this;r(b,function(b){a.push("var "+b+"="+d.generateFunction(b,"s"))});b.length&&a.push("fn.inputs=["+b.join(",")+"];");return a.join("")},generateFunction:function(a,b){return"function("+b+"){"+this.varsPrefix(a)+this.body(a)+"};"},filterPrefix:function(){var a= +[],b=this;r(this.state.filters,function(d,c){a.push(d+"=$filter("+b.escape(c)+")")});return a.length?"var "+a.join(",")+";":""},varsPrefix:function(a){return this.state[a].vars.length?"var "+this.state[a].vars.join(",")+";":""},body:function(a){return this.state[a].body.join("")},recurse:function(a,b,d,c,e,f){var g,h,k=this,l,m,n;c=c||A;if(!f&&x(a.watchId))b=b||this.nextId(),this.if_("i",this.lazyAssign(b,this.computedMember("i",a.watchId)),this.lazyRecurse(a,b,d,c,e,!0));else switch(a.type){case t.Program:r(a.body, +function(b,c){k.recurse(b.expression,void 0,void 0,function(a){h=a});c!==a.body.length-1?k.current().body.push(h,";"):k.return_(h)});break;case t.Literal:m=this.escape(a.value);this.assign(b,m);c(m);break;case t.UnaryExpression:this.recurse(a.argument,void 0,void 0,function(a){h=a});m=a.operator+"("+this.ifDefined(h,0)+")";this.assign(b,m);c(m);break;case t.BinaryExpression:this.recurse(a.left,void 0,void 0,function(a){g=a});this.recurse(a.right,void 0,void 0,function(a){h=a});m="+"===a.operator? +this.plus(g,h):"-"===a.operator?this.ifDefined(g,0)+a.operator+this.ifDefined(h,0):"("+g+")"+a.operator+"("+h+")";this.assign(b,m);c(m);break;case t.LogicalExpression:b=b||this.nextId();k.recurse(a.left,b);k.if_("&&"===a.operator?b:k.not(b),k.lazyRecurse(a.right,b));c(b);break;case t.ConditionalExpression:b=b||this.nextId();k.recurse(a.test,b);k.if_(b,k.lazyRecurse(a.alternate,b),k.lazyRecurse(a.consequent,b));c(b);break;case t.Identifier:b=b||this.nextId();d&&(d.context="inputs"===k.stage?"s":this.assign(this.nextId(), +this.getHasOwnProperty("l",a.name)+"?l:s"),d.computed=!1,d.name=a.name);Ua(a.name);k.if_("inputs"===k.stage||k.not(k.getHasOwnProperty("l",a.name)),function(){k.if_("inputs"===k.stage||"s",function(){e&&1!==e&&k.if_(k.not(k.nonComputedMember("s",a.name)),k.lazyAssign(k.nonComputedMember("s",a.name),"{}"));k.assign(b,k.nonComputedMember("s",a.name))})},b&&k.lazyAssign(b,k.nonComputedMember("l",a.name)));(k.state.expensiveChecks||Jb(a.name))&&k.addEnsureSafeObject(b);c(b);break;case t.MemberExpression:g= +d&&(d.context=this.nextId())||this.nextId();b=b||this.nextId();k.recurse(a.object,g,void 0,function(){k.if_(k.notNull(g),function(){e&&1!==e&&k.addEnsureSafeAssignContext(g);if(a.computed)h=k.nextId(),k.recurse(a.property,h),k.getStringValue(h),k.addEnsureSafeMemberName(h),e&&1!==e&&k.if_(k.not(k.computedMember(g,h)),k.lazyAssign(k.computedMember(g,h),"{}")),m=k.ensureSafeObject(k.computedMember(g,h)),k.assign(b,m),d&&(d.computed=!0,d.name=h);else{Ua(a.property.name);e&&1!==e&&k.if_(k.not(k.nonComputedMember(g, +a.property.name)),k.lazyAssign(k.nonComputedMember(g,a.property.name),"{}"));m=k.nonComputedMember(g,a.property.name);if(k.state.expensiveChecks||Jb(a.property.name))m=k.ensureSafeObject(m);k.assign(b,m);d&&(d.computed=!1,d.name=a.property.name)}},function(){k.assign(b,"undefined")});c(b)},!!e);break;case t.CallExpression:b=b||this.nextId();a.filter?(h=k.filter(a.callee.name),l=[],r(a.arguments,function(a){var b=k.nextId();k.recurse(a,b);l.push(b)}),m=h+"("+l.join(",")+")",k.assign(b,m),c(b)):(h= +k.nextId(),g={},l=[],k.recurse(a.callee,h,g,function(){k.if_(k.notNull(h),function(){k.addEnsureSafeFunction(h);r(a.arguments,function(a){k.recurse(a,k.nextId(),void 0,function(a){l.push(k.ensureSafeObject(a))})});g.name?(k.state.expensiveChecks||k.addEnsureSafeObject(g.context),m=k.member(g.context,g.name,g.computed)+"("+l.join(",")+")"):m=h+"("+l.join(",")+")";m=k.ensureSafeObject(m);k.assign(b,m)},function(){k.assign(b,"undefined")});c(b)}));break;case t.AssignmentExpression:h=this.nextId();g= +{};if(!rd(a.left))throw ca("lval");this.recurse(a.left,void 0,g,function(){k.if_(k.notNull(g.context),function(){k.recurse(a.right,h);k.addEnsureSafeObject(k.member(g.context,g.name,g.computed));k.addEnsureSafeAssignContext(g.context);m=k.member(g.context,g.name,g.computed)+a.operator+h;k.assign(b,m);c(b||m)})},1);break;case t.ArrayExpression:l=[];r(a.elements,function(a){k.recurse(a,k.nextId(),void 0,function(a){l.push(a)})});m="["+l.join(",")+"]";this.assign(b,m);c(m);break;case t.ObjectExpression:l= +[];n=!1;r(a.properties,function(a){a.computed&&(n=!0)});n?(b=b||this.nextId(),this.assign(b,"{}"),r(a.properties,function(a){a.computed?(g=k.nextId(),k.recurse(a.key,g)):g=a.key.type===t.Identifier?a.key.name:""+a.key.value;h=k.nextId();k.recurse(a.value,h);k.assign(k.member(b,g,a.computed),h)})):(r(a.properties,function(b){k.recurse(b.value,a.constant?void 0:k.nextId(),void 0,function(a){l.push(k.escape(b.key.type===t.Identifier?b.key.name:""+b.key.value)+":"+a)})}),m="{"+l.join(",")+"}",this.assign(b, +m));c(b||m);break;case t.ThisExpression:this.assign(b,"s");c("s");break;case t.LocalsExpression:this.assign(b,"l");c("l");break;case t.NGValueParameter:this.assign(b,"v"),c("v")}},getHasOwnProperty:function(a,b){var d=a+"."+b,c=this.current().own;c.hasOwnProperty(d)||(c[d]=this.nextId(!1,a+"&&("+this.escape(b)+" in "+a+")"));return c[d]},assign:function(a,b){if(a)return this.current().body.push(a,"=",b,";"),a},filter:function(a){this.state.filters.hasOwnProperty(a)||(this.state.filters[a]=this.nextId(!0)); +return this.state.filters[a]},ifDefined:function(a,b){return"ifDefined("+a+","+this.escape(b)+")"},plus:function(a,b){return"plus("+a+","+b+")"},return_:function(a){this.current().body.push("return ",a,";")},if_:function(a,b,d){if(!0===a)b();else{var c=this.current().body;c.push("if(",a,"){");b();c.push("}");d&&(c.push("else{"),d(),c.push("}"))}},not:function(a){return"!("+a+")"},notNull:function(a){return a+"!=null"},nonComputedMember:function(a,b){var d=/[^$_a-zA-Z0-9]/g;return/[$_a-zA-Z][$_a-zA-Z0-9]*/.test(b)? +a+"."+b:a+'["'+b.replace(d,this.stringEscapeFn)+'"]'},computedMember:function(a,b){return a+"["+b+"]"},member:function(a,b,d){return d?this.computedMember(a,b):this.nonComputedMember(a,b)},addEnsureSafeObject:function(a){this.current().body.push(this.ensureSafeObject(a),";")},addEnsureSafeMemberName:function(a){this.current().body.push(this.ensureSafeMemberName(a),";")},addEnsureSafeFunction:function(a){this.current().body.push(this.ensureSafeFunction(a),";")},addEnsureSafeAssignContext:function(a){this.current().body.push(this.ensureSafeAssignContext(a), +";")},ensureSafeObject:function(a){return"ensureSafeObject("+a+",text)"},ensureSafeMemberName:function(a){return"ensureSafeMemberName("+a+",text)"},ensureSafeFunction:function(a){return"ensureSafeFunction("+a+",text)"},getStringValue:function(a){this.assign(a,"getStringValue("+a+")")},ensureSafeAssignContext:function(a){return"ensureSafeAssignContext("+a+",text)"},lazyRecurse:function(a,b,d,c,e,f){var g=this;return function(){g.recurse(a,b,d,c,e,f)}},lazyAssign:function(a,b){var d=this;return function(){d.assign(a, +b)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)},escape:function(a){if(F(a))return"'"+a.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(S(a))return a.toString();if(!0===a)return"true";if(!1===a)return"false";if(null===a)return"null";if("undefined"===typeof a)return"undefined";throw ca("esc");},nextId:function(a,b){var d="v"+this.state.nextId++;a||this.current().vars.push(d+(b?"="+b:""));return d},current:function(){return this.state[this.state.computing]}}; +vd.prototype={compile:function(a,b){var d=this,c=this.astBuilder.ast(a);this.expression=a;this.expensiveChecks=b;$(c,d.$filter);var e,f;if(e=sd(c))f=this.recurse(e);e=qd(c.body);var g;e&&(g=[],r(e,function(a,b){var c=d.recurse(a);a.input=c;g.push(c);a.watchId=b}));var h=[];r(c.body,function(a){h.push(d.recurse(a.expression))});e=0===c.body.length?A:1===c.body.length?h[0]:function(a,b){var c;r(h,function(d){c=d(a,b)});return c};f&&(e.assign=function(a,b,c){return f(a,c,b)});g&&(e.inputs=g);e.literal= +td(c);e.constant=c.constant;return e},recurse:function(a,b,d){var c,e,f=this,g;if(a.input)return this.inputs(a.input,a.watchId);switch(a.type){case t.Literal:return this.value(a.value,b);case t.UnaryExpression:return e=this.recurse(a.argument),this["unary"+a.operator](e,b);case t.BinaryExpression:return c=this.recurse(a.left),e=this.recurse(a.right),this["binary"+a.operator](c,e,b);case t.LogicalExpression:return c=this.recurse(a.left),e=this.recurse(a.right),this["binary"+a.operator](c,e,b);case t.ConditionalExpression:return this["ternary?:"](this.recurse(a.test), +this.recurse(a.alternate),this.recurse(a.consequent),b);case t.Identifier:return Ua(a.name,f.expression),f.identifier(a.name,f.expensiveChecks||Jb(a.name),b,d,f.expression);case t.MemberExpression:return c=this.recurse(a.object,!1,!!d),a.computed||(Ua(a.property.name,f.expression),e=a.property.name),a.computed&&(e=this.recurse(a.property)),a.computed?this.computedMember(c,e,b,d,f.expression):this.nonComputedMember(c,e,f.expensiveChecks,b,d,f.expression);case t.CallExpression:return g=[],r(a.arguments, +function(a){g.push(f.recurse(a))}),a.filter&&(e=this.$filter(a.callee.name)),a.filter||(e=this.recurse(a.callee,!0)),a.filter?function(a,c,d,f){for(var n=[],p=0;p":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)>b(c,e,f,g);return d?{value:c}:c}},"binary<=":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)<=b(c,e,f,g);return d?{value:c}:c}},"binary>=":function(a, +b,d){return function(c,e,f,g){c=a(c,e,f,g)>=b(c,e,f,g);return d?{value:c}:c}},"binary&&":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)&&b(c,e,f,g);return d?{value:c}:c}},"binary||":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)||b(c,e,f,g);return d?{value:c}:c}},"ternary?:":function(a,b,d,c){return function(e,f,g,h){e=a(e,f,g,h)?b(e,f,g,h):d(e,f,g,h);return c?{value:e}:e}},value:function(a,b){return function(){return b?{context:void 0,name:void 0,value:a}:a}},identifier:function(a, +b,d,c,e){return function(f,g,h,k){f=g&&a in g?g:f;c&&1!==c&&f&&!f[a]&&(f[a]={});g=f?f[a]:void 0;b&&ra(g,e);return d?{context:f,name:a,value:g}:g}},computedMember:function(a,b,d,c,e){return function(f,g,h,k){var l=a(f,g,h,k),m,n;null!=l&&(m=b(f,g,h,k),m+="",Ua(m,e),c&&1!==c&&(Ib(l),l&&!l[m]&&(l[m]={})),n=l[m],ra(n,e));return d?{context:l,name:m,value:n}:n}},nonComputedMember:function(a,b,d,c,e,f){return function(g,h,k,l){g=a(g,h,k,l);e&&1!==e&&(Ib(g),g&&!g[b]&&(g[b]={}));h=null!=g?g[b]:void 0;(d|| +Jb(b))&&ra(h,f);return c?{context:g,name:b,value:h}:h}},inputs:function(a,b){return function(d,c,e,f){return f?f[b]:a(d,c,e)}}};var kc=function(a,b,d){this.lexer=a;this.$filter=b;this.options=d;this.ast=new t(a,d);this.astCompiler=d.csp?new vd(this.ast,b):new ud(this.ast,b)};kc.prototype={constructor:kc,parse:function(a){return this.astCompiler.compile(a,this.options.expensiveChecks)}};var ng=Object.prototype.valueOf,ya=O("$sce"),ma={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"}, +pg=O("$compile"),Y=E.document.createElement("a"),zd=qa(E.location.href);Ad.$inject=["$document"];Mc.$inject=["$provide"];var Hd=22,Gd=".",mc="0";Bd.$inject=["$locale"];Dd.$inject=["$locale"];var Ag={yyyy:X("FullYear",4,0,!1,!0),yy:X("FullYear",2,0,!0,!0),y:X("FullYear",1,0,!1,!0),MMMM:kb("Month"),MMM:kb("Month",!0),MM:X("Month",2,1),M:X("Month",1,1),LLLL:kb("Month",!1,!0),dd:X("Date",2),d:X("Date",1),HH:X("Hours",2),H:X("Hours",1),hh:X("Hours",2,-12),h:X("Hours",1,-12),mm:X("Minutes",2),m:X("Minutes", +1),ss:X("Seconds",2),s:X("Seconds",1),sss:X("Milliseconds",3),EEEE:kb("Day"),EEE:kb("Day",!0),a:function(a,b){return 12>a.getHours()?b.AMPMS[0]:b.AMPMS[1]},Z:function(a,b,d){a=-1*d;return a=(0<=a?"+":"")+(Kb(Math[0=a.getFullYear()?b.ERANAMES[0]:b.ERANAMES[1]}},zg=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,yg=/^\-?\d+$/;Cd.$inject=["$locale"]; +var tg=da(M),ug=da(ub);Ed.$inject=["$parse"];var pe=da({restrict:"E",compile:function(a,b){if(!b.href&&!b.xlinkHref)return function(a,b){if("a"===b[0].nodeName.toLowerCase()){var e="[object SVGAnimatedString]"===ka.call(b.prop("href"))?"xlink:href":"href";b.on("click",function(a){b.attr(e)||a.preventDefault()})}}}}),vb={};r(Eb,function(a,b){function d(a,d,e){a.$watch(e[c],function(a){e.$set(b,!!a)})}if("multiple"!=a){var c=xa("ng-"+b),e=d;"checked"===a&&(e=function(a,b,e){e.ngModel!==e[c]&&d(a,b, +e)});vb[c]=function(){return{restrict:"A",priority:100,link:e}}}});r(cd,function(a,b){vb[b]=function(){return{priority:100,link:function(a,c,e){if("ngPattern"===b&&"/"==e.ngPattern.charAt(0)&&(c=e.ngPattern.match(Cg))){e.$set("ngPattern",new RegExp(c[1],c[2]));return}a.$watch(e[b],function(a){e.$set(b,a)})}}}});r(["src","srcset","href"],function(a){var b=xa("ng-"+a);vb[b]=function(){return{priority:99,link:function(d,c,e){var f=a,g=a;"href"===a&&"[object SVGAnimatedString]"===ka.call(c.prop("href"))&& +(g="xlinkHref",e.$attr[g]="xlink:href",f=null);e.$observe(b,function(b){b?(e.$set(g,b),Ba&&f&&c.prop(f,e[g])):"href"===a&&e.$set(g,null)})}}}});var Lb={$addControl:A,$$renameControl:function(a,b){a.$name=b},$removeControl:A,$setValidity:A,$setDirty:A,$setPristine:A,$setSubmitted:A};Kd.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Td=function(a){return["$timeout","$parse",function(b,d){function c(a){return""===a?d('this[""]').assign:d(a).assign||A}return{name:"form",restrict:a? +"EAC":"E",require:["form","^^?form"],controller:Kd,compile:function(d,f){d.addClass(Va).addClass(ob);var g=f.name?"name":a&&f.ngForm?"ngForm":!1;return{pre:function(a,d,e,f){var n=f[0];if(!("action"in e)){var p=function(b){a.$apply(function(){n.$commitViewValue();n.$setSubmitted()});b.preventDefault()};d[0].addEventListener("submit",p,!1);d.on("$destroy",function(){b(function(){d[0].removeEventListener("submit",p,!1)},0,!1)})}(f[1]||n.$$parentForm).$addControl(n);var s=g?c(n.$name):A;g&&(s(a,n),e.$observe(g, +function(b){n.$name!==b&&(s(a,void 0),n.$$parentForm.$$renameControl(n,b),s=c(n.$name),s(a,n))}));d.on("$destroy",function(){n.$$parentForm.$removeControl(n);s(a,void 0);R(n,Lb)})}}}}}]},qe=Td(),De=Td(!0),Bg=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Kg=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Lg=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/, +Mg=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ud=/^(\d{4,})-(\d{2})-(\d{2})$/,Vd=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,rc=/^(\d{4,})-W(\d\d)$/,Wd=/^(\d{4,})-(\d\d)$/,Xd=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Md=T();r(["date","datetime-local","month","time","week"],function(a){Md[a]=!0});var Yd={text:function(a,b,d,c,e,f){lb(a,b,d,c,e,f);pc(c)},date:mb("date",Ud,Nb(Ud,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mb("datetimelocal",Vd,Nb(Vd,"yyyy MM dd HH mm ss sss".split(" ")), +"yyyy-MM-ddTHH:mm:ss.sss"),time:mb("time",Xd,Nb(Xd,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mb("week",rc,function(a,b){if(ia(a))return a;if(F(a)){rc.lastIndex=0;var d=rc.exec(a);if(d){var c=+d[1],e=+d[2],f=d=0,g=0,h=0,k=Id(c),e=7*(e-1);b&&(d=b.getHours(),f=b.getMinutes(),g=b.getSeconds(),h=b.getMilliseconds());return new Date(c,0,k.getDate()+e,d,f,g,h)}}return NaN},"yyyy-Www"),month:mb("month",Wd,Nb(Wd,["yyyy","MM"]),"yyyy-MM"),number:function(a,b,d,c,e,f){Nd(a,b,d,c);lb(a,b,d,c,e,f);c.$$parserName= +"number";c.$parsers.push(function(a){if(c.$isEmpty(a))return null;if(Mg.test(a))return parseFloat(a)});c.$formatters.push(function(a){if(!c.$isEmpty(a)){if(!S(a))throw nb("numfmt",a);a=a.toString()}return a});if(x(d.min)||d.ngMin){var g;c.$validators.min=function(a){return c.$isEmpty(a)||w(g)||a>=g};d.$observe("min",function(a){x(a)&&!S(a)&&(a=parseFloat(a,10));g=S(a)&&!isNaN(a)?a:void 0;c.$validate()})}if(x(d.max)||d.ngMax){var h;c.$validators.max=function(a){return c.$isEmpty(a)||w(h)||a<=h};d.$observe("max", +function(a){x(a)&&!S(a)&&(a=parseFloat(a,10));h=S(a)&&!isNaN(a)?a:void 0;c.$validate()})}},url:function(a,b,d,c,e,f){lb(a,b,d,c,e,f);pc(c);c.$$parserName="url";c.$validators.url=function(a,b){var d=a||b;return c.$isEmpty(d)||Kg.test(d)}},email:function(a,b,d,c,e,f){lb(a,b,d,c,e,f);pc(c);c.$$parserName="email";c.$validators.email=function(a,b){var d=a||b;return c.$isEmpty(d)||Lg.test(d)}},radio:function(a,b,d,c){w(d.name)&&b.attr("name",++pb);b.on("click",function(a){b[0].checked&&c.$setViewValue(d.value, +a&&a.type)});c.$render=function(){b[0].checked=d.value==c.$viewValue};d.$observe("value",c.$render)},checkbox:function(a,b,d,c,e,f,g,h){var k=Od(h,a,"ngTrueValue",d.ngTrueValue,!0),l=Od(h,a,"ngFalseValue",d.ngFalseValue,!1);b.on("click",function(a){c.$setViewValue(b[0].checked,a&&a.type)});c.$render=function(){b[0].checked=c.$viewValue};c.$isEmpty=function(a){return!1===a};c.$formatters.push(function(a){return na(a,k)});c.$parsers.push(function(a){return a?k:l})},hidden:A,button:A,submit:A,reset:A, +file:A},Gc=["$browser","$sniffer","$filter","$parse",function(a,b,d,c){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,f,g,h){h[0]&&(Yd[M(g.type)]||Yd.text)(e,f,g,h[0],b,a,d,c)}}}}],Ng=/^(true|false|\d+)$/,Ve=function(){return{restrict:"A",priority:100,compile:function(a,b){return Ng.test(b.ngValue)?function(a,b,e){e.$set("value",a.$eval(e.ngValue))}:function(a,b,e){a.$watch(e.ngValue,function(a){e.$set("value",a)})}}}},ve=["$compile",function(a){return{restrict:"AC",compile:function(b){a.$$addBindingClass(b); +return function(b,c,e){a.$$addBindingInfo(c,e.ngBind);c=c[0];b.$watch(e.ngBind,function(a){c.textContent=w(a)?"":a})}}}}],xe=["$interpolate","$compile",function(a,b){return{compile:function(d){b.$$addBindingClass(d);return function(c,d,f){c=a(d.attr(f.$attr.ngBindTemplate));b.$$addBindingInfo(d,c.expressions);d=d[0];f.$observe("ngBindTemplate",function(a){d.textContent=w(a)?"":a})}}}}],we=["$sce","$parse","$compile",function(a,b,d){return{restrict:"A",compile:function(c,e){var f=b(e.ngBindHtml),g= +b(e.ngBindHtml,function(b){return a.valueOf(b)});d.$$addBindingClass(c);return function(b,c,e){d.$$addBindingInfo(c,e.ngBindHtml);b.$watch(g,function(){var d=f(b);c.html(a.getTrustedHtml(d)||"")})}}}}],Ue=da({restrict:"A",require:"ngModel",link:function(a,b,d,c){c.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),ye=qc("",!0),Ae=qc("Odd",0),ze=qc("Even",1),Be=Ma({compile:function(a,b){b.$set("ngCloak",void 0);a.removeClass("ng-cloak")}}),Ce=[function(){return{restrict:"A",scope:!0,controller:"@", +priority:500}}],Lc={},Og={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var b=xa("ng-"+a);Lc[b]=["$parse","$rootScope",function(d,c){return{restrict:"A",compile:function(e,f){var g=d(f[b],null,!0);return function(b,d){d.on(a,function(d){var e=function(){g(b,{$event:d})};Og[a]&&c.$$phase?b.$evalAsync(e):b.$apply(e)})}}}}]});var Fe=["$animate","$compile",function(a, +b){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(d,c,e,f,g){var h,k,l;d.$watch(e.ngIf,function(d){d?k||g(function(d,f){k=f;d[d.length++]=b.$$createComment("end ngIf",e.ngIf);h={clone:d};a.enter(d,c.parent(),c)}):(l&&(l.remove(),l=null),k&&(k.$destroy(),k=null),h&&(l=tb(h.clone),a.leave(l).then(function(){l=null}),h=null))})}}}],Ge=["$templateRequest","$anchorScroll","$animate",function(a,b,d){return{restrict:"ECA",priority:400,terminal:!0, +transclude:"element",controller:ea.noop,compile:function(c,e){var f=e.ngInclude||e.src,g=e.onload||"",h=e.autoscroll;return function(c,e,m,n,p){var s=0,r,t,q,w=function(){t&&(t.remove(),t=null);r&&(r.$destroy(),r=null);q&&(d.leave(q).then(function(){t=null}),t=q,q=null)};c.$watch(f,function(f){var m=function(){!x(h)||h&&!c.$eval(h)||b()},t=++s;f?(a(f,!0).then(function(a){if(!c.$$destroyed&&t===s){var b=c.$new();n.template=a;a=p(b,function(a){w();d.enter(a,null,e).then(m)});r=b;q=a;r.$emit("$includeContentLoaded", +f);c.$eval(g)}},function(){c.$$destroyed||t!==s||(w(),c.$emit("$includeContentError",f))}),c.$emit("$includeContentRequested",f)):(w(),n.template=null)})}}}}],Xe=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(b,d,c,e){ka.call(d[0]).match(/SVG/)?(d.empty(),a(Oc(e.template,E.document).childNodes)(b,function(a){d.append(a)},{futureParentElement:d})):(d.html(e.template),a(d.contents())(b))}}}],He=Ma({priority:450,compile:function(){return{pre:function(a, +b,d){a.$eval(d.ngInit)}}}}),Te=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(a,b,d,c){var e=b.attr(d.$attr.ngList)||", ",f="false"!==d.ngTrim,g=f?W(e):e;c.$parsers.push(function(a){if(!w(a)){var b=[];a&&r(a.split(g),function(a){a&&b.push(f?W(a):a)});return b}});c.$formatters.push(function(a){if(J(a))return a.join(e)});c.$isEmpty=function(a){return!a||!a.length}}}},ob="ng-valid",Pd="ng-invalid",Va="ng-pristine",Mb="ng-dirty",Rd="ng-pending",nb=O("ngModel"),Pg=["$scope", +"$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,b,d,c,e,f,g,h,k,l){this.$modelValue=this.$viewValue=Number.NaN;this.$$rawModelValue=void 0;this.$validators={};this.$asyncValidators={};this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$untouched=!0;this.$touched=!1;this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$error={};this.$$success={};this.$pending=void 0;this.$name=l(d.name||"",!1)(a); +this.$$parentForm=Lb;var m=e(d.ngModel),n=m.assign,p=m,s=n,t=null,I,q=this;this.$$setOptions=function(a){if((q.$options=a)&&a.getterSetter){var b=e(d.ngModel+"()"),f=e(d.ngModel+"($$$p)");p=function(a){var c=m(a);z(c)&&(c=b(a));return c};s=function(a,b){z(m(a))?f(a,{$$$p:b}):n(a,b)}}else if(!m.assign)throw nb("nonassign",d.ngModel,va(c));};this.$render=A;this.$isEmpty=function(a){return w(a)||""===a||null===a||a!==a};this.$$updateEmptyClasses=function(a){q.$isEmpty(a)?(f.removeClass(c,"ng-not-empty"), +f.addClass(c,"ng-empty")):(f.removeClass(c,"ng-empty"),f.addClass(c,"ng-not-empty"))};var K=0;Ld({ctrl:this,$element:c,set:function(a,b){a[b]=!0},unset:function(a,b){delete a[b]},$animate:f});this.$setPristine=function(){q.$dirty=!1;q.$pristine=!0;f.removeClass(c,Mb);f.addClass(c,Va)};this.$setDirty=function(){q.$dirty=!0;q.$pristine=!1;f.removeClass(c,Va);f.addClass(c,Mb);q.$$parentForm.$setDirty()};this.$setUntouched=function(){q.$touched=!1;q.$untouched=!0;f.setClass(c,"ng-untouched","ng-touched")}; +this.$setTouched=function(){q.$touched=!0;q.$untouched=!1;f.setClass(c,"ng-touched","ng-untouched")};this.$rollbackViewValue=function(){g.cancel(t);q.$viewValue=q.$$lastCommittedViewValue;q.$render()};this.$validate=function(){if(!S(q.$modelValue)||!isNaN(q.$modelValue)){var a=q.$$rawModelValue,b=q.$valid,c=q.$modelValue,d=q.$options&&q.$options.allowInvalid;q.$$runValidators(a,q.$$lastCommittedViewValue,function(e){d||b===e||(q.$modelValue=e?a:void 0,q.$modelValue!==c&&q.$$writeModelToScope())})}}; +this.$$runValidators=function(a,b,c){function d(){var c=!0;r(q.$validators,function(d,e){var g=d(a,b);c=c&&g;f(e,g)});return c?!0:(r(q.$asyncValidators,function(a,b){f(b,null)}),!1)}function e(){var c=[],d=!0;r(q.$asyncValidators,function(e,g){var h=e(a,b);if(!h||!z(h.then))throw nb("nopromise",h);f(g,void 0);c.push(h.then(function(){f(g,!0)},function(){d=!1;f(g,!1)}))});c.length?k.all(c).then(function(){g(d)},A):g(!0)}function f(a,b){h===K&&q.$setValidity(a,b)}function g(a){h===K&&c(a)}K++;var h= +K;(function(){var a=q.$$parserName||"parse";if(w(I))f(a,null);else return I||(r(q.$validators,function(a,b){f(b,null)}),r(q.$asyncValidators,function(a,b){f(b,null)})),f(a,I),I;return!0})()?d()?e():g(!1):g(!1)};this.$commitViewValue=function(){var a=q.$viewValue;g.cancel(t);if(q.$$lastCommittedViewValue!==a||""===a&&q.$$hasNativeValidators)q.$$updateEmptyClasses(a),q.$$lastCommittedViewValue=a,q.$pristine&&this.$setDirty(),this.$$parseAndValidate()};this.$$parseAndValidate=function(){var b=q.$$lastCommittedViewValue; +if(I=w(b)?void 0:!0)for(var c=0;ce||c.$isEmpty(b)||b.length<=e}}}}},Jc=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,d,c){if(c){var e=0;d.$observe("minlength",function(a){e=aa(a)||0;c.$validate()});c.$validators.minlength=function(a,b){return c.$isEmpty(b)||b.length>=e}}}}};E.angular.bootstrap?E.console&&console.log("WARNING: Tried to load angular more than once."):(ke(),me(ea),ea.module("ngLocale",[],["$provide",function(a){function b(a){a+= +"";var b=a.indexOf(".");return-1==b?0:a.length-b-1}a.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "), +WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\u00a4",negSuf:"",posPre:"\u00a4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(a, +c){var e=a|0,f=c;void 0===f&&(f=Math.min(b(a),3));Math.pow(10,f);return 1==e&&0==f?"one":"other"}})}]),B(E.document).ready(function(){ge(E.document,Bc)}))})(window);!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''); +//# sourceMappingURL=angular.min.js.map