Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B89E2200C1E for ; Fri, 17 Feb 2017 17:12:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B7211160B3F; Fri, 17 Feb 2017 16:12:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 635C3160B6D for ; Fri, 17 Feb 2017 17:12:28 +0100 (CET) Received: (qmail 21970 invoked by uid 500); 17 Feb 2017 16:12:27 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 21875 invoked by uid 99); 17 Feb 2017 16:12:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 16:12:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 61BEEDFC63; Fri, 17 Feb 2017 16:12:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: uce@apache.org To: commits@flink.apache.org Date: Fri, 17 Feb 2017 16:12:28 -0000 Message-Id: <3e75010c85974f3084bc6d8b62f4c191@git.apache.org> In-Reply-To: <2ee4ff4260974dff9e6ebf59f8b42c01@git.apache.org> References: <2ee4ff4260974dff9e6ebf59f8b42c01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] flink git commit: [FLINK-5825] [webui] Rebuild web frontend archived-at: Fri, 17 Feb 2017 16:12:30 -0000 http://git-wip-us.apache.org/repos/asf/flink/blob/09fe4b0b/flink-runtime-web/web-dashboard/web/js/vendor.js ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/js/vendor.js b/flink-runtime-web/web-dashboard/web/js/vendor.js index c6de0b4..135358e 100644 --- a/flink-runtime-web/web-dashboard/web/js/vendor.js +++ b/flink-runtime-web/web-dashboard/web/js/vendor.js @@ -4,9 +4,9 @@ for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:l(function(t,e,n){for(var r= var i=[],s=[],u=[],l=t("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:e("$provide","decorator"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:l,run:function(t){return u.push(t),this}};return a&&l(a),c})}})}function yt(t){var e=[];return JSON.stringify(t,function(t,n){if(n=U(t,n),w(n)){if(e.indexOf(n)>=0)return"...";e.push(n)}return n})}function bt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):b(t)?"undefined":"string"!=typeof t?yt(t):t}function xt(e){f(e,{bootstrap:at,copy:z,extend:f,merge:d,equals:R,element:Ar,forEach:o,injector:te,noop:g,bind:H,toJson:Y,fromJson:G,identity:v,isUndefined:b,isDefined:x,i sString:k,isFunction:C,isObject:w,isNumber:_,isElement:L,isArray:Wr,version:ni,isDate:M,lowercase:kr,uppercase:Mr,callbacks:{counter:0},getTestability:ut,$$minErr:r,$$csp:Hr,reloadWithDebugInfo:st}),(Nr=mt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:bn}),t.provider("$compile",ce).directive({a:yo,input:Io,textarea:Io,form:ko,script:Sa,select:Ta,style:Da,option:Na,ngBind:Fo,ngBindHtml:zo,ngBindTemplate:qo,ngClass:Ro,ngClassEven:Vo,ngClassOdd:Bo,ngCloak:Ho,ngController:Uo,ngForm:_o,ngHide:wa,ngIf:Xo,ngInclude:Zo,ngInit:Ko,ngNonBindable:da,ngPluralize:va,ngRepeat:ma,ngShow:xa,ngStyle:$a,ngSwitch:ka,ngSwitchWhen:_a,ngSwitchDefault:Ma,ngOptions:ga,ngTransclude:Ca,ngModel:la,ngList:Jo,ngChange:Wo,pattern:ja,ngPattern:ja,required:Oa,ngRequired:Oa,minlength:La,ngMinlength:La,maxlength:Ia,ngMaxlength:Ia,ngValue:Po,ngModelOptions:fa}).directive({ngInclude:Qo}).directive(bo).directive(Yo),t.provider({$anchorScroll:ee,$animate:Di,$animateCss:Oi,$$animateQueue:Ni,$$Ani mateRunner:Ti,$browser:se,$cacheFactory:ue,$controller:ge,$document:ve,$exceptionHandler:me,$filter:On,$$forceReflow:Fi,$interpolate:Ne,$interval:De,$http:Se,$httpParamSerializer:be,$httpParamSerializerJQLike:xe,$httpBackend:Ae,$xhrFactory:Ee,$location:Ue,$log:Ye,$parse:hn,$rootScope:yn,$q:pn,$$q:gn,$sce:kn,$sceDelegate:$n,$sniffer:_n,$templateCache:le,$templateRequest:Mn,$$testability:Cn,$timeout:Sn,$window:Tn,$$rAF:mn,$$jqLite:Xt,$$HashMap:wi,$$cookieReader:Dn})}])}function wt(){return++ii}function $t(t){return t.replace(si,function(t,e,n,r){return r?n.toUpperCase():n}).replace(ui,"Moz$1")}function kt(t){return!di.test(t)}function _t(t){var e=t.nodeType;return e===Zr||!e||e===ti}function Mt(t){for(var e in ri[t.ng339])return!0;return!1}function Ct(t,e){var n,r,i,a,s=e.createDocumentFragment(),u=[];if(kt(t))u.push(e.createTextNode(t));else{for(n=n||s.appendChild(e.createElement("div")),r=(hi.exec(t)||["",""])[1].toLowerCase(),i=gi[r]||gi._default,n.innerHTML=i[1]+t.replace(pi,"<$1> ")+i[2],a=i[0];a--;)n=n.lastChild;u=B(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(t){s.appendChild(t)}),s}function St(t,n){n=n||e;var r;return(r=fi.exec(t))?[n.createElement(r[1])]:(r=Ct(t,n))?r.childNodes:[]}function Et(t){if(t instanceof Et)return t;var e;if(k(t)&&(t=Br(t),e=!0),!(this instanceof Et)){if(e&&"<"!=t.charAt(0))throw ci("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Et(t)}e?Ft(this,St(t)):Ft(this,t)}function At(t){return t.cloneNode(!0)}function Tt(t,e){if(e||Dt(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r0||(ai(t,e,s),delete a[e])};o(e.split(" "),function(t){u(t ),li[t]&&u(li[t])})}else for(e in a)"$destroy"!==e&&ai(t,e,s),delete a[e]}function Dt(t,e){var r=t.ng339,i=r&&ri[r];if(i){if(e)return void delete i.data[e];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Nt(t)),delete ri[r],t.ng339=n}}function Ot(t,e){var r=t.ng339,i=r&&ri[r];return e&&!i&&(t.ng339=r=wt(),i=ri[r]={events:{},data:{},handle:n}),i}function jt(t,e,n){if(_t(t)){var r=x(n),i=!r&&e&&!w(e),o=!e,a=Ot(t,!i),s=a&&a.data;if(r)s[e]=n;else{if(o)return s;if(i)return s&&s[e];f(s,e)}}}function It(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Lt(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",Br((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Br(e)+" "," ")))})}function Pt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=Br(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttr ibute("class",Br(n))}}function Ft(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r1&&(i=W(i));for(var u=0;ul&&this.remove(h.key),e}},get:function(t){if(l").parent()[0])});var a=j(t,e,t,n,r,i);D.$$addScopeClass(t);var s=null;return function(e,n,r){ft(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};var o=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;o&&o.$$boundTransclude&&(o=o.$$boundTransclude),s||(s=O(l));var c;if(c="html"!==s?Ar(J(s,Ar("
").append(t).html())):n?mi.clone.call(t):t,u)for(var f in u)c.d ata("$"+f+"Controller",u[f].instance);return D.$$addScopeInfo(c,e),n&&n(c,e),a&&a(e,c,c,o),c}}function O(t){var e=t&&t[0];return e&&"foreignobject"!==F(e)&&e.toString().match(/SVG/)?"svg":"html"}function j(t,e,r,i,o,a){function s(t,r,i,o){var a,s,u,l,c,f,d,h,v;if(p){var m=r.length;for(v=new Array(m),c=0;c0)}else r.push(t);return Ar(r)}function z(t,e,n){return function(r,i,o,a,s){return i=P(i[0],e,n),t(r,i,o,a,s)}}function W(t,r,o,a,s,l,c,f,d){function h(t,e,n,r){t&&(n&&(t=z(t,n,r)),t.require=m.require,t.directiveName=y,(T===m||m.$$isolateScope)&&(t=rt(t,{isolateScope:!0})),c.push(t)),e&&(n&&(e=z(e,n,r)),e.require=m.require,e.directiveName=y,(T===m||m.$$isolateScope)&&(e=rt(e,{isolateScope:!0})),f.push(e))}function p(t,e,n,r){var i;if(k(e)){var o=e.match($),a=e.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var l="$"+a+"Controller";i=s?n.inheritedData(l):n .data(l)}if(!i&&!u)throw ji("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(Wr(e)){i=[];for(var c=0,f=e.length;c=0;H--)l=f[H],it(l,l.isolateScope?d:e,y,b,l.require&&p(l.directiveName,l.require,y,v),m)}d=d||{};for(var m,y,b,x,_,M=-Number.MAX_VALUE,S=d.newScopeDirective,E=d.controllerDirectives,T=d.newIsolateScopeDirective,N=d.templateDirective,O=d.nonTlbTranscludeDirective,j=!1,I=!1,F=d.hasElementTranscludeDirective,q=o.$$element=Ar(r),W=l,R=a,H=0,U=t.length;Hm.priority)break;if((_=m.scope)&&(m.templateUrl||(w(_)?(Z("new/isolated scope",T||S,m,q),T=m):Z("new/isolated scope",T,m,q)),S=S||m),y=m.name,!m.templateUrl&&m.controller&&(_=m.controller,E=E||vt(),Z("'"+y+"' controller",E[ y],m,q),E[y]=m),(_=m.transclude)&&(j=!0,m.$$tlb||(Z("transclusion",O,m,q),O=m),"element"==_?(F=!0,M=m.priority,b=q,q=o.$$element=Ar(e.createComment(" "+y+": "+o[y]+" ")),r=q[0],nt(s,V(b),r),R=D(b,a,M,W&&W.name,{nonTlbTranscludeDirective:O})):(b=Ar(At(r)).contents(),q.empty(),R=D(b,a,n,n,{needsNewScope:m.$$isolateScope||m.$$newScope}))),m.template)if(I=!0,Z("template",N,m,q),N=m,_=C(m.template)?m.template(q,o):m.template,_=ct(_),m.replace){if(W=m,b=kt(_)?[]:he(J(m.templateNamespace,Br(_))),r=b[0],1!=b.length||r.nodeType!==Zr)throw ji("tplrt","Template for directive '{0}' must have exactly one root element. {1}",y,"");nt(s,q,r);var tt={$attr:{}},et=L(r,[],tt),st=t.splice(H+1,t.length-(H+1));(T||S)&&B(et,T,S),t=t.concat(et).concat(st),Y(o,tt),U=t.length}else q.html(_);if(m.templateUrl)I=!0,Z("template",N,m,q),N=m,m.replace&&(W=m),v=G(t.splice(H,t.length-H),q,o,s,j&&R,c,f,{controllerDirectives:E,newScopeDirective:S!==m&&S,newIsolateScopeDirective:T,templateDirective:N,nonTlbTranscludeDi rective:O}),U=t.length;else if(m.compile)try{x=m.compile(q,o,R),C(x)?h(null,x,X,Q):x&&h(x.pre,x.post,X,Q)}catch(ut){i(ut,K(q))}m.terminal&&(v.terminal=!0,M=Math.max(M,m.priority))}return v.scope=S&&S.scope===!0,v.transcludeOnThisElement=j,v.templateOnThisElement=I,v.transclude=R,d.hasElementTranscludeDirective=F,v}function B(t,e,n){for(var r=0,i=t.length;rd.priority)&&d.restrict.indexOf(r)!=-1&&(s&&(d=p(d,{$$start:s,$$end:u})),e.push(d),f=d)}catch(m){i(m)}return f}function U(e){if(l.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default: return n}}function tt(t,e){if("srcdoc"==e)return S.HTML;var n=F(t);return"xlinkHref"==e||"form"==n&&"action"==e||"img"!=n&&("src"==e||"ngSrc"==e)?S.RESOURCE_URL:void 0}function et(t,e,n,i,o){var a=tt(t,i);o=y[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===F(t))throw ji("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(t));e.push({priority:100,compile:function(){return{pre:function(t,e,u){var l=u.$$observers||(u.$$observers=vt());if(_.test(i))throw ji("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==n&&(s=c&&r(c,!0,a,o),n=c),s&&(u[i]=s(t),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||t).$watch(s,function(t,e){"class"===i&&t!=e?u.$updateClass(t,e):u.$set(i,t)}))}}}})}}function nt(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&E.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&E.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=de(t,e);n&&n.length&&E.addClass(this.$$element,n);var r=de(e,t);r&&r.length&&E.removeClass(this.$$element,r)},$set:function(t,e,n,r){var a,s=this.$$element[0],u=Vt(s,t),l=Ht(t),c=t;if(u?(this.$$element.prop(t,e),r=u):l&&(this[l]=e,c=l),this[t]=e,r?this.$attr[t]=r:(r=t his.$attr[t],r||(this.$attr[t]=r=lt(t,"-"))),a=F(this.$$element),"a"===a&&"href"===t||"img"===a&&"src"===t)this[t]=e=T(e,"src"===t);else if("img"===a&&"srcset"===t){for(var f="",d=Br(e),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,g=d.split(p),v=Math.floor(g.length/2),m=0;m0?" ":"")+a}return n}function he(t){t=Ar(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];n.nodeType===Jr&&Or.call(t,e,1)}return t}function pe(t,e){if(e&&k(e))return e;if(k(t)){var n=Pi.exec(t);if(n)return n[3]}}function ge(){var t={},e=!1;this.register=function(e,n){ht(e,"controller"),w(e)?f(t,e):t[e]=n},this.allowGlobals=function(){e=!0},this.$get=["$injector","$window",function(i,o){function a(t,e,n,i){if(!t||!w(t.$scope))throw r("$controller")("noscp","C annot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,e);t.$scope[e]=n}return function(r,s,u,l){var c,d,h,p;if(u=u===!0,l&&k(l)&&(p=l),k(r)){if(d=r.match(Pi),!d)throw Li("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);h=d[1],p=p||d[3],r=t.hasOwnProperty(h)?t[h]:pt(s.$scope,h,!0)||(e?pt(o,h,!0):n),dt(r,h,!0)}if(u){var g=(Wr(r)?r[r.length-1]:r).prototype;c=Object.create(g||null),p&&a(s,p,c,h||r.name);var v;return v=f(function(){var t=i.invoke(r,c,s,h);return t!==c&&(w(t)||C(t))&&(c=t,p&&a(s,p,c,h||r.name)),c},{instance:c,identifier:p})}return c=i.instantiate(r,s,h),p&&a(s,p,c,h||r.name),c}}]}function ve(){this.$get=["$window",function(t){return Ar(t.document)}]}function me(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function ye(t){return w(t)?M(t)?t.toISOString():Y(t):t}function be(){this.$get=function(){return function(t){if(!t)return"";var e=[];return a(t,function( t,n){null===t||b(t)||(Wr(t)?o(t,function(t,r){e.push(rt(n)+"="+rt(ye(t)))}):e.push(rt(n)+"="+rt(ye(t)))); }),e.join("&")}}}function xe(){this.$get=function(){return function(t){function e(t,r,i){null===t||b(t)||(Wr(t)?o(t,function(t,n){e(t,r+"["+(w(t)?n:"")+"]")}):w(t)&&!M(t)?a(t,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):n.push(rt(r)+"="+rt(ye(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function we(t,e){if(k(t)){var n=t.replace(Bi,"").trim();if(n){var r=e("Content-Type");(r&&0===r.indexOf(qi)||$e(n))&&(t=G(n))}}return t}function $e(t){var e=t.match(Wi);return e&&Ri[e[0]].test(t)}function ke(t){function e(t,e){t&&(r[t]=r[t]?r[t]+", "+e:e)}var n,r=vt();return k(t)?o(t.split("\n"),function(t){n=t.indexOf(":"),e(kr(Br(t.substr(0,n))),Br(t.substr(n+1)))}):w(t)&&o(t,function(t,n){e(kr(n),Br(t))}),r}function _e(t){var e;return function(n){if(e||(e=ke(t)),n){var r=e[kr(n)];return void 0===r&&(r=null),r}return e}}function Me(t,e,n,r){return C(r)?r(t,e,n):(o(r,function(r){t=r(t,e,n)}),t)}function Ce(t){return 200<=t&&t<300}function Se(){var t=this.defaults={transformRespons e:[we],transformRequest:[function(t){return!w(t)||T(t)||D(t)||N(t)?t:Y(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:W(zi),put:W(zi),patch:W(zi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},e=!1;this.useApplyAsync=function(t){return x(t)?(e=!!t,this):e};var i=!0;this.useLegacyPromiseExtensions=function(t){return x(t)?(i=!!t,this):i};var a=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,u,l,c,d,h){function p(e){function a(t){var e=f({},t);return e.data=Me(t.data,t.headers,t.status,l.transformResponse),Ce(t.status)?e:d.reject(e)}function s(t,e){var n,r={};return o(t,function(t,i){C(t)?(n=t(e),null!=n&&(r[i]=n)):r[i]=t}),r}function u(e){var n,r,i,o=t.headers,a=f({},e.headers);o=f({},o.common,o[kr(e.method)]);t:for(n in o){r=kr(n);for(i in a)if(kr(i)===r)continue t;a[n]=o[n]}return s(a,W(e))}if(!Fr.isObject(e))throw r("$http")("badreq"," Http request configuration must be an object. Received: {0}",e);var l=f({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer},e);l.headers=u(e),l.method=Mr(l.method),l.paramSerializer=k(l.paramSerializer)?h.get(l.paramSerializer):l.paramSerializer;var c=function(e){var r=e.headers,i=Me(e.data,_e(r),n,e.transformRequest);return b(i)&&o(r,function(t,e){"content-type"===kr(e)&&delete r[e]}),b(e.withCredentials)&&!b(t.withCredentials)&&(e.withCredentials=t.withCredentials),m(e,i).then(a,a)},p=[c,n],g=d.when(l);for(o(_,function(t){(t.request||t.requestError)&&p.unshift(t.request,t.requestError),(t.response||t.responseError)&&p.push(t.response,t.responseError)});p.length;){var v=p.shift(),y=p.shift();g=g.then(v,y)}return i?(g.success=function(t){return dt(t,"fn"),g.then(function(e){t(e.data,e.status,e.headers,l)}),g},g.error=function(t){return dt(t,"fn"),g.then(null,function(e){t(e.data,e.status,e.headers,l)}),g}):(g.su ccess=Hi("success"),g.error=Hi("error")),g}function g(t){o(arguments,function(t){p[t]=function(e,n){return p(f({},n||{},{method:t,url:e}))}})}function v(t){o(arguments,function(t){p[t]=function(e,n,r){return p(f({},r||{},{method:t,url:e,data:n}))}})}function m(r,i){function o(t,n,r,i){function o(){a(n,t,r,i)}h&&(Ce(t)?h.put(_,[t,n,ke(r),i]):h.remove(_)),e?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function a(t,e,n,i){e=e>=-1?e:0,(Ce(e)?v.resolve:v.reject)({data:t,status:e,headers:_e(n),config:r,statusText:i})}function l(t){a(t.data,t.status,W(t.headers()),t.statusText)}function f(){var t=p.pendingRequests.indexOf(r);t!==-1&&p.pendingRequests.splice(t,1)}var h,g,v=d.defer(),m=v.promise,k=r.headers,_=y(r.url,r.paramSerializer(r.params));if(p.pendingRequests.push(r),m.then(f,f),!r.cache&&!t.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=w(r.cache)?r.cache:w(t.cache)?t.cache:$),h&&(g=h.get(_),x(g)?j(g)?g.then(l,l):Wr(g)?a(g[1],g[0],W(g[2]),g[3]):a(g,200,{},"OK"):h.put(_ ,m)),b(g)){var M=An(r.url)?u()[r.xsrfCookieName||t.xsrfCookieName]:n;M&&(k[r.xsrfHeaderName||t.xsrfHeaderName]=M),s(r.method,_,i,o,k,r.timeout,r.withCredentials,r.responseType)}return m}function y(t,e){return e.length>0&&(t+=(t.indexOf("?")==-1?"?":"&")+e),t}var $=l("$http");t.paramSerializer=k(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var _=[];return o(a,function(t){_.unshift(k(t)?h.get(t):h.invoke(t))}),p.pendingRequests=[],g("get","delete","head","jsonp"),v("post","put","patch"),p.defaults=t,p}]}function Ee(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Ae(){this.$get=["$browser","$window","$document","$xhrFactory",function(t,e,n,r){return Te(t,r,t.defer,e.angular.callbacks,n[0])}]}function Te(t,e,n,r,i){function a(t,e,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){ai(o,"load",a),ai(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r[e ].called||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},oi(o,"load",a),oi(o,"error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,f,d,h){function p(){y&&y(),w&&w.abort()}function v(e,r,i,o,a){x(_)&&n.cancel(_),y=w=null,e(r,i,o,a),t.$$completeOutstandingRequest(g)}if(t.$$incOutstandingRequestCount(),s=s||t.url(),"jsonp"==kr(i)){var m="_"+(r.counter++).toString(36);r[m]=function(t){r[m].data=t,r[m].called=!0};var y=a(s.replace("JSON_CALLBACK","angular.callbacks."+m),m,function(t,e){v(l,t,r[m].data,"",e),r[m]=g})}else{var w=e(i,s);w.open(i,s,!0),o(c,function(t,e){x(t)&&w.setRequestHeader(e,t)}),w.onload=function(){var t=w.statusText||"",e="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=e?200:"file"==En(s).protocol?404:0),v(l,n,e,w.getAllResponseHeaders(),t)};var $=function(){v(l,-1,null,null,"")};if(w.onerror=$,w.onabort=$,d&&(w.withCredentials=!0),h)try{w.responseType=h}catch(k){if("json"!==h)throw k}w.send(b(u)?null:u)}if( f>0)var _=n(p,f);else j(f)&&f.then(p)}}function Ne(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function a(n){return n.replace(d,t).replace(h,e)}function s(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=Y(t)}return t}function u(o,u,d,h){function p(t){try{return t=E(t),h&&!x(t)?t:s(t)}catch(e){r(Ui.interr(o,e))}}h=!!h;for(var g,v,m,y=0,w=[],$=[],k=o.length,_=[],M=[];y1&&Ui.throwNoconcat(o),!u||w.length){var S=function(t){for(var e=0,n=w.length;e4,c=l?V(arguments,4):[],f=e.setInterval,d=e.clearInterval,h=0,p=x(u)&&!u,g=(p?r:n).defer(),v=g.promise;return s=x(s)?s:0,v.then(null,null,l?function(){i.apply(null,c)}:i),v.$$intervalId=f(function(){g.notify(h++),s>0&&h>=s&&(g.resolve(h),d(v.$$intervalId),delete o[v.$$intervalId]),p||t.$apply()},a),o[v.$$intervalId]=g,v}var o={};return i.cancel=function(t){return!!(t&&t.$$intervalId in o)&&(o[t.$$intervalId].r eject("canceled"),e.clearInterval(t.$$intervalId),delete o[t.$$intervalId],!0)},i}]}function Oe(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=nt(e[n]);return e.join("/")}function je(t,e){var n=En(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=h(n.port)||Gi[n.protocol]||null}function Ie(t,e){var n="/"!==t.charAt(0);n&&(t="/"+t);var r=En(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=tt(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Le(t,e){if(0===e.indexOf(t))return e.substr(t.length)}function Pe(t){var e=t.indexOf("#");return e==-1?t:t.substr(0,e)}function Fe(t){return t.replace(/(#.+)|#$/,"$1")}function qe(t){return t.substr(0,Pe(t).lastIndexOf("/")+1)}function ze(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function We(t,e,n){this.$$html5=!0,n=n||"",je(t,this),this.$$parse=function(t){var n=Le(e,t);if(!k(n))throw Xi("ipthprfx",'Inva lid url "{0}", missing path prefix "{1}".',t,e);Ie(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=et(this.$$search),n=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=Oe(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return x(o=Le(t,r))?(a=o,s=x(o=Le(n,o))?e+(Le("/",o)||o):t+a):x(o=Le(e,r))?s=e+o:e==r+"/"&&(s=e),s&&this.$$parse(s),!!s}}function Re(t,e,n){je(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===e.indexOf(n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,a=Le(t,r)||Le(e,r);b(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",b(a)&&(t=r,this.replace())):(o=Le(n,a),b(o)&&(o=a)),Ie(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=et(this.$$search),r=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=Oe(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+ (this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return Pe(t)==Pe(e)&&(this.$$parse(e),!0)}}function Be(t,e,n){this.$$html5=!0,Re.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return t==Pe(r)?o=r:(a=Le(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=et(this.$$search),r=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=Oe(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url}}function Ve(t){return function(){return this[t]}}function He(t,e){return function(n){return b(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Ue(){var t="",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return x(e)?(t=e,this):t},this.html5Mode=function(t){return O(t)?(e.enabled=t,this):w(t)?(O(t.enabled)&&(e.enabled=t.enabled),O(t.requireBase)&&(e.requireBase=t.requireBase),O(t.rewriteLinks)&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope"," $browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(t,e,n){var i=l.url(),o=l.$$state;try{r.url(t,e,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}var l,c,f,d=r.baseHref(),h=r.url();if(e.enabled){if(!d&&e.requireBase)throw Xi("nobase","$location in HTML5 mode requires a tag to be present!");f=ze(h)+(d||"/"),c=i.history?We:Be}else f=Pe(h),c=Re;var p=qe(f);l=new c(f,p,"#"+t),l.$$parseLinkUrl(h,h),l.$$state=r.state();var g=/^\s*(javascript|mailto):/i;o.on("click",function(t){if(e.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!=t.which&&2!=t.button){for(var i=Ar(t.target);"a"!==F(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=En(s.animVal).href),g.test(s)||!s||i.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(t.preventDefault() ,l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),Fe(l.absUrl())!=Fe(h)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(t,e){return b(Le(p,t))?void(a.location.href=t):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;t=Fe(t),l.$$parse(t),l.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,l.absUrl()===t&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(v=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var t=Fe(r.url()),e=Fe(l.absUrl()),o=r.state(),a=l.$$replace,c=t!==e||l.$$html5&&i.history&&o!==l.$$state;(v||c)&&(v=!1,n.$evalAsync(function(){var e=l.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,l.$$state,o).defaultPrevented;l.absUrl()===e&&(r?(l.$$parse(t),l.$$state=o):(c&&s(e,a,o===l.$$state?null:l.$$state),u(t,o)))})),l.$$replace=!1}),l}]}function Ye(){var t=!0,e=this;this.debugEnabled=function(e){return x(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Erro r&&(t.stack?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function i(t){var e=n.console||{},i=e[t]||e.log||g,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var t=[];return o(arguments,function(e){t.push(r(e))}),i.apply(e,t)}:function(t,e){i(t,null==e?"":e)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function Ge(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw Qi("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function Xe(t,e){if(t+="",!k(t))throw Qi("iseccst","Cannot convert object to primitive value! Expression: {0}",e);return t}function Ze(t,e){if(t){if(t.constructor===t)throw Qi("isecfn","Referencing Function in Angular expressions is disallowe d! Expression: {0}",e);if(t.window===t)throw Qi("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw Qi("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw Qi("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function Qe(t,e){if(t){if(t.constructor===t)throw Qi("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===Ki||t===Ji||t===to)throw Qi("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function Ke(t,e){if(t&&(t===(0).constructor||t===(!1).constructor||t==="".constructor||t==={}.constructor||t===[].constructor||t===Function.constructor))throw Qi("isecaf","Assigning to a constructor is disallowed! Expression: {0}",e)}function Je(t,e){return"undefined"!=typeof t?t:e}function tn(t,e){retu rn"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function en(t,e){var n=t(e);return!n.$stateful}function nn(t,e){var n,r;switch(t.type){case io.Program:n=!0,o(t.body,function(t){nn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case io.Literal:t.constant=!0,t.toWatch=[];break;case io.UnaryExpression:nn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case io.BinaryExpression:nn(t.left,e),nn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case io.LogicalExpression:nn(t.left,e),nn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case io.ConditionalExpression:nn(t.test,e),nn(t.alternate,e),nn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case io.Identifier:t.constant=!1,t.toWatch=[t];break;case io.MemberExpression:nn(t.object,e),t.computed&&nn(t.property,e) ,t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case io.CallExpression:n=!!t.filter&&en(e,t.callee.name),r=[],o(t.arguments,function(t){nn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=t.filter&&en(e,t.callee.name)?r:[t];break;case io.AssignmentExpression:nn(t.left,e),nn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case io.ArrayExpression:n=!0,r=[],o(t.elements,function(t){nn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=r;break;case io.ObjectExpression:n=!0,r=[],o(t.properties,function(t){nn(t.value,e),n=n&&t.value.constant,t.value.constant||r.push.apply(r,t.value.toWatch)}),t.constant=n,t.toWatch=r;break;case io.ThisExpression:t.constant=!1,t.toWatch=[]}}function rn(t){if(1==t.length){var e=t[0].expression,r=e.toWatch;return 1!==r.length?r:r[0]!==e?r:n}}function on(t){return t.type===io.Identifier||t.type===io.MemberExpression}function an (t){if(1===t.body.length&&on(t.body[0].expression))return{type:io.AssignmentExpression,left:t.body[0].expression,right:{type:io.NGValueParameter},operator:"="}}function sn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===io.Literal||t.body[0].expression.type===io.ArrayExpression||t.body[0].expression.type===io.ObjectExpression)}function un(t){return t.constant}function ln(t,e){this.astBuilder=t,this.$filter=e}function cn(t,e){this.astBuilder=t,this.$filter=e}function fn(t){return"constructor"==t}function dn(t){return C(t.valueOf)?t.valueOf():ao.call(t)}function hn(){var t=vt(),e=vt();this.$get=["$filter",function(r){function i(t,e){return null==t||null==e?t===e:("object"!=typeof t||(t=dn(t),"object"!=typeof t))&&(t===e||t!==t&&e!==e)}function a(t,e,r,o,a){var s,u=o.inputs;if(1===u.length){var l=i;return u=u[0],t.$watch(function(t){var e=u(t);return i(e,l)||(s=o(t,n,n,[e]),l=e&&dn(e)),s},e,r,a)}for(var c=[],f=[],d=0,h=u.length;d0&&l(this.$$state),r.promise},"catch":function(t){return this.then(null,t)},"finally":function(t,e){return this.then(function(e){re turn m(e,!0,t)},function(e){return m(e,!1,t)},e)}}),f(c.prototype,{resolve:function(t){this.promise.$$state.status||(t===this.promise?this.$$reject(h("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):this.$$resolve(t))},$$resolve:function(t){var n,r;r=i(this,this.$$resolve,this.$$reject);try{(w(t)||C(t))&&(n=t&&t.then),C(n)?(this.promise.$$state.status=-1,n.call(t,r[0],r[1],this.notify)):(this.promise.$$state.value=t,this.promise.$$state.status=1,l(this.promise.$$state))}catch(o){r[1](o),e(o)}},reject:function(t){this.promise.$$state.status||this.$$reject(t)},$$reject:function(t){this.promise.$$state.value=t,this.promise.$$state.status=2,l(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&t(function(){for(var t,i,o=0,a=r.length;o=0&&y(o,-1),a=null}},$watchGroup:function(t,e){function n(){u=!1,l?(l=!1,e(i,i,s)):e(i,r,s)}var r=new Array(t.l ength),i=new Array(t.length),a=[],s=this,u=!1,l=!0;if(!t.length){var c=!0;return s.$evalAsync(function(){c&&e(i,i,s)}),function(){c=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){i[0]=t,r[0]=n,e(i,t===n?i:r,o)}):(o(t,function(t,e){var o=s.$watch(t,function(t,o){i[e]=t,r[e]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function n(t){o=t;var e,n,r,s,u;if(!b(o)){if(w(o))if(i(o)){a!==h&&(a=h,v=a.length=0,f++),e=o.length,v!==e&&(f++,a.length=v=e);for(var l=0;le){f++;for(n in a)_r.call(o,n)||(v--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(g?(g=!1,e(o,o,u)):e(o,s,u),l)if(w(o))if(i(o)){s=new Array(o.length);for(var t=0;t1,f=0,d=c(t,n),h=[],p={},g=!0,v=0;return this.$watch(d,r)},$digest:function(){var t,r,i,o,u,c,d,h,p,g,y=e,b=this,x=[];v("$digest"),f.$$checkUrlChange(),this===M&&null!==s&&(f.defer.cancel(s),k()),a=null;do{for(c=!1,h=b;S.length;){try{g=S.shift(),g.scope.$eval(g.expression,g.locals)}catch(w){l(w)}a=null}t:do{if(o=h.$$watchers)for(u=o.length;u--;)try{if(t=o[u])if((r=t.get(h))===(i=t.last)||(t.eq?R(r,i):"number"==typeof r&&"number"==typeof i&&isNaN(r)&&isNaN(i))){if(t===a){c=!1;break t}}else c=!0,a=t,t.last=t.eq?z(r,null):r,t.fn(r,i===$?r:i,h),y<5&&(p=4-y,x[p]||(x[p]=[]),x[p].push({msg:C(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:r,oldVal:i}))}catch(w){l(w)}if(!(d=h.$$watchersCount&&h.$$childHead||h!==b&&h.$$nextSibling))for(;h!==b&&!(d=h.$$nextSibling);)h=h.$parent}while(h=d);if((c||S.length)&&!y--)throw m(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,x)}whi le(c||S.length);for(m();E.length;)try{E.shift()()}catch(w){l(w)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===M&&f.$$applicationDestroyed(),y(this,-this.$$watchersCount);for(var e in this.$$listenerCount)x(this,this.$$listenerCount[e],e);t&&t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=g,this.$on=this.$watch=this.$watchGroup=function(){return g},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(t,e){return c(t)(this,e)},$evalAsync:function(t,e){M.$$phase||S.length||f.defer(function(){S.length&&M.$digest()}),S.push({scope:this,expression:t,locals:e})},$$postDigest:function(t){E.push(t)},$apply:function(t){try{v ("$apply");try{return this.$eval(t)}finally{m()}}catch(e){l(e)}finally{try{M.$digest()}catch(e){throw l(e),e}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&A.push(e),_()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var r=this;do r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(e);r!==-1&&(n[r]=null,x(i,1,t))}},$emit:function(t,e){var n,r,i,o=[],a=this,s=!1,u={name:t,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=B([u],arguments,1);do{for(n=a.$$listeners[t]||o,u.currentScope=a,r=0,i=n.length;r-1)throw so("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Vr(t).replace("\\* \\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(S(t))return new RegExp("^"+t.source+"$");throw so("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function wn(t){var e=[];return x(t)&&o(t,function(t){e.push(xn(t))}),e}function $n(){this.SCE_CONTEXTS=uo;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=wn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=wn(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?An(e):!!t.exec(e.href)}function i(n){var i,o,a=En(n.toString()),s=!1;for(i=0,o=t.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=W(uo);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=v),r.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,function(e){return r.getTrusted(t,e)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(uo,function(t,e){var n=kr(e);r[$t("parse_as_"+n)]=function(e){return i(t,e)},r[$t("get_trusted_"+n)]=function(e){return a(t,e)},r[$t("trust_as_"+n)]=function(e){return s(t,e)}}),r}]}function _n(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=h((/android (\d+)/.exec(kr((t.navigator| |{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,l=s.body&&s.body.style,c=!1,f=!1;if(l){for(var d in l)if(r=u.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),c=!!("transition"in l||n+"Transition"in l),f=!!("animation"in l||n+"Animation"in l),!o||c&&f||(c=k(l.webkitTransition),f=k(l.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||o<4||a),hasEvent:function(t){if("input"===t&&Er<=11)return!1;if(b(i[t])){var e=s.createElement("div");i[t]="on"+t in e}return i[t]},csp:Hr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}function Mn(){this.$get=["$templateCache","$http","$q","$sce",function(t,e,n,r){function i(o,a){function s(t){if(!a)throw ji("tpload","Failed to load template: {0} (HTTP status: {1} {2})",o,t.status,t.statusText);return n.reject(t)}i.totalPendingRequests++,k(o)&&t.get(o)||(o=r.getTrustedResourceUrl(o));var u=e.defaults&&e.defaults. transformResponse;Wr(u)?u=u.filter(function(t){return t!==we}):u===we&&(u=null);var l={cache:t,transformResponse:u};return e.get(o,l)["finally"](function(){i.totalPendingRequests--}).then(function(e){return t.put(o,e.data),e.data},s)}return i.totalPendingRequests=0,i}]}function Cn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var r={};return r.findBindings=function(t,e,n){var r=t.getElementsByClassName("ng-binding"),i=[];return o(r,function(t){var r=Fr.element(t).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Vr(e)+"(\\s|\\||$)");o.test(r)&&i.push(t)}else r.indexOf(e)!=-1&&i.push(t)})}),i},r.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=e(o.substring(0,s)),b(r[u])&&(r[u]=e(o.substring(s+1))));return r}}function Dn(){this.$get=Nn}function On(t){function e(r,i){if(w(r)){var a={};return o(r,function(t,n){a[n]=e(n,t)}),a}return t.factory(r+n,i)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Fn),e("date",Qn),e("filter",jn),e("json",Kn),e("limitTo",Jn),e("lowercase",vo),e("number",qn),e("orderBy",tr),e("uppercase",mo)}function jn(){return function(t,e,n){if(!i(t)){if(null==t)return t;throw r("filter")("notarray","Expected array but received: {0}",t)}var o,a,s=Pn(e);switch(s){case"function":o=e;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=In(e,n,a);break;default:return t}retur n Array.prototype.filter.call(t,o)}}function In(t,e,n){var r,i=w(t)&&"$"in t;return e===!0?e=R:C(e)||(e=function(t,e){return!b(t)&&(null===t||null===e?t===e:!(w(e)||w(t)&&!y(t))&&(t=kr(""+t),e=kr(""+e),t.indexOf(e)!==-1))}),r=function(r){return i&&!w(r)?Ln(r,t.$,e,!1):Ln(r,t,e,n)}}function Ln(t,e,n,r,i){var o=Pn(t),a=Pn(e);if("string"===a&&"!"===e.charAt(0))return!Ln(t,e.substring(1),n,r);if(Wr(t))return t.some(function(t){return Ln(t,e,n,r)});switch(o){case"object":var s;if(r){for(s in t)if("$"!==s.charAt(0)&&Ln(t[s],e,n,!0))return!0;return!i&&Ln(t,e,n,!1)}if("object"===a){for(s in e){var u=e[s];if(!C(u)&&!b(u)){var l="$"===s,c=l?t:t[s];if(!Ln(c,u,n,l,l))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Pn(t){return null===t?"null":typeof t}function Fn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return b(n)&&(n=e.CURRENCY_SYM),b(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:zn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}f unction qn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:zn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function zn(t,e,n,r,i){if(w(t))return"";var o=t<0;t=Math.abs(t);var a=t===1/0;if(!a&&!isFinite(t))return"";var s=t+"",u="",l=!1,c=[];if(a&&(u="∞"),!a&&s.indexOf("e")!==-1){var f=s.match(/([\d\.]+)e(-?)(\d+)/);f&&"-"==f[2]&&f[3]>i+1?t=0:(u=s,l=!0)}if(a||l)i>0&&t<1&&(u=t.toFixed(i),t=parseFloat(u),u=u.replace(fo,r));else{var d=(s.split(fo)[1]||"").length;b(i)&&(i=Math.min(Math.max(e.minFrac,d),e.maxFrac)),t=+(Math.round(+(t.toString()+"e"+i)).toString()+"e"+-i);var h=(""+t).split(fo),p=h[0];h=h[1]||"";var g,v=0,m=e.lgSize,y=e.gSize;if(p.length>=m+y)for(v=p.length-m,g=0;g0||o>-n)&&(o+=n),0===o&&n==-12&&(o=12),Wn(o,e,r)}}function Bn(t,e){return function(n,r){var i=n["get"+t](),o=Mr(e?"SHORT"+t:t);return r[o][i]}}function Vn(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=Wn(Math[r>0?"floor":"ceil"](r/60),2)+Wn(Math.abs(r%60),2)}function Hn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function Un(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Yn(t){return function(e){var n=Hn(e.getFullYear()),r=Un(e),i=+r-+n,o=1+Math.round(i/6048e5);return Wn(o,t)}}function Gn(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function Xn(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function Zn(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function Qn(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.s etFullYear,s=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=h(e[9]+e[10]),o=h(e[9]+e[11])),a.call(r,h(e[1]),h(e[2])-1,h(e[3]));var u=h(e[4]||0)-i,l=h(e[5]||0)-o,c=h(e[6]||0),f=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(r,u,l,c,f),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,k(n)&&(n=go.test(n)?h(n):e(n)),_(n)&&(n=new Date(n)),!M(n)||!isFinite(n.getTime()))return n;for(;r;)s=po.exec(r),s?(l=B(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=X(i,n.getTimezoneOffset()),n=Q(n,i,!0)),o(l,function(e){a=ho[e],u+=a?a(n,t.DATETIME_FORMATS,c):e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Kn(){return function(t,e){return b(e)&&(e=2),Y(t,e)}}function Jn(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):h(e),isNaN(e)?t:(_(t)&&(t=t.toString()),Wr(t)||k(t)?(n=!n||isNaN(n )?0:h(n),n=n<0?Math.max(0,t.length+n):n,e>=0?t.slice(n,n+e):0===n?t.slice(e,t.length):t.slice(Math.max(0,n+e),n)):t)}}function tr(t){function e(e,n){return n=n?-1:1,e.map(function(e){var r=1,i=v;if(C(e))i=e;else if(k(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(r="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(i=t(e),i.constant))){var o=i();i=function(t){return t[o]}}return{get:i,descending:r*n}})}function n(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function r(t,e){return"function"==typeof t.valueOf&&(t=t.valueOf(),n(t))?t:y(t)&&(t=t.toString(),n(t))?t:e}function o(t,e){var n=typeof t;return null===t?(n="string",t="null"):"string"===n?t=t.toLowerCase():"object"===n&&(t=r(t,e)),{value:t,type:n}}function a(t,e){var n=0;return t.type===e.type?t.value!==e.value&&(n=t.value=v},s.$observe("min",function(t){v=h(t),u.$validate()})}if(x(s.max)||s.ngMax){var m;u.$validators.max=function(t){return!d(t)||b(m)||r(t)<=m},s.$observe("max",function(t){m=h(t),u.$validate()})}}}function cr(t,e,r,i){var o=e[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(t){var r=e.prop($r)||{};return r.badInput&&!r.typeMismatch?n:t})}function fr(t,e,r,i,o,a){if(cr(t,e,r,i),ar(t,e,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(t){return i.$isEmpty(t)?null:Eo.test(t)?parseFloat(t):n}),i.$formatters.push(function(t){if(!i.$isEmpty(t)){if(!_(t))throw sa("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}),x(r.min)||r.ngMin){var s;i.$validators.min=function(t){return i.$isEmpty(t)||b(s)||t>=s},r.$observe("min",function(t){x(t)&&!_(t)&&(t=parseFloat(t,10)),s=_(t)&&!isNaN(t)?t:n,i.$validate()})}if(x(r.max)||r.ngMax){var u;i.$validators.max=fu nction(t){return i.$isEmpty(t)||b(u)||t<=u},r.$observe("max",function(t){x(t)&&!_(t)&&(t=parseFloat(t,10)),u=_(t)&&!isNaN(t)?t:n,i.$validate()})}}function dr(t,e,n,r,i,o){ar(t,e,n,r,i,o),ir(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||Co.test(n)}}function hr(t,e,n,r,i,o){ar(t,e,n,r,i,o),ir(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||So.test(n)}}function pr(t,e,n,r){b(n.name)&&e.attr("name",u());var i=function(t){e[0].checked&&r.$setViewValue(n.value,t&&t.type)};e.on("click",i),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function gr(t,e,n,r,i){var o;if(x(r)){if(o=t(r),!o.constant)throw sa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function vr(t,e,n,r,i,o,a,s){var u=gr(s,t,"ngTrueValue",n.ngTrueValue,!0),l=gr(s,t,"ngFalseValue",n.ngFalseValue,!1),c=function(t){r.$setViewValue(e[0].checked,t&& t.type)};e.on("click",c),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return R(t,u)}),r.$parsers.push(function(t){return t?u:l})}function mr(t,e){return t="ngClass"+t,["$animate",function(n){function r(t,e){var n=[];t:for(var r=0;r0||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(e>0)&&r.push(t))}),s.data("$classCounts",n),r.join(" ")}function d(t,e){var i=r(e,t),o=r(t,e);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function h(t){if(e===!0||a. $index%2===e){var n=i(t||[]);if(p){if(!R(t,p)){var r=i(p);d(r,n)}}else l(n)}p=W(t)}var p;a.$watch(u[t],h,!0),u.$observe("class",function(e){h(a.$eval(u[t]))}),"ngClass"!==t&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[t]));o===e?l(s):c(s)}})}}}]}function yr(t){function e(t,e,u){b(e)?r("$pending",t,u):i("$pending",t,u),O(e)?e?(f(s.$error,t,u),c(s.$$success,t,u)):(c(s.$error,t,u),f(s.$$success,t,u)):(f(s.$error,t,u),f(s.$$success,t,u)),s.$pending?(o(aa,!0),s.$valid=s.$invalid=n,a("",null)):(o(aa,!1),s.$valid=br(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var l;l=s.$pending&&s.$pending[t]?n:!s.$error[t]&&(!!s.$$success[t]||null),a(t,l),s.$$parentForm.$setValidity(t,l,s)}function r(t,e,n){s[t]||(s[t]={}),c(s[t],e,n)}function i(t,e,r){s[t]&&f(s[t],e,r),br(s[t])&&(s[t]=n)}function o(t,e){e&&!l[t]?(d.addClass(u,t),l[t]=!0):!e&&l[t]&&(d.removeClass(u,t),l[t]=!1)}function a(t,e){t=t?"-"+lt(t,"-"):"",o(ta+t,e===!0),o(ea+t,e===!1)}var s=t.ctrl,u=t.$element,l={} ,c=t.set,f=t.unset,d=t.$animate;l[ea]=!(l[ta]=u.hasClass(ta)),s.$setValidity=e}function br(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function xr(t){t[0].hasAttribute("selected")&&(t[0].selected=!0)}var wr=/^\/(.+)\/([a-z]*)$/,$r="validity",kr=function(t){return k(t)?t.toLowerCase():t},_r=Object.prototype.hasOwnProperty,Mr=function(t){return k(t)?t.toUpperCase():t},Cr=function(t){return k(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Sr=function(t){return k(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(kr=Cr,Mr=Sr);var Er,Ar,Tr,Nr,Dr=[].slice,Or=[].splice,jr=[].push,Ir=Object.prototype.toString,Lr=Object.getPrototypeOf,Pr=r("ng"),Fr=t.angular||(t.angular={}),qr=0;Er=e.documentMode,g.$inject=[],v.$inject=[];var zr,Wr=Array.isArray,Rr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Br=function(t){return k(t)?t.trim(): t},Vr=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,di=/<|&#?\w+;/,hi=/<([\w:-]+)/,pi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,gi={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};gi.optgroup=gi.option,gi.tbody=gi.tfoot=gi.colgroup=gi.caption=gi.thead,gi.th=gi.td;var vi=Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},mi=Et.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===e.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Et(t).on("load",r))},toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]" },eq:function(t){return Ar(t>=0?this[t]:this[this.length+t])},length:0,push:jr,sort:[].sort,splice:[].splice},yi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){yi[kr(t)]=t});var bi={};o("input,select,option,textarea,button,form,details".split(","),function(t){bi[t]=!0});var xi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:jt,removeData:Dt,hasData:Mt},function(t,e){Et[e]=t}),o({data:jt,inheritedData:zt,scope:function(t){return Ar.data(t,"$scope")||zt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Ar.data(t,"$isolateScope")||Ar.data(t,"$isolateScopeNoTemplate")},controller:qt,injector:function(t){return zt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:It,css:function(t,e,n){return e=$t(e),x(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,r){var i=t.nodeType;if(i!==Kr&&i!==Qr&&i!==Jr){var o=kr(e);if(yi[o]){if(!x(r))return t[e]||(t. attributes.getNamedItem(e)||g).specified?o:n;r?(t[e]=!0,t.setAttribute(e,o)):(t[e]=!1,t.removeAttribute(o))}else if(x(r))t.setAttribute(e,r);else if(t.getAttribute){var a=t.getAttribute(e,2);return null===a?n:a}}},prop:function(t,e,n){return x(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if(b(e)){var n=t.nodeType;return n===Zr||n===Kr?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(b(e)){if(t.multiple&&"select"===F(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){return b(e)?t.innerHTML:(Tt(t,!0),void(t.innerHTML=e))},empty:Wt},function(t,e){Et.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Wt&&b(2==t.length&&t!==It&&t!==qt?e:n)){if(w(e)){for(r=0;r=0?e.split(" "):[e],l=u.length,c=function(e,n,i){var o=a[e];o||(o=a[e]=[],o.specialHandlerWrapper=n,"$destroy"===e||i||oi(t,e,s)),o.push(r)};l--;)e=u[l],li[e]?(c(li[e],Gt),c(e,n,!0)):c(e)}},off:Nt,one:function(t,e,n){t=Ar(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;Tt(t),o(new Et(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){t.nodeType===Zr&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===Zr||n===ei){e=new Et(e);for(var r=0,i=e.length;r