").append(e).html();try{return e[0].nodeType===da?Bi(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Bi(t)})}catch(t){return Bi(n)}}function z(e){try{return decodeURIComponent(e)}catch(t){}}function W(e){var t,n,i={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=z(t[0]),v(n))){var a=v(t[1])?z(t[1]):!0;Fi.call(i,n)?na(i[n])?i[n].push(a):i[n]=[i[n],a]:i[n]=a}}),i}function G(e){var t=[];return o(e,function(e,n){na(e)?o(e,function(e){t.push(Z(n,!0)+(e===!0?"":"="+Z(e,!0)))}):t.push(Z(n,!0)+(e===!0?"":"="+Z(e,!0)))}),t.length?t.join("&"):""}function K(e){return Z(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Z(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function Y(e,t){var n,i,a=ra.length;for(e=zi(e),i=0;a>i;++i)if(n=ra[i]+t,b(n=e.attr(n)))return n;return null}function X(e,t){var n,i,a={};o(ra,function(t){var a=t+"app";!n&&e.hasAttribute&&e.hasAttribute(a)&&(n=e,i=e.getAttribute(a))}),o(ra,function(t){var a,o=t+"app";!n&&(a=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=a,i=a.getAttribute(o))}),n&&(a.strictDi=null!==Y(n,"strict-di"),t(n,i?[i]:[],a))}function J(n,i,a){y(a)||(a={});var r={strictDi:!1};a=u(r,a);var s=function(){if(n=zi(n),n.injector()){var e=n[0]===t?"document":V(n);throw Ji("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/,"<").replace(/>/,">"))}i=i||[],i.unshift(["$provide",function(e){e.value("$rootElement",n)}]),a.debugInfoEnabled&&i.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),i.unshift("ng");var o=Ft(i,a.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,i){e.$apply(function(){t.data("$injector",i),n(t)(e)})}]),o},c=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&c.test(e.name)&&(a.debugInfoEnabled=!0,e.name=e.name.replace(c,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),void(Qi.resumeBootstrap=function(e){o(e,function(e){i.push(e)}),s()}))}function Q(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function et(e){return Qi.element(e).injector().get("$$testability")}function tt(e,t){return t=t||"_",e.replace(sa,function(e,n){return(n?t:"")+e.toLowerCase()})}function nt(){var t;ca||(Wi=e.jQuery,Wi&&Wi.fn.on?(zi=Wi,u(Wi.fn,{scope:xa.scope,isolateScope:xa.isolateScope,controller:xa.controller,injector:xa.injector,inheritedData:xa.inheritedData}),t=Wi.cleanData,Wi.cleanData=function(e){var n;if(ta)ta=!1;else for(var i,a=0;null!=(i=e[a]);a++)n=Wi._data(i,"events"),n&&n.$destroy&&Wi(i).triggerHandler("$destroy");t(e)}):zi=_t,Qi.element=zi,ca=!0)}function it(e,t,n){if(!e)throw Ji("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function at(e,t,n){return n&&na(e)&&(e=e[e.length-1]),it(k(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ot(e,t){if("hasOwnProperty"===e)throw Ji("badname","hasOwnProperty is not a valid {0} name",t)}function rt(e,t,n){if(!t)return e;for(var i,a=t.split("."),o=e,r=a.length,s=0;r>s;s++)i=a[s],e&&(e=(o=e)[i]);return!n&&k(e)?F(o,e):e}function st(e){var t=e[0],n=e[e.length-1],i=[t];do{if(t=t.nextSibling,!t)break;i.push(t)}while(t!==n);return zi(i)}function ct(){return Object.create(null)}function lt(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=i("$injector"),a=i("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||i,t(o,"module",function(){var e={};return function(i,o,r){var s=function(e,t){if("hasOwnProperty"===e)throw a("badname","hasOwnProperty is not a valid {0} name",t)};return s(i,"module"),o&&e.hasOwnProperty(i)&&(e[i]=null),t(e,i,function(){function e(e,n,i,a){return a||(a=t),function(){return a[i||"push"]([e,n,arguments]),l}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var t=[],a=[],s=[],c=e("$injector","invoke","push",a),l={_invokeQueue:t,_configBlocks:a,_runBlocks:s,requires:o,name:i,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:c,run:function(e){return s.push(e),this}};return r&&c(r),l})}})}function dt(t){u(t,{bootstrap:J,copy:U,extend:u,equals:L,element:zi,forEach:o,injector:Ft,noop:f,bind:F,toJson:j,fromJson:H,identity:h,isUndefined:_,isDefined:v,isString:b,isFunction:k,isObject:y,isNumber:w,isElement:I,isArray:na,version:fa,isDate:$,lowercase:Bi,uppercase:qi,callbacks:{counter:0},getTestability:et,$$minErr:i,$$csp:oa,reloadWithDebugInfo:Q}),Gi=lt(e);try{Gi("ngLocale")}catch(n){Gi("ngLocale",[]).provider("$locale",pn)}Gi("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Hn}),e.provider("$compile",Gt).directive({a:bo,input:Bo,textarea:Bo,form:Co,script:Tr,select:Pr,style:Ur,option:Nr,ngBind:ar,ngBindHtml:rr,ngBindTemplate:or,ngClass:sr,ngClassEven:lr,ngClassOdd:cr,ngCloak:dr,ngController:ur,ngForm:Mo,ngHide:Sr,ngIf:fr,ngInclude:hr,ngInit:_r,ngNonBindable:vr,ngPluralize:yr,ngRepeat:br,ngShow:kr,ngStyle:Cr,ngSwitch:Mr,ngSwitchWhen:Ar,ngSwitchDefault:xr,ngOptions:Dr,ngTransclude:Er,ngModel:Ko,ngList:er,ngChange:Zo,pattern:Xo,ngPattern:Xo,required:Yo,ngRequired:Yo,minlength:Qo,ngMinlength:Qo,maxlength:Jo,ngMaxlength:Jo,ngValue:nr,ngModelOptions:ir}).directive({ngInclude:gr}).directive(wo).directive(pr),e.provider({$anchorScroll:qt,$animate:Ra,$browser:Vt,$cacheFactory:zt,$controller:Xt,$document:Jt,$exceptionHandler:Qt,$filter:ti,$interpolate:dn,$interval:un,$http:rn,$httpBackend:cn,$location:Cn,$log:Mn,$parse:Ln,$rootScope:jn,$q:Rn,$$q:Bn,$sce:Gn,$sceDelegate:Wn,$sniffer:Kn,$templateCache:Wt,$templateRequest:Zn,$$testability:Yn,$timeout:Xn,$window:ei,$$rAF:qn,$$asyncCallback:jt})}])}function ut(){return++ga}function pt(e){return e.replace(ya,function(e,t,n,i){return i?n.toUpperCase():n}).replace(ba,"Moz$1")}function mt(e){return!Sa.test(e)}function ft(e){var t=e.nodeType;return t===la||!t||t===pa}function ht(e,t){var n,i,a,r,s=t.createDocumentFragment(),c=[];if(mt(e))c.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(Ca.exec(e)||["",""])[1].toLowerCase(),a=Aa[i]||Aa._default,n.innerHTML=a[1]+e.replace(Ma,"<$1>$2>")+a[2],r=a[0];r--;)n=n.lastChild;c=R(c,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(c,function(e){s.appendChild(e)}),s}function gt(e,n){n=n||t;var i;return(i=ka.exec(e))?[n.createElement(i[1])]:(i=ht(e,n))?i.childNodes:[]}function _t(e){if(e instanceof _t)return e;var t;if(b(e)&&(e=ia(e),t=!0),!(this instanceof _t)){if(t&&"<"!=e.charAt(0))throw $a("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new _t(e)}t?At(this,gt(e)):At(this,e)}function vt(e){return e.cloneNode(!0)}function yt(e,t){if(t||wt(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),i=0,a=n.length;a>i;i++)wt(n[i])}function bt(e,t,n,i){if(v(i))throw $a("offargs","jqLite#off() does not support the `selector` argument");var a=$t(e),r=a&&a.events,s=a&&a.handle;if(s)if(t)o(t.split(" "),function(t){if(v(n)){var i=r[t];if(N(i||[],n),i&&i.length>0)return}va(e,t,s),delete r[t]});else for(t in r)"$destroy"!==t&&va(e,t,s),delete r[t]}function wt(e,t){var i=e.ng339,a=i&&ha[i];if(a){if(t)return void delete a.data[t];a.handle&&(a.events.$destroy&&a.handle({},"$destroy"),bt(e)),delete ha[i],e.ng339=n}}function $t(e,t){var i=e.ng339,a=i&&ha[i];return t&&!a&&(e.ng339=i=ut(),a=ha[i]={events:{},data:{},handle:n}),a}function kt(e,t,n){if(ft(e)){var i=v(n),a=!i&&t&&!y(t),o=!t,r=$t(e,!a),s=r&&r.data;if(i)s[t]=n;else{if(o)return s;if(a)return s&&s[t];u(s,t)}}}function St(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Ct(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",ia((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+ia(t)+" "," ")))})}function Mt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=ia(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",ia(n))}}function At(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var i=0;n>i;i++)e[e.length++]=t[i]}else e[e.length++]=t}}function xt(e,t){return Et(e,"$"+(t||"ngController")+"Controller")}function Et(e,t,i){e.nodeType==pa&&(e=e.documentElement);for(var a=na(t)?t:[t];e;){for(var o=0,r=a.length;r>o;o++)if((i=zi.data(e,a[o]))!==n)return i;e=e.parentNode||e.nodeType===ma&&e.host}}function Tt(e){for(yt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function It(e,t){t||yt(e);var n=e.parentNode;n&&n.removeChild(e)}function Dt(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):zi(n).on("load",t)}function Pt(e,t){var n=Ea[t.toLowerCase()];return n&&Ta[P(e)]&&n}function Nt(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Ia[t]}function Ut(e,t){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var a=t[i||n.type],o=a?a.length:0;if(o){if(_(n.immediatePropagationStopped)){var r=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),r&&r.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0},o>1&&(a=O(a));for(var s=0;o>s;s++)n.isImmediatePropagationStopped()||a[s].call(e,n)}};return n.elem=e,n}function Ot(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var i=typeof e;return n="function"==i||"object"==i&&null!==e?e.$$hashKey=i+":"+(t||l)():i+":"+e}function Lt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Rt(e){var t=e.toString().replace(Ua,""),n=t.match(Da);return n?"function("+(n[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Bt(e,t,n){var i,a,r,s;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw b(n)&&n||(n=e.name||Rt(e)),Oa("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);a=e.toString().replace(Ua,""),r=a.match(Da),o(r[1].split(Pa),function(e){e.replace(Na,function(e,t,n){i.push(n)})})}e.$inject=i}}else na(e)?(s=e.length-1,at(e[s],"fn"),i=e.slice(0,s)):at(e,"fn",!0);return i}function Ft(e,t){function i(e){return function(t,n){return y(t)?void o(t,c(e)):e(t,n)}}function a(e,t){if(ot(e,"service"),(k(t)||na(t))&&(t=M.instantiate(t)),!t.$get)throw Oa("pget","Provider '{0}' must define $get factory method.",e);return C[e+w]=t}function r(e,t){return function(){var i=x.invoke(t,this,n,e);if(_(i))throw Oa("undef","Provider '{0}' must return a value from $get factory method.",e);return i}}function s(e,t,n){return a(e,{$get:n!==!1?r(e,t):t})}function l(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function d(e,t){return s(e,g(t),!1)}function u(e,t){ot(e,"constant"),C[e]=t,A[e]=t}function p(e,t){var n=M.get(e+w),i=n.$get;n.$get=function(){var e=x.invoke(i,n);return x.invoke(t,null,{$delegate:e})}}function m(e){var t,n=[];return o(e,function(e){function i(e){var t,n;for(t=0,n=e.length;n>t;t++){var i=e[t],a=M.get(i[0]);a[i[1]].apply(a,i[2])}}if(!S.get(e)){S.put(e,!0);try{b(e)?(t=Gi(e),n=n.concat(m(t.requires)).concat(t._runBlocks),i(t._invokeQueue),i(t._configBlocks)):k(e)?n.push(M.invoke(e)):na(e)?n.push(M.invoke(e)):at(e,"module")}catch(a){throw na(e)&&(e=e[e.length-1]),a.message&&a.stack&&-1==a.stack.indexOf(a.message)&&(a=a.message+"\n"+a.stack),Oa("modulerr","Failed to instantiate module {0} due to:\n{1}",e,a.stack||a.message||a)}}}),n}function h(e,n){function i(t){if(e.hasOwnProperty(t)){if(e[t]===v)throw Oa("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=v,e[t]=n(t)}catch(i){throw e[t]===v&&delete e[t],i}finally{$.shift()}}function a(e,n,a,o){"string"==typeof a&&(o=a,a=null);var r,s,c,l=[],d=Bt(e,t,o);for(s=0,r=d.length;r>s;s++){if(c=d[s],"string"!=typeof c)throw Oa("itkn","Incorrect injection token! Expected service name as string, got {0}",c);l.push(a&&a.hasOwnProperty(c)?a[c]:i(c))}return na(e)&&(e=e[r]),e.apply(n,l)}function o(e,t,n){var i,o,r=function(){};return r.prototype=(na(e)?e[e.length-1]:e).prototype,i=new r,o=a(e,i,t,n),y(o)||k(o)?o:i}return{invoke:a,instantiate:o,get:i,annotate:Bt,has:function(t){return C.hasOwnProperty(t+w)||e.hasOwnProperty(t)}}}t=t===!0;var v={},w="Provider",$=[],S=new Lt([],!0),C={$provide:{provider:i(a),factory:i(s),service:i(l),value:i(d),constant:i(u),decorator:p}},M=C.$injector=h(C,function(){throw Oa("unpr","Unknown provider: {0}",$.join(" <- "))}),A={},x=A.$injector=h(A,function(e){var t=M.get(e+w);return x.invoke(t.$get,t,n,e)});return o(m(e),function(e){x.invoke(e||f)}),x}function qt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,i){function a(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===P(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;
-if(k(e))e=e();else if(I(e)){var n=e[0],i=t.getComputedStyle(n);e="fixed"!==i.position?0:n.getBoundingClientRect().bottom}else w(e)||(e=0);return e}function r(e){if(e){e.scrollIntoView();var n=o();if(n){var i=e.getBoundingClientRect().top;t.scrollBy(0,i-n)}}else t.scrollTo(0,0)}function s(){var e,t=n.hash();t?(e=c.getElementById(t))?r(e):(e=a(c.getElementsByName(t)))?r(e):"top"===t&&r(null):r(null)}var c=t.document;return e&&i.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&Dt(function(){i.$evalAsync(s)})}),s}]}function jt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Ht(e,t,i,a){function r(e){try{e.apply(null,B(arguments,1))}finally{if($--,0===$)for(;k.length;)try{k.pop()()}catch(t){i.error(t)}}}function s(e,t){!function n(){o(C,function(e){e()}),S=t(n,e)}()}function c(){l(),d()}function l(){M=e.history.state,M=_(M)?null:M,L(M,P)&&(M=P),P=M}function d(){(x!==p.url()||A!==M)&&(x=p.url(),A=M,o(I,function(e){e(p.url(),M)}))}function u(e){try{return decodeURIComponent(e)}catch(t){return e}}var p=this,m=t[0],h=e.location,g=e.history,v=e.setTimeout,y=e.clearTimeout,w={};p.isMock=!1;var $=0,k=[];p.$$completeOutstandingRequest=r,p.$$incOutstandingRequestCount=function(){$++},p.notifyWhenNoOutstandingRequests=function(e){o(C,function(e){e()}),0===$?e():k.push(e)};var S,C=[];p.addPollFn=function(e){return _(S)&&s(100,v),C.push(e),e};var M,A,x=h.href,E=t.find("base"),T=null;l(),A=M,p.url=function(t,n,i){if(_(i)&&(i=null),h!==e.location&&(h=e.location),g!==e.history&&(g=e.history),t){var o=A===i;if(x===t&&(!a.history||o))return;var r=x&&_n(x)===_n(t);return x=t,A=i,!a.history||r&&o?(r||(T=t),n?h.replace(t):h.href=t):(g[n?"replaceState":"pushState"](i,"",t),l(),A=M),p}return T||h.href.replace(/%27/g,"'")},p.state=function(){return M};var I=[],D=!1,P=null;p.onUrlChange=function(t){return D||(a.history&&zi(e).on("popstate",c),zi(e).on("hashchange",c),D=!0),I.push(t),t},p.$$checkUrlChange=d,p.baseHref=function(){var e=E.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var N={},U="",O=p.baseHref();p.cookies=function(e,t){var a,o,r,s,c;if(!e){if(m.cookie!==U)for(U=m.cookie,o=U.split("; "),N={},s=0;s
0&&(e=u(r.substring(0,c)),N[e]===n&&(N[e]=u(r.substring(c+1))));return N}t===n?m.cookie=encodeURIComponent(e)+"=;path="+O+";expires=Thu, 01 Jan 1970 00:00:00 GMT":b(t)&&(a=(m.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path="+O).length+1,a>4096&&i.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+a+" > 4096 bytes)!"))},p.defer=function(e,t){var n;return $++,n=v(function(){delete w[n],r(e)},t||0),w[n]=!0,n},p.defer.cancel=function(e){return w[e]?(delete w[e],y(e),r(f),!0):!1}}function Vt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,i){return new Ht(e,i,t,n)}]}function zt(){this.$get=function(){function e(e,n){function a(e){e!=p&&(m?m==e&&(m=e.n):m=e,o(e.n,e.p),o(e,p),p=e,p.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var r=0,s=u({},n,{id:e}),c={},l=n&&n.capacity||Number.MAX_VALUE,d={},p=null,m=null;return t[e]={put:function(e,t){if(ll&&this.remove(m.key),t},get:function(e){if(l").parent()[0])});var r=U(e,t,e,n,i,a);I.$$addScopeClass(e);var s=null;return function(t,n,i){it(t,"scope"),i=i||{};var a=i.parentBoundTranscludeFn,o=i.transcludeControllers,c=i.futureParentElement;a&&a.$$boundTransclude&&(a=a.$$boundTransclude),s||(s=D(c));var l;if(l="html"!==s?zi(J(s,zi("").append(e).html())):n?xa.clone.call(e):e,o)for(var d in o)l.data("$"+d+"Controller",o[d].instance);return I.$$addScopeInfo(l,t),n&&n(l,t),r&&r(t,l,l,a),l}}function D(e){var t=e&&e[0];return t&&"foreignobject"!==P(t)&&t.toString().match(/SVG/)?"svg":"html"}function U(e,t,i,a,o,r){function s(e,i,a,o){var r,s,c,l,d,u,p,m,g;if(f){var _=i.length;for(g=new Array(_),d=0;d
d;)c=g[h[d++]],r=h[d++],s=h[d++],r?(r.scope?(l=e.$new(),I.$$addScopeInfo(zi(c),l)):l=e,m=r.transcludeOnThisElement?O(e,r.transclude,o,r.elementTranscludeOnThisElement):!r.templateOnThisElement&&o?o:!o&&t?O(e,t):null,r(s,l,c,a,m)):s&&s(e,c.childNodes,n,o)}for(var c,l,d,u,p,m,f,h=[],g=0;gv;v++){var w=!1,$=!1;u=_[v],p=u.name,h=ia(u.value),f=Kt(p),(g=ut.test(f))&&(p=tt(f.substr(6),"-"));var k=f.replace(/(Start|End)$/,"");W(k)&&f===k+"Start"&&(w=p,$=p.substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),m=Kt(p.toLowerCase()),c[m]=p,(g||!n.hasOwnProperty(m))&&(n[m]=h,Pt(e,m)&&(n[m]=!0)),et(e,t,h,m,g),z(t,m,"A",i,a,w,$)}if(r=e.className,b(r)&&""!==r)for(;o=d.exec(r);)m=Kt(o[2]),z(t,m,"C",i,a)&&(n[m]=ia(o[3])),r=r.substr(o.index+o[0].length);break;case da:X(t,e.nodeValue);break;case ua:try{o=l.exec(e.nodeValue),o&&(m=Kt(o[1]),z(t,m,"M",i,a)&&(n[m]=ia(o[2])))}catch(S){}}return t.sort(Z),t}function F(e,t,n){var i=[],a=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ba("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==la&&(e.hasAttribute(t)&&a++,e.hasAttribute(n)&&a--),i.push(e),e=e.nextSibling}while(a>0)}else i.push(e);return zi(i)}function q(e,t,n){return function(i,a,o,r,s){return a=F(a[0],t,n),e(i,a,o,r,s)}}function j(e,r,s,c,l,d,u,p,m){function f(e,t,n,i){e&&(n&&(e=q(e,n,i)),e.require=C.require,e.directiveName=A,(N===C||C.$$isolateScope)&&(e=at(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=q(t,n,i)),t.require=C.require,t.directiveName=A,(N===C||C.$$isolateScope)&&(t=at(t,{isolateScope:!0})),p.push(t))}function h(e,t,n,i){var a,r,s="data",c=!1,l=n;if(b(t)){if(r=t.match(_),t=t.substring(r[0].length),r[3]&&(r[1]?r[3]=null:r[1]=r[3]),"^"===r[1]?s="inheritedData":"^^"===r[1]&&(s="inheritedData",l=n.parent()),"?"===r[2]&&(c=!0),a=null,i&&"data"===s&&(a=i[t])&&(a=a.instance),a=a||l[s]("$"+t+"Controller"),!a&&!c)throw Ba("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return a||null}return na(t)&&(a=[],o(t,function(t){a.push(h(e,t,n,i))})),a}function w(e,t,a,c,l){function d(e,t,i){var a;return M(e)||(i=t,t=e,e=n),W&&(a=w),i||(i=W?k.parent():k),l(e,t,a,i,E)}var m,f,_,y,b,w,$,k,C;if(r===a?(C=s,k=s.$$element):(k=zi(a),C=new rt(k,s)),N&&(b=t.$new(!0)),l&&($=d,$.$$boundTransclude=l),P&&(S={},w={},o(P,function(e){var n,i={$scope:e===N||e.$$isolateScope?b:t,$element:k,$attrs:C,$transclude:$};y=e.controller,"@"==y&&(y=C[e.name]),n=v(y,i,!0,e.controllerAs),w[e.name]=n,W||k.data("$"+e.name+"Controller",n.instance),S[e.name]=n})),N){I.$$addScopeInfo(k,b,!0,!(U&&(U===N||U===N.$$originalDirective))),I.$$addScopeClass(k,!0);var A=S&&S[N.name],x=b;A&&A.identifier&&N.bindToController===!0&&(x=A.instance),o(b.$$isolateBindings=N.$$isolateBindings,function(e,n){var a,o,r,s,c=e.attrName,l=e.optional,d=e.mode;switch(d){case"@":C.$observe(c,function(e){x[n]=e}),C.$$observers[c].$$scope=t,C[c]&&(x[n]=i(C[c])(t));break;case"=":if(l&&!C[c])return;o=g(C[c]),s=o.literal?L:function(e,t){return e===t||e!==e&&t!==t},r=o.assign||function(){throw a=x[n]=o(t),Ba("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",C[c],N.name)},a=x[n]=o(t);var u=function(e){return s(e,x[n])||(s(e,a)?r(t,e=x[n]):x[n]=e),a=e};u.$stateful=!0;var p;p=e.collection?t.$watchCollection(C[c],u):t.$watch(g(C[c],u),null,o.literal),b.$on("$destroy",p);break;case"&":o=g(C[c]),x[n]=function(e){return o(t,e)}}})}for(S&&(o(S,function(e){e()}),S=null),m=0,f=u.length;f>m;m++)_=u[m],ot(_,_.isolateScope?b:t,k,C,_.require&&h(_.directiveName,_.require,k,w),$);var E=t;for(N&&(N.template||null===N.templateUrl)&&(E=b),e&&e(E,a.childNodes,n,l),m=p.length-1;m>=0;m--)_=p[m],ot(_,_.isolateScope?b:t,k,C,_.require&&h(_.directiveName,_.require,k,w),$)}m=m||{};for(var $,S,C,A,x,E,T,D=-Number.MAX_VALUE,P=m.controllerDirectives,N=m.newIsolateScopeDirective,U=m.templateDirective,O=m.nonTlbTranscludeDirective,j=!1,z=!1,W=m.hasElementTranscludeDirective,Z=s.$$element=zi(r),X=d,Q=c,et=0,tt=e.length;tt>et;et++){C=e[et];var it=C.$$start,st=C.$$end;if(it&&(Z=F(r,it,st)),x=n,D>C.priority)break;if((T=C.scope)&&(C.templateUrl||(y(T)?(Y("new/isolated scope",N||$,C,Z),N=C):Y("new/isolated scope",N,C,Z)),$=$||C),A=C.name,!C.templateUrl&&C.controller&&(T=C.controller,P=P||{},Y("'"+A+"' controller",P[A],C,Z),P[A]=C),(T=C.transclude)&&(j=!0,C.$$tlb||(Y("transclusion",O,C,Z),O=C),"element"==T?(W=!0,D=C.priority,x=Z,Z=s.$$element=zi(t.createComment(" "+A+": "+s[A]+" ")),r=Z[0],nt(l,B(x),r),Q=I(x,c,D,X&&X.name,{nonTlbTranscludeDirective:O})):(x=zi(vt(r)).contents(),Z.empty(),Q=I(x,c))),C.template)if(z=!0,Y("template",U,C,Z),U=C,T=k(C.template)?C.template(Z,s):C.template,T=dt(T),C.replace){if(X=C,x=mt(T)?[]:Yt(J(C.templateNamespace,ia(T))),r=x[0],1!=x.length||r.nodeType!==la)throw Ba("tplrt","Template for directive '{0}' must have exactly one root element. {1}",A,"");nt(l,Z,r);var ct={$attr:{}},lt=R(r,[],ct),ut=e.splice(et+1,e.length-(et+1));N&&H(lt),e=e.concat(lt).concat(ut),G(s,ct),tt=e.length}else Z.html(T);if(C.templateUrl)z=!0,Y("template",U,C,Z),U=C,C.replace&&(X=C),w=K(e.splice(et,e.length-et),Z,s,l,j&&Q,u,p,{controllerDirectives:P,newIsolateScopeDirective:N,templateDirective:U,nonTlbTranscludeDirective:O}),tt=e.length;else if(C.compile)try{E=C.compile(Z,s,Q),k(E)?f(null,E,it,st):E&&f(E.pre,E.post,it,st)}catch(pt){a(pt,V(Z))}C.terminal&&(w.terminal=!0,D=Math.max(D,C.priority))}return w.scope=$&&$.scope===!0,w.transcludeOnThisElement=j,w.elementTranscludeOnThisElement=W,w.templateOnThisElement=z,w.transclude=Q,m.hasElementTranscludeDirective=W,w}function H(e){for(var t=0,n=e.length;n>t;t++)e[t]=m(e[t],{$$isolateScope:!0})}function z(t,i,o,c,l,d,u){if(i===l)return null;var p=null;if(r.hasOwnProperty(i))for(var f,h=e.get(i+s),g=0,_=h.length;_>g;g++)try{f=h[g],(c===n||c>f.priority)&&-1!=f.restrict.indexOf(o)&&(d&&(f=m(f,{$$start:d,$$end:u})),t.push(f),p=f)}catch(v){a(v)}return p}function W(t){if(r.hasOwnProperty(t))for(var n,i=e.get(t+s),a=0,o=i.length;o>a;a++)if(n=i[a],n.multiElement)return!0;return!1}function G(e,t){var n=t.$attr,i=e.$attr,a=e.$$element;o(e,function(i,a){"$"!=a.charAt(0)&&(t[a]&&t[a]!==i&&(i+=("style"===a?";":" ")+t[a]),e.$set(a,i,!0,n[a]))}),o(t,function(t,o){"class"==o?(T(a,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(a.attr("style",a.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,i[o]=n[o])})}function K(e,t,n,i,a,r,s,l){var d,p,m=[],f=t[0],h=e.shift(),g=u({},h,{templateUrl:null,transclude:null,replace:null,$$originalDirective:h}),_=k(h.templateUrl)?h.templateUrl(t,n):h.templateUrl,v=h.templateNamespace;return t.empty(),c(A.getTrustedResourceUrl(_)).then(function(c){var u,b,w,$;if(c=dt(c),h.replace){if(w=mt(c)?[]:Yt(J(v,ia(c))),u=w[0],1!=w.length||u.nodeType!==la)throw Ba("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h.name,_);b={$attr:{}},nt(i,t,u);var k=R(u,[],b);y(h.scope)&&H(k),e=k.concat(e),G(n,b)}else u=f,t.html(c);for(e.unshift(g),d=j(e,u,n,a,t,h,r,s,l),o(i,function(e,n){e==u&&(i[n]=t[0])}),p=U(t[0].childNodes,a);m.length;){var S=m.shift(),C=m.shift(),M=m.shift(),A=m.shift(),x=t[0];if(!S.$$destroyed){if(C!==f){var E=C.className;l.hasElementTranscludeDirective&&h.replace||(x=vt(u)),nt(M,zi(C),x),T(zi(x),E)}$=d.transcludeOnThisElement?O(S,d.transclude,A):A,d(p,S,x,i,$)}}m=null}),function(e,t,n,i,a){var o=a;t.$$destroyed||(m?(m.push(t),m.push(n),m.push(i),m.push(o)):(d.transcludeOnThisElement&&(o=O(t,d.transclude,a)),d(p,t,n,i,o)))}}function Z(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+""+e+">",i.childNodes[0].childNodes;default:return n}}function Q(e,t){if("srcdoc"==t)return A.HTML;var n=P(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?A.RESOURCE_URL:void 0}function et(e,t,n,a,o){var r=i(n,!0);if(r){if("multiple"===a&&"select"===P(e))throw Ba("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",V(e));t.push({priority:100,compile:function(){return{pre:function(t,n,s){var c=s.$$observers||(s.$$observers={});if(w.test(a))throw Ba("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");s[a]&&(r=i(s[a],!0,Q(e,a),p[a]||o),r&&(s[a]=r(t),(c[a]||(c[a]=[])).$$inter=!0,(s.$$observers&&s.$$observers[a].$$scope||t).$watch(r,function(e,t){"class"===a&&e!=t?s.$updateClass(e,t):s.$set(a,e)})))}}}})}}function nt(e,n,i){var a,o,r=n[0],s=n.length,c=r.parentNode;if(e)for(a=0,o=e.length;o>a;a++)if(e[a]==r){e[a++]=i;for(var l=a,d=l+s-1,u=e.length;u>l;l++,d++)u>d?e[l]=e[d]:delete e[l];e.length-=s-1,e.context===r&&(e.context=i);break}c&&c.replaceChild(i,r);var p=t.createDocumentFragment();p.appendChild(r),zi(i).data(zi(r).data()),Wi?(ta=!0,Wi.cleanData([r])):delete zi.cache[r[zi.expando]];for(var m=1,f=n.length;f>m;m++){var h=n[m];zi(h).remove(),p.appendChild(h),delete n[m]}n[0]=i,n.length=1}function at(e,t){return u(function(){return e.apply(null,arguments)},e,t)}function ot(e,t,n,i,o,r){try{e(t,n,i,o,r)}catch(s){a(s,V(n))}}var rt=function(e,t){if(t){var n,i,a,o=Object.keys(t);for(n=0,i=o.length;i>n;n++)a=o[n],this[a]=t[a]}else this.$attr={};this.$$element=e};rt.prototype={$normalize:Kt,$addClass:function(e){e&&e.length>0&&x.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&x.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Zt(e,t);n&&n.length&&x.addClass(this.$$element,n);var i=Zt(t,e);i&&i.length&&x.removeClass(this.$$element,i)},$set:function(e,t,i,r){var s,c=this.$$element[0],l=Pt(c,e),d=Nt(c,e),u=e;if(l?(this.$$element.prop(e,t),r=l):d&&(this[d]=t,u=d),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=tt(e,"-"))),s=P(this.$$element),"a"===s&&"href"===e||"img"===s&&"src"===e)this[e]=t=E(t,"src"===e);else if("img"===s&&"srcset"===e){for(var p="",m=ia(t),f=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(m)?f:/(,)/,g=m.split(h),_=Math.floor(g.length/2),v=0;_>v;v++){var y=2*v;p+=E(ia(g[y]),!0),p+=" "+ia(g[y+1])}var b=ia(g[2*v]).split(/\s/);p+=E(ia(b[0]),!0),2===b.length&&(p+=" "+ia(b[1])),this[e]=t=p}i!==!1&&(null===t||t===n?this.$$element.removeAttr(r):this.$$element.attr(r,t));var w=this.$$observers;w&&o(w[u],function(e){try{e(t)}catch(n){a(n)}})},$observe:function(e,t){var n=this,i=n.$$observers||(n.$$observers=ct()),a=i[e]||(i[e]=[]);return a.push(t),S.$evalAsync(function(){!a.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){N(a,t)}}};var st=i.startSymbol(),lt=i.endSymbol(),dt="{{"==st||"}}"==lt?h:function(e){return e.replace(/\{\{/g,st).replace(/}}/g,lt)},ut=/^ngAttr[A-Z]/;return I.$$addBindingInfo=$?function(e,t){var n=e.data("$binding")||[];na(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:f,I.$$addBindingClass=$?function(e){T(e,"ng-binding")}:f,I.$$addScopeInfo=$?function(e,t,n,i){var a=n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(a,t)}:f,I.$$addScopeClass=$?function(e,t){T(e,t?"ng-isolate-scope":"ng-scope")}:f,I}]}function Kt(e){return pt(e.replace(Fa,""))}function Zt(e,t){var n="",i=e.split(/\s+/),a=t.split(/\s+/);e:for(var o=0;o0?" ":"")+r}return n}function Yt(e){e=zi(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ua&&Zi.call(e,t,1)}return e}function Xt(){var e={},t=!1,a=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){ot(t,"controller"),y(t)?u(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(o,r){function s(e,t,n,a){if(!e||!y(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",a,t);e.$scope[t]=n}return function(i,c,l,d){var p,m,f,h;if(l=l===!0,d&&b(d)&&(h=d),b(i)&&(m=i.match(a),f=m[1],h=h||m[3],i=e.hasOwnProperty(f)?e[f]:rt(c.$scope,f,!0)||(t?rt(r,f,!0):n),at(i,f,!0)),l){var g=function(){};return g.prototype=(na(i)?i[i.length-1]:i).prototype,p=new g,h&&s(c,h,p,f||i.name),u(function(){return o.invoke(i,p,c,f),p},{instance:p,identifier:h})}return p=o.instantiate(i,c,f),h&&s(c,h,p,f||i.name),p}}]}function Jt(){this.$get=["$window",function(e){return zi(e.document)}]}function Qt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function en(e,t){if(b(e)){e=e.replace(za,"");var n=t("Content-Type");(n&&0===n.indexOf(qa)||Ha.test(e)&&Va.test(e))&&(e=H(e))}return e}function tn(e){var t,n,i,a={};return e?(o(e.split("\n"),function(e){i=e.indexOf(":"),t=Bi(ia(e.substr(0,i))),n=ia(e.substr(i+1)),t&&(a[t]=a[t]?a[t]+", "+n:n)}),a):a}function nn(e){var t=y(e)?e:n;return function(n){return t||(t=tn(e)),n?t[Bi(n)]||null:t}}function an(e,t,n){return k(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function on(e){return e>=200&&300>e}function rn(){var e=this.defaults={transformResponse:[en],transformRequest:[function(e){return!y(e)||A(e)||x(e)?e:j(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:O(ja),put:O(ja),patch:O(ja)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},t=!1;this.useApplyAsync=function(e){return v(e)?(t=!!e,this):t};var i=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,r,c,l,d,p){function m(t){function i(e){var t=u({},e);return t.data=e.data?an(e.data,e.headers,r.transformResponse):e.data,on(e.status)?t:d.reject(t)}function a(t){function n(e){var t;o(e,function(n,i){k(n)&&(t=n(),null!=t?e[i]=t:delete e[i])})}var i,a,r,s=e.headers,c=u({},t.headers);s=u({},s.common,s[Bi(t.method)]);e:for(i in s){a=Bi(i);for(r in c)if(Bi(r)===a)continue e;c[i]=s[i]}return n(c),c}var r={method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},s=a(t);u(r,t),r.headers=s,r.method=qi(r.method);var c=function(t){s=t.headers;var n=an(t.data,nn(s),t.transformRequest);return _(n)&&o(s,function(e,t){"content-type"===Bi(t)&&delete s[t]}),_(t.withCredentials)&&!_(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,n,s).then(i,i)},l=[c,n],p=d.when(r);for(o(C,function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&l.push(e.response,e.responseError)});l.length;){var m=l.shift(),f=l.shift();p=p.then(m,f)}return p.success=function(e){return p.then(function(t){e(t.data,t.status,t.headers,r)}),p},p.error=function(e){return p.then(null,function(t){e(t.data,t.status,t.headers,r)}),p},p}function f(){o(arguments,function(e){m[e]=function(t,n){return m(u(n||{},{method:e,url:t}))}})}function h(){o(arguments,function(e){m[e]=function(t,n,i){return m(u(i||{},{method:e,url:t,data:n}))}})}function g(i,o,s){function c(e,n,i,a){function o(){u(n,e,i,a)}f&&(on(e)?f.put($,[e,n,tn(i),a]):f.remove($)),t?l.$applyAsync(o):(o(),l.$$phase||l.$apply())}function u(e,t,n,a){t=Math.max(t,0),(on(t)?g.resolve:g.reject)({data:e,status:t,headers:nn(n),config:i,statusText:a})}function p(){var e=m.pendingRequests.indexOf(i);-1!==e&&m.pendingRequests.splice(e,1)}var f,h,g=d.defer(),b=g.promise,$=w(i.url,i.params);if(m.pendingRequests.push(i),b.then(p,p),!i.cache&&!e.cache||i.cache===!1||"GET"!==i.method&&"JSONP"!==i.method||(f=y(i.cache)?i.cache:y(e.cache)?e.cache:S),f)if(h=f.get($),v(h)){if(T(h))return h.then(p,p),h;na(h)?u(h[1],h[0],O(h[2]),h[3]):u(h,200,{},"OK")}else f.put($,b);if(_(h)){var k=Qn(i.url)?r.cookies()[i.xsrfCookieName||e.xsrfCookieName]:n;k&&(s[i.xsrfHeaderName||e.xsrfHeaderName]=k),a(i.method,$,o,c,s,i.timeout,i.withCredentials,i.responseType)}return b}function w(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||_(e)||(na(e)||(e=[e]),o(e,function(e){y(e)&&(e=$(e)?e.toISOString():j(e)),n.push(Z(t)+"="+Z(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var S=c("$http"),C=[];return o(i,function(e){C.unshift(b(e)?p.get(e):p.invoke(e))}),m.pendingRequests=[],f("get","delete","head","jsonp"),h("post","put","patch"),m.defaults=e,m}]}function sn(){return new e.XMLHttpRequest}function cn(){this.$get=["$browser","$window","$document",function(e,t,n){return ln(e,sn,e.defer,t.angular.callbacks,n[0])}]}function ln(e,t,n,i,a){function r(e,t,n){var o=a.createElement("script"),r=null;return o.type="text/javascript",o.src=e,o.async=!0,r=function(e){va(o,"load",r),va(o,"error",r),a.body.removeChild(o),o=null;var s=-1,c="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),c=e.type,s="error"===e.type?404:200),n&&n(s,c)},_a(o,"load",r),_a(o,"error",r),a.body.appendChild(o),r}return function(a,s,c,l,d,u,p,m){function h(){y&&y(),b&&b.abort()}function g(t,i,a,o,r){k&&n.cancel(k),y=b=null,t(i,a,o,r),e.$$completeOutstandingRequest(f)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Bi(a)){var _="_"+(i.counter++).toString(36);i[_]=function(e){i[_].data=e,i[_].called=!0};var y=r(s.replace("JSON_CALLBACK","angular.callbacks."+_),_,function(e,t){g(l,e,i[_].data,"",t),i[_]=f})}else{var b=t();b.open(a,s,!0),o(d,function(e,t){v(e)&&b.setRequestHeader(t,e)}),b.onload=function(){var e=b.statusText||"",t="response"in b?b.response:b.responseText,n=1223===b.status?204:b.status;0===n&&(n=t?200:"file"==Jn(s).protocol?404:0),g(l,n,t,b.getAllResponseHeaders(),e)};var w=function(){g(l,-1,null,null,"")};if(b.onerror=w,b.onabort=w,p&&(b.withCredentials=!0),m)try{b.responseType=m}catch($){if("json"!==m)throw $}b.send(c||null)}if(u>0)var k=n(h,u);else T(u)&&u.then(h)}}function dn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,a){function o(e){return"\\\\\\"+e}function r(o,r,p,m){function f(n){return n.replace(l,e).replace(d,t)}function h(e){try{return E(x(e))}catch(t){var n=Wa("interr","Can't interpolate: {0}\n{1}",o,t.toString());i(n)}}m=!!m;for(var g,v,y,b=0,w=[],$=[],S=o.length,C=[],M=[];S>b;){if(-1==(g=o.indexOf(e,b))||-1==(v=o.indexOf(t,g+s))){b!==S&&C.push(f(o.substring(b)));break}b!==g&&C.push(f(o.substring(b,g))),y=o.substring(g+s,v),w.push(y),$.push(n(y,h)),b=v+c,M.push(C.length),C.push("")}if(p&&C.length>1)throw Wa("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);if(!r||w.length){var A=function(e){for(var t=0,n=w.length;n>t;t++){if(m&&_(e[t]))return;C[M[t]]=e[t]}return C.join("")},x=function(e){return p?a.getTrusted(p,e):a.valueOf(e)},E=function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=j(e)}return e};return u(function(e){var t=0,n=w.length,a=new Array(n);try{for(;n>t;t++)a[t]=$[t](e);return A(a)}catch(r){var s=Wa("interr","Can't interpolate: {0}\n{1}",o,r.toString());i(s)}},{exp:o,expressions:w,$$watchDelegate:function(e,t,n){var i;return e.$watchGroup($,function(n,a){var o=A(n);k(t)&&t.call(this,o,n!==a?i:o,e),i=o},n)}})}}var s=e.length,c=t.length,l=new RegExp(e.replace(/./g,o),"g"),d=new RegExp(t.replace(/./g,o),"g");return r.startSymbol=function(){return e},r.endSymbol=function(){return t},r}]}function un(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,i){function a(a,r,s,c){var l=t.setInterval,d=t.clearInterval,u=0,p=v(c)&&!c,m=(p?i:n).defer(),f=m.promise;return s=v(s)?s:0,f.then(null,null,a),f.$$intervalId=l(function(){m.notify(u++),s>0&&u>=s&&(m.resolve(u),d(f.$$intervalId),delete o[f.$$intervalId]),p||e.$apply()},r),o[f.$$intervalId]=m,f}var o={};return a.cancel=function(e){return e&&e.$$intervalId in o?(o[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete o[e.$$intervalId],!0):!1},a}]}function pn(){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(e){return 1===e?"one":"other"}}}}function mn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=K(t[n]);return t.join("/")}function fn(e,t,n){var i=Jn(e,n);t.$$protocol=i.protocol,t.$$host=i.hostname,t.$$port=p(i.port)||Ka[i.protocol]||null}function hn(e,t,n){var i="/"!==e.charAt(0);i&&(e="/"+e);var a=Jn(e,n);t.$$path=decodeURIComponent(i&&"/"===a.pathname.charAt(0)?a.pathname.substring(1):a.pathname),t.$$search=W(a.search),t.$$hash=decodeURIComponent(a.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function gn(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function _n(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function vn(e){return e.substr(0,_n(e).lastIndexOf("/")+1)}function yn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function bn(e,t){this.$$html5=!0,t=t||"";var i=vn(e);fn(e,this,e),this.$$parse=function(t){var n=gn(i,t);if(!b(n))throw Za("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,i);hn(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=G(this.$$search),t=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+this.$$url.substr(1)},this.$$parseLinkUrl=function(a,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var r,s,c;return(r=gn(e,a))!==n?(s=r,c=(r=gn(t,r))!==n?i+(gn("/",r)||r):e+s):(r=gn(i,a))!==n?c=i+r:i==a+"/"&&(c=i),c&&this.$$parse(c),!!c}}function wn(e,t){var n=vn(e);fn(e,this,e),this.$$parse=function(i){function a(e,t,n){var i,a=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),a.exec(t)?e:(i=a.exec(e),i?i[1]:e)}var o=gn(e,i)||gn(n,i),r="#"==o.charAt(0)?gn(t,o):this.$$html5?o:"";if(!b(r))throw Za("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',i,t);hn(r,this,e),this.$$path=a(this.$$path,r,e),this.$$compose()},this.$$compose=function(){var n=G(this.$$search),i=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mn(this.$$path)+(n?"?"+n:"")+i,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t){return _n(e)==_n(t)?(this.$$parse(t),!0):!1}}function $n(e,t){this.$$html5=!0,wn.apply(this,arguments);var n=vn(e);this.$$parseLinkUrl=function(i,a){if(a&&"#"===a[0])return this.hash(a.slice(1)),!0;var o,r;return e==_n(i)?o=i:(r=gn(n,i))?o=e+t+r:n===i+"/"&&(o=n),o&&this.$$parse(o),!!o},this.$$compose=function(){var n=G(this.$$search),i=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mn(this.$$path)+(n?"?"+n:"")+i,this.$$absUrl=e+t+this.$$url}}function kn(e){return function(){return this[e]}}function Sn(e,t){return function(n){return _(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Cn(){var t="",n={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return v(e)?(t=e,this):t},this.html5Mode=function(e){return E(e)?(n.enabled=e,this):y(e)?(E(e.enabled)&&(n.enabled=e.enabled),E(e.requireBase)&&(n.requireBase=e.requireBase),E(e.rewriteLinks)&&(n.rewriteLinks=e.rewriteLinks),this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(i,a,o,r){function s(e,t,n){var i=l.url(),o=l.$$state;try{a.url(e,t,n),l.$$state=a.state()}catch(r){throw l.url(i),l.$$state=o,r}}function c(e,t){i.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,d,u,p=a.baseHref(),m=a.url();if(n.enabled){if(!p&&n.requireBase)throw Za("nobase","$location in HTML5 mode requires a tag to be present!");u=yn(m)+(p||"/"),d=o.history?bn:$n}else u=_n(m),d=wn;l=new d(u,"#"+t),l.$$parseLinkUrl(m,m),l.$$state=a.state();var f=/^\s*(javascript|mailto):/i;r.on("click",function(t){if(n.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&2!=t.which){for(var o=zi(t.target);"a"!==P(o[0]);)if(o[0]===r[0]||!(o=o.parent())[0])return;var s=o.prop("href"),c=o.attr("href")||o.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Jn(s.animVal).href),f.test(s)||!s||o.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(s,c)&&(t.preventDefault(),l.absUrl()!=a.url()&&(i.$apply(),e.angular["ff-684208-preventDefault"]=!0))
-}}),l.absUrl()!=m&&a.url(l.absUrl(),!0);var h=!0;return a.onUrlChange(function(e,t){i.$evalAsync(function(){var n=l.absUrl(),a=l.$$state;l.$$parse(e),l.$$state=t,i.$broadcast("$locationChangeStart",e,n,t,a).defaultPrevented?(l.$$parse(n),l.$$state=a,s(n,!1,a)):(h=!1,c(n,a))}),i.$$phase||i.$digest()}),i.$watch(function(){var e=a.url(),t=a.state(),n=l.$$replace,r=e!==l.absUrl()||l.$$html5&&o.history&&t!==l.$$state;(h||r)&&(h=!1,i.$evalAsync(function(){i.$broadcast("$locationChangeStart",l.absUrl(),e,l.$$state,t).defaultPrevented?(l.$$parse(e),l.$$state=t):(r&&s(l.absUrl(),n,t===l.$$state?null:l.$$state),c(e,t))})),l.$$replace=!1}),l}]}function Mn(){var e=!0,t=this;this.debugEnabled=function(t){return v(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function a(e){var t=n.console||{},a=t[e]||t.log||f,r=!1;try{r=!!a.apply}catch(s){}return r?function(){var e=[];return o(arguments,function(t){e.push(i(t))}),a.apply(t,e)}:function(e,t){a(e,null==t?"":t)}}return{log:a("log"),info:a("info"),warn:a("warn"),error:a("error"),debug:function(){var n=a("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function An(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Xa("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function xn(e,t){if(e){if(e.constructor===e)throw Xa("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw Xa("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Xa("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw Xa("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function En(e,t){if(e){if(e.constructor===e)throw Xa("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===Ja||e===Qa||e===eo)throw Xa("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Tn(e){return e.constant}function In(e,t,n,i){xn(e,i);for(var a,o=t.split("."),r=0;o.length>1;r++){a=An(o.shift(),i);var s=xn(e[a],i);s||(s={},e[a]=s),e=s}return a=An(o.shift(),i),xn(e[a],i),e[a]=n,n}function Dn(e){return"constructor"==e}function Pn(e,t,i,a,o,r,s){An(e,r),An(t,r),An(i,r),An(a,r),An(o,r);var c=function(e){return xn(e,r)},l=s||Dn(e)?c:h,d=s||Dn(t)?c:h,u=s||Dn(i)?c:h,p=s||Dn(a)?c:h,m=s||Dn(o)?c:h;return function(r,s){var c=s&&s.hasOwnProperty(e)?s:r;return null==c?c:(c=l(c[e]),t?null==c?n:(c=d(c[t]),i?null==c?n:(c=u(c[i]),a?null==c?n:(c=p(c[a]),o?null==c?n:c=m(c[o]):c):c):c):c)}}function Nn(e,t){return function(n,i){return e(n,i,xn,t)}}function Un(e,t,i){var a=t.expensiveChecks,r=a?so:ro,s=r[e];if(s)return s;var c=e.split("."),l=c.length;if(t.csp)s=6>l?Pn(c[0],c[1],c[2],c[3],c[4],i,a):function(e,t){var o,r=0;do o=Pn(c[r++],c[r++],c[r++],c[r++],c[r++],i,a)(e,t),t=n,e=o;while(l>r);return o};else{var d="";a&&(d+="s = eso(s, fe);\nl = eso(l, fe);\n");var u=a;o(c,function(e,t){An(e,i);var n=(t?"s":'((l&&l.hasOwnProperty("'+e+'"))?l:s)')+"."+e;(a||Dn(e))&&(n="eso("+n+", fe)",u=!0),d+="if(s == null) return undefined;\ns="+n+";\n"}),d+="return s;";var p=new Function("s","l","eso","fe",d);p.toString=g(d),u&&(p=Nn(p,i)),s=p}return s.sharedGetter=!0,s.assign=function(t,n){return In(t,e,n,e)},r[e]=s,s}function On(e){return k(e.valueOf)?e.valueOf():co.call(e)}function Ln(){var e=ct(),t=ct();this.$get=["$filter","$sniffer",function(n,i){function a(e){var t=e;return e.sharedGetter&&(t=function(t,n){return e(t,n)},t.literal=e.literal,t.constant=e.constant,t.assign=e.assign),t}function r(e,t){for(var n=0,i=e.length;i>n;n++){var a=e[n];a.constant||(a.inputs?r(a.inputs,t):-1===t.indexOf(a)&&t.push(a))}return t}function s(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=On(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function c(e,t,n,i){var a,o=i.$$inputs||(i.$$inputs=r(i.inputs,[]));if(1===o.length){var c=s;return o=o[0],e.$watch(function(e){var t=o(e);return s(t,c)||(a=i(e),c=t&&On(t)),a},t,n)}for(var l=[],d=0,u=o.length;u>d;d++)l[d]=s;return e.$watch(function(e){for(var t=!1,n=0,r=o.length;r>n;n++){var c=o[n](e);(t||(t=!s(c,l[n])))&&(l[n]=c&&On(c))}return t&&(a=i(e)),a},t,n)}function l(e,t,n,i){var a,o;return a=e.$watch(function(e){return i(e)},function(e,n,i){o=e,k(t)&&t.apply(this,arguments),v(e)&&i.$$postDigest(function(){v(o)&&a()})},n)}function d(e,t,n,i){function a(e){var t=!0;return o(e,function(e){v(e)||(t=!1)}),t}var r,s;return r=e.$watch(function(e){return i(e)},function(e,n,i){s=e,k(t)&&t.call(this,e,n,i),a(e)&&i.$$postDigest(function(){a(s)&&r()})},n)}function u(e,t,n,i){var a;return a=e.$watch(function(e){return i(e)},function(){k(t)&&t.apply(this,arguments),a()},n)}function p(e,t){if(!t)return e;var n=function(n,i){var a=e(n,i),o=t(a,n,i);return v(a)||t.$stateful?o:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?n.$$watchDelegate=e.$$watchDelegate:t.$stateful||(n.$$watchDelegate=c,n.inputs=[e]),n}var m={csp:i.csp,expensiveChecks:!1},h={csp:i.csp,expensiveChecks:!0};return function(i,o,r){var s,g,_;switch(typeof i){case"string":_=i=i.trim();var v=r?t:e;if(s=v[_],!s){":"===i.charAt(0)&&":"===i.charAt(1)&&(g=!0,i=i.substring(2));var y=r?h:m,b=new ao(y),w=new oo(b,n,y);s=w.parse(i),s.constant?s.$$watchDelegate=u:g?(s=a(s),s.$$watchDelegate=s.literal?d:l):s.inputs&&(s.$$watchDelegate=c),v[_]=s}return p(s,o);case"function":return p(i,o);default:return p(f,o)}}}]}function Rn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Fn(function(t){e.$evalAsync(t)},t)}]}function Bn(){this.$get=["$browser","$exceptionHandler",function(e,t){return Fn(function(t){e.defer(t)},t)}]}function Fn(e,t){function a(e,t,n){function i(t){return function(n){a||(a=!0,t.call(e,n))}}var a=!1;return[i(t),i(n)]}function r(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function c(e){var i,a,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var r=0,s=o.length;s>r;++r){a=o[r][0],i=o[r][e.status];try{k(i)?a.resolve(i(e.value)):1===e.status?a.resolve(e.value):a.reject(e.value)}catch(c){a.reject(c),t(c)}}}function l(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){c(t)}))}function d(){this.promise=new r,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}function u(e){var t=new d,n=0,i=na(e)?[]:{};return o(e,function(e,a){n++,_(e).then(function(e){i.hasOwnProperty(a)||(i[a]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(a)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var p=i("$q",TypeError),m=function(){return new d};r.prototype={then:function(e,t,n){var i=new d;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,e,t,n]),this.$$state.status>0&&l(this.$$state),i.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return g(t,!0,e)},function(t){return g(t,!1,e)},t)}},d.prototype={resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(p("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,i;i=a(this,this.$$resolve,this.$$reject);try{(y(e)||k(e))&&(n=e&&e.then),k(n)?(this.promise.$$state.status=-1,n.call(e,i[0],i[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,l(this.promise.$$state))}catch(o){i[1](o),t(o)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,l(this.promise.$$state)},notify:function(n){var i=this.promise.$$state.pending;this.promise.$$state.status<=0&&i&&i.length&&e(function(){for(var e,a,o=0,r=i.length;r>o;o++){a=i[o][0],e=i[o][3];try{a.notify(k(e)?e(n):n)}catch(s){t(s)}}})}};var f=function(e){var t=new d;return t.reject(e),t.promise},h=function(e,t){var n=new d;return t?n.resolve(e):n.reject(e),n.promise},g=function(e,t,n){var i=null;try{k(n)&&(i=n())}catch(a){return h(a,!1)}return T(i)?i.then(function(){return h(e,t)},function(e){return h(e,!1)}):h(e,t)},_=function(e,t,n,i){var a=new d;return a.resolve(e),a.promise.then(t,n,i)},v=function b(e){function t(e){i.resolve(e)}function n(e){i.reject(e)}if(!k(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof b))return new b(e);var i=new d;return e(t,n),i.promise};return v.defer=m,v.reject=f,v.when=_,v.all=u,v}function qn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,a=!!n,o=a?function(e){var t=n(e);return function(){i(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=a,o}]}function jn(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(i,s,c,d){function u(){this.$id=l(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings=null}function p(e){if(w.$$phase)throw t("inprog","{0} already in progress",w.$$phase);w.$$phase=e}function m(){w.$$phase=null}function h(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function g(){}function v(){for(;C.length;)try{C.shift()()}catch(e){s(e)}r=null}function b(){null===r&&(r=d.defer(function(){w.$apply(v)}))}u.prototype={constructor:u,$new:function(e,t){function n(){i.$$destroyed=!0}var i;return t=t||this,e?(i=new u,i.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=l(),this.$$ChildScope=null},this.$$ChildScope.prototype=this),i=new this.$$ChildScope),i.$parent=t,i.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=i,t.$$childTail=i):t.$$childHead=t.$$childTail=i,(e||t!=this)&&i.$on("$destroy",n),i},$watch:function(e,t,i){var a=c(e);if(a.$$watchDelegate)return a.$$watchDelegate(this,t,i,a);var o=this,r=o.$$watchers,s={fn:t,last:g,get:a,exp:e,eq:!!i};return n=null,k(t)||(s.fn=f),r||(r=o.$$watchers=[]),r.unshift(s),function(){N(r,s),n=null}},$watchGroup:function(e,t){function n(){c=!1,l?(l=!1,t(a,a,s)):t(a,i,s)}var i=new Array(e.length),a=new Array(e.length),r=[],s=this,c=!1,l=!0;if(!e.length){var d=!0;return s.$evalAsync(function(){d&&t(a,a,s)}),function(){d=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){a[0]=e,i[0]=n,t(a,e===n?a:i,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){a[t]=e,i[t]=o,c||(c=!0,s.$evalAsync(n))});r.push(o)}),function(){for(;r.length;)r.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,i,s,c;if(!_(o)){if(y(o))if(a(o)){r!==m&&(r=m,g=r.length=0,u++),t=o.length,g!==t&&(u++,r.length=g=t);for(var l=0;t>l;l++)c=r[l],s=o[l],i=c!==c&&s!==s,i||c===s||(u++,r[l]=s)}else{r!==f&&(r=f={},g=0,u++),t=0;for(n in o)o.hasOwnProperty(n)&&(t++,s=o[n],c=r[n],n in r?(i=c!==c&&s!==s,i||c===s||(u++,r[n]=s)):(g++,r[n]=s,u++));if(g>t){u++;for(n in r)o.hasOwnProperty(n)||(g--,delete r[n])}}else r!==o&&(r=o,u++);return u}}function i(){if(h?(h=!1,t(o,o,l)):t(o,s,l),d)if(y(o))if(a(o)){s=new Array(o.length);for(var e=0;e1,u=0,p=c(e,n),m=[],f={},h=!0,g=0;return this.$watch(p,i)},$digest:function(){var i,a,o,c,l,u,f,h,_,y,b,C=e,M=this,A=[];p("$digest"),d.$$checkUrlChange(),this===w&&null!==r&&(d.defer.cancel(r),v()),n=null;do{for(u=!1,h=M;$.length;){try{b=$.shift(),b.scope.$eval(b.expression)}catch(x){s(x)}n=null}e:do{if(c=h.$$watchers)for(l=c.length;l--;)try{if(i=c[l])if((a=i.get(h))===(o=i.last)||(i.eq?L(a,o):"number"==typeof a&&"number"==typeof o&&isNaN(a)&&isNaN(o))){if(i===n){u=!1;break e}}else u=!0,n=i,i.last=i.eq?U(a,null):a,i.fn(a,o===g?a:o,h),5>C&&(_=4-C,A[_]||(A[_]=[]),y=k(i.exp)?"fn: "+(i.exp.name||i.exp.toString()):i.exp,y+="; newVal: "+j(a)+"; oldVal: "+j(o),A[_].push(y))}catch(x){s(x)}if(!(f=h.$$childHead||h!==M&&h.$$nextSibling))for(;h!==M&&!(f=h.$$nextSibling);)h=h.$parent}while(h=f);if((u||$.length)&&!C--)throw m(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,j(A))}while(u||$.length);for(m();S.length;)try{S.shift()()}catch(x){s(x)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;if(this.$broadcast("$destroy"),this.$$destroyed=!0,this!==w){for(var t in this.$$listenerCount)h(this,this.$$listenerCount[t],t);e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$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=f,this.$on=this.$watch=this.$watchGroup=function(){return f},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}}},$eval:function(e,t){return c(e)(this,t)},$evalAsync:function(e){w.$$phase||$.length||d.defer(function(){$.length&&w.$digest()}),$.push({scope:this,expression:e})},$$postDigest:function(e){S.push(e)},$apply:function(e){try{return p("$apply"),this.$eval(e)}catch(t){s(t)}finally{m();try{w.$digest()}catch(t){throw s(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&C.push(t),b()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var i=this;do i.$$listenerCount[e]||(i.$$listenerCount[e]=0),i.$$listenerCount[e]++;while(i=i.$parent);var a=this;return function(){var i=n.indexOf(t);-1!==i&&(n[i]=null,h(a,1,e))}},$emit:function(e){var t,n,i,a=[],o=this,r=!1,c={name:e,targetScope:o,stopPropagation:function(){r=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=R([c],arguments,1);do{for(t=o.$$listeners[e]||a,c.currentScope=o,n=0,i=t.length;i>n;n++)if(t[n])try{t[n].apply(null,l)}catch(d){s(d)}else t.splice(n,1),n--,i--;if(r)return c.currentScope=null,c;o=o.$parent}while(o);return c.currentScope=null,c},$broadcast:function(e){var t=this,n=t,i=t,a={name:e,targetScope:t,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!t.$$listenerCount[e])return a;for(var o,r,c,l=R([a],arguments,1);n=i;){for(a.currentScope=n,o=n.$$listeners[e]||[],r=0,c=o.length;c>r;r++)if(o[r])try{o[r].apply(null,l)}catch(d){s(d)}else o.splice(r,1),r--,c--;if(!(i=n.$$listenerCount[e]&&n.$$childHead||n!==t&&n.$$nextSibling))for(;n!==t&&!(i=n.$$nextSibling);)n=n.$parent}return a.currentScope=null,a}};var w=new u,$=w.$$asyncQueue=[],S=w.$$postDigestQueue=[],C=w.$$applyAsyncQueue=[];return w}]}function Hn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return v(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return v(e)?(t=e,this):t},this.$get=function(){return function(n,i){var a,o=i?t:e;return a=Jn(n).href,""===a||a.match(o)?n:"unsafe:"+a}}}function Vn(e){if("self"===e)return e;if(b(e)){if(e.indexOf("***")>-1)throw lo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=aa(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw lo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function zn(e){var t=[];return v(e)&&o(e,function(e){t.push(Vn(e))}),t}function Wn(){this.SCE_CONTEXTS=uo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=zn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=zn(e)),t},this.$get=["$injector",function(i){function a(e,t){return"self"===e?Qn(t):!!e.exec(t.href)}function o(n){var i,o,r=Jn(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(a(e[i],r)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(a(t[i],r)){s=!1;break}return s}function r(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var i=p.hasOwnProperty(e)?p[e]:null;if(!i)throw lo("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw lo("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new i(t)}function c(e){return e instanceof u?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||t===n||""===t)return t;var i=p.hasOwnProperty(e)?p[e]:null;if(i&&t instanceof i)return t.$$unwrapTrustedValue();if(e===uo.RESOURCE_URL){if(o(t))return t;throw lo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===uo.HTML)return d(t);throw lo("unsafe","Attempting to use an unsafe value in a safe context.")}var d=function(){throw lo("unsafe","Attempting to use an unsafe value in a safe context.")};i.has("$sanitize")&&(d=i.get("$sanitize"));var u=r(),p={};return p[uo.HTML]=r(u),p[uo.CSS]=r(u),p[uo.URL]=r(u),p[uo.JS]=r(u),p[uo.RESOURCE_URL]=r(p[uo.URL]),{trustAs:s,getTrusted:l,valueOf:c}}]}function Gn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Vi)throw lo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=O(uo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=h),i.parseAs=function(e,n){var a=t(n);return a.literal&&a.constant?a:t(n,function(t){return i.getTrusted(e,t)})};var a=i.parseAs,r=i.getTrusted,s=i.trustAs;return o(uo,function(e,t){var n=Bi(t);i[pt("parse_as_"+n)]=function(t){return a(e,t)},i[pt("get_trusted_"+n)]=function(t){return r(e,t)},i[pt("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Kn(){this.$get=["$window","$document",function(e,t){var n,i,a={},o=p((/android (\d+)/.exec(Bi((e.navigator||{}).userAgent))||[])[1]),r=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,l=s.body&&s.body.style,d=!1,u=!1;if(l){for(var m in l)if(i=c.exec(m)){n=i[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),d=!!("transition"in l||n+"Transition"in l),u=!!("animation"in l||n+"Animation"in l),!o||d&&u||(d=b(s.body.style.webkitTransition),u=b(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||r),hasEvent:function(e){if("input"==e&&9==Vi)return!1;if(_(a[e])){var t=s.createElement("div");a[e]="on"+e in t}return a[e]},csp:oa(),vendorPrefix:n,transitions:d,animations:u,android:o}}]}function Zn(){this.$get=["$templateCache","$http","$q",function(e,t,n){function i(a,o){function r(){if(s.totalPendingRequests--,!o)throw Ba("tpload","Failed to load template: {0}",a);return n.reject()}var s=i;s.totalPendingRequests++;var c=t.defaults&&t.defaults.transformResponse;if(na(c)){var l=c;c=[];for(var d=0;d-1});var o=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!o(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var i in e)if("$"!==i.charAt(0)&&o(e[i],t))return!0}return!1;case"array":for(var a=0;ae;e=Math.abs(e);var r=e+"",s="",c=[],l=!1;if(-1!==r.indexOf("e")){var d=r.match(/([\d\.]+)e(-?)(\d+)/);d&&"-"==d[2]&&d[3]>a+1?(r="0",e=0):(s=r,l=!0)}if(l)a>0&&e>-1&&1>e&&(s=e.toFixed(a));else{var u=(r.split(fo)[1]||"").length;_(a)&&(a=Math.min(Math.max(t.minFrac,u),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+a)).toString()+"e"+-a),0===e&&(o=!1);var p=(""+e).split(fo),m=p[0];p=p[1]||"";var f,h=0,g=t.lgSize,v=t.gSize;if(m.length>=g+v)for(h=m.length-g,f=0;h>f;f++)(h-f)%v===0&&0!==f&&(s+=n),s+=m.charAt(f);for(f=h;fe&&(i="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),ri(o,t,i)}}function ci(e,t){return function(n,i){var a=n["get"+e](),o=qi(t?"SHORT"+e:e);return i[o][a]}}function li(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=ri(Math[t>0?"floor":"ceil"](t/60),2)+ri(Math.abs(t%60),2)}function di(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function ui(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function pi(e){return function(t){var n=di(t.getFullYear()),i=ui(t),a=+i-+n,o=1+Math.round(a/6048e5);return ri(o,e)}}function mi(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function fi(e){function t(e){var t;if(t=e.match(n)){var i=new Date(0),a=0,o=0,r=t[8]?i.setUTCFullYear:i.setFullYear,s=t[8]?i.setUTCHours:i.setHours;t[9]&&(a=p(t[9]+t[10]),o=p(t[9]+t[11])),r.call(i,p(t[1]),p(t[2])-1,p(t[3]));var c=p(t[4]||0)-a,l=p(t[5]||0)-o,d=p(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(i,c,l,d,u),i}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,a){var r,s,c="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,b(n)&&(n=_o.test(n)?p(n):t(n)),w(n)&&(n=new Date(n)),!$(n))return n;for(;i;)s=go.exec(i),s?(l=R(l,s,1),i=l.pop()):(l.push(i),i=null);return a&&"UTC"===a&&(n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+n.getTimezoneOffset())),o(l,function(t){r=ho[t],c+=r?r(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}}function hi(){return function(e){return j(e,!0)}}function gi(){return function(e,t){if(w(e)&&(e=e.toString()),!na(e)&&!b(e))return e;if(t=1/0===Math.abs(Number(t))?Number(t):p(t),b(e))return t?t>=0?e.slice(0,t):e.slice(t,e.length):"";var n,i,a=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),t>0?(n=0,i=t):(n=e.length+t,i=e.length);i>n;n++)a.push(e[n]);return a}}function _i(e){return function(t,n,i){function o(e,t){for(var i=0;ie?-1:1):i>n?-1:1}if(!a(t))return t;n=na(n)?n:[n],0===n.length&&(n=["+"]),n=n.map(function(t){var n=!1,i=t||h;if(b(t)){if(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),""===t)return r(function(e,t){return s(e,t)},n);if(i=e(t),i.constant){var a=i();return r(function(e,t){return s(e[a],t[a])},n)}}return r(function(e,t){return s(i(e),i(t))},n)});for(var c=[],l=0;l15&&19>t||t>=37&&40>=t||p(e)}),a.hasEvent("paste")&&t.on("paste cut",p)}t.on("change",d),i.$render=function(){t.val(i.$isEmpty(i.$modelValue)?"":i.$viewValue)}}function Si(e,t){if($(e))return e;if(b(e)){Po.lastIndex=0;var n=Po.exec(e);if(n){var i=+n[1],a=+n[2],o=0,r=0,s=0,c=0,l=di(i),d=7*(a-1);return t&&(o=t.getHours(),r=t.getMinutes(),s=t.getSeconds(),c=t.getMilliseconds()),new Date(i,0,l.getDate()+d,o,r,s,c)}}return 0/0}function Ci(e,t){return function(n,i){var a,r;if($(n))return n;if(b(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Ao.test(n))return new Date(n);if(e.lastIndex=0,a=e.exec(n))return a.shift(),r=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(a,function(e,n){n=h},s.$observe("min",function(e){h=p(e),c.$validate()})}if(v(s.max)||s.ngMax){var g;c.$validators.max=function(e){return c.$isEmpty(e)||_(g)||i(e)<=g},s.$observe("max",function(e){g=p(e),c.$validate()})}c.$isEmpty=function(e){return!e||e.getTime&&e.getTime()!==e.getTime()}}}function Ai(e,t,i,a){var o=t[0],r=a.$$hasNativeValidators=y(o.validity);r&&a.$parsers.push(function(e){var i=t.prop(Ri)||{};return i.badInput&&!i.typeMismatch?n:e})}function xi(e,t,i,a,o,r){if(Ai(e,t,i,a),ki(e,t,i,a,o,r),a.$$parserName="number",a.$parsers.push(function(e){return a.$isEmpty(e)?null:To.test(e)?parseFloat(e):n}),a.$formatters.push(function(e){if(!a.$isEmpty(e)){if(!w(e))throw Lo("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),i.min||i.ngMin){var s;a.$validators.min=function(e){return a.$isEmpty(e)||_(s)||e>=s
-},i.$observe("min",function(e){v(e)&&!w(e)&&(e=parseFloat(e,10)),s=w(e)&&!isNaN(e)?e:n,a.$validate()})}if(i.max||i.ngMax){var c;a.$validators.max=function(e){return a.$isEmpty(e)||_(c)||c>=e},i.$observe("max",function(e){v(e)&&!w(e)&&(e=parseFloat(e,10)),c=w(e)&&!isNaN(e)?e:n,a.$validate()})}}function Ei(e,t,n,i,a,o){ki(e,t,n,i,a,o),wi(i),i.$$parserName="url",i.$validators.url=function(e){return i.$isEmpty(e)||xo.test(e)}}function Ti(e,t,n,i,a,o){ki(e,t,n,i,a,o),wi(i),i.$$parserName="email",i.$validators.email=function(e){return i.$isEmpty(e)||Eo.test(e)}}function Ii(e,t,n,i){_(n.name)&&t.attr("name",l());var a=function(e){t[0].checked&&i.$setViewValue(n.value,e&&e.type)};t.on("click",a),i.$render=function(){var e=n.value;t[0].checked=e==i.$viewValue},n.$observe("value",i.$render)}function Di(e,t,n,a,o){var r;if(v(a)){if(r=e(a),!r.constant)throw i("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,a);return r(t)}return o}function Pi(e,t,n,i,a,o,r,s){var c=Di(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Di(s,e,"ngFalseValue",n.ngFalseValue,!1),d=function(e){i.$setViewValue(t[0].checked,e&&e.type)};t.on("click",d),i.$render=function(){t[0].checked=i.$viewValue},i.$isEmpty=function(e){return e!==c},i.$formatters.push(function(e){return L(e,c)}),i.$parsers.push(function(e){return e?c:l})}function Ni(e){function t(e,t,c){t===n?i("$pending",e,c):a("$pending",e,c),E(t)?t?(u(s.$error,e,c),d(s.$$success,e,c)):(d(s.$error,e,c),u(s.$$success,e,c)):(u(s.$error,e,c),u(s.$$success,e,c)),s.$pending?(o(Wo,!0),s.$valid=s.$invalid=n,r("",null)):(o(Wo,!1),s.$valid=Ui(s.$error),s.$invalid=!s.$valid,r("",s.$valid));var l;l=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,r(e,l),p.$setValidity(e,l,s)}function i(e,t,n){s[e]||(s[e]={}),d(s[e],t,n)}function a(e,t,i){s[e]&&u(s[e],t,i),Ui(s[e])&&(s[e]=n)}function o(e,t){t&&!l[e]?(m.addClass(c,e),l[e]=!0):!t&&l[e]&&(m.removeClass(c,e),l[e]=!1)}function r(e,t){e=e?"-"+tt(e,"-"):"",o(Fo+e,t===!0),o(qo+e,t===!1)}var s=e.ctrl,c=e.$element,l={},d=e.set,u=e.unset,p=e.parentForm,m=e.$animate;l[qo]=!(l[Fo]=c.hasClass(Fo)),s.$setValidity=t}function Ui(e){if(e)for(var t in e)return!1;return!0}function Oi(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var i=0;i0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function p(e,t){var a=i(t,e),o=i(e,t);a=u(a,1),o=u(o,-1),a&&a.length&&n.addClass(s,a),o&&o.length&&n.removeClass(s,o)}function m(e){if(t===!0||r.$index%2===t){var n=a(e||[]);if(f){if(!L(e,f)){var i=a(f);p(i,n)}}else l(n)}f=O(e)}var f;r.$watch(c[e],m,!0),c.$observe("class",function(){m(r.$eval(c[e]))}),"ngClass"!==e&&r.$watch("$index",function(n,i){var o=1&n;if(o!==(1&i)){var s=a(r.$eval(c[e]));o===t?l(s):d(s)}})}}}]}var Li=/^\/(.+)\/([a-z]*)$/,Ri="validity",Bi=function(e){return b(e)?e.toLowerCase():e},Fi=Object.prototype.hasOwnProperty,qi=function(e){return b(e)?e.toUpperCase():e},ji=function(e){return b(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Hi=function(e){return b(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Bi=ji,qi=Hi);var Vi,zi,Wi,Gi,Ki=[].slice,Zi=[].splice,Yi=[].push,Xi=Object.prototype.toString,Ji=i("ng"),Qi=e.angular||(e.angular={}),ea=0;Vi=t.documentMode,f.$inject=[],h.$inject=[];var ta,na=Array.isArray,ia=function(e){return b(e)?e.trim():e},aa=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,Sa=/<|?\w+;/,Ca=/<([\w:]+)/,Ma=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Aa={option:[1,'"],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};Aa.optgroup=Aa.option,Aa.tbody=Aa.tfoot=Aa.colgroup=Aa.caption=Aa.thead,Aa.th=Aa.td;var xa=_t.prototype={ready:function(n){function i(){a||(a=!0,n())}var a=!1;"complete"===t.readyState?setTimeout(i):(this.on("DOMContentLoaded",i),_t(e).on("load",i))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return zi(e>=0?this[e]:this[this.length+e])},length:0,push:Yi,sort:[].sort,splice:[].splice},Ea={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ea[Bi(e)]=e});var Ta={};o("input,select,option,textarea,button,form,details".split(","),function(e){Ta[e]=!0});var Ia={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:kt,removeData:wt},function(e,t){_t[t]=e}),o({data:kt,inheritedData:Et,scope:function(e){return zi.data(e,"$scope")||Et(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return zi.data(e,"$isolateScope")||zi.data(e,"$isolateScopeNoTemplate")},controller:xt,injector:function(e){return Et(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:St,css:function(e,t,n){return t=pt(t),v(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,i){var a=Bi(t);if(Ea[a]){if(!v(i))return e[t]||(e.attributes.getNamedItem(t)||f).specified?a:n;i?(e[t]=!0,e.setAttribute(t,a)):(e[t]=!1,e.removeAttribute(a))}else if(v(i))e.setAttribute(t,i);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?n:o}},prop:function(e,t,n){return v(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(_(t)){var n=e.nodeType;return n===la||n===da?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(_(t)){if(e.multiple&&"select"===P(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return _(t)?e.innerHTML:(yt(e,!0),void(e.innerHTML=t))},empty:Tt},function(e,t){_t.prototype[t]=function(t,i){var a,o,r=this.length;if(e!==Tt&&(2==e.length&&e!==St&&e!==xt?t:i)===n){if(y(t)){for(a=0;r>a;a++)if(e===kt)e(this[a],t);else for(o in t)e(this[a],o,t[o]);return this}for(var s=e.$dv,c=s===n?Math.min(r,1):r,l=0;c>l;l++){var d=e(this[l],t,i);s=s?s+d:d}return s}for(a=0;r>a;a++)e(this[a],t,i);return this}}),o({removeData:wt,on:function Or(e,t,n,i){if(v(i))throw $a("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ft(e)){var a=$t(e,!0),o=a.events,r=a.handle;r||(r=a.handle=Ut(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],c=s.length;c--;){t=s[c];var l=o[t];l||(o[t]=[],"mouseenter"===t||"mouseleave"===t?Or(e,wa[t],function(e){var n=this,i=e.relatedTarget;(!i||i!==n&&!n.contains(i))&&r(e,t)}):"$destroy"!==t&&_a(e,t,r),l=o[t]),l.push(n)}}},off:bt,one:function(e,t,n){e=zi(e),e.on(t,function i(){e.off(t,n),e.off(t,i)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;yt(e),o(new _t(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===la&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===la||n===ma){t=new _t(t);for(var i=0,a=t.length;a>i;i++){var o=t[i];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===la){var n=e.firstChild;o(new _t(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=zi(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:It,detach:function(e){It(e,!0)},after:function(e,t){var n=e,i=e.parentNode;t=new _t(t);for(var a=0,o=t.length;o>a;a++){var r=t[a];i.insertBefore(r,n.nextSibling),n=r}},addClass:Mt,removeClass:Ct,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var i=n;_(i)&&(i=!St(e,t)),(i?Mt:Ct)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ma?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:vt,triggerHandler:function(e,t,n){var i,a,r,s=t.type||t,c=$t(e),l=c&&c.events,d=l&&l[s];d&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:f,type:s,target:e},t.type&&(i=u(i,t)),a=O(d),r=n?[i].concat(n):[i],o(a,function(t){i.isImmediatePropagationStopped()||t.apply(e,r)}))}},function(e,t){_t.prototype[t]=function(t,n,i){for(var a,o=0,r=this.length;r>o;o++)_(a)?(a=e(this[o],t,n,i),v(a)&&(a=zi(a))):At(a,e(this[o],t,n,i));return v(a)?a:this},_t.prototype.bind=_t.prototype.on,_t.prototype.unbind=_t.prototype.off}),Lt.prototype={put:function(e,t){this[Ot(e,this.nextUid)]=t},get:function(e){return this[Ot(e,this.nextUid)]},remove:function(e){var t=this[e=Ot(e,this.nextUid)];return delete this[e],t}};var Da=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Pa=/,/,Na=/^\s*(_?)(\S+?)\1\s*$/,Ua=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Oa=i("$injector");Ft.$$annotate=Bt;var La=i("$animate"),Ra=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var i=t+"-animation";if(t&&"."!=t.charAt(0))throw La("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=i,e.factory(i,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$$q","$$asyncCallback","$rootScope",function(e,t,n){function i(t){var i,a=e.defer();return a.promise.$$cancelFn=function(){i&&i()},n.$$postDigest(function(){i=t(function(){a.resolve()})}),a.promise}function a(e,t){var n=[],i=[],a=ct();return o((e.attr("class")||"").split(/\s+/),function(e){a[e]=!0}),o(t,function(e,t){var o=a[t];e===!1&&o?i.push(t):e!==!0||o||n.push(t)}),n.length+i.length>0&&[n.length?n:null,i.length?i:null]}function r(e,t,n){for(var i=0,a=t.length;a>i;++i){var o=t[i];e[o]=n}}function s(){return l||(l=e.defer(),t(function(){l.resolve(),l=null})),l.promise}function c(e,t){if(Qi.isObject(t)){var n=u(t.from||{},t.to||{});e.css(n)}}var l;return{animate:function(e,t,n){return c(e,{from:t,to:n}),s()},enter:function(e,t,n,i){return c(e,i),n?n.after(e):t.prepend(e),s()},leave:function(e){return e.remove(),s()},move:function(e,t,n,i){return this.enter(e,t,n,i)},addClass:function(e,t,n){return this.setClass(e,t,[],n)},$$addClassImmediately:function(e,t,n){return e=zi(e),t=b(t)?t:na(t)?t.join(" "):"",o(e,function(e){Mt(e,t)}),c(e,n),s()},removeClass:function(e,t,n){return this.setClass(e,[],t,n)},$$removeClassImmediately:function(e,t,n){return e=zi(e),t=b(t)?t:na(t)?t.join(" "):"",o(e,function(e){Ct(e,t)}),c(e,n),s()},setClass:function(e,t,n,o){var s=this,c="$$animateClasses",l=!1;e=zi(e);var d=e.data(c);d?o&&d.options&&(d.options=Qi.extend(d.options||{},o)):(d={classes:{},options:o},l=!0);var u=d.classes;return t=na(t)?t:t.split(" "),n=na(n)?n:n.split(" "),r(u,t,!0),r(u,n,!1),l&&(d.promise=i(function(t){var n=e.data(c);if(e.removeData(c),n){var i=a(e,n.classes);i&&s.$$setClassImmediately(e,i[0],i[1],n.options)}t()}),e.data(c,d)),d.promise},$$setClassImmediately:function(e,t,n,i){return t&&this.$$addClassImmediately(e,t),n&&this.$$removeClassImmediately(e,n),c(e,i),s()},enabled:f,cancel:f}}]}],Ba=i("$compile");Gt.$inject=["$provide","$$sanitizeUriProvider"];var Fa=/^((?:x|data)[\:\-_])/i,qa="application/json",ja={"Content-Type":qa+";charset=utf-8"},Ha=/^\s*(\[|\{[^\{])/,Va=/[\}\]]\s*$/,za=/^\)\]\}',?\n/,Wa=i("$interpolate"),Ga=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Ka={http:80,https:443,ftp:21},Za=i("$location"),Ya={$$html5:!1,$$replace:!1,absUrl:kn("$$absUrl"),url:function(e){if(_(e))return this.$$url;var t=Ga.exec(e);return t[1]&&this.path(decodeURIComponent(t[1])),(t[2]||t[1])&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:kn("$$protocol"),host:kn("$$host"),port:kn("$$port"),path:Sn("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(b(e)||w(e))e=e.toString(),this.$$search=W(e);else{if(!y(e))throw Za("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=U(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:_(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Sn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([$n,wn,bn],function(e){e.prototype=Object.create(Ya),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==bn||!this.$$html5)throw Za("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=_(t)?null:t,this}});var Xa=i("$parse"),Ja=Function.prototype.call,Qa=Function.prototype.apply,eo=Function.prototype.bind,to=ct();o({"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:function(){}},function(e,t){e.constant=e.literal=e.sharedGetter=!0,to[t]=e}),to["this"]=function(e){return e},to["this"].sharedGetter=!0;var no=u(ct(),{"+":function(e,t,i,a){return i=i(e,t),a=a(e,t),v(i)?v(a)?i+a:i:v(a)?a:n},"-":function(e,t,n,i){return n=n(e,t),i=i(e,t),(v(n)?n:0)-(v(i)?i:0)},"*":function(e,t,n,i){return n(e,t)*i(e,t)},"/":function(e,t,n,i){return n(e,t)/i(e,t)},"%":function(e,t,n,i){return n(e,t)%i(e,t)},"===":function(e,t,n,i){return n(e,t)===i(e,t)},"!==":function(e,t,n,i){return n(e,t)!==i(e,t)},"==":function(e,t,n,i){return n(e,t)==i(e,t)},"!=":function(e,t,n,i){return n(e,t)!=i(e,t)},"<":function(e,t,n,i){return n(e,t)":function(e,t,n,i){return n(e,t)>i(e,t)},"<=":function(e,t,n,i){return n(e,t)<=i(e,t)},">=":function(e,t,n,i){return n(e,t)>=i(e,t)},"&&":function(e,t,n,i){return n(e,t)&&i(e,t)},"||":function(e,t,n,i){return n(e,t)||i(e,t)},"!":function(e,t,n){return!n(e,t)},"=":!0,"|":!0}),io={n:"\n",f:"\f",r:"\r",t:" ",v:"","'":"'",'"':'"'},ao=function(e){this.options=e};ao.prototype={constructor:ao,lex:function(e){for(this.text=e,this.index=0,this.ch=n,this.tokens=[];this.index="0"&&"9">=e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||""===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var i=v(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Xa("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,i,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0){var a=this.tokens[0],o=a.text;if(o===e||o===t||o===n||o===i||!e&&!t&&!n&&!i)return a}return!1},expect:function(e,t,n,i){var a=this.peek(e,t,n,i);return a?(this.tokens.shift(),a):!1},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(e,t){return u(function(n,i){return e(n,i,t)},{constant:t.constant,inputs:[t]})},binaryFn:function(e,t,n,i){return u(function(i,a){return t(i,a,e,n)},{constant:e.constant&&n.constant,inputs:!i&&[e,n]})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var i,a=0,o=e.length;o>a;a++)i=e[a](t,n);return i}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},filter:function(e){var t,i,a=this.expect(),o=this.$filter(a.text);if(this.peek(":"))for(t=[],i=[];this.expect(":");)t.push(this.expression());var r=[e].concat(t||[]);return u(function(a,r){var s=e(a,r);if(i){i[0]=s;for(var c=t.length;c--;)i[c+1]=t[c](a,r);return o.apply(n,i)}return o(s)},{constant:!o.$stateful&&r.every(Tn),inputs:!o.$stateful&&r})},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),u(function(t,i){return n.assign(t,e(t,i),i)},{inputs:[n,e]})):n},ternary:function(){var e,t,n=this.logicalOR();if(t=this.expect("?")){if(e=this.assignment(),t=this.expect(":")){var i=this.assignment();return u(function(t,a){return n(t,a)?e(t,a):i(t,a)},{constant:n.constant&&e.constant&&i.constant})}this.throwError("expected :",t)}return n},logicalOR:function(){for(var e,t=this.logicalAND();e=this.expect("||");)t=this.binaryFn(t,e.fn,this.logicalAND(),!0);return t},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND(),!0)),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(oo.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(e){var t=this.text,n=this.expect().text,i=Un(n,this.options,t);return u(function(t,n,a){return i(a||e(t,n))},{assign:function(i,a,o){var r=e(i,o);return r||e.assign(i,r={}),In(r,n,a,t)}})},objectIndex:function(e){var t=this.text,i=this.expression();return this.consume("]"),u(function(a,o){var r,s=e(a,o),c=i(a,o);return An(c,t),s?r=xn(s[c],t):n},{assign:function(n,a,o){var r=An(i(n,o),t),s=xn(e(n,o),t);return s||e.assign(n,s={}),s[r]=a}})},functionCall:function(e,t){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var i=this.text,a=n.length?[]:null;return function(o,r){var s=t?t(o,r):o,c=e(o,r,s)||f;if(a)for(var l=n.length;l--;)a[l]=xn(n[l](o,r),i);xn(s,i),En(c,i);var d=c.apply?c.apply(s,a):c(a[0],a[1],a[2],a[3],a[4]);return xn(d,i)}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var t=this.expression();e.push(t)}while(this.expect(","));return this.consume("]"),u(function(t,n){for(var i=[],a=0,o=e.length;o>a;a++)i.push(e[a](t,n));return i},{literal:!0,constant:e.every(Tn),inputs:e})},object:function(){var e=[],t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.expect();e.push(n.string||n.text),this.consume(":");var i=this.expression();t.push(i)}while(this.expect(","));return this.consume("}"),u(function(n,i){for(var a={},o=0,r=t.length;r>o;o++)a[e[o]]=t[o](n,i);return a},{literal:!0,constant:t.every(Tn),inputs:t})}};var ro=ct(),so=ct(),co=Object.prototype.valueOf,lo=i("$sce"),uo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ba=i("$compile"),po=t.createElement("a"),mo=Jn(e.location.href,!0);ti.$inject=["$provide"],ii.$inject=["$locale"],ai.$inject=["$locale"];var fo=".",ho={yyyy:si("FullYear",4),yy:si("FullYear",2,0,!0),y:si("FullYear",1),MMMM:ci("Month"),MMM:ci("Month",!0),MM:si("Month",2,1),M:si("Month",1,1),dd:si("Date",2),d:si("Date",1),HH:si("Hours",2),H:si("Hours",1),hh:si("Hours",2,-12),h:si("Hours",1,-12),mm:si("Minutes",2),m:si("Minutes",1),ss:si("Seconds",2),s:si("Seconds",1),sss:si("Milliseconds",3),EEEE:ci("Day"),EEE:ci("Day",!0),a:mi,Z:li,ww:pi(2),w:pi(1)},go=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,_o=/^\-?\d+$/;fi.$inject=["$locale"];var vo=g(Bi),yo=g(qi);_i.$inject=["$parse"];var bo=g({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref||t.name?void 0:function(e,t){var n="[object SVGAnimatedString]"===Xi.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),wo={};o(Ea,function(e,t){if("multiple"!=e){var n=Kt("ng-"+t);wo[n]=function(){return{restrict:"A",priority:100,link:function(e,i,a){e.$watch(a[n],function(e){a.$set(t,!!e)})}}}}}),o(Ia,function(e,t){wo[t]=function(){return{priority:100,link:function(e,n,i){if("ngPattern"===t&&"/"==i.ngPattern.charAt(0)){var a=i.ngPattern.match(Li);if(a)return void i.$set("ngPattern",new RegExp(a[1],a[2]))}e.$watch(i[t],function(e){i.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=Kt("ng-"+e);wo[t]=function(){return{priority:99,link:function(n,i,a){var o=e,r=e;"href"===e&&"[object SVGAnimatedString]"===Xi.call(i.prop("href"))&&(r="xlinkHref",a.$attr[r]="xlink:href",o=null),a.$observe(t,function(t){return t?(a.$set(r,t),void(Vi&&o&&i.prop(o,a[r]))):void("href"===e&&a.$set(r,null))})}}}});var $o={$addControl:f,$$renameControl:yi,$removeControl:f,$setValidity:f,$setDirty:f,$setPristine:f,$setSubmitted:f},ko="ng-submitted";bi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var So=function(e){return["$timeout",function(t){var i={name:"form",restrict:e?"EAC":"E",controller:bi,compile:function(e){return e.addClass(jo).addClass(Fo),{pre:function(e,i,a,o){if(!("action"in a)){var r=function(t){e.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),t.preventDefault?t.preventDefault():t.returnValue=!1};_a(i[0],"submit",r),i.on("$destroy",function(){t(function(){va(i[0],"submit",r)},0,!1)})}var s=o.$$parentForm,c=o.$name;c&&(In(e,c,o,c),a.$observe(a.name?"name":"ngForm",function(t){c!==t&&(In(e,c,n,c),c=t,In(e,c,o,c),s.$$renameControl(o,c))})),i.on("$destroy",function(){s.$removeControl(o),c&&In(e,c,n,c),u(o,$o)})}}}};return i}]},Co=So(),Mo=So(!0),Ao=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,xo=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Eo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,To=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Io=/^(\d{4})-(\d{2})-(\d{2})$/,Do=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Po=/^(\d{4})-W(\d\d)$/,No=/^(\d{4})-(\d\d)$/,Uo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Oo=/(\s+|^)default(\s+|$)/,Lo=new i("ngModel"),Ro={text:$i,date:Mi("date",Io,Ci(Io,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Mi("datetimelocal",Do,Ci(Do,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Mi("time",Uo,Ci(Uo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Mi("week",Po,Si,"yyyy-Www"),month:Mi("month",No,Ci(No,["yyyy","MM"]),"yyyy-MM"),number:xi,url:Ei,email:Ti,radio:Ii,checkbox:Pi,hidden:f,button:f,submit:f,reset:f,file:f},Bo=["$browser","$sniffer","$filter","$parse",function(e,t,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(a,o,r,s){s[0]&&(Ro[Bi(r.type)]||Ro.text)(a,o,r,s[0],t,e,n,i)}}}}],Fo="ng-valid",qo="ng-invalid",jo="ng-pristine",Ho="ng-dirty",Vo="ng-untouched",zo="ng-touched",Wo="ng-pending",Go=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,i,a,r,s,c,l,d,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=u(i.name||"",!1)(e);var p=r(i.ngModel),m=null,h=this,g=function(){var t=p(e);return h.$options&&h.$options.getterSetter&&k(t)&&(t=t()),t},y=function(){var t;h.$options&&h.$options.getterSetter&&k(t=p(e))?t(h.$modelValue):p.assign(e,h.$modelValue)};this.$$setOptions=function(e){if(h.$options=e,!(p.assign||e&&e.getterSetter))throw Lo("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,V(a))},this.$render=f,this.$isEmpty=function(e){return _(e)||""===e||null===e||e!==e};var b=a.inheritedData("$formController")||$o,$=0;Ni({ctrl:this,$element:a,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:b,$animate:s}),this.$setPristine=function(){h.$dirty=!1,h.$pristine=!0,s.removeClass(a,Ho),s.addClass(a,jo)},this.$setUntouched=function(){h.$touched=!1,h.$untouched=!0,s.setClass(a,Vo,zo)},this.$setTouched=function(){h.$touched=!0,h.$untouched=!1,s.setClass(a,zo,Vo)},this.$rollbackViewValue=function(){c.cancel(m),h.$viewValue=h.$$lastCommittedViewValue,h.$render()},this.$validate=function(){w(h.$modelValue)&&isNaN(h.$modelValue)||this.$$parseAndValidate()},this.$$runValidators=function(e,t,i,a){function r(e){var t=h.$$parserName||"parse";if(e===n)l(t,null);else if(l(t,e),!e)return o(h.$validators,function(e,t){l(t,null)}),o(h.$asyncValidators,function(e,t){l(t,null)}),!1;return!0}function s(){var e=!0;return o(h.$validators,function(n,a){var o=n(t,i);e=e&&o,l(a,o)}),e?!0:(o(h.$asyncValidators,function(e,t){l(t,null)}),!1)}function c(){var e=[],a=!0;o(h.$asyncValidators,function(o,r){var s=o(t,i);if(!T(s))throw Lo("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);l(r,n),e.push(s.then(function(){l(r,!0)},function(){a=!1,l(r,!1)}))}),e.length?d.all(e).then(function(){u(a)},f):u(!0)}function l(e,t){p===$&&h.$setValidity(e,t)}function u(e){p===$&&a(e)}$++;var p=$;return r(e)&&s()?void c():void u(!1)},this.$commitViewValue=function(){var e=h.$viewValue;c.cancel(m),(h.$$lastCommittedViewValue!==e||""===e&&h.$$hasNativeValidators)&&(h.$$lastCommittedViewValue=e,h.$pristine&&(h.$dirty=!0,h.$pristine=!1,s.removeClass(a,jo),s.addClass(a,Ho),b.$setDirty()),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function e(){h.$modelValue!==r&&h.$$writeModelToScope()}var t=h.$$lastCommittedViewValue,i=t,a=_(i)?n:!0;if(a)for(var o=0;o0&&(e=new RegExp(e)),e&&!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,V(t));r=e||n,o.$validate()}),o.$validators.pattern=function(e){return o.$isEmpty(e)||_(r)||r.test(e)}}}}},Jo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var a=0;n.$observe("maxlength",function(e){a=p(e)||0,i.$validate()}),i.$validators.maxlength=function(e,t){return i.$isEmpty(e)||t.length<=a}}}}},Qo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var a=0;n.$observe("minlength",function(e){a=p(e)||0,i.$validate()}),i.$validators.minlength=function(e,t){return i.$isEmpty(e)||t.length>=a}}}}},er=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,i,a){var r=t.attr(i.$attr.ngList)||", ",s="false"!==i.ngTrim,c=s?ia(r):r,l=function(e){if(!_(e)){var t=[];return e&&o(e.split(c),function(e){e&&t.push(s?ia(e):e)}),t}};a.$parsers.push(l),a.$formatters.push(function(e){return na(e)?e.join(r):n}),a.$isEmpty=function(e){return!e||!e.length}}}},tr=/^(true|false|\d+)$/,nr=function(){return{restrict:"A",priority:100,compile:function(e,t){return tr.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},ir=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var i=this;this.$options=e.$eval(t.ngModelOptions),this.$options.updateOn!==n?(this.$options.updateOnDefault=!1,this.$options.updateOn=ia(this.$options.updateOn.replace(Oo,function(){return i.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},ar=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,i,a){e.$$addBindingInfo(i,a.ngBind),i=i[0],t.$watch(a.ngBind,function(e){i.textContent=e===n?"":e})}}}}],or=["$interpolate","$compile",function(e,t){return{compile:function(i){return t.$$addBindingClass(i),function(i,a,o){var r=e(a.attr(o.$attr.ngBindTemplate));t.$$addBindingInfo(a,r.expressions),a=a[0],o.$observe("ngBindTemplate",function(e){a.textContent=e===n?"":e})}}}}],rr=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,a){var o=t(a.ngBindHtml),r=t(a.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(i),function(t,i,a){n.$$addBindingInfo(i,a.ngBindHtml),t.$watch(r,function(){i.html(e.getTrustedHtml(o(t))||"")})}}}}],sr=Oi("",!0),cr=Oi("Odd",0),lr=Oi("Even",1),dr=vi({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),ur=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],pr={},mr={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Kt("ng-"+e);pr[t]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(a,o){var r=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var a=function(){r(t,{$event:n})};mr[e]&&i.$$phase?t.$evalAsync(a):t.$apply(a)})}}}}]});var fr=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,a,o,r){var s,c,l;n.$watch(a.ngIf,function(n){n?c||r(function(n,o){c=o,n[n.length++]=t.createComment(" end ngIf: "+a.ngIf+" "),s={clone:n},e.enter(n,i.parent(),i)}):(l&&(l.remove(),l=null),c&&(c.$destroy(),c=null),s&&(l=st(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],hr=["$templateRequest","$anchorScroll","$animate","$sce",function(e,t,n,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Qi.noop,compile:function(a,o){var r=o.ngInclude||o.src,s=o.onload||"",c=o.autoscroll;return function(a,o,l,d,u){var p,m,f,h=0,g=function(){m&&(m.remove(),m=null),p&&(p.$destroy(),p=null),f&&(n.leave(f).then(function(){m=null}),m=f,f=null)};a.$watch(i.parseAsResourceUrl(r),function(i){var r=function(){!v(c)||c&&!a.$eval(c)||t()},l=++h;i?(e(i,!0).then(function(e){if(l===h){var t=a.$new();d.template=e;var c=u(t,function(e){g(),n.enter(e,null,o).then(r)});p=t,f=c,p.$emit("$includeContentLoaded",i),a.$eval(s)}},function(){l===h&&(g(),a.$emit("$includeContentError",i))}),a.$emit("$includeContentRequested",i)):(g(),d.template=null)})}}}}],gr=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,a,o){return/SVG/.test(i[0].toString())?(i.empty(),void e(ht(o.template,t).childNodes)(n,function(e){i.append(e)},{futureParentElement:i})):(i.html(o.template),void e(i.contents())(n))}}}],_r=vi({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),vr=vi({terminal:!0,priority:1e3}),yr=["$locale","$interpolate",function(e,t){var n=/{}/g;return{restrict:"EA",link:function(i,a,r){var s=r.count,c=r.$attr.when&&a.attr(r.$attr.when),l=r.offset||0,d=i.$eval(c)||{},u={},p=t.startSymbol(),m=t.endSymbol(),f=/^when(Minus)?(.+)$/;o(r,function(e,t){f.test(t)&&(d[Bi(t.replace("when","").replace("Minus","-"))]=a.attr(r.$attr[t]))}),o(d,function(e,i){u[i]=t(e.replace(n,p+s+"-"+l+m))}),i.$watch(function(){var t=parseFloat(i.$eval(s));return isNaN(t)?"":(t in d||(t=e.pluralCat(t-l)),u[t](i))},function(e){a.text(e)})}}}],br=["$parse","$animate",function(e,r){var s="$$NG_REMOVED",c=i("ngRepeat"),l=function(e,t,n,i,a,o,r){e[n]=i,a&&(e[a]=o),e.$index=t,e.$first=0===t,e.$last=t===r-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},d=function(e){return e.clone[0]},u=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,p){var m=p.ngRepeat,f=t.createComment(" end ngRepeat: "+m+" "),h=m.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",m);var g=h[1],_=h[2],v=h[3],y=h[4];if(h=g.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!h)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",g);var b=h[3]||h[1],w=h[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent)$/.test(v)))throw c("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var $,k,S,C,M={$id:Ot};return y?$=e(y):(S=function(e,t){return Ot(t)},C=function(e){return e}),function(e,t,i,p,h){$&&(k=function(t,n,i){return w&&(M[w]=t),M[b]=n,M.$index=i,$(e,M)});var g=ct();e.$watchCollection(_,function(i){var p,_,y,$,M,A,x,E,T,I,D,P,N=t[0],U=ct();if(v&&(e[v]=i),a(i))T=i,E=k||S;else{E=k||C,T=[];for(var O in i)i.hasOwnProperty(O)&&"$"!=O.charAt(0)&&T.push(O);T.sort()}for($=T.length,D=new Array($),p=0;$>p;p++)if(M=i===T?p:T[p],A=i[M],x=E(M,A,p),g[x])I=g[x],delete g[x],U[x]=I,D[p]=I;else{if(U[x])throw o(D,function(e){e&&e.scope&&(g[e.id]=e)}),c("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",m,x,j(A));D[p]={id:x,scope:n,clone:n},U[x]=!0}for(var L in g){if(I=g[L],P=st(I.clone),r.leave(P),P[0].parentNode)for(p=0,_=P.length;_>p;p++)P[p][s]=!0;I.scope.$destroy()}for(p=0;$>p;p++)if(M=i===T?p:T[p],A=i[M],I=D[p],I.scope){y=N;do y=y.nextSibling;while(y&&y[s]);d(I)!=y&&r.move(st(I.clone),null,zi(N)),N=u(I),l(I.scope,p,b,A,w,M,$)}else h(function(e,t){I.scope=t;var n=f.cloneNode(!1);e[e.length++]=n,r.enter(e,null,zi(N)),N=n,I.clone=e,U[I.id]=I,l(I.scope,p,b,A,w,M,$)});g=U})}}}}],wr="ng-hide",$r="ng-hide-animate",kr=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngShow,function(t){e[t?"removeClass":"addClass"](n,wr,{tempClasses:$r})})}}}],Sr=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngHide,function(t){e[t?"addClass":"removeClass"](n,wr,{tempClasses:$r})})}}}],Cr=vi(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Mr=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,a,r){var s=a.ngSwitch||a.on,c=[],l=[],d=[],u=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,a;for(i=0,a=d.length;a>i;++i)e.cancel(d[i]);for(d.length=0,i=0,a=u.length;a>i;++i){var s=st(l[i].clone);u[i].$destroy();var m=d[i]=e.leave(s);m.then(p(d,i))}l.length=0,u.length=0,(c=r.cases["!"+n]||r.cases["?"])&&o(c,function(n){n.transclude(function(i,a){u.push(a);var o=n.element;i[i.length++]=t.createComment(" end ngSwitchWhen: ");var r={clone:i};l.push(r),e.enter(i,o.parent(),o)})})})}}}],Ar=vi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,a){i.cases["!"+n.ngSwitchWhen]=i.cases["!"+n.ngSwitchWhen]||[],i.cases["!"+n.ngSwitchWhen].push({transclude:a,element:t})}}),xr=vi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,a){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:a,element:t})}}),Er=vi({restrict:"EAC",link:function(e,t,n,a,o){if(!o)throw i("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",V(t));o(function(e){t.empty(),t.append(e)})}}),Tr=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var i=n.id,a=t[0].text;e.put(i,a)}}}}],Ir=i("ngOptions"),Dr=g({restrict:"A",terminal:!0}),Pr=["$compile","$parse",function(e,i){var a=/^\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]+?))?$/,s={$setViewValue:f};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var i,a,o=this,r={},c=s;o.databound=n.ngModel,o.init=function(e,t,n){c=e,i=t,a=n},o.addOption=function(t,n){ot(t,'"option value"'),r[t]=!0,c.$viewValue==t&&(e.val(t),a.parent()&&a.remove()),n&&n[0].hasAttribute("selected")&&(n[0].selected=!0)},o.removeOption=function(e){this.hasOption(e)&&(delete r[e],c.$viewValue==e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Ot(t)+" ?";a.val(n),e.prepend(a),e.val(n),a.prop("selected",!0)},o.hasOption=function(e){return r.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=f})}],link:function(s,c,l,d){function u(e,t,n,i){n.$render=function(){var e=n.$viewValue;i.hasOption(e)?(C.parent()&&C.remove(),t.val(e),""===e&&f.prop("selected",!0)):_(e)&&f?t.val(""):i.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(t.val())})})}function p(e,t,n){var i;n.$render=function(){var e=new Lt(n.$viewValue);o(t.find("option"),function(t){t.selected=v(e.get(t.value))})},e.$watch(function(){L(i,n.$viewValue)||(i=O(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function m(t,s,c){function l(e,n,i){return R[A]=i,T&&(R[T]=n),e(t,R)}function d(){t.$apply(function(){var e,n=P(t)||[];if(y)e=[],o(s.val(),function(t){t=U?O[t]:t,e.push(u(t,n[t]))});else{var i=U?O[s.val()]:s.val();e=u(i,n[i])}c.$setViewValue(e),_()})}function u(e,t){if("?"===e)return n;if(""===e)return null;var i=E?E:D;return l(i,e,t)}function p(){var e,n=P(t);if(n&&na(n)){e=new Array(n.length);for(var i=0,a=n.length;a>i;i++)e[i]=l(M,i,n[i]);return e}if(n){e={};for(var o in n)n.hasOwnProperty(o)&&(e[o]=l(M,o,n[o]))}return e}function m(e){var t;if(y)if(U&&na(e)){t=new Lt([]);for(var n=0;nA;A++)p=A,T&&(p=V[A],"$"===p.charAt(0))||(f=H[p],e=l(I,p,f)||"",(n=F[e])||(n=F[e]=[],q.push(e)),x=W(p,f),G=G||x,N=l(M,p,f),N=v(N)?N:"",B=U?U(t,R):T?V[A]:A,U&&(O[B]=p),n.push({id:B,label:N,selected:x}));for(y||(w||null===j?F[""].unshift({id:"",label:"",selected:!G}):G||F[""].unshift({id:"?",label:"",selected:!0})),C=0,_=q.length;_>C;C++){for(e=q[C],n=F[e],L.length<=C?(a={element:S.clone().attr("label",e),label:n.label},d=[a],L.push(d),s.append(a.element)):(d=L[C],a=d[0],a.label!=e&&a.element.attr("label",a.label=e)),E=null,A=0,b=n.length;b>A;A++)i=n[A],(u=d[A+1])?(E=u.element,u.label!==i.label&&(g(z,u.label,!1),g(z,i.label,!0),E.text(u.label=i.label)),u.id!==i.id&&E.val(u.id=i.id),E[0].selected!==i.selected&&(E.prop("selected",u.selected=i.selected),Vi&&E.prop("selected",u.selected))):(""===i.id&&w?D=w:(D=k.clone()).val(i.id).prop("selected",i.selected).attr("selected",i.selected).text(i.label),d.push(u={element:D,label:i.label,id:i.id,selected:i.selected}),g(z,i.label,!0),E?E.after(D):a.element.append(D),E=D);for(A++;d.length>A;)i=d.pop(),g(z,i.label,!1),i.element.remove();o(z,function(e,t){e>0?h.addOption(t):0>e&&h.removeOption(t)})}for(;L.length>C;)L.pop()[0].element.remove()}var C;if(!(C=b.match(a)))throw Ir("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,V(s));var M=i(C[2]||C[1]),A=C[4]||C[6],x=/ as /.test(C[0])&&C[1],E=x?i(x):null,T=C[5],I=i(C[3]||""),D=i(C[2]?C[1]:A),P=i(C[7]),N=C[8],U=N?i(C[8]):null,O={},L=[[{element:s,label:""}]],R={};w&&(e(w)(t),w.removeClass("ng-scope"),w.remove()),s.empty(),s.on("change",d),c.$render=_,t.$watchCollection(P,f),t.$watchCollection(p,f),y&&t.$watchCollection(function(){return c.$modelValue},f)}if(d[1]){for(var f,h=d[0],g=d[1],y=l.multiple,b=l.ngOptions,w=!1,$=!1,k=zi(t.createElement("option")),S=zi(t.createElement("optgroup")),C=k.clone(),M=0,A=c.children(),x=A.length;x>M;M++)if(""===A[M].value){f=w=A.eq(M);break}h.init(g,w,C),y&&(g.$isEmpty=function(e){return!e||0===e.length}),b?m(s,c,g):y?p(s,c,g):u(s,c,g,h)}}}}],Nr=["$interpolate",function(e){var t={addOption:f,removeOption:f};return{restrict:"E",priority:100,compile:function(n,i){if(_(i.value)){var a=e(n.text(),!0);a||i.$set("value",n.text())}return function(e,n,i){var o="$selectController",r=n.parent(),s=r.data(o)||r.parent().data(o);s&&s.databound||(s=t),a?e.$watch(a,function(e,t){i.$set("value",e),t!==e&&s.removeOption(t),s.addOption(e,n)}):s.addOption(i.value,n),n.on("$destroy",function(){s.removeOption(i.value)})}}}}],Ur=g({restrict:"E",terminal:!1});return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(nt(),dt(Qi),void zi(t).ready(function(){X(t,J)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend(''),function(e,t){"use strict";function n(){function e(e,n){return t.extend(new(t.extend(function(){},{prototype:e})),n)}function n(e,t){var n=t.caseInsensitiveMatch,i={originalPath:e,regexp:e},a=i.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(e,t,n,i){var o="?"===i?i:null,r="*"===i?i:null;return a.push({name:n,optional:!!o}),t=t||"",""+(o?"":t)+"(?:"+(o?t:"")+(r&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),i.regexp=new RegExp("^"+e+"$",n?"i":""),i}var i={};this.when=function(e,a){var o=t.copy(a);if(t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),i[e]=t.extend(o,e&&n(e,o)),e){var r="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";i[r]=t.extend({redirectTo:e},n(r,o))}return this},this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,a,o,r,c,l,d){function u(e,t){var n=t.keys,i={};if(!t.regexp)return null;var a=t.regexp.exec(e);if(!a)return null;for(var o=1,r=a.length;r>o;++o){var s=n[o-1],c=a[o];s&&c&&(i[s.name]=c)}return i}function p(e){var i=y.current;g=f(),_=g&&i&&g.$$route===i.$$route&&t.equals(g.pathParams,i.pathParams)&&!g.reloadOnSearch&&!v,_||!i&&!g||n.$broadcast("$routeChangeStart",g,i).defaultPrevented&&e&&e.preventDefault()}function m(){var e=y.current,i=g;_?(e.params=i.params,t.copy(e.params,o),n.$broadcast("$routeUpdate",e)):(i||e)&&(v=!1,y.current=i,i&&i.redirectTo&&(t.isString(i.redirectTo)?a.path(h(i.redirectTo,i.params)).search(i.params).replace():a.url(i.redirectTo(i.pathParams,a.path(),a.search())).replace()),r.when(i).then(function(){if(i){var e,n,a=t.extend({},i.resolve);return t.forEach(a,function(e,n){a[n]=t.isString(e)?c.get(e):c.invoke(e,null,null,n)}),t.isDefined(e=i.template)?t.isFunction(e)&&(e=e(i.params)):t.isDefined(n=i.templateUrl)&&(t.isFunction(n)&&(n=n(i.params)),n=d.getTrustedResourceUrl(n),t.isDefined(n)&&(i.loadedTemplateUrl=n,e=l(n))),t.isDefined(e)&&(a.$template=e),r.all(a)}}).then(function(a){i==y.current&&(i&&(i.locals=a,t.copy(i.params,o)),n.$broadcast("$routeChangeSuccess",i,e))},function(t){i==y.current&&n.$broadcast("$routeChangeError",i,e,t)}))}function f(){var n,o;return t.forEach(i,function(i){!o&&(n=u(a.path(),i))&&(o=e(i,{params:t.extend({},a.search(),n),pathParams:n}),o.$$route=i)}),o||i[null]&&e(i[null],{params:{},pathParams:{}})}function h(e,n){var i=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)i.push(e);else{var a=e.match(/(\w+)(.*)/),o=a[1];i.push(n[o]),i.push(a[2]||""),delete n[o]}}),i.join("")}var g,_,v=!1,y={routes:i,reload:function(){v=!0,n.$evalAsync(function(){p(),m()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw s("norout","Tried updating route when with no current route");var n={},i=this;t.forEach(Object.keys(e),function(t){i.current.pathParams[t]||(n[t]=e[t])}),e=t.extend({},this.current.params,e),a.path(h(this.current.$$route.originalPath,e)),a.search(t.extend({},a.search(),n))}};return n.$on("$locationChangeStart",p),n.$on("$locationChangeSuccess",m),y}]}function i(){this.$get=function(){return{}}}function a(e,n,i){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,o,r,s,c){function l(){m&&(i.cancel(m),m=null),u&&(u.$destroy(),u=null),p&&(m=i.leave(p),m.then(function(){m=null}),p=null)}function d(){var r=e.current&&e.current.locals,s=r&&r.$template;if(t.isDefined(s)){var d=a.$new(),m=e.current,g=c(d,function(e){i.enter(e,null,p||o).then(function(){!t.isDefined(f)||f&&!a.$eval(f)||n()}),l()});p=g,u=m.scope=d,u.$emit("$viewContentLoaded"),u.$eval(h)}else l()}var u,p,m,f=r.autoscroll,h=r.onload||"";a.$on("$routeChangeSuccess",d),d()}}}function o(e,t,n){return{restrict:"ECA",priority:-400,link:function(i,a){var o=n.current,r=o.locals;a.html(r.$template);var s=e(a.contents());if(o.controller){r.$scope=i;var c=t(o.controller,r);o.controllerAs&&(i[o.controllerAs]=c),a.data("$ngControllerController",c),a.children().data("$ngControllerController",c)}s(i)}}}var r=t.module("ngRoute",["ng"]).provider("$route",n),s=t.$$minErr("ngRoute");r.provider("$routeParams",i),r.directive("ngView",a),r.directive("ngView",o),a.$inject=["$route","$anchorScroll","$animate"],o.$inject=["$compile","$controller","$route"]}(window,window.angular),function(e,t,n){"use strict";t.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){var e="$$ngAnimateChildren";return function(n,i,a){var o=a.ngAnimateChildren;t.isString(o)&&0===o.length?i.data(e,!0):n.$watch(o,function(t){i.data(e,!!t)})}}).factory("$$animateReflow",["$$rAF","$document",function(e,t){var n=t[0].body;return function(t){return e(function(){n.offsetWidth+1;t()})}}]).config(["$provide","$animateProvider",function(i,a){function o(e){for(var t=0;t0&&[o.join(" "),r.join(" ")]}function E(e){if(e){var t=[],n={},a=e.substr(1).split(".");(h.transitions||h.animations)&&t.push(i.get(u[""]));for(var o=0;o0&&w(function(){i.triggerHandler(a,{event:e,className:n})})}function p(){u("before")}function m(){u("after")}function f(){u("close"),c()}function h(){h.hasBeenRun||(h.hasBeenRun=!0,r())}function _(){if(!_.hasBeenRun){b&&b.applyStyles(),_.hasBeenRun=!0,s&&s.tempClasses&&d(s.tempClasses,function(e){i.removeClass(e)});var t=i.data(g);t&&(b&&b.isClassBased?P(i,n):(w(function(){var t=i.data(g)||{};D==t.index&&P(i,n,e)}),i.data(g,t))),f()}}var y=l,b=T(i,e,n,s);if(!b)return h(),p(),m(),_(),y;e=b.event,n=b.className;var $=t.element._data(b.node);if($=$&&$.events,a||(a=o?o.parent():i.parent()),N(i,a))return h(),p(),m(),_(),y;var k=i.data(g)||{},S=k.active||{},C=k.totalActive||0,M=k.last,A=!1;if(C>0){var x=[];if(b.isClassBased){if("setClass"==M.event)x.push(M),P(i,n);else if(S[n]){var E=S[n];E.event==e?A=!0:(x.push(E),P(i,n))}}else if("leave"==e&&S["ng-leave"])A=!0;else{for(var I in S)x.push(S[I]);k={},P(i,!0)}x.length>0&&d(x,function(e){e.cancel()})}if(!b.isClassBased||b.isSetClassOperation||"animate"==e||A||(A="addClass"==e==i.hasClass(n)),A)return h(),p(),m(),f(),y;S=k.active||{},C=k.totalActive||0,"leave"==e&&i.one("$destroy",function(){var e=t.element(this),n=e.data(g);if(n){var i=n.active["ng-leave"];i&&(i.cancel(),P(e,"ng-leave"))}}),i.addClass(v),s&&s.tempClasses&&d(s.tempClasses,function(e){i.addClass(e)});var D=O++;return C++,S[n]=b,i.data(g,{last:b,active:S,index:D,totalActive:C}),p(),b.before(function(t){var a=i.data(g);t=t||!a||!a.active[n]||b.isClassBased&&a.active[n].event!=e,h(),t===!0?_():(m(),b.after(_))}),b.cancel}function D(e){var n=o(e);if(n){var i=t.isFunction(n.getElementsByClassName)?n.getElementsByClassName(v):n.querySelectorAll("."+v);d(i,function(e){e=t.element(e);var n=e.data(g);n&&n.active&&d(n.active,function(e){e.cancel()})})}}function P(e,t){if(c(e,b))y.disabled||(y.running=!1,y.structural=!1);else if(t){var n=e.data(g)||{},i=t===!0;!i&&n.active&&n.active[t]&&(n.totalActive--,delete n.active[t]),(i||!n.totalActive)&&(e.removeClass(v),e.removeData(g))}}function N(e,n){if(y.disabled)return!0;if(c(e,b))return y.running;var i,a,o;do{if(0===n.length)break;var r=c(n,b),s=r?y:n.data(g)||{};if(s.disabled)return!0;if(r&&(o=!0),i!==!1){var l=n.data(_);t.isDefined(l)&&(i=l)}a=a||s.running||s.last&&!s.last.isClassBased}while(n=n.parent());return!o||!i&&a}b.data(g,y);var U=$.$watch(function(){return S.totalPendingRequests},function(e){0===e&&(U(),$.$$postDigest(function(){$.$$postDigest(function(){y.running=!1})}))}),O=0,L=a.classNameFilter(),R=L?function(e){return L.test(e)}:function(){return!0};return{animate:function(e,t,n,i,a){return i=i||"ng-inline-animate",a=A(a)||{},a.from=n?t:null,a.to=n?n:t,M(function(t){return I("animate",i,s(e),null,null,l,a,t)})},enter:function(n,i,a,o){return o=A(o),n=t.element(n),i=r(i),a=r(a),C(n,!0),e.enter(n,i,a),M(function(e){return I("enter","ng-enter",s(n),i,a,l,o,e)})},leave:function(n,i){return i=A(i),n=t.element(n),D(n),C(n,!0),M(function(t){return I("leave","ng-leave",s(n),null,null,function(){e.leave(n)},i,t)})},move:function(n,i,a,o){return o=A(o),n=t.element(n),i=r(i),a=r(a),D(n),C(n,!0),e.move(n,i,a),M(function(e){return I("move","ng-move",s(n),i,a,l,o,e)})},addClass:function(e,t,n){return this.setClass(e,t,[],n)},removeClass:function(e,t,n){return this.setClass(e,[],t,n)},setClass:function(n,i,a,r){r=A(r);var c="$$animateClasses";if(n=t.element(n),n=s(n),C(n))return e.$$setClassImmediately(n,i,a,r);var l,u=n.data(c),m=!!u;return u||(u={},u.classes={}),l=u.classes,i=p(i)?i:i.split(" "),d(i,function(e){e&&e.length&&(l[e]=!0)}),a=p(a)?a:a.split(" "),d(a,function(e){e&&e.length&&(l[e]=!1)}),m?(r&&u.options&&(u.options=t.extend(u.options||{},r)),u.promise):(n.data(c,u={classes:l,options:r}),u.promise=M(function(t){var i=n.parent(),a=o(n),r=a.parentNode;if(!r||r.$$NG_REMOVED||a.$$NG_REMOVED)return void t();var s=n.data(c);n.removeData(c);var l=n.data(g)||{},d=x(n,s,l.active);return d?I("setClass",d,n,i,null,function(){d[0]&&e.$$addClassImmediately(n,d[0]),d[1]&&e.$$removeClassImmediately(n,d[1])},s.options,t):t()}))},cancel:function(e){e.$$cancelFn()},enabled:function(e,t){switch(arguments.length){case 2:if(e)P(t);else{var n=t.data(g)||{};n.disabled=!0,t.data(g,n)}break;case 1:y.disabled=!e;break;default:e=!y.disabled}return!!e}}}]),a.register("",["$window","$sniffer","$timeout","$$animateReflow",function(i,a,r,s){function c(){N||(N=s(function(){G=[],N=null,z={}}))}function u(e,t){N&&N(),G.push(t),N=s(function(){d(G,function(e){e()}),G=[],N=null,z={}})}function f(e,n){var i=o(e);e=t.element(i),Y.push(e);var a=Date.now()+n;Z>=a||(r.cancel(K),Z=a,K=r(function(){g(Y),Y=[]},n,!1))}function g(e){d(e,function(e){var t=e.data(q);t&&d(t.closeAnimationFns,function(e){e()})})}function _(e,t){var n=t?z[t]:null;if(!n){var a=0,o=0,r=0,s=0;d(e,function(e){if(e.nodeType==h){var t=i.getComputedStyle(e)||{},n=t[E+U];a=Math.max(v(n),a);var c=t[E+L];o=Math.max(v(c),o);{t[I+L]}s=Math.max(v(t[I+L]),s);var l=v(t[I+U]);l>0&&(l*=parseInt(t[I+R],10)||1),r=Math.max(l,r)}}),n={total:0,transitionDelay:o,transitionDuration:a,animationDelay:s,animationDuration:r},t&&(z[t]=n)}return n}function v(e){var t=0,n=m(e)?e.split(/\s*,\s*/):[];return d(n,function(e){t=Math.max(parseFloat(e)||0,t)}),t}function y(e){var t=e.parent(),n=t.data(F);return n||(t.data(F,++W),n=W),n+"-"+o(e).getAttribute("class")}function b(e,t,n,i){var a=["ng-enter","ng-leave","ng-move"].indexOf(n)>=0,r=y(t),s=r+" "+n,c=z[s]?++z[s].total:0,l={};if(c>0){var d=n+"-stagger",u=r+" "+d,p=!z[u];p&&t.addClass(d),l=_(t,u),p&&t.removeClass(d)}t.addClass(n);var m=t.data(q)||{},f=_(t,s),h=f.transitionDuration,g=f.animationDuration;if(a&&0===h&&0===g)return t.removeClass(n),!1;var v=i||a&&h>0,b=g>0&&l.animationDelay>0&&0===l.animationDuration,w=m.closeAnimationFns||[];t.data(q,{stagger:l,cacheKey:s,running:m.running||0,itemIndex:c,blockTransition:v,closeAnimationFns:w});var S=o(t);return v&&($(S,!0),i&&t.css(i)),b&&k(S,!0),!0}function w(e,t,n,i,a){function s(){t.off(L,c),t.removeClass(p),t.removeClass(m),U&&r.cancel(U),A(t,n);var e=o(t);for(var i in g)e.style.removeProperty(g[i])}function c(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||t.timeStamp||Date.now(),a=parseFloat(t.elapsedTime.toFixed(j));Math.max(n-O,0)>=I&&a>=x&&i()}var l=o(t),u=t.data(q);if(-1==l.getAttribute("class").indexOf(n)||!u)return void i();var p="",m="";d(n.split(" "),function(e,t){var n=(t>0?" ":"")+e;p+=n+"-active",m+=n+"-pending"});var h="",g=[],v=u.itemIndex,y=u.stagger,b=0;if(v>0){var w=0;y.transitionDelay>0&&0===y.transitionDuration&&(w=y.transitionDelay*v);var S=0;y.animationDelay>0&&0===y.animationDuration&&(S=y.animationDelay*v,g.push(P+"animation-play-state")),b=Math.round(100*Math.max(w,S))/100}b||(t.addClass(p),u.blockTransition&&$(l,!1));var C=u.cacheKey+" "+p,M=_(t,C),x=Math.max(M.transitionDuration,M.animationDuration);if(0===x)return t.removeClass(p),A(t,n),void i();!b&&a&&(M.transitionDuration||(t.css("transition",M.animationDuration+"s linear all"),g.push("transition")),t.css(a));var E=Math.max(M.transitionDelay,M.animationDelay),I=E*V;if(g.length>0){var N=l.getAttribute("style")||"";";"!==N.charAt(N.length-1)&&(N+=";"),l.setAttribute("style",N+" "+h)}var U,O=Date.now(),L=D+" "+T,R=(E+x)*H,B=(b+R)*V;return b>0&&(t.addClass(m),U=r(function(){U=null,M.transitionDuration>0&&$(l,!1),M.animationDuration>0&&k(l,!1),t.addClass(p),t.removeClass(m),a&&(0===M.transitionDuration&&t.css("transition",M.animationDuration+"s linear all"),t.css(a),g.push("transition"))},b*V,!1)),t.on(L,c),u.closeAnimationFns.push(function(){s(),i()}),u.running++,f(t,B),s}function $(e,t){e.style[E+O]=t?"none":""}function k(e,t){e.style[I+B]=t?"paused":""}function S(e,t,n,i){return b(e,t,n,i)?function(e){e&&A(t,n)}:void 0}function C(e,t,n,i,a){return t.data(q)?w(e,t,n,i,a):(A(t,n),void i())}function M(e,t,n,i,a){var o=S(e,t,n,a.from);if(!o)return c(),void i();var r=o;return u(t,function(){r=C(e,t,n,i,a.to)}),function(e){(r||l)(e)}}function A(e,t){e.removeClass(t);var n=e.data(q);n&&(n.running&&n.running--,n.running&&0!==n.running||e.removeData(q))}function x(e,t){var n="";
-return e=p(e)?e:e.split(/\s+/),d(e,function(e,i){e&&e.length>0&&(n+=(i>0?" ":"")+e+t)}),n}var E,T,I,D,P="";e.ontransitionend===n&&e.onwebkittransitionend!==n?(P="-webkit-",E="WebkitTransition",T="webkitTransitionEnd transitionend"):(E="transition",T="transitionend"),e.onanimationend===n&&e.onwebkitanimationend!==n?(P="-webkit-",I="WebkitAnimation",D="webkitAnimationEnd animationend"):(I="animation",D="animationend");var N,U="Duration",O="Property",L="Delay",R="IterationCount",B="PlayState",F="$$ngAnimateKey",q="$$ngAnimateCSS3Data",j=3,H=1.5,V=1e3,z={},W=0,G=[],K=null,Z=0,Y=[];return{animate:function(e,t,n,i,a,o){return o=o||{},o.from=n,o.to=i,M("animate",e,t,a,o)},enter:function(e,t,n){return n=n||{},M("enter",e,"ng-enter",t,n)},leave:function(e,t,n){return n=n||{},M("leave",e,"ng-leave",t,n)},move:function(e,t,n){return n=n||{},M("move",e,"ng-move",t,n)},beforeSetClass:function(e,t,n,i,a){a=a||{};var o=x(n,"-remove")+" "+x(t,"-add"),r=S("setClass",e,o,a.from);return r?(u(e,i),r):(c(),void i())},beforeAddClass:function(e,t,n,i){i=i||{};var a=S("addClass",e,x(t,"-add"),i.from);return a?(u(e,n),a):(c(),void n())},beforeRemoveClass:function(e,t,n,i){i=i||{};var a=S("removeClass",e,x(t,"-remove"),i.from);return a?(u(e,n),a):(c(),void n())},setClass:function(e,t,n,i,a){a=a||{},n=x(n,"-remove"),t=x(t,"-add");var o=n+" "+t;return C("setClass",e,o,i,a.to)},addClass:function(e,t,n,i){return i=i||{},C("addClass",e,x(t,"-add"),n,i.to)},removeClass:function(e,t,n,i){return i=i||{},C("removeClass",e,x(t,"-remove"),n,i.to)}}}])}])}(window,window.angular),function(e,t){"use strict";function n(){this.$get=["$$sanitizeUri",function(e){return function(t){var n=[];return o(t,c(n,function(t,n){return!/^unsafe/.test(e(t,n))})),n.join("")}}]}function i(e){var n=[],i=c(n,t.noop);return i.chars(e),n.join("")}function a(e){var t,n={},i=e.split(",");for(t=0;t=0&&y[o]!=i;o--);if(o>=0){for(a=y.length-1;a>=o;a--)n.end&&n.end(y[a]);y.length=o}}"string"!=typeof e&&(e=null===e||"undefined"==typeof e?"":""+e);var o,s,c,v,y=[],w=e;for(y.last=function(){return y[y.length-1]};e;){if(v="",s=!0,y.last()&&A[y.last()]?(e=e.replace(new RegExp("(.*)<\\s*\\/\\s*"+y.last()+"[^>]*>","i"),function(e,t){return t=t.replace(h,"$1").replace(_,"$1"),n.chars&&n.chars(r(t)),""}),a("",y.last())):(0===e.indexOf("",o)===o&&(n.comment&&n.comment(e.substring(4,o)),e=e.substring(o+3),s=!1)):g.test(e)?(c=e.match(g),c&&(e=e.replace(c[0],""),s=!1)):f.test(e)?(c=e.match(u),c&&(e=e.substring(c[0].length),c[0].replace(u,a),s=!1)):m.test(e)&&(c=e.match(d),c?(c[4]&&(e=e.substring(c[0].length),c[0].replace(d,i)),s=!1):(v+="<",e=e.substring(1))),s&&(o=e.indexOf("<"),v+=0>o?e:e.substring(0,o),e=0>o?"":e.substring(o),n.chars&&n.chars(r(v)))),e==w)throw l("badparse","The sanitizer was unable to parse the following block of html: {0}",e);w=e}a()}function r(e){if(!e)return"";var t=N.exec(e),n=t[1],i=t[3],a=t[2];return a&&(P.innerHTML=a.replace(//g,">")}function c(e,n){var i=!1,a=t.bind(e,e.push);return{start:function(e,o,r){e=t.lowercase(e),!i&&A[e]&&(i=e),i||x[e]!==!0||(a("<"),a(e),t.forEach(o,function(i,o){var r=t.lowercase(o),c="img"===e&&"src"===r||"background"===r;D[r]!==!0||E[r]===!0&&!n(i,c)||(a(" "),a(o),a('="'),a(s(i)),a('"'))}),a(r?"/>":">"))},end:function(e){e=t.lowercase(e),i||x[e]!==!0||(a(""),a(e),a(">")),e==i&&(i=!1)},chars:function(e){i||a(s(e))}}}var l=t.$$minErr("$sanitize"),d=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,u=/^<\/\s*([\w:-]+)[^>]*>/,p=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,m=/^,f=/^<\//,h=//g,g=/]*?)>/i,_=//g,v=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y=/([^\#-~| |!])/g,b=a("area,br,col,hr,img,wbr"),w=a("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$=a("rp,rt"),k=t.extend({},$,w),S=t.extend({},w,a("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),C=t.extend({},$,a("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),M=a("animate,animateColor,animateMotion,animateTransform,circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,set,stop,svg,switch,text,title,tspan,use"),A=a("script,style"),x=t.extend({},b,S,C,k,M),E=a("background,cite,href,longdesc,src,usemap,xlink:href"),T=a("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width"),I=a("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,attributeName,attributeType,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan"),D=t.extend({},E,I,T),P=document.createElement("pre"),N=/^(\s*)([\s\S]*?)(\s*)$/;t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"]/,a=/^mailto:/;return function(o,r){function s(e){e&&m.push(i(e))}function c(e,n){m.push("'),s(n),m.push("")}if(!o)return o;for(var l,d,u,p=o,m=[];l=p.match(n);)d=l[0],l[2]==l[3]&&(d="mailto:"+d),u=l.index,s(p.substr(0,u)),c(d,l[0].replace(a,"")),p=p.substring(u+l[0].length);return s(p),e(m.join(""))}}])}(window,window.angular),function(e,t){"use strict";function n(e,n,a){i.directive(e,["$parse","$swipe",function(i,o){var r=75,s=.3,c=30;return function(l,d,u){function p(e){if(!m)return!1;var t=Math.abs(e.y-m.y),i=(e.x-m.x)*n;return f&&r>t&&i>0&&i>c&&s>t/i}var m,f,h=i(u[e]),g=["touch"];t.isDefined(u.ngSwipeDisableMouse)||g.push("mouse"),o.bind(d,{start:function(e){m=e,f=!0},cancel:function(){f=!1},end:function(e,t){p(e)&&l.$apply(function(){d.triggerHandler(a),h(l,{$event:t})})}},g)}}])}var i=t.module("ngTouch",[]);i.factory("$swipe",[function(){function e(e){var t=e.touches&&e.touches.length?e.touches:[e],n=e.changedTouches&&e.changedTouches[0]||e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]||t[0].originalEvent||t[0];return{x:n.clientX,y:n.clientY}}function n(e,n){var i=[];return t.forEach(e,function(e){var t=a[e][n];t&&i.push(t)}),i.join(" ")}var i=10,a={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}};return{bind:function(t,a,o){var r,s,c,l,d=!1;o=o||["mouse","touch"],t.on(n(o,"start"),function(t){c=e(t),d=!0,r=0,s=0,l=c,a.start&&a.start(c,t)});var u=n(o,"cancel");u&&t.on(u,function(e){d=!1,a.cancel&&a.cancel(e)}),t.on(n(o,"move"),function(t){if(d&&c){var n=e(t);if(r+=Math.abs(n.x-l.x),s+=Math.abs(n.y-l.y),l=n,!(i>r&&i>s))return s>r?(d=!1,void(a.cancel&&a.cancel(t))):(t.preventDefault(),void(a.move&&a.move(n,t)))}}),t.on(n(o,"end"),function(t){d&&(d=!1,a.end&&a.end(e(t),t))})}}}]),i.config(["$provide",function(e){e.decorator("ngClickDirective",["$delegate",function(e){return e.shift(),e}])}]),i.directive("ngClick",["$parse","$timeout","$rootElement",function(e,n,i){function a(e,t,n,i){return Math.abs(e-n)f)){var t=e.touches&&e.touches.length?e.touches:[e],n=t[0].clientX,i=t[0].clientY;1>n&&1>i||u&&u[0]===n&&u[1]===i||(u&&(u=null),"label"===e.target.tagName.toLowerCase()&&(u=[n,i]),o(d,n,i)||(e.stopPropagation(),e.preventDefault(),e.target&&e.target.blur()))}}function s(e){var t=e.touches&&e.touches.length?e.touches:[e],i=t[0].clientX,a=t[0].clientY;d.push(i,a),n(function(){for(var e=0;en&&m>v&&(c(g,_),r&&r.blur(),t.isDefined(a.disabled)&&a.disabled!==!1||i.triggerHandler("click",[e])),o()}),i.onclick=function(){},i.on("click",function(e,t){n.$apply(function(){u(n,{$event:t||e})})}),i.on("mousedown",function(){i.addClass(g)}),i.on("mousemove mouseup",function(){i.removeClass(g)})}}]),n("ngSwipeLeft",-1,"swipeleft"),n("ngSwipeRight",1,"swiperight")}(window,window.angular),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.dropdown","ui.bootstrap.tooltip","ui.bootstrap.position","ui.bootstrap.bindHtml","ui.bootstrap.modal","ui.bootstrap.transition"]),angular.module("ui.bootstrap.tpls",["template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/modal/backdrop.html","template/modal/window.html"]),angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function(e){var t=null;this.open=function(a){t||(e.bind("click",n),e.bind("keydown",i)),t&&t!==a&&(t.isOpen=!1),t=a},this.close=function(a){t===a&&(t=null,e.unbind("click",n),e.unbind("keydown",i))};var n=function(e){if(t){var n=t.getToggleElement();e&&n&&n[0].contains(e.target)||t.$apply(function(){t.isOpen=!1})}},i=function(e){27===e.which&&(t.focusToggleElement(),n())}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function(e,t,n,i,a,o){var r,s=this,c=e.$new(),l=i.openClass,d=angular.noop,u=t.onToggle?n(t.onToggle):angular.noop;this.init=function(i){s.$element=i,t.isOpen&&(r=n(t.isOpen),d=r.assign,e.$watch(r,function(e){c.isOpen=!!e}))},this.toggle=function(e){return c.isOpen=arguments.length?!!e:!c.isOpen},this.isOpen=function(){return c.isOpen},c.getToggleElement=function(){return s.toggleElement},c.focusToggleElement=function(){s.toggleElement&&s.toggleElement[0].focus()},c.$watch("isOpen",function(t,n){o[t?"addClass":"removeClass"](s.$element,l),t?(c.focusToggleElement(),a.open(c)):a.close(c),d(e,t),angular.isDefined(t)&&t!==n&&u(e,{open:!!t})}),e.$on("$locationChangeSuccess",function(){c.isOpen=!1}),e.$on("$destroy",function(){c.$destroy()})}]).directive("dropdown",function(){return{controller:"DropdownController",link:function(e,t,n,i){i.init(t)}}}).directive("dropdownToggle",function(){return{require:"?^dropdown",link:function(e,t,n,i){if(i){i.toggleElement=t;var a=function(a){a.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){i.toggle()})};t.bind("click",a),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(i.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.unbind("click",a)})}}}}),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",animation:!0,popupDelay:0},n={mouseenter:"mouseleave",click:"click",focus:"blur"},i={};this.options=function(e){angular.extend(i,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate",function(a,o,r,s,c,l){return function(a,d,u){function p(e){var t=e||m.trigger||u,i=n[t]||t;return{show:t,hide:i}}var m=angular.extend({},t,i),f=e(a),h=l.startSymbol(),g=l.endSymbol(),_="';return{restrict:"EA",compile:function(){var e=o(_);return function(t,n,i){function o(){E.isOpen?u():l()}function l(){(!x||t.$eval(i[d+"Enable"]))&&(v(),E.popupDelay?C||(C=r(f,E.popupDelay,!1),C.then(function(e){e()})):f()())}function u(){t.$apply(function(){h()})}function f(){return C=null,S&&(r.cancel(S),S=null),E.content?(g(),$.css({top:0,left:0,display:"block"}),M?s.find("body").append($):n.after($),T(),E.isOpen=!0,E.$digest(),T):angular.noop}function h(){E.isOpen=!1,r.cancel(C),C=null,E.animation?S||(S=r(_,500)):_()}function g(){$&&_(),k=E.$new(),$=e(k,angular.noop)}function _(){S=null,$&&($.remove(),$=null),k&&(k.$destroy(),k=null)}function v(){y(),b()}function y(){var e=i[d+"Placement"];E.placement=angular.isDefined(e)?e:m.placement}function b(){var e=i[d+"PopupDelay"],t=parseInt(e,10);E.popupDelay=isNaN(t)?m.popupDelay:t}function w(){var e=i[d+"Trigger"];I(),A=p(e),A.show===A.hide?n.bind(A.show,o):(n.bind(A.show,l),n.bind(A.hide,u))}var $,k,S,C,M=angular.isDefined(m.appendToBody)?m.appendToBody:!1,A=p(void 0),x=angular.isDefined(i[d+"Enable"]),E=t.$new(!0),T=function(){var e=c.positionElements(n,$,E.placement,M);e.top+="px",e.left+="px",$.css(e)};E.isOpen=!1,i.$observe(a,function(e){E.content=e,!e&&E.isOpen&&h()}),i.$observe(d+"Title",function(e){E.title=e});var I=function(){n.unbind(A.show,l),n.unbind(A.hide,u)};w();var D=t.$eval(i[d+"Animation"]);E.animation=angular.isDefined(D)?!!D:m.animation;var P=t.$eval(i[d+"AppendToBody"]);M=angular.isDefined(P)?P:M,M&&t.$on("$locationChangeSuccess",function(){E.isOpen&&h()}),t.$on("$destroy",function(){r.cancel(S),r.cancel(C),I(),_(),E=null})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function(e){return e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(e,t){function n(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}function i(e){return"static"===(n(e,"position")||"static")}var a=function(t){for(var n=e[0],a=t.offsetParent||n;a&&a!==n&&i(a);)a=a.offsetParent;return a||n};return{position:function(t){var n=this.offset(t),i={top:0,left:0},o=a(t[0]);o!=e[0]&&(i=this.offset(angular.element(o)),i.top+=o.clientTop-o.scrollTop,i.left+=o.clientLeft-o.scrollLeft);var r=t[0].getBoundingClientRect();return{width:r.width||t.prop("offsetWidth"),height:r.height||t.prop("offsetHeight"),top:n.top-i.top,left:n.left-i.left}},offset:function(n){var i=n[0].getBoundingClientRect();return{width:i.width||n.prop("offsetWidth"),height:i.height||n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}},positionElements:function(e,t,n,i){var a,o,r,s,c=n.split("-"),l=c[0],d=c[1]||"center";a=i?this.offset(e):this.position(e),o=t.prop("offsetWidth"),r=t.prop("offsetHeight");var u={center:function(){return a.left+a.width/2-o/2},left:function(){return a.left},right:function(){return a.left+a.width}},p={center:function(){return a.top+a.height/2-r/2},top:function(){return a.top},bottom:function(){return a.top+a.height}};switch(l){case"right":s={top:p[d](),left:u[l]()};break;case"left":s={top:p[d](),left:a.left-o};break;case"bottom":s={top:p[l](),left:u[d]()};break;default:s={top:a.top-r,left:u[d]()}}return s}}}]),angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(e,t,n){t.addClass("ng-binding").data("$binding",n.bindHtmlUnsafe),e.$watch(n.bindHtmlUnsafe,function(e){t.html(e||"")})}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n0),c()})}function c(){if(d&&-1==r()){var e=u;l(d,u,0,function(){e.$destroy(),e=null}),d=void 0,u=void 0}}function l(n,i,a,o){function r(){r.done||(r.done=!0,n.remove(),o&&o())}i.animate=!1;var s=e.transitionEndEventName;if(s){var c=t(r,a);n.bind(s,function(){t.cancel(c),r(),i.$apply()})}else t(r)}var d,u,p="modal-open",m=o.createNew(),f={};return a.$watch(r,function(e){u&&(u.index=e)}),n.bind("keydown",function(e){var t;27===e.which&&(t=m.top(),t&&t.value.keyboard&&(e.preventDefault(),a.$apply(function(){f.dismiss(t.key,"escape key press")})))}),f.open=function(e,t){m.add(e,{deferred:t.deferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard});var o=n.find("body").eq(0),s=r();if(s>=0&&!d){u=a.$new(!0),u.index=s;var c=angular.element("");c.attr("backdrop-class",t.backdropClass),d=i(c)(u),o.append(d)}var l=angular.element("");l.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:m.length()-1,animate:"animate"}).html(t.content);var f=i(l)(t.scope);m.top().value.modalDomEl=f,o.append(f),o.addClass(p)},f.close=function(e,t){var n=m.get(e);n&&(n.value.deferred.resolve(t),s(e))},f.dismiss=function(e,t){var n=m.get(e);n&&(n.value.deferred.reject(t),s(e))},f.dismissAll=function(e){for(var t=this.getTop();t;)this.dismiss(t.key,e),t=this.getTop()},f.getTop=function(){return m.top()},f}]).provider("$modal",function(){var e={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(t,n,i,a,o,r,s){function c(e){return e.template?i.when(e.template):a.get(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl,{cache:o}).then(function(e){return e.data})}function l(e){var n=[];return angular.forEach(e,function(e){(angular.isFunction(e)||angular.isArray(e))&&n.push(i.when(t.invoke(e)))}),n}var d={};return d.open=function(t){var a=i.defer(),o=i.defer(),d={result:a.promise,opened:o.promise,close:function(e){s.close(d,e)},dismiss:function(e){s.dismiss(d,e)}};if(t=angular.extend({},e.options,t),t.resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var u=i.all([c(t)].concat(l(t.resolve)));return u.then(function(e){var i=(t.scope||n).$new();i.$close=d.close,i.$dismiss=d.dismiss;var o,c={},l=1;t.controller&&(c.$scope=i,c.$modalInstance=d,angular.forEach(t.resolve,function(t,n){c[n]=e[l++]}),o=r(t.controller,c),t.controllerAs&&(i[t.controllerAs]=o)),s.open(d,{scope:i,deferred:a,content:e[0],backdrop:t.backdrop,keyboard:t.keyboard,backdropClass:t.backdropClass,windowClass:t.windowClass,windowTemplateUrl:t.windowTemplateUrl,size:t.size})},function(e){a.reject(e)}),u.then(function(){o.resolve(!0)},function(){o.reject(!1)}),d},d}]};return e}),angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(e,t,n){function i(e){for(var t in e)if(void 0!==o.style[t])return e[t]}var a=function(i,o,r){r=r||{};var s=e.defer(),c=a[r.animation?"animationEndEventName":"transitionEndEventName"],l=function(){n.$apply(function(){i.unbind(c,l),s.resolve(i)})};return c&&i.bind(c,l),t(function(){angular.isString(o)?i.addClass(o):angular.isFunction(o)?o(i):angular.isObject(o)&&i.css(o),c||s.resolve(i)}),s.promise.cancel=function(){c&&i.unbind(c,l),s.reject("Transition cancelled")},s.promise},o=document.createElement("trans"),r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},s={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return a.transitionEndEventName=i(r),a.animationEndEventName=i(s),a}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-html-unsafe-popup.html",'\n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-popup.html",'\n')}]),angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("template/modal/backdrop.html",'\n')}]),angular.module("template/modal/window.html",[]).run(["$templateCache",function(e){e.put("template/modal/window.html",'')}]),angular.module("mediaPlayer",["mediaPlayer.helpers"]).constant("mp.playerDefaults",{currentTrack:0,ended:void 0,network:void 0,playing:!1,seeking:!1,tracks:0,volume:1,formatDuration:"00:00",formatTime:"00:00",loadPercent:0}).directive("mediaPlayer",["$rootScope","$interpolate","$timeout","mp.throttle","mp.playerDefaults",function(e,t,n,i,a){function o(e){return function(t,i){var a,o=null;if(e.$attachPlaylist(t),void 0===t&&void 0!==i)return e.pause();if(e.currentTrack){a=i?i[e.currentTrack-1]:-1;for(var r=0;re?(this.currentTrack=e+1,this.load(this.$playlist[e],!0)):(!this.currentTrack&&this.$domEl.readyState&&this.currentTrack++,void(this.ended?this.load(!0):this.$domEl.play()))},playPause:function(e,t){"boolean"==typeof e&&(t=e,e=void 0),t&&(this.$selective=!0),"number"==typeof e&&e+1!==this.currentTrack?this.play(e):this.playing?this.pause():this.play()},pause:function(){this.$domEl.pause()},stop:function(){this.reset()},toggleMute:function(){this.muted=this.$domEl.muted=!this.$domEl.muted},next:function(e){var t=this;if(t.currentTrack&&t.currentTracki?"0"+i:i)+":"+(10>a?"0"+a:a);return t=n>0?(10>n?"0"+n:n)+":"+o:o},$attachPlaylist:function(e){void 0===e||null===e?this.playlist=[]:this.$playlist=e}},s=function(e,t,n){var a={playing:function(){e.$apply(function(e){e.playing=!0,e.ended=!1})},pause:function(){e.$apply(function(e){e.playing=!1})},ended:function(){!e.$selective&&e.currentTrack/