influxdb/shared/admin/javascripts/vendor/angular.js

5 lines
129 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

!function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=arguments[0],o="["+(e?e+":":"")+i+"] ",a=arguments[1],s=arguments;for(n=o+a.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t+2<s.length?pt(s[t+2]):e}),n=n+"\nhttp://errors.angularjs.org/1.3.13/"+(e?e+"/":"")+i,r=2;r<arguments.length;r++)n=n+(2==r?"?":"&")+"p"+(r-2)+"="+encodeURIComponent(pt(arguments[r]));return new t(n)}}function i(e){if(null==e||k(e))return!1;var t=e.length;return e.nodeType===vi&&t?!0:b(e)||li(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){var r,a;if(e)if(C(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(li(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);return e}function a(e){return Object.keys(e).sort()}function s(e,t,n){for(var r=a(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function u(e){return function(t,n){e(n,t)}}function c(){return++ui}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function f(e){for(var t=e.$$hashKey,n=1,r=arguments.length;r>n;n++){var i=arguments[n];if(i)for(var o=Object.keys(i),a=0,s=o.length;s>a;a++){var u=o[a];e[u]=i[u]}}return l(e,t),e}function p(e){return parseInt(e,10)}function h(e,t){return f(Object.create(e),t)}function d(){}function g(e){return e}function m(e){return function(){return e}}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return"string"==typeof e}function w(e){return"number"==typeof e}function x(e){return"[object Date]"===oi.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===oi.call(e)}function k(e){return e&&e.window===e}function T(e){return e&&e.$evalAsync&&e.$watch}function E(e){return"[object File]"===oi.call(e)}function M(e){return"[object FormData]"===oi.call(e)}function A(e){return"[object Blob]"===oi.call(e)}function N(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function D(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function _(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function j(e){return Xr(e.nodeName||e[0]&&e[0].nodeName)}function P(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),t}function q(e,t,n,r){if(k(e)||T(e))throw ai("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw ai("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],y(e)){var i=n.indexOf(e);if(-1!==i)return r[i];n.push(e),r.push(t)}var a;if(li(e)){t.length=0;for(var s=0;s<e.length;s++)a=q(e[s],null,n,r),y(e[s])&&(n.push(e[s]),r.push(a)),t.push(a)}else{var u=t.$$hashKey;li(t)?t.length=0:o(t,function(e,n){delete t[n]});for(var c in e)e.hasOwnProperty(c)&&(a=q(e[c],null,n,r),y(e[c])&&(n.push(e[c]),r.push(a)),t[c]=a);l(t,u)}}else if(t=e,e)if(li(e))t=q(e,[],n,r);else if(x(e))t=new Date(e.getTime());else if(S(e))t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),t.lastIndex=e.lastIndex;else if(y(e)){var f=Object.create(Object.getPrototypeOf(e));t=q(e,f,n,r)}return t}function R(e,t){if(li(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function I(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,a=typeof e,s=typeof t;if(a==s&&"object"==a){if(!li(e)){if(x(e))return x(t)?I(e.getTime(),t.getTime()):!1;if(S(e)&&S(t))return e.toString()==t.toString();if(T(e)||T(t)||k(e)||k(t)||li(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!C(e[i])){if(!I(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!C(t[i]))return!1;return!0}if(!li(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!I(e[i],t[i]))return!1;return!0}}return!1}function H(e,t,n){return e.concat(ni.call(t,n))}function L(e,t){return ni.call(e,t||0)}function F(e,t){var n=arguments.length>2?L(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,H(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function U(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":T(r)&&(i="$SCOPE"),i}function V(e,t){return"undefined"==typeof e?n:(w(t)||(t=t?2:null),JSON.stringify(e,U,t))}function B(e){return b(e)?JSON.parse(e):e}function z(e){e=Qr(e).clone();try{e.empty()}catch(t){}var n=Qr("<div>").append(e).html();try{return e[0].nodeType===$i?Xr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Xr(t)})}catch(t){return Xr(n)}}function W(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=W(t[0]),$(n))){var i=$(t[1])?W(t[1]):!0;Yr.call(r,n)?li(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function Y(e){var t=[];return o(e,function(e,n){li(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 G(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 J(e,t){var n,r,i=di.length;for(e=Qr(e),r=0;i>r;++r)if(n=di[r]+t,b(n=e.attr(n)))return n;return null}function K(e,t){var n,r,i={};o(di,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(di,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==J(n,"strict-di"),t(n,r?[r]:[],i))}function Q(n,r,i){y(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Qr(n),n.injector()){var e=n[0]===t?"document":z(n);throw ai("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=Bt(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},u=/^NG_ENABLE_DEBUG_INFO!/,c=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!c.test(e.name)?s():(e.name=e.name.replace(c,""),si.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},C(si.resumeDeferredBootstrap)&&si.resumeDeferredBootstrap(),void 0)}function et(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function tt(e){var t=si.element(e).injector();if(!t)throw ai("test","no injector found for element argument to getTestability");return t.get("$$testability")}function nt(e,t){return t=t||"_",e.replace(gi,function(e,n){return(n?t:"")+e.toLowerCase()})}function rt(){var t;mi||(ei=e.jQuery,ei&&ei.fn.on?(Qr=ei,f(ei.fn,{scope:qi.scope,isolateScope:qi.isolateScope,controller:qi.controller,injector:qi.injector,inheritedData:qi.inheritedData}),t=ei.cleanData,ei.cleanData=function(e){var n;if(ci)ci=!1;else for(var r,i=0;null!=(r=e[i]);i++)n=ei._data(r,"events"),n&&n.$destroy&&ei(r).triggerHandler("$destroy");t(e)}):Qr=bt,si.element=Qr,mi=!0)}function it(e,t,n){if(!e)throw ai("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ot(e,t,n){return n&&li(e)&&(e=e[e.length-1]),it(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function at(e,t){if("hasOwnProperty"===e)throw ai("badname","hasOwnProperty is not a valid {0} name",t)}function st(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?F(o,e):e}function ut(e){var t=e[0],n=e[e.length-1],r=[t];do{if(t=t.nextSibling,!t)break;r.push(t)}while(t!==n);return Qr(r)}function ct(){return Object.create(null)}function lt(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),c}}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.",r);var t=[],i=[],s=[],u=e("$injector","invoke","push",i),c={_invokeQueue:t,_configBlocks:i,_runBlocks:s,requires:o,name:r,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:u,run:function(e){return s.push(e),this}};return a&&u(a),c})}})}function ft(e){var t=[];return JSON.stringify(e,function(e,n){if(n=U(e,n),y(n)){if(t.indexOf(n)>=0)return"<<already seen>>";t.push(n)}return n})}function pt(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?ft(e):e}function ht(t){f(t,{bootstrap:Q,copy:q,extend:f,equals:I,element:Qr,forEach:o,injector:Bt,noop:d,bind:F,toJson:V,fromJson:B,identity:g,isUndefined:v,isDefined:$,isString:b,isFunction:C,isObject:y,isNumber:w,isElement:D,isArray:li,version:xi,isDate:x,lowercase:Xr,uppercase:Gr,callbacks:{counter:0},getTestability:tt,$$minErr:r,$$csp:hi,reloadWithDebugInfo:et}),ti=lt(e);try{ti("ngLocale")}catch(n){ti("ngLocale",[]).provider("$locale",vn)}ti("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Gn}),e.provider("$compile",Jt).directive({a:Ao,input:Wo,textarea:Wo,form:jo,script:Pa,select:Ia,style:La,option:Ha,ngBind:Go,ngBindHtml:Jo,ngBindTemplate:Zo,ngClass:Qo,ngClassEven:ta,ngClassOdd:ea,ngCloak:na,ngController:ra,ngForm:Po,ngHide:Aa,ngIf:aa,ngInclude:sa,ngInit:ca,ngNonBindable:Ca,ngPluralize:Sa,ngRepeat:ka,ngShow:Ma,ngStyle:Na,ngSwitch:Oa,ngSwitchWhen:Da,ngSwitchDefault:_a,ngOptions:Ra,ngTransclude:ja,ngModel:ba,ngList:la,ngChange:Ko,pattern:Ua,ngPattern:Ua,required:Fa,ngRequired:Fa,minlength:Ba,ngMinlength:Ba,maxlength:Va,ngMaxlength:Va,ngValue:Yo,ngModelOptions:xa}).directive({ngInclude:ua}).directive(No).directive(ia),e.provider({$anchorScroll:zt,$animate:Wi,$browser:Yt,$cacheFactory:Gt,$controller:tn,$document:nn,$exceptionHandler:rn,$filter:sr,$interpolate:gn,$interval:mn,$http:fn,$httpBackend:hn,$location:On,$log:Dn,$parse:Vn,$rootScope:Yn,$q:Bn,$$q:zn,$sce:Qn,$sceDelegate:Kn,$sniffer:er,$templateCache:Zt,$templateRequest:tr,$$testability:nr,$timeout:rr,$window:ar,$$rAF:Xn,$$asyncCallback:Wt,$$jqLite:Ht})}])}function dt(){return++Si}function gt(e){return e.replace(Ei,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Mi,"Moz$1")}function mt(e){return!Di.test(e)}function vt(e){var t=e.nodeType;return t===vi||!t||t===bi}function $t(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(mt(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(_i.exec(e)||["",""])[1].toLowerCase(),i=Pi[r]||Pi._default,n.innerHTML=i[1]+e.replace(ji,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function yt(e,n){n=n||t;var r;return(r=Oi.exec(e))?[n.createElement(r[1])]:(r=$t(e,n))?r.childNodes:[]}function bt(e){if(e instanceof bt)return e;var t;if(b(e)&&(e=fi(e),t=!0),!(this instanceof bt)){if(t&&"<"!=e.charAt(0))throw Ni("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new bt(e)}t?Nt(this,yt(e)):Nt(this,e)}function wt(e){return e.cloneNode(!0)}function xt(e,t){if(t||St(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)St(n[r])}function Ct(e,t,n,r){if($(r))throw Ni("offargs","jqLite#off() does not support the `selector` argument");var i=kt(e),a=i&&i.events,s=i&&i.handle;if(s)if(t)o(t.split(" "),function(t){if($(n)){var r=a[t];if(P(r||[],n),r&&r.length>0)return}Ti(e,t,s),delete a[t]});else for(t in a)"$destroy"!==t&&Ti(e,t,s),delete a[t]}function St(e,t){var r=e.ng339,i=r&&Ci[r];if(i){if(t)return delete i.data[t],void 0;i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Ct(e)),delete Ci[r],e.ng339=n}}function kt(e,t){var r=e.ng339,i=r&&Ci[r];return t&&!i&&(e.ng339=r=dt(),i=Ci[r]={events:{},data:{},handle:n}),i}function Tt(e,t,n){if(vt(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=kt(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Et(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Mt(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",fi((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fi(t)+" "," ")))})}function At(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=fi(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",fi(n))}}function Nt(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 r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ot(e,t){return Dt(e,"$"+(t||"ngController")+"Controller")}function Dt(e,t,r){e.nodeType==bi&&(e=e.documentElement);for(var i=li(t)?t:[t];e;){for(var o=0,a=i.length;a>o;o++)if((r=Qr.data(e,i[o]))!==n)return r;e=e.parentNode||e.nodeType===wi&&e.host}}function _t(e){for(xt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function jt(e,t){t||xt(e);var n=e.parentNode;n&&n.removeChild(e)}function Pt(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Qr(n).on("load",t)}function qt(e,t){var n=Ri[t.toLowerCase()];return n&&Ii[j(e)]&&n}function Rt(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Hi[t]}function It(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0},o>1&&(i=R(i));for(var s=0;o>s;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}function Ht(){this.$get=function(){return f(bt,{hasClass:function(e,t){return e.attr&&(e=e[0]),Et(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),At(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Mt(e,t)}})}}function Lt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||c)():r+":"+e}function Ft(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Ut(e){var t=e.toString().replace(Vi,""),n=t.match(Li);return n?"function("+(n[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Vt(e,t,n){var r,i,a,s;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw b(n)&&n||(n=e.name||Ut(e)),Bi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=e.toString().replace(Vi,""),a=i.match(Li),o(a[1].split(Fi),function(e){e.replace(Ui,function(e,t,n){r.push(n)})})}e.$inject=r}}else li(e)?(s=e.length-1,ot(e[s],"fn"),r=e.slice(0,s)):ot(e,"fn",!0);return r}function Bt(e,t){function r(e){return function(t,n){return y(t)?(o(t,u(e)),void 0):e(t,n)}}function i(e,t){if(at(e,"service"),(C(t)||li(t))&&(t=T.instantiate(t)),!t.$get)throw Bi("pget","Provider '{0}' must define $get factory method.",e);return k[e+w]=t}function a(e,t){return function(){var n=M.invoke(t,this);if(v(n))throw Bi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function c(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function f(e,t){at(e,"constant"),k[e]=t,E[e]=t}function p(e,t){var n=T.get(e+w),r=n.$get;n.$get=function(){var e=M.invoke(r,n);return M.invoke(t,null,{$delegate:e})}}function h(e){var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=T.get(r[0]);i[r[1]].apply(i,r[2])}}if(!S.get(e)){S.put(e,!0);try{b(e)?(t=ti(e),n=n.concat(h(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(T.invoke(e)):li(e)?n.push(T.invoke(e)):ot(e,"module")}catch(i){throw li(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Bi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function g(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===$)throw Bi("cdep","Circular dependency found: {0}",t+" <- "+x.join(" <- "));return e[t]}try{return x.unshift(t),e[t]=$,e[t]=n(t,r)}catch(i){throw e[t]===$&&delete e[t],i}finally{x.shift()}}function i(e,n,i,o){"string"==typeof i&&(o=i,i=null);var a,s,u,c=[],l=Bt.$$annotate(e,t,o);for(s=0,a=l.length;a>s;s++){if(u=l[s],"string"!=typeof u)throw Bi("itkn","Incorrect injection token! Expected service name as string, got {0}",u);c.push(i&&i.hasOwnProperty(u)?i[u]:r(u,o))}return li(e)&&(e=e[a]),e.apply(n,c)}function o(e,t,n){var r=Object.create((li(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return y(o)||C(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:Bt.$$annotate,has:function(t){return k.hasOwnProperty(t+w)||e.hasOwnProperty(t)}}}t=t===!0;var $={},w="Provider",x=[],S=new Ft([],!0),k={$provide:{provider:r(i),factory:r(s),service:r(c),value:r(l),constant:r(f),decorator:p}},T=k.$injector=g(k,function(e,t){throw si.isString(t)&&x.push(t),Bi("unpr","Unknown provider: {0}",x.join(" <- "))}),E={},M=E.$injector=g(E,function(e,t){var r=T.get(e+w,t);return M.invoke(r.$get,r,n,e)});return o(h(e),function(e){M.invoke(e||d)}),M}function zt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(D(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else w(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(){var e,t=n.hash();t?(e=u.getElementById(t))?a(e):(e=i(u.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&Pt(function(){r.$evalAsync(s)})}),s}]}function Wt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Xt(e,t,r,i){function a(e){try{e.apply(null,L(arguments,1))}finally{if(C--,0===C)for(;S.length;)try{S.pop()()}catch(t){r.error(t)}}}function s(e){var t=e.indexOf("#");return-1===t?"":e.substr(t+1)}function u(e,t){!function n(){o(T,function(e){e()}),k=t(n,e)}()}function c(){l(),f()}function l(){E=e.history.state,E=v(E)?null:E,I(E,j)&&(E=j),j=E}function f(){(A!==h.url()||M!==E)&&(A=h.url(),M=E,o(D,function(e){e(h.url(),E)}))}function p(e){try{return decodeURIComponent(e)}catch(t){return e}}var h=this,g=t[0],m=e.location,$=e.history,y=e.setTimeout,w=e.clearTimeout,x={};h.isMock=!1;var C=0,S=[];h.$$completeOutstandingRequest=a,h.$$incOutstandingRequestCount=function(){C++},h.notifyWhenNoOutstandingRequests=function(e){o(T,function(e){e()}),0===C?e():S.push(e)};var k,T=[];h.addPollFn=function(e){return v(k)&&u(100,y),T.push(e),e};var E,M,A=m.href,N=t.find("base"),O=null;l(),M=E,h.url=function(t,n,r){if(v(r)&&(r=null),m!==e.location&&(m=e.location),$!==e.history&&($=e.history),t){var o=M===r;if(A===t&&(!i.history||o))return h;var a=A&&xn(A)===xn(t);return A=t,M=r,!i.history||a&&o?(a||(O=t),n?m.replace(t):a?m.hash=s(t):m.href=t):($[n?"replaceState":"pushState"](r,"",t),l(),M=E),h}return O||m.href.replace(/%27/g,"'")},h.state=function(){return E};var D=[],_=!1,j=null;h.onUrlChange=function(t){return _||(i.history&&Qr(e).on("popstate",c),Qr(e).on("hashchange",c),_=!0),D.push(t),t},h.$$checkUrlChange=f,h.baseHref=function(){var e=N.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var P={},q="",R=h.baseHref();h.cookies=function(e,t){var i,o,a,s,u;if(!e){if(g.cookie!==q)for(q=g.cookie,o=q.split("; "),P={},s=0;s<o.length;s++)a=o[s],u=a.indexOf("="),u>0&&(e=p(a.substring(0,u)),P[e]===n&&(P[e]=p(a.substring(u+1))));return P}t===n?g.cookie=encodeURIComponent(e)+"=;path="+R+";expires=Thu, 01 Jan 1970 00:00:00 GMT":b(t)&&(i=(g.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path="+R).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},h.defer=function(e,t){var n;return C++,n=y(function(){delete x[n],a(e)},t||0),x[n]=!0,n},h.defer.cancel=function(e){return x[e]?(delete x[e],w(e),a(d),!0):!1}}function Yt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Xt(e,r,t,n)}]}function Gt(){this.$get=function(){function e(e,n){function i(e){e!=p&&(h?h==e&&(h=e.n):h=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 r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},p=null,h=null;return t[e]={put:function(e,t){if(c<Number.MAX_VALUE){var n=l[e]||(l[e]={key:e});i(n)}if(!v(t))return e in u||a++,u[e]=t,a>c&&this.remove(h.key),t},get:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;t==p&&(p=t.p),t==h&&(h=t.n),o(t.n,t.p),delete l[e]}delete u[e],a--},removeAll:function(){u={},a=0,l={},p=h=null},destroy:function(){u=null,s=null,l=null,delete t[e]},info:function(){return f({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function Zt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Jt(e,r){function i(e,t){var n=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,r={};return o(e,function(e,i){var o=e.match(n);if(!o)throw Xi("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,i,e);r[i]={mode:o[1][0],collection:"*"===o[2],optional:"?"===o[3],attrName:o[4]||i}}),r}var a={},s="Directive",c=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,l=/(([\w\-]+)(?:\:([^;]+))?;?)/,p=_("ngSrc,ngSrcset,src,srcset"),v=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,w=/^(on[a-z]+|formaction)$/;this.directive=function S(t,n){return at(t,"directive"),b(t)?(it(n,"directiveFactory"),a.hasOwnProperty(t)||(a[t]=[],e.factory(t+s,["$injector","$exceptionHandler",function(e,n){var r=[];return o(a[t],function(o,a){try{var s=e.invoke(o);C(s)?s={compile:m(s)}:!s.compile&&s.link&&(s.compile=m(s.link)),s.priority=s.priority||0,s.index=a,s.name=s.name||t,s.require=s.require||s.controller&&s.name,s.restrict=s.restrict||"EA",y(s.scope)&&(s.$$isolateBindings=i(s.scope,s.name)),r.push(s)}catch(u){n(u)}}),r}])),a[t].push(n)):o(t,u(S)),this},this.aHrefSanitizationWhitelist=function(e){return $(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()};var x=!0;this.debugInfoEnabled=function(e){return $(e)?(x=e,this):x},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,i,u,m,$,S,k,E,M,A){function N(e,t){try{e.addClass(t)}catch(n){}}function O(e,t,n,r,i){e instanceof Qr||(e=Qr(e)),o(e,function(t,n){t.nodeType==$i&&t.nodeValue.match(/\S+/)&&(e[n]=Qr(t).wrap("<span></span>").parent()[0])});var a=_(e,t,e,n,r,i);O.$$addScopeClass(e);var s=null;return function(t,n,r){it(t,"scope"),r=r||{};var i=r.parentBoundTranscludeFn,o=r.transcludeControllers,u=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),s||(s=D(u));var c;if(c="html"!==s?Qr(K(s,Qr("<div>").append(e).html())):n?qi.clone.call(e):e,o)for(var l in o)c.data("$"+l+"Controller",o[l].instance);return O.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,i),c}}function D(e){var t=e&&e[0];return t?"foreignobject"!==j(t)&&t.toString().match(/SVG/)?"svg":"html":"html"}function _(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,c,l,f,p,h,m;if(d){var v=r.length;for(m=new Array(v),l=0;l<g.length;l+=3)p=g[l],m[p]=r[p]}else m=r;for(l=0,f=g.length;f>l;)u=m[g[l++]],a=g[l++],s=g[l++],a?(a.scope?(c=e.$new(),O.$$addScopeInfo(Qr(u),c)):c=e,h=a.transcludeOnThisElement?q(e,a.transclude,o,a.elementTranscludeOnThisElement):!a.templateOnThisElement&&o?o:!o&&t?q(e,t):null,a(s,c,u,i,h)):s&&s(e,u.childNodes,n,o)}for(var u,c,l,f,p,h,d,g=[],m=0;m<e.length;m++)u=new at,c=R(e[m],[],u,0===m?i:n,o),l=c.length?U(c,e[m],u,t,r,null,[],[],a):null,l&&l.scope&&O.$$addScopeClass(u.$$element),p=l&&l.terminal||!(f=e[m].childNodes)||!f.length?null:_(f,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||p)&&(g.push(m,l,p),h=!0,d=d||l),a=null;return h?s:null}function q(e,t,n){var r=function(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})};return r}function R(e,t,n,r,i){var o,a,s=e.nodeType,u=n.$attr;switch(s){case vi:B(t,Kt(j(e)),"E",r,i);for(var f,p,h,d,g,m,v=e.attributes,$=0,w=v&&v.length;w>$;$++){var x=!1,C=!1;f=v[$],p=f.name,g=fi(f.value),d=Kt(p),(m=ft.test(d))&&(p=p.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var S=d.replace(/(Start|End)$/,"");W(S)&&d===S+"Start"&&(x=p,C=p.substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),h=Kt(p.toLowerCase()),u[h]=p,(m||!n.hasOwnProperty(h))&&(n[h]=g,qt(e,h)&&(n[h]=!0)),et(e,t,g,h,m),B(t,h,"A",r,i,x,C)}if(a=e.className,y(a)&&(a=a.animVal),b(a)&&""!==a)for(;o=l.exec(a);)h=Kt(o[2]),B(t,h,"C",r,i)&&(n[h]=fi(o[3])),a=a.substr(o.index+o[0].length);break;case $i:J(t,e.nodeValue);break;case yi:try{o=c.exec(e.nodeValue),o&&(h=Kt(o[1]),B(t,h,"M",r,i)&&(n[h]=fi(o[2])))}catch(k){}}return t.sort(G),t}function H(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Xi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==vi&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Qr(r)}function F(e,t,n){return function(r,i,o,a,s){return i=H(i[0],t,n),e(r,i,o,a,s)}}function U(e,a,s,u,c,l,f,p,h){function d(e,t,n,r){e&&(n&&(e=F(e,n,r)),e.require=k.require,e.directiveName=E,(j===k||k.$$isolateScope)&&(e=rt(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=F(t,n,r)),t.require=k.require,t.directiveName=E,(j===k||k.$$isolateScope)&&(t=rt(t,{isolateScope:!0})),p.push(t))}function g(e,t,n,r){var i,a,s="data",u=!1,c=n;if(b(t)){if(a=t.match(v),t=t.substring(a[0].length),a[3]&&(a[1]?a[3]=null:a[1]=a[3]),"^"===a[1]?s="inheritedData":"^^"===a[1]&&(s="inheritedData",c=n.parent()),"?"===a[2]&&(u=!0),i=null,r&&"data"===s&&(i=r[t])&&(i=i.instance),i=i||c[s]("$"+t+"Controller"),!i&&!u)throw Xi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return i||null}return li(t)&&(i=[],o(t,function(t){i.push(g(e,t,n,r))})),i}function w(e,t,i,u,c){function l(e,t,r){var i;return T(e)||(r=t,t=e,e=n),W&&(i=w),r||(r=W?C.parent():C),c(e,t,i,r,A)}var h,d,v,y,b,w,x,C,k;if(a===i?(k=s,C=s.$$element):(C=Qr(i),k=new at(C,s)),j&&(b=t.$new(!0)),c&&(x=l,x.$$boundTransclude=c),_&&(S={},w={},o(_,function(e){var n,r={$scope:e===j||e.$$isolateScope?b:t,$element:C,$attrs:k,$transclude:x};y=e.controller,"@"==y&&(y=k[e.name]),n=$(y,r,!0,e.controllerAs),w[e.name]=n,W||C.data("$"+e.name+"Controller",n.instance),S[e.name]=n})),j){O.$$addScopeInfo(C,b,!0,!(P&&(P===j||P===j.$$originalDirective))),O.$$addScopeClass(C,!0);var E=S&&S[j.name],M=b;E&&E.identifier&&j.bindToController===!0&&(M=E.instance),o(b.$$isolateBindings=j.$$isolateBindings,function(e,n){var i,o,a,s,u=e.attrName,c=e.optional,l=e.mode;switch(l){case"@":k.$observe(u,function(e){M[n]=e}),k.$$observers[u].$$scope=t,k[u]&&(M[n]=r(k[u])(t));break;case"=":if(c&&!k[u])return;o=m(k[u]),s=o.literal?I:function(e,t){return e===t||e!==e&&t!==t},a=o.assign||function(){throw i=M[n]=o(t),Xi("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",k[u],j.name)},i=M[n]=o(t);var f=function(e){return s(e,M[n])||(s(e,i)?a(t,e=M[n]):M[n]=e),i=e};f.$stateful=!0;var p;p=e.collection?t.$watchCollection(k[u],f):t.$watch(m(k[u],f),null,o.literal),b.$on("$destroy",p);break;case"&":o=m(k[u]),M[n]=function(e){return o(t,e)}}})}for(S&&(o(S,function(e){e()}),S=null),h=0,d=f.length;d>h;h++)v=f[h],ot(v,v.isolateScope?b:t,C,k,v.require&&g(v.directiveName,v.require,C,w),x);var A=t;for(j&&(j.template||null===j.templateUrl)&&(A=b),e&&e(A,i.childNodes,n,c),h=p.length-1;h>=0;h--)v=p[h],ot(v,v.isolateScope?b:t,C,k,v.require&&g(v.directiveName,v.require,C,w),x)}h=h||{};for(var x,S,k,E,M,A,N,D=-Number.MAX_VALUE,_=h.controllerDirectives,j=h.newIsolateScopeDirective,P=h.templateDirective,q=h.nonTlbTranscludeDirective,U=!1,B=!1,W=h.hasElementTranscludeDirective,G=s.$$element=Qr(a),J=l,Q=u,et=0,nt=e.length;nt>et;et++){k=e[et];var it=k.$$start,st=k.$$end;if(it&&(G=H(a,it,st)),M=n,D>k.priority)break;if((N=k.scope)&&(k.templateUrl||(y(N)?(Z("new/isolated scope",j||x,k,G),j=k):Z("new/isolated scope",j,k,G)),x=x||k),E=k.name,!k.templateUrl&&k.controller&&(N=k.controller,_=_||{},Z("'"+E+"' controller",_[E],k,G),_[E]=k),(N=k.transclude)&&(U=!0,k.$$tlb||(Z("transclusion",q,k,G),q=k),"element"==N?(W=!0,D=k.priority,M=G,G=s.$$element=Qr(t.createComment(" "+E+": "+s[E]+" ")),a=G[0],tt(c,L(M),a),Q=O(M,u,D,J&&J.name,{nonTlbTranscludeDirective:q})):(M=Qr(wt(a)).contents(),G.empty(),Q=O(M,u))),k.template)if(B=!0,Z("template",P,k,G),P=k,N=C(k.template)?k.template(G,s):k.template,N=lt(N),k.replace){if(J=k,M=mt(N)?[]:en(K(k.templateNamespace,fi(N))),a=M[0],1!=M.length||a.nodeType!==vi)throw Xi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",E,"");tt(c,G,a);var ut={$attr:{}},ct=R(a,[],ut),ft=e.splice(et+1,e.length-(et+1));j&&V(ct),e=e.concat(ct).concat(ft),X(s,ut),nt=e.length}else G.html(N);if(k.templateUrl)B=!0,Z("template",P,k,G),P=k,k.replace&&(J=k),w=Y(e.splice(et,e.length-et),G,s,c,U&&Q,f,p,{controllerDirectives:_,newIsolateScopeDirective:j,templateDirective:P,nonTlbTranscludeDirective:q}),nt=e.length;else if(k.compile)try{A=k.compile(G,s,Q),C(A)?d(null,A,it,st):A&&d(A.pre,A.post,it,st)}catch(pt){i(pt,z(G))}k.terminal&&(w.terminal=!0,D=Math.max(D,k.priority))}return w.scope=x&&x.scope===!0,w.transcludeOnThisElement=U,w.elementTranscludeOnThisElement=W,w.templateOnThisElement=B,w.transclude=Q,h.hasElementTranscludeDirective=W,w}function V(e){for(var t=0,n=e.length;n>t;t++)e[t]=h(e[t],{$$isolateScope:!0})}function B(t,r,o,u,c,l,f){if(r===c)return null;var p=null;if(a.hasOwnProperty(r))for(var d,g=e.get(r+s),m=0,v=g.length;v>m;m++)try{d=g[m],(u===n||u>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=h(d,{$$start:l,$$end:f})),t.push(d),p=d)}catch($){i($)}return p}function W(t){if(a.hasOwnProperty(t))for(var n,r=e.get(t+s),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function X(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(N(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function Y(e,t,n,r,i,a,s,c){var l,f,p=[],d=t[0],g=e.shift(),m=h(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),v=C(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,$=g.templateNamespace;return t.empty(),u(E.getTrustedResourceUrl(v)).then(function(u){var h,b,w,x;
if(u=lt(u),g.replace){if(w=mt(u)?[]:en(K($,fi(u))),h=w[0],1!=w.length||h.nodeType!==vi)throw Xi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,v);b={$attr:{}},tt(r,t,h);var C=R(h,[],b);y(g.scope)&&V(C),e=C.concat(e),X(n,b)}else h=d,t.html(u);for(e.unshift(m),l=U(e,h,n,i,t,g,a,s,c),o(r,function(e,n){e==h&&(r[n]=t[0])}),f=_(t[0].childNodes,i);p.length;){var S=p.shift(),k=p.shift(),T=p.shift(),E=p.shift(),M=t[0];if(!S.$$destroyed){if(k!==d){var A=k.className;c.hasElementTranscludeDirective&&g.replace||(M=wt(h)),tt(T,Qr(k),M),N(Qr(M),A)}x=l.transcludeOnThisElement?q(S,l.transclude,E):E,l(f,S,M,r,x)}}p=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(l.transcludeOnThisElement&&(o=q(t,l.transclude,i)),l(f,t,n,r,o)))}}function G(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Z(e,t,n,r){if(t)throw Xi("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,n.name,e,z(r))}function J(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&O.$$addBindingClass(t),function(e,t){var i=t.parent();r||O.$$addBindingClass(i),O.$$addBindingInfo(i,n.expressions),e.$watch(n,function(e){t[0].nodeValue=e})}}})}function K(e,n){switch(e=Xr(e||"html")){case"svg":case"math":var r=t.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function Q(e,t){if("srcdoc"==t)return E.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?E.RESOURCE_URL:void 0}function et(e,t,n,i,o){var a=Q(e,i);o=p[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Xi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",z(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var c=u.$$observers||(u.$$observers={});if(w.test(i))throw Xi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var l=u[i];l!==n&&(s=l&&r(l,!0,a,o),n=l),s&&(u[i]=s(e),(c[i]||(c[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function tt(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var c=i,l=c+s-1,f=e.length;f>c;c++,l++)f>l?e[c]=e[l]:delete e[c];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();p.appendChild(a),Qr(r).data(Qr(a).data()),ei?(ci=!0,ei.cleanData([a])):delete Qr.cache[a[Qr.expando]];for(var h=1,d=n.length;d>h;h++){var g=n[h];Qr(g).remove(),p.appendChild(g),delete n[h]}n[0]=r,n.length=1}function rt(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function ot(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,z(n))}}var at=function(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e};at.prototype={$normalize:Kt,$addClass:function(e){e&&e.length>0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Qt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=Qt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,r,a){var s,u=this.$$element[0],c=qt(u,e),l=Rt(u,e),f=e;if(c?(this.$$element.prop(e,t),a=c):l&&(this[l]=t,f=l),this[e]=t,a?this.$attr[e]=a:(a=this.$attr[e],a||(this.$attr[e]=a=nt(e,"-"))),s=j(this.$$element),"a"===s&&"href"===e||"img"===s&&"src"===e)this[e]=t=A(t,"src"===e);else if("img"===s&&"srcset"===e){for(var p="",h=fi(t),d=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,g=/\s/.test(h)?d:/(,)/,m=h.split(g),v=Math.floor(m.length/2),$=0;v>$;$++){var y=2*$;p+=A(fi(m[y]),!0),p+=" "+fi(m[y+1])}var b=fi(m[2*$]).split(/\s/);p+=A(fi(b[0]),!0),2===b.length&&(p+=" "+fi(b[1])),this[e]=t=p}r!==!1&&(null===t||t===n?this.$$element.removeAttr(a):this.$$element.attr(a,t));var w=this.$$observers;w&&o(w[f],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ct()),i=r[e]||(r[e]=[]);return i.push(t),S.$evalAsync(function(){!i.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){P(i,t)}}};var st=r.startSymbol(),ut=r.endSymbol(),lt="{{"==st||"}}"==ut?g:function(e){return e.replace(/\{\{/g,st).replace(/}}/g,ut)},ft=/^ngAttr[A-Z]/;return O.$$addBindingInfo=x?function(e,t){var n=e.data("$binding")||[];li(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:d,O.$$addBindingClass=x?function(e){N(e,"ng-binding")}:d,O.$$addScopeInfo=x?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:d,O.$$addScopeClass=x?function(e,t){N(e,t?"ng-isolate-scope":"ng-scope")}:d,O}]}function Kt(e){return gt(e.replace(Yi,""))}function Qt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function en(e){e=Qr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===yi&&ri.call(e,t,1)}return e}function tn(){var e={},t=!1,i=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){at(t,"controller"),y(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(o,a){function s(e,t,n,i){if(!e||!y(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,u,c,l){var p,h,d,g;if(c=c===!0,l&&b(l)&&(g=l),b(r)){if(h=r.match(i),!h)throw Gi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);d=h[1],g=g||h[3],r=e.hasOwnProperty(d)?e[d]:st(u.$scope,d,!0)||(t?st(a,d,!0):n),ot(r,d,!0)}if(c){var m=(li(r)?r[r.length-1]:r).prototype;return p=Object.create(m||null),g&&s(u,g,p,d||r.name),f(function(){return o.invoke(r,p,u,d),p},{instance:p,identifier:g})}return p=o.instantiate(r,u,d),g&&s(u,g,p,d||r.name),p}}]}function nn(){this.$get=["$window",function(e){return Qr(e.document)}]}function rn(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function on(e,t){if(b(e)){var n=e.replace(eo,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||an(n))&&(e=B(n))}}return e}function an(e){var t=e.match(Ki);return t&&Qi[t[0]].test(e)}function sn(e){var t,n,r,i=ct();return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=Xr(fi(e.substr(0,r))),n=fi(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}function un(e){var t=y(e)?e:n;return function(n){if(t||(t=sn(e)),n){var r=t[Xr(n)];return void 0===r&&(r=null),r}return t}}function cn(e,t,n,r){return C(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function ln(e){return e>=200&&300>e}function fn(){var e=this.defaults={transformResponse:[on],transformRequest:[function(e){return!y(e)||E(e)||A(e)||M(e)?e:V(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:R(Ji),put:R(Ji),patch:R(Ji)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},t=!1;this.useApplyAsync=function(e){return $(e)?(t=!!e,this):t};var i=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,u,c,l,p,h){function d(t){function i(e){var t=f({},e);return t.data=e.data?cn(e.data,e.headers,e.status,u.transformResponse):e.data,ln(e.status)?t:p.reject(t)}function a(e){var t,n={};return o(e,function(e,r){C(e)?(t=e(),null!=t&&(n[r]=t)):n[r]=e}),n}function s(t){var n,r,i,o=e.headers,s=f({},t.headers);o=f({},o.common,o[Xr(t.method)]);e:for(n in o){r=Xr(n);for(i in s)if(Xr(i)===r)continue e;s[n]=o[n]}return a(s)}if(!si.isObject(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);var u=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},t);u.headers=s(t),u.method=Gr(u.method);var c=function(t){var r=t.headers,a=cn(t.data,un(r),n,t.transformRequest);return v(a)&&o(r,function(e,t){"content-type"===Xr(t)&&delete r[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),w(t,a).then(i,i)},l=[c,n],h=p.when(u);for(o(T,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 d=l.shift(),g=l.shift();h=h.then(d,g)}return h.success=function(e){return h.then(function(t){e(t.data,t.status,t.headers,u)}),h},h.error=function(e){return h.then(null,function(t){e(t.data,t.status,t.headers,u)}),h},h}function g(){o(arguments,function(e){d[e]=function(t,n){return d(f(n||{},{method:e,url:t}))}})}function m(){o(arguments,function(e){d[e]=function(t,n,r){return d(f(r||{},{method:e,url:t,data:n}))}})}function w(r,i){function o(e,n,r,i){function o(){s(n,e,r,i)}h&&(ln(e)?h.put(x,[e,n,sn(r),i]):h.remove(x)),t?l.$applyAsync(o):(o(),l.$$phase||l.$apply())}function s(e,t,n,i){t=Math.max(t,0),(ln(t)?m.resolve:m.reject)({data:e,status:t,headers:un(n),config:r,statusText:i})}function c(e){s(e.data,e.status,R(e.headers()),e.statusText)}function f(){var e=d.pendingRequests.indexOf(r);-1!==e&&d.pendingRequests.splice(e,1)}var h,g,m=p.defer(),b=m.promise,w=r.headers,x=S(r.url,r.params);if(d.pendingRequests.push(r),b.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=y(r.cache)?r.cache:y(e.cache)?e.cache:k),h&&(g=h.get(x),$(g)?O(g)?g.then(c,c):li(g)?s(g[1],g[0],R(g[2]),g[3]):s(g,200,{},"OK"):h.put(x,b)),v(g)){var C=or(r.url)?u.cookies()[r.xsrfCookieName||e.xsrfCookieName]:n;C&&(w[r.xsrfHeaderName||e.xsrfHeaderName]=C),a(r.method,x,i,o,w,r.timeout,r.withCredentials,r.responseType)}return b}function S(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||v(e)||(li(e)||(e=[e]),o(e,function(e){y(e)&&(e=x(e)?e.toISOString():V(e)),n.push(Z(t)+"="+Z(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var k=c("$http"),T=[];return o(i,function(e){T.unshift(b(e)?h.get(e):h.invoke(e))}),d.pendingRequests=[],g("get","delete","head","jsonp"),m("post","put","patch"),d.defaults=e,d}]}function pn(){return new e.XMLHttpRequest}function hn(){this.$get=["$browser","$window","$document",function(e,t,n){return dn(e,pn,e.defer,t.angular.callbacks,n[0])}]}function dn(e,t,r,i,a){function s(e,t,n){var r=a.createElement("script"),o=null;return r.type="text/javascript",r.src=e,r.async=!0,o=function(e){Ti(r,"load",o),Ti(r,"error",o),a.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},ki(r,"load",o),ki(r,"error",o),a.body.appendChild(r),o}return function(a,u,c,l,f,p,h,g){function m(){b&&b(),w&&w.abort()}function v(t,i,o,a,s){S!==n&&r.cancel(S),b=w=null,t(i,o,a,s),e.$$completeOutstandingRequest(d)}if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==Xr(a)){var y="_"+(i.counter++).toString(36);i[y]=function(e){i[y].data=e,i[y].called=!0};var b=s(u.replace("JSON_CALLBACK","angular.callbacks."+y),y,function(e,t){v(l,e,i[y].data,"",t),i[y]=d})}else{var w=t();w.open(a,u,!0),o(f,function(e,t){$(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"==ir(u).protocol?404:0),v(l,n,t,w.getAllResponseHeaders(),e)};var x=function(){v(l,-1,null,null,"")};if(w.onerror=x,w.onabort=x,h&&(w.withCredentials=!0),g)try{w.responseType=g}catch(C){if("json"!==g)throw C}w.send(c||null)}if(p>0)var S=r(m,p);else O(p)&&p.then(m)}}function gn(){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,r,i){function o(e){return"\\\\\\"+e}function a(o,a,p,h){function d(n){return n.replace(c,e).replace(l,t)}function g(e){try{return e=A(e),h&&!$(e)?e:N(e)}catch(t){var n=to("interr","Can't interpolate: {0}\n{1}",o,t.toString());r(n)}}h=!!h;for(var m,y,b,w=0,x=[],S=[],k=o.length,T=[],E=[];k>w;){if(-1==(m=o.indexOf(e,w))||-1==(y=o.indexOf(t,m+s))){w!==k&&T.push(d(o.substring(w)));break}w!==m&&T.push(d(o.substring(w,m))),b=o.substring(m+s,y),x.push(b),S.push(n(b,g)),w=y+u,E.push(T.length),T.push("")}if(p&&T.length>1)throw to("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(!a||x.length){var M=function(e){for(var t=0,n=x.length;n>t;t++){if(h&&v(e[t]))return;T[E[t]]=e[t]}return T.join("")},A=function(e){return p?i.getTrusted(p,e):i.valueOf(e)},N=function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=V(e)}return e};return f(function(e){var t=0,n=x.length,i=new Array(n);try{for(;n>t;t++)i[t]=S[t](e);return M(i)}catch(a){var s=to("interr","Can't interpolate: {0}\n{1}",o,a.toString());r(s)}},{exp:o,expressions:x,$$watchDelegate:function(e,t,n){var r;return e.$watchGroup(S,function(n,i){var o=M(n);C(t)&&t.call(this,o,n!==i?r:o,e),r=o},n)}})}}var s=e.length,u=t.length,c=new RegExp(e.replace(/./g,o),"g"),l=new RegExp(t.replace(/./g,o),"g");return a.startSymbol=function(){return e},a.endSymbol=function(){return t},a}]}function mn(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,a,s,u){var c=t.setInterval,l=t.clearInterval,f=0,p=$(u)&&!u,h=(p?r:n).defer(),d=h.promise;return s=$(s)?s:0,d.then(null,null,i),d.$$intervalId=c(function(){h.notify(f++),s>0&&f>=s&&(h.resolve(f),l(d.$$intervalId),delete o[d.$$intervalId]),p||e.$apply()},a),o[d.$$intervalId]=h,d}var o={};return i.cancel=function(e){return e&&e.$$intervalId in o?(o[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete o[e.$$intervalId],!0):!1},i}]}function vn(){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 $n(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=G(t[n]);return t.join("/")}function yn(e,t){var n=ir(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||ro[n.protocol]||null}function bn(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=ir(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function wn(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function xn(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Cn(e){return e.replace(/(#.+)|#$/,"$1")}function Sn(e){return e.substr(0,xn(e).lastIndexOf("/")+1)}function kn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Tn(e,t){this.$$html5=!0,t=t||"";var r=Sn(e);yn(e,this),this.$$parse=function(e){var t=wn(r,e);if(!b(t))throw io("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);bn(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Y(this.$$search),t=this.$$hash?"#"+G(this.$$hash):"";this.$$url=$n(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var a,s,u;return(a=wn(e,i))!==n?(s=a,u=(a=wn(t,a))!==n?r+(wn("/",a)||a):e+s):(a=wn(r,i))!==n?u=r+a:r==i+"/"&&(u=r),u&&this.$$parse(u),!!u}}function En(e,t){var n=Sn(e);yn(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=wn(e,r)||wn(n,r);"#"===a.charAt(0)?(o=wn(t,a),v(o)&&(o=a)):o=this.$$html5?a:"",bn(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var n=Y(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=$n(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t){return xn(e)==xn(t)?(this.$$parse(t),!0):!1}}function Mn(e,t){this.$$html5=!0,En.apply(this,arguments);var n=Sn(e);this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==xn(r)?o=r:(a=wn(n,r))?o=e+t+a:n===r+"/"&&(o=n),o&&this.$$parse(o),!!o},this.$$compose=function(){var n=Y(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=$n(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function An(e){return function(){return this[e]}}function Nn(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function On(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return N(e)?(t.enabled=e,this):y(e)?(N(e.enabled)&&(t.enabled=e.enabled),N(e.requireBase)&&(t.requireBase=e.requireBase),N(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=c.url(),o=c.$$state;try{r.url(e,t,n),c.$$state=r.state()}catch(a){throw c.url(i),c.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,l,f,p=r.baseHref(),h=r.url();if(t.enabled){if(!p&&t.requireBase)throw io("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=kn(h)+(p||"/"),l=i.history?Tn:Mn}else f=xn(h),l=En;c=new l(f,"#"+e),c.$$parseLinkUrl(h,h),c.$$state=r.state();var d=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Qr(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=ir(s.animVal).href),d.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(s,u)&&(e.preventDefault(),c.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),Cn(c.absUrl())!=Cn(h)&&r.url(c.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;c.$$parse(e),c.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,c.absUrl()===e&&(r?(c.$$parse(i),c.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=Cn(r.url()),t=Cn(c.absUrl()),o=r.state(),a=c.$$replace,l=e!==t||c.$$html5&&i.history&&o!==c.$$state;(g||l)&&(g=!1,n.$evalAsync(function(){var t=c.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(r?(c.$$parse(e),c.$$state=o):(l&&s(t,a,o===c.$$state?null:c.$$state),u(e,o)))})),c.$$replace=!1}),c}]}function Dn(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function r(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 i(e){var t=n.console||{},i=t[e]||t.log||d,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function _n(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ao("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function jn(e,t){if(e){if(e.constructor===e)throw ao("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw ao("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ao("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw ao("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Pn(e,t){if(e){if(e.constructor===e)throw ao("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===so||e===uo||e===co)throw ao("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function qn(e){return e.constant}function Rn(e,t,n,r,i){jn(e,i),jn(t,i);for(var o,a=n.split("."),s=0;a.length>1;s++){o=_n(a.shift(),i);var u=0===s&&t&&t[o]||e[o];u||(u={},e[o]=u),e=jn(u,i)}return o=_n(a.shift(),i),jn(e[o],i),e[o]=r,r}function In(e){return"constructor"==e}function Hn(e,t,r,i,o,a,s){_n(e,a),_n(t,a),_n(r,a),_n(i,a),_n(o,a);var u=function(e){return jn(e,a)},c=s||In(e)?u:g,l=s||In(t)?u:g,f=s||In(r)?u:g,p=s||In(i)?u:g,h=s||In(o)?u:g;return function(a,s){var u=s&&s.hasOwnProperty(e)?s:a;return null==u?u:(u=c(u[e]),t?null==u?n:(u=l(u[t]),r?null==u?n:(u=f(u[r]),i?null==u?n:(u=p(u[i]),o?null==u?n:u=h(u[o]):u):u):u):u)}}function Ln(e,t){return function(n,r){return e(n,r,jn,t)}}function Fn(e,t,r){var i=t.expensiveChecks,a=i?vo:mo,s=a[e];if(s)return s;var u=e.split("."),c=u.length;if(t.csp)s=6>c?Hn(u[0],u[1],u[2],u[3],u[4],r,i):function(e,t){var o,a=0;do o=Hn(u[a++],u[a++],u[a++],u[a++],u[a++],r,i)(e,t),t=n,e=o;while(c>a);return o};else{var l="";i&&(l+="s = eso(s, fe);\nl = eso(l, fe);\n");var f=i;o(u,function(e,t){_n(e,r);var n=(t?"s":'((l&&l.hasOwnProperty("'+e+'"))?l:s)')+"."+e;(i||In(e))&&(n="eso("+n+", fe)",f=!0),l+="if(s == null) return undefined;\ns="+n+";\n"}),l+="return s;";var p=new Function("s","l","eso","fe",l);p.toString=m(l),f&&(p=Ln(p,r)),s=p}return s.sharedGetter=!0,s.assign=function(t,n,r){return Rn(t,r,e,n,e)},a[e]=s,s}function Un(e){return C(e.valueOf)?e.valueOf():$o.call(e)}function Vn(){var e=ct(),t=ct();this.$get=["$filter","$sniffer",function(n,r){function i(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 a(e,t){for(var n=0,r=e.length;r>n;n++){var i=e[n];i.constant||(i.inputs?a(i.inputs,t):-1===t.indexOf(i)&&t.push(i))}return t}function s(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=Un(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function u(e,t,n,r){var i,o=r.$$inputs||(r.$$inputs=a(r.inputs,[]));if(1===o.length){var u=s;return o=o[0],e.$watch(function(e){var t=o(e);return s(t,u)||(i=r(e),u=t&&Un(t)),i},t,n)}for(var c=[],l=0,f=o.length;f>l;l++)c[l]=s;return e.$watch(function(e){for(var t=!1,n=0,a=o.length;a>n;n++){var u=o[n](e);(t||(t=!s(u,c[n])))&&(c[n]=u&&Un(u))}return t&&(i=r(e)),i},t,n)}function c(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function l(e,t,n,r){function i(e){var t=!0;return o(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function f(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(){C(t)&&t.apply(this,arguments),i()},n)}function p(e,t){if(!t)return e;var n=e.$$watchDelegate,r=n!==l&&n!==c,i=r?function(n,r){var i=e(n,r);return t(i,n,r)}:function(n,r){var i=e(n,r),o=t(i,n,r);return $(i)?o:i};return e.$$watchDelegate&&e.$$watchDelegate!==u?i.$$watchDelegate=e.$$watchDelegate:t.$stateful||(i.$$watchDelegate=u,i.inputs=[e]),i}var h={csp:r.csp,expensiveChecks:!1},g={csp:r.csp,expensiveChecks:!0};return function(r,o,a){var s,m,v;switch(typeof r){case"string":v=r=r.trim();var $=a?t:e;if(s=$[v],!s){":"===r.charAt(0)&&":"===r.charAt(1)&&(m=!0,r=r.substring(2));var y=a?g:h,b=new ho(y),w=new go(b,n,y);s=w.parse(r),s.constant?s.$$watchDelegate=f:m?(s=i(s),s.$$watchDelegate=s.literal?l:c):s.inputs&&(s.$$watchDelegate=u),$[v]=s}return p(s,o);case"function":return p(r,o);default:return p(d,o)}}}]}function Bn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Wn(function(t){e.$evalAsync(t)},t)}]}function zn(){this.$get=["$browser","$exceptionHandler",function(e,t){return Wn(function(t){e.defer(t)},t)}]}function Wn(e,t){function i(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function a(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function u(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{C(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function c(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){u(t)}))}function l(){this.promise=new a,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}function f(e){var t=new l,n=0,r=li(e)?[]:{};return o(e,function(e,i){n++,v(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var p=r("$q",TypeError),h=function(){return new l};a.prototype={then:function(e,t,n){var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&c(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}},l.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,r;r=i(this,this.$$resolve,this.$$reject);try{(y(e)||C(e))&&(n=e&&e.then),C(n)?(this.promise.$$state.status=-1,n.call(e,r[0],r[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,c(this.promise.$$state))}catch(o){r[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,c(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(n):n)}catch(s){t(s)}}})}};var d=function(e){var t=new l;return t.reject(e),t.promise},g=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return g(i,!1)}return O(r)?r.then(function(){return g(e,t)},function(e){return g(e,!1)}):g(e,t)},v=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},$=function b(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof b))return new b(e);var r=new l;return e(t,n),r.promise};return $.defer=h,$.reject=d,$.when=v,$.all=f,$}function Xn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Yn(){var e=10,t=r("$rootScope"),n=null,a=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,s,u,l){function f(){this.$id=c(),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 h(){w.$$phase=null}function g(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function m(){}function $(){for(;k.length;)try{k.shift()()}catch(e){s(e)}a=null}function b(){null===a&&(a=l.defer(function(){w.$apply($)}))}f.prototype={constructor:f,$new:function(e,t){function n(){r.$$destroyed=!0}var r;return t=t||this,e?(r=new f,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$ChildScope=null},this.$$ChildScope.prototype=this),r=new this.$$ChildScope),r.$parent=t,r.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=r,t.$$childTail=r):t.$$childHead=t.$$childTail=r,(e||t!=this)&&r.$on("$destroy",n),r},$watch:function(e,t,r){var i=u(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,r,i);var o=this,a=o.$$watchers,s={fn:t,last:m,get:i,exp:e,eq:!!r};return n=null,C(t)||(s.fn=d),a||(a=o.$$watchers=[]),a.unshift(s),function(){P(a,s),n=null}},$watchGroup:function(e,t){function n(){u=!1,c?(c=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,c=!0;if(!e.length){var l=!0;return s.$evalAsync(function(){l&&t(i,i,s)}),function(){l=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,u;if(!v(o)){if(y(o))if(i(o)){a!==h&&(a=h,m=a.length=0,f++),t=o.length,m!==t&&(f++,a.length=m=t);for(var c=0;t>c;c++)u=a[c],s=o[c],r=u!==u&&s!==s,r||u===s||(f++,a[c]=s)}else{a!==d&&(a=d={},m=0,f++),t=0;for(n in o)o.hasOwnProperty(n)&&(t++,s=o[n],u=a[n],n in a?(r=u!==u&&s!==s,r||u===s||(f++,a[n]=s)):(m++,a[n]=s,f++));if(m>t){f++;for(n in a)o.hasOwnProperty(n)||(m--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(g?(g=!1,t(o,o,c)):t(o,s,c),l)if(y(o))if(i(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var n in o)Yr.call(o,n)&&(s[n]=o[n])}else s=o}n.$stateful=!0;var o,a,s,c=this,l=t.length>1,f=0,p=u(e,n),h=[],d={},g=!0,m=0;return this.$watch(p,r)},$digest:function(){var r,i,o,u,c,f,d,g,v,y,b=e,k=this,T=[];p("$digest"),l.$$checkUrlChange(),this===w&&null!==a&&(l.defer.cancel(a),$()),n=null;do{for(f=!1,g=k;x.length;){try{y=x.shift(),y.scope.$eval(y.expression,y.locals)}catch(E){s(E)}n=null}e:do{if(u=g.$$watchers)for(c=u.length;c--;)try{if(r=u[c])if((i=r.get(g))===(o=r.last)||(r.eq?I(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){f=!1;break e}}else f=!0,n=r,r.last=r.eq?q(i,null):i,r.fn(i,o===m?i:o,g),5>b&&(v=4-b,T[v]||(T[v]=[]),T[v].push({msg:C(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,newVal:i,oldVal:o}))}catch(E){s(E)}if(!(d=g.$$childHead||g!==k&&g.$$nextSibling))for(;g!==k&&!(d=g.$$nextSibling);)g=g.$parent}while(g=d);if((f||x.length)&&!b--)throw h(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,T)}while(f||x.length);for(h();S.length;)try{S.shift()()}catch(E){s(E)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;if(this.$broadcast("$destroy"),this.$$destroyed=!0,this!==w){for(var t in this.$$listenerCount)g(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=d,this.$on=this.$watch=this.$watchGroup=function(){return d},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}}},$eval:function(e,t){return u(e)(this,t)},$evalAsync:function(e,t){w.$$phase||x.length||l.defer(function(){x.length&&w.$digest()}),x.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){S.push(e)},$apply:function(e){try{return p("$apply"),this.$eval(e)
}catch(t){s(t)}finally{h();try{w.$digest()}catch(t){throw s(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&k.push(t),b()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,g(i,1,e))}},$emit:function(e){var t,n,r,i=[],o=this,a=!1,u={name:e,targetScope:o,stopPropagation:function(){a=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=H([u],arguments,1);do{for(t=o.$$listeners[e]||i,u.currentScope=o,n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){s(l)}else t.splice(n,1),n--,r--;if(a)return u.currentScope=null,u;o=o.$parent}while(o);return u.currentScope=null,u},$broadcast:function(e){var t=this,n=t,r=t,i={name:e,targetScope:t,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!t.$$listenerCount[e])return i;for(var o,a,u,c=H([i],arguments,1);n=r;){for(i.currentScope=n,o=n.$$listeners[e]||[],a=0,u=o.length;u>a;a++)if(o[a])try{o[a].apply(null,c)}catch(l){s(l)}else o.splice(a,1),a--,u--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==t&&n.$$nextSibling))for(;n!==t&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var w=new f,x=w.$$asyncQueue=[],S=w.$$postDigestQueue=[],k=w.$$applyAsyncQueue=[];return w}]}function Gn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=ir(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Zn(e){if("self"===e)return e;if(b(e)){if(e.indexOf("***")>-1)throw yo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=pi(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw yo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Jn(e){var t=[];return $(e)&&o(e,function(e){t.push(Zn(e))}),t}function Kn(){this.SCE_CONTEXTS=bo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Jn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Jn(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?or(t):!!e.exec(t.href)}function o(n){var r,o,a=ir(n.toString()),s=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!1;break}return s}function a(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 r=p.hasOwnProperty(e)?p[e]:null;if(!r)throw yo("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 yo("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function u(e){return e instanceof f?e.$$unwrapTrustedValue():e}function c(e,t){if(null===t||t===n||""===t)return t;var r=p.hasOwnProperty(e)?p[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===bo.RESOURCE_URL){if(o(t))return t;throw yo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===bo.HTML)return l(t);throw yo("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw yo("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=a(),p={};return p[bo.HTML]=a(f),p[bo.CSS]=a(f),p[bo.URL]=a(f),p[bo.JS]=a(f),p[bo.RESOURCE_URL]=a(p[bo.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Qn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Kr)throw yo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=R(bo);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(bo,function(e,t){var n=Xr(t);r[gt("parse_as_"+n)]=function(t){return i(e,t)},r[gt("get_trusted_"+n)]=function(t){return a(e,t)},r[gt("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function er(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=p((/android (\d+)/.exec(Xr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,c=s.body&&s.body.style,l=!1,f=!1;if(c){for(var h in c)if(r=u.exec(h)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in c&&"webkit"),l=!!("transition"in c||n+"Transition"in c),f=!!("animation"in c||n+"Animation"in c),!o||l&&f||(l=b(s.body.style.webkitTransition),f=b(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=Kr)return!1;if(v(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:hi(),vendorPrefix:n,transitions:l,animations:f,android:o}}]}function tr(){this.$get=["$templateCache","$http","$q",function(e,t,n){function r(i,o){function a(e){if(!o)throw Xi("tpload","Failed to load template: {0}",i);return n.reject(e)}r.totalPendingRequests++;var s=t.defaults&&t.defaults.transformResponse;li(s)?s=s.filter(function(e){return e!==on}):s===on&&(s=null);var u={cache:e,transformResponse:s};return t.get(i,u).finally(function(){r.totalPendingRequests--}).then(function(e){return e.data},a)}return r.totalPendingRequests=0,r}]}function nr(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=si.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+pi(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},r.getLocation=function(){return n.url()},r.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},r.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},r}]}function rr(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){var c,l=$(u)&&!u,f=(l?r:n).defer(),p=f.promise;return c=t.defer(function(){try{f.resolve(o())}catch(t){f.reject(t),i(t)}finally{delete a[p.$$timeoutId]}l||e.$apply()},s),p.$$timeoutId=c,a[c]=f,p}var a={};return o.cancel=function(e){return e&&e.$$timeoutId in a?(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function ir(e){var t=e;return Kr&&(wo.setAttribute("href",t),t=wo.href),wo.setAttribute("href",t),{href:wo.href,protocol:wo.protocol?wo.protocol.replace(/:$/,""):"",host:wo.host,search:wo.search?wo.search.replace(/^\?/,""):"",hash:wo.hash?wo.hash.replace(/^#/,""):"",hostname:wo.hostname,port:wo.port,pathname:"/"===wo.pathname.charAt(0)?wo.pathname:"/"+wo.pathname}}function or(e){var t=b(e)?ir(e):e;return t.protocol===xo.protocol&&t.host===xo.host}function ar(){this.$get=m(e)}function sr(e){function t(r,i){if(y(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",fr),t("date",xr),t("filter",ur),t("json",Cr),t("limitTo",Sr),t("lowercase",Eo),t("number",pr),t("orderBy",kr),t("uppercase",Mo)}function ur(){return function(e,t,n){if(!li(e))return e;var r,i;switch(typeof t){case"function":r=t;break;case"boolean":case"number":case"string":i=!0;case"object":r=cr(t,n,i);break;default:return e}return e.filter(r)}}function cr(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=I:C(t)||(t=function(e,t){return y(e)||y(t)?!1:(e=Xr(""+e),t=Xr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?lr(r,e.$,t,!1):lr(r,e,t,n)}}function lr(e,t,n,r,i){var o=typeof e,a=typeof t;if("string"===a&&"!"===t.charAt(0))return!lr(e,t.substring(1),n,r);if(li(e))return e.some(function(e){return lr(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&lr(e[s],t,n,!0))return!0;return i?!1:lr(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)){var c="$"===s,l=c?e:e[s];if(!lr(l,u,n,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function fr(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:hr(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function pr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:hr(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function hr(e,t,n,r,i){if(!isFinite(e)||y(e))return"";var o=0>e;e=Math.abs(e);var a=e+"",s="",u=[],c=!1;if(-1!==a.indexOf("e")){var l=a.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?e=0:(s=a,c=!0)}if(c)i>0&&1>e&&(s=e.toFixed(i),e=parseFloat(s));else{var f=(a.split(Co)[1]||"").length;v(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var p=(""+e).split(Co),h=p[0];p=p[1]||"";var d,g=0,m=t.lgSize,$=t.gSize;if(h.length>=m+$)for(g=h.length-m,d=0;g>d;d++)0===(g-d)%$&&0!==d&&(s+=n),s+=h.charAt(d);for(d=g;d<h.length;d++)0===(h.length-d)%m&&0!==d&&(s+=n),s+=h.charAt(d);for(;p.length<i;)p+="0";i&&"0"!==i&&(s+=r+p.substr(0,i))}return 0===e&&(o=!1),u.push(o?t.negPre:t.posPre,s,o?t.negSuf:t.posSuf),u.join("")}function dr(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function gr(e,t,n,r){return n=n||0,function(i){var o=i["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),dr(o,t,r)}}function mr(e,t){return function(n,r){var i=n["get"+e](),o=Gr(t?"SHORT"+e:e);return r[o][i]}}function vr(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=dr(Math[t>0?"floor":"ceil"](t/60),2)+dr(Math.abs(t%60),2)}function $r(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function yr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function br(e){return function(t){var n=$r(t.getFullYear()),r=yr(t),i=+r-+n,o=1+Math.round(i/6048e5);return dr(o,e)}}function wr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function xr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,c=p(t[5]||0)-o,l=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,c,l,f),r}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,r,i){var a,s,u="",c=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,b(n)&&(n=To.test(n)?p(n):t(n)),w(n)&&(n=new Date(n)),!x(n))return n;for(;r;)s=ko.exec(r),s?(c=H(c,s,1),r=c.pop()):(c.push(r),r=null);return i&&"UTC"===i&&(n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+n.getTimezoneOffset())),o(c,function(t){a=So[t],u+=a?a(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Cr(){return function(e,t){return v(t)&&(t=2),V(e,t)}}function Sr(){return function(e,t){return w(e)&&(e=e.toString()),li(e)||b(e)?(t=1/0===Math.abs(Number(t))?Number(t):p(t),t?t>0?e.slice(0,t):e.slice(t):b(e)?"":[]):e}}function kr(e){return function(t,n,r){function o(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0}function a(e,t){return t?function(t,n){return e(n,t)}:e}function s(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function u(e){return null===e?"null":"function"==typeof e.valueOf&&(e=e.valueOf(),s(e))?e:"function"==typeof e.toString&&(e=e.toString(),s(e))?e:""}function c(e,t){var n=typeof e,r=typeof t;return n===r&&"object"===n&&(e=u(e),t=u(t)),n===r?("string"===n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}return i(t)?(n=li(n)?n:[n],0===n.length&&(n=["+"]),n=n.map(function(t){var n=!1,r=t||g;if(b(t)){if(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),""===t)return a(c,n);if(r=e(t),r.constant){var i=r();return a(function(e,t){return c(e[i],t[i])},n)}}return a(function(e,t){return c(r(e),r(t))},n)}),ni.call(t).sort(a(o,r))):t}}function Tr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function Er(e,t){e.$name=t}function Mr(e,t,r,i,a){var s=this,u=[],c=s.$$parentForm=e.parent().controller("form")||Oo;s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,c.$addControl(s),s.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},s.$addControl=function(e){at(e.$name,"input"),u.push(e),e.$name&&(s[e.$name]=e)},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),P(u,e)},Vr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(P(r,n),0===r.length&&delete e[t])},parentForm:c,$animate:i}),s.$setDirty=function(){i.removeClass(e,ha),i.addClass(e,da),s.$dirty=!0,s.$pristine=!1,c.$setDirty()},s.$setPristine=function(){i.setClass(e,ha,da+" "+Do),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(u,function(e){e.$setPristine()})},s.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,Do),s.$submitted=!0,c.$setSubmitted()}}function Ar(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Nr(e,t,n,r,i,o){Or(e,t,n,r,i,o),Ar(r)}function Or(e,t,n,r,i,o){var a=Xr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,u()})}var u=function(e){if(c&&(o.defer.cancel(c),c=null),!s){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=fi(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var c,l=function(e,t,n){c||(c=o.defer(function(){c=null,t&&t.value===n||u(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||l(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",l)}t.on("change",u),r.$render=function(){t.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)}}function Dr(e,t){if(x(e))return e;if(b(e)){Uo.lastIndex=0;var n=Uo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,c=$r(r),l=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,c.getDate()+l,o,a,s,u)}}return 0/0}function _r(e,t){return function(n,r){var i,a;if(x(n))return n;if(b(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),qo.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return 0/0}}function jr(e,t,r,i){return function(o,a,s,u,c,l,f){function p(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function h(e){return $(e)?x(e)?e:r(e):n}Pr(o,a,s,u),Or(o,a,s,u,c,l);var d,g=u&&u.$options&&u.$options.timezone;if(u.$$parserName=e,u.$parsers.push(function(e){if(u.$isEmpty(e))return null;if(t.test(e)){var i=r(e,d);return"UTC"===g&&i.setMinutes(i.getMinutes()-i.getTimezoneOffset()),i}return n}),u.$formatters.push(function(e){if(e&&!x(e))throw $a("datefmt","Expected `{0}` to be a date",e);if(p(e)){if(d=e,d&&"UTC"===g){var t=6e4*d.getTimezoneOffset();d=new Date(d.getTime()+t)}return f("date")(e,i,g)}return d=null,""}),$(s.min)||s.ngMin){var m;u.$validators.min=function(e){return!p(e)||v(m)||r(e)>=m},s.$observe("min",function(e){m=h(e),u.$validate()})}if($(s.max)||s.ngMax){var y;u.$validators.max=function(e){return!p(e)||v(y)||r(e)<=y},s.$observe("max",function(e){y=h(e),u.$validate()})}}}function Pr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=y(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Wr)||{};return r.badInput&&!r.typeMismatch?n:e})}function qr(e,t,r,i,o,a){if(Pr(e,t,r,i),Or(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Ho.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!w(e))throw $a("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),r.min||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||v(s)||e>=s},r.$observe("min",function(e){$(e)&&!w(e)&&(e=parseFloat(e,10)),s=w(e)&&!isNaN(e)?e:n,i.$validate()})}if(r.max||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||v(u)||u>=e},r.$observe("max",function(e){$(e)&&!w(e)&&(e=parseFloat(e,10)),u=w(e)&&!isNaN(e)?e:n,i.$validate()})}}function Rr(e,t,n,r,i,o){Or(e,t,n,r,i,o),Ar(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function Ir(e,t,n,r,i,o){Or(e,t,n,r,i,o),Ar(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Io.test(n)}}function Hr(e,t,n,r){v(n.name)&&t.attr("name",c());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Lr(e,t,n,i,o){var a;if($(i)){if(a=e(i),!a.constant)throw r("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return a(t)}return o}function Fr(e,t,n,r,i,o,a,s){var u=Lr(s,e,"ngTrueValue",n.ngTrueValue,!0),c=Lr(s,e,"ngFalseValue",n.ngFalseValue,!1),l=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",l),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return I(e,u)}),r.$parsers.push(function(e){return e?u:c})}function Ur(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){if(li(e))return e;if(b(e))return e.split(" ");if(y(e)){var t=[];return o(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t}return e}return{restrict:"AC",link:function(a,s,u){function c(e){var t=f(e,1);u.$addClass(t)}function l(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||{},r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(d){if(!I(e,d)){var r=i(d);p(r,n)}}else c(n)}d=R(e)}var d;a.$watch(u[e],h,!0),u.$observe("class",function(){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?c(s):l(s)}})}}}]}function Vr(e){function t(e,t,u){t===n?r("$pending",e,u):i("$pending",e,u),N(t)?t?(f(s.$error,e,u),l(s.$$success,e,u)):(l(s.$error,e,u),f(s.$$success,e,u)):(f(s.$error,e,u),f(s.$$success,e,u)),s.$pending?(o(va,!0),s.$valid=s.$invalid=n,a("",null)):(o(va,!1),s.$valid=Br(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var c;c=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,c),p.$setValidity(e,c,s)}function r(e,t,n){s[e]||(s[e]={}),l(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),Br(s[e])&&(s[e]=n)}function o(e,t){t&&!c[e]?(h.addClass(u,e),c[e]=!0):!t&&c[e]&&(h.removeClass(u,e),c[e]=!1)}function a(e,t){e=e?"-"+nt(e,"-"):"",o(fa+e,t===!0),o(pa+e,t===!1)}var s=e.ctrl,u=e.$element,c={},l=e.set,f=e.unset,p=e.parentForm,h=e.$animate;c[pa]=!(c[fa]=u.hasClass(fa)),s.$setValidity=t}function Br(e){if(e)for(var t in e)return!1;return!0}var zr=/^\/(.+)\/([a-z]*)$/,Wr="validity",Xr=function(e){return b(e)?e.toLowerCase():e},Yr=Object.prototype.hasOwnProperty,Gr=function(e){return b(e)?e.toUpperCase():e},Zr=function(e){return b(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Jr=function(e){return b(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Xr=Zr,Gr=Jr);var Kr,Qr,ei,ti,ni=[].slice,ri=[].splice,ii=[].push,oi=Object.prototype.toString,ai=r("ng"),si=e.angular||(e.angular={}),ui=0;Kr=t.documentMode,d.$inject=[],g.$inject=[];var ci,li=Array.isArray,fi=function(e){return b(e)?e.trim():e},pi=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},hi=function(){if($(hi.isActive_))return hi.isActive_;var e=!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"));if(!e)try{new Function("")}catch(n){e=!0}return hi.isActive_=e},di=["ng-","data-ng-","ng:","x-ng-"],gi=/[A-Z]/g,mi=!1,vi=1,$i=3,yi=8,bi=9,wi=11,xi={full:"1.3.13",major:1,minor:3,dot:13,codeName:"meticulous-riffleshuffle"};bt.expando="ng339";var Ci=bt.cache={},Si=1,ki=function(e,t,n){e.addEventListener(t,n,!1)},Ti=function(e,t,n){e.removeEventListener(t,n,!1)};bt._data=function(e){return this.cache[e[this.expando]]||{}};var Ei=/([\:\-\_]+(.))/g,Mi=/^moz([A-Z])/,Ai={mouseleave:"mouseout",mouseenter:"mouseover"},Ni=r("jqLite"),Oi=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Di=/<|&#?\w+;/,_i=/<([\w:]+)/,ji=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Pi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Pi.optgroup=Pi.option,Pi.tbody=Pi.tfoot=Pi.colgroup=Pi.caption=Pi.thead,Pi.th=Pi.td;var qi=bt.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),bt(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?Qr(this[e]):Qr(this[this.length+e])},length:0,push:ii,sort:[].sort,splice:[].splice},Ri={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ri[Xr(e)]=e});var Ii={};o("input,select,option,textarea,button,form,details".split(","),function(e){Ii[e]=!0});var Hi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Tt,removeData:St},function(e,t){bt[t]=e}),o({data:Tt,inheritedData:Dt,scope:function(e){return Qr.data(e,"$scope")||Dt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Qr.data(e,"$isolateScope")||Qr.data(e,"$isolateScopeNoTemplate")},controller:Ot,injector:function(e){return Dt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Et,css:function(e,t,n){return t=gt(t),$(n)?(e.style[t]=n,void 0):e.style[t]},attr:function(e,t,r){var i=Xr(t);if(Ri[i]){if(!$(r))return e[t]||(e.attributes.getNamedItem(t)||d).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(r))e.setAttribute(t,r);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?n:o}},prop:function(e,t,n){return $(n)?(e[t]=n,void 0):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===vi||n===$i?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(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 v(t)?e.innerHTML:(xt(e,!0),e.innerHTML=t,void 0)},empty:_t},function(e,t){bt.prototype[t]=function(t,r){var i,o,a=this.length;if(e!==_t&&(2==e.length&&e!==Et&&e!==Ot?t:r)===n){if(y(t)){for(i=0;a>i;i++)if(e===Tt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var s=e.$dv,u=s===n?Math.min(a,1):a,c=0;u>c;c++){var l=e(this[c],t,r);s=s?s+l:l}return s}for(i=0;a>i;i++)e(this[i],t,r);return this}}),o({removeData:St,on:function za(e,t,n,r){if($(r))throw Ni("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(vt(e)){var i=kt(e,!0),o=i.events,a=i.handle;a||(a=i.handle=It(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length;u--;){t=s[u];var c=o[t];c||(o[t]=[],"mouseenter"===t||"mouseleave"===t?za(e,Ai[t],function(e){var n=this,r=e.relatedTarget;(!r||r!==n&&!n.contains(r))&&a(e,t)}):"$destroy"!==t&&ki(e,t,a),c=o[t]),c.push(n)}}},off:Ct,one:function(e,t,n){e=Qr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;xt(e),o(new bt(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===vi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===vi||n===wi){t=new bt(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===vi){var n=e.firstChild;o(new bt(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Qr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:jt,detach:function(e){jt(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new bt(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:At,removeClass:Mt,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;v(r)&&(r=!Et(e,t)),(r?At:Mt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==wi?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:wt,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=kt(e),c=u&&u.events,l=c&&c[s];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:d,type:s,target:e},t.type&&(r=f(r,t)),i=R(l),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){bt.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Qr(i))):Nt(i,e(this[o],t,n,r));return $(i)?i:this},bt.prototype.bind=bt.prototype.on,bt.prototype.unbind=bt.prototype.off}),Ft.prototype={put:function(e,t){this[Lt(e,this.nextUid)]=t},get:function(e){return this[Lt(e,this.nextUid)]},remove:function(e){var t=this[e=Lt(e,this.nextUid)];return delete this[e],t}};var Li=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ui=/^\s*(_?)(\S+?)\1\s*$/,Vi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Bi=r("$injector");Bt.$$annotate=Vt;var zi=r("$animate"),Wi=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw zi("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,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 r(t){var r,i=e.defer();return i.promise.$$cancelFn=function(){r&&r()},n.$$postDigest(function(){r=t(function(){i.resolve()})}),i.promise}function i(e,t){var n=[],r=[],i=ct();return o((e.attr("class")||"").split(/\s+/),function(e){i[e]=!0}),o(t,function(e,t){var o=i[t];e===!1&&o?r.push(t):e!==!0||o||n.push(t)}),n.length+r.length>0&&[n.length?n:null,r.length?r:null]}function a(e,t,n){for(var r=0,i=t.length;i>r;++r){var o=t[r];e[o]=n}}function s(){return c||(c=e.defer(),t(function(){c.resolve(),c=null})),c.promise}function u(e,t){if(si.isObject(t)){var n=f(t.from||{},t.to||{});e.css(n)}}var c;return{animate:function(e,t,n){return u(e,{from:t,to:n}),s()},enter:function(e,t,n,r){return u(e,r),n?n.after(e):t.prepend(e),s()},leave:function(e){return e.remove(),s()},move:function(e,t,n,r){return this.enter(e,t,n,r)},addClass:function(e,t,n){return this.setClass(e,t,[],n)},$$addClassImmediately:function(e,t,n){return e=Qr(e),t=b(t)?t:li(t)?t.join(" "):"",o(e,function(e){At(e,t)}),u(e,n),s()},removeClass:function(e,t,n){return this.setClass(e,[],t,n)},$$removeClassImmediately:function(e,t,n){return e=Qr(e),t=b(t)?t:li(t)?t.join(" "):"",o(e,function(e){Mt(e,t)}),u(e,n),s()},setClass:function(e,t,n,o){var s=this,u="$$animateClasses",c=!1;e=Qr(e);var l=e.data(u);l?o&&l.options&&(l.options=si.extend(l.options||{},o)):(l={classes:{},options:o},c=!0);var f=l.classes;return t=li(t)?t:t.split(" "),n=li(n)?n:n.split(" "),a(f,t,!0),a(f,n,!1),c&&(l.promise=r(function(t){var n=e.data(u);if(e.removeData(u),n){var r=i(e,n.classes);r&&s.$$setClassImmediately(e,r[0],r[1],n.options)}t()}),e.data(u,l)),l.promise},$$setClassImmediately:function(e,t,n,r){return t&&this.$$addClassImmediately(e,t),n&&this.$$removeClassImmediately(e,n),u(e,r),s()},enabled:d,cancel:d}}]}],Xi=r("$compile");Jt.$inject=["$provide","$$sanitizeUriProvider"];var Yi=/^((?:x|data)[\:\-_])/i,Gi=r("$controller"),Zi="application/json",Ji={"Content-Type":Zi+";charset=utf-8"},Ki=/^\[|^\{(?!\{)/,Qi={"[":/]$/,"{":/}$/},eo=/^\)\]\}',?\n/,to=r("$interpolate"),no=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,ro={http:80,https:443,ftp:21},io=r("$location"),oo={$$html5:!1,$$replace:!1,absUrl:An("$$absUrl"),url:function(e){if(v(e))return this.$$url;var t=no.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:An("$$protocol"),host:An("$$host"),port:An("$$port"),path:Nn("$$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=X(e);else{if(!y(e))throw io("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=q(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Nn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([Mn,En,Tn],function(e){e.prototype=Object.create(oo),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Tn||!this.$$html5)throw io("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=v(t)?null:t,this}});var ao=r("$parse"),so=Function.prototype.call,uo=Function.prototype.apply,co=Function.prototype.bind,lo=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,lo[t]=e}),lo["this"]=function(e){return e},lo["this"].sharedGetter=!0;var fo=f(ct(),{"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),$(r)?$(i)?r+i:r:$(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),($(n)?n:0)-($(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)<r(e,t)},">":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)
},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"!":function(e,t,n){return!n(e,t)},"=":!0,"|":!0}),po={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},ho=function(e){this.options=e};ho.prototype={constructor:ho,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=fo[t],o=fo[n],a=fo[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof 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 r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ao("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Xr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=po[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,this.tokens.push({index:t,text:r,constant:!0,value:n}),void 0;n+=o}this.index++}this.throwError("Unterminated quote",t)}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n};go.ZERO=f(function(){return 0},{sharedGetter:!0,constant:!0}),go.prototype={constructor:go,parse:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.statements();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t.literal=!!t.literal,t.constant=!!t.constant,t},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.peek().identifier&&this.peek().text in lo?e=lo[this.consume().text]:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t,n;t=this.expect("(","[",".");)"("===t.text?(e=this.functionCall(e,n),n=null):"["===t.text?(n=e,e=this.objectIndex(e)):"."===t.text?(n=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw ao("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw ao("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},consume:function(e){if(0===this.tokens.length)throw ao("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},unaryFn:function(e,t){var n=fo[e];return f(function(e,r){return n(e,r,t)},{constant:t.constant,inputs:[t]})},binaryFn:function(e,t,n,r){var i=fo[t];return f(function(t,r){return i(t,r,e,n)},{constant:e.constant&&n.constant,inputs:!r&&[e,n]})},identifier:function(){for(var e=this.consume().text;this.peek(".")&&this.peekAhead(1).identifier&&!this.peekAhead(2,"(");)e+=this.consume().text+this.consume().text;return Fn(e,this.options,this.text)},constant:function(){var e=this.consume().value;return f(function(){return e},{constant:!0,literal:!0})},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 r,i=0,o=e.length;o>i;i++)r=e[i](t,n);return r}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},filter:function(e){var t,r,i=this.$filter(this.consume().text);if(this.peek(":"))for(t=[],r=[];this.expect(":");)t.push(this.expression());var o=[e].concat(t||[]);return f(function(o,a){var s=e(o,a);if(r){r[0]=s;for(var u=t.length;u--;)r[u+1]=t[u](o,a);return i.apply(n,r)}return i(s)},{constant:!i.$stateful&&o.every(qn),inputs:!i.$stateful&&o})},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(),f(function(t,r){return n.assign(t,e(t,r),r)},{inputs:[n,e]})):n},ternary:function(){var e,t,n=this.logicalOR();if((t=this.expect("?"))&&(e=this.assignment(),this.consume(":"))){var r=this.assignment();return f(function(t,i){return n(t,i)?e(t,i):r(t,i)},{constant:n.constant&&e.constant&&r.constant})}return n},logicalOR:function(){for(var e,t=this.logicalAND();e=this.expect("||");)t=this.binaryFn(t,e.text,this.logicalAND(),!0);return t},logicalAND:function(){for(var e,t=this.equality();e=this.expect("&&");)t=this.binaryFn(t,e.text,this.equality(),!0);return t},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t=this.binaryFn(t,e.text,this.relational());return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t=this.binaryFn(t,e.text,this.additive());return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.text,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.text,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(go.ZERO,e.text,this.unary()):(e=this.expect("!"))?this.unaryFn(e.text,this.unary()):this.primary()},fieldAccess:function(e){var t=this.identifier();return f(function(r,i,o){var a=o||e(r,i);return null==a?n:t(a)},{assign:function(n,r,i){var o=e(n,i);return o||e.assign(n,o={},i),t.assign(o,r)}})},objectIndex:function(e){var t=this.text,r=this.expression();return this.consume("]"),f(function(i,o){var a,s=e(i,o),u=r(i,o);return _n(u,t),s?a=jn(s[u],t):n},{assign:function(n,i,o){var a=_n(r(n,o),t),s=jn(e(n,o),t);return s||e.assign(n,s={},o),s[a]=i}})},functionCall:function(e,t){var r=[];if(")"!==this.peekToken().text)do r.push(this.expression());while(this.expect(","));this.consume(")");var i=this.text,o=r.length?[]:null;return function(a,s){var u=t?t(a,s):$(t)?n:a,c=e(a,s,u)||d;if(o)for(var l=r.length;l--;)o[l]=jn(r[l](a,s),i);jn(u,i),Pn(c,i);var f=c.apply?c.apply(u,o):c(o[0],o[1],o[2],o[3],o[4]);return o&&(o.length=0),jn(f,i)}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0,o=e.length;o>i;i++)r.push(e[i](t,n));return r},{literal:!0,constant:e.every(qn),inputs:e})},object:function(){var e=[],t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.consume();n.constant?e.push(n.value):n.identifier?e.push(n.text):this.throwError("invalid key",n),this.consume(":"),t.push(this.expression())}while(this.expect(","));return this.consume("}"),f(function(n,r){for(var i={},o=0,a=t.length;a>o;o++)i[e[o]]=t[o](n,r);return i},{literal:!0,constant:t.every(qn),inputs:t})}};var mo=ct(),vo=ct(),$o=Object.prototype.valueOf,yo=r("$sce"),bo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Xi=r("$compile"),wo=t.createElement("a"),xo=ir(e.location.href);sr.$inject=["$provide"],fr.$inject=["$locale"],pr.$inject=["$locale"];var Co=".",So={yyyy:gr("FullYear",4),yy:gr("FullYear",2,0,!0),y:gr("FullYear",1),MMMM:mr("Month"),MMM:mr("Month",!0),MM:gr("Month",2,1),M:gr("Month",1,1),dd:gr("Date",2),d:gr("Date",1),HH:gr("Hours",2),H:gr("Hours",1),hh:gr("Hours",2,-12),h:gr("Hours",1,-12),mm:gr("Minutes",2),m:gr("Minutes",1),ss:gr("Seconds",2),s:gr("Seconds",1),sss:gr("Milliseconds",3),EEEE:mr("Day"),EEE:mr("Day",!0),a:wr,Z:vr,ww:br(2),w:br(1)},ko=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,To=/^\-?\d+$/;xr.$inject=["$locale"];var Eo=m(Xr),Mo=m(Gr);kr.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref||t.name?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===oi.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),No={};o(Ri,function(e,t){if("multiple"!=e){var n=Kt("ng-"+t);No[n]=function(){return{restrict:"A",priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(Hi,function(e,t){No[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(zr);if(i)return r.$set("ngPattern",new RegExp(i[1],i[2])),void 0}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=Kt("ng-"+e);No[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===oi.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),Kr&&o&&r.prop(o,i[a]),void 0):("href"===e&&i.$set(a,null),void 0)})}}}});var Oo={$addControl:d,$$renameControl:Er,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d,$setSubmitted:d},Do="ng-submitted";Mr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var _o=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:Mr,compile:function(e){return e.addClass(ha).addClass(fa),{pre:function(e,r,i,o){if(!("action"in i)){var a=function(t){e.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),t.preventDefault()};ki(r[0],"submit",a),r.on("$destroy",function(){t(function(){Ti(r[0],"submit",a)},0,!1)})}var s=o.$$parentForm,u=o.$name;u&&(Rn(e,null,u,o,u),i.$observe(i.name?"name":"ngForm",function(t){u!==t&&(Rn(e,null,u,n,u),u=t,Rn(e,null,u,o,u),s.$$renameControl(o,u))})),r.on("$destroy",function(){s.$removeControl(o),u&&Rn(e,null,u,n,u),f(o,Oo)})}}}};return r}]},jo=_o(),Po=_o(!0),qo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Ro=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Io=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Ho=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Lo=/^(\d{4})-(\d{2})-(\d{2})$/,Fo=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Uo=/^(\d{4})-W(\d\d)$/,Vo=/^(\d{4})-(\d\d)$/,Bo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,zo={text:Nr,date:jr("date",Lo,_r(Lo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":jr("datetimelocal",Fo,_r(Fo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:jr("time",Bo,_r(Bo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:jr("week",Uo,Dr,"yyyy-Www"),month:jr("month",Vo,_r(Vo,["yyyy","MM"]),"yyyy-MM"),number:qr,url:Rr,email:Ir,radio:Hr,checkbox:Fr,hidden:d,button:d,submit:d,reset:d,file:d},Wo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(zo[Xr(a.type)]||zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Xo=/^(true|false|\d+)$/,Yo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Xo.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)})}}}},Go=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,r,i){e.$$addBindingInfo(r,i.ngBind),r=r[0],t.$watch(i.ngBind,function(e){r.textContent=e===n?"":e})}}}}],Zo=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(r,i,o){var a=e(i.attr(o.$attr.ngBindTemplate));t.$$addBindingInfo(i,a.expressions),i=i[0],o.$observe("ngBindTemplate",function(e){i.textContent=e===n?"":e})}}}}],Jo=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],Ko=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qo=Ur("",!0),ea=Ur("Odd",0),ta=Ur("Even",1),na=Tr({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),ra=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ia={},oa={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);ia[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};oa[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var aa=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=ut(s.clone),e.leave(c).then(function(){c=null}),s=null))})}}}],sa=["$templateRequest","$anchorScroll","$animate","$sce",function(e,t,n,r){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:si.noop,compile:function(i,o){var a=o.ngInclude||o.src,s=o.onload||"",u=o.autoscroll;return function(i,o,c,l,f){var p,h,d,g=0,m=function(){h&&(h.remove(),h=null),p&&(p.$destroy(),p=null),d&&(n.leave(d).then(function(){h=null}),h=d,d=null)};i.$watch(r.parseAsResourceUrl(a),function(r){var a=function(){!$(u)||u&&!i.$eval(u)||t()},c=++g;r?(e(r,!0).then(function(e){if(c===g){var t=i.$new();l.template=e;var u=f(t,function(e){m(),n.enter(e,null,o).then(a)});p=t,d=u,p.$emit("$includeContentLoaded",r),i.$eval(s)}},function(){c===g&&(m(),i.$emit("$includeContentError",r))}),i.$emit("$includeContentRequested",r)):(m(),l.template=null)})}}}}],ua=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),e($t(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r}),void 0):(r.html(o.template),e(r.contents())(n),void 0)}}}],ca=Tr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),la=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,u=s?fi(a):a,c=function(e){if(!v(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?fi(e):e)}),t}};i.$parsers.push(c),i.$formatters.push(function(e){return li(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},fa="ng-valid",pa="ng-invalid",ha="ng-pristine",da="ng-dirty",ga="ng-untouched",ma="ng-touched",va="ng-pending",$a=new r("ngModel"),ya=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,u,c,l,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,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=f(r.name||"",!1)(e);var p=a(r.ngModel),h=p.assign,g=p,m=h,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");g=function(e){var n=p(e);return C(n)&&(n=t(e)),n},m=function(e){C(p(e))?n(e,{$$$p:b.$modelValue}):h(e,b.$modelValue)}}else if(!p.assign)throw $a("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,z(i))},this.$render=d,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e};var x=i.inheritedData("$formController")||Oo,S=0;Vr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:x,$animate:s}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,s.removeClass(i,da),s.addClass(i,ha)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,s.removeClass(i,ha),s.addClass(i,da),x.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,s.setClass(i,ga,ma)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,s.setClass(i,ma,ga)},this.$rollbackViewValue=function(){u.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!w(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,r=b.$$parserName||"parse",i=b.$error[r]?!1:n,o=b.$valid,a=b.$modelValue,s=b.$options&&b.$options.allowInvalid;b.$$runValidators(i,t,e,function(e){s||o===e||(b.$modelValue=e?t:n,b.$modelValue!==a&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r,i){function a(e){var t=b.$$parserName||"parse";if(e===n)c(t,null);else if(c(t,e),!e)return o(b.$validators,function(e,t){c(t,null)}),o(b.$asyncValidators,function(e,t){c(t,null)}),!1;return!0}function s(){var e=!0;return o(b.$validators,function(n,i){var o=n(t,r);e=e&&o,c(i,o)}),e?!0:(o(b.$asyncValidators,function(e,t){c(t,null)}),!1)}function u(){var e=[],i=!0;o(b.$asyncValidators,function(o,a){var s=o(t,r);if(!O(s))throw $a("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);c(a,n),e.push(s.then(function(){c(a,!0)},function(){i=!1,c(a,!1)}))}),e.length?l.all(e).then(function(){f(i)},d):f(!0)}function c(e,t){p===S&&b.$setValidity(e,t)}function f(e){p===S&&i(e)}S++;var p=S;return a(e)?s()?(u(),void 0):(f(!1),void 0):(f(!1),void 0)},this.$commitViewValue=function(){var e=b.$viewValue;u.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==s&&b.$$writeModelToScope()}var r=b.$$lastCommittedViewValue,i=r,o=v(i)?n:!0;if(o)for(var a=0;a<b.$parsers.length;a++)if(i=b.$parsers[a](i),v(i)){o=!1;break}w(b.$modelValue)&&isNaN(b.$modelValue)&&(b.$modelValue=g(e));var s=b.$modelValue,u=b.$options&&b.$options.allowInvalid;b.$$rawModelValue=i,u&&(b.$modelValue=i,t()),b.$$runValidators(o,i,b.$$lastCommittedViewValue,function(e){u||(b.$modelValue=e?i:n,t())})},this.$$writeModelToScope=function(){m(e,b.$modelValue),o(b.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){b.$viewValue=e,(!b.$options||b.$options.updateOnDefault)&&b.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=b.$options;i&&$(i.debounce)&&(n=i.debounce,w(n)?r=n:w(n[t])?r=n[t]:w(n["default"])&&(r=n["default"])),u.cancel(y),r?y=u(function(){b.$commitViewValue()},r):c.$$phase?b.$commitViewValue():e.$apply(function(){b.$commitViewValue()})},e.$watch(function(){var t=g(e);if(t!==b.$modelValue){b.$modelValue=b.$$rawModelValue=t;for(var r=b.$formatters,i=r.length,o=t;i--;)o=r[i](o);b.$viewValue!==o&&(b.$viewValue=b.$$lastCommittedViewValue=o,b.$render(),b.$$runValidators(n,t,o,d))}return t})}],ba=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:ya,priority:1,compile:function(t){return t.addClass(ha).addClass(ga).addClass(fa),{pre:function(e,t,n,r){var i=r[0],o=r[1]||Oo;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&o.$$renameControl(i,e)}),e.$on("$destroy",function(){o.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],wa=/(\s+|^)default(\s+|$)/,xa=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var r=this;this.$options=e.$eval(t.ngModelOptions),this.$options.updateOn!==n?(this.$options.updateOnDefault=!1,this.$options.updateOn=fi(this.$options.updateOn.replace(wa,function(){return r.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},Ca=Tr({terminal:!0,priority:1e3}),Sa=["$locale","$interpolate",function(e,t){var n=/{}/g,r=/^when(Minus)?(.+)$/;return{restrict:"EA",link:function(i,a,s){function u(e){a.text(e||"")}var c,l=s.count,f=s.$attr.when&&a.attr(s.$attr.when),p=s.offset||0,h=i.$eval(f)||{},d={},g=t.startSymbol(),m=t.endSymbol(),v=g+l+"-"+p+m,$=si.noop;o(s,function(e,t){var n=r.exec(t);if(n){var i=(n[1]?"-":"")+Xr(n[2]);h[i]=a.attr(s.$attr[t])}}),o(h,function(e,r){d[r]=t(e.replace(n,v))}),i.$watch(l,function(t){var n=parseFloat(t),r=isNaN(n);r||n in h||(n=e.pluralCat(n-p)),n===c||r&&isNaN(c)||($(),$=i.$watch(d[n],u),c=n)})}}}],ka=["$parse","$animate",function(e,a){var s="$$NG_REMOVED",u=r("ngRepeat"),c=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},f=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,p){var h=p.ngRepeat,d=t.createComment(" end ngRepeat: "+h+" "),g=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!g)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);var m=g[1],v=g[2],$=g[3],y=g[4];if(g=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!g)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b=g[3]||g[1],w=g[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var x,C,S,k,T={$id:Lt};return y?x=e(y):(S=function(e,t){return Lt(t)},k=function(e){return e}),function(e,t,r,p,g){x&&(C=function(t,n,r){return w&&(T[w]=t),T[b]=n,T.$index=r,x(e,T)});var m=ct();e.$watchCollection(v,function(r){var p,v,y,x,T,E,M,A,N,O,D,_,j=t[0],P=ct();if($&&(e[$]=r),i(r))N=r,A=C||S;else{A=C||k,N=[];for(var q in r)r.hasOwnProperty(q)&&"$"!=q.charAt(0)&&N.push(q);N.sort()}for(x=N.length,D=new Array(x),p=0;x>p;p++)if(T=r===N?p:N[p],E=r[T],M=A(T,E,p),m[M])O=m[M],delete m[M],P[M]=O,D[p]=O;else{if(P[M])throw o(D,function(e){e&&e.scope&&(m[e.id]=e)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",h,M,E);D[p]={id:M,scope:n,clone:n},P[M]=!0}for(var R in m){if(O=m[R],_=ut(O.clone),a.leave(_),_[0].parentNode)for(p=0,v=_.length;v>p;p++)_[p][s]=!0;O.scope.$destroy()}for(p=0;x>p;p++)if(T=r===N?p:N[p],E=r[T],O=D[p],O.scope){y=j;do y=y.nextSibling;while(y&&y[s]);l(O)!=y&&a.move(ut(O.clone),null,Qr(j)),j=f(O),c(O.scope,p,b,E,w,T,x)}else g(function(e,t){O.scope=t;var n=d.cloneNode(!1);e[e.length++]=n,a.enter(e,null,Qr(j)),j=n,O.clone=e,P[O.id]=O,c(O.scope,p,b,E,w,T,x)});m=P})}}}}],Ta="ng-hide",Ea="ng-hide-animate",Ma=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ta,{tempClasses:Ea})})}}}],Aa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ta,{tempClasses:Ea})})}}}],Na=Tr(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),Oa=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],c=[],l=[],f=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=l.length;i>r;++r)e.cancel(l[r]);for(l.length=0,r=0,i=f.length;i>r;++r){var s=ut(c[r].clone);f[r].$destroy();var h=l[r]=e.leave(s);h.then(p(l,r))}c.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var a={clone:r};c.push(a),e.enter(r,o.parent(),o)})})})}}}],Da=Tr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),_a=Tr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),ja=Tr({restrict:"EAC",link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",z(t));o(function(e){t.empty(),t.append(e)})}}),Pa=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],qa=r("ngOptions"),Ra=m({restrict:"A",terminal:!0}),Ia=["$compile","$parse",function(e,r){var i=/^\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:d};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,a={},u=s;o.databound=n.ngModel,o.init=function(e,t,n){u=e,r=t,i=n},o.addOption=function(t,n){at(t,'"option value"'),a[t]=!0,u.$viewValue==t&&(e.val(t),i.parent()&&i.remove()),n&&n[0].hasAttribute("selected")&&(n[0].selected=!0)},o.removeOption=function(e){this.hasOption(e)&&(delete a[e],u.$viewValue===e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Lt(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return a.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=d})}],link:function(s,u,c,l){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(k.parent()&&k.remove(),t.val(e),""===e&&d.prop("selected",!0)):v(e)&&d?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){k.parent()&&k.remove(),n.$setViewValue(t.val())})})}function p(e,t,n){var r;n.$render=function(){var e=new Ft(n.$viewValue);o(t.find("option"),function(t){t.selected=$(e.get(t.value))})},e.$watch(function(){I(r,n.$viewValue)||(r=R(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 h(t,s,u){function c(e,n,r){return I[E]=r,N&&(I[N]=n),e(t,I)}function l(){t.$apply(function(){var e,n=_(t)||[];if(y)e=[],o(s.val(),function(t){t=P?q[t]:t,e.push(f(t,n[t]))});else{var r=P?q[s.val()]:s.val();e=f(r,n[r])}u.$setViewValue(e),v()})}function f(e,t){if("?"===e)return n;if(""===e)return null;var r=A?A:D;return c(r,e,t)}function p(){var e,n=_(t);if(n&&li(n)){e=new Array(n.length);for(var r=0,i=n.length;i>r;r++)e[r]=c(T,r,n[r]);return e}if(n){e={};for(var o in n)n.hasOwnProperty(o)&&(e[o]=c(T,o,n[o]))}return e}function h(e){var t;if(y)if(P&&li(e)){t=new Ft([]);for(var n=0;n<e.length;n++)t.put(c(P,null,e[n]),!0)}else t=new Ft(e);else P&&(e=c(P,null,e));return function(n,r){var i;return i=P?P:A?A:D,y?$(t.remove(c(i,n,r))):e===c(i,n,r)}}function d(){x||(t.$$postDigest(v),x=!0)}function m(e,t,n){e[t]=e[t]||0,e[t]+=n?1:-1}function v(){x=!1;var e,n,r,i,l,f,p,d,v,b,k,E,M,A,D,j,H,L={"":[]},F=[""],U=u.$viewValue,V=_(t)||[],B=N?a(V):V,z={},W=h(U),X=!1;for(q={},E=0;b=B.length,b>E;E++)p=E,N&&(p=B[E],"$"===p.charAt(0))||(d=V[p],e=c(O,p,d)||"",(n=L[e])||(n=L[e]=[],F.push(e)),M=W(p,d),X=X||M,j=c(T,p,d),j=$(j)?j:"",H=P?P(t,I):N?B[E]:E,P&&(q[H]=p),n.push({id:H,label:j,selected:M}));for(y||(w||null===U?L[""].unshift({id:"",label:"",selected:!X}):X||L[""].unshift({id:"?",label:"",selected:!0})),k=0,v=F.length;v>k;k++){for(e=F[k],n=L[e],R.length<=k?(i={element:S.clone().attr("label",e),label:n.label},l=[i],R.push(l),s.append(i.element)):(l=R[k],i=l[0],i.label!=e&&i.element.attr("label",i.label=e)),A=null,E=0,b=n.length;b>E;E++)r=n[E],(f=l[E+1])?(A=f.element,f.label!==r.label&&(m(z,f.label,!1),m(z,r.label,!0),A.text(f.label=r.label),A.prop("label",f.label)),f.id!==r.id&&A.val(f.id=r.id),A[0].selected!==r.selected&&(A.prop("selected",f.selected=r.selected),Kr&&A.prop("selected",f.selected))):(""===r.id&&w?D=w:(D=C.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).prop("label",r.label).text(r.label),l.push(f={element:D,label:r.label,id:r.id,selected:r.selected}),m(z,r.label,!0),A?A.after(D):i.element.append(D),A=D);for(E++;l.length>E;)r=l.pop(),m(z,r.label,!1),r.element.remove()}for(;R.length>k;){for(n=R.pop(),E=1;E<n.length;++E)m(z,n[E].label,!1);n[0].element.remove()}o(z,function(e,t){e>0?g.addOption(t):0>e&&g.removeOption(t)})}var k;if(!(k=b.match(i)))throw qa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,z(s));var T=r(k[2]||k[1]),E=k[4]||k[6],M=/ as /.test(k[0])&&k[1],A=M?r(M):null,N=k[5],O=r(k[3]||""),D=r(k[2]?k[1]:E),_=r(k[7]),j=k[8],P=j?r(k[8]):null,q={},R=[[{element:s,label:""}]],I={};w&&(e(w)(t),w.removeClass("ng-scope"),w.remove()),s.empty(),s.on("change",l),u.$render=v,t.$watchCollection(_,d),t.$watchCollection(p,d),y&&t.$watchCollection(function(){return u.$modelValue},d)}if(l[1]){for(var d,g=l[0],m=l[1],y=c.multiple,b=c.ngOptions,w=!1,x=!1,C=Qr(t.createElement("option")),S=Qr(t.createElement("optgroup")),k=C.clone(),T=0,E=u.children(),M=E.length;M>T;T++)if(""===E[T].value){d=w=E.eq(T);break}g.init(m,w,k),y&&(m.$isEmpty=function(e){return!e||0===e.length}),b?h(s,u,m):y?p(s,u,m):f(s,u,m,g)}}}}],Ha=["$interpolate",function(e){var t={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(v(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound||(s=t),i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&s.removeOption(t),s.addOption(e,n)}):s.addOption(r.value,n),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],La=m({restrict:"E",terminal:!1}),Fa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Ua=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(b(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,z(t));
a=e||n,o.$validate()}),o.$validators.pattern=function(e){return o.$isEmpty(e)||v(a)||a.test(e)}}}}},Va=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=p(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Ba=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=p(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?(console.log("WARNING: Tried to load angular more than once."),void 0):(rt(),ht(si),Qr(t).ready(function(){K(t,Q)}),void 0)}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}</style>');