test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
162 KiB

!function(_){"use strict";function d(o,a){return a=a||Error,function(){var e,t,n=arguments,r=n[0],i="["+(o?o+":":"")+r+"] ";for(i+=n[1].replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1)+2;return t<n.length?De(n[t]):e}),i+="\nhttp://errors.angularjs.org/1.5.6/"+(o?o+"/":"")+r,t=2,e="?";t<n.length;t++,e="&")i+=e+"p"+(t-2)+"="+encodeURIComponent(De(n[t]));return new a(i)}}var o=/^\/(.+)\/([a-z]*)$/,f="validity",R=Object.prototype.hasOwnProperty,q=function(e){return de(e)?e.toLowerCase():e},l=function(e){return de(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(q=function(e){return de(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},l=function(e){return de(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var F,ce,a,v,s=[].slice,n=[].splice,e=[].push,S=Object.prototype.toString,u=Object.getPrototypeOf,c=d("ng"),E=_.angular||(_.angular={}),t=0;function I(e){if(null==e||M(e))return!1;if($e(e)||de(e)||ce&&e instanceof ce)return!0;var t="length"in Object(e)&&e.length;return w(t)&&(0<=t&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function le(e,t,n){var r,i;if(e)if(ve(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($e(e)||I(e)){var o="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(o||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==le)e.forEach(t,n,e);else if(b(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)R.call(e,r)&&t.call(n,e[r],r,e);return e}function h(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function m(n){return function(e,t){n(t,e)}}function O(){return++t}function p(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function $(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(pe(a)||ve(a))for(var s=Object.keys(a),u=0,c=s.length;u<c;u++){var l=s[u],f=a[l];n&&pe(f)?C(f)?e[l]=new Date(f.valueOf()):k(f)?e[l]=new RegExp(f):f.nodeName?e[l]=f.cloneNode(!0):j(f)?e[l]=f.clone():(pe(e[l])||(e[l]=$e(f)?[]:{}),$(e[l],[f],!0)):e[l]=f}}return p(e,r),e}function fe(e){return $(e,s.call(arguments,1),!1)}function g(e){return parseInt(e,10)}function U(e,t){return fe(Object.create(e),t)}function L(){}function x(e){return e}function A(e){return function(){return e}}function y(e){return ve(e.toString)&&e.toString!==S}function he(e){return void 0===e}function H(e){return void 0!==e}function pe(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!u(e)}function de(e){return"string"==typeof e}function w(e){return"number"==typeof e}function C(e){return"[object Date]"===S.call(e)}F=_.document.documentMode,L.$inject=[],x.$inject=[];var $e=Array.isArray;function ve(e){return"function"==typeof e}function k(e){return"[object RegExp]"===S.call(e)}function M(e){return e&&e.window===e}function me(e){return e&&e.$evalAsync&&e.$watch}function ge(e){return"boolean"==typeof e}function T(e){return e&&ve(e.then)}var N=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,ye=function(e){return de(e)?e.trim():e},V=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function j(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function be(e){return q(e.nodeName||e[0]&&e[0].nodeName)}function we(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),n}function D(e,n){var t,r,i=[],o=[];if(n){if((r=n)&&w(r.length)&&N.test(S.call(r))||(t=n,"[object ArrayBuffer]"===S.call(t)))throw c("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===n)throw c("cpi","Can't copy! Source and destination are identical.");return $e(n)?n.length=0:le(n,function(e,t){"$$hashKey"!==t&&delete n[t]}),i.push(e),o.push(n),a(e,n)}return s(e);function a(e,t){var n,r=t.$$hashKey;if($e(e))for(var i=0,o=e.length;i<o;i++)t.push(s(e[i]));else if(b(e))for(n in e)t[n]=s(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=s(e[n]));else for(n in e)R.call(e,n)&&(t[n]=s(e[n]));return p(t,r),t}function s(e){if(!pe(e))return e;var t=i.indexOf(e);if(-1!==t)return o[t];if(M(e)||me(e))throw c("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var n=!1,r=function(e){switch(S.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer));case"[object ArrayBuffer]":if(e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t;case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(ve(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===r&&(r=$e(e)?[]:Object.create(u(e)),n=!0),i.push(e),o.push(r),n?a(e,r):r}}function P(e,t){if($e(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(pe(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function xe(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!$e(e)){if(C(e))return!!C(t)&&xe(e.getTime(),t.getTime());if(k(e))return!!k(t)&&e.toString()==t.toString();if(me(e)||me(t)||M(e)||M(t)||$e(t)||C(t)||k(t))return!1;for(r in i=Me(),e)if("$"!==r.charAt(0)&&!ve(e[r])){if(!xe(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&H(t[r])&&!ve(t[r]))return!1;return!0}if(!$e(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!xe(e[r],t[r]))return!1;return!0}}return!1}var B=function(){if(!H(B.rules)){var e=_.document.querySelector("[ng-csp]")||_.document.querySelector("[data-ng-csp]");if(e){var t=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");B.rules={noUnsafeEval:!t||-1!==t.indexOf("no-unsafe-eval"),noInlineStyle:!t||-1!==t.indexOf("no-inline-style")}}else B.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return B.rules},z=function(){if(H(z.name_))return z.name_;var e,t,n,r,i=ne.length;for(t=0;t<i;++t)if(n=ne[t],e=_.document.querySelector("["+n.replace(":","\\:")+"jq]")){r=e.getAttribute(n+"jq");break}return z.name_=r};function W(e,t,n){return e.concat(s.call(t,n))}function Se(e,t){return s.call(e,t||0)}function Ce(e,t){var n=2<arguments.length?Se(arguments,2):[];return!ve(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,W(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function r(e,t){var n=t;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?n=void 0:M(t)?n="$WINDOW":t&&_.document===t?n="$DOCUMENT":me(t)&&(n="$SCOPE"),n}function G(e,t){if(!he(e))return w(t)||(t=t?2:null),JSON.stringify(e,r,t)}function J(e){return de(e)?JSON.parse(e):e}var i=/:/g;function Y(e,t){e=e.replace(i,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t,n){n=n?-1:1;var r,i,o=e.getTimezoneOffset();return r=e,i=n*(Y(t,o)-o),(r=new Date(r.getTime())).setMinutes(r.getMinutes()+i),r}function Ee(e){e=ce(e).clone();try{e.empty()}catch(e){}var t=ce("<div>").append(e).html();try{return e[0].nodeType===Ne?q(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+q(t)})}catch(e){return q(t)}}function K(e){try{return decodeURIComponent(e)}catch(e){}}function X(e){var i={};return le((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),H(n=K(n))&&(r=!H(r)||K(r),R.call(i,n)?$e(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r))}),i}function Q(e){var n=[];return le(e,function(e,t){$e(e)?le(e,function(e){n.push(te(t,!0)+(!0===e?"":"="+te(e,!0)))}):n.push(te(t,!0)+(!0===e?"":"="+te(e,!0)))}),n.length?n.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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":"+")}var ne=["ng-","data-ng-","ng:","x-ng-"];function re(n,r,i){function t(){if((n=ce(n)).injector()){var e=n[0]===_.document?"document":Ee(n);throw c("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}(r=r||[]).unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var t=Pt(r,i.strictDi);return t.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),t}pe(i)||(i={}),i=fe({strictDi:!1},i);var e=/^NG_ENABLE_DEBUG_INFO!/,o=/^NG_DEFER_BOOTSTRAP!/;if(_&&e.test(_.name)&&(i.debugInfoEnabled=!0,_.name=_.name.replace(e,"")),_&&!o.test(_.name))return t();_.name=_.name.replace(o,""),E.resumeBootstrap=function(e){return le(e,function(e){r.push(e)}),t()},ve(E.resumeDeferredBootstrap)&&E.resumeDeferredBootstrap()}var ie=/[A-Z]/g;function Ae(e,n){return n=n||"_",e.replace(ie,function(e,t){return(t?n:"")+e.toLowerCase()})}var oe=!1;function ke(e,t,n){if(!e)throw c("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ae(e,t,n){return n&&$e(e)&&(e=e[e.length-1]),ke(ve(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function se(e,t){if("hasOwnProperty"===e)throw c("badname","hasOwnProperty is not a valid {0} name",t)}function ue(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&ve(e)?Ce(o,e):e}function Oe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)!t&&e[i]===n||(t||(t=ce(s.call(e,0,i))),t.push(n));return t||e}function Me(){return Object.create(null)}var Te=1,Ne=3,Ve=8,je=9,Ie=11;function De(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):he(e)?"undefined":"string"!=typeof e?(t=e,n=[],JSON.stringify(t,function(e,t){if(pe(t=r(e,t))){if(0<=n.indexOf(t))return"...";n.push(t)}return t})):e;var t,n}tt.expando="ng339";function Pe(e,t,n){e.addEventListener(t,n,!1)}var _e=tt.cache={},Re=1,qe=function(e,t,n){e.removeEventListener(t,n,!1)};tt._data=function(e){return this.cache[e[this.expando]]||{}};var Fe=/([\:\-\_]+(.))/g,Ue=/^moz([A-Z])/,Le={mouseleave:"mouseout",mouseenter:"mouseover"},He=d("jqLite");function Be(e){return e.replace(Fe,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Ue,"Moz$1")}var ze=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,We=/<|&#?\w+;/,Ge=/<([\w:-]+)/,Je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ye={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,"",""]};function Ze(e){return!We.test(e)}function Ke(e){var t=e.nodeType;return t===Te||!t||t===je}function Xe(e,t){var n,r,i,o,a=t.createDocumentFragment(),s=[];if(Ze(e))s.push(t.createTextNode(e));else{for(n=n||a.appendChild(t.createElement("div")),r=(Ge.exec(e)||["",""])[1].toLowerCase(),i=Ye[r]||Ye._default,n.innerHTML=i[1]+e.replace(Je,"<$1></$2>")+i[2],o=i[0];o--;)n=n.lastChild;s=W(s,n.childNodes),(n=a.firstChild).textContent=""}return a.textContent="",a.innerHTML="",le(s,function(e){a.appendChild(e)}),a}function Qe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td;var et=_.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function tt(e){if(e instanceof tt)return e;var t,n,r,i;if(de(e)&&(e=ye(e),t=!0),!(this instanceof tt)){if(t&&"<"!=e.charAt(0))throw He("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new tt(e)}ft(this,t?(n=e,r=r||_.document,(i=ze.exec(n))?[r.createElement(i[1])]:(i=Xe(n,r))?i.childNodes:[]):e)}function nt(e){return e.cloneNode(!0)}function rt(e,t){if(t||ot(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)ot(n[r])}function it(n,e,r,t){if(H(t))throw He("offargs","jqLite#off() does not support the `selector` argument");var i=at(n),o=i&&i.events,a=i&&i.handle;if(a)if(e){var s=function(e){var t=o[e];H(r)&&we(t||[],r),H(r)&&t&&0<t.length||(qe(n,e,a),delete o[e])};le(e.split(" "),function(e){s(e),Le[e]&&s(Le[e])})}else for(e in o)"$destroy"!==e&&qe(n,e,a),delete o[e]}function ot(e,t){var n=e.ng339,r=n&&_e[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),it(e)),delete _e[n],e.ng339=void 0}}function at(e,t){var n=e.ng339,r=n&&_e[n];return t&&!r&&(e.ng339=n=++Re,r=_e[n]={events:{},data:{},handle:void 0}),r}function st(e,t,n){if(Ke(e)){var r=H(n),i=!r&&t&&!pe(t),o=!t,a=at(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];fe(s,t)}}}function ut(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function ct(t,e){e&&t.setAttribute&&le(e.split(" "),function(e){t.setAttribute("class",ye((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+ye(e)+" "," ")))})}function lt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");le(t.split(" "),function(e){e=ye(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",ye(n))}}function ft(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;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function ht(e,t){return pt(e,"$"+(t||"ngController")+"Controller")}function pt(e,t,n){e.nodeType==je&&(e=e.documentElement);for(var r=$e(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(H(n=ce.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Ie&&e.host}}function dt(e){for(rt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function $t(e,t){t||rt(e);var n=e.parentNode;n&&n.removeChild(e)}var vt=tt.prototype={ready:function(e){var t=!1;function n(){t||(t=!0,e())}"complete"===_.document.readyState?_.setTimeout(n):(this.on("DOMContentLoaded",n),tt(_).on("load",n))},toString:function(){var t=[];return le(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return ce(0<=e?this[e]:this[this.length+e])},length:0,push:e,sort:[].sort,splice:[].splice},mt={};le("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){mt[q(e)]=e});var gt={};le("input,select,option,textarea,button,form,details".split(","),function(e){gt[e]=!0});var yt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function bt(e,t){var n=mt[t.toLowerCase()];return n&&gt[be(e)]&&n}function wt(e,t){if(he(t)){var n=e.nodeType;return n===Te||n===Ne?e.textContent:""}e.textContent=t}function xt(e,t,n){n.call(e,t)}function St(e,t,n){var r=t.relatedTarget;r&&(r===e||et.call(e,r))||n.call(e,t)}function Ct(){this.$get=function(){return fe(tt,{hasClass:function(e,t){return e.attr&&(e=e[0]),ut(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),lt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),ct(e,t)}})}}function Et(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return"function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||O)():r+":"+e}function At(e,t){if(t){var n=0;this.nextUid=function(){return++n}}le(e,this.put,this)}le({data:st,removeData:ot,hasData:function(e){for(var t in _e[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)ot(e[t])}},function(e,t){tt[t]=e}),le({data:st,inheritedData:pt,scope:function(e){return ce.data(e,"$scope")||pt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return ce.data(e,"$isolateScope")||ce.data(e,"$isolateScopeNoTemplate")},controller:ht,injector:function(e){return pt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ut,css:function(e,t,n){if(t=Be(t),!H(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r=e.nodeType;if(r!==Ne&&2!==r&&r!==Ve){var i=q(t);if(mt[i]){if(!H(n))return e[t]||(e.attributes.getNamedItem(t)||L).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(H(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){if(!H(n))return e[t];e[t]=n},text:(wt.$dv="",wt),val:function(e,t){if(he(t)){if(e.multiple&&"select"===be(e)){var n=[];return le(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){if(he(t))return e.innerHTML;rt(e,!0),e.innerHTML=t},empty:dt},function(c,e){tt.prototype[e]=function(e,t){var n,r,i=this.length;if(c!==dt&&he(2==c.length&&c!==ut&&c!==ht?e:t)){if(pe(e)){for(n=0;n<i;n++)if(c===st)c(this[n],e);else for(r in e)c(this[n],r,e[r]);return this}for(var o=c.$dv,a=he(o)?Math.min(i,1):i,s=0;s<a;s++){var u=c(this[s],e,t);o=o?o+u:u}return o}for(n=0;n<i;n++)c(this[n],e,t);return this}}),le({removeData:ot,on:function(i,e,o,t){if(H(t))throw He("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ke(i)){var n=at(i,!0),a=n.events,s=n.handle;s||(s=n.handle=(h=a,l.elem=f=i,l));for(var r=0<=e.indexOf(" ")?e.split(" "):[e],u=r.length,c=function(e,t,n){var r=a[e];r||((r=a[e]=[]).specialHandlerWrapper=t,"$destroy"===e||n||Pe(i,e,s)),r.push(o)};u--;)e=r[u],Le[e]?(c(Le[e],St),c(e,void 0,!0)):c(e)}function l(e,t){e.isDefaultPrevented=function(){return e.defaultPrevented};var n=h[t||e.type],r=n?n.length:0;if(r){if(he(e.immediatePropagationStopped)){var i=e.stopImmediatePropagation;e.stopImmediatePropagation=function(){e.immediatePropagationStopped=!0,e.stopPropagation&&e.stopPropagation(),i&&i.call(e)}}e.isImmediatePropagationStopped=function(){return!0===e.immediatePropagationStopped};var o=n.specialHandlerWrapper||xt;1<r&&(n=P(n));for(var a=0;a<r;a++)e.isImmediatePropagationStopped()||o(f,e,n[a])}}var f,h},off:it,one:function(t,n,r){(t=ce(t)).on(n,function e(){t.off(n,r),t.off(n,e)}),t.on(n,r)},replaceWith:function(t,e){var n,r=t.parentNode;rt(t),le(new tt(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(e){var t=[];return le(e.childNodes,function(e){e.nodeType===Te&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Te||n===Ie)for(var r=0,i=(t=new tt(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(t,e){if(t.nodeType===Te){var n=t.firstChild;le(new tt(e),function(e){t.insertBefore(e,n)})}},wrap:function(e,t){Qe(e,ce(t).eq(0).clone()[0])},remove:$t,detach:function(e){$t(e,!0)},after:function(e,t){for(var n=e,r=e.parentNode,i=0,o=(t=new tt(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:lt,removeClass:ct,toggleClass:function(n,e,r){e&&le(e.split(" "),function(e){var t=r;he(t)&&(t=!ut(n,e)),(t?lt:ct)(n,e)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Ie?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:nt,triggerHandler:function(t,e,n){var r,i,o,a=e.type||e,s=at(t),u=s&&s.events,c=u&&u[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:L,type:a,target:t},e.type&&(r=fe(r,e)),i=P(c),o=n?[r].concat(n):[r],le(i,function(e){r.isImmediatePropagationStopped()||e.apply(t,o)}))}},function(a,e){tt.prototype[e]=function(e,t,n){for(var r,i=0,o=this.length;i<o;i++)he(r)?H(r=a(this[i],e,t,n))&&(r=ce(r)):ft(r,a(this[i],e,t,n));return H(r)?r:this},tt.prototype.bind=tt.prototype.on,tt.prototype.unbind=tt.prototype.off}),At.prototype={put:function(e,t){this[Et(e,this.nextUid)]=t},get:function(e){return this[Et(e,this.nextUid)]},remove:function(e){var t=this[e=Et(e,this.nextUid)];return delete this[e],t}};var kt=[function(){this.$get=[function(){return At}]}],Ot=/^([^\(]+?)=>/,Mt=/^[^\(]*\(\s*([^\)]*)\)/m,Tt=/,/,Nt=/^\s*(_?)(\S+?)\1\s*$/,Vt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,jt=d("$injector");function It(e){return Function.prototype.toString.call(e)+" "}function Dt(e){var t=It(e).replace(Vt,"");return t.match(Ot)||t.match(Mt)}function Pt(e,c){c=!0===c;var i={},a="Provider",s=[],o=new At([],!0),l={$provide:{provider:h(p),factory:h(d),service:h(function(e,t){return d(e,["$injector",function(e){return e.instantiate(t)}])}),value:h(function(e,t){return d(e,A(t),!1)}),constant:h(function(e,t){se(e,"constant"),l[e]=t,n[e]=t}),decorator:function(e,t){var n=u.get(e+a),r=n.$get;n.$get=function(){var e=f.invoke(r,n);return f.invoke(t,null,{$delegate:e})}}}},u=l.$injector=$(l,function(e,t){throw E.isString(t)&&s.push(t),jt("unpr","Unknown provider: {0}",s.join(" <- "))}),n={},t=$(n,function(e,t){var n=u.get(e+a,t);return f.invoke(n.$get,n,void 0,e)}),f=t;l["$injector"+a]={$get:A(t)};var r=function n(e){ke(he(e)||$e(e),"modulesToLoad","not an array");var r,i=[];return le(e,function(e){if(!o.get(e)){o.put(e,!0);try{de(e)?(r=v(e),i=i.concat(n(r.requires)).concat(r._runBlocks),t(r._invokeQueue),t(r._configBlocks)):ve(e)?i.push(u.invoke(e)):$e(e)?i.push(u.invoke(e)):ae(e,"module")}catch(t){throw $e(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1==t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),jt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}function t(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=u.get(r[0]);i[r[1]].apply(i,r[2])}}}),i}(e);return(f=t.get("$injector")).strictDi=c,le(r,function(e){e&&f.invoke(e)}),f;function h(n){return function(e,t){if(!pe(e))return n(e,t);le(e,m(n))}}function p(e,t){if(se(e,"service"),(ve(t)||$e(t))&&(t=u.instantiate(t)),!t.$get)throw jt("pget","Provider '{0}' must define $get factory method.",e);return l[e+a]=t}function d(e,t,n){return p(e,{$get:!1!==n?(r=e,i=t,function(){var e=f.invoke(i,this);if(he(e))throw jt("undef","Provider '{0}' must return a value from $get factory method.",r);return e}):t});var r,i}function $(n,r){function u(e,t){if(n.hasOwnProperty(e)){if(n[e]===i)throw jt("cdep","Circular dependency found: {0}",e+" <- "+s.join(" <- "));return n[e]}try{return s.unshift(e),n[e]=i,n[e]=r(e,t)}catch(t){throw n[e]===i&&delete n[e],t}finally{s.shift()}}function o(e,t,n){for(var r=[],i=Pt.$$annotate(e,c,n),o=0,a=i.length;o<a;o++){var s=i[o];if("string"!=typeof s)throw jt("itkn","Incorrect injection token! Expected service name as string, got {0}",s);r.push(t&&t.hasOwnProperty(s)?t[s]:u(s,n))}return r}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i=o(e,n,r);return $e(e)&&(e=e[e.length-1]),F<=11||"function"!=typeof e||!/^(?:class\s|constructor\()/.test(It(e))?e.apply(t,i):(i.unshift(null),new(Function.prototype.bind.apply(e,i)))},instantiate:function(e,t,n){var r=$e(e)?e[e.length-1]:e,i=o(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:u,annotate:Pt.$$annotate,has:function(e){return l.hasOwnProperty(e+a)||n.hasOwnProperty(e)}}}}function _t(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(r,i,o){var a=r.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=u.yOffset;if(ve(e))e=e();else if(j(e)){var t=e[0];e="fixed"!==r.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else w(e)||(e=0);return e}();if(t){var n=e.getBoundingClientRect().top;r.scrollBy(0,n-t)}}else r.scrollTo(0,0)}function u(e){var t,n,r;(e=de(e)?e:i.hash())?(t=a.getElementById(e))?s(t):(n=a.getElementsByName(e),r=null,Array.prototype.some.call(n,function(e){if("a"===be(e))return r=e,!0}),(t=r)?s(t):"top"===e&&s(null)):s(null)}return e&&o.$watch(function(){return i.hash()},function(e,t){var n,r;e===t&&""===e||(n=function(){o.$evalAsync(u)},"complete"===(r=r||_).document.readyState?r.setTimeout(n):ce(r).on("load",n))}),u}]}Pt.$$annotate=function(e,t,n){var r,i,o;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw de(n)&&n||(n=e.name||((o=Dt(e))?"function("+(o[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),jt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);le(Dt(e)[1].split(Tt),function(e){e.replace(Nt,function(e,t,n){r.push(n)})})}e.$inject=r}}else $e(e)?(ae(e[i=e.length-1],"fn"),r=e.slice(0,i)):ae(e,"fn",!0);return r};var Rt=d("$animate"),qt="ng-animate";function Ft(e,t){return e||t?e?t?($e(e)&&(e=e.join(" ")),$e(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Ut(e){return pe(e)?e:{}}function Lt(){this.$get=L}function Ht(){var $=new At,v=[];this.$get=["$$AnimateRunner","$rootScope",function(f,h){return{enabled:L,on:L,off:L,pin:L,push:function(e,t,n,r){var i,o,a,s,u,c;r&&r(),(n=n||{}).from&&e.css(n.from),n.to&&e.css(n.to),(n.addClass||n.removeClass)&&(i=e,o=n.addClass,a=n.removeClass,s=$.get(i)||{},u=p(s,o,!0),c=p(s,a,!1),(u||c)&&($.put(i,s),v.push(i),1===v.length&&h.$$postDigest(d)));var l=new f;return l.complete(),l}};function p(t,e,n){var r=!1;return e&&le(e=de(e)?e.split(" "):$e(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function d(){le(v,function(e){var t=$.get(e);if(t){var n=function(e){de(e)&&(e=e.split(" "));var t=Me();return le(e,function(e){e.length&&(t[e]=!0)}),t}(e.attr("class")),r="",i="";le(t,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:i+=(i.length?" ":"")+t)}),le(e,function(e){r&&lt(e,r),i&&ct(e,i)}),$.remove(e)}}),v.length=0}}]}function Bt(){this.$get=["$$rAF",function(t){var n=[];function r(e){n.push(e),1<n.length||t(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}return function(){var t=!1;return r(function(){t=!0}),function(e){t?e():r(e)}}}]}function zt(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(t,e,r,i,o){function n(e){this.setHost(e);var n=r();this._doneCallbacks=[],this._tick=function(e){var t=i[0];t&&t.hidden?o(e,0,!1):n(e)},this._state=0}return n.chain=function(e,n){var r=0;!function t(){r!==e.length?e[r](function(e){!1!==e?(r++,t()):n(!1)}):n(!0)}()},n.all=function(t,n){var r=0,i=!0;function o(e){i=i&&e,++r===t.length&&n(i)}le(t,function(e){e.done(o)})},n.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:L,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(le(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},n}]}function Wt(){this.$get=["$$rAF","$q","$$AnimateRunner",function(a,e,s){return function(e,t){var n=t||{};n.$$prepared||(n=D(n)),n.cleanupStyles&&(n.from=n.to=null),n.from&&(e.css(n.from),n.from=null);var r,i=new s;return{start:o,end:o};function o(){return a(function(){n.addClass&&(e.addClass(n.addClass),n.addClass=null),n.removeClass&&(e.removeClass(n.removeClass),n.removeClass=null),n.to&&(e.css(n.to),n.to=null),r||i.complete(),r=!0}),i}}}]}var Gt=["$provide",function(r){var i=this;this.$$registeredAnimations=Object.create(null),this.register=function(e,t){if(e&&"."!==e.charAt(0))throw Rt("notcsel","Expecting class selector starting with '.' got '{0}'.",e);var n=e+"-animation";i.$$registeredAnimations[e.substr(1)]=n,r.factory(n,t)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)"+qt+"(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw Rt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',qt);return this.$$classNameFilter},this.$get=["$$animateQueue",function(o){function i(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:o.on,off:o.off,pin:o.pin,enabled:o.enabled,cancel:function(e){e.end&&e.end()},enter:function(e,t,n,r){return t=t&&ce(t),n=n&&ce(n),i(e,t=t||n.parent(),n),o.push(e,"enter",Ut(r))},move:function(e,t,n,r){return t=t&&ce(t),n=n&&ce(n),i(e,t=t||n.parent(),n),o.push(e,"move",Ut(r))},leave:function(e,t){return o.push(e,"leave",Ut(t),function(){e.remove()})},addClass:function(e,t,n){return(n=Ut(n)).addClass=Ft(n.addclass,t),o.push(e,"addClass",n)},removeClass:function(e,t,n){return(n=Ut(n)).removeClass=Ft(n.removeClass,t),o.push(e,"removeClass",n)},setClass:function(e,t,n,r){return(r=Ut(r)).addClass=Ft(r.addClass,t),r.removeClass=Ft(r.removeClass,n),o.push(e,"setClass",r)},animate:function(e,t,n,r,i){return(i=Ut(i)).from=i.from?fe(i.from,t):t,i.to=i.to?fe(i.to,n):n,r=r||"ng-inline-animate",i.tempClasses=Ft(i.tempClasses,r),o.push(e,"animate",i)}}}]}];function Jt(s,e,t,u){var c=this,l=s.location,f=s.history,r=s.setTimeout,n=s.clearTimeout,i={};c.isMock=!1;var o=0,a=[];function h(e){try{e.apply(null,Se(arguments,1))}finally{if(0==--o)for(;a.length;)try{a.pop()()}catch(e){t.error(e)}}}c.$$completeOutstandingRequest=h,c.$$incOutstandingRequestCount=function(){o++},c.notifyWhenNoOutstandingRequests=function(e){0===o?e():a.push(e)};var p,d,$=l.href,v=e.find("base"),m=null,g=u.history?function(){try{return f.state}catch(e){}}:L;S(),d=p,c.url=function(e,t,n){if(he(n)&&(n=null),l!==s.location&&(l=s.location),f!==s.history&&(f=s.history),e){var r=d===n;if($===e&&(!u.history||r))return c;var i=$&&Hn($)===Hn(e);return $=e,d=n,!u.history||i&&r?(i||(m=e),t?l.replace(e):i?l.hash=-1===(a=(o=e).indexOf("#"))?"":o.substr(a):l.href=e,l.href!==e&&(m=e)):(f[t?"replaceState":"pushState"](n,"",e),S(),d=p),m&&(m=e),c}var o,a;return m||l.href.replace(/%27/g,"'")},c.state=function(){return p};var y=[],b=!1;function w(){m=null,S(),C()}var x=null;function S(){xe(p=he(p=g())?null:p,x)&&(p=x),x=p}function C(){$===c.url()&&d===p||($=c.url(),d=p,le(y,function(e){e(c.url(),p)}))}c.onUrlChange=function(e){return b||(u.history&&ce(s).on("popstate",w),ce(s).on("hashchange",w),b=!0),y.push(e),e},c.$$applicationDestroyed=function(){ce(s).off("hashchange popstate",w)},c.$$checkUrlChange=C,c.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return o++,n=r(function(){delete i[n],h(e)},t||0),i[n]=!0,n},c.defer.cancel=function(e){return!!i[e]&&(delete i[e],n(e),h(L),!0)}}function Yt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Jt(e,r,t,n)}]}function Zt(){this.$get=function(){var f={};function e(e,t){if(e in f)throw d("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var n=0,r=fe({},t,{id:e}),i=Me(),o=t&&t.capacity||Number.MAX_VALUE,a=Me(),s=null,u=null;return f[e]={put:function(e,t){if(!he(t))return o<Number.MAX_VALUE&&c(a[e]||(a[e]={key:e})),e in i||n++,i[e]=t,o<n&&this.remove(u.key),t},get:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;c(t)}return i[e]},remove:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;t==s&&(s=t.p),t==u&&(u=t.n),l(t.n,t.p),delete a[e]}e in i&&(delete i[e],n--)},removeAll:function(){i=Me(),n=0,a=Me(),s=u=null},destroy:function(){a=r=i=null,delete f[e]},info:function(){return fe({},r,{size:n})}};function c(e){e!=s&&(u?u==e&&(u=e.n):u=e,l(e.n,e.p),l(e,s),(s=e).n=null)}function l(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}}return e.info=function(){var n={};return le(f,function(e,t){n[t]=e.info()}),n},e.get=function(e){return f[e]},e}}function Kt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var Xt=d("$compile"),Qt=new function(){};function en(n,t){var d={},$="Directive",D=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,P=/(([\w\-]+)(?:\:([^;]+))?;?)/,l=function(){var e,t={},n="ngSrc,ngSrcset,src,srcset".split(",");for(e=0;e<n.length;e++)t[n[e]]=!0;return t}(),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,s=Me();function o(e,r,i){var o=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,a=Me();return le(e,function(e,t){if(e in s)a[t]=s[e];else{var n=e.match(o);if(!n)throw Xt("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",r,t,e,i?"controller bindings definition":"isolate scope definition");a[t]={mode:n[1][0],collection:"*"===n[2],optional:"?"===n[3],attrName:n[4]||t},n[4]&&(s[e]=a[t])}}),a}function v(e,t){var n={isolateScope:null,bindToController:null};if(pe(e.scope)&&(!0===e.bindToController?(n.bindToController=o(e.scope,t,!0),n.isolateScope={}):n.isolateScope=o(e.scope,t,!1)),pe(e.bindToController)&&(n.bindToController=o(e.bindToController,t,!0)),pe(n.bindToController)){var r=e.controller,i=e.controllerAs;if(!r)throw Xt("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!cn(r,i))throw Xt("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}this.directive=function e(u,t){return se(u,"directive"),de(u)?(function(e){var t=e.charAt(0);if(!t||t!==q(t))throw Xt("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Xt("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(u),ke(t,"directiveFactory"),d.hasOwnProperty(u)||(d[u]=[],n.factory(u+$,["$injector","$exceptionHandler",function(o,a){var s=[];return le(d[u],function(e,t){try{var n=o.invoke(e);ve(n)?n={compile:A(n)}:!n.compile&&n.link&&(n.compile=A(n.link)),n.priority=n.priority||0,n.index=t,n.name=n.name||u,n.require=(i=(r=n).require||r.controller&&r.name,!$e(i)&&pe(i)&&le(i,function(e,t){var n=e.match(h);e.substring(n[0].length)||(i[t]=n[0]+t)}),i),n.restrict=n.restrict||"EA",n.$$moduleName=e.$$moduleName,s.push(n)}catch(e){a(e)}var r,i}),s}])),d[u].push(t)):le(u,m(e)),this},this.component=function(e,i){var o=i.controller||function(){};function n(r){function e(n){return ve(n)||$e(n)?function(e,t){return r.invoke(n,this,{$element:e,$attrs:t})}:n}var t=i.template||i.templateUrl?i.template:"",n={controller:o,controllerAs:cn(i.controller)||i.controllerAs||"$ctrl",template:e(t),templateUrl:e(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return le(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e)}),n}return le(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e,ve(o)&&(o[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return H(e)?(t.aHrefSanitizationWhitelist(e),this):t.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return H(e)?(t.imgSrcSanitizationWhitelist(e),this):t.imgSrcSanitizationWhitelist()};var c=!0;this.debugInfoEnabled=function(e){return H(e)?(c=e,this):c};var w=10;this.onChangesTtl=function(e){return arguments.length?(w=e,this):w},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(p,C,B,e,g,z,o,r,i,m){var a,y=/^\w/,b=_.document.createElement("div"),t=w;function s(){try{if(!--t)throw a=void 0,Xt("infchng","{0} $onChanges() iterations reached. Aborting!\n",w);o.$apply(function(){for(var e=0,t=a.length;e<t;++e)a[e]();a=void 0})}finally{t++}}function W(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=t[i]}else this.$attr={};this.$$element=e}function O(e,t){try{e.addClass(t)}catch(e){}}W.prototype={$normalize:rn,$addClass:function(e){e&&0<e.length&&i.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&i.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=on(e,t);n&&n.length&&i.addClass(this.$$element,n);var r=on(t,e);r&&r.length&&i.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i,o=bt(this.$$element[0],e),a=yt[e],s=e;if(o?(this.$$element.prop(e,t),r=o):a&&(this[a]=t,s=a),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Ae(e,"-")),"a"===(i=be(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===i&&"src"===e)this[e]=t=m(t,"src"===e);else if("img"===i&&"srcset"===e&&H(t)){for(var u="",c=ye(t),l=/\s/.test(c)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,f=c.split(l),h=Math.floor(f.length/2),p=0;p<h;p++){var d=2*p;u+=m(ye(f[d]),!0),u+=" "+ye(f[1+d])}var $=ye(f[2*p]).split(/\s/);u+=m(ye($[0]),!0),2===$.length&&(u+=" "+ye($[1])),this[e]=t=u}!1!==n&&(null===t||he(t)?this.$$element.removeAttr(r):y.test(r)?this.$$element.attr(r,t):function(e,t,n){b.innerHTML="<span "+t+">";var r=b.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var v=this.$$observers;v&&le(v[s],function(e){try{e(t)}catch(e){B(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Me()),i=r[e]||(r[e]=[]);return i.push(t),o.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||he(n[e])||t(n[e])}),function(){we(i,t)}}};var n=C.startSymbol(),u=C.endSymbol(),G="{{"==n&&"}}"==u?x:function(e){return e.replace(/\{\{/g,n).replace(/}}/g,u)},E=/^ngAttr[A-Z]/,A=/^(.+)Start$/;return J.$$addBindingInfo=c?function(e,t){var n=e.data("$binding")||[];$e(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:L,J.$$addBindingClass=c?function(e){O(e,"ng-binding")}:L,J.$$addScopeInfo=c?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:L,J.$$addScopeClass=c?function(e,t){O(e,t?"ng-isolate-scope":"ng-scope")}:L,J.$$createComment=function(e,t){var n="";return c&&(n=" "+(e||"")+": ",t&&(n+=t+" ")),_.document.createComment(n)},J;function J(c,e,t,n,l){c instanceof ce||(c=ce(c));for(var r=/\S+/,i=0,o=c.length;i<o;i++){var a=c[i];a.nodeType===Ne&&a.nodeValue.match(r)&&Qe(a,c[i]=_.document.createElement("span"))}var f=M(c,e,c,t,n,l);J.$$addScopeClass(c);var h=null;return function(e,t,n){ke(e,"scope"),l&&l.needsNewScope&&(e=e.$parent.$new());var r,i,o=(n=n||{}).parentBoundTranscludeFn,a=n.transcludeControllers,s=n.futureParentElement;if(o&&o.$$boundTransclude&&(o=o.$$boundTransclude),h||(i=s&&s[0],h=i&&"foreignobject"!==be(i)&&S.call(i).match(/SVG/)?"svg":"html"),r="html"!==h?ce(ie(h,ce("<div>").append(c).html())):t?vt.clone.call(c):c,a)for(var u in a)r.data("$"+u+"Controller",a[u].instance);return J.$$addScopeInfo(r,e),t&&t(r,e),f&&f(e,r,r,o),r}}function M(e,p,t,n,r,i){for(var o,a,s,u,c,l,d,$=[],f=0;f<e.length;f++)o=new W,(s=(a=Y(e[f],[],o,0===f?n:void 0,r)).length?N(a,e[f],o,p,t,null,[],[],i):null)&&s.scope&&J.$$addScopeClass(o.$$element),c=s&&s.terminal||!(u=e[f].childNodes)||!u.length?null:M(u,s?(s.transcludeOnThisElement||!s.templateOnThisElement)&&s.transclude:p),(s||c)&&($.push(f,s,c),l=!0,d=d||s),i=null;return l?function(e,t,n,r){var i,o,a,s,u,c,l,f;if(d){var h=t.length;for(f=new Array(h),u=0;u<$.length;u+=3)f[l=$[u]]=t[l]}else f=t;for(u=0,c=$.length;u<c;)a=f[$[u++]],i=$[u++],o=$[u++],i?(i.scope?(s=e.$new(),J.$$addScopeInfo(ce(a),s)):s=e,i(o,s,a,n,i.transcludeOnThisElement?T(e,i.transclude,r):!i.templateOnThisElement&&r?r:!r&&p?T(e,p):null)):o&&o(e,a.childNodes,void 0,r)}:null}function T(o,a,s){function e(e,t,n,r,i){return e||((e=o.$new(!1,i)).$$transcluded=!0),a(e,t,{parentBoundTranscludeFn:s,transcludeControllers:n,futureParentElement:r})}var t=e.$$slots=Me();for(var n in a.$$slots)a.$$slots[n]?t[n]=T(o,a.$$slots[n],s):t[n]=null;return e}function Y(e,t,n,r,i){var o,a,s,u,c,l=e.nodeType,f=n.$attr;switch(l){case Te:k(t,rn(be(e)),"E",r,i);for(var h,p,d,$,v,m,g=e.attributes,y=0,b=g&&g.length;y<b;y++){var w=!1,x=!1;p=(h=g[y]).name,v=ye(h.value),$=rn(p),(m=E.test($))&&(p=p.replace(nn,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var S=$.match(A);S&&V(S[1])&&(x=(w=p).substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),f[d=rn(p.toLowerCase())]=p,!m&&n.hasOwnProperty(d)||(n[d]=v,bt(e,d)&&(n[d]=!0)),I(e,t,v,d,m),k(t,d,"A",r,i,w,x)}if(pe(a=e.className)&&(a=a.animVal),de(a)&&""!==a)for(;o=P.exec(a);)k(t,d=rn(o[2]),"C",r,i)&&(n[d]=ye(o[3])),a=a.substr(o.index+o[0].length);break;case Ne:if(11===F)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===Ne;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);s=t,u=e.nodeValue,(c=C(u,!0))&&s.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&J.$$addBindingClass(t),function(e,t){var n=t.parent();r||J.$$addBindingClass(n),J.$$addBindingInfo(n,c.expressions),e.$watch(c,function(e){t[0].nodeValue=e})}}});break;case Ve:try{(o=D.exec(e.nodeValue))&&k(t,d=rn(o[1]),"M",r,i)&&(n[d]=ye(o[2]))}catch(e){}}return t.sort(j),t}function Z(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Xt("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==Te&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(0<i);else r.push(e);return ce(r)}function K(o,a,s){return function(e,t,n,r,i){return t=Z(t[0],a,s),o(e,t,n,r,i)}}function X(e,t,n,r,i,o){var a;return e?J(t,n,r,i,o):function(){return a||(a=J(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function N(e,w,x,t,n,r,S,C,i){i=i||{};for(var o,a,s,u,c,l=-Number.MAX_VALUE,E=i.newScopeDirective,A=i.controllerDirectives,k=i.newIsolateScopeDirective,O=i.templateDirective,f=i.nonTlbTranscludeDirective,h=!1,p=!1,M=i.hasElementTranscludeDirective,d=x.$$element=ce(w),$=r,v=t,m=!1,g=!1,y=0,b=e.length;y<b;y++){var T=(o=e[y]).$$start,N=o.$$end;if(T&&(d=Z(w,T,N)),s=void 0,l>o.priority)break;if((c=o.scope)&&(o.templateUrl||(pe(c)?(re("new/isolated scope",k||E,o,d),k=o):re("new/isolated scope",k,o,d)),E=E||o),a=o.name,!m&&(o.replace&&(o.templateUrl||o.template)||o.transclude&&!o.$$tlb)){for(var V,j=y+1;V=e[j++];)if(V.transclude&&!V.$$tlb||V.replace&&(V.templateUrl||V.template)){g=!0;break}m=!0}if(!o.templateUrl&&o.controller&&(c=o.controller,A=A||Me(),re("'"+a+"' controller",A[a],o,d),A[a]=o),c=o.transclude)if(h=!0,o.$$tlb||(re("transclusion",f,o,d),f=o),"element"==c)M=!0,l=o.priority,s=d,d=x.$$element=ce(J.$$createComment(a,x[a])),w=d[0],oe(n,Se(s),w),s[0].$$parentNode=s[0].parentNode,v=X(g,s,t,l,$&&$.name,{nonTlbTranscludeDirective:f});else{var I=Me();if(s=ce(nt(w)).contents(),pe(c)){s=[];var D=Me(),P=Me();for(var _ in le(c,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,D[e]=t,I[t]=null,P[t]=n}),le(d.contents(),function(e){var t=D[rn(be(e))];t?(P[t]=!0,I[t]=I[t]||[],I[t].push(e)):s.push(e)}),le(P,function(e,t){if(!e)throw Xt("reqslot","Required transclusion slot `{0}` was not filled.",t)}),I)I[_]&&(I[_]=X(g,I[_],t))}d.empty(),(v=X(g,s,t,void 0,void 0,{needsNewScope:o.$$isolateScope||o.$$newScope})).$$slots=I}if(o.template)if(p=!0,re("template",O,o,d),c=ve((O=o).template)?o.template(d,x):o.template,c=G(c),o.replace){if($=o,s=Ze(c)?[]:an(ie(o.templateNamespace,ye(c))),w=s[0],1!=s.length||w.nodeType!==Te)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",a,"");oe(n,d,w);var R={$attr:{}},q=Y(w,[],R),F=e.splice(y+1,e.length-(y+1));(k||E)&&ee(q,k,E),e=e.concat(q).concat(F),te(x,R),b=e.length}else d.html(c);if(o.templateUrl)p=!0,re("template",O,o,d),(O=o).replace&&($=o),H=ne(e.splice(y,e.length-y),d,x,n,h&&v,S,C,{controllerDirectives:A,newScopeDirective:E!==o&&E,newIsolateScopeDirective:k,templateDirective:O,nonTlbTranscludeDirective:f}),b=e.length;else if(o.compile)try{u=o.compile(d,x,v);var U=o.$$originalDirective||o;ve(u)?L(null,Ce(U,u),T,N):u&&L(Ce(U,u.pre),Ce(U,u.post),T,N)}catch(e){B(e,Ee(d))}o.terminal&&(H.terminal=!0,l=Math.max(l,o.priority))}return H.scope=E&&!0===E.scope,H.transcludeOnThisElement=h,H.templateOnThisElement=p,H.transclude=v,i.hasElementTranscludeDirective=M,H;function L(e,t,n,r){e&&(n&&(e=K(e,n,r)),e.require=o.require,e.directiveName=a,k!==o&&!o.$$isolateScope||(e=ae(e,{isolateScope:!0})),S.push(e)),t&&(n&&(t=K(t,n,r)),t.require=o.require,t.directiveName=a,k!==o&&!o.$$isolateScope||(t=ae(t,{isolateScope:!0})),C.push(t))}function H(e,t,n,r,a){var i,o,s,u,c,l,f,h,p,d;for(var $ in w===n?h=(p=x).$$element:p=new W(h=ce(n),x),c=t,k?u=t.$new(!0):E&&(c=t.$parent),a&&((f=function(e,t,n,r){var i;if(me(e)||(r=n,n=t,t=e,e=void 0),M&&(i=l),n||(n=M?h.parent():h),!r)return a(e,t,i,n,b);var o=a.$$slots[r];if(o)return o(e,t,i,n,b);if(he(o))throw Xt("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Ee(h))}).$$boundTransclude=a,f.isSlotFilled=function(e){return!!a.$$slots[e]}),A&&(l=function(e,t,n,r,i,o,a){var s=Me();for(var u in r){var c=r[u],l={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=c.controller;"@"==f&&(f=t[c.name]);var h=z(f,l,!0,c.controllerAs);s[c.name]=h,e.data("$"+c.name+"Controller",h.instance)}return s}(h,p,f,A,u,t,k)),k&&(J.$$addScopeInfo(h,u,!0,!(O&&(O===k||O===k.$$originalDirective))),J.$$addScopeClass(h,!0),u.$$isolateBindings=k.$$isolateBindings,(d=ue(t,p,u,u.$$isolateBindings,k)).removeWatches&&u.$on("$destroy",d.removeWatches)),l){var v=A[$],m=l[$],g=v.$$bindings.bindToController;m.identifier&&g?m.bindingInfo=ue(c,p,m.instance,g,v):m.bindingInfo={};var y=m();y!==m.instance&&(m.instance=y,h.data("$"+v.name+"Controller",y),m.bindingInfo.removeWatches&&m.bindingInfo.removeWatches(),m.bindingInfo=ue(c,p,m.instance,g,v))}for(le(A,function(e,t){var n=e.require;e.bindToController&&!$e(n)&&pe(n)&&fe(l[t].instance,Q(t,n,h,l))}),le(l,function(e){var t=e.instance;ve(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),ve(t.$onInit)&&t.$onInit(),ve(t.$onDestroy)&&c.$on("$destroy",function(){t.$onDestroy()})}),i=0,o=S.length;i<o;i++)se(s=S[i],s.isolateScope?u:t,h,p,s.require&&Q(s.directiveName,s.require,h,l),f);var b=t;for(k&&(k.template||null===k.templateUrl)&&(b=u),e&&e(b,n.childNodes,void 0,a),i=C.length-1;0<=i;i--)se(s=C[i],s.isolateScope?u:t,h,p,s.require&&Q(s.directiveName,s.require,h,l),f);le(l,function(e){var t=e.instance;ve(t.$postLink)&&t.$postLink()})}}function Q(n,e,r,i){var o;if(de(e)){var t=e.match(h),a=e.substring(t[0].length),s=t[1]||t[3],u="?"===t[2];if("^^"===s?r=r.parent():o=(o=i&&i[a])&&o.instance,!o){var c="$"+a+"Controller";o=s?r.inheritedData(c):r.data(c)}if(!o&&!u)throw Xt("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,n)}else if($e(e)){o=[];for(var l=0,f=e.length;l<f;l++)o[l]=Q(n,e[l],r,i)}else pe(e)&&(o={},le(e,function(e,t){o[t]=Q(n,e,r,i)}));return o||null}function ee(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=U(e[r],{$$isolateScope:t,$$newScope:n})}function k(e,t,n,r,i,o,a){if(t===i)return null;var s=null;if(d.hasOwnProperty(t))for(var u,c=p.get(t+$),l=0,f=c.length;l<f;l++)try{if(u=c[l],(he(r)||r>u.priority)&&-1!=u.restrict.indexOf(n)){if(o&&(u=U(u,{$$start:o,$$end:a})),!u.$$bindings){var h=u.$$bindings=v(u,u.name);pe(h.isolateScope)&&(u.$$isolateBindings=h.isolateScope)}e.push(u),s=u}}catch(e){B(e)}return s}function V(e){if(d.hasOwnProperty(e))for(var t=p.get(e+$),n=0,r=t.length;n<r;n++)if(t[n].multiElement)return!0;return!1}function te(n,r){var i=r.$attr,o=n.$attr,a=n.$$element;le(n,function(e,t){"$"!=t.charAt(0)&&(r[t]&&r[t]!==e&&(e+=("style"===t?";":" ")+r[t]),n.$set(t,e,!0,i[t]))}),le(r,function(e,t){"class"==t?(O(a,e),n.class=(n.class?n.class+" ":"")+e):"style"==t?(a.attr("style",a.attr("style")+";"+e),n.style=(n.style?n.style+";":"")+e):"$"==t.charAt(0)||n.hasOwnProperty(t)||(n[t]=e,o[t]=i[t])})}function ne(h,p,d,$,v,m,g,y){var b,w,x=[],S=p[0],C=h.shift(),E=U(C,{templateUrl:null,transclude:null,replace:null,$$originalDirective:C}),A=ve(C.templateUrl)?C.templateUrl(p,d):C.templateUrl,k=C.templateNamespace;return p.empty(),e(A).then(function(e){var n,t,r,i;if(e=G(e),C.replace){if(r=Ze(e)?[]:an(ie(k,ye(e))),n=r[0],1!=r.length||n.nodeType!==Te)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",C.name,A);t={$attr:{}},oe($,p,n);var o=Y(n,[],t);pe(C.scope)&&ee(o,!0),h=o.concat(h),te(d,t)}else n=S,p.html(e);for(h.unshift(E),b=N(h,n,d,v,p,C,m,g,y),le($,function(e,t){e==n&&($[t]=p[0])}),w=M(p[0].childNodes,v);x.length;){var a=x.shift(),s=x.shift(),u=x.shift(),c=x.shift(),l=p[0];if(!a.$$destroyed){if(s!==S){var f=s.className;y.hasElementTranscludeDirective&&C.replace||(l=nt(n)),oe(u,ce(s),l),O(ce(l),f)}i=b.transcludeOnThisElement?T(a,b.transclude,c):c,b(w,a,l,$,i)}}x=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(x?x.push(t,n,r,o):(b.transcludeOnThisElement&&(o=T(t,b.transclude,i)),b(w,t,n,r,o)))}}function j(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 re(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Xt("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,Ee(r))}function ie(e,t){switch(e=q(e||"html")){case"svg":case"math":var n=_.document.createElement("div");return n.innerHTML="<"+e+">"+t+"</"+e+">",n.childNodes[0].childNodes;default:return t}}function I(e,t,o,a,s){var u=function(e,t){if("srcdoc"==t)return r.HTML;var n=be(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?r.RESOURCE_URL:void 0}(e,a);s=l[a]||s;var c=C(o,!0,u,s);if(c){if("multiple"===a&&"select"===be(e))throw Xt("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Ee(e));t.push({priority:100,compile:function(){return{pre:function(e,t,n){var r=n.$$observers||(n.$$observers=Me());if(f.test(a))throw Xt("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var i=n[a];i!==o&&(c=i&&C(i,!0,u,s),o=i),c&&(n[a]=c(e),(r[a]||(r[a]=[])).$$inter=!0,(n.$$observers&&n.$$observers[a].$$scope||e).$watch(c,function(e,t){"class"===a&&e!=t?n.$updateClass(e,t):n.$set(a,e)}))}}}})}}function oe(e,t,n){var r,i,o=t[0],a=t.length,s=o.parentNode;if(e)for(r=0,i=e.length;r<i;r++)if(e[r]==o){e[r++]=n;for(var u=r,c=u+a-1,l=e.length;u<l;u++,c++)c<l?e[u]=e[c]:delete e[u];e.length-=a-1,e.context===o&&(e.context=n);break}s&&s.replaceChild(n,o);var f=_.document.createDocumentFragment();for(r=0;r<a;r++)f.appendChild(t[r]);for(ce.hasData(o)&&(ce.data(n,ce.data(o)),ce(o).off("$destroy")),ce.cleanData(f.querySelectorAll("*")),r=1;r<a;r++)delete t[r];t[0]=n,t.length=1}function ae(e,t){return fe(function(){return e.apply(null,arguments)},e,t)}function se(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){B(e,Ee(n))}}function ue(f,h,p,e,d){var r,$=[],v={};function m(e,t,n){ve(p.$onChanges)&&t!==n&&(a||(f.$$postDigest(s),a=[]),r||(r={},a.push(i)),r[e]&&(n=r[e].previousValue),r[e]=new tn(n,t))}function i(){p.$onChanges(r),r=void 0}return le(e,function(e,n){var t,r,i,o,a,s=e.attrName,u=e.optional;switch(e.mode){case"@":u||R.call(h,s)||(p[n]=h[s]=void 0),h.$observe(s,function(e){if(de(e)||ge(e)){var t=p[n];m(n,e,t),p[n]=e}}),h.$$observers[s].$$scope=f,de(t=h[s])?p[n]=C(t)(f):ge(t)&&(p[n]=t),v[n]=new tn(Qt,p[n]);break;case"=":if(!R.call(h,s)){if(u)break;h[s]=void 0}if(u&&!h[s])break;r=g(h[s]),o=r.literal?xe:function(e,t){return e===t||e!=e&&t!=t},i=r.assign||function(){throw t=p[n]=r(f),Xt("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",h[s],s,d.name)},t=p[n]=r(f);var c=function(e){return o(e,p[n])||(o(e,t)?i(f,e=p[n]):p[n]=e),t=e};c.$stateful=!0,a=e.collection?f.$watchCollection(h[s],c):f.$watch(g(h[s],c),null,r.literal),$.push(a);break;case"<":if(!R.call(h,s)){if(u)break;h[s]=void 0}if(u&&!h[s])break;r=g(h[s]);var l=p[n]=r(f);v[n]=new tn(Qt,p[n]),a=f.$watch(r,function(e,t){if(t===e){if(t===l)return;t=l}m(n,e,t),p[n]=e},r.literal),$.push(a);break;case"&":if((r=h.hasOwnProperty(s)?g(h[s]):L)===L&&u)break;p[n]=function(e){return r(f,e)}}}),{initialChanges:v,removeWatches:$.length&&function(){for(var e=0,t=$.length;e<t;++e)$[e]()}}}}]}function tn(e,t){this.previousValue=e,this.currentValue=t}en.$inject=["$provide","$$sanitizeUriProvider"],tn.prototype.isFirstChange=function(){return this.previousValue===Qt};var nn=/^((?:x|data)[\:\-_])/i;function rn(e){return Be(e.replace(nn,""))}function on(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+=(0<n.length?" ":"")+a}return n}function an(e){var t=(e=ce(e)).length;if(t<=1)return e;for(;t--;)e[t].nodeType===Ve&&n.call(e,t,1);return e}var sn=d("$controller"),un=/^(\S+)(\s+as\s+([\w$]+))?$/;function cn(e,t){if(t&&de(t))return t;if(de(e)){var n=un.exec(e);if(n)return n[3]}}function ln(){var h={},p=!1;this.has=function(e){return h.hasOwnProperty(e)},this.register=function(e,t){se(e,"controller"),pe(e)?fe(h,e):h[e]=t},this.allowGlobals=function(){p=!0},this.$get=["$injector","$window",function(c,l){return function(t,n,e,r){var i,o,a,s;if(e=!0===e,r&&de(r)&&(s=r),de(t)){if(!(o=t.match(un)))throw sn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);a=o[1],s=s||o[3],ae(t=h.hasOwnProperty(a)?h[a]:ue(n.$scope,a,!0)||(p?ue(l,a,!0):void 0),a,!0)}if(e){var u=($e(t)?t[t.length-1]:t).prototype;return i=Object.create(u||null),s&&f(n,s,i,a||t.name),fe(function(){var e=c.invoke(t,i,n,a);return e!==i&&(pe(e)||ve(e))&&(i=e,s&&f(n,s,i,a||t.name)),i},{instance:i,identifier:s})}return i=c.instantiate(t,n,a),s&&f(n,s,i,a||t.name),i};function f(e,t,n,r){if(!e||!pe(e.$scope))throw d("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function fn(){this.$get=["$window",function(e){return ce(e.document)}]}function hn(){this.$get=["$log",function(n){return function(e,t){n.error.apply(n,arguments)}}]}function pn(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof ce&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]}function dn(e){return function(){throw bn("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}}var $n="application/json",vn={"Content-Type":$n+";charset=utf-8"},mn=/^\[|^\{(?!\{)/,gn={"[":/]$/,"{":/}$/},yn=/^\)\]\}',?\n/,bn=d("$http");function wn(e){return pe(e)?C(e)?e.toISOString():G(e):e}function xn(){this.$get=function(){return function(e){if(!e)return"";var n=[];return h(e,function(e,t){null===e||he(e)||($e(e)?le(e,function(e){n.push(te(t)+"="+te(wn(e)))}):n.push(te(t)+"="+te(wn(e))))}),n.join("&")}}}function Sn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function n(e,r,i){null===e||he(e)||($e(e)?le(e,function(e,t){n(e,r+"["+(pe(e)?t:"")+"]")}):pe(e)&&!C(e)?h(e,function(e,t){n(e,r+(i?"":"[")+t+(i?"":"]"))}):t.push(te(r)+"="+te(wn(e))))}(e,"",!0),t.join("&")}}}function Cn(e,t){if(de(e)){var n=e.replace(yn,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf($n)||(o=(i=n).match(mn))&&gn[o[0]].test(i))&&(e=J(n))}}var i,o;return e}function En(e){var t,n=Me();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return de(e)?le(e.split("\n"),function(e){t=e.indexOf(":"),r(q(ye(e.substr(0,t))),ye(e.substr(t+1)))}):pe(e)&&le(e,function(e,t){r(q(t),ye(e))}),n}function An(n){var r;return function(e){if(r||(r=En(n)),e){var t=r[q(e)];return void 0===t&&(t=null),t}return r}}function kn(t,n,r,e){return ve(e)?e(t,n,r):(le(e,function(e){t=e(t,n,r)}),t)}function On(e){return 200<=e&&e<300}function Mn(){var w=this.defaults={transformResponse:[Cn],transformRequest:[function(e){return pe(e)&&(r=e,"[object File]"!==S.call(r))&&(n=e,"[object Blob]"!==S.call(n))&&(t=e,"[object FormData]"!==S.call(t))?G(e):e;var t,n,r}],headers:{common:{Accept:"application/json, text/plain, */*"},post:P(vn),put:P(vn),patch:P(vn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},x=!1;this.useApplyAsync=function(e){return H(e)?(x=!!e,this):x};var c=!0;this.useLegacyPromiseExtensions=function(e){return H(e)?(c=!!e,this):c};var t=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function($,v,e,m,g,s){var y=e("$http");w.paramSerializer=de(w.paramSerializer)?s.get(w.paramSerializer):w.paramSerializer;var u=[];function b(e){if(!pe(e))throw d("$http")("badreq","Http request configuration must be an object. Received: {0}",e);if(!de(e.url))throw d("$http")("badreq","Http request configuration url must be a string. Received: {0}",e.url);var n=fe({method:"get",transformRequest:w.transformRequest,transformResponse:w.transformResponse,paramSerializer:w.paramSerializer},e);n.headers=function(e){var t,n,r,i,o,a,s,u=w.headers,c=fe({},e.headers);u=fe({},u.common,u[q(e.method)]);e:for(t in u){for(r in n=q(t),c)if(q(r)===n)continue e;c[t]=u[t]}return i=c,o=P(e),s={},le(i,function(e,t){ve(e)?null!=(a=e(o))&&(s[t]=a):s[t]=e}),s}(e),n.method=l(n.method),n.paramSerializer=de(n.paramSerializer)?s.get(n.paramSerializer):n.paramSerializer;var t=[function(e){var n=e.headers,t=kn(e.data,An(n),void 0,e.transformRequest);return he(t)&&le(n,function(e,t){"content-type"===q(t)&&delete n[t]}),he(e.withCredentials)&&!he(w.withCredentials)&&(e.withCredentials=w.withCredentials),function(i,e){var o,t,n,r,a=g.defer(),s=a.promise,u=i.headers,c=(n=i.url,0<(r=i.paramSerializer(i.params)).length&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n);if(b.pendingRequests.push(i),s.then(d,d),!i.cache&&!w.cache||!1===i.cache||"GET"!==i.method&&"JSONP"!==i.method||(o=pe(i.cache)?i.cache:pe(w.cache)?w.cache:y),o&&(H(t=o.get(c))?T(t)?t.then(p,p):$e(t)?h(t[1],t[0],P(t[2]),t[3]):h(t,200,{},"OK"):o.put(c,s)),he(t)){var l=Gr(i.url)?v()[i.xsrfCookieName||w.xsrfCookieName]:void 0;l&&(u[i.xsrfHeaderName||w.xsrfHeaderName]=l),$(i.method,c,e,function(e,t,n,r){function i(){h(t,e,n,r)}o&&(On(e)?o.put(c,[e,t,En(n),r]):o.remove(c)),x?m.$applyAsync(i):(i(),m.$$phase||m.$apply())},u,i.timeout,i.withCredentials,i.responseType,f(i.eventHandlers),f(i.uploadEventHandlers))}return s;function f(e){if(e){var t={};return le(e,function(n,e){t[e]=function(e){function t(){n(e)}x?m.$applyAsync(t):m.$$phase?t():m.$apply(t)}}),t}}function h(e,t,n,r){(On(t=-1<=t?t:0)?a.resolve:a.reject)({data:e,status:t,headers:An(n),config:i,statusText:r})}function p(e){h(e.data,e.status,P(e.headers()),e.statusText)}function d(){var e=b.pendingRequests.indexOf(i);-1!==e&&b.pendingRequests.splice(e,1)}}(e,t).then(a,a)},void 0],r=g.when(n);for(le(u,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&t.push(e.response,e.responseError)});t.length;){var i=t.shift(),o=t.shift();r=r.then(i,o)}return c?(r.success=function(t){return ae(t,"fn"),r.then(function(e){t(e.data,e.status,e.headers,n)}),r},r.error=function(t){return ae(t,"fn"),r.then(null,function(e){t(e.data,e.status,e.headers,n)}),r}):(r.success=dn("success"),r.error=dn("error")),r;function a(e){var t=fe({},e);return t.data=kn(e.data,e.headers,e.status,n.transformResponse),On(e.status)?t:g.reject(t)}}return le(t,function(e){u.unshift(de(e)?s.get(e):s.invoke(e))}),b.pendingRequests=[],function(e){le(arguments,function(n){b[n]=function(e,t){return b(fe({},t||{},{method:n,url:e}))}})}("get","delete","head","jsonp"),function(e){le(arguments,function(r){b[r]=function(e,t,n){return b(fe({},n||{},{method:r,url:e,data:t}))}})}("post","put","patch"),b.defaults=w,b}]}function Tn(){this.$get=function(){return function(){return new _.XMLHttpRequest}}}function Nn(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return S=r,C=(x=e).defer,E=t.angular.callbacks,A=n[0],function(e,r,t,i,n,o,a,s,u,c){if(x.$$incOutstandingRequestCount(),r=r||x.url(),"jsonp"==q(e)){var l="_"+(E.counter++).toString(36);E[l]=function(e){E[l].data=e,E[l].called=!0};var f=(d=r.replace("JSON_CALLBACK","angular.callbacks."+l),$=l,v=function(e,t){w(i,e,E[l].data,"",t),E[l]=L},m=A.createElement("script"),g=null,m.type="text/javascript",m.src=d,m.async=!0,g=function(e){qe(m,"load",g),qe(m,"error",g),A.body.removeChild(m),m=null;var t=-1,n="unknown";e&&("load"!==e.type||E[$].called||(e={type:"error"}),n=e.type,t="error"===e.type?404:200),v(t,n)},Pe(m,"load",g),Pe(m,"error",g),A.body.appendChild(m),g)}else{var h=S(e,r);h.open(e,r,!0),le(n,function(e,t){H(e)&&h.setRequestHeader(t,e)}),h.onload=function(){var e=h.statusText||"",t="response"in h?h.response:h.responseText,n=1223===h.status?204:h.status;0===n&&(n=t?200:"file"==Wr(r).protocol?404:0),w(i,n,t,h.getAllResponseHeaders(),e)};var p=function(){w(i,-1,null,null,"")};if(h.onerror=p,h.onabort=p,le(u,function(e,t){h.addEventListener(t,e)}),le(c,function(e,t){h.upload.addEventListener(t,e)}),a&&(h.withCredentials=!0),s)try{h.responseType=s}catch(e){if("json"!==s)throw e}h.send(he(t)?null:t)}var d,$,v,m,g;if(0<o)var y=C(b,o);else T(o)&&o.then(b);function b(){f&&f(),h&&h.abort()}function w(e,t,n,r,i){H(y)&&C.cancel(y),f=h=null,e(t,n,r,i),x.$$completeOutstandingRequest(L)}};var x,S,C,E,A}]}var Vn=E.$interpolateMinErr=d("$interpolate");function jn(){var C="{{",E="}}";this.startSymbol=function(e){return e?(C=e,this):C},this.endSymbol=function(e){return e?(E=e,this):E},this.$get=["$parse","$exceptionHandler","$sce",function(m,g,y){var b=C.length,w=E.length,t=new RegExp(C.replace(/./g,e),"g"),n=new RegExp(E.replace(/./g,e),"g");function e(e){return"\\\\\\"+e}function x(e){return e.replace(t,C).replace(n,E)}function S(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function r(i,e,t,r){var n;if(!i.length||-1===i.indexOf(C))return e||((n=A(x(i))).exp=i,n.expressions=[],n.$$watchDelegate=S),n;r=!!r;for(var o,a,s,u=0,c=[],l=[],f=i.length,h=[],p=[];u<f;){if(-1==(o=i.indexOf(C,u))||-1==(a=i.indexOf(E,o+b))){u!==f&&h.push(x(i.substring(u)));break}u!==o&&h.push(x(i.substring(u,o))),s=i.substring(o+b,a),c.push(s),l.push(m(s,v)),u=a+w,p.push(h.length),h.push("")}if(t&&1<h.length&&Vn.throwNoconcat(i),!e||c.length){var d=function(e){for(var t=0,n=c.length;t<n;t++){if(r&&he(e[t]))return;h[p[t]]=e[t]}return h.join("")},$=function(e){return t?y.getTrusted(t,e):y.valueOf(e)};return fe(function(e){var t=0,n=c.length,r=new Array(n);try{for(;t<n;t++)r[t]=l[t](e);return d(r)}catch(e){g(Vn.interr(i,e))}},{exp:i,expressions:c,$$watchDelegate:function(r,i){var o;return r.$watchGroup(l,function(e,t){var n=d(e);ve(i)&&i.call(this,n,e!==t?o:n,r),o=n})}})}function v(e){try{return e=$(e),r&&!H(e)?e:function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=G(e)}return e}(e)}catch(e){g(Vn.interr(i,e))}}}return r.startSymbol=function(){return C},r.endSymbol=function(){return E},r}]}function In(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(p,d,$,v,m){var g={};function e(e,t,n,r){var i=4<arguments.length,o=i?Se(arguments,4):[],a=d.setInterval,s=d.clearInterval,u=0,c=H(r)&&!r,l=(c?v:$).defer(),f=l.promise;return n=H(n)?n:0,f.$$intervalId=a(function(){c?m.defer(h):p.$evalAsync(h),l.notify(u++),0<n&&n<=u&&(l.resolve(u),s(f.$$intervalId),delete g[f.$$intervalId]),c||p.$apply()},t),g[f.$$intervalId]=l,f;function h(){i?e.apply(null,o):e(u)}}return e.cancel=function(e){return!!(e&&e.$$intervalId in g)&&(g[e.$$intervalId].reject("canceled"),d.clearInterval(e.$$intervalId),delete g[e.$$intervalId],!0)},e}]}Vn.throwNoconcat=function(e){throw Vn("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",e)},Vn.interr=function(e,t){return Vn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Dn=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Pn={http:80,https:443,ftp:21},_n=d("$location");function Rn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function qn(e,t){var n=Wr(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=g(n.port)||Pn[n.protocol]||null}function Fn(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=Wr(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 Un(e,t){return 0===e.lastIndexOf(t,0)}function Ln(e,t){if(Un(t,e))return t.substr(e.length)}function Hn(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Bn(e){return e.replace(/(#.+)|#$/,"$1")}function zn(o,a,s){this.$$html5=!0,s=s||"",qn(o,this),this.$$parse=function(e){var t=Ln(a,e);if(!de(t))throw _n("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,a);Fn(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Rn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=a+this.$$url.substr(1)},this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(H(n=Ln(o,e))?i=H(n=Ln(s,r=n))?a+(Ln("/",n)||n):o+r:H(n=Ln(a,e))?i=a+n:a==e+"/"&&(i=a),i&&this.$$parse(i),!!i);var n,r,i}}function Wn(u,c,l){qn(u,this),this.$$parse=function(e){var t,n,r,i,o,a,s=Ln(u,e)||Ln(c,e);he(s)||"#"!==s.charAt(0)?this.$$html5?t=s:(t="",he(s)&&(u=e,this.replace())):he(t=Ln(l,s))&&(t=s),Fn(t,this),this.$$path=(n=this.$$path,a=/^\/[A-Z]:(\/.*)/,Un(r=t,i=u)&&(r=r.replace(i,"")),a.exec(r)?n:(o=a.exec(n))?o[1]:n),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Rn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=u+(this.$$url?l+this.$$url:"")},this.$$parseLinkUrl=function(e,t){return Hn(u)==Hn(e)&&(this.$$parse(e),!0)}}function Gn(i,o,a){this.$$html5=!0,Wn.apply(this,arguments),this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(i==Hn(e)?n=e:(r=Ln(o,e))?n=i+a+r:o===e+"/"&&(n=o),n&&this.$$parse(n),!!n);var n,r},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Rn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+a+this.$$url}}var Jn={$$html5:!1,$$replace:!1,absUrl:Yn("$$absUrl"),url:function(e){if(he(e))return this.$$url;var t=Dn.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:Yn("$$protocol"),host:Yn("$$host"),port:Yn("$$port"),path:Zn("$$path",function(e){return"/"==(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(n,e){switch(arguments.length){case 0:return this.$$search;case 1:if(de(n)||w(n))n=n.toString(),this.$$search=X(n);else{if(!pe(n))throw _n("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");le(n=D(n,{}),function(e,t){null==e&&delete n[t]}),this.$$search=n}break;default:he(e)||null===e?delete this.$$search[n]:this.$$search[n]=e}return this.$$compose(),this},hash:Zn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function Yn(e){return function(){return this[e]}}function Zn(t,n){return function(e){return he(e)?this[t]:(this[t]=n(e),this.$$compose(),this)}}function Kn(){var m="",g={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return H(e)?(m=e,this):m},this.html5Mode=function(e){return ge(e)?(g.enabled=e,this):pe(e)?(ge(e.enabled)&&(g.enabled=e.enabled),ge(e.requireBase)&&(g.requireBase=e.requireBase),ge(e.rewriteLinks)&&(g.rewriteLinks=e.rewriteLinks),this):g},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(a,s,t,i,o){var u,e,n,r,c=s.baseHref(),l=s.url();if(g.enabled){if(!c&&g.requireBase)throw _n("nobase","$location in HTML5 mode requires a <base> tag to be present!");n=(r=l).substring(0,r.indexOf("/",r.indexOf("//")+2))+(c||"/"),e=t.history?zn:Gn}else n=Hn(l),e=Wn;var f,h=(f=n).substr(0,Hn(f).lastIndexOf("/")+1);(u=new e(n,h,"#"+m)).$$parseLinkUrl(l,l),u.$$state=s.state();var p=/^\s*(javascript|mailto):/i;function d(e,t,n){var r=u.url(),i=u.$$state;try{s.url(e,t,n),u.$$state=s.state()}catch(e){throw u.url(r),u.$$state=i,e}}i.on("click",function(e){if(g.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var t=ce(e.target);"a"!==be(t[0]);)if(t[0]===i[0]||!(t=t.parent())[0])return;var n=t.prop("href"),r=t.attr("href")||t.attr("xlink:href");pe(n)&&"[object SVGAnimatedString]"===n.toString()&&(n=Wr(n.animVal).href),p.test(n)||!n||t.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(n,r)&&(e.preventDefault(),u.absUrl()!=s.url()&&(a.$apply(),o.angular["ff-684208-preventDefault"]=!0))}}),Bn(u.absUrl())!=Bn(l)&&s.url(u.absUrl(),!0);var $=!0;return s.onUrlChange(function(r,i){he(Ln(h,r))?o.location.href=r:(a.$evalAsync(function(){var e,t=u.absUrl(),n=u.$$state;r=Bn(r),u.$$parse(r),u.$$state=i,e=a.$broadcast("$locationChangeStart",r,t,i,n).defaultPrevented,u.absUrl()===r&&(e?(u.$$parse(t),d(t,!1,u.$$state=n)):($=!1,v(t,n)))}),a.$$phase||a.$digest())}),a.$watch(function(){var n=Bn(s.url()),e=Bn(u.absUrl()),r=s.state(),i=u.$$replace,o=n!==e||u.$$html5&&t.history&&r!==u.$$state;($||o)&&($=!1,a.$evalAsync(function(){var e=u.absUrl(),t=a.$broadcast("$locationChangeStart",e,n,u.$$state,r).defaultPrevented;u.absUrl()===e&&(t?(u.$$parse(n),u.$$state=r):(o&&d(e,i,r===u.$$state?null:u.$$state),v(n,r)))})),u.$$replace=!1}),u;function v(e,t){a.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}}]}function Xn(){var n=!0,r=this;this.debugEnabled=function(e){return H(e)?(n=e,this):n},this.$get=["$window",function(i){return{log:t("log"),info:t("info"),warn:t("warn"),error:t("error"),debug:(e=t("debug"),function(){n&&e.apply(r,arguments)})};var e;function t(e){var t=i.console||{},r=t[e]||t.log||L,n=!1;try{n=!!r.apply}catch(e){}return n?function(){var n=[];return le(arguments,function(e){var t;n.push(((t=e)instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t))}),r.apply(t,n)}:function(e,t){r(e,null==t?"":t)}}}]}le([Gn,Wn,zn],function(t){t.prototype=Object.create(Jn),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==zn||!this.$$html5)throw _n("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=he(e)?null:e,this}});var Qn=d("$parse");function er(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Qn("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tr(e){return e+""}function nr(e,t){if(e){if(e.constructor===e)throw Qn("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw Qn("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Qn("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw Qn("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}var rr=Function.prototype.call,ir=Function.prototype.apply,or=Function.prototype.bind;function ar(e,t){if(e){if(e.constructor===e)throw Qn("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===rr||e===ir||e===or)throw Qn("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function sr(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw Qn("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}var ur=Me();le("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){ur[e]=!0});function cr(e){this.options=e}var lr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'};cr.prototype={constructor:cr,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.isIdentifierStart(this.peekMultichar()))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=ur[t],o=ur[n],a=ur[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)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return 55296<=n&&n<=56319&&56320<=r&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=H(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Qn("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=q(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(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}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 n+=lr[o]||o;i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var fr=function(e,t){this.lexer=e,this.options=t};function hr(e,t){return void 0!==e?e:t}function pr(e,t){return void 0===e?t:void 0===t?e:e+t}function dr(e,t){return!e(t).$stateful}function $r(e,t){var n,r;switch(e.type){case fr.Program:n=!0,le(e.body,function(e){$r(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case fr.Literal:e.constant=!0,e.toWatch=[];break;case fr.UnaryExpression:$r(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case fr.BinaryExpression:$r(e.left,t),$r(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case fr.LogicalExpression:$r(e.left,t),$r(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case fr.ConditionalExpression:$r(e.test,t),$r(e.alternate,t),$r(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case fr.Identifier:e.constant=!1,e.toWatch=[e];break;case fr.MemberExpression:$r(e.object,t),e.computed&&$r(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case fr.CallExpression:n=!!e.filter&&dr(t,e.callee.name),r=[],le(e.arguments,function(e){$r(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&dr(t,e.callee.name)?r:[e];break;case fr.AssignmentExpression:$r(e.left,t),$r(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case fr.ArrayExpression:n=!0,r=[],le(e.elements,function(e){$r(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case fr.ObjectExpression:n=!0,r=[],le(e.properties,function(e){$r(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case fr.ThisExpression:case fr.LocalsExpression:e.constant=!1,e.toWatch=[]}}function vr(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function mr(e){return e.type===fr.Identifier||e.type===fr.MemberExpression}function gr(e){if(1===e.body.length&&mr(e.body[0].expression))return{type:fr.AssignmentExpression,left:e.body[0].expression,right:{type:fr.NGValueParameter},operator:"="}}function yr(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===fr.Literal||e.body[0].expression.type===fr.ArrayExpression||e.body[0].expression.type===fr.ObjectExpression)}function br(e){return e.constant}function wr(e,t){this.astBuilder=e,this.$filter=t}function xr(e,t){this.astBuilder=e,this.$filter=t}fr.Program="Program",fr.ExpressionStatement="ExpressionStatement",fr.AssignmentExpression="AssignmentExpression",fr.ConditionalExpression="ConditionalExpression",fr.LogicalExpression="LogicalExpression",fr.BinaryExpression="BinaryExpression",fr.UnaryExpression="UnaryExpression",fr.CallExpression="CallExpression",fr.MemberExpression="MemberExpression",fr.Identifier="Identifier",fr.Literal="Literal",fr.ArrayExpression="ArrayExpression",fr.Property="Property",fr.ObjectExpression="ObjectExpression",fr.ThisExpression="ThisExpression",fr.LocalsExpression="LocalsExpression",fr.NGValueParameter="NGValueParameter",fr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:fr.Program,body:e}},expressionStatement:function(){return{type:fr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:fr.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:fr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:fr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:fr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:fr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:fr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:fr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:fr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:fr.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=D(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:fr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:fr.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:fr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:fr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:fr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)for(;e.push(this.expression()),this.expect(","););return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:fr.Identifier,name:e.text}},constant:function(){return{type:fr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:fr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:fr.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:fr.ObjectExpression,properties:t}},throwError:function(e,t){throw Qn("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))},consume:function(e){if(0===this.tokens.length)throw Qn("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Qn("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)},selfReferential:{this:{type:fr.ThisExpression},$locals:{type:fr.LocalsExpression}}},wr.prototype={compile:function(e,t){var i=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},$r(n,i.$filter);var r,o="";if(this.stage="assign",r=gr(n)){this.state.computing="assign";var a=this.nextId();this.recurse(r,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=vr(n.body);i.stage="inputs",le(s,function(e,t){var n="fn"+t;i.state[n]={vars:[],body:[],own:{}},i.state.computing=n;var r=i.nextId();i.recurse(e,r),i.return_(r),i.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",u)(this.$filter,er,nr,ar,tr,sr,hr,pr,e);return this.state=this.stage=void 0,c.literal=yr(n),c.constant=br(n),c},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return le(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var n=[],r=this;return le(this.state.filters,function(e,t){n.push(e+"=$filter("+r.escape(t)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(n,t,e,r,i,o){var a,s,u,c,l,f=this;if(r=r||L,!o&&H(n.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",n.watchId)),this.lazyRecurse(n,t,e,r,i,!0));switch(n.type){case fr.Program:le(n.body,function(e,t){f.recurse(e.expression,void 0,void 0,function(e){s=e}),t!==n.body.length-1?f.current().body.push(s,";"):f.return_(s)});break;case fr.Literal:c=this.escape(n.value),this.assign(t,c),r(c);break;case fr.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(e){s=e}),c=n.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),r(c);break;case fr.BinaryExpression:this.recurse(n.left,void 0,void 0,function(e){a=e}),this.recurse(n.right,void 0,void 0,function(e){s=e}),c="+"===n.operator?this.plus(a,s):"-"===n.operator?this.ifDefined(a,0)+n.operator+this.ifDefined(s,0):"("+a+")"+n.operator+"("+s+")",this.assign(t,c),r(c);break;case fr.LogicalExpression:t=t||this.nextId(),f.recurse(n.left,t),f.if_("&&"===n.operator?t:f.not(t),f.lazyRecurse(n.right,t)),r(t);break;case fr.ConditionalExpression:t=t||this.nextId(),f.recurse(n.test,t),f.if_(t,f.lazyRecurse(n.alternate,t),f.lazyRecurse(n.consequent,t)),r(t);break;case fr.Identifier:t=t||this.nextId(),e&&(e.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),e.computed=!1,e.name=n.name),er(n.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",n.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.not(f.nonComputedMember("s",n.name)),f.lazyAssign(f.nonComputedMember("s",n.name),"{}")),f.assign(t,f.nonComputedMember("s",n.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",n.name))),(f.state.expensiveChecks||Cr(n.name))&&f.addEnsureSafeObject(t),r(t);break;case fr.MemberExpression:a=e&&(e.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(n.object,a,void 0,function(){f.if_(f.notNull(a),function(){i&&1!==i&&f.addEnsureSafeAssignContext(a),n.computed?(s=f.nextId(),f.recurse(n.property,s),f.getStringValue(s),f.addEnsureSafeMemberName(s),i&&1!==i&&f.if_(f.not(f.computedMember(a,s)),f.lazyAssign(f.computedMember(a,s),"{}")),c=f.ensureSafeObject(f.computedMember(a,s)),f.assign(t,c),e&&(e.computed=!0,e.name=s)):(er(n.property.name),i&&1!==i&&f.if_(f.not(f.nonComputedMember(a,n.property.name)),f.lazyAssign(f.nonComputedMember(a,n.property.name),"{}")),c=f.nonComputedMember(a,n.property.name),(f.state.expensiveChecks||Cr(n.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),e&&(e.computed=!1,e.name=n.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!i);break;case fr.CallExpression:t=t||this.nextId(),n.filter?(s=f.filter(n.callee.name),u=[],le(n.arguments,function(e){var t=f.nextId();f.recurse(e,t),u.push(t)}),c=s+"("+u.join(",")+")",f.assign(t,c),r(t)):(s=f.nextId(),a={},u=[],f.recurse(n.callee,s,a,function(){f.if_(f.notNull(s),function(){f.addEnsureSafeFunction(s),le(n.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){u.push(f.ensureSafeObject(e))})}),c=a.name?(f.state.expensiveChecks||f.addEnsureSafeObject(a.context),f.member(a.context,a.name,a.computed)+"("+u.join(",")+")"):s+"("+u.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),r(t)}));break;case fr.AssignmentExpression:if(s=this.nextId(),a={},!mr(n.left))throw Qn("lval","Trying to assign a value to a non l-value");this.recurse(n.left,void 0,a,function(){f.if_(f.notNull(a.context),function(){f.recurse(n.right,s),f.addEnsureSafeObject(f.member(a.context,a.name,a.computed)),f.addEnsureSafeAssignContext(a.context),c=f.member(a.context,a.name,a.computed)+n.operator+s,f.assign(t,c),r(t||c)})},1);break;case fr.ArrayExpression:u=[],le(n.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){u.push(e)})}),c="["+u.join(",")+"]",this.assign(t,c),r(c);break;case fr.ObjectExpression:l=!(u=[]),le(n.properties,function(e){e.computed&&(l=!0)}),l?(t=t||this.nextId(),this.assign(t,"{}"),le(n.properties,function(e){e.computed?(a=f.nextId(),f.recurse(e.key,a)):a=e.key.type===fr.Identifier?e.key.name:""+e.key.value,s=f.nextId(),f.recurse(e.value,s),f.assign(f.member(t,a,e.computed),s)})):(le(n.properties,function(t){f.recurse(t.value,n.constant?void 0:f.nextId(),void 0,function(e){u.push(f.escape(t.key.type===fr.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+u.join(",")+"}",this.assign(t,c)),r(t||c);break;case fr.ThisExpression:this.assign(t,"s"),r("s");break;case fr.LocalsExpression:this.assign(t,"l"),r("l");break;case fr.NGValueParameter:this.assign(t,"v"),r("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/[$_a-zA-Z][$_a-zA-Z0-9]*/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(de(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw Qn("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},xr.prototype={compile:function(e,t){var n,r,i=this,o=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,$r(o,i.$filter),(n=gr(o))&&(r=this.recurse(n));var a,s=vr(o.body);s&&(a=[],le(s,function(e,t){var n=i.recurse(e);e.input=n,a.push(n),e.watchId=t}));var u=[];le(o.body,function(e){u.push(i.recurse(e.expression))});var c=0===o.body.length?L:1===o.body.length?u[0]:function(t,n){var r;return le(u,function(e){r=e(t,n)}),r};return r&&(c.assign=function(e,t,n){return r(e,n,t)}),a&&(c.inputs=a),c.literal=yr(o),c.constant=br(o),c},recurse:function(e,u,t){var a,c,l,f=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case fr.Literal:return this.value(e.value,u);case fr.UnaryExpression:return c=this.recurse(e.argument),this["unary"+e.operator](c,u);case fr.BinaryExpression:case fr.LogicalExpression:return a=this.recurse(e.left),c=this.recurse(e.right),this["binary"+e.operator](a,c,u);case fr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),u);case fr.Identifier:return er(e.name,f.expression),f.identifier(e.name,f.expensiveChecks||Cr(e.name),u,t,f.expression);case fr.MemberExpression:return a=this.recurse(e.object,!1,!!t),e.computed||(er(e.property.name,f.expression),c=e.property.name),e.computed&&(c=this.recurse(e.property)),e.computed?this.computedMember(a,c,u,t,f.expression):this.nonComputedMember(a,c,f.expensiveChecks,u,t,f.expression);case fr.CallExpression:return l=[],le(e.arguments,function(e){l.push(f.recurse(e))}),e.filter&&(c=this.$filter(e.callee.name)),e.filter||(c=this.recurse(e.callee,!0)),e.filter?function(e,t,n,r){for(var i=[],o=0;o<l.length;++o)i.push(l[o](e,t,n,r));var a=c.apply(void 0,i,r);return u?{context:void 0,name:void 0,value:a}:a}:function(e,t,n,r){var i,o=c(e,t,n,r);if(null!=o.value){nr(o.context,f.expression),ar(o.value,f.expression);for(var a=[],s=0;s<l.length;++s)a.push(nr(l[s](e,t,n,r),f.expression));i=nr(o.value.apply(o.context,a),f.expression)}return u?{value:i}:i};case fr.AssignmentExpression:return a=this.recurse(e.left,!0,1),c=this.recurse(e.right),function(e,t,n,r){var i=a(e,t,n,r),o=c(e,t,n,r);return nr(i.value,f.expression),sr(i.context),i.context[i.name]=o,u?{value:o}:o};case fr.ArrayExpression:return l=[],le(e.elements,function(e){l.push(f.recurse(e))}),function(e,t,n,r){for(var i=[],o=0;o<l.length;++o)i.push(l[o](e,t,n,r));return u?{value:i}:i};case fr.ObjectExpression:return l=[],le(e.properties,function(e){e.computed?l.push({key:f.recurse(e.key),computed:!0,value:f.recurse(e.value)}):l.push({key:e.key.type===fr.Identifier?e.key.name:""+e.key.value,computed:!1,value:f.recurse(e.value)})}),function(e,t,n,r){for(var i={},o=0;o<l.length;++o)l[o].computed?i[l[o].key(e,t,n,r)]=l[o].value(e,t,n,r):i[l[o].key]=l[o].value(e,t,n,r);return u?{value:i}:i};case fr.ThisExpression:return function(e){return u?{value:e}:e};case fr.LocalsExpression:return function(e,t){return u?{value:t}:t};case fr.NGValueParameter:return function(e,t,n){return u?{value:n}:n}}},"unary+":function(o,a){return function(e,t,n,r){var i=o(e,t,n,r);return i=H(i)?+i:0,a?{value:i}:i}},"unary-":function(o,a){return function(e,t,n,r){var i=o(e,t,n,r);return i=H(i)?-i:0,a?{value:i}:i}},"unary!":function(o,a){return function(e,t,n,r){var i=!o(e,t,n,r);return a?{value:i}:i}},"binary+":function(o,a,s){return function(e,t,n,r){var i=pr(o(e,t,n,r),a(e,t,n,r));return s?{value:i}:i}},"binary-":function(s,u,c){return function(e,t,n,r){var i=s(e,t,n,r),o=u(e,t,n,r),a=(H(i)?i:0)-(H(o)?o:0);return c?{value:a}:a}},"binary*":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)*a(e,t,n,r);return s?{value:i}:i}},"binary/":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)/a(e,t,n,r);return s?{value:i}:i}},"binary%":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)%a(e,t,n,r);return s?{value:i}:i}},"binary===":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)===a(e,t,n,r);return s?{value:i}:i}},"binary!==":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)!==a(e,t,n,r);return s?{value:i}:i}},"binary==":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)==a(e,t,n,r);return s?{value:i}:i}},"binary!=":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)!=a(e,t,n,r);return s?{value:i}:i}},"binary<":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)<a(e,t,n,r);return s?{value:i}:i}},"binary>":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)>a(e,t,n,r);return s?{value:i}:i}},"binary<=":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)<=a(e,t,n,r);return s?{value:i}:i}},"binary>=":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)>=a(e,t,n,r);return s?{value:i}:i}},"binary&&":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)&&a(e,t,n,r);return s?{value:i}:i}},"binary||":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r)||a(e,t,n,r);return s?{value:i}:i}},"ternary?:":function(o,a,s,u){return function(e,t,n,r){var i=o(e,t,n,r)?a(e,t,n,r):s(e,t,n,r);return u?{value:i}:i}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(a,s,u,c,l){return function(e,t,n,r){var i=t&&a in t?t:e;c&&1!==c&&i&&!i[a]&&(i[a]={});var o=i?i[a]:void 0;return s&&nr(o,l),u?{context:i,name:a,value:o}:o}},computedMember:function(s,u,c,l,f){return function(e,t,n,r){var i,o,a=s(e,t,n,r);return null!=a&&(er(i=tr(i=u(e,t,n,r)),f),l&&1!==l&&(sr(a),a&&!a[i]&&(a[i]={})),nr(o=a[i],f)),c?{context:a,name:i,value:o}:o}},nonComputedMember:function(a,s,u,c,l,f){return function(e,t,n,r){var i=a(e,t,n,r);l&&1!==l&&(sr(i),i&&!i[s]&&(i[s]={}));var o=null!=i?i[s]:void 0;return(u||Cr(s))&&nr(o,f),c?{context:i,name:s,value:o}:o}},inputs:function(i,o){return function(e,t,n,r){return r?r[o]:i(e,t,n)}}};function Sr(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new fr(e,n),this.astCompiler=n.csp?new xr(this.ast,t):new wr(this.ast,t)}function Cr(e){return"constructor"==e}Sr.prototype={constructor:Sr,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var Er=Object.prototype.valueOf;function Ar(e){return ve(e.valueOf)?e.valueOf():Er.call(e)}function kr(){var n,r,y=Me(),b=Me(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(e,t){return n=e,r=t,this},this.$get=["$filter",function(c){var e=B().noUnsafeEval,l={csp:e,expensiveChecks:!1,literals:D(i),isIdentifierStart:ve(n)&&n,isIdentifierContinue:ve(r)&&r},f={csp:e,expensiveChecks:!0,literals:D(i),isIdentifierStart:ve(n)&&n,isIdentifierContinue:ve(r)&&r},h=!1;return t.$$runningExpensiveChecks=function(){return h},t;function t(e,t,n){var r,i,o;switch(n=n||h,typeof e){case"string":e=e.trim();var a=n?b:y;if(!(r=a[o=e])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=n?f:l,u=new cr(s);(r=new Sr(u,c,s).parse(e)).constant?r.$$watchDelegate=m:i?r.$$watchDelegate=r.literal?v:$:r.inputs&&(r.$$watchDelegate=d),n&&(r=function e(o){if(!o)return o;n.$$watchDelegate=o.$$watchDelegate,n.assign=e(o.assign),n.constant=o.constant,n.literal=o.literal;for(var t=0;o.inputs&&t<o.inputs.length;++t)o.inputs[t]=e(o.inputs[t]);return n.inputs=o.inputs,n;function n(e,t,n,r){var i=h;h=!0;try{return o(e,t,n,r)}finally{h=i}}}(r)),a[o]=r}return g(r,t);case"function":return g(e,t);default:return g(L,t)}}function p(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=Ar(e)))&&(e===t||e!=e&&t!=t)}function d(e,t,n,o,r){var a,s=o.inputs;if(1===s.length){var i=p;return s=s[0],e.$watch(function(e){var t=s(e);return p(t,i)||(a=o(e,void 0,void 0,[t]),i=t&&Ar(t)),a},t,n,r)}for(var u=[],c=[],l=0,f=s.length;l<f;l++)u[l]=p,c[l]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var i=s[n](e);(t||(t=!p(i,u[n])))&&(c[n]=i,u[n]=i&&Ar(i))}return t&&(a=o(e,void 0,void 0,c)),a},t,n,r)}function $(e,r,t,n){var i,o;return i=e.$watch(function(e){return n(e)},function(e,t,n){o=e,ve(r)&&r.apply(this,arguments),H(e)&&n.$$postDigest(function(){H(o)&&i()})},t)}function v(e,r,t,n){var i,o;return i=e.$watch(function(e){return n(e)},function(e,t,n){o=e,ve(r)&&r.call(this,e,t,n),a(e)&&n.$$postDigest(function(){a(o)&&i()})},t);function a(e){var t=!0;return le(e,function(e){H(e)||(t=!1)}),t}}function m(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function g(a,s){if(!s)return a;var e=a.$$watchDelegate,o=!1,t=e!==v&&e!==$?function(e,t,n,r){var i=o&&r?r[0]:a(e,t,n,r);return s(i,e,t)}:function(e,t,n,r){var i=a(e,t,n,r),o=s(i,e,t);return H(i)?o:i};return a.$$watchDelegate&&a.$$watchDelegate!==d?t.$$watchDelegate=a.$$watchDelegate:s.$stateful||(t.$$watchDelegate=d,o=!a.inputs,t.inputs=a.inputs?a.inputs:[a]),t}}]}function Or(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return Tr(function(e){t.$evalAsync(e)},e)}]}function Mr(){this.$get=["$browser","$exceptionHandler",function(t,e){return Tr(function(e){t.defer(e)},e)}]}function Tr(t,a){var n=d("$q",TypeError);function e(){this.$$state={status:0}}function o(t,n){return function(e){n.call(t,e)}}function s(e){!e.processScheduled&&e.pending&&(e.processScheduled=!0,t(function(){!function(e){var t,n,r;r=e.pending,e.processScheduled=!1,e.pending=void 0;for(var i=0,o=r.length;i<o;++i){n=r[i][0],t=r[i][e.status];try{ve(t)?n.resolve(t(e.value)):1===e.status?n.resolve(e.value):n.reject(e.value)}catch(e){n.reject(e),a(e)}}}(e)}))}function u(){this.promise=new e}function i(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise}function c(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)}fe(e.prototype,{then:function(e,t,n){if(he(e)&&he(t)&&he(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&s(this.$$state),r.promise},catch:function(e){return this.then(null,e)},finally:function(t,e){return this.then(function(e){return r(e,!0,t)},function(e){return r(e,!1,t)},e)}}),fe(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(n("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var t,n=this,r=!1;try{(pe(e)||ve(e))&&(t=e&&e.then),ve(t)?(this.promise.$$state.status=-1,t.call(e,function(e){r||(r=!0,n.$$resolve(e))},i,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(e){i(e),a(e)}function i(e){r||(r=!0,n.$$reject(e))}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(i){var o=this.promise.$$state.pending;this.promise.$$state.status<=0&&o&&o.length&&t(function(){for(var e,t,n=0,r=o.length;n<r;n++){t=o[n][0],e=o[n][3];try{t.notify(ve(e)?e(i):i)}catch(e){a(e)}}})}});var r=function(e,t,n){var r=null;try{ve(n)&&(r=n())}catch(e){return i(e,!1)}return T(r)?r.then(function(){return i(e,t)},function(e){return i(e,!1)}):i(e,t)},l=c;function f(e){if(!ve(e))throw n("norslvr","Expected resolverFn, got '{0}'",e);var t=new u;return e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise}return f.prototype=e.prototype,f.defer=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e},f.reject=function(e){var t=new u;return t.reject(e),t.promise},f.when=c,f.resolve=l,f.all=function(e){var n=new u,r=0,i=$e(e)?[]:{};return le(e,function(e,t){r++,c(e).then(function(e){i.hasOwnProperty(t)||(i[t]=e,--r||n.resolve(i))},function(e){i.hasOwnProperty(t)||n.reject(e)})}),0===r&&n.resolve(i),n.promise},f}function Nr(){this.$get=["$window","$timeout",function(e,n){var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,t=!!r,o=t?function(e){var t=r(e);return function(){i(t)}}:function(e){var t=n(e,16.66,!1);return function(){n.cancel(t)}};return o.supported=t,o}]}function Vr(){var C=10,E=d("$rootScope"),A=null,k=null;this.digestTtl=function(e){return arguments.length&&(C=e),C},this.$get=["$exceptionHandler","$parse","$browser",function(p,d,$){function i(e){e.currentScope.$$destroyed=!0}function o(){this.$id=O(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,(this.$root=this).$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}o.prototype={constructor:o,$new:function(e,t){var n;return t=t||this,e?(n=new o).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=(r.prototype=this,r)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,!e&&t==this||n.$on("$destroy",i),n;function r(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=O(),this.$$ChildScope=null}},$watch:function(e,t,n,r){var i=d(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,s={fn:t,last:x,get:i,exp:r||e,eq:!!n};return A=null,ve(t)||(s.fn=L),a||(a=o.$$watchers=[]),a.unshift(s),u(this,1),function(){0<=we(a,s)&&u(o,-1),A=null}},$watchGroup:function(e,r){var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,t=!0;if(!e.length){var n=!0;return s.$evalAsync(function(){n&&r(o,o,s)}),function(){n=!1}}if(1===e.length)return this.$watch(e[0],function(e,t,n){o[0]=e,i[0]=t,r(o,e===t?o:i,n)});function c(){u=!1,t?(t=!1,r(o,o,s)):r(o,i,s)}return le(e,function(e,n){var t=s.$watch(e,function(e,t){o[n]=e,i[n]=t,u||(u=!0,s.$evalAsync(c))});a.push(t)}),function(){for(;a.length;)a.shift()()}},$watchCollection:function(e,n){p.$stateful=!0;var a,s,r,i=this,o=1<n.length,u=0,t=d(e,p),c=[],l={},f=!0,h=0;function p(e){var t,n,r,i;if(!he(a=e)){if(pe(a))if(I(a)){s!==c&&(h=(s=c).length=0,u++),t=a.length,h!==t&&(u++,s.length=h=t);for(var o=0;o<t;o++)i=s[o],r=a[o],i!=i&&r!=r||i===r||(u++,s[o]=r)}else{for(n in s!==l&&(s=l={},h=0,u++),t=0,a)R.call(a,n)&&(t++,r=a[n],i=s[n],n in s?i!=i&&r!=r||i===r||(u++,s[n]=r):(h++,s[n]=r,u++));if(t<h)for(n in u++,s)R.call(a,n)||(h--,delete s[n])}else s!==a&&(s=a,u++);return u}}return this.$watch(t,function(){if(f?(f=!1,n(a,a,i)):n(a,r,i),o)if(pe(a))if(I(a)){r=new Array(a.length);for(var e=0;e<a.length;e++)r[e]=a[e]}else for(var t in r={},a)R.call(a,t)&&(r[t]=a[t]);else r=a})},$digest:function(){var e,t,n,r,i,o,a,s,u,c,l=C,f=[];b("$digest"),$.$$checkUrlChange(),this===v&&null!==k&&($.defer.cancel(k),S()),A=null;do{o=!1,s=this;for(var h=0;h<m.length;h++){try{(c=m[h]).scope.$eval(c.expression,c.locals)}catch(e){p(e)}A=null}m.length=0;e:do{if(r=s.$$watchers)for(i=r.length;i--;)try{if(e=r[i])if((t=(0,e.get)(s))===(n=e.last)||(e.eq?xe(t,n):"number"==typeof t&&"number"==typeof n&&isNaN(t)&&isNaN(n))){if(e===A){o=!1;break e}}else o=!0,(A=e).last=e.eq?D(t,null):t,(0,e.fn)(t,n===x?t:n,s),l<5&&(f[u=4-l]||(f[u]=[]),f[u].push({msg:ve(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:t,oldVal:n}))}catch(e){p(e)}if(!(a=s.$$watchersCount&&s.$$childHead||s!==this&&s.$$nextSibling))for(;s!==this&&!(a=s.$$nextSibling);)s=s.$parent}while(s=a);if((o||m.length)&&!l--)throw w(),E("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",C,f)}while(o||m.length);for(w();y<g.length;)try{g[y++]()}catch(e){p(e)}g.length=y=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===v&&$.$$applicationDestroyed(),u(this,-this.$$watchersCount),this.$$listenerCount)a(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&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=L,this.$on=this.$watch=this.$watchGroup=function(){return L},this.$$listeners={},this.$$nextSibling=null,function e(t){9===F&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return d(e)(this,t)},$evalAsync:function(e,t){v.$$phase||m.length||$.defer(function(){m.length&&v.$digest()}),m.push({scope:this,expression:d(e),locals:t})},$$postDigest:function(e){g.push(e)},$apply:function(e){try{b("$apply");try{return this.$eval(e)}finally{w()}}catch(e){p(e)}finally{try{v.$digest()}catch(e){throw p(e),e}}},$applyAsync:function(e){var t=this;e&&n.push(function(){t.$eval(e)}),e=d(e),null===k&&(k=$.defer(function(){v.$apply(S)}))},$on:function(t,n){var r=this.$$listeners[t];r||(this.$$listeners[t]=r=[]),r.push(n);for(var e=this;e.$$listenerCount[t]||(e.$$listenerCount[t]=0),e.$$listenerCount[t]++,e=e.$parent;);var i=this;return function(){var e=r.indexOf(n);-1!==e&&(r[e]=null,a(i,1,t))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=W([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,c)}catch(e){p(e)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=n,i=n,o={name:e,targetScope:n,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return o;for(var a,s,u,c=W([o],arguments,1);r=i;){for(s=0,u=(a=(o.currentScope=r).$$listeners[e]||[]).length;s<u;s++)if(a[s])try{a[s].apply(null,c)}catch(e){p(e)}else a.splice(s,1),s--,u--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}};var v=new o,m=v.$$asyncQueue=[],g=v.$$postDigestQueue=[],n=v.$$applyAsyncQueue=[],y=0;return v;function b(e){if(v.$$phase)throw E("inprog","{0} already in progress",v.$$phase);v.$$phase=e}function w(){v.$$phase=null}function u(e,t){for(;e.$$watchersCount+=t,e=e.$parent;);}function a(e,t,n){for(;e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n],e=e.$parent;);}function x(){}function S(){for(;n.length;)try{n.shift()()}catch(e){p(e)}k=null}}]}function jr(){var i=/^\s*(https?|ftp|mailto|tel|file):/,o=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return H(e)?(i=e,this):i},this.imgSrcSanitizationWhitelist=function(e){return H(e)?(o=e,this):o},this.$get=function(){return function(e,t){var n,r=t?o:i;return""===(n=Wr(e).href)||n.match(r)?e:"unsafe:"+n}}}var Ir=d("$sce"),Dr={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function Pr(e){var t=[];return H(e)&&le(e,function(e){t.push(function(e){if("self"===e)return e;if(de(e)){if(-1<e.indexOf("***"))throw Ir("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=V(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(k(e))return new RegExp("^"+e.source+"$");throw Ir("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function _r(){this.SCE_CONTEXTS=Dr;var s=["self"],u=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(s=Pr(e)),s},this.resourceUrlBlacklist=function(e){return arguments.length&&(u=Pr(e)),u},this.$get=["$injector",function(e){var n=function(e){throw Ir("unsafe","Attempting to use an unsafe value in a safe context.")};function o(e,t){return"self"===e?Gr(t):!!e.exec(t.href)}function t(e){function t(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}e.has("$sanitize")&&(n=e.get("$sanitize"));var r=t(),a={};return a[Dr.HTML]=t(r),a[Dr.CSS]=t(r),a[Dr.URL]=t(r),a[Dr.JS]=t(r),a[Dr.RESOURCE_URL]=t(a[Dr.URL]),{trustAs:function(e,t){var n=a.hasOwnProperty(e)?a[e]:null;if(!n)throw Ir("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||he(t)||""===t)return t;if("string"!=typeof t)throw Ir("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,i){if(null===i||he(i)||""===i)return i;var t=a.hasOwnProperty(e)?a[e]:null;if(t&&i instanceof t)return i.$$unwrapTrustedValue();if(e===Dr.RESOURCE_URL){if(function(){var e,t,n=Wr(i.toString()),r=!1;for(e=0,t=s.length;e<t;e++)if(o(s[e],n)){r=!0;break}if(r)for(e=0,t=u.length;e<t;e++)if(o(u[e],n)){r=!1;break}return r}())return i;throw Ir("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",i.toString())}if(e===Dr.HTML)return n(i);throw Ir("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof r?e.$$unwrapTrustedValue():e}}}]}function Rr(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(r,e){if(t&&F<8)throw Ir("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 i=P(Dr);i.isEnabled=function(){return t},i.trustAs=e.trustAs,i.getTrusted=e.getTrusted,i.valueOf=e.valueOf,t||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=x),i.parseAs=function(t,e){var n=r(e);return n.literal&&n.constant?n:r(e,function(e){return i.getTrusted(t,e)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return le(Dr,function(t,e){var n=q(e);i[Be("parse_as_"+n)]=function(e){return o(t,e)},i[Be("get_trusted_"+n)]=function(e){return a(t,e)},i[Be("trust_as_"+n)]=function(e){return s(t,e)}}),i}]}function qr(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=!(e.chrome&&e.chrome.app&&e.chrome.app.runtime)&&e.history&&e.history.pushState,a=g((/android (\d+)/.exec(q((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),u=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,l=u.body&&u.body.style,f=!1,h=!1;if(l){for(var p in l)if(r=c.exec(p)){n=(n=r[0])[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),f=!!("transition"in l||n+"Transition"in l),h=!!("animation"in l||n+"Animation"in l),!a||f&&h||(f=de(l.webkitTransition),h=de(l.webkitAnimation))}return{history:!(!o||a<4||s),hasEvent:function(e){if("input"===e&&F<=11)return!1;if(he(i[e])){var t=u.createElement("div");i[e]="on"+e in t}return i[e]},csp:B(),vendorPrefix:n,transitions:f,animations:h,android:a}}]}var Fr=d("$compile");function Ur(){var u;this.httpOptions=function(e){return e?(u=e,this):u},this.$get=["$templateCache","$http","$q","$sce",function(r,i,o,a){function s(t,n){s.totalPendingRequests++,de(t)&&!he(r.get(t))||(t=a.getTrustedResourceUrl(t));var e=i.defaults&&i.defaults.transformResponse;return $e(e)?e=e.filter(function(e){return e!==Cn}):e===Cn&&(e=null),i.get(t,fe({cache:r,transformResponse:e},u)).finally(function(){s.totalPendingRequests--}).then(function(e){return r.put(t,e.data),e.data},function(e){if(n)return o.reject(e);throw Fr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",t,e.status,e.statusText)})}return s.totalPendingRequests=0,s}]}function Lr(){this.$get=["$rootScope","$browser","$location",function(t,n,r){return{findBindings:function(e,n,r){var t=e.getElementsByClassName("ng-binding"),i=[];return le(t,function(t){var e=E.element(t).data("$binding");e&&le(e,function(e){r?new RegExp("(^|\\s)"+V(n)+"(\\s|\\||$)").test(e)&&i.push(t):-1!=e.indexOf(n)&&i.push(t)})}),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',a=e.querySelectorAll(o);if(a.length)return a}},getLocation:function(){return r.url()},setLocation:function(e){e!==r.url()&&(r.url(e),t.$digest())},whenStable:function(e){n.notifyWhenNoOutstandingRequests(e)}}}]}function Hr(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(u,c,l,f,h){var p={};function e(e,t,n){ve(e)||(n=t,t=e,e=L);var r,i=Se(arguments,3),o=H(n)&&!n,a=(o?f:l).defer(),s=a.promise;return r=c.defer(function(){try{a.resolve(e.apply(null,i))}catch(e){a.reject(e),h(e)}finally{delete p[s.$$timeoutId]}o||u.$apply()},t),s.$$timeoutId=r,p[r]=a,s}return e.cancel=function(e){return!!(e&&e.$$timeoutId in p)&&(p[e.$$timeoutId].reject("canceled"),delete p[e.$$timeoutId],c.defer.cancel(e.$$timeoutId))},e}]}var Br=_.document.createElement("a"),zr=Wr(_.location.href);function Wr(e){var t=e;return F&&(Br.setAttribute("href",t),t=Br.href),Br.setAttribute("href",t),{href:Br.href,protocol:Br.protocol?Br.protocol.replace(/:$/,""):"",host:Br.host,search:Br.search?Br.search.replace(/^\?/,""):"",hash:Br.hash?Br.hash.replace(/^#/,""):"",hostname:Br.hostname,port:Br.port,pathname:"/"===Br.pathname.charAt(0)?Br.pathname:"/"+Br.pathname}}function Gr(e){var t=de(e)?Wr(e):e;return t.protocol===zr.protocol&&t.host===zr.host}function Jr(){this.$get=A(_)}function Yr(e){var a=e[0]||{},s={},u="";function c(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var e,t,n,r,i,o=a.cookie||"";if(o!==u)for(e=(u=o).split("; "),s={},n=0;n<e.length;n++)0<(r=(t=e[n]).indexOf("="))&&(i=c(t.substring(0,r)),he(s[i])&&(s[i]=c(t.substring(r+1))));return s}}function Zr(){this.$get=Yr}function Kr(r){var i="Filter";function o(e,t){if(pe(e)){var n={};return le(e,function(e,t){n[t]=o(t,e)}),n}return r.factory(e+i,t)}this.register=o,this.$get=["$injector",function(t){return function(e){return t.get(e+i)}}],o("currency",ii),o("date",vi),o("filter",Xr),o("json",mi),o("limitTo",bi),o("lowercase",gi),o("number",oi),o("orderBy",wi),o("uppercase",yi)}function Xr(){return function(e,t,n){if(!I(e)){if(null==e)return e;throw d("filter")("notarray","Expected array but received: {0}",e)}var r,i,o,a,s,u;switch(ei(t)){case"function":r=t;break;case"boolean":case"null":case"number":case"string":i=!0;case"object":a=n,s=i,u=pe(o=t)&&"$"in o,!0===a?a=xe:ve(a)||(a=function(e,t){return!(he(e)||(null===e||null===t?e!==t:pe(t)||pe(e)&&!y(e)||(e=q(""+e),t=q(""+t),-1===e.indexOf(t))))}),r=function(e){return u&&!pe(e)?Qr(e,o.$,a,!1):Qr(e,o,a,s)};break;default:return e}return Array.prototype.filter.call(e,r)}}function Qr(e,t,n,r,i){var o=ei(e),a=ei(t);if("string"===a&&"!"===t.charAt(0))return!Qr(e,t.substring(1),n,r);if($e(e))return e.some(function(e){return Qr(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Qr(e[s],t,n,!0))return!0;return!i&&Qr(e,t,n,!1)}if("object"!==a)return n(e,t);for(s in t){var u=t[s];if(!ve(u)&&!he(u)){var c="$"===s;if(!Qr(c?e:e[s],u,n,c,c))return!1}}return!0;case"function":return!1;default:return n(e,t)}}function ei(e){return null===e?"null":typeof e}Yr.$inject=["$document"],Kr.$inject=["$provide"];var ti=22,ni=".",ri="0";function ii(e){var r=e.NUMBER_FORMATS;return function(e,t,n){return he(t)&&(t=r.CURRENCY_SYM),he(n)&&(n=r.PATTERNS[1].maxFrac),null==e?e:ai(e,r.PATTERNS[1],r.GROUP_SEP,r.DECIMAL_SEP,n).replace(/\u00A4/g,t)}}function oi(e){var n=e.NUMBER_FORMATS;return function(e,t){return null==e?e:ai(e,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,t)}}function ai(e,t,n,r,i){if(!de(e)&&!w(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",c="";if(a)c="∞";else{!function(e,t,n,r){var i=e.d,o=i.length-e.i,a=(t=he(t)?Math.min(Math.max(n,o),r):+t)+e.i,s=i[a];if(0<a){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(5<=s)if(a-1<0){for(var l=0;a<l;l--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)}(o=function(e){var t,n,r,i,o,a=0;for(-1<(n=e.indexOf(ni))&&(e=e.replace(ni,"")),0<(r=e.search(/e/i))?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==ri;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==ri;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return ti<n&&(t=t.splice(0,ti-1),a=n-1,n=1),{d:t,e:a,i:n}}(u),i,t.minFrac,t.maxFrac);var l=o.d,f=o.i,h=o.e,p=[];for(s=l.reduce(function(e,t){return e&&!t},!0);f<0;)l.unshift(0),f++;0<f?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=t.lgSize&&d.unshift(l.splice(-t.lgSize,l.length).join(""));l.length>t.gSize;)d.unshift(l.splice(-t.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),c=d.join(n),p.length&&(c+=r+p.join("")),h&&(c+="e+"+h)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function si(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=ri+e;return n&&(e=e.substr(e.length-t)),i+e}function ui(n,r,i,o,a){return i=i||0,function(e){var t=e["get"+n]();return(0<i||-i<t)&&(t+=i),0===t&&-12==i&&(t=12),si(t,r,o,a)}}function ci(r,i,o){return function(e,t){var n=e["get"+r]();return t[l((o?"STANDALONE":"")+(i?"SHORT":"")+r)][n]}}function li(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function fi(i){return function(e){var t,n=li(e.getFullYear()),r=(t=e,+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n);return si(1+Math.round(r/6048e5),i)}}function hi(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}ii.$inject=["$locale"];var pi={yyyy:ui("FullYear",4,0,(oi.$inject=["$locale"],!1),!0),yy:ui("FullYear",2,0,!0,!0),y:ui("FullYear",1,0,!1,!0),MMMM:ci("Month"),MMM:ci("Month",!0),MM:ui("Month",2,1),M:ui("Month",1,1),LLLL:ci("Month",!1,!0),dd:ui("Date",2),d:ui("Date",1),HH:ui("Hours",2),H:ui("Hours",1),hh:ui("Hours",2,-12),h:ui("Hours",1,-12),mm:ui("Minutes",2),m:ui("Minutes",1),ss:ui("Seconds",2),s:ui("Seconds",1),sss:ui("Milliseconds",3),EEEE:ci("Day"),EEE:ci("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n;return(0<=r?"+":"")+(si(Math[0<r?"floor":"ceil"](r/60),2)+si(Math.abs(r%60),2))},ww:fi(2),w:fi(1),G:hi,GG:hi,GGG:hi,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},di=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,$i=/^\-?\d+$/;function vi(u){var f=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e,n){var r,i,o="",a=[];if(e=e||"mediumDate",e=u.DATETIME_FORMATS[e]||e,de(t)&&(t=$i.test(t)?g(t):function(e){var t;if(t=e.match(f)){var n=new Date(0),r=0,i=0,o=t[8]?n.setUTCFullYear:n.setFullYear,a=t[8]?n.setUTCHours:n.setHours;t[9]&&(r=g(t[9]+t[10]),i=g(t[9]+t[11])),o.call(n,g(t[1]),g(t[2])-1,g(t[3]));var s=g(t[4]||0)-r,u=g(t[5]||0)-i,c=g(t[6]||0),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(n,s,u,c,l),n}return e}(t)),w(t)&&(t=new Date(t)),!C(t)||!isFinite(t.getTime()))return t;for(;e;)e=(i=di.exec(e))?(a=W(a,i,1)).pop():(a.push(e),null);var s=t.getTimezoneOffset();return n&&(s=Y(n,s),t=Z(t,n,!0)),le(a,function(e){r=pi[e],o+=r?r(t,u.DATETIME_FORMATS,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),o}}function mi(){return function(e,t){return he(t)&&(t=2),G(e,t)}}vi.$inject=["$locale"];var gi=A(q),yi=A(l);function bi(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):g(t),isNaN(t)?e:(w(e)&&(e=e.toString()),$e(e)||de(e)?(n=(n=!n||isNaN(n)?0:g(n))<0?Math.max(0,e.length+n):n,0<=t?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function wi(o){return function(e,t,n){if(null==e)return e;if(!I(e))throw d("orderBy")("notarray","Expected array but received: {0}",e);$e(t)||(t=[t]),0===t.length&&(t=["+"]);var i,u=(i=(i=n)?-1:1,t.map(function(e){var t=1,n=x;if(ve(e))n=e;else if(de(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(t="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(n=o(e)).constant)){var r=n();n=function(e){return e[r]}}return{get:n,descending:t*i}}));u.push({get:function(){return{}},descending:n?-1:1});var r=Array.prototype.map.call(e,function(a,s){return{value:a,predicateValues:u.map(function(e){return t=e.get(a),n=s,o=typeof t,null===t?(o="string",t="null"):"string"===o?t=t.toLowerCase():"object"===o&&(i=n,t="function"==typeof(r=t).valueOf&&c(r=r.valueOf())?r:y(r)&&c(r=r.toString())?r:i),{value:t,type:o};var t,n,r,i,o})}});return r.sort(function(e,t){for(var n=0,r=0,i=u.length;r<i&&(o=e.predicateValues[r],a=t.predicateValues[r],s=void 0,s=0,o.type===a.type?o.value!==a.value&&(s=o.value<a.value?-1:1):s=o.type<a.type?-1:1,!(n=s*u[r].descending));++r);var o,a,s;return n}),r.map(function(e){return e.value})};function c(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}}function xi(e){return ve(e)&&(e={link:e}),e.restrict=e.restrict||"AC",A(e)}wi.$inject=["$parse"];var Si=A({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===S.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Ci={};le(mt,function(e,r){if("multiple"!=e){var i=rn("ng-"+r),t=o;"checked"===e&&(t=function(e,t,n){n.ngModel!==n[i]&&o(e,0,n)}),Ci[i]=function(){return{restrict:"A",priority:100,link:t}}}function o(e,t,n){e.$watch(n[i],function(e){n.$set(r,!!e)})}}),le(yt,function(e,i){Ci[i]=function(){return{priority:100,link:function(e,t,n){if("ngPattern"===i&&"/"==n.ngPattern.charAt(0)){var r=n.ngPattern.match(o);if(r)return void n.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(n[i],function(e){n.$set(i,e)})}}}}),le(["src","srcset","href"],function(o){var a=rn("ng-"+o);Ci[a]=function(){return{priority:99,link:function(e,t,n){var r=o,i=o;"href"===o&&"[object SVGAnimatedString]"===S.call(t.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$observe(a,function(e){e?(n.$set(i,e),F&&r&&t.prop(r,n[i])):"href"===o&&n.$set(i,null)})}}}});var Ei={$addControl:L,$$renameControl:function(e,t){e.$name=t},$removeControl:L,$setValidity:L,$setDirty:L,$setPristine:L,$setSubmitted:L},Ai="ng-submitted";function ki(e,t,n,r,i){var o=this,a=[];o.$error={},o.$$success={},o.$pending=void 0,o.$name=i(t.name||t.ngForm||"")(n),o.$dirty=!1,o.$pristine=!0,o.$valid=!0,o.$invalid=!1,o.$submitted=!1,o.$$parentForm=Ei,o.$rollbackViewValue=function(){le(a,function(e){e.$rollbackViewValue()})},o.$commitViewValue=function(){le(a,function(e){e.$commitViewValue()})},o.$addControl=function(e){se(e.$name,"input"),a.push(e),e.$name&&(o[e.$name]=e),e.$$parentForm=o},o.$$renameControl=function(e,t){var n=e.$name;o[n]===e&&delete o[n],(o[t]=e).$name=t},o.$removeControl=function(n){n.$name&&o[n.$name]===n&&delete o[n.$name],le(o.$pending,function(e,t){o.$setValidity(t,null,n)}),le(o.$error,function(e,t){o.$setValidity(t,null,n)}),le(o.$$success,function(e,t){o.$setValidity(t,null,n)}),we(a,n),n.$$parentForm=Ei},To({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(we(r,n),0===r.length&&delete e[t])},$animate:r}),o.$setDirty=function(){r.removeClass(e,yo),r.addClass(e,bo),o.$dirty=!0,o.$pristine=!1,o.$$parentForm.$setDirty()},o.$setPristine=function(){r.setClass(e,yo,bo+" "+Ai),o.$dirty=!1,o.$pristine=!0,o.$submitted=!1,le(a,function(e){e.$setPristine()})},o.$setUntouched=function(){le(a,function(e){e.$setUntouched()})},o.$setSubmitted=function(){r.addClass(e,Ai),o.$submitted=!0,o.$$parentForm.$setSubmitted()}}function Oi(n){return["$timeout","$parse",function(u,t){return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:ki,compile:function(e,t){e.addClass(yo).addClass(mo);var s=t.name?"name":!(!n||!t.ngForm)&&"ngForm";return{pre:function(t,e,n,r){var i=r[0];if(!("action"in n)){var o=function(e){t.$apply(function(){i.$commitViewValue(),i.$setSubmitted()}),e.preventDefault()};Pe(e[0],"submit",o),e.on("$destroy",function(){u(function(){qe(e[0],"submit",o)},0,!1)})}(r[1]||i.$$parentForm).$addControl(i);var a=s?c(i.$name):L;s&&(a(t,i),n.$observe(s,function(e){i.$name!==e&&(a(t,void 0),i.$$parentForm.$$renameControl(i,e),(a=c(i.$name))(t,i))})),e.on("$destroy",function(){i.$$parentForm.$removeControl(i),a(t,void 0),fe(i,Ei)})}}}};function c(e){return""===e?t('this[""]').assign:t(e).assign||L}}]}ki.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Mi=Oi(),Ti=Oi(!0),Ni=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Vi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ji=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Ii=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Di=/^(\d{4,})-(\d{2})-(\d{2})$/,Pi=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,_i=/^(\d{4,})-W(\d\d)$/,Ri=/^(\d{4,})-(\d\d)$/,qi=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Fi="keydown wheel mousedown",Ui=Me();le("date,datetime-local,month,time,week".split(","),function(e){Ui[e]=!0});var Li={text:function(e,t,n,r,i,o){Bi(e,t,n,r,i,o),Hi(r)},date:Wi("date",Di,zi(Di,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Wi("datetimelocal",Pi,zi(Pi,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Wi("time",qi,zi(qi,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Wi("week",_i,function(e,t){if(C(e))return e;if(de(e)){_i.lastIndex=0;var n=_i.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,c=li(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 NaN},"yyyy-Www"),month:Wi("month",Ri,zi(Ri,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o){var a,s;Gi(e,t,n,r),Bi(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Ii.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!w(e))throw Ao("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),(H(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||he(a)||a<=e},n.$observe("min",function(e){H(e)&&!w(e)&&(e=parseFloat(e,10)),a=w(e)&&!isNaN(e)?e:void 0,r.$validate()}));(H(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||he(s)||e<=s},n.$observe("max",function(e){H(e)&&!w(e)&&(e=parseFloat(e,10)),s=w(e)&&!isNaN(e)?e:void 0,r.$validate()}))},url:function(e,t,n,r,i,o){Bi(e,t,n,r,i,o),Hi(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Vi.test(n)}},email:function(e,t,n,r,i,o){Bi(e,t,n,r,i,o),Hi(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||ji.test(n)}},radio:function(e,t,n,r){he(n.name)&&t.attr("name",O()),t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)},checkbox:function(e,t,n,r,i,o,a,s){var u=Ji(s,e,"ngTrueValue",n.ngTrueValue,!0),c=Ji(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return xe(e,u)}),r.$parsers.push(function(e){return e?u:c})},hidden:L,button:L,submit:L,reset:L,file:L};function Hi(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function Bi(e,r,i,o,t,a){var s,u=q(r[0].type);if(!t.android){var c=!1;r.on("compositionstart",function(){c=!0}),r.on("compositionend",function(){c=!1,l()})}var l=function(e){if(s&&(a.defer.cancel(s),s=null),!c){var t=r.val(),n=e&&e.type;"password"===u||i.ngTrim&&"false"===i.ngTrim||(t=ye(t)),(o.$viewValue!==t||""===t&&o.$$hasNativeValidators)&&o.$setViewValue(t,n)}};if(t.hasEvent("input"))r.on("input",l);else{var n=function(e,t,n){s||(s=a.defer(function(){s=null,t&&t.value===n||l(e)}))};r.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||n(e,this,this.value)}),t.hasEvent("paste")&&r.on("paste cut",n)}r.on("change",l),Ui[u]&&o.$$hasNativeValidators&&u===i.type&&r.on(Fi,function(e){if(!s){var t=this[f],n=t.badInput,r=t.typeMismatch;s=a.defer(function(){s=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),o.$render=function(){var e=o.$isEmpty(o.$viewValue)?"":o.$viewValue;r.val()!==e&&r.val(e)}}function zi(i,o){return function(e,t){var n,r;if(C(e))return e;if(de(e)){if('"'==e.charAt(0)&&'"'==e.charAt(e.length-1)&&(e=e.substring(1,e.length-1)),Ni.test(e))return new Date(e);if(i.lastIndex=0,n=i.exec(e))return n.shift(),r=t?{yyyy:t.getFullYear(),MM:t.getMonth()+1,dd:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds(),sss:t.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},le(n,function(e,t){t<o.length&&(r[o[t]]=+e)}),new Date(r.yyyy,r.MM-1,r.dd,r.HH,r.mm,r.ss||0,1e3*r.sss||0)}return NaN}}function Wi(p,d,$,v){return function(e,t,n,r,i,o,a){Gi(e,t,n,r),Bi(0,t,n,r,i,o);var s,u,c,l=r&&r.$options&&r.$options.timezone;function f(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function h(e){return H(e)&&!C(e)?$(e)||void 0:e}r.$$parserName=p,r.$parsers.push(function(e){if(r.$isEmpty(e))return null;if(d.test(e)){var t=$(e,s);return l&&(t=Z(t,l)),t}}),r.$formatters.push(function(e){if(e&&!C(e))throw Ao("datefmt","Expected `{0}` to be a date",e);return f(e)?((s=e)&&l&&(s=Z(s,l,!0)),a("date")(e,v,l)):(s=null,"")}),(H(n.min)||n.ngMin)&&(r.$validators.min=function(e){return!f(e)||he(u)||$(e)>=u},n.$observe("min",function(e){u=h(e),r.$validate()})),(H(n.max)||n.ngMax)&&(r.$validators.max=function(e){return!f(e)||he(c)||$(e)<=c},n.$observe("max",function(e){c=h(e),r.$validate()}))}}function Gi(e,n,t,r){var i=n[0];(r.$$hasNativeValidators=pe(i.validity))&&r.$parsers.push(function(e){var t=n.prop(f)||{};return t.badInput||t.typeMismatch?void 0:e})}function Ji(e,t,n,r,i){var o;if(H(r)){if(!(o=e(r)).constant)throw Ao("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Yi(){return{restrict:"A",priority:100,compile:function(e,t){return Ki.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)})}}}}var Zi=["$browser","$sniffer","$filter","$parse",function(i,o,a,s){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,t,n,r){r[0]&&(Li[q(n.type)]||Li.text)(e,t,n,r[0],o,i,a,s)}}}}],Ki=/^(true|false|\d+)$/,Xi=["$compile",function(r){return{restrict:"AC",compile:function(e){return r.$$addBindingClass(e),function(e,t,n){r.$$addBindingInfo(t,n.ngBind),t=t[0],e.$watch(n.ngBind,function(e){t.textContent=he(e)?"":e})}}}}],Qi=["$interpolate","$compile",function(i,o){return{compile:function(e){return o.$$addBindingClass(e),function(e,t,n){var r=i(t.attr(n.$attr.ngBindTemplate));o.$$addBindingInfo(t,r.expressions),t=t[0],n.$observe("ngBindTemplate",function(e){t.textContent=he(e)?"":e})}}}}],eo=["$sce","$parse","$compile",function(o,n,a){return{restrict:"A",compile:function(e,t){var r=n(t.ngBindHtml),i=n(t.ngBindHtml,function(e){return o.valueOf(e)});return a.$$addBindingClass(e),function(t,n,e){a.$$addBindingInfo(n,e.ngBindHtml),t.$watch(i,function(){var e=r(t);n.html(o.getTrustedHtml(e)||"")})}}}}],to=A({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function no(d,$){return d="ngClass"+d,["$animate",function(f){return{restrict:"AC",link:function(a,s,o){var u;function c(e){var t=l(e,1);o.$addClass(t)}function l(e,t){var n=s.data("$classCounts")||Me(),r=[];return le(e,function(e){(0<t||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(0<t)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function t(e){if(!0===$||(1&a.$index)===$){var t=p(e||[]);u?xe(e,u)||(n=p(u),i=h(r=t,n),o=h(n,r),i=l(i,1),o=l(o,-1),i&&i.length&&f.addClass(s,i),o&&o.length&&f.removeClass(s,o)):c(t)}var n,r,i,o;u=$e(e)?e.map(function(e){return P(e)}):P(e)}a.$watch(o[d],t,!0),o.$observe("class",function(e){t(a.$eval(o[d]))}),"ngClass"!==d&&a.$watch("$index",function(e,t){var n,r=1&e;if(r!=(1&t)){var i=p(a.$eval(o[d]));r===$?c(i):(n=l(i,-1),o.$removeClass(n))}})}};function h(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 p(e){var n=[];return $e(e)?(le(e,function(e){n=n.concat(p(e))}),n):de(e)?e.split(" "):pe(e)?(le(e,function(e,t){e&&(n=n.concat(t.split(" ")))}),n):e}}]}var ro=no("",!0),io=no("Odd",0),oo=no("Even",1),ao=xi({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),so=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],uo={},co={blur:!0,focus:!0};function lo(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=t.attr(n.$attr.ngList)||", ",o="false"!==n.ngTrim,a=o?ye(i):i;r.$parsers.push(function(e){if(!he(e)){var t=[];return e&&le(e.split(a),function(e){e&&t.push(o?ye(e):e)}),t}}),r.$formatters.push(function(e){if($e(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}}function fo(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=D(e.$eval(t.ngModelOptions)),H(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=ye(this.$options.updateOn.replace(Mo,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}}le("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(o){var a=rn("ng-"+o);uo[a]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(e,t){var r=n(t[a],null,!0);return function(n,e){e.on(o,function(e){function t(){r(n,{$event:e})}co[o]&&i.$$phase?n.$evalAsync(t):n.$apply(t)})}}}}]});var ho=["$animate","$compile",function(u,c){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var o,a,s;e.$watch(r.ngIf,function(e){e?a||i(function(e,t){a=t,e[e.length++]=c.$$createComment("end ngIf",r.ngIf),o={clone:e},u.enter(e,n.parent(),n)}):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=Oe(o.clone),u.leave(s).then(function(){s=null}),o=null))})}}}],po=["$templateRequest","$anchorScroll","$animate",function(v,m,g){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:E.noop,compile:function(e,t){var n=t.ngInclude||t.src,d=t.onload||"",$=t.autoscroll;return function(a,s,e,u,c){function l(){t&&(t.remove(),t=null),f&&(f.$destroy(),f=null),h&&(g.leave(h).then(function(){t=null}),t=h,h=null)}var f,t,h,p=0;a.$watch(n,function(r){function i(){!H($)||$&&!a.$eval($)||m()}var o=++p;r?(v(r,!0).then(function(e){if(!a.$$destroyed&&o===p){var t=a.$new();u.template=e;var n=c(t,function(e){l(),g.enter(e,null,s).then(i)});h=n,(f=t).$emit("$includeContentLoaded",r),a.$eval(d)}},function(){a.$$destroyed||o===p&&(l(),a.$emit("$includeContentError",r))}),a.$emit("$includeContentRequested",r)):(l(),u.template=null)})}}}}],$o=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,n,r){if(S.call(t[0]).match(/SVG/))return t.empty(),void i(Xe(r.template,_.document).childNodes)(e,function(e){t.append(e)},{futureParentElement:t});t.html(r.template),i(t.contents())(e)}}}],vo=xi({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),mo="ng-valid",go="ng-invalid",yo="ng-pristine",bo="ng-dirty",wo="ng-untouched",xo="ng-touched",So="ng-pending",Co="ng-empty",Eo="ng-not-empty",Ao=d("ngModel"),ko=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(o,t,i,a,s,n,u,c,l,e){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=e(i.name||"",!1)(o),this.$$parentForm=Ei;var f,h=s(i.ngModel),p=h.assign,d=h,$=p,v=null,m=this;this.$$setOptions=function(e){if((m.$options=e)&&e.getterSetter){var n=s(i.ngModel+"()"),r=s(i.ngModel+"($$$p)");d=function(e){var t=h(e);return ve(t)&&(t=n(e)),t},$=function(e,t){ve(h(e))?r(e,{$$$p:t}):p(e,t)}}else if(!h.assign)throw Ao("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,Ee(a))},this.$render=L,this.$isEmpty=function(e){return he(e)||""===e||null===e||e!=e},this.$$updateEmptyClasses=function(e){m.$isEmpty(e)?(n.removeClass(a,Eo),n.addClass(a,Co)):(n.removeClass(a,Co),n.addClass(a,Eo))};var g=0;To({ctrl:this,$element:a,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:n}),this.$setPristine=function(){m.$dirty=!1,m.$pristine=!0,n.removeClass(a,bo),n.addClass(a,yo)},this.$setDirty=function(){m.$dirty=!0,m.$pristine=!1,n.removeClass(a,yo),n.addClass(a,bo),m.$$parentForm.$setDirty()},this.$setUntouched=function(){m.$touched=!1,m.$untouched=!0,n.setClass(a,wo,xo)},this.$setTouched=function(){m.$touched=!0,m.$untouched=!1,n.setClass(a,xo,wo)},this.$rollbackViewValue=function(){u.cancel(v),m.$viewValue=m.$$lastCommittedViewValue,m.$render()},this.$validate=function(){if(!w(m.$modelValue)||!isNaN(m.$modelValue)){var e=m.$$lastCommittedViewValue,t=m.$$rawModelValue,n=m.$valid,r=m.$modelValue,i=m.$options&&m.$options.allowInvalid;m.$$runValidators(t,e,function(e){i||n===e||(m.$modelValue=e?t:void 0,m.$modelValue!==r&&m.$$writeModelToScope())})}},this.$$runValidators=function(r,i,t){var o,a,s,e,n=++g;function u(e,t){n===g&&m.$setValidity(e,t)}function c(e){n===g&&t(e)}e=m.$$parserName||"parse",(he(f)?(u(e,null),1):(f||(le(m.$validators,function(e,t){u(t,null)}),le(m.$asyncValidators,function(e,t){u(t,null)})),u(e,f),f))?(o=!0,le(m.$validators,function(e,t){var n=e(r,i);o=o&&n,u(t,n)}),o||(le(m.$asyncValidators,function(e,t){u(t,null)}),0)?(a=[],s=!0,le(m.$asyncValidators,function(e,t){var n=e(r,i);if(!T(n))throw Ao("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",n);u(t,void 0),a.push(n.then(function(){u(t,!0)},function(){u(t,s=!1)}))}),a.length?l.all(a).then(function(){c(s)},L):c(!0)):c(!1)):c(!1)},this.$commitViewValue=function(){var e=m.$viewValue;u.cancel(v),(m.$$lastCommittedViewValue!==e||""===e&&m.$$hasNativeValidators)&&(m.$$updateEmptyClasses(e),m.$$lastCommittedViewValue=e,m.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=m.$$lastCommittedViewValue;if(f=!he(t)||void 0)for(var e=0;e<m.$parsers.length;e++)if(he(t=m.$parsers[e](t))){f=!1;break}w(m.$modelValue)&&isNaN(m.$modelValue)&&(m.$modelValue=d(o));var n=m.$modelValue,r=m.$options&&m.$options.allowInvalid;function i(){m.$modelValue!==n&&m.$$writeModelToScope()}m.$$rawModelValue=t,r&&(m.$modelValue=t,i()),m.$$runValidators(t,m.$$lastCommittedViewValue,function(e){r||(m.$modelValue=e?t:void 0,i())})},this.$$writeModelToScope=function(){$(o,m.$modelValue),le(m.$viewChangeListeners,function(e){try{e()}catch(e){t(e)}})},this.$setViewValue=function(e,t){m.$viewValue=e,m.$options&&!m.$options.updateOnDefault||m.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(e){var t,n=0,r=m.$options;r&&H(r.debounce)&&(w(t=r.debounce)?n=t:w(t[e])?n=t[e]:w(t.default)&&(n=t.default)),u.cancel(v),n?v=u(function(){m.$commitViewValue()},n):c.$$phase?m.$commitViewValue():o.$apply(function(){m.$commitViewValue()})},o.$watch(function(){var e=d(o);if(e!==m.$modelValue&&(m.$modelValue==m.$modelValue||e==e)){m.$modelValue=m.$$rawModelValue=e,f=void 0;for(var t=m.$formatters,n=t.length,r=e;n--;)r=t[n](r);m.$viewValue!==r&&(m.$$updateEmptyClasses(r),m.$viewValue=m.$$lastCommittedViewValue=r,m.$render(),m.$$runValidators(e,r,L))}return e})}],Oo=["$rootScope",function(o){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:ko,priority:1,compile:function(e){return e.addClass(yo).addClass(wo).addClass(mo),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,t,n,r){var i=r[0];i.$options&&i.$options.updateOn&&t.on(i.$options.updateOn,function(e){i.$$debounceViewValueCommit(e&&e.type)}),t.on("blur",function(){i.$touched||(o.$$phase?e.$evalAsync(i.$setTouched):e.$apply(i.$setTouched))})}}}}}],Mo=/(\s+|^)default(\s+|$)/;function To(e){var l=e.ctrl,n=e.$element,r={},f=e.set,h=e.unset,i=e.$animate;function p(e,t){t&&!r[e]?(i.addClass(n,e),r[e]=!0):!t&&r[e]&&(i.removeClass(n,e),r[e]=!1)}function d(e,t){e=e?"-"+Ae(e,"-"):"",p(mo+e,!0===t),p(go+e,!1===t)}r[go]=!(r[mo]=n.hasClass(mo)),l.$setValidity=function(e,t,n){var r,i,o,a,s,u,c;he(t)?(s=e,u=n,l[a="$pending"]||(l[a]={}),f(l[a],s,u)):(i=e,o=n,l[r="$pending"]&&h(l[r],i,o),No(l[r])&&(l[r]=void 0)),ge(t)?t?(h(l.$error,e,n),f(l.$$success,e,n)):(f(l.$error,e,n),h(l.$$success,e,n)):(h(l.$error,e,n),h(l.$$success,e,n)),l.$pending?(p(So,!0),l.$valid=l.$invalid=void 0,d("",null)):(p(So,!1),l.$valid=No(l.$error),l.$invalid=!l.$valid,d("",l.$valid)),d(e,c=l.$pending&&l.$pending[e]?void 0:!l.$error[e]&&(!!l.$$success[e]||null)),l.$$parentForm.$setValidity(e,c,l)}}function No(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Vo=xi({terminal:!0,priority:1e3}),jo=d("ngOptions"),Io=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Do=["$compile","$document","$parse",function(b,w,C){var x=_.document.createElement("option"),S=_.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=L},post:function(e,o,t,n){for(var a,s=n[0],u=n[1],c=t.multiple,r=0,i=o.children(),l=i.length;r<l;r++)if(""===i[r].value){a=i.eq(r);break}var f,h=!!a,p=ce(x.cloneNode(!1));function d(){h||a.remove()}function $(){p.remove()}p.val("?");var v=function(e,t,h){var f=e.match(Io);if(!f)throw jo("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Ee(t));function p(e,t){return v(e,w(e,t))}var n=f[5]||f[7],r=f[6],i=/ as /.test(f[0])&&f[1],d=f[9],o=C(f[2]?f[1]:n),$=i&&C(i)||o,a=d&&C(d),v=d?function(e,t){return a(h,t)}:function(e){return Et(e)},m=C(f[2]||f[1]),g=C(f[3]||""),y=C(f[4]||""),b=C(f[8]),s={},w=r?function(e,t){return s[r]=t,s[n]=e,s}:function(e){return s[n]=e,s};function x(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function S(e){var t;if(!r&&I(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:d,getTrackByValue:p,getWatchables:C(b,function(e){for(var t=[],n=S(e=e||[]),r=n.length,i=0;i<r;i++){var o=e===n?i:n[i],a=e[o],s=w(a,o),u=v(a,s);if(t.push(u),f[2]||f[1]){var c=m(h,s);t.push(c)}if(f[4]){var l=y(h,s);t.push(l)}}return t}),getOptions:function(){for(var e=[],t={},n=b(h)||[],r=S(n),i=r.length,o=0;o<i;o++){var a=n===r?o:r[o],s=n[a],u=w(s,a),c=$(h,u),l=v(c,u),f=new x(l,c,m(h,u),g(h,u),y(h,u));e.push(f),t[l]=f}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[p(e)]},getViewValueFromOption:function(e){return d?E.copy(e.viewValue):e.viewValue}}}}}(t.ngOptions,o,e),m=w[0].createDocumentFragment();function g(e,t){var n,r,i=x.cloneNode(!1);t.appendChild(i),r=i,((n=e).element=r).disabled=n.disabled,n.label!==r.label&&(r.label=n.label,r.textContent=n.label),n.value!==r.value&&(r.value=n.selectValue)}function y(){var e=f&&s.readValue();if(f)for(var t=f.items.length-1;0<=t;t--){var n=f.items[t];n.group?$t(n.element.parentNode):$t(n.element)}f=v.getOptions();var r={};if(h&&o.prepend(a),f.items.forEach(function(e){var t;H(e.group)?((t=r[e.group])||(t=S.cloneNode(!1),m.appendChild(t),t.label=e.group,r[e.group]=t),g(e,t)):g(e,m)}),o[0].appendChild(m),u.$render(),!u.$isEmpty(e)){var i=s.readValue();(v.trackBy||c?xe(e,i):e===i)||(u.$setViewValue(i),u.$render())}}c?(u.$isEmpty=function(e){return!e||0===e.length},s.writeValue=function(e){f.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=f.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},s.readValue=function(){var e=o.val()||[],n=[];return le(e,function(e){var t=f.selectValueMap[e];t&&!t.disabled&&n.push(f.getViewValueFromOption(t))}),n},v.trackBy&&e.$watchCollection(function(){if($e(u.$viewValue))return u.$viewValue.map(function(e){return v.getTrackByValue(e)})},function(){u.$render()})):(s.writeValue=function(e){var t=f.getOptionFromViewValue(e);t?(o[0].value!==t.selectValue&&($(),d(),o[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||h?($(),h||o.prepend(a),o.val(""),a.prop("selected",!0),a.attr("selected",!0)):(d(),o.prepend(p),o.val("?"),p.prop("selected",!0),p.attr("selected",!0))},s.readValue=function(){var e=f.selectValueMap[o.val()];return e&&!e.disabled?(d(),$(),f.getViewValueFromOption(e)):null},v.trackBy&&e.$watch(function(){return v.getTrackByValue(u.$viewValue)},function(){u.$render()})),h?(a.remove(),b(a)(e),a.removeClass("ng-scope")):a=ce(x.cloneNode(!1)),o.empty(),y(),e.$watchCollection(v.getWatchables,y)}}}}],Po=["$locale","$interpolate","$log",function(d,$,v){var m=/{}/g,g=/^when(Minus)?(.+)$/;return{link:function(i,o,a){var s,e=a.count,u=a.$attr.when&&o.attr(a.$attr.when),c=a.offset||0,l=i.$eval(u)||{},f={},t=$.startSymbol(),n=$.endSymbol(),r=t+e+"-"+c+n,h=E.noop;function p(e){o.text(e||"")}le(a,function(e,t){var n=g.exec(t);if(n){var r=(n[1]?"-":"")+q(n[2]);l[r]=o.attr(a.$attr[t])}}),le(l,function(e,t){f[t]=$(e.replace(m,r))}),i.$watch(e,function(e){var t=parseFloat(e),n=isNaN(t);if(n||t in l||(t=d.pluralCat(t-c)),t!==s&&!(n&&w(s)&&isNaN(s))){h();var r=f[t];he(r)?(null!=e&&v.debug("ngPluralize: no rule defined for '"+t+"' in "+u),h=L,p()):h=i.$watch(r,p),s=t}})}}}],_o=["$parse","$animate","$compile",function(u,T,c){function N(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))}var V="$$NG_REMOVED",j=d("ngRepeat");return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,t){var x=t.ngRepeat,S=c.$$createComment("end ngRepeat",x),n=x.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!n)throw j("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",x);var r=n[1],i=n[2],C=n[3],o=n[4];if(!(n=r.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/)))throw j("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",r);var a,E,A,k,O=n[3]||n[1],M=n[2];if(C&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(C)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(C)))throw j("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",C);var s={$id:Et};return o?a=u(o):(A=function(e,t){return Et(t)},k=function(e){return e}),function(g,y,e,t,b){a&&(E=function(e,t,n){return M&&(s[M]=e),s[O]=t,s.$index=n,a(g,s)});var w=Me();g.$watchCollection(i,function(e){var r,t,n,i,o,a,s,u,c,l,f,h,p,d=y[0],$=Me();if(C&&(g[C]=e),I(e))c=e,u=E||A;else for(var v in u=E||k,c=[],e)R.call(e,v)&&"$"!==v.charAt(0)&&c.push(v);for(i=c.length,f=new Array(i),r=0;r<i;r++)if(o=e===c?r:c[r],a=e[o],s=u(o,a,r),w[s])l=w[s],delete w[s],$[s]=l,f[r]=l;else{if($[s])throw le(f,function(e){e&&e.scope&&(w[e.id]=e)}),j("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",x,s,a);f[r]={id:s,scope:void 0,clone:void 0},$[s]=!0}for(var m in w){if(h=Oe((l=w[m]).clone),T.leave(h),h[0].parentNode)for(r=0,t=h.length;r<t;r++)h[r][V]=!0;l.scope.$destroy()}for(r=0;r<i;r++)if(o=e===c?r:c[r],a=e[o],(l=f[r]).scope){for(n=d;(n=n.nextSibling)&&n[V];);l.clone[0]!=n&&T.move(Oe(l.clone),null,d),d=(p=l).clone[p.clone.length-1],N(l.scope,r,O,a,M,o,i)}else b(function(e,t){l.scope=t;var n=S.cloneNode(!1);e[e.length++]=n,T.enter(e,null,d),d=n,l.clone=e,N(($[l.id]=l).scope,r,O,a,M,o,i)});w=$})}}}}],Ro="ng-hide",qo="ng-hide-animate",Fo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngShow,function(e){r[e?"removeClass":"addClass"](t,Ro,{tempClasses:qo})})}}}],Uo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngHide,function(e){r[e?"addClass":"removeClass"](t,Ro,{tempClasses:qo})})}}}],Lo=xi(function(e,n,t){e.$watch(t.ngStyle,function(e,t){t&&e!==t&&le(t,function(e,t){n.css(t,"")}),e&&n.css(e)},!0)}),Ho=["$animate","$compile",function(l,f){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,t,n,i){function o(e,t){return function(){e.splice(t,1)}}var r=n.ngSwitch||n.on,a=[],s=[],u=[],c=[];e.$watch(r,function(e){var t,n;for(t=0,n=u.length;t<n;++t)l.cancel(u[t]);for(t=u.length=0,n=c.length;t<n;++t){var r=Oe(s[t].clone);c[t].$destroy(),(u[t]=l.leave(r)).then(o(u,t))}s.length=0,c.length=0,(a=i.cases["!"+e]||i.cases["?"])&&le(a,function(i){i.transclude(function(e,t){c.push(t);var n=i.element;e[e.length++]=f.$$createComment("end ngSwitchWhen");var r={clone:e};s.push(r),l.enter(e,n.parent(),n)})})})}}}],Bo=xi({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})}}),zo=xi({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})}}),Wo=d("ngTransclude"),Go=xi({restrict:"EAC",link:function(e,t,n,r,i){if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Wo("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",Ee(t));i(function(e){e.length&&(t.empty(),t.append(e))},null,n.ngTransclude||n.ngTranscludeSlot)}}),Jo=["$templateCache",function(i){return{restrict:"E",terminal:!0,compile:function(e,t){if("text/ng-template"==t.type){var n=t.id,r=e[0].text;i.put(n,r)}}}}],Yo={$setViewValue:L,$render:L};function Zo(){return{restrict:"E",require:["select","?ngModel"],controller:oa,priority:1,link:{pre:function(e,n,t,r){var i=r[1];if(i){var o=r[0];if(o.ngModelCtrl=i,n.on("change",function(){e.$apply(function(){i.$setViewValue(o.readValue())})}),t.multiple){o.readValue=function(){var t=[];return le(n.find("option"),function(e){e.selected&&t.push(e.value)}),t},o.writeValue=function(e){var t=new At(e);le(n.find("option"),function(e){e.selected=H(t.get(e.value))})};var a,s=NaN;e.$watch(function(){s!==i.$viewValue||xe(a,i.$viewValue)||(a=P(i.$viewValue),i.$render()),s=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}},post:function(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}}function Ko(){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()}))}}}function Xo(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i,o=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(de(e)&&0<e.length&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw d("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",o,e,Ee(t));i=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||he(i)||i.test(t)}}}}}function Qo(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=g(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}}function ea(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=g(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}}var ta,na,ra,ia,oa=["$element","$scope",function(n,e){var a=this,i=new At;a.ngModelCtrl=Yo,a.unknownOption=ce(_.document.createElement("option")),a.renderUnknownOption=function(e){var t="? "+Et(e)+" ?";a.unknownOption.val(t),n.prepend(a.unknownOption),n.val(t)},e.$on("$destroy",function(){a.renderUnknownOption=L}),a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.readValue=function(){return a.removeUnknownOption(),n.val()},a.writeValue=function(e){a.hasOption(e)?(a.removeUnknownOption(),n.val(e),""===e&&a.emptyOption.prop("selected",!0)):null==e&&a.emptyOption?(a.removeUnknownOption(),n.val("")):a.renderUnknownOption(e)},a.addOption=function(e,t){if(t[0].nodeType!==Ve){se(e,'"option value"'),""===e&&(a.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),a.ngModelCtrl.$render(),(r=t)[0].hasAttribute("selected")&&(r[0].selected=!0)}var r},a.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(a.emptyOption=void 0)):i.put(e,t-1))},a.hasOption=function(e){return!!i.get(e)},a.registerOption=function(e,n,r,t,i){var o;t?r.$observe("value",function(e){H(o)&&a.removeOption(o),o=e,a.addOption(e,n)}):i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&a.removeOption(t),a.addOption(e,n)}):a.addOption(r.value,n),n.on("$destroy",function(){a.removeOption(r.value),a.ngModelCtrl.$render()})}}],aa=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(e,t){if(H(t.value))var a=n(t.value,!0);else{var s=n(e.text(),!0);s||t.$set("value",e.text())}return function(e,t,n){var r="$selectController",i=t.parent(),o=i.data(r)||i.parent().data(r);o&&o.registerOption(e,t,n,a,s)}}}}],sa=A({restrict:"E",terminal:!1});function ua(e,t,n){return e[t]||(e[t]=n())}_.angular.bootstrap?_.console&&console.log("WARNING: Tried to load angular more than once."):(function(){var i;if(!oe){var e=z();(a=he(e)?_.jQuery:e?_[e]:void 0)&&a.fn.on?(fe((ce=a).fn,{scope:vt.scope,isolateScope:vt.isolateScope,controller:vt.controller,injector:vt.injector,inheritedData:vt.inheritedData}),i=a.cleanData,a.cleanData=function(e){for(var t,n,r=0;null!=(n=e[r]);r++)(t=a._data(n,"events"))&&t.$destroy&&a(n).triggerHandler("$destroy");i(e)}):ce=tt,E.element=ce,oe=!0}}(),fe(E,{bootstrap:re,copy:D,extend:fe,merge:function(e){return $(e,s.call(arguments,1),!0)},equals:xe,element:ce,forEach:le,injector:Pt,noop:L,bind:Ce,toJson:G,fromJson:J,identity:x,isUndefined:he,isDefined:H,isString:de,isFunction:ve,isObject:pe,isNumber:w,isElement:j,isArray:$e,version:{full:"1.5.6",major:1,minor:5,dot:6,codeName:"arrow-stringification"},isDate:C,lowercase:q,uppercase:l,callbacks:{counter:0},getTestability:function(e){var t=E.element(e).injector();if(!t)throw c("test","no injector found for element argument to getTestability");return t.get("$$testability")},$$minErr:d,$$csp:B,reloadWithDebugInfo:function(){_.name="NG_ENABLE_DEBUG_INFO!"+_.name,_.location.reload()}}),ta=_,na=d("$injector"),ra=d("ng"),(ia=ua(ta,"angular",Object)).$$minErr=ia.$$minErr||d,(v=ua(ia,"module",function(){var e={};return function(s,u,c){return function(){if("hasOwnProperty"===s)throw ra("badname","hasOwnProperty is not a valid {0} name","module")}(),u&&e.hasOwnProperty(s)&&(e[s]=null),ua(e,s,function(){if(!u)throw na("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.",s);var i=[],e=[],t=[],n=r("$injector","invoke","push",e),o={_invokeQueue:i,_configBlocks:e,_runBlocks:t,requires:u,name:s,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:r("$provide","value"),constant:r("$provide","constant","unshift"),decorator:a("$provide","decorator"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),component:a("$compileProvider","component"),config:n,run:function(e){return t.push(e),this}};return c&&n(c),o;function r(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),o}}function a(n,r){return function(e,t){return t&&ve(t)&&(t.$$moduleName=s),i.push([n,r,arguments]),o}}})}}))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:jr}),e.provider("$compile",en).directive({a:Si,input:Zi,textarea:Zi,form:Mi,script:Jo,select:Zo,style:sa,option:aa,ngBind:Xi,ngBindHtml:eo,ngBindTemplate:Qi,ngClass:ro,ngClassEven:oo,ngClassOdd:io,ngCloak:ao,ngController:so,ngForm:Ti,ngHide:Uo,ngIf:ho,ngInclude:po,ngInit:vo,ngNonBindable:Vo,ngPluralize:Po,ngRepeat:_o,ngShow:Fo,ngStyle:Lo,ngSwitch:Ho,ngSwitchWhen:Bo,ngSwitchDefault:zo,ngOptions:Do,ngTransclude:Go,ngModel:Oo,ngList:lo,ngChange:to,pattern:Xo,ngPattern:Xo,required:Ko,ngRequired:Ko,minlength:ea,ngMinlength:ea,maxlength:Qo,ngMaxlength:Qo,ngValue:Yi,ngModelOptions:fo}).directive({ngInclude:$o}).directive(Ci).directive(uo),e.provider({$anchorScroll:_t,$animate:Gt,$animateCss:Wt,$$animateJs:Lt,$$animateQueue:Ht,$$AnimateRunner:zt,$$animateAsyncRun:Bt,$browser:Yt,$cacheFactory:Zt,$controller:ln,$document:fn,$exceptionHandler:hn,$filter:Kr,$$forceReflow:pn,$interpolate:jn,$interval:In,$http:Mn,$httpParamSerializer:xn,$httpParamSerializerJQLike:Sn,$httpBackend:Nn,$xhrFactory:Tn,$location:Kn,$log:Xn,$parse:kr,$rootScope:Vr,$q:Or,$$q:Mr,$sce:Rr,$sceDelegate:_r,$sniffer:qr,$templateCache:Kt,$templateRequest:Ur,$$testability:Lr,$timeout:Hr,$window:Jr,$$rAF:Nr,$$jqLite:Ct,$$HashMap:kt,$$cookieReader:Zr})}]),E.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,o){var t=0|e,n=function(e){var t,n,r=o;void 0===r&&(r=Math.min((t=e,-1==(n=(t+="").indexOf("."))?0:t.length-n-1),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}(e);return 1==t&&0==n.v?"one":"other"}})}]),ce(_.document).ready(function(){!function(r,e){var i,o,t={};le(ne,function(e){var t=e+"app";!i&&r.hasAttribute&&r.hasAttribute(t)&&(o=(i=r).getAttribute(t))}),le(ne,function(e){var t,n=e+"app";!i&&(t=r.querySelector("["+n.replace(":","\\:")+"]"))&&(o=(i=t).getAttribute(n))}),i&&(t.strictDi=null!==function(e){var t,n,r=ne.length;for(n=0;n<r;++n)if(t=ne[n]+"strict-di",de(t=e.getAttribute(t)))return t;return null}(i),e(i,o?[o]:[],t))}(_.document,re)}))}(window),window.angular.$$csp().noInlineStyle||window.angular.element(document.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;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>');