@andersbakken/fisk-scheduler-ui 0.0.52 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},1:function(t,e){},B9Yq:function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},EhIR:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e,n=this,r=(e=4022871197,function(t){t=String(t);for(var n=0;n<t.length;n++){var r=.02519603282416938*(e+=t.charCodeAt(n));r-=e=r>>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)});n.next=function(){var t=2091639*n.s0+2.3283064365386963e-10*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=t-(n.c=0|t)},n.c=1,n.s0=r(" "),n.s1=r(" "),n.s2=r(" "),n.s0-=r(t),n.s0<0&&(n.s0+=1),n.s1-=r(t),n.s1<0&&(n.s1+=1),n.s2-=r(t),n.s2<0&&(n.s2+=1),r=null}function s(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function l(t,e){var n=new a(t),r=e&&e.state,i=n.next;return i.int32=function(){return 4294967296*n.next()|0},i.double=function(){return i()+1.1102230246251565e-16*(2097152*i()|0)},i.quick=i,r&&("object"==typeof r&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.alea=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},YSVl:function(t,e,n){var r=n("EhIR"),i=n("uDiL"),o=n("pJ6O"),a=n("yuCN"),s=n("euyF"),l=n("ie1u"),u=n("pJ3+");u.alea=r,u.xor128=i,u.xorwow=o,u.xorshift7=a,u.xor4096=s,u.tychei=l,t.exports=u},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},euyF:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e=this;e.next=function(){var t,n,r=e.w,i=e.X,o=e.i;return e.w=r=r+1640531527|0,n=i[o+34&127],t=i[o=o+1&127],n^=n<<13,t^=t<<17,n=i[o]=(n^=n>>>15)^(t^=t>>>12),e.i=o,n+(r^r>>>16)|0},function(t,e){var n,r,i,o,a,s=[],l=128;for(e===(0|e)?(r=e,e=null):(e+="\0",r=0,l=Math.max(l,e.length)),i=0,o=-32;o<l;++o)e&&(r^=e.charCodeAt((o+32)%e.length)),0===o&&(a=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,o>=0&&(i=0==(n=s[127&o]^=r+(a=a+1640531527|0))?i+1:0);for(i>=128&&(s[127&(e&&e.length||0)]=-1),i=127,o=512;o>0;--o)r=s[i+34&127],n=s[i=i+1&127],r^=r<<13,n^=n<<17,s[i]=(r^=r>>>15)^(n^=n>>>12);t.w=a,t.X=s,t.i=i}(e,t)}function s(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function l(t,e){null==t&&(t=+new Date);var n=new a(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&(r.X&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.xor4096=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},ie1u:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,r=e.d,i=e.a;return t=t<<25^t>>>7^n,n=n-r|0,r=r<<24^r>>>8^i,i=i-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-r|0,e.d=r<<16^n>>>16^i,e.a=i-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var r=0;r<n.length+20;r++)e.b^=0|n.charCodeAt(r),e.next()}function s(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function l(t,e){var n=new a(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.tychei=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},"pJ3+":function(t,e,n){var r;!function(i,o){var a,s=(0,eval)("this"),l=256,u=6,c="random",h=o.pow(l,u),p=o.pow(2,52),d=2*p,f=l-1;function m(t,e,n){var r=[],f=v(function t(e,n){var r,i=[],o=typeof e;if(n&&"object"==o)for(r in e)try{i.push(t(e[r],n-1))}catch(a){}return i.length?i:"string"==o?e:e+"\0"}((e=1==e?{entropy:!0}:e||{}).entropy?[t,b(i)]:null==t?function(){try{var t;return a&&(t=a.randomBytes)?t=t(l):(t=new Uint8Array(l),(s.crypto||s.msCrypto).getRandomValues(t)),b(t)}catch(r){var e=s.navigator,n=e&&e.plugins;return[+new Date,s,n,s.screen,b(i)]}}():t,3),r),m=new g(r),_=function(){for(var t=m.g(u),e=h,n=0;t<p;)t=(t+n)*l,e*=l,n=m.g(1);for(;t>=d;)t/=2,e/=2,n>>>=1;return(t+n)/e};return _.int32=function(){return 0|m.g(4)},_.quick=function(){return m.g(4)/4294967296},_.double=_,v(b(m.S),i),(e.pass||n||function(t,e,n,r){return r&&(r.S&&y(r,m),t.state=function(){return y(m,{})}),n?(o[c]=t,e):t})(_,f,"global"in e?e.global:this==o,e.state)}function g(t){var e,n=t.length,r=this,i=0,o=r.i=r.j=0,a=r.S=[];for(n||(t=[n++]);i<l;)a[i]=i++;for(i=0;i<l;i++)a[i]=a[o=f&o+t[i%n]+(e=a[i])],a[o]=e;(r.g=function(t){for(var e,n=0,i=r.i,o=r.j,a=r.S;t--;)e=a[i=f&i+1],n=n*l+a[f&(a[i]=a[o=f&o+e])+(a[o]=e)];return r.i=i,r.j=o,n})(l)}function y(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function v(t,e){for(var n,r=t+"",i=0;i<r.length;)e[f&i]=f&(n^=19*e[f&i])+r.charCodeAt(i++);return b(e)}function b(t){return String.fromCharCode.apply(0,t)}if(v(o.random(),i),t.exports){t.exports=m;try{a=n(1)}catch(_){}}else void 0===(r=(function(){return m}).call(e,n,e,t))||(t.exports=r)}([],Math)},pJ6O:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var r=0;r<n.length+64;r++)e.x^=0|n.charCodeAt(r),r==n.length&&(e.d=e.x<<10^e.x>>>4),e.next()}function s(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function l(t,e){var n=new a(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.xorwow=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},uDiL:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var r=0;r<n.length+64;r++)e.x^=0|n.charCodeAt(r),e.next()}function s(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function l(t,e){var n=new a(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.xor128=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},yuCN:function(t,e,n){(function(t){var r;!function(t,i,o){function a(t){var e=this;e.next=function(){var t,n,r=e.x,i=e.i;return t=r[i],n=(t^=t>>>7)^t<<24,n^=(t=r[i+1&7])^t>>>10,n^=(t=r[i+3&7])^t>>>3,n^=(t=r[i+4&7])^t<<7,t=r[i+7&7],r[i]=n^=(t^=t<<13)^t<<9,e.i=i+1&7,n},function(t,e){var n,r=[];if(e===(0|e))r[0]=e;else for(e=""+e,n=0;n<e.length;++n)r[7&n]=r[7&n]<<15^e.charCodeAt(n)+r[n+1&7]<<13;for(;r.length<8;)r.push(0);for(n=0;n<8&&0===r[n];++n);for(8==n&&(r[7]=-1),t.x=r,t.i=0,n=256;n>0;--n)t.next()}(e,t)}function s(t,e){return e.x=t.x.slice(),e.i=t.i,e}function l(t,e){null==t&&(t=+new Date);var n=new a(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&(r.x&&s(r,n),i.state=function(){return s(n,{})}),i}i&&i.exports?i.exports=l:n("B9Yq")&&n("PDX0")?void 0===(r=(function(){return l}).call(e,n,e,i))||(i.exports=r):this.xorshift7=l}(0,t,n("B9Yq"))}).call(this,n("YuTi")(t))},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}var h=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!==t&&"object"==typeof t}function d(t){return"function"==typeof t}function f(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}f.prototype=Object.create(Error.prototype);var m=f,g=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,s=r?r.length:0;n;)n.remove(this),n=++a<s&&r[a]||null;if(d(i))try{i.call(this)}catch(u){e=!0,t=u instanceof m?y(u.errors):[u]}if(h(o))for(a=-1,s=o.length;++a<s;){var l=o[a];if(p(l))try{l.unsubscribe()}catch(u){e=!0,t=t||[],u instanceof m?t=t.concat(y(u.errors)):t.push(u)}}if(e)throw new m(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var i=this._subscriptions;i?i.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=((e=new t).closed=!0,e),t}();function y(t){return t.reduce(function(t,e){return t.concat(e instanceof m?e.errors:e)},[])}var v=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function _(t){setTimeout(function(){throw t})}var w={closed:!0,next:function(t){},error:function(t){if(b.useDeprecatedSynchronousErrorHandling)throw t;_(t)},complete:function(){}},C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),x=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=w;break;case 1:if(!n){o.destination=w;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new k(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new k(o,n,r,i)}return o}return i(e,t),e.prototype[C]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(g),k=function(t){function e(e,n,r,i){var o,a=t.call(this)||this;a._parentSubscriber=e;var s=a;return d(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==w&&(d((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=o,a._error=r,a._complete=i,a}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;b.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=b.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):_(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;_(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};b.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),b.useDeprecatedSynchronousErrorHandling)throw n;_(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return b.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(_(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(x),E="function"==typeof Symbol&&Symbol.observable||"@@observable";function S(){}function A(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return T(t)}function T(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:S}var O=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=function(t,e,n){if(t){if(t instanceof x)return t;if(t[C])return t[C]()}return t||e||n?new x(t,e,n):new x(w)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||b.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),b.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){b.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof x?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=P(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(n){r(n),i&&i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[E]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:T(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=P(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function P(t){if(t||(t=b.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function I(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}I.prototype=Object.create(Error.prototype);var R=I,D=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return i(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(g),N=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i(e,t),e}(x),F=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i(e,t),e.prototype[C]=function(){return new N(this)},e.prototype.lift=function(t){var e=new j(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new R;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new R;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new R;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new R;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new R;return this.hasError?(t.error(this.thrownError),g.EMPTY):this.isStopped?(t.complete(),g.EMPTY):(this.observers.push(t),new D(this,t))},e.prototype.asObservable=function(){var t=new O;return t.source=this,t},e.create=function(t,e){return new j(t,e)},e}(O),j=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return i(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):g.EMPTY},e}(F);function M(t){return t&&"function"==typeof t.schedule}var V=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(x),L=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},B=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,_),e}};function z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var U=z(),q=function(t){return function(e){for(var n=t[U]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},H=function(t){return function(e){var n=t[E]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},K=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function G(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var W=function(t){if(t instanceof O)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[E])return H(t);if(K(t))return L(t);if(G(t))return B(t);if(t&&"function"==typeof t[U])return q(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Z(t,e,n,r,i){if(void 0===i&&(i=new V(t,n,r)),!i.closed)return W(e)(i)}var Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(x);function Q(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new X(t,e))}}var X=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new J(t,this.project,this.thisArg))},t}(),J=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(x);function $(t,e){return new O(e?function(n){var r=new g,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}:L(t))}function tt(t,e){if(!e)return t instanceof O?t:new O(W(t));if(null!=t){if(function(t){return t&&"function"==typeof t[E]}(t))return function(t,e){return new O(e?function(n){var r=new g;return r.add(e.schedule(function(){var i=t[E]();r.add(i.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:H(t))}(t,e);if(G(t))return function(t,e){return new O(e?function(n){var r=new g;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:B(t))}(t,e);if(K(t))return $(t,e);if(function(t){return t&&"function"==typeof t[U]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(e?function(n){var r,i=new g;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(function(){r=t[U](),i.add(e.schedule(function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),i}:q(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function et(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(et(function(n,r){return tt(t(n,r)).pipe(Q(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new nt(t,n))})}var nt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new rt(t,this.project,this.concurrent))},t}(),rt=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new V(this,void 0,void 0);this.destination.add(r),Z(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Y);function it(t){return t}function ot(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),et(it,t)}function at(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,i=t[t.length-1];return M(i)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof O?t[0]:ot(n)($(t,r))}function st(){return function(t){return t.lift(new lt(t))}}var lt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new ut(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),ut=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(x),ct=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new g).add(this.source.subscribe(new pt(this.getSubject(),this))),t.closed?(this._connection=null,t=g.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return st()(this)},e}(O).prototype,ht={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ct._subscribe},_isComplete:{value:ct._isComplete,writable:!0},getSubject:{value:ct.getSubject},connect:{value:ct.connect},refCount:{value:ct.refCount}},pt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(N);function dt(){return new F}function ft(t){for(var e in t)if(t[e]===ft)return e;throw Error("Could not find renamed property on target object.")}function mt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var gt=ft({ngInjectableDef:ft}),yt=ft({ngBaseDef:ft});function vt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function bt(t){return t&&t.hasOwnProperty(gt)?t[gt]:null}var _t=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?vt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),wt="__parameters__",Ct="__prop__metadata__";function xt(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var i in r)this[i]=r[i]}}}function kt(t,e,n){var r=xt(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return r.apply(this,e),this;var o=new((t=i).bind.apply(t,c([void 0],e)));return a.annotation=o,a;function a(t,e,n){for(var r=t.hasOwnProperty(wt)?t[wt]:Object.defineProperty(t,wt,{value:[]})[wt];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function Et(t,e,n,r){var i=xt(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return i.apply(this,e),this;var a=new((t=o).bind.apply(t,c([void 0],e)));return function(t,n){var i=t.constructor,o=i.hasOwnProperty(Ct)?i[Ct]:Object.defineProperty(i,Ct,{value:{}})[Ct];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),r&&r.apply(void 0,c([t,n],e))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var St=new _t("AnalyzeForEntryComponents"),At="undefined"!=typeof window&&window,Tt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ot="undefined"!=typeof global&&global||At||Tt,Pt=Promise.resolve(0),It=null;function Rt(){if(!It){var t=Ot.Symbol;if(t&&t.iterator)It=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(It=r)}}return It}function Dt(t){"undefined"==typeof Zone?Pt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Nt(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Ft(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Ft).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var jt=ft({__forward_ref__:ft});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return Ft(this())},t}function Vt(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(jt)&&e.__forward_ref__===Mt?e():t}var Lt,Bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),zt=kt("Inject",function(t){return{token:t}}),Ut=kt("Optional"),qt=kt("Self"),Ht=kt("SkipSelf"),Kt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),Gt=void 0;function Wt(t){var e=Gt;return Gt=t,e}function Zt(t,e){return void 0===e&&(e=Kt.Default),(Lt||function(t,e){if(void 0===e&&(e=Kt.Default),void 0===Gt)throw new Error("inject() must be called from an injection context");return null===Gt?function(t,e,n){var r=bt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Kt.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Ft(t)+"]")}(t,0,e):Gt.get(t,e&Kt.Optional?null:void 0,e)})(t,e)}var Yt=/([A-Z])/g;function Qt(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Xt(t,e){var n=te(t),r=te(e);return n&&r?function(t,e,n){for(var r=t[Rt()](),i=e[Rt()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(t,e,Xt):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Nt(t,e)}var Jt=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),$t=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function te(t){return!!ee(t)&&(Array.isArray(t)||!(t instanceof Map)&&Rt()in t)}function ee(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var re="__source",ie=new Object,oe=ie,ae=new _t("INJECTOR"),se=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=ie),e===ie)throw new Error("NullInjectorError: No provider for "+Ft(t)+"!");return e},t}(),le=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new ve(t,e):new ve(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=ie,t.NULL=new se,t.ngInjectableDef=vt({providedIn:"any",factory:function(){return Zt(ae)}}),t.__NG_ELEMENT_ID__=function(){return ue()},t}(),ue=ne,ce=function(t){return t},he=[],pe=ce,de=function(){return Array.prototype.slice.call(arguments)},fe=ft({provide:String,useValue:ft}),me=le.NULL,ge=/\n/gm,ye="\u0275",ve=function(){function t(t,e,n){void 0===e&&(e=me),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(le,{token:le,fn:ce,deps:he,value:this,useNew:!1}),r.set(ae,{token:ae,fn:ce,deps:he,value:this,useNew:!1}),function t(e,n){if(n)if((n=Vt(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw we("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw we("Unexpected provider",n);var i=Vt(n.provide),o=function(t){var e=function(t){var e=he,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var i=6;if((l=Vt(n[r]))instanceof Array)for(var o=0,a=l;o<a.length;o++){var s=a[o];s instanceof Ut||s==Ut?i|=1:s instanceof Ht||s==Ht?i&=-3:s instanceof qt||s==qt?i&=-5:l=s instanceof zt?s.token:Vt(s)}e.push({token:l,options:i})}}else if(t.useExisting){var l;e=[{token:l=Vt(t.useExisting),options:6}]}else if(!(n||fe in t))throw we("'deps' required",t);return e}(t),n=ce,r=he,i=!1,o=Vt(t.provide);if(fe in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=Vt(t.useClass);else{if("function"!=typeof o)throw we("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=o}return{deps:e,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var a=e.get(i);if(a){if(a.fn!==de)throw be(i)}else e.set(i,a={token:n.provide,deps:[],useNew:!1,fn:de,value:he});a.deps.push({token:i=n,options:6})}var s=e.get(i);if(s&&s.fn==de)throw be(i);e.set(i,o)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Kt.Default);var r=this._records.get(t);try{return function t(e,n,r,i,o,a){try{return function(e,n,r,i,o,a){var s,l;if(!n||a&Kt.SkipSelf)a&Kt.Self||(l=i.get(e,o,Kt.Default));else{if((l=n.value)==pe)throw Error(ye+"Circular dependency");if(l===he){n.value=pe;var u=n.useNew,h=n.fn,p=n.deps,d=he;if(p.length){d=[];for(var f=0;f<p.length;f++){var m=p[f],g=m.options,y=2&g?r.get(m.token):void 0;d.push(t(m.token,y,r,y||4&g?i:me,1&g?null:le.THROW_IF_NOT_FOUND,Kt.Default))}}n.value=l=u?new((s=h).bind.apply(s,c([void 0],d))):h.apply(void 0,d)}}return l}(e,n,r,i,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(e),n&&n.value==pe&&(n.value=he),s}}(t,r,this._records,this.parent,e,n)}catch(o){var i=o.ngTempTokenPath;throw t[re]&&i.unshift(t[re]),o.message=_e("\n"+o.message,i,this.source),o.ngTokenPath=i,o.ngTempTokenPath=null,o}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Ft(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function be(t){return we("Cannot mix multi providers and regular providers",t)}function _e(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==ye?t.substr(2):t;var r=Ft(e);if(e instanceof Array)r=e.map(Ft).join(" -> ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):Ft(a)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ge,"\n ")}function we(t,e){return new Error(_e(t,e))}var Ce=new _t("The presence of this token marks an injector as being the root injector."),xe=function(){return function(){}}(),ke=function(){return function(){}}();function Ee(t){var e=Error("No component factory found for "+Ft(t)+". Did you add it to @NgModule.entryComponents?");return e[Se]=t,e}var Se="ngComponent",Ae=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Ee(t)},t}(),Te=function(){function t(){}return t.NULL=new Ae,t}(),Oe=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var i=t[r];this._factories.set(i.componentType,i)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Ee(t);return new Pe(e,this._ngModule)},t}(),Pe=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return i(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(ke),Ie=function(){return function(){}}(),Re=function(){return function(){}}(),De=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return Ne(t)},t}(),Ne=ne,Fe=function(){return function(){}}(),je=function(){return function(){}}(),Me=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Ve=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Le()},t}(),Le=ne,Be=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),ze=function(){return function(){}}(),Ue=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.2.8"),qe=!0,He=!1;function Ke(){return He=!0,qe}var Ge=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var i=t.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},t}(),We=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ze=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ye(t){return(t=String(t)).match(We)||t.match(Ze)?t:(Ke()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Qe(t){var e,n,r={};try{for(var i=l(t.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function Xe(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=l(n),a=o.next();!a.done;a=o.next()){var s=a.value;for(var u in s)s.hasOwnProperty(u)&&(i[u]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return i}var Je,$e=Qe("area,br,col,hr,img,wbr"),tn=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),en=Qe("rp,rt"),nn=Xe(en,tn),rn=Xe($e,Xe(tn,Qe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xe(en,Qe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),nn),on=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),an=Qe("srcset"),sn=Xe(on,an,Qe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),ln=Qe("script,style,template"),un=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e,n=t.nodeName.toLowerCase();if(!rn.hasOwnProperty(n))return this.sanitizedSomething=!0,!ln.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,i=0;i<r.length;i++){var o=r.item(i),a=o.name,s=a.toLowerCase();if(sn.hasOwnProperty(s)){var l=o.value;on[s]&&(l=Ye(l)),an[s]&&(e=l,l=(e=String(e)).split(",").map(function(t){return Ye(t.trim())}).join(", ")),this.buf.push(" ",a,'="',pn(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();rn.hasOwnProperty(e)&&!$e.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(pn(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=/([^\#-~ |!])/g;function pn(t){return t.replace(/&/g,"&").replace(cn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(hn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function dn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var fn=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return i(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=t.prototype.subscribe.call(this,i,o,a);return e instanceof g&&e.add(s),s},e}(F),mn=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return gn(t,De)},t}(),gn=ne,yn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),vn=/^url\(([^)]+)\)$/,bn=function(){return function(){}}(),_n=Function;function wn(t){return"function"==typeof t}var Cn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,xn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,kn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,En=function(){function t(t){this._reflect=t||Ot.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,c([void 0],e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)n[r]=void 0===t?[]:t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(Cn.exec(n)||xn.exec(n)&&!kn.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var r=t.ctorParameters;if(r&&r!==e.ctorParameters){var i="function"==typeof r?r():r,o=i.map(function(t){return t&&t.type}),a=i.map(function(t){return t&&Sn(t.decorators)});return this._zipTypesAndAnnotations(o,a)}var s=t.hasOwnProperty(wt)&&t[wt],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return l||s?this._zipTypesAndAnnotations(l,s):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!wn(t))return[];var e=An(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?Sn(t.decorators):t.hasOwnProperty("__annotations__")?t.__annotations__:null},t.prototype.annotations=function(t){if(!wn(t))return[];var e=An(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,i={};return Object.keys(r).forEach(function(t){i[t]=Sn(r[t])}),i}return t.hasOwnProperty(Ct)?t[Ct]:null},t.prototype.propMetadata=function(t){if(!wn(t))return{};var e=An(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,c(n[t])),e.push.apply(e,c(i[t])),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof _n&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){return new Function("o","args","if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);")},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+Ft(t)},t.prototype.resourceUri=function(t){return"./"+Ft(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}();function Sn(t){return t?t.map(function(t){var e=t.type.annotationCls;return new(e.bind.apply(e,c([void 0],t.args?t.args:[])))}):[]}function An(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}var Tn=Et("Input",function(t){return{bindingPropertyName:t}},void 0,function(t){return function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=t.constructor;i.hasOwnProperty(yt)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(mt(r.inputs,n.inputs),mt(r.outputs,n.outputs),mt(r.declaredInputs,n.declaredInputs))}(t),(function(t){return t.inputs||{}}(i.ngBaseDef))[e]=n[0]}}()),On=Et("HostBinding",function(t){return{hostPropertyName:t}}),Pn="ngDebugContext",In="ngOriginalError",Rn="ngErrorLogger";function Dn(t){return t[Pn]}function Nn(t){return t[In]}function Fn(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var jn=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Rn]||Fn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?Dn(t)?Dn(t):this._findContext(Nn(t)):null},t.prototype._findOriginalError=function(t){for(var e=Nn(t);e&&Nn(e);)e=Nn(e);return e},t}();function Mn(t){return t.length>1?" ("+function(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return Ft(t.token)}).join(" -> ")+")":""}function Vn(t,e,n,r){var i=[e],o=n(i),a=r?function(t,e){var n=o+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[In]=e,r}(0,r):Error(o);return a.addKey=Ln,a.keys=i,a.injectors=[t],a.constructResolvingMessage=n,a[In]=r,a}function Ln(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Bn(t,e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];n.push(o&&0!=o.length?o.map(Ft).join(" "):"?")}return Error("Cannot resolve all parameters for '"+Ft(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+Ft(t)+"' is decorated with Injectable.")}var zn=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=Ft(this.token)}return t.get=function(t){return Un.get(Vt(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return Un.numberOfKeys},enumerable:!0,configurable:!0}),t}(),Un=new(function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof zn)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new zn(t,zn.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}()),qn=new(function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}())(new En),Hn=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),Kn=[],Gn=function(){return function(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}(),Wn=function(){return function(t,e){this.factory=t,this.dependencies=e}}();function Zn(t){var e,n;if(t.useClass){var r=Vt(t.useClass);e=qn.factory(r),n=Qn(r)}else t.useExisting?(e=function(t){return t},n=[Hn.fromKey(zn.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return Xn(t,e,n)})}return Qn(t)}(t.useFactory,t.deps)):(e=function(){return t.useValue},n=Kn);return new Wn(e,n)}function Yn(t){return new Gn(zn.get(t.provide),[Zn(t)],t.multi||!1)}function Qn(t){var e=qn.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw Bn(t,e);return e.map(function(n){return Xn(t,n,e)})}function Xn(t,e,n){var r=null,i=!1;if(!Array.isArray(e))return Jn(e instanceof zt?e.token:e,i,null);for(var o=null,a=0;a<e.length;++a){var s=e[a];s instanceof _n?r=s:s instanceof zt?r=s.token:s instanceof Ut?i=!0:s instanceof qt||s instanceof Ht?o=s:s instanceof _t&&(r=s)}if(null!=(r=Vt(r)))return Jn(r,i,o);throw Bn(t,n)}function Jn(t,e,n){return new Hn(zn.get(t),e,n)}var $n=new Object,tr=function(){function t(){}return t.resolve=function(t){return function(t){var e=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+i+" "+r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else e.set(r.key.id,r)}else{var a;a=r.multiProvider?new Gn(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}(function t(e,n){return e.forEach(function(e){if(e instanceof _n)n.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)n.push(e);else{if(!(e instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);t(e,n)}}),n}(t,[]).map(Yn),new Map);return Array.from(e.values())}(t)},t.resolveAndCreate=function(e,n){var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return new er(t,e)},t}(),er=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=$n}return t.prototype.get=function(t,e){return void 0===e&&(e=oe),this._getByKey(zn.get(t),null,e)},t.prototype.resolveAndCreateChild=function(t){var e=tr.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n.parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(tr.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Vn(this,t.key,function(t){return"Cannot instantiate cyclic dependency!"+Mn(t)});return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,r,i,o=this,a=e.factory;try{n=e.dependencies.map(function(t){return o._getByReflectiveDependency(t)})}catch(s){throw s.addKey&&s.addKey(this,t.key),s}try{r=a.apply(void 0,c(n))}catch(s){throw Vn(this,t.key,function(t){var e=Ft(t[0].token);return i.message+": Error during instantiation of "+e+"!"+Mn(t)+"."},i=s)}return r},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:oe)},t.prototype._getByKey=function(e,n,r){return e===t.INJECTOR_KEY?this:n instanceof qt?this._getByKeySelf(e,r):this._getByKeyDefault(e,r,n)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===$n&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return $n},t.prototype._throwOrNull=function(t,e){if(e!==oe)return e;throw function(t,e){return Vn(t,e,function(t){return"No provider for "+Ft(t[0].token)+"!"+Mn(t)})}(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==$n?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var i;for(i=r instanceof Ht?this.parent:this;i instanceof t;){var o=i,a=o._getObjByKeyId(e.id);if(a!==$n)return a;i=o.parent}return null!==i?i.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=' "'+t.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t.INJECTOR_KEY=zn.get(le),t}();function nr(t){return!!t&&"function"==typeof t.then}function rr(t){return!!t&&"function"==typeof t.subscribe}var ir=new _t("Application Initializer"),or=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();nr(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),ar=new _t("AppId");function sr(){return""+lr()+lr()+lr()}function lr(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ur=new _t("Platform Initializer"),cr=new _t("Platform ID"),hr=new _t("appBootstrapListener"),pr=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function dr(){throw new Error("Runtime compiler is not loaded")}var fr,mr,gr=dr,yr=dr,vr=dr,br=dr,_r=function(){function t(){this.compileModuleSync=gr,this.compileModuleAsync=yr,this.compileModuleAndAllComponentsSync=vr,this.compileModuleAndAllComponentsAsync=br}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),wr=function(){return function(){}}();function Cr(){var t=Ot.wtf;return!(!t||!(fr=t.trace)||(mr=fr.events,0))}var xr=Cr();function kr(t,e){return null}var Er=xr?function(t,e){return void 0===e&&(e=null),mr.createScope(t,e)}:function(t,e){return kr},Sr=xr?function(t,e){return fr.leaveScope(t,e),e}:function(t,e){return e},Ar=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fn(!1),this.onMicrotaskEmpty=new fn(!1),this.onStable=new fn(!1),this.onError=new fn(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,i,o,a){try{return Ir(e),t.invokeTask(r,i,o,a)}finally{Rr(e)}},onInvoke:function(t,n,r,i,o,a,s){try{return Ir(e),t.invoke(r,i,o,a,s)}finally{Rr(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,Pr(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular(function(){return e.onError.emit(i)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Or,Tr,Tr);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Tr(){}var Or={};function Pr(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Ir(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Rr(t){t._nesting--,Pr(t)}var Dr,Nr=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fn,this.onMicrotaskEmpty=new fn,this.onStable=new fn,this.onError=new fn}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Fr=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Ar.assertNotInAngularZone(),Dt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Dt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,i=-1;e&&e>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),jr=function(){function t(){this._applications=new Map,Mr.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Mr.findTestabilityInTree(this,t,e)},a([s("design:paramtypes",[])],t)}(),Mr=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Vr=new _t("AllowMultipleToken"),Lr=function(){return function(t,e){this.name=t,this.token=e}}();function Br(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new _t(r);return function(e){void 0===e&&(e=[]);var o=zr();if(!o||o.injector.get(Vr,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(Dr&&!Dr.destroyed&&!Dr.injector.get(Vr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Dr=t.get(Ur);var e=t.get(ur,null);e&&e.forEach(function(t){return t()})}(le.create({providers:a,name:r}))}return function(t){var e=zr();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function zr(){return Dr&&!Dr.destroyed?Dr:null}var Ur=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new Nr:("zone.js"===n?void 0:n)||new Ar({enableLongStackTrace:Ke()}),o=[{provide:Ar,useValue:i}];return i.run(function(){var e=le.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(jn,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Kr(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,i){try{var o=((a=n.injector.get(or)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return nr(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(a,i)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=qr({},e);return function(t,e,n){return t.get(wr).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Hr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Ft(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function qr(t,e){return Array.isArray(e)?e.reduce(qr,t):o({},t,e)}var Hr=function(){function t(t,e,n,r,i,o){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ke(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new O(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new O(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Ar.assertNotInAngularZone(),Dt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ar.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=at(s,l.pipe(function(t){return st()((e=dt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,ht);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof ke?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof Pe?null:this._injector.get(Ie),o=n.create(le.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var a=o.injector.get(Fr,null);return a&&o.injector.get(jr).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Ke()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Sr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Kr(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(hr,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Kr(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Er("ApplicationRef#tick()"),t}();function Kr(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Gr=function(){function t(){this.dirty=!0,this._results=[],this.changes=new fn,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Rt()]=function(){return this._results[Rt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Wr=function(){return function(){}}(),Zr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Yr=function(){function t(t,e){this._compiler=t,this._config=e||Zr}return t.prototype.load=function(t){return this._compiler instanceof _r?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=u(t.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then(function(t){return t[o]}).then(function(t){return Qr(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=u(t.split("#"),2),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return Qr(t,r,i)})},t}();function Qr(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Xr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Jr(t,De)},t}(),Jr=ne,$r=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ti()},t}(),ti=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},ei=function(){return function(t,e){this.name=t,this.callback=e}}(),ni=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof ri&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),ri=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return i(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,c([i+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof ri&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof ri&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof ri&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(ni),ii=new Map,oi=function(t){return ii.get(t)||null};function ai(t){ii.set(t.nativeNode,t)}var si=function(){function t(){}return t.prototype.supports=function(t){return te(t)},t.prototype.create=function(t){return new ui(t)},t}(),li=function(t,e){return e},ui=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||li}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<di(n,r,i)?e:n,a=di(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var l=a-r,u=s-r;if(l!=u){for(var c=0;c<l;c++){var h=c<i.length?i[c]:i[c]=0,p=h+c;u<=p&&p<l&&(i[c]=h+1)}i[o.previousIndex]=u-l}}a!==s&&t(o,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!te(t))throw new Error("Error trying to diff '"+Ft(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=this._trackByFn(s,r=t[s]),null!==o&&Nt(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Nt(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[Rt()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==o&&Nt(o.trackById,i)?(a&&(o=e._verifyReinsertion(o,t,i,n)),Nt(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Nt(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Nt(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new ci(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new pi),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),ci=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),hi=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Nt(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),pi=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new hi,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function di(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}var fi=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||ee(t)},t.prototype.create=function(){return new mi},t}(),mi=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||ee(t)))throw new Error("Error trying to diff '"+Ft(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var i=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new gi(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Nt(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),gi=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),yi=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Ht,new Ut]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=vt({providedIn:"root",factory:function(){return new t([new si])}}),t}(),vi=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Ht,new Ut]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t.ngInjectableDef=vt({providedIn:"root",factory:function(){return new t([new fi])}}),t}(),bi=[new fi],_i=new yi([new si]),wi=new vi(bi),Ci=Br(null,"core",[{provide:cr,useValue:"unknown"},{provide:Ur,deps:[le]},{provide:jr,deps:[]},{provide:pr,deps:[]}]),xi=new _t("LocaleId");function ki(){return _i}function Ei(){return wi}function Si(t){return t||"en-US"}var Ai=function(){return function(t){}}();function Ti(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function Oi(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Pi(t,e){return t.nodes[e]}function Ii(t,e){return t.nodes[e]}function Ri(t,e){return t.nodes[e]}function Di(t,e){return t.nodes[e]}function Ni(t,e){return t.nodes[e]}var Fi={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function ji(t,e,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return Mi(n,e),n}(i,t)}function Mi(t,e){t[Pn]=e,t[Rn]=e.logError.bind(e)}function Vi(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Li=function(){},Bi=new Map;function zi(t){var e=Bi.get(t);return e||(e=Ft(t)+"_"+Bi.size,Bi.set(t,e)),e}var Ui="$$undefined",qi="$$empty";function Hi(t){return{id:Ui,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var Ki=0;function Gi(t,e,n,r){return!(!(2&t.state)&&Nt(t.oldValues[e.bindingIndex+n],r))}function Wi(t,e,n,r){return!!Gi(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Zi(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Xt(i,r)){var o=e.bindings[n].name;throw ji(Fi.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function Yi(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Qi(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Xi(t,e,n,r){try{return Yi(33554432&t.def.nodes[e].flags?Ii(t,e).componentView:t),Fi.handleEvent(t,e,n,r)}catch(i){t.root.errorHandler.handleError(i)}}function Ji(t){return t.parent?Ii(t.parent,t.parentNodeDef.nodeIndex):null}function $i(t){return t.parent?t.parentNodeDef.parent:null}function to(t,e){switch(201347067&e.flags){case 1:return Ii(t,e.nodeIndex).renderElement;case 2:return Pi(t,e.nodeIndex).renderText}}function eo(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function no(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function ro(t){return 1<<t%32}function io(t){var e={},n=0,r={};return t&&t.forEach(function(t){var i=u(t,2),o=i[0],a=i[1];"number"==typeof o?(e[o]=a,n|=ro(o)):r[o]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function oo(t,e){return t.map(function(t){var n,r,i;return Array.isArray(t)?(i=(n=u(t,2))[0],r=n[1]):(i=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,re,{value:e,configurable:!0}),{flags:i,token:r,tokenKey:zi(r)}})}function ao(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Bt.Native?Ii(t,n.renderParent.nodeIndex).renderElement:void 0:e}var so=new WeakMap;function lo(t){var e=so.get(t);return e||((e=t(function(){return Li})).factory=t,so.set(t,e)),e}function uo(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(to(t,t.def.lastRenderRootNode))),co(t,e,0,t.def.nodes.length-1,n,r,i)}function co(t,e,n,r,i,o,a){for(var s=n;s<=r;s++){var l=t.def.nodes[s];11&l.flags&&po(t,l,e,i,o,a),s+=l.childCount}}function ho(t,e,n,r,i,o){for(var a=t;a&&!eo(a);)a=a.parent;for(var s=a.parent,l=$i(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var h=s.def.nodes[c];h.ngContentIndex===e&&po(s,h,n,r,i,o),c+=h.childCount}if(!s.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)fo(t,p[c],n,r,i,o)}}function po(t,e,n,r,i,o){if(8&e.flags)ho(t,e.ngContent.index,n,r,i,o);else{var a=to(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&fo(t,a,n,r,i,o),32&e.bindingFlags&&fo(Ii(t,e.nodeIndex).componentView,a,n,r,i,o)):fo(t,a,n,r,i,o),16777216&e.flags)for(var s=Ii(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)uo(s[l],n,r,i,o);1&e.flags&&!e.element.name&&co(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function fo(t,e,n,r,i,o){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,i);break;case 3:a.removeChild(r,e);break;case 0:o.push(e)}}var mo=/^:([^:]+):(.+)$/;function go(t){if(":"===t[0]){var e=t.match(mo);return[e[1],e[2]]}return["",t]}function yo(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function vo(t,e,n,r,i,o,a,s,l,u,c,h,p,d,f,m,g,y,v,b){switch(t){case 1:return e+bo(n)+r;case 2:return e+bo(n)+r+bo(i)+o;case 3:return e+bo(n)+r+bo(i)+o+bo(a)+s;case 4:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u;case 5:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u+bo(c)+h;case 6:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u+bo(c)+h+bo(p)+d;case 7:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u+bo(c)+h+bo(p)+d+bo(f)+m;case 8:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u+bo(c)+h+bo(p)+d+bo(f)+m+bo(g)+y;case 9:return e+bo(n)+r+bo(i)+o+bo(a)+s+bo(l)+u+bo(c)+h+bo(p)+d+bo(f)+m+bo(g)+y+bo(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function bo(t){return null!=t?t.toString():""}function _o(t,e,n,r,i,o){t|=1;var a=io(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?lo(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Li},provider:null,text:null,query:null,ngContent:null}}function wo(t,e,n,r,i,o,a,s,l,c,h,p){var d;void 0===a&&(a=[]),c||(c=Li);var f=io(n),m=f.matchedQueries,g=f.references,y=f.matchedQueryIds,v=null,b=null;o&&(v=(d=u(go(o),2))[0],b=d[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var C=u(s[w],3),x=C[0],k=C[2],E=u(go(C[1]),2),S=E[0],A=E[1],T=void 0,O=void 0;switch(15&x){case 4:O=k;break;case 1:case 8:T=k}_[w]={flags:x,ns:S,name:A,nonMinifiedName:A,securityContext:T,suffix:O}}l=l||[];var P=new Array(l.length);for(w=0;w<l.length;w++){var I=u(l[w],2);P[w]={type:0,target:I[0],eventName:I[1],propName:null}}var R=(a=a||[]).map(function(t){var e=u(t,2),n=e[1],r=u(go(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===Ui){var e=null!=t.encapsulation&&t.encapsulation!==Bt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Ki++:qi}return t&&t.id===qi&&(t=null),t||null}(p),h&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:yo(_),outputs:P,element:{ns:v,name:b,attrs:R,template:null,componentProvider:null,componentView:h||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Li},provider:null,text:null,query:null,ngContent:null}}function Co(t,e,n){var r,i=n.element,o=t.root.selectorOrNode,a=t.renderer;if(t.parent||!o){r=i.name?a.createElement(i.name,i.ns):a.createComment("");var s=ao(t,e,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===Bt.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var c=u(i.attrs[l],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function xo(t,e,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=ko(t,n.nodeIndex,(h=o.eventName,(c=o.target)?c+":"+h:h)),s=o.target,l=t;"component"===o.target&&(s=null,l=e);var u=l.renderer.listen(s||r,o.eventName,a);t.disposables[n.outputIndex+i]=u}var c,h}function ko(t,e,n){return function(r){return Xi(t,e,n,r)}}function Eo(t,e,n,r){if(!Wi(t,e,n,r))return!1;var i=e.bindings[n],o=Ii(t,e.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(t,e,n,r,i,o){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(t,i,a,i.ns,s,r);break;case 2:!function(t,e,n,r){var i=t.renderer;r?i.addClass(e,n):i.removeClass(e,n)}(t,a,s,r);break;case 4:!function(t,e,n,r,i){var o=t.root.sanitizer.sanitize(Be.STYLE,i);if(null!=o){o=o.toString();var a=e.suffix;null!=a&&(o+=a)}else o=null;var s=t.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(t,i,a,s,r);break;case 8:!function(t,e,n,r,i){var o=e.securityContext,a=o?t.root.sanitizer.sanitize(o,i):i;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&i.flags?o.componentView:t,i,a,s,r)}return!0}var So=new Object,Ao=zi(le),To=zi(ae),Oo=zi(Ie);function Po(t,e,n,r){return n=Vt(n),{index:-1,deps:oo(r,Ft(e)),flags:t,token:e,value:n}}function Io(t,e,n){void 0===n&&(n=le.THROW_IF_NOT_FOUND);var r,i,o=Wt(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Ao:case To:case Oo:return t}var s,l=t._def.providersByKey[a];if(l){var u=t._providers[l.index];return void 0===u&&(u=t._providers[l.index]=Ro(t,l)),u===So?void 0:u}if((s=bt(e.token))&&(r=t,null!=(i=s).providedIn&&(function(t,e){return t._def.modules.indexOf(i.providedIn)>-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=So,t._providers[c]=Ro(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Wt(o)}}function Ro(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Io(t,n[0]));case 2:return new e(Io(t,n[0]),Io(t,n[1]));case 3:return new e(Io(t,n[0]),Io(t,n[1]),Io(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=Io(t,n[o]);return new(e.bind.apply(e,c([void 0],i)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Io(t,n[0]));case 2:return e(Io(t,n[0]),Io(t,n[1]));case 3:return e(Io(t,n[0]),Io(t,n[1]),Io(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=Io(t,n[o]);return e.apply(void 0,c(i))}}(t,e.value,e.deps);break;case 2048:n=Io(t,e.deps[0]);break;case 256:n=e.value}return n===So||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?So:n}function Do(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Mo(n,e),Fi.dirtyParentQueries(r),Fo(r),r}function No(t,e,n){var r=e?to(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);uo(n,2,i,o,void 0)}function Fo(t){uo(t,3,null,null,void 0)}function jo(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Mo(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Vo=new Object;function Lo(t,e,n,r,i,o){return new Bo(t,e,n,r,i,o)}var Bo=function(t){function e(e,n,r,i,o,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return i(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=lo(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Fi.createRootView(t,e||[],n,i,r,Vo),s=Ri(a,o).instance;return n&&a.renderer.setAttribute(Ii(a,0).renderElement,"ng-version",Ue.full),new zo(a,new Ko(a),s)},e}(ke),zo=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return i(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new De(Ii(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Yo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(xe);function Uo(t,e,n){return new qo(t,e,n)}var qo=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new De(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Yo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=$i(t),t=t.parent;return t?new Yo(t,e):new Yo(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Do(this._data,t);Fi.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ko(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Pe||(i=o.get(Ie));var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a=t;return o=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=o.length),(i=a._view).viewContainerParent=this._view,jo(o,r,i),function(t,e){var n=Ji(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,i),Fi.dirtyParentQueries(i),No(n,r>0?o[r-1]:null,i),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(t._view);return i=e,a=(o=(n=this._data).viewContainer._embeddedViews)[r=s],Mo(o,r),null==i&&(i=o.length),jo(o,i,a),Fi.dirtyParentQueries(a),Fo(a),No(n,i>0?o[i-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Do(this._data,t);e&&Fi.destroyView(e)},t.prototype.detach=function(t){var e=Do(this._data,t);return e?new Ko(e):null},t}();function Ho(t){return new Ko(t)}var Ko=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return uo(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Yi(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Fi.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Fi.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Fi.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Fo(this._view),Fi.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Go(t,e){return new Wo(t,e)}var Wo=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return i(e,t),e.prototype.createEmbeddedView=function(t){return new Ko(Fi.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new De(Ii(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(mn);function Zo(t,e){return new Yo(t,e)}var Yo=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=le.THROW_IF_NOT_FOUND),Fi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:zi(t)},e)},t}();function Qo(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ii(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Pi(t,n.nodeIndex).renderText;if(20240&n.flags)return Ri(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Xo(t){return new Jo(t.renderer)}var Jo=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=u(go(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=u(go(e),2),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(t,o,n,i):this.delegate.removeAttribute(t,o,i)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function $o(t,e,n,r){return new ta(t,e,n,r)}var ta=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var i=e.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=Ro(t,i))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=le.THROW_IF_NOT_FOUND),void 0===n&&(n=Kt.Default);var r=0;return n&Kt.SkipSelf?r|=1:n&Kt.Self&&(r|=4),Io(this,{token:t,tokenKey:zi(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Te)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Ft(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=t._providers[i];if(o&&o!==So){var a=o.ngOnDestroy;"function"!=typeof a||r.has(o)||(a.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),ea=zi(Fe),na=zi(Ve),ra=zi(De),ia=zi(Xr),oa=zi(mn),aa=zi($r),sa=zi(le),la=zi(ae);function ua(t,e,n,r,i,o,a,s){var l=[];if(a)for(var c in a){var h=u(a[c],2);l[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var d in s)p.push({type:1,propName:d,target:null,eventName:s[d]});return ha(t,e|=16384,n,r,i,i,o,l,p)}function ca(t,e,n,r,i){return ha(-1,t,e,0,n,r,i)}function ha(t,e,n,r,i,o,a,s,l){var u=io(n),c=u.matchedQueries,h=u.references,p=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=Vt(o);var d=oo(a,Ft(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:yo(s),outputs:l,element:null,provider:{token:i,value:o,deps:d},text:null,query:null,ngContent:null}}function pa(t,e){return ga(t,e)}function da(t,e){for(var n=t;n.parent&&!eo(n);)n=n.parent;return ya(n.parent,$i(n),!0,e.provider.value,e.provider.deps)}function fa(t,e){var n=ya(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var i=e.outputs[r],o=n[i.propName];if(!rr(o))throw new Error("@Output "+i.propName+" not initialized in '"+n.constructor.name+"'.");var a=o.subscribe(ma(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function ma(t,e,n){return function(r){return Xi(t,e,n,r)}}function ga(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return ya(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(ba(t,e,n,i[0]));case 2:return r(ba(t,e,n,i[0]),ba(t,e,n,i[1]));case 3:return r(ba(t,e,n,i[0]),ba(t,e,n,i[1]),ba(t,e,n,i[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=ba(t,e,n,i[s]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return ba(t,e.parent,n,r.deps[0]);case 256:return r.value}}function ya(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(ba(t,e,n,i[0]));case 2:return new r(ba(t,e,n,i[0]),ba(t,e,n,i[1]));case 3:return new r(ba(t,e,n,i[0]),ba(t,e,n,i[1]),ba(t,e,n,i[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=ba(t,e,n,i[s]);return new(r.bind.apply(r,c([void 0],a)))}}var va={};function ba(t,e,n,r,i){if(void 0===i&&(i=le.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=t;2&r.flags&&(i=null);var a=r.tokenKey;a===aa&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var s=t;s;){if(e)switch(a){case ea:return Xo(_a(s,e,n));case na:return _a(s,e,n).renderer;case ra:return new De(Ii(s,e.nodeIndex).renderElement);case ia:return Ii(s,e.nodeIndex).viewContainer;case oa:if(e.element.template)return Ii(s,e.nodeIndex).template;break;case aa:return Ho(_a(s,e,n));case sa:case la:return Zo(s,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[a];if(l){var u=Ri(s,l.nodeIndex);return u||(u={instance:ga(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=eo(s),e=$i(s),s=s.parent,4&r.flags&&(s=null)}var c=o.root.injector.get(r.token,va);return c!==va||i===va?c:o.root.ngModule.injector.get(r.token,i)}function _a(t,e,n){var r;if(n)r=Ii(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!eo(r);)r=r.parent;return r}function wa(t,e,n,r,i,o){if(32768&n.flags){var a=Ii(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var s=Jt.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new $t(s,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function Ca(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&e&&ka(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=xa(t,a,e,r)),a=a.parent}}function xa(t,e,n,r){for(var i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){var o=t.def.nodes[i];o.flags&n&&ka(t,i,o.flags&n,r++),i+=o.childCount}return r}function ka(t,e,n,r){var i=Ri(t,e);if(i){var o=i.instance;o&&(Fi.setCurrentNode(t,e),1048576&n&&Oi(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Oi(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function Ea(t,e,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:ro(e),bindings:r},ngContent:null}}function Sa(t){for(var e=t.def.nodeMatchedQueries;t.parent&&no(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++)67108864&(o=t.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&Ni(t,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}if(134217728&t.def.nodeFlags)for(i=0;i<t.def.nodes.length;i++){var o;134217728&(o=t.def.nodes[i]).flags&&536870912&o.flags&&Ni(t,i).setDirty(),i+=o.childCount}}function Aa(t,e){var n=Ni(t,e.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&e.flags){var o=e.parent.parent;i=Ta(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),r=Ri(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=Ta(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);for(var a=e.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}r[u.propName]=c}s&&n.notifyOnChanges()}}function Ta(t,e,n,r,i){for(var o=e;o<=n;o++){var a=t.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(Oa(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Ii(t,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Ta(t,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var h=u[c],p=Ji(h);p&&p===l&&Ta(h,0,h.def.nodes.length-1,r,i)}var d=l.template._projectedViews;if(d)for(c=0;c<d.length;c++){var f=d[c];Ta(f,0,f.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function Oa(t,e,n){if(null!=n)switch(n){case 1:return Ii(t,e.nodeIndex).renderElement;case 0:return new De(Ii(t,e.nodeIndex).renderElement);case 2:return Ii(t,e.nodeIndex).template;case 3:return Ii(t,e.nodeIndex).viewContainer;case 4:return Ri(t,e.nodeIndex).instance}}function Pa(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Ia(t,e,n){var r=ao(t,e,n);r&&ho(t,n.ngContent.index,1,r,null,void 0)}function Ra(t,e){for(var n=Object.keys(e),r=n.length,i=new Array(r),o=0;o<r;o++){var a=n[o];i[e[a]]=a}return function(t,e,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:64,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:yo(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,t,i)}function Da(t,e,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Na(t,e,n){var r,i=t.renderer;r=i.createText(n.text.prefix);var o=ao(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function Fa(t,e){return(null!=t?t.toString():"")+e.suffix}function ja(t,e,n,r){for(var i=0,o=0,a=0,s=0,l=0,u=null,c=null,h=!1,p=!1,d=null,f=0;f<e.length;f++){var m=e[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=i,m.outputIndex=o,m.renderParent=c,a|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=u?u.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,h=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(Va(u,m,e.length),i+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(d=m),20224&m.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var y=0!=(32768&m.flags);0==(8192&m.flags)||y?u.element.publicProviders[zi(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[zi(m.provider.token)]=m),y&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)u=m,Ma(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Ma(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Li,updateRenderer:r||Li,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:d}}function Ma(t){return 0!=(1&t.flags)&&null===t.element.name}function Va(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function La(t,e,n,r){var i=Ua(t.root,t.renderer,t,e,n);return qa(i,t.component,r),Ha(i),i}function Ba(t,e,n){var r=Ua(t,t.renderer,null,null,e);return qa(r,n,n),Ha(r),r}function za(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Ua(t.root,i,t,e.element.componentProvider,n)}function Ua(t,e,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function qa(t,e,n){t.component=e,t.context=n}function Ha(t){var e;eo(t)&&(e=Ii(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];Fi.setCurrentNode(t,i);var a=void 0;switch(201347067&o.flags){case 1:var s=Co(t,e,o),l=void 0;if(33554432&o.flags){var u=lo(o.element.componentView);l=Fi.createComponentView(t,o,u,s)}xo(t,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?Go(t,o):void 0},16777216&o.flags&&(a.viewContainer=Uo(t,o,a));break;case 2:a=Na(t,e,o);break;case 512:case 1024:case 2048:case 256:(a=r[i])||4096&o.flags||(a={instance:pa(t,o)});break;case 16:a={instance:da(t,o)};break;case 16384:(a=r[i])||(a={instance:fa(t,o)}),32768&o.flags&&qa(Ii(t,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Gr;break;case 8:Ia(t,e,o),a=void 0}r[i]=a}$a(t,Ja.CreateViewNodes),rs(t,201326592,268435456,0)}function Ka(t){Za(t),Fi.updateDirectives(t,1),ts(t,Ja.CheckNoChanges),Fi.updateRenderer(t,1),$a(t,Ja.CheckNoChanges),t.state&=-97}function Ga(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Ti(t,0,256),Za(t),Fi.updateDirectives(t,0),ts(t,Ja.CheckAndUpdate),rs(t,67108864,536870912,0);var e=Ti(t,256,512);Ca(t,2097152|(e?1048576:0)),Fi.updateRenderer(t,0),$a(t,Ja.CheckAndUpdate),rs(t,134217728,536870912,0),Ca(t,8388608|((e=Ti(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Ti(t,768,1024)}function Wa(t,e,n,r,i,o,a,s,l,u,h,p,d){return 0===n?function(t,e,n,r,i,o,a,s,l,u,c,h){switch(201347067&e.flags){case 1:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings.length,d=!1;return p>0&&Eo(t,e,0,n)&&(d=!0),p>1&&Eo(t,e,1,r)&&(d=!0),p>2&&Eo(t,e,2,i)&&(d=!0),p>3&&Eo(t,e,3,o)&&(d=!0),p>4&&Eo(t,e,4,a)&&(d=!0),p>5&&Eo(t,e,5,s)&&(d=!0),p>6&&Eo(t,e,6,l)&&(d=!0),p>7&&Eo(t,e,7,u)&&(d=!0),p>8&&Eo(t,e,8,c)&&(d=!0),p>9&&Eo(t,e,9,h)&&(d=!0),d}(t,e,n,r,i,o,a,s,l,u,c,h);case 2:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=!1,d=e.bindings,f=d.length;if(f>0&&Wi(t,e,0,n)&&(p=!0),f>1&&Wi(t,e,1,r)&&(p=!0),f>2&&Wi(t,e,2,i)&&(p=!0),f>3&&Wi(t,e,3,o)&&(p=!0),f>4&&Wi(t,e,4,a)&&(p=!0),f>5&&Wi(t,e,5,s)&&(p=!0),f>6&&Wi(t,e,6,l)&&(p=!0),f>7&&Wi(t,e,7,u)&&(p=!0),f>8&&Wi(t,e,8,c)&&(p=!0),f>9&&Wi(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=Fa(n,d[0])),f>1&&(m+=Fa(r,d[1])),f>2&&(m+=Fa(i,d[2])),f>3&&(m+=Fa(o,d[3])),f>4&&(m+=Fa(a,d[4])),f>5&&(m+=Fa(s,d[5])),f>6&&(m+=Fa(l,d[6])),f>7&&(m+=Fa(u,d[7])),f>8&&(m+=Fa(c,d[8])),f>9&&(m+=Fa(h,d[9]));var g=Pi(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,r,i,o,a,s,l,u,c,h);case 16384:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=Ri(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&Gi(t,e,0,n)&&(f=!0,m=wa(t,p,e,0,n,m)),g>1&&Gi(t,e,1,r)&&(f=!0,m=wa(t,p,e,1,r,m)),g>2&&Gi(t,e,2,i)&&(f=!0,m=wa(t,p,e,2,i,m)),g>3&&Gi(t,e,3,o)&&(f=!0,m=wa(t,p,e,3,o,m)),g>4&&Gi(t,e,4,a)&&(f=!0,m=wa(t,p,e,4,a,m)),g>5&&Gi(t,e,5,s)&&(f=!0,m=wa(t,p,e,5,s,m)),g>6&&Gi(t,e,6,l)&&(f=!0,m=wa(t,p,e,6,l,m)),g>7&&Gi(t,e,7,u)&&(f=!0,m=wa(t,p,e,7,u,m)),g>8&&Gi(t,e,8,c)&&(f=!0,m=wa(t,p,e,8,c,m)),g>9&&Gi(t,e,9,h)&&(f=!0,m=wa(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&Oi(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,r,i,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings,d=!1,f=p.length;if(f>0&&Wi(t,e,0,n)&&(d=!0),f>1&&Wi(t,e,1,r)&&(d=!0),f>2&&Wi(t,e,2,i)&&(d=!0),f>3&&Wi(t,e,3,o)&&(d=!0),f>4&&Wi(t,e,4,a)&&(d=!0),f>5&&Wi(t,e,5,s)&&(d=!0),f>6&&Wi(t,e,6,l)&&(d=!0),f>7&&Wi(t,e,7,u)&&(d=!0),f>8&&Wi(t,e,8,c)&&(d=!0),f>9&&Wi(t,e,9,h)&&(d=!0),d){var m=Di(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=r),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=h);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,i);break;case 4:g=y.transform(r,i,o);break;case 5:g=y.transform(r,i,o,a);break;case 6:g=y.transform(r,i,o,a,s);break;case 7:g=y.transform(r,i,o,a,s,l);break;case 8:g=y.transform(r,i,o,a,s,l,u);break;case 9:g=y.transform(r,i,o,a,s,l,u,c);break;case 10:g=y.transform(r,i,o,a,s,l,u,c,h)}}m.value=g}return d}(t,e,n,r,i,o,a,s,l,u,c,h);default:throw"unreachable"}}(t,e,r,i,o,a,s,l,u,h,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i<n.length;i++)Eo(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)Wi(t,e,o,n[o])&&(i=!0);if(i){var a="";for(o=0;o<n.length;o++)a+=Fa(n[o],r[o]);a=e.text.prefix+a;var s=Pi(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return i}(t,e,n);case 16384:return function(t,e,n){for(var r=Ri(t,e.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)Gi(t,e,s,n[s])&&(o=!0,a=wa(t,r,e,s,n[s],a));return a&&i.ngOnChanges(a),65536&e.flags&&Oi(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)Wi(t,e,o,n[o])&&(i=!0);if(i){var a=Di(t,e.nodeIndex),s=void 0;switch(201347067&e.flags){case 32:s=n;break;case 64:for(s={},o=0;o<n.length;o++)s[r[o].name]=n[o];break;case 128:var l=n[0],u=n.slice(1);s=l.transform.apply(l,c(u))}a.value=s}return i}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Za(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var i=Ii(t,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,Qi(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ya(t,e,n,r,i,o,a,s,l,u,c,h,p){return 0===n?function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings.length;p>0&&Zi(t,e,0,n),p>1&&Zi(t,e,1,r),p>2&&Zi(t,e,2,i),p>3&&Zi(t,e,3,o),p>4&&Zi(t,e,4,a),p>5&&Zi(t,e,5,s),p>6&&Zi(t,e,6,l),p>7&&Zi(t,e,7,u),p>8&&Zi(t,e,8,c),p>9&&Zi(t,e,9,h)}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){for(var r=0;r<n.length;r++)Zi(t,e,r,n[r])}(t,e,r),!1}function Qa(t,e){if(Ni(t,e.nodeIndex).dirty)throw ji(Fi.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Xa(t){if(!(128&t.state)){if(ts(t,Ja.Destroy),$a(t,Ja.Destroy),Ca(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=Ji(t);if(e){var n=e.template._projectedViews;n&&(Mo(n,n.indexOf(t)),Fi.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Ii(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Pi(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Ni(t,n).destroy()}}(t),eo(t)&&t.renderer.destroy(),t.state|=128}}var Ja=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function $a(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?es(Ii(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function ts(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Ii(t,r).viewContainer._embeddedViews,a=0;a<o.length;a++)es(o[a],e);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function es(t,e){var n=t.state;switch(e){case Ja.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ka(t):64&n&&ns(t,Ja.CheckNoChangesProjectedViews));break;case Ja.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ka(t):64&n&&ns(t,e));break;case Ja.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ga(t):64&n&&ns(t,Ja.CheckAndUpdateProjectedViews));break;case Ja.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ga(t):64&n&&ns(t,e));break;case Ja.Destroy:Xa(t);break;case Ja.CreateViewNodes:Ha(t)}}function ns(t,e){ts(t,e),$a(t,e)}function rs(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var i=t.def.nodes.length,o=0;o<i;o++){var a=t.def.nodes[o];if(a.flags&e&&a.flags&n)switch(Fi.setCurrentNode(t,a.nodeIndex),r){case 0:Aa(t,a);break;case 1:Qa(t,a)}a.childFlags&e&&a.childFlags&n||(o+=a.childCount)}}var is=!1;function os(t,e,n,r,i,o){var a=i.injector.get(je);return Ba(ss(t,i,a,e,n),r,o)}function as(t,e,n,r,i,o){var a=i.injector.get(je),s=ss(t,i,new Ls(a),e,n),l=ys(r);return Ms(Ss.create,Ba,null,[s,l,o])}function ss(t,e,n,r,i){var o=e.injector.get(ze),a=e.injector.get(jn),s=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function ls(t,e,n,r){var i=ys(n);return Ms(Ss.create,La,null,[t,e,i,r])}function us(t,e,n,r){return n=ds.get(e.element.componentProvider.provider.token)||ys(n),Ms(Ss.create,za,null,[t,e,n,r])}function cs(t,e,n,r){return $o(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===hs.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=hs.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){ps.forEach(function(r,i){bt(i).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var i=hs.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=oo(i.deps),r.value=i.value)}if(ps.size>0){var o=new Set(t.modules);ps.forEach(function(e,r){if(o.has(bt(r).providedIn)){var i={token:r,flags:e.flags|(n?4096:0),deps:oo(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[zi(r)]=i}})}}(t=t.factory(function(){return Li})),t):t}(r))}var hs=new Map,ps=new Map,ds=new Map;function fs(t){var e;hs.set(t.token,t),"function"==typeof t.token&&(e=bt(t.token))&&"function"==typeof e.providedIn&&ps.set(t.token,t)}function ms(t,e){var n=lo(e.viewDefFactory),r=lo(n.nodes[0].element.componentView);ds.set(t,r)}function gs(){hs.clear(),ps.clear(),ds.clear()}function ys(t){if(0===hs.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&hs.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Li});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=hs.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=oo(o.deps),i.value=o.value)}}}}function vs(t,e,n,r,i,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return Wa(t,d,n,r,i,o,a,s,l,u,c,h,p),224&d.flags?Di(t,e).value:void 0}function bs(t,e,n,r,i,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return Ya(t,d,n,r,i,o,a,s,l,u,c,h,p),224&d.flags?Di(t,e).value:void 0}function _s(t){return Ms(Ss.detectChanges,Ga,null,[t])}function ws(t){return Ms(Ss.checkNoChanges,Ka,null,[t])}function Cs(t){return Ms(Ss.destroy,Xa,null,[t])}var xs,ks,Es,Ss=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function As(t,e){ks=t,Es=e}function Ts(t,e,n,r){return As(t,e),Ms(Ss.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Os(t,e){if(128&t.state)throw Vi(Ss[xs]);return As(t,Ds(t,0)),t.def.updateDirectives(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Is(t,a,r,i):Rs(t,a,r,i),16384&a.flags&&As(t,Ds(t,n)),224&a.flags?Di(t,a.nodeIndex).value:void 0},t)}function Ps(t,e){if(128&t.state)throw Vi(Ss[xs]);return As(t,Ns(t,0)),t.def.updateRenderer(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Is(t,a,r,i):Rs(t,a,r,i),3&a.flags&&As(t,Ns(t,n)),224&a.flags?Di(t,a.nodeIndex).value:void 0},t)}function Is(t,e,n,r){if(Wa.apply(void 0,c([t,e,n],r))){var i=1===n?r[0]:r;if(16384&e.flags){for(var o={},a=0;a<e.bindings.length;a++){var s=e.bindings[a],l=i[a];8&s.flags&&(o[(d=s.nonMinifiedName,"ng-reflect-"+d.replace(/[$@]/g,"_").replace(Yt,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))]=Qt(l))}var u=e.parent,h=Ii(t,u.nodeIndex).renderElement;if(u.element.name)for(var p in o)null!=(l=o[p])?t.renderer.setAttribute(h,p,l):t.renderer.removeAttribute(h,p);else t.renderer.setValue(h,"bindings="+JSON.stringify(o,null,2))}}var d}function Rs(t,e,n,r){Ya.apply(void 0,c([t,e,n],r))}function Ds(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Ns(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Fs=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=$i(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Ii(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Zo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){js(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&js(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!eo(t);)t=t.parent;return t.parent?Ii(t.parent,$i(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?to(this.view,this.nodeDef):to(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var o=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===o?(e=t.error).bind.apply(e,c([t],r)):Li}),a<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function js(t,e,n){for(var r in e.references)n[r]=Oa(t,e,e.references[r])}function Ms(t,e,n,r){var i=xs,o=ks,a=Es;try{xs=t;var s=e.apply(n,r);return ks=o,Es=a,xs=i,s}catch(l){if(Dn(l)||!ks)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Mi(t,e),t}(l,Vs())}}function Vs(){return ks?new Fs(ks,Es):null}var Ls=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Bs(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),Bs=function(){function t(t){this.delegate=t,this.debugContextFactory=Vs,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){ii.delete(t.nativeNode)}(oi(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var i=new ri(n,null,r);i.name=t,ai(i)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&ai(new ni(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&ai(new ni(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=oi(t),r=oi(e);n&&r&&n instanceof ri&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=oi(t),i=oi(e),o=oi(n);r&&i&&r instanceof ri&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=oi(t),r=oi(e);n&&r&&n instanceof ri&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=Vs();return r&&ai(new ri(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var i=oi(t);i&&i instanceof ri&&(i.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=oi(t);r&&r instanceof ri&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=oi(t);n&&n instanceof ri&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=oi(t);n&&n instanceof ri&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var i=oi(t);i&&i instanceof ri&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=oi(t);r&&r instanceof ri&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=oi(t);r&&r instanceof ri&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=oi(t);r&&r.listeners.push(new ei(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function zs(t,e,n){return new Us(t,e,n)}var Us=function(t){function e(e,n,r){var i=t.call(this)||this;return i.moduleType=e,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return i(e,t),e.prototype.create=function(t){!function(){if(!is){is=!0;var t=Ke()?{setCurrentNode:As,createRootView:as,createEmbeddedView:ls,createComponentView:us,createNgModuleRef:cs,overrideProvider:fs,overrideComponentView:ms,clearOverrides:gs,checkAndUpdateView:_s,checkNoChangesView:ws,destroyView:Cs,createDebugContext:function(t,e){return new Fs(t,e)},handleEvent:Ts,updateDirectives:Os,updateRenderer:Ps}:{setCurrentNode:function(){},createRootView:os,createEmbeddedView:La,createComponentView:za,createNgModuleRef:$o,overrideProvider:Li,overrideComponentView:Li,clearOverrides:Li,checkAndUpdateView:Ga,checkNoChangesView:Ka,destroyView:Xa,createDebugContext:function(t,e){return new Fs(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?vs:bs,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?vs:bs,t)}};Fi.setCurrentNode=t.setCurrentNode,Fi.createRootView=t.createRootView,Fi.createEmbeddedView=t.createEmbeddedView,Fi.createComponentView=t.createComponentView,Fi.createNgModuleRef=t.createNgModuleRef,Fi.overrideProvider=t.overrideProvider,Fi.overrideComponentView=t.overrideComponentView,Fi.clearOverrides=t.clearOverrides,Fi.checkAndUpdateView=t.checkAndUpdateView,Fi.checkNoChangesView=t.checkNoChangesView,Fi.destroyView=t.destroyView,Fi.resolveDep=ba,Fi.createDebugContext=t.createDebugContext,Fi.handleEvent=t.handleEvent,Fi.updateDirectives=t.updateDirectives,Fi.updateRenderer=t.updateRenderer,Fi.dirtyParentQueries=Sa}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var i in t.providersByKey)r[i]=t.providersByKey[i];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(lo(this._ngModuleDefFactory));return Fi.createNgModuleRef(this.moduleType,t||le.NULL,this._bootstrapComponents,e)},e}(Re),qs=function(){function t(){this.changeListeners=[],this.cache={},this.currentKey=0}return t.prototype.set=function(t,e,n){if(this.cache[t]=e,localStorage.setItem(t,JSON.stringify(e)),void 0===n||n)for(var r=0;r<this.changeListeners.length;++r)this.changeListeners[r].cb(t)},t.prototype.get=function(t,e){if(t in this.cache)return this.cache[t];var n,r=localStorage.getItem(t);if(null!==r)try{n=JSON.parse(r),this.cache[t]=n}catch(i){n=e,void 0!==e&&this.set(t,e,!1)}else n=e,void 0!==e&&this.set(t,e,!1);return n},t.prototype.onChange=function(t){return this.changeListeners.push({key:++this.currentKey,cb:t}),this.currentKey},t.prototype.remove=function(t){for(var e=0;e<this.changeListeners.length;++e)if(this.changeListeners[e].key==t)return this.changeListeners.splice(e,1),!0;return!1},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Hs=function(){function t(){this._index=void 0,this._name=void 0,this._changeListeners=[],this._currentKey=0}return Object.defineProperty(t.prototype,"index",{get:function(){return this._index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.notify=function(t,e){this._index=t,this._name=e,console.log("really happen");for(var n=0;n<this._changeListeners.length;++n)this._changeListeners[n].cb(t,e)},t.prototype.remove=function(t){for(var e=0;e<this._changeListeners.length;++e)if(this._changeListeners[e].key==t)return this._changeListeners.splice(e,1),!0;return!1},t.prototype.onChanged=function(t){var e=this;return this._changeListeners.push({key:++this._currentKey,cb:t}),setTimeout(function(){console.log("hello",e._index,e._name),t(e._index,e._name)},0),this._currentKey},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ks=function(){function t(){this.reset()}return t.prototype.addListener=function(t,e){this.socket.addEventListener(t,e),this.allListeners.push([t,e])},t.prototype.removeListeners=function(){for(var t=0;t<this.allListeners.length;++t){var e=this.allListeners[t];this.socket.removeEventListener(e[0],e[1])}this.allListeners=[]},Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.socket&&this.socket.readyState==WebSocket.OPEN},enumerable:!0,configurable:!0}),t.websocketLocation=function(t,e){var n=t.get("scheduler",e.hostname),r="https:"===e.protocol,i=t.get("port",e.port||(r?8098:8097));return r&&8097===i?t.set("port",i=8098,!1):r||8098!==i||t.set("port",i=8097,!1),{host:n,port:i,secure:r}},t.prototype.open=function(t,e,n){var r=this;if(!this.isopen){try{this.socket=new WebSocket((n?"wss":"ws")+"://"+t+":"+e+"/monitor")}catch(o){this.socket=void 0;for(var i=0;i<this.errorListeners.length;++i)this.errorListeners[i](o);return void console.log("ws connect error",o)}console.log("ws connected"),this.addListener("open",function(t){if(console.log("ws open"),r.isopen=!0,void 0!==r.pending){for(var e=0;e<r.pending.length;++e)r.socket.send(r.pending[e]);r.pending=void 0}for(e=0;e<r.openListeners.length;++e)r.openListeners[e]()}),this.addListener("message",function(t){var e;try{e=JSON.parse(t.data)}catch(o){return void console.error("unable to parse json",t.data)}for(var n=0;n<r.messageListeners.length;++n)r.messageListeners[n](e)}),this.addListener("close",function(){console.log("ws close");var t=r.closeListeners;r.removeListeners(),r.reset();for(var e=0;e<t.length;++e)t[e]()}),this.addListener("error",function(t){console.log("ws error",t),r.socket&&r.socket.close();var e=r.errorListeners;r.removeListeners(),r.reset();for(var n=0;n<e.length;++n)e[n](t)})}},t.prototype.on=function(t,e){"message"==t?this.messageListeners.push(e):"open"==t?this.openListeners.push(e):"close"==t?this.closeListeners.push(e):"error"==t&&this.errorListeners.push(e)},t.prototype.send=function(t){this.isopen?this.socket.send(JSON.stringify(t)):this.pending.push(JSON.stringify(t))},t.prototype.close=function(t,e){this.socket&&this.socket.close(t,e),this.removeListeners(),this.reset()},t.prototype.reset=function(){this.socket=void 0,this.pending=[],this.messageListeners=[],this.closeListeners=[],this.errorListeners=[],this.openListeners=[],this.isopen=!1,this.allListeners=[]},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Gs=function(){function t(t,e){var n=this;this.config=t,this.tabChanged=e,this.minHeight="",this.inited=!1,this.timers={};var r=Ks.websocketLocation(t,window.location);this.port=r.port,this.scheduler=r.host,this.chartLegendSpace=t.get("chart-legend-space",400),this.client=t.get("client",""),this.fgcolor=t.get("fgcolor","#ffffff"),this.bgcolor=t.get("bgcolor","#ff0000"),this.pieBuilding=t.get("pieBuilding",!1),this.noAnimate=t.get("noAnimate",!1),this.config.onChange(function(e){switch(e){case"scheduler":n.scheduler=t.get("scheduler");break;case"port":n.port=t.get("port");break;case"chart-legend-space":n.chartLegendSpace=t.get("chart-legend-space");break;case"client":n.client=t.get("client");break;case"fgcolor":n.fgcolor=t.get("fgcolor");break;case"bgcolor":n.bgcolor=t.get("bgcolor");break;case"pieBuilding":n.pieBuilding=t.get("pieBuilding");break;case"noAnimate":n.noAnimate=t.get("noAnimate")}}),this.tabChanged.onChanged(function(t,e){if("Config"==e&&!n.inited){n.inited=!0;var r=document.getElementById("configTab").getBoundingClientRect();n.minHeight=window.innerHeight-r.y-50+"px"}})}return t.prototype.update=function(t,e){var n=this,r=!1;switch(t){case"scheduler":case"client":case"fgcolor":case"bgcolor":r=!0,this[t]=e}r&&(t in this.timers&&clearTimeout(this.timers[t]),this.timers[t]=setTimeout(function(){delete n.timers[t],n.config.set(t,e)},500))},t.prototype.updateInt=function(t,e){var n,r=!1,i=t;switch(t){case"chartLegendSpace":i="chart-legend-space";case"port":n=parseInt(e),isNaN(n)||(r=!0,this[t]=n)}r&&this.config.set(i,n)},t.prototype.updateBool=function(t,e){var n,r=!1;switch(n="boolean"==typeof e?e:"string"==typeof e&&"true"===e,t){case"pieBuilding":case"noAnimate":r=!0,this[t]=n}r&&this.config.set(t,n)},t}(),Ws=function(){function t(){this.backoffs={},this.serials={}}return t.prototype.backoff=function(t,e,n){var r=this;if(t in this.backoffs)return!1;t in this.serials?++this.serials[t]:this.serials[t]=0;var i=this.serials[t];this.backoffs[t]=-1;var o=function(a){console.log("reconnecting",a),n().then(function(n){if(i===r.serials[t])if(n)delete r.backoffs[t];else{var s=e(a);r.backoffs[t]=setTimeout(function(){o(s)},s)}}).catch(function(e){i===r.serials[t]&&delete r.backoffs[t],console.error(e)})};return o(0),!0},t.prototype.stop=function(t){if(t in this.backoffs){var e=this.backoffs[t];-1!==e&&clearTimeout(e),delete this.backoffs[t]}},t.prototype.running=function(t){return t in this.backoffs},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Zs=new O(function(t){return t.complete()});function Ys(t){return t?function(t){return new O(function(e){return t.schedule(function(){return e.complete()})})}(t):Zs}function Qs(t){var e=new O(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Xs(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(M(n)?t.pop():n=void 0,t.length){case 0:return Ys(n);case 1:return n?$(t,n):Qs(t[0]);default:return $(t,n)}}function Js(t,e){return et(t,e,1)}function $s(t,e){return function(n){return n.lift(new tl(t,e))}}var tl=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new el(t,this.predicate,this.thisArg))},t}(),el=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(x),nl=function(){return function(){}}(),rl=new _t("Location Initialized"),il=function(){return function(){}}(),ol=new _t("appBaseHref"),al=function(){function t(t){var n=this;this._subject=new fn,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(sl(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,sl(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function sl(t){return t.replace(/\/index.html$/,"")}var ll=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=al.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+al.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+al.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(il),ul=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return al.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+al.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+al.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+al.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(il),cl=void 0,hl=["en",[["a","p"],["AM","PM"],cl],[["AM","PM"],cl,cl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],cl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],cl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",cl,"{1} 'at' {0}",cl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],pl={},dl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),fl=new _t("UseV4Plurals"),ml=function(){return function(){}}(),gl=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return i(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=pl[e];if(n)return n;var r=e.split("-")[0];if(n=pl[r])return n;if("en"===r)return hl;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case dl.Zero:return"zero";case dl.One:return"one";case dl.Two:return"two";case dl.Few:return"few";case dl.Many:return"many";default:return"other"}},e}(ml);function yl(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=l(t.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.indexOf("="),c=u(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),h=c[1];if(c[0].trim()===e)return decodeURIComponent(h)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var vl=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),bl=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Ke()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new vl(null,e._ngForOf,-1,-1),i),a=new _l(t,o);n.push(a)}else null==i?e._viewContainer.remove(r):(o=e._viewContainer.get(r),e._viewContainer.move(o,i),a=new _l(t,o),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),_l=function(){return function(t,e){this.record=t,this.view=e}}(),wl=function(){function t(t,e){this._viewContainer=t,this._context=new Cl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){xl("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){xl("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),Cl=function(){return function(){this.$implicit=null,this.ngIf=null}}();function xl(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Ft(e)+"'.")}var kl=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),El=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}},t}(),Sl=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new kl(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),Al=function(){return function(){}}(),Tl=new _t("DocumentToken"),Ol="browser",Pl="server",Il=function(){function t(){}return t.ngInjectableDef=vt({providedIn:"root",factory:function(){return new Rl(Zt(Tl),window)}}),t}(),Rl=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Dl=function(){return function(){}}(),Nl=function(){return function(){}}(),Fl=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,c(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),jl=function(){function t(){}return t.prototype.encodeKey=function(t){return Ml(t)},t.prototype.encodeValue=function(t){return Ml(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function Ml(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Vl=function(){function t(t){void 0===t&&(t={});var e,n,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new jl,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),i=u(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],a=i[1],s=r.get(o)||[];s.push(a),r.set(o,s)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function Ll(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Bl(t){return"undefined"!=typeof Blob&&t instanceof Blob}function zl(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Ul=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Fl),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new Vl,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:Ll(this.body)||Bl(this.body)||zl(this.body)||"string"==typeof this.body?this.body:this.body instanceof Vl?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:zl(this.body)?null:Bl(this.body)?this.body.type||null:Ll(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Vl?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,r,o,{params:u,headers:l,reportProgress:s,responseType:i,withCredentials:a})},t}(),ql=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),Hl=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new Fl,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),Kl=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ql.ResponseHeader,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Hl),Gl=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=ql.Response,n.body=void 0!==e.body?e.body:null,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Hl),Wl=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return i(e,t),e}(Hl);function Zl(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Yl=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof Ul)r=t;else{var o;o=n.headers instanceof Fl?n.headers:new Fl(n.headers);var a=void 0;n.params&&(a=n.params instanceof Vl?n.params:new Vl({fromObject:n.params})),r=new Ul(t,e,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=Xs(r).pipe(Js(function(t){return i.handler.handle(t)}));if(t instanceof Ul||"events"===n.observe)return s;var l=s.pipe($s(function(t){return t instanceof Gl}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(Q(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(Q(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(Q(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(Q(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Vl).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Zl(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Zl(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Zl(n,e))},t}(),Ql=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Xl=new _t("HTTP_INTERCEPTORS"),Jl=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),$l=/^\)\]\}',?\n/,tu=function(){return function(){}}(),eu=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),nu=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new O(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new Fl(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new Kl({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,a=e.statusText,s=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace($l,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new Gl({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Wl({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=l().url,i=new Wl({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,p=function(e){h||(n.next(l()),h=!0);var i={type:ql.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(t){var e={type:ql.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:ql.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}})},t}(),ru=new _t("XSRF_COOKIE_NAME"),iu=new _t("XSRF_HEADER_NAME"),ou=function(){return function(){}}(),au=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=yl(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),su=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),lu=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Xl,[]);this.chain=e.reduceRight(function(t,e){return new Ql(t,e)},this.backend)}return this.chain.handle(t)},t}(),uu=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:su,useClass:Jl}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:ru,useValue:t.cookieName}:[],t.headerName?{provide:iu,useValue:t.headerName}:[]]}},t}(),cu=function(){return function(){}}(),hu=function(){function t(t,e,n,r){var i=this;this.ws=t,this.backoff=e,this.config=n,this.httpClient=r,this.pendingConnect=[],this.dataListeners=[],this.openListeners=[],this.schedulerListeners=[],this._currentKey=0;var o=window.location.pathname.replace(/[^/]*$/,"package.json");this.httpClient.get(window.location.protocol+"//"+window.location.host+"/"+o,{responseType:"json"}).subscribe(function(t){t&&i.emit(i.dataListeners,{type:"uiInfo",package:t})});var a=Ks.websocketLocation(n,window.location);this._host=a.host,this._port=a.port,this._secure=a.secure,void 0!==this._host&&this.open(this._host,this._port,this._secure),this.config.onChange(function(t){switch(t){case"scheduler":case"port":i.close();var e=Ks.websocketLocation(n,window.location);i._host=e.host,i._port=e.port,i._secure=e.secure,void 0!==i._host&&i.open(i._host,i._port,i._secure),i.emit(i.schedulerListeners,t)}})}return Object.defineProperty(t.prototype,"host",{get:function(){return this._host},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this._port},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.ws.isOpen},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e,n){var r=this;console.log("reoping"),this.ws.on("message",function(t){r.emit(r.dataListeners,t)}),this.ws.on("close",function(){r.reconnect(t,e,n)}),this.ws.on("error",function(){r.reconnect(t,e,n)}),this.ws.on("open",function(){r.emit(r.openListeners),r.resolvePending(!0),console.log("ok")}),this.ws.open(t,e,n)},t.prototype.close=function(t,e){this.backoff.stop("fisk"),this.ws.close(t,e)},t.prototype.on=function(t,e){switch(t){case"data":this.dataListeners.push({key:++this._currentKey,cb:e});break;case"open":this.openListeners.push({key:++this._currentKey,cb:e});break;case"scheduler":this.schedulerListeners.push({key:++this._currentKey,cb:e});break;default:return-1}return this._currentKey},t.prototype.remove=function(t,e){var n=function(t,e){for(var n=0;n<t.length;++n)if(t[n].key==e)return t.splice(n,1),!0;return!1};switch(t){case"data":return n(this.dataListeners,e);case"open":return n(this.openListeners,e);case"scheduler":return n(this.schedulerListeners,e)}return!1},t.prototype.send=function(t){this.ws.send(t)},t.prototype.reconnect=function(t,e,n){var r=this;this.backoff.running("fisk")?this.resolvePending(!1):this.backoff.backoff("fisk",function(t){return t?Math.min(3e4,2*t):1e3},function(){return new Promise(function(i,o){r.pendingConnect.push({resolve:i,reject:o}),r.open(t,e,n)})})},t.prototype.resolvePending=function(t){this.pendingConnect.length>0&&this.pendingConnect.shift().resolve(t)},t.prototype.emit=function(t,e){for(var n=0;n<t.length;++n)t[n].cb(e)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Ks),Zt(Ws),Zt(qs),Zt(Yl))},token:t,providedIn:"root"}),t}(),pu=function(){function t(t){var e=this;this.fisk=t,this.expanded="",this.fisk.on("data",function(t){switch(t.type){case"logFiles":e.files=t.files}})}return t.prototype.onClicked=function(t){this.expanded=t,console.log("clicked",t)},t.prototype.ngAfterViewInit=function(){console.log("logs!"),this.fisk.send({type:"logFiles"})},t}(),du=function(){return function(){}}(),fu=function(){return function(){}}(),mu="*";function gu(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function yu(t){return{type:6,styles:t,offset:null}}function vu(t){Promise.resolve(null).then(t)}var bu=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;vu(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),_u=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?vu(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==o&&e._onFinish()}),t.onDestroy(function(){++r==o&&e._onDestroy()}),t.onStart(function(){++i==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),wu="!";function Cu(){throw Error("Host already has a portal attached")}var xu=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Cu(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),ku=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return i(e,t),e}(xu),Eu=function(t){function e(e,n,r){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,i.context=r,i}return i(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(xu),Su=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Cu(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof ku?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Eu?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),Au=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return i(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);-1!==t&&n.remove(t)}),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(Su),Tu=function(t){function e(e,n){var r=t.call(this)||this;return r._componentFactoryResolver=e,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new fn,r}return i(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(Su),Ou=function(){return function(){}}(),Pu=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}();function Iu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Iu.prototype=Object.create(Error.prototype);var Ru=Iu;function Du(t){return function(e){return 0===t?Ys():e.lift(new Nu(t))}}var Nu=function(){function t(t){if(this.total=t,this.total<0)throw new Ru}return t.prototype.call=function(t,e){return e.subscribe(new Fu(t,this.total))},t}(),Fu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(x);function ju(t){return function(e){return e.lift(new Mu(t))}}var Mu=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Vu(t),r=Z(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),Vu=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(Y);function Lu(t){return null!=t&&""+t!="false"}function Bu(t){return Array.isArray(t)?t:[t]}function zu(t){return null==t?"":"string"==typeof t?t:t+"px"}function Uu(t){return t instanceof De?t.nativeElement:t}function qu(t,e,n,r){return d(n)&&(r=n,n=void 0),r?qu(t,e,n).pipe(Q(function(t){return h(t)?r.apply(void 0,t):r(t)})):new O(function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c<h;c++)t(e[c],n,r,i,o)}i.add(a)}(t,e,function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},r,n)})}var Hu=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(g)),Ku=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),Gu=function(t){function e(n,r){void 0===r&&(r=Ku.now);var i=t.call(this,n,function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Ku),Wu=new Gu(Hu),Zu=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Yu(t,this.durationSelector))},t}(),Yu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(r){return this.destination.error(r)}var n=Z(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(Y);function Qu(t){return!h(t)&&t-parseFloat(t)+1>=0}function Xu(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function Ju(t,e){return void 0===e&&(e=Wu),n=function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return Qu(e)?r=Number(e)<1?1:Number(e):M(e)&&(n=e),M(n)||(n=Wu),new O(function(e){var i=Qu(t)?t:+t-n.now();return n.schedule(Xu,i,{index:0,period:r,subscriber:e})})}(t,e)},function(t){return t.lift(new Zu(n))};var n}function $u(){return ot(1)}function tc(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];M(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return $u()(Xs.apply(void 0,t))}(1!==r||n?r>0?$(t,n):Ys(n):Qs(t[0]),e)}}function ec(t,e){return"function"==typeof e?function(n){return n.pipe(ec(function(n,r){return tt(t(n,r)).pipe(Q(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new rc(t))}}var nc,rc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new ic(t,this.project))},t}(),ic=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new V(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Z(this,t,e,n,i)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(Y);nc||(nc={});var oc,ac,sc="undefined"!=typeof Intl&&Intl.v8BreakIterator,lc=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===Ol:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!sc)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.ngInjectableDef=vt({factory:function(){return new t(Zt(cr,8))},token:t,providedIn:"root"}),t}(),uc=function(){return function(){}}(),cc=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function hc(){if(oc)return oc;if("object"!=typeof document||!document)return oc=new Set(cc);var t=document.createElement("input");return oc=new Set(cc.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function pc(t){return function(){if(null==ac&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ac=!0}}))}finally{ac=ac||!1}return ac}()?t:!!t.capture}var dc=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new O(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Ju(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Xs()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe($s(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return qu(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Ar),Zt(lc))},token:t,providedIn:"root"}),t}(),fc=function(){return function(){}}(),mc=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular(function(){n._change=t.isBrowser?at(qu(window,"resize"),qu(window,"orientationchange")):Xs(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Ju(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=vt({factory:function(){return new t(Zt(lc),Zt(Ar))},token:t,providedIn:"root"}),t}(),gc=27,yc=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=zu(-this._previousScrollPosition.left),t.style.top=zu(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,r=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=r,n.scrollBehavior=i}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function vc(){return Error("Scroll strategy has already been attached.")}var bc=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw vc();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),_c=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function wc(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function Cc(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var xc=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw vc();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;wc(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),kc=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new _c},this.close=function(t){return new bc(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new yc(i._viewportRuler,i._document)},this.reposition=function(t){return new xc(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}return t.ngInjectableDef=vt({factory:function(){return new t(Zt(dc),Zt(mc),Zt(Ar),Zt(Tl))},token:t,providedIn:"root"}),t}(),Ec=function(){return function(t){var e=this;this.scrollStrategy=new _c,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(function(n){void 0!==t[n]&&(e[n]=t[n])})}}(),Sc=function(){return function(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),Ac=function(){return function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}();function Tc(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function Oc(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var Pc=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Tl))},token:t,providedIn:"root"}),t}(),Ic=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Tl))},token:t,providedIn:"root"}),t}(),Rc=function(){function t(t,e,n,r,i,o,a,s){var l=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new F,this._attachments=new F,this._detachments=new F,this._locationChanges=g.EMPTY,this._keydownEventsObservable=new O(function(t){var e=l._keydownEvents.subscribe(t);return l._keydownEventSubscriptions++,function(){e.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new F,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this),this._positionStrategy=r.positionStrategy}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Du(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},t.prototype.updatePositionStrategy=function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))},t.prototype.updateSize=function(t){this._config=o({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=o({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.addPanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!0)},t.prototype.removePanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!1)},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=zu(this._config.width),t.height=zu(this._config.height),t.minWidth=zu(this._config.minWidth),t.minHeight=zu(this._config.minHeight),t.maxWidth=zu(this._config.maxWidth),t.maxHeight=zu(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n,r=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},t.prototype._toggleClasses=function(t,e,n){var r=t.classList;Bu(e).forEach(function(t){n?r.add(t):r.remove(t)})},t.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(ju(at(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},t}(),Dc=function(){function t(t,e,n,r,i){var o=this;this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this.scrollables=[],this._preferredPositions=[],this._positionChanges=new F,this._resizeSubscription=g.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=new O(function(t){var e=o._positionChanges.subscribe(t);return o._positionChangeSubscriptions++,function(){e.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},t.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,a=this._preferredPositions;o<a.length;o++){var s=a[o],l=this._getOriginPoint(e,s),u=this._getOverlayPoint(l,n,s),c=this._getOverlayFit(u,n,r,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,r)?i.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!t||t.overlayFit.visibleArea<c.visibleArea)&&(t={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:n})}if(i.length){for(var h=null,p=-1,d=0,f=i;d<f.length;d++){var m=f[d],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>p&&(p=g,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Nc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){this.scrollables=t},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),p=c*h;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(t.x+e.width-o.right,0),s=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:r=e.width<=o.width?u||-a:t.x<this._viewportMargin?o.left-n.left-t.x:0,y:i=e.height<=o.height?l||-s:t.y<this._viewportMargin?o.top-n.top-t.y:0},{x:t.x+r,y:t.y+i}},t.prototype._applyPosition=function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),r=new Ac(t,n);this._positionChanges.next(r)}this._isInitialRender=!1},t.prototype._setTransformOrigin=function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin=e+" "+r}},t.prototype._calculateBoundingBoxRect=function(t,e){var n,r,i,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===e.overlayY)n=l.height-(r=t.y)+this._viewportMargin;else if("bottom"===e.overlayY)n=l.height-(i=l.height-t.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(l.bottom-t.y+l.top,t.y),h=this._lastBoundingBoxSize.height;r=t.y-c,(n=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.right-t.x+this._viewportMargin,o=t.x-l.left;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)a=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var p=this._lastBoundingBoxSize.width;a=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=zu(n.height),r.top=zu(n.top),r.bottom=zu(n.bottom),r.width=zu(n.width),r.left=zu(n.left),r.right=zu(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=zu(i)),o&&(r.maxWidth=zu(o))}this._lastBoundingBoxSize=n,Nc(this._boundingBox.style,r)},t.prototype._resetBoundingBoxStyles=function(){Nc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Nc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();Nc(n,this._getExactOverlayY(e,t,r)),Nc(n,this._getExactOverlayX(e,t,r))}else n.position="static";var i="",o=this._getOffset(e,"x"),a=this._getOffset(e,"y");o&&(i+="translateX("+o+"px) "),a&&(i+="translateY("+a+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Nc(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var r={top:null,bottom:null},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return i.y-=o,"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=zu(i.y),r},t.prototype._getExactOverlayX=function(t,e,n){var r={left:null,right:null},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=zu(i.x),r},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Cc(t,n),isOriginOutsideView:wc(t,n),isOverlayClipped:Cc(e,n),isOverlayOutsideView:wc(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(t,e){return t-Math.max(e,0)},t)},t.prototype._getNarrowedViewportRect=function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}},t.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},t.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},t.prototype._getOffset=function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY},t.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(t){Oc("originX",t.originX),Tc("originY",t.originY),Oc("overlayX",t.overlayX),Tc("overlayY",t.overlayY)})},t.prototype._addPanelClasses=function(t){var e=this;this._pane&&Bu(t).forEach(function(t){-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})},t.prototype._clearPanelClasses=function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){return t._pane.classList.remove(e)}),this._appliedPanelClasses=[])},t.prototype._getOriginRect=function(){var t=this._origin;return t instanceof De?t.nativeElement.getBoundingClientRect():t instanceof HTMLElement?t.getBoundingClientRect():{top:t.y,bottom:t.y,left:t.x,right:t.x,height:0,width:0}},t}();function Nc(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var Fc=function(){function t(t,e,n,r,i,o){this._preferredPositions=[],this._positionStrategy=new Dc(n,r,i,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)},t.prototype.dispose=function(){this._positionStrategy.dispose()},t.prototype.detach=function(){this._positionStrategy.detach()},t.prototype.apply=function(){this._positionStrategy.apply()},t.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},t.prototype.withScrollableContainers=function(t){this._positionStrategy.withScrollableContainers(t)},t.prototype.withFallbackPosition=function(t,e,n,r){var i=new Sc(t,e,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.withDirection=function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this},t.prototype.withOffsetX=function(t){return this._positionStrategy.withDefaultOffsetX(t),this},t.prototype.withOffsetY=function(t){return this._positionStrategy.withDefaultOffsetY(t),this},t.prototype.withLockedPosition=function(t){return this._positionStrategy.withLockedPosition(t),this},t.prototype.withPositions=function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.setOrigin=function(t){return this._positionStrategy.setOrigin(t),this},t}(),jc=function(){function t(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return t.prototype.attach=function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},t.prototype.top=function(t){return void 0===t&&(t=""),this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this},t.prototype.left=function(t){return void 0===t&&(t=""),this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this},t.prototype.bottom=function(t){return void 0===t&&(t=""),this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this},t.prototype.right=function(t){return void 0===t&&(t=""),this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this},t.prototype.width=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this},t.prototype.height=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this},t.prototype.centerHorizontally=function(t){return void 0===t&&(t=""),this.left(t),this._justifyContent="center",this},t.prototype.centerVertically=function(t){return void 0===t&&(t=""),this.top(t),this._alignItems="center",this},t.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}},t.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},t}(),Mc=function(){function t(t,e,n,r){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=r}return t.prototype.global=function(){return new jc},t.prototype.connectedTo=function(t,e,n){return new Fc(e,n,t,this._viewportRuler,this._document)},t.prototype.flexibleConnectedTo=function(t){return new Dc(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(mc),Zt(Tl),Zt(lc,8),Zt(Ic,8))},token:t,providedIn:"root"}),t}(),Vc=0,Lc=function(){function t(t,e,n,r,i,o,a,s,l,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=a,this._document=s,this._directionality=l,this._location=u}return t.prototype.create=function(t){var e=this._createHostElement(),n=this._createPaneElement(e),r=this._createPortalOutlet(n),i=new Ec(t);return i.direction=i.direction||this._directionality.value,new Rc(r,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+Vc++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e},t.prototype._createHostElement=function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return this._appRef||(this._appRef=this._injector.get(Hr)),new Au(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),Bc=new _t("cdk-connected-overlay-scroll-strategy");function zc(t){return function(){return t.scrollStrategies.reposition()}}var Uc=function(){return function(){}}();function qc(t,e,n){return function(r){return r.lift(new Hc(t,e,n))}}var Hc=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Kc(t,this.nextOrObserver,this.error,this.complete))},t}(),Kc=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=S,o._tapError=S,o._tapComplete=S,o._tapError=r||S,o._tapComplete=i||S,d(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||S,o._tapError=n.error||S,o._tapComplete=n.complete||S),o}return i(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(x);function Gc(t,e){return void 0===e&&(e=Wu),function(n){return n.lift(new Wc(t,e))}}var Wc=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Zc(t,this.dueTime,this.scheduler))},t}(),Zc=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return i(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Yc,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(x);function Yc(t){t.debouncedNext()}var Qc=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===Jc(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),o=Jc(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Xc(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(lc))},token:t,providedIn:"root"}),t}();function Xc(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Jc(t){if(!Xc(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var $c=function(){function t(t,e,n,r,i){void 0===i&&(i=!1);var o=this;this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this._startAnchorListener=function(){return o.focusLastTabbableElement()},this._endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this._startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this._endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t._startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t._endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn("Found use of deprecated attribute 'cdk-focus-"+t+"', use 'cdkFocusRegion"+t+"' instead. The deprecated attribute will be removed in 8.0.0.",e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+t+"', use 'cdkFocusRegion"+t+"' instead. The deprecated attribute will be removed in 8.0.0.",e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)},t.prototype.focusInitialElement=function(){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Ke()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()},t.prototype.focusFirstTabbableElement=function(){var t=this._getRegionBoundary("start");return t&&t.focus(),!!t},t.prototype.focusLastTabbableElement=function(){var t=this._getRegionBoundary("end");return t&&t.focus(),!!t},t.prototype.hasAttached=function(){return this._hasAttached},t.prototype._getFirstTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._getLastTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Du(1)).subscribe(t)},t}(),th=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new $c(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Qc),Zt(Ar),Zt(Tl))},token:t,providedIn:"root"}),t}(),eh=new _t("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),nh=function(){function t(t,e,n){this._ngZone=e,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e,n,r=this,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return 1===i.length&&"number"==typeof i[0]?n=i[0]:(e=i[0],n=i[1]),this.clear(),clearTimeout(this._previousTimeout),this._liveElement.setAttribute("aria-live",e||"polite"),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=t,e(),"number"==typeof n&&(r._previousTimeout=setTimeout(function(){return r.clear()},n))},100)})})},t.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},t.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},t.prototype._createLiveElement=function(){for(var t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e},t.ngInjectableDef=vt({factory:function(){return new t(Zt(eh,8),Zt(Ar),Zt(Tl))},token:t,providedIn:"root"}),t}(),rh=650,ih=pc({passive:!0,capture:!0}),oh=function(){function t(t,e){var n=this;this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(t){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=t.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},rh)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Xs(null);var r=Uu(t);if(this._elementInfo.has(r)){var i=this._elementInfo.get(r);return i.checkChildren=e,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:e,subject:new F};this._elementInfo.set(r,o),this._incrementMonitoredElementCount();var a=function(t){return n._onFocus(t,r)},s=function(t){return n._onBlur(t,r)};return this._ngZone.runOutsideAngular(function(){r.addEventListener("focus",a,!0),r.addEventListener("blur",s,!0)}),o.unlisten=function(){r.removeEventListener("focus",a,!0),r.removeEventListener("blur",s,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=Uu(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){var r=Uu(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){var t=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",t._documentKeydownListener,ih),document.addEventListener("mousedown",t._documentMousedownListener,ih),document.addEventListener("touchstart",t._documentTouchstartListener,ih),window.addEventListener("focus",t._windowFocusListener)})},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,ih),document.removeEventListener("mousedown",this._documentMousedownListener,ih),document.removeEventListener("touchstart",this._documentTouchstartListener,ih),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Ar),Zt(lc))},token:t,providedIn:"root"}),t}(),ah=function(){return function(){}}(),sh={};function lh(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return M(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&h(t[0])&&(t=t[0]),$(t,r).lift(new ch(n))}var uh,ch=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new hh(t,this.resultSelector))},t}(),hh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i(e,t),e.prototype._next=function(t){this.values.push(sh),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Z(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=this.toRespond?o[n]===sh?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(Y),ph=1,dh={},fh=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),o=ph++,dh[o]=i,Promise.resolve().then(function(){return function(t){var e=dh[t];e&&e()}(o)}),o)));var i,o},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(delete dh[n],e.scheduled=void 0)},e}(Hu),mh=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(Gu))(fh),gh=new Set,yh=function(){function t(t){this.platform=t,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):vh}return t.prototype.matchMedia=function(t){return this.platform.WEBKIT&&function(t){if(!gh.has(t))try{uh||((uh=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(uh)),uh.sheet&&(uh.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),gh.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=vt({factory:function(){return new t(Zt(lc))},token:t,providedIn:"root"}),t}();function vh(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var bh=function(){function t(t,e){this.mediaMatcher=t,this.zone=e,this._queries=new Map,this._destroySubject=new F}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return _h(Bu(t)).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this;return lh(_h(Bu(t)).map(function(t){return e._registerQuery(t).observable})).pipe(Gc(0,mh),Q(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n,r=this.mediaMatcher.matchMedia(t),i={observable:function t(e,n,r){return r?t(e,n).pipe(Q(function(t){return h(t)?r.apply(void 0,t):r(t)})):new O(function(t){var r,i=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1===e.length?e[0]:e)};try{r=e(i)}catch(o){return void t.error(o)}if(d(n))return function(){return n(i,r)}})}(function(t){r.addListener(n=function(n){return e.zone.run(function(){return t(n)})})},function(){return r.removeListener(n)}).pipe(tc(r),Q(function(e){return{query:t,matches:e.matches}}),ju(this._destroySubject)),mql:r};return this._queries.set(t,i),i},t.ngInjectableDef=vt({factory:function(){return new t(Zt(yh),Zt(Ar))},token:t,providedIn:"root"}),t}();function _h(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var wh=function(){function t(t,e){var n=this;this._overlayRef=e,this._afterDismissed=new F,this._afterOpened=new F,this._onAction=new F,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(function(){return n.dismiss()}),t._onExit.subscribe(function(){return n._finishDismiss()})}return t.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},t.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},t.prototype.closeWithAction=function(){this.dismissWithAction()},t.prototype._dismissAfter=function(t){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},t)},t.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},t.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},t.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},t.prototype.afterOpened=function(){return this.containerInstance._onEnter},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),Ch=new _t("MatSnackBarData"),xh=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),kh=function(){function t(t,e){this.snackBarRef=t,this.data=e}return t.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),t}(),Eh=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._ngZone=e,o._elementRef=n,o._changeDetectorRef=r,o.snackBarConfig=i,o._destroyed=!1,o._onExit=new F,o._onEnter=new F,o._animationState="void",o._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert",o}return i(e,t),e.prototype.attachComponentPortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)},e.prototype.onAnimationEnd=function(t){var e=t.toState;if(("void"===e&&"void"!==t.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var n=this._onEnter;this._ngZone.run(function(){n.next(),n.complete()})}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Du(1)).subscribe(function(){t._onExit.next(),t._onExit.complete()})},e.prototype._applySnackBarClasses=function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(Su),Sh=function(){return function(){}}(),Ah=new _t("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new xh}}),Th=function(){function t(t,e,n,r,i,o){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}return Object.defineProperty(t.prototype,"_openedSnackBarRef",{get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t},enumerable:!0,configurable:!0}),t.prototype.openFromComponent=function(t,e){return this._attach(t,e)},t.prototype.openFromTemplate=function(t,e){return this._attach(t,e)},t.prototype.open=function(t,e,n){void 0===e&&(e="");var r=o({},this._defaultConfig,n);return r.data={message:t,action:e},r.announcementMessage||(r.announcementMessage=t),this.openFromComponent(kh,r)},t.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},t.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},t.prototype._attachSnackBarContainer=function(t,e){var n=new Pu(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[xh,e]])),r=new ku(Eh,e.viewContainerRef,n),i=t.attach(r);return i.instance.snackBarConfig=e,i.instance},t.prototype._attach=function(t,e){var n=o({},new xh,this._defaultConfig,e),r=this._createOverlay(n),i=this._attachSnackBarContainer(r,n),a=new wh(i,r);if(t instanceof mn){var s=new Eu(t,null,{$implicit:n.data,snackBarRef:a});a.instance=i.attachTemplatePortal(s)}else{var l=this._createInjector(n,a),u=(s=new ku(t,void 0,l),i.attachComponentPortal(s));a.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)").pipe(ju(r.detachments().pipe(Du(1)))).subscribe(function(t){t.matches?r.overlayElement.classList.add("mat-snack-bar-handset"):r.overlayElement.classList.remove("mat-snack-bar-handset")}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef},t.prototype._animateSnackBar=function(t,e){var n=this;t.afterDismissed().subscribe(function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(e.duration)}),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},t.prototype._createOverlay=function(t){var e=new Ec;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){return new Pu(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[wh,e],[Ch,t.data]]))},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Lc),Zt(nh),Zt(ae),Zt(bh),Zt(t,12),Zt(Ah))},token:t,providedIn:Sh}),t}(),Oh=function(){function t(t){this.snackBar=t}return t.prototype.showMessage=function(t,e){this.snackBar.open(t,null,{duration:e||3e3})},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Th))},token:t,providedIn:"root"}),t}(),Ph=function(){function t(t,e){var n=this;this.dialogRef=t,this.data=e,this.jobs=[],this.client=e.client,e.jobs.forEach(function(t){t.client.name==n.client.name&&n.jobs.push(t)})}return t.prototype.onCloseClick=function(){this.dialogRef.close()},t}(),Ih=n("YSVl"),Rh=function(){function t(t,e,n,r,i,o){var a=this;this.fisk=t,this.config=e,this.tabChanged=n,this.message=r,this.changeRef=i,this.dialog=o,this.view={width:0,height:0},this.maxJobs=0,this.maxJobsData={},this.jobs=new Map,this.clientJobs=[],this.minTime=5e3,this.inited=!1,this.destroyed=!1,this.onTabChange=void 0,this.onConfig=void 0,this.fiskData=void 0,this.fiskOpen=void 0,this.fiskScheduler=void 0,this.onResize=this._onResize.bind(this),window.jobs=this.jobs,this.fiskData=this.fisk.on("data",function(t){switch(t.type){case"builderAdded":a._builderAdded(t);break;case"builderRemoved":a._builderRemoved(t);break;case"jobStarted":a._jobStarted(t);break;case"jobFinished":a._updateStats(t);case"jobAborted":a._jobFinished(t);break;case"cacheHit":a._cacheHit(t);case"stats":a._updateStats(t);break;case"schedulerInfo":console.log("got scheduler info",t);break;case"uiInfo":console.log("got ui version",t.package.version);break;default:console.error("unexpected fisk message type "+t.type)}}),this.fisk.isOpen&&this.fisk.send({type:"sendInfo"}),this.fiskOpen=this.fisk.on("open",function(){a._reset(),a.message.showMessage("connected to "+a.fisk.host+":"+a.fisk.port),a.fisk.send({type:"sendInfo"})}),this.fiskScheduler=this.fisk.on("scheduler",function(){a._reset()}),window.addEventListener("resize",this.onResize),this.onConfig=this.config.onChange(function(t){"client"==t||"fgcolor"==t||"bgcolor"==t?(a.clientColor={name:a.config.get("client"),fgcolor:a.config.get("fgcolor"),bgcolor:a.config.get("bgcolor")},a.clientJobs.forEach(function(t){delete t.color})):"pieBuilding"!=t&&"noAnimate"!=t||(a[t]=a.config.get(t))}),this.onTabChange=this.tabChanged.onChanged(function(t,e){if("Pie Chart"==e&&!a.inited){var n=document.getElementById("canvas-chart");if(n){var r=function(t,e,n){return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height};n.addEventListener("click",function(t){var e=document.getElementById("canvas-chart").getBoundingClientRect(),n=t.pageX-e.x,i=t.pageY-e.y;a.clientJobs.forEach(function(t){r(n,i,t.client.rect)&&t.client.url&&window.open(t.client.url,"_blank")})}),n.addEventListener("contextmenu",function(t){var e=document.getElementById("canvas-chart").getBoundingClientRect(),n=t.pageX-e.x,i=t.pageY-e.y,o=!0;return a.clientJobs.forEach(function(e){r(n,i,e.client.rect)&&(t.preventDefault(),o=!1,a.dialog.open(Ph,{data:{client:e.client,jobs:a.jobs}}))}),o},!1),a.inited=!0;var i=n.getBoundingClientRect();a.view.width=window.innerWidth-2*i.x,a.view.height=window.innerHeight-i.y-50,a.changeRef.detectChanges(),a.ctx=n.getContext("2d",{alpha:!1});var o=function(t,e,n,r){var i=t[e];if(!a.noAnimate&&n in t){var o=t[n];o!=i&&(o=o<i?Math.min(o+.25*r,i):Math.max(o-.25*r,i),t[n]=o)}else t[n]=i};a.clientColor={name:a.config.get("client"),fgcolor:a.config.get("fgcolor"),bgcolor:a.config.get("bgcolor")},a.pieBuilding=a.config.get("pieBuilding"),a.noAnimate=a.config.get("noAnimate");var s=0,l=function(t){if(!a.destroyed){var e=a.config.get("chart-legend-space",400),n=a.view.width-e+10,r=Math.min(a.view.width-e,a.view.height-30-10)-20,i=(t-s)/(1/60*1e3);s=t;var u=function(t){return t/(180/Math.PI)},c=a.ctx;c.fillStyle="white",c.beginPath(),c.rect(0,0,a.view.width,a.view.height),c.fill();var h=r/2+10,p=r/2-20;if(c.fillStyle="#ddd",c.beginPath(),c.moveTo(h,h),c.arc(h,h,p,0,2*Math.PI,!1),c.fill(),!a.maxJobs)return a.clientJobs.forEach(function(t){t.start=t.animatedStart=u(270),t.jobs=t.animatedJobs=0}),void window.requestAnimationFrame(l);c.font="16px sans-serif";var d=u(270),f=40;f+=40,c.fillStyle="black",c.fillText(a.maxJobsData.text,10,31);var m=a.pieBuilding?a.jobs.size:a.maxJobs;if(m){for(var g={hits:0,misses:0},y=(new Date).valueOf(),v=0;v<a.clientJobs.length;++v){var b=a.clientJobs[v];if(b.expired){if(!b.jobs&&!b.cacheJobs&&y-b.ts>=a.minTime){a.clientJobs.splice(v,1),--v;continue}(b.jobs||b.cacheJobs)&&(b.expired=!1)}if(b.start=d,o(b,"start","animatedStart",i),o(b,"jobs","animatedJobs",i),!b.color&&(a.clientColor.name&&a.clientColor.fgcolor&&a.clientColor.bgcolor&&(a.clientColor.name!=b.client.ip&&a.clientColor.name!=b.client.name&&a.clientColor.name!=b.client.hostname||(b.color=a.clientColor.bgcolor,b.fg=a.clientColor.fgcolor)),!b.color)){b.color=a._color(b.client.ip,!1);var _=parseInt(b.color.substring(1),16);b.fg=.2126*(_>>16&255)+.7152*(_>>8&255)+.0722*(_>>0&255)<128?"white":"black"}c.fillStyle=b.color,c.beginPath(),c.moveTo(h,h),c.arc(h,h,p,b.animatedStart,b.animatedStart+2*Math.PI*(b.animatedJobs/m),!1),c.lineTo(h,h),c.fill(),c.beginPath(),c.rect(n,f-20,e,30),c.fill(),"rect"in b.client?(b.client.rect.x=n,b.client.rect.y=f-20):b.client.rect={x:n,y:f-20,width:e,height:30},c.fillStyle=b.fg,c.fillText(b.client.modifiedName,n+2,f),g.hits+=b.cacheJobs,g.misses+=b.jobs;var w=e*((b.totalCacheJobs||0)/((b.totalCacheJobs||0)+b.totalJobs)),C=e*(b.totalJobs/((b.totalCacheJobs||0)+b.totalJobs));c.fillStyle="#3d3",c.beginPath(),c.rect(n,f-20+31,w,4),c.fill(),c.fillStyle="#33d",c.beginPath(),c.rect(n+w,f-20+31,C,4),c.fill();var x=(b.cacheJobs||0)+" / "+b.jobs+" ("+Math.round(b.jobs/m*1e3)/10+"%)",k=c.measureText(x),E=function(t,e){return("000000000"+t).substr(-e)},S=y-b.ts,A="("+E(Math.floor(S/1e3/60),2)+":"+E(Math.floor(S/1e3)%60,2)+")",T=c.measureText(A),O=k.width+T.width+10;c.fillStyle=b.color,c.beginPath(),c.rect(n+e-O-15,f-20,O+15,30),c.fill(),c.fillStyle=b.fg,c.fillText(x,n+e-O-10,f),c.fillText(A,n+e-T.width-10,f),d+=2*Math.PI*(b.animatedJobs/m),f+=38}if(g.hits>0||g.misses>0){f=0,w=e*(g.hits/(g.hits+g.misses)),C=e*(g.misses/(g.hits+g.misses)),c.fillStyle="#3d3",c.beginPath(),c.rect(n,f-20+31,w,30),c.fill(),c.fillStyle="#33d",c.beginPath(),c.rect(n+w,f-20+31,C,30),c.fill();var P=g.hits+" / "+g.misses,I=c.measureText(P);c.fillStyle="#fff",c.fillText("Cache usage",n+2,f+31),c.fillText(P,n+e-I.width-15,f+31)}c.fillStyle="#fff",c.fillRect(0,a.view.height-30-10,a.view.width,40);var R=0;if(a.stats&&(R=a.stats.cacheHits+a.stats.jobsFailed+a.stats.jobsStarted),R>0){var D=5,N=5;c.fillStyle="#3d3",c.fillRect(D,a.view.height-30-5,a.stats.cacheHits/R*(a.view.width-10),30),D+=a.stats.cacheHits/R*(a.view.width-10);var F="Hits "+Number(a.stats.cacheHits).toLocaleString()+" "+(a.stats.cacheHits/R*100).toFixed(1)+"%";c.fillText(F,N,a.view.height-30-10),N+=c.measureText(F).width+30,c.fillStyle="#33d",c.fillRect(D,a.view.height-30-5,a.stats.jobsStarted/R*(a.view.width-10),30),D+=a.stats.jobsStarted/R*(a.view.width-10),F="Compiles "+Number(a.stats.jobsStarted).toLocaleString()+" "+(a.stats.jobsStarted/R*100).toFixed(1)+"%",c.fillText(F,N,a.view.height-30-10),a.stats.jobsFailed>0&&(N+=c.measureText(F).width+30,c.fillStyle="#d33",c.fillRect(D,a.view.height-30-5,a.stats.jobsFailed/R*(a.view.width-10),30),F="Failures "+Number(a.stats.jobsFailed).toLocaleString()+" "+(a.stats.jobsFailed/R*100).toFixed(1)+"%",c.fillText(F,N,a.view.height-30-10))}window.requestAnimationFrame(l)}else window.requestAnimationFrame(l)}};window.requestAnimationFrame(l)}}})}return t.prototype.ngOnDestroy=function(){console.log("destroyed"),this.tabChanged.remove(this.onTabChange),this.config.remove(this.onConfig),this.fisk.remove("open",this.fiskOpen),this.fisk.remove("data",this.fiskData),this.fisk.remove("scheduler",this.fiskScheduler),window.removeEventListener("resize",this.onResize),this.destroyed=!0},t.prototype._onResize=function(){var t=document.getElementById("canvas-chart");if(t){var e=t.getBoundingClientRect();this.view.width=window.innerWidth-2*e.x,this.view.height=window.innerHeight-e.y-50}},t.prototype._reset=function(){this.maxJobs=0,this.maxJobsData={},this.jobs=new Map,this.clientJobs=[]},t.prototype._color=function(t,e){function n(t,e,n){return t+n()*(e-t)}function r(t){return("0"+Number(t).toString(16)).slice(-2)}var i,o,a,s=Ih(t),l=n(1,360,s),u=n(0,100,s),c=n(45,100,s);if(e&&(u=100-u),l/=360,c/=100,0==(u/=100))i=o=a=c;else{var h=function(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t},p=c<.5?c*(1+u):c+u-c*u,d=2*c-p;i=h(d,p,l+1/3),o=h(d,p,l),a=h(d,p,l-1/3)}return"#"+r(255*i)+r(255*o)+r(255*a)},t.prototype._clientJobIndex=function(t){for(var e=0;e<this.clientJobs.length;++e)if(this.clientJobs[e].client.ip===t.ip&&this.clientJobs[e].client.name===t.name)return e;return-1},t.prototype._adjustClients=function(t,e,n){var r=this._clientJobIndex(t);if(-1==r){if(e<0||n<0)return console.error("no client job for job client",t),!1;if(t.name===t.hostname)t.modifiedName="dev:"+(t.user||"nobody")+"@"+t.hostname;else if(t.name.length>0&&"-"===t.name[0])t.modifiedName="dev:"+(t.user||"nobody")+t.name;else{try{var i=JSON.parse(t.name);"object"==typeof i&&"name"in i&&(t.modifiedName=i.name,t.url=i.href)}catch(a){}t.modifiedName||(t.modifiedName=t.name)}this.clientJobs.push({client:t,jobs:e,cacheJobs:n,totalJobs:e,totalCacheJobs:n,ts:(new Date).valueOf(),expired:!1}),this.clientJobs.sort(function(t,e){return t.client.modifiedName.localeCompare(e.client.modifiedName)})}else{var o=this.clientJobs[r];o.jobs+=e,e>0&&(o.totalJobs+=e),o.cacheJobs+=n,n>0&&(o.totalCacheJobs+=n),o.jobs||o.cacheJobs||((new Date).valueOf()-o.ts<this.minTime?o.expired=!0:this.clientJobs.splice(r,1))}return!0},t.prototype._builderId=function(t){return t.ip+":"+t.port},t.prototype._builderAdded=function(t){this.maxJobs+=t.slots,this._updateMaxJobsData()},t.prototype._builderRemoved=function(t){var e=this;if(this.maxJobs-=t.slots,this._updateMaxJobsData(),this.maxJobs<0)throw new Error("Negative jobs reached!");var n=this._builderId(t);this.jobs.forEach(function(t,r){n==e._builderId(t.builder)&&(e.jobs.delete(r),e._adjustClients(t.client,-1,0))}),this._updateMaxJobsData()},t.prototype._updateMaxJobsData=function(){this.maxJobsData.text="Slots "+this.jobs.size+" / "+this.maxJobs+" ("+(this.jobs.size/this.maxJobs*100).toFixed(1)+"%)",this.maxJobsData.width=this.ctx.measureText(this.maxJobsData.text).width},t.prototype._jobStarted=function(t){var e,n;t.date=(e=(new Date).toTimeString(),n=e.indexOf("("),-1!==n?e.substr(0,n):e).trim(),this.jobs.set(t.id,t),this._adjustClients(t.client,1,0),this._updateMaxJobsData()},t.prototype._jobFinished=function(t){if(!this.jobs.has(t.id))return console.error("No such job ",t),void console.error(JSON.stringify(Array.from(this.jobs.keys())));var e=this.jobs.get(t.id);this.jobs.delete(t.id),this._adjustClients(e.client,-1,0),this._updateMaxJobsData()},t.prototype._updateStats=function(t){this.stats=t},t.prototype._cacheHit=function(t){var e=this;this._adjustClients(t.client,0,1),setTimeout(function(){return e._adjustClients(t.client,0,-1)},5e3)},t}(),Dh=function(){function t(t,e,n){var r=this;this.fisk=t,this.tabChanged=e,this.dialog=n,this.fisk.on("data",function(t){if("listEnvironments"===t.type){var e=[];for(var n in console.log(t.environments),r.links=t.environments.links,t.environments){var i=t.environments[n];if("object"==typeof i&&"system"in i){"hash"in i||(i.hash=n);for(var o={name:void 0,major:void 0,minor:void 0,patch:void 0,version:""},a=(i.info||"").split("\n"),s=/^(clang) version ([0-9x]+)\.([0-9+x])\.([0-9x]+)/,l=/^(gcc) version ([0-9x]+)\.([0-9x]+)\.([0-9x]+)/,u=/^(Apple LLVM) version ([0-9x]+)\.([0-9x]+)\.([0-9x]+)/,c=/^Target: (.*)$/,h=void 0,p=void 0,d=0;d<a.length&&(!h||!p);++d)p||(p=s.exec(a[d])||l.exec(a[d])||u.exec(a[d])),h||(h=c.exec(a[d]));p?(o.name=p[1],o.major=parseInt(p[2])||p[2],o.minor=parseInt(p[3])||p[3],o.patch=parseInt(p[4])||p[4],o.version=o.major+"."+o.minor+"."+o.patch):console.log("failed",a),h&&(i.target=h[1]),i.compiler=o,e.push(i)}}console.log(e),r.environments=e}}),this.tabChanged.onChanged(function(t,e){"Compilers"==e&&r.fisk.send({type:"listEnvironments"})})}return t.prototype.onClicked=function(t){var e=this;this.dialog.open(Nh,{data:{current:t,environments:this.environments,links:this.links[t.hash]}}).afterClosed().subscribe(function(n){if(n)for(var r in n.checked)if(n.checked[r]){var i=n.args[r]&&n.args[r].split(" ");e.fisk.send({type:"linkEnvironments",srcHash:t.hash,targetHash:r,arguments:i})}})},t}(),Nh=function(){function t(t,e){this.dialogRef=t,this.data=e,this.others=[],this.checked={},this.args={},this.info="";for(var n=0;n<e.environments.length;++n)e.current!=e.environments[n]?(this.others.push(e.environments[n]),this.checked[e.environments[n].hash]=!1):this.info=e.environments[n].info;if(e.links)for(var r in e.links){var i=e.links[r];i.arguments&&(this.args[r]=i.arguments.join(" ")),this.checked[r]=!0}}return t.prototype.onNoClick=function(){this.dialogRef.close()},t}(),Fh=function(){return function(){}}(),jh=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new R;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(F);function Mh(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Mh.prototype=Object.create(Error.prototype);var Vh=Mh;function Lh(t){return new O(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?tt(n):Ys()).subscribe(e)})}function Bh(t){return function(e){return 0===t?Ys():e.lift(new zh(t))}}var zh=function(){function t(t){if(this.total=t,this.total<0)throw new Ru}return t.prototype.call=function(t,e){return e.subscribe(new Uh(t,this.total))},t}(),Uh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(x),qh=function(t){return void 0===t&&(t=Hh),qc({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Hh(){return new Vh}function Kh(t){return void 0===t&&(t=null),function(e){return e.lift(new Gh(t))}}var Gh=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Wh(t,this.defaultValue))},t}(),Wh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(x);function Zh(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?$s(function(e,n){return t(e,n,r)}):it,Bh(1),n?Kh(e):qh(function(){return new Vh}))}}function Yh(t){return function(e){var n=new Qh(t),r=e.lift(n);return n.caught=r}}var Qh=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Xh(t,this.selector,this.caught))},t}(),Xh=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new V(this,void 0,void 0);this.add(r),Z(this,n,void 0,void 0,r)}},e}(Y);function Jh(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?$s(function(e,n){return t(e,n,r)}):it,Du(1),n?Kh(e):qh(function(){return new Vh}))}}var $h=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new tp(t,this.predicate,this.thisArg,this.source))},t}(),tp=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return i(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(x);function ep(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new np(t,e,n))}}var np=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new rp(t,this.accumulator,this.seed,this.hasSeed))},t}(),rp=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(x),ip=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new op(t,this.callback))},t}(),op=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new g(n)),r}return i(e,t),e}(x),ap=null;function sp(){return ap}var lp,up={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},cp={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},hp={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};Ot.Node&&(lp=Ot.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var pp,dp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,ap||(ap=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return up},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return lp.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var i=n.item(r);e.set(i.name,i.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&hp.hasOwnProperty(e)&&(e=hp[e]))}return cp[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=fp||(fp=document.querySelector("base"))?fp.getAttribute("href"):null;return null==n?null:(e=n,pp||(pp=document.createElement("a")),pp.setAttribute("href",e),"/"===pp.pathname.charAt(0)?pp.pathname:"/"+pp.pathname)},e.prototype.resetBaseElement=function(){fp=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return yl(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(null!=e.getStyle(n,r[i]+"AnimationName")){e._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return i(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),fp=null,mp=Tl;function gp(){return!!window.history.pushState}var yp=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return i(e,t),e.prototype._init=function(){this.location=sp().getLocation(),this._history=sp().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return sp().getBaseHref(this._doc)},e.prototype.onPopState=function(t){sp().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){sp().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){gp()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){gp()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=zt(mp),function(t,e){n(t,e,0)}),s("design:paramtypes",[Object])],e)}(nl),vp=new _t("TRANSITION_ID"),bp=[{provide:ir,useFactory:function(t,e,n){return function(){n.get(or).donePromise.then(function(){var n=sp();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[vp,mp,le],multi:!0}],_p=function(){function t(){}return t.init=function(){var e;e=new t,Mr=e},t.prototype.addToWindow=function(t){Ot.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ot.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Ot.getAllAngularRootElements=function(){return t.getAllRootElements()},Ot.frameworkStabilizers||(Ot.frameworkStabilizers=[]),Ot.frameworkStabilizers.push(function(t){var e=Ot.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?sp().isShadowRoot(e)?this.findTestabilityInTree(t,sp().getHost(e),!0):this.findTestabilityInTree(t,sp().parentElement(e),!0):null},t}();function wp(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Ot.ng=Ot.ng||{})[t]=e)}var Cp={ApplicationRef:Hr,NgZone:Ar};function xp(t){return oi(t)}var kp=new _t("EventManagerPlugins"),Ep=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t}(),Sp=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=sp().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Ap=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Tp=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return i(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return sp().remove(t)})},e}(Ap),Op={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Pp=/%COMP%/g,Ip="_nghost-%COMP%",Rp="_ngcontent-%COMP%";function Dp(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?Dp(t,i,n):(i=i.replace(Pp,t),n.push(i))}return n}function Np(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Fp=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new jp(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Bt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Bp(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Bt.Native:case Bt.ShadowDom:return new zp(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=Dp(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),jp=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Op[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var i=Op[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Op[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&Me.DashCase?t.style.setProperty(e,n,r&Me.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&Me.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Vp(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Vp(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Np(n)):this.eventManager.addEventListener(t,e,Np(n))},t}(),Mp="@".charCodeAt(0);function Vp(t,e){if(t.charCodeAt(0)===Mp)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Lp,Bp=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.component=r;var o=Dp(r.id,r.styles,[]);return n.addStyles(o),i.contentAttr=Rp.replace(Pp,r.id),i.hostAttr=Ip.replace(Pp,r.id),i}return i(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(jp),zp=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=i.encapsulation===Bt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var a=Dp(i.id,i.styles,[]),s=0;s<a.length;s++){var l=document.createElement("style");l.textContent=a[s],o.shadowRoot.appendChild(l)}return o}return i(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(jp),Up="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},qp=Up("addEventListener"),Hp=Up("removeEventListener"),Kp={},Gp="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Up("BLACK_LISTED_EVENTS")]&&(Lp={});var Wp=function(t){return!!Lp&&Lp.hasOwnProperty(t)},Zp=function(t){var e=Kp[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==t[Gp];o++){var a;(a=i[o]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Yp=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.ngZone=n,r&&function(t){return t===Pl}(r)||i.patchEvent(),i}return i(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Gp]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,i=n;if(!t[qp]||Ar.isInAngularZone()&&!Wp(e))t.addEventListener(e,i,!1);else{var o=Kp[e];o||(o=Kp[e]=Up("ANGULAR"+e+"FALSE"));var a=t[o],s=a&&a.length>0;a||(a=t[o]=[]);var l=Wp(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:i});else{for(var u=!1,c=0;c<a.length;c++)if(a[c].handler===i){u=!0;break}u||a.push({zone:l,handler:i})}s||t[qp](e,Zp,!1)}return function(){return r.removeEventListener(t,e,i)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Hp];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var i=Kp[e],o=i&&t[i];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(t,[e,Zp,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(Sp),Qp={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Xp=new _t("HammerGestureConfig"),Jp=new _t("HammerLoader"),$p=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),td=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._config=n,o.console=r,o.loader=i,o}return i(e,t),e.prototype.supports=function(t){return!(!Qp.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return i.runOutsideAngular(function(){var o=r._config.buildHammer(t),a=function(t){i.runGuarded(function(){n(t)})};return o.on(e,a),function(){o.off(e,a),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(Sp),ed=["alt","control","meta","shift"],nd={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},rd=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return sp().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(ed.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=sp().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ed.forEach(function(r){r!=n&&(0,nd[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Sp),id=function(){return function(){}}(),od=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return i(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case Be.NONE:return e;case Be.HTML:return e instanceof sd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Je=Je||new Ge(t);var r=e?String(e):"";n=Je.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Je.getInertBodyElement(r)}while(r!==o);var a=new un,s=a.sanitizeChildren(dn(n)||n);return Ke()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=dn(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e)));case Be.STYLE:return e instanceof ld?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(vn);return e&&Ye(e[1])===e[1]||t.match(yn)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(Ke()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case Be.SCRIPT:if(e instanceof ud)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case Be.URL:return e instanceof hd||e instanceof cd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Ye(String(e)));case Be.RESOURCE_URL:if(e instanceof hd)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ad)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new sd(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ld(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ud(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new cd(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new hd(t)},e}(id),ad=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),sd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ad),ld=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ad),ud=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ad),cd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ad),hd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ad),pd=Br(Ci,"browser",[{provide:cr,useValue:Ol},{provide:ur,useValue:function(){dp.makeCurrent(),_p.init()},multi:!0},{provide:nl,useClass:yp,deps:[mp]},{provide:mp,useFactory:function(){return document},deps:[]}]);function dd(){return new jn}var fd=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:ar,useValue:t.appId},{provide:vp,useExisting:ar},bp]}},t}();"undefined"!=typeof window&&window;var md=function(){return function(t,e){this.id=t,this.url=e}}(),gd=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(md),yd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(md),vd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(md),bd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(md),_d=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(md),wd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(md),Cd=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return i(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(md),xd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(md),kd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(md),Ed=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Sd=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Ad=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Td=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Od=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Pd=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Id=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Rd=function(){return function(){}}(),Dd="primary",Nd=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Fd(t){return new Nd(t)}var jd="ngNavigationCancelingError";function Md(t){var e=Error("NavigationCancelingError: "+t);return e[jd]=!0,e}function Vd(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=t[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}var Ld=function(){return function(t,e){this.routes=t,this.module=e}}();function Bd(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];zd(r,Ud(e,r))}}function zd(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==Dd)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Bd(t.children,e)}function Ud(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function qd(t){var e=t.children&&t.children.map(qd),n=e?o({},t,{children:e}):o({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Dd&&(n.component=Rd),n}function Hd(t,e){var n,r=Object.keys(t),i=Object.keys(e);if(r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(t[n=r[o]]!==e[n])return!1;return!0}function Kd(t){return Array.prototype.concat.apply([],t)}function Gd(t){return t.length>0?t[t.length-1]:null}function Wd(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Zd(t){return rr(t)?t:nr(t)?tt(Promise.resolve(t)):Xs(t)}function Yd(t,e,n){return n?function(t,e){return Hd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!$d(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!$d(a=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!$d(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!$d(n.segments,a)&&!!n.children[Dd]&&e(n.children[Dd],r,s)}(e,n,n.segments)}(t.root,e.root)}var Qd=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Fd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return rf.serialize(this)},t}(),Xd=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Wd(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return of(this)},t}(),Jd=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Fd(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return hf(this)},t}();function $d(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function tf(t,e){var n=[];return Wd(t.children,function(t,r){r===Dd&&(n=n.concat(e(t,r)))}),Wd(t.children,function(t,r){r!==Dd&&(n=n.concat(e(t,r)))}),n}var ef=function(){return function(){}}(),nf=function(){function t(){}return t.prototype.parse=function(t){var e=new gf(t);return new Qd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return of(e);if(n){var r=e.children[Dd]?t(e.children[Dd],!1):"",i=[];return Wd(e.children,function(e,n){n!==Dd&&i.push(n+":"+t(e,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=tf(e,function(n,r){return r===Dd?[t(e.children[Dd],!1)]:[r+":"+t(n,!1)]});return of(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return sf(t)+"="+sf(e)}).join("&"):sf(t)+"="+sf(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),rf=new nf;function of(t){return t.segments.map(function(t){return hf(t)}).join("/")}function af(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sf(t){return af(t).replace(/%3B/gi,";")}function lf(t){return af(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function uf(t){return decodeURIComponent(t)}function cf(t){return uf(t.replace(/\+/g,"%20"))}function hf(t){return""+lf(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+lf(t)+"="+lf(e[t])}).join(""));var e}var pf=/^[^\/()?;=#]+/;function df(t){var e=t.match(pf);return e?e[0]:""}var ff=/^[^=?&#]+/,mf=/^[^?&#]+/,gf=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xd([],{}):new Xd([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Dd]=new Xd(t,e)),n},t.prototype.parseSegment=function(){var t=df(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Jd(uf(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=df(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=df(this.remaining);r&&this.capture(n=r)}t[uf(e)]=uf(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(ff))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(mf);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=cf(n),a=cf(r);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(t[o]=s=[s]),s.push(a)}else t[o]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=df(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Dd);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[Dd]:new Xd([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),yf=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=vf(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=vf(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=bf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return bf(t,this._root).map(function(t){return t.value})},t}();function vf(t,e){var n,r;if(t===e.value)return e;try{for(var i=l(e.children),o=i.next();!o.done;o=i.next()){var a=vf(t,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function bf(t,e){var n,r;if(t===e.value)return[e];try{for(var i=l(e.children),o=i.next();!o.done;o=i.next()){var a=bf(t,o.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var _f=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function wf(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Cf=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Tf(r,e),r}return i(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(yf);function xf(t,e){var n=function(t,e){var n=new Sf([],{},{},"",{},Dd,e,null,t.root,-1,{});return new Af("",new _f(n,[]))}(t,e),r=new jh([new Jd("",{})]),i=new jh({}),o=new jh({}),a=new jh({}),s=new jh(""),l=new kf(r,i,a,s,o,Dd,e,n.root);return l.snapshot=n.root,new Cf(new _f(l,[]),n)}var kf=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Q(function(t){return Fd(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Q(function(t){return Fd(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Ef(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],a=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:o({},t.params,e.params),data:o({},t.data,e.data),resolve:o({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Sf=function(){function t(t,e,n,r,i,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Fd(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Fd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Af=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Tf(r,n),r}return i(e,t),e.prototype.toString=function(){return Of(this._root)},e}(yf);function Tf(t,e){e.value._routerState=t,e.children.forEach(function(e){return Tf(t,e)})}function Of(t){var e=t.children.length>0?" { "+t.children.map(Of).join(", ")+" } ":"";return""+t.value+e}function Pf(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Hd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Hd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Hd(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Hd(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function If(t,e){var n,r;return Hd(t.params,e.params)&&$d(n=t.url,r=e.url)&&n.every(function(t,e){return Hd(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||If(t.parent,e.parent))}function Rf(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Df(t,e,n,r,i){var o={};return r&&Wd(r,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Qd(n.root===t?e:function t(e,n,r){var i={};return Wd(e.children,function(e,o){i[o]=e===n?r:t(e,n,r)}),new Xd(e.segments,i)}(n.root,t,e),o,i)}var Nf=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Rf(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Gd(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Ff=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function jf(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Dd]:""+t}function Mf(t,e,n){if(t||(t=new Xd([],{})),0===t.segments.length&&t.hasChildren())return Vf(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i<t.segments.length;){if(r>=n.length)return o;var a=t.segments[i],s=jf(n[r]),l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Uf(s,l,a))return o;r+=2}else{if(!Uf(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var o=new Xd(t.segments.slice(0,r.pathIndex),{});return o.children[Dd]=new Xd(t.segments.slice(r.pathIndex),t.children),Vf(o,0,i)}return r.match&&0===i.length?new Xd(t.segments,{}):r.match&&!t.hasChildren()?Lf(t,e,n):r.match?Vf(t,0,i):Lf(t,e,n)}function Vf(t,e,n){if(0===n.length)return new Xd(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[Dd]=t,e):void 0===t[0].outlets?((n={})[Dd]=t,n):t[0].outlets}(n),i={};return Wd(r,function(n,r){null!==n&&(i[r]=Mf(t.children[r],e,n))}),Wd(t.children,function(t,e){void 0===r[e]&&(i[e]=t)}),new Xd(t.segments,i)}function Lf(t,e,n){for(var r=t.segments.slice(0,e),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=Bf(n[i].outlets);return new Xd(r,o)}if(0===i&&Rf(n[0]))r.push(new Jd(t.segments[e].path,n[0])),i++;else{var a=jf(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&Rf(s)?(r.push(new Jd(a,zf(s))),i+=2):(r.push(new Jd(a,{})),i++)}}return new Xd(r,{})}function Bf(t){var e={};return Wd(t,function(t,n){null!==t&&(e[n]=Lf(new Xd([],{}),0,t))}),e}function zf(t){var e={};return Wd(t,function(t,n){return e[n]=""+t}),e}function Uf(t,e,n){return t==n.path&&Hd(e,n.parameters)}var qf=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Pf(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,i=wf(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,i[e],n),delete i[e]}),Wd(i,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:i})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var i=wf(t),o=t.value.component?r.children:e;Wd(i,function(t,e){return n.deactivateRouteAndItsChildren(t,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,i=wf(e);t.children.forEach(function(t){r.activateRoutes(t,i[t.value.outlet],n),r.forwardEvent(new Pd(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Td(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(Pf(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Hf(a.route)}else{var s=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(t,null,o.children)}else this.activateChildRoutes(t,null,n)},t}();function Hf(t){Pf(t.value),t.children.forEach(Hf)}function Kf(t){return"function"==typeof t}function Gf(t){return t instanceof Qd}var Wf=function(){return function(t){this.segmentGroup=t||null}}(),Zf=function(){return function(t){this.urlTree=t}}();function Yf(t){return new O(function(e){return e.error(new Wf(t))})}function Qf(t){return new O(function(e){return e.error(new Zf(t))})}function Xf(t){return new O(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Jf=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Ie)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Dd).pipe(Q(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Yh(function(e){if(e instanceof Zf)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Wf)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,Dd).pipe(Q(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Yh(function(t){if(t instanceof Wf)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=t.segments.length>0?new Xd([],((r={})[Dd]=t,r)):t;return new Qd(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Q(function(t){return new Xd([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Xs({});var o=[],a=[],s={};return Wd(n,function(n,i){var l,u,c=(l=i,u=n,r.expandSegmentGroup(t,e,u,l)).pipe(Q(function(t){return s[i]=t}));i===Dd?o.push(c):a.push(c)}),Xs.apply(null,o.concat(a)).pipe($u(),Zh(),Q(function(){return s}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,o){var a=this;return Xs.apply(void 0,c(n)).pipe(Q(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,r,i,o).pipe(Yh(function(t){if(t instanceof Wf)return Xs(null);throw t}))}),$u(),Jh(function(t){return!!t}),Yh(function(t,n){if(t instanceof Vh||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,i))return Xs(new Xd([],{}));throw new Wf(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return nm(r)!==o?Yf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Yf(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Qf(o):this.lineralizeSegments(n,o).pipe(et(function(n){var o=new Xd(n,{});return i.expandSegment(t,o,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=$f(e,r,i),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return Yf(e);var h=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?Qf(h):this.lineralizeSegments(r,h).pipe(et(function(r){return a.expandSegment(t,e,n,r.concat(i.slice(u)),o,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Q(function(t){return n._loadedConfig=t,new Xd(r,{})})):Xs(new Xd(r,{}));var a=$f(e,n,r),s=a.consumedSegments,u=a.lastChild;if(!a.matched)return Yf(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(et(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return em(t,e,n)&&nm(n)!==Dd})}(t,n)?{segmentGroup:tm(new Xd(e,function(t,e){var n,r,i={};i[Dd]=e;try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&nm(s)!==Dd&&(i[nm(s)]=new Xd([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Xd(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return em(t,e,n)})}(t,n)?{segmentGroup:tm(new Xd(t.segments,function(t,e,n,r){var i,a,s={};try{for(var u=l(n),c=u.next();!c.done;c=u.next()){var h=c.value;em(t,e,h)&&!r[nm(h)]&&(s[nm(h)]=new Xd([],{}))}}catch(p){i={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return o({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,c,r),u=a.segmentGroup,h=a.slicedSegments;return 0===h.length&&u.hasChildren()?i.expandChildren(n,r,u).pipe(Q(function(t){return new Xd(s,t)})):0===r.length&&0===h.length?Xs(new Xd(s,{})):i.expandSegment(n,u,r,h,Dd,!0).pipe(Q(function(t){return new Xd(s.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Xs(new Ld(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Xs(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?tt(i).pipe(Q(function(r){var i,o=t.get(r);if(function(t){return t&&Kf(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Kf(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Zd(i)})).pipe($u(),(r=function(t){return!0===t},function(t){return t.lift(new $h(r,void 0,t))})):Xs(!0)}(t.injector,e,n).pipe(et(function(n){return n?r.configLoader.load(t.injector,e).pipe(Q(function(t){return e._loadedConfig=t,t})):function(t){return new O(function(e){return e.error(Md("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Xs(new Ld([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Xs(n);if(r.numberOfChildren>1||!r.children[Dd])return Xf(t.redirectTo);r=r.children[Dd]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Qd(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Wd(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return Wd(e.children,function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)}),new Xd(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=l(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===t.path)return e.splice(i),s;i++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function $f(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Vd)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function tm(t){if(1===t.numberOfChildren&&t.children[Dd]){var e=t.children[Dd];return new Xd(t.segments.concat(e.segments),e.children)}return t}function em(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function nm(t){return t.outlet||Dd}var rm=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),im=function(){return function(t,e){this.component=t,this.route=e}}();function om(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function am(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=wf(e);return t.children.forEach(function(t){!function(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!$d(t.url,e.url);case"pathParamsOrQueryParamsChange":return!$d(t.url,e.url)||!Hd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!If(t,e)||!Hd(t.queryParams,e.queryParams);case"paramsChange":default:return!If(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new rm(r)):(o.data=a.data,o._resolvedData=a._resolvedData),am(t,e,o.component?s?s.children:null:n,r,i),l&&i.canDeactivateChecks.push(new im(s&&s.outlet&&s.outlet.component||null,a))}else a&&sm(e,s,i),i.canActivateChecks.push(new rm(r)),am(t,null,o.component?s?s.children:null:n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),Wd(o,function(t,e){return sm(t,n.getContext(e),i)}),i}function sm(t,e,n){var r=wf(t),i=t.value;Wd(r,function(t,r){sm(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new im(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var lm=Symbol("INITIAL_VALUE");function um(){return ec(function(t){return lh.apply(void 0,c(t.map(function(t){return t.pipe(Du(1),tc(lm))}))).pipe(ep(function(t,e){var n=!1;return e.reduce(function(t,r,i){if(t!==lm)return t;if(r===lm&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Gf(r))return r}return t},t)},lm),$s(function(t){return t!==lm}),Q(function(t){return Gf(t)?t:!0===t}),Du(1))})}function cm(t,e){return null!==t&&e&&e(new Od(t)),Xs(!0)}function hm(t,e){return null!==t&&e&&e(new Ad(t)),Xs(!0)}function pm(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Xs(r.map(function(r){return Lh(function(){var i,o=om(r,e,n);if(function(t){return t&&Kf(t.canActivate)}(o))i=Zd(o.canActivate(e,t));else{if(!Kf(o))throw new Error("Invalid CanActivate guard");i=Zd(o(e,t))}return i.pipe(Jh())})})).pipe(um()):Xs(!0)}function dm(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return Lh(function(){return Xs(e.guards.map(function(i){var o,a=om(i,e.node,n);if(function(t){return t&&Kf(t.canActivateChild)}(a))o=Zd(a.canActivateChild(r,t));else{if(!Kf(a))throw new Error("Invalid CanActivateChild guard");o=Zd(a(r,t))}return o.pipe(Jh())})).pipe(um())})});return Xs(i).pipe(um())}var fm=function(){return function(){}}(),mm=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=vm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Dd),n=new Sf([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},Dd,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new _f(n,e),i=new Af(this.url,r);return this.inheritParamsAndData(i._root),Xs(i)}catch(a){return new O(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Ef(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=tf(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},i.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),i=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value}),i.sort(function(t,e){return t.value.outlet===Dd?-1:e.value.outlet===Dd?1:t.value.outlet.localeCompare(e.value.outlet)}),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var a=l(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(c){if(!(c instanceof fm))throw c}}}catch(h){i={error:h}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new fm},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new fm;if((t.outlet||Dd)!==r)throw new fm;var i,a=[],s=[];if("**"===t.path){var l=n.length>0?Gd(n).parameters:{};i=new Sf(n,l,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,wm(t),r,t.component,t,gm(e),ym(e)+n.length,Cm(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new fm;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Vd)(n,t,e);if(!r)throw new fm;var i={};Wd(r.posParams,function(t,e){i[e]=t.path});var a=r.consumed.length>0?o({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=u.consumedSegments,s=n.slice(u.lastChild),i=new Sf(a,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,wm(t),r,t.component,t,gm(e),ym(e)+a.length,Cm(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=vm(e,a,s,c,this.relativeLinkResolution),p=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new _f(i,f)]}if(0===c.length&&0===d.length)return[new _f(i,[])];var m=this.processSegment(c,p,d,Dd);return[new _f(i,m)]},t}();function gm(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ym(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function vm(t,e,n,r,i){if(n.length>0&&function(t,e,n){return r.some(function(n){return bm(t,e,n)&&_m(n)!==Dd})}(t,n)){var a=new Xd(e,function(t,e,n,r){var i,o,a={};a[Dd]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=l(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&_m(c)!==Dd){var h=new Xd([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,a[_m(c)]=h}}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(t,e,r,new Xd(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return bm(t,e,n)})}(t,n)){var s=new Xd(t.segments,function(t,e,n,r,i,a){var s,u,c={};try{for(var h=l(r),p=h.next();!p.done;p=h.next()){var d=p.value;if(bm(t,n,d)&&!i[_m(d)]){var f=new Xd([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[_m(d)]=f}}}catch(m){s={error:m}}finally{try{p&&!p.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}return o({},i,c)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new Xd(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function bm(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function _m(t){return t.outlet||Dd}function wm(t){return t.data||{}}function Cm(t){return t.resolve||{}}function xm(t,e,n,r){var i=om(t,e,r);return Zd(i.resolve?i.resolve(e,n):i(e,n))}function km(t){return function(e){return e.pipe(ec(function(e){var n=t(e);return n?tt(n).pipe(Q(function(){return e})):tt([e])}))}}var Em=function(){return function(){}}(),Sm=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Am=new _t("ROUTES"),Tm=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Q(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Ld(Kd(i.injector.get(Am)).map(qd),i)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?tt(this.loader.load(t)):Zd(t()).pipe(et(function(t){return t instanceof Re?Xs(t):tt(e.compiler.compileModuleAsync(t))}))},t}(),Om=function(){return function(){}}(),Pm=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Im(t){throw t}function Rm(t,e,n){return e.parse("/")}function Dm(t,e){return Xs(null)}var Nm=function(){function t(t,e,n,r,i,o,a,s){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new F,this.errorHandler=Im,this.malformedUriErrorHandler=Rm,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dm,afterPreactivation:Dm},this.urlHandlingStrategy=new Pm,this.routeReuseStrategy=new Sm,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Ie),this.console=i.get(pr);var u=i.get(Ar);this.isNgZoneEnabled=u instanceof Ar,this.resetConfig(s),this.currentUrlTree=new Qd(new Xd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Tm(o,a,function(t){return l.triggerEvent(new Ed(t))},function(t){return l.triggerEvent(new Sd(t))}),this.routerState=xf(this.currentUrlTree,this.rootComponentType),this.transitions=new jh({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe($s(function(t){return 0!==t.id}),Q(function(t){return o({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),qc(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?o({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),ec(function(t){var r,i,a,s,u=!1,c=!1;return Xs(t).pipe(ec(function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Xs(t).pipe(ec(function(t){var r=e.transitions.getValue();return n.next(new gd(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Zs:[t]}),ec(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(ec(function(t){return function(e,n,r,i,o){return new Jf(e,n,r,t.extractedUrl,o).apply()}(r,i,a,0,s).pipe(Q(function(e){return o({},t,{urlAfterRedirects:e})}))}))}),qc(function(t){e.currentNavigation=o({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,r,i,a){return function(r){return r.pipe(et(function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new mm(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),i,a).pipe(Q(function(t){return o({},r,{targetSnapshot:t})}));var s}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),qc(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id),e.browserUrlTree=t.urlAfterRedirects)}),qc(function(t){var r=new _d(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.extractedUrl,c=t.source,h=t.restoredState,p=t.extras,d=new gd(t.id,e.serializeUrl(u),c,h);n.next(d);var f=xf(u,e.rootComponentType).snapshot;return Xs(o({},t,{targetSnapshot:f,urlAfterRedirects:u,extras:o({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Zs}),km(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),qc(function(t){var n=new wd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Q(function(t){return o({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,a=n._root,am(a,r?r._root:null,i,[a.value]))});var n,r,i,a}),function(t,e){return function(n){return n.pipe(et(function(n){var r=n.targetSnapshot,i=n.currentSnapshot,a=n.guards,s=a.canActivateChecks,l=a.canDeactivateChecks;return 0===l.length&&0===s.length?Xs(o({},n,{guardsResult:!0})):function(t,e,n,r){return tt(l).pipe(et(function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?Xs(o.map(function(o){var a,s=om(o,e,i);if(function(t){return t&&Kf(t.canDeactivate)}(s))a=Zd(s.canDeactivate(t,e,n,r));else{if(!Kf(s))throw new Error("Invalid CanDeactivate guard");a=Zd(s(t,e,n,r))}return a.pipe(Jh())})).pipe(um()):Xs(!0)}(t.component,t.route,n,e,r)}),Jh(function(t){return!0!==t},!0))}(0,r,i,t).pipe(et(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return tt(s).pipe(Js(function(e){return tt([hm(e.route.parent,r),cm(e.route,r),dm(t,e.path,n),pm(t,e.route,n)]).pipe($u(),Jh(function(t){return!0!==t},!0))}),Jh(function(t){return!0!==t},!0))}(r,0,t,e):Xs(n)}),Q(function(t){return o({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),qc(function(t){if(Gf(t.guardsResult)){var n=Md('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),qc(function(t){var n=new Cd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),$s(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new vd(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),km(function(t){if(t.guards.canActivateChecks.length)return Xs(t).pipe(qc(function(t){var n=new xd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(et(function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?tt(i).pipe(Js(function(t){return function(t,n,r,i){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Xs({});if(1===i.length){var o=i[0];return xm(t[o],e,n,r).pipe(Q(function(t){var e;return(e={})[o]=t,e}))}var a={};return tt(i).pipe(et(function(i){return xm(t[i],e,n,r).pipe(Q(function(t){return a[i]=t,t}))})).pipe(Zh(),Q(function(){return a}))}(t._resolve,t,e,i).pipe(Q(function(e){return t._resolvedData=e,t.data=o({},t.data,Ef(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return A(ep(t,void 0),Bh(1),Kh(void 0))(e)}:function(e){return A(ep(function(e,n,r){return t(e)}),Bh(1))(e)}}(function(t,e){return t}),Q(function(e){return t})):Xs(t)}))}),qc(function(t){var n=new kd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),km(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Q(function(t){var n,r,i,a=(i=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map(function(n){var i,o;try{for(var a=l(r.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return t(e,n)})}(e,n,r);return new _f(u,i)}var o=e.retrieve(n.value);if(o){var a=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var s,u=new kf(new jh((s=n.value).url),new jh(s.params),new jh(s.queryParams),new jh(s.fragment),new jh(s.data),s.outlet,s.component,s);return i=n.children.map(function(n){return t(e,n)}),new _f(u,i)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Cf(i,n));return o({},t,{targetRouterState:a})}),qc(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),(i=e.rootContexts,a=e.routeReuseStrategy,s=function(t){return e.triggerEvent(t)},Q(function(t){return new qf(a,t.targetRouterState,t.currentRouterState,s).activate(i),t})),qc({next:function(){u=!0},complete:function(){u=!0}}),(r=function(){if(!u&&!c){e.resetUrlToCurrentUrlTree();var r=new vd(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new ip(r))}),Yh(function(r){if(c=!0,(s=r)&&s[jd]){var i=Gf(r.url);i||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var o=new vd(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(o),t.resolve(!1),i&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new bd(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(l){t.reject(l)}}var s;return Zs}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(o({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){t.scheduleNavigation(n,r,i,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Bd(t),this.config=t.map(qd),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,i=e.fragment,a=e.preserveQueryParams,s=e.queryParamsHandling,l=e.preserveFragment;Ke()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,h=l?this.currentUrlTree.fragment:i,p=null;if(s)switch(s){case"merge":p=o({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,i){if(0===n.length)return Df(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Nf(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Wd(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:o}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new Nf(n,e,r)}(n);if(o.toRoot())return Df(e.root,new Xd([],{}),e,r,i);var a=function(t,n,r){if(t.isAbsolute)return new Ff(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Ff(r.snapshot._urlSegment,!0,0);var i=Rf(t.commands[0])?0:1;return function(e,n,o){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+i,l=t.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new Ff(a,!1,s-l)}()}(o,0,t),s=a.processChildren?Vf(a.segmentGroup,a.index,o.commands):Mf(a.segmentGroup,a.index,o.commands);return Df(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Ke()&&this.isNgZoneEnabled&&!Ar.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Gf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(Gf(t))return Yd(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Yd(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new yd(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(t,e){o=t,a=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n,r){var i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",o({},r,{navigationId:n})):this.location.go(i,"",o({},r,{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),Fm=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof yd&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Ke()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:jm(this.skipLocationChange),replaceUrl:jm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:jm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:jm(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([On("attr.target"),Tn(),s("design:type",String)],t.prototype,"target",void 0),t}();function jm(t){return""===t||!!t}var Mm=function(){function t(t,e,n,r){var i=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof yd&&i.update()})}return t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}(),Vm=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Lm,this.attachRef=null}}(),Lm=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Vm,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Bm=function(){function t(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new fn,this.deactivateEvents=new fn,this.name=r||Dd,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new zm(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),zm=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===kf?this.route:t===Lm?this.childContexts:this.parent.get(t,e)},t}(),Um=function(){return function(){}}(),qm=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Yh(function(){return Xs(null)}))},t}(),Hm=function(){function t(){}return t.prototype.preload=function(t,e){return Xs(null)},t}(),Km=function(){function t(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new Tm(e,n,function(e){return t.triggerEvent(new Ed(e))},function(e){return t.triggerEvent(new Sd(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe($s(function(t){return t instanceof yd}),Js(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(Ie);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,i=[];try{for(var o=l(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var u=s._loadedConfig;i.push(this.processRoutes(u.module,u.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(t,s)):s.children&&i.push(this.processRoutes(t,s.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return tt(i).pipe(ot(),Q(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(et(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),Gm=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof gd?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof yd&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Id&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new Id(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),Wm=new _t("ROUTER_CONFIGURATION"),Zm=new _t("ROUTER_FORROOT_GUARD"),Ym=[al,{provide:ef,useClass:nf},{provide:Nm,useFactory:ng,deps:[Hr,ef,Lm,al,le,bn,_r,Am,Wm,[Om,new Ut],[Em,new Ut]]},Lm,{provide:kf,useFactory:rg,deps:[Nm]},{provide:bn,useClass:Yr},Km,Hm,qm,{provide:Wm,useValue:{enableTracing:!1}}];function Qm(){return new Lr("Router",Nm)}var Xm=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Ym,eg(t),{provide:Zm,useFactory:tg,deps:[[Nm,new Ut,new Ht]]},{provide:Wm,useValue:n||{}},{provide:il,useFactory:$m,deps:[nl,[new zt(ol),new Ut],Wm]},{provide:Gm,useFactory:Jm,deps:[Nm,Il,Wm]},{provide:Um,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Hm},{provide:Lr,multi:!0,useFactory:Qm},[ig,{provide:ir,multi:!0,useFactory:og,deps:[ig]},{provide:sg,useFactory:ag,deps:[ig]},{provide:hr,multi:!0,useExisting:sg}]]}},t.forChild=function(t){return{ngModule:e,providers:[eg(t)]}},t}();function Jm(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Gm(t,e,n)}function $m(t,e,n){return void 0===n&&(n={}),n.useHash?new ll(t,e):new ul(t,e)}function tg(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function eg(t){return[{provide:St,multi:!0,useValue:t},{provide:Am,multi:!0,useValue:t}]}function ng(t,e,n,r,i,o,a,s,l,u,c){void 0===l&&(l={});var h=new Nm(null,e,n,r,i,o,a,Kd(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=sp();h.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function rg(t){return t.routerState.root}var ig=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new F}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(rl,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(Nm),i=t.injector.get(Wm);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Xs(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Wm),n=this.injector.get(Km),r=this.injector.get(Gm),i=this.injector.get(Nm),o=this.injector.get(Hr);t===o.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function og(t){return t.appInitializer.bind(t)}function ag(t){return t.bootstrapListener.bind(t)}var sg=new _t("Router Initializer"),lg=function(){function t(t,e){var n=this;this.tabChanged=t,this.router=e,this.currentTab=void 0,this.currentName=void 0,this.navLinks=[{path:"/pie-chart",label:"Pie Chart"},{path:"/logs",label:"Logs"},{path:"/compilers",label:"Compilers"},{path:"/config",label:"Config"}],e.events.forEach(function(t){if(t instanceof yd)for(var e=t.urlAfterRedirects,r=0;r<n.navLinks.length;++r)n.navLinks[r].path==e&&(n.currentTab=r,n.currentName=n.navLinks[r].label,n.tabChanged.notify(n.currentTab,n.currentName),console.log("here?",n.currentTab,n.currentName))})}return t.prototype.ngAfterViewInit=function(){},t.prototype.onTabChanged=function(t){this.currentTab=t.index,this.currentName=t.tab.textLabel},t.prototype.onAnimationDone=function(){this.tabChanged.notify(this.currentTab,this.currentName)},t}(),ug=function(){var t={HEX:0,RGBA:1,HSLA:2};return t[t.HEX]="HEX",t[t.RGBA]="RGBA",t[t.HSLA]="HSLA",t}(),cg=function(){return function(t,e,n,r){this.c=t,this.m=e,this.y=n,this.k=r}}(),hg=function(){return function(t,e,n,r){this.h=t,this.s=e,this.l=n,this.a=r}}(),pg=function(){return function(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r}}(),dg=function(){return function(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}}(),fg=function(){function t(){this.newValue=new fn}return t.prototype.inputChange=function(t){var e=t.target.value;if(void 0===this.rg)this.newValue.emit(e);else{var n=parseFloat(e);this.newValue.emit({v:n,rg:this.rg})}},t}(),mg=function(){function t(t){var e=this;this.elRef=t,this.dragEnd=new fn,this.dragStart=new fn,this.newValue=new fn,this.listenerMove=function(t){return e.move(t)},this.listenerStop=function(){return e.stop()}}return t.prototype.mouseDown=function(t){this.start(t)},t.prototype.touchStart=function(t){this.start(t)},t.prototype.move=function(t){t.preventDefault(),this.setCursor(t)},t.prototype.start=function(t){this.setCursor(t),t.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()},t.prototype.stop=function(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()},t.prototype.getX=function(t){var e=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-e.left-window.pageXOffset},t.prototype.getY=function(t){var e=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-e.top-window.pageYOffset},t.prototype.setCursor=function(t){var e=this.elRef.nativeElement.offsetWidth,n=this.elRef.nativeElement.offsetHeight,r=Math.max(0,Math.min(this.getX(t),e)),i=Math.max(0,Math.min(this.getY(t),n));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:r/e,v:1-i/n,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:i/n,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:r/e,rgX:this.rgX})},t}(),gg=function(){return function(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r}}(),yg=function(){return function(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r}}(),vg=function(){function t(){this.active=null}return t.prototype.setActive=function(t){this.active&&this.active!==t&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=t},t.prototype.hsva2hsla=function(t){var e=t.h,n=t.s,r=t.v,i=t.a;if(0===r)return new hg(e,0,0,i);if(0===n&&1===r)return new hg(e,1,1,i);var o=r*(2-n)/2;return new hg(e,r*n/(1-Math.abs(2*o-1)),o,i)},t.prototype.hsla2hsva=function(t){var e=Math.min(t.h,1),n=Math.min(t.s,1),r=Math.min(t.l,1),i=Math.min(t.a,1);if(0===r)return new pg(e,0,0,i);var o=r+n*(1-Math.abs(2*r-1))/2;return new pg(e,2*(o-r)/o,o,i)},t.prototype.hsvaToRgba=function(t){var e,n,r,i=t.h,o=t.s,a=t.v,s=t.a,l=Math.floor(6*i),u=6*i-l,c=a*(1-o),h=a*(1-u*o),p=a*(1-(1-u)*o);switch(l%6){case 0:e=a,n=p,r=c;break;case 1:e=h,n=a,r=c;break;case 2:e=c,n=a,r=p;break;case 3:e=c,n=h,r=a;break;case 4:e=p,n=c,r=a;break;case 5:e=a,n=c,r=h;break;default:e=0,n=0,r=0}return new dg(e,n,r,s)},t.prototype.rgbaToCmyk=function(t){var e=1-Math.max(t.r,t.g,t.b);return 1===e?new cg(0,0,0,1):new cg((1-t.r-e)/(1-e),(1-t.g-e)/(1-e),(1-t.b-e)/(1-e),e)},t.prototype.rgbaToHsva=function(t){var e,n,r=Math.min(t.r,1),i=Math.min(t.g,1),o=Math.min(t.b,1),a=Math.min(t.a,1),s=Math.max(r,i,o),l=Math.min(r,i,o),u=s,c=s-l;if(n=0===s?0:c/s,s===l)e=0;else{switch(s){case r:e=(i-o)/c+(i<o?6:0);break;case i:e=(o-r)/c+2;break;case o:e=(r-i)/c+4;break;default:e=0}e/=6}return new pg(e,n,u,a)},t.prototype.rgbaToHex=function(t,e){var n="#"+(1<<24|t.r<<16|t.g<<8|t.b).toString(16).substr(1);return e&&(n+=(256|Math.round(255*t.a)).toString(16).substr(1)),n},t.prototype.denormalizeRGBA=function(t){return new dg(Math.round(255*t.r),Math.round(255*t.g),Math.round(255*t.b),t.a)},t.prototype.stringToHsva=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!1);var n=null;t=(t||"").toLowerCase();var r=[{re:/(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new dg(parseInt(t[2],10)/255,parseInt(t[3],10)/255,parseInt(t[4],10)/255,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}},{re:/(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new hg(parseInt(t[2],10)/360,parseInt(t[3],10)/100,parseInt(t[4],10)/100,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}}];for(var i in r.push(e?{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,parse:function(t){return new dg(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,parseInt(t[4]||"FF",16)/255)}}:{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/,parse:function(t){return new dg(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,1)}}),r.push({re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/,parse:function(t){return new dg(parseInt(t[1]+t[1],16)/255,parseInt(t[2]+t[2],16)/255,parseInt(t[3]+t[3],16)/255,1)}}),r)if(r.hasOwnProperty(i)){var o=r[i],a=o.re.exec(t),s=a&&o.parse(a);if(s)return s instanceof dg?n=this.rgbaToHsva(s):s instanceof hg&&(n=this.hsla2hsva(s)),n}return n},t.prototype.outputFormat=function(t,e,n){switch("auto"===e&&(e=t.a<1?"rgba":"hex"),e){case"hsla":var r=this.hsva2hsla(t),i=new hg(Math.round(360*r.h),Math.round(100*r.s),Math.round(100*r.l),Math.round(100*r.a)/100);return t.a<1||"always"===n?"hsla("+i.h+","+i.s+"%,"+i.l+"%,"+i.a+")":"hsl("+i.h+","+i.s+"%,"+i.l+"%)";case"rgba":var o=this.denormalizeRGBA(this.hsvaToRgba(t));return t.a<1||"always"===n?"rgba("+o.r+","+o.g+","+o.b+","+Math.round(100*o.a)/100+")":"rgb("+o.r+","+o.g+","+o.b+")";default:var a="always"===n||"forced"===n;return this.rgbaToHex(this.denormalizeRGBA(this.hsvaToRgba(t)),a)}},t}(),bg=function(){function t(t,e,n){this.elRef=t,this.cdRef=e,this.service=n,this.isIE10=!1,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.dialogInputFields=[ug.HEX,ug.RGBA,ug.HSLA],this.useRootViewContainer=!1}return t.prototype.handleEsc=function(t){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(t)},t.prototype.handleEnter=function(t){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(t)},t.prototype.ngOnInit=function(){var t=this;this.slider=new gg(0,0,0,0),this.sliderDimMax=new yg(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format="rgba"===this.cpOutputFormat?ug.RGBA:"hsla"===this.cpOutputFormat?ug.HSLA:ug.HEX,this.listenerMouseDown=function(e){t.onMouseDown(e)},this.listenerResize=function(){t.onResize()},this.openDialog(this.initialColor,!1)},t.prototype.ngOnDestroy=function(){this.closeDialog()},t.prototype.ngAfterViewInit=function(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new yg(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())},t.prototype.openDialog=function(t,e){void 0===e&&(e=!0),this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()},t.prototype.closeDialog=function(){this.closeColorPicker()},t.prototype.setupDialog=function(t,e,n,r,i,o,a,s,l,u,c,h,p,d,f,m,g,y,v,b,_,w,C,x,k,E,S,A,T,O,P,I,R){this.setInitialColor(n),this.setColorMode(s),this.isIE10=10===function(){var t="";"undefined"!=typeof navigator&&(t=navigator.userAgent.toLowerCase());var e=t.indexOf("msie ");return e>0&&parseInt(t.substring(e+5,t.indexOf(".",e)),10)}(),this.directiveInstance=t,this.directiveElementRef=e,this.cpDisableInput=c,this.cpAlphaChannel=l,this.cpOutputFormat=u,this.cpDialogDisplay=o,this.cpIgnoredElements=h,this.cpSaveClickOutside=p,this.cpCloseClickOutside=d,this.useRootViewContainer=f,this.width=this.cpWidth=parseInt(r,10),this.height=this.cpHeight=parseInt(i,10),this.cpPosition=m,this.cpPositionOffset=parseInt(g,10),this.cpOKButton=x,this.cpOKButtonText=E,this.cpOKButtonClass=k,this.cpCancelButton=S,this.cpCancelButtonText=T,this.cpCancelButtonClass=A,this.fallbackColor=a||"#fff",this.setPresetConfig(v,b),this.cpMaxPresetColorsLength=_,this.cpPresetEmptyMessage=w,this.cpPresetEmptyMessageClass=C,this.cpAddColorButton=O,this.cpAddColorButtonText=I,this.cpAddColorButtonClass=P,this.cpRemoveColorButtonClass=R,y||(this.dialogArrowOffset=0),"inline"===o&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===u&&"always"!==l&&"forced"!==l&&(this.cpAlphaChannel="disabled")},t.prototype.setColorMode=function(t){switch(t.toString().toUpperCase()){case"1":case"C":case"COLOR":this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3;break;default:this.cpColorMode=1}},t.prototype.setInitialColor=function(t){this.initialColor=t},t.prototype.setPresetConfig=function(t,e){this.cpPresetLabel=t,this.cpPresetColors=e},t.prototype.setColorFromString=function(t,e,n){var r;void 0===e&&(e=!0),void 0===n&&(n=!0),("always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel)&&((r=this.service.stringToHsva(t,!0))||this.hsva)||(r=this.service.stringToHsva(t,!1)),r||this.hsva||(r=this.service.stringToHsva(this.fallbackColor,!1)),r&&(this.hsva=r,this.sliderH=this.hsva.h,this.updateColorPicker(e,n))},t.prototype.onResize=function(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()},t.prototype.onDragEnd=function(t){this.directiveInstance.sliderDragEnd({slider:t,color:this.outputColor})},t.prototype.onDragStart=function(t){this.directiveInstance.sliderDragStart({slider:t,color:this.outputColor})},t.prototype.onMouseDown=function(t){this.isIE10||"popup"!==this.cpDialogDisplay||t.target===this.directiveElementRef.nativeElement||this.isDescendant(this.elRef.nativeElement,t.target)||this.isDescendant(this.directiveElementRef.nativeElement,t.target)||0!==this.cpIgnoredElements.filter(function(e){return e===t.target}).length||(this.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.cpCloseClickOutside&&this.closeColorPicker())},t.prototype.onAcceptColor=function(t){t.stopPropagation(),"popup"===this.cpDialogDisplay&&this.closeColorPicker(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor)},t.prototype.onCancelColor=function(t){t.stopPropagation(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker()),this.directiveInstance.colorCanceled()},t.prototype.onFormatToggle=function(t){var e=this.dialogInputFields.length,n=((this.dialogInputFields.indexOf(this.format)+t)%e+e)%e;this.format=this.dialogInputFields[n]},t.prototype.onColorChange=function(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})},t.prototype.onHueChange=function(t){this.hsva.h=t.v/t.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})},t.prototype.onValueChange=function(t){this.hsva.v=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})},t.prototype.onAlphaChange=function(t){this.hsva.a=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})},t.prototype.onHexInput=function(t){if(null===t)this.updateColorPicker();else{t&&"#"!==t[0]&&(t="#"+t);var e=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(e=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);var n=e.test(t);n&&(t.length<5&&(t="#"+t.substring(1).split("").map(function(t){return t+t}).join("")),"forced"===this.cpAlphaChannel&&(t+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(t,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:n,value:t,color:this.outputColor})}},t.prototype.onRedInput=function(t){var e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.r=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:n,value:e.r,color:this.outputColor})},t.prototype.onBlueInput=function(t){var e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.b=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:n,value:e.b,color:this.outputColor})},t.prototype.onGreenInput=function(t){var e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.g=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:n,value:e.g,color:this.outputColor})},t.prototype.onHueInput=function(t){var e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.h=t.v/t.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:e,value:this.hsva.h,color:this.outputColor})},t.prototype.onValueInput=function(t){var e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.v=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:e,value:this.hsva.v,color:this.outputColor})},t.prototype.onAlphaInput=function(t){var e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.a=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:e,value:this.hsva.a,color:this.outputColor})},t.prototype.onLightnessInput=function(t){var e=this.service.hsva2hsla(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.l=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:n,value:e.l,color:this.outputColor})},t.prototype.onSaturationInput=function(t){var e=this.service.hsva2hsla(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.s=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:n,value:e.s,color:this.outputColor})},t.prototype.onAddPresetColor=function(t,e){t.stopPropagation(),this.cpPresetColors.filter(function(t){return t===e}).length||(this.cpPresetColors=this.cpPresetColors.concat(e),this.directiveInstance.presetColorsChanged(this.cpPresetColors))},t.prototype.onRemovePresetColor=function(t,e){t.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(function(t){return t!==e}),this.directiveInstance.presetColorsChanged(this.cpPresetColors)},t.prototype.openColorPicker=function(){var t=this;this.show||(this.show=!0,this.hidden=!0,setTimeout(function(){t.hidden=!1,t.setDialogPosition(),t.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},t.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())},t.prototype.updateColorPicker=function(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!0),this.sliderDimMax){2===this.cpColorMode&&(this.hsva.s=0);var n=this.outputColor,r=this.service.hsva2hsla(this.hsva),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),o=this.service.denormalizeRGBA(this.service.hsvaToRgba(new pg(this.sliderH||this.hsva.h,1,1,1)));e&&(this.hslaText=new hg(Math.round(360*r.h),Math.round(100*r.s),Math.round(100*r.l),Math.round(100*r.a)/100),this.rgbaText=new dg(i.r,i.g,i.b,Math.round(100*i.a)/100),this.hexText=this.service.rgbaToHex(i,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.hsva.a<1&&(this.format=this.hsva.a<1?ug.RGBA:ug.HEX),this.hueSliderColor="rgb("+o.r+","+o.g+","+o.b+")",this.alphaSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.slider=new gg((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),t&&n!==this.outputColor&&this.directiveInstance.colorChanged(this.outputColor)}},t.prototype.setDialogPosition=function(){if("inline"===this.cpDialogDisplay)this.position="relative";else{for(var t="static",e="",n=void 0,r=null,i=null,o=this.directiveElementRef.nativeElement.parentNode,a=this.dialogElement.nativeElement.offsetHeight;null!==o&&"HTML"!==o.tagName;){if("static"!==(t=(n=window.getComputedStyle(o)).getPropertyValue("position"))&&null===r&&(r=o),(e=n.getPropertyValue("transform"))&&"none"!==e&&null===i&&(i=o),"fixed"===t){r=i;break}o=o.parentNode}var s=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==t);if(this.useRootViewContainer||"fixed"===t&&(!r||r instanceof HTMLUnknownElement))this.top=s.top,this.left=s.left;else{null===r&&(r=o);var l=this.createDialogBox(r,"fixed"!==t);this.top=s.top-l.top,this.left=s.left-l.left}"fixed"===t&&(this.position="fixed"),"left"===this.cpPosition?(this.top+=s.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):"top"===this.cpPosition?(this.arrowTop=a-1,this.top-=a+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*s.width-this.dialogArrowOffset):"bottom"===this.cpPosition?(this.top+=s.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*s.width-this.dialogArrowOffset):(this.top+=s.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=s.width+this.dialogArrowSize-2)}},t.prototype.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},t.prototype.createDialogBox=function(t,e){return{top:t.getBoundingClientRect().top+(e?window.pageYOffset:0),left:t.getBoundingClientRect().left+(e?window.pageXOffset:0),width:t.offsetWidth,height:t.offsetHeight}},t}(),_g=function(){function t(t,e,n,r,i,o){this.injector=t,this.cfr=e,this.appRef=n,this.vcRef=r,this.elRef=i,this._service=o,this.dialogCreated=!1,this.ignoreChanges=!1,this.cpWidth="230px",this.cpHeight="auto",this.cpToggle=!1,this.cpDisabled=!1,this.cpIgnoredElements=[],this.cpFallbackColor="",this.cpColorMode="color",this.cpOutputFormat="auto",this.cpAlphaChannel="enabled",this.cpDisableInput=!1,this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpCloseClickOutside=!0,this.cpUseRootViewContainer=!1,this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOKButton=!1,this.cpOKButtonText="OK",this.cpOKButtonClass="cp-ok-button-class",this.cpCancelButton=!1,this.cpCancelButtonText="Cancel",this.cpCancelButtonClass="cp-cancel-button-class",this.cpPresetLabel="Preset colors",this.cpMaxPresetColorsLength=6,this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpAddColorButton=!1,this.cpAddColorButtonText="Add color",this.cpAddColorButtonClass="cp-add-color-button-class",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpInputChange=new fn(!0),this.cpToggleChange=new fn(!0),this.cpSliderChange=new fn(!0),this.cpSliderDragEnd=new fn(!0),this.cpSliderDragStart=new fn(!0),this.colorPickerOpen=new fn(!0),this.colorPickerClose=new fn(!0),this.colorPickerCancel=new fn(!0),this.colorPickerSelect=new fn(!0),this.colorPickerChange=new fn(!1),this.cpPresetColorsChange=new fn(!0)}return t.prototype.handleClick=function(){this.inputFocus()},t.prototype.handleFocus=function(){this.inputFocus()},t.prototype.handleInput=function(t){this.inputChange(t)},t.prototype.ngOnDestroy=function(){void 0!==this.cmpRef&&this.cmpRef.destroy()},t.prototype.ngOnChanges=function(t){t.cpToggle&&!this.cpDisabled&&(t.cpToggle.currentValue?this.openDialog():t.cpToggle.currentValue||this.closeDialog()),t.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(t.colorPicker.currentValue),this.dialog.setColorFromString(t.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(t.cpPresetLabel||t.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)},t.prototype.openDialog=function(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{var t=this.vcRef;if(this.dialogCreated=!0,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){var e=this.injector.get(this.appRef.componentTypes[0]);(t=e.vcRef||e.viewContainerRef||this.vcRef)===this.vcRef&&console.warn("You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor.")}var n=this.cfr.resolveComponentFactory(bg),r=tr.fromResolvedProviders([],t.parentInjector);this.cmpRef=t.createComponent(n,0,r,[]),this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass),this.dialog=this.cmpRef.instance,this.vcRef!==t&&this.cmpRef.changeDetectorRef.detectChanges()}},t.prototype.closeDialog=function(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()},t.prototype.stateChanged=function(t){this.cpToggleChange.emit(t),t?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)},t.prototype.colorChanged=function(t,e){void 0===e&&(e=!0),this.ignoreChanges=e,this.colorPickerChange.emit(t)},t.prototype.colorCanceled=function(){this.colorPickerCancel.emit()},t.prototype.colorSelected=function(t){this.colorPickerSelect.emit(t)},t.prototype.inputFocus=function(){var t=this.elRef.nativeElement,e=this.cpIgnoredElements.filter(function(e){return e===t});this.cpDisabled||e.length||("undefined"!=typeof document&&t===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())},t.prototype.inputChange=function(t){this.dialog?this.dialog.setColorFromString(t.target.value,!0):(this.colorPicker=t.target.value,this.colorPickerChange.emit(this.colorPicker))},t.prototype.inputChanged=function(t){this.cpInputChange.emit(t)},t.prototype.sliderChanged=function(t){this.cpSliderChange.emit(t)},t.prototype.sliderDragEnd=function(t){this.cpSliderDragEnd.emit(t)},t.prototype.sliderDragStart=function(t){this.cpSliderDragStart.emit(t)},t.prototype.presetColorsChanged=function(t){this.cpPresetColorsChange.emit(t)},t}(),wg=function(){return function(){}}(),Cg=Hi({encapsulation:2,styles:[".color-picker {\n position: absolute;\n z-index: 100000;\n\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n\n cursor: default;\n\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n\n user-select: none;\n background-color: #fff;\n}\n\n.color-picker * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n\n box-sizing: border-box;\n margin: 0;\n\n font-size: 11px;\n}\n\n.color-picker input {\n width: 0;\n height: 26px;\n min-width: 0;\n\n font-size: 13px;\n text-align: center;\n color: #000;\n}\n\n.color-picker input:invalid,\n.color-picker input:-moz-ui-invalid,\n.color-picker input:-moz-submit-invalid {\n box-shadow: none;\n}\n\n.color-picker input::-webkit-inner-spin-button,\n.color-picker input::-webkit-outer-spin-button {\n margin: 0;\n\n -webkit-appearance: none;\n}\n\n.color-picker .arrow {\n position: absolute;\n z-index: 999999;\n\n width: 0;\n height: 0;\n border-style: solid;\n}\n\n.color-picker .arrow.arrow-top {\n left: 8px;\n\n border-width: 10px 5px;\n border-color: #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-left {\n top: 8px;\n left: 100%;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777;\n}\n\n.color-picker .arrow.arrow-right {\n top: 8px;\n left: -20px;\n\n border-width: 5px 10px;\n border-color: rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);\n}\n\n.color-picker .arrow.arrow-bottom {\n top: -20px;\n left: 8px;\n\n border-width: 10px 5px;\n border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #777 rgba(0, 0, 0, 0);\n}\n\n.color-picker .cursor {\n position: relative;\n\n width: 16px;\n height: 16px;\n border: #222 solid 2px;\n border-radius: 50%;\n\n cursor: default;\n}\n\n.color-picker .box {\n display: flex;\n padding: 4px 8px;\n}\n\n.color-picker .left {\n position: relative;\n\n padding: 16px 8px;\n}\n\n.color-picker .right {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n padding: 12px 8px;\n}\n\n.color-picker .button-area {\n padding: 0 16px 16px;\n\n text-align: right;\n}\n\n.color-picker .preset-area {\n padding: 4px 15px;\n}\n\n.color-picker .preset-area .preset-label {\n overflow: hidden;\n width: 100%;\n padding: 4px;\n\n font-size: 11px;\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n color: #555;\n}\n\n.color-picker .preset-area .preset-color {\n position: relative;\n\n display: inline-block;\n width: 18px;\n height: 18px;\n margin: 4px 6px 8px;\n border: #a9a9a9 solid 1px;\n border-radius: 25%;\n\n cursor: pointer;\n}\n\n.color-picker .preset-area .preset-empty-message {\n min-height: 18px;\n margin-top: 4px;\n margin-bottom: 8px;\n\n font-style: italic;\n text-align: center;\n}\n\n.color-picker .hex-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .hex-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .hex-text .box div {\n float: left;\n\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n\n text-align: center;\n color: #555;\n clear: left;\n}\n\n.color-picker .hex-text .box input {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n padding: 1px;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .hex-alpha .box div:first-child,\n.color-picker .hex-alpha .box input:first-child {\n flex-grow: 3;\n margin-right: 8px;\n}\n\n.color-picker .hsla-text,\n.color-picker .rgba-text,\n.color-picker .value-text {\n width: 100%;\n padding: 4px 8px;\n\n font-size: 11px;\n}\n\n.color-picker .hsla-text .box,\n.color-picker .rgba-text .box {\n padding: 0 24px 8px 8px;\n}\n\n.color-picker .value-text .box {\n padding: 0 8px 8px;\n}\n\n.color-picker .hsla-text .box div,\n.color-picker .rgba-text .box div,\n.color-picker .value-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n\n flex: 1 1 auto;\n margin-right: 8px;\n\n text-align: center;\n color: #555;\n}\n\n.color-picker .hsla-text .box div:last-child,\n.color-picker .rgba-text .box div:last-child,\n.color-picker .value-text .box div:last-child {\n margin-right: 0;\n}\n\n.color-picker .hsla-text .box input,\n.color-picker .rgba-text .box input,\n.color-picker .value-text .box input {\n float: left;\n\n -webkit-flex: 1;\n -ms-flex: 1;\n\n flex: 1;\n padding: 1px;\n margin: 0 8px 0 0;\n border: #a9a9a9 solid 1px;\n}\n\n.color-picker .hsla-text .box input:last-child,\n.color-picker .rgba-text .box input:last-child,\n.color-picker .value-text .box input:last-child {\n margin-right: 0;\n}\n\n.color-picker .hue-alpha {\n align-items: center;\n margin-bottom: 3px;\n}\n\n.color-picker .hue {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC');\n}\n\n.color-picker .value {\n direction: rtl;\n\n width: 100%;\n height: 16px;\n margin-bottom: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=');\n}\n\n.color-picker .alpha {\n direction: ltr;\n\n width: 100%;\n height: 16px;\n border: none;\n\n cursor: pointer;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==');\n}\n\n.color-picker .type-policy {\n position: absolute;\n top: 218px;\n right: 12px;\n\n width: 16px;\n height: 24px;\n\n background-size: 8px 16px;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==');\n background-repeat: no-repeat;\n background-position: center;\n}\n\n.color-picker .type-policy .type-policy-arrow {\n display: block;\n\n width: 100%;\n height: 50%;\n}\n\n.color-picker .selected-color {\n position: absolute;\n top: 16px;\n left: 8px;\n\n width: 40px;\n height: 40px;\n border: 1px solid #a9a9a9;\n border-radius: 50%;\n}\n\n.color-picker .selected-color-background {\n width: 40px;\n height: 40px;\n border-radius: 50%;\n\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC');\n}\n\n.color-picker .saturation-lightness {\n direction: ltr;\n\n width: 100%;\n height: 130px;\n border: none;\n\n cursor: pointer;\n touch-action: manipulation;\n background-size: 100% 100%;\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==');\n}\n\n.color-picker .cp-add-color-button-class {\n position: absolute;\n\n display: inline;\n padding: 0;\n margin: 3px -3px;\n border: 0;\n\n cursor: pointer;\n background: transparent;\n}\n\n.color-picker .cp-add-color-button-class:hover {\n text-decoration: underline;\n}\n\n.color-picker .cp-add-color-button-class:disabled {\n cursor: not-allowed;\n color: #999;\n}\n\n.color-picker .cp-add-color-button-class:disabled:hover {\n text-decoration: none;\n}\n\n.color-picker .cp-remove-color-button-class {\n position: absolute;\n top: -5px;\n right: -5px;\n\n display: block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n\n cursor: pointer;\n text-align: center;\n background: #fff;\n\n box-shadow: 1px 1px 5px #333;\n}\n\n.color-picker .cp-remove-color-button-class::before {\n content: 'x';\n\n position: relative;\n bottom: 3.5px;\n\n display: inline-block;\n\n font-size: 10px;\n}\n"],data:{}});function xg(t){return ja(0,[(t()(),wo(0,0,null,null,0,"div",[],[[8,"className",0],[4,"top","px"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,vo(1,"arrow arrow-",n.cpPosition,""),n.arrowTop)})}function kg(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[["class","saturation-lightness"]],[[4,"background-color",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],function(t,e,n){var r=!0,i=t.component;return"mousedown"===e&&(r=!1!==Qo(t,1).mouseDown(n)&&r),"touchstart"===e&&(r=!1!==Qo(t,1).touchStart(n)&&r),"newValue"===e&&(r=!1!==i.onColorChange(n)&&r),"dragStart"===e&&(r=!1!==i.onDragStart("saturation-lightness")&&r),"dragEnd"===e&&(r=!1!==i.onDragEnd("saturation-lightness")&&r),r},null,null)),ua(1,16384,null,0,mg,[De],{rgX:[0,"rgX"],rgY:[1,"rgY"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(t()(),wo(2,0,null,null,0,"div",[["class","cursor"]],[[4,"top","px"],[4,"left","px"]],null,null,null,null))],function(t,e){t(e,1,0,1,1)},function(t,e){var n=e.component;t(e,0,0,n.hueSliderColor),t(e,2,0,null==n.slider?null:n.slider.v,null==n.slider?null:n.slider.s)})}function Eg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"button",[],[[8,"className",0],[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==i.onAddPresetColor(n,i.selectedColor)&&r),r},null,null)),(t()(),Da(1,null,[" "," "]))],null,function(t,e){var n=e.component;t(e,0,0,vo(1,"",n.cpAddColorButtonClass,""),n.cpPresetColors&&n.cpPresetColors.length>=n.cpMaxPresetColorsLength),t(e,1,0,n.cpAddColorButtonText)})}function Sg(t){return ja(0,[(t()(),wo(0,0,null,null,0,"div",[["style","height: 16px;"]],null,null,null,null,null))],null,null)}function Ag(t){return ja(0,[(t()(),wo(0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,1).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onAlphaInput(n)&&r),r},null,null)),ua(1,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"})],function(t,e){t(e,1,0,1)},function(t,e){var n=e.component;t(e,0,0,null==n.hslaText?null:n.hslaText.a)})}function Tg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["A"]))],null,null)}function Og(t){return ja(0,[(t()(),wo(0,0,null,null,18,"div",[["class","hsla-text"]],[[4,"display",null]],null,null,null,null)),(t()(),wo(1,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(2,0,null,null,1,"input",[["max","360"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,3).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onHueInput(n)&&r),r},null,null)),ua(3,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),wo(4,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,5).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onSaturationInput(n)&&r),r},null,null)),ua(5,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),wo(6,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,7).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onLightnessInput(n)&&r),r},null,null)),ua(7,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),_o(16777216,null,null,1,null,Ag)),ua(9,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(10,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(11,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["H"])),(t()(),wo(13,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["S"])),(t()(),wo(15,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["L"])),(t()(),_o(16777216,null,null,1,null,Tg)),ua(18,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,3,0,360),t(e,5,0,100),t(e,7,0,100),t(e,9,0,"disabled"!==n.cpAlphaChannel),t(e,18,0,"disabled"!==n.cpAlphaChannel)},function(t,e){var n=e.component;t(e,0,0,2!==n.format?"none":"block"),t(e,2,0,null==n.hslaText?null:n.hslaText.h),t(e,4,0,null==n.hslaText?null:n.hslaText.s),t(e,6,0,null==n.hslaText?null:n.hslaText.l)})}function Pg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,1).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onAlphaInput(n)&&r),r},null,null)),ua(1,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"})],function(t,e){t(e,1,0,1)},function(t,e){var n=e.component;t(e,0,0,null==n.rgbaText?null:n.rgbaText.a)})}function Ig(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["A"]))],null,null)}function Rg(t){return ja(0,[(t()(),wo(0,0,null,null,18,"div",[["class","rgba-text"]],[[4,"display",null]],null,null,null,null)),(t()(),wo(1,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(2,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,3).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onRedInput(n)&&r),r},null,null)),ua(3,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),wo(4,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,5).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onGreenInput(n)&&r),r},null,null)),ua(5,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),wo(6,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,7).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onBlueInput(n)&&r),r},null,null)),ua(7,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),_o(16777216,null,null,1,null,Pg)),ua(9,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(10,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(11,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["R"])),(t()(),wo(13,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["G"])),(t()(),wo(15,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["B"])),(t()(),_o(16777216,null,null,1,null,Ig)),ua(18,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,3,0,255),t(e,5,0,255),t(e,7,0,255),t(e,9,0,"disabled"!==n.cpAlphaChannel),t(e,18,0,"disabled"!==n.cpAlphaChannel)},function(t,e){var n=e.component;t(e,0,0,1!==n.format?"none":"block"),t(e,2,0,null==n.rgbaText?null:n.rgbaText.r),t(e,4,0,null==n.rgbaText?null:n.rgbaText.g),t(e,6,0,null==n.rgbaText?null:n.rgbaText.b)})}function Dg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,1).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onAlphaInput(n)&&r),r},null,null)),ua(1,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"})],function(t,e){t(e,1,0,1)},function(t,e){t(e,0,0,e.component.hexAlpha)})}function Ng(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["A"]))],null,null)}function Fg(t){return ja(0,[(t()(),wo(0,0,null,null,10,"div",[["class","hex-text"]],[[2,"hex-alpha",null],[4,"display",null]],null,null,null,null)),(t()(),wo(1,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(2,0,null,null,1,"input",[],[[8,"value",0]],[[null,"blur"],[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,3).inputChange(n)&&r),"blur"===e&&(r=!1!==i.onHexInput(null)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onHexInput(n)&&r),r},null,null)),ua(3,16384,null,0,fg,[],null,{newValue:"newValue"}),(t()(),_o(16777216,null,null,1,null,Dg)),ua(5,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(6,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(7,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["Hex"])),(t()(),_o(16777216,null,null,1,null,Ng)),ua(10,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0,"forced"===n.cpAlphaChannel),t(e,10,0,"forced"===n.cpAlphaChannel)},function(t,e){var n=e.component;t(e,0,0,"forced"===n.cpAlphaChannel,0!==n.format?"none":"block"),t(e,2,0,n.hexText)})}function jg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,1).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onAlphaInput(n)&&r),r},null,null)),ua(1,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"})],function(t,e){t(e,1,0,1)},function(t,e){var n=e.component;t(e,0,0,null==n.hslaText?null:n.hslaText.a)})}function Mg(t){return ja(0,[(t()(),wo(0,0,null,null,10,"div",[["class","value-text"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(2,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,3).inputChange(n)&&r),"keyup.enter"===e&&(r=!1!==i.onAcceptColor(n)&&r),"newValue"===e&&(r=!1!==i.onValueInput(n)&&r),r},null,null)),ua(3,16384,null,0,fg,[],{rg:[0,"rg"]},{newValue:"newValue"}),(t()(),_o(16777216,null,null,1,null,jg)),ua(5,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(6,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(t()(),wo(7,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["V"])),(t()(),wo(9,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),Da(-1,null,["A"]))],function(t,e){var n=e.component;t(e,3,0,100),t(e,5,0,"disabled"!==n.cpAlphaChannel)},function(t,e){var n=e.component;t(e,2,0,null==n.hslaText?null:n.hslaText.l)})}function Vg(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[["class","type-policy"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,0,"span",[["class","type-policy-arrow"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onFormatToggle(1)&&r),r},null,null)),(t()(),wo(2,0,null,null,0,"span",[["class","type-policy-arrow"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onFormatToggle(-1)&&r),r},null,null))],null,null)}function Lg(t){return ja(0,[(t()(),wo(0,0,null,null,0,"span",[],[[8,"className",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onRemovePresetColor(n,t.parent.context.$implicit)&&r),r},null,null))],null,function(t,e){t(e,0,0,vo(1,"",e.component.cpRemoveColorButtonClass,""))})}function Bg(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[["class","preset-color"]],[[4,"backgroundColor",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.setColorFromString(t.context.$implicit)&&r),r},null,null)),(t()(),_o(16777216,null,null,1,null,Lg)),ua(2,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,2,0,e.component.cpAddColorButton)},function(t,e){t(e,0,0,e.context.$implicit)})}function zg(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),_o(16777216,null,null,1,null,Bg)),ua(2,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.cpPresetColors)},null)}function Ug(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),Da(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,vo(1,"",n.cpPresetEmptyMessageClass,"")),t(e,1,0,n.cpPresetEmptyMessage)})}function qg(t){return ja(0,[(t()(),wo(0,0,null,null,7,"div",[["class","preset-area"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),wo(2,0,null,null,1,"div",[["class","preset-label"]],null,null,null,null,null)),(t()(),Da(3,null,["",""])),(t()(),_o(16777216,null,null,1,null,zg)),ua(5,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Ug)),ua(7,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0,null==n.cpPresetColors?null:n.cpPresetColors.length),t(e,7,0,!(null!=n.cpPresetColors&&n.cpPresetColors.length)&&n.cpAddColorButton)},function(t,e){t(e,3,0,e.component.cpPresetLabel)})}function Hg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"button",[["type","button"]],[[8,"className",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onCancelColor(n)&&r),r},null,null)),(t()(),Da(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,vo(1,"",n.cpCancelButtonClass,"")),t(e,1,0,n.cpCancelButtonText)})}function Kg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"button",[["type","button"]],[[8,"className",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onAcceptColor(n)&&r),r},null,null)),(t()(),Da(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,vo(1,"",n.cpOKButtonClass,"")),t(e,1,0,n.cpOKButtonText)})}function Gg(t){return ja(0,[(t()(),wo(0,0,null,null,4,"div",[["class","button-area"]],null,null,null,null,null)),(t()(),_o(16777216,null,null,1,null,Hg)),ua(2,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Kg)),ua(4,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.cpCancelButton),t(e,4,0,n.cpOKButton)},null)}function Wg(t){return ja(0,[Ea(402653184,1,{dialogElement:0}),Ea(402653184,2,{hueSlider:0}),Ea(402653184,3,{alphaSlider:0}),(t()(),wo(3,0,[[1,0],["dialogPopup",1]],null,36,"div",[["class","color-picker"]],[[4,"visibility",null],[4,"top","px"],[4,"left","px"],[4,"position",null],[4,"height","px"],[4,"width","px"]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==n.stopPropagation()&&r),r},null,null)),(t()(),_o(16777216,null,null,1,null,xg)),ua(5,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,kg)),ua(7,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(8,0,null,null,17,"div",[["class","hue-alpha box"]],null,null,null,null,null)),(t()(),wo(9,0,null,null,4,"div",[["class","left"]],null,null,null,null,null)),(t()(),wo(10,0,null,null,0,"div",[["class","selected-color-background"]],null,null,null,null,null)),(t()(),wo(11,0,null,null,0,"div",[["class","selected-color"]],[[4,"background-color",null]],null,null,null,null)),(t()(),_o(16777216,null,null,1,null,Eg)),ua(13,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(14,0,null,null,11,"div",[["class","right"]],null,null,null,null,null)),(t()(),_o(16777216,null,null,1,null,Sg)),ua(16,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(17,0,[[2,0],["hueSlider",1]],null,2,"div",[["class","hue"]],[[4,"display",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],function(t,e,n){var r=!0,i=t.component;return"mousedown"===e&&(r=!1!==Qo(t,18).mouseDown(n)&&r),"touchstart"===e&&(r=!1!==Qo(t,18).touchStart(n)&&r),"newValue"===e&&(r=!1!==i.onHueChange(n)&&r),"dragStart"===e&&(r=!1!==i.onDragStart("hue")&&r),"dragEnd"===e&&(r=!1!==i.onDragEnd("hue")&&r),r},null,null)),ua(18,16384,null,0,mg,[De],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(t()(),wo(19,0,null,null,0,"div",[["class","cursor"]],[[4,"left","px"]],null,null,null,null)),(t()(),wo(20,0,[["valueSlider",1]],null,2,"div",[["class","value"]],[[4,"display",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],function(t,e,n){var r=!0,i=t.component;return"mousedown"===e&&(r=!1!==Qo(t,21).mouseDown(n)&&r),"touchstart"===e&&(r=!1!==Qo(t,21).touchStart(n)&&r),"newValue"===e&&(r=!1!==i.onValueChange(n)&&r),"dragStart"===e&&(r=!1!==i.onDragStart("value")&&r),"dragEnd"===e&&(r=!1!==i.onDragEnd("value")&&r),r},null,null)),ua(21,16384,null,0,mg,[De],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(t()(),wo(22,0,null,null,0,"div",[["class","cursor"]],[[4,"right","px"]],null,null,null,null)),(t()(),wo(23,0,[[3,0],["alphaSlider",1]],null,2,"div",[["class","alpha"]],[[4,"display",null],[4,"background-color",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],function(t,e,n){var r=!0,i=t.component;return"mousedown"===e&&(r=!1!==Qo(t,24).mouseDown(n)&&r),"touchstart"===e&&(r=!1!==Qo(t,24).touchStart(n)&&r),"newValue"===e&&(r=!1!==i.onAlphaChange(n)&&r),"dragStart"===e&&(r=!1!==i.onDragStart("alpha")&&r),"dragEnd"===e&&(r=!1!==i.onDragEnd("alpha")&&r),r},null,null)),ua(24,16384,null,0,mg,[De],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(t()(),wo(25,0,null,null,0,"div",[["class","cursor"]],[[4,"left","px"]],null,null,null,null)),(t()(),_o(16777216,null,null,1,null,Og)),ua(27,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Rg)),ua(29,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Fg)),ua(31,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Mg)),ua(33,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Vg)),ua(35,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,qg)),ua(37,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,Gg)),ua(39,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0,"popup"==n.cpDialogDisplay),t(e,7,0,1===(n.cpColorMode||1)),t(e,13,0,n.cpAddColorButton),t(e,16,0,"disabled"===n.cpAlphaChannel),t(e,18,0,1),t(e,21,0,1),t(e,24,0,1),t(e,27,0,!n.cpDisableInput&&1===(n.cpColorMode||1)),t(e,29,0,!n.cpDisableInput&&1===(n.cpColorMode||1)),t(e,31,0,!n.cpDisableInput&&1===(n.cpColorMode||1)),t(e,33,0,!n.cpDisableInput&&2===(n.cpColorMode||1)),t(e,35,0,!n.cpDisableInput&&1===(n.cpColorMode||1)),t(e,37,0,(null==n.cpPresetColors?null:n.cpPresetColors.length)||n.cpAddColorButton),t(e,39,0,n.cpOKButton||n.cpCancelButton)},function(t,e){var n=e.component;t(e,3,0,n.hidden||!n.show?"hidden":"visible",n.top,n.left,n.position,n.cpHeight,n.cpWidth),t(e,11,0,n.selectedColor),t(e,17,0,1===(n.cpColorMode||1)?"block":"none"),t(e,19,0,null==n.slider?null:n.slider.h),t(e,20,0,2===(n.cpColorMode||1)?"block":"none"),t(e,22,0,null==n.slider?null:n.slider.v),t(e,23,0,"disabled"===n.cpAlphaChannel?"none":"block",n.alphaSliderColor),t(e,25,0,null==n.slider?null:n.slider.a)})}function Zg(t){return ja(0,[(t()(),wo(0,0,null,null,1,"color-picker",[],null,[["document","keyup.esc"],["document","keyup.enter"]],function(t,e,n){var r=!0;return"document:keyup.esc"===e&&(r=!1!==Qo(t,1).handleEsc(n)&&r),"document:keyup.enter"===e&&(r=!1!==Qo(t,1).handleEnter(n)&&r),r},Wg,Cg)),ua(1,4440064,null,0,bg,[De,$r,vg],null,null)],function(t,e){t(e,1,0)},null)}var Yg=Lo("color-picker",bg,Zg,{},{},[]),Qg=new _t("cdk-dir-doc",{providedIn:"root",factory:function(){return Zt(Tl)}}),Xg=function(){function t(t){if(this.value="ltr",this.change=new fn,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=vt({factory:function(){return new t(Zt(Qg,8))},token:t,providedIn:"root"}),t}(),Jg=function(){return function(){}}(),$g=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function ty(){throw Error("Attempting to attach dialog content after content is already attached")}var ey=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._elementRef=e,a._focusTrapFactory=n,a._changeDetectorRef=r,a._document=i,a._config=o,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new fn,a._ariaLabelledBy=null,a}return i(e,t),e.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&ty(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&ty(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(Su),ny=0,ry=function(){function t(t,e,n,r){void 0===r&&(r="mat-dialog-"+ny++);var i=this;this._overlayRef=t,this._containerInstance=e,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new F,this._afterClosed=new F,this._beforeClosed=new F,e._id=r,e._animationStateChanged.pipe($s(function(t){return"done"===t.phaseName&&"enter"===t.toState}),Du(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),e._animationStateChanged.pipe($s(function(t){return"done"===t.phaseName&&"exit"===t.toState}),Du(1)).subscribe(function(){return i._overlayRef.dispose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe($s(function(t){return t.keyCode===gc&&!i.disableClose})).subscribe(function(){return i.close()})}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe($s(function(t){return"start"===t.phaseName}),Du(1)).subscribe(function(){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},t.prototype.afterOpened=function(){return this._afterOpened.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=""),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype.addPanelClass=function(t){return this._overlayRef.addPanelClass(t),this},t.prototype.removePanelClass=function(t){return this._overlayRef.removePanelClass(t),this},t.prototype.afterOpen=function(){return this.afterOpened()},t.prototype.beforeClose=function(){return this.beforeClosed()},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),iy=new _t("MatDialogData"),oy=new _t("mat-dialog-default-options"),ay=new _t("mat-dialog-scroll-strategy");function sy(t){return function(){return t.scrollStrategies.block()}}var ly=function(){function t(t,e,n,r,i,o,a){var s=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new F,this._afterOpenedAtThisLevel=new F,this._ariaHiddenElements=new Map,this.afterAllClosed=Lh(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(tc(void 0))}),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n=this;if((e=function(t,e){return o({},e,t)}(e,this._defaultOptions||new $g)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(e),i=this._attachDialogContainer(r,e),a=this._attachDialogContent(t,i,r,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),a},t.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},t.prototype.getDialogById=function(t){return this.openDialogs.find(function(e){return e.id===t})},t.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new Ec({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new Pu(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[$g,e]])),r=new ku(ey,e.viewContainerRef,n);return t.attach(r).instance},t.prototype._attachDialogContent=function(t,e,n,r){var i=new ry(n,e,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(function(){i.disableClose||i.close()}),t instanceof mn)e.attachTemplatePortal(new Eu(t,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,e),a=e.attachComponentPortal(new ku(t,void 0,o));i.componentInstance=a.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},t.prototype._createInjector=function(t,e,n){var r=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=new WeakMap([[ey,n],[iy,t.data],[ry,e]]);return!t.direction||r&&r.get(Xg,null)||i.set(Xg,{value:t.direction,change:Xs()}),new Pu(r||this._injector,i)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),uy=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.ariaLabel="Close dialog"}return t.prototype.ngOnInit=function(){if(this.dialogRef||(this.dialogRef=function(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(function(t){return t.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),void 0===this._hasAriaLabel){var t=this._elementRef.nativeElement;if(t.hasAttribute("mat-icon-button"))this._hasAriaLabel=!0;else{var e=t.textContent;this._hasAriaLabel=!e||0===e.trim().length}}},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue),t.ariaLabel&&(this._hasAriaLabel=!!t.ariaLabel.currentValue)},t}(),cy=function(){return function(){}}(),hy=function(){return function(){}}(),py=new _t("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),dy=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Ke()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}();function fy(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disabled=!1,r}return i(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Lu(t)},enumerable:!0,configurable:!0}),e}(t)}function my(t,e){return function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return i.color=e,i}return i(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(t)}function gy(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disableRipple=!1,r}return i(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=Lu(t)},enumerable:!0,configurable:!0}),e}(t)}function yy(t,e){return void 0===e&&(e=0),function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return i._tabIndex=e,i}return i(n,t),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:e},enumerable:!0,configurable:!0}),n}(t)}function vy(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r.errorState=!1,r.stateChanges=new F,r}return i(e,t),e.prototype.updateErrorState=function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())},e}(t)}var by=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),_y=function(){return function(){}}(),wy=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}(),Cy=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=wy.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),xy={enterDuration:450,exitDuration:400},ky=800,Ey=pc({passive:!0}),Sy=function(){function t(t,e,n,r){var i=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.onMousedown=function(t){var e=function(t){return 0===t.buttons}(t),n=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+ky;i._target.rippleDisabled||e||n||(i._isPointerDown=!0,i.fadeInRipple(t.clientX,t.clientY,i._target.rippleConfig))},this.onTouchStart=function(t){if(!i._target.rippleDisabled){i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)i.fadeInRipple(e[n].clientX,e[n].clientY,i._target.rippleConfig)}},this.onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach(function(t){!t.config.persistent&&(t.state===wy.VISIBLE||t.config.terminateOnPointerUp&&t.state===wy.FADING_IN)&&t.fadeOut()}))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown).set("mouseup",this.onPointerUp).set("mouseleave",this.onPointerUp).set("touchstart",this.onTouchStart).set("touchend",this.onPointerUp).set("touchcancel",this.onPointerUp))}return t.prototype.fadeInRipple=function(t,e,n){var r=this;void 0===n&&(n={});var i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=o({},xy,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);var s=n.radius||function(t,e,n){var r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,i),l=t-i.left,u=e-i.top,c=a.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=l-s+"px",h.style.top=u-s+"px",h.style.height=2*s+"px",h.style.width=2*s+"px",h.style.backgroundColor=n.color||null,h.style.transitionDuration=c+"ms",this._containerElement.appendChild(h),window.getComputedStyle(h).getPropertyValue("opacity"),h.style.transform="scale(1)";var p=new Cy(this,h,n);return p.state=wy.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this.runTimeoutOutsideZone(function(){var t=p===r._mostRecentTransientRipple;p.state=wy.VISIBLE,n.persistent||t&&r._isPointerDown||p.fadeOut()},c),p},t.prototype.fadeOutRipple=function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,r=o({},xy,t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=wy.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=wy.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(t){var e=this;t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,n){t.addEventListener(n,e,Ey)})}),this._triggerElement=t)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,n){t._triggerElement.removeEventListener(n,e,Ey)})},t}(),Ay=new _t("mat-ripple-global-options"),Ty=function(){function t(t,e,n,r,i){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Sy(this,e,t,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},t.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:o({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),t.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},t.prototype.launch=function(t,e,n){return void 0===e&&(e=0),"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,o({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,o({},this.rippleConfig,t))},t}(),Oy=function(){return function(){}}(),Py=function(){return function(){}}(),Iy=new _t("mat-label-global-options"),Ry=Hi({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Dy(t){return ja(0,[(t()(),_o(0,null,null,0))],null,null)}function Ny(t){return ja(0,[Ea(402653184,1,{_portalOutlet:0}),(t()(),_o(16777216,null,null,1,null,Dy)),ua(2,212992,[[1,4]],0,Tu,[Te,Xr],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function Fy(t){return ja(0,[(t()(),wo(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],function(t,e,n){var r=!0;return"component:@dialogContainer.start"===e&&(r=!1!==Qo(t,1)._onAnimationStart(n)&&r),"component:@dialogContainer.done"===e&&(r=!1!==Qo(t,1)._onAnimationDone(n)&&r),r},Ny,Ry)),ua(1,49152,null,0,ey,[De,th,$r,[2,Tl],$g],null,null)],null,function(t,e){t(e,0,0,Qo(e,1)._id,Qo(e,1)._config.role,Qo(e,1)._config.ariaLabel?null:Qo(e,1)._ariaLabelledBy,Qo(e,1)._config.ariaLabel,Qo(e,1)._config.ariaDescribedBy||null,Qo(e,1)._state)})}var jy=Lo("mat-dialog-container",ey,Fy,{},{},[]),My="accent",Vy=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Ly=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o._focusMonitor=r,o._animationMode=i,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var a=0,s=Vy;a<s.length;a++){var l=s[a];o._hasHostAttributes(l)&&e.nativeElement.classList.add(l)}return o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=My),o}return i(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._getHostElement().focus()},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(function(e){return t._getHostElement().hasAttribute(e)})},e}(my(fy(gy(function(){return function(t){this._elementRef=t}}())))),By=function(){return function(){}}();function zy(){return"undefined"!=typeof process}function Uy(t){switch(t.length){case 0:return new bu;case 1:return t[0];default:return new _u(t)}}function qy(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(r.forEach(function(t){var n=t.offset,r=n==l,c=r&&u||{};Object.keys(t).forEach(function(n){var r=n,s=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),s){case wu:s=i[n];break;case mu:s=o[n];break;default:s=e.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function Hy(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&Ky(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&Ky(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&Ky(n,"destroy",t))})}}function Ky(t,e,n){var r=n.totalTime,i=Gy(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function Gy(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function Wy(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function Zy(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var Yy=function(t,e){return!1},Qy=function(t,e){return!1},Xy=function(t,e,n){return[]},Jy=zy();if(Jy||"undefined"!=typeof Element){if(Yy=function(t,e){return t.contains(e)},Jy||Element.prototype.matches)Qy=function(t,e){return t.matches(e)};else{var $y=Element.prototype,tv=$y.matchesSelector||$y.mozMatchesSelector||$y.msMatchesSelector||$y.oMatchesSelector||$y.webkitMatchesSelector;tv&&(Qy=function(t,e){return tv.apply(t,[e])})}Xy=function(t,e,n){var r=[];if(n)r.push.apply(r,c(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var ev=null,nv=!1;function rv(t){ev||(ev=("undefined"!=typeof document?document.body:null)||{},nv=!!ev.style&&"WebkitAppearance"in ev.style);var e=!0;return ev.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in ev.style)&&nv&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in ev.style),e}var iv=Qy,ov=Yy,av=Xy;function sv(t){var e={};return Object.keys(t).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}var lv=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return rv(t)},t.prototype.matchesElement=function(t,e){return iv(t,e)},t.prototype.containsElement=function(t,e){return ov(t,e)},t.prototype.query=function(t,e,n){return av(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o,a){return void 0===o&&(o=[]),new bu(n,r)},t}(),uv=function(){function t(){}return t.NOOP=new lv,t}(),cv=1e3;function hv(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:pv(parseFloat(e[1]),e[2])}function pv(t,e){switch(e){case"s":return t*cv;default:return t}}function dv(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=pv(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=pv(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function fv(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function mv(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else fv(t,n);return n}function gv(t,e,n){return n?e+":"+n+";":""}function yv(t){for(var e="",n=0;n<t.style.length;n++)e+=gv(0,r=t.style.item(n),t.style.getPropertyValue(r));for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=gv(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function vv(t,e,n){t.style&&(Object.keys(e).forEach(function(r){var i=Sv(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),zy()&&yv(t))}function bv(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=Sv(e);t.style[n]=""}),zy()&&yv(t))}function _v(t){return Array.isArray(t)?1==t.length?t[0]:gu(t):t}var wv=new RegExp("{{\\s*(.+?)\\s*}}","g");function Cv(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=wv.exec(n);)e.push(r[1]);wv.lastIndex=0}return e}function xv(t,e,n){var r=t.toString(),i=r.replace(wv,function(t,r){var i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function kv(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var Ev=/-+([a-z0-9])/g;function Sv(t){return t.replace(Ev,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function Av(t,e){return 0===t||0===e}function Tv(t,e,n){var r=Object.keys(n);if(r.length&&e.length){var i=e[0],o=[];if(r.forEach(function(t){i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var a=function(){var n=e[s];o.forEach(function(e){n[e]=Pv(t,e)})},s=1;s<e.length;s++)a()}return e}function Ov(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Pv(t,e){return window.getComputedStyle(t)[e]}var Iv="*",Rv=new Set(["true","1"]),Dv=new Set(["false","0"]);function Nv(t,e){var n=Rv.has(t)||Dv.has(t),r=Rv.has(e)||Dv.has(e);return function(i,o){var a=t==Iv||t==i,s=e==Iv||e==o;return!a&&n&&"boolean"==typeof i&&(a=i?Rv.has(t):Dv.has(t)),!s&&r&&"boolean"==typeof o&&(s=o?Rv.has(e):Dv.has(e)),a&&s}}var Fv=new RegExp("s*:selfs*,?","g");function jv(t,e,n){return new Mv(t).build(e,n)}var Mv=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new Vv(e);return this._resetContextStyleTimingState(n),Ov(this,_v(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=l}else if(1==t.type){var u=n.visitTransition(t,e);r+=u.queryCount,i+=u.depCount,a.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(Lv(t)){var e=t;Object.keys(e).forEach(function(t){Cv(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var a=kv(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,r,i,o=Ov(this,_v(t.animation),e);return{type:1,matchers:(n=t.expr,r=e.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(Nv(o,s)),"<"!=a[0]||o==Iv&&s==Iv||e.push(Nv(s,o))}(t,i,r)}):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:Bv(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Ov(n,t,e)}),options:Bv(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=Ov(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:Bv(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return zv(dv(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=zv(0,0,"");return i.dynamic=!0,i.strValue=r,i}return zv((n=n||dv(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:yu({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=yu(s)}e.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==mu?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(Lv(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u=e.collectedStyles[e.currentQuerySelector],c=u[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(u[r]={startTime:o,endTime:i}),e.options&&(a=e.errors,s=e.options.params||{},(l=Cv(t[r])).length&&l.forEach(function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=t.steps.map(function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(Lv(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Lv(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),r});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(c-1));var p=c-1,d=e.currentTime,f=e.currentAnimateTimings,m=f.duration;return u.forEach(function(t,i){var a=h>0?i==p?1:h*i:o[i],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:Ov(this,_v(t.animation),e),options:Bv(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Bv(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Bv(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=u(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(Fv,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,Wy(e.collectedStyles,e.currentQuerySelector,{});var s=Ov(this,_v(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Bv(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:dv(t.timings,e.errors,!0);return{type:12,animation:Ov(this,_v(t.animation),e),timings:n,options:null}},t}(),Vv=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Lv(t){return!Array.isArray(t)&&"object"==typeof t}function Bv(t){var e;return t?(t=fv(t)).params&&(t.params=(e=t.params)?fv(e):null):t={},t}function zv(t,e,n){return{duration:t,delay:e,easing:n}}function Uv(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var qv=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,c(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Hv=new RegExp(":enter","g"),Kv=new RegExp(":leave","g");function Gv(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new Wv).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var Wv=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new qv;var c=new Yv(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Ov(this,n,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[Uv(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?hv(n.duration):null,o=null!=n.delay?hv(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ov(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Zv);var a=hv(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Ov(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?hv(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),Ov(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return dv(e.params?xv(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?hv(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Zv);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach(function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(l=s.currentTimeline),Ov(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Ov(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),Zv={},Yv=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new Qv(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=hv(r.duration)),null!=r.delay&&(i.delay=hv(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=xv(o[t],a,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Zv,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new Xv(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Hv,"."+this._enterClassName)).replace(Kv,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,c(s))}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),Qv=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||mu,e._currentKeyframe[t]=mu}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},a=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=mu}):mv(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=xv(a[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:mu),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,a){var s=mv(o,!0);Object.keys(s).forEach(function(t){var r=s[t];r==wu?e.add(t):r==mu&&n.add(t)}),r||(s.offset=a/t.duration),i.push(s)});var o=e.size?kv(e.values()):[],a=n.size?kv(n.values()):[];if(r){var s=i[0],l=fv(s);s.offset=0,l.offset=1,i=[s,l]}return Uv(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)},t}(),Xv=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=t.call(this,e,n,a.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return i(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=mv(t[0],!1);l.offset=0,o.push(l);var u=mv(t[0],!1);u.offset=Jv(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=mv(t[h],!1);p.offset=Jv((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return Uv(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(Qv);function Jv(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var $v=function(){return function(){}}(),tb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.normalizePropertyName=function(t,e){return Sv(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(eb[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}($v),eb=nb("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function nb(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}function rb(t,e,n,r,i,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var ib={},ob=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some(function(t){return t(e,n,r,i)})}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,a,s,l,u,c){var h=[],p=this.ast.options&&this.ast.options.params||ib,d=this.buildStyles(n,s&&s.params||ib,h),f=l&&l.params||ib,m=this.buildStyles(r,f,h),g=new Set,y=new Map,v=new Map,b="void"===r,_={params:o({},p,f)},w=c?[]:Gv(t,e,this.ast.animation,i,a,d,m,_,u,h),C=0;if(w.forEach(function(t){C=Math.max(t.duration+t.delay,C)}),h.length)return rb(e,this._triggerName,n,r,b,d,m,[],[],y,v,C,h);w.forEach(function(t){var n=t.element,r=Wy(y,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=Wy(v,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&g.add(n)});var x=kv(g.values());return rb(e,this._triggerName,n,r,b,d,m,w,x,y,v,C)},t}(),ab=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=fv(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=xv(o,r,e)),n[t]=o})}}),n},t}(),sb=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new ab(t.style,t.options&&t.options.params||{})}),lb(this.states,"true","1"),lb(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new ob(t,e,n.states))}),this.fallbackTransition=new ob(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find(function(i){return i.match(t,e,n,r)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function lb(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var ub=new qv,cb=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=jv(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=qy(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[t],s=new Map;if(a?(i=Gv(this._driver,e,a,"ng-enter","ng-leave",{},{},n,ub,o)).forEach(function(t){var e=Wy(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,mu)})});var l=Uy(i.map(function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return r.destroy(t)}),this.players.push(l),l},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=Gy(e,"","","");return Hy(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),hb=[],pb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},db={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fb="__ng_removed",mb=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=fv(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),gb=new mb("void"),yb=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Eb(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=Wy(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=Wy(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Eb(t,"ng-trigger"),Eb(t,"ng-trigger-"+e),l[e]=gb),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new bb(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Eb(t,"ng-trigger"),Eb(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new mb(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=gb),"void"===u.value||l.value!==u.value){var c=Wy(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(l.value,u.value,t,u.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(Eb(t,"ng-animate-queued"),a.onStart(function(){Sb(t,"ng-animate-queued")})),a.onDone(function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,u.params)){var d=[],f=o.matchStyles(l.value,l.params,d),m=o.matchStyles(u.value,u.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){bv(t,f),vv(t,m)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,".ng-trigger",!0).forEach(function(t){if(!t[fb]){var n=r._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):r.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,r){var i=this,o=this._engine.statesByElement.get(t);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(i._triggers[e]){var n=i.trigger(t,e,"void",r);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Uy(a).onDone(function(){return i._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach(function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=e._triggers[i].fallbackTransition,a=e._engine.statesByElement.get(t)[i]||gb,s=new mb("void"),l=new bb(e.id,i,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:i,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else for(var a=t;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}this.prepareLeaveAnimationListeners(t),i?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){Eb(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=e._elementListeners.get(o);a&&a.forEach(function(e){if(e.name==r.triggerName){var n=Gy(o,r.triggerName,r.fromState.value,r.toState.value);n._data=t,Hy(r.player,e.phase,n,e.callback)}}),i.markedForDestroy?e._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(function(e){return e.element===t})||e},t}(),vb=function(){function t(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new yb(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,r){if(_b(e)){var i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1},t.prototype.insertNode=function(t,e,n,r){if(_b(e)){var i=e[fb];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Eb(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Sb(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(_b(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[fb]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return _b(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return Uy(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[fb];if(n&&n.setForRemoval){if(t[fb]=pb,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)Eb(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?Uy(n).onDone(function(){o.forEach(function(t){return t()})}):o.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,r=new qv,i=[],a=new Map,s=[],l=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(function(t){p.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)p.add(e[r])});var d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=xb(f,this.collectedEnterElements),g=new Map,y=0;m.forEach(function(t,e){var n="ng-enter"+y++;g.set(e,n),t.forEach(function(t){return Eb(t,n)})});for(var v=[],b=new Set,_=new Set,w=0;w<this.collectedLeaveElements.length;w++)(V=(M=this.collectedLeaveElements[w])[fb])&&V.setForRemoval&&(v.push(M),b.add(M),V.hasAnimation?this.driver.query(M,".ng-star-inserted",!0).forEach(function(t){return b.add(t)}):_.add(M));var C=new Map,x=xb(f,Array.from(b));x.forEach(function(t,e){var n="ng-leave"+y++;C.set(e,n),t.forEach(function(t){return Eb(t,n)})}),t.push(function(){m.forEach(function(t,e){var n=g.get(e);t.forEach(function(t){return Sb(t,n)})}),x.forEach(function(t,e){var n=C.get(e);t.forEach(function(t){return Sb(t,n)})}),v.forEach(function(t){n.processLeaveNode(t)})});for(var k=[],E=[],S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(k.push(e),n.collectedEnterElements.length){var a=o[fb];if(a&&a.setForMove)return void e.destroy()}var c=!d||!n.driver.containsElement(d,o),p=C.get(o),f=g.get(o),m=n._buildInstruction(t,r,f,p,c);if(m.errors&&m.errors.length)E.push(m);else{if(c)return e.onStart(function(){return bv(o,m.fromStyles)}),e.onDestroy(function(){return vv(o,m.toStyles)}),void i.push(e);if(t.isFallbackTransition)return e.onStart(function(){return bv(o,m.fromStyles)}),e.onDestroy(function(){return vv(o,m.toStyles)}),void i.push(e);m.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,m.timelines),s.push({instruction:m,player:e,element:o}),m.queriedElements.forEach(function(t){return Wy(l,t,[]).push(e)}),m.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),m.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(E.length){var A=[];E.forEach(function(t){A.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return A.push("- "+t+"\n")})}),k.forEach(function(t){return t.destroy()}),this.reportError(A)}var T=new Map,O=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(O.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}),i.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Wy(T,e,[]).push(t),t.destroy()})});var P=v.filter(function(t){return Tb(t,u,h)}),I=new Map;Cb(I,this.driver,_,h,mu).forEach(function(t){Tb(t,u,h)&&P.push(t)});var R=new Map;m.forEach(function(t,e){Cb(R,n.driver,new Set(t),u,wu)}),P.forEach(function(t){var e=I.get(t),n=R.get(t);I.set(t,o({},e,n))});var D=[],N=[],F={};s.forEach(function(t){var e=t.element,o=t.player,s=t.instruction;if(r.has(e)){if(p.has(e))return o.onDestroy(function(){return vv(e,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);var l=F;if(O.size>1){for(var u=e,c=[];u=u.parentNode;){var h=O.get(u);if(h){l=h;break}c.push(u)}c.forEach(function(t){return O.set(t,l)})}var d=n._buildAnimation(o.namespaceId,s,T,a,R,I);if(o.setRealPlayer(d),l===F)D.push(o);else{var f=n.playersByElement.get(l);f&&f.length&&(o.parentPlayer=Uy(f)),i.push(o)}}else bv(e,s.fromStyles),o.onDestroy(function(){return vv(e,s.toStyles)}),N.push(o),p.has(e)&&i.push(o)}),N.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=Uy(e);t.setRealPlayer(n)}}),i.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var j=0;j<v.length;j++){var M,V=(M=v[j])[fb];if(Sb(M,"ng-leave"),!V||!V.hasAnimation){var L=[];if(l.size){var B=l.get(M);B&&B.length&&L.push.apply(L,c(B));for(var z=this.driver.query(M,".ng-animating",!0),U=0;U<z.length;U++){var q=l.get(z[U]);q&&q.length&&L.push.apply(L,c(q))}}var H=L.filter(function(t){return!t.destroyed});H.length?Ab(this,M,H):this.processLeaveNode(M)}}return v.length=0,D.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),D},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[fb];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,i){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var l=!i||"void"==i;s.forEach(function(t){t.queued||(l||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||r&&r!=t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,e,n){var r,i,o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,u=function(t){var r=t.element,i=r!==o,l=Wy(n,r,[]);c._getPreviousPlayers(r,i,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})},c=this;try{for(var h=l(e.timelines),p=h.next();!p.done;p=h.next())u(p.value)}catch(d){r={error:d}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}bv(o,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,r,i,o){var a=this,s=e.triggerName,l=e.element,u=[],c=new Set,h=new Set,p=e.timelines.map(function(e){var p=e.element;c.add(p);var d=p[fb];if(d&&d.removedBeforeQueried)return new bu(e.duration,e.delay);var f,m,g=p!==l,y=(f=(n.get(p)||hb).map(function(t){return t.getRealPlayer()}),m=[],function t(e,n){for(var r=0;r<e.length;r++){var i=e[r];i instanceof _u?t(i.players,n):n.push(i)}}(f,m),m).filter(function(t){return!!t.element&&t.element===p}),v=i.get(p),b=o.get(p),_=qy(0,a._normalizer,0,e.keyframes,v,b),w=a._buildPlayer(e,_,y);if(e.subTimeline&&r&&h.add(p),g){var C=new bb(t,s,p);C.setRealPlayer(w),u.push(C)}return w});u.forEach(function(t){Wy(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete t[e]);return r}(a.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return Eb(t,"ng-animating")});var d=Uy(p);return d.onDestroy(function(){c.forEach(function(t){return Sb(t,"ng-animating")}),vv(l,e.toStyles)}),h.forEach(function(t){Wy(r,t,[]).push(d)}),d},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new bu(t.duration,t.delay)},t}(),bb=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new bu,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Hy(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){Wy(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function _b(t){return t&&1===t.nodeType}function wb(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Cb(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(wb(t))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[fb]=db,a.push(r))}),t.set(r,o)});var s=0;return n.forEach(function(t){return wb(t,o[s++])}),a}function xb(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var kb="$$classes";function Eb(t,e){if(t.classList)t.classList.add(e);else{var n=t[kb];n||(n=t[kb]={}),n[e]=!0}}function Sb(t,e){if(t.classList)t.classList.remove(e);else{var n=t[kb];n&&delete n[e]}}function Ab(t,e,n){Uy(n).onDone(function(){return t.processLeaveNode(e)})}function Tb(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}var Ob=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new vb(t,e,n),this._timelineEngine=new cb(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=jv(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new sb(t,e)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=u(Zy(n),2);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=u(Zy(n),2);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Pb(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Rb(e[0]),e.length>1&&(r=Rb(e[e.length-1]))):e&&(n=Rb(e)),n||r?new Ib(t,n,r):null}var Ib=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&vv(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(vv(this._element,this._initialStyles),this._endStyles&&(vv(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(bv(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bv(this._element,this._endStyles),this._endStyles=null),vv(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function Rb(t){for(var e=null,n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];Db(i)&&((e=e||{})[i]=t[i])}return e}function Db(t){return"display"===t||"position"===t}var Nb="animation",Fb="animationend",jb=function(){function t(t,e,n,r,i,o,a){var s=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Ub(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),zb(t,"",e),Bb(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){Mb(this._element,this._name,"paused")},t.prototype.resume=function(){Mb(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=Vb(this._element,this._name);this._position=t*this._duration,zb(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Bb(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=Lb(n=Ub(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),zb(t,"",n.join(","))))},t}();function Mb(t,e,n){zb(t,"PlayState",n,Vb(t,e))}function Vb(t,e){var n=Ub(t,"");return n.indexOf(",")>0?Lb(n.split(","),e):Lb([n],e)}function Lb(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Bb(t,e,n){n?t.removeEventListener(Fb,e):t.addEventListener(Fb,e)}function zb(t,e,n,r){var i=Nb+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function Ub(t,e){return t.style[Nb+e]}var qb="linear",Hb=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||qb,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new jb(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Pv(t.element,r))})}this.currentSnapshot=e},t}(),Kb=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=sv(n),r}return i(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(bu),Gb=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return rv(t)},t.prototype.matchesElement=function(t,e){return iv(t,e)},t.prototype.containsElement=function(t,e){return ov(t,e)},t.prototype.query=function(t,e,n){return av(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return sv(t)});var r="@keyframes "+e+" {\n",i="";n.forEach(function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter(function(t){return t instanceof Hb}),l={};Av(n,r)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Tv(t,e,l));if(0==n)return new Kb(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=Pb(t,e),d=new Hb(t,e,c,n,r,i,u,p);return d.onDestroy(function(){var t;(t=h).parentNode.removeChild(t)}),d},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Wb=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Pv(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Zb=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Yb().toString()),this._cssKeyframesDriver=new Gb}return t.prototype.validateStyleProperty=function(t){return rv(t)},t.prototype.matchesElement=function(t,e){return iv(t,e)},t.prototype.containsElement=function(t,e){return ov(t,e)},t.prototype.query=function(t,e,n){return av(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter(function(t){return t instanceof Wb});Av(n,r)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var c=Pb(t,e=Tv(t,e=e.map(function(t){return mv(t,!1)}),l));return new Wb(t,e,s,c)},t}();function Yb(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Qb=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Bt.None,styles:[],data:{animation:[]}}),r}return i(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?gu(t):t;return $b(this._renderer,null,e,"register",[n]),new Xb(e,this._renderer)},e}(du),Xb=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return i(e,t),e.prototype.create=function(t,e){return new Jb(this._id,t,e||{},this._renderer)},e}(fu),Jb=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return $b(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function $b(t,e,n,r,i){return t.setProperty(e,"@@"+n+":"+r,i)}var t_=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var i=this._rendererCache.get(r);return i||(i=new e_("",r,this.engine),this._rendererCache.set(r,i)),i}var o=e.id,a=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(o,a,t,e.name,e)}),new n_(this,a,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){var e=u(t,2);(0,e[0])(e[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),e_=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),n_=function(t){function e(e,n,r,i){var o=t.call(this,n,r,i)||this;return o.factory=e,o.namespaceId=n,o}return i(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var r,i,o,a=this;if("@"==e.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.substr(1),c="";return"@"!=l.charAt(0)&&(l=(r=u((i=l,o=i.indexOf("."),[i.substring(0,o),i.substr(o+1)]),2))[0],c=r[1]),this.engine.listen(this.namespaceId,s,l,c,function(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)},e}(e_),r_=function(t){function e(e,n,r){return t.call(this,e.body,n,r)||this}return i(e,t),e}(Ob);function i_(){return"function"==typeof Yb()?new Zb:new Gb}function o_(){return new tb}function a_(t,e,n){return new t_(t,e,n)}var s_=new _t("AnimationModuleType"),l_=function(){return function(){}}(),u_=Hi({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function c_(t){return ja(2,[Ea(402653184,1,{ripple:0}),(t()(),wo(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),Pa(null,0),(t()(),wo(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),ua(4,212992,[[1,4]],0,Ty,[De,Ar,lc,[2,Ay],[2,s_]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),wo(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Qo(e,4).unbounded)})}var h_=Hi({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function p_(t){return ja(0,[(t()(),_o(0,null,null,0))],null,null)}function d_(t){return ja(2,[Ea(402653184,1,{_portalOutlet:0}),(t()(),_o(16777216,null,null,1,null,p_)),ua(2,212992,[[1,4]],0,Tu,[Te,Xr],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function f_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],function(t,e,n){var r=!0;return"component:@state.done"===e&&(r=!1!==Qo(t,1).onAnimationEnd(n)&&r),r},d_,h_)),ua(1,180224,null,0,Eh,[Ar,De,$r,xh],null,null)],null,function(t,e){t(e,0,0,Qo(e,1)._role,Qo(e,1)._animationState)})}var m_=Lo("snack-bar-container",Eh,f_,{},{},[]),g_=Hi({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;height:100%;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function y_(t){return ja(0,[(t()(),wo(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.action()&&r),r},c_,u_)),ua(2,180224,null,0,Ly,[De,lc,oh,[2,s_]],null,null),(t()(),Da(3,0,["",""]))],null,function(t,e){var n=e.component;t(e,1,0,Qo(e,2).disabled||null,"NoopAnimations"===Qo(e,2)._animationMode),t(e,3,0,n.data.action)})}function v_(t){return ja(2,[(t()(),wo(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Da(1,null,["",""])),(t()(),_o(16777216,null,null,1,null,y_)),ua(3,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.hasAction)},function(t,e){t(e,1,0,e.component.data.message)})}function b_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,v_,g_)),ua(1,49152,null,0,kh,[wh,Ch],null,null)],null,null)}var __=Lo("simple-snack-bar",kh,b_,{},{},[]),w_=Hi({encapsulation:2,styles:[],data:{}});function C_(t){return ja(0,[(t()(),wo(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ua(1,212992,null,0,Bm,[Lm,Xr,Te,[8,null],$r],null,null)],function(t,e){t(e,1,0)},null)}function x_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"ng-component",[],null,null,null,C_,w_)),ua(1,49152,null,0,Rd,[],null,null)],null,null)}var k_=Lo("ng-component",Rd,x_,{},{},[]),E_=function(){return function(){}}();function S_(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var A_=0,T_=my(function(){return function(t){this._elementRef=t}}(),"primary"),O_=new _t("MAT_FORM_FIELD_DEFAULT_OPTIONS"),P_=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=a,u._ngZone=s,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new F,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+A_++,u._labelId="mat-form-field-label-"+A_++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return i(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&this._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Lu(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(tc(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ju(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone&&this._ngZone.onStable.asObservable().pipe(ju(this._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}),at(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._updateOutlineGapOnStable(),t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(tc(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(tc(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ju(this._destroyed)).subscribe(function(){return t.updateOutlineGap()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,qu(this._label.nativeElement,"transitionend").pipe(Du(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach(function(r){if("start"===r.align){if(t||n.hintLabel)throw S_("start");t=r}else if("end"===r.align){if(e)throw S_("end");e=r}})},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=r.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=this._getStartEnd(t.children[0].getBoundingClientRect()),u=0,c=0,h=t.children;c<h.length;c++)u+=h[c].offsetWidth;e=l-s-5,n=u>0?.75*u+10:0}for(var p=0;p<i.length;p++)i.item(p).style.width=e+"px";for(p=0;p<o.length;p++)o.item(p).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},e.prototype._getStartEnd=function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left},e.prototype._updateOutlineGapOnStable=function(){var t=this;this._ngZone?this._outlineGapCalculationNeededOnStable=!0:Promise.resolve().then(function(){return t.updateOutlineGap()})},e}(T_),I_=function(){return function(){}}(),R_=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=vt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),D_=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})},t.prototype.observe=function(t){var e=this,n=Uu(t);return new O(function(t){var r=e._observeElement(n).subscribe(t);return function(){r.unsubscribe(),e._unobserveElement(n)}})},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new F,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,r=e.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=vt({factory:function(){return new t(Zt(R_))},token:t,providedIn:"root"}),t}(),N_=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new fn,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Lu(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=function(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe(Gc(t.debounce)):e).subscribe(t.event)})},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),F_=function(){return function(){}}(),j_=Hi({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function M_(t){return ja(0,[(t()(),wo(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),wo(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),wo(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),wo(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),wo(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),wo(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),wo(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),wo(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),wo(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function V_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),Pa(null,0)],null,null)}function L_(t){return ja(0,[(t()(),wo(0,0,null,null,2,null,null,null,null,null,null,null)),Pa(null,2),(t()(),Da(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function B_(t){return ja(0,[Pa(null,3),(t()(),_o(0,null,null,0))],null,null)}function z_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),Da(-1,null,["\xa0*"]))],null,null)}function U_(t){return ja(0,[(t()(),wo(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r},null,null)),ua(1,16384,null,0,El,[],{ngSwitch:[0,"ngSwitch"]},null),ua(2,1196032,null,0,N_,[D_,De,Ar],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),_o(16777216,null,null,1,null,L_)),ua(4,278528,null,0,Sl,[Xr,mn,El],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),_o(16777216,null,null,1,null,B_)),ua(6,278528,null,0,Sl,[Xr,mn,El],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),_o(16777216,null,null,1,null,z_)),ua(8,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function q_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),Pa(null,4)],null,null)}function H_(t){return ja(0,[(t()(),wo(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function K_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),Pa(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function G_(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),Da(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function W_(t){return ja(0,[(t()(),wo(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),_o(16777216,null,null,1,null,G_)),ua(2,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),Pa(null,6),(t()(),wo(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),Pa(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function Z_(t){return ja(2,[Ea(671088640,1,{underlineRef:0}),Ea(402653184,2,{_connectionContainerRef:0}),Ea(402653184,3,{_inputContainerRef:0}),Ea(671088640,4,{_label:0}),(t()(),wo(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),wo(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(t()(),_o(16777216,null,null,1,null,M_)),ua(7,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,V_)),ua(9,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),Pa(null,1),(t()(),wo(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),_o(16777216,null,null,1,null,U_)),ua(14,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,q_)),ua(16,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),_o(16777216,null,null,1,null,H_)),ua(18,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null),(t()(),wo(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),ua(20,16384,null,0,El,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),_o(16777216,null,null,1,null,K_)),ua(22,278528,null,0,Sl,[Xr,mn,El],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),_o(16777216,null,null,1,null,W_)),ua(24,278528,null,0,Sl,[Xr,mn,El],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var Y_=function(t){function e(e,n){var r=t.call(this,e)||this;r.sources=n,r.completed=0,r.haveValues=0;var i=n.length;r.values=new Array(i);for(var o=0;o<i;o++){var a=Z(r,n[o],null,o);a&&r.add(a)}return r}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.values,i=r.length;t._hasValue?(this.completed++,this.completed===i&&(n===i&&e.next(r),e.complete())):e.complete()},e}(Y),Q_=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),X_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Q_);function J_(t){return null==t||0===t.length}var $_=/^(?=.{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])?)*$/,tw=function(){function t(){}return t.min=function(t){return function(e){if(J_(e.value)||J_(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(J_(e.value)||J_(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return J_(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return J_(t.value)?null:$_.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(J_(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(J_(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(ew);return 0==e.length?null:function(t){return rw(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(ew);return 0==e.length?null:function(t){return function t(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&h(n[0])&&(n=n[0]),0===n.length?Zs:e?t(n).pipe(Q(function(t){return e.apply(void 0,t)})):new O(function(t){return new Y_(t,n)})}(function(t,n){return e.map(function(e){return e(t)})}(t).map(nw)).pipe(Q(rw))}},t}();function ew(t){return null!=t}function nw(t){var e=nr(t)?tt(t):t;if(!rr(e))throw new Error("Expected validator to return Promise or Observable.");return e}function rw(t){var e=t.reduce(function(t,e){return null!=e?o({},t,e):t},{});return 0===Object.keys(e).length?null:e}var iw=new _t("NgValueAccessor"),ow=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),aw=new _t("CompositionEventMode"),sw=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=sp()?sp().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function lw(t){return t.validate?function(e){return t.validate(e)}:t}function uw(t){return t.validate?function(e){return t.validate(e)}:t}var cw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function hw(){throw new Error("unimplemented")}var pw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return i(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return hw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return hw()},enumerable:!0,configurable:!0}),e}(Q_),dw=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),fw=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(pw),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},t}(),mw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),gw='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',yw='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',vw='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',bw=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+gw)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+yw+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+vw)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+gw)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+yw)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function _w(t,e){return c(e.path,[t])}function ww(t,e){t||Ew(e,"Cannot find control with"),e.valueAccessor||Ew(e,"No value accessor for form control with"),t.validator=tw.compose([t.validator,e.validator]),t.asyncValidator=tw.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Cw(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Cw(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function Cw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function xw(t,e){null==t&&Ew(e,"Cannot find control with"),t.validator=tw.compose([t.validator,e.validator]),t.asyncValidator=tw.composeAsync([t.asyncValidator,e.asyncValidator])}function kw(t){return Ew(t,"There is no FormControl instance attached to form control element with")}function Ew(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Sw(t){return null!=t?tw.compose(t.map(lw)):null}function Aw(t){return null!=t?tw.composeAsync(t.map(uw)):null}var Tw=[ow,mw,cw,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Nt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=l(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),t))return o}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Nt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=e._getOptionValue(a.value);r.push(s)}else for(i=n.options,o=0;o<i.length;o++)(a=i.item(o)).selected&&(s=e._getOptionValue(a.value),r.push(s));e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){var e,n;try{for(var r=l(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o)._value,t))return o}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),fw];function Ow(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Pw(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Iw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return _w(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Sw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Aw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(X_),Rw=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e}(function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}());function Dw(t){var e=Fw(t)?t.validators:t;return Array.isArray(e)?Sw(e):e||null}function Nw(t,e){var n=Fw(e)?e.asyncValidators:t;return Array.isArray(n)?Aw(n):n||null}function Fw(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var jw=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Dw(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Nw(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(o({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(o({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=nw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Vw?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Lw&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new fn,this.statusChanges=new fn},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){Fw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),Mw=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,Dw(n),Nw(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(jw),Vw=function(t){function e(e,n,r){var i=t.call(this,Dw(n),Nw(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Mw?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=l(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(jw),Lw=function(t){function e(e,n,r){var i=t.call(this,Dw(n),Nw(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Mw?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=l(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(jw),Bw=Promise.resolve(null),zw=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new fn,r.form=new Vw({},Sw(e),Aw(n)),r}return i(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Bw.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),ww(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Bw.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),Pw(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Bw.then(function(){var n=e._findContainer(t.path),r=new Vw({});xw(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Bw.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Bw.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Ow(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(X_),Uw=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+gw+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+yw+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+vw)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+yw+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+vw)},t.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},t}(),qw=new _t("NgFormSelectorWarning"),Hw=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}var n;return i(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof zw||Uw.modelGroupParentException()},e}(Iw),Kw=Promise.resolve(null),Gw=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new Mw,o._registered=!1,o.update=new fn,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Ew(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){var o;e.constructor===sw?n=e:(o=e,Tw.some(function(t){return o.constructor===t})?(r&&Ew(t,"More than one built-in value accessor matches form control with"),r=e):(i&&Ew(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(Ew(t,"No valid value accessor for form control with"),null)}(o,i),o}return i(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Nt(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?_w(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Sw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Aw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){ww(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Hw)&&this._parent instanceof Iw?Uw.formGroupNameException():this._parent instanceof Hw||this._parent instanceof zw||Uw.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Uw.missingNameException()},e.prototype._updateValue=function(t){var e=this;Kw.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Kw.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(pw),Ww=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new fn,r}return i(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return ww(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){Pw(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);xw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);xw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Ow(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return kw(e)}),e.valueAccessor.registerOnTouched(function(){return kw(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&ww(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Sw(this._validators);this.form.validator=tw.compose([this.form.validator,t]);var e=Aw(this._asyncValidators);this.form.asyncValidator=tw.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||bw.missingFormException()},e}(X_),Zw=function(){return function(){}}(),Yw=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:qw,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),Qw=pc({passive:!0}),Xw=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return Zs;var n=Uu(t),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new F,o="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!1})})):(n.classList.add(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",a,Qw),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,Qw)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=Uu(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ngInjectableDef=vt({factory:function(){return new t(Zt(lc),Zt(Ar))},token:t,providedIn:"root"}),t}(),Jw=function(){return function(){}}(),$w=["button","checkbox","file","hidden","image","radio","range","reset","submit"],tC=0,eC=function(t){function e(e,n,r,i,o,a,s,l,u){var c=t.call(this,a,i,o,r)||this;c._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+tC++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new F,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return hc().has(t)});var h=c._elementRef.nativeElement;return c._inputValueAccessor=s||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return i(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Lu(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Lu(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&hc().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Lu(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if($w.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(vy(function(){return function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r}}())),nC=function(){return function(){}}(),rC=new _t("mat-checkbox-click-action"),iC=0,oC=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}(),aC=function(){return function(){}}(),sC=function(t){function e(e,n,r,i,o,a,s){var l=t.call(this,e)||this;return l._changeDetectorRef=n,l._focusMonitor=r,l._ngZone=i,l._clickAction=a,l._animationMode=s,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++iC,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new fn,l.indeterminateChange=new fn,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=oC.Init,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l.tabIndex=parseInt(o)||0,l._focusMonitor.monitor(e,!0).subscribe(function(t){t||Promise.resolve().then(function(){l._onTouched(),n.markForCheck()})}),l}return i(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Lu(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=Lu(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?oC.Indeterminate:this.checked?oC.Checked:oC.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var r=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(r)},1e3)})}},e.prototype._emitChangeEvent=function(){var t=new aC;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?oC.Checked:oC.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case oC.Init:if(e===oC.Checked)n="unchecked-checked";else{if(e!=oC.Indeterminate)return"";n="unchecked-indeterminate"}break;case oC.Unchecked:n=e===oC.Checked?"unchecked-checked":"unchecked-indeterminate";break;case oC.Checked:n=e===oC.Unchecked?"checked-unchecked":"checked-indeterminate";break;case oC.Indeterminate:n=e===oC.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e}(yy(my(gy(fy(function(){return function(t){this._elementRef=t}}())),"accent"))),lC=function(){return function(){}}(),uC=Hi({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function cC(t){return ja(2,[Ea(402653184,1,{_inputElement:0}),Ea(402653184,2,{ripple:0}),(t()(),wo(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),wo(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),wo(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"change"===e&&(r=!1!==i._onInteractionEvent(n)&&r),"click"===e&&(r=!1!==i._onInputClick(n)&&r),r},null,null)),(t()(),wo(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),ua(6,212992,[[2,4]],0,Ty,[De,Ar,lc,[2,Ay],[2,s_]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),Ra(7,{enterDuration:0}),(t()(),wo(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),wo(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),wo(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),wo(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),wo(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),wo(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),wo(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._onLabelTextChange()&&r),r},null,null)),ua(15,1196032,null,0,N_,[D_,De,Ar],null,{event:"cdkObserveContent"}),(t()(),wo(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),Da(-1,null,["\xa0"])),Pa(null,0)],function(t,e){var n=e.component,r=t(e,7,0,150);t(e,6,0,!0,20,r,n._isRippleDisabled(),Qo(e,2))},function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!Qo(e,14).textContent||!Qo(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,Qo(e,6).unbounded)})}var hC=Hi({encapsulation:0,styles:[[".full-width[_ngcontent-%COMP%]{width:100%}"]],data:{}});function pC(t){return ja(0,[(t()(),wo(0,0,null,null,114,"div",[["class","space"],["id","configTab"]],[[4,"minHeight",null]],null,null,null,null)),(t()(),wo(1,0,null,null,16,"mat-form-field",[["class","full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(2,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,1,{_control:0}),Ea(335544320,2,{_placeholderChild:0}),Ea(335544320,3,{_labelChild:0}),Ea(603979776,4,{_errorChildren:1}),Ea(603979776,5,{_hintChildren:1}),Ea(603979776,6,{_prefixChildren:1}),Ea(603979776,7,{_suffixChildren:1}),(t()(),wo(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Scheduler"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,11)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,11).onTouched()&&r),"compositionstart"===e&&(r=!1!==Qo(t,11)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Qo(t,11)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,16)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,16)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,16)._onInput()&&r),"ngModelChange"===e&&(r=!1!==i.update("scheduler",n)&&r),r},null,null)),ua(11,16384,null,0,sw,[Ve,De,[2,aw]],null,null),ca(1024,null,iw,function(t){return[t]},[sw]),ua(13,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(15,16384,null,0,Rw,[[4,pw]],null,null),ua(16,999424,null,0,eC,[De,lc,[6,pw],[2,zw],[2,Ww],by,[8,null],Xw,Ar],{placeholder:[0,"placeholder"]},null),ca(2048,[[1,4]],E_,null,[eC]),(t()(),wo(18,0,null,null,17,"mat-form-field",[["class","full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(19,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,8,{_control:0}),Ea(335544320,9,{_placeholderChild:0}),Ea(335544320,10,{_labelChild:0}),Ea(603979776,11,{_errorChildren:1}),Ea(603979776,12,{_hintChildren:1}),Ea(603979776,13,{_prefixChildren:1}),Ea(603979776,14,{_suffixChildren:1}),(t()(),wo(27,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","65536"],["placeholder","Port"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,28)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,28).onTouched()&&r),"compositionstart"===e&&(r=!1!==Qo(t,28)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Qo(t,28)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==Qo(t,29).onChange(n.target.value)&&r),"input"===e&&(r=!1!==Qo(t,29).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,29).onTouched()&&r),"blur"===e&&(r=!1!==Qo(t,34)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,34)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,34)._onInput()&&r),"ngModelChange"===e&&(r=!1!==i.updateInt("port",n)&&r),r},null,null)),ua(28,16384,null,0,sw,[Ve,De,[2,aw]],null,null),ua(29,16384,null,0,cw,[Ve,De],null,null),ca(1024,null,iw,function(t,e){return[t,e]},[sw,cw]),ua(31,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(33,16384,null,0,Rw,[[4,pw]],null,null),ua(34,999424,null,0,eC,[De,lc,[6,pw],[2,zw],[2,Ww],by,[8,null],Xw,Ar],{placeholder:[0,"placeholder"],type:[1,"type"]},null),ca(2048,[[8,4]],E_,null,[eC]),(t()(),wo(36,0,null,null,17,"mat-form-field",[["class","full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(37,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,15,{_control:0}),Ea(335544320,16,{_placeholderChild:0}),Ea(335544320,17,{_labelChild:0}),Ea(603979776,18,{_errorChildren:1}),Ea(603979776,19,{_hintChildren:1}),Ea(603979776,20,{_prefixChildren:1}),Ea(603979776,21,{_suffixChildren:1}),(t()(),wo(45,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["max","65536"],["placeholder","Legend Space"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,46)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,46).onTouched()&&r),"compositionstart"===e&&(r=!1!==Qo(t,46)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Qo(t,46)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==Qo(t,47).onChange(n.target.value)&&r),"input"===e&&(r=!1!==Qo(t,47).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,47).onTouched()&&r),"blur"===e&&(r=!1!==Qo(t,52)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,52)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,52)._onInput()&&r),"ngModelChange"===e&&(r=!1!==i.updateInt("chartLegendSpace",n)&&r),r},null,null)),ua(46,16384,null,0,sw,[Ve,De,[2,aw]],null,null),ua(47,16384,null,0,cw,[Ve,De],null,null),ca(1024,null,iw,function(t,e){return[t,e]},[sw,cw]),ua(49,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(51,16384,null,0,Rw,[[4,pw]],null,null),ua(52,999424,null,0,eC,[De,lc,[6,pw],[2,zw],[2,Ww],by,[8,null],Xw,Ar],{placeholder:[0,"placeholder"],type:[1,"type"]},null),ca(2048,[[15,4]],E_,null,[eC]),(t()(),wo(54,0,null,null,16,"mat-form-field",[["class","full-width mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(55,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,22,{_control:0}),Ea(335544320,23,{_placeholderChild:0}),Ea(335544320,24,{_labelChild:0}),Ea(603979776,25,{_errorChildren:1}),Ea(603979776,26,{_hintChildren:1}),Ea(603979776,27,{_prefixChildren:1}),Ea(603979776,28,{_suffixChildren:1}),(t()(),wo(63,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Client"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,64)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,64).onTouched()&&r),"compositionstart"===e&&(r=!1!==Qo(t,64)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Qo(t,64)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,69)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,69)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,69)._onInput()&&r),"ngModelChange"===e&&(r=!1!==i.update("client",n)&&r),r},null,null)),ua(64,16384,null,0,sw,[Ve,De,[2,aw]],null,null),ca(1024,null,iw,function(t){return[t]},[sw]),ua(66,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(68,16384,null,0,Rw,[[4,pw]],null,null),ua(69,999424,null,0,eC,[De,lc,[6,pw],[2,zw],[2,Ww],by,[8,null],Xw,Ar],{placeholder:[0,"placeholder"]},null),ca(2048,[[22,4]],E_,null,[eC]),(t()(),wo(71,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(72,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,29,{_control:0}),Ea(335544320,30,{_placeholderChild:0}),Ea(335544320,31,{_labelChild:0}),Ea(603979776,32,{_errorChildren:1}),Ea(603979776,33,{_hintChildren:1}),Ea(603979776,34,{_prefixChildren:1}),Ea(603979776,35,{_suffixChildren:1}),(t()(),Da(-1,1,[" Background "])),(t()(),wo(81,16777216,null,1,3,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[4,"background",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"colorPickerChange"],[null,"click"],[null,"focus"],[null,"input"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==Qo(t,82).handleClick()&&r),"focus"===e&&(r=!1!==Qo(t,82).handleFocus()&&r),"input"===e&&(r=!1!==Qo(t,82).handleInput(n)&&r),"blur"===e&&(r=!1!==Qo(t,83)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,83)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,83)._onInput()&&r),"colorPickerChange"===e&&(r=!1!==i.update("bgcolor",n)&&r),r},null,null)),ua(82,671744,null,0,_g,[le,Te,Hr,Xr,De,vg],{colorPicker:[0,"colorPicker"]},{colorPickerChange:"colorPickerChange"}),ua(83,999424,null,0,eC,[De,lc,[8,null],[2,zw],[2,Ww],by,[8,null],Xw,Ar],null,null),ca(2048,[[29,4]],E_,null,[eC]),(t()(),wo(85,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(86,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,36,{_control:0}),Ea(335544320,37,{_placeholderChild:0}),Ea(335544320,38,{_labelChild:0}),Ea(603979776,39,{_errorChildren:1}),Ea(603979776,40,{_hintChildren:1}),Ea(603979776,41,{_prefixChildren:1}),Ea(603979776,42,{_suffixChildren:1}),(t()(),Da(-1,1,[" Foreground "])),(t()(),wo(95,16777216,null,1,3,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[4,"background",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"colorPickerChange"],[null,"click"],[null,"focus"],[null,"input"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==Qo(t,96).handleClick()&&r),"focus"===e&&(r=!1!==Qo(t,96).handleFocus()&&r),"input"===e&&(r=!1!==Qo(t,96).handleInput(n)&&r),"blur"===e&&(r=!1!==Qo(t,97)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,97)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,97)._onInput()&&r),"colorPickerChange"===e&&(r=!1!==i.update("fgcolor",n)&&r),r},null,null)),ua(96,671744,null,0,_g,[le,Te,Hr,Xr,De,vg],{colorPicker:[0,"colorPicker"]},{colorPickerChange:"colorPickerChange"}),ua(97,999424,null,0,eC,[De,lc,[8,null],[2,zw],[2,Ww],by,[8,null],Xw,Ar],null,null),ca(2048,[[36,4]],E_,null,[eC]),(t()(),wo(99,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),wo(100,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["matInput",""]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var r=!0;return"ngModelChange"===e&&(r=!1!==t.component.updateBool("pieBuilding",n)&&r),r},cC,uC)),ua(101,8568832,null,0,sC,[De,$r,oh,Ar,[8,null],[2,rC],[2,s_]],null,null),ca(1024,null,iw,function(t){return[t]},[sC]),ua(103,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(105,16384,null,0,Rw,[[4,pw]],null,null),(t()(),Da(-1,0,["Represent 100% of pie chart as currently building jobs"])),(t()(),wo(107,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),wo(108,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["matInput",""]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var r=!0;return"ngModelChange"===e&&(r=!1!==t.component.updateBool("noAnimate",n)&&r),r},cC,uC)),ua(109,8568832,null,0,sC,[De,$r,oh,Ar,[8,null],[2,rC],[2,s_]],null,null),ca(1024,null,iw,function(t){return[t]},[sC]),ua(111,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(113,16384,null,0,Rw,[[4,pw]],null,null),(t()(),Da(-1,0,["Don't animate the pie chart"]))],function(t,e){var n=e.component;t(e,13,0,n.scheduler),t(e,16,0,"Scheduler"),t(e,31,0,n.port),t(e,34,0,"Port","number"),t(e,49,0,n.chartLegendSpace),t(e,52,0,"Legend Space","number"),t(e,66,0,n.client),t(e,69,0,"Client"),t(e,82,0,n.bgcolor),t(e,83,0),t(e,96,0,n.fgcolor),t(e,97,0),t(e,103,0,n.pieBuilding),t(e,111,0,n.noAnimate)},function(t,e){var n=e.component;t(e,0,0,n.minHeight),t(e,1,1,["standard"==Qo(e,2).appearance,"fill"==Qo(e,2).appearance,"outline"==Qo(e,2).appearance,"legacy"==Qo(e,2).appearance,Qo(e,2)._control.errorState,Qo(e,2)._canLabelFloat,Qo(e,2)._shouldLabelFloat(),Qo(e,2)._hasFloatingLabel(),Qo(e,2)._hideControlPlaceholder(),Qo(e,2)._control.disabled,Qo(e,2)._control.autofilled,Qo(e,2)._control.focused,"accent"==Qo(e,2).color,"warn"==Qo(e,2).color,Qo(e,2)._shouldForward("untouched"),Qo(e,2)._shouldForward("touched"),Qo(e,2)._shouldForward("pristine"),Qo(e,2)._shouldForward("dirty"),Qo(e,2)._shouldForward("valid"),Qo(e,2)._shouldForward("invalid"),Qo(e,2)._shouldForward("pending"),!Qo(e,2)._animationsEnabled]),t(e,10,1,[Qo(e,15).ngClassUntouched,Qo(e,15).ngClassTouched,Qo(e,15).ngClassPristine,Qo(e,15).ngClassDirty,Qo(e,15).ngClassValid,Qo(e,15).ngClassInvalid,Qo(e,15).ngClassPending,Qo(e,16)._isServer,Qo(e,16).id,Qo(e,16).placeholder,Qo(e,16).disabled,Qo(e,16).required,Qo(e,16).readonly&&!Qo(e,16)._isNativeSelect||null,Qo(e,16)._ariaDescribedby||null,Qo(e,16).errorState,Qo(e,16).required.toString()]),t(e,18,1,["standard"==Qo(e,19).appearance,"fill"==Qo(e,19).appearance,"outline"==Qo(e,19).appearance,"legacy"==Qo(e,19).appearance,Qo(e,19)._control.errorState,Qo(e,19)._canLabelFloat,Qo(e,19)._shouldLabelFloat(),Qo(e,19)._hasFloatingLabel(),Qo(e,19)._hideControlPlaceholder(),Qo(e,19)._control.disabled,Qo(e,19)._control.autofilled,Qo(e,19)._control.focused,"accent"==Qo(e,19).color,"warn"==Qo(e,19).color,Qo(e,19)._shouldForward("untouched"),Qo(e,19)._shouldForward("touched"),Qo(e,19)._shouldForward("pristine"),Qo(e,19)._shouldForward("dirty"),Qo(e,19)._shouldForward("valid"),Qo(e,19)._shouldForward("invalid"),Qo(e,19)._shouldForward("pending"),!Qo(e,19)._animationsEnabled]),t(e,27,1,[Qo(e,33).ngClassUntouched,Qo(e,33).ngClassTouched,Qo(e,33).ngClassPristine,Qo(e,33).ngClassDirty,Qo(e,33).ngClassValid,Qo(e,33).ngClassInvalid,Qo(e,33).ngClassPending,Qo(e,34)._isServer,Qo(e,34).id,Qo(e,34).placeholder,Qo(e,34).disabled,Qo(e,34).required,Qo(e,34).readonly&&!Qo(e,34)._isNativeSelect||null,Qo(e,34)._ariaDescribedby||null,Qo(e,34).errorState,Qo(e,34).required.toString()]),t(e,36,1,["standard"==Qo(e,37).appearance,"fill"==Qo(e,37).appearance,"outline"==Qo(e,37).appearance,"legacy"==Qo(e,37).appearance,Qo(e,37)._control.errorState,Qo(e,37)._canLabelFloat,Qo(e,37)._shouldLabelFloat(),Qo(e,37)._hasFloatingLabel(),Qo(e,37)._hideControlPlaceholder(),Qo(e,37)._control.disabled,Qo(e,37)._control.autofilled,Qo(e,37)._control.focused,"accent"==Qo(e,37).color,"warn"==Qo(e,37).color,Qo(e,37)._shouldForward("untouched"),Qo(e,37)._shouldForward("touched"),Qo(e,37)._shouldForward("pristine"),Qo(e,37)._shouldForward("dirty"),Qo(e,37)._shouldForward("valid"),Qo(e,37)._shouldForward("invalid"),Qo(e,37)._shouldForward("pending"),!Qo(e,37)._animationsEnabled]),t(e,45,1,[Qo(e,51).ngClassUntouched,Qo(e,51).ngClassTouched,Qo(e,51).ngClassPristine,Qo(e,51).ngClassDirty,Qo(e,51).ngClassValid,Qo(e,51).ngClassInvalid,Qo(e,51).ngClassPending,Qo(e,52)._isServer,Qo(e,52).id,Qo(e,52).placeholder,Qo(e,52).disabled,Qo(e,52).required,Qo(e,52).readonly&&!Qo(e,52)._isNativeSelect||null,Qo(e,52)._ariaDescribedby||null,Qo(e,52).errorState,Qo(e,52).required.toString()]),t(e,54,1,["standard"==Qo(e,55).appearance,"fill"==Qo(e,55).appearance,"outline"==Qo(e,55).appearance,"legacy"==Qo(e,55).appearance,Qo(e,55)._control.errorState,Qo(e,55)._canLabelFloat,Qo(e,55)._shouldLabelFloat(),Qo(e,55)._hasFloatingLabel(),Qo(e,55)._hideControlPlaceholder(),Qo(e,55)._control.disabled,Qo(e,55)._control.autofilled,Qo(e,55)._control.focused,"accent"==Qo(e,55).color,"warn"==Qo(e,55).color,Qo(e,55)._shouldForward("untouched"),Qo(e,55)._shouldForward("touched"),Qo(e,55)._shouldForward("pristine"),Qo(e,55)._shouldForward("dirty"),Qo(e,55)._shouldForward("valid"),Qo(e,55)._shouldForward("invalid"),Qo(e,55)._shouldForward("pending"),!Qo(e,55)._animationsEnabled]),t(e,63,1,[Qo(e,68).ngClassUntouched,Qo(e,68).ngClassTouched,Qo(e,68).ngClassPristine,Qo(e,68).ngClassDirty,Qo(e,68).ngClassValid,Qo(e,68).ngClassInvalid,Qo(e,68).ngClassPending,Qo(e,69)._isServer,Qo(e,69).id,Qo(e,69).placeholder,Qo(e,69).disabled,Qo(e,69).required,Qo(e,69).readonly&&!Qo(e,69)._isNativeSelect||null,Qo(e,69)._ariaDescribedby||null,Qo(e,69).errorState,Qo(e,69).required.toString()]),t(e,71,1,["standard"==Qo(e,72).appearance,"fill"==Qo(e,72).appearance,"outline"==Qo(e,72).appearance,"legacy"==Qo(e,72).appearance,Qo(e,72)._control.errorState,Qo(e,72)._canLabelFloat,Qo(e,72)._shouldLabelFloat(),Qo(e,72)._hasFloatingLabel(),Qo(e,72)._hideControlPlaceholder(),Qo(e,72)._control.disabled,Qo(e,72)._control.autofilled,Qo(e,72)._control.focused,"accent"==Qo(e,72).color,"warn"==Qo(e,72).color,Qo(e,72)._shouldForward("untouched"),Qo(e,72)._shouldForward("touched"),Qo(e,72)._shouldForward("pristine"),Qo(e,72)._shouldForward("dirty"),Qo(e,72)._shouldForward("valid"),Qo(e,72)._shouldForward("invalid"),Qo(e,72)._shouldForward("pending"),!Qo(e,72)._animationsEnabled]),t(e,81,0,n.bgcolor,Qo(e,83)._isServer,Qo(e,83).id,Qo(e,83).placeholder,Qo(e,83).disabled,Qo(e,83).required,Qo(e,83).readonly&&!Qo(e,83)._isNativeSelect||null,Qo(e,83)._ariaDescribedby||null,Qo(e,83).errorState,Qo(e,83).required.toString()),t(e,85,1,["standard"==Qo(e,86).appearance,"fill"==Qo(e,86).appearance,"outline"==Qo(e,86).appearance,"legacy"==Qo(e,86).appearance,Qo(e,86)._control.errorState,Qo(e,86)._canLabelFloat,Qo(e,86)._shouldLabelFloat(),Qo(e,86)._hasFloatingLabel(),Qo(e,86)._hideControlPlaceholder(),Qo(e,86)._control.disabled,Qo(e,86)._control.autofilled,Qo(e,86)._control.focused,"accent"==Qo(e,86).color,"warn"==Qo(e,86).color,Qo(e,86)._shouldForward("untouched"),Qo(e,86)._shouldForward("touched"),Qo(e,86)._shouldForward("pristine"),Qo(e,86)._shouldForward("dirty"),Qo(e,86)._shouldForward("valid"),Qo(e,86)._shouldForward("invalid"),Qo(e,86)._shouldForward("pending"),!Qo(e,86)._animationsEnabled]),t(e,95,0,n.fgcolor,Qo(e,97)._isServer,Qo(e,97).id,Qo(e,97).placeholder,Qo(e,97).disabled,Qo(e,97).required,Qo(e,97).readonly&&!Qo(e,97)._isNativeSelect||null,Qo(e,97)._ariaDescribedby||null,Qo(e,97).errorState,Qo(e,97).required.toString()),t(e,100,1,[Qo(e,101).id,null,Qo(e,101).indeterminate,Qo(e,101).checked,Qo(e,101).disabled,"before"==Qo(e,101).labelPosition,"NoopAnimations"===Qo(e,101)._animationMode,Qo(e,105).ngClassUntouched,Qo(e,105).ngClassTouched,Qo(e,105).ngClassPristine,Qo(e,105).ngClassDirty,Qo(e,105).ngClassValid,Qo(e,105).ngClassInvalid,Qo(e,105).ngClassPending]),t(e,108,1,[Qo(e,109).id,null,Qo(e,109).indeterminate,Qo(e,109).checked,Qo(e,109).disabled,"before"==Qo(e,109).labelPosition,"NoopAnimations"===Qo(e,109)._animationMode,Qo(e,113).ngClassUntouched,Qo(e,113).ngClassTouched,Qo(e,113).ngClassPristine,Qo(e,113).ngClassDirty,Qo(e,113).ngClassValid,Qo(e,113).ngClassInvalid,Qo(e,113).ngClassPending])})}function dC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-config",[],null,null,null,pC,hC)),ua(1,49152,null,0,Gs,[qs,Hs],null,null)],null,null)}var fC=Lo("app-config",Gs,dC,{},{},[]),mC=Hi({encapsulation:0,styles:[[""]],data:{}});function gC(t){return ja(0,[(t()(),wo(0,0,null,null,0,"canvas",[["id","canvas-chart"]],[[8,"width",0],[8,"height",0]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n.view.width,n.view.height)})}function yC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-pie-chart",[],null,null,null,gC,mC)),ua(1,180224,null,0,Rh,[hu,qs,Hs,Oh,$r,ly],null,null)],null,null)}var vC=Lo("app-pie-chart",Rh,yC,{},{},[]),bC=function(){function t(t){var e=this;this.fisk=t,this.fisk.on("data",function(t){switch(t.type){case"logFile":e.contents="\n"+t.contents}})}return t.prototype.ngAfterViewInit=function(){this.fisk.send({type:"logFile",file:this.file}),console.log("after view init",this.file)},t}(),_C=Hi({encapsulation:0,styles:[[".contents[_ngcontent-%COMP%]{font-size:.6em;font-family:monospace;white-space:pre-wrap;background-color:#eee}"]],data:{}});function wC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"div",[["class","contents"]],null,null,null,null,null)),(t()(),Da(1,null,[" ","\n"]))],null,function(t,e){t(e,1,0,e.component.contents)})}var CC=function(){return function(){}}(),xC=function(){return function(){}}(),kC=Hi({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px 0}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function EC(t){return ja(2,[Pa(null,0),Pa(null,1)],null,null)}var SC=Hi({encapsulation:0,styles:[[".spacing[_ngcontent-%COMP%]{padding-bottom:10px}.file[_ngcontent-%COMP%]{font-size:1.5em;cursor:pointer}"]],data:{}});function AC(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),wo(1,0,null,null,1,"app-log",[],null,null,null,wC,_C)),ua(2,4243456,null,0,bC,[hu],{file:[0,"file"]},null)],function(t,e){t(e,2,0,e.parent.context.$implicit)},null)}function TC(t){return ja(0,[(t()(),wo(0,0,null,null,4,"div",[["class","spacing"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onClicked(t.context.$implicit)&&r),r},null,null)),(t()(),wo(1,0,null,null,3,"div",[["class","file"]],null,null,null,null,null)),(t()(),Da(2,null,[" "," "])),(t()(),_o(16777216,null,null,1,null,AC)),ua(4,16384,null,0,wl,[Xr,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,4,0,e.context.$implicit==e.component.expanded)},function(t,e){t(e,2,0,e.context.$implicit)})}function OC(t){return ja(0,[(t()(),wo(0,0,null,null,3,"mat-card",[["class","mat-card"]],null,null,null,EC,kC)),ua(1,49152,null,0,CC,[],null,null),(t()(),_o(16777216,null,0,1,null,TC)),ua(3,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,e.component.files)},null)}function PC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-logs",[],null,null,null,OC,SC)),ua(1,4243456,null,0,pu,[hu],null,null)],null,null)}var IC=Lo("app-logs",pu,PC,{},{},[]),RC=Hi({encapsulation:0,styles:[[".env[_ngcontent-%COMP%]{cursor:pointer;font-family:monospace}"]],data:{}});function DC(t){return ja(0,[(t()(),wo(0,0,null,null,2,"div",[["class","spacing"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onClicked(t.context.$implicit)&&r),r},null,null)),(t()(),wo(1,0,null,null,1,"div",[["class","env"]],null,null,null,null,null)),(t()(),Da(2,null,[" "," "," "," (",") "]))],null,function(t,e){t(e,2,0,e.context.$implicit.hash,e.context.$implicit.compiler.name,e.context.$implicit.compiler.version,e.context.$implicit.target)})}function NC(t){return ja(0,[(t()(),wo(0,0,null,null,3,"mat-card",[["class","mat-card"]],null,null,null,EC,kC)),ua(1,49152,null,0,CC,[],null,null),(t()(),_o(16777216,null,0,1,null,DC)),ua(3,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,e.component.environments)},null)}function FC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-compilers",[],null,null,null,NC,RC)),ua(1,49152,null,0,Dh,[hu,Hs,ly],null,null)],null,null)}var jC=Lo("app-compilers",Dh,FC,{},{},[]),MC=Hi({encapsulation:0,styles:[[".env[_ngcontent-%COMP%]{cursor:pointer;font-family:monospace}.fullwidth[_ngcontent-%COMP%]{min-width:100%}.scroll[_ngcontent-%COMP%]{overflow:auto;max-height:70vh!important}.info[_ngcontent-%COMP%]{white-space:pre-line;margin-bottom:2em;border:1px dashed #ccc;padding:5px}"]],data:{}});function VC(t){return ja(0,[(t()(),wo(0,0,null,null,25,"div",[["class","env"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,5,"mat-checkbox",[["class","mat-checkbox"],["matInput",""]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var r=!0;return"ngModelChange"===e&&(r=!1!==(t.component.checked[t.context.$implicit.hash]=n)&&r),r},cC,uC)),ua(2,8568832,null,0,sC,[De,$r,oh,Ar,[8,null],[2,rC],[2,s_]],null,null),ca(1024,null,iw,function(t){return[t]},[sC]),ua(4,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(6,16384,null,0,Rw,[[4,pw]],null,null),(t()(),Da(7,null,[" "," "," "," (",")"])),(t()(),wo(8,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),wo(9,0,null,null,16,"mat-form-field",[["class","fullwidth mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,Z_,j_)),ua(10,7520256,null,7,P_,[De,$r,[2,Iy],[2,Xg],[2,O_],lc,Ar,[2,s_]],null,null),Ea(335544320,1,{_control:0}),Ea(335544320,2,{_placeholderChild:0}),Ea(335544320,3,{_labelChild:0}),Ea(603979776,4,{_errorChildren:1}),Ea(603979776,5,{_hintChildren:1}),Ea(603979776,6,{_prefixChildren:1}),Ea(603979776,7,{_suffixChildren:1}),(t()(),wo(18,0,null,1,7,"input",[["class","fullwidth mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Arguments"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Qo(t,19)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,19).onTouched()&&r),"compositionstart"===e&&(r=!1!==Qo(t,19)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Qo(t,19)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==Qo(t,24)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Qo(t,24)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Qo(t,24)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.args[t.context.$implicit.hash]=n)&&r),r},null,null)),ua(19,16384,null,0,sw,[Ve,De,[2,aw]],null,null),ca(1024,null,iw,function(t){return[t]},[sw]),ua(21,671744,null,0,Gw,[[8,null],[8,null],[8,null],[6,iw]],{model:[0,"model"]},{update:"ngModelChange"}),ca(2048,null,pw,null,[Gw]),ua(23,16384,null,0,Rw,[[4,pw]],null,null),ua(24,999424,null,0,eC,[De,lc,[6,pw],[2,zw],[2,Ww],by,[8,null],Xw,Ar],{placeholder:[0,"placeholder"]},null),ca(2048,[[1,4]],E_,null,[eC])],function(t,e){var n=e.component;t(e,4,0,n.checked[e.context.$implicit.hash]),t(e,21,0,n.args[e.context.$implicit.hash]),t(e,24,0,"Arguments")},function(t,e){t(e,1,1,[Qo(e,2).id,null,Qo(e,2).indeterminate,Qo(e,2).checked,Qo(e,2).disabled,"before"==Qo(e,2).labelPosition,"NoopAnimations"===Qo(e,2)._animationMode,Qo(e,6).ngClassUntouched,Qo(e,6).ngClassTouched,Qo(e,6).ngClassPristine,Qo(e,6).ngClassDirty,Qo(e,6).ngClassValid,Qo(e,6).ngClassInvalid,Qo(e,6).ngClassPending]),t(e,7,0,e.context.$implicit.hash,e.context.$implicit.compiler.name,e.context.$implicit.compiler.version,e.context.$implicit.target),t(e,9,1,["standard"==Qo(e,10).appearance,"fill"==Qo(e,10).appearance,"outline"==Qo(e,10).appearance,"legacy"==Qo(e,10).appearance,Qo(e,10)._control.errorState,Qo(e,10)._canLabelFloat,Qo(e,10)._shouldLabelFloat(),Qo(e,10)._hasFloatingLabel(),Qo(e,10)._hideControlPlaceholder(),Qo(e,10)._control.disabled,Qo(e,10)._control.autofilled,Qo(e,10)._control.focused,"accent"==Qo(e,10).color,"warn"==Qo(e,10).color,Qo(e,10)._shouldForward("untouched"),Qo(e,10)._shouldForward("touched"),Qo(e,10)._shouldForward("pristine"),Qo(e,10)._shouldForward("dirty"),Qo(e,10)._shouldForward("valid"),Qo(e,10)._shouldForward("invalid"),Qo(e,10)._shouldForward("pending"),!Qo(e,10)._animationsEnabled]),t(e,18,1,[Qo(e,23).ngClassUntouched,Qo(e,23).ngClassTouched,Qo(e,23).ngClassPristine,Qo(e,23).ngClassDirty,Qo(e,23).ngClassValid,Qo(e,23).ngClassInvalid,Qo(e,23).ngClassPending,Qo(e,24)._isServer,Qo(e,24).id,Qo(e,24).placeholder,Qo(e,24).disabled,Qo(e,24).required,Qo(e,24).readonly&&!Qo(e,24)._isNativeSelect||null,Qo(e,24)._ariaDescribedby||null,Qo(e,24).errorState,Qo(e,24).required.toString()])})}function LC(t){return ja(0,[(t()(),wo(0,0,null,null,15,"mat-card",[["class","scroll mat-card"]],null,null,null,EC,kC)),ua(1,49152,null,0,CC,[],null,null),(t()(),wo(2,0,null,0,1,"div",[["class","info"]],null,null,null,null,null)),(t()(),Da(3,null,[" "," "])),(t()(),_o(16777216,null,0,1,null,VC)),ua(5,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null),(t()(),wo(6,0,null,0,9,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),ua(7,16384,null,0,cy,[],null,null),(t()(),wo(8,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onNoClick()&&r),r},c_,u_)),ua(9,180224,null,0,Ly,[De,lc,oh,[2,s_]],null,null),(t()(),Da(-1,0,["Cancel"])),(t()(),wo(11,0,null,null,4,"button",[["cdkFocusInitial",""],["mat-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Qo(t,13).dialogRef.close(Qo(t,13).dialogResult)&&r),r},c_,u_)),ua(12,180224,null,0,Ly,[De,lc,oh,[2,s_]],null,null),ua(13,606208,null,0,uy,[[2,ry],De,ly],{dialogResult:[0,"dialogResult"]},null),Ra(14,{checked:0,args:1}),(t()(),Da(-1,0,["Ok"]))],function(t,e){var n=e.component;t(e,5,0,n.others);var r=t(e,14,0,n.checked,n.args);t(e,13,0,r)},function(t,e){t(e,3,0,e.component.info),t(e,8,0,Qo(e,9).disabled||null,"NoopAnimations"===Qo(e,9)._animationMode),t(e,11,0,Qo(e,12).disabled||null,"NoopAnimations"===Qo(e,12)._animationMode,Qo(e,13)._hasAriaLabel?Qo(e,13).ariaLabel:null)})}function BC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-compilers-dialog",[],null,null,null,LC,MC)),ua(1,49152,null,0,Nh,[ry,iy],null,null)],null,null)}var zC=Lo("app-compilers-dialog",Nh,BC,{},{},[]),UC=Hi({encapsulation:0,styles:[[".scroll[_ngcontent-%COMP%]{overflow:auto;max-height:70vh!important;min-width:70vw!important}.table[_ngcontent-%COMP%]{display:flex}.info[_ngcontent-%COMP%]{white-space:pre-line;padding:5px;font-size:2em;margin-bottom:10px}.pre[_ngcontent-%COMP%]{font-family:monospace,monospace;flex:1}.table-mid[_ngcontent-%COMP%]{text-align:center}.table-end[_ngcontent-%COMP%]{text-align:right}"]],data:{}});function qC(t){return ja(0,[(t()(),wo(0,0,null,null,6,"div",[["class","table"]],null,null,null,null,null)),(t()(),wo(1,0,null,null,1,"div",[["class","pre"]],null,null,null,null,null)),(t()(),Da(2,null,[" "," "])),(t()(),wo(3,0,null,null,1,"div",[["class","pre table-mid"]],null,null,null,null,null)),(t()(),Da(4,null,[" "," "])),(t()(),wo(5,0,null,null,1,"div",[["class","pre table-end"]],null,null,null,null,null)),(t()(),Da(6,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.sourceFile),t(e,4,0,e.context.$implicit.builder.ip),t(e,6,0,e.context.$implicit.date)})}function HC(t){return ja(0,[(t()(),wo(0,0,null,null,10,"mat-card",[["class","scroll mat-card"]],null,null,null,EC,kC)),ua(1,49152,null,0,CC,[],null,null),(t()(),wo(2,0,null,0,1,"div",[["class","info"]],null,null,null,null,null)),(t()(),Da(3,null,["",""])),(t()(),_o(16777216,null,0,1,null,qC)),ua(5,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null),(t()(),wo(6,0,null,0,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),ua(7,16384,null,0,cy,[],null,null),(t()(),wo(8,0,null,null,2,"button",[["cdkFocusInitial",""],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onCloseClick()&&r),r},c_,u_)),ua(9,180224,null,0,Ly,[De,lc,oh,[2,s_]],null,null),(t()(),Da(-1,0,["Close"]))],function(t,e){t(e,5,0,e.component.jobs)},function(t,e){t(e,3,0,e.component.client.modifiedName),t(e,8,0,Qo(e,9).disabled||null,"NoopAnimations"===Qo(e,9)._animationMode)})}function KC(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-builder-info",[],null,null,null,HC,UC)),ua(1,49152,null,0,Ph,[ry,iy],null,null)],null,null)}var GC=Lo("app-builder-info",Ph,KC,{},{},[]),WC=new _t("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),ZC=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),YC=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a._dir=n,a._ngZone=r,a._changeDetectorRef=i,a._viewportRuler=o,a._onDestroy=new F,a}return i(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.updateActiveLink=function(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()},e.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){return at(t._dir?t._dir.change:Xs(null),t._viewportRuler.change(10)).pipe(ju(t._onDestroy)).subscribe(function(){return t._alignInkBar()})})},e.prototype.ngAfterContentChecked=function(){if(this._activeLinkChanged){var t=this._tabLinks.find(function(t){return t.active});this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}},e.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},e.prototype._alignInkBar=function(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()},e}(gy(my(function(){return function(t){this._elementRef=t}}(),"primary"))),QC=function(t){function e(e,n,r,i,o,a,s){var l=t.call(this)||this;return l._tabNavBar=e,l._elementRef=n,l._focusMonitor=s,l._isActive=!1,l._tabLinkRipple=new Sy(l,r,n,i),l._tabLinkRipple.setupTriggerEvents(n.nativeElement),l.rippleConfig=o||{},l.tabIndex=parseInt(a)||0,s&&s.monitor(n),l}return i(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef)},e}(yy(gy(fy(function(){return function(){}}())))),XC=function(){return function(){}}(),JC=Hi({encapsulation:2,styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],data:{}});function $C(t){return ja(2,[Ea(402653184,1,{_inkBar:0}),(t()(),wo(1,0,null,null,4,"div",[["class","mat-tab-links"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._alignInkBar()&&r),r},null,null)),ua(2,1196032,null,0,N_,[D_,De,Ar],null,{event:"cdkObserveContent"}),Pa(null,0),(t()(),wo(4,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),ua(5,16384,[[1,4]],0,ZC,[De,Ar,WC],null,null)],null,null)}var tx=Hi({encapsulation:0,styles:[[""]],data:{}});function ex(t){return ja(0,[(t()(),wo(0,0,null,null,6,"a",[["class","mat-tab-link"],["mat-tab-link",""],["routerLinkActive",""]],[[1,"aria-current",0],[1,"aria-disabled",0],[1,"tabIndex",0],[2,"mat-tab-disabled",null],[2,"mat-tab-label-active",null],[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Qo(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),ua(1,147456,[[2,4]],0,QC,[YC,De,Ar,lc,[2,Ay],[8,null],oh],{active:[0,"active"]},null),ua(2,671744,[[4,4]],0,Fm,[Nm,kf,il],{routerLink:[0,"routerLink"]},null),ua(3,1720320,[["rla",4]],2,Mm,[Nm,De,Ve,$r],{routerLinkActive:[0,"routerLinkActive"]},null),Ea(603979776,3,{links:1}),Ea(603979776,4,{linksWithHrefs:1}),(t()(),Da(6,null,[" "," "]))],function(t,e){t(e,1,0,Qo(e,3).isActive),t(e,2,0,e.context.$implicit.path),t(e,3,0,"")},function(t,e){t(e,0,0,Qo(e,1).active,Qo(e,1).disabled.toString(),Qo(e,1).tabIndex,Qo(e,1).disabled,Qo(e,1).active,Qo(e,2).target,Qo(e,2).href),t(e,6,0,e.context.$implicit.label)})}function nx(t){return ja(0,[Ea(402653184,1,{tabGroup:0}),(t()(),wo(1,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,EC,kC)),ua(2,49152,null,0,CC,[],null,null),(t()(),wo(3,0,null,0,4,"nav",[["class","fisk-tab-group mat-tab-nav-bar"],["mat-tab-nav-bar",""]],null,null,null,$C,JC)),ua(4,3325952,[[1,4],["fiskTabGroup",4]],1,YC,[De,[2,Xg],Ar,$r,mc],null,null),Ea(603979776,2,{_tabLinks:1}),(t()(),_o(16777216,null,0,1,null,ex)),ua(7,278528,null,0,bl,[Xr,mn,yi],{ngForOf:[0,"ngForOf"]},null),(t()(),wo(8,16777216,null,0,1,"router-outlet",[],null,null,null,null,null)),ua(9,212992,null,0,Bm,[Lm,Xr,Te,[8,null],$r],null,null)],function(t,e){t(e,7,0,e.component.navLinks),t(e,9,0)},null)}function rx(t){return ja(0,[(t()(),wo(0,0,null,null,1,"app-root",[],null,null,null,nx,tx)),ua(1,4243456,null,0,lg,[Hs,Nm],null,null)],null,null)}var ix=Lo("app-root",lg,rx,{},{},[]),ox=function(){return function(){}}(),ax=function(){return function(){}}(),sx=zs(Fh,[lg],function(t){return function(t){for(var e={},n=[],r=!1,i=0;i<t.length;i++){var o=t[i];o.token===Ce&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,e[zi(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Po(512,Te,Oe,[[8,[Yg,jy,m_,__,k_,fC,vC,IC,jC,zC,GC,ix]],[3,Te],Ie]),Po(5120,xi,Si,[[3,xi]]),Po(4608,ml,gl,[xi,[2,fl]]),Po(5120,ar,sr,[]),Po(5120,yi,ki,[]),Po(5120,vi,Ei,[]),Po(4608,id,od,[Tl]),Po(6144,ze,null,[id]),Po(4608,Xp,$p,[]),Po(5120,kp,function(t,e,n,r,i,o,a,s){return[new Yp(t,e,n),new rd(r),new td(i,o,a,s)]},[Tl,Ar,cr,Tl,Tl,Xp,pr,[2,Jp]]),Po(4608,Ep,Ep,[kp,Ar]),Po(135680,Tp,Tp,[Tl]),Po(4608,Fp,Fp,[Ep,Tp]),Po(5120,uv,i_,[]),Po(5120,$v,o_,[]),Po(4608,Ob,r_,[Tl,uv,$v]),Po(5120,je,a_,[Fp,Ob,Ar]),Po(6144,Ap,null,[Tp]),Po(4608,Fr,Fr,[Ar]),Po(4608,du,Qb,[je,mp]),Po(4608,vg,vg,[]),Po(4608,dw,dw,[]),Po(4608,ou,au,[Tl,cr,ru]),Po(4608,su,su,[ou,iu]),Po(5120,Xl,function(t){return[t]},[su]),Po(4608,eu,eu,[]),Po(6144,tu,null,[eu]),Po(4608,nu,nu,[tu]),Po(6144,Nl,null,[nu]),Po(4608,Dl,lu,[Nl,le]),Po(4608,Yl,Yl,[Dl]),Po(4608,R_,R_,[]),Po(4608,Lc,Lc,[kc,Ic,Te,Mc,Pc,le,Ar,Tl,Xg,[2,al]]),Po(5120,Bc,zc,[Lc]),Po(5120,ay,sy,[Lc]),Po(135680,ly,ly,[Lc,le,[2,al],[2,oy],ay,[3,ly],Ic]),Po(4608,by,by,[]),Po(5120,kf,rg,[Nm]),Po(4608,Hm,Hm,[]),Po(6144,Um,null,[Hm]),Po(135680,Km,Km,[Nm,bn,_r,le,Um]),Po(4608,qm,qm,[]),Po(5120,Gm,Jm,[Nm,Il,Wm]),Po(5120,sg,ag,[ig]),Po(5120,hr,function(t){return[t]},[sg]),Po(4608,Ks,Ks,[]),Po(4608,Ws,Ws,[]),Po(4608,qs,qs,[]),Po(4608,hu,hu,[Ks,Ws,qs,Yl]),Po(4608,Oh,Oh,[Th]),Po(4608,Hs,Hs,[]),Po(1073742336,Al,Al,[]),Po(1024,jn,dd,[]),Po(1024,Lr,function(){return[Qm()]},[]),Po(512,ig,ig,[le]),Po(1024,ir,function(t,e){return[(n=t,wp("probe",xp),wp("coreTokens",o({},Cp,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return xp}),og(e)];var n},[[2,Lr],ig]),Po(512,or,or,[[2,ir]]),Po(131584,Hr,Hr,[Ar,pr,le,jn,Te,or]),Po(1073742336,Ai,Ai,[Hr]),Po(1073742336,fd,fd,[[3,fd]]),Po(1073742336,l_,l_,[]),Po(1073742336,wg,wg,[]),Po(1073742336,Zw,Zw,[]),Po(1073742336,Yw,Yw,[]),Po(1073742336,uu,uu,[]),Po(1073742336,cu,cu,[]),Po(1073742336,Jg,Jg,[]),Po(1073742336,dy,dy,[[2,py],[2,Jp]]),Po(1073742336,uc,uc,[]),Po(1073742336,Oy,Oy,[]),Po(1073742336,By,By,[]),Po(1073742336,xC,xC,[]),Po(1073742336,F_,F_,[]),Po(1073742336,lC,lC,[]),Po(1073742336,Ou,Ou,[]),Po(1073742336,fc,fc,[]),Po(1073742336,Uc,Uc,[]),Po(1073742336,hy,hy,[]),Po(1073742336,Jw,Jw,[]),Po(1073742336,I_,I_,[]),Po(1073742336,nC,nC,[]),Po(1073742336,_y,_y,[]),Po(1073742336,Py,Py,[]),Po(1073742336,ox,ox,[]),Po(1073742336,ax,ax,[]),Po(1073742336,Sh,Sh,[]),Po(1073742336,ah,ah,[]),Po(1073742336,XC,XC,[]),Po(1024,Zm,tg,[[3,Nm]]),Po(512,ef,nf,[]),Po(512,Lm,Lm,[]),Po(256,Wm,{},[]),Po(1024,il,$m,[nl,[2,ol],Wm]),Po(512,al,al,[il]),Po(512,_r,_r,[]),Po(512,bn,Yr,[_r,[2,Wr]]),Po(1024,Am,function(){return[[{path:"config",component:Gs},{path:"pie-chart",component:Rh},{path:"logs",component:pu},{path:"compilers",component:Dh},{path:"",redirectTo:"/pie-chart",pathMatch:"full"}]]},[]),Po(1024,Nm,ng,[Hr,ef,Lm,al,le,bn,_r,Am,Wm,[2,Om],[2,Em]]),Po(1073742336,Xm,Xm,[[2,Zm],[2,Nm]]),Po(1073742336,Fh,Fh,[]),Po(256,Ce,!0,[]),Po(256,s_,"BrowserAnimations",[]),Po(256,ru,"XSRF-TOKEN",[]),Po(256,iu,"X-XSRF-TOKEN",[])])});(function(){if(He)throw new Error("Cannot enable prod mode after platform setup.");qe=!1})(),pd().bootstrapModuleFactory(sx).catch(function(t){return console.log(t)})}},[[0,0]]]);
|