lemonldap-ng/lemonldap-ng-manager/site/htdocs/static/bwr/angular/angular.min.js
2021-04-02 16:17:37 +02:00

1 line
178 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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