{"size": 121996, "ext": "js", "max_stars_repo_path": "static/vendor.min.js", "max_stars_repo_name": "Mytho/groceries", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "static/vendor.min.js", "max_issues_repo_name": "Mytho/groceries", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "static/vendor.min.js", "max_forks_repo_name": "Mytho/groceries", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30499.0, "max_line_length": 32053, "alphanum_fraction": 0.6331273156}
!function(a,b,c){"use strict";function d(a){return function(){var b,c=arguments[0],c="["+(a?a+":":"")+c+"] http://errors.angularjs.org/1.2.18/"+(a?a+"/":"")+c;for(b=1;b<arguments.length;b++)c=c+(1==b?"?":"&")+"p"+(b-1)+"="+encodeURIComponent("function"==typeof arguments[b]?arguments[b].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[b]?"undefined":"string"!=typeof arguments[b]?JSON.stringify(arguments[b]):arguments[b]);return Error(c)}}function e(a){if(null==a||z(a))return!1;var b=a.length;return 1===a.nodeType&&b?!0:u(a)||ed(a)||0===b||"number"==typeof b&&b>0&&b-1 in a}function f(a,b,c){var d;if(a)if(x(a))for(d in a)"prototype"==d||"length"==d||"name"==d||a.hasOwnProperty&&!a.hasOwnProperty(d)||b.call(c,a[d],d);else if(a.forEach&&a.forEach!==f)a.forEach(b,c);else if(e(a))for(d=0;d<a.length;d++)b.call(c,a[d],d);else for(d in a)a.hasOwnProperty(d)&&b.call(c,a[d],d);return a}function g(a){var b,c=[];for(b in a)a.hasOwnProperty(b)&&c.push(b);return c.sort()}function h(a,b,c){for(var d=g(a),e=0;e<d.length;e++)b.call(c,a[d[e]],d[e]);return d}function i(a){return function(b,c){a(c,b)}}function j(){for(var a,b=dd.length;b;){if(b--,a=dd[b].charCodeAt(0),57==a)return dd[b]="A",dd.join("");if(90!=a)return dd[b]=String.fromCharCode(a+1),dd.join("");dd[b]="0"}return dd.unshift("0"),dd.join("")}function k(a,b){b?a.$$hashKey=b:delete a.$$hashKey}function l(a){var b=a.$$hashKey;return f(arguments,function(b){b!==a&&f(b,function(b,c){a[c]=b})}),k(a,b),a}function m(a){return parseInt(a,10)}function n(a,b){return l(new(l(function(){},{prototype:a})),b)}function o(){}function p(a){return a}function q(a){return function(){return a}}function r(a){return"undefined"==typeof a}function s(a){return"undefined"!=typeof a}function t(a){return null!=a&&"object"==typeof a}function u(a){return"string"==typeof a}function v(a){return"number"==typeof a}function w(a){return"[object Date]"===ad.call(a)}function x(a){return"function"==typeof a}function y(a){return"[object RegExp]"===ad.call(a)}function z(a){return a&&a.document&&a.location&&a.alert&&a.setInterval}function A(a){return!(!a||!(a.nodeName||a.prop&&a.attr&&a.find))}function B(a,b,c){var d=[];return f(a,function(a,e,f){d.push(b.call(c,a,e,f))}),d}function C(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0;c<a.length;c++)if(b===a[c])return c;return-1}function D(a,b){var c=C(a,b);return c>=0&&a.splice(c,1),b}function E(a,b,c,d){if(z(a)||a&&a.$evalAsync&&a.$watch)throw bd("cpws");if(b){if(a===b)throw bd("cpi");if(c=c||[],d=d||[],t(a)){var e=C(c,a);if(-1!==e)return d[e];c.push(a),d.push(b)}if(ed(a))for(var g=b.length=0;g<a.length;g++)e=E(a[g],null,c,d),t(a[g])&&(c.push(a[g]),d.push(e)),b.push(e);else{var h=b.$$hashKey;f(b,function(a,c){delete b[c]});for(g in a)e=E(a[g],null,c,d),t(a[g])&&(c.push(a[g]),d.push(e)),b[g]=e;k(b,h)}}else(b=a)&&(ed(a)?b=E(a,[],c,d):w(a)?b=new Date(a.getTime()):y(a)?b=RegExp(a.source):t(a)&&(b=E(a,{},c,d)));return b}function F(a,b){if(ed(a)){b=b||[];for(var c=0;c<a.length;c++)b[c]=a[c]}else if(t(a))for(c in b=b||{},a)!Yc.call(a,c)||"$"===c.charAt(0)&&"$"===c.charAt(1)||(b[c]=a[c]);return b||a}function G(a,b){if(a===b)return!0;if(null===a||null===b)return!1;if(a!==a&&b!==b)return!0;var d,e=typeof a;if(e==typeof b&&"object"==e){if(!ed(a)){if(w(a))return w(b)&&a.getTime()==b.getTime();if(y(a)&&y(b))return a.toString()==b.toString();if(a&&a.$evalAsync&&a.$watch||b&&b.$evalAsync&&b.$watch||z(a)||z(b)||ed(b))return!1;e={};for(d in a)if("$"!==d.charAt(0)&&!x(a[d])){if(!G(a[d],b[d]))return!1;e[d]=!0}for(d in b)if(!e.hasOwnProperty(d)&&"$"!==d.charAt(0)&&b[d]!==c&&!x(b[d]))return!1;return!0}if(!ed(b))return!1;if((e=a.length)==b.length){for(d=0;e>d;d++)if(!G(a[d],b[d]))return!1;return!0}}return!1}function H(){return b.securityPolicy&&b.securityPolicy.isActive||b.querySelector&&!(!b.querySelector("[ng-csp]")&&!b.querySelector("[data-ng-csp]"))}function I(a,b){var c=2<arguments.length?$c.call(arguments,2):[];return!x(b)||b instanceof RegExp?b:c.length?function(){return arguments.length?b.apply(a,c.concat($c.call(arguments,0))):b.apply(a,c)}:function(){return arguments.length?b.apply(a,arguments):b.call(a)}}function J(a,d){var e=d;return"string"==typeof a&&"$"===a.charAt(0)?e=c:z(d)?e="$WINDOW":d&&b===d?e="$DOCUMENT":d&&d.$evalAsync&&d.$watch&&(e="$SCOPE"),e}function K(a,b){return"undefined"==typeof a?c:JSON.stringify(a,J,b?"  ":null)}function L(a){return u(a)?JSON.parse(a):a}function M(a){return"function"==typeof a?a=!0:a&&0!==a.length?(a=Xc(""+a),a=!("f"==a||"0"==a||"false"==a||"no"==a||"n"==a||"[]"==a)):a=!1,a}function N(a){a=Tc(a).clone();try{a.empty()}catch(b){}var c=Tc("<div>").append(a).html();try{return 3===a[0].nodeType?Xc(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+Xc(b)})}catch(d){return Xc(c)}}function O(a){try{return decodeURIComponent(a)}catch(b){}}function P(a){var b,c,d={};return f((a||"").split("&"),function(a){a&&(b=a.split("="),c=O(b[0]),s(c)&&(a=s(b[1])?O(b[1]):!0,d[c]?ed(d[c])?d[c].push(a):d[c]=[d[c],a]:d[c]=a))}),d}function Q(a){var b=[];return f(a,function(a,c){ed(a)?f(a,function(a){b.push(S(c,!0)+(!0===a?"":"="+S(a,!0)))}):b.push(S(c,!0)+(!0===a?"":"="+S(a,!0)))}),b.length?b.join("&"):""}function R(a){return S(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function S(a,b){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,b?"%20":"+")}function T(a,c){function d(a){a&&h.push(a)}var e,g,h=[a],i=["ng:app","ng-app","x-ng-app","data-ng-app"],j=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;f(i,function(c){i[c]=!0,d(b.getElementById(c)),c=c.replace(":","\\:"),a.querySelectorAll&&(f(a.querySelectorAll("."+c),d),f(a.querySelectorAll("."+c+"\\:"),d),f(a.querySelectorAll("["+c+"]"),d))}),f(h,function(a){if(!e){var b=j.exec(" "+a.className+" ");b?(e=a,g=(b[2]||"").replace(/\s+/g,",")):f(a.attributes,function(b){!e&&i[b.name]&&(e=a,g=b.value)})}}),e&&c(e,g?[g]:[])}function U(c,d){var e=function(){if(c=Tc(c),c.injector()){var a=c[0]===b?"document":N(c);throw bd("btstrpd",a)}return d=d||[],d.unshift(["$provide",function(a){a.value("$rootElement",c)}]),d.unshift("ng"),a=wb(d),a.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(a,b,c,d){a.$apply(function(){b.data("$injector",d),c(b)(a)})}]),a},g=/^NG_DEFER_BOOTSTRAP!/;return a&&!g.test(a.name)?e():(a.name=a.name.replace(g,""),void(cd.resumeBootstrap=function(a){f(a,function(a){d.push(a)}),e()}))}function V(a,b){return b=b||"_",a.replace(gd,function(a,c){return(c?b:"")+a.toLowerCase()})}function W(a,b,c){if(!a)throw bd("areq",b||"?",c||"required");return a}function X(a,b,c){return c&&ed(a)&&(a=a[a.length-1]),W(x(a),b,"not a function, got "+(a&&"object"==typeof a?a.constructor.name||"Object":typeof a)),a}function Y(a,b){if("hasOwnProperty"===a)throw bd("badname",b)}function Z(a,b,c){if(!b)return a;b=b.split(".");for(var d,e=a,f=b.length,g=0;f>g;g++)d=b[g],a&&(a=(e=a)[d]);return!c&&x(a)?I(e,a):a}function $(a){var b=a[0];if(a=a[a.length-1],b===a)return Tc(b);var c=[b];do{if(b=b.nextSibling,!b)break;c.push(b)}while(b!==a);return Tc(c)}function _(a){var b=d("$injector"),c=d("ng");return a=a.angular||(a.angular={}),a.$$minErr=a.$$minErr||d,a.module||(a.module=function(){var a={};return function(d,e,f){if("hasOwnProperty"===d)throw c("badname","module");return e&&a.hasOwnProperty(d)&&(a[d]=null),a[d]||(a[d]=function(){function a(a,b,d){return function(){return c[d||"push"]([a,b,arguments]),i}}if(!e)throw b("nomod",d);var c=[],g=[],h=a("$injector","invoke"),i={_invokeQueue:c,_runBlocks:g,requires:e,name:d,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:h,run:function(a){return g.push(a),this}};return f&&h(f),i}())}}())}function ab(b){l(b,{bootstrap:U,copy:E,extend:l,equals:G,element:Tc,forEach:f,injector:wb,noop:o,bind:I,toJson:K,fromJson:L,identity:p,isUndefined:r,isDefined:s,isString:u,isFunction:x,isObject:t,isNumber:v,isElement:A,isArray:ed,version:hd,isDate:w,lowercase:Xc,uppercase:Zc,callbacks:{counter:0},$$minErr:d,$$csp:H}),Vc=_(a);try{Vc("ngLocale")}catch(c){Vc("ngLocale",[]).provider("$locale",Sb)}Vc("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:qc}),a.provider("$compile",Db).directive({a:be,input:le,textarea:le,form:fe,script:Ue,select:Xe,style:Ze,option:Ye,ngBind:xe,ngBindHtml:ze,ngBindTemplate:ye,ngClass:Ae,ngClassEven:Ce,ngClassOdd:Be,ngCloak:De,ngController:Ee,ngForm:ge,ngHide:Oe,ngIf:Ge,ngInclude:He,ngInit:Je,ngNonBindable:Ke,ngPluralize:Le,ngRepeat:Me,ngShow:Ne,ngStyle:Pe,ngSwitch:Qe,ngSwitchWhen:Re,ngSwitchDefault:Se,ngOptions:We,ngTransclude:Te,ngModel:re,ngList:ue,ngChange:se,required:te,ngRequired:te,ngValue:we}).directive({ngInclude:Ie}).directive(ce).directive(Fe),a.provider({$anchorScroll:xb,$animate:Ed,$browser:Ab,$cacheFactory:Bb,$controller:Gb,$document:Hb,$exceptionHandler:Ib,$filter:Ac,$interpolate:Qb,$interval:Rb,$http:Mb,$httpBackend:Ob,$location:cc,$log:dc,$parse:lc,$rootScope:pc,$q:mc,$sce:uc,$sceDelegate:tc,$sniffer:vc,$templateCache:Cb,$timeout:wc,$window:zc,$$rAF:oc,$$asyncCallback:yb})}])}function bb(a){return a.replace(nd,function(a,b,c,d){return d?c.toUpperCase():c}).replace(od,"Moz$1")}function cb(a,b,c,d){function e(a){var e,g,h,i,j,k,l=c&&a?[this.filter(a)]:[this],m=b;if(!d||null!=a)for(;l.length;)for(e=l.shift(),g=0,h=e.length;h>g;g++)for(i=Tc(e[g]),m?i.triggerHandler("$destroy"):m=!m,j=0,i=(k=i.children()).length;i>j;j++)l.push(Uc(k[j]));return f.apply(this,arguments)}var f=Uc.fn[a],f=f.$original||f;e.$original=f,Uc.fn[a]=e}function db(a){if(a instanceof db)return a;if(u(a)&&(a=fd(a)),!(this instanceof db)){if(u(a)&&"<"!=a.charAt(0))throw pd("nosel");return new db(a)}if(u(a)){var c=a;a=b;var d;if(d=qd.exec(c))a=[a.createElement(d[1])];else{var e,f=a;if(a=f.createDocumentFragment(),d=[],rd.test(c)){for(f=a.appendChild(f.createElement("div")),e=(sd.exec(c)||["",""])[1].toLowerCase(),e=ud[e]||ud._default,f.innerHTML="<div>&#160;</div>"+e[1]+c.replace(td,"<$1></$2>")+e[2],f.removeChild(f.firstChild),c=e[0];c--;)f=f.lastChild;for(c=0,e=f.childNodes.length;e>c;++c)d.push(f.childNodes[c]);f=a.firstChild,f.textContent=""}else d.push(f.createTextNode(c));a.textContent="",a.innerHTML="",a=d}nb(this,a),Tc(b.createDocumentFragment()).append(this)}else nb(this,a)}function eb(a){return a.cloneNode(!0)}function fb(a){hb(a);var b=0;for(a=a.childNodes||[];b<a.length;b++)fb(a[b])}function gb(a,b,c,d){if(s(d))throw pd("offargs");var e=ib(a,"events");ib(a,"handle")&&(r(b)?f(e,function(b,c){md(a,c,b),delete e[c]}):f(b.split(" "),function(b){r(c)?(md(a,b,e[b]),delete e[b]):D(e[b]||[],c)}))}function hb(a,b){var d=a[jd],e=id[d];e&&(b?delete id[d].data[b]:(e.handle&&(e.events.$destroy&&e.handle({},"$destroy"),gb(a)),delete id[d],a[jd]=c))}function ib(a,b,c){var d=a[jd],d=id[d||-1];return s(c)?(d||(a[jd]=d=++kd,d=id[d]={}),void(d[b]=c)):d&&d[b]}function jb(a,b,c){var d=ib(a,"data"),e=s(c),f=!e&&s(b),g=f&&!t(b);if(d||g||ib(a,"data",d={}),e)d[b]=c;else{if(!f)return d;if(g)return d&&d[b];l(d,b)}}function kb(a,b){return a.getAttribute?-1<(" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+b+" "):!1}function lb(a,b){b&&a.setAttribute&&f(b.split(" "),function(b){a.setAttribute("class",fd((" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fd(b)+" "," ")))})}function mb(a,b){if(b&&a.setAttribute){var c=(" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");f(b.split(" "),function(a){a=fd(a),-1===c.indexOf(" "+a+" ")&&(c+=a+" ")}),a.setAttribute("class",fd(c))}}function nb(a,b){if(b){b=b.nodeName||!s(b.length)||z(b)?[b]:b;for(var c=0;c<b.length;c++)a.push(b[c])}}function ob(a,b){return pb(a,"$"+(b||"ngController")+"Controller")}function pb(a,b,d){for(a=Tc(a),9==a[0].nodeType&&(a=a.find("html")),b=ed(b)?b:[b];a.length;){for(var e=a[0],f=0,g=b.length;g>f;f++)if((d=a.data(b[f]))!==c)return d;a=Tc(e.parentNode||11===e.nodeType&&e.host)}}function qb(a){for(var b=0,c=a.childNodes;b<c.length;b++)fb(c[b]);for(;a.firstChild;)a.removeChild(a.firstChild)}function rb(a,b){var c=wd[b.toLowerCase()];return c&&xd[a.nodeName]&&c}function sb(a,c){var d=function(d,e){if(d.preventDefault||(d.preventDefault=function(){d.returnValue=!1}),d.stopPropagation||(d.stopPropagation=function(){d.cancelBubble=!0}),d.target||(d.target=d.srcElement||b),r(d.defaultPrevented)){var g=d.preventDefault;d.preventDefault=function(){d.defaultPrevented=!0,g.call(d)},d.defaultPrevented=!1}d.isDefaultPrevented=function(){return d.defaultPrevented||!1===d.returnValue};var h=F(c[e||d.type]||[]);f(h,function(b){b.call(a,d)}),8>=Sc?(d.preventDefault=null,d.stopPropagation=null,d.isDefaultPrevented=null):(delete d.preventDefault,delete d.stopPropagation,delete d.isDefaultPrevented)};return d.elem=a,d}function tb(a){var b,d=typeof a;return"object"==d&&null!==a?"function"==typeof(b=a.$$hashKey)?b=a.$$hashKey():b===c&&(b=a.$$hashKey=j()):b=a,d+":"+b}function ub(a){f(a,this.put,this)}function vb(a){var b,c;return"function"==typeof a?(b=a.$inject)||(b=[],a.length&&(c=a.toString().replace(Bd,""),c=c.match(yd),f(c[1].split(zd),function(a){a.replace(Ad,function(a,c,d){b.push(d)})})),a.$inject=b):ed(a)?(c=a.length-1,X(a[c],"fn"),b=a.slice(0,c)):X(a,"fn",!0),b}function wb(a){function b(a){return function(b,c){return t(b)?void f(b,i(a)):a(b,c)}}function c(a,b){if(Y(a,"service"),(x(b)||ed(b))&&(b=n.instantiate(b)),!b.$get)throw Cd("pget",a);return m[a+j]=b}function d(a,b){return c(a,{$get:b})}function e(a){var b,c,d,g,h=[];return f(a,function(a){if(!l.get(a)){l.put(a,!0);try{if(u(a))for(b=Vc(a),h=h.concat(e(b.requires)).concat(b._runBlocks),c=b._invokeQueue,d=0,g=c.length;g>d;d++){var f=c[d],i=n.get(f[0]);i[f[1]].apply(i,f[2])}else x(a)?h.push(n.invoke(a)):ed(a)?h.push(n.invoke(a)):X(a,"module")}catch(j){throw ed(a)&&(a=a[a.length-1]),j.message&&j.stack&&-1==j.stack.indexOf(j.message)&&(j=j.message+"\n"+j.stack),Cd("modulerr",a,j.stack||j.message||j)}}}),h}function g(a,b){function c(c){if(a.hasOwnProperty(c)){if(a[c]===h)throw Cd("cdep",c+" <- "+k.join(" <- "));return a[c]}try{return k.unshift(c),a[c]=h,a[c]=b(c)}catch(d){throw a[c]===h&&delete a[c],d}finally{k.shift()}}function d(a,b,d){var e,f,g,h=[],i=vb(a);for(f=0,e=i.length;e>f;f++){if(g=i[f],"string"!=typeof g)throw Cd("itkn",g);h.push(d&&d.hasOwnProperty(g)?d[g]:c(g))}return a.$inject||(a=a[e]),a.apply(b,h)}return{invoke:d,instantiate:function(a,b){var c,e=function(){};return e.prototype=(ed(a)?a[a.length-1]:a).prototype,e=new e,c=d(a,e,b),t(c)||x(c)?c:e},get:c,annotate:vb,has:function(b){return m.hasOwnProperty(b+j)||a.hasOwnProperty(b)}}}var h={},j="Provider",k=[],l=new ub,m={$provide:{provider:b(c),factory:b(d),service:b(function(a,b){return d(a,["$injector",function(a){return a.instantiate(b)}])}),value:b(function(a,b){return d(a,q(b))}),constant:b(function(a,b){Y(a,"constant"),m[a]=b,p[a]=b}),decorator:function(a,b){var c=n.get(a+j),d=c.$get;c.$get=function(){var a=r.invoke(d,c);return r.invoke(b,null,{$delegate:a})}}}},n=m.$injector=g(m,function(){throw Cd("unpr",k.join(" <- "))}),p={},r=p.$injector=g(p,function(a){return a=n.get(a+j),r.invoke(a.$get,a)});return f(e(a),function(a){r.invoke(a||o)}),r}function xb(){var a=!0;this.disableAutoScrolling=function(){a=!1},this.$get=["$window","$location","$rootScope",function(b,c,d){function e(a){var b=null;return f(a,function(a){b||"a"!==Xc(a.nodeName)||(b=a)}),b}function g(){var a,d=c.hash();d?(a=h.getElementById(d))?a.scrollIntoView():(a=e(h.getElementsByName(d)))?a.scrollIntoView():"top"===d&&b.scrollTo(0,0):b.scrollTo(0,0)}var h=b.document;return a&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)}),g}]}function yb(){this.$get=["$$rAF","$timeout",function(a,b){return a.supported?function(b){return a(b)}:function(a){return b(a,0,!1)}}]}function zb(a,b,d,e){function g(a){try{a.apply(null,$c.call(arguments,1))}finally{if(s--,0===s)for(;t.length;)try{t.pop()()}catch(b){d.error(b)}}}function h(a,b){!function c(){f(w,function(a){a()}),v=b(c,a)}()}function i(){z=null,x!=j.url()&&(x=j.url(),f(A,function(a){a(j.url())}))}var j=this,k=b[0],l=a.location,m=a.history,n=a.setTimeout,p=a.clearTimeout,q={};j.isMock=!1;var s=0,t=[];j.$$completeOutstandingRequest=g,j.$$incOutstandingRequestCount=function(){s++},j.notifyWhenNoOutstandingRequests=function(a){f(w,function(a){a()}),0===s?a():t.push(a)};var v,w=[];j.addPollFn=function(a){return r(v)&&h(100,n),w.push(a),a};var x=l.href,y=b.find("base"),z=null;j.url=function(b,c){return l!==a.location&&(l=a.location),m!==a.history&&(m=a.history),b?x!=b?(x=b,e.history?c?m.replaceState(null,"",b):(m.pushState(null,"",b),y.attr("href",y.attr("href"))):(z=b,c?l.replace(b):l.href=b),j):void 0:z||l.href.replace(/%27/g,"'")};var A=[],B=!1;j.onUrlChange=function(b){return B||(e.history&&Tc(a).on("popstate",i),e.hashchange?Tc(a).on("hashchange",i):j.addPollFn(i),B=!0),A.push(b),b},j.baseHref=function(){var a=y.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var C={},D="",E=j.baseHref();j.cookies=function(a,b){var e,f,g,h;if(!a){if(k.cookie!==D)for(D=k.cookie,e=D.split("; "),C={},g=0;g<e.length;g++)f=e[g],h=f.indexOf("="),h>0&&(a=unescape(f.substring(0,h)),C[a]===c&&(C[a]=unescape(f.substring(h+1))));return C}b===c?k.cookie=escape(a)+"=;path="+E+";expires=Thu, 01 Jan 1970 00:00:00 GMT":u(b)&&(e=(k.cookie=escape(a)+"="+escape(b)+";path="+E).length+1,e>4096&&d.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+e+" > 4096 bytes)!"))},j.defer=function(a,b){var c;return s++,c=n(function(){delete q[c],g(a)},b||0),q[c]=!0,c},j.defer.cancel=function(a){return q[a]?(delete q[a],p(a),g(o),!0):!1}}function Ab(){this.$get=["$window","$log","$sniffer","$document",function(a,b,c,d){return new zb(a,d,b,c)}]}function Bb(){this.$get=function(){function a(a,c){function e(a){a!=m&&(n?n==a&&(n=a.n):n=a,f(a.n,a.p),f(a,m),m=a,m.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(a in b)throw d("$cacheFactory")("iid",a);var g=0,h=l({},c,{id:a}),i={},j=c&&c.capacity||Number.MAX_VALUE,k={},m=null,n=null;return b[a]={put:function(a,b){if(j<Number.MAX_VALUE){var c=k[a]||(k[a]={key:a});e(c)}return r(b)?void 0:(a in i||g++,i[a]=b,g>j&&this.remove(n.key),b)},get:function(a){if(j<Number.MAX_VALUE){var b=k[a];if(!b)return;e(b)}return i[a]},remove:function(a){if(j<Number.MAX_VALUE){var b=k[a];if(!b)return;b==m&&(m=b.p),b==n&&(n=b.n),f(b.n,b.p),delete k[a]}delete i[a],g--},removeAll:function(){i={},g=0,k={},m=n=null},destroy:function(){k=h=i=null,delete b[a]},info:function(){return l({},h,{size:g})}}}var b={};return a.info=function(){var a={};return f(b,function(b,c){a[c]=b.info()}),a},a.get=function(a){return b[a]},a}}function Cb(){this.$get=["$cacheFactory",function(a){return a("templates")}]}function Db(a,d){var e={},g="Directive",h=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,j=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,k=/^(on[a-z]+|formaction)$/;this.directive=function m(b,c){return Y(b,"directive"),u(b)?(W(c,"directiveFactory"),e.hasOwnProperty(b)||(e[b]=[],a.factory(b+g,["$injector","$exceptionHandler",function(a,c){var d=[];return f(e[b],function(e,f){try{var g=a.invoke(e);x(g)?g={compile:q(g)}:!g.compile&&g.link&&(g.compile=q(g.link)),g.priority=g.priority||0,g.index=f,g.name=g.name||b,g.require=g.require||g.controller&&g.name,g.restrict=g.restrict||"A",d.push(g)}catch(h){c(h)}}),d}])),e[b].push(c)):f(b,i(m)),this},this.aHrefSanitizationWhitelist=function(a){return s(a)?(d.aHrefSanitizationWhitelist(a),this):d.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(a){return s(a)?(d.imgSrcSanitizationWhitelist(a),this):d.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(a,d,i,m,o,q,r,s,v,w,y,z){function A(a,b,c,d,e){a instanceof Tc||(a=Tc(a)),f(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=Tc(b).wrap("<span></span>").parent()[0])});var g=C(a,b,a,c,d,e);return B(a,"ng-scope"),function(b,c,d,e){W(b,"scope");var h=c?vd.clone.call(a):a;f(d,function(a,b){h.data("$"+b+"Controller",a)}),d=0;for(var i=h.length;i>d;d++){var j=h[d].nodeType;1!==j&&9!==j||h.eq(d).data("$scope",b)}return c&&c(h,b),g&&g(b,h,h,e),h}}function B(a,b){try{a.addClass(b)}catch(c){}}function C(a,b,d,e,f,g){function h(a,d,e,f){var g,h,i,j,k,l,n;g=d.length;var o=Array(g);for(k=0;g>k;k++)o[k]=d[k];for(n=k=0,l=m.length;l>k;n++)h=o[n],d=m[k++],g=m[k++],i=Tc(h),d?(d.scope?(j=a.$new(),i.data("$scope",j)):j=a,i=d.transcludeOnThisElement?D(a,d.transclude,f):!d.templateOnThisElement&&f?f:!f&&b?D(a,b):null,d(g,j,h,e,i)):g&&g(a,h.childNodes,c,f)}for(var i,j,k,l,m=[],n=0;n<a.length;n++)i=new Y,j=E(a[n],[],i,0===n?e:c,f),(g=j.length?J(j,a[n],i,b,d,null,[],[],g):null)&&g.scope&&B(Tc(a[n]),"ng-scope"),i=g&&g.terminal||!(k=a[n].childNodes)||!k.length?null:C(k,g?(g.transcludeOnThisElement||!g.templateOnThisElement)&&g.transclude:b),m.push(g,i),l=l||g||i,g=null;return l?h:null}function D(a,b,c){return function(d,e,f){var g=!1;return d||(d=a.$new(),g=d.$$transcluded=!0),e=b(d,e,f,c),g&&e.on("$destroy",function(){d.$destroy()}),e}}function E(a,b,c,d,e){var f,g=c.$attr;switch(a.nodeType){case 1:L(b,Eb(Wc(a).toLowerCase()),"E",d,e);var i,k,l;f=a.attributes;for(var m=0,n=f&&f.length;n>m;m++){var o=!1,p=!1;if(i=f[m],!Sc||Sc>=8||i.specified){k=i.name,l=Eb(k),ab.test(l)&&(k=V(l.substr(6),"-"));var q=l.replace(/(Start|End)$/,"");l===q+"Start"&&(o=k,p=k.substr(0,k.length-5)+"end",k=k.substr(0,k.length-6)),l=Eb(k.toLowerCase()),g[l]=k,c[l]=i=fd(i.value),rb(a,l)&&(c[l]=!0),T(a,b,i,l),L(b,l,"A",d,e,o,p)}}if(a=a.className,u(a)&&""!==a)for(;f=j.exec(a);)l=Eb(f[2]),L(b,l,"C",d,e)&&(c[l]=fd(f[3])),a=a.substr(f.index+f[0].length);break;case 3:R(b,a.nodeValue);break;case 8:try{(f=h.exec(a.nodeValue))&&(l=Eb(f[1]),L(b,l,"M",d,e)&&(c[l]=fd(f[2])))}catch(r){}}return b.sort(P),b}function H(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw Fd("uterdir",b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--),d.push(a),a=a.nextSibling}while(e>0)}else d.push(a);return Tc(d)}function I(a,b,c){return function(d,e,f,g,h){return e=H(e[0],b,c),a(d,e,f,g,h)}}function J(a,e,g,h,j,k,l,m,n){function o(a,b,c,d){a&&(c&&(a=I(a,c,d)),a.require=w.require,a.directiveName=y,(L===w||w.$$isolateScope)&&(a=X(a,{isolateScope:!0})),l.push(a)),b&&(c&&(b=I(b,c,d)),b.require=w.require,b.directiveName=y,(L===w||w.$$isolateScope)&&(b=X(b,{isolateScope:!0})),m.push(b))}function p(a,b,c,d){var e,g="data",h=!1;if(u(b)){for(;"^"==(e=b.charAt(0))||"?"==e;)b=b.substr(1),"^"==e&&(g="inheritedData"),h=h||"?"==e;if(e=null,d&&"data"===g&&(e=d[b]),e=e||c[g]("$"+b+"Controller"),!e&&!h)throw Fd("ctreq",b,a)}else ed(b)&&(e=[],f(b,function(b){e.push(p(a,b,c,d))}));return e}function s(a,b,h,j,k){function n(a,b){var d;return 2>arguments.length&&(b=a,a=c),V&&(d=y),k(a,b,d)}var o,s,t,u,v,w,x,y={};if(o=e===h?g:F(g,new Y(Tc(h),g.$attr)),s=o.$$element,L){var z=/^\s*([@=&])(\??)\s*(\w*)\s*$/;j=Tc(h),w=b.$new(!0),!P||P!==L&&P!==L.$$originalDirective?j.data("$isolateScopeNoTemplate",w):j.data("$isolateScope",w),B(j,"ng-isolate-scope"),f(L.scope,function(a,c){var e,f,g,h,i=a.match(z)||[],j=i[3]||c,k="?"==i[2],i=i[1];switch(w.$$isolateBindings[c]=i+j,i){case"@":o.$observe(j,function(a){w[c]=a}),o.$$observers[j].$$scope=b,o[j]&&(w[c]=d(o[j])(b));break;case"=":if(k&&!o[j])break;f=q(o[j]),h=f.literal?G:function(a,b){return a===b},g=f.assign||function(){throw e=w[c]=f(b),Fd("nonassign",o[j],L.name)},e=w[c]=f(b),w.$watch(function(){var a=f(b);return h(a,w[c])||(h(a,e)?g(b,a=w[c]):w[c]=a),e=a},null,f.literal);break;case"&":f=q(o[j]),w[c]=function(a){return f(b,a)};break;default:throw Fd("iscp",L.name,c,a)}})}for(x=k&&n,J&&f(J,function(a){var c,d={$scope:a===L||a.$$isolateScope?w:b,$element:s,$attrs:o,$transclude:x};v=a.controller,"@"==v&&(v=o[a.name]),c=r(v,d),y[a.name]=c,V||s.data("$"+a.name+"Controller",c),a.controllerAs&&(d.$scope[a.controllerAs]=c)}),j=0,t=l.length;t>j;j++)try{(u=l[j])(u.isolateScope?w:b,s,o,u.require&&p(u.directiveName,u.require,s,y),x)}catch(A){i(A,N(s))}for(j=b,L&&(L.template||null===L.templateUrl)&&(j=w),a&&a(j,h.childNodes,c,k),j=m.length-1;j>=0;j--)try{(u=m[j])(u.isolateScope?w:b,s,o,u.require&&p(u.directiveName,u.require,s,y),x)}catch(C){i(C,N(s))}}n=n||{};for(var v,w,y,z,C,D=-Number.MAX_VALUE,J=n.controllerDirectives,L=n.newIsolateScopeDirective,P=n.templateDirective,R=n.nonTlbTranscludeDirective,S=!1,T=!1,V=n.hasElementTranscludeDirective,W=g.$$element=Tc(e),Z=h,$=0,ab=a.length;ab>$;$++){w=a[$];var bb=w.$$start,cb=w.$$end;if(bb&&(W=H(e,bb,cb)),z=c,D>w.priority)break;if((z=w.scope)&&(v=v||w,w.templateUrl||(Q("new/isolated scope",L,w,W),t(z)&&(L=w))),y=w.name,!w.templateUrl&&w.controller&&(z=w.controller,J=J||{},Q("'"+y+"' controller",J[y],w,W),J[y]=w),(z=w.transclude)&&(S=!0,w.$$tlb||(Q("transclusion",R,w,W),R=w),"element"==z?(V=!0,D=w.priority,z=H(e,bb,cb),W=g.$$element=Tc(b.createComment(" "+y+": "+g[y]+" ")),e=W[0],U(j,Tc($c.call(z,0)),e),Z=A(z,h,D,k&&k.name,{nonTlbTranscludeDirective:R})):(z=Tc(eb(e)).contents(),W.empty(),Z=A(z,h))),w.template)if(T=!0,Q("template",P,w,W),P=w,z=x(w.template)?w.template(W,g):w.template,z=_(z),w.replace){if(k=w,z=rd.test(z)?Tc(fd(z)):[],e=z[0],1!=z.length||1!==e.nodeType)throw Fd("tplrt",y,"");U(j,W,e),ab={$attr:{}},z=E(e,[],ab);var db=a.splice($+1,a.length-($+1));L&&K(z),a=a.concat(z).concat(db),M(g,ab),ab=a.length}else W.html(z);if(w.templateUrl)T=!0,Q("template",P,w,W),P=w,w.replace&&(k=w),s=O(a.splice($,a.length-$),W,g,j,S&&Z,l,m,{controllerDirectives:J,newIsolateScopeDirective:L,templateDirective:P,nonTlbTranscludeDirective:R}),ab=a.length;else if(w.compile)try{C=w.compile(W,g,Z),x(C)?o(null,C,bb,cb):C&&o(C.pre,C.post,bb,cb)}catch(fb){i(fb,N(W))}w.terminal&&(s.terminal=!0,D=Math.max(D,w.priority))}return s.scope=v&&!0===v.scope,s.transcludeOnThisElement=S,s.templateOnThisElement=T,s.transclude=Z,n.hasElementTranscludeDirective=V,s}function K(a){for(var b=0,c=a.length;c>b;b++)a[b]=n(a[b],{$$isolateScope:!0})}function L(b,d,f,h,j,k,l){if(d===j)return null;if(j=null,e.hasOwnProperty(d)){var m;d=a.get(d+g);for(var o=0,p=d.length;p>o;o++)try{m=d[o],(h===c||h>m.priority)&&-1!=m.restrict.indexOf(f)&&(k&&(m=n(m,{$$start:k,$$end:l})),b.push(m),j=m)}catch(q){i(q)}}return j}function M(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;f(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))}),f(b,function(b,f){"class"==f?(B(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 O(a,b,c,d,e,g,h,i){var j,k,n=[],p=b[0],q=a.shift(),r=l({},q,{templateUrl:null,transclude:null,replace:null,$$originalDirective:q}),s=x(q.templateUrl)?q.templateUrl(b,c):q.templateUrl;return b.empty(),m.get(w.getTrustedResourceUrl(s),{cache:o}).success(function(l){var m,o;if(l=_(l),q.replace){if(l=rd.test(l)?Tc(fd(l)):[],m=l[0],1!=l.length||1!==m.nodeType)throw Fd("tplrt",q.name,s);l={$attr:{}},U(d,b,m);var u=E(m,[],l);t(q.scope)&&K(u),a=u.concat(a),M(c,l)}else m=p,b.html(l);for(a.unshift(r),j=J(a,m,c,e,b,q,g,h,i),f(d,function(a,c){a==m&&(d[c]=b[0])}),k=C(b[0].childNodes,e);n.length;){l=n.shift(),o=n.shift();var v=n.shift(),w=n.shift(),u=b[0];if(o!==p){var x=o.className;i.hasElementTranscludeDirective&&q.replace||(u=eb(m)),U(v,Tc(o),u),B(Tc(u),x)}o=j.transcludeOnThisElement?D(l,j.transclude,w):w,j(k,l,u,d,o)}n=null}).error(function(a,b,c,d){throw Fd("tpload",d.url)}),function(a,b,c,d,e){a=e,n?(n.push(b),n.push(c),n.push(d),n.push(a)):(j.transcludeOnThisElement&&(a=D(b,j.transclude,e)),j(k,b,c,d,a))}}function P(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 Q(a,b,c,d){if(b)throw Fd("multidir",b.name,c.name,a,N(d))}function R(a,b){var c=d(b,!0);c&&a.push({priority:0,compile:function(a){var b=a.parent().length;return b&&B(a.parent(),"ng-binding"),function(a,d){var e=d.parent(),f=e.data("$binding")||[];f.push(c),e.data("$binding",f),b||B(e,"ng-binding"),a.$watch(c,function(a){d[0].nodeValue=a})}}})}function S(a,b){if("srcdoc"==b)return w.HTML;var c=Wc(a);return"xlinkHref"==b||"FORM"==c&&"action"==b||"IMG"!=c&&("src"==b||"ngSrc"==b)?w.RESOURCE_URL:void 0}function T(a,b,c,e){var f=d(c,!0);if(f){if("multiple"===e&&"SELECT"===Wc(a))throw Fd("selmulti",N(a));b.push({priority:100,compile:function(){return{pre:function(b,c,g){if(c=g.$$observers||(g.$$observers={}),k.test(e))throw Fd("nodomevents");(f=d(g[e],!0,S(a,e)))&&(g[e]=f(b),(c[e]||(c[e]=[])).$$inter=!0,(g.$$observers&&g.$$observers[e].$$scope||b).$watch(f,function(a,b){"class"===e&&a!=b?g.$updateClass(a,b):g.$set(e,a)}))}}}})}}function U(a,c,d){var e,f,g=c[0],h=c.length,i=g.parentNode;if(a)for(e=0,f=a.length;f>e;e++)if(a[e]==g){a[e++]=d,f=e+h-1;for(var j=a.length;j>e;e++,f++)j>f?a[e]=a[f]:delete a[e];a.length-=h-1;break}for(i&&i.replaceChild(d,g),a=b.createDocumentFragment(),a.appendChild(g),d[Tc.expando]=g[Tc.expando],g=1,h=c.length;h>g;g++)i=c[g],Tc(i).remove(),a.appendChild(i),delete c[g];c[0]=d,c.length=1}function X(a,b){return l(function(){return a.apply(null,arguments)},a,b)}var Y=function(a,b){this.$$element=a,this.$attr=b||{}};Y.prototype={$normalize:Eb,$addClass:function(a){a&&0<a.length&&y.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&y.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Fb(a,b),d=Fb(b,a);0===c.length?y.removeClass(this.$$element,d):0===d.length?y.addClass(this.$$element,c):y.setClass(this.$$element,c,d)},$set:function(a,b,d,e){var g=rb(this.$$element[0],a);g&&(this.$$element.prop(a,b),e=g),this[a]=b,e?this.$attr[a]=e:(e=this.$attr[a])||(this.$attr[a]=e=V(a,"-")),g=Wc(this.$$element),("A"===g&&"href"===a||"IMG"===g&&"src"===a)&&(this[a]=b=z(b,"src"===a)),!1!==d&&(null===b||b===c?this.$$element.removeAttr(e):this.$$element.attr(e,b)),(d=this.$$observers)&&f(d[a],function(a){try{a(b)}catch(c){i(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);return e.push(b),s.$evalAsync(function(){e.$$inter||b(c[a])}),b}};var Z=d.startSymbol(),$=d.endSymbol(),_="{{"==Z||"}}"==$?p:function(a){return a.replace(/\{\{/g,Z).replace(/}}/g,$)},ab=/^ngAttr[A-Z]/;return A}]}function Eb(a){return bb(a.replace(Gd,""))}function Fb(a,b){var c="",d=a.split(/\s+/),e=b.split(/\s+/),f=0;a:for(;f<d.length;f++){for(var g=d[f],h=0;h<e.length;h++)if(g==e[h])continue a;c+=(0<c.length?" ":"")+g}return c}function Gb(){var a={},b=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(b,c){Y(b,"controller"),t(b)?l(a,b):a[b]=c},this.$get=["$injector","$window",function(c,e){return function(f,g){var h,i,j;if(u(f)&&(h=f.match(b),i=h[1],j=h[3],f=a.hasOwnProperty(i)?a[i]:Z(g.$scope,i,!0)||Z(e,i,!0),X(f,i,!0)),h=c.instantiate(f,g),j){if(!g||"object"!=typeof g.$scope)throw d("$controller")("noscp",i||f.name,j);g.$scope[j]=h}return h}}]}function Hb(){this.$get=["$window",function(a){return Tc(a.document)}]}function Ib(){this.$get=["$log",function(a){return function(){a.error.apply(a,arguments)}}]}function Jb(a){var b,c,d,e={};return a?(f(a.split("\n"),function(a){d=a.indexOf(":"),b=Xc(fd(a.substr(0,d))),c=fd(a.substr(d+1)),b&&(e[b]=e[b]?e[b]+(", "+c):c)}),e):e}function Kb(a){var b=t(a)?a:c;return function(c){return b||(b=Jb(a)),c?b[Xc(c)]||null:b}}function Lb(a,b,c){return x(c)?c(a,b):(f(c,function(c){a=c(a,b)}),a)}function Mb(){var a=/^\s*(\[|\{[^\{])/,b=/[\}\]]\s*$/,d=/^\)\]\}',?\n/,e={"Content-Type":"application/json;charset=utf-8"},g=this.defaults={transformResponse:[function(c){return u(c)&&(c=c.replace(d,""),a.test(c)&&b.test(c)&&(c=L(c))),c}],transformRequest:[function(a){return t(a)&&"[object File]"!==ad.call(a)&&"[object Blob]"!==ad.call(a)?K(a):a
}],headers:{common:{Accept:"application/json, text/plain, */*"},post:F(e),put:F(e),patch:F(e)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},i=this.interceptors=[],j=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,d,e,k,m){function n(a){function b(a){var b=l({},a,{data:Lb(a.data,a.headers,d.transformResponse)});return 200<=a.status&&300>a.status?b:k.reject(b)}var d={method:"get",transformRequest:g.transformRequest,transformResponse:g.transformResponse},e=function(a){function b(a){var b;f(a,function(c,d){x(c)&&(b=c(),null!=b?a[d]=b:delete a[d])})}var c,d,e=g.headers,h=l({},a.headers),e=l({},e.common,e[Xc(a.method)]);b(e),b(h);a:for(c in e){a=Xc(c);for(d in h)if(Xc(d)===a)continue a;h[c]=e[c]}return h}(a);l(d,a),d.headers=e,d.method=Zc(d.method);var h=[function(a){e=a.headers;var c=Lb(a.data,Kb(e),a.transformRequest);return r(a.data)&&f(e,function(a,b){"content-type"===Xc(b)&&delete e[b]}),r(a.withCredentials)&&!r(g.withCredentials)&&(a.withCredentials=g.withCredentials),o(a,c,e).then(b,b)},c],i=k.when(d);for(f(v,function(a){(a.request||a.requestError)&&h.unshift(a.request,a.requestError),(a.response||a.responseError)&&h.push(a.response,a.responseError)});h.length;){a=h.shift();var j=h.shift(),i=i.then(a,j)}return i.success=function(a){return i.then(function(b){a(b.data,b.status,b.headers,d)}),i},i.error=function(a){return i.then(null,function(b){a(b.data,b.status,b.headers,d)}),i},i}function o(d,f,h){function i(a,b,c,d){m&&(a>=200&&300>a?m.put(w,[a,b,Jb(c),d]):m.remove(w)),j(b,a,c,d),e.$$phase||e.$apply()}function j(a,b,c,e){b=Math.max(b,0),(b>=200&&300>b?u.resolve:u.reject)({data:a,status:b,headers:Kb(c),config:d,statusText:e})}function l(){var a=C(n.pendingRequests,d);-1!==a&&n.pendingRequests.splice(a,1)}var m,o,u=k.defer(),v=u.promise,w=p(d.url,d.params);if(n.pendingRequests.push(d),v.then(l,l),(d.cache||g.cache)&&!1!==d.cache&&"GET"==d.method&&(m=t(d.cache)?d.cache:t(g.cache)?g.cache:q),m)if(o=m.get(w),s(o)){if(o.then)return o.then(l,l),o;ed(o)?j(o[1],o[0],F(o[2]),o[3]):j(o,200,{},"OK")}else m.put(w,v);return r(o)&&((o=yc(d.url)?b.cookies()[d.xsrfCookieName||g.xsrfCookieName]:c)&&(h[d.xsrfHeaderName||g.xsrfHeaderName]=o),a(d.method,w,f,i,h,d.timeout,d.withCredentials,d.responseType)),v}function p(a,b){if(!b)return a;var c=[];return h(b,function(a,b){null===a||r(a)||(ed(a)||(a=[a]),f(a,function(a){t(a)&&(a=K(a)),c.push(S(b)+"="+S(a))}))}),0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&")),a}var q=d("$http"),v=[];return f(i,function(a){v.unshift(u(a)?m.get(a):m.invoke(a))}),f(j,function(a,b){var c=u(a)?m.get(a):m.invoke(a);v.splice(b,0,{response:function(a){return c(k.when(a))},responseError:function(a){return c(k.reject(a))}})}),n.pendingRequests=[],function(){f(arguments,function(a){n[a]=function(b,c){return n(l(c||{},{method:a,url:b}))}})}("get","delete","head","jsonp"),function(){f(arguments,function(a){n[a]=function(b,c,d){return n(l(d||{},{method:a,url:b,data:c}))}})}("post","put"),n.defaults=g,n}]}function Nb(b){if(8>=Sc&&(!b.match(/^(get|post|head|put|delete|options)$/i)||!a.XMLHttpRequest))return new a.ActiveXObject("Microsoft.XMLHTTP");if(a.XMLHttpRequest)return new a.XMLHttpRequest;throw d("$httpBackend")("noxhr")}function Ob(){this.$get=["$browser","$window","$document",function(a,b,c){return Pb(a,Nb,a.defer,b.angular.callbacks,c[0])}]}function Pb(a,b,c,d,e){function g(a,b,c){var f=e.createElement("script"),g=null;return f.type="text/javascript",f.src=a,f.async=!0,g=function(a){md(f,"load",g),md(f,"error",g),e.body.removeChild(f),f=null;var h=-1,i="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),i=a.type,h="error"===a.type?404:200),c&&c(h,i)},ld(f,"load",g),ld(f,"error",g),8>=Sc&&(f.onreadystatechange=function(){u(f.readyState)&&/loaded|complete/.test(f.readyState)&&(f.onreadystatechange=null,g({type:"load"}))}),e.body.appendChild(f),g}var h=-1;return function(e,i,j,k,l,m,n,p){function q(){t=h,v&&v(),w&&w.abort()}function r(b,d,e,f,g){y&&c.cancel(y),v=w=null,0===d&&(d=e?200:"file"==xc(i).protocol?404:0),b(1223===d?204:d,e,f,g||""),a.$$completeOutstandingRequest(o)}var t;if(a.$$incOutstandingRequestCount(),i=i||a.url(),"jsonp"==Xc(e)){var u="_"+(d.counter++).toString(36);d[u]=function(a){d[u].data=a,d[u].called=!0};var v=g(i.replace("JSON_CALLBACK","angular.callbacks."+u),u,function(a,b){r(k,a,d[u].data,"",b),d[u]=o})}else{var w=b(e);if(w.open(e,i,!0),f(l,function(a,b){s(a)&&w.setRequestHeader(b,a)}),w.onreadystatechange=function(){if(w&&4==w.readyState){var a=null,b=null;t!==h&&(a=w.getAllResponseHeaders(),b="response"in w?w.response:w.responseText),r(k,t||w.status,b,a,w.statusText||"")}},n&&(w.withCredentials=!0),p)try{w.responseType=p}catch(x){if("json"!==p)throw x}w.send(j||null)}if(m>0)var y=c(q,m);else m&&m.then&&m.then(q)}}function Qb(){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(c,d,e){function f(f,i,j){for(var k,l,m=0,n=[],o=f.length,p=!1,q=[];o>m;)-1!=(k=f.indexOf(a,m))&&-1!=(l=f.indexOf(b,k+g))?(m!=k&&n.push(f.substring(m,k)),n.push(m=c(p=f.substring(k+g,l))),m.exp=p,m=l+h,p=!0):(m!=o&&n.push(f.substring(m)),m=o);if((o=n.length)||(n.push(""),o=1),j&&1<n.length)throw Hd("noconcat",f);return!i||p?(q.length=o,m=function(a){try{for(var b,c=0,g=o;g>c;c++){if("function"==typeof(b=n[c]))if(b=b(a),b=j?e.getTrusted(j,b):e.valueOf(b),null==b)b="";else switch(typeof b){case"string":break;case"number":b=""+b;break;default:b=K(b)}q[c]=b}return q.join("")}catch(h){a=Hd("interr",f,h.toString()),d(a)}},m.exp=f,m.parts=n,m):void 0}var g=a.length,h=b.length;return f.startSymbol=function(){return a},f.endSymbol=function(){return b},f}]}function Rb(){this.$get=["$rootScope","$window","$q",function(a,b,c){function d(d,f,g,h){var i=b.setInterval,j=b.clearInterval,k=c.defer(),l=k.promise,m=0,n=s(h)&&!h;return g=s(g)?g:0,l.then(null,null,d),l.$$intervalId=i(function(){k.notify(m++),g>0&&m>=g&&(k.resolve(m),j(l.$$intervalId),delete e[l.$$intervalId]),n||a.$apply()},f),e[l.$$intervalId]=k,l}var e={};return d.cancel=function(a){return a&&a.$$intervalId in e?(e[a.$$intervalId].reject("canceled"),clearInterval(a.$$intervalId),delete e[a.$$intervalId],!0):!1},d}]}function Sb(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(a){return 1===a?"one":"other"}}}}function Tb(a){a=a.split("/");for(var b=a.length;b--;)a[b]=R(a[b]);return a.join("/")}function Ub(a,b,c){a=xc(a,c),b.$$protocol=a.protocol,b.$$host=a.hostname,b.$$port=m(a.port)||Jd[a.protocol]||null}function Vb(a,b,c){var d="/"!==a.charAt(0);d&&(a="/"+a),a=xc(a,c),b.$$path=decodeURIComponent(d&&"/"===a.pathname.charAt(0)?a.pathname.substring(1):a.pathname),b.$$search=P(a.search),b.$$hash=decodeURIComponent(a.hash),b.$$path&&"/"!=b.$$path.charAt(0)&&(b.$$path="/"+b.$$path)}function Wb(a,b){return 0===b.indexOf(a)?b.substr(a.length):void 0}function Xb(a){var b=a.indexOf("#");return-1==b?a:a.substr(0,b)}function Yb(a){return a.substr(0,Xb(a).lastIndexOf("/")+1)}function Zb(a,b){this.$$html5=!0,b=b||"";var d=Yb(a);Ub(a,this,a),this.$$parse=function(b){var c=Wb(d,b);if(!u(c))throw Kd("ipthprfx",b,d);Vb(c,this,a),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var a=Q(this.$$search),b=this.$$hash?"#"+R(this.$$hash):"";this.$$url=Tb(this.$$path)+(a?"?"+a:"")+b,this.$$absUrl=d+this.$$url.substr(1)},this.$$rewrite=function(e){var f;return(f=Wb(a,e))!==c?(e=f,(f=Wb(b,f))!==c?d+(Wb("/",f)||f):a+e):(f=Wb(d,e))!==c?d+f:d==e+"/"?d:void 0}}function $b(a,b){var c=Yb(a);Ub(a,this,a),this.$$parse=function(d){var e=Wb(a,d)||Wb(c,d),e="#"==e.charAt(0)?Wb(b,e):this.$$html5?e:"";if(!u(e))throw Kd("ihshprfx",d,b);Vb(e,this,a),d=this.$$path;var f=/^\/[A-Z]:(\/.*)/;0===e.indexOf(a)&&(e=e.replace(a,"")),f.exec(e)||(d=(e=f.exec(d))?e[1]:d),this.$$path=d,this.$$compose()},this.$$compose=function(){var c=Q(this.$$search),d=this.$$hash?"#"+R(this.$$hash):"";this.$$url=Tb(this.$$path)+(c?"?"+c:"")+d,this.$$absUrl=a+(this.$$url?b+this.$$url:"")},this.$$rewrite=function(b){return Xb(a)==Xb(b)?b:void 0}}function _b(a,b){this.$$html5=!0,$b.apply(this,arguments);var c=Yb(a);this.$$rewrite=function(d){var e;return a==Xb(d)?d:(e=Wb(c,d))?a+b+e:c===d+"/"?c:void 0},this.$$compose=function(){var c=Q(this.$$search),d=this.$$hash?"#"+R(this.$$hash):"";this.$$url=Tb(this.$$path)+(c?"?"+c:"")+d,this.$$absUrl=a+b+this.$$url}}function ac(a){return function(){return this[a]}}function bc(a,b){return function(c){return r(c)?this[a]:(this[a]=b(c),this.$$compose(),this)}}function cc(){var b="",c=!1;this.hashPrefix=function(a){return s(a)?(b=a,this):b},this.html5Mode=function(a){return s(a)?(c=a,this):c},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(d,e,f,g){function h(a){d.$broadcast("$locationChangeSuccess",i.absUrl(),a)}var i,j,k,l=e.baseHref(),m=e.url();c?(k=m.substring(0,m.indexOf("/",m.indexOf("//")+2))+(l||"/"),j=f.history?Zb:_b):(k=Xb(m),j=$b),i=new j(k,"#"+b),i.$$parse(i.$$rewrite(m)),g.on("click",function(c){if(!c.ctrlKey&&!c.metaKey&&2!=c.which){for(var f=Tc(c.target);"a"!==Xc(f[0].nodeName);)if(f[0]===g[0]||!(f=f.parent())[0])return;var h=f.prop("href");if(t(h)&&"[object SVGAnimatedString]"===h.toString()&&(h=xc(h.animVal).href),j===_b){var l=f.attr("href")||f.attr("xlink:href");if(0>l.indexOf("://"))if(h="#"+b,"/"==l[0])h=k+h+l;else if("#"==l[0])h=k+h+(i.path()||"/")+l;else{for(var m=i.path().split("/"),l=l.split("/"),n=0;n<l.length;n++)"."!=l[n]&&(".."==l[n]?m.pop():l[n].length&&m.push(l[n]));h=k+h+m.join("/")}}m=i.$$rewrite(h),h&&!f.attr("target")&&m&&!c.isDefaultPrevented()&&(c.preventDefault(),m!=e.url()&&(i.$$parse(m),d.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),i.absUrl()!=m&&e.url(i.absUrl(),!0),e.onUrlChange(function(a){i.absUrl()!=a&&(d.$evalAsync(function(){var b=i.absUrl();i.$$parse(a),d.$broadcast("$locationChangeStart",a,b).defaultPrevented?(i.$$parse(b),e.url(b)):h(b)}),d.$$phase||d.$digest())});var n=0;return d.$watch(function(){var a=e.url(),b=i.$$replace;return n&&a==i.absUrl()||(n++,d.$evalAsync(function(){d.$broadcast("$locationChangeStart",i.absUrl(),a).defaultPrevented?i.$$parse(a):(e.url(i.absUrl(),b),h(a))})),i.$$replace=!1,n}),i}]}function dc(){var a=!0,b=this;this.debugEnabled=function(b){return s(b)?(a=b,this):a},this.$get=["$window",function(c){function d(a){return 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)),a}function e(a){var b=c.console||{},e=b[a]||b.log||o;a=!1;try{a=!!e.apply}catch(g){}return a?function(){var a=[];return f(arguments,function(b){a.push(d(b))}),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 ec(a,b){if("constructor"===a)throw Md("isecfld",b);return a}function fc(a,b){if(a){if(a.constructor===a)throw Md("isecfn",b);if(a.document&&a.location&&a.alert&&a.setInterval)throw Md("isecwindow",b);if(a.children&&(a.nodeName||a.prop&&a.attr&&a.find))throw Md("isecdom",b)}return a}function gc(a,b,d,e,f){f=f||{},b=b.split(".");for(var g,h=0;1<b.length;h++){g=ec(b.shift(),e);var i=a[g];i||(i={},a[g]=i),a=i,a.then&&f.unwrapPromises&&(Ld(e),"$$v"in a||function(a){a.then(function(b){a.$$v=b})}(a),a.$$v===c&&(a.$$v={}),a=a.$$v)}return g=ec(b.shift(),e),a[g]=d}function hc(a,b,d,e,f,g,h){return ec(a,g),ec(b,g),ec(d,g),ec(e,g),ec(f,g),h.unwrapPromises?function(h,i){var j,k=i&&i.hasOwnProperty(a)?i:h;return null==k?k:((k=k[a])&&k.then&&(Ld(g),"$$v"in k||(j=k,j.$$v=c,j.then(function(a){j.$$v=a})),k=k.$$v),b?null==k?c:((k=k[b])&&k.then&&(Ld(g),"$$v"in k||(j=k,j.$$v=c,j.then(function(a){j.$$v=a})),k=k.$$v),d?null==k?c:((k=k[d])&&k.then&&(Ld(g),"$$v"in k||(j=k,j.$$v=c,j.then(function(a){j.$$v=a})),k=k.$$v),e?null==k?c:((k=k[e])&&k.then&&(Ld(g),"$$v"in k||(j=k,j.$$v=c,j.then(function(a){j.$$v=a})),k=k.$$v),f?null==k?c:((k=k[f])&&k.then&&(Ld(g),"$$v"in k||(j=k,j.$$v=c,j.then(function(a){j.$$v=a})),k=k.$$v),k):k):k):k):k)}:function(g,h){var i=h&&h.hasOwnProperty(a)?h:g;return null==i?i:(i=i[a],b?null==i?c:(i=i[b],d?null==i?c:(i=i[d],e?null==i?c:(i=i[e],f?null==i?c:i=i[f]:i):i):i):i)}}function ic(a,b){return ec(a,b),function(b,d){return null==b?c:(d&&d.hasOwnProperty(a)?d:b)[a]}}function jc(a,b,d){return ec(a,d),ec(b,d),function(d,e){return null==d?c:(d=(e&&e.hasOwnProperty(a)?e:d)[a],null==d?c:d[b])}}function kc(a,b,d){if(Sd.hasOwnProperty(a))return Sd[a];var e,g=a.split("."),h=g.length;if(b.unwrapPromises||1!==h)if(b.unwrapPromises||2!==h)if(b.csp)e=6>h?hc(g[0],g[1],g[2],g[3],g[4],d,b):function(a,e){var f,i=0;do f=hc(g[i++],g[i++],g[i++],g[i++],g[i++],d,b)(a,e),e=c,a=f;while(h>i);return f};else{var i="var p;\n";f(g,function(a,c){ec(a,d),i+="if(s == null) return undefined;\ns="+(c?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\n'+(b.unwrapPromises?'if (s && s.then) {\n pw("'+d.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")});var i=i+"return s;",j=new Function("s","k","pw",i);j.toString=q(i),e=b.unwrapPromises?function(a,b){return j(a,b,Ld)}:j}else e=jc(g[0],g[1],d);else e=ic(g[0],d);return"hasOwnProperty"!==a&&(Sd[a]=e),e}function lc(){var a={},b={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(a){return s(a)?(b.unwrapPromises=!!a,this):b.unwrapPromises},this.logPromiseWarnings=function(a){return s(a)?(b.logPromiseWarnings=a,this):b.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(c,d,e){return b.csp=d.csp,Ld=function(a){b.logPromiseWarnings&&!Nd.hasOwnProperty(a)&&(Nd[a]=!0,e.warn("[$parse] Promise found in the expression `"+a+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(d){var e;switch(typeof d){case"string":return a.hasOwnProperty(d)?a[d]:(e=new Qd(b),e=new Rd(e,c,b).parse(d),"hasOwnProperty"!==d&&(a[d]=e),e);case"function":return d;default:return o}}}]}function mc(){this.$get=["$rootScope","$exceptionHandler",function(a,b){return nc(function(b){a.$evalAsync(b)},b)}]}function nc(a,b){function d(a){return a}function e(a){return i(a)}var g=function(){var f,i,k=[];return i={resolve:function(b){if(k){var d=k;k=c,f=h(b),d.length&&a(function(){for(var a,b=0,c=d.length;c>b;b++)a=d[b],f.then(a[0],a[1],a[2])})}},reject:function(a){i.resolve(j(a))},notify:function(b){if(k){var c=k;k.length&&a(function(){for(var a,d=0,e=c.length;e>d;d++)a=c[d],a[2](b)})}},promise:{then:function(a,c,h){var i=g(),j=function(c){try{i.resolve((x(a)?a:d)(c))}catch(e){i.reject(e),b(e)}},l=function(a){try{i.resolve((x(c)?c:e)(a))}catch(d){i.reject(d),b(d)}},m=function(a){try{i.notify((x(h)?h:d)(a))}catch(c){b(c)}};return k?k.push([j,l,m]):f.then(j,l,m),i.promise},"catch":function(a){return this.then(null,a)},"finally":function(a){function b(a,b){var c=g();return b?c.resolve(a):c.reject(a),c.promise}function c(c,e){var f=null;try{f=(a||d)()}catch(g){return b(g,!1)}return f&&x(f.then)?f.then(function(){return b(c,e)},function(a){return b(a,!1)}):b(c,e)}return this.then(function(a){return c(a,!0)},function(a){return c(a,!1)})}}}},h=function(b){return b&&x(b.then)?b:{then:function(c){var d=g();return a(function(){d.resolve(c(b))}),d.promise}}},i=function(a){var b=g();return b.reject(a),b.promise},j=function(c){return{then:function(d,f){var h=g();return a(function(){try{h.resolve((x(f)?f:e)(c))}catch(a){h.reject(a),b(a)}}),h.promise}}};return{defer:g,reject:i,when:function(c,f,j,k){var l,m=g(),n=function(a){try{return(x(f)?f:d)(a)}catch(c){return b(c),i(c)}},o=function(a){try{return(x(j)?j:e)(a)}catch(c){return b(c),i(c)}},p=function(a){try{return(x(k)?k:d)(a)}catch(c){b(c)}};return a(function(){h(c).then(function(a){l||(l=!0,m.resolve(h(a).then(n,o,p)))},function(a){l||(l=!0,m.resolve(o(a)))},function(a){l||m.notify(p(a))})}),m.promise},all:function(a){var b=g(),c=0,d=ed(a)?[]:{};return f(a,function(a,e){c++,h(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),b.promise}}}function oc(){this.$get=["$window","$timeout",function(a,b){var c=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame,d=a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.webkitCancelRequestAnimationFrame,e=!!c,f=e?function(a){var b=c(a);return function(){d(b)}}:function(a){var c=b(a,16.66,!1);return function(){b.cancel(c)}};return f.supported=e,f}]}function pc(){var a=10,b=d("$rootScope"),c=null;this.digestTtl=function(b){return arguments.length&&(a=b),a},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(d,g,h,i){function k(){this.$id=j(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function l(a){if(q.$$phase)throw b("inprog",q.$$phase);q.$$phase=a}function m(a,b){var c=h(a);return X(c,b),c}function n(a,b,c){do a.$$listenerCount[c]-=b,0===a.$$listenerCount[c]&&delete a.$$listenerCount[c];while(a=a.$parent)}function p(){}k.prototype={constructor:k,$new:function(a){return a?(a=new k,a.$root=this.$root,a.$$asyncQueue=this.$$asyncQueue,a.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=j(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),a=new this.$$childScopeClass),a["this"]=a,a.$parent=this,a.$$prevSibling=this.$$childTail,this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a,a},$watch:function(a,b,d){var e=m(a,"watch"),f=this.$$watchers,g={fn:b,last:p,get:e,exp:a,eq:!!d};if(c=null,!x(b)){var h=m(b||o,"listener");g.fn=function(a,b,c){h(c)}}if("string"==typeof a&&e.constant){var i=g.fn;g.fn=function(a,b,c){i.call(this,a,b,c),D(f,g)}}return f||(f=this.$$watchers=[]),f.unshift(g),function(){D(f,g),c=null}},$watchCollection:function(a,b){var c,d,f,g=this,i=1<b.length,j=0,k=h(a),l=[],m={},n=!0,o=0;return this.$watch(function(){c=k(g);var a,b;if(t(c))if(e(c))for(d!==l&&(d=l,o=d.length=0,j++),a=c.length,o!==a&&(j++,d.length=o=a),b=0;a>b;b++)d[b]!==d[b]&&c[b]!==c[b]||d[b]===c[b]||(j++,d[b]=c[b]);else{d!==m&&(d=m={},o=0,j++),a=0;for(b in c)c.hasOwnProperty(b)&&(a++,d.hasOwnProperty(b)?d[b]!==c[b]&&(j++,d[b]=c[b]):(o++,d[b]=c[b],j++));if(o>a)for(b in j++,d)d.hasOwnProperty(b)&&!c.hasOwnProperty(b)&&(o--,delete d[b])}else d!==c&&(d=c,j++);return j},function(){if(n?(n=!1,b(c,c,g)):b(c,f,g),i)if(t(c))if(e(c)){f=Array(c.length);for(var a=0;a<c.length;a++)f[a]=c[a]}else for(a in f={},c)Yc.call(c,a)&&(f[a]=c[a]);else f=c})},$digest:function(){var d,e,f,h,i,j,k,m,n,o,r=this.$$asyncQueue,s=this.$$postDigestQueue,t=a,u=[];l("$digest"),c=null;do{for(j=!1,k=this;r.length;){try{o=r.shift(),o.scope.$eval(o.expression)}catch(v){q.$$phase=null,g(v)}c=null}a:do{if(h=k.$$watchers)for(i=h.length;i--;)try{if(d=h[i])if((e=d.get(k))===(f=d.last)||(d.eq?G(e,f):"number"==typeof e&&"number"==typeof f&&isNaN(e)&&isNaN(f))){if(d===c){j=!1;break a}}else j=!0,c=d,d.last=d.eq?E(e,null):e,d.fn(e,f===p?e:f,k),5>t&&(m=4-t,u[m]||(u[m]=[]),n=x(d.exp)?"fn: "+(d.exp.name||d.exp.toString()):d.exp,n+="; newVal: "+K(e)+"; oldVal: "+K(f),u[m].push(n))}catch(w){q.$$phase=null,g(w)}if(!(h=k.$$childHead||k!==this&&k.$$nextSibling))for(;k!==this&&!(h=k.$$nextSibling);)k=k.$parent}while(k=h);if((j||r.length)&&!t--)throw q.$$phase=null,b("infdig",a,K(u))}while(j||r.length);for(q.$$phase=null;s.length;)try{s.shift()()}catch(y){g(y)}},$destroy:function(){if(!this.$$destroyed){var a=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==q&&(f(this.$$listenerCount,I(null,n,this)),a.$$childHead==this&&(a.$$childHead=this.$$nextSibling),a.$$childTail==this&&(a.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=o,this.$on=this.$watch=function(){return o})}},$eval:function(a,b){return h(a)(this,b)},$evalAsync:function(a){q.$$phase||q.$$asyncQueue.length||i.defer(function(){q.$$asyncQueue.length&&q.$digest()}),this.$$asyncQueue.push({scope:this,expression:a})},$$postDigest:function(a){this.$$postDigestQueue.push(a)},$apply:function(a){try{return l("$apply"),this.$eval(a)}catch(b){g(b)}finally{q.$$phase=null;try{q.$digest()}catch(c){throw g(c),c}}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]),c.push(b);var d=this;do d.$$listenerCount[a]||(d.$$listenerCount[a]=0),d.$$listenerCount[a]++;while(d=d.$parent);var e=this;return function(){c[C(c,b)]=null,n(e,1,a)}},$emit:function(a){var b,c,d,e=[],f=this,h=!1,i={name:a,targetScope:f,stopPropagation:function(){h=!0},preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1},j=[i].concat($c.call(arguments,1));do{for(b=f.$$listeners[a]||e,i.currentScope=f,c=0,d=b.length;d>c;c++)if(b[c])try{b[c].apply(null,j)}catch(k){g(k)}else b.splice(c,1),c--,d--;if(h)break;f=f.$parent}while(f);return i},$broadcast:function(a){for(var b,c,d=this,e=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},h=[f].concat($c.call(arguments,1));d=e;){for(f.currentScope=d,e=d.$$listeners[a]||[],b=0,c=e.length;c>b;b++)if(e[b])try{e[b].apply(null,h)}catch(i){g(i)}else e.splice(b,1),b--,c--;if(!(e=d.$$listenerCount[a]&&d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(e=d.$$nextSibling);)d=d.$parent}return f}};var q=new k;return q}]}function qc(){var a=/^\s*(https?|ftp|mailto|tel|file):/,b=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(b){return s(b)?(a=b,this):a},this.imgSrcSanitizationWhitelist=function(a){return s(a)?(b=a,this):b},this.$get=function(){return function(c,d){var e,f=d?b:a;return Sc&&!(Sc>=8)||(e=xc(c).href,""===e||e.match(f))?c:"unsafe:"+e}}}function rc(a){if("self"===a)return a;if(u(a)){if(-1<a.indexOf("***"))throw Td("iwcard",a);return a=a.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),RegExp("^"+a+"$")}if(y(a))return RegExp("^"+a.source+"$");throw Td("imatcher")}function sc(a){var b=[];return s(a)&&f(a,function(a){b.push(rc(a))}),b}function tc(){this.SCE_CONTEXTS=Ud;var a=["self"],b=[];this.resourceUrlWhitelist=function(b){return arguments.length&&(a=sc(b)),a},this.resourceUrlBlacklist=function(a){return arguments.length&&(b=sc(a)),b},this.$get=["$injector",function(d){function e(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}};return a&&(b.prototype=new a),b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},b}var f=function(){throw Td("unsafe")};d.has("$sanitize")&&(f=d.get("$sanitize"));var g=e(),h={};return h[Ud.HTML]=e(g),h[Ud.CSS]=e(g),h[Ud.URL]=e(g),h[Ud.JS]=e(g),h[Ud.RESOURCE_URL]=e(h[Ud.URL]),{trustAs:function(a,b){var d=h.hasOwnProperty(a)?h[a]:null;if(!d)throw Td("icontext",a,b);if(null===b||b===c||""===b)return b;if("string"!=typeof b)throw Td("itype",a);return new d(b)},getTrusted:function(d,e){if(null===e||e===c||""===e)return e;var g=h.hasOwnProperty(d)?h[d]:null;if(g&&e instanceof g)return e.$$unwrapTrustedValue();if(d===Ud.RESOURCE_URL){var i,j,g=xc(e.toString()),k=!1;for(i=0,j=a.length;j>i;i++)if("self"===a[i]?yc(g):a[i].exec(g.href)){k=!0;break}if(k)for(i=0,j=b.length;j>i;i++)if("self"===b[i]?yc(g):b[i].exec(g.href)){k=!1;break}if(k)return e;throw Td("insecurl",e.toString())}if(d===Ud.HTML)return f(e);throw Td("unsafe")},valueOf:function(a){return a instanceof g?a.$$unwrapTrustedValue():a}}}]}function uc(){var a=!0;this.enabled=function(b){return arguments.length&&(a=!!b),a},this.$get=["$parse","$sniffer","$sceDelegate",function(b,c,d){if(a&&c.msie&&8>c.msieDocumentMode)throw Td("iequirks");var e=F(Ud);e.isEnabled=function(){return a},e.trustAs=d.trustAs,e.getTrusted=d.getTrusted,e.valueOf=d.valueOf,a||(e.trustAs=e.getTrusted=function(a,b){return b},e.valueOf=p),e.parseAs=function(a,c){var d=b(c);return d.literal&&d.constant?d:function(b,c){return e.getTrusted(a,d(b,c))}};var g=e.parseAs,h=e.getTrusted,i=e.trustAs;return f(Ud,function(a,b){var c=Xc(b);e[bb("parse_as_"+c)]=function(b){return g(a,b)},e[bb("get_trusted_"+c)]=function(b){return h(a,b)},e[bb("trust_as_"+c)]=function(b){return i(a,b)}}),e}]}function vc(){this.$get=["$window","$document",function(a,b){var c,d={},e=m((/android (\d+)/.exec(Xc((a.navigator||{}).userAgent))||[])[1]),f=/Boxee/i.test((a.navigator||{}).userAgent),g=b[0]||{},h=g.documentMode,i=/^(Moz|webkit|O|ms)(?=[A-Z])/,j=g.body&&g.body.style,k=!1,l=!1;if(j){for(var n in j)if(k=i.exec(n)){c=k[0],c=c.substr(0,1).toUpperCase()+c.substr(1);break}c||(c="WebkitOpacity"in j&&"webkit"),k=!!("transition"in j||c+"Transition"in j),l=!!("animation"in j||c+"Animation"in j),!e||k&&l||(k=u(g.body.style.webkitTransition),l=u(g.body.style.webkitAnimation))}return{history:!(!a.history||!a.history.pushState||4>e||f),hashchange:"onhashchange"in a&&(!h||h>7),hasEvent:function(a){if("input"==a&&9==Sc)return!1;if(r(d[a])){var b=g.createElement("div");d[a]="on"+a in b}return d[a]},csp:H(),vendorPrefix:c,transitions:k,animations:l,android:e,msie:Sc,msieDocumentMode:h}}]}function wc(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(a,b,c,d){function e(e,g,h){var i=c.defer(),j=i.promise,k=s(h)&&!h;return g=b.defer(function(){try{i.resolve(e())}catch(b){i.reject(b),d(b)}finally{delete f[j.$$timeoutId]}k||a.$apply()},g),j.$$timeoutId=g,f[g]=i,j}var f={};return e.cancel=function(a){return a&&a.$$timeoutId in f?(f[a.$$timeoutId].reject("canceled"),delete f[a.$$timeoutId],b.defer.cancel(a.$$timeoutId)):!1},e}]}function xc(a){var b=a;return Sc&&(Vd.setAttribute("href",b),b=Vd.href),Vd.setAttribute("href",b),{href:Vd.href,protocol:Vd.protocol?Vd.protocol.replace(/:$/,""):"",host:Vd.host,search:Vd.search?Vd.search.replace(/^\?/,""):"",hash:Vd.hash?Vd.hash.replace(/^#/,""):"",hostname:Vd.hostname,port:Vd.port,pathname:"/"===Vd.pathname.charAt(0)?Vd.pathname:"/"+Vd.pathname}}function yc(a){return a=u(a)?xc(a):a,a.protocol===Wd.protocol&&a.host===Wd.host}function zc(){this.$get=q(a)}function Ac(a){function b(d,e){if(t(d)){var g={};return f(d,function(a,c){g[c]=b(c,a)}),g}return a.factory(d+c,e)}var c="Filter";this.register=b,this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}],b("currency",Cc),b("date",Ic),b("filter",Bc),b("json",Jc),b("limitTo",Kc),b("lowercase",_d),b("number",Dc),b("orderBy",Lc),b("uppercase",ae)}function Bc(){return function(a,b,c){if(!ed(a))return a;var d=typeof c,e=[];e.check=function(a){for(var b=0;b<e.length;b++)if(!e[b](a))return!1;return!0},"function"!==d&&(c="boolean"===d&&c?function(a,b){return cd.equals(a,b)}:function(a,b){if(a&&b&&"object"==typeof a&&"object"==typeof b){for(var d in a)if("$"!==d.charAt(0)&&Yc.call(a,d)&&c(a[d],b[d]))return!0;return!1}return b=(""+b).toLowerCase(),-1<(""+a).toLowerCase().indexOf(b)});var f=function(a,b){if("string"==typeof b&&"!"===b.charAt(0))return!f(a,b.substr(1));switch(typeof a){case"boolean":case"number":case"string":return c(a,b);case"object":switch(typeof b){case"object":return c(a,b);default:for(var d in a)if("$"!==d.charAt(0)&&f(a[d],b))return!0}return!1;case"array":for(d=0;d<a.length;d++)if(f(a[d],b))return!0;return!1;default:return!1}};switch(typeof b){case"boolean":case"number":case"string":b={$:b};case"object":for(var g in b)(function(a){"undefined"!=typeof b[a]&&e.push(function(c){return f("$"==a?c:c&&c[a],b[a])})})(g);break;case"function":e.push(b);break;default:return a}for(d=[],g=0;g<a.length;g++){var h=a[g];e.check(h)&&d.push(h)}return d}}function Cc(a){var b=a.NUMBER_FORMATS;return function(a,c){return r(c)&&(c=b.CURRENCY_SYM),Ec(a,b.PATTERNS[1],b.GROUP_SEP,b.DECIMAL_SEP,2).replace(/\u00A4/g,c)}}function Dc(a){var b=a.NUMBER_FORMATS;return function(a,c){return Ec(a,b.PATTERNS[0],b.GROUP_SEP,b.DECIMAL_SEP,c)}}function Ec(a,b,c,d,e){if(null==a||!isFinite(a)||t(a))return"";var f=0>a;a=Math.abs(a);var g=a+"",h="",i=[],j=!1;if(-1!==g.indexOf("e")){var k=g.match(/([\d\.]+)e(-?)(\d+)/);k&&"-"==k[2]&&k[3]>e+1?g="0":(h=g,j=!0)}if(j)e>0&&a>-1&&1>a&&(h=a.toFixed(e));else{g=(g.split(Xd)[1]||"").length,r(e)&&(e=Math.min(Math.max(b.minFrac,g),b.maxFrac)),g=Math.pow(10,e+1),a=Math.floor(a*g+5)/g,a=(""+a).split(Xd),g=a[0],a=a[1]||"";var k=0,l=b.lgSize,m=b.gSize;if(g.length>=l+m)for(k=g.length-l,j=0;k>j;j++)0===(k-j)%m&&0!==j&&(h+=c),h+=g.charAt(j);for(j=k;j<g.length;j++)0===(g.length-j)%l&&0!==j&&(h+=c),h+=g.charAt(j);for(;a.length<e;)a+="0";e&&"0"!==e&&(h+=d+a.substr(0,e))}return i.push(f?b.negPre:b.posPre),i.push(h),i.push(f?b.negSuf:b.posSuf),i.join("")}function Fc(a,b,c){var d="";for(0>a&&(d="-",a=-a),a=""+a;a.length<b;)a="0"+a;return c&&(a=a.substr(a.length-b)),d+a}function Gc(a,b,c,d){return c=c||0,function(e){return e=e["get"+a](),(c>0||e>-c)&&(e+=c),0===e&&-12==c&&(e=12),Fc(e,b,d)}}function Hc(a,b){return function(c,d){var e=c["get"+a](),f=Zc(b?"SHORT"+a:a);return d[f][e]}}function Ic(a){function b(a){var b;if(b=a.match(c)){a=new Date(0);var d=0,e=0,f=b[8]?a.setUTCFullYear:a.setFullYear,g=b[8]?a.setUTCHours:a.setHours;b[9]&&(d=m(b[9]+b[10]),e=m(b[9]+b[11])),f.call(a,m(b[1]),m(b[2])-1,m(b[3])),d=m(b[4]||0)-d,e=m(b[5]||0)-e,f=m(b[6]||0),b=Math.round(1e3*parseFloat("0."+(b[7]||0))),g.call(a,d,e,f,b)}return a}var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,d){var e,g,h="",i=[];if(d=d||"mediumDate",d=a.DATETIME_FORMATS[d]||d,u(c)&&(c=$d.test(c)?m(c):b(c)),v(c)&&(c=new Date(c)),!w(c))return c;for(;d;)(g=Zd.exec(d))?(i=i.concat($c.call(g,1)),d=i.pop()):(i.push(d),d=null);return f(i,function(b){e=Yd[b],h+=e?e(c,a.DATETIME_FORMATS):b.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}}function Jc(){return function(a){return K(a,!0)}}function Kc(){return function(a,b){if(!ed(a)&&!u(a))return a;if(b=1/0===Math.abs(Number(b))?Number(b):m(b),u(a))return b?b>=0?a.slice(0,b):a.slice(b,a.length):"";var c,d,e=[];for(b>a.length?b=a.length:b<-a.length&&(b=-a.length),b>0?(c=0,d=b):(c=a.length+b,d=a.length);d>c;c++)e.push(a[c]);return e}}function Lc(a){return function(b,c,d){function e(a,b){return M(b)?function(b,c){return a(c,b)}:a}function f(a,b){var c=typeof a,d=typeof b;return c==d?("string"==c&&(a=a.toLowerCase(),b=b.toLowerCase()),a===b?0:b>a?-1:1):d>c?-1:1}if(!ed(b)||!c)return b;c=ed(c)?c:[c],c=B(c,function(b){var c=!1,d=b||p;if(u(b)&&(("+"==b.charAt(0)||"-"==b.charAt(0))&&(c="-"==b.charAt(0),b=b.substring(1)),d=a(b),d.constant)){var g=d();
return e(function(a,b){return f(a[g],b[g])},c)}return e(function(a,b){return f(d(a),d(b))},c)});for(var g=[],h=0;h<b.length;h++)g.push(b[h]);return g.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(0!==e)return e}return 0},d))}}function Mc(a){return x(a)&&(a={link:a}),a.restrict=a.restrict||"AC",q(a)}function Nc(a,b,c,d){function e(b,c){c=c?"-"+V(c,"-"):"",d.removeClass(a,(b?ne:me)+c),d.addClass(a,(b?me:ne)+c)}var g=this,h=a.parent().controller("form")||de,i=0,j=g.$error={},k=[];g.$name=b.name||b.ngForm,g.$dirty=!1,g.$pristine=!0,g.$valid=!0,g.$invalid=!1,h.$addControl(g),a.addClass(oe),e(!0),g.$addControl=function(a){Y(a.$name,"input"),k.push(a),a.$name&&(g[a.$name]=a)},g.$removeControl=function(a){a.$name&&g[a.$name]===a&&delete g[a.$name],f(j,function(b,c){g.$setValidity(c,!0,a)}),D(k,a)},g.$setValidity=function(a,b,c){var d=j[a];if(b)d&&(D(d,c),d.length||(i--,i||(e(b),g.$valid=!0,g.$invalid=!1),j[a]=!1,e(!0,a),h.$setValidity(a,!0,g)));else{if(i||e(b),d){if(-1!=C(d,c))return}else j[a]=d=[],i++,e(!1,a),h.$setValidity(a,!1,g);d.push(c),g.$valid=!1,g.$invalid=!0}},g.$setDirty=function(){d.removeClass(a,oe),d.addClass(a,pe),g.$dirty=!0,g.$pristine=!1,h.$setDirty()},g.$setPristine=function(){d.removeClass(a,pe),d.addClass(a,oe),g.$dirty=!1,g.$pristine=!0,f(k,function(a){a.$setPristine()})}}function Oc(a,b,d,e){return a.$setValidity(b,d),d?e:c}function Pc(a,b,c){var d=c.prop("validity");t(d)&&a.$parsers.push(function(c){return a.$error[b]||!(d.badInput||d.customError||d.typeMismatch)||d.valueMissing?c:void a.$setValidity(b,!1)})}function Qc(a,b,c,e,f,g){var h=b.prop("validity"),i=b[0].placeholder,j={};if(!f.android){var k=!1;b.on("compositionstart",function(){k=!0}),b.on("compositionend",function(){k=!1,l()})}var l=function(d){if(!k){var f=b.val();Sc&&"input"===(d||j).type&&b[0].placeholder!==i?i=b[0].placeholder:(M(c.ngTrim||"T")&&(f=fd(f)),(e.$viewValue!==f||h&&""===f&&!h.valueMissing)&&(a.$$phase?e.$setViewValue(f):a.$apply(function(){e.$setViewValue(f)})))}};if(f.hasEvent("input"))b.on("input",l);else{var n,o=function(){n||(n=g.defer(function(){l(),n=null}))};b.on("keydown",function(a){a=a.keyCode,91===a||a>15&&19>a||a>=37&&40>=a||o()}),f.hasEvent("paste")&&b.on("paste cut",o)}b.on("change",l),e.$render=function(){b.val(e.$isEmpty(e.$viewValue)?"":e.$viewValue)};var p=c.ngPattern;if(p&&((f=p.match(/^\/(.*)\/([gim]*)$/))?(p=RegExp(f[1],f[2]),f=function(a){return Oc(e,"pattern",e.$isEmpty(a)||p.test(a),a)}):f=function(c){var f=a.$eval(p);if(!f||!f.test)throw d("ngPattern")("noregexp",p,f,N(b));return Oc(e,"pattern",e.$isEmpty(c)||f.test(c),c)},e.$formatters.push(f),e.$parsers.push(f)),c.ngMinlength){var q=m(c.ngMinlength);f=function(a){return Oc(e,"minlength",e.$isEmpty(a)||a.length>=q,a)},e.$parsers.push(f),e.$formatters.push(f)}if(c.ngMaxlength){var r=m(c.ngMaxlength);f=function(a){return Oc(e,"maxlength",e.$isEmpty(a)||a.length<=r,a)},e.$parsers.push(f),e.$formatters.push(f)}}function Rc(a,b){return a="ngClass"+a,["$animate",function(c){function d(a,b){var c=[],d=0;a:for(;d<a.length;d++){for(var e=a[d],f=0;f<b.length;f++)if(e==b[f])continue a;c.push(e)}return c}function e(a){if(!ed(a)){if(u(a))return a.split(" ");if(t(a)){var b=[];return f(a,function(a,c){a&&(b=b.concat(c.split(" ")))}),b}}return a}return{restrict:"AC",link:function(g,h,i){function j(a,b){var c=h.data("$classCounts")||{},d=[];return f(a,function(a){(b>0||c[a])&&(c[a]=(c[a]||0)+b,c[a]===+(b>0)&&d.push(a))}),h.data("$classCounts",c),d.join(" ")}function k(a){if(!0===b||g.$index%2===b){var f=e(a||[]);if(l){if(!G(a,l)){var k=e(l),m=d(f,k),f=d(k,f),f=j(f,-1),m=j(m,1);0===m.length?c.removeClass(h,f):0===f.length?c.addClass(h,m):c.setClass(h,m,f)}}else{var m=j(f,1);i.$addClass(m)}}l=F(a)}var l;g.$watch(i[a],k,!0),i.$observe("class",function(){k(g.$eval(i[a]))}),"ngClass"!==a&&g.$watch("$index",function(c,d){var f=1&c;if(f!==(1&d)){var h=e(g.$eval(i[a]));f===b?(f=j(h,1),i.$addClass(f)):(f=j(h,-1),i.$removeClass(f))}})}}}]}var Sc,Tc,Uc,Vc,Wc,Xc=function(a){return u(a)?a.toLowerCase():a},Yc=Object.prototype.hasOwnProperty,Zc=function(a){return u(a)?a.toUpperCase():a},$c=[].slice,_c=[].push,ad=Object.prototype.toString,bd=d("ng"),cd=a.angular||(a.angular={}),dd=["0","0","0"];Sc=m((/msie (\d+)/.exec(Xc(navigator.userAgent))||[])[1]),isNaN(Sc)&&(Sc=m((/trident\/.*; rv:(\d+)/.exec(Xc(navigator.userAgent))||[])[1])),o.$inject=[],p.$inject=[];var ed=function(){return x(Array.isArray)?Array.isArray:function(a){return"[object Array]"===ad.call(a)}}(),fd=function(){return String.prototype.trim?function(a){return u(a)?a.trim():a}:function(a){return u(a)?a.replace(/^\s\s*/,"").replace(/\s\s*$/,""):a}}();Wc=9>Sc?function(a){return a=a.nodeName?a:a[0],a.scopeName&&"HTML"!=a.scopeName?Zc(a.scopeName+":"+a.nodeName):a.nodeName}:function(a){return a.nodeName?a.nodeName:a[0].nodeName};var gd=/[A-Z]/g,hd={full:"1.2.18",major:1,minor:2,dot:18,codeName:"ear-extendability"},id=db.cache={},jd=db.expando="ng"+(new Date).getTime(),kd=1,ld=a.document.addEventListener?function(a,b,c){a.addEventListener(b,c,!1)}:function(a,b,c){a.attachEvent("on"+b,c)},md=a.document.removeEventListener?function(a,b,c){a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent("on"+b,c)};db._data=function(a){return this.cache[a[this.expando]]||{}};var nd=/([\:\-\_]+(.))/g,od=/^moz([A-Z])/,pd=d("jqLite"),qd=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rd=/<|&#?\w+;/,sd=/<([\w:]+)/,td=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ud={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ud.optgroup=ud.option,ud.tbody=ud.tfoot=ud.colgroup=ud.caption=ud.thead,ud.th=ud.td;var vd=db.prototype={ready:function(c){function d(){e||(e=!0,c())}var e=!1;"complete"===b.readyState?setTimeout(d):(this.on("DOMContentLoaded",d),db(a).on("load",d))},toString:function(){var a=[];return f(this,function(b){a.push(""+b)}),"["+a.join(", ")+"]"},eq:function(a){return Tc(a>=0?this[a]:this[this.length+a])},length:0,push:_c,sort:[].sort,splice:[].splice},wd={};f("multiple selected checked disabled readOnly required open".split(" "),function(a){wd[Xc(a)]=a});var xd={};f("input select option textarea button form details".split(" "),function(a){xd[Zc(a)]=!0}),f({data:jb,inheritedData:pb,scope:function(a){return Tc(a).data("$scope")||pb(a.parentNode||a,["$isolateScope","$scope"])},isolateScope:function(a){return Tc(a).data("$isolateScope")||Tc(a).data("$isolateScopeNoTemplate")},controller:ob,injector:function(a){return pb(a,"$injector")},removeAttr:function(a,b){a.removeAttribute(b)},hasClass:kb,css:function(a,b,d){if(b=bb(b),!s(d)){var e;return 8>=Sc&&(e=a.currentStyle&&a.currentStyle[b],""===e&&(e="auto")),e=e||a.style[b],8>=Sc&&(e=""===e?c:e),e}a.style[b]=d},attr:function(a,b,d){var e=Xc(b);if(wd[e]){if(!s(d))return a[b]||(a.attributes.getNamedItem(b)||o).specified?e:c;d?(a[b]=!0,a.setAttribute(b,e)):(a[b]=!1,a.removeAttribute(e))}else if(s(d))a.setAttribute(b,d);else if(a.getAttribute)return a=a.getAttribute(b,2),null===a?c:a},prop:function(a,b,c){return s(c)?void(a[b]=c):a[b]},text:function(){function a(a,c){var d=b[a.nodeType];return r(c)?d?a[d]:"":void(a[d]=c)}var b=[];return 9>Sc?(b[1]="innerText",b[3]="nodeValue"):b[1]=b[3]="textContent",a.$dv="",a}(),val:function(a,b){if(r(b)){if("SELECT"===Wc(a)&&a.multiple){var c=[];return f(a.options,function(a){a.selected&&c.push(a.value||a.text)}),0===c.length?null:c}return a.value}a.value=b},html:function(a,b){if(r(b))return a.innerHTML;for(var c=0,d=a.childNodes;c<d.length;c++)fb(d[c]);a.innerHTML=b},empty:qb},function(a,b){db.prototype[b]=function(b,d){var e,f,g=this.length;if(a!==qb&&(2==a.length&&a!==kb&&a!==ob?b:d)===c){if(t(b)){for(e=0;g>e;e++)if(a===jb)a(this[e],b);else for(f in b)a(this[e],f,b[f]);return this}for(e=a.$dv,g=e===c?Math.min(g,1):g,f=0;g>f;f++){var h=a(this[f],b,d);e=e?e+h:h}return e}for(e=0;g>e;e++)a(this[e],b,d);return this}}),f({removeData:hb,dealoc:fb,on:function $e(a,c,d,e){if(s(e))throw pd("onargs");var g=ib(a,"events"),h=ib(a,"handle");g||ib(a,"events",g={}),h||ib(a,"handle",h=sb(a,g)),f(c.split(" "),function(c){var e=g[c];if(!e){if("mouseenter"==c||"mouseleave"==c){var f=b.body.contains||b.body.compareDocumentPosition?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};g[c]=[],$e(a,{mouseleave:"mouseout",mouseenter:"mouseover"}[c],function(a){var b=a.relatedTarget;b&&(b===this||f(this,b))||h(a,c)})}else ld(a,c,h),g[c]=[];e=g[c]}e.push(d)})},off:gb,one:function(a,b,c){a=Tc(a),a.on(b,function d(){a.off(b,c),a.off(b,d)}),a.on(b,c)},replaceWith:function(a,b){var c,d=a.parentNode;fb(a),f(new db(b),function(b){c?d.insertBefore(b,c.nextSibling):d.replaceChild(b,a),c=b})},children:function(a){var b=[];return f(a.childNodes,function(a){1===a.nodeType&&b.push(a)}),b},contents:function(a){return a.contentDocument||a.childNodes||[]},append:function(a,b){f(new db(b),function(b){1!==a.nodeType&&11!==a.nodeType||a.appendChild(b)})},prepend:function(a,b){if(1===a.nodeType){var c=a.firstChild;f(new db(b),function(b){a.insertBefore(b,c)})}},wrap:function(a,b){b=Tc(b)[0];var c=a.parentNode;c&&c.replaceChild(b,a),b.appendChild(a)},remove:function(a){fb(a);var b=a.parentNode;b&&b.removeChild(a)},after:function(a,b){var c=a,d=a.parentNode;f(new db(b),function(a){d.insertBefore(a,c.nextSibling),c=a})},addClass:mb,removeClass:lb,toggleClass:function(a,b,c){b&&f(b.split(" "),function(b){var d=c;r(d)&&(d=!kb(a,b)),(d?mb:lb)(a,b)})},parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;for(a=a.nextSibling;null!=a&&1!==a.nodeType;)a=a.nextSibling;return a},find:function(a,b){return a.getElementsByTagName?a.getElementsByTagName(b):[]},clone:eb,triggerHandler:function(a,b,c){b=(ib(a,"events")||{})[b],c=c||[];var d=[{preventDefault:o,stopPropagation:o}];f(b,function(b){b.apply(a,d.concat(c))})}},function(a,b){db.prototype[b]=function(b,c,d){for(var e,f=0;f<this.length;f++)r(e)?(e=a(this[f],b,c,d),s(e)&&(e=Tc(e))):nb(e,a(this[f],b,c,d));return s(e)?e:this},db.prototype.bind=db.prototype.on,db.prototype.unbind=db.prototype.off}),ub.prototype={put:function(a,b){this[tb(a)]=b},get:function(a){return this[tb(a)]},remove:function(a){var b=this[a=tb(a)];return delete this[a],b}};var yd=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,zd=/,/,Ad=/^\s*(_?)(\S+?)\1\s*$/,Bd=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Cd=d("$injector"),Dd=d("$animate"),Ed=["$provide",function(a){this.$$selectors={},this.register=function(b,c){var d=b+"-animation";if(b&&"."!=b.charAt(0))throw Dd("notcsel",b);this.$$selectors[b.substr(1)]=d,a.factory(d,c)},this.classNameFilter=function(a){return 1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(a,b){return{enter:function(a,c,d,e){d?d.after(a):(c&&c[0]||(c=d.parent()),c.append(a)),e&&b(e)},leave:function(a,c){a.remove(),c&&b(c)},move:function(a,b,c,d){this.enter(a,b,c,d)},addClass:function(a,c,d){c=u(c)?c:ed(c)?c.join(" "):"",f(a,function(a){mb(a,c)}),d&&b(d)},removeClass:function(a,c,d){c=u(c)?c:ed(c)?c.join(" "):"",f(a,function(a){lb(a,c)}),d&&b(d)},setClass:function(a,c,d,e){f(a,function(a){mb(a,c),lb(a,d)}),e&&b(e)},enabled:o}}]}],Fd=d("$compile");Db.$inject=["$provide","$$sanitizeUriProvider"];var Gd=/^(x[\:\-_]|data[\:\-_])/i,Hd=d("$interpolate"),Id=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Jd={http:80,https:443,ftp:21},Kd=d("$location");_b.prototype=$b.prototype=Zb.prototype={$$html5:!1,$$replace:!1,absUrl:ac("$$absUrl"),url:function(a,b){if(r(a))return this.$$url;var c=Id.exec(a);return c[1]&&this.path(decodeURIComponent(c[1])),(c[2]||c[1])&&this.search(c[3]||""),this.hash(c[5]||"",b),this},protocol:ac("$$protocol"),host:ac("$$host"),port:ac("$$port"),path:bc("$$path",function(a){return"/"==a.charAt(0)?a:"/"+a}),search:function(a,b){switch(arguments.length){case 0:return this.$$search;case 1:if(u(a))this.$$search=P(a);else{if(!t(a))throw Kd("isrcharg");this.$$search=a}break;default:r(b)||null===b?delete this.$$search[a]:this.$$search[a]=b}return this.$$compose(),this},hash:bc("$$hash",p),replace:function(){return this.$$replace=!0,this}};var Ld,Md=d("$parse"),Nd={},Od={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:o,"+":function(a,b,d,e){return d=d(a,b),e=e(a,b),s(d)?s(e)?d+e:d:s(e)?e:c},"-":function(a,b,c,d){return c=c(a,b),d=d(a,b),(s(c)?c:0)-(s(d)?d:0)},"*":function(a,b,c,d){return c(a,b)*d(a,b)},"/":function(a,b,c,d){return c(a,b)/d(a,b)},"%":function(a,b,c,d){return c(a,b)%d(a,b)},"^":function(a,b,c,d){return c(a,b)^d(a,b)},"=":o,"===":function(a,b,c,d){return c(a,b)===d(a,b)},"!==":function(a,b,c,d){return c(a,b)!==d(a,b)},"==":function(a,b,c,d){return c(a,b)==d(a,b)},"!=":function(a,b,c,d){return c(a,b)!=d(a,b)},"<":function(a,b,c,d){return c(a,b)<d(a,b)},">":function(a,b,c,d){return c(a,b)>d(a,b)},"<=":function(a,b,c,d){return c(a,b)<=d(a,b)},">=":function(a,b,c,d){return c(a,b)>=d(a,b)},"&&":function(a,b,c,d){return c(a,b)&&d(a,b)},"||":function(a,b,c,d){return c(a,b)||d(a,b)},"&":function(a,b,c,d){return c(a,b)&d(a,b)},"|":function(a,b,c,d){return d(a,b)(a,b,c(a,b))},"!":function(a,b,c){return!c(a,b)}},Pd={n:"\n",f:"\f",r:"\r",t:"	",v:"","'":"'",'"':'"'},Qd=function(a){this.options=a};Qd.prototype={constructor:Qd,lex:function(a){for(this.text=a,this.index=0,this.ch=c,this.lastCh=":",this.tokens=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch}),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}a=this.ch+this.peek();var b=a+this.peek(2),d=Od[this.ch],e=Od[a],f=Od[b];f?(this.tokens.push({index:this.index,text:b,fn:f}),this.index+=3):e?(this.tokens.push({index:this.index,text:a,fn:e}),this.index+=2):d?(this.tokens.push({index:this.index,text:this.ch,fn:d}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(a){return-1!==a.indexOf(this.ch)},was:function(a){return-1!==a.indexOf(this.lastCh)},peek:function(a){return a=a||1,this.index+a<this.text.length?this.text.charAt(this.index+a):!1},isNumber:function(a){return a>="0"&&"9">=a},isWhitespace:function(a){return" "===a||"\r"===a||"	"===a||"\n"===a||""===a||" "===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,c){throw c=c||this.index,b=s(b)?"s "+b+"-"+this.index+" ["+this.text.substring(b,c)+"]":" "+c,Md("lexerr",a,b,this.text)},readNumber:function(){for(var a="",b=this.index;this.index<this.text.length;){var c=Xc(this.text.charAt(this.index));if("."==c||this.isNumber(c))a+=c;else{var d=this.peek();if("e"==c&&this.isExpOperator(d))a+=c;else if(this.isExpOperator(c)&&d&&this.isNumber(d)&&"e"==a.charAt(a.length-1))a+=c;else{if(!this.isExpOperator(c)||d&&this.isNumber(d)||"e"!=a.charAt(a.length-1))break;this.throwError("Invalid exponent")}}this.index++}a*=1,this.tokens.push({index:b,text:a,literal:!0,constant:!0,fn:function(){return a}})},readIdent:function(){for(var a,b,c,d,e=this,f="",g=this.index;this.index<this.text.length&&(d=this.text.charAt(this.index),"."===d||this.isIdent(d)||this.isNumber(d));)"."===d&&(a=this.index),f+=d,this.index++;if(a)for(b=this.index;b<this.text.length;){if(d=this.text.charAt(b),"("===d){c=f.substr(a-g+1),f=f.substr(0,a-g),this.index=b;break}if(!this.isWhitespace(d))break;b++}if(g={index:g,text:f},Od.hasOwnProperty(f))g.fn=Od[f],g.literal=!0,g.constant=!0;else{var h=kc(f,this.options,this.text);g.fn=l(function(a,b){return h(a,b)},{assign:function(a,b){return gc(a,f,b,e.text,e.options)}})}this.tokens.push(g),c&&(this.tokens.push({index:a,text:"."}),this.tokens.push({index:a+1,text:c}))},readString:function(a){var b=this.index;this.index++;for(var c="",d=a,e=!1;this.index<this.text.length;){var f=this.text.charAt(this.index),d=d+f;if(e)"u"===f?(f=this.text.substring(this.index+1,this.index+5),f.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+f+"]"),this.index+=4,c+=String.fromCharCode(parseInt(f,16))):c=(e=Pd[f])?c+e:c+f,e=!1;else if("\\"===f)e=!0;else{if(f===a)return this.index++,void this.tokens.push({index:b,text:d,string:c,literal:!0,constant:!0,fn:function(){return c}});c+=f}this.index++}this.throwError("Unterminated quote",b)}};var Rd=function(a,b,c){this.lexer=a,this.$filter=b,this.options=c};Rd.ZERO=l(function(){return 0},{constant:!0}),Rd.prototype={constructor:Rd,parse:function(a){return this.text=a,this.tokens=this.lexer.lex(a),a=this.statements(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),a.literal=!!a.literal,a.constant=!!a.constant,a},primary:function(){var a;if(this.expect("("))a=this.filterChain(),this.consume(")");else if(this.expect("["))a=this.arrayDeclaration();else if(this.expect("{"))a=this.object();else{var b=this.expect();(a=b.fn)||this.throwError("not a primary expression",b),a.literal=!!b.literal,a.constant=!!b.constant}for(var c;b=this.expect("(","[",".");)"("===b.text?(a=this.functionCall(a,c),c=null):"["===b.text?(c=a,a=this.objectIndex(a)):"."===b.text?(c=a,a=this.fieldAccess(a)):this.throwError("IMPOSSIBLE");return a},throwError:function(a,b){throw Md("syntax",b.text,a,b.index+1,this.text,this.text.substring(b.index))},peekToken:function(){if(0===this.tokens.length)throw Md("ueoe",this.text);return this.tokens[0]},peek:function(a,b,c,d){if(0<this.tokens.length){var e=this.tokens[0],f=e.text;if(f===a||f===b||f===c||f===d||!(a||b||c||d))return e}return!1},expect:function(a,b,c,d){return(a=this.peek(a,b,c,d))?(this.tokens.shift(),a):!1},consume:function(a){this.expect(a)||this.throwError("is unexpected, expecting ["+a+"]",this.peek())},unaryFn:function(a,b){return l(function(c,d){return a(c,d,b)},{constant:b.constant})},ternaryFn:function(a,b,c){return l(function(d,e){return a(d,e)?b(d,e):c(d,e)},{constant:a.constant&&b.constant&&c.constant})},binaryFn:function(a,b,c){return l(function(d,e){return b(d,e,a,c)},{constant:a.constant&&c.constant})},statements:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.filterChain()),!this.expect(";"))return 1===a.length?a[0]:function(b,c){for(var d,e=0;e<a.length;e++){var f=a[e];f&&(d=f(b,c))}return d}},filterChain:function(){for(var a,b=this.expression();;){if(!(a=this.expect("|")))return b;b=this.binaryFn(b,a.fn,this.filter())}},filter:function(){for(var a=this.expect(),b=this.$filter(a.text),c=[];;){if(!(a=this.expect(":"))){var d=function(a,d,e){e=[e];for(var f=0;f<c.length;f++)e.push(c[f](a,d));return b.apply(a,e)};return function(){return d}}c.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var a,b,c=this.ternary();return(b=this.expect("="))?(c.assign||this.throwError("implies assignment but ["+this.text.substring(0,b.index)+"] can not be assigned to",b),a=this.ternary(),function(b,d){return c.assign(b,a(b,d),d)}):c},ternary:function(){var a,b,c=this.logicalOR();return this.expect("?")?(a=this.ternary(),(b=this.expect(":"))?this.ternaryFn(c,a,this.ternary()):void this.throwError("expected :",b)):c},logicalOR:function(){for(var a,b=this.logicalAND();;){if(!(a=this.expect("||")))return b;b=this.binaryFn(b,a.fn,this.logicalAND())}},logicalAND:function(){var a,b=this.equality();return(a=this.expect("&&"))&&(b=this.binaryFn(b,a.fn,this.logicalAND())),b},equality:function(){var a,b=this.relational();return(a=this.expect("==","!=","===","!=="))&&(b=this.binaryFn(b,a.fn,this.equality())),b},relational:function(){var a,b=this.additive();return(a=this.expect("<",">","<=",">="))&&(b=this.binaryFn(b,a.fn,this.relational())),b},additive:function(){for(var a,b=this.multiplicative();a=this.expect("+","-");)b=this.binaryFn(b,a.fn,this.multiplicative());return b},multiplicative:function(){for(var a,b=this.unary();a=this.expect("*","/","%");)b=this.binaryFn(b,a.fn,this.unary());return b},unary:function(){var a;return this.expect("+")?this.primary():(a=this.expect("-"))?this.binaryFn(Rd.ZERO,a.fn,this.unary()):(a=this.expect("!"))?this.unaryFn(a.fn,this.unary()):this.primary()},fieldAccess:function(a){var b=this,c=this.expect().text,d=kc(c,this.options,this.text);return l(function(b,c,e){return d(e||a(b,c))},{assign:function(d,e,f){return gc(a(d,f),c,e,b.text,b.options)}})},objectIndex:function(a){var b=this,d=this.expression();return this.consume("]"),l(function(e,f){var g,h=a(e,f),i=d(e,f);return h?((h=fc(h[i],b.text))&&h.then&&b.options.unwrapPromises&&(g=h,"$$v"in h||(g.$$v=c,g.then(function(a){g.$$v=a})),h=h.$$v),h):c},{assign:function(c,e,f){var g=d(c,f);return fc(a(c,f),b.text)[g]=e}})},functionCall:function(a,b){var c=[];if(")"!==this.peekToken().text)do c.push(this.expression());while(this.expect(","));this.consume(")");var d=this;return function(e,f){for(var g=[],h=b?b(e,f):e,i=0;i<c.length;i++)g.push(c[i](e,f));return i=a(e,f,h)||o,fc(h,d.text),fc(i,d.text),g=i.apply?i.apply(h,g):i(g[0],g[1],g[2],g[3],g[4]),fc(g,d.text)}},arrayDeclaration:function(){var a=[],b=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var c=this.expression();a.push(c),c.constant||(b=!1)}while(this.expect(","));return this.consume("]"),l(function(b,c){for(var d=[],e=0;e<a.length;e++)d.push(a[e](b,c));return d},{literal:!0,constant:b})},object:function(){var a=[],b=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var c=this.expect(),c=c.string||c.text;this.consume(":");var d=this.expression();a.push({key:c,value:d}),d.constant||(b=!1)}while(this.expect(","));return this.consume("}"),l(function(b,c){for(var d={},e=0;e<a.length;e++){var f=a[e];d[f.key]=f.value(b,c)}return d},{literal:!0,constant:b})}};var Sd={},Td=d("$sce"),Ud={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Vd=b.createElement("a"),Wd=xc(a.location.href,!0);Ac.$inject=["$provide"],Cc.$inject=["$locale"],Dc.$inject=["$locale"];var Xd=".",Yd={yyyy:Gc("FullYear",4),yy:Gc("FullYear",2,0,!0),y:Gc("FullYear",1),MMMM:Hc("Month"),MMM:Hc("Month",!0),MM:Gc("Month",2,1),M:Gc("Month",1,1),dd:Gc("Date",2),d:Gc("Date",1),HH:Gc("Hours",2),H:Gc("Hours",1),hh:Gc("Hours",2,-12),h:Gc("Hours",1,-12),mm:Gc("Minutes",2),m:Gc("Minutes",1),ss:Gc("Seconds",2),s:Gc("Seconds",1),sss:Gc("Milliseconds",3),EEEE:Hc("Day"),EEE:Hc("Day",!0),a:function(a,b){return 12>a.getHours()?b.AMPMS[0]:b.AMPMS[1]},Z:function(a){return a=-1*a.getTimezoneOffset(),a=(a>=0?"+":"")+(Fc(Math[a>0?"floor":"ceil"](a/60),2)+Fc(Math.abs(a%60),2))}},Zd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,$d=/^\-?\d+$/;Ic.$inject=["$locale"];var _d=q(Xc),ae=q(Zc);Lc.$inject=["$parse"];var be=q({restrict:"E",compile:function(a,c){return 8>=Sc&&(c.href||c.name||c.$set("href",""),a.append(b.createComment("IE fix"))),c.href||c.xlinkHref||c.name?void 0:function(a,b){var c="[object SVGAnimatedString]"===ad.call(b.prop("href"))?"xlink:href":"href";b.on("click",function(a){b.attr(c)||a.preventDefault()})}}}),ce={};f(wd,function(a,b){if("multiple"!=a){var c=Eb("ng-"+b);ce[c]=function(){return{priority:100,link:function(a,d,e){a.$watch(e[c],function(a){e.$set(b,!!a)})}}}}}),f(["src","srcset","href"],function(a){var b=Eb("ng-"+a);ce[b]=function(){return{priority:99,link:function(c,d,e){var f=a,g=a;"href"===a&&"[object SVGAnimatedString]"===ad.call(d.prop("href"))&&(g="xlinkHref",e.$attr[g]="xlink:href",f=null),e.$observe(b,function(a){a&&(e.$set(g,a),Sc&&f&&d.prop(f,e[g]))})}}}});var de={$addControl:o,$removeControl:o,$setValidity:o,$setDirty:o,$setPristine:o};Nc.$inject=["$element","$attrs","$scope","$animate"];var ee=function(a){return["$timeout",function(b){return{name:"form",restrict:a?"EAC":"E",controller:Nc,compile:function(){return{pre:function(a,d,e,f){if(!e.action){var g=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1};ld(d[0],"submit",g),d.on("$destroy",function(){b(function(){md(d[0],"submit",g)},0,!1)})}var h=d.parent().controller("form"),i=e.name||e.ngForm;i&&gc(a,i,f,i),h&&d.on("$destroy",function(){h.$removeControl(f),i&&gc(a,i,c,i),l(f,de)})}}}}}]},fe=ee(),ge=ee(!0),he=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,ie=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,je=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,ke={text:Qc,number:function(a,b,d,e,f,g){Qc(a,b,d,e,f,g),e.$parsers.push(function(a){var b=e.$isEmpty(a);return b||je.test(a)?(e.$setValidity("number",!0),""===a?null:b?a:parseFloat(a)):(e.$setValidity("number",!1),c)}),Pc(e,"number",b),e.$formatters.push(function(a){return e.$isEmpty(a)?"":""+a}),d.min&&(a=function(a){var b=parseFloat(d.min);return Oc(e,"min",e.$isEmpty(a)||a>=b,a)},e.$parsers.push(a),e.$formatters.push(a)),d.max&&(a=function(a){var b=parseFloat(d.max);return Oc(e,"max",e.$isEmpty(a)||b>=a,a)},e.$parsers.push(a),e.$formatters.push(a)),e.$formatters.push(function(a){return Oc(e,"number",e.$isEmpty(a)||v(a),a)})},url:function(a,b,c,d,e,f){Qc(a,b,c,d,e,f),a=function(a){return Oc(d,"url",d.$isEmpty(a)||he.test(a),a)},d.$formatters.push(a),d.$parsers.push(a)},email:function(a,b,c,d,e,f){Qc(a,b,c,d,e,f),a=function(a){return Oc(d,"email",d.$isEmpty(a)||ie.test(a),a)},d.$formatters.push(a),d.$parsers.push(a)},radio:function(a,b,c,d){r(c.name)&&b.attr("name",j()),b.on("click",function(){b[0].checked&&a.$apply(function(){d.$setViewValue(c.value)})}),d.$render=function(){b[0].checked=c.value==d.$viewValue},c.$observe("value",d.$render)},checkbox:function(a,b,c,d){var e=c.ngTrueValue,f=c.ngFalseValue;u(e)||(e=!0),u(f)||(f=!1),b.on("click",function(){a.$apply(function(){d.$setViewValue(b[0].checked)})}),d.$render=function(){b[0].checked=d.$viewValue},d.$isEmpty=function(a){return a!==e},d.$formatters.push(function(a){return a===e}),d.$parsers.push(function(a){return a?e:f})},hidden:o,button:o,submit:o,reset:o,file:o},le=["$browser","$sniffer",function(a,b){return{restrict:"E",require:"?ngModel",link:function(c,d,e,f){f&&(ke[Xc(e.type)]||ke.text)(c,d,e,f,b,a)}}}],me="ng-valid",ne="ng-invalid",oe="ng-pristine",pe="ng-dirty",qe=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(a,b,c,e,g,h){function i(a,b){b=b?"-"+V(b,"-"):"",h.removeClass(e,(a?ne:me)+b),h.addClass(e,(a?me:ne)+b)}this.$modelValue=this.$viewValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=c.name;var j=g(c.ngModel),k=j.assign;if(!k)throw d("ngModel")("nonassign",c.ngModel,N(e));this.$render=o,this.$isEmpty=function(a){return r(a)||""===a||null===a||a!==a};var l=e.inheritedData("$formController")||de,m=0,n=this.$error={};e.addClass(oe),i(!0),this.$setValidity=function(a,b){n[a]!==!b&&(b?(n[a]&&m--,m||(i(!0),this.$valid=!0,this.$invalid=!1)):(i(!1),this.$invalid=!0,this.$valid=!1,m++),n[a]=!b,i(b,a),l.$setValidity(a,b,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,h.removeClass(e,pe),h.addClass(e,oe)},this.$setViewValue=function(c){this.$viewValue=c,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,h.removeClass(e,oe),h.addClass(e,pe),l.$setDirty()),f(this.$parsers,function(a){c=a(c)}),this.$modelValue!==c&&(this.$modelValue=c,k(a,c),f(this.$viewChangeListeners,function(a){try{a()}catch(c){b(c)}}))};var p=this;a.$watch(function(){var b=j(a);if(p.$modelValue!==b){var c=p.$formatters,d=c.length;for(p.$modelValue=b;d--;)b=c[d](b);p.$viewValue!==b&&(p.$viewValue=b,p.$render())}return b})}],re=function(){return{require:["ngModel","^?form"],controller:qe,link:function(a,b,c,d){var e=d[0],f=d[1]||de;f.$addControl(e),a.$on("$destroy",function(){f.$removeControl(e)})}}},se=q({require:"ngModel",link:function(a,b,c,d){d.$viewChangeListeners.push(function(){a.$eval(c.ngChange)})}}),te=function(){return{require:"?ngModel",link:function(a,b,c,d){if(d){c.required=!0;var e=function(a){return c.required&&d.$isEmpty(a)?void d.$setValidity("required",!1):(d.$setValidity("required",!0),a)};d.$formatters.push(e),d.$parsers.unshift(e),c.$observe("required",function(){e(d.$viewValue)})}}}},ue=function(){return{require:"ngModel",link:function(a,b,d,e){var g=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){if(!r(a)){var b=[];return a&&f(a.split(g),function(a){a&&b.push(fd(a))}),b}}),e.$formatters.push(function(a){return ed(a)?a.join(", "):c}),e.$isEmpty=function(a){return!a||!a.length}}}},ve=/^(true|false|\d+)$/,we=function(){return{priority:100,compile:function(a,b){return ve.test(b.ngValue)?function(a,b,c){c.$set("value",a.$eval(c.ngValue))}:function(a,b,c){a.$watch(c.ngValue,function(a){c.$set("value",a)})}}}},xe=Mc({compile:function(a){return a.addClass("ng-binding"),function(a,b,d){b.data("$binding",d.ngBind),a.$watch(d.ngBind,function(a){b.text(a==c?"":a)})}}}),ye=["$interpolate",function(a){return function(b,c,d){b=a(c.attr(d.$attr.ngBindTemplate)),c.addClass("ng-binding").data("$binding",b),d.$observe("ngBindTemplate",function(a){c.text(a)})}}],ze=["$sce","$parse",function(a,b){return function(c,d,e){d.addClass("ng-binding").data("$binding",e.ngBindHtml);var f=b(e.ngBindHtml);c.$watch(function(){return(f(c)||"").toString()},function(){d.html(a.getTrustedHtml(f(c))||"")})}}],Ae=Rc("",!0),Be=Rc("Odd",0),Ce=Rc("Even",1),De=Mc({compile:function(a,b){b.$set("ngCloak",c),a.removeClass("ng-cloak")}}),Ee=[function(){return{scope:!0,controller:"@",priority:500}}],Fe={};f("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var b=Eb("ng-"+a);Fe[b]=["$parse",function(c){return{compile:function(d,e){var f=c(e[b]);return function(b,c){c.on(Xc(a),function(a){b.$apply(function(){f(b,{$event:a})})})}}}}]});var Ge=["$animate",function(a){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(c,d,e,f,g){var h,i,j;c.$watch(e.ngIf,function(f){M(f)?i||(i=c.$new(),g(i,function(c){c[c.length++]=b.createComment(" end ngIf: "+e.ngIf+" "),h={clone:c},a.enter(c,d.parent(),d)})):(j&&(j.remove(),j=null),i&&(i.$destroy(),i=null),h&&(j=$(h.clone),a.leave(j,function(){j=null}),h=null))})}}}],He=["$http","$templateCache","$anchorScroll","$animate","$sce",function(a,b,c,d,e){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:cd.noop,compile:function(f,g){var h=g.ngInclude||g.src,i=g.onload||"",j=g.autoscroll;return function(f,g,k,l,m){var n,o,p,q=0,r=function(){o&&(o.remove(),o=null),n&&(n.$destroy(),n=null),p&&(d.leave(p,function(){o=null}),o=p,p=null)};f.$watch(e.parseAsResourceUrl(h),function(e){var h=function(){!s(j)||j&&!f.$eval(j)||c()},k=++q;e?(a.get(e,{cache:b}).success(function(a){if(k===q){var b=f.$new();l.template=a,a=m(b,function(a){r(),d.enter(a,null,g,h)}),n=b,p=a,n.$emit("$includeContentLoaded"),f.$eval(i)}}).error(function(){k===q&&r()}),f.$emit("$includeContentRequested")):(r(),l.template=null)})}}}}],Ie=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(b,c,d,e){c.html(e.template),a(c.contents())(b)}}}],Je=Mc({priority:450,compile:function(){return{pre:function(a,b,c){a.$eval(c.ngInit)}}}}),Ke=Mc({terminal:!0,priority:1e3}),Le=["$locale","$interpolate",function(a,b){var c=/{}/g;return{restrict:"EA",link:function(d,e,g){var h=g.count,i=g.$attr.when&&e.attr(g.$attr.when),j=g.offset||0,k=d.$eval(i)||{},l={},m=b.startSymbol(),n=b.endSymbol(),o=/^when(Minus)?(.+)$/;
f(g,function(a,b){o.test(b)&&(k[Xc(b.replace("when","").replace("Minus","-"))]=e.attr(g.$attr[b]))}),f(k,function(a,d){l[d]=b(a.replace(c,m+h+"-"+j+n))}),d.$watch(function(){var b=parseFloat(d.$eval(h));return isNaN(b)?"":(b in k||(b=a.pluralCat(b-j)),l[b](d,e,!0))},function(a){e.text(a)})}}}],Me=["$parse","$animate",function(a,c){var g=d("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(d,h,i,j,k){var l,m,n,o,p,q,r=i.ngRepeat,s=r.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),t={$id:tb};if(!s)throw g("iexp",r);if(i=s[1],j=s[2],(s=s[3])?(l=a(s),m=function(a,b,c){return q&&(t[q]=a),t[p]=b,t.$index=c,l(d,t)}):(n=function(a,b){return tb(b)},o=function(a){return a}),s=i.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!s)throw g("iidexp",i);p=s[3]||s[1],q=s[2];var u={};d.$watchCollection(j,function(a){var i,j,l,s,t,v,w,x,y,z=h[0],A={},B=[];if(e(a))x=a,l=m||n;else{l=m||o,x=[];for(v in a)a.hasOwnProperty(v)&&"$"!=v.charAt(0)&&x.push(v);x.sort()}for(s=x.length,j=B.length=x.length,i=0;j>i;i++)if(v=a===x?i:x[i],w=a[v],w=l(v,w,i),Y(w,"`track by` id"),u.hasOwnProperty(w))y=u[w],delete u[w],A[w]=y,B[i]=y;else{if(A.hasOwnProperty(w))throw f(B,function(a){a&&a.scope&&(u[a.id]=a)}),g("dupes",r,w);B[i]={id:w},A[w]=!1}for(v in u)u.hasOwnProperty(v)&&(y=u[v],i=$(y.clone),c.leave(i),f(i,function(a){a.$$NG_REMOVED=!0}),y.scope.$destroy());for(i=0,j=x.length;j>i;i++){if(v=a===x?i:x[i],w=a[v],y=B[i],B[i-1]&&(z=B[i-1].clone[B[i-1].clone.length-1]),y.scope){t=y.scope,l=z;do l=l.nextSibling;while(l&&l.$$NG_REMOVED);y.clone[0]!=l&&c.move($(y.clone),null,Tc(z)),z=y.clone[y.clone.length-1]}else t=d.$new();t[p]=w,q&&(t[q]=v),t.$index=i,t.$first=0===i,t.$last=i===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0===(1&i)),y.scope||k(t,function(a){a[a.length++]=b.createComment(" end ngRepeat: "+r+" "),c.enter(a,null,Tc(z)),z=a,y.scope=t,y.clone=a,A[y.id]=y})}u=A})}}}],Ne=["$animate",function(a){return function(b,c,d){b.$watch(d.ngShow,function(b){a[M(b)?"removeClass":"addClass"](c,"ng-hide")})}}],Oe=["$animate",function(a){return function(b,c,d){b.$watch(d.ngHide,function(b){a[M(b)?"addClass":"removeClass"](c,"ng-hide")})}}],Pe=Mc(function(a,b,c){a.$watch(c.ngStyle,function(a,c){c&&a!==c&&f(c,function(a,c){b.css(c,"")}),a&&b.css(a)},!0)}),Qe=["$animate",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(b,c,d,e){var g=[],h=[],i=[],j=[];b.$watch(d.ngSwitch||d.on,function(c){var k,l;for(k=0,l=i.length;l>k;++k)i[k].remove();for(k=i.length=0,l=j.length;l>k;++k){var m=h[k];j[k].$destroy(),i[k]=m,a.leave(m,function(){i.splice(k,1)})}h.length=0,j.length=0,(g=e.cases["!"+c]||e.cases["?"])&&(b.$eval(d.change),f(g,function(c){var d=b.$new();j.push(d),c.transclude(d,function(b){var d=c.element;h.push(b),a.enter(b,d.parent(),d)})}))})}}}],Re=Mc({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,b,c,d,e){d.cases["!"+c.ngSwitchWhen]=d.cases["!"+c.ngSwitchWhen]||[],d.cases["!"+c.ngSwitchWhen].push({transclude:e,element:b})}}),Se=Mc({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,b,c,d,e){d.cases["?"]=d.cases["?"]||[],d.cases["?"].push({transclude:e,element:b})}}),Te=Mc({link:function(a,b,c,e,f){if(!f)throw d("ngTransclude")("orphan",N(b));f(function(a){b.empty(),b.append(a)})}}),Ue=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(b,c){"text/ng-template"==c.type&&a.put(c.id,b[0].text)}}}],Ve=d("ngOptions"),We=q({terminal:!0}),Xe=["$compile","$parse",function(a,d){var e=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,h={$setViewValue:o};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,b,c){var d,e=this,f={},g=h;e.databound=c.ngModel,e.init=function(a,b,c){g=a,d=c},e.addOption=function(b){Y(b,'"option value"'),f[b]=!0,g.$viewValue==b&&(a.val(b),d.parent()&&d.remove())},e.removeOption=function(a){this.hasOption(a)&&(delete f[a],g.$viewValue==a&&this.renderUnknownOption(a))},e.renderUnknownOption=function(b){b="? "+tb(b)+" ?",d.val(b),a.prepend(d),a.val(b),d.prop("selected",!0)},e.hasOption=function(a){return f.hasOwnProperty(a)},b.$on("$destroy",function(){e.renderUnknownOption=o})}],link:function(h,i,j,k){function l(a,b,c,d){c.$render=function(){var a=c.$viewValue;d.hasOption(a)?(x.parent()&&x.remove(),b.val(a),""===a&&p.prop("selected",!0)):r(a)&&p?b.val(""):d.renderUnknownOption(a)},b.on("change",function(){a.$apply(function(){x.parent()&&x.remove(),c.$setViewValue(b.val())})})}function m(a,b,c){var d;c.$render=function(){var a=new ub(c.$viewValue);f(b.find("option"),function(b){b.selected=s(a.get(b.value))})},a.$watch(function(){G(d,c.$viewValue)||(d=F(c.$viewValue),c.$render())}),b.on("change",function(){a.$apply(function(){var a=[];f(b.find("option"),function(b){b.selected&&a.push(b.value)}),c.$setViewValue(a)})})}function n(b,f,h){function i(){var a,c,d,e,i,j={"":[]},t=[""];e=h.$modelValue,i=p(b)||[];var y,z,A,B=m?g(i):i;z={},d=!1;var C,D;if(q)if(r&&ed(e))for(d=new ub([]),A=0;A<e.length;A++)z[l]=e[A],d.put(r(b,z),e[A]);else d=new ub(e);for(A=0;y=B.length,y>A;A++){if(c=A,m){if(c=B[A],"$"===c.charAt(0))continue;z[m]=c}z[l]=i[c],a=n(b,z)||"",(c=j[a])||(c=j[a]=[],t.push(a)),q?a=s(d.remove(r?r(b,z):o(b,z))):(r?(a={},a[l]=e,a=r(b,a)===r(b,z)):a=e===o(b,z),d=d||a),C=k(b,z),C=s(C)?C:"",c.push({id:r?r(b,z):m?B[A]:A,label:C,selected:a})}for(q||(u||null===e?j[""].unshift({id:"",label:"",selected:!d}):d||j[""].unshift({id:"?",label:"",selected:!0})),z=0,B=t.length;B>z;z++){for(a=t[z],c=j[a],x.length<=z?(e={element:w.clone().attr("label",a),label:c.label},i=[e],x.push(i),f.append(e.element)):(i=x[z],e=i[0],e.label!=a&&e.element.attr("label",e.label=a)),C=null,A=0,y=c.length;y>A;A++)d=c[A],(a=i[A+1])?(C=a.element,a.label!==d.label&&C.text(a.label=d.label),a.id!==d.id&&C.val(a.id=d.id),a.selected!==d.selected&&C.prop("selected",a.selected=d.selected)):(""===d.id&&u?D=u:(D=v.clone()).val(d.id).attr("selected",d.selected).text(d.label),i.push({element:D,label:d.label,id:d.id,selected:d.selected}),C?C.after(D):e.element.append(D),C=D);for(A++;i.length>A;)i.pop().element.remove()}for(;x.length>z;)x.pop()[0].element.remove()}var j;if(!(j=t.match(e)))throw Ve("iexp",t,N(f));var k=d(j[2]||j[1]),l=j[4]||j[6],m=j[5],n=d(j[3]||""),o=d(j[2]?j[1]:l),p=d(j[7]),r=j[8]?d(j[8]):null,x=[[{element:f,label:""}]];u&&(a(u)(b),u.removeClass("ng-scope"),u.remove()),f.empty(),f.on("change",function(){b.$apply(function(){var a,d,e,g,i,j,k,n,s=p(b)||[],t={};if(q){for(e=[],i=0,k=x.length;k>i;i++)for(a=x[i],g=1,j=a.length;j>g;g++)if((d=a[g].element)[0].selected){if(d=d.val(),m&&(t[m]=d),r)for(n=0;n<s.length&&(t[l]=s[n],r(b,t)!=d);n++);else t[l]=s[d];e.push(o(b,t))}}else{if(d=f.val(),"?"==d)e=c;else if(""===d)e=null;else if(r){for(n=0;n<s.length;n++)if(t[l]=s[n],r(b,t)==d){e=o(b,t);break}}else t[l]=s[d],m&&(t[m]=d),e=o(b,t);1<x[0].length&&x[0][1].id!==d&&(x[0][1].selected=!1)}h.$setViewValue(e)})}),h.$render=i,b.$watch(i)}if(k[1]){var o=k[0];k=k[1];var p,q=j.multiple,t=j.ngOptions,u=!1,v=Tc(b.createElement("option")),w=Tc(b.createElement("optgroup")),x=v.clone();j=0;for(var y=i.children(),z=y.length;z>j;j++)if(""===y[j].value){p=u=y.eq(j);break}o.init(k,u,x),q&&(k.$isEmpty=function(a){return!a||0===a.length}),t?n(h,i,k):q?m(h,i,k):l(h,i,k,o)}}}}],Ye=["$interpolate",function(a){var b={addOption:o,removeOption:o};return{restrict:"E",priority:100,compile:function(c,d){if(r(d.value)){var e=a(c.text(),!0);e||d.$set("value",c.text())}return function(a,c,d){var f=c.parent(),g=f.data("$selectController")||f.parent().data("$selectController");g&&g.databound?c.prop("selected",!1):g=b,e?a.$watch(e,function(a,b){d.$set("value",a),a!==b&&g.removeOption(b),g.addOption(a)}):g.addOption(d.value),c.on("$destroy",function(){g.removeOption(d.value)})}}}}],Ze=q({restrict:"E",terminal:!0});a.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):((Uc=a.jQuery)&&Uc.fn.on?(Tc=Uc,l(Uc.fn,{scope:vd.scope,isolateScope:vd.isolateScope,controller:vd.controller,injector:vd.injector,inheritedData:vd.inheritedData}),cb("remove",!0,!0,!1),cb("empty",!1,!1,!1),cb("html",!1,!1,!0)):Tc=db,cd.element=Tc,ab(cd),Tc(b).ready(function(){T(b,U)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}.ng-animate-block-transitions{transition:0s all!important;-webkit-transition:0s all!important;}.ng-hide-add-active,.ng-hide-remove{display:block!important;}</style>'),function(a,b,c){"use strict";function d(a,c){c=c||{},b.forEach(c,function(a,b){delete c[b]});for(var d in a)!a.hasOwnProperty(d)||"$"===d.charAt(0)&&"$"===d.charAt(1)||(c[d]=a[d]);return c}var e=b.$$minErr("$resource"),f=/^(\.[a-zA-Z_$][0-9a-zA-Z_$]*)+$/;b.module("ngResource",["ng"]).factory("$resource",["$http","$q",function(a,g){function h(a,b){this.template=a,this.defaults=b||{},this.urlParams={}}function i(p,q,r){function s(a,b){var d={};return b=m({},q,b),l(b,function(b,g){o(b)&&(b=b());var h;if(b&&b.charAt&&"@"==b.charAt(0)){h=a;var i=b.substr(1);if(null==i||""===i||"hasOwnProperty"===i||!f.test("."+i))throw e("badmember",i);for(var i=i.split("."),j=0,k=i.length;k>j&&h!==c;j++){var l=i[j];h=null!==h?h[l]:c}}else h=b;d[g]=h}),d}function t(a){return a.resource}function u(a){d(a||{},this)}var v=new h(p);return r=m({},j,r),l(r,function(f,h){var i=/^(POST|PUT|PATCH)$/i.test(f.method);u[h]=function(h,j,p,q){var r,w,x,y={};switch(arguments.length){case 4:x=q,w=p;case 3:case 2:if(!o(j)){y=h,r=j,w=p;break}if(o(h)){w=h,x=j;break}w=j,x=p;case 1:o(h)?w=h:i?r=h:y=h;break;case 0:break;default:throw e("badargs",arguments.length)}var z=this instanceof u,A=z?r:f.isArray?[]:new u(r),B={},C=f.interceptor&&f.interceptor.response||t,D=f.interceptor&&f.interceptor.responseError||c;return l(f,function(a,b){"params"!=b&&"isArray"!=b&&"interceptor"!=b&&(B[b]=n(a))}),i&&(B.data=r),v.setUrlParams(B,m({},s(r,f.params||{}),y),f.url),y=a(B).then(function(a){var c=a.data,g=A.$promise;if(c){if(b.isArray(c)!==!!f.isArray)throw e("badcfg",f.isArray?"array":"object",b.isArray(c)?"array":"object");f.isArray?(A.length=0,l(c,function(a){A.push("object"==typeof a?new u(a):a)})):(d(c,A),A.$promise=g)}return A.$resolved=!0,a.resource=A,a},function(a){return A.$resolved=!0,(x||k)(a),g.reject(a)}),y=y.then(function(a){var b=C(a);return(w||k)(b,a.headers),b},D),z?y:(A.$promise=y,A.$resolved=!1,A)},u.prototype["$"+h]=function(a,b,c){return o(a)&&(c=b,b=a,a={}),a=u[h].call(this,a,this,b,c),a.$promise||a}}),u.bind=function(a){return i(p,m({},q,a),r)},u}var j={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}},k=b.noop,l=b.forEach,m=b.extend,n=b.copy,o=b.isFunction;return h.prototype={setUrlParams:function(a,c,d){var f,g,h=this,i=d||h.template,j=h.urlParams={};l(i.split(/\W/),function(a){if("hasOwnProperty"===a)throw e("badname");!/^\d+$/.test(a)&&a&&RegExp("(^|[^\\\\]):"+a+"(\\W|$)").test(i)&&(j[a]=!0)}),i=i.replace(/\\:/g,":"),c=c||{},l(h.urlParams,function(a,d){f=c.hasOwnProperty(d)?c[d]:h.defaults[d],b.isDefined(f)&&null!==f?(g=encodeURIComponent(f).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"%20").replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),i=i.replace(RegExp(":"+d+"(\\W|$)","g"),function(a,b){return g+b})):i=i.replace(RegExp("(/?):"+d+"(\\W|$)","g"),function(a,b,c){return"/"==c.charAt(0)?c:b+c})}),i=i.replace(/\/+$/,"")||"/",i=i.replace(/\/\.(?=\w+($|\?))/,"."),a.url=i.replace(/\/\\\./,"/."),l(c,function(b,c){h.urlParams[c]||(a.params=a.params||{},a.params[c]=b)})}},i}])}(window,window.angular),function(a,b){"use strict";function c(a,b,c){d.directive(a,["$parse","$swipe",function(d,e){var f=75,g=.3,h=30;return function(i,j,k){function l(a){if(!m)return!1;var c=Math.abs(a.y-m.y);return a=(a.x-m.x)*b,n&&f>c&&a>0&&a>h&&g>c/a}var m,n,o=d(k[a]);e.bind(j,{start:function(a){m=a,n=!0},cancel:function(){n=!1},end:function(a,b){l(a)&&i.$apply(function(){j.triggerHandler(c),o(i,{$event:b})})}})}}])}var d=b.module("ngTouch",[]);d.factory("$swipe",[function(){function a(a){var b=a.touches&&a.touches.length?a.touches:[a];return a=a.changedTouches&&a.changedTouches[0]||a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches[0]||b[0].originalEvent||b[0],{x:a.clientX,y:a.clientY}}return{bind:function(b,c){var d,e,f,g,h=!1;b.on("touchstart mousedown",function(b){f=a(b),h=!0,e=d=0,g=f,c.start&&c.start(f,b)}),b.on("touchcancel",function(a){h=!1,c.cancel&&c.cancel(a)}),b.on("touchmove mousemove",function(b){if(h&&f){var i=a(b);d+=Math.abs(i.x-g.x),e+=Math.abs(i.y-g.y),g=i,10>d&&10>e||(e>d?(h=!1,c.cancel&&c.cancel(b)):(b.preventDefault(),c.move&&c.move(i,b)))}}),b.on("touchend mouseup",function(b){h&&(h=!1,c.end&&c.end(a(b),b))})}}}]),d.config(["$provide",function(a){a.decorator("ngClickDirective",["$delegate",function(a){return a.shift(),a}])}]),d.directive("ngClick",["$parse","$timeout","$rootElement",function(a,c,d){function e(a,b,c){for(var d=0;d<a.length;d+=2)if(Math.abs(a[d]-b)<l&&Math.abs(a[d+1]-c)<l)return a.splice(d,d+2),!0;return!1}function f(a){if(!(Date.now()-h>k)){var b=a.touches&&a.touches.length?a.touches:[a],c=b[0].clientX,b=b[0].clientY;1>c&&1>b||j&&j[0]===c&&j[1]===b||(j&&(j=null),"label"===a.target.tagName.toLowerCase()&&(j=[c,b]),e(i,c,b)||(a.stopPropagation(),a.preventDefault(),a.target&&a.target.blur()))}}function g(a){a=a.touches&&a.touches.length?a.touches:[a];var b=a[0].clientX,d=a[0].clientY;i.push(b,d),c(function(){for(var a=0;a<i.length;a+=2)if(i[a]==b&&i[a+1]==d){i.splice(a,a+2);break}},k,!1)}var h,i,j,k=2500,l=25,m="ng-click-active";return function(c,j,k){function l(){s=!1,j.removeClass(m)}var n,o,p,q,r=a(k.ngClick),s=!1;j.on("touchstart",function(a){s=!0,n=a.target?a.target:a.srcElement,3==n.nodeType&&(n=n.parentNode),j.addClass(m),o=Date.now(),a=a.touches&&a.touches.length?a.touches:[a],a=a[0].originalEvent||a[0],p=a.clientX,q=a.clientY}),j.on("touchmove",function(){l()}),j.on("touchcancel",function(){l()}),j.on("touchend",function(a){var c=Date.now()-o,m=a.changedTouches&&a.changedTouches.length?a.changedTouches:a.touches&&a.touches.length?a.touches:[a],r=m[0].originalEvent||m[0],m=r.clientX,r=r.clientY,t=Math.sqrt(Math.pow(m-p,2)+Math.pow(r-q,2));s&&750>c&&12>t&&(i||(d[0].addEventListener("click",f,!0),d[0].addEventListener("touchstart",g,!0),i=[]),h=Date.now(),e(i,m,r),n&&n.blur(),b.isDefined(k.disabled)&&!1!==k.disabled||j.triggerHandler("click",[a])),l()}),j.onclick=function(){},j.on("click",function(a,b){c.$apply(function(){r(c,{$event:b||a})})}),j.on("mousedown",function(){j.addClass(m)}),j.on("mousemove mouseup",function(){j.removeClass(m)})}}]),c("ngSwipeLeft",-1,"swipeleft"),c("ngSwipeRight",1,"swiperight")}(window,window.angular),function(a,b,c){"use strict";b.module("ngAnimate",["ng"]).factory("$$animateReflow",["$$rAF","$document",function(a){return function(b){return a(function(){b()})}}]).config(["$provide","$animateProvider",function(d,e){function f(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.nodeType==k)return c}}function g(a){return b.element(f(a))}var h=b.noop,i=b.forEach,j=e.$$selectors,k=1,l="$$ngAnimateState",m="ng-animate",n={running:!0};d.decorator("$animate",["$delegate","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document",function(a,c,d,k,o,p){function q(a){if(a){var b=[],e={};a=a.substr(1).split("."),(d.transitions||d.animations)&&b.push(c.get(j[""]));for(var f=0;f<a.length;f++){var g=a[f],h=j[g];h&&!e[g]&&(b.push(c.get(h)),e[g]=!0)}return b}}function r(a,c,d){function e(a,b){var c=a[b],d=a["before"+b.charAt(0).toUpperCase()+b.substr(1)];return c||d?("leave"==b&&(d=c,c=null),u.push({event:b,fn:c}),r.push({event:b,fn:d}),!0):void 0}function f(b,c,e){var f=[];i(b,function(a){a.fn&&f.push(a)});var g=0;i(f,function(b,i){var l=function(){a:{if(c){if((c[i]||h)(),++g<f.length)break a;c=null}e()}};switch(b.event){case"setClass":c.push(b.fn(a,j,k,l));break;case"addClass":c.push(b.fn(a,j||d,l));break;case"removeClass":c.push(b.fn(a,k||d,l));break;default:c.push(b.fn(a,l))}}),c&&0===c.length&&e()}var g=a[0];if(g){var j,k,l="setClass"==c,m=l||"addClass"==c||"removeClass"==c;b.isArray(d)&&(j=d[0],k=d[1],d=j+" "+k);var n=a.attr("class")+" "+d;if(y(n)){var o=h,p=[],r=[],s=h,t=[],u=[],n=(" "+n).replace(/\s+/g,".");return i(q(n),function(a){!e(a,c)&&l&&(e(a,"addClass"),e(a,"removeClass"))}),{node:g,event:c,className:d,isClassBased:m,isSetClassOperation:l,before:function(a){o=a,f(r,p,function(){o=h,a()})},after:function(a){s=a,f(u,t,function(){s=h,a()})},cancel:function(){p&&(i(p,function(a){(a||h)(!0)}),o(!0)),t&&(i(t,function(a){(a||h)(!0)}),s(!0))}}}}}function s(a,c,d,e,f,g,h){function j(b){var e="$animate:"+b;x&&x[e]&&0<x[e].length&&o(function(){d.triggerHandler(e,{event:a,className:c})})}function k(){j("before")}function n(){j("after")}function p(){j("close"),h&&o(function(){h()})}function q(){q.hasBeenRun||(q.hasBeenRun=!0,g())}function s(){if(!s.hasBeenRun){s.hasBeenRun=!0;var b=d.data(l);b&&(t&&t.isClassBased?u(d,c):(o(function(){var b=d.data(l)||{};C==b.index&&u(d,c,a)}),d.data(l,b))),p()}}var t=r(d,a,c);if(t){c=t.className;var x=b.element._data(t.node),x=x&&x.events;e||(e=f?f.parent():d.parent());var y=d.data(l)||{};f=y.active||{};var z=y.totalActive||0,A=y.last;if(t.isClassBased&&(y.disabled||A&&!A.isClassBased)||v(d,e))q(),k(),n(),s();else{if(e=!1,z>0){if(y=[],t.isClassBased)"setClass"==A.event?(y.push(A),u(d,c)):f[c]&&(B=f[c],B.event==a?e=!0:(y.push(B),u(d,c)));else if("leave"==a&&f["ng-leave"])e=!0;else{for(var B in f)y.push(f[B]),u(d,B);f={},z=0}0<y.length&&i(y,function(a){a.cancel()})}if(!t.isClassBased||t.isSetClassOperation||e||(e="addClass"==a==d.hasClass(c)),e)q(),k(),n(),p();else{"leave"==a&&d.one("$destroy",function(a){a=b.element(this);var c=a.data(l);c&&(c=c.active["ng-leave"])&&(c.cancel(),u(a,"ng-leave"))}),d.addClass(m);var C=w++;z++,f[c]=t,d.data(l,{last:t,active:f,index:C,totalActive:z}),k(),t.before(function(b){var e=d.data(l);b=b||!e||!e.active[c]||t.isClassBased&&e.active[c].event!=a,q(),!0===b?s():(n(),t.after(s))})}}}else q(),k(),n(),s()}function t(a){(a=f(a))&&(a=b.isFunction(a.getElementsByClassName)?a.getElementsByClassName(m):a.querySelectorAll("."+m),i(a,function(a){a=b.element(a),(a=a.data(l))&&a.active&&i(a.active,function(a){a.cancel()})}))}function u(a,b){if(f(a)==f(k))n.disabled||(n.running=!1,n.structural=!1);else if(b){var c=a.data(l)||{},d=!0===b;!d&&c.active&&c.active[b]&&(c.totalActive--,delete c.active[b]),(d||!c.totalActive)&&(a.removeClass(m),a.removeData(l))}}function v(a,b){if(n.disabled)return!0;if(f(a)==f(k))return n.disabled||n.running;do{if(0===b.length)break;var c=f(b)==f(k),d=c?n:b.data(l),d=d&&(!!d.disabled||d.running||0<d.totalActive);if(c||d)return d;if(c)break}while(b=b.parent());return!0}var w=0;k.data(l,n),p.$$postDigest(function(){p.$$postDigest(function(){n.running=!1})});var x=e.classNameFilter(),y=x?function(a){return x.test(a)}:function(){return!0};return{enter:function(c,d,e,f){c=b.element(c),d=d&&b.element(d),e=e&&b.element(e),this.enabled(!1,c),a.enter(c,d,e),p.$$postDigest(function(){c=g(c),s("enter","ng-enter",c,d,e,h,f)})},leave:function(c,d){c=b.element(c),t(c),this.enabled(!1,c),p.$$postDigest(function(){s("leave","ng-leave",g(c),null,null,function(){a.leave(c)},d)})},move:function(c,d,e,f){c=b.element(c),d=d&&b.element(d),e=e&&b.element(e),t(c),this.enabled(!1,c),a.move(c,d,e),p.$$postDigest(function(){c=g(c),s("move","ng-move",c,d,e,h,f)})},addClass:function(c,d,e){c=b.element(c),c=g(c),s("addClass",d,c,null,null,function(){a.addClass(c,d)},e)},removeClass:function(c,d,e){c=b.element(c),c=g(c),s("removeClass",d,c,null,null,function(){a.removeClass(c,d)},e)},setClass:function(c,d,e,f){c=b.element(c),c=g(c),s("setClass",[d,e],c,null,null,function(){a.setClass(c,d,e)},f)},enabled:function(a,b){switch(arguments.length){case 2:if(a)u(b);else{var c=b.data(l)||{};c.disabled=!0,b.data(l,c)}break;case 1:n.disabled=!a;break;default:a=!n.disabled}return!!a}}}]),e.register("",["$window","$sniffer","$timeout","$$animateReflow",function(d,e,g,j){function l(a,b){H&&H(),U.push(b),H=j(function(){i(U,function(a){a()}),U=[],H=null,S={}})}function m(a,c){var d=f(a);a=b.element(d),X.push(a),d=Date.now()+c,W>=d||(g.cancel(V),W=d,V=g(function(){n(X),X=[]},c,!1))}function n(a){i(a,function(a){(a=a.data(N))&&(a.closeAnimationFn||h)()})}function o(a,b){var c=b?S[b]:null;if(!c){var e,f,g,h,j=0,l=0,m=0,n=0;i(a,function(a){if(a.nodeType==k){a=d.getComputedStyle(a)||{},g=a[C+I],j=Math.max(p(g),j),h=a[C+J],e=a[C+K],l=Math.max(p(e),l),f=a[E+K],n=Math.max(p(f),n);var b=p(a[E+I]);b>0&&(b*=parseInt(a[E+L],10)||1),m=Math.max(b,m)}}),c={total:0,transitionPropertyStyle:h,transitionDurationStyle:g,transitionDelayStyle:e,transitionDelay:l,transitionDuration:j,animationDelayStyle:f,animationDelay:n,animationDuration:m},b&&(S[b]=c)}return c}function p(a){var c=0;return a=b.isString(a)?a.split(/\s*,\s*/):[],i(a,function(a){c=Math.max(parseFloat(a)||0,c)}),c}function q(a){var b=a.parent(),c=b.data(M);return c||(b.data(M,++T),c=T),c+"-"+f(a).getAttribute("class")}function r(a,b,c,d){var e=q(b),g=e+" "+c,i=S[g]?++S[g].total:0,j={};if(i>0){var k=c+"-stagger",j=e+" "+k;(e=!S[j])&&b.addClass(k),j=o(b,j),e&&b.removeClass(k)}d=d||function(a){return a()},b.addClass(c);var k=b.data(N)||{},l=d(function(){return o(b,g)});return d=l.transitionDuration,e=l.animationDuration,0===d&&0===e?(b.removeClass(c),!1):(b.data(N,{running:k.running||0,itemIndex:i,stagger:j,timings:l,closeAnimationFn:h}),a=0<k.running||"setClass"==a,d>0&&s(b,c,a),e>0&&0<j.animationDelay&&0===j.animationDuration&&(f(b).style[E]="none 0s"),!0)}function s(a,b,c){"ng-enter"!=b&&"ng-move"!=b&&"ng-leave"!=b&&c?a.addClass(O):f(a).style[C+J]="none"}function t(a){var b=C+J,c=f(a);c.style[b]&&0<c.style[b].length&&(c.style[b]=""),a.removeClass(O)}function u(a){var b=E;a=f(a),a.style[b]&&0<a.style[b].length&&(a.style[b]="")}function v(a,b,c,d){function e(a){b.off(s,g),b.removeClass(j),A(b,c),a=f(b);for(var d in u)a.style.removeProperty(u[d])}function g(a){a.stopPropagation();var b=a.originalEvent||a;a=b.$manualTimeStamp||b.timeStamp||Date.now(),b=parseFloat(b.elapsedTime.toFixed(P)),Math.max(a-r,0)>=q&&b>=o&&d()}var h=f(b);if(a=b.data(N),-1!=h.getAttribute("class").indexOf(c)&&a){var j="";i(c.split(" "),function(a,b){j+=(b>0?" ":"")+a+"-active"});var k=a.stagger,l=a.timings,n=a.itemIndex,o=Math.max(l.transitionDuration,l.animationDuration),p=Math.max(l.transitionDelay,l.animationDelay),q=p*R,r=Date.now(),s=F+" "+D,t="",u=[];if(0<l.transitionDuration){var v=l.transitionPropertyStyle;-1==v.indexOf("all")&&(t+=G+"transition-property: "+v+";",t+=G+"transition-duration: "+l.transitionDurationStyle+";",u.push(G+"transition-property"),u.push(G+"transition-duration"))}return n>0&&(0<k.transitionDelay&&0===k.transitionDuration&&(t+=G+"transition-delay: "+w(l.transitionDelayStyle,k.transitionDelay,n)+"; ",u.push(G+"transition-delay")),0<k.animationDelay&&0===k.animationDuration&&(t+=G+"animation-delay: "+w(l.animationDelayStyle,k.animationDelay,n)+"; ",u.push(G+"animation-delay"))),0<u.length&&(l=h.getAttribute("style")||"",h.setAttribute("style",l+"; "+t)),b.on(s,g),b.addClass(j),a.closeAnimationFn=function(){e(),d()},h=(n*(Math.max(k.animationDelay,k.transitionDelay)||0)+(p+o)*Q)*R,a.running++,m(b,h),e}d()}function w(a,b,c){var d="";return i(a.split(","),function(a,e){d+=(e>0?",":"")+(c*b+parseInt(a,10))+"s"}),d}function x(a,b,c,d){return r(a,b,c,d)?function(a){a&&A(b,c)}:void 0}function y(a,b,c,d){return b.data(N)?v(a,b,c,d):(A(b,c),void d())}function z(a,b,c,d){var e=x(a,b,c);if(e){var f=e;return l(b,function(){t(b,c),u(b),f=y(a,b,c,d)}),function(a){(f||h)(a)}}d()}function A(a,b){a.removeClass(b);var c=a.data(N);c&&(c.running&&c.running--,c.running&&0!==c.running||a.removeData(N))}function B(a,c){var d="";return a=b.isArray(a)?a:a.split(/\s+/),i(a,function(a,b){a&&0<a.length&&(d+=(b>0?" ":"")+a+c)}),d}var C,D,E,F,G="";a.ontransitionend===c&&a.onwebkittransitionend!==c?(G="-webkit-",C="WebkitTransition",D="webkitTransitionEnd transitionend"):(C="transition",D="transitionend"),a.onanimationend===c&&a.onwebkitanimationend!==c?(G="-webkit-",E="WebkitAnimation",F="webkitAnimationEnd animationend"):(E="animation",F="animationend");var H,I="Duration",J="Property",K="Delay",L="IterationCount",M="$$ngAnimateKey",N="$$ngAnimateCSS3Data",O="ng-animate-block-transitions",P=3,Q=1.5,R=1e3,S={},T=0,U=[],V=null,W=0,X=[];return{enter:function(a,b){return z("enter",a,"ng-enter",b)},leave:function(a,b){return z("leave",a,"ng-leave",b)},move:function(a,b){return z("move",a,"ng-move",b)},beforeSetClass:function(a,b,c,d){var e=B(c,"-remove")+" "+B(b,"-add"),f=x("setClass",a,e,function(d){var e=a.attr("class");return a.removeClass(c),a.addClass(b),d=d(),a.attr("class",e),d});return f?(l(a,function(){t(a,e),u(a),d()}),f):void d()},beforeAddClass:function(a,b,c){var d=x("addClass",a,B(b,"-add"),function(c){return a.addClass(b),c=c(),a.removeClass(b),c});return d?(l(a,function(){t(a,b),u(a),c()}),d):void c()},setClass:function(a,b,c,d){return c=B(c,"-remove"),b=B(b,"-add"),y("setClass",a,c+" "+b,d)},addClass:function(a,b,c){return y("addClass",a,B(b,"-add"),c)},beforeRemoveClass:function(a,b,c){var d=x("removeClass",a,B(b,"-remove"),function(c){var d=a.attr("class");return a.removeClass(b),c=c(),a.attr("class",d),c});return d?(l(a,function(){t(a,b),u(a),c()}),d):void c()},removeClass:function(a,b,c){return y("removeClass",a,B(b,"-remove"),c)}}}])}])}(window,window.angular);