(self.webpackChunkheader=self.webpackChunkheader||[]).push([[179],{8255:function(rl){function Kr(al){return Promise.resolve().then(function(){var M=new Error("Cannot find module '"+al+"'");throw M.code="MODULE_NOT_FOUND",M})}Kr.keys=function(){return[]},Kr.resolve=Kr,Kr.id=8255,rl.exports=Kr},677:function(rl,Kr,al){"use strict";function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}function J(t,i,e){return J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(r,a,o){var s=function(t,i){for(;!Object.prototype.hasOwnProperty.call(t,i)&&null!==(t=M(t)););return t}(r,a);if(s){var l=Object.getOwnPropertyDescriptor(s,a);return l.get?l.get.call(o):l.value}},J(t,i,e||t)}function gb(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,i,e){return i&&gb(t.prototype,i),e&&gb(t,e),t}function h(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function dc(t){return(dc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function mb(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ne(t,i){return!i||"object"!==dc(i)&&"function"!=typeof i?mb(t):i}function te(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ol(t,i){return(ol=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n})(t,i)}function k(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),i&&ol(t,i)}function Zh(t,i){(null==i||i>t.length)&&(i=t.length);for(var e=0,n=new Array(i);e<i;e++)n[e]=t[e];return n}function fc(t,i){if(t){if("string"==typeof t)return Zh(t,i);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Zh(t,i)}}function ct(t,i){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=fc(t))||i&&t&&"number"==typeof t.length){e&&(t=e);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,o=!1;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return a=u.done,u},e:function(u){o=!0,s=u},f:function(){try{!a&&null!=e.return&&e.return()}finally{if(o)throw s}}}}function Be(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var o,s,n=[],r=!0,a=!1;try{for(e=e.call(t);!(r=(o=e.next()).done)&&(n.push(o.value),!i||n.length!==i);r=!0);}catch(l){a=!0,s=l}finally{try{!r&&null!=e.return&&e.return()}finally{if(a)throw s}}return n}}(t,i)||fc(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(t){return function(t){if(Array.isArray(t))return Zh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||fc(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ki(t,i,e){return(ki=te()?Reflect.construct:function(r,a,o){var s=[null];s.push.apply(s,a);var u=new(Function.bind.apply(r,s));return o&&ol(u,o.prototype),u}).apply(null,arguments)}function np(t){var i="function"==typeof Map?new Map:void 0;return np=function(n){if(null===n||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(n))return i.get(n);i.set(n,r)}function r(){return ki(n,arguments,M(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ol(r,n)},np(t)}var Oo=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function ip(t){return null!==t&&"object"==typeof t}function sl(t){return"function"==typeof t}var hc=function(){function t(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(e,n){return"".concat(n+1,") ").concat(e.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=i,this}return t.prototype=Object.create(Error.prototype),t}(),be=function(){var i,t=function(){function i(e){h(this,i),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return f(i,[{key:"unsubscribe",value:function(){var n;if(!this.closed){var r=this._parentOrParents,a=this._ctorUnsubscribe,o=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof i)r.remove(this);else if(null!==r)for(var l=0;l<r.length;++l)r[l].remove(this);if(sl(o)){a&&(this._unsubscribe=void 0);try{o.call(this)}catch(_){n=_ instanceof hc?bb(_.errors):[_]}}if(Oo(s))for(var c=-1,d=s.length;++c<d;){var v=s[c];if(ip(v))try{v.unsubscribe()}catch(_){n=n||[],_ instanceof hc?n=n.concat(bb(_.errors)):n.push(_)}}if(n)throw new hc(n)}}},{key:"add",value:function(n){var r=n;if(!n)return i.EMPTY;switch(typeof n){case"function":r=new i(n);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof i)){var a=r;(r=new i)._subscriptions=[a]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}var s=r._parentOrParents;if(null===s)r._parentOrParents=this;else if(s instanceof i){if(s===this)return r;r._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return r;s.push(this)}var l=this._subscriptions;return null===l?this._subscriptions=[r]:l.push(r),r}},{key:"remove",value:function(n){var r=this._subscriptions;if(r){var a=r.indexOf(n);-1!==a&&r.splice(a,1)}}}])}();return t.EMPTY=((i=new t).closed=!0,i),t}();function bb(t){return t.reduce(function(i,e){return i.concat(e instanceof hc?e.errors:e)},[])}var rp=!1,wi={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var i=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+i.stack)}else rp&&console.log("RxJS: Back to a better error behavior. Thank you. <3");rp=t},get useDeprecatedSynchronousErrorHandling(){return rp}};function Fo(t){setTimeout(function(){throw t},0)}var pc={closed:!0,next:function(i){},error:function(i){if(wi.useDeprecatedSynchronousErrorHandling)throw i;Fo(i)},complete:function(){}},gc=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();function Cb(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var kt=function(t){function i(e,n,r){var a;switch(h(this,i),(a=Cb(this,i)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=pc;break;case 1:if(!e){a.destination=pc;break}if("object"==typeof e){e instanceof i?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(a)):(a.syncErrorThrowable=!0,a.destination=new kb(a,e));break}default:a.syncErrorThrowable=!0,a.destination=new kb(a,e,n,r)}return a}return k(i,t),f(i,[{key:gc,value:function(){return this}},{key:"next",value:function(n){this.isStopped||this._next(n)}},{key:"error",value:function(n){this.isStopped||(this.isStopped=!0,this._error(n))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,J(M(i.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(n){this.destination.next(n)}},{key:"_error",value:function(n){this.destination.error(n),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var n=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}],[{key:"create",value:function(n,r,a){var o=new i(n,r,a);return o.syncErrorThrowable=!1,o}}])}(be),kb=function(t){function i(e,n,r,a){var o;h(this,i),(o=Cb(this,i))._parentSubscriber=e;var s,l=o;return sl(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==pc&&(sl((l=Object.create(n)).unsubscribe)&&o.add(l.unsubscribe.bind(l)),l.unsubscribe=o.unsubscribe.bind(o))),o._context=l,o._next=s,o._error=r,o._complete=a,o}return k(i,t),f(i,[{key:"next",value:function(n){if(!this.isStopped&&this._next){var r=this._parentSubscriber;wi.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable?this.__tryOrSetError(r,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}},{key:"error",value:function(n){if(!this.isStopped){var r=this._parentSubscriber,a=wi.useDeprecatedSynchronousErrorHandling;if(this._error)a&&r.syncErrorThrowable?(this.__tryOrSetError(r,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(r.syncErrorThrowable)a?(r.syncErrorValue=n,r.syncErrorThrown=!0):Fo(n),this.unsubscribe();else{if(this.unsubscribe(),a)throw n;Fo(n)}}}},{key:"complete",value:function(){var n=this;if(!this.isStopped){var r=this._parentSubscriber;if(this._complete){var a=function(){return n._complete.call(n._context)};wi.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable?(this.__tryOrSetError(r,a),this.unsubscribe()):(this.__tryOrUnsub(a),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(n,r){try{n.call(this._context,r)}catch(a){if(this.unsubscribe(),wi.useDeprecatedSynchronousErrorHandling)throw a;Fo(a)}}},{key:"__tryOrSetError",value:function(n,r,a){if(!wi.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,a)}catch(o){return wi.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=o,n.syncErrorThrown=!0,!0):(Fo(o),!0)}return!1}},{key:"_unsubscribe",value:function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}])}(kt),ll=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function wb(t){return t}function Mb(t){return 0===t.length?wb:1===t.length?t[0]:function(e){return t.reduce(function(n,r){return r(n)},e)}}var Ze=function(){var t=function(){function i(e){h(this,i),this._isScalar=!1,e&&(this._subscribe=e)}return f(i,[{key:"lift",value:function(n){var r=new i;return r.source=this,r.operator=n,r}},{key:"subscribe",value:function(n,r,a){var o=this.operator,s=function(t,i,e){if(t){if(t instanceof kt)return t;if(t[gc])return t[gc]()}return t||i||e?new kt(t,i,e):new kt(pc)}(n,r,a);if(s.add(o?o.call(s,this.source):this.source||wi.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),wi.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(n){try{return this._subscribe(n)}catch(r){wi.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(t){for(;t;){var n=t.destination;if(t.closed||t.isStopped)return!1;t=n&&n instanceof kt?n:null}return!0}(n)?n.error(r):console.warn(r)}}},{key:"forEach",value:function(n,r){var a=this;return new(r=Sb(r))(function(o,s){var l;l=a.subscribe(function(u){try{n(u)}catch(c){s(c),l&&l.unsubscribe()}},s,o)})}},{key:"_subscribe",value:function(n){var r=this.source;return r&&r.subscribe(n)}},{key:ll,value:function(){return this}},{key:"pipe",value:function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return 0===r.length?this:Mb(r)(this)}},{key:"toPromise",value:function(n){var r=this;return new(n=Sb(n))(function(a,o){var s;r.subscribe(function(l){return s=l},function(l){return o(l)},function(){return a(s)})})}}])}();return t.create=function(i){return new t(i)},t}();function Sb(t){if(t||(t=wi.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var Fa=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),Db=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,[],M(t).constructor):i.apply(t,e))}(this,i),r.subject=e,r.subscriber=n,r.closed=!1,r}return k(i,t),f(i,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var n=this.subject,r=n.observers;if(this.subject=null,r&&0!==r.length&&!n.isStopped&&!n.closed){var a=r.indexOf(this.subscriber);-1!==a&&r.splice(a,1)}}}}])}(be);function ap(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Eb=function(t){function i(e){var n;return h(this,i),(n=ap(this,i,[e])).destination=e,n}return k(i,t),f(i)}(kt),$=function(){var t=function(i){function e(){var n;return h(this,e),(n=ap(this,e)).observers=[],n.closed=!1,n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return k(e,i),f(e,[{key:gc,value:function(){return new Eb(this)}},{key:"lift",value:function(r){var a=new Ab(this,this);return a.operator=r,a}},{key:"next",value:function(r){if(this.closed)throw new Fa;if(!this.isStopped)for(var a=this.observers,o=a.length,s=a.slice(),l=0;l<o;l++)s[l].next(r)}},{key:"error",value:function(r){if(this.closed)throw new Fa;this.hasError=!0,this.thrownError=r,this.isStopped=!0;for(var a=this.observers,o=a.length,s=a.slice(),l=0;l<o;l++)s[l].error(r);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new Fa;this.isStopped=!0;for(var r=this.observers,a=r.length,o=r.slice(),s=0;s<a;s++)o[s].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(r){if(this.closed)throw new Fa;return J(M(e.prototype),"_trySubscribe",this).call(this,r)}},{key:"_subscribe",value:function(r){if(this.closed)throw new Fa;return this.hasError?(r.error(this.thrownError),be.EMPTY):this.isStopped?(r.complete(),be.EMPTY):(this.observers.push(r),new Db(this,r))}},{key:"asObservable",value:function(){var r=new Ze;return r.source=this,r}}])}(Ze);return t.create=function(i,e){return new Ab(i,e)},t}(),Ab=function(t){function i(e,n){var r;return h(this,i),(r=ap(this,i)).destination=e,r.source=n,r}return k(i,t),f(i,[{key:"next",value:function(n){var r=this.destination;r&&r.next&&r.next(n)}},{key:"error",value:function(n){var r=this.destination;r&&r.error&&this.destination.error(n)}},{key:"complete",value:function(){var n=this.destination;n&&n.complete&&this.destination.complete()}},{key:"_subscribe",value:function(n){return this.source?this.source.subscribe(n):be.EMPTY}}])}($);function Po(t){return t&&"function"==typeof t.schedule}function dt(t,i){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new jR(t,i))}}var jR=function(){return f(function t(i,e){h(this,t),this.project=i,this.thisArg=e},[{key:"call",value:function(e,n){return n.subscribe(new zR(e,this.project,this.thisArg))}}])}(),zR=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.project=n,a.count=0,a.thisArg=r||a,a}return k(i,t),f(i,[{key:"_next",value:function(n){var r;try{r=this.project.call(this.thisArg,n,this.count++)}catch(a){return void this.destination.error(a)}this.destination.next(r)}}])}(kt),xb=function(i){return function(e){for(var n=0,r=i.length;n<r&&!e.closed;n++)e.next(i[n]);e.complete()}};function YR(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var mc=YR(),Tb=function(i){return i&&"number"==typeof i.length&&"function"!=typeof i};function Ib(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var op=function(i){if(i&&"function"==typeof i[ll])return function(i){return function(e){var n=i[ll]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}(i);if(Tb(i))return xb(i);if(Ib(i))return function(i){return function(e){return i.then(function(n){e.closed||(e.next(n),e.complete())},function(n){return e.error(n)}).then(null,Fo),e}}(i);if(i&&"function"==typeof i[mc])return function(i){return function(e){for(var n=i[mc]();;){var r=void 0;try{r=n.next()}catch(a){return e.error(a),e}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}}(i);var e=ip(i)?"an invalid object":"'".concat(i,"'"),n="You provided ".concat(e," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(n)};function sp(t,i){return new Ze(function(e){var n=new be,r=0;return n.add(i.schedule(function(){r!==t.length?(e.next(t[r++]),e.closed||n.add(this.schedule())):e.complete()})),n})}function No(t,i){return i?function(t,i){if(null!=t){if(function(t){return t&&"function"==typeof t[ll]}(t))return function(t,i){return new Ze(function(e){var n=new be;return n.add(i.schedule(function(){var r=t[ll]();n.add(r.subscribe({next:function(o){n.add(i.schedule(function(){return e.next(o)}))},error:function(o){n.add(i.schedule(function(){return e.error(o)}))},complete:function(){n.add(i.schedule(function(){return e.complete()}))}}))})),n})}(t,i);if(Ib(t))return function(t,i){return new Ze(function(e){var n=new be;return n.add(i.schedule(function(){return t.then(function(r){n.add(i.schedule(function(){e.next(r),n.add(i.schedule(function(){return e.complete()}))}))},function(r){n.add(i.schedule(function(){return e.error(r)}))})})),n})}(t,i);if(Tb(t))return sp(t,i);if(function(t){return t&&"function"==typeof t[mc]}(t)||"string"==typeof t)return function(t,i){if(!t)throw new Error("Iterable cannot be null");return new Ze(function(e){var r,n=new be;return n.add(function(){r&&"function"==typeof r.return&&r.return()}),n.add(i.schedule(function(){r=t[mc](),n.add(i.schedule(function(){if(!e.closed){var a,o;try{var s=r.next();a=s.value,o=s.done}catch(l){return void e.error(l)}o?e.complete():(e.next(a),this.schedule())}}))})),n})}(t,i)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,i):t instanceof Ze?t:new Ze(op(t))}function Rb(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var ul=function(t){function i(e){var n;return h(this,i),(n=Rb(this,i)).parent=e,n}return k(i,t),f(i,[{key:"_next",value:function(n){this.parent.notifyNext(n)}},{key:"_error",value:function(n){this.parent.notifyError(n),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}])}(kt),cl=function(t){function i(){return h(this,i),Rb(this,i,arguments)}return k(i,t),f(i,[{key:"notifyNext",value:function(n){this.destination.next(n)}},{key:"notifyError",value:function(n){this.destination.error(n)}},{key:"notifyComplete",value:function(){this.destination.complete()}}])}(kt);function dl(t,i){if(!i.closed){if(t instanceof Ze)return t.subscribe(i);var e;try{e=op(t)(i)}catch(n){i.error(n)}return e}}function tO(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function lp(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(n){return n.pipe(lp(function(r,a){return No(t(r,a)).pipe(dt(function(o,s){return i(r,o,a,s)}))},e))}:("number"==typeof i&&(e=i),function(n){return n.lift(new nO(t,e))})}var nO=function(){return f(function t(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;h(this,t),this.project=i,this.concurrent=e},[{key:"call",value:function(e,n){return n.subscribe(new iO(e,this.project,this.concurrent))}}])}(),iO=function(t){function i(e,n){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return h(this,i),(r=tO(this,i,[e])).project=n,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return k(i,t),f(i,[{key:"_next",value:function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)}},{key:"_tryNext",value:function(n){var r,a=this.index++;try{r=this.project(n,a)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(r)}},{key:"_innerSub",value:function(n){var r=new ul(this),a=this.destination;a.add(r);var o=dl(n,r);o!==r&&a.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(n){this.destination.next(n)}},{key:"notifyComplete",value:function(){var n=this.buffer;this.active--,n.length>0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}])}(cl);function Ob(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return lp(wb,t)}function up(t,i){return i?sp(t,i):new Ze(xb(t))}function $e(){for(var t=Number.POSITIVE_INFINITY,i=null,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=n[n.length-1];return Po(a)?(i=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof a&&(t=n.pop()),null===i&&1===n.length&&n[0]instanceof Ze?n[0]:Ob(t)(up(n,i))}function Fb(){return function(i){return i.lift(new aO(i))}}var aO=function(){return f(function t(i){h(this,t),this.connectable=i},[{key:"call",value:function(e,n){var r=this.connectable;r._refCount++;var a=new oO(e,r),o=n.subscribe(a);return a.closed||(a.connection=r.connect()),o}}])}(),oO=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.connectable=n,r}return k(i,t),f(i,[{key:"_unsubscribe",value:function(){var n=this.connectable;if(n){this.connectable=null;var r=n._refCount;if(r<=0)this.connection=null;else if(n._refCount=r-1,r>1)this.connection=null;else{var a=this.connection,o=n._connection;this.connection=null,o&&(!a||o===a)&&o.unsubscribe()}}else this.connection=null}}])}(kt);function cp(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var sO=function(t){function i(e,n){var r;return h(this,i),(r=cp(this,i)).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return k(i,t),f(i,[{key:"_subscribe",value:function(n){return this.getSubject().subscribe(n)}},{key:"getSubject",value:function(){var n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var n=this._connection;return n||(this._isComplete=!1,(n=this._connection=new be).add(this.source.subscribe(new uO(this.getSubject(),this))),n.closed&&(this._connection=null,n=be.EMPTY)),n}},{key:"refCount",value:function(){return Fb()(this)}}])}(Ze),lO=function(){var t=sO.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),uO=function(t){function i(e,n){var r;return h(this,i),(r=cp(this,i,[e])).connectable=n,r}return k(i,t),f(i,[{key:"_error",value:function(n){this._unsubscribe(),J(M(i.prototype),"_error",this).call(this,n)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),J(M(i.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var n=this.connectable;if(n){this.connectable=null;var r=n._connection;n._refCount=0,n._subject=null,n._connection=null,r&&r.unsubscribe()}}}])}(Eb);function fO(){return new $}function Pb(){return function(t){return Fb()(function(t,i){return function(n){var r;r="function"==typeof t?t:function(){return t};var a=Object.create(n,lO);return a.source=n,a.subjectFactory=r,a}}(fO)(t))}}function on(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function et(t){for(var i in t)if(t[i]===et)return i;throw Error("Could not find renamed property on target object.")}function dp(t,i){for(var e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function Ve(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Ve).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var i=t.toString();if(null==i)return""+i;var e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function fp(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}var hO=et({__forward_ref__:et});function Ee(t){return t.__forward_ref__=Ee,t.toString=function(){return Ve(this())},t}function _e(t){return Nb(t)?t():t}function Nb(t){return"function"==typeof t&&t.hasOwnProperty(hO)&&t.__forward_ref__===Ee}var $r=function(t){function i(e,n){var r;return h(this,i),(r=on(this,i,[hp(e,n)])).code=e,r}return k(i,t),f(i)}(np(Error));function hp(t,i){var e=t?"NG0".concat(t,": "):"";return"".concat(e).concat(i)}function xe(t){return"string"==typeof t?t:null==t?"":String(t)}function Sn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xe(t)}function vc(t,i){var e=i?" in ".concat(i):"";throw new $r("201","No provider for ".concat(Sn(t)," found").concat(e))}function Gn(t,i){null==t&&function(t,i,e,n){throw new Error("ASSERTION ERROR: ".concat(t)+(null==n?"":" [Expected=> ".concat(e," ").concat(n," ").concat(i," <=Actual]")))}(i,t,null,"!=")}function U(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function Xr(t){return Lb(t,_c)||Lb(t,Vb)}function Lb(t,i){return t.hasOwnProperty(i)?t[i]:null}function Bb(t){return t&&(t.hasOwnProperty(pp)||t.hasOwnProperty(bO))?t[pp]:null}var gp,_c=et({"\u0275prov":et}),pp=et({"\u0275inj":et}),Vb=et({ngInjectableDef:et}),bO=et({ngInjectorDef:et}),je=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}({});function CO(){return gp}function Jr(t){var i=gp;return gp=t,i}function Hb(t,i,e){var n=Xr(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&je.Optional?null:void 0!==i?i:void vc(Ve(t),"Injector")}function Zr(t){return{toString:t}.toString()}var fl=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Mi=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),kO="undefined"!=typeof globalThis&&globalThis,wO="undefined"!=typeof window&&window,MO="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,SO="undefined"!=typeof global&&global,nt=kO||SO||wO||MO,Lo={},lt=[],yc=et({"\u0275cmp":et}),mp=et({"\u0275dir":et}),vp=et({"\u0275pipe":et}),Gb=et({"\u0275mod":et}),DO=et({"\u0275loc":et}),kr=et({"\u0275fac":et}),hl=et({__NG_ELEMENT_ID__:et}),EO=0;function ee(t){return Zr(function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===fl.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||lt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Mi.Emulated,id:"c",styles:t.styles||lt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,a=t.features,o=t.pipes;return n.id+=EO++,n.inputs=Wb(t.inputs,e),n.outputs=Wb(t.outputs),a&&a.forEach(function(s){return s(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(Ub)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(jb)}:null,n})}function Ub(t){return dn(t)||function(t){return t[mp]||null}(t)}function jb(t){return function(t){return t[vp]||null}(t)}var zb={};function ae(t){return Zr(function(){var i={type:t.type,bootstrap:t.bootstrap||lt,declarations:t.declarations||lt,imports:t.imports||lt,exports:t.exports||lt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(zb[t.id]=t.type),i})}function Wb(t,i){if(null==t)return Lo;var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),e[r]=n,i&&(i[r]=a)}return e}var E=ee;function Nn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function dn(t){return t[yc]||null}function ni(t,i){var e=t[Gb]||null;if(!e&&!0===i)throw new Error("Type ".concat(Ve(t)," does not have '\u0275mod' property."));return e}function er(t){return Array.isArray(t)&&"object"==typeof t[1]}function Di(t){return Array.isArray(t)&&!0===t[1]}function bp(t){return 0!=(8&t.flags)}function wc(t){return 2==(2&t.flags)}function Mc(t){return 1==(1&t.flags)}function Ei(t){return null!==t.template}function FO(t){return 0!=(512&t[2])}function Va(t,i){return t.hasOwnProperty(kr)?t[kr]:null}var qb=function(){return f(function t(i,e,n){h(this,t),this.previousValue=i,this.currentValue=e,this.firstChange=n},[{key:"isFirstChange",value:function(){return this.firstChange}}])}();function Te(){return Qb}function Qb(t){return t.type.prototype.ngOnChanges&&(t.setInput=BO),LO}function LO(){var t=$b(this),i=null==t?void 0:t.current;if(i){var e=t.previous;if(e===Lo)t.previous=i;else for(var n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function BO(t,i,e,n){var r=$b(t)||function(t,i){return t[Kb]=i}(t,{previous:Lo,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[e],l=o[s];a[s]=new qb(l&&l.currentValue,i,o===Lo),t[n]=i}Te.ngInherit=!0;var Kb="__ngSimpleChanges__";function $b(t){return t[Kb]||null}var Xb="http://www.w3.org/2000/svg",wp=void 0;function Mp(){return void 0!==wp?wp:"undefined"!=typeof document?document:void 0}function Bt(t){return!!t.listen}var Zb={createRenderer:function(i,e){return Mp()}};function jt(t){for(;Array.isArray(t);)t=t[0];return t}function Sc(t,i){return jt(i[t])}function jn(t,i){return jt(i[t.index])}function Sp(t,i){return t.data[i]}function Uo(t,i){return t[i]}function zn(t,i){var e=i[t];return er(e)?e:e[0]}function eC(t){return 4==(4&t[2])}function Dp(t){return 128==(128&t[2])}function ta(t,i){return null==i?null:t[i]}function tC(t){t[18]=0}function Ep(t,i){t[5]+=i;for(var e=t,n=t[3];null!==n&&(1===i&&1===e[5]||-1===i&&0===e[5]);)n[5]+=i,e=n,n=n[3]}var Se={lFrame:uC(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function nC(){return Se.bindingsEnabled}function Q(){return Se.lFrame.lView}function Qe(){return Se.lFrame.tView}function Ne(t){return Se.lFrame.contextLView=t,t[8]}function $t(){for(var t=iC();null!==t&&64===t.type;)t=t.parent;return t}function iC(){return Se.lFrame.currentTNode}function tr(t,i){var e=Se.lFrame;e.currentTNode=t,e.isParent=i}function Ap(){return Se.lFrame.isParent}function xp(){Se.lFrame.isParent=!1}function Dc(){return Se.isInCheckNoChangesMode}function Ec(t){Se.isInCheckNoChangesMode=t}function En(){var t=Se.lFrame,i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function nr(){return Se.lFrame.bindingIndex}function jo(){return Se.lFrame.bindingIndex++}function wr(t){var i=Se.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function eF(t,i){var e=Se.lFrame;e.bindingIndex=e.bindingRootIndex=t,Tp(i)}function Tp(t){Se.lFrame.currentDirectiveIndex=t}function Ip(t){var i=Se.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}function oC(){return Se.lFrame.currentQueryIndex}function Rp(t){Se.lFrame.currentQueryIndex=t}function nF(t){var i=t[1];return 2===i.type?i.declTNode:1===i.type?t[6]:null}function sC(t,i,e){if(e&je.SkipSelf){for(var n=i,r=t;!(null!==(n=n.parent)||e&je.Host||null===(n=nF(r))||(r=r[15],10&n.type)););if(null===n)return!1;i=n,t=r}var a=Se.lFrame=lC();return a.currentTNode=i,a.lView=t,!0}function Ac(t){var i=lC(),e=t[1];Se.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function lC(){var t=Se.lFrame,i=null===t?null:t.child;return null===i?uC(t):i}function uC(t){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=i),i}function cC(){var t=Se.lFrame;return Se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var dC=cC;function xc(){var t=cC();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function iF(t){var i=Se.lFrame.contextLView=function(t,i){for(;t>0;)i=i[15],t--;return i}(t,Se.lFrame.contextLView);return i[8]}function An(){return Se.lFrame.selectedIndex}function na(t){Se.lFrame.selectedIndex=t}function At(){var t=Se.lFrame;return Sp(t.tView,t.selectedIndex)}function nn(){Se.lFrame.currentNamespace=Xb}function Ha(){Se.lFrame.currentNamespace=null}function Tc(t,i){for(var e=i.directiveStart,n=i.directiveEnd;e<n;e++){var a=t.data[e].type.prototype,o=a.ngAfterContentInit,s=a.ngAfterContentChecked,l=a.ngAfterViewInit,u=a.ngAfterViewChecked,c=a.ngOnDestroy;o&&(t.contentHooks||(t.contentHooks=[])).push(-e,o),s&&((t.contentHooks||(t.contentHooks=[])).push(e,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(e,s)),l&&(t.viewHooks||(t.viewHooks=[])).push(-e,l),u&&((t.viewHooks||(t.viewHooks=[])).push(e,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(e,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(e,c)}}function Ic(t,i,e){fC(t,i,3,e)}function Rc(t,i,e,n){(3&t[2])===e&&fC(t,i,e,n)}function Op(t,i){var e=t[2];(3&e)===i&&(e&=2047,t[2]=e+=1)}function fC(t,i,e,n){for(var a=null!=n?n:-1,o=i.length-1,s=0,l=void 0!==n?65535&t[18]:0;l<o;l++)if("number"==typeof i[l+1]){if(s=i[l],null!=n&&s>=n)break}else i[l]<0&&(t[18]+=65536),(s<a||-1==a)&&(uF(t,e,i,l),t[18]=(4294901760&t[18])+l+2),l++}function uF(t,i,e,n){var r=e[n]<0,a=e[n+1],s=t[r?-e[n]:e[n]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===i){t[2]+=2048;try{a.call(s)}finally{}}}else try{a.call(s)}finally{}}var _l=f(function t(i,e,n){h(this,t),this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n});function Oc(t,i,e){for(var n=Bt(t),r=0;r<e.length;){var a=e[r];if("number"==typeof a){if(0!==a)break;r++;var o=e[r++],s=e[r++],l=e[r++];n?t.setAttribute(i,s,l,o):i.setAttributeNS(o,s,l)}else{var u=a,c=e[++r];Pp(u)?n&&t.setProperty(i,u,c):n?t.setAttribute(i,u,c):i.setAttribute(u,c),r++}}return r}function hC(t){return 3===t||4===t||6===t}function Pp(t){return 64===t.charCodeAt(0)}function Fc(t,i){if(null!==i&&0!==i.length)if(null===t||0===t.length)t=i.slice();else for(var e=-1,n=0;n<i.length;n++){var r=i[n];"number"==typeof r?e=r:0===e||pC(t,e,r,null,-1===e||2===e?i[++n]:null)}return t}function pC(t,i,e,n,r){var a=0,o=t.length;if(-1===i)o=-1;else for(;a<t.length;){var s=t[a++];if("number"==typeof s){if(s===i){o=-1;break}if(s>i){o=a-1;break}}}for(;a<t.length;){var l=t[a];if("number"==typeof l)break;if(l===e){if(null===n)return void(null!==r&&(t[a+1]=r));if(n===t[a+1])return void(t[a+2]=r)}a++,null!==n&&a++,null!==r&&a++}-1!==o&&(t.splice(o,0,i),a=o+1),t.splice(a++,0,e),null!==n&&t.splice(a++,0,n),null!==r&&t.splice(a++,0,r)}function gC(t){return-1!==t}function zo(t){return 32767&t}function Wo(t,i){for(var e=function(t){return t>>16}(t),n=i;e>0;)n=n[15],e--;return n}var Np=!0;function Pc(t){var i=Np;return Np=t,i}var mF=0;function bl(t,i){var e=Bp(t,i);if(-1!==e)return e;var n=i[1];n.firstCreatePass&&(t.injectorIndex=i.length,Lp(n.data,t),Lp(i,null),Lp(n.blueprint,null));var r=Nc(t,i),a=t.injectorIndex;if(gC(r))for(var o=zo(r),s=Wo(r,i),l=s[1].data,u=0;u<8;u++)i[a+u]=s[o+u]|l[o+u];return i[a+8]=r,a}function Lp(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Bp(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function Nc(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var e=0,n=null,r=i;null!==r;){var a=r[1],o=a.type;if(null===(n=2===o?a.declTNode:1===o?r[6]:null))return-1;if(e++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return-1}function Lc(t,i,e){!function(t,i,e){var n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty(hl)&&(n=e[hl]),null==n&&(n=e[hl]=mF++);var r=255&n;i.data[t+(r>>5)]|=1<<r}(t,i,e)}function _C(t,i,e){if(e&je.Optional)return t;vc(i,"NodeInjector")}function yC(t,i,e,n){if(e&je.Optional&&void 0===n&&(n=null),0==(e&(je.Self|je.Host))){var r=t[9],a=Jr(void 0);try{return r?r.get(i,n,e&je.Optional):Hb(i,n,e&je.Optional)}finally{Jr(a)}}return _C(n,i,e)}function bC(t,i,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=CF(e);if("function"==typeof a){if(!sC(i,t,n))return n&je.Host?_C(r,e,n):yC(i,e,n,r);try{var o=a(n);if(null!=o||n&je.Optional)return o;vc(e)}finally{dC()}}else if("number"==typeof a){var s=null,l=Bp(t,i),u=-1,c=n&je.Host?i[16][6]:null;for((-1===l||n&je.SkipSelf)&&(-1!==(u=-1===l?Nc(t,i):i[l+8])&&wC(n,!1)?(s=i[1],l=zo(u),i=Wo(u,i)):l=-1);-1!==l;){var d=i[1];if(kC(a,l,d.data)){var v=bF(l,i,e,s,n,c);if(v!==CC)return v}-1!==(u=i[l+8])&&wC(n,i[1].data[l+8]===c)&&kC(a,l,i)?(s=d,l=zo(u),i=Wo(u,i)):l=-1}}}return yC(i,e,n,r)}var CC={};function yF(){return new Yo($t(),Q())}function bF(t,i,e,n,r,a){var o=i[1],s=o.data[t+8],c=Bc(s,o,e,null==n?wc(s)&&Np:n!=o&&0!=(3&s.type),r&je.Host&&a===s);return null!==c?Cl(i,o,c,s):CC}function Bc(t,i,e,n,r){for(var a=t.providerIndexes,o=i.data,s=1048575&a,l=t.directiveStart,c=a>>20,v=r?s+c:t.directiveEnd,_=n?s:s+c;_<v;_++){var b=o[_];if(_<l&&e===b||_>=l&&b.type===e)return _}if(r){var C=o[l];if(C&&Ei(C)&&C.type===e)return l}return null}function Cl(t,i,e,n){var r=t[e],a=i.data;if(function(t){return t instanceof _l}(r)){var o=r;o.resolving&&function(t,i){throw new $r("200","Circular dependency in DI detected for ".concat(t).concat(""))}(Sn(a[e]));var s=Pc(o.canSeeViewProviders);o.resolving=!0;var l=o.injectImpl?Jr(o.injectImpl):null;sC(t,n,je.Default);try{r=t[e]=o.factory(void 0,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&function(t,i,e){var n=i.type.prototype,a=n.ngOnInit,o=n.ngDoCheck;if(n.ngOnChanges){var s=Qb(i);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}a&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,a),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,a[e],i)}finally{null!==l&&Jr(l),Pc(s),o.resolving=!1,dC()}}return r}function CF(t){if("string"==typeof t)return t.charCodeAt(0)||0;var i=t.hasOwnProperty(hl)?t[hl]:void 0;return"number"==typeof i?i>=0?255&i:yF:i}function kC(t,i,e){return!!(e[i+(t>>5)]&1<<t)}function wC(t,i){return!(t&je.Self||t&je.Host&&i)}var Yo=function(){return f(function t(i,e){h(this,t),this._tNode=i,this._lView=e},[{key:"get",value:function(e,n,r){return bC(this._tNode,this._lView,e,r,n)}}])}();function X(t){return Zr(function(){for(var i=t.prototype.constructor,e=i[kr]||Vp(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==n;){var a=r[kr]||Vp(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return function(o){return new o}})}function Vp(t){return Nb(t)?function(){var i=Vp(_e(t));return i&&i()}:Va(t)}function zt(t){return function(t,i){if("class"===i)return t.classes;if("style"===i)return t.styles;var e=t.attrs;if(e)for(var n=e.length,r=0;r<n;){var a=e[r];if(hC(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<n&&"string"==typeof e[r];)r++;else{if(a===i)return e[r+1];r+=2}}return null}($t(),t)}var Qo="__parameters__";function Ga(t,i,e){return Zr(function(){var n=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(i);function r(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if(this instanceof r)return n.apply(this,o),this;var l=ki(r,o);return u.annotation=l,u;function u(c,d,v){for(var _=c.hasOwnProperty(Qo)?c[Qo]:Object.defineProperty(c,Qo,{value:[]})[Qo];_.length<=v;)_.push(null);return(_[v]=_[v]||[]).push(l),c}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var V=function(){return f(function t(i,e){h(this,t),this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=U({token:this,providedIn:e.providedIn||"root",factory:e.factory}))},[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}])}(),Ml=Function;function ai(t,i){void 0===i&&(i=t);for(var e=0;e<t.length;e++){var n=t[e];Array.isArray(n)?(i===t&&(i=t.slice(0,e)),ai(n,i)):i!==t&&i.push(n)}return i}function ir(t,i){t.forEach(function(e){return Array.isArray(e)?ir(e,i):i(e)})}function Hc(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function Ua(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function ra(t,i){for(var e=[],n=0;n<t;n++)e.push(i);return e}function Wn(t,i,e){var n=$o(t,i);return n>=0?t[1|n]=e:function(t,i,e,n){var r=t.length;if(r==i)t.push(e,n);else if(1===r)t.push(n,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>i;)t[r]=t[r-2],r--;t[i]=e,t[i+1]=n}}(t,n=~n,i,e),n}function Gp(t,i){var e=$o(t,i);if(e>=0)return t[1|e]}function $o(t,i){return function(t,i,e){for(var n=0,r=t.length>>e;r!==n;){var a=n+(r-n>>1),o=t[a<<e];if(i===o)return a<<e;o>i?r=a:n=a+1}return~(r<<e)}(t,i,1)}var Dl={},jp="__NG_DI_FLAG__",Xo="ngTempTokenPath",PF=/\n/gm,zp="__source",Wp=et({provide:String,useValue:et}),El=void 0;function Uc(t){var i=El;return El=t,i}function BF(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.Default;if(void 0===El)throw new Error("inject() must be called from an injection context");return null===El?Hb(t,void 0,i):El.get(t,i&je.Optional?null:void 0,i)}function x(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.Default;return(CO()||BF)(_e(t),i)}var Jo=x;function ja(t){for(var i=[],e=0;e<t.length;e++){var n=_e(t[e]);if(Array.isArray(n)){if(0===n.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,a=je.Default,o=0;o<n.length;o++){var s=n[o],l=VF(s);"number"==typeof l?-1===l?r=s.token:a|=l:r=s}i.push(x(r,a))}else i.push(x(n))}return i}function Al(t,i){return t[jp]=i,t.prototype[jp]=i,t}function VF(t){return t[jp]}function HF(t,i,e,n){var r=t[Xo];throw i[zp]&&r.unshift(i[zp]),t.message=function(t,i,e){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=Ve(i);if(Array.isArray(i))r=i.map(Ve).join(" -> ");else if("object"==typeof i){var a=[];for(var o in i)if(i.hasOwnProperty(o)){var s=i[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Ve(s)))}r="{".concat(a.join(", "),"}")}return"".concat(e).concat(n?"("+n+")":"","[").concat(r,"]: ").concat(t.replace(PF,"\n  "))}("\n"+t.message,r,e,n),t.ngTokenPath=r,t[Xo]=null,t}var xl=Al(Ga("Inject",function(i){return{token:i}}),-1),Jt=Al(Ga("Optional"),8),Ln=Al(Ga("SkipSelf"),4),es=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),FC="__ngContext__";function hn(t,i){t[FC]=i}function Kp(t){var i=function(t){return t[FC]||null}(t);return i?Array.isArray(i)?i:i.lView:null}function Xp(t,i){return undefined(t,i)}function Rl(t){var i=t[3];return Di(i)?i[3]:i}function Jp(t){return GC(t[13])}function Zp(t){return GC(t[4])}function GC(t){for(;null!==t&&!Di(t);)t=t[4];return t}function ts(t,i,e,n,r){if(null!=n){var a,o=!1;Di(n)?a=n:er(n)&&(o=!0,n=n[0]);var s=jt(n);0===t&&null!==e?null==r?qC(i,e,s):za(i,e,s,r||null,!0):1===t&&null!==e?za(i,e,s,r||null,!0):2===t?function(t,i,e){var n=Wc(t,i);n&&function(t,i,e,n){Bt(t)?t.removeChild(i,e,n):i.removeChild(e)}(t,n,i,e)}(i,s,o):3===t&&i.destroyNode(s),null!=a&&function(t,i,e,n,r){var a=e[7];a!==jt(e)&&ts(i,t,n,a,r);for(var s=10;s<e.length;s++){var l=e[s];Ol(l[1],l,t,i,n,a)}}(i,t,a,e,r)}}function eg(t,i){return Bt(t)?t.createText(i):t.createTextNode(i)}function tg(t,i,e){return Bt(t)?t.createElement(i,e):null===e?t.createElement(i):t.createElementNS(e,i)}function jC(t,i){var e=t[9],n=e.indexOf(i),r=i[3];1024&i[2]&&(i[2]&=-1025,Ep(r,-1)),e.splice(n,1)}function ng(t,i){if(!(t.length<=10)){var e=10+i,n=t[e];if(n){var r=n[17];null!==r&&r!==t&&jC(r,n),i>0&&(t[e-1][4]=n[4]);var a=Ua(t,10+i);!function(t,i){Ol(t,i,i[11],2,null,null),i[0]=null,i[6]=null}(n[1],n);var o=a[19];null!==o&&o.detachView(a[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}}function zC(t,i){if(!(256&i[2])){var e=i[11];Bt(e)&&e.destroyNode&&Ol(t,i,e,3,null,null),function(t){var i=t[13];if(!i)return ig(t[1],t);for(;i;){var e=null;if(er(i))e=i[13];else{var n=i[10];n&&(e=n)}if(!e){for(;i&&!i[4]&&i!==t;)er(i)&&ig(i[1],i),i=i[3];null===i&&(i=t),er(i)&&ig(i[1],i),e=i&&i[4]}i=e}}(i)}}function ig(t,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function(t,i){var e;if(null!=t&&null!=(e=t.destroyHooks))for(var n=0;n<e.length;n+=2){var r=i[e[n]];if(!(r instanceof _l)){var a=e[n+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2){var s=r[a[o]],l=a[o+1];try{l.call(s)}finally{}}else try{a.call(r)}finally{}}}}(t,i),function(t,i){var e=t.cleanup,n=i[7],r=-1;if(null!==e)for(var a=0;a<e.length-1;a+=2)if("string"==typeof e[a]){var o=e[a+1],s="function"==typeof o?o(i):jt(i[o]),l=n[r=e[a+2]],u=e[a+3];"boolean"==typeof u?s.removeEventListener(e[a],l,u):u>=0?n[r=u]():n[r=-u].unsubscribe(),a+=2}else{var c=n[r=e[a+1]];e[a].call(c)}if(null!==n){for(var d=r+1;d<n.length;d++)(0,n[d])();i[7]=null}}(t,i),1===i[1].type&&Bt(i[11])&&i[11].destroy();var e=i[17];if(null!==e&&Di(i[3])){e!==i[3]&&jC(e,i);var n=i[19];null!==n&&n.detachView(t)}}}function WC(t,i,e){return function(t,i,e){for(var n=i;null!==n&&40&n.type;)n=(i=n).parent;if(null===n)return e[0];if(2&n.flags){var r=t.data[n.directiveStart].encapsulation;if(r===Mi.None||r===Mi.Emulated)return null}return jn(n,e)}(t,i.parent,e)}function za(t,i,e,n,r){Bt(t)?t.insertBefore(i,e,n,r):i.insertBefore(e,n,r)}function qC(t,i,e){Bt(t)?t.appendChild(i,e):i.appendChild(e)}function QC(t,i,e,n,r){null!==n?za(t,i,e,n,r):qC(t,i,e)}function Wc(t,i){return Bt(t)?t.parentNode(i):i.parentNode}function KC(t,i,e){return XC(t,i,e)}var Qc,Kc,XC=function(t,i,e){return 40&t.type?jn(t,e):null};function Yc(t,i,e,n){var r=WC(t,n,i),a=i[11],s=KC(n.parent||i[6],n,i);if(null!=r)if(Array.isArray(e))for(var l=0;l<e.length;l++)QC(a,r,e[l],s,!1);else QC(a,r,e,s,!1)}function qc(t,i){if(null!==i){var e=i.type;if(3&e)return jn(i,t);if(4&e)return ag(-1,t[i.index]);if(8&e){var n=i.child;if(null!==n)return qc(t,n);var r=t[i.index];return Di(r)?ag(-1,r):jt(r)}if(32&e)return Xp(i,t)()||jt(t[i.index]);var s=ZC(t,i);return null!==s?Array.isArray(s)?s[0]:qc(Rl(t[16]),s):qc(t,i.next)}return null}function ZC(t,i){return null!==i?t[16][6].projection[i.projection]:null}function ag(t,i){var e=10+t+1;if(e<i.length){var n=i[e],r=n[1].firstChild;if(null!==r)return qc(n,r)}return i[7]}function sg(t,i,e,n,r,a,o){for(;null!=e;){var s=n[e.index],l=e.type;if(o&&0===i&&(s&&hn(jt(s),n),e.flags|=4),64!=(64&e.flags))if(8&l)sg(t,i,e.child,n,r,a,!1),ts(i,t,r,s,a);else if(32&l){for(var u=Xp(e,n),c=void 0;c=u();)ts(i,t,r,c,a);ts(i,t,r,s,a)}else 16&l?ek(t,i,n,e,r,a):ts(i,t,r,s,a);e=o?e.projectionNext:e.next}}function Ol(t,i,e,n,r,a){sg(e,n,t.firstChild,i,r,a,!1)}function _P(t,i,e){ek(i[11],0,i,e,WC(t,e,i),KC(e.parent||i[6],e,i))}function ek(t,i,e,n,r,a){var o=e[16],l=o[6].projection[n.projection];if(Array.isArray(l))for(var u=0;u<l.length;u++)ts(i,t,r,l[u],a);else sg(t,i,l,o[3],r,a,!0)}function tk(t,i,e){Bt(t)?t.setAttribute(i,"style",e):i.style.cssText=e}function lg(t,i,e){Bt(t)?""===e?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e):i.className=e}function Wa(t){var i;return(null===(i=function(){if(void 0===Qc&&(Qc=null,nt.trustedTypes))try{Qc=nt.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(t){}return Qc}())||void 0===i?void 0:i.createHTML(t))||t}function nk(t){var i;return(null===(i=function(){if(void 0===Kc&&(Kc=null,nt.trustedTypes))try{Kc=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(t){}return Kc}())||void 0===i?void 0:i.createHTML(t))||t}var Ya=function(){return f(function t(i){h(this,t),this.changingThisBreaksApplicationSecurity=i},[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}])}(),MP=function(t){function i(){return h(this,i),on(this,i,arguments)}return k(i,t),f(i,[{key:"getTypeName",value:function(){return"HTML"}}])}(Ya),SP=function(t){function i(){return h(this,i),on(this,i,arguments)}return k(i,t),f(i,[{key:"getTypeName",value:function(){return"Style"}}])}(Ya),DP=function(t){function i(){return h(this,i),on(this,i,arguments)}return k(i,t),f(i,[{key:"getTypeName",value:function(){return"Script"}}])}(Ya),EP=function(t){function i(){return h(this,i),on(this,i,arguments)}return k(i,t),f(i,[{key:"getTypeName",value:function(){return"URL"}}])}(Ya),AP=function(t){function i(){return h(this,i),on(this,i,arguments)}return k(i,t),f(i,[{key:"getTypeName",value:function(){return"ResourceURL"}}])}(Ya);function Yn(t){return t instanceof Ya?t.changingThisBreaksApplicationSecurity:t}function rr(t,i){var e=ak(t);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(e," (see https://g.co/ng/security#xss)"))}return e===i}function ak(t){return t instanceof Ya&&t.getTypeName()||null}var FP=function(){return f(function t(i){h(this,t),this.inertDocumentHelper=i},[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var n=(new window.DOMParser).parseFromString(Wa(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch(r){return null}}}])}(),PP=function(){return f(function t(i){if(h(this,t),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);var n=this.inertDocument.createElement("body");e.appendChild(n)}},[{key:"getInertBodyElement",value:function(e){var n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Wa(e),n;var r=this.inertDocument.createElement("body");return r.innerHTML=Wa(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}},{key:"stripCustomNsAttrs",value:function(e){for(var n=e.attributes,r=n.length-1;0<r;r--){var o=n.item(r).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&e.removeAttribute(o)}for(var s=e.firstChild;s;)s.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(s),s=s.nextSibling}}])}(),LP=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,BP=/^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 Fl(t){return(t=String(t)).match(LP)||t.match(BP)?t:"unsafe:"+t}function ar(t){var n,i={},e=ct(t.split(","));try{for(e.s();!(n=e.n()).done;)i[n.value]=!0}catch(a){e.e(a)}finally{e.f()}return i}function Pl(){for(var t={},i=arguments.length,e=new Array(i),n=0;n<i;n++)e[n]=arguments[n];for(var r=0,a=e;r<a.length;r++){var o=a[r];for(var s in o)o.hasOwnProperty(s)&&(t[s]=!0)}return t}var $c,lk=ar("area,br,col,hr,img,wbr"),uk=ar("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ck=ar("rp,rt"),VP=Pl(ck,uk),dg=Pl(lk,Pl(uk,ar("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")),Pl(ck,ar("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")),VP),fg=ar("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hg=ar("srcset"),dk=Pl(fg,hg,ar("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"),ar("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),zP=ar("script,style,template"),WP=function(){return f(function t(){h(this,t),this.sanitizedSomething=!1,this.buf=[]},[{key:"sanitizeChildren",value:function(e){for(var n=e.firstChild,r=!0;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);var a=this.checkClobberedElement(n,n.nextSibling);if(a){n=a;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t,n=e.nodeName.toLowerCase();if(!dg.hasOwnProperty(n))return this.sanitizedSomething=!0,!zP.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,a=0;a<r.length;a++){var o=r.item(a),s=o.name,l=s.toLowerCase();if(dk.hasOwnProperty(l)){var u=o.value;fg[l]&&(u=Fl(u)),hg[l]&&(t=u,u=(t=String(t)).split(",").map(function(i){return Fl(i.trim())}).join(", ")),this.buf.push(" ",s,'="',fk(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var n=e.nodeName.toLowerCase();dg.hasOwnProperty(n)&&!lk.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(fk(e))}},{key:"checkClobberedElement",value:function(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return n}}])}(),YP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qP=/([^\#-~ |!])/g;function fk(t){return t.replace(/&/g,"&amp;").replace(YP,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(qP,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function hk(t,i){var e=null;try{$c=$c||function(t){var i=new PP(t);return function(){try{return!!(new window.DOMParser).parseFromString(Wa(""),"text/html")}catch(t){return!1}}()?new FP(i):i}(t);var n=i?String(i):"";e=$c.getInertBodyElement(n);var r=5,a=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=$c.getInertBodyElement(n)}while(n!==a);return Wa((new WP).sanitizeChildren(pg(e)||e))}finally{if(e)for(var l=pg(e)||e;l.firstChild;)l.removeChild(l.firstChild)}}function pg(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var rn=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}({});function pk(t){var i=Nl();return i?nk(i.sanitize(rn.HTML,t)||""):rr(t,"HTML")?nk(Yn(t)):hk(Mp(),xe(t))}function I(t){var i=Nl();return i?i.sanitize(rn.URL,t)||"":rr(t,"URL")?Yn(t):Fl(xe(t))}function Nl(){var t=Q();return t&&t[12]}function Xc(t){return t.ngOriginalError}function rN(t){for(var i=arguments.length,e=new Array(i>1?i-1:0),n=1;n<i;n++)e[n-1]=arguments[n];t.error.apply(t,e)}var Ai=function(){return f(function t(){h(this,t),this._console=console},[{key:"handleError",value:function(e){var t,n=this._findOriginalError(e),r=this._findContext(e),a=(t=e)&&t.ngErrorLogger||rN;a(this._console,"ERROR",e),n&&a(this._console,"ORIGINAL ERROR",n),r&&a(this._console,"ERROR CONTEXT",r)}},{key:"_findContext",value:function(e){return e?e.ngDebugContext||this._findContext(Xc(e)):null}},{key:"_findOriginalError",value:function(e){for(var n=e&&Xc(e);n&&Xc(n);)n=Xc(n);return n||null}}])}(),Ck=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(nt)}();function kk(t){return t.ownerDocument}function or(t){return t instanceof Function?t():t}function Mk(t,i,e){for(var n=t.length;;){var r=t.indexOf(i,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=i.length;if(r+a===n||t.charCodeAt(r+a)<=32)return r}e=r+1}}var Sk="ng-template";function fN(t,i,e){for(var n=0;n<t.length;){var r=t[n++];if(e&&"class"===r){if(-1!==Mk((r=t[n]).toLowerCase(),i,0))return!0}else if(1===r){for(;n<t.length&&"string"==typeof(r=t[n++]);)if(r.toLowerCase()===i)return!0;return!1}}return!1}function Dk(t){return 4===t.type&&t.value!==Sk}function hN(t,i,e){return i===(4!==t.type||e?t.value:Sk)}function pN(t,i,e){for(var n=4,r=t.attrs||[],a=function(t){for(var i=0;i<t.length;i++)if(hC(t[i]))return i;return t.length}(r),o=!1,s=0;s<i.length;s++){var l=i[s];if("number"!=typeof l){if(!o)if(4&n){if(n=2|1&n,""!==l&&!hN(t,l,e)||""===l&&1===i.length){if(xi(n))return!1;o=!0}}else{var u=8&n?l:i[++s];if(8&n&&null!==t.attrs){if(!fN(t.attrs,u,e)){if(xi(n))return!1;o=!0}continue}var d=gN(8&n?"class":l,r,Dk(t),e);if(-1===d){if(xi(n))return!1;o=!0;continue}if(""!==u){var v;v=d>a?"":r[d+1].toLowerCase();var _=8&n?v:null;if(_&&-1!==Mk(_,u,0)||2&n&&u!==v){if(xi(n))return!1;o=!0}}}}else{if(!o&&!xi(n)&&!xi(l))return!1;if(o&&xi(l))continue;o=!1,n=l|1&n}}return xi(n)||o}function xi(t){return 0==(1&t)}function gN(t,i,e,n){if(null===i)return-1;var r=0;if(n||!e){for(var a=!1;r<i.length;){var o=i[r];if(o===t)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=i[++r];"string"==typeof s;)s=i[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function(t,i){var e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){var n=t[e];if("number"==typeof n)return-1;if(n===i)return e;e++}return-1}(i,t)}function Ek(t,i){for(var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=0;n<i.length;n++)if(pN(t,i[n],e))return!0;return!1}function yN(t,i){e:for(var e=0;e<i.length;e++){var n=i[e];if(t.length===n.length){for(var r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Ak(t,i){return t?":not("+i.trim()+")":i}function bN(t){for(var i=t[0],e=1,n=2,r="",a=!1;e<t.length;){var o=t[e];if("string"==typeof o)if(2&n){var s=t[++e];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""!==r&&!xi(o)&&(i+=Ak(a,r),r=""),n=o,a=a||!xi(n);e++}return""!==r&&(i+=Ak(a,r)),i}var Ae={};function y(t){xk(Qe(),Q(),An()+t,Dc())}function xk(t,i,e,n){if(!n)if(3==(3&i[2])){var a=t.preOrderCheckHooks;null!==a&&Ic(i,a,e)}else{var o=t.preOrderHooks;null!==o&&Rc(i,o,0,e)}na(e)}function Jc(t,i){return t<<17|i<<2}function Ti(t){return t>>17&32767}function mg(t){return 2|t}function Mr(t){return(131068&t)>>2}function vg(t,i){return-131069&t|i<<2}function _g(t){return 1|t}function Vk(t,i){var e=t.contentQueries;if(null!==e)for(var n=0;n<e.length;n+=2){var a=e[n+1];if(-1!==a){var o=t.data[a];Rp(e[n]),o.contentQueries(2,i[a],a)}}}function Ll(t,i,e,n,r,a,o,s,l,u){var c=i.blueprint.slice();return c[0]=r,c[2]=140|n,tC(c),c[3]=c[15]=t,c[8]=e,c[10]=o||t&&t[10],c[11]=s||t&&t[11],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=a,c[16]=2==i.type?t[16]:c,c}function is(t,i,e,n,r){var a=t.data[i];if(null===a)a=function(t,i,e,n,r){var a=iC(),o=Ap(),l=t.data[i]=function(t,i,e,n,r,a){return{type:e,index:n,insertBeforeIndex:null,injectorIndex:i?i.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?a:a&&a.parent,e,i,n,r);return null===t.firstChild&&(t.firstChild=l),null!==a&&(o?null==a.child&&null!==l.parent&&(a.child=l):null===a.next&&(a.next=l)),l}(t,i,e,n,r),Se.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=e,a.value=n,a.attrs=r;var o=function(){var t=Se.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}();a.injectorIndex=null===o?-1:o.injectorIndex}return tr(a,!0),a}function rs(t,i,e,n){if(0===e)return-1;for(var r=i.length,a=0;a<e;a++)i.push(n),t.blueprint.push(n),t.data.push(null);return r}function Bl(t,i,e){Ac(i);try{var n=t.viewQuery;null!==n&&Fg(1,n,e);var r=t.template;null!==r&&Hk(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Vk(t,i),t.staticViewQueries&&Fg(2,t.viewQuery,e);var a=t.components;null!==a&&function(t,i){for(var e=0;e<i.length;e++)e2(t,i[e])}(i,a)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),o}finally{i[2]&=-5,xc()}}function as(t,i,e,n){var r=i[2];if(256!=(256&r)){Ac(i);var a=Dc();try{tC(i),function(t){Se.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&Hk(t,i,e,2,n);var o=3==(3&r);if(!a)if(o){var s=t.preOrderCheckHooks;null!==s&&Ic(i,s,null)}else{var l=t.preOrderHooks;null!==l&&Rc(i,l,0,null),Op(i,0)}if(function(t){for(var i=Jp(t);null!==i;i=Zp(i))if(i[2])for(var e=i[9],n=0;n<e.length;n++){var r=e[n];0==(1024&r[2])&&Ep(r[3],1),r[2]|=1024}}(i),function(t){for(var i=Jp(t);null!==i;i=Zp(i))for(var e=10;e<i.length;e++){var n=i[e],r=n[1];Dp(n)&&as(r,n,r.template,n[8])}}(i),null!==t.contentQueries&&Vk(t,i),!a)if(o){var u=t.contentCheckHooks;null!==u&&Ic(i,u)}else{var c=t.contentHooks;null!==c&&Rc(i,c,1),Op(i,1)}!function(t,i){var e=t.hostBindingOpCodes;if(null!==e)try{for(var n=0;n<e.length;n++){var r=e[n];if(r<0)na(~r);else{var a=r,o=e[++n],s=e[++n];eF(o,a),s(2,i[a])}}}finally{na(-1)}}(t,i);var d=t.components;null!==d&&function(t,i){for(var e=0;e<i.length;e++)ZN(t,i[e])}(i,d);var v=t.viewQuery;if(null!==v&&Fg(2,v,n),!a)if(o){var _=t.viewCheckHooks;null!==_&&Ic(i,_)}else{var b=t.viewHooks;null!==b&&Rc(i,b,2),Op(i,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),a||(i[2]&=-73),1024&i[2]&&(i[2]&=-1025,Ep(i[3],-1))}finally{xc()}}}function FN(t,i,e,n){var r=i[10],a=!Dc(),o=eC(i);try{a&&!o&&r.begin&&r.begin(),o&&Bl(t,i,n),as(t,i,e,n)}finally{a&&!o&&r.end&&r.end()}}function Hk(t,i,e,n,r){var a=An(),o=2&n;try{na(-1),o&&i.length>20&&xk(t,i,20,Dc()),e(n,r)}finally{na(a)}}function Gk(t,i,e){if(bp(i))for(var r=i.directiveEnd,a=i.directiveStart;a<r;a++){var o=t.data[a];o.contentQueries&&o.contentQueries(1,e[a],a)}}function Dg(t,i,e){!nC()||(function(t,i,e,n){var r=e.directiveStart,a=e.directiveEnd;t.firstCreatePass||bl(e,i),hn(n,i);for(var o=e.initialInputs,s=r;s<a;s++){var l=t.data[s],u=Ei(l);u&&QN(i,e,l);var c=Cl(i,t,s,e);hn(c,i),null!==o&&KN(0,s-r,c,l,0,o),u&&(zn(e.index,i)[8]=c)}}(t,i,e,jn(e,i)),128==(128&e.flags)&&function(t,i,e){var n=e.directiveStart,r=e.directiveEnd,o=e.index,s=Se.lFrame.currentDirectiveIndex;try{na(o);for(var l=n;l<r;l++){var u=t.data[l],c=i[l];Tp(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Kk(u,c)}}finally{na(-1),Tp(s)}}(t,i,e))}function Eg(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:jn,n=i.localNames;if(null!==n)for(var r=i.index+1,a=0;a<n.length;a+=2){var o=n[a+1],s=-1===o?e(i,t):t[o];t[r++]=s}}function Uk(t){var i=t.tView;return null===i||i.incompleteFirstPass?t.tView=td(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):i}function td(t,i,e,n,r,a,o,s,l,u){var c=20+n,d=c+r,v=function(t,i){for(var e=[],n=0;n<i;n++)e.push(n<t?null:Ae);return e}(c,d),_="function"==typeof u?u():u;return v[1]={type:t,blueprint:v,template:e,queries:null,viewQuery:s,declTNode:i,data:v.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:_,incompleteFirstPass:!1}}function Wk(t,i,e,n){var r=tw(i);null===e?r.push(n):(r.push(e),t.firstCreatePass&&nw(t).push(n,r.length-1))}function Yk(t,i,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];(e=null===e?{}:e).hasOwnProperty(n)?e[n].push(i,r):e[n]=[i,r]}return e}function qn(t,i,e,n,r,a,o,s){var c,l=jn(i,e),u=i.inputs;!s&&null!=u&&(c=u[n])?(aw(t,e,c,n,r),wc(i)&&function(t,i){var e=zn(i,t);16&e[2]||(e[2]|=64)}(e,i.index)):3&i.type&&(n=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n),r=null!=o?o(r,i.value||"",n):r,Bt(a)?a.setProperty(l,n,r):Pp(n)||(l.setProperty?l.setProperty(n,r):l[n]=r))}function Ag(t,i,e,n){var r=!1;if(nC()){var a=function(t,i,e){var n=t.directiveRegistry,r=null;if(n)for(var a=0;a<n.length;a++){var o=n[a];Ek(e,o.selectors,!1)&&(r||(r=[]),Lc(bl(e,i),t,o.type),Ei(o)?($k(t,e),r.unshift(o)):r.push(o))}return r}(t,i,e),o=null===n?null:{"":-1};if(null!==a){r=!0,Xk(e,t.data.length,a.length);for(var s=0;s<a.length;s++){var l=a[s];l.providersResolver&&l.providersResolver(l)}for(var u=!1,c=!1,d=rs(t,i,a.length,null),v=0;v<a.length;v++){var _=a[v];e.mergedAttrs=Fc(e.mergedAttrs,_.hostAttrs),Jk(t,e,i,d,_),qN(d,_,o),null!==_.contentQueries&&(e.flags|=8),(null!==_.hostBindings||null!==_.hostAttrs||0!==_.hostVars)&&(e.flags|=128);var b=_.type.prototype;!u&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e.index),u=!0),!c&&(b.ngOnChanges||b.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e.index),c=!0),d++}!function(t,i){for(var n=i.directiveEnd,r=t.data,a=i.attrs,o=[],s=null,l=null,u=i.directiveStart;u<n;u++){var c=r[u],d=c.inputs,v=null===a||Dk(i)?null:$N(d,a);o.push(v),s=Yk(d,u,s),l=Yk(c.outputs,u,l)}null!==s&&(s.hasOwnProperty("class")&&(i.flags|=16),s.hasOwnProperty("style")&&(i.flags|=32)),i.initialInputs=o,i.inputs=s,i.outputs=l}(t,e)}o&&function(t,i,e){if(i)for(var n=t.localNames=[],r=0;r<i.length;r+=2){var a=e[i[r+1]];if(null==a)throw new $r("301","Export of name '".concat(i[r+1],"' not found!"));n.push(i[r],a)}}(e,n,o)}return e.mergedAttrs=Fc(e.mergedAttrs,e.attrs),r}function Qk(t,i,e,n,r,a){var o=a.hostBindings;if(o){var s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);var l=~i.index;(function(t){for(var i=t.length;i>0;){var e=t[--i];if("number"==typeof e&&e<0)return e}return 0})(s)!=l&&s.push(l),s.push(n,r,o)}}function Kk(t,i){null!==t.hostBindings&&t.hostBindings(1,i)}function $k(t,i){i.flags|=2,(t.components||(t.components=[])).push(i.index)}function qN(t,i,e){if(e){if(i.exportAs)for(var n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;Ei(i)&&(e[""]=t)}}function Xk(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}function Jk(t,i,e,n,r){t.data[n]=r;var a=r.factory||(r.factory=Va(r.type)),o=new _l(a,Ei(r),null);t.blueprint[n]=o,e[n]=o,Qk(t,i,0,n,rs(t,e,r.hostVars,Ae),r)}function QN(t,i,e){var n=jn(i,t),r=Uk(e),a=t[10],o=nd(t,Ll(t,r,null,e.onPush?64:16,n,i,a,a.createRenderer(n,e),null,null));t[i.index]=o}function sr(t,i,e,n,r,a){var o=jn(t,i);!function(t,i,e,n,r,a,o){if(null==a)Bt(t)?t.removeAttribute(i,r,e):i.removeAttribute(r);else{var s=null==o?xe(a):o(a,n||"",r);Bt(t)?t.setAttribute(i,r,s,e):e?i.setAttributeNS(e,r,s):i.setAttribute(r,s)}}(i[11],o,a,t.value,e,n,r)}function KN(t,i,e,n,r,a){var o=a[i];if(null!==o)for(var s=n.setInput,l=0;l<o.length;){var u=o[l++],c=o[l++],d=o[l++];null!==s?n.setInput(e,d,u,c):e[c]=d}}function $N(t,i){for(var e=null,n=0;n<i.length;){var r=i[n];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===e&&(e=[]),e.push(r,t[r],i[n+1])),n+=2}else n+=2;else n+=4}return e}function Zk(t,i,e,n){return new Array(t,!0,!1,i,null,0,n,e,null,null)}function ZN(t,i){var e=zn(i,t);if(Dp(e)){var n=e[1];80&e[2]?as(n,e,n.template,e[8]):e[5]>0&&Tg(e)}}function Tg(t){for(var i=Jp(t);null!==i;i=Zp(i))for(var e=10;e<i.length;e++){var n=i[e];if(1024&n[2]){var r=n[1];as(r,n,r.template,n[8])}else n[5]>0&&Tg(n)}var o=t[1].components;if(null!==o)for(var s=0;s<o.length;s++){var l=zn(o[s],t);Dp(l)&&l[5]>0&&Tg(l)}}function e2(t,i){var e=zn(i,t),n=e[1];(function(t,i){for(var e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])})(n,e),Bl(n,e,e[8])}function nd(t,i){return t[13]?t[14][4]=i:t[13]=i,t[14]=i,i}function Ig(t){for(;t;){t[2]|=64;var i=Rl(t);if(FO(t)&&!i)return t;t=i}return null}function Og(t,i,e){var n=i[10];n.begin&&n.begin();try{as(t,i,t.template,e)}catch(r){throw rw(i,r),r}finally{n.end&&n.end()}}function ew(t){!function(t){for(var i=0;i<t.components.length;i++){var e=t.components[i],n=Kp(e),r=n[1];FN(r,n,r.template,e)}}(t[8])}function Fg(t,i,e){Rp(0),i(t,e)}var o2=function(){return Promise.resolve(null)}();function tw(t){return t[7]||(t[7]=[])}function nw(t){return t.cleanup||(t.cleanup=[])}function iw(t,i,e){return(null===t||Ei(t))&&(e=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[i.index])),e[11]}function rw(t,i){var e=t[9],n=e?e.get(Ai,null):null;n&&n.handleError(i)}function aw(t,i,e,n,r){for(var a=0;a<e.length;){var o=e[a++],s=e[a++],l=i[o],u=t.data[o];null!==u.setInput?u.setInput(l,r,n,s):l[s]=r}}function Dr(t,i,e){var n=Sc(i,t);!function(t,i,e){Bt(t)?t.setValue(i,e):i.textContent=e}(t[11],n,e)}function id(t,i,e){var n=e?t.styles:null,r=e?t.classes:null,a=0;if(null!==i)for(var o=0;o<i.length;o++){var s=i[o];"number"==typeof s?a=s:1==a?r=fp(r,s):2==a&&(n=fp(n,s+": "+i[++o]+";"))}e?t.styles=n:t.stylesWithoutHost=n,e?t.classes=r:t.classesWithoutHost=r}var rd=new V("INJECTOR",-1),ow=function(){return f(function t(){h(this,t)},[{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dl;if(n===Dl){var r=new Error("NullInjectorError: No provider for ".concat(Ve(e),"!"));throw r.name="NullInjectorError",r}return n}}])}(),Vl=new V("Set Injector scope."),Hl={},u2={},Pg=void 0;function sw(){return void 0===Pg&&(Pg=new ow),Pg}function lw(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new d2(t,e,i||sw(),n)}var d2=function(){return f(function t(i,e,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;h(this,t),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];e&&ir(e,function(l){return r.processProvider(l,i,e)}),ir([i],function(l){return r.processInjectorType(l,[],o)}),this.records.set(rd,os(void 0,this));var s=this.records.get(Vl);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof i?null:Ve(i))},[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dl,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je.Default;this.assertNotDestroyed();var a=Uc(this),o=Jr(void 0);try{if(!(r&je.SkipSelf)){var s=this.records.get(e);if(void 0===s){var l=y2(e)&&Xr(e);s=l&&this.injectableDefInScope(l)?os(Ng(e),Hl):null,this.records.set(e,s)}if(null!=s)return this.hydrate(e,s)}var u=r&je.Self?sw():this.parent;return u.get(e,n=r&je.Optional&&n===Dl?null:n)}catch(d){if("NullInjectorError"===d.name){var c=d[Xo]=d[Xo]||[];if(c.unshift(Ve(e)),a)throw d;return HF(d,e,"R3InjectorError",this.source)}throw d}finally{Jr(o),Uc(a)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(n){return e.get(n)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(r,a){return e.push(Ve(a))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,n,r){var a=this;if(!(e=_e(e)))return!1;var o=Bb(e),s=null==o&&e.ngModule||void 0,l=void 0===s?e:s,d=-1!==r.indexOf(l);if(void 0!==s&&(o=Bb(s)),null==o)return!1;if(null!=o.imports&&!d){var v;r.push(l);try{ir(o.imports,function(T){a.processInjectorType(T,n,r)&&(void 0===v&&(v=[]),v.push(T))})}finally{}if(void 0!==v)for(var _=function(){var N=v[b],z=N.ngModule,Y=N.providers;ir(Y,function(le){return a.processProvider(le,z,Y||lt)})},b=0;b<v.length;b++)_()}this.injectorDefTypes.add(l);var C=Va(l)||function(){return new l};this.records.set(l,os(C,Hl));var D=o.providers;if(null!=D&&!d){var A=e;ir(D,function(T){return a.processProvider(T,A,D)})}return void 0!==s&&void 0!==e.providers}},{key:"processProvider",value:function(e,n,r){var t,a=ss(e=_e(e))?e:_e(e&&e.provide),o=(t=e,cw(t)?os(void 0,t.useValue):os(uw(t),Hl));if(ss(e)||!0!==e.multi)this.records.get(a);else{var s=this.records.get(a);s||((s=os(void 0,Hl,!0)).factory=function(){return ja(s.multi)},this.records.set(a,s)),a=e,s.multi.push(e)}this.records.set(a,o)}},{key:"hydrate",value:function(e,n){return n.value===Hl&&(n.value=u2,n.value=n.factory()),"object"==typeof n.value&&n.value&&(null!==(t=n.value)&&"object"==typeof t&&"function"==typeof t.ngOnDestroy)&&this.onDestroy.add(n.value),n.value;var t}},{key:"injectableDefInScope",value:function(e){if(!e.providedIn)return!1;var n=_e(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}])}();function Ng(t){var i=Xr(t),e=null!==i?i.factory:Va(t);if(null!==e)return e;if(t instanceof V)throw new Error("Token ".concat(Ve(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var i=t.length;if(i>0){var e=ra(i,"?");throw new Error("Can't resolve all parameters for ".concat(Ve(t),": (").concat(e.join(", "),")."))}var n=function(t){var i=t&&(t[_c]||t[Vb]);if(i){var e=function(t){if(t.hasOwnProperty("name"))return t.name;var i=(""+t).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(e,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(e,'" class.')),i}return null}(t);return null!==n?function(){return n.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function uw(t,i,e){var n=void 0;if(ss(t)){var r=_e(t);return Va(r)||Ng(r)}if(cw(t))n=function(){return _e(t.useValue)};else if(function(t){return!(!t||!t.useFactory)}(t))n=function(){return t.useFactory.apply(t,we(ja(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))n=function(){return x(_e(t.useExisting))};else{var a=_e(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Va(a)||Ng(a);n=function(){return ki(a,we(ja(t.deps)))}}return n}function os(t,i){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:i,multi:e?[]:void 0}}function cw(t){return null!==t&&"object"==typeof t&&Wp in t}function ss(t){return"function"==typeof t}function y2(t){return"function"==typeof t||"object"==typeof t&&t instanceof V}var dw=function(t,i,e){return function(t){var r=lw(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return r._resolveInjectorDefTypes(),r}({name:e},i,t,e)},ot=function(){var t=function(){return f(function i(){h(this,i)},null,[{key:"create",value:function(n,r){return Array.isArray(n)?dw(n,r,""):dw(n.providers,n.parent,n.name||"")}}])}();return t.THROW_IF_NOT_FOUND=Dl,t.NULL=new ow,t.\u0275prov=U({token:t,providedIn:"any",factory:function(){return x(rd)}}),t.__NG_ELEMENT_ID__=-1,t}();function H2(t,i){Tc(Kp(t)[1],$t())}function R(t){for(var i=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0,n=[t];i;){var r=void 0;if(Ei(t))r=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Error("Directives cannot inherit Components");r=i.\u0275dir}if(r){if(e){n.push(r);var a=t;a.inputs=Hg(t.inputs),a.declaredInputs=Hg(t.declaredInputs),a.outputs=Hg(t.outputs);var o=r.hostBindings;o&&z2(t,o);var s=r.viewQuery,l=r.contentQueries;if(s&&U2(t,s),l&&j2(t,l),dp(t.inputs,r.inputs),dp(t.declaredInputs,r.declaredInputs),dp(t.outputs,r.outputs),Ei(r)&&r.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var d=0;d<c.length;d++){var v=c[d];v&&v.ngInherit&&v(t),v===R&&(e=!1)}}i=Object.getPrototypeOf(i)}!function(t){for(var i=0,e=null,n=t.length-1;n>=0;n--){var r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=Fc(r.hostAttrs,e=Fc(e,r.hostAttrs))}}(n)}function Hg(t){return t===Lo?{}:t===lt?[]:t}function U2(t,i){var e=t.viewQuery;t.viewQuery=e?function(n,r){i(n,r),e(n,r)}:i}function j2(t,i){var e=t.contentQueries;t.contentQueries=e?function(n,r,a){i(n,r,a),e(n,r,a)}:i}function z2(t,i){var e=t.hostBindings;t.hostBindings=e?function(n,r){i(n,r),e(n,r)}:i}var ad=null;function us(){if(!ad){var t=nt.Symbol;if(t&&t.iterator)ad=t.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),e=0;e<i.length;++e){var n=i[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ad=n)}}return ad}var qa=function(){function t(i){h(this,t),this.wrapped=i}return f(t,null,[{key:"wrap",value:function(e){return new t(e)}},{key:"unwrap",value:function(e){return t.isWrapped(e)?e.wrapped:e}},{key:"isWrapped",value:function(e){return e instanceof t}}])}();function Ul(t){return!!Gg(t)&&(Array.isArray(t)||!(t instanceof Map)&&us()in t)}function Gg(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function lr(t,i,e){return t[i]=e}function pn(t,i,e){return!Object.is(t[i],e)&&(t[i]=e,!0)}function Qa(t,i,e,n){var r=pn(t,i,e);return pn(t,i+1,n)||r}function Z(t,i,e,n){var r=Q();return pn(r,jo(),i)&&(Qe(),sr(At(),r,t,i,e,n)),Z}function ds(t,i,e,n){return pn(t,jo(),e)?i+xe(e)+n:Ae}function F(t,i,e,n,r,a,o,s){var l=Q(),u=Qe(),c=t+20,d=u.firstCreatePass?function(t,i,e,n,r,a,o,s,l){var u=i.consts,c=is(i,t,4,o||null,ta(u,s));Ag(i,e,c,ta(u,l)),Tc(i,c);var d=c.tViews=td(2,c,n,r,a,i.directiveRegistry,i.pipeRegistry,null,i.schemas,u);return null!==i.queries&&(i.queries.template(i,c),d.queries=i.queries.embeddedTView(c)),c}(c,u,l,i,e,n,r,a,o):u.data[c];tr(d,!1);var v=l[11].createComment("");Yc(u,l,v,d),hn(v,l),nd(l,l[c]=Zk(v,l,v,d)),Mc(d)&&Dg(u,l,d),null!=o&&Eg(l,d,s)}function m(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.Default,e=Q();if(null===e)return x(t,i);var n=$t();return bC(n,e,_e(t),i)}function S(t,i,e){var n=Q();return pn(n,jo(),i)&&qn(Qe(),At(),n,t,i,n[11],e,!1),S}function Wg(t,i,e,n,r){var o=r?"class":"style";aw(t,e,i.inputs[o],o,n)}function p(t,i,e,n){var r=Q(),a=Qe(),o=20+t,s=r[11],l=r[o]=tg(s,i,Se.lFrame.currentNamespace),u=a.firstCreatePass?function(t,i,e,n,r,a,o){var s=i.consts,u=is(i,t,2,r,ta(s,a));return Ag(i,e,u,ta(s,o)),null!==u.attrs&&id(u,u.attrs,!1),null!==u.mergedAttrs&&id(u,u.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,u),u}(o,a,r,0,i,e,n):a.data[o];tr(u,!0);var c=u.mergedAttrs;null!==c&&Oc(s,l,c);var d=u.classes;null!==d&&lg(s,l,d);var v=u.styles;null!==v&&tk(s,l,v),64!=(64&u.flags)&&Yc(a,r,l,u),0===Se.lFrame.elementDepthCount&&hn(l,r),Se.lFrame.elementDepthCount++,Mc(u)&&(Dg(a,r,u),Gk(a,u,r)),null!==n&&Eg(r,u)}function g(){var t=$t();Ap()?xp():tr(t=t.parent,!1);var i=t;Se.lFrame.elementDepthCount--;var e=Qe();e.firstCreatePass&&(Tc(e,t),bp(t)&&e.queries.elementEnd(t)),null!=i.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(i)&&Wg(e,i,Q(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(i)&&Wg(e,i,Q(),i.stylesWithoutHost,!1)}function H(t,i,e,n){p(t,i,e,n),g()}function Oi(t,i,e){var n=Q(),r=Qe(),a=t+20,o=r.firstCreatePass?function(t,i,e,n,r){var a=i.consts,o=ta(a,n),s=is(i,t,8,"ng-container",o);return null!==o&&id(s,o,!0),Ag(i,e,s,ta(a,r)),null!==i.queries&&i.queries.elementStart(i,s),s}(a,r,n,i,e):r.data[a];tr(o,!0);var s=n[a]=n[11].createComment("");Yc(r,n,s,o),hn(s,n),Mc(o)&&(Dg(r,n,o),Gk(r,o,n)),null!=e&&Eg(n,o)}function Fi(){var t=$t(),i=Qe();Ap()?xp():tr(t=t.parent,!1),i.firstCreatePass&&(Tc(i,t),bp(t)&&i.queries.elementEnd(t))}function ut(){return Q()}function sd(t){return!!t&&"function"==typeof t.then}function zw(t){return!!t&&"function"==typeof t.subscribe}var Yg=zw;function q(t,i,e,n){var r=Q(),a=Qe(),o=$t();return Ww(a,r,r[11],o,t,i,!!e,n),q}function Ka(t,i){var e=$t(),n=Q(),r=Qe();return Ww(r,n,iw(Ip(r.data),e,n),e,t,i,!1),Ka}function Ww(t,i,e,n,r,a,o,s){var l=Mc(n),c=t.firstCreatePass&&nw(t),d=i[8],v=tw(i),_=!0;if(3&n.type||s){var b=jn(n,i),C=s?s(b):b,D=v.length,A=s?function(Ci){return s(jt(Ci[n.index]))}:n.index;if(Bt(e)){var T=null;if(!s&&l&&(T=function(t,i,e,n){var r=t.cleanup;if(null!=r)for(var a=0;a<r.length-1;a+=2){var o=r[a];if(o===e&&r[a+1]===n){var s=i[7],l=r[a+2];return s.length>l?s[l]:null}"string"==typeof o&&(a+=2)}return null}(t,i,r,n.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=a,T.__ngLastListenerFn__=a,_=!1;else{a=qg(n,i,d,a,!1);var z=e.listen(C,r,a);v.push(a,z),c&&c.push(r,A,D,D+1)}}else a=qg(n,i,d,a,!0),C.addEventListener(r,a,o),v.push(a),c&&c.push(r,A,D,o)}else a=qg(n,i,d,a,!1);var le,Y=n.outputs;if(_&&null!==Y&&(le=Y[r])){var ye=le.length;if(ye)for(var Le=0;Le<ye;Le+=2){var bi=i[le[Le]][le[Le+1]].subscribe(a),cn=v.length;v.push(a,bi),c&&c.push(r,n.index,cn,-(cn+1))}}}function Yw(t,i,e,n){try{return!1!==e(n)}catch(r){return rw(t,r),!1}}function qg(t,i,e,n,r){return function a(o){if(o===Function)return n;var s=2&t.flags?zn(t.index,i):i;0==(32&i[2])&&Ig(s);for(var l=Yw(i,0,n,o),u=a.__ngNextListenerFn__;u;)l=Yw(i,0,u,o)&&l,u=u.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return iF(t)}function ML(t,i){for(var e=null,n=function(t){var i=t.attrs;if(null!=i){var e=i.indexOf(5);if(0==(1&e))return i[e+1]}return null}(t),r=0;r<i.length;r++){var a=i[r];if("*"!==a){if(null===n?Ek(t,a,!0):yN(n,a))return r}else e=r}return e}function Ce(t){var i=Q()[16][6];if(!i.projection)for(var n=i.projection=ra(t?t.length:1,null),r=n.slice(),a=i.child;null!==a;){var o=t?ML(a,t):0;null!==o&&(r[o]?r[o].projectionNext=a:n[o]=a,r[o]=a),a=a.next}}function se(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2?arguments[2]:void 0,n=Q(),r=Qe(),a=is(r,20+t,16,null,e||null);null===a.projection&&(a.projection=i),xp(),64!=(64&a.flags)&&_P(r,n,a)}function G(t,i,e){return ke(t,"",i,"",e),G}function ke(t,i,e,n,r){var a=Q(),o=ds(a,i,e,n);return o!==Ae&&qn(Qe(),At(),a,t,o,a[11],r,!1),ke}function Pe(t,i,e,n,r,a,o){var s=Q(),l=function(t,i,e,n,r,a){var s=Qa(t,nr(),e,r);return wr(2),s?i+xe(e)+n+xe(r)+a:Ae}(s,i,e,n,r,a);return l!==Ae&&qn(Qe(),At(),s,t,l,s[11],o,!1),Pe}function eM(t,i,e,n,r){for(var a=t[e+1],o=null===i,s=n?Ti(a):Mr(a),l=!1;0!==s&&(!1===l||o);){var c=t[s+1];EL(t[s],i)&&(l=!0,t[s+1]=n?_g(c):mg(c)),s=n?Ti(c):Mr(c)}l&&(t[e+1]=n?mg(a):_g(a))}function EL(t,i){return null===t||null==i||(Array.isArray(t)?t[1]:t)===i||!(!Array.isArray(t)||"string"!=typeof i)&&$o(t,i)>=0}var Zt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tM(t){return t.substring(Zt.key,Zt.keyEnd)}function nM(t,i){var e=Zt.textEnd;return e===i?-1:(i=Zt.keyEnd=function(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}(t,Zt.key=i,e),bs(t,i,e))}function bs(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function Dt(t,i,e){return Pi(t,i,e,!1),Dt}function re(t,i){return Pi(t,i,null,!0),re}function cr(t,i){for(var e=function(t){return function(t){Zt.key=0,Zt.keyEnd=0,Zt.value=0,Zt.valueEnd=0,Zt.textEnd=t.length}(t),nM(t,bs(t,0,Zt.textEnd))}(i);e>=0;e=nM(i,e))Wn(t,tM(i),!0)}function Pi(t,i,e,n){var r=Q(),a=Qe(),o=wr(2);a.firstUpdatePass&&lM(a,t,o,n),i!==Ae&&pn(r,o,i)&&cM(a,a.data[An()],r,r[11],t,r[o+1]=function(t,i){return null==t||("string"==typeof i?t+=i:"object"==typeof t&&(t=Ve(Yn(t)))),t}(i,e),n,o)}function sM(t,i){return i>=t.expandoStartIndex}function lM(t,i,e,n){var r=t.data;if(null===r[e+1]){var a=r[An()],o=sM(t,e);fM(a,n)&&null===i&&!o&&(i=!1),i=function(t,i,e,n){var r=Ip(t),a=n?i.residualClasses:i.residualStyles;if(null===r)0===(n?i.classBindings:i.styleBindings)&&(e=zl(e=Qg(null,t,i,e,n),i.attrs,n),a=null);else{var s=i.directiveStylingLast;if(-1===s||t[s]!==r)if(e=Qg(r,t,i,e,n),null===a){var u=function(t,i,e){var n=e?i.classBindings:i.styleBindings;if(0!==Mr(n))return t[Ti(n)]}(t,i,n);void 0!==u&&Array.isArray(u)&&function(t,i,e,n){t[Ti(e?i.classBindings:i.styleBindings)]=n}(t,i,n,u=zl(u=Qg(null,t,i,u[1],n),i.attrs,n))}else a=function(t,i,e){for(var n=void 0,r=i.directiveEnd,a=1+i.directiveStylingLast;a<r;a++)n=zl(n,t[a].hostAttrs,e);return zl(n,i.attrs,e)}(t,i,n)}return void 0!==a&&(n?i.residualClasses=a:i.residualStyles=a),e}(r,a,i,n),function(t,i,e,n,r,a){var o=a?i.classBindings:i.styleBindings,s=Ti(o),l=Mr(o);t[n]=e;var c,u=!1;if(Array.isArray(e)?(null===(c=e[1])||$o(e,c)>0)&&(u=!0):c=e,r)if(0!==l){var _=Ti(t[s+1]);t[n+1]=Jc(_,s),0!==_&&(t[_+1]=vg(t[_+1],n)),t[s+1]=function(t,i){return 131071&t|i<<17}(t[s+1],n)}else t[n+1]=Jc(s,0),0!==s&&(t[s+1]=vg(t[s+1],n)),s=n;else t[n+1]=Jc(l,0),0===s?s=n:t[l+1]=vg(t[l+1],n),l=n;u&&(t[n+1]=mg(t[n+1])),eM(t,c,n,!0),eM(t,c,n,!1),function(t,i,e,n,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof i&&$o(a,i)>=0&&(e[n+1]=_g(e[n+1]))}(i,c,t,n,a),o=Jc(s,l),a?i.classBindings=o:i.styleBindings=o}(r,a,i,e,o,n)}}function Qg(t,i,e,n,r){var a=null,o=e.directiveEnd,s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s<o&&(n=zl(n,(a=i[s]).hostAttrs,r),a!==t);)s++;return null!==t&&(e.directiveStylingLast=s),n}function zl(t,i,e){var n=e?1:2,r=-1;if(null!==i)for(var a=0;a<i.length;a++){var o=i[a];"number"==typeof o?r=o:r===n&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Wn(t,o,!!e||i[++a]))}return void 0===t?null:t}function cM(t,i,e,n,r,a,o,s){if(3&i.type){var l=t.data,u=l[s+1];ld(function(t){return 1==(1&t)}(u)?dM(l,i,e,r,Mr(u),o):void 0)||(ld(a)||function(t){return 2==(2&t)}(u)&&(a=dM(l,null,e,r,s,o)),function(t,i,e,n,r){var a=Bt(t);if(i)r?a?t.addClass(e,n):e.classList.add(n):a?t.removeClass(e,n):e.classList.remove(n);else{var o=-1===n.indexOf("-")?void 0:es.DashCase;if(null==r)a?t.removeStyle(e,n,o):e.style.removeProperty(n);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),o|=es.Important),a?t.setStyle(e,n,r,o):e.style.setProperty(n,r,s?"important":"")}}}(n,o,Sc(An(),e),r,a))}}function dM(t,i,e,n,r,a){for(var o=null===i,s=void 0;r>0;){var l=t[r],u=Array.isArray(l),c=u?l[1]:l,d=null===c,v=e[r+1];v===Ae&&(v=d?lt:void 0);var _=d?Gp(v,n):c===n?v:void 0;if(u&&!ld(_)&&(_=Gp(l,n)),ld(_)&&(s=_,o))return s;var b=t[r+1];r=o?Ti(b):Mr(b)}if(null!==i){var C=a?i.residualClasses:i.residualStyles;null!=C&&(s=Gp(C,n))}return s}function ld(t){return void 0!==t}function fM(t,i){return 0!=(t.flags&(i?16:32))}function w(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=Q(),n=Qe(),r=t+20,a=n.firstCreatePass?is(n,r,1,i,null):n.data[r],o=e[r]=eg(e[11],i);Yc(n,e,o,a),tr(a,!1)}function Ue(t){return gn("",t,""),Ue}function gn(t,i,e){var n=Q(),r=ds(n,t,i,e);return r!==Ae&&Dr(n,An(),r),gn}function ud(t,i,e){!function(t,i,e,n){var r=Qe(),a=wr(2);r.firstUpdatePass&&lM(r,null,a,n);var o=Q();if(e!==Ae&&pn(o,a,e)){var s=r.data[An()];if(fM(s,n)&&!sM(r,a)){var u=n?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(e=fp(u,e||"")),Wg(r,s,o,e,n)}else!function(t,i,e,n,r,a,o,s){r===Ae&&(r=lt);for(var l=0,u=0,c=0<r.length?r[0]:null,d=0<a.length?a[0]:null;null!==c||null!==d;){var v=l<r.length?r[l+1]:void 0,_=u<a.length?a[u+1]:void 0,b=null,C=void 0;c===d?(l+=2,u+=2,v!==_&&(b=d,C=_)):null===d||null!==c&&c<d?(l+=2,b=c):(u+=2,b=d,C=_),null!==b&&cM(t,i,e,n,b,C,o,s),c=l<r.length?r[l]:null,d=u<a.length?a[u]:null}}(r,s,o,o[11],o[a+1],o[a+1]=function(t,i,e){if(null==e||""===e)return lt;var n=[],r=Yn(e);if(Array.isArray(r))for(var a=0;a<r.length;a++)t(n,r[a],!0);else if("object"==typeof r)for(var o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else"string"==typeof r&&i(n,r);return n}(t,i,e),n,a)}}(Wn,cr,ds(Q(),t,i,e),!0)}function an(t,i,e){var n=Q();return pn(n,jo(),i)&&qn(Qe(),At(),n,t,i,n[11],e,!0),an}function $a(t,i,e){var n=Q();if(pn(n,jo(),i)){var a=Qe(),o=At();qn(a,o,n,t,i,iw(Ip(a.data),o,n),e,!0)}return $a}var Xa=void 0,sB=["en",[["a","p"],["AM","PM"],Xa],[["AM","PM"],Xa,Xa],[["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"]],Xa,[["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"]],Xa,[["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}",Xa,"{1} 'at' {0}",Xa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===e?1:5}],Cs={};function IM(t){return t in Cs||(Cs[t]=nt.ng&&nt.ng.common&&nt.ng.common.locales&&nt.ng.common.locales[t]),Cs[t]}var wt=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({}),cd="en-US";function Kg(t){Gn(t,"Expected localeId to be defined"),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function nV(t,i,e){var n=Qe();if(n.firstCreatePass){var r=Ei(t);Jg(e,n.data,n.blueprint,r,!0),Jg(i,n.data,n.blueprint,r,!1)}}function Jg(t,i,e,n,r){if(t=_e(t),Array.isArray(t))for(var a=0;a<t.length;a++)Jg(t[a],i,e,n,r);else{var o=Qe(),s=Q(),l=ss(t)?t:_e(t.provide),u=uw(t),c=$t(),d=1048575&c.providerIndexes,v=c.directiveStart,_=c.providerIndexes>>20;if(ss(t)||!t.multi){var b=new _l(u,r,m),C=em(l,i,r?d:d+_,v);-1===C?(Lc(bl(c,s),o,l),Zg(o,t,i.length),i.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(b),s.push(b)):(e[C]=b,s[C]=b)}else{var D=em(l,i,d+_,v),A=em(l,i,d,d+_),N=A>=0&&e[A];if(r&&!N||!r&&!(D>=0&&e[D])){Lc(bl(c,s),o,l);var z=function(t,i,e,n,r){var a=new _l(t,e,m);return a.multi=[],a.index=i,a.componentProviders=0,nS(a,r,n&&!e),a}(r?rV:iV,e.length,r,n,u);!r&&N&&(e[A].providerFactory=z),Zg(o,t,i.length,0),i.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(z),s.push(z)}else Zg(o,t,D>-1?D:A,nS(e[r?A:D],u,!r&&n));!r&&n&&N&&e[A].componentProviders++}}}function Zg(t,i,e,n){var r=ss(i);if(r||function(t){return!!t.useClass}(i)){var o=(i.useClass||i).prototype.ngOnDestroy;if(o){var s=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){var l=s.indexOf(e);-1===l?s.push(e,[n,o]):s[l+1].push(n,o)}else s.push(e,o)}}}function nS(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function em(t,i,e,n){for(var r=e;r<n;r++)if(i[r]===t)return r;return-1}function iV(t,i,e,n){return tm(this.multi,[])}function rV(t,i,e,n){var a,r=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=Cl(e,e[1],this.providerFactory.index,n);tm(r,a=s.slice(0,o));for(var l=o;l<s.length;l++)a.push(s[l])}else tm(r,a=[]);return a}function tm(t,i){for(var e=0;e<t.length;e++)i.push((0,t[e])());return i}function K(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(e){e.providersResolver=function(n,r){return nV(n,r?r(t):t,i)}}}var oV=f(function t(){h(this,t)}),iS=f(function t(){h(this,t)}),lV=function(){return f(function t(){h(this,t)},[{key:"resolveComponentFactory",value:function(e){throw t=e,(i=Error("No component factory found for ".concat(Ve(t),". Did you add it to @NgModule.entryComponents?"))).ngComponent=t,i;var t,i}}])}(),Er=function(){var t=f(function i(){h(this,i)});return t.NULL=new lV,t}();function gd(){}function ws(t,i){return new P(jn(t,i))}var fV=function(){return ws($t(),Q())},P=function(){var t=f(function i(e){h(this,i),this.nativeElement=e});return t.__NG_ELEMENT_ID__=fV,t}();function aS(t){return t instanceof P?t.nativeElement:t}var Ja=f(function t(){h(this,t)}),dr=function(){var t=f(function i(){h(this,i)});return t.__NG_ELEMENT_ID__=function(){return pV()},t}(),pV=function(){var t=Q(),e=zn($t().index,t);return function(t){return t[11]}(er(e)?e:t)},nm=function(){var t=f(function i(){h(this,i)});return t.\u0275prov=U({token:t,providedIn:"root",factory:function(){return null}}),t}(),sa=f(function t(i){h(this,t),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}),vV=new sa("12.2.17"),oS=function(){return f(function t(){h(this,t)},[{key:"supports",value:function(e){return Ul(e)}},{key:"create",value:function(e){return new yV(e)}}])}(),_V=function(i,e){return e},yV=function(){return f(function t(i){h(this,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=i||_V},[{key:"forEachItem",value:function(e){var n;for(n=this._itHead;null!==n;n=n._next)e(n)}},{key:"forEachOperation",value:function(e){for(var n=this._itHead,r=this._removalsHead,a=0,o=null;n||r;){var s=!r||n&&n.currentIndex<lS(r,a,o)?n:r,l=lS(s,a,o),u=s.currentIndex;if(s===r)a--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)a++;else{o||(o=[]);var c=l-a,d=u-a;if(c!=d){for(var v=0;v<c;v++){var _=v<o.length?o[v]:o[v]=0,b=_+v;d<=b&&b<c&&(o[v]=_+1)}o[s.previousIndex]=d-c}}l!==u&&e(s,l,u)}}},{key:"forEachPreviousItem",value:function(e){var n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}},{key:"forEachAddedItem",value:function(e){var n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}},{key:"forEachMovedItem",value:function(e){var n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}},{key:"forEachRemovedItem",value:function(e){var n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}},{key:"forEachIdentityChange",value:function(e){var n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Ul(e))throw new Error("Error trying to diff '".concat(Ve(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var n=this;this._reset();var o,s,l,r=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)l=this._trackByFn(u,s=e[u]),null!==r&&Object.is(r.trackById,l)?(a&&(r=this._verifyReinsertion(r,s,l,u)),Object.is(r.item,s)||this._addIdentityChange(r,s)):(r=this._mismatch(r,s,l,u),a=!0),r=r._next}else o=0,function(t,i){if(Array.isArray(t))for(var e=0;e<t.length;e++)i(t[e]);else for(var r,n=t[us()]();!(r=n.next()).done;)i(r.value)}(e,function(c){l=n._trackByFn(o,c),null!==r&&Object.is(r.trackById,l)?(a&&(r=n._verifyReinsertion(r,c,l,o)),Object.is(r.item,c)||n._addIdentityChange(r,c)):(r=n._mismatch(r,c,l,o),a=!0),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,n,r,a){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,a)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,a))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,a)):e=this._addAfter(new bV(n,r),o,a),e}},{key:"_verifyReinsertion",value:function(e,n,r,a){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?e=this._reinsertAfter(o,e._prev,a):e.currentIndex!=a&&(e.currentIndex=a,this._addToMoves(e,a)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var n=e._next;this._addToRemovals(this._unlink(e)),e=n}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)}},{key:"_reinsertAfter",value:function(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var a=e._prevRemoved,o=e._nextRemoved;return null===a?this._removalsHead=o:a._nextRemoved=o,null===o?this._removalsTail=a:o._prevRemoved=a,this._insertAfter(e,n,r),this._addToMoves(e,r),e}},{key:"_moveAfter",value:function(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}},{key:"_addAfter",value:function(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,n,r){var a=null===n?this._itHead:n._next;return e._next=a,e._prev=n,null===a?this._itTail=e:a._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new sS),this._linkedRecords.put(e),e.currentIndex=r,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}},{key:"_addToMoves",value:function(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sS),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}])}(),bV=f(function t(i,e){h(this,t),this.item=i,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}),CV=function(){return f(function t(){h(this,t),this._head=null,this._tail=null},[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,n){var r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}},{key:"remove",value:function(e){var n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}])}(),sS=function(){return f(function t(){h(this,t),this.map=new Map},[{key:"put",value:function(e){var n=e.trackById,r=this.map.get(n);r||(r=new CV,this.map.set(n,r)),r.add(e)}},{key:"get",value:function(e,n){var a=this.map.get(e);return a?a.get(e,n):null}},{key:"remove",value:function(e){var n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}])}();function lS(t,i,e){var n=t.previousIndex;if(null===n)return n;var r=0;return e&&n<e.length&&(r=e[n]),n+i+r}var uS=function(){return f(function t(){h(this,t)},[{key:"supports",value:function(e){return e instanceof Map||Gg(e)}},{key:"create",value:function(){return new kV}}])}(),kV=function(){return f(function t(){h(this,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},[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var n;for(n=this._mapHead;null!==n;n=n._next)e(n)}},{key:"forEachPreviousItem",value:function(e){var n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}},{key:"forEachChangedItem",value:function(e){var n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}},{key:"forEachAddedItem",value:function(e){var n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}},{key:"forEachRemovedItem",value:function(e){var n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Gg(e)))throw new Error("Error trying to diff '".concat(Ve(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var n=this;this._reset();var r=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(o,s){if(r&&r.key===s)n._maybeAddToChanges(r,o),n._appendAfter=r,r=r._next;else{var l=n._getOrCreateRecordForKey(s,o);r=n._insertBeforeOrAppend(r,l)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(var a=r;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,n){if(e){var r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}},{key:"_getOrCreateRecordForKey",value:function(e,n){if(this._records.has(e)){var r=this._records.get(e);this._maybeAddToChanges(r,n);var a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}var s=new wV(e);return this._records.set(e,s),s.currentValue=n,this._addToAdditions(s),s}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(function(r){return n(e[r],r)})}}])}(),wV=f(function t(i){h(this,t),this.key=i,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null});function cS(){return new Tn([new oS])}var Tn=function(){var t=function(){function i(e){h(this,i),this.factories=e}return f(i,[{key:"find",value:function(n){var r=this.factories.find(function(a){return a.supports(n)});if(null!=r)return r;throw new Error("Cannot find a differ supporting object '".concat(n,"' of type '").concat(function(t){return t.name||typeof t}(n),"'"))}}],[{key:"create",value:function(n,r){if(null!=r){var a=r.factories.slice();n=n.concat(a)}return new i(n)}},{key:"extend",value:function(n){return{provide:i,useFactory:function(a){return i.create(n,a||cS())},deps:[[i,new Ln,new Jt]]}}}])}();return t.\u0275prov=U({token:t,providedIn:"root",factory:cS}),t}();function dS(){return new la([new uS])}var la=function(){var t=function(){function i(e){h(this,i),this.factories=e}return f(i,[{key:"find",value:function(n){var r=this.factories.find(function(a){return a.supports(n)});if(r)return r;throw new Error("Cannot find a differ supporting object '".concat(n,"'"))}}],[{key:"create",value:function(n,r){if(r){var a=r.factories.slice();n=n.concat(a)}return new i(n)}},{key:"extend",value:function(n){return{provide:i,useFactory:function(a){return i.create(n,a||dS())},deps:[[i,new Ln,new Jt]]}}}])}();return t.\u0275prov=U({token:t,providedIn:"root",factory:dS}),t}();function md(t,i,e,n){for(var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==e;){var a=i[e.index];if(null!==a&&n.push(jt(a)),Di(a))for(var o=10;o<a.length;o++){var s=a[o],l=s[1].firstChild;null!==l&&md(s[1],s,l,n)}var u=e.type;if(8&u)md(t,i,e.child,n);else if(32&u)for(var c=Xp(e,i),d=void 0;d=c();)n.push(d);else if(16&u){var v=ZC(i,e);if(Array.isArray(v))n.push.apply(n,we(v));else{var _=Rl(i[16]);md(_[1],_,v,n,!0)}}e=r?e.projectionNext:e.next}return n}var Kl=function(){return f(function t(i,e){h(this,t),this._lView=i,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1},[{key:"rootNodes",get:function(){var e=this._lView,n=e[1];return md(n,e,n.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(e){this._lView[8]=e}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(Di(e)){var n=e[8],r=n?n.indexOf(this):-1;r>-1&&(ng(e,r),Ua(n,r))}this._attachedToViewContainer=!1}zC(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Wk(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Ig(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Og(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,i,e){Ec(!0);try{Og(t,i,e)}finally{Ec(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var i;this._appRef=null,Ol(this._lView[1],i=this._lView,i[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}])}(),SV=function(t){function i(e){var n;return h(this,i),(n=on(this,i,[e]))._view=e,n}return k(i,t),f(i,[{key:"detectChanges",value:function(){ew(this._view)}},{key:"checkNoChanges",value:function(){!function(t){Ec(!0);try{ew(t)}finally{Ec(!1)}}(this._view)}},{key:"context",get:function(){return null}}])}(Kl),EV=function(t){return function(t,i,e){if(wc(t)&&!e){var n=zn(t.index,i);return new Kl(n,n)}return 47&t.type?new Kl(i[16],i):null}($t(),Q(),16==(16&t))},ve=function(){var t=f(function i(){h(this,i)});return t.__NG_ELEMENT_ID__=EV,t}(),TV=[new uS],RV=new Tn([new oS]),OV=new la(TV),PV=function(){return vd($t(),Q())},We=function(){var t=f(function i(){h(this,i)});return t.__NG_ELEMENT_ID__=PV,t}(),LV=function(t){function i(e,n,r){var a;return h(this,i),(a=on(this,i))._declarationLView=e,a._declarationTContainer=n,a.elementRef=r,a}return k(i,t),f(i,[{key:"createEmbeddedView",value:function(n){var r=this._declarationTContainer.tViews,a=Ll(this._declarationLView,r,n,16,null,r.declTNode,null,null,null,null);a[17]=this._declarationLView[this._declarationTContainer.index];var s=this._declarationLView[19];return null!==s&&(a[19]=s.createEmbeddedView(r)),Bl(r,a,n),new Kl(a)}}])}(We);function vd(t,i){return 4&t.type?new LV(i,t,ws(t,i)):null}var Ms=f(function t(){h(this,t)}),VV=f(function t(){h(this,t)}),GV=function(){return pS($t(),Q())},Xe=function(){var t=f(function i(){h(this,i)});return t.__NG_ELEMENT_ID__=GV,t}(),fS=function(t){function i(e,n,r){var a;return h(this,i),(a=on(this,i))._lContainer=e,a._hostTNode=n,a._hostLView=r,a}return k(i,t),f(i,[{key:"element",get:function(){return ws(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Yo(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var n=Nc(this._hostTNode,this._hostLView);if(gC(n)){var r=Wo(n,this._hostLView),a=zo(n);return new Yo(r[1].data[a+8],r)}return new Yo(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(n){var r=hS(this._lContainer);return null!==r&&r[n]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(n,r,a){var o=n.createEmbeddedView(r||{});return this.insert(o,a),o}},{key:"createComponent",value:function(n,r,a,o,s){var l=a||this.parentInjector;if(!s&&null==n.ngModule&&l){var u=l.get(Ms,null);u&&(s=u)}var c=n.create(l,o,void 0,s);return this.insert(c.hostView,r),c}},{key:"insert",value:function(n,r){var a=n._lView,o=a[1];if(function(t){return Di(t[3])}(a)){var s=this.indexOf(n);if(-1!==s)this.detach(s);else{var l=a[3],u=new fS(l,l[6],l[3]);u.detach(u.indexOf(n))}}var c=this._adjustIndex(r),d=this._lContainer;!function(t,i,e,n){var r=10+n,a=e.length;n>0&&(e[r-1][4]=i),n<a-10?(i[4]=e[r],Hc(e,10+n,i)):(e.push(i),i[4]=null),i[3]=e;var o=i[17];null!==o&&e!==o&&function(t,i){var e=t[9];i[16]!==i[3][3][16]&&(t[2]=!0),null===e?t[9]=[i]:e.push(i)}(o,i);var s=i[19];null!==s&&s.insertView(t),i[2]|=128}(o,a,d,c);var v=ag(c,d),_=a[11],b=Wc(_,d[7]);return null!==b&&function(t,i,e,n,r,a){n[0]=r,n[6]=i,Ol(t,n,e,1,r,a)}(o,d[6],_,a,b,v),n.attachToViewContainerRef(),Hc(im(d),c,n),n}},{key:"move",value:function(n,r){return this.insert(n,r)}},{key:"indexOf",value:function(n){var r=hS(this._lContainer);return null!==r?r.indexOf(n):-1}},{key:"remove",value:function(n){var r=this._adjustIndex(n,-1),a=ng(this._lContainer,r);a&&(Ua(im(this._lContainer),r),zC(a[1],a))}},{key:"detach",value:function(n){var r=this._adjustIndex(n,-1),a=ng(this._lContainer,r);return a&&null!=Ua(im(this._lContainer),r)?new Kl(a):null}},{key:"_adjustIndex",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==n?this.length+r:n}}])}(Xe);function hS(t){return t[8]}function im(t){return t[8]||(t[8]=[])}function pS(t,i){var e,n=i[t.index];if(Di(n))e=n;else{var r;if(8&t.type)r=jt(n);else{var a=i[11];r=a.createComment("");var o=jn(t,i);za(a,Wc(a,o),r,function(t,i){return Bt(t)?t.nextSibling(i):i.nextSibling}(a,o),!1)}i[t.index]=e=Zk(n,i,r,t),nd(i,e)}return new fS(e,t,i)}var Ds={},OS=function(t){function i(e){var n;return h(this,i),(n=on(this,i)).ngModule=e,n}return k(i,t),f(i,[{key:"resolveComponentFactory",value:function(n){var r=dn(n);return new PS(r,this.ngModule)}}])}(Er);function FS(t){var i=[];for(var e in t)t.hasOwnProperty(e)&&i.push({propName:t[e],templateName:e});return i}var L3=new V("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ck}}),PS=function(t){function i(e,n){var r;return h(this,i),(r=on(this,i)).componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=function(t){return t.map(bN).join(",")}(e.selectors),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!n,r}return k(i,t),f(i,[{key:"inputs",get:function(){return FS(this.componentDef.inputs)}},{key:"outputs",get:function(){return FS(this.componentDef.outputs)}},{key:"create",value:function(n,r,a,o){var A,T,s=(o=o||this.ngModule)?function(t,i){return{get:function(n,r,a){var o=t.get(n,Ds,a);return o!==Ds||r===Ds?o:i.get(n,r,a)}}}(n,o.injector):n,l=s.get(Ja,Zb),u=s.get(nm,null),c=l.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",v=a?function(t,i,e){if(Bt(t))return t.selectRootElement(i,e===Mi.ShadowDom);var r="string"==typeof i?t.querySelector(i):i;return r.textContent="",r}(c,a,this.componentDef.encapsulation):tg(l.createRenderer(null,this.componentDef),d,function(t){var i=t.toLowerCase();return"svg"===i?Xb:"math"===i?"http://www.w3.org/1998/MathML/":null}(d)),_=this.componentDef.onPush?576:528,b=function(t,i){return{components:[],scheduler:t||Ck,clean:o2,playerHandler:i||null,flags:0}}(),C=td(0,null,null,1,0,null,null,null,null,null),D=Ll(null,C,b,_,null,null,l,c,u,s);Ac(D);try{var N=function(t,i,e,n,r,a){var o=e[1];e[20]=t;var l=is(o,20,2,"#host",null),u=l.mergedAttrs=i.hostAttrs;null!==u&&(id(l,u,!0),null!==t&&(Oc(r,t,u),null!==l.classes&&lg(r,t,l.classes),null!==l.styles&&tk(r,t,l.styles)));var c=n.createRenderer(t,i),d=Ll(e,Uk(i),null,i.onPush?64:16,e[20],l,n,c,a||null,null);return o.firstCreatePass&&(Lc(bl(l,e),o,i.type),$k(o,l),Xk(l,e.length,1)),nd(e,d),e[20]=d}(v,this.componentDef,D,l,c);if(v)if(a)Oc(c,v,["ng-version",vV.full]);else{var z=function(t){for(var i=[],e=[],n=1,r=2;n<t.length;){var a=t[n];if("string"==typeof a)2===r?""!==a&&i.push(a,t[++n]):8===r&&e.push(a);else{if(!xi(r))break;r=a}n++}return{attrs:i,classes:e}}(this.componentDef.selectors[0]),Y=z.attrs,le=z.classes;Y&&Oc(c,v,Y),le&&le.length>0&&lg(c,v,le.join(" "))}if(T=Sp(C,20),void 0!==r)for(var ye=T.projection=[],Le=0;Le<this.ngContentSelectors.length;Le++){var vt=r[Le];ye.push(null!=vt?Array.from(vt):null)}A=function(t,i,e,n,r){var a=e[1],o=function(t,i,e){var n=$t();t.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),Jk(t,n,i,rs(t,i,1,null),e));var a=Cl(i,t,n.directiveStart,n);hn(a,i);var o=jn(n,i);return o&&hn(o,i),a}(a,e,i);if(n.components.push(o),t[8]=o,r&&r.forEach(function(c){return c(o,i)}),i.contentQueries){var s=$t();i.contentQueries(1,o,s.directiveStart)}var l=$t();return!a.firstCreatePass||null===i.hostBindings&&null===i.hostAttrs||(na(l.index),Qk(e[1],l,0,l.directiveStart,l.directiveEnd,i),Kk(i,o)),o}(N,this.componentDef,D,b,[H2]),Bl(C,D,null)}finally{xc()}return new H3(this.componentType,A,ws(T,D),D,T)}}])}(iS),H3=function(t){function i(e,n,r,a,o){var s;return h(this,i),(s=on(this,i)).location=r,s._rootLView=a,s._tNode=o,s.instance=n,s.hostView=s.changeDetectorRef=new SV(a),s.componentType=e,s}return k(i,t),f(i,[{key:"injector",get:function(){return new Yo(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(n){this.hostView.onDestroy(n)}}])}(oV),Es=new Map;var j3=function(t){function i(e,n){var r;h(this,i),(r=on(this,i))._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[],r.componentFactoryResolver=new OS(r);var a=ni(e),o=function(t){return t[DO]||null}(e);return o&&Kg(o),r._bootstrapComponents=or(a.bootstrap),r._r3Injector=lw(e,n,[{provide:Ms,useValue:r},{provide:Er,useValue:r.componentFactoryResolver}],Ve(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return k(i,t),f(i,[{key:"get",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ot.THROW_IF_NOT_FOUND,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je.Default;return n===ot||n===Ms||n===rd?this:this._r3Injector.get(n,r,a)}},{key:"destroy",value:function(){var n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(function(r){return r()}),this.destroyCbs=null}},{key:"onDestroy",value:function(n){this.destroyCbs.push(n)}}])}(Ms),gm=function(t){function i(e){var n;return h(this,i),(n=on(this,i)).moduleType=e,null!==ni(e)&&function(t){var i=new Set;!function e(n){var r=ni(n,!0),a=r.id;null!==a&&(function(t,i,e){if(i&&i!==e)throw new Error("Duplicate module registered for ".concat(t," - ").concat(Ve(i)," vs ").concat(Ve(i.name)))}(a,Es.get(a),n),Es.set(a,n));var u,l=ct(or(r.imports));try{for(l.s();!(u=l.n()).done;){var c=u.value;i.has(c)||(i.add(c),e(c))}}catch(d){l.e(d)}finally{l.f()}}(t)}(e),n}return k(i,t),f(i,[{key:"create",value:function(n){return new j3(this.moduleType,n)}}])}(VV);function nu(t,i,e,n,r){return function(t,i,e,n,r,a,o){var s=i+e;return Qa(t,s,r,a)?lr(t,s+2,o?n.call(o,r,a):n(r,a)):iu(t,s+2)}(Q(),En(),t,i,e,n,r)}function iu(t,i){var e=t[i];return e===Ae?void 0:e}function to(t,i){var n,e=Qe(),r=t+20;e.firstCreatePass?(n=function(t,i){if(i)for(var e=i.length-1;e>=0;e--){var n=i[e];if(t===n.name)return n}throw new $r("302","The pipe '".concat(t,"' could not be found!"))}(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,n.onDestroy)):n=e.data[r];var a=n.factory||(n.factory=Va(n.type)),o=Jr(m);try{var s=Pc(!1),l=a();return Pc(s),function(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}(e,Q(),r,l),l}finally{Jr(o)}}function no(t,i,e){var n=t+20,r=Q(),a=Uo(r,n);return function(t,i){return qa.isWrapped(i)&&(i=qa.unwrap(i),t[nr()]=Ae),i}(r,function(t,i){return t[1].data[i].pure}(r,n)?function(t,i,e,n,r,a){var o=i+e;return pn(t,o,r)?lr(t,o+1,a?n.call(a,r):n(r)):iu(t,o+1)}(r,En(),i,a.transform,e,a):a.transform(e))}var iH=function(t){function i(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return h(this,i),(e=on(this,i)).__isAsync=n,e}return k(i,t),f(i,[{key:"emit",value:function(n){J(M(i.prototype),"next",this).call(this,n)}},{key:"subscribe",value:function(n,r,a){var o,s,l,u=n,c=r||function(){return null},d=a;if(n&&"object"==typeof n){var v=n;u=null===(o=v.next)||void 0===o?void 0:o.bind(v),c=null===(s=v.error)||void 0===s?void 0:s.bind(v),d=null===(l=v.complete)||void 0===l?void 0:l.bind(v)}this.__isAsync&&(c=mm(c),u&&(u=mm(u)),d&&(d=mm(d)));var _=J(M(i.prototype),"subscribe",this).call(this,{next:u,error:c,complete:d});return n instanceof be&&n.add(_),_}}])}($);function mm(t){return function(i){setTimeout(t,void 0,i)}}var j=iH;function rH(){return this._results[us()]()}var Hi=function(){return f(function t(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];h(this,t),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var e=us(),n=t.prototype;n[e]||(n[e]=rH)},[{key:"changes",get:function(){return this._changes||(this._changes=new j)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,n){return this._results.reduce(e,n)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,n){var r=this;r.dirty=!1;var a=ai(e);(this._changesDetected=!function(t,i,e){if(t.length!==i.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],a=i[n];if(e&&(r=e(r),a=e(a)),a!==r)return!1}return!0}(r._results,a,n))&&(r._results=a,r.length=a.length,r.last=a[this.length-1],r.first=a[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}])}();Symbol;var sH=function(){function t(i){h(this,t),this.queryList=i,this.matches=null}return f(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}])}(),lH=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];h(this,t),this.queries=i}return f(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,a=[],o=0;o<r;o++){var s=n.getByIndex(o);a.push(this.queries[s.indexInDeclarationView].clone())}return new t(a)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var n=0;n<this.queries.length;n++)null!==qS(e,n).matches&&this.queries[n].setDirty()}}])}(),jS=f(function t(i,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;h(this,t),this.predicate=i,this.flags=e,this.read=n}),uH=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];h(this,t),this.queries=i}return f(t,[{key:"elementStart",value:function(e,n){for(var r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}},{key:"elementEnd",value:function(e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}},{key:"embeddedTView",value:function(e){for(var n=null,r=0;r<this.length;r++){var a=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(e,a);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new t(n):null}},{key:"template",value:function(e,n){for(var r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}])}(),cH=function(){function t(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;h(this,t),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return f(t,[{key:"elementStart",value:function(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,n){this.elementStart(e,n)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var n=this._declarationNodeIndex,r=e.parent;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,n){var r=this.metadata.predicate;if(Array.isArray(r))for(var a=0;a<r.length;a++){var o=r[a];this.matchTNodeWithReadOption(e,n,dH(n,o)),this.matchTNodeWithReadOption(e,n,Bc(n,e,o,!1,!1))}else r===We?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Bc(n,e,r,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,n,r){if(null!==r){var a=this.metadata.read;if(null!==a)if(a===P||a===Xe||a===We&&4&n.type)this.addMatch(n.index,-2);else{var o=Bc(n,e,a,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}},{key:"addMatch",value:function(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}])}();function dH(t,i){var e=t.localNames;if(null!==e)for(var n=0;n<e.length;n+=2)if(e[n]===i)return e[n+1];return null}function hH(t,i,e,n){return-1===e?function(t,i){return 11&t.type?ws(t,i):4&t.type?vd(t,i):null}(i,t):-2===e?function(t,i,e){return e===P?ws(i,t):e===We?vd(i,t):e===Xe?pS(i,t):void 0}(t,i,n):Cl(t,t[1],e,i)}function zS(t,i,e,n){var r=i[19].queries[n];if(null===r.matches){for(var a=t.data,o=e.matches,s=[],l=0;l<o.length;l+=2){var u=o[l];s.push(u<0?null:hH(i,a[u],o[l+1],e.metadata.read))}r.matches=s}return r.matches}function vm(t,i,e,n){var r=t.queries.getByIndex(e),a=r.matches;if(null!==a)for(var o=zS(t,i,r,e),s=0;s<a.length;s+=2){var l=a[s];if(l>0)n.push(o[s/2]);else{for(var u=a[s+1],c=i[-l],d=10;d<c.length;d++){var v=c[d];v[17]===v[3]&&vm(v[1],v,u,n)}if(null!==c[9])for(var _=c[9],b=0;b<_.length;b++){var C=_[b];vm(C[1],C,u,n)}}}return n}function L(t){var i=Q(),e=Qe(),n=oC();Rp(n+1);var r=qS(e,n);if(t.dirty&&eC(i)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{var a=r.crossesNgTemplate?vm(e,i,n,[]):zS(e,i,r,n);t.reset(a,aS),t.notifyOnChanges()}return!0}return!1}function me(t,i,e){var n=Qe();n.firstCreatePass&&(YS(n,new jS(t,i,e),-1),2==(2&i)&&(n.staticViewQueries=!0)),WS(n,Q(),i)}function pe(t,i,e,n){var r=Qe();if(r.firstCreatePass){var a=$t();YS(r,new jS(i,e,n),a.index),function(t,i){var e=t.contentQueries||(t.contentQueries=[]);i!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,i)}(r,t),2==(2&e)&&(r.staticContentQueries=!0)}WS(r,Q(),e)}function B(){return t=Q(),i=oC(),t[19].queries[i].queryList;var t,i}function WS(t,i,e){var n=new Hi(4==(4&e));Wk(t,i,n,n.destroy),null===i[19]&&(i[19]=new lH),i[19].queries.push(new sH(n))}function YS(t,i,e){null===t.queries&&(t.queries=new uH),t.queries.track(new cH(i,e))}function qS(t,i){return t.queries.getByIndex(i)}var Dd=new V("Application Initializer"),xs=function(){var t=function(){return f(function i(e){var n=this;h(this,i),this.appInits=e,this.resolve=gd,this.reject=gd,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(r,a){n.resolve=r,n.reject=a})},[{key:"runInitializers",value:function(){var n=this;if(!this.initialized){var r=[],a=function(){n.done=!0,n.resolve()};if(this.appInits)for(var o=function(){var u=n.appInits[s]();if(sd(u))r.push(u);else if(Yg(u)){var c=new Promise(function(d,v){u.subscribe({complete:d,error:v})});r.push(c)}},s=0;s<this.appInits.length;s++)o();Promise.all(r).then(function(){a()}).catch(function(l){n.reject(l)}),0===r.length&&a(),this.initialized=!0}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Dd,8))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),su=new V("AppId"),ZH={provide:su,useFactory:function(){return"".concat(wm()).concat(wm()).concat(wm())},deps:[]};function wm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var fD=new V("Platform Initializer"),vn=new V("Platform ID"),hD=new V("appBootstrapListener"),Mm=function(){var t=function(){return f(function i(){h(this,i)},[{key:"log",value:function(n){console.log(n)}},{key:"warn",value:function(n){console.warn(n)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),Ar=new V("LocaleId"),pD=new V("DefaultCurrencyCode"),t4=f(function t(i,e){h(this,t),this.ngModuleFactory=i,this.componentFactories=e}),Sm=function(i){return new gm(i)},n4=Sm,r4=function(i){return Promise.resolve(Sm(i))},gD=function(i){var e=Sm(i),r=or(ni(i).declarations).reduce(function(a,o){var s=dn(o);return s&&a.push(new PS(s)),a},[]);return new t4(e,r)},a4=gD,s4=function(i){return Promise.resolve(gD(i))},Ad=function(){var t=function(){return f(function i(){h(this,i),this.compileModuleSync=n4,this.compileModuleAsync=r4,this.compileModuleAndAllComponentsSync=a4,this.compileModuleAndAllComponentsAsync=s4},[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(n){}},{key:"getModuleId",value:function(n){}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),c4=function(){return Promise.resolve(0)}();function Dm(t){"undefined"==typeof Zone?c4.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var ue=function(){function t(i){var e=i.enableLongStackTrace,n=void 0!==e&&e,r=i.shouldCoalesceEventChangeDetection,a=void 0!==r&&r,o=i.shouldCoalesceRunChangeDetection,s=void 0!==o&&o;if(h(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new j(!1),this.onMicrotaskEmpty=new j(!1),this.onStable=new j(!1),this.onError=new j(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!s&&a,l.shouldCoalesceRunChangeDetection=s,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function(){var t=nt.requestAnimationFrame,i=nt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&i){var e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);var n=i[Zone.__symbol__("OriginalDelegate")];n&&(i=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function(t){var i=function(){!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(nt,function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){t.lastRequestAnimationFrameId=-1,Am(t),t.isCheckStableRunning=!0,Em(t),t.isCheckStableRunning=!1},void 0,function(){},function(){})),t.fakeTopEventTask.invoke()}),Am(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,r,a,o,s,l){try{return mD(t),n.invokeTask(a,o,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&i(),vD(t)}},onInvoke:function(n,r,a,o,s,l,u){try{return mD(t),n.invoke(a,o,s,l,u)}finally{t.shouldCoalesceRunChangeDetection&&i(),vD(t)}},onHasTask:function(n,r,a,o){n.hasTask(a,o),r===a&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Am(t),Em(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(n,r,a,o){return n.handleError(a,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}(l)}return f(t,[{key:"run",value:function(e,n,r){return this._inner.run(e,n,r)}},{key:"runTask",value:function(e,n,r,a){var o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+a,e,f4,gd,gd);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}},{key:"runGuarded",value:function(e,n,r){return this._inner.runGuarded(e,n,r)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}])}(),f4={};function Em(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 Am(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function mD(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vD(t){t._nesting--,Em(t)}var g4=function(){return f(function t(){h(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new j,this.onMicrotaskEmpty=new j,this.onStable=new j,this.onError=new j},[{key:"run",value:function(e,n,r){return e.apply(n,r)}},{key:"runGuarded",value:function(e,n,r){return e.apply(n,r)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,n,r,a){return e.apply(n,r)}}])}(),xm=function(){var t=function(){return f(function i(e){var n=this;h(this,i),this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})},[{key:"_watchAngularEvents",value:function(){var n=this;this._ngZone.onUnstable.subscribe({next:function(){n._didWork=!0,n._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){n._ngZone.onStable.subscribe({next:function(){ue.assertNotInAngularZone(),Dm(function(){n._isZoneStable=!0,n._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var n=this;if(this.isStable())Dm(function(){for(;0!==n._callbacks.length;){var a=n._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb(n._didWork)}n._didWork=!1});else{var r=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(a){return!a.updateCb||!a.updateCb(r)||(clearTimeout(a.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(n){return{source:n.source,creationLocation:n.creationLocation,data:n.data}}):[]}},{key:"addCallback",value:function(n,r,a){var o=this,s=-1;r&&r>0&&(s=setTimeout(function(){o._callbacks=o._callbacks.filter(function(l){return l.timeoutId!==s}),n(o._didWork,o.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:a})}},{key:"whenStable",value:function(n,r,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,a),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(n,r,a){return[]}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ue))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),_D=function(){var t=function(){return f(function i(){h(this,i),this._applications=new Map,Tm.addToWindow(this)},[{key:"registerApplication",value:function(n,r){this._applications.set(n,r)}},{key:"unregisterApplication",value:function(n){this._applications.delete(n)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(n){return this._applications.get(n)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Tm.findTestabilityInTree(this,n,r)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),Tm=new(function(){return f(function t(){h(this,t)},[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,n,r){return null}}])}()),yD=!0,bD=!1;function Im(){return bD=!0,yD}var Gi,y4=function(t,i,e){var n=new gm(e);return Promise.resolve(n)},CD=new V("AllowMultipleToken");function D4(t){if(Gi&&!Gi.destroyed&&!Gi.injector.get(CD,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gi=t.get(MD);var i=t.get(fD,null);return i&&i.forEach(function(e){return e()}),Gi}function kD(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(i),r=new V(n);return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=wD();if(!o||o.injector.get(CD,!1))if(t)t(e.concat(a).concat({provide:r,useValue:!0}));else{var s=e.concat(a).concat({provide:r,useValue:!0},{provide:Vl,useValue:"platform"});D4(ot.create({providers:s,name:n}))}return E4(r)}}function E4(t){var i=wD();if(!i)throw new Error("No platform exists!");if(!i.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return i}function wD(){return Gi&&!Gi.destroyed?Gi:null}var MD=function(){var t=function(){return f(function i(e){h(this,i),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1},[{key:"bootstrapModuleFactory",value:function(n,r){var a=this,u=function(t,i){return"noop"===t?new g4:("zone.js"===t?void 0:t)||new ue({enableLongStackTrace:Im(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),c=[{provide:ue,useValue:u}];return u.run(function(){var d=ot.create({providers:c,parent:a.injector,name:n.moduleType.name}),v=n.create(d),_=v.injector.get(Ai,null);if(!_)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return u.runOutsideAngular(function(){var b=u.onError.subscribe({next:function(D){_.handleError(D)}});v.onDestroy(function(){Rm(a._modules,v),b.unsubscribe()})}),function(t,i,e){try{var n=((b=v.injector.get(xs)).runInitializers(),b.donePromise.then(function(){return Kg(v.injector.get(Ar,cd)||cd),a._moduleDoBootstrap(v),v}));return sd(n)?n.catch(function(r){throw i.runOutsideAngular(function(){return t.handleError(r)}),r}):n}catch(r){throw i.runOutsideAngular(function(){return t.handleError(r)}),r}var b}(_,u)})}},{key:"bootstrapModule",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=SD({},a);return y4(0,0,n).then(function(s){return r.bootstrapModuleFactory(s,o)})}},{key:"_moduleDoBootstrap",value:function(n){var r=n.injector.get(io);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(a){return r.bootstrap(a)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module ".concat(Ve(n.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");n.instance.ngDoBootstrap(r)}this._modules.push(n)}},{key:"onDestroy",value:function(n){this._destroyListeners.push(n)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ot))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}();function SD(t,i){return Array.isArray(i)?i.reduce(SD,t):Object.assign(Object.assign({},t),i)}var io=function(){var t=function(){return f(function i(e,n,r,a,o){var s=this;h(this,i),this._zone=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var l=new Ze(function(c){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){c.next(s._stable),c.complete()})}),u=new Ze(function(c){var d;s._zone.runOutsideAngular(function(){d=s._zone.onStable.subscribe(function(){ue.assertNotInAngularZone(),Dm(function(){!s._stable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks&&(s._stable=!0,c.next(!0))})})});var v=s._zone.onUnstable.subscribe(function(){ue.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe(),v.unsubscribe()}});this.isStable=$e(l,u.pipe(Pb()))},[{key:"bootstrap",value:function(n,r){var o,a=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.");o=n instanceof iS?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);var s=function(t){return t.isBoundToModule}(o)?void 0:this._injector.get(Ms),u=o.create(ot.NULL,[],r||o.selector,s),c=u.location.nativeElement,d=u.injector.get(xm,null),v=d&&u.injector.get(_D);return d&&v&&v.registerApplication(c,d),u.onDestroy(function(){a.detachView(u.hostView),Rm(a.components,u),v&&v.unregisterApplication(c)}),this._loadComponent(u),u}},{key:"tick",value:function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var a,r=ct(this._views);try{for(r.s();!(a=r.n()).done;)a.value.detectChanges()}catch(c){r.e(c)}finally{r.f()}}catch(c){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(c)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(n){var r=n;this._views.push(r),r.attachToAppRef(this)}},{key:"detachView",value:function(n){var r=n;Rm(this._views,r),r.detachFromAppRef()}},{key:"_loadComponent",value:function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(hD,[]).concat(this._bootstrapListeners).forEach(function(a){return a(n)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(n){return n.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ue),x(ot),x(Ai),x(Er),x(xs))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}();function Rm(t,i){var e=t.indexOf(i);e>-1&&t.splice(e,1)}var z4=kD(null,"core",[{provide:vn,useValue:"unknown"},{provide:MD,deps:[ot]},{provide:_D,deps:[]},{provide:Mm,deps:[]}]),$4=[{provide:io,useClass:io,deps:[ue,ot,Ai,Er,xs]},{provide:L3,deps:[ue],useFactory:function(t){var i=[];return t.onStable.subscribe(function(){for(;i.length;)i.pop()()}),function(e){i.push(e)}}},{provide:xs,useClass:xs,deps:[[new Jt,Dd]]},{provide:Ad,useClass:Ad,deps:[]},ZH,{provide:Tn,useFactory:function(){return RV},deps:[]},{provide:la,useFactory:function(){return OV},deps:[]},{provide:Ar,useFactory:function(t){return Kg(t=t||"undefined"!=typeof $localize&&$localize.locale||cd),t},deps:[[new xl(Ar),new Jt,new Ln]]},{provide:pD,useValue:"USD"}],J4=function(){var t=f(function i(e){h(this,i)});return t.\u0275fac=function(e){return new(e||t)(x(io))},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:$4}),t}();function Qm(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Pd=null;function fr(){return Pd}var q5=f(function t(){h(this,t)}),oe=new V("DocumentToken"),fu=function(){var t=function(){return f(function i(){h(this,i)},[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:Q5,token:t,providedIn:"platform"}),t}();function Q5(){return x(KD)}var KD=function(){var t=function(i){function e(n){var r;return h(this,e),(r=Qm(this,e))._doc=n,r._init(),r}return k(e,i),f(e,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return fr().getBaseHref(this._doc)}},{key:"onPopState",value:function(r){var a=fr().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",r,!1),function(){return a.removeEventListener("popstate",r)}}},{key:"onHashChange",value:function(r){var a=fr().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",r,!1),function(){return a.removeEventListener("hashchange",r)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(r){this.location.pathname=r}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(r,a,o){$D()?this._history.pushState(r,a,o):this.location.hash=o}},{key:"replaceState",value:function(r,a,o){$D()?this._history.replaceState(r,a,o):this.location.hash=o}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(r)}},{key:"getState",value:function(){return this._history.state}}])}(fu);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({factory:K5,token:t,providedIn:"platform"}),t}();function $D(){return!!window.history.pushState}function K5(){return new KD(x(oe))}function XD(t,i){if(0==t.length)return i;if(0==i.length)return t;var e=0;return t.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?t+i.substring(1):1==e?t+i:t+"/"+i}function JD(t){var i=t.match(/#|\?|$/),e=i&&i.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function oo(t){return t&&"?"!==t[0]?"?"+t:t}var Km=function(){var t=function(){return f(function i(){h(this,i)},[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:$5,token:t,providedIn:"root"}),t}();function $5(t){var i=x(oe).location;return new J5(x(fu),i&&i.origin||"")}var X5=new V("appBaseHref"),J5=function(){var t=function(i){function e(n,r){var a;if(h(this,e),(a=Qm(this,e))._platformLocation=n,a._removeListenerFns=[],null==r&&(r=a._platformLocation.getBaseHrefFromDOM()),null==r)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 a._baseHref=r,a}return k(e,i),f(e,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(r){return XD(this._baseHref,r)}},{key:"path",value:function(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=this._platformLocation.pathname+oo(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?"".concat(a).concat(o):a}},{key:"pushState",value:function(r,a,o,s){var l=this.prepareExternalUrl(o+oo(s));this._platformLocation.pushState(r,a,l)}},{key:"replaceState",value:function(r,a,o,s){var l=this.prepareExternalUrl(o+oo(s));this._platformLocation.replaceState(r,a,l)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var a,o,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformLocation).historyGo)||void 0===o||o.call(a,r)}}])}(Km);return t.\u0275fac=function(e){return new(e||t)(x(fu),x(X5,8))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),$m=function(){var t=function(){function i(e,n){var r=this;h(this,i),this._subject=new j,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=JD(ZD(a)),this._platformStrategy.onPopState(function(o){r._subject.emit({url:r.path(!0),pop:!0,state:o.state,type:o.type})})}return f(i,[{key:"path",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(n))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(n+oo(r))}},{key:"normalize",value:function(n){return i.stripTrailingSlash(function(t,i){return t&&i.startsWith(t)?i.substring(t.length):i}(this._baseHref,ZD(n)))}},{key:"prepareExternalUrl",value:function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}},{key:"go",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(a,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oo(r)),a)}},{key:"replaceState",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(a,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oo(r)),a)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var r,a,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(a=(r=this._platformStrategy).historyGo)||void 0===a||a.call(r,n)}},{key:"onUrlChange",value:function(n){var r=this;this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(a){r._notifyUrlChangeListeners(a.url,a.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(a){return a(n,r)})}},{key:"subscribe",value:function(n,r,a){return this._subject.subscribe({next:n,error:r,complete:a})}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Km),x(fu))},t.normalizeQueryParams=oo,t.joinWithSlash=XD,t.stripTrailingSlash=JD,t.\u0275prov=U({factory:Z5,token:t,providedIn:"root"}),t}();function Z5(){return new $m(x(Km),x(fu))}function ZD(t){return t.replace(/\/index.html$/,"")}var hu=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}({}),sG=function(t){return function(t){var i=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),e=IM(i);if(e)return e;var n=i.split("-")[0];if(e=IM(n))return e;if("en"===n)return sB;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}(t)[wt.PluralCase]},Wd=f(function t(){h(this,t)}),NG=function(){var t=function(i){function e(n){var r;return h(this,e),(r=Qm(this,e)).locale=n,r}return k(e,i),f(e,[{key:"getPluralCategory",value:function(r,a){switch(sG(a||this.locale)(r)){case hu.Zero:return"zero";case hu.One:return"one";case hu.Two:return"two";case hu.Few:return"few";case hu.Many:return"many";default:return"other"}}}])}(Wd);return t.\u0275fac=function(e){return new(e||t)(x(Ar))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}();function lE(t,i){i=encodeURIComponent(i);var n,e=ct(t.split(";"));try{for(e.s();!(n=e.n()).done;){var r=n.value,a=r.indexOf("="),s=Be(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),u=s[1];if(s[0].trim()===i)return decodeURIComponent(u)}}catch(c){e.e(c)}finally{e.f()}return null}var hi=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null},[{key:"klass",set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Ul(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var r=this._keyValueDiffer.diff(this._rawClass);r&&this._applyKeyValueChanges(r)}}},{key:"_applyKeyValueChanges",value:function(n){var r=this;n.forEachAddedItem(function(a){return r._toggleClass(a.key,a.currentValue)}),n.forEachChangedItem(function(a){return r._toggleClass(a.key,a.currentValue)}),n.forEachRemovedItem(function(a){a.previousValue&&r._toggleClass(a.key,!1)})}},{key:"_applyIterableChanges",value:function(n){var r=this;n.forEachAddedItem(function(a){if("string"!=typeof a.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Ve(a.item)));r._toggleClass(a.item,!0)}),n.forEachRemovedItem(function(a){return r._toggleClass(a.item,!1)})}},{key:"_applyClasses",value:function(n){var r=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(a){return r._toggleClass(a,!0)}):Object.keys(n).forEach(function(a){return r._toggleClass(a,!!n[a])}))}},{key:"_removeClasses",value:function(n){var r=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(a){return r._toggleClass(a,!1)}):Object.keys(n).forEach(function(a){return r._toggleClass(a,!1)}))}},{key:"_toggleClass",value:function(n,r){var a=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(o){r?a._renderer.addClass(a._ngEl.nativeElement,o):a._renderer.removeClass(a._ngEl.nativeElement,o)})}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Tn),m(la),m(P),m(dr))},t.\u0275dir=E({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),BG=function(){return f(function t(i,e,n,r){h(this,t),this.$implicit=i,this.ngForOf=e,this.index=n,this.count=r},[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}])}(),Ir=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null},[{key:"ngForOf",set:function(n){this._ngForOf=n,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"ngForTemplate",set:function(n){n&&(this._template=n)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(a){throw new Error("Cannot find a differ supporting object '".concat(n,"' of type '").concat(function(t){return t.name||typeof t}(n),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}},{key:"_applyChanges",value:function(n){var r=this,a=[];n.forEachOperation(function(c,d,v){if(null==c.previousIndex){var _=r._viewContainer.createEmbeddedView(r._template,new BG(null,r._ngForOf,-1,-1),null===v?void 0:v),b=new uE(c,_);a.push(b)}else if(null==v)r._viewContainer.remove(null===d?void 0:d);else if(null!==d){var C=r._viewContainer.get(d);r._viewContainer.move(C,v);var D=new uE(c,C);a.push(D)}});for(var o=0;o<a.length;o++)this._perViewChange(a[o].view,a[o].record);for(var s=0,l=this._viewContainer.length;s<l;s++){var u=this._viewContainer.get(s);u.context.index=s,u.context.count=l,u.context.ngForOf=this._ngForOf}n.forEachIdentityChange(function(c){r._viewContainer.get(c.currentIndex).context.$implicit=c.item})}},{key:"_perViewChange",value:function(n,r){n.context.$implicit=r.item}}],[{key:"ngTemplateContextGuard",value:function(n,r){return!0}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Xe),m(We),m(Tn))},t.\u0275dir=E({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),uE=f(function t(i,e){h(this,t),this.record=i,this.view=e}),Et=function(){var t=function(){return f(function i(e,n){h(this,i),this._viewContainer=e,this._context=new HG,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n},[{key:"ngIf",set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}},{key:"ngIfThen",set:function(n){cE("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(n){cE("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value: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)))}}],[{key:"ngTemplateContextGuard",value:function(n,r){return!0}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Xe),m(We))},t.\u0275dir=E({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),HG=f(function t(){h(this,t),this.$implicit=null,this.ngIf=null});function cE(t,i){if(i&&!i.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(Ve(i),"'."))}var ov=function(){return f(function t(i,e){h(this,t),this._viewContainerRef=i,this._templateRef=e,this._created=!1},[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}])}(),hr=function(){var t=function(){return f(function i(){h(this,i),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1},[{key:"ngSwitch",set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)}},{key:"_matchCase",value:function(n){var r=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}},{key:"_updateDefaultCases",value:function(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(var r=0;r<this._defaultViews.length;r++)this._defaultViews[r].enforceState(n)}}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=E({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),da=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.ngSwitch=r,r._addCase(),this._view=new ov(e,n)},[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Xe),m(We),m(hr,9))},t.\u0275dir=E({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),sv=function(){var t=f(function i(e,n,r){h(this,i),r._addDefault(new ov(e,n))});return t.\u0275fac=function(e){return new(e||t)(m(Xe),m(We),m(hr,9))},t.\u0275dir=E({type:t,selectors:[["","ngSwitchDefault",""]]}),t}();var UG=function(){return f(function t(){h(this,t)},[{key:"createSubscription",value:function(e,n){return e.subscribe({next:n,error:function(a){throw a}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}])}(),zG=new(function(){return f(function t(){h(this,t)},[{key:"createSubscription",value:function(e,n){return e.then(n,function(r){throw r})}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}])}()),WG=new UG,uv=function(){var t=function(){function i(e){h(this,i),this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return f(i,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}},{key:"_subscribe",value:function(n){var r=this;this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,function(a){return r._updateLatestValue(n,a)})}},{key:"_selectStrategy",value:function(n){if(sd(n))return zG;if(zw(n))return WG;throw function(t,i){return Error("InvalidPipeArgument: '".concat(i,"' for pipe '").concat(Ve(t),"'"))}(i,n)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(n,r){n===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}])}();return t.\u0275fac=function(e){return new(e||t)(m(ve,16))},t.\u0275pipe=Nn({name:"async",type:t,pure:!1}),t}(),ht=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[{provide:Wd,useClass:NG}]}),t}();function so(t){return"browser"===t}function Rs(t){return"server"===t}var fv=f(function t(){h(this,t)});function Rr(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Yd,cU=function(t){function i(){var e;return h(this,i),(e=Rr(this,i,arguments)).supportsDOMEvents=!0,e}return k(i,t),f(i)}(q5),dU=function(t){function i(){return h(this,i),Rr(this,i,arguments)}return k(i,t),f(i,[{key:"onAndCancel",value:function(n,r,a){return n.addEventListener(r,a,!1),function(){n.removeEventListener(r,a,!1)}}},{key:"dispatchEvent",value:function(n,r){n.dispatchEvent(r)}},{key:"remove",value:function(n){n.parentNode&&n.parentNode.removeChild(n)}},{key:"createElement",value:function(n,r){return(r=r||this.getDefaultDocument()).createElement(n)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(n){return n.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(n){return n instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(n,r){return"window"===r?window:"document"===r?n:"body"===r?n.body:null}},{key:"getBaseHref",value:function(n){var r=(vu=vu||document.querySelector("base"))?vu.getAttribute("href"):null;return null==r?null:function(t){(Yd=Yd||document.createElement("a")).setAttribute("href",t);var i=Yd.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(r)}},{key:"resetBaseElement",value:function(){vu=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(n){return lE(document.cookie,n)}}],[{key:"makeCurrent",value:function(){!function(t){Pd||(Pd=t)}(new i)}}])}(cU),vu=null,pE=new V("TRANSITION_ID"),gU=[{provide:Dd,useFactory:function(t,i,e){return function(){e.get(xs).donePromise.then(function(){for(var n=fr(),r=i.querySelectorAll('style[ng-transition="'.concat(t,'"]')),a=0;a<r.length;a++)n.remove(r[a])})}},deps:[pE,oe,ot],multi:!0}],mU=function(){function t(){h(this,t)}return f(t,[{key:"addToWindow",value:function(e){nt.getAngularTestability=function(r){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=e.findTestabilityInTree(r,a);if(null==o)throw new Error("Could not find testability for element.");return o},nt.getAllAngularTestabilities=function(){return e.getAllTestabilities()},nt.getAllAngularRootElements=function(){return e.getAllRootElements()},nt.frameworkStabilizers||(nt.frameworkStabilizers=[]),nt.frameworkStabilizers.push(function(a){var o=nt.getAllAngularTestabilities(),s=o.length,l=!1,u=function(d){l=l||d,0==--s&&a(l)};o.forEach(function(c){c.whenStable(u)})})}},{key:"findTestabilityInTree",value:function(e,n,r){if(null==n)return null;var a=e.getTestability(n);return null!=a?a:r?fr().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}],[{key:"init",value:function(){!function(t){Tm=t}(new t)}}])}(),vU=function(){var t=function(){return f(function i(){h(this,i)},[{key:"build",value:function(){return new XMLHttpRequest}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),_u=new V("EventManagerPlugins"),Qd=function(){var t=function(){return f(function i(e,n){var r=this;h(this,i),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(a){return a.manager=r}),this._plugins=e.slice().reverse()},[{key:"addEventListener",value:function(n,r,a){return this._findPluginFor(r).addEventListener(n,r,a)}},{key:"addGlobalEventListener",value:function(n,r,a){return this._findPluginFor(r).addGlobalEventListener(n,r,a)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(n){var r=this._eventNameToPlugin.get(n);if(r)return r;for(var a=this._plugins,o=0;o<a.length;o++){var s=a[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error("No event manager plugin found for event ".concat(n))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(_u),x(ue))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),hv=function(){return f(function t(i){h(this,t),this._doc=i},[{key:"addGlobalEventListener",value:function(e,n,r){var a=fr().getGlobalEventTarget(this._doc,e);if(!a)throw new Error("Unsupported event target ".concat(a," for event ").concat(n));return this.addEventListener(a,n,r)}}])}(),mE=function(){var t=function(){return f(function i(){h(this,i),this._stylesSet=new Set},[{key:"addStyles",value:function(n){var r=this,a=new Set;n.forEach(function(o){r._stylesSet.has(o)||(r._stylesSet.add(o),a.add(o))}),this.onStylesAdded(a)}},{key:"onStylesAdded",value:function(n){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),yu=function(){var t=function(i){function e(n){var r;return h(this,e),(r=Rr(this,e))._doc=n,r._hostNodes=new Map,r._hostNodes.set(n.head,[]),r}return k(e,i),f(e,[{key:"_addStylesToHost",value:function(r,a,o){var s=this;r.forEach(function(l){var u=s._doc.createElement("style");u.textContent=l,o.push(a.appendChild(u))})}},{key:"addHost",value:function(r){var a=[];this._addStylesToHost(this._stylesSet,r,a),this._hostNodes.set(r,a)}},{key:"removeHost",value:function(r){var a=this._hostNodes.get(r);a&&a.forEach(vE),this._hostNodes.delete(r)}},{key:"onStylesAdded",value:function(r){var a=this;this._hostNodes.forEach(function(o,s){a._addStylesToHost(r,s,o)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(r){return r.forEach(vE)})}}])}(mE);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}();function vE(t){fr().remove(t)}var pv={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/"},gv=/%COMP%/g,AU="_nghost-".concat("%COMP%"),xU="_ngcontent-".concat("%COMP%");function Kd(t,i,e){for(var n=0;n<i.length;n++){var r=i[n];Array.isArray(r)?Kd(t,r,e):(r=r.replace(gv,t),e.push(r))}return e}function bE(t){return function(i){if("__ngUnwrap__"===i)return t;!1===t(i)&&(i.preventDefault(),i.returnValue=!1)}}var $d=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new mv(e)},[{key:"createRenderer",value:function(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Mi.Emulated:var a=this.rendererByCompId.get(r.id);return a||(a=new FU(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,a)),a.applyToHost(n),a;case 1:case Mi.ShadowDom:return new PU(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){var o=Kd(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Qd),x(yu),x(su))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),mv=function(){return f(function t(i){h(this,t),this.eventManager=i,this.data=Object.create(null)},[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,n){return n?document.createElementNS(pv[n]||n,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,n){e.appendChild(n)}},{key:"insertBefore",value:function(e,n,r){e&&e.insertBefore(n,r)}},{key:"removeChild",value:function(e,n){e&&e.removeChild(n)}},{key:"selectRootElement",value:function(e,n){var r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error('The selector "'.concat(e,'" did not match any elements'));return n||(r.textContent=""),r}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,n,r,a){if(a){n=a+":"+n;var o=pv[a];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}},{key:"removeAttribute",value:function(e,n,r){if(r){var a=pv[r];a?e.removeAttributeNS(a,n):e.removeAttribute("".concat(r,":").concat(n))}else e.removeAttribute(n)}},{key:"addClass",value:function(e,n){e.classList.add(n)}},{key:"removeClass",value:function(e,n){e.classList.remove(n)}},{key:"setStyle",value:function(e,n,r,a){a&(es.DashCase|es.Important)?e.style.setProperty(n,r,a&es.Important?"important":""):e.style[n]=r}},{key:"removeStyle",value:function(e,n,r){r&es.DashCase?e.style.removeProperty(n):e.style[n]=""}},{key:"setProperty",value:function(e,n,r){e[n]=r}},{key:"setValue",value:function(e,n){e.nodeValue=n}},{key:"listen",value:function(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,bE(r)):this.eventManager.addEventListener(e,n,bE(r))}}])}(),FU=function(t){function i(e,n,r,a){var o;h(this,i),(o=Rr(this,i,[e])).component=r;var s=Kd(a+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr=function(t){return xU.replace(gv,t)}(a+"-"+r.id),o.hostAttr=function(t){return AU.replace(gv,t)}(a+"-"+r.id),o}return k(i,t),f(i,[{key:"applyToHost",value:function(n){J(M(i.prototype),"setAttribute",this).call(this,n,this.hostAttr,"")}},{key:"createElement",value:function(n,r){var a=J(M(i.prototype),"createElement",this).call(this,n,r);return J(M(i.prototype),"setAttribute",this).call(this,a,this.contentAttr,""),a}}])}(mv),PU=function(t){function i(e,n,r,a){var o;h(this,i),(o=Rr(this,i,[e])).sharedStylesHost=n,o.hostEl=r,o.shadowRoot=r.attachShadow({mode:"open"}),o.sharedStylesHost.addHost(o.shadowRoot);for(var s=Kd(a.id,a.styles,[]),l=0;l<s.length;l++){var u=document.createElement("style");u.textContent=s[l],o.shadowRoot.appendChild(u)}return o}return k(i,t),f(i,[{key:"nodeOrShadowRoot",value:function(n){return n===this.hostEl?this.shadowRoot:n}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(n,r){return J(M(i.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(n),r)}},{key:"insertBefore",value:function(n,r,a){return J(M(i.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(n),r,a)}},{key:"removeChild",value:function(n,r){return J(M(i.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(n),r)}},{key:"parentNode",value:function(n){return this.nodeOrShadowRoot(J(M(i.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(n)))}}])}(mv),NU=function(){var t=function(i){function e(n){return h(this,e),Rr(this,e,[n])}return k(e,i),f(e,[{key:"supports",value:function(r){return!0}},{key:"addEventListener",value:function(r,a,o){var s=this;return r.addEventListener(a,o,!1),function(){return s.removeEventListener(r,a,o)}}},{key:"removeEventListener",value:function(r,a,o){return r.removeEventListener(a,o)}}])}(hv);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),wE=["alt","control","meta","shift"],jU={"\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"},ME={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"},QU={alt:function(i){return i.altKey},control:function(i){return i.ctrlKey},meta:function(i){return i.metaKey},shift:function(i){return i.shiftKey}},KU=function(){var t=function(i){function e(n){return h(this,e),Rr(this,e,[n])}return k(e,i),f(e,[{key:"supports",value:function(r){return null!=e.parseEventName(r)}},{key:"addEventListener",value:function(r,a,o){var s=e.parseEventName(a),l=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return fr().onAndCancel(r,s.domEventName,l)})}}],[{key:"parseEventName",value:function(r){var a=r.toLowerCase().split("."),o=a.shift();if(0===a.length||"keydown"!==o&&"keyup"!==o)return null;var s=e._normalizeKey(a.pop()),l="";if(wE.forEach(function(c){var d=a.indexOf(c);d>-1&&(a.splice(d,1),l+=c+".")}),l+=s,0!=a.length||0===s.length)return null;var u={};return u.domEventName=o,u.fullKey=l,u}},{key:"getEventFullKey",value:function(r){var a="",o=function(t){var i=t.key;if(null==i){if(null==(i=t.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===t.location&&ME.hasOwnProperty(i)&&(i=ME[i]))}return jU[i]||i}(r);return" "===(o=o.toLowerCase())?o="space":"."===o&&(o="dot"),wE.forEach(function(s){s!=o&&(0,QU[s])(r)&&(a+=s+".")}),a+=o}},{key:"eventCallback",value:function(r,a,o){return function(s){e.getEventFullKey(s)===r&&o.runGuarded(function(){return a(s)})}}},{key:"_normalizeKey",value:function(r){return"esc"===r?"escape":r}}])}(hv);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),lo=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return x(_v)},token:t,providedIn:"root"}),t}(),_v=function(){var t=function(i){function e(n){var r;return h(this,e),(r=Rr(this,e))._doc=n,r}return k(e,i),f(e,[{key:"sanitize",value:function(r,a){if(null==a)return null;switch(r){case rn.NONE:return a;case rn.HTML:return rr(a,"HTML")?Yn(a):hk(this._doc,String(a)).toString();case rn.STYLE:return rr(a,"Style")?Yn(a):a;case rn.SCRIPT:if(rr(a,"Script"))return Yn(a);throw new Error("unsafe value used in a script context");case rn.URL:return ak(a),rr(a,"URL")?Yn(a):Fl(String(a));case rn.RESOURCE_URL:if(rr(a,"ResourceURL"))return Yn(a);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(r," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(r){return function(t){return new MP(t)}(r)}},{key:"bypassSecurityTrustStyle",value:function(r){return function(t){return new SP(t)}(r)}},{key:"bypassSecurityTrustScript",value:function(r){return function(t){return new DP(t)}(r)}},{key:"bypassSecurityTrustUrl",value:function(r){return function(t){return new EP(t)}(r)}},{key:"bypassSecurityTrustResourceUrl",value:function(r){return function(t){return new AP(t)}(r)}}])}(lo);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({factory:function(){return function(t){return new _v(t.get(oe))}(x(rd))},token:t,providedIn:"root"}),t}(),a8=kD(z4,"browser",[{provide:vn,useValue:"browser"},{provide:fD,useValue:function(){dU.makeCurrent(),mU.init()},multi:!0},{provide:oe,useFactory:function(){return t=document,wp=t,document;var t},deps:[]}]),o8=[[],{provide:Vl,useValue:"root"},{provide:Ai,useFactory:function(){return new Ai},deps:[]},{provide:_u,useClass:NU,multi:!0,deps:[oe,ue,vn]},{provide:_u,useClass:KU,multi:!0,deps:[oe]},[],{provide:$d,useClass:$d,deps:[Qd,yu,su]},{provide:Ja,useExisting:$d},{provide:mE,useExisting:yu},{provide:yu,useClass:yu,deps:[oe]},{provide:xm,useClass:xm,deps:[ue]},{provide:Qd,useClass:Qd,deps:[_u,ue]},{provide:fv,useClass:vU,deps:[]},[]],yv=function(){var t=function(){function i(e){if(h(this,i),e)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.")}return f(i,null,[{key:"withServerTransition",value:function(n){return{ngModule:i,providers:[{provide:su,useValue:n.appId},{provide:pE,useExisting:su},gU]}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(t,12))},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:o8,imports:[ht,J4]}),t}();function pt(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=i[i.length-1];return Po(n)?(i.pop(),sp(i,n)):up(i)}function f8(t,i){return lp(t,i,1)}function tt(t,i){return function(n){return n.lift(new p8(t,i))}}"undefined"!=typeof window&&window;var p8=function(){return f(function t(i,e){h(this,t),this.predicate=i,this.thisArg=e},[{key:"call",value:function(e,n){return n.subscribe(new g8(e,this.predicate,this.thisArg))}}])}(),g8=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.predicate=n,a.thisArg=r,a.count=0,a}return k(i,t),f(i,[{key:"_next",value:function(n){var r;try{r=this.predicate.call(this.thisArg,n,this.count++)}catch(a){return void this.destination.error(a)}r&&this.destination.next(n)}}])}(kt);function Cv(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var DE=f(function t(){h(this,t)}),EE=f(function t(){h(this,t)}),bu=function(){function t(i){var e=this;h(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,i?this.lazyInit="string"==typeof i?function(){e.headers=new Map,i.split("\n").forEach(function(n){var r=n.indexOf(":");if(r>0){var a=n.slice(0,r),o=a.toLowerCase(),s=n.slice(r+1).trim();e.maybeSetNormalizedName(a,o),e.headers.has(o)?e.headers.get(o).push(s):e.headers.set(o,[s])}})}:function(){e.headers=new Map,Object.keys(i).forEach(function(n){var r=i[n],a=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(a,r),e.maybeSetNormalizedName(n,a))})}:this.headers=new Map}return f(t,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,n){return this.clone({name:e,value:n,op:"a"})}},{key:"set",value:function(e,n){return this.clone({name:e,value:n,op:"s"})}},{key:"delete",value:function(e,n){return this.clone({name:e,value:n,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}},{key:"init",value: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(n){return e.applyUpdate(n)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var n=this;e.init(),Array.from(e.headers.keys()).forEach(function(r){n.headers.set(r,e.headers.get(r)),n.normalizedNames.set(r,e.normalizedNames.get(r))})}},{key:"clone",value: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}},{key:"applyUpdate",value:function(e){var n=e.name.toLowerCase();switch(e.op){case"a":case"s":var r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,n);var a=("a"===e.op?this.headers.get(n):void 0)||[];a.push.apply(a,we(r)),this.headers.set(n,a);break;case"d":var o=e.value;if(o){var s=this.headers.get(n);if(!s)return;0===(s=s.filter(function(l){return-1===o.indexOf(l)})).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}},{key:"forEach",value:function(e){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(r){return e(n.normalizedNames.get(r),n.headers.get(r))})}}])}(),m8=function(){return f(function t(){h(this,t)},[{key:"encodeKey",value:function(e){return AE(e)}},{key:"encodeValue",value:function(e){return AE(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}])}();function v8(t,i){var e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(r){var a=r.indexOf("="),s=Be(-1==a?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,a)),i.decodeValue(r.slice(a+1))],2),l=s[0],u=s[1],c=e.get(l)||[];c.push(u),e.set(l,c)}),e}var _8=/%(\d[a-f0-9])/gi,y8={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function AE(t){return encodeURIComponent(t).replace(_8,function(i,e){var n;return null!==(n=y8[e])&&void 0!==n?n:i})}function xE(t){return"".concat(t)}var Os=function(){function t(){var i=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(h(this,t),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new m8,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=v8(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(n){var r=e.fromObject[n];i.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}return f(t,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var n=this.map.get(e);return n?n[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,n){return this.clone({param:e,value:n,op:"a"})}},{key:"appendAll",value:function(e){var n=[];return Object.keys(e).forEach(function(r){var a=e[r];Array.isArray(a)?a.forEach(function(o){n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:a,op:"a"})}),this.clone(n)}},{key:"set",value:function(e,n){return this.clone({param:e,value:n,op:"s"})}},{key:"delete",value:function(e,n){return this.clone({param:e,value:n,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(n){var r=e.encoder.encodeKey(n);return e.map.get(n).map(function(a){return r+"="+e.encoder.encodeValue(a)}).join("&")}).filter(function(n){return""!==n}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(n){return e.map.set(n,e.cloneFrom.map.get(n))}),this.updates.forEach(function(n){switch(n.op){case"a":case"s":var r=("a"===n.op?e.map.get(n.param):void 0)||[];r.push(xE(n.value)),e.map.set(n.param,r);break;case"d":if(void 0===n.value){e.map.delete(n.param);break}var a=e.map.get(n.param)||[],o=a.indexOf(xE(n.value));-1!==o&&a.splice(o,1),a.length>0?e.map.set(n.param,a):e.map.delete(n.param)}}),this.cloneFrom=this.updates=null)}}])}(),b8=function(){return f(function t(){h(this,t),this.map=new Map},[{key:"set",value:function(e,n){return this.map.set(e,n),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}])}();function TE(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function IE(t){return"undefined"!=typeof Blob&&t instanceof Blob}function RE(t){return"undefined"!=typeof FormData&&t instanceof FormData}var kv=function(){function t(i,e,n,r){var a;if(h(this,t),this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.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,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new bu),this.context||(this.context=new b8),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+o}}else this.params=new Os,this.urlWithParams=e}return f(t,[{key:"serializeBody",value:function(){return null===this.body?null:TE(this.body)||IE(this.body)||RE(this.body)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Os?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||RE(this.body)?null:IE(this.body)?this.body.type||null:TE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Os?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.method||this.method,a=e.url||this.url,o=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,l=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,u=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,v=null!==(n=e.context)&&void 0!==n?n:this.context;return void 0!==e.setHeaders&&(c=Object.keys(e.setHeaders).reduce(function(_,b){return _.set(b,e.setHeaders[b])},c)),e.setParams&&(d=Object.keys(e.setParams).reduce(function(_,b){return _.set(b,e.setParams[b])},d)),new t(r,a,s,{params:d,headers:c,context:v,reportProgress:u,responseType:o,withCredentials:l})}}])}(),Cu=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}({}),wv=f(function t(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";h(this,t),this.headers=i.headers||new bu,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}),w8=function(t){function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(this,i),(e=Cv(this,i,[n])).type=Cu.ResponseHeader,e}return k(i,t),f(i,[{key:"clone",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}])}(wv),OE=function(t){function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(this,i),(e=Cv(this,i,[n])).type=Cu.Response,e.body=void 0!==n.body?n.body:null,e}return k(i,t),f(i,[{key:"clone",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}])}(wv),FE=function(t){function i(e){var n;return h(this,i),(n=Cv(this,i,[e,0,"Unknown Error"])).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),n.error=e.error||null,n}return k(i,t),f(i)}(wv);function Mv(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Or=function(){var t=function(){return f(function i(e){h(this,i),this.handler=e},[{key:"request",value:function(n,r){var s,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n instanceof kv)s=n;else{var l=void 0;l=o.headers instanceof bu?o.headers:new bu(o.headers);var u=void 0;o.params&&(u=o.params instanceof Os?o.params:new Os({fromObject:o.params})),s=new kv(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}var c=pt(s).pipe(f8(function(v){return a.handler.handle(v)}));if(n instanceof kv||"events"===o.observe)return c;var d=c.pipe(tt(function(v){return v instanceof OE}));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return d.pipe(dt(function(v){if(null!==v.body&&!(v.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return v.body}));case"blob":return d.pipe(dt(function(v){if(null!==v.body&&!(v.body instanceof Blob))throw new Error("Response is not a Blob.");return v.body}));case"text":return d.pipe(dt(function(v){if(null!==v.body&&"string"!=typeof v.body)throw new Error("Response is not a string.");return v.body}));default:return d.pipe(dt(function(v){return v.body}))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(o.observe,"}"))}}},{key:"delete",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",n,r)}},{key:"get",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",n,r)}},{key:"head",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",n,r)}},{key:"jsonp",value:function(n,r){return this.request("JSONP",n,{params:(new Os).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",n,r)}},{key:"patch",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",n,Mv(a,r))}},{key:"post",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",n,Mv(a,r))}},{key:"put",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",n,Mv(a,r))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(DE))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),PE=function(){return f(function t(i,e){h(this,t),this.next=i,this.interceptor=e},[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}])}(),NE=new V("HTTP_INTERCEPTORS"),M8=function(){var t=function(){return f(function i(){h(this,i)},[{key:"intercept",value:function(n,r){return r.handle(n)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),S8=/^\)\]\}',?\n/,LE=function(){var t=function(){return f(function i(e){h(this,i),this.xhrFactory=e},[{key:"handle",value:function(n){var r=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ze(function(a){var o=r.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach(function(A,T){return o.setRequestHeader(A,T.join(","))}),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var s=n.detectContentTypeHeader();null!==s&&o.setRequestHeader("Content-Type",s)}if(n.responseType){var l=n.responseType.toLowerCase();o.responseType="json"!==l?l:"text"}var u=n.serializeBody(),c=null,d=function(){if(null!==c)return c;var T=1223===o.status?204:o.status,N=o.statusText||"OK",z=new bu(o.getAllResponseHeaders()),Y=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||n.url;return c=new w8({headers:z,status:T,statusText:N,url:Y})},v=function(){var T=d(),N=T.headers,z=T.status,Y=T.statusText,le=T.url,ye=null;204!==z&&(ye=void 0===o.response?o.responseText:o.response),0===z&&(z=ye?200:0);var Le=z>=200&&z<300;if("json"===n.responseType&&"string"==typeof ye){var vt=ye;ye=ye.replace(S8,"");try{ye=""!==ye?JSON.parse(ye):null}catch(Nt){ye=vt,Le&&(Le=!1,ye={error:Nt,text:ye})}}Le?(a.next(new OE({body:ye,headers:N,status:z,statusText:Y,url:le||void 0})),a.complete()):a.error(new FE({error:ye,headers:N,status:z,statusText:Y,url:le||void 0}))},_=function(T){var N=d(),Y=new FE({error:T,status:o.status||0,statusText:o.statusText||"Unknown Error",url:N.url||void 0});a.error(Y)},b=!1,C=function(T){b||(a.next(d()),b=!0);var N={type:Cu.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),"text"===n.responseType&&!!o.responseText&&(N.partialText=o.responseText),a.next(N)},D=function(T){var N={type:Cu.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),a.next(N)};return o.addEventListener("load",v),o.addEventListener("error",_),o.addEventListener("timeout",_),o.addEventListener("abort",_),n.reportProgress&&(o.addEventListener("progress",C),null!==u&&o.upload&&o.upload.addEventListener("progress",D)),o.send(u),a.next({type:Cu.Sent}),function(){o.removeEventListener("error",_),o.removeEventListener("abort",_),o.removeEventListener("load",v),o.removeEventListener("timeout",_),n.reportProgress&&(o.removeEventListener("progress",C),null!==u&&o.upload&&o.upload.removeEventListener("progress",D)),o.readyState!==o.DONE&&o.abort()}})}}])}();return t.\u0275fac=function(e){return new(e||t)(x(fv))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),Sv=new V("XSRF_COOKIE_NAME"),Dv=new V("XSRF_HEADER_NAME"),BE=f(function t(){h(this,t)}),E8=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0},[{key:"getToken",value:function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=lE(n,this.cookieName),this.lastCookieString=n),this.lastToken}}])}();return t.\u0275fac=function(e){return new(e||t)(x(oe),x(vn),x(Sv))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),Ev=function(){var t=function(){return f(function i(e,n){h(this,i),this.tokenService=e,this.headerName=n},[{key:"intercept",value:function(n,r){var a=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||a.startsWith("http://")||a.startsWith("https://"))return r.handle(n);var o=this.tokenService.getToken();return null!==o&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,o)})),r.handle(n)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(BE),x(Dv))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),A8=function(){var t=function(){return f(function i(e,n){h(this,i),this.backend=e,this.injector=n,this.chain=null},[{key:"handle",value:function(n){if(null===this.chain){var r=this.injector.get(NE,[]);this.chain=r.reduceRight(function(a,o){return new PE(a,o)},this.backend)}return this.chain.handle(n)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(EE),x(ot))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),x8=function(){var t=function(){function i(){h(this,i)}return f(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:Ev,useClass:M8}]}}},{key:"withOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.cookieName?{provide:Sv,useValue:n.cookieName}:[],n.headerName?{provide:Dv,useValue:n.headerName}:[]]}}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Ev,{provide:NE,useExisting:Ev,multi:!0},{provide:BE,useClass:E8},{provide:Sv,useValue:"XSRF-TOKEN"},{provide:Dv,useValue:"X-XSRF-TOKEN"}]}),t}(),Av=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Or,{provide:DE,useClass:A8},LE,{provide:EE,useExisting:LE}],imports:[[x8.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),I8=function(t,i){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,i)},uo=function(){var t=function(){return f(function i(){h(this,i);var e=window.location.search;this.authQs=this.constructAuthQueryString(e)},[{key:"addAuthQsToUrl",value:function(n){if(!this.authQs.length)return n;var r=-1!==n.indexOf("?"),a=-1!==n.indexOf("#");if(r){var o=n.split("?");return"".concat(o[0]).concat(this.authQs,"&").concat(o[1])}if(a){var s=n.split("#");return"".concat(s[0]).concat(this.authQs,"#").concat(s[1])}return"".concat(n).concat(this.authQs)}},{key:"getAuthQs",value:function(){return this.authQs}},{key:"getEkitFromUrl",value:function(n){if(-1!==n.indexOf("ekit")){var r=n.split("ekit=");if(2===r.length){var a=r[1],o=a.indexOf("&");return-1!==o&&(a=a.substring(0,o)),-1!==a.indexOf("==")&&(a=encodeURIComponent(a)),a}}return null}},{key:"getGapImpersonateNameFromUrl",value:function(n){if(-1!==n.indexOf("impersonate")){var r=n.split("impersonate=");if(2===r.length)return r[1]}return null}},{key:"constructAuthQueryString",value:function(n){if(null===n||0===n.length)return"";var r=this.getGapImpersonateNameFromUrl(n),a=this.getEkitFromUrl(n);return null!==a?"?ekit=".concat(a):null!==r?"?impersonate=".concat(r):""}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t=function(t,i,e,n){var o,r=arguments.length,a=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,e,a):o(i,e))||a);return r>3&&a&&Object.defineProperty(i,e,a),a}([I8("design:paramtypes",[])],t),t}(),xv=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[uo],imports:[[]]}),t}(),VE=function(){function t(i,e){this.httpClient=i,this.impersonate=e,this.options={withCredentials:!0}}return t.prototype.init=function(i){return this.httpClient.post("/header"+i,null,this.options)},t.prototype.getGapProjects=function(){return this.httpClient.get("/header/get-gap-projects"+this.impersonate.authQs)},t.prototype.setGapProject=function(i){return this.httpClient.post("/header/set-gap-project"+this.impersonate.authQs,{bcgGroup:i},this.options)},t.\u0275prov=U({token:t,factory:t.\u0275fac=function(e){return new(e||t)(x(Or),x(uo))}}),t}(),R8=[VE],Yi=function(t){function i(e){var n;return h(this,i),n=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,[],M(t).constructor):i.apply(t,e))}(this,i),n._value=e,n}return k(i,t),f(i,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(n){var r=J(M(i.prototype),"_subscribe",this).call(this,n);return r&&!r.closed&&n.next(this._value),r}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Fa;return this._value}},{key:"next",value:function(n){J(M(i.prototype),"next",this).call(this,this._value=n)}}])}($);function fa(){}function Fs(t,i,e){return function(r){return r.lift(new P8(t,i,e))}}var P8=function(){return f(function t(i,e,n){h(this,t),this.nextOrObserver=i,this.error=e,this.complete=n},[{key:"call",value:function(e,n){return n.subscribe(new N8(e,this.nextOrObserver,this.error,this.complete))}}])}(),N8=function(t){function i(e,n,r,a){var o;return h(this,i),o=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),o._tapNext=fa,o._tapError=fa,o._tapComplete=fa,o._tapError=r||fa,o._tapComplete=a||fa,sl(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||fa,o._tapError=n.error||fa,o._tapComplete=n.complete||fa),o}return k(i,t),f(i,[{key:"_next",value:function(n){try{this._tapNext.call(this._context,n)}catch(r){return void this.destination.error(r)}this.destination.next(n)}},{key:"_error",value:function(n){try{this._tapError.call(this._context,n)}catch(r){return void this.destination.error(r)}this.destination.error(n)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}])}(kt),V8={provide:hD,useFactory:function(t,i){return function(){if(so(i)){var e=Array.from(t.querySelectorAll("[class*=".concat(HE,"]"))),n=/\bflex-layout-.+?\b/g;e.forEach(function(r){r.classList.contains("".concat(HE,"ssr"))&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(n,"")})}}},deps:[oe,vn],multi:!0},HE="flex-layout-",Tv=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[V8]}),t}(),ku=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;h(this,t),this.matches=i,this.mediaQuery=e,this.mqAlias=n,this.suffix=r,this.priority=a,this.property=""}return f(t,[{key:"clone",value:function(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}])}(),GE=function(){var t=function(){return f(function i(){h(this,i),this.stylesheet=new Map},[{key:"addStyleToElement",value:function(n,r,a){var o=this.stylesheet.get(n);o?o.set(r,a):this.stylesheet.set(n,new Map([[r,a]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(n,r){var a=this.stylesheet.get(n),o="";if(a){var s=a.get(r);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Iv={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},qi=new V("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return Iv}}),co=new V("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),Rv=new V("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function UE(t,i){return t=t?t.clone():new ku,i&&(t.mqAlias=i.alias,t.mediaQuery=i.mediaQuery,t.suffix=i.suffix,t.priority=i.priority),t}var Ov="inline",jE=["row","column","row-reverse","column-reverse"];function H8(t){var i=function(t){var e=Be((t=t?t.toLowerCase():"").split(" "),3),n=e[0],r=e[1],a=e[2];return jE.find(function(o){return o===n})||(n=jE[0]),r===Ov&&(r=a!==Ov?a:"",a=Ov),[n,U8(r),!!a]}(t),e=Be(i,3);return function(t){return{display:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||null}}(e[0],e[1],e[2])}function U8(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var It=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this.elementRef=e,this.styleBuilder=n,this.styler=r,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new $,this.styleCache=new Map},[{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(n){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,this.marshal.activatedAlias)}},{key:"ngOnChanges",value:function(n){var r=this;Object.keys(n).forEach(function(a){if(-1!==r.inputs.indexOf(a)){var o=a.split(".").slice(1).join(".");r.setValue(n[a].currentValue,o)}})}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),n)}},{key:"addStyles",value:function(n,r){var a=this.styleBuilder,o=a.shouldCache,s=this.styleCache.get(n);(!s||!o)&&(s=a.buildStyles(n,r),o&&this.styleCache.set(n,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),a.sideEffect(n,s,r)}},{key:"clearStyles",value:function(){var n=this;Object.keys(this.mru).forEach(function(r){n.mru[r]=""}),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var a=this.styler.getFlowDirection(n),o=Be(a,2),s=o[0],l=o[1];if(!l&&r){var u=H8(s),c=[n];this.styler.applyStyleToElements(u,c)}return s.trim()}return"row"}},{key:"hasWrap",value:function(n){return this.styler.hasWrap(n)}},{key:"applyStyleToElement",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(a,n,r)}},{key:"setValue",value:function(n,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,r)}},{key:"updateWithValue",value:function(n){this.currentValue!==n&&(this.addStyles(n),this.currentValue=n)}}])}();return t.\u0275fac=function(e){!function(){throw new Error("invalid")}()},t.\u0275dir=E({type:t,features:[Te]}),t}(),z8=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],zE="(orientation: portrait) and (max-width: 599.98px)",WE="(orientation: landscape) and (max-width: 959.98px)",YE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",qE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",QE="(orientation: portrait) and (min-width: 840px)",KE="(orientation: landscape) and (min-width: 1280px)",Fr={HANDSET:"".concat(zE,", ").concat(WE),TABLET:"".concat(YE," , ").concat(qE),WEB:"".concat(QE,", ").concat(KE," "),HANDSET_PORTRAIT:"".concat(zE),TABLET_PORTRAIT:"".concat(YE," "),WEB_PORTRAIT:"".concat(QE),HANDSET_LANDSCAPE:"".concat(WE),TABLET_LANDSCAPE:"".concat(qE),WEB_LANDSCAPE:"".concat(KE)},W8=[{alias:"handset",priority:2e3,mediaQuery:Fr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Fr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Fr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Fr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Fr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Fr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Fr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Fr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Fr.WEB_PORTRAIT,overlapping:!0}];function Y8(t){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var i=arguments.length,e=new Array(i>1?i-1:0),n=1;n<i;n++)e[n-1]=arguments[n];for(var r=0,a=e;r<a.length;r++){var o=a[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}var q8=/(\.|-|_)/g;function Q8(t){var i=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return i.toUpperCase()+e}function $8(t){return t.forEach(function(i){i.suffix||(i.suffix=function(t){return t.replace(q8,"|").split("|").map(Q8).join("")}(i.alias),i.overlapping=!!i.overlapping)}),t}var $E=new V("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var i=Jo(Rv),e=Jo(qi),n=[].concat.apply([],(i||[]).map(function(a){return Array.isArray(a)?a:[a]}));return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};return t.forEach(function(n){e[n.alias]=n}),i.forEach(function(n){e[n.alias]?Y8(e[n.alias],n):e[n.alias]=n}),$8(Object.keys(e).map(function(n){return e[n]}))}((e.disableDefaultBps?[]:z8).concat(e.addOrientationBps?W8:[]),n)}});function wu(t,i){return(i&&i.priority||0)-(t&&t.priority||0)}function J8(t,i){return(t.priority||0)-(i.priority||0)}var Mu=function(){var t=function(){return f(function i(e){h(this,i),this.findByMap=new Map,this.items=we(e).sort(J8)},[{key:"findByAlias",value:function(n){return n?this.findWithPredicate(n,function(r){return r.alias==n}):null}},{key:"findByQuery",value:function(n){return this.findWithPredicate(n,function(r){return r.mediaQuery==n})}},{key:"overlappings",get:function(){return this.items.filter(function(n){return 1==n.overlapping})}},{key:"aliases",get:function(){return this.items.map(function(n){return n.alias})}},{key:"suffixes",get:function(){return this.items.map(function(n){return n.suffix?n.suffix:""})}},{key:"findWithPredicate",value:function(n,r){var a=this.findByMap.get(n);return a||(a=this.items.find(r)||null,this.findByMap.set(n,a)),a||null}}])}();return t.\u0275fac=function(e){return new(e||t)(x($E))},t.\u0275prov=U({factory:function(){return new t(x($E))},token:t,providedIn:"root"}),t}(),Xd=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._zone=e,this._platformId=n,this._document=r,this.source=new Yi(new ku(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()},[{key:"activations",get:function(){var n=[];return this.registry.forEach(function(r,a){r.matches&&n.push(a)}),n}},{key:"isActive",value:function(n){var r=this.registry.get(n);return r?r.matches:this.registerQuery(n).some(function(a){return a.matches})}},{key:"observe",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&n.length){var o=this._observable$.pipe(tt(function(l){return!a||n.indexOf(l.mediaQuery)>-1})),s=new Ze(function(l){var u=r.registerQuery(n);if(u.length){var c=u.pop();u.forEach(function(d){l.next(d)}),r.source.next(c)}l.complete()});return $e(s,o)}return this._observable$}},{key:"registerQuery",value:function(n){var r=this,a=Array.isArray(n)?n:[n],o=[];return function(t,i){var e=t.filter(function(o){return!XE[o]});if(e.length>0){var n=e.join(", ");try{var r=i.createElement("style");if(r.setAttribute("type","text/css"),!r.styleSheet){var a="\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ".concat(n," {.fx-query-test{ }}\n");r.appendChild(i.createTextNode(a))}i.head.appendChild(r),e.forEach(function(o){return XE[o]=r})}catch(o){console.error(o)}}}(a,this._document),a.forEach(function(s){var l=function(d){r._zone.run(function(){return r.source.next(new ku(d.matches,s))})},u=r.registry.get(s);u||((u=r.buildMQL(s)).addListener(l),r.pendingRemoveListenerFns.push(function(){return u.removeListener(l)}),r.registry.set(s,u)),u.matches&&o.push(new ku(!0,s))}),o}},{key:"ngOnDestroy",value:function(){for(var n;n=this.pendingRemoveListenerFns.pop();)n()}},{key:"buildMQL",value:function(n){return function(t,i){return i&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){},onchange:null,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}(n,so(this._platformId))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ue),x(vn),x(oe))},t.\u0275prov=U({factory:function(){return new t(x(ue),x(vn),x(oe))},token:t,providedIn:"root"}),t}(),XE={},Ps="print",ij={alias:Ps,mediaQuery:Ps,priority:1e3},JE=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.breakpoints=e,this.layoutConfig=n,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new rj,this.deactivations=[]},[{key:"withPrintQuery",value:function(n){return[].concat(we(n),[Ps])}},{key:"isPrintEvent",value:function(n){return n.mediaQuery.startsWith(Ps)}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var n=this;return this.printAlias.map(function(r){return n.breakpoints.findByAlias(r)}).filter(function(r){return null!==r})}},{key:"getEventBreakpoints",value:function(n){var a=this.breakpoints.findByQuery(n.mediaQuery);return(a?[].concat(we(this.printBreakPoints),[a]):this.printBreakPoints).sort(wu)}},{key:"updateEvent",value:function(n){var r=this.breakpoints.findByQuery(n.mediaQuery);return this.isPrintEvent(n)&&(r=this.getEventBreakpoints(n)[0],n.mediaQuery=r?r.mediaQuery:""),UE(n,r)}},{key:"registerBeforeAfterPrintHooks",value:function(n){var r=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var a=function(){r.isPrinting||(r.isPrintingBeforeAfterEvent=!0,r.startPrinting(n,r.getEventBreakpoints(new ku(!0,Ps))),n.updateStyles())},o=function(){r.isPrintingBeforeAfterEvent=!1,r.isPrinting&&(r.stopPrinting(n),n.updateStyles())};this._document.defaultView.addEventListener("beforeprint",a),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(a),this.afterPrintEventListeners.push(o)}}},{key:"interceptEvents",value:function(n){var r=this;return this.registerBeforeAfterPrintHooks(n),function(a){r.isPrintEvent(a)?a.matches&&!r.isPrinting?(r.startPrinting(n,r.getEventBreakpoints(a)),n.updateStyles()):!a.matches&&r.isPrinting&&!r.isPrintingBeforeAfterEvent&&(r.stopPrinting(n),n.updateStyles()):r.collectActivations(a)}}},{key:"blockPropagation",value:function(){var n=this;return function(r){return!(n.isPrinting||n.isPrintEvent(r))}}},{key:"startPrinting",value:function(n,r){this.isPrinting=!0,n.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}},{key:"stopPrinting",value:function(n){n.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(n){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(n.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var r=this.breakpoints.findByQuery(n.mediaQuery);r&&(this.deactivations.push(r),this.deactivations.sort(wu))}}},{key:"ngOnDestroy",value:function(){var n=this;this.beforePrintEventListeners.forEach(function(r){return n._document.defaultView.removeEventListener("beforeprint",r)}),this.afterPrintEventListeners.forEach(function(r){return n._document.defaultView.removeEventListener("afterprint",r)})}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Mu),x(qi),x(oe))},t.\u0275prov=U({factory:function(){return new t(x(Mu),x(qi),x(oe))},token:t,providedIn:"root"}),t}(),rj=function(){return f(function t(){h(this,t),this.printBreakpoints=[]},[{key:"addPrintBreakpoints",value:function(e){var n=this;return e.push(ij),e.sort(wu),e.forEach(function(r){return n.addBreakpoint(r)}),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){var t;e&&void 0===this.printBreakpoints.find(function(r){return r.mediaQuery===e.mediaQuery})&&(this.printBreakpoints=(t=e)&&t.mediaQuery.startsWith(Ps)?[e].concat(we(this.printBreakpoints)):[].concat(we(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}])}();function ZE(t){for(var i in t){var e=t[i]||"";switch(i){case"display":t.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+i]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e=e||"row",t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+i]=isNaN(+e)?"0":e}}return t}var Mt=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._serverStylesheet=e,this._serverModuleLoaded=n,this._platformId=r,this.layoutConfig=a},[{key:"applyStyleToElement",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o={};"string"==typeof r&&(o[r]=a,r=o),o=this.layoutConfig.disableVendorPrefixes?r:ZE(r),this._applyMultiValueStyleToElement(o,n)}},{key:"applyStyleToElements",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=this.layoutConfig.disableVendorPrefixes?n:ZE(n);a.forEach(function(s){r._applyMultiValueStyleToElement(o,s)})}},{key:"getFlowDirection",value:function(n){var r="flex-direction",a=this.lookupStyle(n,r);return[a||"row",this.lookupInlineStyle(n,r)||Rs(this._platformId)&&this._serverModuleLoaded?a:""]}},{key:"hasWrap",value:function(n){return"wrap"===this.lookupStyle(n,"flex-wrap")}},{key:"lookupAttributeValue",value:function(n,r){return n.getAttribute(r)||""}},{key:"lookupInlineStyle",value:function(n,r){return so(this._platformId)?n.style.getPropertyValue(r):this._getServerStyle(n,r)}},{key:"lookupStyle",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o="";if(n){var s=o=this.lookupInlineStyle(n,r);s||(so(this._platformId)?a||(o=getComputedStyle(n).getPropertyValue(r)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(n,r)))}return o?o.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(n,r){var a=this;Object.keys(n).sort().forEach(function(o){var s=n[o],l=Array.isArray(s)?s:[s];l.sort();var c,u=ct(l);try{for(u.s();!(c=u.n()).done;){var d=c.value;d=d?d+"":"",so(a._platformId)||!a._serverModuleLoaded?so(a._platformId)?r.style.setProperty(o,d):a._setServerStyle(r,o,d):a._serverStylesheet.addStyleToElement(r,o,d)}}catch(v){u.e(v)}finally{u.f()}})}},{key:"_setServerStyle",value:function(n,r,a){r=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var o=this._readStyleAttribute(n);o[r]=a||"",this._writeStyleAttribute(n,o)}},{key:"_getServerStyle",value:function(n,r){return this._readStyleAttribute(n)[r]||""}},{key:"_readStyleAttribute",value:function(n){var r={},a=n.getAttribute("style");if(a)for(var o=a.split(/;+/g),s=0;s<o.length;s++){var l=o[s].trim();if(l.length>0){var u=l.indexOf(":");if(-1===u)throw new Error("Invalid CSS style: ".concat(l));r[l.substr(0,u).trim()]=l.substr(u+1).trim()}}return r}},{key:"_writeStyleAttribute",value:function(n,r){var a="";for(var o in r)r[o]&&(a+=o+":"+r[o]+";");n.setAttribute("style",a)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(GE),x(co),x(vn),x(qi))},t.\u0275prov=U({factory:function(){return new t(x(GE),x(co),x(vn),x(qi))},token:t,providedIn:"root"}),t}(),Ht=function(){return f(function t(){h(this,t),this.shouldCache=!0},[{key:"sideEffect",value:function(e,n,r){}}])}(),Rt=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.matchMedia=e,this.breakpoints=n,this.hook=r,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new $,this.observeActivations()},[{key:"activatedAlias",get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}},{key:"onMediaChange",value:function(n){var r=this.findByQuery(n.mediaQuery);r&&((n=UE(n,r)).matches&&-1===this.activatedBreakpoints.indexOf(r)?(this.activatedBreakpoints.push(r),this.activatedBreakpoints.sort(wu),this.updateStyles()):!n.matches&&-1!==this.activatedBreakpoints.indexOf(r)&&(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(r),1),this.activatedBreakpoints.sort(wu),this.updateStyles()))}},{key:"init",value:function(n,r,a,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];n0(this.updateMap,n,r,a),n0(this.clearMap,n,r,o),this.buildElementKeyMap(n,r),this.watchExtraTriggers(n,r,s)}},{key:"getValue",value:function(n,r,a){var o=this.elementMap.get(n);if(o){var s=void 0!==a?o.get(a):this.getActivatedValues(o,r);if(s)return s.get(r)}}},{key:"hasValue",value:function(n,r){var a=this.elementMap.get(n);if(a){var o=this.getActivatedValues(a,r);if(o)return void 0!==o.get(r)||!1}return!1}},{key:"setValue",value:function(n,r,a,o){var s=this.elementMap.get(n);if(s){var l=(s.get(o)||new Map).set(r,a);s.set(o,l),this.elementMap.set(n,s)}else s=(new Map).set(o,(new Map).set(r,a)),this.elementMap.set(n,s);var u=this.getValue(n,r);void 0!==u&&this.updateElement(n,r,u)}},{key:"trackValue",value:function(n,r){return this.subject.asObservable().pipe(tt(function(a){return a.element===n&&a.key===r}))}},{key:"updateStyles",value:function(){var n=this;this.elementMap.forEach(function(r,a){var o=new Set(n.elementKeyMap.get(a)),s=n.getActivatedValues(r);s&&s.forEach(function(l,u){n.updateElement(a,u,l),o.delete(u)}),o.forEach(function(l){if(s=n.getActivatedValues(r,l)){var u=s.get(l);n.updateElement(a,l,u)}else n.clearElement(a,l)})})}},{key:"clearElement",value:function(n,r){var a=this.clearMap.get(n);if(a){var o=a.get(r);o&&(o(),this.subject.next({element:n,key:r,value:""}))}}},{key:"updateElement",value:function(n,r,a){var o=this.updateMap.get(n);if(o){var s=o.get(r);s&&(s(a),this.subject.next({element:n,key:r,value:a}))}}},{key:"releaseElement",value:function(n){var r=this.watcherMap.get(n);r&&(r.forEach(function(o){return o.unsubscribe()}),this.watcherMap.delete(n));var a=this.elementMap.get(n);a&&(a.forEach(function(o,s){return a.delete(s)}),this.elementMap.delete(n))}},{key:"triggerUpdate",value:function(n,r){var a=this,o=this.elementMap.get(n);if(o){var s=this.getActivatedValues(o,r);s&&(r?this.updateElement(n,r,s.get(r)):s.forEach(function(l,u){return a.updateElement(n,u,l)}))}}},{key:"buildElementKeyMap",value:function(n,r){var a=this.elementKeyMap.get(n);a||(a=new Set,this.elementKeyMap.set(n,a)),a.add(r)}},{key:"watchExtraTriggers",value:function(n,r,a){var o=this;if(a&&a.length){var s=this.watcherMap.get(n);if(s||(s=new Map,this.watcherMap.set(n,s)),!s.get(r)){var u=$e.apply(void 0,we(a)).subscribe(function(){var c=o.getValue(n,r);o.updateElement(n,r,c)});s.set(r,u)}}}},{key:"findByQuery",value:function(n){return this.breakpoints.findByQuery(n)}},{key:"getActivatedValues",value:function(n,r){for(var a=0;a<this.activatedBreakpoints.length;a++){var s=n.get(this.activatedBreakpoints[a].alias);if(s&&(void 0===r||s.has(r)&&null!=s.get(r)))return s}var l=n.get("");return void 0===r||l&&l.has(r)?l:void 0}},{key:"observeActivations",value:function(){var r=this.breakpoints.items.map(function(a){return a.mediaQuery});this.matchMedia.observe(this.hook.withPrintQuery(r)).pipe(Fs(this.hook.interceptEvents(this)),tt(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Xd),x(Mu),x(JE))},t.\u0275prov=U({factory:function(){return new t(x(Xd),x(Mu),x(JE))},token:t,providedIn:"root"}),t}();function n0(t,i,e,n){if(void 0!==n){var r=t.get(i);r||(r=new Map,t.set(i,r)),r.set(e,n)}}var r0=new V("cdk-dir-doc",{providedIn:"root",factory:function(){return Jo(oe)}}),Ke=function(){var t=function(){return f(function i(e){if(h(this,i),this.value="ltr",this.change=new j,e){var a=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===a||"rtl"===a?a:"ltr"}},[{key:"ngOnDestroy",value:function(){this.change.complete()}}])}();return t.\u0275fac=function(e){return new(e||t)(x(r0,8))},t.\u0275prov=U({factory:function(){return new t(x(r0,8))},token:t,providedIn:"root"}),t}(),fo=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}();function fe(t){return function(i){return i.lift(new lj(t))}}var lj=function(){return f(function t(i){h(this,t),this.notifier=i},[{key:"call",value:function(e,n){var r=new uj(e),a=dl(this.notifier,new ul(r));return a&&!r.seenValue?(r.add(a),n.subscribe(r)):r}}])}(),uj=function(t){function i(e){var n;return h(this,i),n=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),n.seenValue=!1,n}return k(i,t),f(i,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}])}(cl);function Ot(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Fv="inline",Jd=["row","column","row-reverse","column-reverse"];function a0(t){var e=Be((t=t?t.toLowerCase():"").split(" "),3),n=e[0],r=e[1],a=e[2];return Jd.find(function(o){return o===n})||(n=Jd[0]),r===Fv&&(r=a!==Fv?a:"",a=Fv),[n,dj(r),!!a]}function Su(t){return Be(a0(t),1)[0].indexOf("row")>-1}function dj(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var hj=function(){var t=function(i){function e(){return h(this,e),Ot(this,e,arguments)}return k(e,i),f(e,[{key:"buildStyles",value:function(r){return function(t){var e=Be(a0(t),3);return function(t){return{display:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||null}}(e[0],e[1],e[2])}(r)}}])}(Ht);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),pj=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],gj=function(){var t=function(i){function e(n,r,a,o){var s;return h(this,e),(s=Ot(this,e,[n,a,r,o])).DIRECTIVE_KEY="layout",s.styleCache=mj,s.init(),s}return k(e,i),f(e)}(It);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Mt),m(hj),m(Rt))},t.\u0275dir=E({type:t,features:[R]}),t}(),Pv=function(){var t=function(i){function e(){var n;return h(this,e),(n=Ot(this,e,arguments)).inputs=pj,n}return k(e,i),f(e)}(gj);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275dir=E({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[R]}),t}(),mj=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var rz=function(){var t=function(i){function e(){return h(this,e),Ot(this,e,arguments)}return k(e,i),f(e,[{key:"buildStyles",value:function(r,a){var o={},l=Be(r.split(" "),2),c=l[1];switch(l[0]){case"center":o["justify-content"]="center";break;case"space-around":o["justify-content"]="space-around";break;case"space-between":o["justify-content"]="space-between";break;case"space-evenly":o["justify-content"]="space-evenly";break;case"end":case"flex-end":o["justify-content"]="flex-end";break;default:o["justify-content"]="flex-start"}switch(c){case"start":case"flex-start":o["align-items"]=o["align-content"]="flex-start";break;case"center":o["align-items"]=o["align-content"]="center";break;case"end":case"flex-end":o["align-items"]=o["align-content"]="flex-end";break;case"space-between":o["align-content"]="space-between",o["align-items"]="stretch";break;case"space-around":o["align-content"]="space-around",o["align-items"]="stretch";break;case"baseline":o["align-content"]="stretch",o["align-items"]="baseline";break;default:o["align-items"]=o["align-content"]="stretch"}return function(t){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var i=arguments.length,e=new Array(i>1?i-1:0),n=1;n<i;n++)e[n-1]=arguments[n];for(var r=0,a=e;r<a.length;r++){var o=a[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}(o,{display:a.inline?"inline-flex":"flex","flex-direction":a.layout,"box-sizing":"border-box","max-width":"stretch"===c?Su(a.layout)?null:"100%":null,"max-height":"stretch"===c&&Su(a.layout)?"100%":null})}}])}(Ht);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),az=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],oz=function(){var t=function(i){function e(n,r,a,o){var s;return h(this,e),(s=Ot(this,e,[n,a,r,o])).DIRECTIVE_KEY="layout-align",s.layout="row",s.inline=!1,s.init(),s.marshal.trackValue(s.nativeElement,"layout").pipe(fe(s.destroySubject)).subscribe(s.onLayoutChange.bind(s)),s}return k(e,i),f(e,[{key:"updateWithValue",value:function(r){var a=this.layout||"row",o=this.inline;"row"===a&&o?this.styleCache=dz:"row"!==a||o?"row-reverse"===a&&o?this.styleCache=hz:"row-reverse"!==a||o?"column"===a&&o?this.styleCache=fz:"column"!==a||o?"column-reverse"===a&&o?this.styleCache=pz:"column-reverse"===a&&!o&&(this.styleCache=cz):this.styleCache=lz:this.styleCache=uz:this.styleCache=sz,this.addStyles(r,{layout:a,inline:o})}},{key:"onLayoutChange",value:function(r){var a=this,o=r.value.split(" ");this.layout=o[0],this.inline=r.value.includes("inline"),Jd.find(function(s){return s===a.layout})||(this.layout="row"),this.triggerUpdate()}}])}(It);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Mt),m(rz),m(Rt))},t.\u0275dir=E({type:t,features:[R]}),t}(),Nv=function(){var t=function(i){function e(){var n;return h(this,e),(n=Ot(this,e,arguments)).inputs=az,n}return k(e,i),f(e)}(oz);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275dir=E({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[R]}),t}(),sz=new Map,lz=new Map,uz=new Map,cz=new Map,dz=new Map,fz=new Map,hz=new Map,pz=new Map,l0=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Tv,fo]]}),t}();function gz(t,i){if(1&t&&(p(0,"ul",1),p(1,"li"),p(2,"a"),w(3,"DNA Tests"),g(),p(4,"ul"),p(5,"li"),p(6,"a",2),w(7,"Family Finder\u2122"),g(),g(),p(8,"li"),p(9,"a"),w(10,"Y-DNA"),g(),p(11,"ul"),p(12,"li"),p(13,"a",2),w(14,"All Y-DNA Tests"),g(),g(),p(15,"li"),p(16,"a",2),w(17,"Big Y-700"),g(),g(),g(),g(),p(18,"li"),p(19,"a",2),w(20,"mtDNA"),g(),g(),g(),g(),p(21,"li"),p(22,"a",2),w(23,"Upload DNA Data"),g(),g(),p(24,"li"),p(25,"a",2),w(26,"Group Projects"),g(),g(),p(27,"li"),p(28,"a"),w(29,"Shop"),g(),p(30,"ul"),p(31,"li"),p(32,"a",2),w(33,"Single Tests"),g(),g(),p(34,"li"),p(35,"a",2),w(36,"Bundle Tests"),g(),g(),p(37,"li"),p(38,"a",2),w(39,"Gift Cards"),g(),g(),g(),g(),g()),2&t){var e=O();y(6),G("href",e.urls.productsFamilyFinderUrl,I),y(7),G("href",e.urls.productsYDnaUrl,I),y(3),G("href",e.urls.productsBigYUrl,I),y(3),G("href",e.urls.productsMtDnaUrl,I),y(3),G("href",e.urls.autosomalTransferUrl,I),y(3),G("href",e.urls.groupProjectUrl,I),y(7),G("href",e.urls.singleTestsProductsUrl,I),y(3),G("href",e.urls.bundlesProductsUrl,I),y(3),G("href",e.urls.giftCardsUrl,I)}}function mz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Home"),g(),g()),2&t){var e=O(2);y(1),G("href",e.urls.dashboardUrl,I)}}function vz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Home"),g(),g()),2&t){var e=O(2);y(1),G("href","//"+e.model.gapUrl,I)}}function _z(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"myOrigins"),p(3,"sup"),w(4,"\xae"),g(),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.myOriginsUrl,I)}}function yz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"ancientOrigins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ancientOriginsUrl,I)}}function bz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Chromosome Browser"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.chromosomeBrowserUrl,I)}}function Cz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Chromosome Painter"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.chromosomePaintingUrl,I)}}function kz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Download Raw Data"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.downloadRawDataUrl,I)}}function wz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Autosomal DNA"),g(),p(3,"ul"),p(4,"li"),p(5,"a",2),w(6,"Matches"),g(),g(),F(7,_z,5,1,"li",3),F(8,yz,3,1,"li",3),F(9,bz,3,1,"li",3),F(10,Cz,3,1,"li",3),p(11,"li"),p(12,"a",2),w(13,"Matrix"),g(),g(),F(14,kz,3,1,"li",3),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.familyFinderUrl,I),y(2),S("ngIf",e.model.hasPopFinder||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.hasAncientOrigins||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.hasChromosomeBrowser||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.chromosomePaintingEnabled),y(2),G("href",e.urls.matrixUrl,I),y(2),S("ngIf",!e.model.isFreeAutosomalTransfer)}}function Mz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"mtDNA"),g(),p(3,"ul"),p(4,"li"),p(5,"a",2),w(6,"Matches"),g(),g(),p(7,"li"),p(8,"a",2),w(9,"Discover\u2122 Haplogroup Reports"),g(),g(),p(10,"li"),p(11,"a",2),w(12,"Mutations"),g(),g(),p(13,"li"),p(14,"a",2),w(15,"Migration Maps"),g(),g(),p(16,"li"),p(17,"a",2),w(18,"Ancestral Origins"),g(),g(),p(19,"li"),p(20,"a",2),w(21,"Haplogroup Origins"),g(),g(),p(22,"li"),p(23,"a",2),w(24,"Matches Maps"),g(),g(),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.mtdnaMatchesUrl,I),y(3),G("href",e.urls.mtdnaDiscoverHaplogroupReportUrl,I),y(3),G("href",e.urls.mtdnaMutationsUrl,I),y(3),G("href",e.urls.mtdnaMigrationMapsUrl,I),y(3),G("href",e.urls.mtdnaAncestralOriginsUrl,I),y(3),G("href",e.urls.mtdnaHaplogroupOriginsUrl,I),y(3),G("href",e.urls.mtdnaMatchesMapUrl,I)}}function Sz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Matches"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaMatchesUrl,I)}}function Dz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Haplotree & SNPs"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaHaplotreeSnpsUrl,I)}}function Ez(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Migration Maps"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaMigrationMapsUrl,I)}}function Az(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Y-STR Results"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaResultsUrl,I)}}function xz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Ancestral Origins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaAncestralOriginsUrl,I)}}function Tz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Haplogroup Origins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaHaplogroupOriginsUrl,I)}}function Iz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"SNP Map"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaSnpMapUrl,I)}}function Rz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Matches Maps"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaMatchesMapUrl,I)}}function Oz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Y-DNA"),g(),p(3,"ul"),F(4,Sz,3,1,"li",3),F(5,Dz,3,1,"li",3),p(6,"li"),p(7,"a",2),w(8,"Discover\u2122 Haplogroup Reports"),g(),g(),F(9,Ez,3,1,"li",3),F(10,Az,3,1,"li",3),F(11,xz,3,1,"li",3),F(12,Tz,3,1,"li",3),F(13,Iz,3,1,"li",3),F(14,Rz,3,1,"li",3),g(),g()),2&t){var e=O(3);y(4),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.showYdnaHaplotreeLink),y(2),G("href",e.urls.discoverUrl,I),y(2),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults)}}function Fz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Big Y"),g(),p(3,"ul"),p(4,"li"),p(5,"a",2),w(6,"Block Tree"),g(),g(),p(7,"li"),p(8,"a",2),w(9,"Discover\u2122 Haplogroup Reports"),g(),g(),p(10,"li"),p(11,"a",2),w(12,"Matches"),g(),g(),p(13,"li"),p(14,"a",2),w(15,"Results"),g(),g(),p(16,"li"),p(17,"a",2),w(18,"Y-STR Results"),g(),g(),p(19,"li"),p(20,"a",2),w(21,"Discover\u2122 Globetrekker"),g(),g(),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.bigYBlockTreeUrl,I),y(3),G("href",e.urls.discoverUrl,I),y(3),G("href",e.urls.bigYMatchesUrl,I),y(3),G("href",e.urls.bigYResultsUrl,I),y(3),G("href",e.urls.bigYStrResultsUrl,I),y(3),G("href",e.urls.globetrekkerUrl,I)}}function Pz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Other Autosomal Results"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.otherAutosomalResultsUrl,I)}}function Nz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Factoids"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.factoidsUrl,I)}}function Lz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"Y-DNA Advanced"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaAdvancedMarkersUrl,I)}}function Bz(t,i){if(1&t&&(p(0,"li"),p(1,"a",2),w(2,"X-STR"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.xStrUrl,I)}}function Vz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Other Results"),g(),p(3,"ul"),F(4,Pz,3,1,"li",3),F(5,Nz,3,1,"li",3),F(6,Lz,3,1,"li",3),F(7,Bz,3,1,"li",3),g(),g()),2&t){var e=O(3);y(4),S("ngIf",e.model.hasOtherAutosomalResults),y(1),S("ngIf",e.model.hasFactoids),y(1),S("ngIf",e.model.hasAdvancedYSTR),y(1),S("ngIf",e.model.hasXSTR)}}function Hz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Results & Tools"),g(),p(3,"ul"),F(4,wz,15,7,"li",3),F(5,Mz,25,7,"li",3),F(6,Oz,15,9,"li",3),F(7,Fz,22,6,"li",3),F(8,Vz,8,4,"li",3),g(),g()),2&t){var e=O(2);y(4),S("ngIf",e.model.hasFF),y(1),S("ngIf",e.model.hasMtResults),y(1),S("ngIf",e.model.hasYResults||e.model.hasFFOrGenoTransferAndYHaploGroup&&e.model.isMale),y(1),S("ngIf",e.model.hasBigY),y(1),S("ngIf",e.model.hasFactoids||e.model.hasOtherAutosomalResults||e.model.hasAdvancedYSTR||e.model.hasXSTR)}}function Gz(t,i){if(1&t&&(p(0,"li"),p(1,"a",4),w(2," Family Tree "),g(),g()),2&t){var e=O(2);y(1),G("href",e.urls.familyTreeUrl,I)}}function Uz(t,i){if(1&t&&(p(0,"li"),p(1,"a"),w(2,"Group Projects"),g(),p(3,"ul"),p(4,"li"),p(5,"a",2),w(6,"Join A Project"),g(),g(),p(7,"li"),p(8,"a",2),w(9,"Manage Group Projects"),g(),g(),p(10,"li"),p(11,"a",2),w(12,"Learn More"),g(),g(),g(),g()),2&t){var e=O(2);y(5),G("href",e.urls.joinProjectUrl,I),y(3),G("href",e.urls.manageProjectsUrl,I),y(3),G("href",e.urls.projectsHomeUrl,I)}}function jz(t,i){if(1&t&&(p(0,"ul",1),F(1,mz,3,1,"li",3),F(2,vz,3,1,"li",3),F(3,Hz,9,5,"li",3),F(4,Gz,3,1,"li",3),F(5,Uz,13,3,"li",3),g()),2&t){var e=O();y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.model.isLawEnforcement&&!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode)}}function zz(t,i){if(1&t&&(p(0,"ul",1),p(1,"li"),p(2,"a",2),w(3,"Home"),g(),g(),p(4,"li"),p(5,"a"),w(6,"Reports"),g(),p(7,"ul"),p(8,"li"),p(9,"a"),w(10,"Member Reports"),g(),p(11,"ul",5),p(12,"li"),p(13,"a",2),w(14,"Country of Origin Charts"),g(),g(),p(15,"li"),p(16,"a",2),w(17,"Maternal Ancestry"),g(),g(),p(18,"li"),p(19,"a",2),w(20,"Member Distribution Map"),g(),g(),p(21,"li"),p(22,"a",2),w(23,"Member Information"),g(),g(),p(24,"li"),p(25,"a",2),w(26,"Member Notes"),g(),g(),p(27,"li"),p(28,"a",2),w(29,"Order Summary"),g(),g(),p(30,"li"),p(31,"a",2),w(32,"Paternal Ancestry"),g(),g(),p(33,"li"),p(34,"a",2),w(35,"Pending Lab Results"),g(),g(),p(36,"li"),p(37,"a",2),w(38,"Pending Shipment To Lab"),g(),g(),p(39,"li"),p(40,"a",2),w(41,"Project Joins"),g(),g(),p(42,"li"),p(43,"a",2),w(44,"Project Statistics"),g(),g(),p(45,"li"),p(46,"a",2),w(47,"Received Lab Results"),g(),g(),p(48,"li"),p(49,"a",2),w(50,"Unreceived Kits"),g(),g(),g(),g(),p(51,"li"),p(52,"a"),w(53,"Genetic Reports"),g(),p(54,"ul",5),p(55,"li"),p(56,"a",6),w(57,"Discover\u2122"),g(),g(),p(58,"li"),p(59,"a",2),w(60,"Family Finder\u2122 Group Matrix"),g(),g(),p(61,"li"),p(62,"a",2),w(63,"Family Finder\u2122 Group Report"),g(),g(),p(64,"li"),p(65,"a",2),w(66,"Haplogroup Charts"),g(),g(),p(67,"li"),p(68,"a",2),w(69,"mtDNA Results Classic"),g(),g(),p(70,"li"),p(71,"a",2),w(72,"mtDNA Results"),g(),g(),p(73,"li"),p(74,"a",2),w(75,"mtDNA Haplotree"),g(),g(),p(76,"li"),p(77,"a",2),w(78,"Y-DNA Genetic Distance"),g(),g(),p(79,"li"),p(80,"a",7),w(81,"Y-DNA Group Time Tree"),g(),g(),p(82,"li"),p(83,"a",2),w(84,"Y-DNA TiP"),g(),g(),p(85,"li"),p(86,"a",2),w(87,"Y-DNA Results Overview"),g(),g(),p(88,"li"),p(89,"a",2),w(90,"Y-DNA Haplogroups"),g(),g(),p(91,"li"),p(92,"a",2),w(93,"Y-DNA Unique Haplotypes"),g(),g(),p(94,"li"),p(95,"a",2),w(96,"Y-DNA Haplotree"),g(),g(),g(),g(),g(),g(),p(97,"li"),p(98,"a"),w(99,"Project Admin"),g(),p(100,"ul",5),p(101,"li"),p(102,"a",2),w(103,"Activity Feed"),g(),g(),p(104,"li"),p(105,"a",2),w(106,"Activity Log"),g(),g(),p(107,"li"),p(108,"a",2),w(109,"Bulk Email"),g(),g(),p(110,"li"),p(111,"a",2),w(112,"Download Files"),g(),g(),p(113,"li"),p(114,"a",2),w(115,"General Fund"),g(),g(),p(116,"li"),p(117,"a",2),w(118,"General Fund Charts"),g(),g(),p(119,"li"),p(120,"a",2),w(121,"Join Authorization"),g(),g(),p(122,"li"),p(123,"a",2),w(124,"Member Subgrouping"),g(),g(),p(125,"li"),p(126,"a",7),w(127,"New Member Order"),g(),g(),p(128,"li"),p(129,"a",2),w(130,"Price Comparison"),g(),g(),p(131,"li"),p(132,"a",2),w(133,"Project Administrators"),g(),g(),p(134,"li"),p(135,"a",2),w(136,"Project Profile"),g(),g(),p(137,"li"),p(138,"a",2),w(139,"Public Results Display Settings"),g(),g(),p(140,"li"),p(141,"a",2),w(142,"Public Website"),g(),g(),p(143,"li"),p(144,"a",2),w(145,"Unpaid Products"),g(),g(),p(146,"li"),p(147,"a",2),w(148,"Welcome Email"),g(),g(),g(),g(),p(149,"li"),p(150,"a"),w(151,"Resources"),g(),p(152,"ul",5),p(153,"li"),p(154,"a",8),w(155,"Terms & Policies"),g(),g(),p(156,"li"),p(157,"a",9),w(158,"Administrator Quick Start Guide"),g(),g(),p(159,"li"),p(160,"a",10),w(161,"Help Center Administrator Resources"),g(),g(),p(162,"li"),p(163,"a",11),w(164,"Project Admins Media Library"),g(),g(),p(165,"li"),p(166,"a",12),w(167,"Forums"),g(),g(),p(168,"li"),p(169,"a",13),w(170,"FamilyTreeDNA Blog"),g(),g(),g(),g(),g()),2&t){var e=O();y(2),G("href",e.urls.homeUrl,I),y(11),Pe("href","//",e.model.gapUrl,"/country-of-origin-charts.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/maternal-ancestry.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/distribution-map_v2.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/member-information.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/member-notes.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/order-summary.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/paternal-ancestry.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/pending-lab-results.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/pending-shipment-to-lab.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/project-joins.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/project-statistics.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/received-lab-results.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/unreceived-kits.aspx",e.authQs,"",I),y(10),Pe("href","//",e.model.gapUrl,"/family-finder-matrix-omniexpress.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/family-finder-results-omniexpress.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/haplogroup-charts.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/mtdna-results-classic.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/mtdna-results.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.wwwUrl,"/public/mt-dna-haplotree",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/genetic-distance-report.aspx",e.authQs,"",I),y(3),G("href",e.urls.ydnaGroupTimeTreeLink,I),y(3),Pe("href","//",e.model.gapUrl,"/gap-tip-report",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/ydna-results-overview.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/ydna-snp-report.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/unique-haplotypes.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.wwwUrl,"/public/y-dna-haplotree",e.authQs,"",I),y(7),ke("href","//",e.urls.activityFeedUrl,"",I),y(3),Pe("href","//",e.model.gapUrl,"/notes.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/bulk-email.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/download-files.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/general-fund.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/general-fund-chart.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/join-authorization.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/member-subgrouping",e.authQs,"",I),y(3),ke("href","//",e.urls.newMemberOrderUrl,"",I),y(3),Pe("href","//",e.model.gapUrl,"/price-comparison.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/project-administrators.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/project-profile",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/public-display-setting.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/public-website.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/member-unpaid-products.aspx",e.authQs,"",I),y(3),Pe("href","//",e.model.gapUrl,"/welcome-email.aspx",e.authQs,"",I)}}var Wz=function(){function t(){}return t.prototype.ngOnInit=function(){this.model={}},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ee({type:t,selectors:[["app-header-primary-nav"]],inputs:{authQs:"authQs",hasMyFtdna:"hasMyFtdna",hasMtdnaFms:"hasMtdnaFms",isGapMode:"isGapMode",isGapPage:"isGapPage",isTwoFactorAuthWizard:"isTwoFactorAuthWizard",isLoggedIn:"isLoggedIn",isNonImpersonateGapMode:"isNonImpersonateGapMode",model:"model",urls:"urls"},decls:4,vars:3,consts:[["class","primary-nav",4,"ngIf"],[1,"primary-nav"],[3,"href"],[4,"ngIf"],["target","_self",3,"href"],[1,"condensed"],["href","https://discover.familytreedna.com/","target","_blank"],["target","_blank",3,"href"],["href","https://help.familytreedna.com/hc/en-us/articles/4503232822287","target","_blank"],["href","https://help.familytreedna.com/hc/en-us/articles/6168057403407-Administrator-Quick-Start-Guide-","target","_blank"],["href","https://help.familytreedna.com/hc/en-us/sections/5909201090575","target","_blank"],["href","https://airtable.com/app0rnuXIq0g8l9t4/shrz5vOPLqPpapb4T/tblVgFV6Rz5HyYqfc","target","_blank"],["href","https://forums.familytreedna.com/","target","_blank"],["href","https://blog.familytreedna.com/","target","_blank"]],template:function(e,n){1&e&&(p(0,"div"),F(1,gz,40,9,"ul",0),F(2,jz,6,5,"ul",0),F(3,zz,171,82,"ul",0),g()),2&e&&(y(1),S("ngIf",!n.isLoggedIn&&!n.isGapPage&&!n.isTwoFactorAuthWizard),y(1),S("ngIf",(n.hasMyFtdna||n.isLoggedIn)&&!n.isGapPage&&!n.isTwoFactorAuthWizard),y(1),S("ngIf",n.isLoggedIn&&n.isGapPage))},directives:[Et],encapsulation:2}),t}(),Lv=function(){function t(i,e){this.httpClient=i,this.impersonate=e}return t.prototype.getSimpleCartInfo=function(i){return this.httpClient.get("/api/shoppingCart/cart/"+i+"/getSimpleCartInfo"+this.impersonate.authQs)},t.\u0275prov=U({token:t,factory:t.\u0275fac=function(e){return new(e||t)(x(Or),x(uo))}}),t}();function W(t){return null!=t&&"false"!=="".concat(t)}function qe(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return u0(t)?Number(t):i}function u0(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ef(t){return Array.isArray(t)?t:[t]}function qt(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function Pr(t){return t instanceof P?t.nativeElement:t}function pr(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}new Map;var Xz=function(){var t=function(i){function e(n,r,a,o,s,l,u){var c;return h(this,e),(c=pr(this,e,[n,null,r,a])).ngClassInstance=u,c.DIRECTIVE_KEY="ngClass",c.ngClassInstance||(c.ngClassInstance=new hi(o,s,n,l)),c.init(),c.setValue("",""),c}return k(e,i),f(e,[{key:"klass",set:function(r){this.ngClassInstance.klass=r,this.setValue(r,"")}},{key:"updateWithValue",value:function(r){this.ngClassInstance.ngClass=r,this.ngClassInstance.ngDoCheck()}},{key:"ngDoCheck",value:function(){this.ngClassInstance.ngDoCheck()}}])}(It);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Mt),m(Rt),m(Tn),m(la),m(dr),m(hi,10))},t.\u0275dir=E({type:t,inputs:{klass:["class","klass"]},features:[R]}),t}(),Jz=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],d0=function(){var t=function(i){function e(){var n;return h(this,e),(n=pr(this,e,arguments)).inputs=Jz,n}return k(e,i),f(e)}(Xz);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275dir=E({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[R]}),t}();new WeakMap;var v0=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Tv]]}),t}();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var S0=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Tv]]}),t}(),D0=(new sa("11.0.0-beta.33"),function(){var t=function(){function i(e,n){h(this,i),Rs(n)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return f(i,null,[{key:"withConfig",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:i,providers:n.serverLoaded?[{provide:qi,useValue:Object.assign(Object.assign({},Iv),n)},{provide:Rv,useValue:r,multi:!0},{provide:co,useValue:!0}]:[{provide:qi,useValue:Object.assign(Object.assign({},Iv),n)},{provide:Rv,useValue:r,multi:!0}]}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(co),x(vn))},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[l0,v0,S0],l0,v0,S0]}),t}()),tf=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e,n]),r.scheduler=e,r.work=n,r.pending=!1,r}return k(i,t),f(i,[{key:"schedule",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=n;var a=this.id,o=this.scheduler;return null!=a&&(this.id=this.recycleAsyncId(o,a,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(o,this.id,r),this}},{key:"requestAsyncId",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(n.flush.bind(n,this),a)}},{key:"recycleAsyncId",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==a&&this.delay===a&&!1===this.pending)return r;clearInterval(r)}},{key:"execute",value:function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var a=this._execute(n,r);if(a)return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(n,r){var a=!1,o=void 0;try{this.work(n)}catch(s){a=!0,o=!!s&&s||new Error(s)}if(a)return this.unsubscribe(),o}},{key:"_unsubscribe",value:function(){var n=this.id,r=this.scheduler,a=r.actions,o=a.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&a.splice(o,1),null!=n&&(this.id=this.recycleAsyncId(r,n,null)),this.delay=null}}])}(function(t){function i(e,n){return h(this,i),function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,[],M(t).constructor):i.apply(t,e))}(this,i)}return k(i,t),f(i,[{key:"schedule",value:function(n){return this}}])}(be)),E0=function(){var t=function(){return f(function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;h(this,i),this.SchedulerAction=e,this.now=n},[{key:"schedule",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,n).schedule(a,r)}}])}();return t.now=function(){return Date.now()},t}();function O7(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var nf=function(t){function i(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E0.now;return h(this,i),(n=O7(this,i,[e,function(){return i.delegate&&i.delegate!==mb(n)?i.delegate.now():r()}])).actions=[],n.active=!1,n.scheduled=void 0,n}return k(i,t),f(i,[{key:"schedule",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return i.delegate&&i.delegate!==this?i.delegate.schedule(n,r,a):J(M(i.prototype),"schedule",this).call(this,n,r,a)}},{key:"flush",value:function(n){var r=this.actions;if(this.active)r.push(n);else{var a;this.active=!0;do{if(a=n.execute(n.state,n.delay))break}while(n=r.shift());if(this.active=!1,a){for(;n=r.shift();)n.unsubscribe();throw a}}}}])}(E0),rf=new nf(tf);function af(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rf;return function(e){return e.lift(new N7(t,i))}}var N7=function(){return f(function t(i,e){h(this,t),this.dueTime=i,this.scheduler=e},[{key:"call",value:function(e,n){return n.subscribe(new L7(e,this.dueTime,this.scheduler))}}])}(),L7=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.dueTime=n,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return k(i,t),f(i,[{key:"_next",value:function(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(B7,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var n=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}},{key:"clearDebounce",value:function(){var n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}])}(kt);function B7(t){t.debouncedNext()}var Vv=function(){var t=function(){return f(function i(){h(this,i)},[{key:"create",value:function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),A0=function(){var t=function(){return f(function i(e){h(this,i),this._mutationObserverFactory=e,this._observedElements=new Map},[{key:"ngOnDestroy",value:function(){var n=this;this._observedElements.forEach(function(r,a){return n._cleanupObserver(a)})}},{key:"observe",value:function(n){var r=this,a=Pr(n);return new Ze(function(o){var l=r._observeElement(a).subscribe(o);return function(){l.unsubscribe(),r._unobserveElement(a)}})}},{key:"_observeElement",value:function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var r=new $,a=this._mutationObserverFactory.create(function(o){return r.next(o)});a&&a.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:a,stream:r,count:1})}return this._observedElements.get(n).stream}},{key:"_unobserveElement",value:function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}},{key:"_cleanupObserver",value:function(n){if(this._observedElements.has(n)){var r=this._observedElements.get(n),a=r.observer,o=r.stream;a&&a.disconnect(),o.complete(),this._observedElements.delete(n)}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Vv))},t.\u0275prov=U({factory:function(){return new t(x(Vv))},token:t,providedIn:"root"}),t}(),Du=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._contentObserver=e,this._elementRef=n,this._ngZone=r,this.event=new j,this._disabled=!1,this._currentSubscription=null},[{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=W(n),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(n){this._debounce=qe(n),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var n=this;this._unsubscribe();var r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){n._currentSubscription=(n.debounce?r.pipe(af(n.debounce)):r).subscribe(n.event)})}},{key:"_unsubscribe",value:function(){var n;null===(n=this._currentSubscription)||void 0===n||n.unsubscribe()}}])}();return t.\u0275fac=function(e){return new(e||t)(m(A0),m(P),m(ue))},t.\u0275dir=E({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),Eu=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Vv]}),t}();function Ft(t){for(var i=arguments.length,e=new Array(i>1?i-1:0),n=1;n<i;n++)e[n-1]=arguments[n];return e.length?e.some(function(r){return t[r]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var K7=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),Uv=new Ze(function(t){return t.complete()});function jv(t){return t?function(t){return new Ze(function(i){return t.schedule(function(){return i.complete()})})}(t):Uv}function gt(t){return function(i){return 0===t?jv():i.lift(new J7(t))}}var J7=function(){return f(function t(i){if(h(this,t),this.total=i,this.total<0)throw new K7},[{key:"call",value:function(e,n){return n.subscribe(new Z7(e,this.total))}}])}(),Z7=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.total=n,r.count=0,r}return k(i,t),f(i,[{key:"_next",value:function(n){var r=this.total,a=++this.count;a<=r&&(this.destination.next(n),a===r&&(this.destination.complete(),this.unsubscribe()))}}])}(kt);function x0(t){return function(i){return i.lift(new tW(t))}}var tW=function(){return f(function t(i){h(this,t),this.total=i},[{key:"call",value:function(e,n){return n.subscribe(new nW(e,this.total))}}])}(),nW=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.total=n,r.count=0,r}return k(i,t),f(i,[{key:"_next",value:function(n){++this.count>this.total&&this.destination.next(n)}}])}(kt);function ho(t,i){return function(e){return e.lift(new rW(t,i))}}var zv,rW=function(){return f(function t(i,e){h(this,t),this.compare=i,this.keySelector=e},[{key:"call",value:function(e,n){return n.subscribe(new aW(e,this.compare,this.keySelector))}}])}(),aW=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.keySelector=r,a.hasKey=!1,"function"==typeof n&&(a.compare=n),a}return k(i,t),f(i,[{key:"compare",value:function(n,r){return n===r}},{key:"_next",value:function(n){var r;try{var a=this.keySelector;r=a?a(n):n}catch(l){return this.destination.error(l)}var o=!1;if(this.hasKey)try{o=(0,this.compare)(this.key,r)}catch(l){return this.destination.error(l)}else this.hasKey=!0;o||(this.key=r,this.destination.next(n))}}])}(kt);try{zv="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(t){zv=!1}var Tu,po,Wv,Ie=function(){var t=f(function i(e){h(this,i),this._platformId=e,this.isBrowser=this._platformId?so(this._platformId):"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&&!zv)&&"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.\u0275fac=function(e){return new(e||t)(x(vn))},t.\u0275prov=U({factory:function(){return new t(x(vn))},token:t,providedIn:"root"}),t}(),Ns=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}();function ma(t){return function(){if(null==Tu&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Tu=!0}}))}finally{Tu=Tu||!1}return Tu}()?t:!!t.capture}function R0(){if(null==po){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return po=!1;if("scrollBehavior"in document.documentElement.style)po=!0;else{var t=Element.prototype.scrollTo;po=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return po}function O0(t){if(function(){if(null==Wv){var t="undefined"!=typeof document?document.head:null;Wv=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Wv}()){var i=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Lr(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function va(t){return t.composedPath?t.composedPath()[0]:t.target}function Yv(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function F0(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function df(t,i){return(t.getAttribute(i)||"").match(/\S+/g)||[]}var N0="cdk-describedby-message-container",L0="cdk-describedby-message",ff="cdk-describedby-host",cW=0,gr=new Map,ln=null,hf=function(){var t=function(){return f(function i(e){h(this,i),this._document=e},[{key:"describe",value:function(n,r,a){if(this._canBeDescribed(n,r)){var o=qv(r,a);"string"!=typeof r?(B0(r),gr.set(o,{messageElement:r,referenceCount:0})):gr.has(o)||this._createMessageElement(r,a),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}}},{key:"removeDescription",value:function(n,r,a){if(r&&this._isElementNode(n)){var o=qv(r,a);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),"string"==typeof r){var s=gr.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}ln&&0===ln.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var n=this._document.querySelectorAll("[".concat(ff,"]")),r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(ff);ln&&this._deleteMessagesContainer(),gr.clear()}},{key:"_createMessageElement",value:function(n,r){var a=this._document.createElement("div");B0(a),a.textContent=n,r&&a.setAttribute("role",r),this._createMessagesContainer(),ln.appendChild(a),gr.set(qv(n,r),{messageElement:a,referenceCount:0})}},{key:"_deleteMessageElement",value:function(n){var r=gr.get(n),a=r&&r.messageElement;ln&&a&&ln.removeChild(a),gr.delete(n)}},{key:"_createMessagesContainer",value:function(){if(!ln){var n=this._document.getElementById(N0);n&&n.parentNode&&n.parentNode.removeChild(n),(ln=this._document.createElement("div")).id=N0,ln.style.visibility="hidden",ln.classList.add("cdk-visually-hidden"),this._document.body.appendChild(ln)}}},{key:"_deleteMessagesContainer",value:function(){ln&&ln.parentNode&&(ln.parentNode.removeChild(ln),ln=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(n){var r=df(n,"aria-describedby").filter(function(a){return 0!=a.indexOf(L0)});n.setAttribute("aria-describedby",r.join(" "))}},{key:"_addMessageReference",value:function(n,r){var a=gr.get(r);(function(t,i,e){var n=df(t,i);n.some(function(r){return r.trim()==e.trim()})||(n.push(e.trim()),t.setAttribute(i,n.join(" ")))})(n,"aria-describedby",a.messageElement.id),n.setAttribute(ff,""),a.referenceCount++}},{key:"_removeMessageReference",value:function(n,r){var a=gr.get(r);a.referenceCount--,function(t,i,e){var r=df(t,i).filter(function(a){return a!=e.trim()});r.length?t.setAttribute(i,r.join(" ")):t.removeAttribute(i)}(n,"aria-describedby",a.messageElement.id),n.removeAttribute(ff)}},{key:"_isElementDescribedByMessage",value:function(n,r){var a=df(n,"aria-describedby"),o=gr.get(r),s=o&&o.messageElement.id;return!!s&&-1!=a.indexOf(s)}},{key:"_canBeDescribed",value:function(n,r){if(!this._isElementNode(n))return!1;if(r&&"object"==typeof r)return!0;var a=null==r?"":"".concat(r).trim(),o=n.getAttribute("aria-label");return!(!a||o&&o.trim()===a)}},{key:"_isElementNode",value:function(n){return n.nodeType===this._document.ELEMENT_NODE}}])}();return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({factory:function(){return new t(x(oe))},token:t,providedIn:"root"}),t}();function qv(t,i){return"string"==typeof t?"".concat(i||"","/").concat(t):t}function B0(t){t.id||(t.id="".concat(L0,"-").concat(cW++))}var V0=function(){return f(function t(i){var e=this;h(this,t),this._items=i,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $,this._typeaheadSubscription=be.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(n){return n.disabled},this._pressedLetters=[],this.tabOut=new $,this.change=new $,i instanceof Hi&&i.changes.subscribe(function(n){if(e._activeItem){var a=n.toArray().indexOf(e._activeItem);a>-1&&a!==e._activeItemIndex&&(e._activeItemIndex=a)}})},[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fs(function(r){return e._pressedLetters.push(r)}),af(n),tt(function(){return e._pressedLetters.length>0}),dt(function(){return e._pressedLetters.join("")})).subscribe(function(r){for(var a=e._getItemsArray(),o=1;o<a.length+1;o++){var s=(e._activeItemIndex+o)%a.length,l=a[s];if(!e._skipPredicateFn(l)&&0===l.getLabel().toUpperCase().trim().indexOf(r)){e.setActiveItem(s);break}}e._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var n=this._activeItem;this.updateActiveItem(e),this._activeItem!==n&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var n=this,r=e.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(function(s){return!e[s]||n._allowedModifierKeys.indexOf(s)>-1});switch(r){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||Ft(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var n=this._getItemsArray(),r="number"==typeof e?e:n.indexOf(e),a=n[r];this._activeItem=null==a?null:a,this._activeItemIndex=r}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var n=this._getItemsArray(),r=1;r<=n.length;r++){var a=(this._activeItemIndex+e*r+n.length)%n.length;if(!this._skipPredicateFn(n[a]))return void this.setActiveItem(a)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,n){var r=this._getItemsArray();if(r[e]){for(;this._skipPredicateFn(r[e]);)if(!r[e+=n])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Hi?this._items.toArray():this._items}}])}(),H0=function(t){function i(){return h(this,i),F0(this,i,arguments)}return k(i,t),f(i,[{key:"setActiveItem",value:function(n){this.activeItem&&this.activeItem.setInactiveStyles(),J(M(i.prototype),"setActiveItem",this).call(this,n),this.activeItem&&this.activeItem.setActiveStyles()}}])}(V0),G0=function(){var t=function(){return f(function i(e){h(this,i),this._platform=e},[{key:"isDisabled",value:function(n){return n.hasAttribute("disabled")}},{key:"isVisible",value:function(n){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}},{key:"isTabbable",value:function(n){if(!this._platform.isBrowser)return!1;var r=function(t){try{return t.frameElement}catch(i){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(n));if(r&&(-1===j0(r)||!this.isVisible(r)))return!1;var a=n.nodeName.toLowerCase(),o=j0(n);return n.hasAttribute("contenteditable")?-1!==o:!("iframe"===a||"object"===a||this._platform.WEBKIT&&this._platform.IOS&&!function(t){var i=t.nodeName.toLowerCase(),e="input"===i&&t.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(n))&&("audio"===a?!!n.hasAttribute("controls")&&-1!==o:"video"===a?-1!==o&&(null!==o||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}},{key:"isFocusable",value:function(n,r){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var i=t.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||U0(t))}(n)&&!this.isDisabled(n)&&((null==r?void 0:r.ignoreVisibility)||this.isVisible(n))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ie))},t.\u0275prov=U({factory:function(){return new t(x(Ie))},token:t,providedIn:"root"}),t}();function U0(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var i=t.getAttribute("tabindex");return"-32768"!=i&&!(!i||isNaN(parseInt(i,10)))}function j0(t){if(!U0(t))return null;var i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var CW=function(){return f(function t(i,e,n,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];h(this,t),this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()},[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var n=this;return new Promise(function(r){n._executeOnStable(function(){return r(n.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var n=this;return new Promise(function(r){n._executeOnStable(function(){return r(n.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var n=this;return new Promise(function(r){n._executeOnStable(function(){return r(n.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var n=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),r=0;r<n.length;r++)n[r].hasAttribute("cdk-focus-".concat(e))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated ")+"attribute will be removed in 8.0.0.",n[r]):n[r].hasAttribute("cdk-focus-region-".concat(e))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated attribute ")+"will be removed in 8.0.0.",n[r]);return"start"==e?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(e){var n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(n.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",n),!this._checker.isFocusable(n)){var r=this._getFirstTabbableElement(n);return null==r||r.focus(e),!!r}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}},{key:"focusFirstTabbableElement",value:function(e){var n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}},{key:"focusLastTabbableElement",value:function(e){var n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var n=e.children||e.childNodes,r=0;r<n.length;r++){var a=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(a)return a}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var n=e.children||e.childNodes,r=n.length-1;r>=0;r--){var a=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(a)return a}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(gt(1)).subscribe(e)}}])}(),pf=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._checker=e,this._ngZone=n,this._document=r},[{key:"create",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new CW(n,this._checker,this._ngZone,this._document,r)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(G0),x(ue),x(oe))},t.\u0275prov=U({factory:function(){return new t(x(G0),x(ue),x(oe))},token:t,providedIn:"root"}),t}();function Qv(t){return 0===t.offsetX&&0===t.offsetY}function Kv(t){var i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}"undefined"!=typeof Element&&Element;var z0=new V("cdk-input-modality-detector-options"),DW={ignoreKeys:[18,17,224,91,16]},Vs=ma({passive:!0,capture:!0}),Y0=function(){var t=function(){return f(function i(e,n,r,a){var o=this;h(this,i),this._platform=e,this._mostRecentTarget=null,this._modality=new Yi(null),this._lastTouchMs=0,this._onKeydown=function(s){var l,u;(null===(u=null===(l=o._options)||void 0===l?void 0:l.ignoreKeys)||void 0===u?void 0:u.some(function(c){return c===s.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=va(s))},this._onMousedown=function(s){Date.now()-o._lastTouchMs<650||(o._modality.next(Qv(s)?"keyboard":"mouse"),o._mostRecentTarget=va(s))},this._onTouchstart=function(s){Kv(s)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=va(s))},this._options=Object.assign(Object.assign({},DW),a),this.modalityDetected=this._modality.pipe(x0(1)),this.modalityChanged=this.modalityDetected.pipe(ho()),e.isBrowser&&n.runOutsideAngular(function(){r.addEventListener("keydown",o._onKeydown,Vs),r.addEventListener("mousedown",o._onMousedown,Vs),r.addEventListener("touchstart",o._onTouchstart,Vs)})},[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Vs),document.removeEventListener("mousedown",this._onMousedown,Vs),document.removeEventListener("touchstart",this._onTouchstart,Vs))}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ie),x(ue),x(oe),x(z0,8))},t.\u0275prov=U({factory:function(){return new t(x(Ie),x(ue),x(oe),x(z0,8))},token:t,providedIn:"root"}),t}(),q0=new V("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Q0=new V("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),K0=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._ngZone=n,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()},[{key:"announce",value:function(n){for(var o,s,r=this,a=this._defaultOptions,l=arguments.length,u=new Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];return 1===u.length&&"number"==typeof u[0]?s=u[0]:(o=u[0],s=u[1]),this.clear(),clearTimeout(this._previousTimeout),o||(o=a&&a.politeness?a.politeness:"polite"),null==s&&a&&(s=a.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(function(){return new Promise(function(d){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=n,d(),"number"==typeof s&&(r._previousTimeout=setTimeout(function(){return r.clear()},s))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),a=this._document.createElement("div"),o=0;o<r.length;o++)r[o].parentNode.removeChild(r[o]);return a.classList.add(n),a.classList.add("cdk-visually-hidden"),a.setAttribute("aria-atomic","true"),a.setAttribute("aria-live","polite"),this._document.body.appendChild(a),a}}])}();return t.\u0275fac=function(e){return new(e||t)(x(q0,8),x(ue),x(oe),x(Q0,8))},t.\u0275prov=U({factory:function(){return new t(x(q0,8),x(ue),x(oe),x(Q0,8))},token:t,providedIn:"root"}),t}(),$0=new V("cdk-focus-monitor-default-options"),gf=ma({passive:!0,capture:!0}),Gt=function(){var t=function(){return f(function i(e,n,r,a,o){var s=this;h(this,i),this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){s._windowFocused=!0,s._windowFocusTimeoutId=setTimeout(function(){return s._windowFocused=!1})},this._stopInputModalityDetector=new $,this._rootNodeFocusAndBlurListener=function(l){for(var u=va(l),c="focus"===l.type?s._onFocus:s._onBlur,d=u;d;d=d.parentElement)c.call(s,l,d)},this._document=a,this._detectionMode=(null==o?void 0:o.detectionMode)||0},[{key:"monitor",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=Pr(n);if(!this._platform.isBrowser||1!==a.nodeType)return pt(null);var o=O0(a)||this._getDocument(),s=this._elementInfo.get(a);if(s)return r&&(s.checkChildren=!0),s.subject;var l={checkChildren:r,subject:new $,rootNode:o};return this._elementInfo.set(a,l),this._registerGlobalListeners(l),l.subject}},{key:"stopMonitoring",value:function(n){var r=Pr(n),a=this._elementInfo.get(r);a&&(a.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(a))}},{key:"focusVia",value:function(n,r,a){var o=this,s=Pr(n);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(function(u){var c=Be(u,2);return o._originChanged(c[0],r,c[1])}):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(a))}},{key:"ngOnDestroy",value:function(){var n=this;this._elementInfo.forEach(function(r,a){return n.stopMonitoring(a)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(n,r,a){a?n.classList.add(r):n.classList.remove(r)}},{key:"_getFocusOrigin",value:function(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(n){return 1===this._detectionMode||!!(null==n?void 0:n.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(n,r){this._toggleClass(n,"cdk-focused",!!r),this._toggleClass(n,"cdk-touch-focused","touch"===r),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===r),this._toggleClass(n,"cdk-mouse-focused","mouse"===r),this._toggleClass(n,"cdk-program-focused","program"===r)}},{key:"_setOrigin",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){r._origin=n,r._originFromTouchInteraction="touch"===n&&a,0===r._detectionMode&&(clearTimeout(r._originTimeoutId),r._originTimeoutId=setTimeout(function(){return r._origin=null},r._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(n,r){var a=this._elementInfo.get(r),o=va(n);!a||!a.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),a)}},{key:"_onBlur",value:function(n,r){var a=this._elementInfo.get(r);!a||a.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(a.subject,null))}},{key:"_emitOrigin",value:function(n,r){this._ngZone.run(function(){return n.next(r)})}},{key:"_registerGlobalListeners",value:function(n){var r=this;if(this._platform.isBrowser){var a=n.rootNode,o=this._rootNodeFocusListenerCount.get(a)||0;o||this._ngZone.runOutsideAngular(function(){a.addEventListener("focus",r._rootNodeFocusAndBlurListener,gf),a.addEventListener("blur",r._rootNodeFocusAndBlurListener,gf)}),this._rootNodeFocusListenerCount.set(a,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){r._getWindow().addEventListener("focus",r._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fe(this._stopInputModalityDetector)).subscribe(function(s){r._setOrigin(s,!0)}))}}},{key:"_removeGlobalListeners",value:function(n){var r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){var a=this._rootNodeFocusListenerCount.get(r);a>1?this._rootNodeFocusListenerCount.set(r,a-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gf),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gf),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(n,r,a){this._setClasses(n,r),this._emitOrigin(a.subject,r),this._lastFocusOrigin=r}},{key:"_getClosestElementsInfo",value:function(n){var r=[];return this._elementInfo.forEach(function(a,o){(o===n||a.checkChildren&&o.contains(n))&&r.push([o,a])}),r}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ue),x(Ie),x(Y0),x(oe,8),x($0,8))},t.\u0275prov=U({factory:function(){return new t(x(ue),x(Ie),x(Y0),x(oe,8),x($0,8))},token:t,providedIn:"root"}),t}(),X0="cdk-high-contrast-black-on-white",J0="cdk-high-contrast-white-on-black",Xv="cdk-high-contrast-active",Z0=function(){var t=function(){return f(function i(e,n){h(this,i),this._platform=e,this._document=n},[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);var r=this._document.defaultView||window,a=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(a&&a.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(n),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var n=this._document.body.classList;n.remove(Xv),n.remove(X0),n.remove(J0),this._hasCheckedHighContrastMode=!0;var r=this.getHighContrastMode();1===r?(n.add(Xv),n.add(X0)):2===r&&(n.add(Xv),n.add(J0))}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ie),x(oe))},t.\u0275prov=U({factory:function(){return new t(x(Ie),x(oe))},token:t,providedIn:"root"}),t}(),mf=function(){var t=f(function i(e){h(this,i),e._applyBodyHighContrastModeCssClasses()});return t.\u0275fac=function(e){return new(e||t)(x(Z0))},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Ns,Eu]]}),t}(),eA=new sa("12.2.13");function xW(){return Ob(1)}function Jv(){return xW()(pt.apply(void 0,arguments))}function st(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=i[i.length-1];return Po(n)?(i.pop(),function(r){return Jv(i,r,n)}):function(r){return Jv(i,r)}}var tA=f(function t(){h(this,t)}),TW=f(function t(){h(this,t)}),Br="*";function Pt(t,i){return{type:7,name:t,definitions:i,options:{}}}function ze(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:t}}function nA(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:i}}function ce(t){return{type:6,styles:t,offset:null}}function Re(t,i,e){return{type:0,name:t,styles:i,options:e}}function go(t){return{type:5,steps:t}}function Ge(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:i,options:e}}function iA(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function rA(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:i,options:e}}function aA(t){Promise.resolve(null).then(t)}var Hs=function(){return f(function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+e},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;aA(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(function(r){return r()}),n.length=0}}])}(),oA=function(){return f(function t(i){var e=this;h(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var n=0,r=0,a=0,o=this.players.length;0==o?aA(function(){return e._onFinish()}):this.players.forEach(function(s){s.onDone(function(){++n==o&&e._onFinish()}),s.onDestroy(function(){++r==o&&e._onDestroy()}),s.onStart(function(){++a==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(s,l){return Math.max(s,l.totalTime)},0)},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var n=e*this.totalTime;this.players.forEach(function(r){var a=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(a)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(n,r){return null===n||r.totalTime>n.totalTime?r:n},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(function(r){return r()}),n.length=0}}])}();function e_(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function sA(){return"undefined"!=typeof window&&void 0!==window.document}function t_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function _a(t){switch(t.length){case 0:return new Hs;case 1:return t[0];default:return new oA(t)}}function lA(t,i,e,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(n.forEach(function(d){var v=d.offset,_=v==l,b=_&&u||{};Object.keys(d).forEach(function(C){var D=C,A=d[C];if("offset"!==C)switch(D=i.normalizePropertyName(D,o),A){case"!":A=r[C];break;case Br:A=a[C];break;default:A=i.normalizeStyleValue(C,D,A,o)}b[D]=A}),_||s.push(b),u=b,l=v}),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function n_(t,i,e,n){switch(i){case"start":t.onStart(function(){return n(e&&i_(e,"start",t))});break;case"done":t.onDone(function(){return n(e&&i_(e,"done",t))});break;case"destroy":t.onDestroy(function(){return n(e&&i_(e,"destroy",t))})}}function i_(t,i,e){var n=e.totalTime,a=r_(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,null==n?t.totalTime:n,!!e.disabled),o=t._data;return null!=o&&(a._data=o),a}function r_(t,i,e,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:i,fromState:e,toState:n,phaseName:r,totalTime:a,disabled:!!o}}function Kn(t,i,e){var n;return t instanceof Map?(n=t.get(i))||t.set(i,n=e):(n=t[i])||(n=t[i]=e),n}function uA(t){var i=t.indexOf(":");return[t.substring(1,i),t.substr(i+1)]}var a_=function(i,e){return!1},o_=function(i,e){return!1},cA=function(i,e,n){return[]},dA=t_();(dA||"undefined"!=typeof Element)&&(a_=sA()?function(i,e){for(;e&&e!==document.documentElement;){if(e===i)return!0;e=e.parentNode||e.host}return!1}:function(i,e){return i.contains(e)},o_=function(){if(dA||Element.prototype.matches)return function(e,n){return e.matches(n)};var t=Element.prototype,i=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return i?function(e,n){return i.apply(e,[n])}:o_}(),cA=function(i,e,n){var r=[];if(n)for(var a=i.querySelectorAll(e),o=0;o<a.length;o++)r.push(a[o]);else{var s=i.querySelector(e);s&&r.push(s)}return r});var mo=null,fA=!1;function s_(t){mo||(mo=("undefined"!=typeof document?document.body:null)||{},fA=!!mo.style&&"WebkitAppearance"in mo.style);var i=!0;return mo.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(i=t in mo.style)&&fA&&(i="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in mo.style),i}var l_=o_,u_=a_,c_=cA;function hA(t){var i={};return Object.keys(t).forEach(function(e){var n=e.replace(/([a-z])([A-Z])/g,"$1-$2");i[n]=t[e]}),i}var pA=function(){var t=function(){return f(function i(){h(this,i)},[{key:"validateStyleProperty",value:function(n){return s_(n)}},{key:"matchesElement",value:function(n,r){return l_(n,r)}},{key:"containsElement",value:function(n,r){return u_(n,r)}},{key:"query",value:function(n,r,a){return c_(n,r,a)}},{key:"computeStyle",value:function(n,r,a){return a||""}},{key:"animate",value:function(n,r,a,o,s){return new Hs(a,o)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),d_=function(){var t=f(function i(){h(this,i)});return t.NOOP=new pA,t}(),mA="ng-enter",f_="ng-leave",vf="ng-trigger",_f=".ng-trigger",vA="ng-animating",h_=".ng-animating";function vo(t){if("number"==typeof t)return t;var i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:p_(parseFloat(i[1]),i[2])}function p_(t,i){return"s"===i?1e3*t:t}function yf(t,i,e){return t.hasOwnProperty("duration")?t:function(t,i,e){var r,a=0,o="";if("string"==typeof t){var s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return i.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};r=p_(parseFloat(s[1]),s[2]);var l=s[3];null!=l&&(a=p_(parseFloat(l),s[4]));var u=s[5];u&&(o=u)}else r=t;if(!e){var c=!1,d=i.length;r<0&&(i.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(i.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&i.splice(d,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:r,delay:a,easing:o}}(t,i,e)}function Gs(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(e){i[e]=t[e]}),i}function ya(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var n in t)e[n]=t[n];else Gs(t,e);return e}function _A(t,i,e){return e?i+":"+e+";":""}function yA(t){for(var i="",e=0;e<t.style.length;e++){var n=t.style.item(e);i+=_A(0,n,t.style.getPropertyValue(n))}for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(i+=_A(0,BW(r),t.style[r]));t.setAttribute("style",i)}function mr(t,i,e){t.style&&(Object.keys(i).forEach(function(n){var r=m_(n);e&&!e.hasOwnProperty(n)&&(e[n]=t.style[r]),t.style[r]=i[n]}),t_()&&yA(t))}function _o(t,i){t.style&&(Object.keys(i).forEach(function(e){var n=m_(e);t.style[n]=""}),t_()&&yA(t))}function Ru(t){return Array.isArray(t)?1==t.length?t[0]:nA(t):t}var g_=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function bA(t){var i=[];if("string"==typeof t){for(var e;e=g_.exec(t);)i.push(e[1]);g_.lastIndex=0}return i}function bf(t,i,e){var n=t.toString(),r=n.replace(g_,function(a,o){var s=i[o];return i.hasOwnProperty(o)||(e.push("Please provide a value for the animation param ".concat(o)),s=""),s.toString()});return r==n?t:r}function Cf(t){for(var i=[],e=t.next();!e.done;)i.push(e.value),e=t.next();return i}var LW=/-+([a-z0-9])/g;function m_(t){return t.replace(LW,function(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++)e[n]=arguments[n];return e[1].toUpperCase()})}function BW(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function CA(t,i){return 0===t||0===i}function kA(t,i,e){var n=Object.keys(e);if(n.length&&i.length){var r=i[0],a=[];if(n.forEach(function(l){r.hasOwnProperty(l)||a.push(l),r[l]=e[l]}),a.length)for(var o=function(){var u=i[s];a.forEach(function(c){u[c]=v_(t,c)})},s=1;s<i.length;s++)o()}return i}function $n(t,i,e){switch(i.type){case 7:return t.visitTrigger(i,e);case 0:return t.visitState(i,e);case 1:return t.visitTransition(i,e);case 2:return t.visitSequence(i,e);case 3:return t.visitGroup(i,e);case 4:return t.visitAnimate(i,e);case 5:return t.visitKeyframes(i,e);case 6:return t.visitStyle(i,e);case 8:return t.visitReference(i,e);case 9:return t.visitAnimateChild(i,e);case 10:return t.visitAnimateRef(i,e);case 11:return t.visitQuery(i,e);case 12:return t.visitStagger(i,e);default:throw new Error("Unable to resolve animation metadata node #".concat(i.type))}}function v_(t,i){return window.getComputedStyle(t)[i]}function VW(t,i){var e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(n){return function(t,i,e){if(":"==t[0]){var n=function(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,n){return parseFloat(n)>parseFloat(e)};case":decrement":return function(e,n){return parseFloat(n)<parseFloat(e)};default:return i.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,e);if("function"==typeof n)return void i.push(n);t=n}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push('The provided transition expression "'.concat(t,'" is not supported')),i;var a=r[1],o=r[2],s=r[3];i.push(wA(a,s)),"<"==o[0]&&!("*"==a&&"*"==s)&&i.push(wA(s,a))}(n,e,i)}):e.push(t),e}var wf=new Set(["true","1"]),Mf=new Set(["false","0"]);function wA(t,i){var e=wf.has(t)||Mf.has(t),n=wf.has(i)||Mf.has(i);return function(r,a){var o="*"==t||t==r,s="*"==i||i==a;return!o&&e&&"boolean"==typeof r&&(o=r?wf.has(t):Mf.has(t)),!s&&n&&"boolean"==typeof a&&(s=a?wf.has(i):Mf.has(i)),o&&s}}var UW=new RegExp("s*".concat(":self","s*,?"),"g");function SA(t,i,e){return new jW(t).build(i,e)}var jW=function(){return f(function t(i){h(this,t),this._driver=i},[{key:"build",value:function(e,n){var r=new YW(n);return this._resetContextStyleTimingState(r),$n(this,Ru(e),r)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,n){var r=this,a=n.queryCount=0,o=n.depCount=0,s=[],l=[];return"@"==e.name.charAt(0)&&n.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(u){if(r._resetContextStyleTimingState(n),0==u.type){var c=u,d=c.name;d.toString().split(/\s*,\s*/).forEach(function(_){c.name=_,s.push(r.visitState(c,n))}),c.name=d}else if(1==u.type){var v=r.visitTransition(u,n);a+=v.queryCount,o+=v.depCount,l.push(v)}else n.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:l,queryCount:a,depCount:o,options:null}}},{key:"visitState",value:function(e,n){var r=this.visitStyle(e.styles,n),a=e.options&&e.options.params||null;if(r.containsDynamicStyles){var o=new Set,s=a||{};if(r.styles.forEach(function(u){if(Sf(u)){var c=u;Object.keys(c).forEach(function(d){bA(c[d]).forEach(function(v){s.hasOwnProperty(v)||o.add(v)})})}}),o.size){var l=Cf(o.values());n.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(l.join(", ")))}}return{type:0,name:e.name,style:r,options:a?{params:a}:null}}},{key:"visitTransition",value:function(e,n){n.queryCount=0,n.depCount=0;var r=$n(this,Ru(e.animation),n);return{type:1,matchers:VW(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:yo(e.options)}}},{key:"visitSequence",value:function(e,n){var r=this;return{type:2,steps:e.steps.map(function(a){return $n(r,a,n)}),options:yo(e.options)}}},{key:"visitGroup",value:function(e,n){var r=this,a=n.currentTime,o=0,s=e.steps.map(function(l){n.currentTime=a;var u=$n(r,l,n);return o=Math.max(o,n.currentTime),u});return n.currentTime=o,{type:3,steps:s,options:yo(e.options)}}},{key:"visitAnimate",value:function(e,n){var r=function(t,i){var e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return __(yf(t,i).duration,0,"");var r=t,a=r.split(/\s+/).some(function(s){return"{"==s.charAt(0)&&"{"==s.charAt(1)});if(a){var o=__(0,0,"");return o.dynamic=!0,o.strValue=r,o}return __((e=e||yf(r,i)).duration,e.delay,e.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;var a,o=e.styles?e.styles:ce({});if(5==o.type)a=this.visitKeyframes(o,n);else{var s=e.styles,l=!1;if(!s){l=!0;var u={};r.easing&&(u.easing=r.easing),s=ce(u)}n.currentTime+=r.duration+r.delay;var c=this.visitStyle(s,n);c.isEmptyStep=l,a=c}return n.currentAnimateTimings=null,{type:4,timings:r,style:a,options:null}}},{key:"visitStyle",value:function(e,n){var r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}},{key:"_makeStyleAst",value:function(e,n){var r=[];Array.isArray(e.styles)?e.styles.forEach(function(s){"string"==typeof s?s==Br?r.push(s):n.errors.push("The provided style string value ".concat(s," is not allowed.")):r.push(s)}):r.push(e.styles);var a=!1,o=null;return r.forEach(function(s){if(Sf(s)){var l=s,u=l.easing;if(u&&(o=u,delete l.easing),!a)for(var c in l)if(l[c].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:r,easing:o,offset:e.offset,containsDynamicStyles:a,options:null}}},{key:"_validateStyleAst",value:function(e,n){var r=this,a=n.currentAnimateTimings,o=n.currentTime,s=n.currentTime;a&&s>0&&(s-=a.duration+a.delay),e.styles.forEach(function(l){"string"!=typeof l&&Object.keys(l).forEach(function(u){if(r._driver.validateStyleProperty(u)){var c=n.collectedStyles[n.currentQuerySelector],d=c[u],v=!0;d&&(s!=o&&s>=d.startTime&&o<=d.endTime&&(n.errors.push('The CSS property "'.concat(u,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(s,'ms" and "').concat(o,'ms"')),v=!1),s=d.startTime),v&&(c[u]={startTime:s,endTime:o}),n.options&&function(t,i,e){var n=i.params||{},r=bA(t);r.length&&r.forEach(function(a){n.hasOwnProperty(a)||e.push("Unable to resolve the local animation param ".concat(a," in the given list of values"))})}(l[u],n.options,n.errors)}else n.errors.push('The provided animation property "'.concat(u,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,n){var r=this,a={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),a;var s=0,l=[],u=!1,c=!1,d=0,v=e.steps.map(function(N){var z=r._makeStyleAst(N,n),Y=null!=z.offset?z.offset:function(t){if("string"==typeof t)return null;var i=null;if(Array.isArray(t))t.forEach(function(n){if(Sf(n)&&n.hasOwnProperty("offset")){var r=n;i=parseFloat(r.offset),delete r.offset}});else if(Sf(t)&&t.hasOwnProperty("offset")){var e=t;i=parseFloat(e.offset),delete e.offset}return i}(z.styles),le=0;return null!=Y&&(s++,le=z.offset=Y),c=c||le<0||le>1,u=u||le<d,d=le,l.push(le),z});c&&n.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),u&&n.errors.push("Please ensure that all keyframe offsets are in order");var _=e.steps.length,b=0;s>0&&s<_?n.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(b=1/(_-1));var C=_-1,D=n.currentTime,A=n.currentAnimateTimings,T=A.duration;return v.forEach(function(N,z){var Y=b>0?z==C?1:b*z:l[z],le=Y*T;n.currentTime=D+A.delay+le,A.duration=le,r._validateStyleAst(N,n),N.offset=Y,a.styles.push(N)}),a}},{key:"visitReference",value:function(e,n){return{type:8,animation:$n(this,Ru(e.animation),n),options:yo(e.options)}}},{key:"visitAnimateChild",value:function(e,n){return n.depCount++,{type:9,options:yo(e.options)}}},{key:"visitAnimateRef",value:function(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:yo(e.options)}}},{key:"visitQuery",value:function(e,n){var r=n.currentQuerySelector,a=e.options||{};n.queryCount++,n.currentQuery=e;var t,i,o=((i=!!(t=e.selector).split(/\s*,\s*/).find(function(e){return":self"==e}))&&(t=t.replace(UW,"")),t=t.replace(/@\*/g,_f).replace(/@\w+/g,function(e){return _f+"-"+e.substr(1)}).replace(/:animating/g,h_),[t,i]),s=Be(o,2),l=s[0],u=s[1];n.currentQuerySelector=r.length?r+" "+l:l,Kn(n.collectedStyles,n.currentQuerySelector,{});var c=$n(this,Ru(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:u,animation:c,originalSelector:e.selector,options:yo(e.options)}}},{key:"visitStagger",value:function(e,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var r="full"===e.timings?{duration:0,delay:0,easing:"full"}:yf(e.timings,n.errors,!0);return{type:12,animation:$n(this,Ru(e.animation),n),timings:r,options:null}}}])}(),YW=f(function t(i){h(this,t),this.errors=i,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 Sf(t){return!Array.isArray(t)&&"object"==typeof t}function yo(t){return t?(t=Gs(t)).params&&(t.params=function(t){return t?Gs(t):null}(t.params)):t={},t}function __(t,i,e){return{duration:t,delay:i,easing:e}}function y_(t,i,e,n,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:i,preStyleProps:e,postStyleProps:n,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var b_=function(){return f(function t(){h(this,t),this._map=new Map},[{key:"consume",value:function(e){var n=this._map.get(e);return n?this._map.delete(e):n=[],n}},{key:"append",value:function(e,n){var r,a=this._map.get(e);a||this._map.set(e,a=[]),(r=a).push.apply(r,we(n))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}])}(),XW=new RegExp(":enter","g"),ZW=new RegExp(":leave","g");function EA(t,i,e,n,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new eY).buildKeyframes(t,i,e,n,r,a,o,s,l,u)}var eY=function(){return f(function t(){h(this,t)},[{key:"buildKeyframes",value:function(e,n,r,a,o,s,l,u,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new b_;var v=new tY(e,n,c,a,o,d,[]);v.options=u,v.currentTimeline.setStyles([s],null,v.errors,u),$n(this,r,v);var _=v.timelines.filter(function(C){return C.containsAnimation()});if(_.length&&Object.keys(l).length){var b=_[_.length-1];b.allowOnlyTimelineStyles()||b.setStyles([l],null,v.errors,u)}return _.length?_.map(function(C){return C.buildKeyframes()}):[y_(n,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,n){}},{key:"visitState",value:function(e,n){}},{key:"visitTransition",value:function(e,n){}},{key:"visitAnimateChild",value:function(e,n){var r=n.subInstructions.consume(n.element);if(r){var a=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,a,a.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}},{key:"visitAnimateRef",value:function(e,n){var r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}},{key:"_visitSubInstructions",value:function(e,n,r){var o=n.currentTimeline.currentTime,s=null!=r.duration?vo(r.duration):null,l=null!=r.delay?vo(r.delay):null;return 0!==s&&e.forEach(function(u){var c=n.appendInstructionToTimeline(u,s,l);o=Math.max(o,c.duration+c.delay)}),o}},{key:"visitReference",value:function(e,n){n.updateOptions(e.options,!0),$n(this,e.animation,n),n.previousNode=e}},{key:"visitSequence",value:function(e,n){var r=this,a=n.subContextCount,o=n,s=e.options;if(s&&(s.params||s.delay)&&((o=n.createSubContext(s)).transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Df);var l=vo(s.delay);o.delayNextStep(l)}e.steps.length&&(e.steps.forEach(function(u){return $n(r,u,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>a&&o.transformIntoNewTimeline()),n.previousNode=e}},{key:"visitGroup",value:function(e,n){var r=this,a=[],o=n.currentTimeline.currentTime,s=e.options&&e.options.delay?vo(e.options.delay):0;e.steps.forEach(function(l){var u=n.createSubContext(e.options);s&&u.delayNextStep(s),$n(r,l,u),o=Math.max(o,u.currentTimeline.currentTime),a.push(u.currentTimeline)}),a.forEach(function(l){return n.currentTimeline.mergeTimelineCollectedStyles(l)}),n.transformIntoNewTimeline(o),n.previousNode=e}},{key:"_visitTiming",value:function(e,n){if(e.dynamic){var r=e.strValue;return yf(n.params?bf(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,n){var r=n.currentAnimateTimings=this._visitTiming(e.timings,n),a=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),a.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),a.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}},{key:"visitStyle",value:function(e,n){var r=n.currentTimeline,a=n.currentAnimateTimings;!a&&r.getCurrentStyleProperties().length&&r.forwardFrame();var o=a&&a.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}},{key:"visitKeyframes",value:function(e,n){var r=n.currentAnimateTimings,a=n.currentTimeline.duration,o=r.duration,l=n.createSubContext().currentTimeline;l.easing=r.easing,e.styles.forEach(function(u){l.forwardTime((u.offset||0)*o),l.setStyles(u.styles,u.easing,n.errors,n.options),l.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(l),n.transformIntoNewTimeline(a+o),n.previousNode=e}},{key:"visitQuery",value:function(e,n){var r=this,a=n.currentTimeline.currentTime,o=e.options||{},s=o.delay?vo(o.delay):0;s&&(6===n.previousNode.type||0==a&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Df);var l=a,u=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,n.errors);n.currentQueryTotal=u.length;var c=null;u.forEach(function(d,v){n.currentQueryIndex=v;var _=n.createSubContext(e.options,d);s&&_.delayNextStep(s),d===n.element&&(c=_.currentTimeline),$n(r,e.animation,_),_.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,_.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(l),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}},{key:"visitStagger",value:function(e,n){var r=n.parentContext,a=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),l=s*(n.currentQueryTotal-1),u=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":u=l-u;break;case"full":u=r.currentStaggerTime}var d=n.currentTimeline;u&&d.delayNextStep(u);var v=d.currentTime;$n(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=a.currentTime-v+(a.startTime-r.currentTimeline.startTime)}}])}(),Df={},tY=function(){function t(i,e,n,r,a,o,s,l){h(this,t),this._driver=i,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Df,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new AA(this._driver,e,0),s.push(this.currentTimeline)}return f(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,n){var r=this;if(e){var a=e,o=this.options;null!=a.duration&&(o.duration=vo(a.duration)),null!=a.delay&&(o.delay=vo(a.delay));var s=a.params;if(s){var l=o.params;l||(l=this.options.params={}),Object.keys(s).forEach(function(u){(!n||!l.hasOwnProperty(u))&&(l[u]=bf(s[u],l,r.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var n=this.options.params;if(n){var r=e.params={};Object.keys(n).forEach(function(a){r[a]=n[a]})}}return e}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=n||this.element,o=new t(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,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}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Df,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,n,r){var a={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},o=new nY(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,a,e.stretchStartingKeyframe);return this.timelines.push(o),a}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,n,r,a,o,s){var l=[];if(a&&l.push(this.element),e.length>0){e=(e=e.replace(XW,"."+this._enterClassName)).replace(ZW,"."+this._leaveClassName);var c=this._driver.query(this.element,e,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),l.push.apply(l,we(c))}return!o&&0==l.length&&s.push('`query("'.concat(n,'")` returned zero elements. (Use `query("').concat(n,'", { optional: true })` if you wish to allow this.)')),l}}])}(),AA=function(){function t(i,e,n,r){h(this,t),this._driver=i,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 f(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value: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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,n){this._localTimelineStyles[e]=n,this._globalTimelineStyles[e]=n,this._styleSummary[e]={time:this.currentTime,value:n}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var n=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(r){n._backFill[r]=n._globalTimelineStyles[r]||Br,n._currentKeyframe[r]=Br}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,n,r,a){var o=this;n&&(this._previousKeyframe.easing=n);var s=a&&a.params||{},l=function(t,i){var n,e={};return t.forEach(function(r){"*"===r?(n=n||Object.keys(i)).forEach(function(a){e[a]=Br}):ya(r,!1,e)}),e}(e,this._globalTimelineStyles);Object.keys(l).forEach(function(u){var c=bf(l[u],s,r);o._pendingStyles[u]=c,o._localTimelineStyles.hasOwnProperty(u)||(o._backFill[u]=o._globalTimelineStyles.hasOwnProperty(u)?o._globalTimelineStyles[u]:Br),o._updateStyle(u,c)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,n=this._pendingStyles,r=Object.keys(n);0!=r.length&&(this._pendingStyles={},r.forEach(function(a){e._currentKeyframe[a]=n[a]}),Object.keys(this._localTimelineStyles).forEach(function(a){e._currentKeyframe.hasOwnProperty(a)||(e._currentKeyframe[a]=e._localTimelineStyles[a])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(n){var r=e._localTimelineStyles[n];e._pendingStyles[n]=r,e._updateStyle(n,r)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var n in this._currentKeyframe)e.push(n);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var n=this;Object.keys(e._styleSummary).forEach(function(r){var a=n._styleSummary[r],o=e._styleSummary[r];(!a||o.time>a.time)&&n._updateStyle(r,o.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var n=new Set,r=new Set,a=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(d,v){var _=ya(d,!0);Object.keys(_).forEach(function(b){var C=_[b];"!"==C?n.add(b):C==Br&&r.add(b)}),a||(_.offset=v/e.duration),o.push(_)});var s=n.size?Cf(n.values()):[],l=r.size?Cf(r.values()):[];if(a){var u=o[0],c=Gs(u);u.offset=0,c.offset=1,o=[u,c]}return y_(this.element,o,s,l,this.duration,this.startTime,this.easing,!1)}}])}(),nY=function(t){function i(e,n,r,a,o,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return h(this,i),(l=e_(this,i,[e,n,s.delay])).keyframes=r,l.preStyleProps=a,l.postStyleProps=o,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return k(i,t),f(i,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var n=this.keyframes,r=this.timings,a=r.delay,o=r.duration,s=r.easing;if(this._stretchStartingKeyframe&&a){var l=[],u=o+a,c=a/u,d=ya(n[0],!1);d.offset=0,l.push(d);var v=ya(n[0],!1);v.offset=xA(c),l.push(v);for(var _=n.length-1,b=1;b<=_;b++){var C=ya(n[b],!1);C.offset=xA((a+C.offset*o)/u),l.push(C)}o=u,a=0,s="",n=l}return y_(this.element,n,this.preStyleProps,this.postStyleProps,o,a,s,!0)}}])}(AA);function xA(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=Math.pow(10,i-1);return Math.round(t*e)/e}var C_=f(function t(){h(this,t)}),rY=function(t){function i(){return h(this,i),e_(this,i,arguments)}return k(i,t),f(i,[{key:"normalizePropertyName",value:function(n,r){return m_(n)}},{key:"normalizeStyleValue",value:function(n,r,a,o){var s="",l=a.toString().trim();if(oY[r]&&0!==a&&"0"!==a)if("number"==typeof a)s="px";else{var u=a.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&0==u[1].length&&o.push("Please provide a CSS unit value for ".concat(n,":").concat(a))}return l+s}}])}(C_),oY=function(){return t="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(","),i={},t.forEach(function(e){return i[e]=!0}),i;var t,i}();function TA(t,i,e,n,r,a,o,s,l,u,c,d,v){return{type:0,element:t,triggerName:i,isRemovalTransition:r,fromState:e,fromStyles:a,toState:n,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:v}}var k_={},IA=function(){return f(function t(i,e,n){h(this,t),this._triggerName=i,this.ast=e,this._stateStyles=n},[{key:"match",value:function(e,n,r,a){return function(t,i,e,n,r){return t.some(function(a){return a(i,e,n,r)})}(this.ast.matchers,e,n,r,a)}},{key:"buildStyles",value:function(e,n,r){var a=this._stateStyles["*"],o=this._stateStyles[e],s=a?a.buildStyles(n,r):{};return o?o.buildStyles(n,r):s}},{key:"build",value:function(e,n,r,a,o,s,l,u,c,d){var v=[],_=this.ast.options&&this.ast.options.params||k_,C=this.buildStyles(r,l&&l.params||k_,v),D=u&&u.params||k_,A=this.buildStyles(a,D,v),T=new Set,N=new Map,z=new Map,Y="void"===a,le={params:Object.assign(Object.assign({},_),D)},ye=d?[]:EA(e,n,this.ast.animation,o,s,C,A,le,c,v),Le=0;if(ye.forEach(function(Nt){Le=Math.max(Nt.duration+Nt.delay,Le)}),v.length)return TA(n,this._triggerName,r,a,Y,C,A,[],[],N,z,Le,v);ye.forEach(function(Nt){var Kt=Nt.element,ti=Kn(N,Kt,{});Nt.preStyleProps.forEach(function(cn){return ti[cn]=!0});var bi=Kn(z,Kt,{});Nt.postStyleProps.forEach(function(cn){return bi[cn]=!0}),Kt!==n&&T.add(Kt)});var vt=Cf(T.values());return TA(n,this._triggerName,r,a,Y,C,A,ye,vt,N,z,Le)}}])}(),uY=function(){return f(function t(i,e,n){h(this,t),this.styles=i,this.defaultParams=e,this.normalizer=n},[{key:"buildStyles",value:function(e,n){var r=this,a={},o=Gs(this.defaultParams);return Object.keys(e).forEach(function(s){var l=e[s];null!=l&&(o[s]=l)}),this.styles.styles.forEach(function(s){if("string"!=typeof s){var l=s;Object.keys(l).forEach(function(u){var c=l[u];c.length>1&&(c=bf(c,o,n));var d=r.normalizer.normalizePropertyName(u,n);c=r.normalizer.normalizeStyleValue(u,d,c,n),a[d]=c})}}),a}}])}(),dY=function(){return f(function t(i,e,n){var r=this;h(this,t),this.name=i,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(function(a){r.states[a.name]=new uY(a.style,a.options&&a.options.params||{},n)}),RA(this.states,"true","1"),RA(this.states,"false","0"),e.transitions.forEach(function(a){r.transitionFactories.push(new IA(i,a,r.states))}),this.fallbackTransition=function(t,i,e){return new IA(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(o,s){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)},[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,n,r,a){return this.transitionFactories.find(function(s){return s.match(e,n,r,a)})||null}},{key:"matchStyles",value:function(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}])}();function RA(t,i,e){t.hasOwnProperty(i)?t.hasOwnProperty(e)||(t[e]=t[i]):t.hasOwnProperty(e)&&(t[i]=t[e])}var hY=new b_,pY=function(){return f(function t(i,e,n){h(this,t),this.bodyNode=i,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]},[{key:"register",value:function(e,n){var r=[],a=SA(this._driver,n,r);if(r.length)throw new Error("Unable to build the animation due to the following errors: ".concat(r.join("\n")));this._animations[e]=a}},{key:"_buildPlayer",value:function(e,n,r){var a=e.element,o=lA(this._driver,this._normalizer,a,e.keyframes,n,r);return this._driver.animate(a,o,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,n){var l,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=this._animations[e],u=new Map;if(s?(l=EA(this._driver,n,s,mA,f_,{},{},a,hY,o)).forEach(function(v){var _=Kn(u,v.element,{});v.postStyleProps.forEach(function(b){return _[b]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),l=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));u.forEach(function(v,_){Object.keys(v).forEach(function(b){v[b]=r._driver.computeStyle(_,b,Br)})});var c=l.map(function(v){var _=u.get(v.element);return r._buildPlayer(v,{},_)}),d=_a(c);return this._playersById[e]=d,d.onDestroy(function(){return r.destroy(e)}),this.players.push(d),d}},{key:"destroy",value:function(e){var n=this._getPlayer(e);n.destroy(),delete this._playersById[e];var r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}},{key:"_getPlayer",value:function(e){var n=this._playersById[e];if(!n)throw new Error("Unable to find the timeline player referenced by ".concat(e));return n}},{key:"listen",value:function(e,n,r,a){var o=r_(n,"","","");return n_(this._getPlayer(e),r,o,a),function(){}}},{key:"command",value:function(e,n,r,a){if("register"!=r)if("create"!=r){var s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(e)}}else this.create(e,n,a[0]||{});else this.register(e,a[0])}}])}(),OA="ng-animate-queued",FA="ng-animate-disabled",PA=".ng-animate-disabled",mY="ng-star-inserted",_Y=[],NA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gi="__ng_removed",w_=function(){return f(function t(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";h(this,t),this.namespaceId=e;var n=i&&i.hasOwnProperty("value"),r=n?i.value:i;if(this.value=wY(r),n){var a=Gs(i);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})},[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var n=e.params;if(n){var r=this.options.params;Object.keys(n).forEach(function(a){null==r[a]&&(r[a]=n[a])})}}}])}(),Ou="void",M_=new w_(Ou),bY=function(){return f(function t(i,e,n){h(this,t),this.id=i,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,mi(e,this._hostClassName)},[{key:"listen",value:function(e,n,r,a){var t,o=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'.concat(r,'" because the animation trigger "').concat(n,"\" doesn't exist!"));if(null==r||0==r.length)throw new Error('Unable to listen on the animation trigger "'.concat(n,'" because the provided event is undefined!'));if("start"!=(t=r)&&"done"!=t)throw new Error('The provided animation trigger event "'.concat(r,'" for the animation trigger "').concat(n,'" is not supported!'));var s=Kn(this._elementListeners,e,[]),l={name:n,phase:r,callback:a};s.push(l);var u=Kn(this._engine.statesByElement,e,{});return u.hasOwnProperty(n)||(mi(e,vf),mi(e,vf+"-"+n),u[n]=M_),function(){o._engine.afterFlush(function(){var c=s.indexOf(l);c>=0&&s.splice(c,1),o._triggers[n]||delete u[n]})}}},{key:"register",value:function(e,n){return!this._triggers[e]&&(this._triggers[e]=n,!0)}},{key:"_getTrigger",value:function(e){var n=this._triggers[e];if(!n)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return n}},{key:"trigger",value:function(e,n,r){var a=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=this._getTrigger(n),l=new S_(this.id,n,e),u=this._engine.statesByElement.get(e);u||(mi(e,vf),mi(e,vf+"-"+n),this._engine.statesByElement.set(e,u={}));var c=u[n],d=new w_(r,this.id),v=r&&r.hasOwnProperty("value");!v&&c&&d.absorbOptions(c.options),u[n]=d,c||(c=M_);var _=d.value===Ou;if(_||c.value!==d.value){var A=Kn(this._engine.playersByElement,e,[]);A.forEach(function(z){z.namespaceId==a.id&&z.triggerName==n&&z.queued&&z.destroy()});var T=s.matchTransition(c.value,d.value,e,d.params),N=!1;if(!T){if(!o)return;T=s.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:T,fromState:c,toState:d,player:l,isFallbackTransition:N}),N||(mi(e,OA),l.onStart(function(){Us(e,OA)})),l.onDone(function(){var z=a.players.indexOf(l);z>=0&&a.players.splice(z,1);var Y=a._engine.playersByElement.get(e);if(Y){var le=Y.indexOf(l);le>=0&&Y.splice(le,1)}}),this.players.push(l),A.push(l),l}if(!EY(c.params,d.params)){var b=[],C=s.matchStyles(c.value,c.params,b),D=s.matchStyles(d.value,d.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(function(){_o(e,C),mr(e,D)})}}},{key:"deregister",value:function(e){var n=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(r,a){delete r[e]}),this._elementListeners.forEach(function(r,a){n._elementListeners.set(a,r.filter(function(o){return o.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var n=this._engine.playersByElement.get(e);n&&(n.forEach(function(r){return r.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,n){var r=this,a=this._engine.driver.query(e,_f,!0);a.forEach(function(o){if(!o[gi]){var s=r._engine.fetchNamespacesByElement(o);s.size?s.forEach(function(l){return l.triggerLeaveAnimation(o,n,!1,!0)}):r.clearElementCache(o)}}),this._engine.afterFlushAnimationsDone(function(){return a.forEach(function(o){return r.clearElementCache(o)})})}},{key:"triggerLeaveAnimation",value:function(e,n,r,a){var o=this,s=this._engine.statesByElement.get(e);if(s){var l=[];if(Object.keys(s).forEach(function(u){if(o._triggers[u]){var c=o.trigger(e,u,Ou,a);c&&l.push(c)}}),l.length)return this._engine.markElementAsRemoved(this.id,e,!0,n),r&&_a(l).onDone(function(){return o._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var n=this,r=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(r&&a){var o=new Set;r.forEach(function(s){var l=s.name;if(!o.has(l)){o.add(l);var c=n._triggers[l].fallbackTransition,d=a[l]||M_,v=new w_(Ou),_=new S_(n.id,l,e);n._engine.totalQueuedPlayers++,n._queue.push({element:e,triggerName:l,transition:c,fromState:d,toState:v,player:_,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,n){var r=this,a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),!this.triggerLeaveAnimation(e,n,!0)){var o=!1;if(a.totalAnimations){var s=a.players.length?a.playersByQueriedElement.get(e):[];if(s&&s.length)o=!0;else for(var l=e;l=l.parentNode;)if(a.statesByElement.get(l)){o=!0;break}}if(this.prepareLeaveAnimationListeners(e),o)a.markElementAsRemoved(this.id,e,!1,n);else{var c=e[gi];(!c||c===NA)&&(a.afterFlush(function(){return r.clearElementCache(e)}),a.destroyInnerAnimations(e),a._onRemovalComplete(e,n))}}}},{key:"insertNode",value:function(e,n){mi(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var n=this,r=[];return this._queue.forEach(function(a){var o=a.player;if(!o.destroyed){var s=a.element,l=n._elementListeners.get(s);l&&l.forEach(function(u){if(u.name==a.triggerName){var c=r_(s,a.triggerName,a.fromState.value,a.toState.value);c._data=e,n_(a.player,u.phase,c,u.callback)}}),o.markedForDestroy?n._engine.afterFlush(function(){o.destroy()}):r.push(a)}}),this._queue=[],r.sort(function(a,o){var s=a.transition.ast.depCount,l=o.transition.ast.depCount;return 0==s||0==l?s-l:n._engine.driver.containsElement(a.element,o.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var n=!1;return this._elementListeners.has(e)&&(n=!0),!!this._queue.find(function(r){return r.element===e})||n}}])}(),CY=function(){return f(function t(i,e,n){h(this,t),this.bodyNode=i,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(r,a){}},[{key:"_onRemovalComplete",value:function(e,n){this.onRemovalComplete(e,n)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(n){n.players.forEach(function(r){r.queued&&e.push(r)})}),e}},{key:"createNamespace",value:function(e,n){var r=new bY(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}},{key:"_balanceNamespaceList",value:function(e,n){var r=this._namespaceList.length-1;if(r>=0){for(var a=!1,o=r;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,n)){this._namespaceList.splice(o+1,0,e),a=!0;break}a||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(n,e),e}},{key:"register",value:function(e,n){var r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}},{key:"registerTrigger",value:function(e,n,r){var a=this._namespaceLookup[e];a&&a.register(n,r)&&this.totalAnimations++}},{key:"destroy",value:function(e,n){var r=this;if(e){var a=this._fetchNamespace(e);this.afterFlush(function(){r.namespacesByHostElement.delete(a.hostElement),delete r._namespaceLookup[e];var o=r._namespaceList.indexOf(a);o>=0&&r._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(function(){return a.destroy(n)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var n=new Set,r=this.statesByElement.get(e);if(r)for(var a=Object.keys(r),o=0;o<a.length;o++){var s=r[a[o]].namespaceId;if(s){var l=this._fetchNamespace(s);l&&n.add(l)}}return n}},{key:"trigger",value:function(e,n,r,a){if(Ef(n)){var o=this._fetchNamespace(e);if(o)return o.trigger(n,r,a),!0}return!1}},{key:"insertNode",value:function(e,n,r,a){if(Ef(n)){var o=n[gi];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){var l=this._fetchNamespace(e);l&&l.insertNode(n,r)}a&&this.collectEnterElement(n)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),mi(e,FA)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Us(e,FA))}},{key:"removeNode",value:function(e,n,r,a){if(Ef(n)){var o=e?this._fetchNamespace(e):null;if(o?o.removeNode(n,a):this.markElementAsRemoved(e,n,!1,a),r){var s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,a)}}else this._onRemovalComplete(n,a)}},{key:"markElementAsRemoved",value:function(e,n,r,a){this.collectedLeaveElements.push(n),n[gi]={namespaceId:e,setForRemoval:a,hasAnimation:r,removedBeforeQueried:!1}}},{key:"listen",value:function(e,n,r,a,o){return Ef(n)?this._fetchNamespace(e).listen(n,r,a,o):function(){}}},{key:"_buildInstruction",value:function(e,n,r,a,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,a,e.fromState.options,e.toState.options,n,o)}},{key:"destroyInnerAnimations",value:function(e){var n=this,r=this.driver.query(e,_f,!0);r.forEach(function(a){return n.destroyActiveAnimationsForElement(a)}),0!=this.playersByQueriedElement.size&&(r=this.driver.query(e,h_,!0)).forEach(function(a){return n.finishActiveQueriedAnimationOnElement(a)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var n=this.playersByElement.get(e);n&&n.forEach(function(r){r.queued?r.markedForDestroy=!0:r.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var n=this.playersByQueriedElement.get(e);n&&n.forEach(function(r){return r.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(n){if(e.players.length)return _a(e.players).onDone(function(){return n()});n()})}},{key:"processLeaveNode",value:function(e){var n=this,r=e[gi];if(r&&r.setForRemoval){if(e[gi]=NA,r.namespaceId){this.destroyInnerAnimations(e);var a=this._fetchNamespace(r.namespaceId);a&&a.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}this.driver.matchesElement(e,PA)&&this.markElementAsDisabled(e,!1),this.driver.query(e,PA,!0).forEach(function(o){n.markElementAsDisabled(o,!1)})}},{key:"flush",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,r=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(v,_){return e._balanceNamespaceList(v,_)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var a=0;a<this.collectedEnterElements.length;a++){var o=this.collectedEnterElements[a];mi(o,mY)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var s=[];try{r=this._flushAnimations(s,n)}finally{for(var l=0;l<s.length;l++)s[l]()}}else for(var u=0;u<this.collectedLeaveElements.length;u++){var c=this.collectedLeaveElements[u];this.processLeaveNode(c)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(v){return v()}),this._flushFns=[],this._whenQuietFns.length){var d=this._whenQuietFns;this._whenQuietFns=[],r.length?_a(r).onDone(function(){d.forEach(function(v){return v()})}):d.forEach(function(v){return v()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(e.join("\n")))}},{key:"_flushAnimations",value:function(e,n){var r=this,a=new b_,o=[],s=new Map,l=[],u=new Map,c=new Map,d=new Map,v=new Set;this.disabledNodes.forEach(function(ge){v.add(ge);for(var Me=r.driver.query(ge,".ng-animate-queued",!0),Oe=0;Oe<Me.length;Oe++)v.add(Me[Oe])});var _=this.bodyNode,b=Array.from(this.statesByElement.keys()),C=VA(b,this.collectedEnterElements),D=new Map,A=0;C.forEach(function(ge,Me){var Oe=mA+A++;D.set(Me,Oe),ge.forEach(function(en){return mi(en,Oe)})});for(var T=[],N=new Set,z=new Set,Y=0;Y<this.collectedLeaveElements.length;Y++){var le=this.collectedLeaveElements[Y],ye=le[gi];ye&&ye.setForRemoval&&(T.push(le),N.add(le),ye.hasAnimation?this.driver.query(le,".ng-star-inserted",!0).forEach(function(ge){return N.add(ge)}):z.add(le))}var Le=new Map,vt=VA(b,Array.from(N));vt.forEach(function(ge,Me){var Oe=f_+A++;Le.set(Me,Oe),ge.forEach(function(en){return mi(en,Oe)})}),e.push(function(){C.forEach(function(ge,Me){var Oe=D.get(Me);ge.forEach(function(en){return Us(en,Oe)})}),vt.forEach(function(ge,Me){var Oe=Le.get(Me);ge.forEach(function(en){return Us(en,Oe)})}),T.forEach(function(ge){r.processLeaveNode(ge)})});for(var Nt=[],Kt=[],ti=this._namespaceList.length-1;ti>=0;ti--)this._namespaceList[ti].drainQueuedTransitions(n).forEach(function(ge){var Me=ge.player,Oe=ge.element;if(Nt.push(Me),r.collectedEnterElements.length){var en=Oe[gi];if(en&&en.setForMove)return void Me.destroy()}var To=!_||!r.driver.containsElement(_,Oe),il=Le.get(Oe),Xh=D.get(Oe),Mn=r._buildInstruction(ge,a,Xh,il,To);if(Mn.errors&&Mn.errors.length)Kt.push(Mn);else{if(To)return Me.onStart(function(){return _o(Oe,Mn.fromStyles)}),Me.onDestroy(function(){return mr(Oe,Mn.toStyles)}),void o.push(Me);if(ge.isFallbackTransition)return Me.onStart(function(){return _o(Oe,Mn.fromStyles)}),Me.onDestroy(function(){return mr(Oe,Mn.toStyles)}),void o.push(Me);Mn.timelines.forEach(function(Zi){return Zi.stretchStartingKeyframe=!0}),a.append(Oe,Mn.timelines),l.push({instruction:Mn,player:Me,element:Oe}),Mn.queriedElements.forEach(function(Zi){return Kn(u,Zi,[]).push(Me)}),Mn.preStyleProps.forEach(function(Zi,Io){var Jh=Object.keys(Zi);if(Jh.length){var Ro=c.get(Io);Ro||c.set(Io,Ro=new Set),Jh.forEach(function(pb){return Ro.add(pb)})}}),Mn.postStyleProps.forEach(function(Zi,Io){var Jh=Object.keys(Zi),Ro=d.get(Io);Ro||d.set(Io,Ro=new Set),Jh.forEach(function(pb){return Ro.add(pb)})})}});if(Kt.length){var cn=[];Kt.forEach(function(ge){cn.push("@".concat(ge.triggerName," has failed due to:\n")),ge.errors.forEach(function(Me){return cn.push("- ".concat(Me,"\n"))})}),Nt.forEach(function(ge){return ge.destroy()}),this.reportError(cn)}var Ci=new Map,Ji=new Map;l.forEach(function(ge){var Me=ge.element;a.has(Me)&&(Ji.set(Me,Me),r._beforeAnimationBuild(ge.player.namespaceId,ge.instruction,Ci))}),o.forEach(function(ge){var Me=ge.element;r._getPreviousPlayers(Me,!1,ge.namespaceId,ge.triggerName,null).forEach(function(en){Kn(Ci,Me,[]).push(en),en.destroy()})});var Ao=T.filter(function(ge){return GA(ge,c,d)}),xo=new Map;BA(xo,this.driver,z,d,Br).forEach(function(ge){GA(ge,c,d)&&Ao.push(ge)});var oc=new Map;C.forEach(function(ge,Me){BA(oc,r.driver,new Set(ge),c,"!")}),Ao.forEach(function(ge){var Me=xo.get(ge),Oe=oc.get(ge);xo.set(ge,Object.assign(Object.assign({},Me),Oe))});var sc=[],Qh=[],lc={};l.forEach(function(ge){var Me=ge.element,Oe=ge.player,en=ge.instruction;if(a.has(Me)){if(v.has(Me))return Oe.onDestroy(function(){return mr(Me,en.toStyles)}),Oe.disabled=!0,Oe.overrideTotalTime(en.totalTime),void o.push(Oe);var To=lc;if(Ji.size>1){for(var il=Me,Xh=[];il=il.parentNode;){var Mn=Ji.get(il);if(Mn){To=Mn;break}Xh.push(il)}Xh.forEach(function(Io){return Ji.set(Io,To)})}var hb=r._buildAnimation(Oe.namespaceId,en,Ci,s,oc,xo);if(Oe.setRealPlayer(hb),To===lc)sc.push(Oe);else{var Zi=r.playersByElement.get(To);Zi&&Zi.length&&(Oe.parentPlayer=_a(Zi)),o.push(Oe)}}else _o(Me,en.fromStyles),Oe.onDestroy(function(){return mr(Me,en.toStyles)}),Qh.push(Oe),v.has(Me)&&o.push(Oe)}),Qh.forEach(function(ge){var Me=s.get(ge.element);if(Me&&Me.length){var Oe=_a(Me);ge.setRealPlayer(Oe)}}),o.forEach(function(ge){ge.parentPlayer?ge.syncPlayerEvents(ge.parentPlayer):ge.destroy()});for(var uc=0;uc<T.length;uc++){var Ra=T[uc],Kh=Ra[gi];if(Us(Ra,f_),!Kh||!Kh.hasAnimation){var Oa=[];if(u.size){var cc=u.get(Ra);cc&&cc.length&&Oa.push.apply(Oa,we(cc));for(var $h=this.driver.query(Ra,h_,!0),db=0;db<$h.length;db++){var fb=u.get($h[db]);fb&&fb.length&&Oa.push.apply(Oa,we(fb))}}var IR=Oa.filter(function(ge){return!ge.destroyed});IR.length?SY(this,Ra,IR):this.processLeaveNode(Ra)}}return T.length=0,sc.forEach(function(ge){r.players.push(ge),ge.onDone(function(){ge.destroy();var Me=r.players.indexOf(ge);r.players.splice(Me,1)}),ge.play()}),sc}},{key:"elementContainsData",value:function(e,n){var r=!1,a=n[gi];return a&&a.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,n,r,a,o){var s=[];if(n){var l=this.playersByQueriedElement.get(e);l&&(s=l)}else{var u=this.playersByElement.get(e);if(u){var c=!o||o==Ou;u.forEach(function(d){d.queued||!c&&d.triggerName!=a||s.push(d)})}}return(r||a)&&(s=s.filter(function(d){return!(r&&r!=d.namespaceId||a&&a!=d.triggerName)})),s}},{key:"_beforeAnimationBuild",value:function(e,n,r){var d,a=this,s=n.element,l=n.isRemovalTransition?void 0:e,u=n.isRemovalTransition?void 0:n.triggerName,c=ct(n.timelines);try{var v=function(){var C=d.value.element,D=C!==s,A=Kn(r,C,[]);a._getPreviousPlayers(C,D,l,u,n.toState).forEach(function(N){var z=N.getRealPlayer();z.beforeDestroy&&z.beforeDestroy(),N.destroy(),A.push(N)})};for(c.s();!(d=c.n()).done;)v()}catch(_){c.e(_)}finally{c.f()}_o(s,n.fromStyles)}},{key:"_buildAnimation",value:function(e,n,r,a,o,s){var l=this,u=n.triggerName,c=n.element,d=[],v=new Set,_=new Set,b=n.timelines.map(function(D){var A=D.element;v.add(A);var T=A[gi];if(T&&T.removedBeforeQueried)return new Hs(D.duration,D.delay);var t,i,N=A!==c,z=(t=(r.get(A)||_Y).map(function(Nt){return Nt.getRealPlayer()}),i=[],HA(t,i),i).filter(function(Nt){return!!Nt.element&&Nt.element===A}),Y=o.get(A),le=s.get(A),ye=lA(l.driver,l._normalizer,A,D.keyframes,Y,le),Le=l._buildPlayer(D,ye,z);if(D.subTimeline&&a&&_.add(A),N){var vt=new S_(e,u,A);vt.setRealPlayer(Le),d.push(vt)}return Le});d.forEach(function(D){Kn(l.playersByQueriedElement,D.element,[]).push(D),D.onDone(function(){return function(t,i,e){var n;if(t instanceof Map){if(n=t.get(i)){if(n.length){var r=n.indexOf(e);n.splice(r,1)}0==n.length&&t.delete(i)}}else if(n=t[i]){if(n.length){var a=n.indexOf(e);n.splice(a,1)}0==n.length&&delete t[i]}return n}(l.playersByQueriedElement,D.element,D)})}),v.forEach(function(D){return mi(D,vA)});var C=_a(b);return C.onDestroy(function(){v.forEach(function(D){return Us(D,vA)}),mr(c,n.toStyles)}),_.forEach(function(D){Kn(a,D,[]).push(C)}),C}},{key:"_buildPlayer",value:function(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Hs(e.duration,e.delay)}}])}(),S_=function(){return f(function t(i,e,n){h(this,t),this.namespaceId=i,this.triggerName=e,this.element=n,this._player=new Hs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0},[{key:"setRealPlayer",value:function(e){var n=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(r){n._queuedCallbacks[r].forEach(function(a){return n_(e,r,void 0,a)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var n=this,r=this._player;r.triggerCallback&&e.onStart(function(){return r.triggerCallback("start")}),e.onDone(function(){return n.finish()}),e.onDestroy(function(){return n.destroy()})}},{key:"_queueEvent",value:function(e,n){Kn(this._queuedCallbacks,e,[]).push(n)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var n=this._player;n.triggerCallback&&n.triggerCallback(e)}}])}();function wY(t){return null!=t?t:null}function Ef(t){return t&&1===t.nodeType}function LA(t,i){var e=t.style.display;return t.style.display=null!=i?i:"none",e}function BA(t,i,e,n,r){var a=[];e.forEach(function(l){return a.push(LA(l))});var o=[];n.forEach(function(l,u){var c={};l.forEach(function(d){var v=c[d]=i.computeStyle(u,d,r);(!v||0==v.length)&&(u[gi]=yY,o.push(u))}),t.set(u,c)});var s=0;return e.forEach(function(l){return LA(l,a[s++])}),o}function VA(t,i){var e=new Map;if(t.forEach(function(s){return e.set(s,[])}),0==i.length)return e;var r=new Set(i),a=new Map;function o(s){if(!s)return 1;var l=a.get(s);if(l)return l;var u=s.parentNode;return l=e.has(u)?u:r.has(u)?1:o(u),a.set(s,l),l}return i.forEach(function(s){var l=o(s);1!==l&&e.get(l).push(s)}),e}var Af="$$classes";function mi(t,i){if(t.classList)t.classList.add(i);else{var e=t[Af];e||(e=t[Af]={}),e[i]=!0}}function Us(t,i){if(t.classList)t.classList.remove(i);else{var e=t[Af];e&&delete e[i]}}function SY(t,i,e){_a(e).onDone(function(){return t.processLeaveNode(i)})}function HA(t,i){for(var e=0;e<t.length;e++){var n=t[e];n instanceof oA?HA(n.players,i):i.push(n)}}function EY(t,i){var e=Object.keys(t),n=Object.keys(i);if(e.length!=n.length)return!1;for(var r=0;r<e.length;r++){var a=e[r];if(!i.hasOwnProperty(a)||t[a]!==i[a])return!1}return!0}function GA(t,i,e){var n=e.get(t);if(!n)return!1;var r=i.get(t);return r?n.forEach(function(a){return r.add(a)}):i.set(t,n),e.delete(t),!0}var xf=function(){return f(function t(i,e,n){var r=this;h(this,t),this.bodyNode=i,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=function(a,o){},this._transitionEngine=new CY(i,e,n),this._timelineEngine=new pY(i,e,n),this._transitionEngine.onRemovalComplete=function(a,o){return r.onRemovalComplete(a,o)}},[{key:"registerTrigger",value:function(e,n,r,a,o){var s=e+"-"+a,l=this._triggerCache[s];if(!l){var u=[],c=SA(this._driver,o,u);if(u.length)throw new Error('The animation trigger "'.concat(a,'" has failed to build due to the following errors:\n - ').concat(u.join("\n - ")));l=function(t,i,e){return new dY(t,i,e)}(a,c,this._normalizer),this._triggerCache[s]=l}this._transitionEngine.registerTrigger(n,a,l)}},{key:"register",value:function(e,n){this._transitionEngine.register(e,n)}},{key:"destroy",value:function(e,n){this._transitionEngine.destroy(e,n)}},{key:"onInsert",value:function(e,n,r,a){this._transitionEngine.insertNode(e,n,r,a)}},{key:"onRemove",value:function(e,n,r,a){this._transitionEngine.removeNode(e,n,a||!1,r)}},{key:"disableAnimations",value:function(e,n){this._transitionEngine.markElementAsDisabled(e,n)}},{key:"process",value:function(e,n,r,a){if("@"==r.charAt(0)){var s=Be(uA(r),2);this._timelineEngine.command(s[0],n,s[1],a)}else this._transitionEngine.trigger(e,n,r,a)}},{key:"listen",value:function(e,n,r,a,o){if("@"==r.charAt(0)){var l=Be(uA(r),2);return this._timelineEngine.listen(l[0],n,l[1],o)}return this._transitionEngine.listen(e,n,r,a,o)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}])}();function UA(t,i){var e=null,n=null;return Array.isArray(i)&&i.length?(e=D_(i[0]),i.length>1&&(n=D_(i[i.length-1]))):i&&(e=D_(i)),e||n?new AY(t,e,n):null}var AY=function(){var t=function(){function i(e,n,r){h(this,i),this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var a=i.initialStylesByElement.get(e);a||i.initialStylesByElement.set(e,a={}),this._initialStyles=a}return f(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&mr(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(mr(this._element,this._initialStyles),this._endStyles&&(mr(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(_o(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_o(this._element,this._endStyles),this._endStyles=null),mr(this._element,this._initialStyles),this._state=3)}}])}();return t.initialStylesByElement=new WeakMap,t}();function D_(t){for(var i=null,e=Object.keys(t),n=0;n<e.length;n++){var r=e[n];xY(r)&&((i=i||{})[r]=t[r])}return i}function xY(t){return"display"===t||"position"===t}var jA="animation",zA="animationend",RY=function(){return f(function t(i,e,n,r,a,o,s){var l=this;h(this,t),this._element=i,this._name=e,this._duration=n,this._delay=r,this._easing=a,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(u){return l._handleCallback(u)}},[{key:"apply",value:function(){var t,i,e;t=this._element,i="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(e=A_(t,"").trim()).length&&(function(t,i){for(var e=0,n=0;n<t.length;n++)","===t.charAt(n)&&e++}(e),i="".concat(e,", ").concat(i)),Tf(t,"",i),qA(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){WA(this._element,this._name,"paused")}},{key:"resume",value:function(){WA(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var n=YA(this._element,this._name);this._position=e*this._duration,Tf(this._element,"Delay","-".concat(this._position,"ms"),n)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var n=e._ngTestManualTimestamp||Date.now(),r=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(n-this._startTime,0)>=this._delay&&r>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),qA(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,i,n,r;this._destroyed||(this._destroyed=!0,this.finish(),i=this._name,n=A_(t=this._element,"").split(","),(r=E_(n,i))>=0&&(n.splice(r,1),Tf(t,"",n.join(","))))}}])}();function WA(t,i,e){Tf(t,"PlayState",e,YA(t,i))}function YA(t,i){var e=A_(t,"");return e.indexOf(",")>0?E_(e.split(","),i):E_([e],i)}function E_(t,i){for(var e=0;e<t.length;e++)if(t[e].indexOf(i)>=0)return e;return-1}function qA(t,i,e){e?t.removeEventListener(zA,i):t.addEventListener(zA,i)}function Tf(t,i,e,n){var r=jA+i;if(null!=n){var a=t.style[r];if(a.length){var o=a.split(",");o[n]=e,e=o.join(",")}}t.style[r]=e}function A_(t,i){return t.style[jA+i]||""}var QA=function(){return f(function t(i,e,n,r,a,o,s,l){h(this,t),this.element=i,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()},[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value: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(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new RY(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(function(r){return r()}),n.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var n={};if(this.hasStarted()){var r=this._state>=3;Object.keys(this._finalStyles).forEach(function(a){"offset"!=a&&(n[a]=r?e._finalStyles[a]:v_(e.element,a))})}this.currentSnapshot=n}}])}(),BY=function(t){function i(e,n){var r;return h(this,i),(r=e_(this,i)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=hA(n),r}return k(i,t),f(i,[{key:"init",value:function(){var n=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(r){n._startingStyles[r]=n.element.style[r]}),J(M(i.prototype),"init",this).call(this))}},{key:"play",value:function(){var n=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(r){return n.element.style.setProperty(r,n._styles[r])}),J(M(i.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var n=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(r){var a=n._startingStyles[r];a?n.element.style.setProperty(r,a):n.element.style.removeProperty(r)}),this._startingStyles=null,J(M(i.prototype),"destroy",this).call(this))}}])}(Hs),VY="gen_css_kf_",$A=function(){return f(function t(){h(this,t),this._count=0},[{key:"validateStyleProperty",value:function(e){return s_(e)}},{key:"matchesElement",value:function(e,n){return l_(e,n)}},{key:"containsElement",value:function(e,n){return u_(e,n)}},{key:"query",value:function(e,n,r){return c_(e,n,r)}},{key:"computeStyle",value:function(e,n,r){return window.getComputedStyle(e)[n]}},{key:"buildKeyframeElement",value:function(e,n,r){r=r.map(function(l){return hA(l)});var a="@keyframes ".concat(n," {\n"),o="";r.forEach(function(l){o=" ";var u=parseFloat(l.offset);a+="".concat(o).concat(100*u,"% {\n"),o+=" ",Object.keys(l).forEach(function(c){var d=l[c];switch(c){case"offset":return;case"easing":return void(d&&(a+="".concat(o,"animation-timing-function: ").concat(d,";\n")));default:return void(a+="".concat(o).concat(c,": ").concat(d,";\n"))}}),a+="".concat(o,"}\n")}),a+="}\n";var s=document.createElement("style");return s.textContent=a,s}},{key:"animate",value:function(e,n,r,a,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=s.filter(function(A){return A instanceof QA}),c={};CA(r,a)&&u.forEach(function(A){var T=A.currentSnapshot;Object.keys(T).forEach(function(N){return c[N]=T[N]})});var d=GY(n=kA(e,n,c));if(0==r)return new BY(e,d);var v="".concat(VY).concat(this._count++),_=this.buildKeyframeElement(e,v,n),b=HY(e);b.appendChild(_);var C=UA(e,n),D=new QA(e,n,v,r,a,o,d,C);return D.onDestroy(function(){return UY(_)}),D}}])}();function HY(t){var i,e=null===(i=t.getRootNode)||void 0===i?void 0:i.call(t);return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot?e:document.head}function GY(t){var i={};return t&&(Array.isArray(t)?t:[t]).forEach(function(n){Object.keys(n).forEach(function(r){"offset"==r||"easing"==r||(i[r]=n[r])})}),i}function UY(t){t.parentNode.removeChild(t)}var JA=function(){return f(function t(i,e,n,r){h(this,t),this.element=i,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},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,n,r){return e.animate(n,r)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(r){"offset"!=r&&(n[r]=e._finished?e._finalKeyframe[r]:v_(e.element,r))}),this.currentSnapshot=n}},{key:"triggerCallback",value:function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(function(r){return r()}),n.length=0}}])}(),jY=function(){return f(function t(){h(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ZA().toString()),this._cssKeyframesDriver=new $A},[{key:"validateStyleProperty",value:function(e){return s_(e)}},{key:"matchesElement",value:function(e,n){return l_(e,n)}},{key:"containsElement",value:function(e,n){return u_(e,n)}},{key:"query",value:function(e,n,r){return c_(e,n,r)}},{key:"computeStyle",value:function(e,n,r){return window.getComputedStyle(e)[n]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,n,r,a,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=arguments.length>6?arguments[6]:void 0,u=!l&&!this._isNativeImpl;if(u)return this._cssKeyframesDriver.animate(e,n,r,a,o,s);var c=0==a?"both":"forwards",d={duration:r,delay:a,fill:c};o&&(d.easing=o);var v={},_=s.filter(function(C){return C instanceof JA});CA(r,a)&&_.forEach(function(C){var D=C.currentSnapshot;Object.keys(D).forEach(function(A){return v[A]=D[A]})});var b=UA(e,n=kA(e,n=n.map(function(C){return ya(C,!1)}),v));return new JA(e,n,d,b)}}])}();function ZA(){return sA()&&Element.prototype.animate||{}}function If(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var WY=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=If(this,e))._nextAnimationId=0,a._renderer=n.createRenderer(r.body,{id:"0",encapsulation:Mi.None,styles:[],data:{animation:[]}}),a}return k(e,i),f(e,[{key:"build",value:function(r){var a=this._nextAnimationId.toString();this._nextAnimationId++;var o=Array.isArray(r)?nA(r):r;return ex(this._renderer,null,a,"register",[o]),new YY(a,this._renderer)}}])}(tA);return t.\u0275fac=function(e){return new(e||t)(x(Ja),x(oe))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),YY=function(t){function i(e,n){var r;return h(this,i),(r=If(this,i))._id=e,r._renderer=n,r}return k(i,t),f(i,[{key:"create",value:function(n,r){return new qY(this._id,n,r||{},this._renderer)}}])}(TW),qY=function(){return f(function t(i,e,n,r){h(this,t),this.id=i,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)},[{key:"_listen",value:function(e,n){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),n)}},{key:"_command",value:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return ex(this._renderer,this.element,this.id,e,r)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}])}();function ex(t,i,e,n,r){return t.setProperty(i,"@@".concat(e,":").concat(n),r)}var tx="@.disabled",QY=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(a,o){o&&o.parentNode(a)&&o.removeChild(a.parentNode,a)}},[{key:"createRenderer",value:function(n,r){var a=this,s=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){var l=this._rendererCache.get(s);return l||(l=new nx("",s,this.engine),this._rendererCache.set(s,l)),l}var u=r.id,c=r.id+"-"+this._currentId;return this._currentId++,this.engine.register(c,n),r.data.animation.forEach(function _(b){Array.isArray(b)?b.forEach(_):a.engine.registerTrigger(u,c,n,b.name,b)}),new KY(this,c,s,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var n=this;this.promise.then(function(){n._microtaskId++})}},{key:"scheduleListenerCallback",value:function(n,r,a){var o=this;n>=0&&n<this._microtaskId?this._zone.run(function(){return r(a)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){o._zone.run(function(){o._animationCallbacksBuffer.forEach(function(s){var l=Be(s,2);(0,l[0])(l[1])}),o._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,a]))}},{key:"end",value:function(){var n=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){n._scheduleCountTask(),n.engine.flush(n._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ja),x(xf),x(ue))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),nx=function(){return f(function t(i,e,n){h(this,t),this.namespaceId=i,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(r){return e.destroyNode(r)}:null},[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,n){return this.delegate.createElement(e,n)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}},{key:"insertBefore",value:function(e,n,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,a)}},{key:"removeChild",value:function(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}},{key:"selectRootElement",value:function(e,n){return this.delegate.selectRootElement(e,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,n,r,a){this.delegate.setAttribute(e,n,r,a)}},{key:"removeAttribute",value:function(e,n,r){this.delegate.removeAttribute(e,n,r)}},{key:"addClass",value:function(e,n){this.delegate.addClass(e,n)}},{key:"removeClass",value:function(e,n){this.delegate.removeClass(e,n)}},{key:"setStyle",value:function(e,n,r,a){this.delegate.setStyle(e,n,r,a)}},{key:"removeStyle",value:function(e,n,r){this.delegate.removeStyle(e,n,r)}},{key:"setProperty",value:function(e,n,r){"@"==n.charAt(0)&&n==tx?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}},{key:"setValue",value:function(e,n){this.delegate.setValue(e,n)}},{key:"listen",value:function(e,n,r){return this.delegate.listen(e,n,r)}},{key:"disableAnimations",value:function(e,n){this.engine.disableAnimations(e,n)}}])}(),KY=function(t){function i(e,n,r,a){var o;return h(this,i),(o=If(this,i,[n,r,a])).factory=e,o.namespaceId=n,o}return k(i,t),f(i,[{key:"setProperty",value:function(n,r,a){"@"==r.charAt(0)?"."==r.charAt(1)&&r==tx?this.disableAnimations(n,a=void 0===a||!!a):this.engine.process(this.namespaceId,n,r.substr(1),a):this.delegate.setProperty(n,r,a)}},{key:"listen",value:function(n,r,a){var o=this;if("@"==r.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n),l=r.substr(1),u="";if("@"!=l.charAt(0)){var c=function(t){var i=t.indexOf(".");return[t.substring(0,i),t.substr(i+1)]}(l),d=Be(c,2);l=d[0],u=d[1]}return this.engine.listen(this.namespaceId,s,l,u,function(v){o.factory.scheduleListenerCallback(v._data||-1,a,v)})}return this.delegate.listen(n,r,a)}}])}(nx),JY=function(){var t=function(i){function e(n,r,a){return h(this,e),If(this,e,[n.body,r,a])}return k(e,i),f(e,[{key:"ngOnDestroy",value:function(){this.flush()}}])}(xf);return t.\u0275fac=function(e){return new(e||t)(x(oe),x(d_),x(C_))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),at=new V("AnimationModuleType"),ix=[{provide:tA,useClass:WY},{provide:C_,useFactory:function(){return new rY}},{provide:xf,useClass:JY},{provide:Ja,useFactory:function(t,i,e){return new QY(t,i,e)},deps:[$d,xf,ue]}],rx=[{provide:d_,useFactory:function(){return"function"==typeof ZA()?new jY:new $A}},{provide:at,useValue:"BrowserAnimations"}].concat(ix),ax=[{provide:d_,useClass:pA},{provide:at,useValue:"NoopAnimations"}].concat(ix),n9=function(){var t=function(){function i(){h(this,i)}return f(i,null,[{key:"withConfig",value:function(n){return{ngModule:i,providers:n.disableAnimations?ax:rx}}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:rx,imports:[yv]}),t}();function vr(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function a9(t,i){if(1&t&&H(0,"mat-pseudo-checkbox",4),2&t){var e=O();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function o9(t,i){if(1&t&&(p(0,"span",5),w(1),g()),2&t){var e=O();y(1),gn("(",e.group.label,")")}}var s9=["*"],x_=function(){var t=f(function i(){h(this,i)});return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),T_=function(){var t=f(function i(){h(this,i)});return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),ox=new sa("12.2.13"),u9=new V("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),he=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._hasDoneGlobalChecks=!1,this._document=r,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)},[{key:"_checkIsEnabled",value:function(n){return!(!Im()||Yv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.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(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&ox.full!==eA.full&&console.warn("The Angular Material version ("+ox.full+") does not match the Angular CDK version ("+eA.full+").\nPlease ensure the versions of these two packages exactly match.")}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Z0),x(u9,8),x(oe))},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[fo],fo]}),t}();function yn(t){return function(i){function e(){var n;h(this,e);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=vr(this,e,[].concat(a)))._disabled=!1,n}return k(e,i),f(e,[{key:"disabled",get:function(){return this._disabled},set:function(r){this._disabled=W(r)}}])}(t)}function Xn(t,i){return function(e){function n(){var r;h(this,n);for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];return(r=vr(this,n,[].concat(o))).defaultColor=i,r.color=i,r}return k(n,e),f(n,[{key:"color",get:function(){return this._color},set:function(a){var o=a||this.defaultColor;o!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),o&&this._elementRef.nativeElement.classList.add("mat-".concat(o)),this._color=o)}}])}(t)}function Fn(t){return function(i){function e(){var n;h(this,e);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=vr(this,e,[].concat(a)))._disableRipple=!1,n}return k(e,i),f(e,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(r){this._disableRipple=W(r)}}])}(t)}function Vr(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){function n(){var r;h(this,n);for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];return(r=vr(this,n,[].concat(o)))._tabIndex=i,r.defaultTabIndex=i,r}return k(n,e),f(n,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(a){this._tabIndex=null!=a?qe(a):this.defaultTabIndex}}])}(t)}function Of(t){return function(i){function e(){var n;h(this,e);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=vr(this,e,[].concat(a))).stateChanges=new $,n.errorState=!1,n}return k(e,i),f(e,[{key:"updateErrorState",value:function(){var r=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==r&&(this.errorState=l,this.stateChanges.next())}}])}(t)}var bo,c9=new V("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Jo(Ar)}}),Vt=function(){return f(function t(){h(this,t),this._localeChanges=new $,this.localeChanges=this._localeChanges},[{key:"getValidDateOrNull",value:function(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,n){return this.getYear(e)-this.getYear(n)||this.getMonth(e)-this.getMonth(n)||this.getDate(e)-this.getDate(n)}},{key:"sameDate",value:function(e,n){if(e&&n){var r=this.isValid(e),a=this.isValid(n);return r&&a?!this.compareDate(e,n):r==a}return e==n}},{key:"clampDate",value:function(e,n,r){return n&&this.compareDate(e,n)<0?n:r&&this.compareDate(e,r)>0?r:e}}])}(),_r=new V("mat-date-formats");try{bo="undefined"!=typeof Intl}catch(t){bo=!1}var f9={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},p9=Ff(31,function(i){return String(i+1)}),g9={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},m9=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ff(t,i){for(var e=Array(t),n=0;n<t;n++)e[n]=i(n);return e}var v9=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=vr(this,e)).useUtcForDisplay=!0,J(M(e.prototype),"setLocale",a).call(a,n),a.useUtcForDisplay=!r.TRIDENT,a._clampDate=r.TRIDENT||r.EDGE,a}return k(e,i),f(e,[{key:"getYear",value:function(r){return r.getFullYear()}},{key:"getMonth",value:function(r){return r.getMonth()}},{key:"getDate",value:function(r){return r.getDate()}},{key:"getDayOfWeek",value:function(r){return r.getDay()}},{key:"getMonthNames",value:function(r){var a=this;if(bo){var o=new Intl.DateTimeFormat(this.locale,{month:r,timeZone:"utc"});return Ff(12,function(s){return a._stripDirectionalityCharacters(a._format(o,new Date(2017,s,1)))})}return f9[r]}},{key:"getDateNames",value:function(){var r=this;if(bo){var a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ff(31,function(o){return r._stripDirectionalityCharacters(r._format(a,new Date(2017,0,o+1)))})}return p9}},{key:"getDayOfWeekNames",value:function(r){var a=this;if(bo){var o=new Intl.DateTimeFormat(this.locale,{weekday:r,timeZone:"utc"});return Ff(7,function(s){return a._stripDirectionalityCharacters(a._format(o,new Date(2017,0,s+1)))})}return g9[r]}},{key:"getYearName",value:function(r){if(bo){var a=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(a,r))}return String(this.getYear(r))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(r){return this.getDate(this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+1,0))}},{key:"clone",value:function(r){return new Date(r.getTime())}},{key:"createDate",value:function(r,a,o){var s=this._createDateWithOverflow(r,a,o);return s.getMonth(),s}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(r){return"number"==typeof r?new Date(r):r?new Date(Date.parse(r)):null}},{key:"format",value:function(r,a){if(!this.isValid(r))throw Error("NativeDateAdapter: Cannot format invalid date.");if(bo){this._clampDate&&(r.getFullYear()<1||r.getFullYear()>9999)&&(r=this.clone(r)).setFullYear(Math.max(1,Math.min(9999,r.getFullYear()))),a=Object.assign(Object.assign({},a),{timeZone:"utc"});var o=new Intl.DateTimeFormat(this.locale,a);return this._stripDirectionalityCharacters(this._format(o,r))}return this._stripDirectionalityCharacters(r.toDateString())}},{key:"addCalendarYears",value:function(r,a){return this.addCalendarMonths(r,12*a)}},{key:"addCalendarMonths",value:function(r,a){var o=this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+a,this.getDate(r));return this.getMonth(o)!=((this.getMonth(r)+a)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}},{key:"addCalendarDays",value:function(r,a){return this._createDateWithOverflow(this.getYear(r),this.getMonth(r),this.getDate(r)+a)}},{key:"toIso8601",value:function(r){return[r.getUTCFullYear(),this._2digit(r.getUTCMonth()+1),this._2digit(r.getUTCDate())].join("-")}},{key:"deserialize",value:function(r){if("string"==typeof r){if(!r)return null;if(m9.test(r)){var a=new Date(r);if(this.isValid(a))return a}}return J(M(e.prototype),"deserialize",this).call(this,r)}},{key:"isDateInstance",value:function(r){return r instanceof Date}},{key:"isValid",value:function(r){return!isNaN(r.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(r,a,o){var s=new Date;return s.setFullYear(r,a,o),s.setHours(0,0,0,0),s}},{key:"_2digit",value:function(r){return("00"+r).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(r){return r.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(r,a){var o=new Date;return o.setUTCFullYear(a.getFullYear(),a.getMonth(),a.getDate()),o.setUTCHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),r.format(o)}}])}(Vt);return t.\u0275fac=function(e){return new(e||t)(x(c9,8),x(Ie))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),y9=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[{provide:Vt,useClass:v9}],imports:[[Ns]]}),t}(),b9={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Pf=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[{provide:_r,useValue:b9}],imports:[[y9]]}),t}(),Ki=function(){var t=function(){return f(function i(){h(this,i)},[{key:"isErrorState",value:function(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Nf=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he],he]}),t}(),C9=function(){return f(function t(i,e,n){h(this,t),this._renderer=i,this.element=e,this.config=n,this.state=3},[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}])}(),lx={enterDuration:225,exitDuration:150},O_=ma({passive:!0}),ux=["mousedown","touchstart"],cx=["mouseup","mouseleave","touchend","touchcancel"],F_=function(){return f(function t(i,e,n,r){h(this,t),this._target=i,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Pr(n))},[{key:"fadeInRipple",value:function(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},lx),a.animation);a.centered&&(e=o.left+o.width/2,n=o.top+o.height/2);var l=a.radius||M9(e,n,o),u=e-o.left,c=n-o.top,d=s.enterDuration,v=document.createElement("div");v.classList.add("mat-ripple-element"),v.style.left="".concat(u-l,"px"),v.style.top="".concat(c-l,"px"),v.style.height="".concat(2*l,"px"),v.style.width="".concat(2*l,"px"),null!=a.color&&(v.style.backgroundColor=a.color),v.style.transitionDuration="".concat(d,"ms"),this._containerElement.appendChild(v),w9(v),v.style.transform="scale(1)";var _=new C9(this,v,a);return _.state=0,this._activeRipples.add(_),a.persistent||(this._mostRecentTransientRipple=_),this._runTimeoutOutsideZone(function(){var b=_===r._mostRecentTransientRipple;_.state=1,!a.persistent&&(!b||!r._isPointerDown)&&_.fadeOut()},d),_}},{key:"fadeOutRipple",value:function(e){var n=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),n){var r=e.element,a=Object.assign(Object.assign({},lx),e.config.animation);r.style.transitionDuration="".concat(a.exitDuration,"ms"),r.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,r.parentNode.removeChild(r)},a.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var n=Pr(e);!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,this._registerEvents(ux))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(cx),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var n=Qv(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled&&!Kv(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var n=e.changedTouches,r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,n)})}},{key:"_registerEvents",value:function(e){var n=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(r){n._triggerElement.addEventListener(r,n,O_)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(ux.forEach(function(n){e._triggerElement.removeEventListener(n,e,O_)}),this._pointerUpEventsRegistered&&cx.forEach(function(n){e._triggerElement.removeEventListener(n,e,O_)}))}}])}();function w9(t){window.getComputedStyle(t).getPropertyValue("opacity")}function M9(t,i,e){var n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+r*r)}var Lf=new V("mat-ripple-global-options"),bn=function(){var t=function(){return f(function i(e,n,r,a,o){h(this,i),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new F_(this,n,e,r)},[{key:"disabled",get:function(){return this._disabled},set:function(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,r,Object.assign(Object.assign({},this.rippleConfig),a)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),n))}}])}();return t.\u0275fac=function(e){return new(e||t)(m(P),m(ue),m(Ie),m(Lf,8),m(at,8))},t.\u0275dir=E({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){2&e&&re("mat-ripple-unbounded",n.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),vi=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he,Ns],he]}),t}(),dx=function(){var t=f(function i(e){h(this,i),this._animationMode=e,this.state="unchecked",this.disabled=!1});return t.\u0275fac=function(e){return new(e||t)(m(at,8))},t.\u0275cmp=ee({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,n){2&e&&re("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t}(),P_=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he]]}),t}(),Bf=new V("MAT_OPTION_PARENT_COMPONENT"),S9=yn(function(){return f(function t(){h(this,t)})}()),D9=0,fx=function(){var t=function(i){function e(n){var r,a;return h(this,e),(r=vr(this,e))._labelId="mat-optgroup-label-".concat(D9++),r._inert=null!==(a=null==n?void 0:n.inertGroups)&&void 0!==a&&a,r}return k(e,i),f(e)}(S9);return t.\u0275fac=function(e){return new(e||t)(m(Bf,8))},t.\u0275dir=E({type:t,inputs:{label:"label"},features:[R]}),t}(),Vf=new V("MatOptgroup"),E9=0,hx=f(function t(i){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(this,t),this.source=i,this.isUserInput=e}),A9=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(E9++),this.onSelectionChange=new j,this._stateChanges=new $},[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=W(n)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(n,r){var a=this._getHostElement();"function"==typeof a.focus&&a.focus(r)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(n){(13===n.keyCode||32===n.keyCode)&&!Ft(n)&&(this._selectViaInteraction(),n.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new hx(this,n))}}])}();return t.\u0275fac=function(e){return new(e||t)(m(P),m(ve),m(void 0),m(fx))},t.\u0275dir=E({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t}(),Hf=function(){var t=function(i){function e(n,r,a,o){return h(this,e),vr(this,e,[n,r,a,o])}return k(e,i),f(e)}(A9);return t.\u0275fac=function(e){return new(e||t)(m(P),m(ve),m(Bf,8),m(Vf,8))},t.\u0275cmp=ee({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,n){1&e&&q("click",function(){return n._selectViaInteraction()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(an("id",n.id),Z("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),re("mat-selected",n.selected)("mat-option-multiple",n.multiple)("mat-active",n.active)("mat-option-disabled",n.disabled))},exportAs:["matOption"],features:[R],ngContentSelectors:s9,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,n){1&e&&(Ce(),F(0,a9,1,2,"mat-pseudo-checkbox",0),p(1,"span",1),se(2),g(),F(3,o9,2,1,"span",2),H(4,"div",3)),2&e&&(S("ngIf",n.multiple),y(3),S("ngIf",n.group&&n.group._inert),y(1),S("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},directives:[Et,bn,dx],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}();function N_(t,i,e){if(e.length){for(var n=i.toArray(),r=e.toArray(),a=0,o=0;o<t+1;o++)n[o].group&&n[o].group===r[a]&&a++;return a}return 0}var Gf=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[vi,ht,he,P_]]}),t}();function Jn(t,i,e,n){return sl(e)&&(n=e,e=void 0),n?Jn(t,i,e).pipe(dt(function(r){return Oo(r)?n.apply(void 0,we(r)):n(r)})):new Ze(function(r){gx(t,i,function(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,e)})}function gx(t,i,e,n,r){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var o=t;t.addEventListener(i,e,r),a=function(){return o.removeEventListener(i,e,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(i,e),a=function(){return s.off(i,e)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var l=t;t.addListener(i,e),a=function(){return l.removeListener(i,e)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,c=t.length;u<c;u++)gx(t[u],i,e,n,r)}n.add(a)}var O9=["underline"],F9=["connectionContainer"],P9=["inputContainer"],N9=["label"];function L9(t,i){1&t&&(Oi(0),p(1,"div",14),H(2,"div",15),H(3,"div",16),H(4,"div",17),g(),p(5,"div",18),H(6,"div",15),H(7,"div",16),H(8,"div",17),g(),Fi())}function B9(t,i){1&t&&(p(0,"div",19),se(1,1),g())}function V9(t,i){if(1&t&&(Oi(0),se(1,2),p(2,"span"),w(3),g(),Fi()),2&t){var e=O(2);y(3),Ue(e._control.placeholder)}}function H9(t,i){1&t&&se(0,3,["*ngSwitchCase","true"])}function G9(t,i){1&t&&(p(0,"span",23),w(1," *"),g())}function U9(t,i){if(1&t){var e=ut();p(0,"label",20,21),q("cdkObserveContent",function(){return Ne(e),O().updateOutlineGap()}),F(2,V9,4,1,"ng-container",12),F(3,H9,1,0,"ng-content",12),F(4,G9,2,0,"span",22),g()}if(2&t){var n=O();re("mat-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-form-field-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-accent","accent"==n.color)("mat-warn","warn"==n.color),S("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),Z("for",n._control.id)("aria-owns",n._control.id),y(2),S("ngSwitchCase",!1),y(1),S("ngSwitchCase",!0),y(1),S("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function j9(t,i){1&t&&(p(0,"div",24),se(1,4),g())}function z9(t,i){if(1&t&&(p(0,"div",25,26),H(2,"span",27),g()),2&t){var e=O();y(2),re("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function W9(t,i){1&t&&(p(0,"div"),se(1,5),g()),2&t&&S("@transitionMessages",O()._subscriptAnimationState)}function Y9(t,i){if(1&t&&(p(0,"div",31),w(1),g()),2&t){var e=O(2);S("id",e._hintLabelId),y(1),Ue(e.hintLabel)}}function q9(t,i){if(1&t&&(p(0,"div",28),F(1,Y9,2,2,"div",29),se(2,6),H(3,"div",30),se(4,7),g()),2&t){var e=O();S("@transitionMessages",e._subscriptAnimationState),y(1),S("ngIf",e.hintLabel)}}var Q9=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],K9=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],mx=new V("MatError"),X9={transitionMessages:Pt("transitionMessages",[Re("enter",ce({opacity:1,transform:"translateY(0%)"})),Ge("void => enter",[ce({opacity:0,transform:"translateY(-5px)"}),ze("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},js=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=E({type:t}),t}(),vx=new V("MatHint"),L_=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=E({type:t,selectors:[["mat-label"]]}),t}(),Z9=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=E({type:t,selectors:[["mat-placeholder"]]}),t}(),_x=new V("MatPrefix"),yx=new V("MatSuffix"),bx=0,tq=Xn(function(){return f(function t(i){h(this,t),this._elementRef=i})}(),"primary"),nq=new V("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zs=new V("MatFormField"),kx=function(){var t=function(i){function e(n,r,a,o,s,l,u,c){var d;return h(this,e),d=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,e,[n]),d._changeDetectorRef=r,d._dir=o,d._defaults=s,d._platform=l,d._ngZone=u,d._outlineGapCalculationNeededImmediately=!1,d._outlineGapCalculationNeededOnStable=!1,d._destroyed=new $,d._showAlwaysAnimate=!1,d._subscriptAnimationState="",d._hintLabel="",d._hintLabelId="mat-hint-".concat(bx++),d._labelId="mat-form-field-label-".concat(bx++),d.floatLabel=d._getDefaultFloatLabelState(),d._animationsEnabled="NoopAnimations"!==c,d.appearance=s&&s.appearance?s.appearance:"legacy",d._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker,d}return k(e,i),f(e,[{key:"appearance",get:function(){return this._appearance},set:function(r){var a=this._appearance;this._appearance=r||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&a!==r&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(r){this._hideRequiredMarker=W(r)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(r){this._hintLabel=r,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(r){r!==this._floatLabel&&(this._floatLabel=r||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(r){this._explicitFormFieldControl=r}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var r=this;this._validateControlChild();var a=this._control;a.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(a.controlType)),a.stateChanges.pipe(st(null)).subscribe(function(){r._validatePlaceholders(),r._syncDescribedByIds(),r._changeDetectorRef.markForCheck()}),a.ngControl&&a.ngControl.valueChanges&&a.ngControl.valueChanges.pipe(fe(this._destroyed)).subscribe(function(){return r._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){r._ngZone.onStable.pipe(fe(r._destroyed)).subscribe(function(){r._outlineGapCalculationNeededOnStable&&r.updateOutlineGap()})}),$e(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){r._outlineGapCalculationNeededOnStable=!0,r._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(st(null)).subscribe(function(){r._processHints(),r._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(st(null)).subscribe(function(){r._syncDescribedByIds(),r._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fe(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?r._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return r.updateOutlineGap()})}):r.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(r){var a=this._control?this._control.ngControl:null;return a&&a[r]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var r=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Jn(this._label.nativeElement,"transitionend").pipe(gt(1)).subscribe(function(){r._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var r=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&r.push.apply(r,we(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var a=this._hintChildren?this._hintChildren.find(function(s){return"start"===s.align}):null,o=this._hintChildren?this._hintChildren.find(function(s){return"end"===s.align}):null;a?r.push(a.id):this._hintLabel&&r.push(this._hintLabelId),o&&r.push(o.id)}else this._errorChildren&&r.push.apply(r,we(this._errorChildren.map(function(s){return s.id})));this._control.setDescribedByIds(r)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var r=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&r&&r.children.length&&r.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var a=0,o=0,s=this._connectionContainerRef.nativeElement,l=s.querySelectorAll(".mat-form-field-outline-start"),u=s.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var c=s.getBoundingClientRect();if(0===c.width&&0===c.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var d=this._getStartEnd(c),v=r.children,_=this._getStartEnd(v[0].getBoundingClientRect()),b=0,C=0;C<v.length;C++)b+=v[C].offsetWidth;a=Math.abs(_-d)-5,o=b>0?.75*b+10:0}for(var D=0;D<l.length;D++)l[D].style.width="".concat(a,"px");for(var A=0;A<u.length;A++)u[A].style.width="".concat(o,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}}},{key:"_getStartEnd",value:function(r){return this._dir&&"rtl"===this._dir.value?r.right:r.left}},{key:"_isAttachedToDOM",value:function(){var r=this._elementRef.nativeElement;if(r.getRootNode){var a=r.getRootNode();return a&&a!==r}return document.documentElement.contains(r)}}])}(tq);return t.\u0275fac=function(e){return new(e||t)(m(P),m(ve),m(P),m(Ke,8),m(nq,8),m(Ie),m(ue),m(at,8))},t.\u0275cmp=ee({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,n,r){var a;1&e&&(pe(r,js,5),pe(r,js,7),pe(r,L_,5),pe(r,L_,7),pe(r,Z9,5),pe(r,mx,5),pe(r,vx,5),pe(r,_x,5),pe(r,yx,5)),2&e&&(L(a=B())&&(n._controlNonStatic=a.first),L(a=B())&&(n._controlStatic=a.first),L(a=B())&&(n._labelChildNonStatic=a.first),L(a=B())&&(n._labelChildStatic=a.first),L(a=B())&&(n._placeholderChild=a.first),L(a=B())&&(n._errorChildren=a),L(a=B())&&(n._hintChildren=a),L(a=B())&&(n._prefixChildren=a),L(a=B())&&(n._suffixChildren=a))},viewQuery:function(e,n){var r;1&e&&(me(O9,5),me(F9,7),me(P9,5),me(N9,5)),2&e&&(L(r=B())&&(n.underlineRef=r.first),L(r=B())&&(n._connectionContainerRef=r.first),L(r=B())&&(n._inputContainerRef=r.first),L(r=B())&&(n._label=r.first))},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,n){2&e&&re("mat-form-field-appearance-standard","standard"==n.appearance)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-appearance-legacy","legacy"==n.appearance)("mat-form-field-invalid",n._control.errorState)("mat-form-field-can-float",n._canLabelFloat())("mat-form-field-should-float",n._shouldLabelFloat())("mat-form-field-has-label",n._hasFloatingLabel())("mat-form-field-hide-placeholder",n._hideControlPlaceholder())("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-focused",n._control.focused)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))("_mat-animation-noopable",!n._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[K([{provide:zs,useExisting:t}]),R],ngContentSelectors:K9,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,n){1&e&&(Ce(Q9),p(0,"div",0),p(1,"div",1,2),q("click",function(a){return n._control.onContainerClick&&n._control.onContainerClick(a)}),F(3,L9,9,0,"ng-container",3),F(4,B9,2,0,"div",4),p(5,"div",5,6),se(7),p(8,"span",7),F(9,U9,5,16,"label",8),g(),g(),F(10,j9,2,0,"div",9),g(),F(11,z9,3,4,"div",10),p(12,"div",11),F(13,W9,2,1,"div",12),F(14,q9,5,2,"div",13),g(),g()),2&e&&(y(3),S("ngIf","outline"==n.appearance),y(1),S("ngIf",n._prefixChildren.length),y(5),S("ngIf",n._hasFloatingLabel()),y(1),S("ngIf",n._suffixChildren.length),y(1),S("ngIf","outline"!=n.appearance),y(1),S("ngSwitch",n._getDisplayedMessages()),y(1),S("ngSwitchCase","error"),y(1),S("ngSwitchCase","hint"))},directives:[Et,hr,da,Du],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}.cdk-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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .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:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-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-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.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}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.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 600ms cubic-bezier(0.25, 0.8, 0.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}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.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-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-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 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}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:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.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;pointer-events:none}[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}\n',".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}.cdk-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}.cdk-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}.cdk-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}\n",".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:-0.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-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{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-start,.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{border-width:2px}.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 100ms cubic-bezier(0.25, 0.8, 0.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}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.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:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.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{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-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}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-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 600ms cubic-bezier(0.25, 0.8, 0.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}\n"],encapsulation:2,data:{animation:[X9.transitionMessages]},changeDetection:0}),t}(),Pu=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he,Eu],he]}),t}();function B_(t){return new Ze(function(i){var e;try{e=t()}catch(r){return void i.error(r)}return(e?No(e):jv()).subscribe(i)})}function gq(t){return function(e){return e.lift(new mq(t))}}var mq=function(){return f(function t(i){h(this,t),this.durationSelector=i},[{key:"call",value:function(e,n){return n.subscribe(new vq(e,this.durationSelector))}}])}(),vq=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.durationSelector=n,r.hasValue=!1,r}return k(i,t),f(i,[{key:"_next",value:function(n){if(this.value=n,this.hasValue=!0,!this.throttled){var r;try{r=(0,this.durationSelector)(n)}catch(s){return this.destination.error(s)}var o=dl(r,new ul(this));!o||o.closed?this.clearThrottle():this.add(this.throttled=o)}}},{key:"clearThrottle",value:function(){var n=this.value,r=this.hasValue,a=this.throttled;a&&(this.remove(a),this.throttled=void 0,a.unsubscribe()),r&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}])}(cl);function Sx(t){return!Oo(t)&&t-parseFloat(t)+1>=0}function Dx(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,n=-1;return Sx(i)?n=Number(i)<1?1:Number(i):Po(i)&&(e=i),Po(e)||(e=rf),new Ze(function(r){var a=Sx(t)?t:+t-e.now();return e.schedule(_q,a,{index:0,period:n,subscriber:r})})}function _q(t){var i=t.index,e=t.period,n=t.subscriber;if(n.next(i),!n.closed){if(-1===e)return n.complete();t.index=i+1,this.schedule(t,e)}}function jf(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rf;return gq(function(){return Dx(t,i)})}function Hr(t,i){return"function"==typeof i?function(e){return e.pipe(Hr(function(n,r){return No(t(n,r)).pipe(dt(function(a,o){return i(n,a,r,o)}))}))}:function(e){return e.lift(new Mq(t))}}var Mq=function(){return f(function t(i){h(this,t),this.project=i},[{key:"call",value:function(e,n){return n.subscribe(new Sq(e,this.project))}}])}(),Sq=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.project=n,r.index=0,r}return k(i,t),f(i,[{key:"_next",value:function(n){var r,a=this.index++;try{r=this.project(n,a)}catch(o){return void this.destination.error(o)}this._innerSub(r)}},{key:"_innerSub",value:function(n){var r=this.innerSubscription;r&&r.unsubscribe();var a=new ul(this),o=this.destination;o.add(a),this.innerSubscription=dl(n,a),this.innerSubscription!==a&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var n=this.innerSubscription;(!n||n.closed)&&J(M(i.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&J(M(i.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(n){this.destination.next(n)}}])}(cl);function Ex(t,i){return new Ze(i?function(e){return i.schedule(Rq,0,{error:t,subscriber:e})}:function(e){return e.error(t)})}function Rq(t){t.subscriber.error(t.error)}var Vu=function(){return f(function t(){var i=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];h(this,t),this._multiple=e,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new $,n&&n.length&&(e?n.forEach(function(a){return i._markSelected(a)}):this._markSelected(n[0]),this._selectedToEmit.length=0)},[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];this._verifyValueAssignment(r),r.forEach(function(o){return e._markSelected(o)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var e=this,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];this._verifyValueAssignment(r),r.forEach(function(o){return e._unmarkSelected(o)}),this._emitChangeEvent()}},{key:"toggle",value:function(e){this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(e){return this._selection.has(e)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach(function(n){return e._unmarkSelected(n)})}},{key:"_verifyValueAssignment",value:function(e){}}])}(),ba=function(){var t=function(){return f(function i(e,n,r){h(this,i),this._ngZone=e,this._platform=n,this._scrolled=new $,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r},[{key:"register",value:function(n){var r=this;this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(function(){return r._scrolled.next(n)}))}},{key:"deregister",value:function(n){var r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}},{key:"scrolled",value:function(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new Ze(function(a){n._globalSubscription||n._addGlobalListener();var o=r>0?n._scrolled.pipe(jf(r)).subscribe(a):n._scrolled.subscribe(a);return n._scrolledCount++,function(){o.unsubscribe(),n._scrolledCount--,n._scrolledCount||n._removeGlobalListener()}}):pt()}},{key:"ngOnDestroy",value:function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(r,a){return n.deregister(a)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(n,r){var a=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(tt(function(o){return!o||a.indexOf(o)>-1}))}},{key:"getAncestorScrollContainers",value:function(n){var r=this,a=[];return this.scrollContainers.forEach(function(o,s){r._scrollableContainsElement(s,n)&&a.push(s)}),a}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(n,r){var a=Pr(r),o=n.getElementRef().nativeElement;do{if(a==o)return!0}while(a=a.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Jn(n._getWindow().document,"scroll").subscribe(function(){return n._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(ue),x(Ie),x(oe,8))},t.\u0275prov=U({factory:function(){return new t(x(ue),x(Ie),x(oe,8))},token:t,providedIn:"root"}),t}(),Vn=function(){var t=function(){return f(function i(e,n,r){var a=this;h(this,i),this._platform=e,this._change=new $,this._changeListener=function(o){a._change.next(o)},this._document=r,n.runOutsideAngular(function(){if(e.isBrowser){var o=a._getWindow();o.addEventListener("resize",a._changeListener),o.addEventListener("orientationchange",a._changeListener)}a.change().subscribe(function(){return a._viewportSize=null})})},[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}},{key:"getViewportRect",value:function(){var n=this.getViewportScrollPosition(),r=this.getViewportSize(),a=r.width,o=r.height;return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+a,height:o,width:a}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=this._document,r=this._getWindow(),a=n.documentElement,o=a.getBoundingClientRect();return{top:-o.top||n.body.scrollTop||r.scrollY||a.scrollTop||0,left:-o.left||n.body.scrollLeft||r.scrollX||a.scrollLeft||0}}},{key:"change",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return n>0?this._change.pipe(jf(n)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ie),x(ue),x(oe,8))},t.\u0275prov=U({factory:function(){return new t(x(Ie),x(ue),x(oe,8))},token:t,providedIn:"root"}),t}(),Gr=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),G_=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[fo,Ns,Gr],fo,Gr]}),t}();function Ca(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var U_=function(){return f(function t(){h(this,t)},[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}])}(),Ys=function(t){function i(e,n,r,a){var o;return h(this,i),(o=Ca(this,i)).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=a,o}return k(i,t),f(i)}(U_),$i=function(t){function i(e,n,r){var a;return h(this,i),(a=Ca(this,i)).templateRef=e,a.viewContainerRef=n,a.context=r,a}return k(i,t),f(i,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=r,J(M(i.prototype),"attach",this).call(this,n)}},{key:"detach",value:function(){return this.context=void 0,J(M(i.prototype),"detach",this).call(this)}}])}(U_),eQ=function(t){function i(e){var n;return h(this,i),(n=Ca(this,i)).element=e instanceof P?e.nativeElement:e,n}return k(i,t),f(i)}(U_),Hu=function(){return f(function t(){h(this,t),this._isDisposed=!1,this.attachDomPortal=null},[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof Ys?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof $i?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof eQ?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}])}(),Ix=function(t){function i(e,n,r,a,o){var s;return h(this,i),(s=Ca(this,i)).outletElement=e,s._componentFactoryResolver=n,s._appRef=r,s._defaultInjector=a,s.attachDomPortal=function(l){var u=l.element,c=s._document.createComment("dom-portal");u.parentNode.insertBefore(c,u),s.outletElement.appendChild(u),s._attachedPortal=l,J(M(i.prototype),"setDisposeFn",s).call(s,function(){c.parentNode&&c.parentNode.replaceChild(u,c)})},s._document=o,s}return k(i,t),f(i,[{key:"attachComponentPortal",value:function(n){var s,r=this,o=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);return n.viewContainerRef?(s=n.viewContainerRef.createComponent(o,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(function(){return s.destroy()})):(s=o.create(n.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(function(){r._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=n,s}},{key:"attachTemplatePortal",value:function(n){var r=this,a=n.viewContainerRef,o=a.createEmbeddedView(n.templateRef,n.context);return o.rootNodes.forEach(function(s){return r.outletElement.appendChild(s)}),o.detectChanges(),this.setDisposeFn(function(){var s=a.indexOf(o);-1!==s&&a.remove(s)}),this._attachedPortal=n,o}},{key:"dispose",value:function(){J(M(i.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(n){return n.hostView.rootNodes[0]}}])}(Hu),Pn=function(){var t=function(i){function e(n,r,a){var o;return h(this,e),(o=Ca(this,e))._componentFactoryResolver=n,o._viewContainerRef=r,o._isInitialized=!1,o.attached=new j,o.attachDomPortal=function(s){var l=s.element,u=o._document.createComment("dom-portal");s.setAttachedHost(o),l.parentNode.insertBefore(u,l),o._getRootNode().appendChild(l),o._attachedPortal=s,J(M(e.prototype),"setDisposeFn",o).call(o,function(){u.parentNode&&u.parentNode.replaceChild(l,u)})},o._document=a,o}return k(e,i),f(e,[{key:"portal",get:function(){return this._attachedPortal},set:function(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&J(M(e.prototype),"detach",this).call(this),r&&J(M(e.prototype),"attach",this).call(this,r),this._attachedPortal=r)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){J(M(e.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(r){r.setAttachedHost(this);var a=null!=r.viewContainerRef?r.viewContainerRef:this._viewContainerRef,s=(r.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(r.component),l=a.createComponent(s,a.length,r.injector||a.injector);return a!==this._viewContainerRef&&this._getRootNode().appendChild(l.hostView.rootNodes[0]),J(M(e.prototype),"setDisposeFn",this).call(this,function(){return l.destroy()}),this._attachedPortal=r,this._attachedRef=l,this.attached.emit(l),l}},{key:"attachTemplatePortal",value:function(r){var a=this;r.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context);return J(M(e.prototype),"setDisposeFn",this).call(this,function(){return a._viewContainerRef.clear()}),this._attachedPortal=r,this._attachedRef=o,this.attached.emit(o),o}},{key:"_getRootNode",value:function(){var r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}}])}(Hu);return t.\u0275fac=function(e){return new(e||t)(m(Er),m(Xe),m(oe))},t.\u0275dir=E({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[R]}),t}(),ka=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),iQ=function(){return f(function t(i,e){h(this,t),this.predicate=i,this.inclusive=e},[{key:"call",value:function(e,n){return n.subscribe(new rQ(e,this.predicate,this.inclusive))}}])}(),rQ=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.predicate=n,a.inclusive=r,a.index=0,a}return k(i,t),f(i,[{key:"_next",value:function(n){var a,r=this.destination;try{a=this.predicate(n,this.index++)}catch(o){return void r.error(o)}this.nextOrComplete(n,a)}},{key:"nextOrComplete",value:function(n,r){var a=this.destination;Boolean(r)?a.next(n):(this.inclusive&&a.next(n),a.complete())}}])}(kt);function Rx(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Ox=R0(),aQ=function(){return f(function t(i,e){h(this,t),this._viewportRuler=i,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e},[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=qt(-this._previousScrollPosition.left),e.style.top=qt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,r=e.style,a=this._document.body.style,o=r.scrollBehavior||"",s=a.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Ox&&(r.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ox&&(r.scrollBehavior=o,a.scrollBehavior=s)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}])}(),oQ=function(){return f(function t(i,e,n,r){var a=this;h(this,t),this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run(function(){return a._overlayRef.detach()})}},[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(function(){var r=e._viewportRuler.getViewportScrollPosition().top;Math.abs(r-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),Fx=function(){return f(function t(){h(this,t)},[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}])}();function z_(t,i){return i.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function Px(t,i){return i.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var sQ=function(){return f(function t(i,e,n,r){h(this,t),this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null},[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var r=e._overlayRef.overlayElement.getBoundingClientRect(),a=e._viewportRuler.getViewportSize(),o=a.width,s=a.height;z_(r,[{width:o,height:s,bottom:s,right:o,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),lQ=function(){var t=f(function i(e,n,r,a){var o=this;h(this,i),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=function(){return new Fx},this.close=function(s){return new oQ(o._scrollDispatcher,o._ngZone,o._viewportRuler,s)},this.block=function(){return new aQ(o._viewportRuler,o._document)},this.reposition=function(s){return new sQ(o._scrollDispatcher,o._viewportRuler,o._ngZone,s)},this._document=a});return t.\u0275fac=function(e){return new(e||t)(x(ba),x(Vn),x(ue),x(oe))},t.\u0275prov=U({factory:function(){return new t(x(ba),x(Vn),x(ue),x(oe))},token:t,providedIn:"root"}),t}(),qs=f(function t(i){if(h(this,t),this.scrollStrategy=new Fx,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var n=0,r=Object.keys(i);n<r.length;n++){var a=r[n];void 0!==i[a]&&(this[a]=i[a])}}),uQ=f(function t(i,e,n,r,a){h(this,t),this.offsetX=n,this.offsetY=r,this.panelClass=a,this.originX=i.originX,this.originY=i.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}),cQ=f(function t(i,e){h(this,t),this.connectionPair=i,this.scrollableViewProperties=e}),Nx=function(){var t=function(){return f(function i(e){h(this,i),this._attachedOverlays=[],this._document=e},[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(n){this.remove(n),this._attachedOverlays.push(n)}},{key:"remove",value:function(n){var r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}])}();return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({factory:function(){return new t(x(oe))},token:t,providedIn:"root"}),t}(),dQ=function(){var t=function(i){function e(n){var r;return h(this,e),(r=Rx(this,e,[n]))._keydownListener=function(a){for(var o=r._attachedOverlays,s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){o[s]._keydownEvents.next(a);break}},r}return k(e,i),f(e,[{key:"add",value:function(r){J(M(e.prototype),"add",this).call(this,r),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}])}(Nx);return t.\u0275fac=function(e){return new(e||t)(x(oe))},t.\u0275prov=U({factory:function(){return new t(x(oe))},token:t,providedIn:"root"}),t}(),fQ=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=Rx(this,e,[n]))._platform=r,a._cursorStyleIsSet=!1,a._pointerDownListener=function(o){a._pointerDownEventTarget=va(o)},a._clickListener=function(o){var s=va(o),l="click"===o.type&&a._pointerDownEventTarget?a._pointerDownEventTarget:s;a._pointerDownEventTarget=null;for(var u=a._attachedOverlays.slice(),c=u.length-1;c>-1;c--){var d=u[c];if(!(d._outsidePointerEvents.observers.length<1)&&d.hasAttached()){if(d.overlayElement.contains(s)||d.overlayElement.contains(l))break;d._outsidePointerEvents.next(o)}}},a}return k(e,i),f(e,[{key:"add",value:function(r){if(J(M(e.prototype),"add",this).call(this,r),!this._isAttached){var a=this._document.body;a.addEventListener("pointerdown",this._pointerDownListener,!0),a.addEventListener("click",this._clickListener,!0),a.addEventListener("auxclick",this._clickListener,!0),a.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=a.style.cursor,a.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var r=this._document.body;r.removeEventListener("pointerdown",this._pointerDownListener,!0),r.removeEventListener("click",this._clickListener,!0),r.removeEventListener("auxclick",this._clickListener,!0),r.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(r.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}])}(Nx);return t.\u0275fac=function(e){return new(e||t)(x(oe),x(Ie))},t.\u0275prov=U({factory:function(){return new t(x(oe),x(Ie))},token:t,providedIn:"root"}),t}(),Gu=function(){var t=function(){return f(function i(e,n){h(this,i),this._platform=n,this._document=e},[{key:"ngOnDestroy",value:function(){var n=this._containerElement;n&&n.parentNode&&n.parentNode.removeChild(n)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var n="cdk-overlay-container";if(this._platform.isBrowser||Yv())for(var r=this._document.querySelectorAll(".".concat(n,'[platform="server"], ')+".".concat(n,'[platform="test"]')),a=0;a<r.length;a++)r[a].parentNode.removeChild(r[a]);var o=this._document.createElement("div");o.classList.add(n),Yv()?o.setAttribute("platform","test"):this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._containerElement=o}}])}();return t.\u0275fac=function(e){return new(e||t)(x(oe),x(Ie))},t.\u0275prov=U({factory:function(){return new t(x(oe),x(Ie))},token:t,providedIn:"root"}),t}(),hQ=function(){return f(function t(i,e,n,r,a,o,s,l,u){var c=this;h(this,t),this._portalOutlet=i,this._host=e,this._pane=n,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=l,this._outsideClickDispatcher=u,this._backdropElement=null,this._backdropClick=new $,this._attachments=new $,this._detachments=new $,this._locationChanges=be.EMPTY,this._backdropClickHandler=function(d){return c._backdropClick.next(d)},this._keydownEvents=new $,this._outsidePointerEvents=new $,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy},[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(e){var n=this,r=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(gt(1)).subscribe(function(){n.hasAttached()&&n.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._locationChanges=this._location.subscribe(function(){return n.dispose()})),this._outsideClickDispatcher.add(this),r}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=qt(this._config.width),e.height=qt(this._config.height),e.minWidth=qt(this._config.minWidth),e.minHeight=qt(this._config.minHeight),e.maxWidth=qt(this._config.maxWidth),e.maxHeight=qt(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"":"none"}},{key:"_attachBackdrop",value:function(){var e=this,n="cdk-overlay-backdrop-showing";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",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e=this,n=this._backdropElement;if(n){var r,a=function o(){n&&(n.removeEventListener("click",e._backdropClickHandler),n.removeEventListener("transitionend",o),e._disposeBackdrop(n)),e._config.backdropClass&&e._toggleClasses(n,e._config.backdropClass,!1),clearTimeout(r)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){n.addEventListener("transitionend",a)}),n.style.pointerEvents="none",r=this._ngZone.runOutsideAngular(function(){return setTimeout(a,500)})}}},{key:"_toggleClasses",value:function(e,n,r){var a=e.classList;ef(n).forEach(function(o){o&&(r?a.add(o):a.remove(o))})}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular(function(){var n=e._ngZone.onStable.pipe(fe($e(e._attachments,e._detachments))).subscribe(function(){(!e._pane||!e._host||0===e._pane.children.length)&&(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),n.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}},{key:"_disposeBackdrop",value:function(e){e&&(e.parentNode&&e.parentNode.removeChild(e),this._backdropElement===e&&(this._backdropElement=null))}}])}(),Lx="cdk-overlay-connected-position-bounding-box",pQ=/([A-Za-z%]+)$/,W_=function(){return f(function t(i,e,n,r,a){h(this,t),this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a,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 $,this._resizeSubscription=be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(i)},[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var n=this;this._validatePositions(),e.hostElement.classList.add(Lx),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){n._isInitialRender=!0,n.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser){if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var o,l,e=this._originRect,n=this._overlayRect,r=this._viewportRect,a=[],s=ct(this._preferredPositions);try{for(s.s();!(l=s.n()).done;){var u=l.value,c=this._getOriginPoint(e,u),d=this._getOverlayPoint(c,n,u),v=this._getOverlayFit(d,n,r,u);if(v.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(u,c);this._canFitWithFlexibleDimensions(v,d,r)?a.push({position:u,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,u)}):(!o||o.overlayFit.visibleArea<v.visibleArea)&&(o={overlayFit:v,overlayPoint:d,originPoint:c,position:u,overlayRect:n})}}catch(N){s.e(N)}finally{s.f()}if(a.length){var D,_=null,b=-1,C=ct(a);try{for(C.s();!(D=C.n()).done;){var A=D.value,T=A.boundingBoxRect.width*A.boundingBoxRect.height*(A.position.weight||1);T>b&&(b=T,_=A)}}catch(N){C.e(N)}finally{C.f()}return this._isPushed=!1,void this._applyPosition(_.position,_.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&ko(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Lx),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],n=this._getOriginPoint(this._originRect,e);this._applyPosition(e,n)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,n){var r;if("center"==n.originX)r=e.left+e.width/2;else{var a=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;r="start"==n.originX?a:o}return{x:r,y:"center"==n.originY?e.top+e.height/2:"top"==n.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,n,r){var a;return a="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,{x:e.x+a,y:e.y+("center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height)}}},{key:"_getOverlayFit",value:function(e,n,r,a){var o=Vx(n),s=e.x,l=e.y,u=this._getOffset(a,"x"),c=this._getOffset(a,"y");u&&(s+=u),c&&(l+=c);var _=0-l,b=l+o.height-r.height,C=this._subtractOverflows(o.width,0-s,s+o.width-r.width),D=this._subtractOverflows(o.height,_,b),A=C*D;return{visibleArea:A,isCompletelyWithinViewport:o.width*o.height===A,fitsInViewportVertically:D===o.height,fitsInViewportHorizontally:C==o.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,n,r){if(this._hasFlexibleDimensions){var a=r.bottom-n.y,o=r.right-n.x,s=Bx(this._overlayRef.getConfig().minHeight),l=Bx(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=s&&s<=a)&&(e.fitsInViewportHorizontally||null!=l&&l<=o)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var d,v,a=Vx(n),o=this._viewportRect,s=Math.max(e.x+a.width-o.width,0),l=Math.max(e.y+a.height-o.height,0),u=Math.max(o.top-r.top-e.y,0),c=Math.max(o.left-r.left-e.x,0);return this._previousPushAmount={x:d=a.width<=o.width?c||-s:e.x<this._viewportMargin?o.left-r.left-e.x:0,y:v=a.height<=o.height?u||-l:e.y<this._viewportMargin?o.top-r.top-e.y:0},{x:e.x+d,y:e.y+v}}},{key:"_applyPosition",value:function(e,n){if(this._setTransformOrigin(e),this._setOverlayElementStyles(n,e),this._setBoundingBoxStyles(n,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var r=this._getScrollVisibility(),a=new cQ(e,r);this._positionChanges.next(a)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var r,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),a=e.overlayY;r="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var o=0;o<n.length;o++)n[o].style.transformOrigin="".concat(r," ").concat(a)}}},{key:"_calculateBoundingBoxRect",value:function(e,n){var o,s,l,_,b,C,r=this._viewportRect,a=this._isRtl();if("top"===n.overlayY)o=r.height-(s=e.y)+this._viewportMargin;else if("bottom"===n.overlayY)o=r.height-(l=r.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var u=Math.min(r.bottom-e.y+r.top,e.y),c=this._lastBoundingBoxSize.height;s=e.y-u,(o=2*u)>c&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-c/2)}if("end"===n.overlayX&&!a||"start"===n.overlayX&&a)C=r.width-e.x+this._viewportMargin,_=e.x-this._viewportMargin;else if("start"===n.overlayX&&!a||"end"===n.overlayX&&a)b=e.x,_=r.right-e.x;else{var D=Math.min(r.right-e.x+r.left,e.x),A=this._lastBoundingBoxSize.width;b=e.x-D,(_=2*D)>A&&!this._isInitialRender&&!this._growAfterOpen&&(b=e.x-A/2)}return{top:s,left:b,bottom:l,right:C,width:_,height:o}}},{key:"_setBoundingBoxStyles",value:function(e,n){var r=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));var a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;a.height=qt(r.height),a.top=qt(r.top),a.bottom=qt(r.bottom),a.width=qt(r.width),a.left=qt(r.left),a.right=qt(r.right),a.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",a.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(a.maxHeight=qt(o)),s&&(a.maxWidth=qt(s))}this._lastBoundingBoxSize=r,ko(this._boundingBox.style,a)}},{key:"_resetBoundingBoxStyles",value:function(){ko(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){ko(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,n){var r={},a=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(a){var l=this._viewportRuler.getViewportScrollPosition();ko(r,this._getExactOverlayY(n,e,l)),ko(r,this._getExactOverlayX(n,e,l))}else r.position="static";var u="",c=this._getOffset(n,"x"),d=this._getOffset(n,"y");c&&(u+="translateX(".concat(c,"px) ")),d&&(u+="translateY(".concat(d,"px)")),r.transform=u.trim(),s.maxHeight&&(a?r.maxHeight=qt(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(a?r.maxWidth=qt(s.maxWidth):o&&(r.maxWidth="")),ko(this._pane.style,r)}},{key:"_getExactOverlayY",value:function(e,n,r){var a={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));var s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=s,"bottom"===e.overlayY?a.bottom="".concat(this._document.documentElement.clientHeight-(o.y+this._overlayRect.height),"px"):a.top=qt(o.y),a}},{key:"_getExactOverlayX",value:function(e,n,r){var a={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?a.right="".concat(this._document.documentElement.clientWidth-(o.x+this._overlayRect.width),"px"):a.left=qt(o.x),a}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(function(a){return a.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Px(e,r),isOriginOutsideView:z_(e,r),isOverlayClipped:Px(n,r),isOverlayOutsideView:z_(n,r)}}},{key:"_subtractOverflows",value:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.reduce(function(o,s){return o-Math.max(s,0)},e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,n){return"x"===n?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(e){var n=this;this._pane&&ef(e).forEach(function(r){""!==r&&-1===n._appliedPanelClasses.indexOf(r)&&(n._appliedPanelClasses.push(r),n._pane.classList.add(r))})}},{key:"_clearPanelClasses",value:function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach(function(n){e._pane.classList.remove(n)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var n=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+n,height:r,width:n}}}])}();function ko(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function Bx(t){if("number"!=typeof t&&null!=t){var e=Be(t.split(pQ),2),r=e[1];return r&&"px"!==r?null:parseFloat(e[0])}return t||null}function Vx(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}var gQ=function(){return f(function t(i,e,n,r,a,o,s){h(this,t),this._preferredPositions=[],this._positionStrategy=new W_(n,r,a,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(i,e),this.onPositionChange=this._positionStrategy.positionChanges},[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,n,r,a){var o=new uQ(e,n,r,a);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}}])}(),Hx="cdk-global-overlay-wrapper",mQ=function(){return f(function t(){h(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""},[{key:"attach",value:function(e){var n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Hx),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),a=r.width,o=r.height,s=r.maxWidth,l=r.maxHeight,u=!("100%"!==a&&"100vw"!==a||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||l&&"100%"!==l&&"100vh"!==l);e.position=this._cssPosition,e.marginLeft=u?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,u?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,n.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(Hx),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}])}(),vQ=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a},[{key:"global",value:function(){return new mQ}},{key:"connectedTo",value:function(n,r,a){return new gQ(r,a,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(n){return new W_(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Vn),x(oe),x(Ie),x(Gu))},t.\u0275prov=U({factory:function(){return new t(x(Vn),x(oe),x(Ie),x(Gu))},token:t,providedIn:"root"}),t}(),_Q=0,Cn=function(){var t=function(){return f(function i(e,n,r,a,o,s,l,u,c,d,v){h(this,i),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=s,this._ngZone=l,this._document=u,this._directionality=c,this._location=d,this._outsideClickDispatcher=v},[{key:"create",value:function(n){var r=this._createHostElement(),a=this._createPaneElement(r),o=this._createPortalOutlet(a),s=new qs(n);return s.direction=s.direction||this._directionality.value,new hQ(o,r,a,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(n){var r=this._document.createElement("div");return r.id="cdk-overlay-".concat(_Q++),r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}},{key:"_createHostElement",value:function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}},{key:"_createPortalOutlet",value:function(n){return this._appRef||(this._appRef=this._injector.get(io)),new Ix(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(lQ),x(Gu),x(Er),x(vQ),x(dQ),x(ot),x(ue),x(oe),x(Ke),x($m),x(fQ))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),yQ=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Gx=new V("cdk-connected-overlay-scroll-strategy"),bQ=function(){var t=f(function i(e){h(this,i),this.elementRef=e});return t.\u0275fac=function(e){return new(e||t)(m(P))},t.\u0275dir=E({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),Ux=function(){var t=function(){return f(function i(e,n,r,a,o){h(this,i),this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=be.EMPTY,this._attachSubscription=be.EMPTY,this._detachSubscription=be.EMPTY,this._positionSubscription=be.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new j,this.positionChange=new j,this.attach=new j,this.detach=new j,this.overlayKeydown=new j,this.overlayOutsideClick=new j,this._templatePortal=new $i(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()},[{key:"offsetX",get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=W(n)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(n){this._lockPosition=W(n)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=W(n)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=W(n)}},{key:"push",get:function(){return this._push},set:function(n){this._push=W(n)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var n=this;(!this.positions||!this.positions.length)&&(this.positions=yQ);var r=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=r.attachments().subscribe(function(){return n.attach.emit()}),this._detachSubscription=r.detachments().subscribe(function(){return n.detach.emit()}),r.keydownEvents().subscribe(function(a){n.overlayKeydown.next(a),27===a.keyCode&&!n.disableClose&&!Ft(a)&&(a.preventDefault(),n._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(a){n.overlayOutsideClick.next(a)})}},{key:"_buildConfig",value:function(){var n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new qs({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}},{key:"_updatePositionStrategy",value:function(n){var r=this,a=this.positions.map(function(o){return{originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||r.offsetX,offsetY:o.offsetY||r.offsetY,panelClass:o.panelClass||void 0}});return n.setOrigin(this.origin.elementRef).withPositions(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var n=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(n),n}},{key:"_attachOverlay",value:function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(r){n.backdropClick.emit(r)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){return e.lift(new iQ(t,i))}}(function(){return n.positionChange.observers.length>0})).subscribe(function(r){n.positionChange.emit(r),0===n.positionChange.observers.length&&n._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Cn),m(We),m(Xe),m(Gx),m(Ke,8))},t.\u0275dir=E({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Te]}),t}(),kQ={provide:Gx,deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},wa=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Cn,kQ],imports:[[fo,ka,G_],G_]}),t}();function jx(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];if(1===i.length){var n=i[0];if(Oo(n))return Yf(n,null);if(ip(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return Yf(r.map(function(o){return n[o]}),r)}}if("function"==typeof i[i.length-1]){var a=i.pop();return Yf(i=1===i.length&&Oo(i[0])?i[0]:i,null).pipe(dt(function(o){return a.apply(void 0,we(o))}))}return Yf(i,null)}function Yf(t,i){return new Ze(function(e){var n=t.length;if(0!==n)for(var r=new Array(n),a=0,o=0,s=function(c){var d=No(t[c]),v=!1;e.add(d.subscribe({next:function(b){v||(v=!0,o++),r[c]=b},error:function(b){return e.error(b)},complete:function(){(++a===n||!v)&&(o===n&&e.next(i?i.reduce(function(b,C,D){return b[C]=r[D],b},{}):r),e.complete())}}))},l=0;l<n;l++)s(l);else e.complete()})}function mt(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Ut=new V("NgValidators"),Sa=new V("NgAsyncValidators");function t1(t){return null!=t}function n1(t){var i=sd(t)?No(t):t;return Yg(i),i}function r1(t){var i={};return t.forEach(function(e){i=null!=e?Object.assign(Object.assign({},i),e):i}),0===Object.keys(i).length?null:i}function a1(t,i){return i.map(function(e){return e(t)})}function o1(t){return t.map(function(i){return function(t){return!t.validate}(i)?i:function(e){return i.validate(e)}})}function Q_(t){return null!=t?function(t){if(!t)return null;var i=t.filter(t1);return 0==i.length?null:function(e){return r1(a1(e,i))}}(o1(t)):null}function K_(t){return null!=t?function(t){if(!t)return null;var i=t.filter(t1);return 0==i.length?null:function(e){return jx(a1(e,i).map(n1)).pipe(dt(r1))}}(o1(t)):null}function u1(t,i){return null===t?[i]:Array.isArray(t)?[].concat(we(t),[i]):[t,i]}function c1(t){return t._rawValidators}function d1(t){return t._rawAsyncValidators}function $_(t){return t?Array.isArray(t)?t:[t]:[]}function qf(t,i){return Array.isArray(t)?t.includes(i):t===i}function f1(t,i){var e=$_(i);return $_(t).forEach(function(r){qf(e,r)||e.push(r)}),e}function h1(t,i){return $_(i).filter(function(e){return!qf(t,e)})}var p1=function(){var t=function(){return f(function i(){h(this,i),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]},[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(n){this._rawValidators=n||[],this._composedValidatorFn=Q_(this._rawValidators)}},{key:"_setAsyncValidators",value:function(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=K_(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(n){this._onDestroyCallbacks.push(n)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(n){return n()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(n)}},{key:"hasError",value:function(n,r){return!!this.control&&this.control.hasError(n,r)}},{key:"getError",value:function(n,r){return this.control?this.control.getError(n,r):null}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=E({type:t}),t}(),kn=function(){var t=function(i){function e(){return h(this,e),mt(this,e,arguments)}return k(e,i),f(e,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}])}(p1);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275dir=E({type:t,features:[R]}),t}(),_i=function(t){function i(){var e;return h(this,i),(e=mt(this,i,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return k(i,t),f(i)}(p1);function Uu(t,i){Z_(t,i),i.valueAccessor.writeValue(t.value),function(t,i){i.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&m1(t,i)})}(t,i),function(t,i){var e=function(r,a){i.valueAccessor.writeValue(r),a&&i.viewToModelUpdate(r)};t.registerOnChange(e),i._registerOnDestroy(function(){t._unregisterOnChange(e)})}(t,i),function(t,i){i.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&m1(t,i),"submit"!==t.updateOn&&t.markAsTouched()})}(t,i),function(t,i){if(i.valueAccessor.setDisabledState){var e=function(r){i.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),i._registerOnDestroy(function(){t._unregisterOnDisabledChange(e)})}}(t,i)}function $f(t,i){var n=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),Jf(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}function Xf(t,i){t.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function Z_(t,i){var e=c1(t);null!==i.validator?t.setValidators(u1(e,i.validator)):"function"==typeof e&&t.setValidators([e]);var n=d1(t);null!==i.asyncValidator?t.setAsyncValidators(u1(n,i.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);var r=function(){return t.updateValueAndValidity()};Xf(i._rawValidators,r),Xf(i._rawAsyncValidators,r)}function Jf(t,i){var e=!1;if(null!==t){if(null!==i.validator){var n=c1(t);if(Array.isArray(n)&&n.length>0){var r=n.filter(function(l){return l!==i.validator});r.length!==n.length&&(e=!0,t.setValidators(r))}}if(null!==i.asyncValidator){var a=d1(t);if(Array.isArray(a)&&a.length>0){var o=a.filter(function(l){return l!==i.asyncValidator});o.length!==a.length&&(e=!0,t.setAsyncValidators(o))}}}var s=function(){};return Xf(i._rawValidators,s),Xf(i._rawAsyncValidators,s),e}function m1(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function v1(t,i){Z_(t,i)}function _1(t,i){t._syncPendingControls(),i.forEach(function(e){var n=e.control;"submit"===n.updateOn&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Zf(t,i){var e=t.indexOf(i);e>-1&&t.splice(e,1)}var ju="VALID",eh="INVALID",Qs="PENDING",zu="DISABLED";function ny(t){return(ry(t)?t.validators:t)||null}function y1(t){return Array.isArray(t)?Q_(t):t||null}function iy(t,i){return(ry(i)?i.asyncValidators:t)||null}function b1(t){return Array.isArray(t)?K_(t):t||null}function ry(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ay=function(){return f(function t(i,e){h(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=e,this._composedValidatorFn=y1(this._rawValidators),this._composedAsyncValidatorFn=b1(this._rawAsyncValidators)},[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===ju}},{key:"invalid",get:function(){return this.status===eh}},{key:"pending",get:function(){return this.status==Qs}},{key:"disabled",get:function(){return this.status===zu}},{key:"enabled",get:function(){return this.status!==zu}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=y1(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=b1(e)}},{key:"addValidators",value:function(e){this.setValidators(f1(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(f1(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(h1(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(h1(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return qf(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return qf(this._rawAsyncValidators,e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=Qs,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(e.onlySelf);this.status=zu,this.errors=null,this._forEachChild(function(r){r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(r){return r(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(e.onlySelf);this.status=ju,this._forEachChild(function(r){r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(r){return r(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ju||this.status===Qs)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(n){return n._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?zu:ju}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var n=this;if(this.asyncValidator){this.status=Qs,this._hasOwnPendingAsyncValidator=!0;var r=n1(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(function(a){n._hasOwnPendingAsyncValidator=!1,n.setErrors(a,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)}},{key:"get",value:function(e){return function(t,i,e){if(null==i||(Array.isArray(i)||(i=i.split(".")),Array.isArray(i)&&0===i.length))return null;var n=t;return i.forEach(function(r){n=n instanceof oy?n.controls.hasOwnProperty(r)?n.controls[r]:null:n instanceof UQ&&n.at(r)||null}),n}(this,e)}},{key:"getError",value:function(e,n){var r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}},{key:"hasError",value:function(e,n){return!!this.getError(e,n)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new j,this.statusChanges=new j}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?zu:this.errors?eh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qs)?Qs:this._anyControlsHaveStatus(eh)?eh:ju}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(n){return n.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){ry(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}])}(),th=function(t){function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return h(this,i),(e=mt(this,i,[ny(r),iy(a,r)]))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return k(i,t),f(i,[{key:"setValue",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=n,this._onChange.length&&!1!==a.emitModelToViewChange&&this._onChange.forEach(function(o){return o(r.value,!1!==a.emitViewToModelChange)}),this.updateValueAndValidity(a)}},{key:"patchValue",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(n,r)}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(n),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(n){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(n){this._onChange.push(n)}},{key:"_unregisterOnChange",value:function(n){Zf(this._onChange,n)}},{key:"registerOnDisabledChange",value:function(n){this._onDisabledChange.push(n)}},{key:"_unregisterOnDisabledChange",value:function(n){Zf(this._onDisabledChange,n)}},{key:"_forEachChild",value:function(n){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}])}(ay),oy=function(t){function i(e,n,r){var a;return h(this,i),(a=mt(this,i,[ny(n),iy(r,n)])).controls=e,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return k(i,t),f(i,[{key:"registerControl",value:function(n,r){return this.controls[n]?this.controls[n]:(this.controls[n]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}},{key:"addControl",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(n,r),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],r&&this.registerControl(n,r),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}},{key:"setValue",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(n),Object.keys(n).forEach(function(o){r._throwIfControlMissing(o),r.controls[o].setValue(n[o],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}},{key:"patchValue",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=n&&(Object.keys(n).forEach(function(o){r.controls[o]&&r.controls[o].patchValue(n[o],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(a,o){a.reset(n[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(n,r,a){return n[a]=r instanceof th?r.value:r.getRawValue(),n})}},{key:"_syncPendingControls",value:function(){var n=this._reduceChildren(!1,function(r,a){return!!a._syncPendingControls()||r});return n&&this.updateValueAndValidity({onlySelf:!0}),n}},{key:"_throwIfControlMissing",value:function(n){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[n])throw new Error("Cannot find form control with name: ".concat(n,"."))}},{key:"_forEachChild",value:function(n){var r=this;Object.keys(this.controls).forEach(function(a){var o=r.controls[a];o&&n(o,a)})}},{key:"_setUpControls",value:function(){var n=this;this._forEachChild(function(r){r.setParent(n),r._registerOnCollectionChange(n._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(n){for(var r=0,a=Object.keys(this.controls);r<a.length;r++){var o=a[r],s=this.controls[o];if(this.contains(o)&&n(s))return!0}return!1}},{key:"_reduceValue",value:function(){var n=this;return this._reduceChildren({},function(r,a,o){return(a.enabled||n.disabled)&&(r[o]=a.value),r})}},{key:"_reduceChildren",value:function(n,r){var a=n;return this._forEachChild(function(o,s){a=r(a,o,s)}),a}},{key:"_allControlsDisabled",value:function(){for(var n=0,r=Object.keys(this.controls);n<r.length;n++)if(this.controls[r[n]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(n){this._forEachChild(function(r,a){if(void 0===n[a])throw new Error("Must supply a value for form control with name: '".concat(a,"'."))})}}])}(ay),UQ=function(t){function i(e,n,r){var a;return h(this,i),(a=mt(this,i,[ny(n),iy(r,n)])).controls=e,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return k(i,t),f(i,[{key:"at",value:function(n){return this.controls[n]}},{key:"push",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(n,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:a.emitEvent})}},{key:"removeAt",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}},{key:"setControl",value:function(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),r&&(this.controls.splice(n,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(n),n.forEach(function(o,s){r._throwIfControlMissing(s),r.at(s).setValue(o,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}},{key:"patchValue",value:function(n){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=n&&(n.forEach(function(o,s){r.at(s)&&r.at(s).patchValue(o,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(a,o){a.reset(n[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}},{key:"getRawValue",value:function(){return this.controls.map(function(n){return n instanceof th?n.value:n.getRawValue()})}},{key:"clear",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(r){return r._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}},{key:"_syncPendingControls",value:function(){var n=this.controls.reduce(function(r,a){return!!a._syncPendingControls()||r},!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}},{key:"_throwIfControlMissing",value:function(n){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(n))throw new Error("Cannot find form control at index ".concat(n))}},{key:"_forEachChild",value:function(n){this.controls.forEach(function(r,a){n(r,a)})}},{key:"_updateValue",value:function(){var n=this;this.value=this.controls.filter(function(r){return r.enabled||n.disabled}).map(function(r){return r.value})}},{key:"_anyControls",value:function(n){return this.controls.some(function(r){return r.enabled&&n(r)})}},{key:"_setUpControls",value:function(){var n=this;this._forEachChild(function(r){return n._registerControl(r)})}},{key:"_checkAllValuesPresent",value:function(n){this._forEachChild(function(r,a){if(void 0===n[a])throw new Error("Must supply a value for form control at index: ".concat(a,"."))})}},{key:"_allControlsDisabled",value:function(){var r,n=ct(this.controls);try{for(n.s();!(r=n.n()).done;)if(r.value.enabled)return!1}catch(o){n.e(o)}finally{n.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}])}(ay),jQ={provide:kn,useExisting:Ee(function(){return Ur})},Wu=function(){return Promise.resolve(null)}(),Ur=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=mt(this,e)).submitted=!1,a._directives=[],a.ngSubmit=new j,a.form=new oy({},Q_(n),K_(r)),a}return k(e,i),f(e,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(r){var a=this;Wu.then(function(){var o=a._findContainer(r.path);r.control=o.registerControl(r.name,r.control),Uu(r.control,r),r.control.updateValueAndValidity({emitEvent:!1}),a._directives.push(r)})}},{key:"getControl",value:function(r){return this.form.get(r.path)}},{key:"removeControl",value:function(r){var a=this;Wu.then(function(){var o=a._findContainer(r.path);o&&o.removeControl(r.name),Zf(a._directives,r)})}},{key:"addFormGroup",value:function(r){var a=this;Wu.then(function(){var o=a._findContainer(r.path),s=new oy({});v1(s,r),o.registerControl(r.name,s),s.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(r){var a=this;Wu.then(function(){var o=a._findContainer(r.path);o&&o.removeControl(r.name)})}},{key:"getFormGroup",value:function(r){return this.form.get(r.path)}},{key:"updateModel",value:function(r,a){var o=this;Wu.then(function(){o.form.get(r.path).setValue(a)})}},{key:"setValue",value:function(r){this.control.setValue(r)}},{key:"onSubmit",value:function(r){return this.submitted=!0,_1(this.form,this._directives),this.ngSubmit.emit(r),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(r),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(r){return r.pop(),r.length?this.form.get(r):this.form}}])}(kn);return t.\u0275fac=function(e){return new(e||t)(m(Ut,10),m(Sa,10))},t.\u0275dir=E({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,n){1&e&&q("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[K([jQ]),R]}),t}(),eK={provide:kn,useExisting:Ee(function(){return jr})},jr=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=mt(this,e)).validators=n,a.asyncValidators=r,a.submitted=!1,a._onCollectionChange=function(){return a._updateDomValue()},a.directives=[],a.form=null,a.ngSubmit=new j,a._setValidators(n),a._setAsyncValidators(r),a}return k(e,i),f(e,[{key:"ngOnChanges",value:function(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Jf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(r){var a=this.form.get(r.path);return Uu(a,r),a.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),a}},{key:"getControl",value:function(r){return this.form.get(r.path)}},{key:"removeControl",value:function(r){$f(r.control||null,r),Zf(this.directives,r)}},{key:"addFormGroup",value:function(r){this._setUpFormContainer(r)}},{key:"removeFormGroup",value:function(r){this._cleanUpFormContainer(r)}},{key:"getFormGroup",value:function(r){return this.form.get(r.path)}},{key:"addFormArray",value:function(r){this._setUpFormContainer(r)}},{key:"removeFormArray",value:function(r){this._cleanUpFormContainer(r)}},{key:"getFormArray",value:function(r){return this.form.get(r.path)}},{key:"updateModel",value:function(r,a){this.form.get(r.path).setValue(a)}},{key:"onSubmit",value:function(r){return this.submitted=!0,_1(this.form,this.directives),this.ngSubmit.emit(r),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(r),this.submitted=!1}},{key:"_updateDomValue",value:function(){var r=this;this.directives.forEach(function(a){var o=a.control,s=r.form.get(a.path);o!==s&&($f(o||null,a),s instanceof th&&(Uu(s,a),a.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(r){var a=this.form.get(r.path);v1(a,r),a.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(r){if(this.form){var a=this.form.get(r.path);if(a){var o=function(t,i){return Jf(t,i)}(a,r);o&&a.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Z_(this.form,this),this._oldForm&&Jf(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}])}(kn);return t.\u0275fac=function(e){return new(e||t)(m(Ut,10),m(Sa,10))},t.\u0275dir=E({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,n){1&e&&q("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[K([eK]),R,Te]}),t}(),OK={provide:new V("mat-autocomplete-scroll-strategy"),deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},rh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[OK],imports:[[wa,Gf,he,ht],Gr,Gf,he]}),t}();function W1(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var Y1=["mat-button",""],q1=["*"],Q1=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-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:none;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-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-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-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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.mat-button-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:none;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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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.mat-button-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 i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",BK=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],VK=Xn(yn(Fn(function(){return f(function t(i){h(this,t),this._elementRef=i})}()))),Ea=function(){var t=function(i){function e(n,r,a){var o;h(this,e),(o=W1(this,e,[n]))._focusMonitor=r,o._animationMode=a,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var l,s=ct(BK);try{for(s.s();!(l=s.n()).done;){var u=l.value;o._hasHostAttributes(u)&&o._getHostElement().classList.add(u)}}catch(c){s.e(c)}finally{s.f()}return n.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return k(e,i),f(e,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(r,a){r?this._focusMonitor.focusVia(this._getHostElement(),r,a):this._getHostElement().focus(a)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var r=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];return o.some(function(l){return r._getHostElement().hasAttribute(l)})}}])}(VK);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Gt),m(at,8))},t.\u0275cmp=ee({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,n){var r;1&e&&me(bn,5),2&e&&L(r=B())&&(n.ripple=r.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,n){2&e&&(Z("disabled",n.disabled||null),re("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[R],attrs:Y1,ngContentSelectors:q1,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,n){1&e&&(Ce(),p(0,"span",0),se(1),g(),H(2,"span",1),H(3,"span",2)),2&e&&(y(2),re("mat-button-ripple-round",n.isRoundButton||n.isIconButton),S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},directives:[bn],styles:[Q1],encapsulation:2,changeDetection:0}),t}(),py=function(){var t=function(i){function e(n,r,a){return h(this,e),W1(this,e,[r,n,a])}return k(e,i),f(e,[{key:"_haltDisabledEvents",value:function(r){this.disabled&&(r.preventDefault(),r.stopImmediatePropagation())}}])}(Ea);return t.\u0275fac=function(e){return new(e||t)(m(Gt),m(P),m(at,8))},t.\u0275cmp=ee({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,n){1&e&&q("click",function(a){return n._haltDisabledEvents(a)}),2&e&&(Z("tabindex",n.disabled?-1:n.tabIndex||0)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString()),re("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[R],attrs:Y1,ngContentSelectors:q1,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,n){1&e&&(Ce(),p(0,"span",0),se(1),g(),H(2,"span",1),H(3,"span",2)),2&e&&(y(2),re("mat-button-ripple-round",n.isRoundButton||n.isIconButton),S("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},directives:[bn],styles:[Q1],encapsulation:2,changeDetection:0}),t}(),Aa=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[vi,he],he]}),t}(),ah=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he],he]}),t}(),J1=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),oh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[vi,he,Eu,J1],he,J1]}),t}(),tT=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Ns]]}),t}(),sh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Ki],imports:[[tT,Pu,he],tT,Pu]}),t}(),Yu=function(){var t=function(){return f(function i(){h(this,i),this.changes=new $,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"},[{key:"formatYearRange",value:function(n,r){return"".concat(n," \u2013 ").concat(r)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),B$={provide:new V("mat-datepicker-scroll-strategy"),deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},dh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Yu,B$],imports:[[ht,Aa,wa,mf,ka,he],Gr]}),t}();function wy(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function Q$(t,i){}var My=f(function t(){h(this,t),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.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}),K$={dialogContainer:Pt("dialogContainer",[Re("void, exit",ce({opacity:0,transform:"scale(0.7)"})),Re("enter",ce({transform:"none"})),Ge("* => enter",ze("150ms cubic-bezier(0, 0, 0.2, 1)",ce({transform:"none",opacity:1}))),Ge("* => void, * => exit",ze("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ce({opacity:0})))])},$$=function(){var t=function(i){function e(n,r,a,o,s,l){var u;return h(this,e),(u=wy(this,e))._elementRef=n,u._focusTrapFactory=r,u._changeDetectorRef=a,u._config=s,u._focusMonitor=l,u._animationStateChanged=new j,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u.attachDomPortal=function(c){return u._portalOutlet.hasAttached(),u._portalOutlet.attachDomPortal(c)},u._ariaLabelledBy=s.ariaLabelledBy||null,u._document=o,u}return k(e,i),f(e,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(r){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(r)}},{key:"attachTemplatePortal",value:function(r){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(r)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var r=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&r&&"function"==typeof r.focus){var a=Lr(),o=this._elementRef.nativeElement;(!a||a===this._document.body||a===o||o.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Lr())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var r=this._elementRef.nativeElement,a=Lr();return r===a||r.contains(a)}}])}(Hu);return t.\u0275fac=function(e){return new(e||t)(m(P),m(pf),m(ve),m(oe,8),m(My),m(Gt))},t.\u0275dir=E({type:t,viewQuery:function(e,n){var r;1&e&&me(Pn,7),2&e&&L(r=B())&&(n._portalOutlet=r.first)},features:[R]}),t}(),X$=function(){var t=function(i){function e(){var n;return h(this,e),(n=wy(this,e,arguments))._state="enter",n}return k(e,i),f(e,[{key:"_onAnimationDone",value:function(r){var a=r.toState,o=r.totalTime;"enter"===a?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:o})):"exit"===a&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:o}))}},{key:"_onAnimationStart",value:function(r){var a=r.toState,o=r.totalTime;"enter"===a?this._animationStateChanged.next({state:"opening",totalTime:o}):("exit"===a||"void"===a)&&this._animationStateChanged.next({state:"closing",totalTime:o})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}])}($$);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275cmp=ee({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,n){1&e&&Ka("@dialogContainer.start",function(a){return n._onAnimationStart(a)})("@dialogContainer.done",function(a){return n._onAnimationDone(a)}),2&e&&(an("id",n._id),Z("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),$a("@dialogContainer",n._state))},features:[R],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&F(0,Q$,0,0,"ng-template",0)},directives:[Pn],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}.cdk-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;box-sizing:content-box;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-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[K$.dialogContainer]}}),t}(),J$=0,Sy=function(){return f(function t(i,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(J$++);h(this,t),this._overlayRef=i,this._containerInstance=e,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new $,this._afterClosed=new $,this._beforeClosed=new $,this._state=0,e._id=r,e._animationStateChanged.pipe(tt(function(a){return"opened"===a.state}),gt(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),e._animationStateChanged.pipe(tt(function(a){return"closed"===a.state}),gt(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),i.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),i.keydownEvents().pipe(tt(function(a){return 27===a.keyCode&&!n.disableClose&&!Ft(a)})).subscribe(function(a){a.preventDefault(),Dy(n,"keyboard")}),i.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():Dy(n,"mouse")})},[{key:"close",value:function(e){var n=this;this._result=e,this._containerInstance._animationStateChanged.pipe(tt(function(r){return"closing"===r.state}),gt(1)).subscribe(function(r){n._beforeClosed.next(e),n._beforeClosed.complete(),n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){return n._finishDialogClose()},r.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var n=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?n.left(e.left):n.right(e.right):n.centerHorizontally(),e&&(e.top||e.bottom)?e.top?n.top(e.top):n.bottom(e.bottom):n.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:n}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}])}();function Dy(t,i,e){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=i),t.close(e)}var Z$=new V("MatDialogData"),eX=new V("mat-dialog-default-options"),vT=new V("mat-dialog-scroll-strategy"),nX={provide:vT,deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},iX=function(){var t=function(){return f(function i(e,n,r,a,o,s,l,u,c){var d=this;h(this,i),this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=o,this._dialogRefConstructor=l,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new $,this._afterOpenedAtThisLevel=new $,this._ariaHiddenElements=new Map,this.afterAllClosed=B_(function(){return d.openDialogs.length?d._getAfterAllClosed():d._getAfterAllClosed().pipe(st(void 0))}),this._scrollStrategy=s},[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(n,r){var a=this;r=function(t,i){return Object.assign(Object.assign({},i),t)}(r,this._defaultOptions||new My),r.id&&this.getDialogById(r.id);var o=this._createOverlay(r),s=this._attachDialogContainer(o,r),l=this._attachDialogContent(n,s,o,r);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe(function(){return a._removeOpenDialog(l)}),this.afterOpened.next(l),s._initializeWithAttachedContent(),l}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(n){return this.openDialogs.find(function(r){return r.id===n})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(n){var r=this._getOverlayConfig(n);return this._overlay.create(r)}},{key:"_getOverlayConfig",value:function(n){var r=new qs({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}},{key:"_attachDialogContainer",value:function(n,r){var o=ot.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:My,useValue:r}]}),s=new Ys(this._dialogContainerType,r.viewContainerRef,o,r.componentFactoryResolver);return n.attach(s).instance}},{key:"_attachDialogContent",value:function(n,r,a,o){var s=new this._dialogRefConstructor(a,r,o.id);if(n instanceof We)r.attachTemplatePortal(new $i(n,null,{$implicit:o.data,dialogRef:s}));else{var l=this._createInjector(o,s,r),u=r.attachComponentPortal(new Ys(n,o.viewContainerRef,l));s.componentInstance=u.instance}return s.updateSize(o.width,o.height).updatePosition(o.position),s}},{key:"_createInjector",value:function(n,r,a){var o=n&&n.viewContainerRef&&n.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:r}];return n.direction&&(!o||!o.get(Ke,null,je.Optional))&&s.push({provide:Ke,useValue:{value:n.direction,change:pt()}}),ot.create({parent:o||this._injector,providers:s})}},{key:"_removeOpenDialog",value:function(n){var r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(a,o){a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var r=n.parentElement.children,a=r.length-1;a>-1;a--){var o=r[a];o!==n&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(n){for(var r=n.length;r--;)n[r].close()}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Cn),m(ot),m(void 0),m(void 0),m(Gu),m(void 0),m(Ml),m(Ml),m(V))},t.\u0275dir=E({type:t}),t}(),Ey=function(){var t=function(i){function e(n,r,a,o,s,l,u){return h(this,e),wy(this,e,[n,r,o,l,u,s,Sy,X$,Z$])}return k(e,i),f(e)}(iX);return t.\u0275fac=function(e){return new(e||t)(x(Cn),x(ot),x($m,8),x(eX,8),x(vT),x(t,12),x(Gu))},t.\u0275prov=U({token:t,factory:t.\u0275fac}),t}(),fh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Ey,nX],imports:[[wa,ka,he],he]}),t}(),Qu=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he],he]}),t}(),hh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Nf,he],Nf,he]}),t}(),_X=function(){return f(function t(i){h(this,t),this.selector=i},[{key:"call",value:function(e,n){return n.subscribe(new yX(e,this.selector,this.caught))}}])}(),yX=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),a.selector=n,a.caught=r,a}return k(i,t),f(i,[{key:"error",value:function(n){if(!this.isStopped){var r;try{r=this.selector(n,this.caught)}catch(s){return void J(M(i.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var a=new ul(this);this.add(a);var o=dl(r,a);o!==a&&this.add(o)}}}])}(cl),kX=function(){return f(function t(i){h(this,t),this.callback=i},[{key:"call",value:function(e,n){return n.subscribe(new wX(e,this.callback))}}])}(),wX=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.add(new be(n)),r}return k(i,t),f(i)}(kt),SX=["*"];function wT(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function MT(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function ST(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var Do=f(function t(i,e,n){h(this,t),this.url=i,this.svgText=e,this.options=n}),ph=function(){var t=function(){return f(function i(e,n,r,a){h(this,i),this._httpClient=e,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r},[{key:"addSvgIcon",value:function(n,r,a){return this.addSvgIconInNamespace("",n,r,a)}},{key:"addSvgIconLiteral",value:function(n,r,a){return this.addSvgIconLiteralInNamespace("",n,r,a)}},{key:"addSvgIconInNamespace",value:function(n,r,a,o){return this._addSvgIconConfig(n,r,new Do(a,null,o))}},{key:"addSvgIconResolver",value:function(n){return this._resolvers.push(n),this}},{key:"addSvgIconLiteralInNamespace",value:function(n,r,a,o){var s=this._sanitizer.sanitize(rn.HTML,a);if(!s)throw ST(a);return this._addSvgIconConfig(n,r,new Do("",s,o))}},{key:"addSvgIconSet",value:function(n,r){return this.addSvgIconSetInNamespace("",n,r)}},{key:"addSvgIconSetLiteral",value:function(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}},{key:"addSvgIconSetInNamespace",value:function(n,r,a){return this._addSvgIconSetConfig(n,new Do(r,null,a))}},{key:"addSvgIconSetLiteralInNamespace",value:function(n,r,a){var o=this._sanitizer.sanitize(rn.HTML,r);if(!o)throw ST(r);return this._addSvgIconSetConfig(n,new Do("",o,a))}},{key:"registerFontClassAlias",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return this._fontCssClassesByAlias.set(n,r),this}},{key:"classNameForFontAlias",value:function(n){return this._fontCssClassesByAlias.get(n)||n}},{key:"setDefaultFontSetClass",value:function(n){return this._defaultFontSetClass=n,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(n){var r=this,a=this._sanitizer.sanitize(rn.RESOURCE_URL,n);if(!a)throw MT(n);var o=this._cachedIconsByUrl.get(a);return o?pt(gh(o)):this._loadSvgIconFromConfig(new Do(n,null)).pipe(Fs(function(s){return r._cachedIconsByUrl.set(a,s)}),dt(function(s){return gh(s)}))}},{key:"getNamedSvgIcon",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=DT(r,n),o=this._svgIconConfigs.get(a);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n))return this._svgIconConfigs.set(a,o),this._getSvgFromConfig(o);var s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(n,s):Ex(wT(a))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(n){return n.svgText?pt(gh(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(dt(function(r){return gh(r)}))}},{key:"_getSvgFromIconSetConfigs",value:function(n,r){var a=this,o=this._extractIconWithNameFromAnySet(n,r);if(o)return pt(o);var s=r.filter(function(l){return!l.svgText}).map(function(l){return a._loadSvgIconSetFromConfig(l).pipe(function(t){return function(e){var n=new _X(t),r=e.lift(n);return n.caught=r}}(function(u){var c=a._sanitizer.sanitize(rn.RESOURCE_URL,l.url),d="Loading icon set URL: ".concat(c," failed: ").concat(u.message);return a._errorHandler.handleError(new Error(d)),pt(null)}))});return jx(s).pipe(dt(function(){var l=a._extractIconWithNameFromAnySet(n,r);if(!l)throw wT(n);return l}))}},{key:"_extractIconWithNameFromAnySet",value:function(n,r){for(var a=r.length-1;a>=0;a--){var o=r[a];if(o.svgText&&o.svgText.indexOf(n)>-1){var s=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(s,n,o.options);if(l)return l}}return null}},{key:"_loadSvgIconFromConfig",value:function(n){var r=this;return this._fetchIcon(n).pipe(Fs(function(a){return n.svgText=a}),dt(function(){return r._svgElementFromConfig(n)}))}},{key:"_loadSvgIconSetFromConfig",value:function(n){return n.svgText?pt(null):this._fetchIcon(n).pipe(Fs(function(r){return n.svgText=r}))}},{key:"_extractSvgIconFromSet",value:function(n,r,a){var o=n.querySelector('[id="'.concat(r,'"]'));if(!o)return null;var s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,a);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),a);var l=this._svgElementFromString("<svg></svg>");return l.appendChild(s),this._setSvgAttributes(l,a)}},{key:"_svgElementFromString",value:function(n){var r=this._document.createElement("DIV");r.innerHTML=n;var a=r.querySelector("svg");if(!a)throw Error("<svg> tag not found");return a}},{key:"_toSvgElement",value:function(n){for(var r=this._svgElementFromString("<svg></svg>"),a=n.attributes,o=0;o<a.length;o++){var s=a[o],l=s.name;"id"!==l&&r.setAttribute(l,s.value)}for(var c=0;c<n.childNodes.length;c++)n.childNodes[c].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[c].cloneNode(!0));return r}},{key:"_setSvgAttributes",value:function(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}},{key:"_fetchIcon",value:function(n){var a,r=this,o=n.url,s=n.options,l=null!==(a=null==s?void 0:s.withCredentials)&&void 0!==a&&a;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==o)throw Error('Cannot fetch icon from URL "'.concat(o,'".'));var u=this._sanitizer.sanitize(rn.RESOURCE_URL,o);if(!u)throw MT(o);var c=this._inProgressUrlFetches.get(u);if(c)return c;var d=this._httpClient.get(u,{responseType:"text",withCredentials:l}).pipe(function(t){return function(i){return i.lift(new kX(t))}}(function(){return r._inProgressUrlFetches.delete(u)}),Pb());return this._inProgressUrlFetches.set(u,d),d}},{key:"_addSvgIconConfig",value:function(n,r,a){return this._svgIconConfigs.set(DT(n,r),a),this}},{key:"_addSvgIconSetConfig",value:function(n,r){var a=this._iconSetConfigs.get(n);return a?a.push(r):this._iconSetConfigs.set(n,[r]),this}},{key:"_svgElementFromConfig",value:function(n){if(!n.svgElement){var r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}},{key:"_getIconConfigFromResolvers",value:function(n,r){for(var a=0;a<this._resolvers.length;a++){var o=this._resolvers[a](r,n);if(o)return AX(o)?new Do(o.url,null,o.options):new Do(o,null)}}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Or,8),x(lo),x(oe,8),x(Ai))},t.\u0275prov=U({factory:function(){return new t(x(Or,8),x(lo),x(oe,8),x(Ai))},token:t,providedIn:"root"}),t}();function gh(t){return t.cloneNode(!0)}function DT(t,i){return t+":"+i}function AX(t){return!(!t.url||!t.options)}var xX=Xn(function(){return f(function t(i){h(this,t),this._elementRef=i})}()),TX=new V("mat-icon-location",{providedIn:"root",factory:function(){var t=Jo(oe),i=t?t.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),ET=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OX=ET.map(function(i){return"[".concat(i,"]")}).join(", "),FX=/^url\(['"]?#(.*?)['"]?\)$/,Ty=function(){var t=function(i){function e(n,r,a,o,s){var l;return h(this,e),l=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,e,[n]),l._iconRegistry=r,l._location=o,l._errorHandler=s,l._inline=!1,l._currentIconFetch=be.EMPTY,a||n.nativeElement.setAttribute("aria-hidden","true"),l}return k(e,i),f(e,[{key:"inline",get:function(){return this._inline},set:function(r){this._inline=W(r)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(r){r!==this._svgIcon&&(r?this._updateSvgIcon(r):this._svgIcon&&this._clearSvgElement(),this._svgIcon=r)}},{key:"fontSet",get:function(){return this._fontSet},set:function(r){var a=this._cleanupFontValue(r);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(r){var a=this._cleanupFontValue(r);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(r){if(!r)return["",""];var a=r.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error('Invalid icon name: "'.concat(r,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var r=this._elementsWithExternalReferences;if(r&&r.size){var a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(r){this._clearSvgElement();for(var a=r.querySelectorAll("style"),o=0;o<a.length;o++)a[o].textContent+=" ";var s=this._location.getPathname();this._previousPath=s,this._cacheChildrenWithExternalReferences(r),this._prependPathToReferences(s),this._elementRef.nativeElement.appendChild(r)}},{key:"_clearSvgElement",value:function(){var r=this._elementRef.nativeElement,a=r.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){var o=r.childNodes[a];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&r.removeChild(o)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var r=this._elementRef.nativeElement,a=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();a!=this._previousFontSetClass&&(this._previousFontSetClass&&r.classList.remove(this._previousFontSetClass),a&&r.classList.add(a),this._previousFontSetClass=a),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&r.classList.remove(this._previousFontIconClass),this.fontIcon&&r.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(r){return"string"==typeof r?r.trim().split(" ")[0]:r}},{key:"_prependPathToReferences",value:function(r){var a=this._elementsWithExternalReferences;a&&a.forEach(function(o,s){o.forEach(function(l){s.setAttribute(l.name,"url('".concat(r,"#").concat(l.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(r){for(var a=r.querySelectorAll(OX),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,s=function(c){ET.forEach(function(d){var v=a[c],_=v.getAttribute(d),b=_?_.match(FX):null;if(b){var C=o.get(v);C||o.set(v,C=[]),C.push({name:d,value:b[1]})}})},l=0;l<a.length;l++)s(l)}},{key:"_updateSvgIcon",value:function(r){var a=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),r){var s=Be(this._splitIconName(r),2),l=s[0],u=s[1];l&&(this._svgNamespace=l),u&&(this._svgName=u),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(u,l).pipe(gt(1)).subscribe(function(c){return a._setSvgElement(c)},function(c){var d="Error retrieving icon ".concat(l,":").concat(u,"! ").concat(c.message);a._errorHandler.handleError(new Error(d))})}}}])}(xX);return t.\u0275fac=function(e){return new(e||t)(m(P),m(ph),zt("aria-hidden"),m(TX),m(Ai))},t.\u0275cmp=ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,n){2&e&&(Z("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet),re("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[R],ngContentSelectors:SX,decls:1,vars:0,template:function(e,n){1&e&&(Ce(),se(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(),Ku=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he],he]}),t}(),mh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Nf,vi,he,P_,ht],Nf,he,P_,Qu]}),t}(),tJ={provide:new V("mat-menu-scroll-strategy"),deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},yh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[tJ],imports:[[ht,he,vi,wa],Gr,he]}),t}();function HT(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var iJ=["trigger"],rJ=["panel"];function aJ(t,i){if(1&t&&(p(0,"span",8),w(1),g()),2&t){var e=O();y(1),Ue(e.placeholder)}}function oJ(t,i){if(1&t&&(p(0,"span",12),w(1),g()),2&t){var e=O(2);y(1),Ue(e.triggerValue)}}function sJ(t,i){1&t&&se(0,0,["*ngSwitchCase","true"])}function lJ(t,i){1&t&&(p(0,"span",9),F(1,oJ,2,1,"span",10),F(2,sJ,1,0,"ng-content",11),g()),2&t&&(S("ngSwitch",!!O().customTrigger),y(2),S("ngSwitchCase",!0))}function uJ(t,i){if(1&t){var e=ut();p(0,"div",13),p(1,"div",14,15),q("@transformPanel.done",function(a){return Ne(e),O()._panelDoneAnimatingStream.next(a.toState)})("keydown",function(a){return Ne(e),O()._handleKeydown(a)}),se(3,1),g(),g()}if(2&t){var n=O();S("@transformPanelWrap",void 0),y(1),ud("mat-select-panel ",n._getPanelTheme(),""),Dt("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),S("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),Z("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var cJ=[[["mat-select-trigger"]],"*"],dJ=["mat-select-trigger","*"],GT={transformPanelWrap:Pt("transformPanelWrap",[Ge("* => void",rA("@transformPanel",[iA()],{optional:!0}))]),transformPanel:Pt("transformPanel",[Re("void",ce({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Re("showing",ce({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Re("showing-multiple",ce({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ge("void => *",ze("120ms cubic-bezier(0, 0, 0.2, 1)")),Ge("* => void",ze("100ms 25ms linear",ce({opacity:0})))])},UT=0,zT=new V("mat-select-scroll-strategy"),gJ=new V("MAT_SELECT_CONFIG"),mJ={provide:zT,deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},vJ=f(function t(i,e){h(this,t),this.source=i,this.value=e}),_J=Fn(Vr(yn(Of(function(){return f(function t(i,e,n,r,a){h(this,t),this._elementRef=i,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=a})}())))),WT=new V("MatSelectTrigger"),yJ=function(){var t=function(i){function e(n,r,a,o,s,l,u,c,d,v,_,b,C,D){var A,T,N,z;return h(this,e),(A=HT(this,e,[s,o,u,c,v]))._viewportRuler=n,A._changeDetectorRef=r,A._ngZone=a,A._dir=l,A._parentFormField=d,A._liveAnnouncer=C,A._defaultOptions=D,A._panelOpen=!1,A._compareWith=function(Y,le){return Y===le},A._uid="mat-select-".concat(UT++),A._triggerAriaLabelledBy=null,A._destroy=new $,A._onChange=function(){},A._onTouched=function(){},A._valueId="mat-select-value-".concat(UT++),A._panelDoneAnimatingStream=new $,A._overlayPanelClass=(null===(T=A._defaultOptions)||void 0===T?void 0:T.overlayPanelClass)||"",A._focused=!1,A.controlType="mat-select",A._required=!1,A._multiple=!1,A._disableOptionCentering=null!==(z=null===(N=A._defaultOptions)||void 0===N?void 0:N.disableOptionCentering)&&void 0!==z&&z,A.ariaLabel="",A.optionSelectionChanges=B_(function(){var Y=A.options;return Y?Y.changes.pipe(st(Y),Hr(function(){return $e.apply(void 0,we(Y.map(function(le){return le.onSelectionChange})))})):A._ngZone.onStable.pipe(gt(1),Hr(function(){return A.optionSelectionChanges}))}),A.openedChange=new j,A._openedStream=A.openedChange.pipe(tt(function(Y){return Y}),dt(function(){})),A._closedStream=A.openedChange.pipe(tt(function(Y){return!Y}),dt(function(){})),A.selectionChange=new j,A.valueChange=new j,A.ngControl&&(A.ngControl.valueAccessor=A),null!=(null==D?void 0:D.typeaheadDebounceInterval)&&(A._typeaheadDebounceInterval=D.typeaheadDebounceInterval),A._scrollStrategyFactory=b,A._scrollStrategy=A._scrollStrategyFactory(),A.tabIndex=parseInt(_)||0,A.id=A.id,A}return k(e,i),f(e,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(r){this._placeholder=r,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(r){this._required=W(r),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(r){this._multiple=W(r)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(r){this._disableOptionCentering=W(r)}},{key:"compareWith",get:function(){return this._compareWith},set:function(r){this._compareWith=r,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(r){(r!==this._value||this._multiple&&Array.isArray(r))&&(this.options&&this._setSelectionByValue(r),this._value=r)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(r){this._typeaheadDebounceInterval=qe(r)}},{key:"id",get:function(){return this._id},set:function(r){this._id=r||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var r=this;this._selectionModel=new Vu(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ho(),fe(this._destroy)).subscribe(function(){return r._panelDoneAnimating(r.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var r=this;this._initKeyManager(),this._selectionModel.changed.pipe(fe(this._destroy)).subscribe(function(a){a.added.forEach(function(o){return o.select()}),a.removed.forEach(function(o){return o.deselect()})}),this.options.changes.pipe(st(null),fe(this._destroy)).subscribe(function(){r._resetOptions(),r._initializeSelection()})}},{key:"ngDoCheck",value:function(){var r=this._getTriggerAriaLabelledby();if(r!==this._triggerAriaLabelledBy){var a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=r,r?a.setAttribute("aria-labelledby",r):a.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(r){r.disabled&&this.stateChanges.next(),r.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(r){this.value=r}},{key:"registerOnChange",value:function(r){this._onChange=r}},{key:"registerOnTouched",value:function(r){this._onTouched=r}},{key:"setDisabledState",value:function(r){this.disabled=r,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var r,a;return this.multiple?(null===(r=this._selectionModel)||void 0===r?void 0:r.selected)||[]:null===(a=this._selectionModel)||void 0===a?void 0:a.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var r=this._selectionModel.selected.map(function(a){return a.viewValue});return this._isRtl()&&r.reverse(),r.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(r){this.disabled||(this.panelOpen?this._handleOpenKeydown(r):this._handleClosedKeydown(r))}},{key:"_handleClosedKeydown",value:function(r){var a=r.keyCode,o=40===a||38===a||37===a||39===a,s=13===a||32===a,l=this._keyManager;if(!l.isTyping()&&s&&!Ft(r)||(this.multiple||r.altKey)&&o)r.preventDefault(),this.open();else if(!this.multiple){var u=this.selected;l.onKeydown(r);var c=this.selected;c&&u!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(r){var a=this._keyManager,o=r.keyCode,s=40===o||38===o,l=a.isTyping();if(s&&r.altKey)r.preventDefault(),this.close();else if(l||13!==o&&32!==o||!a.activeItem||Ft(r))if(!l&&this._multiple&&65===o&&r.ctrlKey){r.preventDefault();var u=this.options.some(function(d){return!d.disabled&&!d.selected});this.options.forEach(function(d){d.disabled||(u?d.select():d.deselect())})}else{var c=a.activeItemIndex;a.onKeydown(r),this._multiple&&s&&r.shiftKey&&a.activeItem&&a.activeItemIndex!==c&&a.activeItem._selectViaInteraction()}else r.preventDefault(),a.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var r=this;this._overlayDir.positionChange.pipe(gt(1)).subscribe(function(){r._changeDetectorRef.detectChanges(),r._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var r=this;Promise.resolve().then(function(){r._setSelectionByValue(r.ngControl?r.ngControl.value:r._value),r.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(r){var a=this;if(this._selectionModel.selected.forEach(function(s){return s.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&r)Array.isArray(r),r.forEach(function(s){return a._selectValue(s)}),this._sortValues();else{var o=this._selectValue(r);o?this._keyManager.updateActiveItem(o):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(r){var a=this,o=this.options.find(function(s){if(a._selectionModel.isSelected(s))return!1;try{return null!=s.value&&a._compareWith(s.value,r)}catch(l){return!1}});return o&&this._selectionModel.select(o),o}},{key:"_initKeyManager",value:function(){var r=this;this._keyManager=new H0(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(fe(this._destroy)).subscribe(function(){r.panelOpen&&(!r.multiple&&r._keyManager.activeItem&&r._keyManager.activeItem._selectViaInteraction(),r.focus(),r.close())}),this._keyManager.change.pipe(fe(this._destroy)).subscribe(function(){r._panelOpen&&r.panel?r._scrollOptionIntoView(r._keyManager.activeItemIndex||0):!r._panelOpen&&!r.multiple&&r._keyManager.activeItem&&r._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var r=this,a=$e(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fe(a)).subscribe(function(o){r._onSelect(o.source,o.isUserInput),o.isUserInput&&!r.multiple&&r._panelOpen&&(r.close(),r.focus())}),$e.apply(void 0,we(this.options.map(function(o){return o._stateChanges}))).pipe(fe(a)).subscribe(function(){r._changeDetectorRef.markForCheck(),r.stateChanges.next()})}},{key:"_onSelect",value:function(r,a){var o=this._selectionModel.isSelected(r);null!=r.value||this._multiple?(o!==r.selected&&(r.selected?this._selectionModel.select(r):this._selectionModel.deselect(r)),a&&this._keyManager.setActiveItem(r),this.multiple&&(this._sortValues(),a&&this.focus())):(r.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(r.value)),o!==this._selectionModel.isSelected(r)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var r=this;if(this.multiple){var a=this.options.toArray();this._selectionModel.sort(function(o,s){return r.sortComparator?r.sortComparator(o,s,a):a.indexOf(o)-a.indexOf(s)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(r){var a;a=this.multiple?this.selected.map(function(o){return o.value}):this.selected?this.selected.value:r,this._value=a,this.valueChange.emit(a),this._onChange(a),this.selectionChange.emit(this._getChangeEvent(a)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var r;return!this._panelOpen&&!this.disabled&&(null===(r=this.options)||void 0===r?void 0:r.length)>0}},{key:"focus",value:function(r){this._elementRef.nativeElement.focus(r)}},{key:"_getPanelAriaLabelledby",value:function(){var r;if(this.ariaLabel)return null;var a=null===(r=this._parentFormField)||void 0===r?void 0:r.getLabelId();return this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var r;if(this.ariaLabel)return null;var a=null===(r=this._parentFormField)||void 0===r?void 0:r.getLabelId(),o=(a?a+" ":"")+this._valueId;return this.ariaLabelledby&&(o+=" "+this.ariaLabelledby),o}},{key:"_panelDoneAnimating",value:function(r){this.openedChange.emit(r)}},{key:"setDescribedByIds",value:function(r){this._ariaDescribedby=r.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}])}(_J);return t.\u0275fac=function(e){return new(e||t)(m(Vn),m(ve),m(ue),m(Ki),m(P),m(Ke,8),m(Ur,8),m(jr,8),m(zs,8),m(_i,10),zt("tabindex"),m(zT),m(K0),m(gJ,8))},t.\u0275dir=E({type:t,viewQuery:function(e,n){var r;1&e&&(me(iJ,5),me(rJ,5),me(Ux,5)),2&e&&(L(r=B())&&(n.trigger=r.first),L(r=B())&&(n.panel=r.first),L(r=B())&&(n._overlayDir=r.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[R,Te]}),t}(),YT=function(){var t=function(i){function e(){var n;return h(this,e),(n=HT(this,e,arguments))._scrollTop=0,n._triggerFontSize=0,n._transformOrigin="top",n._offsetY=0,n._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],n}return k(e,i),f(e,[{key:"_calculateOverlayScroll",value:function(r,a,o){var s=this._getItemHeight();return Math.min(Math.max(0,s*r-a+s/2),o)}},{key:"ngOnInit",value:function(){var r=this;J(M(e.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(fe(this._destroy)).subscribe(function(){r.panelOpen&&(r._triggerRect=r.trigger.nativeElement.getBoundingClientRect(),r._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var r=this;J(M(e.prototype),"_canOpen",this).call(this)&&(J(M(e.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(gt(1)).subscribe(function(){r._triggerFontSize&&r._overlayDir.overlayRef&&r._overlayDir.overlayRef.overlayElement&&(r._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(r._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(r){var a=N_(r,this.options,this.optionGroups),o=this._getItemHeight();this.panel.nativeElement.scrollTop=0===r&&1===a?0:function(t,i,e,n){return t<e?t:t+i>e+n?Math.max(0,t-n+i):e}((r+a)*o,o,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(r){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),J(M(e.prototype),"_panelDoneAnimating",this).call(this,r)}},{key:"_getChangeEvent",value:function(r){return new vJ(this,r)}},{key:"_calculateOverlayOffsetX",value:function(){var l,r=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),a=this._viewportRuler.getViewportSize(),o=this._isRtl(),s=this.multiple?56:32;if(this.multiple)l=40;else if(this.disableOptionCentering)l=16;else{var u=this._selectionModel.selected[0]||this.options.first;l=u&&u.group?32:16}o||(l*=-1);var c=0-(r.left+l-(o?s:0)),d=r.right+l-a.width+(o?0:s);c>0?l+=c+8:d>0&&(l-=d+8),this._overlayDir.offsetX=Math.round(l),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(r,a,o){var c,s=this._getItemHeight(),l=(s-this._triggerRect.height)/2,u=Math.floor(256/s);return this.disableOptionCentering?0:(c=0===this._scrollTop?r*s:this._scrollTop===o?(r-(this._getItemCount()-u))*s+(s-(this._getItemCount()*s-256)%s):a-s/2,Math.round(-1*c-l))}},{key:"_checkOverlayWithinViewport",value:function(r){var a=this._getItemHeight(),o=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-8,l=o.height-this._triggerRect.bottom-8,u=Math.abs(this._offsetY),d=Math.min(this._getItemCount()*a,256)-u-this._triggerRect.height;d>l?this._adjustPanelUp(d,l):u>s?this._adjustPanelDown(u,s,r):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(r,a){var o=Math.round(r-a);this._scrollTop-=o,this._offsetY-=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(r,a,o){var s=Math.round(r-a);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=o)return this._scrollTop=o,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var u,r=this._getItemHeight(),a=this._getItemCount(),o=Math.min(a*r,256),l=a*r-o;u=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),u+=N_(u,this.options,this.optionGroups);var c=o/2;this._scrollTop=this._calculateOverlayScroll(u,c,l),this._offsetY=this._calculateOverlayOffsetY(u,c,l),this._checkOverlayWithinViewport(l)}},{key:"_getOriginBasedOnOption",value:function(){var r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.abs(this._offsetY)-a+r/2;return"50% ".concat(o,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}])}(yJ);return t.\u0275fac=function(){var i;return function(n){return(i||(i=X(t)))(n||t)}}(),t.\u0275cmp=ee({type:t,selectors:[["mat-select"]],contentQueries:function(e,n,r){var a;1&e&&(pe(r,WT,5),pe(r,Hf,5),pe(r,Vf,5)),2&e&&(L(a=B())&&(n.customTrigger=a.first),L(a=B())&&(n.options=a),L(a=B())&&(n.optionGroups=a))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,n){1&e&&q("keydown",function(a){return n._handleKeydown(a)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&e&&(Z("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-describedby",n._ariaDescribedby||null)("aria-activedescendant",n._getAriaActiveDescendant()),re("mat-select-disabled",n.disabled)("mat-select-invalid",n.errorState)("mat-select-required",n.required)("mat-select-empty",n.empty)("mat-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[K([{provide:js,useExisting:t},{provide:Bf,useExisting:t}]),R],ngContentSelectors:dJ,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,n){if(1&e&&(Ce(cJ),p(0,"div",0,1),q("click",function(){return n.toggle()}),p(3,"div",2),F(4,aJ,2,1,"span",3),F(5,lJ,3,2,"span",4),g(),p(6,"div",5),H(7,"div",6),g(),g(),F(8,uJ,4,14,"ng-template",7),q("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&e){var r=function(t){return Uo(Se.lFrame.contextLView,20+t)}(1);Z("aria-owns",n.panelOpen?n.id+"-panel":null),y(3),S("ngSwitch",n.empty),Z("id",n._valueId),y(1),S("ngSwitchCase",!0),y(1),S("ngSwitchCase",!1),y(3),S("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)("cdkConnectedOverlayOffsetY",n._offsetY)}},directives:[bQ,hr,da,Ux,sv,hi],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[GT.transformPanelWrap,GT.transformPanel]},changeDetection:0}),t}(),Zu=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[mJ],imports:[[ht,wa,Gf,he],Gr,Pu,Gf,he]}),t}();function bJ(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var CJ=function(t){function i(){return h(this,i),bJ(this,i,arguments)}return k(i,t),f(i,[{key:"notifyNext",value:function(n,r,a,o,s){this.destination.next(r)}},{key:"notifyError",value:function(n,r){this.destination.error(n)}},{key:"notifyComplete",value:function(n){this.destination.complete()}}])}(kt),wJ=function(t){function i(e,n,r){var a;return h(this,i),a=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,[],M(t).constructor):i.apply(t,e))}(this,i),a.parent=e,a.outerValue=n,a.outerIndex=r,a.index=0,a}return k(i,t),f(i,[{key:"_next",value:function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}},{key:"_error",value:function(n){this.parent.notifyError(n,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}])}(kt);function MJ(t,i,e,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new wJ(t,e,n);if(!r.closed)return i instanceof Ze?i.subscribe(r):op(i)(r)}var qT={};var Xs,DJ=function(){return f(function t(i){h(this,t),this.resultSelector=i},[{key:"call",value:function(e,n){return n.subscribe(new EJ(e,this.resultSelector))}}])}(),EJ=function(t){function i(e,n){var r;return h(this,i),r=function(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}(this,i,[e]),r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return k(i,t),f(i,[{key:"_next",value:function(n){this.values.push(qT),this.observables.push(n)}},{key:"_complete",value:function(){var n=this.observables,r=n.length;if(0===r)this.destination.complete();else{this.active=r,this.toRespond=r;for(var a=0;a<r;a++)this.add(MJ(this,n[a],void 0,a))}}},{key:"notifyComplete",value:function(n){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(n,r,a){var o=this.values,l=this.toRespond?o[a]===qT?--this.toRespond:this.toRespond:0;o[a]=r,0===l&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}},{key:"_tryResultSelector",value:function(n){var r;try{r=this.resultSelector.apply(this,n)}catch(a){return void this.destination.error(a)}this.destination.next(r)}}])}(CJ),QT=new Set,KT=function(){var t=function(){return f(function i(e){h(this,i),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xJ},[{key:"matchMedia",value:function(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(!QT.has(t))try{Xs||((Xs=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Xs)),Xs.sheet&&(Xs.sheet.insertRule("@media ".concat(t," {body{ }}"),0),QT.add(t))}catch(i){console.error(i)}}(n),this._matchMedia(n)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Ie))},t.\u0275prov=U({factory:function(){return new t(x(Ie))},token:t,providedIn:"root"}),t}();function xJ(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var $T=function(){var t=function(){return f(function i(e,n){h(this,i),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new $},[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(n){var r=this;return XT(ef(n)).some(function(o){return r._registerQuery(o).mql.matches})}},{key:"observe",value:function(n){var r=this,s=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=void 0,r=void 0;return Po(i[i.length-1])&&(r=i.pop()),"function"==typeof i[i.length-1]&&(n=i.pop()),1===i.length&&Oo(i[0])&&(i=i[0]),up(i,r).lift(new DJ(n))}(XT(ef(n)).map(function(l){return r._registerQuery(l).observable}));return(s=Jv(s.pipe(gt(1)),s.pipe(x0(1),af(0)))).pipe(dt(function(l){var u={matches:!1,breakpoints:{}};return l.forEach(function(c){var d=c.matches,v=c.query;u.matches=u.matches||d,u.breakpoints[v]=d}),u}))}},{key:"_registerQuery",value:function(n){var r=this;if(this._queries.has(n))return this._queries.get(n);var a=this._mediaMatcher.matchMedia(n),s={observable:new Ze(function(l){var u=function(d){return r._zone.run(function(){return l.next(d)})};return a.addListener(u),function(){a.removeListener(u)}}).pipe(st(a),dt(function(l){return{query:n,matches:l.matches}}),fe(this._destroySubject)),mql:a};return this._queries.set(n,s),s}}])}();return t.\u0275fac=function(e){return new(e||t)(x(KT),x(ue))},t.\u0275prov=U({factory:function(){return new t(x(KT),x(ue))},token:t,providedIn:"root"}),t}();function XT(t){return t.map(function(i){return i.split(",")}).reduce(function(i,e){return i.concat(e)}).map(function(i){return i.trim()})}function JT(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}var TJ={tooltipState:Pt("state",[Re("initial, void, hidden",ce({opacity:0,transform:"scale(0)"})),Re("visible",ce({transform:"scale(1)"})),Ge("* => visible",ze("200ms cubic-bezier(0, 0, 0.2, 1)",go([ce({opacity:0,transform:"scale(0)",offset:0}),ce({opacity:.5,transform:"scale(0.99)",offset:.5}),ce({opacity:1,transform:"scale(1)",offset:1})]))),Ge("* => hidden",ze("100ms cubic-bezier(0, 0, 0.2, 1)",ce({opacity:0})))])},ZT="tooltip-panel",eI=ma({passive:!0}),tI=new V("mat-tooltip-scroll-strategy"),FJ={provide:tI,deps:[Cn],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},PJ=new V("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),LJ=function(){var t=function(){return f(function i(e,n,r,a,o,s,l,u,c,d,v,_){var b=this;h(this,i),this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=s,this._ariaDescriber=l,this._focusMonitor=u,this._dir=d,this._defaultOptions=v,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new $,this._handleKeydown=function(C){b._isTooltipVisible()&&27===C.keyCode&&!Ft(C)&&(C.preventDefault(),C.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))},this._scrollStrategy=c,this._document=_,v&&(v.position&&(this.position=v.position),v.touchGestures&&(this.touchGestures=v.touchGestures)),d.change.pipe(fe(this._destroyed)).subscribe(function(){b._overlayRef&&b._updatePosition(b._overlayRef)}),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",b._handleKeydown)})},[{key:"position",get:function(){return this._position},set:function(n){var r;n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(r=this._tooltipInstance)||void 0===r||r.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=W(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(n){var r=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=n?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){r._ariaDescriber.describe(r._elementRef.nativeElement,r.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var n=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fe(this._destroyed)).subscribe(function(r){r?"keyboard"===r&&n._ngZone.run(function(){return n.show()}):n._ngZone.run(function(){return n.hide(0)})})}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),n.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(r){var a=Be(r,2);n.removeEventListener(a[0],a[1],eI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}},{key:"show",value:function(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var a=this._createOverlay();this._detach(),this._portal=this._portal||new Ys(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=a.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(fe(this._destroyed)).subscribe(function(){return n._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(r)}}},{key:"hide",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(n)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var n=this;if(this._overlayRef)return this._overlayRef;var r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return a.positionChanges.pipe(fe(this._destroyed)).subscribe(function(o){n._updateCurrentPositionClass(o.connectionPair),n._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:"".concat(this._cssClassPrefix,"-").concat(ZT),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fe(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef.outsidePointerEvents().pipe(fe(this._destroyed)).subscribe(function(){var o;return null===(o=n._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(n){var r=n.getConfig().positionStrategy,a=this._getOrigin(),o=this._getOverlayPosition();r.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),o.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),o.fallback))])}},{key:"_addOffset",value:function(n){return n}},{key:"_getOrigin",value:function(){var a,n=!this._dir||"ltr"==this._dir.value,r=this.position;"above"==r||"below"==r?a={originX:"center",originY:"above"==r?"top":"bottom"}:"before"==r||"left"==r&&n||"right"==r&&!n?a={originX:"start",originY:"center"}:("after"==r||"right"==r&&n||"left"==r&&!n)&&(a={originX:"end",originY:"center"});var o=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:o.x,originY:o.y}}}},{key:"_getOverlayPosition",value:function(){var a,n=!this._dir||"ltr"==this._dir.value,r=this.position;"above"==r?a={overlayX:"center",overlayY:"bottom"}:"below"==r?a={overlayX:"center",overlayY:"top"}:"before"==r||"left"==r&&n||"right"==r&&!n?a={overlayX:"end",overlayY:"center"}:("after"==r||"right"==r&&n||"left"==r&&!n)&&(a={overlayX:"start",overlayY:"center"});var o=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:o.x,overlayY:o.y}}}},{key:"_updateTooltipMessage",value:function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(gt(1),fe(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(n,r){return"above"===this.position||"below"===this.position?"top"===r?r="bottom":"bottom"===r&&(r="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:r}}},{key:"_updateCurrentPositionClass",value:function(n){var s,r=n.overlayY,a=n.originX;if((s="center"===r?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===r&&"top"===n.originY?"above":"below")!==this._currentPosition){var l=this._overlayRef;if(l){var u="".concat(this._cssClassPrefix,"-").concat(ZT,"-");l.removePanelClass(u+this._currentPosition),l.addPanelClass(u+s)}this._currentPosition=s}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var n=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){n._setupPointerExitEventsIfNeeded(),n.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){n._setupPointerExitEventsIfNeeded(),clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var r,n=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var a=[];if(this._platformSupportsMouseEvents())a.push(["mouseleave",function(){return n.hide()}],["wheel",function(s){return n._wheelListener(s)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var o=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};a.push(["touchend",o],["touchcancel",o])}this._addListeners(a),(r=this._passiveListeners).push.apply(r,a)}}},{key:"_addListeners",value:function(n){var r=this;n.forEach(function(a){var o=Be(a,2);r._elementRef.nativeElement.addEventListener(o[0],o[1],eI)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(n){if(this._isTooltipVisible()){var r=this._document.elementFromPoint(n.clientX,n.clientY),a=this._elementRef.nativeElement;r!==a&&!a.contains(r)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var n=this.touchGestures;if("off"!==n){var r=this._elementRef.nativeElement,a=r.style;("on"===n||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===n||!r.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}])}();return t.\u0275fac=function(e){return new(e||t)(m(Cn),m(P),m(ba),m(Xe),m(ue),m(Ie),m(hf),m(Gt),m(void 0),m(Ke),m(void 0),m(oe))},t.\u0275dir=E({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t}(),nI=function(){var t=function(i){function e(n,r,a,o,s,l,u,c,d,v,_,b){var C;return h(this,e),(C=JT(this,e,[n,r,a,o,s,l,u,c,d,v,_,b]))._tooltipComponent=VJ,C}return k(e,i),f(e)}(LJ);return t.\u0275fac=function(e){return new(e||t)(m(Cn),m(P),m(ba),m(Xe),m(ue),m(Ie),m(hf),m(Gt),m(tI),m(Ke,8),m(PJ,8),m(oe))},t.\u0275dir=E({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[R]}),t}(),BJ=function(){var t=function(){return f(function i(e){h(this,i),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new $},[{key:"show",value:function(n){var r=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){r._visibility="visible",r._showTimeoutId=void 0,r._onShow(),r._markForCheck()},n)}},{key:"hide",value:function(n){var r=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){r._visibility="hidden",r._hideTimeoutId=void 0,r._markForCheck()},n)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(n){var r=n.toState;"hidden"===r&&!this.isVisible()&&this._onHide.next(),("visible"===r||"hidden"===r)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}])}();return t.\u0275fac=function(e){return new(e||t)(m(ve))},t.\u0275dir=E({type:t}),t}(),VJ=function(){var t=function(i){function e(n,r){var a;return h(this,e),(a=JT(this,e,[n]))._breakpointObserver=r,a._isHandset=a._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),a}return k(e,i),f(e)}(BJ);return t.\u0275fac=function(e){return new(e||t)(m(ve),m($T))},t.\u0275cmp=ee({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){2&e&&Dt("zoom","visible"===n._visibility?1:null)},features:[R],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,n){var r;1&e&&(p(0,"div",0),q("@state.start",function(){return n._animationStart()})("@state.done",function(o){return n._animationDone(o)}),to(1,"async"),w(2),g()),2&e&&(re("mat-tooltip-handset",null==(r=no(1,5,n._isHandset))?null:r.matches),S("ngClass",n.tooltipClass)("@state",n._visibility),y(2),Ue(n.message))},directives:[hi],pipes:[uv],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[TJ.tooltipState]},changeDetection:0}),t}(),ec=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[FJ],imports:[[mf,ht,wa,he],he,Gr]}),t}(),tc=function(){var t=f(function i(){h(this,i),this.changes=new $,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,n,r){if(0==r||0==n)return"0 of ".concat(r);var a=e*n,o=a<(r=Math.max(r,0))?Math.min(a+n,r):a+n;return"".concat(a+1," \u2013 ").concat(o," of ").concat(r)}});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),qJ={provide:tc,deps:[[new Jt,new Ln,tc]],useFactory:function(t){return t||new tc}},kh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[qJ],imports:[[ht,Aa,Zu,ec,he]]}),t}();function rI(t,i,e){return i=M(i),ne(t,te()?Reflect.construct(i,e||[],M(t).constructor):i.apply(t,e))}function JJ(t,i){if(1&t&&(nn(),H(0,"circle",3)),2&t){var e=O();Dt("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Z("r",e._getCircleRadius())}}function ZJ(t,i){if(1&t&&(nn(),H(0,"circle",3)),2&t){var e=O();Dt("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Z("r",e._getCircleRadius())}}function eZ(t,i){if(1&t&&(nn(),H(0,"circle",3)),2&t){var e=O();Dt("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Z("r",e._getCircleRadius())}}function tZ(t,i){if(1&t&&(nn(),H(0,"circle",3)),2&t){var e=O();Dt("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Z("r",e._getCircleRadius())}}var aI=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",iZ=Xn(function(){return f(function t(i){h(this,t),this._elementRef=i})}(),"primary"),oI=new V("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),oZ=function(){var t=function(i){function e(n,r,a,o,s){var l;h(this,e),(l=rI(this,e,[n]))._document=a,l._diameter=100,l._value=0,l._fallbackAnimation=!1,l.mode="determinate";var u=e._diameters;return l._spinnerAnimationLabel=l._getSpinnerAnimationLabel(),u.has(a.head)||u.set(a.head,new Set([100])),l._fallbackAnimation=r.EDGE||r.TRIDENT,l._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(l.diameter=s.diameter),s.strokeWidth&&(l.strokeWidth=s.strokeWidth)),l}return k(e,i),f(e,[{key:"diameter",get:function(){return this._diameter},set:function(r){this._diameter=qe(r),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(r){this._strokeWidth=qe(r)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(r){this._value=Math.max(0,Math.min(100,qe(r)))}},{key:"ngOnInit",value:function(){var r=this._elementRef.nativeElement;this._styleRoot=O0(r)||this._document.head,this._attachStyleNode();var a="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");r.classList.add(a)}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var r=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(r," ").concat(r)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var r=this._styleRoot,a=this._diameter,o=e._diameters,s=o.get(r);if(!s||!s.has(a)){var l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),r.appendChild(l),s||(s=new Set,o.set(r,s)),s.add(a)}}},{key:"_getAnimationText",value:function(){var r=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,"".concat(.95*r)).replace(/END_VALUE/g,"".concat(.2*r)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}])}(iZ);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Ie),m(oe,8),m(at,8),m(oI))},t.\u0275cmp=ee({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,n){2&e&&(Z("aria-valuemin","determinate"===n.mode?0:null)("aria-valuemax","determinate"===n.mode?100:null)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),Dt("width",n.diameter,"px")("height",n.diameter,"px"),re("_mat-animation-noopable",n._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[R],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,n){1&e&&(nn(),p(0,"svg",0),F(1,JJ,1,9,"circle",1),F(2,ZJ,1,7,"circle",2),g()),2&e&&(Dt("width",n.diameter,"px")("height",n.diameter,"px"),S("ngSwitch","indeterminate"===n.mode),Z("viewBox",n._getViewBox()),y(1),S("ngSwitchCase",!0),y(1),S("ngSwitchCase",!1))},directives:[hr,da],styles:[aI],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t}(),sZ=function(){var t=function(i){function e(n,r,a,o,s){var l;return h(this,e),(l=rI(this,e,[n,r,a,o,s])).mode="indeterminate",l}return k(e,i),f(e)}(oZ);return t.\u0275fac=function(e){return new(e||t)(m(P),m(Ie),m(oe,8),m(at,8),m(oI))},t.\u0275cmp=ee({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,n){2&e&&(Dt("width",n.diameter,"px")("height",n.diameter,"px"),re("_mat-animation-noopable",n._noopAnimations))},inputs:{color:"color"},features:[R],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,n){1&e&&(nn(),p(0,"svg",0),F(1,eZ,1,9,"circle",1),F(2,tZ,1,7,"circle",2),g()),2&e&&(Dt("width",n.diameter,"px")("height",n.diameter,"px"),S("ngSwitch","indeterminate"===n.mode),Z("viewBox",n._getViewBox()),y(1),S("ngSwitchCase",!0),y(1),S("ngSwitchCase",!1))},directives:[hr,da],styles:[aI],encapsulation:2,changeDetection:0}),t}(),wh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he,ht],he]}),t}(),Eh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he,Ns,Gr],Gr,he]}),t}(),Ah=function(){var t=f(function i(){h(this,i),this.changes=new $});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),IZ={provide:Ah,deps:[[new Jt,new Ln,Ah]],useFactory:function(t){return t||new Ah}},xh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[IZ],imports:[[ht,he]]}),t}(),qy=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[G_]]}),t}(),Vh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[qy,he],he]}),t}(),Gh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he,ka,vi,Eu,mf],he]}),t}(),Uh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he],he]}),t}(),jh=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[wa,ka,ht,Aa,he],he]}),t}();function ete(t,i){1&t&&(p(0,"div",4),H(1,"mat-spinner"),g())}function tte(t,i){1&t&&(p(0,"mat-icon",13),w(1,"check_circle"),g())}function nte(t,i){1&t&&(p(0,"mat-icon",14),w(1,"info"),g())}function ite(t,i){if(1&t&&(p(0,"div",10),F(1,tte,2,0,"mat-icon",11),F(2,nte,2,0,"mat-icon",12),p(3,"span"),p(4,"b"),w(5),g(),w(6),g(),g()),2&t){var e=i.$implicit;y(1),S("ngIf",e.isSuccess),y(1),S("ngIf",!e.isSuccess),y(3),Ue(e.productName),y(1),gn("\xa0",e.message," ")}}function rte(t,i){if(1&t){var e=ut();p(0,"div"),p(1,"div",5),p(2,"button",6),q("click",function(){return Ne(e),O(2).close()}),p(3,"mat-icon"),w(4,"close"),g(),g(),g(),p(5,"div"),F(6,ite,7,4,"div",7),g(),p(7,"div",8),p(8,"a",9),w(9," View Cart "),g(),g(),g()}if(2&t){var n=O(2);y(6),S("ngForOf",n.validationResults),y(2),S("href",n.viewCartUrl,I)}}var ate=function(i,e){return{success:i,fail:e}};function ote(t,i){if(1&t&&(p(0,"div",1),F(1,ete,2,0,"div",2),F(2,rte,10,2,"div",3),g()),2&t){var e=O();S("ngClass",nu(3,ate,e.isAllSuccess,!e.isAllSuccess)),y(1),S("ngIf",e.loading),y(1),S("ngIf",!e.loading)}}var HI=function(){var t=function(){return f(function i(){h(this,i)},[{key:"trackEventMultipleProducts",value:function(n,r,a){if(window.ga&&a.forEach(function(l){window.ga("send","event",n,r,l.productName,l.price)}),window.dataLayer&&void 0!==a){var o=[];a.forEach(function(l){o.push({item_id:l.productId,item_name:l.productName,price:l.price,quantity:1})});var s=a.reduce(function(l,u){return l+u.price},0);window.dataLayer.push({event:r,ecommerce:{currency:"USD",value:s,items:o}})}}},{key:"trackEvent",value:function(n,r,a,o,s){window.ga&&(console.log("ga",n,r,o,s),window.ga("send","event",n,r,o,s)),window.dataLayer&&null!=a&&null!=o&&null!=s&&(console.log("dataLayer",r,o,s),window.dataLayer.push({event:r,ecommerce:{currency:"USD",value:s,items:[{item_id:a,item_name:o,price:s,quantity:1}]}}))}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),GI=function(){var t=function(){return f(function i(e,n,r){h(this,i),this.httpClient=e,this.impersonateService=n,this.trackingService=r,this.options={withCredentials:!1},this.authQs="",this.authQs=n.getAuthQs()},[{key:"tryAddProductToCart",value:function(n,r,a,o){var s=this,l={p:r.project,c:r.coupon,oc:r.offerCode,rid:r.resellerId,kitId:a,productId:o,ev:r.productPrice};return this.httpClient.get("/api/shoppingCart/cart/".concat(o,"/getProduct").concat(this.authQs)).subscribe(function(u){s.trackingService.trackEvent("Add To Cart","add_to_cart",o,u.productName,u.price)}),this.httpClient.post("/api/shoppingCart/cart/".concat(n,"/addProduct").concat(this.authQs),l,this.options)}},{key:"tryAddProductsToCart",value:function(n,r,a,o){var s=this,l={p:r.project,c:r.coupon,oc:r.offerCode,rid:r.resellerId,kitId:a,productIds:o},u=[],c=o.length,d=0;return o.forEach(function(v){s.httpClient.get("/api/shoppingCart/cart/".concat(v,"/getProduct").concat(s.authQs)).subscribe(function(_){d++,u.push(_),d===c&&s.trackingService.trackEventMultipleProducts("Add To Cart","add_to_cart",u)})}),this.httpClient.post("/api/shoppingCart/cart/".concat(n,"/addProducts").concat(this.authQs),l,this.options)}}])}();return t.\u0275fac=function(e){return new(e||t)(x(Or),x(uo),x(HI))},t.\u0275prov=U({factory:function(){return new t(x(Or),x(uo),x(HI))},token:t,providedIn:"root"}),t}(),ste=function(){var t=function(){return f(function i(e,n){h(this,i),this.addToCartService=e,this.ftdnaImpersonationService=n,this.cartId=-1,this.cartKitId=-1,this.viewCartUrl="/cart",this.validationResults=[],this.isAllSuccess=!1,this.loading=!1,this.open=!1,this.initGlobalEventListener()},[{key:"ngOnInit",value:function(){this.viewCartUrl=this.ftdnaImpersonationService.addAuthQsToUrl(this.viewCartUrl)}},{key:"close",value:function(){this.open=!1}},{key:"initGlobalEventListener",value:function(){var n=this;window.addEventListener("try-add-to-cart",function(r){n.getAndTryAddProductToCart(r.detail.cartOptions)})}},{key:"getAndTryAddProductToCart",value:function(n){this.open=!0,this.loading=!0,this.validationResults=[],this.isAllSuccess=!1;var r=new URLSearchParams(window.location.search.toLowerCase());if(r.has("group")&&!n.project&&(n.project=r.get("group")),"string"==typeof n.productId&&n.productId.indexOf(",")>-1){var a=n.productId.split(",").map(function(s){return+s});this.tryAddProductsToCart(n,a)}else this.tryAddProductToCart(n,+n.productId)}},{key:"tryAddProductToCart",value:function(n,r){var a=this;this.addToCartService.tryAddProductToCart(this.cartId,n,this.cartKitId,r).subscribe(function(o){a.loading=!1,a.validationResults=o.productValidationResults.map(function(s){return{isSuccess:s.valid,productName:s.productName,message:s.reason+(s.additionalInfo?" "+s.additionalInfo:"")}}),a.cartId=o.id,a.cartKitId=o.kits[0].id,localStorage.cartId=a.cartId,a.isAllSuccess=a.validationResults.every(function(s){return s.isSuccess}),window.dispatchEvent(window.updateHeaderCartButtonEvent)})}},{key:"tryAddProductsToCart",value:function(n,r){var a=this;this.addToCartService.tryAddProductsToCart(this.cartId,n,this.cartKitId,r).subscribe(function(o){a.loading=!1,a.validationResults=o.productValidationResults.map(function(s){return{isSuccess:s.valid,productName:s.productName,message:s.reason+(s.additionalInfo?" "+s.additionalInfo:"")}}),a.cartId=o.id,a.cartKitId=o.kits[0].id,localStorage.cartId=a.cartId,a.isAllSuccess=a.validationResults.every(function(s){return s.isSuccess}),window.dispatchEvent(window.updateHeaderCartButtonEvent)})}}])}();return t.\u0275fac=function(e){return new(e||t)(m(GI),m(uo))},t.\u0275cmp=ee({type:t,selectors:[["ftdna-add-to-cart-handler"]],inputs:{cartId:"cartId",cartKitId:"cartKitId"},decls:1,vars:1,consts:[["class","add-to-cart-response-container",3,"ngClass",4,"ngIf"],[1,"add-to-cart-response-container",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",4,"ngIf"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","center center"],["fxLayout","row","fxLayoutAlign","end",1,"dialog-heading"],["mat-icon-button","",1,"dialog-action-item",3,"click"],["class","dialog-item","fxLayout","row","fxLayoutAlign","start start",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","end stretch",1,"dialog-actions"],["mat-flat-button","","color","accent",3,"href"],["fxLayout","row","fxLayoutAlign","start start",1,"dialog-item"],["class","dialog-icon success",4,"ngIf"],["class","dialog-icon fail",4,"ngIf"],[1,"dialog-icon","success"],[1,"dialog-icon","fail"]],template:function(e,n){1&e&&F(0,ote,3,6,"div",0),2&e&&S("ngIf",n.open)},directives:[Et,hi,d0,Pv,Nv,sZ,Ea,Ty,Ir,py],styles:[".add-to-cart-response-container[_ngcontent-%COMP%]{position:fixed;top:24px;right:24px;max-width:375px;min-width:300px;max-height:600px;overflow:auto;color:#212121;padding:32px;border-radius:2px;border-left:4px solid;background-color:#fff;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;z-index:9999}.add-to-cart-response-container.success[_ngcontent-%COMP%]{border-left-color:#00bbb4}.add-to-cart-response-container.fail[_ngcontent-%COMP%]{border-left-color:#0082ca}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-heading[_ngcontent-%COMP%]{margin-top:-32px;margin-right:-32px;padding:10px}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]{margin-bottom:14px;font-weight:400}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   .dialog-icon[_ngcontent-%COMP%]{margin-right:8px}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   .dialog-icon.success[_ngcontent-%COMP%]{color:#00bbb4}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   .dialog-icon.fail[_ngcontent-%COMP%]{color:#0082ca}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-actions[_ngcontent-%COMP%]{margin:14px -32px -32px;padding:10px;position:sticky;bottom:-32px;background-color:#fff}.add-to-cart-response-container[_ngcontent-%COMP%]   .dialog-actions[_ngcontent-%COMP%]   .dialog-action-item[_ngcontent-%COMP%]{margin-right:8px}"]}),t}(),lte=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[Pu,Ku,ah,Uh,yh,Zu,Aa,oh,Vh,xh,kh,hh,Qu,sh,Eh,mh,dh,Pf,Gh,wh,fh,rh,ec,jh]}),t}(),UI=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[GI],imports:[[ht,lte,D0,xv]]}),t}();function ute(t,i){if(1&t&&(p(0,"span",5),w(1),g()),2&t){var e=O();y(1),Ue(null==e.cartInfo?null:e.cartInfo.productsCount)}}var cte=function(){function t(i){this.service=i,this.cartInfo={kits:[],productsCount:0},this.initGlobalHeaderCartButtonEventListener()}return t.prototype.ngOnInit=function(){this.cartInfo={kits:[],productsCount:0},this.initiateCartInfoData()},t.prototype.ngOnChanges=function(){this.cartRelativeUrl=this.cartUrl},t.prototype.initGlobalHeaderCartButtonEventListener=function(){var i=this;"function"==typeof window.Event?window.updateHeaderCartButtonEvent=new Event("update-header-cart-btn"):(window.updateHeaderCartButtonEvent=document.createEvent("Event"),window.updateHeaderCartButtonEvent.initEvent("update-header-cart-btn",!0,!0)),window.addEventListener("update-header-cart-btn",function(e){i.initiateCartInfoData()})},t.prototype.initiateCartInfoData=function(){var i=this;this.cartId=localStorage.cartId&&!isNaN(localStorage.cartId)&&localStorage.cartId||-1,this.service.getSimpleCartInfo(this.cartId).subscribe(function(e){e?(i.cartInfo=e,i.cartKitId=e.kits?e.kits[0].id:-1):(i.cartInfo={kits:[],productsCount:0},i.cartKitId=-1)})},t.\u0275fac=function(e){return new(e||t)(m(Lv))},t.\u0275cmp=ee({type:t,selectors:[["app-header-shopping-cart"]],inputs:{cartUrl:"cartUrl"},features:[Te],decls:5,vars:4,consts:[[1,"show-cart","user-actions",3,"href"],[1,"shopping-cart"],[1,"mdi","mdi-cart-outline"],["class","badge cartCounter",4,"ngIf"],[3,"cartId","cartKitId"],[1,"badge","cartCounter"]],template:function(e,n){1&e&&(p(0,"a",0),p(1,"div",1),H(2,"i",2),F(3,ute,2,1,"span",3),g(),g(),H(4,"ftdna-add-to-cart-handler",4)),2&e&&(G("href",n.cartRelativeUrl,I),y(3),S("ngIf",n.cartInfo&&n.cartInfo.productsCount),y(1),S("cartId",n.cartId)("cartKitId",n.cartKitId))},directives:[Et,ste],encapsulation:2}),t}();function dte(t,i){if(1&t){var e=ut();p(0,"div",2),p(1,"div",3),p(2,"mat-icon"),w(3,"warning"),g(),p(4,"div",4),p(5,"div",5),w(6,"You have Limited Access Permission"),g(),p(7,"div",6),w(8," This member has Group Administrator Level Access set to Limited Access Permission. Certain features will be disabled or set to Read Only. For information regarding Access Levels and Permissions, please visit our "),p(9,"a",7),w(10,"Learning Center."),g(),g(),g(),g(),p(11,"button",8),q("click",function(){return Ne(e),O().toggleLimitedAccessPopup(!1)}),w(12,"Got it"),g(),g()}}var fte=function(){function t(){}return t.prototype.toggleLimitedAccessPopup=function(i){this.showLimitedAccessPopup=i||!this.showLimitedAccessPopup},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ee({type:t,selectors:[["app-limited-access"]],decls:3,vars:1,consts:[[1,"limited-access",3,"click"],["class","limited-access-container",4,"ngIf"],[1,"limited-access-container"],[1,"info-container"],[1,"copy-container"],[1,"title"],[1,"detail"],["href","https://learn.familytreedna.com/project-administration/group-administrator-access-levels-and-permissions/",1,"learning-center-link"],["mat-button","",3,"click"]],template:function(e,n){1&e&&(p(0,"div",0),q("click",function(){return n.toggleLimitedAccessPopup()}),w(1,"LIMITED ACCESS"),g(),F(2,dte,13,0,"div",1)),2&e&&(y(2),S("ngIf",n.showLimitedAccessPopup))},directives:[Et,Ty,Ea],styles:[".limited-access[_ngcontent-%COMP%]{background-color:#ff9015;height:15px;width:95px;font-size:10px;line-height:15px;text-align:center;border-radius:2px;margin:0 10px;color:#fff;cursor:pointer}.limited-access-container[_ngcontent-%COMP%]{box-shadow:0 18px 38px #00000043;position:fixed;top:50px;right:30px;background-color:#fff;border-left:4px solid #ff9015;width:375px;height:310px;z-index:5;color:#212121;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.limited-access-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:30px;margin-left:30px;margin-right:30px}.limited-access-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#ff9015;margin-right:10px}.limited-access-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .copy-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-size:16px;line-height:24px;white-space:normal;white-space:initial}.limited-access-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .copy-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:500}.limited-access-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .copy-container[_ngcontent-%COMP%]   .detail[_ngcontent-%COMP%]{font-weight:normal}.limited-access-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#fff;background-color:#004a98;margin-top:25px;margin-left:30px;margin-right:30px}.limited-access-container[_ngcontent-%COMP%]   .learning-center-link[_ngcontent-%COMP%]{padding:0;height:auto}"]}),t}(),jI=function(){function t(i){this.httpClient=i,this.options={withCredentials:!0}}return t.prototype.getNotifications=function(i,e){var n="//"+i+"/api/notification-feed/notifications?ekit="+encodeURIComponent(e);return this.httpClient.get(n,this.options)},t.prototype.markAllRead=function(i,e){var n="//"+i+"/api/notification-feed/all/mark-read?ekit="+encodeURIComponent(e);return this.httpClient.post(n,{},this.options)},t.\u0275prov=U({token:t,factory:t.\u0275fac=function(e){return new(e||t)(x(Or))}}),t}(),hte=[jI];function pte(t,i){if(1&t&&(p(0,"span",6),w(1),to(2,"async"),g()),2&t){var n,e=O();y(1),Ue(null==(n=no(2,1,e.notifications$))?null:n.length)}}function gte(t,i){if(1&t){var e=ut();p(0,"a",1),q("click",function(){return Ne(e),O(2).markAllNotificationsRead()}),w(1,"Mark all read"),g()}}function mte(t,i){if(1&t&&(p(0,"div",13),p(1,"a",14),H(2,"span"),p(3,"div"),H(4,"span",15),p(5,"span",16),w(6),g(),g(),g(),g()),2&t){var e=i.$implicit;y(1),G("href",e.navigateUrl,I),y(1),ud("badge ",e.source,""),y(2),S("innerHtml",e.content,pk),y(2),Ue(e.age)}}function vte(t,i){1&t&&(p(0,"div",17),p(1,"a"),p(2,"div"),p(3,"span",18),w(4,"There are no notifications."),g(),g(),g(),g())}function _te(t,i){if(1&t&&(p(0,"div",7),p(1,"div",8),p(2,"span"),w(3,"NOTIFICATIONS"),g(),F(4,gte,2,0,"a",9),to(5,"async"),g(),p(6,"div",10),F(7,mte,7,6,"div",11),to(8,"async"),F(9,vte,5,0,"div",12),to(10,"async"),g(),g()),2&t){var n,r,e=O();y(4),S("ngIf",null==(n=no(5,3,e.notifications$))?null:n.length),y(3),S("ngForOf",no(8,5,e.notifications$)),y(2),S("ngIf",0===(null==(r=no(10,7,e.notifications$))?null:r.length))}}var yte=function(){function t(i,e){this.elem=i,this.service=e,this.isNotificationsVisible=!1,this.notifications$=pt([])}return t.prototype.onClickOutside=function(i){this.elem.nativeElement.contains(i.target)||(this.isNotificationsVisible=!1)},t.prototype.ngOnChanges=function(i){var e=i.model;e&&!this.isEmptyObject(e.currentValue)&&this.getNotifications()},t.prototype.markAllNotificationsRead=function(){var i=this;this.service.markAllRead(this.model.wwwUrl,this.model.kitEncrypted).subscribe(function(e){i.isNotificationsVisible=!1,i.getNotifications()})},t.prototype.toggleNotifications=function(){this.isNotificationsVisible=!this.isNotificationsVisible},t.prototype.getNotifications=function(){this.notifications$=this.service.getNotifications(this.model.wwwUrl,this.model.kitEncrypted)},t.prototype.isEmptyObject=function(i){for(var e in i)if(i.hasOwnProperty(e))return!1;return!0},t.\u0275fac=function(e){return new(e||t)(m(P),m(jI))},t.\u0275cmp=ee({type:t,selectors:[["app-header-notifications"]],hostBindings:function(e,n){1&e&&q("click",function(a){return n.onClickOutside(a)},!1,kk)},inputs:{model:"model"},features:[Te],decls:7,vars:4,consts:[[1,"notifications"],[3,"click"],[1,"notifications-count"],[1,"mdi","mdi-bell-outline"],["class","badge",4,"ngIf"],["class","notifications-wrap",4,"ngIf"],[1,"badge"],[1,"notifications-wrap"],[1,"notifications-head"],[3,"click",4,"ngIf"],[1,"notifications-list"],["class","notification",4,"ngFor","ngForOf"],["class","notification empty",4,"ngIf"],[1,"notification"],[3,"href"],[1,"type",3,"innerHtml"],[1,"date"],[1,"notification","empty"],[1,"type"]],template:function(e,n){var r;(1&e&&(p(0,"div",0),p(1,"a",1),q("click",function(){return n.toggleNotifications()}),p(2,"div",2),H(3,"i",3),F(4,pte,3,3,"span",4),to(5,"async"),g(),g(),F(6,_te,11,9,"div",5),g()),2&e)&&(y(4),S("ngIf",null==(r=no(5,2,n.notifications$))?null:r.length),y(2),S("ngIf",n.isNotificationsVisible))},directives:[Et,Ir],pipes:[uv],encapsulation:2}),t}();function bte(t,i){if(1&t&&(p(0,"ul",1),p(1,"li",2),H(2,"app-header-shopping-cart",3),g(),p(3,"li",4),p(4,"a",5),w(5,"Sign In"),g(),g(),p(6,"li",6),p(7,"a"),w(8,"Help"),g(),p(9,"ul"),p(10,"li"),p(11,"a",7),H(12,"i",8),w(13,"Help Center "),g(),g(),p(14,"li"),p(15,"a",7),H(16,"i",9),w(17,"Contact Us "),g(),g(),g(),g(),g()),2&t){var e=O();y(2),S("cartUrl",e.urls.cartUrl),y(2),G("href",e.urls.signInUrl,I),y(7),G("href",e.urls.helpCenterUrl,I),y(4),G("href",e.urls.contactUrl,I)}}function Cte(t,i){if(1&t&&(p(0,"li",14),p(1,"a",15),w(2,"Add Ons & Upgrades"),g(),g()),2&t){var e=O(2);y(1),G("href",e.urls.upgradesUrl,I)}}function kte(t,i){1&t&&(p(0,"li",16),H(1,"app-limited-access"),g())}function wte(t,i){if(1&t&&(p(0,"li",16),H(1,"app-header-notifications",17),g()),2&t){var e=O(2);y(1),S("model",e.model)}}function Mte(t,i){if(1&t&&(p(0,"li",2),H(1,"app-header-shopping-cart",3),g()),2&t){var e=O(2);y(1),S("cartUrl",e.urls.cartUrl)}}function Ste(t,i){if(1&t&&H(0,"img",33),2&t){var e=O(3);S("ngClass",e.useShareMode?"blurred-image":"")("src",e.model.profilePictureLocation,I)}}function Dte(t,i){if(1&t){var e=ut();p(0,"li",18),p(1,"a"),p(2,"div",19),p(3,"div",20),F(4,Ste,1,2,"img",21),g(),p(5,"div",22),p(6,"div",23),w(7),g(),p(8,"div",24),w(9," Kit No. "),p(10,"div"),w(11),g(),g(),g(),H(12,"i",25),g(),g(),p(13,"ul"),p(14,"li"),p(15,"a",7),H(16,"i",26),w(17,"Account Settings "),g(),g(),p(18,"li"),p(19,"a",7),H(20,"i",27),w(21,"Order History "),g(),g(),p(22,"li"),p(23,"a",7),H(24,"i",8),w(25,"Help Center "),g(),g(),p(26,"li"),p(27,"a",7),nn(),p(28,"svg",28),H(29,"path",29),H(30,"path",30),g(),w(31," Contact Us "),g(),g(),Ha(),p(32,"li"),p(33,"a",31),q("click",function(){return Ne(e),O(2).signOut.emit()}),H(34,"i",32),w(35,"Sign Out "),g(),g(),g(),g()}if(2&t){var n=O(2);y(2),S("matTooltip",n.useShareMode?"Disable Share Mode from your Privacy Settings to view full details.":"")("matTooltipDisabled",!n.useShareMode),y(2),S("ngIf",n.model.profilePictureLocation),y(3),Ue(n.useShareMode?n.mask(n.model.kitName,n.model.kitLastName):n.model.kitName),y(4),Ue(n.useShareMode?n.mask(n.model.kitNum):n.model.kitNum),y(4),G("href",n.urls.accountSettingsUrl,I),y(4),G("href",n.urls.orderHistoryUrl,I),y(4),G("href",n.urls.helpCenterUrl,I),y(4),G("href",n.urls.contactUrl,I)}}function Ete(t,i){if(1&t){var e=ut();p(0,"li",18),p(1,"a"),p(2,"div",34),p(3,"div",22),p(4,"div",23),w(5),g(),p(6,"div",24),w(7," User: "),p(8,"div"),w(9),g(),g(),g(),H(10,"i",25),g(),g(),p(11,"ul",35),p(12,"li"),p(13,"a",7),H(14,"i",36),w(15,"Add Projects"),g(),g(),p(16,"li"),p(17,"a",7),H(18,"i",37),w(19,"Security"),g(),g(),p(20,"li"),p(21,"a",7),H(22,"i",38),w(23,"Contact Information"),g(),g(),p(24,"li",39),p(25,"a",7),H(26,"i",26),w(27,"My Settings"),g(),g(),p(28,"li"),p(29,"a",31),q("click",function(){return Ne(e),O(2).signOut.emit()}),H(30,"i",32),w(31,"Sign Out"),g(),g(),g(),g()}if(2&t){var n=O(2);y(5),Ue(n.model.kitName),y(4),Ue(n.model.kitNum),y(4),ke("href","//",n.urls.gapAddProjectsUrl,"",I),y(4),ke("href","//",n.urls.gapChangePasswordUrl,"",I),y(4),ke("href","//",n.urls.gapContactInformationUrl,"",I),y(4),ke("href","//",n.urls.gapMySettingsUrl,"",I)}}function Ate(t,i){if(1&t&&(p(0,"ul",1),F(1,Cte,3,1,"li",10),F(2,kte,2,0,"li",11),F(3,wte,2,1,"li",11),F(4,Mte,2,1,"li",12),F(5,Dte,36,9,"li",13),F(6,Ete,32,6,"li",13),g()),2&t){var e=O();y(1),S("ngIf",e.isFullAccess),y(1),S("ngIf",!e.isFullAccess&&!e.isGapPage&&!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",e.isFullAccess&&!e.isNonImpersonateGapMode),y(1),S("ngIf",e.model.hasMyFTDNA||!e.isGapMode),y(1),S("ngIf",e.isGapMode&&!e.model.hasMyFTDNA)}}var xte=function(){function t(){this.signOut=new j}return t.prototype.ngOnInit=function(){this.model={},this.useShareMode="true"===sessionStorage.getItem("useShareMode")},t.prototype.mask=function(i,e){if(void 0===e&&(e=null),e){var n=i.lastIndexOf(e);if(-1!==n){var r=i.substring(0,n),a=i.substring(n+e.length);return(null==r?void 0:r.replace(/\S/g,"\u2022"))+e+a}}return null==i?void 0:i.replace(/\S/g,"\u2022")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ee({type:t,selectors:[["app-header-secondary-nav"]],inputs:{isFullAccess:"isFullAccess",isGapMode:"isGapMode",isGapPage:"isGapPage",isLoggedIn:"isLoggedIn",isNonImpersonateGapMode:"isNonImpersonateGapMode",isTwoFactorAuthWizard:"isTwoFactorAuthWizard",model:"model",urls:"urls"},outputs:{signOut:"signOut"},decls:3,vars:2,consts:[["class","secondary-nav",4,"ngIf"],[1,"secondary-nav"],[1,"shopping"],[3,"cartUrl"],[1,"sign-in"],["mat-flat-button","","color","primary",1,"mat-button-md",3,"href"],[1,"help"],[3,"href"],[1,"mdi","mdi-help-circle-outline"],[1,"mdi","mdi-comment-text-multiple-outline"],["class","upgrades",4,"ngIf"],["class","notifications",4,"ngIf"],["class","shopping",4,"ngIf"],["class","profile",4,"ngIf"],[1,"upgrades"],["mat-flat-button","","color","primary",1,"mat-button-sm",3,"href"],[1,"notifications"],[3,"model"],[1,"profile"],[1,"profile-user",3,"matTooltip","matTooltipDisabled"],[1,"avatar"],["alt","",3,"ngClass","src",4,"ngIf"],[1,"info"],[1,"name","disable-translation"],[1,"kit-number","disable-translation"],[1,"mdi","mdi-chevron-down"],[1,"mdi","mdi-settings-outline"],[1,"mdi","mdi-checkbox-multiple-marked-outline"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#5f6368",1,"mdi"],["d","M0 0h24v24H0V0z","fill","none"],["d","M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"],[3,"click"],[1,"mdi","mdi-logout-variant"],["alt","",3,"ngClass","src"],[1,"profile-user"],[1,"condensed"],[1,"mdi","mdi-plus-circle-outline"],[1,"mdi","mdi-lock-open-outline"],[1,"mdi","mdi-account-outline"],[1,"border-b"]],template:function(e,n){1&e&&(p(0,"div"),F(1,bte,18,4,"ul",0),F(2,Ate,7,6,"ul",0),g()),2&e&&(y(1),S("ngIf",!n.isLoggedIn&&!n.isTwoFactorAuthWizard),y(1),S("ngIf",n.isLoggedIn&&!n.isTwoFactorAuthWizard))},directives:[Et,cte,py,fte,yte,nI,hi],styles:[".condensed[_ngcontent-%COMP%]{z-index:100}.blurred-image[_ngcontent-%COMP%]{filter:blur(5px)}"]}),t}();function Tte(t,i){if(1&t&&(p(0,"ul",11),p(1,"li"),p(2,"span"),w(3,"DNA Tests"),g(),p(4,"ul"),p(5,"li"),p(6,"a",12),w(7,"Family Finder\u2122"),g(),g(),p(8,"li"),p(9,"a",12),w(10,"All Y-DNA Tests"),g(),g(),p(11,"li"),p(12,"a",12),w(13,"Big Y-700"),g(),g(),p(14,"li"),p(15,"a",12),w(16,"mtDNA"),g(),g(),g(),g(),p(17,"li"),p(18,"span"),w(19,"DNA Upload"),g(),p(20,"ul"),p(21,"li"),p(22,"a",12),w(23,"Autosomal DNA"),g(),g(),g(),g(),p(24,"li"),p(25,"span"),p(26,"a",12),w(27,"Group Projects"),g(),g(),g(),p(28,"li"),p(29,"span"),p(30,"a",12),w(31,"Shop"),g(),g(),g(),p(32,"li"),p(33,"span"),w(34,"HELP"),g(),p(35,"ul"),p(36,"li"),p(37,"a",12),w(38,"Help Center"),g(),g(),p(39,"li"),p(40,"a",12),w(41,"Contact Us"),g(),g(),g(),g(),g()),2&t){var e=O(2);y(6),G("href",e.urls.productsFamilyFinderUrl,I),y(3),G("href",e.urls.productsYDnaUrl,I),y(3),G("href",e.urls.productsBigYUrl,I),y(3),G("href",e.urls.productsMtDnaUrl,I),y(7),G("href",e.urls.autosomalTransferUrl,I),y(4),G("href",e.urls.groupProjectUrl,I),y(4),G("href",e.urls.productsUrl,I),y(7),G("href",e.urls.helpCenterUrl,I),y(3),G("href",e.urls.contactUrl,I)}}function Ite(t,i){if(1&t&&H(0,"img",22),2&t){var e=O(3);S("ngClass",e.useShareMode?"blurred-image":"")("src",e.model.profilePictureLocation,I)}}function Rte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"myOrigins"),p(3,"sup"),w(4,"\xae"),g(),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.myOriginsUrl,I)}}function Ote(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"ancientOrigins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ancientOriginsUrl,I)}}function Fte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Chromosome Browser"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.chromosomeBrowserUrl,I)}}function Pte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Chromosome Painter"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.chromosomePaintingUrl,I)}}function Nte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Download Raw Data"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.downloadRawDataUrl,I)}}function Lte(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Autosomal DNA"),g(),p(3,"ul"),p(4,"li"),p(5,"a",12),w(6,"Matches"),g(),g(),F(7,Rte,5,1,"li",20),F(8,Ote,3,1,"li",20),F(9,Fte,3,1,"li",20),F(10,Pte,3,1,"li",20),p(11,"li"),p(12,"a",12),w(13,"Matrix"),g(),g(),p(14,"li"),p(15,"a",12),w(16,"Advanced Matches"),g(),g(),F(17,Nte,3,1,"li",20),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.familyFinderUrl,I),y(2),S("ngIf",e.model.hasPopFinder||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.hasAncientOrigins||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.hasChromosomeBrowser||e.model.isFreeAutosomalTransfer),y(1),S("ngIf",e.model.chromosomePaintingEnabled),y(2),G("href",e.urls.matrixUrl,I),y(3),G("href",e.urls.advancedMatchesUrl,I),y(2),S("ngIf",!e.model.isFreeAutosomalTransfer)}}function Bte(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"mtDNA"),g(),p(3,"ul"),p(4,"li"),p(5,"a",12),w(6,"Matches"),g(),g(),p(7,"li"),p(8,"a",12),w(9,"Discover\u2122 Haplogroup Reports"),g(),g(),p(10,"li"),p(11,"a",12),w(12,"Mutations"),g(),g(),p(13,"li"),p(14,"a",12),w(15,"Migration Maps"),g(),g(),p(16,"li"),p(17,"a",12),w(18,"Ancestral Origins"),g(),g(),p(19,"li"),p(20,"a",12),w(21,"Haplogroup Origins"),g(),g(),p(22,"li"),p(23,"a",12),w(24,"Matches Maps"),g(),g(),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.mtdnaMatchesUrl,I),y(3),G("href",e.urls.mtdnaDiscoverHaplogroupReportUrl,I),y(3),G("href",e.urls.mtdnaMutationsUrl,I),y(3),G("href",e.urls.mtdnaMigrationMapsUrl,I),y(3),G("href",e.urls.mtdnaAncestralOriginsUrl,I),y(3),G("href",e.urls.mtdnaHaplogroupOriginsUrl,I),y(3),G("href",e.urls.matchesMapUrl,I)}}function Vte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Matches"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaMatchesUrl,I)}}function Hte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Haplotree & SNPs"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaHaplotreeSnpsUrl,I)}}function Gte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Migration Maps"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaMigrationMapsUrl,I)}}function Ute(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Y-STR Results"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaResultsUrl,I)}}function jte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Ancestral Origins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaAncestralOriginsUrl,I)}}function zte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Haplogroup Origins"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaHaplogroupOriginsUrl,I)}}function Wte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"SNP Map"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaSnpMapUrl,I)}}function Yte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Matches Maps"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.matchesMapUrl,I)}}function qte(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Y-DNA"),g(),p(3,"ul"),F(4,Vte,3,1,"li",20),F(5,Hte,3,1,"li",20),p(6,"li"),p(7,"a",12),w(8,"Discover\u2122 Haplogroup Reports"),g(),g(),F(9,Gte,3,1,"li",20),F(10,Ute,3,1,"li",20),F(11,jte,3,1,"li",20),F(12,zte,3,1,"li",20),F(13,Wte,3,1,"li",20),F(14,Yte,3,1,"li",20),g(),g()),2&t){var e=O(3);y(4),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.showYdnaHaplotreeLink),y(2),G("href",e.urls.discoverUrl,I),y(2),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults),y(1),S("ngIf",e.model.hasYResults)}}function Qte(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"BIG Y"),g(),p(3,"ul"),p(4,"li"),p(5,"a",12),w(6,"Matches"),g(),g(),p(7,"li"),p(8,"a",12),w(9,"Results"),g(),g(),p(10,"li"),p(11,"a",12),w(12,"Y-STR Results"),g(),g(),p(13,"li"),p(14,"a",12),w(15,"Discover\u2122 Globetrekker"),g(),g(),g(),g()),2&t){var e=O(3);y(5),G("href",e.urls.bigYMatchesUrl,I),y(3),G("href",e.urls.bigYResultsUrl,I),y(3),G("href",e.urls.bigYStrResultsUrl,I),y(3),G("href",e.urls.globetrekkerUrl,I)}}function Kte(t,i){if(1&t&&(p(0,"li"),p(1,"a",23),w(2,"Family Tree "),g(),g()),2&t){var e=O(3);y(1),G("href",e.urls.familyTreeUrl,I)}}function $te(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Other Autosomal Results"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.otherAutosomalResultsUrl,I)}}function Xte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Factoids"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.factoidsUrl,I)}}function Jte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Y-DNA Advanced"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.ydnaAdvancedMarkersUrl,I)}}function Zte(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"X-STR"),g(),g()),2&t){var e=O(4);y(1),G("href",e.urls.xStrUrl,I)}}function ene(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Other Results"),g(),p(3,"ul"),F(4,$te,3,1,"li",20),F(5,Xte,3,1,"li",20),F(6,Jte,3,1,"li",20),F(7,Zte,3,1,"li",20),g(),g()),2&t){var e=O(3);y(4),S("ngIf",e.model.hasOtherAutosomalResults),y(1),S("ngIf",e.model.hasFactoids),y(1),S("ngIf",e.model.hasAdvancedYSTR),y(1),S("ngIf",e.model.hasXSTR)}}function tne(t,i){if(1&t&&(p(0,"ul",13),p(1,"li"),p(2,"div",14),p(3,"div",15),F(4,Ite,1,2,"img",16),g(),p(5,"div",17),p(6,"div",18),w(7),g(),p(8,"div",19),w(9," Kit No. "),p(10,"div"),w(11),g(),g(),g(),g(),g(),p(12,"li"),p(13,"a",12),w(14,"Home"),g(),g(),F(15,Lte,18,8,"li",20),F(16,Bte,25,7,"li",20),F(17,qte,15,9,"li",20),F(18,Qte,16,4,"li",20),F(19,Kte,3,1,"li",20),p(20,"li"),p(21,"a",21),w(22,"Group Projects"),g(),p(23,"ul"),p(24,"li"),p(25,"a",12),w(26,"Join A Project"),g(),g(),p(27,"li"),p(28,"a",12),w(29,"Manage Group Projects"),g(),g(),p(30,"li"),p(31,"a",12),w(32,"Learn More"),g(),g(),g(),g(),F(33,ene,8,4,"li",20),g()),2&t){var e=O(2);y(4),S("ngIf",e.model.profilePictureLocation),y(3),Ue(e.useShareMode?e.mask(e.model.kitName,e.model.kitLastName):e.model.kitName),y(4),Ue(e.useShareMode?e.mask(e.model.kitNum):e.model.kitNum),y(2),G("href",e.urls.dashboardUrl,I),y(2),S("ngIf",e.model.hasFF),y(1),S("ngIf",e.model.hasMtResults),y(1),S("ngIf",e.model.hasYResults||e.model.hasFFOrGenoTransferAndYHaploGroup&&e.model.isMale),y(1),S("ngIf",e.model.hasBigY),y(1),S("ngIf",!e.model.isLawEnforcement),y(6),G("href",e.urls.joinProjectUrl,I),y(3),G("href",e.urls.manageProjectsUrl,I),y(3),G("href",e.urls.projectsHomeUrl,I),y(2),S("ngIf",e.model.hasFactoids||e.model.hasOtherAutosomalResults||e.model.hasAdvancedYSTR||e.model.hasXSTR)}}function nne(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Home"),g(),g()),2&t){var e=O(3);y(1),G("href",e.urls.homeUrl,I)}}function ine(t,i){if(1&t&&(p(0,"li"),p(1,"a",12),w(2,"Home"),g(),g()),2&t){var e=O(3);y(1),G("href","//"+e.model.gapUrl,I)}}function rne(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Member Reports"),g(),p(3,"ul",24),p(4,"li"),p(5,"a",12),w(6,"Country of Origin Charts"),g(),g(),p(7,"li"),p(8,"a",12),w(9,"Maternal Ancestry"),g(),g(),p(10,"li"),p(11,"a",12),w(12,"Member Distribution Map"),g(),g(),p(13,"li"),p(14,"a",12),w(15,"Member Information"),g(),g(),p(16,"li"),p(17,"a",12),w(18,"Member Notes"),g(),g(),p(19,"li"),p(20,"a",12),w(21,"Order Summary"),g(),g(),p(22,"li"),p(23,"a",12),w(24,"Paternal Ancestry"),g(),g(),p(25,"li"),p(26,"a",12),w(27,"Pending Lab Results"),g(),g(),p(28,"li"),p(29,"a",12),w(30,"Pending Shipment To Lab"),g(),g(),p(31,"li"),p(32,"a",12),w(33,"Project Joins"),g(),g(),p(34,"li"),p(35,"a",12),w(36,"Project Statistics"),g(),g(),p(37,"li"),p(38,"a",12),w(39,"Received Lab Results"),g(),g(),p(40,"li"),p(41,"a",12),w(42,"Unreceived Kits"),g(),g(),g(),g()),2&t){var e=O(3);y(5),ke("href","//",e.model.gapUrl,"/country-of-origin-charts.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/maternal-ancestry.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/distribution-map_v2.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/member-information.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/member-notes.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/order-summary.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/paternal-ancestry.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/pending-lab-results.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/pending-shipment-to-lab.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/project-joins.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/project-statistics.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/received-lab-results.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/unreceived-kits.aspx",I)}}function ane(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Genetic Reports"),g(),p(3,"ul",24),p(4,"li"),p(5,"a",12),w(6,"Family Finder\u2122 Group Matrix"),g(),g(),p(7,"li"),p(8,"a",12),w(9,"Family Finder\u2122 Group Report"),g(),g(),p(10,"li"),p(11,"a",12),w(12,"Haplogroup Charts"),g(),g(),p(13,"li"),p(14,"a",12),w(15,"mtDNA Results Classic"),g(),g(),p(16,"li"),p(17,"a",12),w(18,"mtDNA Results"),g(),g(),p(19,"li"),p(20,"a",12),w(21,"Y-DNA Genetic Distance"),g(),g(),p(22,"li"),p(23,"a",12),w(24,"Y-DNA TiP"),g(),g(),p(25,"li"),p(26,"a",12),w(27,"Y-DNA Results Overview"),g(),g(),p(28,"li"),p(29,"a",12),w(30,"Y-DNA Haplogroups"),g(),g(),p(31,"li"),p(32,"a",12),w(33,"Y-DNA Unique Haplotypes"),g(),g(),g(),g()),2&t){var e=O(3);y(5),ke("href","//",e.model.gapUrl,"/family-finder-matrix-omniexpress.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/family-finder-results-omniexpress.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/haplogroup-charts.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/mtdna-results-classic.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/mtdna-results.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/genetic-distance-report.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/gap-tip-report",I),y(3),ke("href","//",e.model.gapUrl,"/ydna-results-overview.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/ydna-snp-report.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/unique-haplotypes.aspx",I)}}function one(t,i){if(1&t&&(p(0,"li"),p(1,"a",21),w(2,"Project Admin"),g(),p(3,"ul",24),p(4,"li"),p(5,"a",25),w(6,"Activity Feed"),g(),g(),p(7,"li"),p(8,"a",12),w(9,"Activity Log"),g(),g(),p(10,"li"),p(11,"a",12),w(12,"Bulk Email"),g(),g(),p(13,"li"),p(14,"a",12),w(15,"Download Files"),g(),g(),p(16,"li"),p(17,"a",12),w(18,"General Fund"),g(),g(),p(19,"li"),p(20,"a",12),w(21,"General Fund Charts"),g(),g(),p(22,"li"),p(23,"a",12),w(24,"Join Authorization"),g(),g(),p(25,"li"),p(26,"a",12),w(27,"Member Subgrouping"),g(),g(),p(28,"li"),p(29,"a",26),w(30,"New Member Order"),g(),g(),p(31,"li"),p(32,"a",12),w(33,"Price Comparison"),g(),g(),p(34,"li"),p(35,"a",12),w(36,"Project Administrators"),g(),g(),p(37,"li"),p(38,"a",12),w(39,"Project Profile"),g(),g(),p(40,"li"),p(41,"a",12),w(42,"Public Results Display Settings"),g(),g(),p(43,"li"),p(44,"a",12),w(45,"Public Website"),g(),g(),p(46,"li"),p(47,"a",27),w(48,"Unpaid Products"),g(),g(),p(49,"li"),p(50,"a",12),w(51,"Welcome Email"),g(),g(),g(),g()),2&t){var e=O(3);y(8),ke("href","//",e.model.gapUrl,"/notes.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/bulk-email.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/download-files.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/general-fund.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/general-fund-chart.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/join-authorization.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/member-subgrouping",I),y(6),ke("href","//",e.model.gapUrl,"/price-comparison.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/project-administrators.aspx",I),y(3),Pe("href","//",e.model.gapUrl,"/project-profile",e.authQs,"",I),y(3),ke("href","//",e.model.gapUrl,"/public-display-setting.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/public-website.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/member-unpaid-products.aspx",I),y(3),ke("href","//",e.model.gapUrl,"/welcome-email.aspx",I)}}function sne(t,i){1&t&&(p(0,"li"),p(1,"a",21),w(2,"Resources"),g(),p(3,"ul",24),p(4,"li"),p(5,"a",28),w(6,"Terms & Policies"),g(),g(),p(7,"li"),p(8,"a",29),w(9,"Administrator Quick Start Guide"),g(),g(),p(10,"li"),p(11,"a",30),w(12,"Help Center Administrator Resources"),g(),g(),p(13,"li"),p(14,"a",31),w(15,"Project Admins Media Library"),g(),g(),p(16,"li"),p(17,"a",32),w(18,"Forums"),g(),g(),p(19,"li"),p(20,"a",33),w(21,"FamilyTreeDNA Blog"),g(),g(),g(),g())}function lne(t,i){if(1&t&&(p(0,"ul",13),p(1,"li"),p(2,"div",14),p(3,"div",17),p(4,"div",18),w(5),g(),p(6,"div",19),w(7," User: "),p(8,"div"),w(9),g(),g(),g(),g(),g(),F(10,nne,3,1,"li",20),F(11,ine,3,1,"li",20),F(12,rne,43,13,"li",20),F(13,ane,34,10,"li",20),F(14,one,52,15,"li",20),F(15,sne,22,0,"li",20),g()),2&t){var e=O(2);y(5),Ue(e.model.kitName),y(4),Ue(e.model.kitNum),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isNonImpersonateGapMode)}}function une(t,i){1&t&&(p(0,"a",34),w(1,"Add Ons & Upgrades"),g()),2&t&&G("href",O(2).urls.upgradesUrl,I)}function cne(t,i){1&t&&(p(0,"a",34),w(1,"Sign In"),g()),2&t&&G("href",O(2).urls.signInUrl,I)}function dne(t,i){if(1&t){var e=ut();p(0,"ul",35),p(1,"li"),p(2,"a",12),H(3,"i",36),w(4,"Account Settings "),g(),g(),p(5,"li"),p(6,"a",12),H(7,"i",37),w(8,"Order History "),g(),g(),p(9,"li"),p(10,"a",12),H(11,"i",38),w(12,"Help Center "),g(),g(),p(13,"li"),p(14,"a",12),nn(),p(15,"svg",39),H(16,"path",40),H(17,"path",41),g(),w(18," Contact Us "),g(),g(),Ha(),p(19,"li"),p(20,"a",42),q("click",function(){return Ne(e),O(2).signOut.emit()}),H(21,"i",43),w(22,"Sign Out "),g(),g(),g()}if(2&t){var n=O(2);y(2),G("href",n.urls.accountSettingsUrl,I),y(4),G("href",n.urls.orderHistoryUrl,I),y(4),G("href",n.urls.helpCenterUrl,I),y(4),G("href",n.urls.contactUrl,I)}}function fne(t,i){if(1&t){var e=ut();p(0,"ul",35),p(1,"li"),p(2,"a",12),H(3,"i",44),w(4,"Add Projects"),g(),g(),p(5,"li"),p(6,"a",12),H(7,"i",45),w(8,"Security"),g(),g(),p(9,"li"),p(10,"a",12),H(11,"i",46),w(12,"Contact Information"),g(),g(),p(13,"li"),p(14,"a",12),H(15,"i",36),w(16,"My Settings"),g(),g(),p(17,"li"),p(18,"a",42),q("click",function(){return Ne(e),O(2).signOut.emit()}),H(19,"i",43),w(20,"Sign Out"),g(),g(),g()}if(2&t){var n=O(2);y(2),ke("href","//",n.model.gapUrl,"/add-projects.aspx",I),y(4),ke("href","//",n.model.gapUrl,"/change-password",I),y(4),ke("href","//",n.model.gapUrl,"/contact-information.aspx",I),y(4),ke("href","//",n.model.gapUrl,"/my-settings.aspx",I)}}function hne(t,i){if(1&t&&(p(0,"div",1),H(1,"input",2),H(2,"span",3),H(3,"span",3),H(4,"span",3),p(5,"div",4),p(6,"div",5),F(7,Tte,42,9,"ul",6),F(8,tne,34,13,"ul",7),F(9,lne,16,8,"ul",7),H(10,"div",8),F(11,une,2,1,"a",9),F(12,cne,2,1,"a",9),F(13,dne,23,4,"ul",10),F(14,fne,21,4,"ul",10),g(),g(),g()),2&t){var e=O();y(7),S("ngIf",!e.isLoggedIn||e.isLoggedIn&&!e.hasMyFtdna&&!e.isGapPage&&!e.isNonImpersonateGapMode),y(1),S("ngIf",e.hasMyFtdna),y(1),S("ngIf",e.isGapMode),y(2),S("ngIf",e.isLoggedIn&&e.isFullAccess&&!e.isNonImpersonateGapMode),y(1),S("ngIf",!e.isLoggedIn),y(1),S("ngIf",e.isLoggedIn&&!e.isGapMode),y(1),S("ngIf",e.isGapMode)}}var pne=function(){function t(){this.signOut=new j}return t.prototype.ngOnInit=function(){this.model={},this.useShareMode="true"===sessionStorage.getItem("useShareMode"),console.log("isTwoFactor: "+this.isTwoFactorAuthWizard)},t.prototype.mask=function(i,e){if(void 0===e&&(e=null),e){var n=i.lastIndexOf(e);if(-1!==n){var r=i.substring(0,n),a=i.substring(n+e.length);return(null==r?void 0:r.replace(/\S/g,"\u2022"))+e+a}}return null==i?void 0:i.replace(/\S/g,"\u2022")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ee({type:t,selectors:[["app-header-mobile-nav"]],inputs:{hasMyFtdna:"hasMyFtdna",isFullAccess:"isFullAccess",hasMtdnaFms:"hasMtdnaFms",isGapMode:"isGapMode",isGapPage:"isGapPage",isLoggedIn:"isLoggedIn",isTwoFactorAuthWizard:"isTwoFactorAuthWizard",isNonImpersonateGapMode:"isNonImpersonateGapMode",model:"model",urls:"urls",authQs:"authQs"},outputs:{signOut:"signOut"},decls:1,vars:1,consts:[["class","menu-toggle",4,"ngIf"],[1,"menu-toggle"],["type","checkbox"],[1,"close_menu"],[1,"overlay"],[1,"overlay-wrapper"],["class","expanded-nav",4,"ngIf"],["class","collapsible-menu","data-collapsible-menu","accordion",4,"ngIf"],[1,"divider"],["mat-flat-button","","color","primary","class","mat-button-md","style","width: 100%;",3,"href",4,"ngIf"],["class","user-account",4,"ngIf"],[1,"expanded-nav"],[3,"href"],["data-collapsible-menu","accordion",1,"collapsible-menu"],[1,"profile-user"],[1,"avatar"],["alt","",3,"ngClass","src",4,"ngIf"],[1,"info"],[1,"name"],[1,"kit-number"],[4,"ngIf"],[1,"collapsed"],["alt","",3,"ngClass","src"],["target","_self",3,"href"],[1,"condensed"],["href","https://www.familytreedna.com/groups/test"],["href","//www.familytreedna.com/?Group=testb#/shoppingCart","target","_blank"],["id","Header_ProjectAdministrationList_A1",3,"href"],["href","https://help.familytreedna.com/hc/en-us/articles/4503232822287","target","_blank"],["href","https://help.familytreedna.com/hc/en-us/articles/6168057403407-Administrator-Quick-Start-Guide-","target","_blank"],["href","https://help.familytreedna.com/hc/en-us/sections/5909201090575","target","_blank"],["href","https://airtable.com/app0rnuXIq0g8l9t4/shrz5vOPLqPpapb4T/tblVgFV6Rz5HyYqfc","target","_blank"],["href","https://forums.familytreedna.com/","target","_blank"],["href","https://blog.familytreedna.com/","target","_blank"],["mat-flat-button","","color","primary",1,"mat-button-md",2,"width","100%",3,"href"],[1,"user-account"],[1,"mdi","mdi-settings-outline"],[1,"mdi","mdi-checkbox-multiple-marked-outline"],[1,"mdi","mdi-help-circle-outline"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#5f6368",1,"mdi"],["d","M0 0h24v24H0V0z","fill","none"],["d","M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"],[3,"click"],[1,"mdi","mdi-logout-variant"],[1,"mdi","mdi-plus-circle-outline"],[1,"mdi","mdi-lock-open-outline"],[1,"mdi","mdi-account-outline"]],template:function(e,n){1&e&&F(0,hne,15,7,"div",0),2&e&&S("ngIf",!n.isTwoFactorAuthWizard)},directives:[Et,hi,py],styles:[".blurred-image[_ngcontent-%COMP%]{filter:blur(5px)}"]}),t}();function gne(t,i){if(1&t&&(p(0,"mat-option",4),w(1),g()),2&t){var e=i.$implicit;G("value",e.shortName),y(1),Ue(e.groupName)}}var mne=function(){function t(){this.projectChange=new j}return t.prototype.changeProject=function(i){this.projectChange.emit(i.value)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ee({type:t,selectors:[["app-gap-project"]],inputs:{projects:"projects",selectedProject:"selectedProject"},outputs:{projectChange:"projectChange"},decls:6,vars:2,consts:[[1,"gap-project"],["appearance","fill","color","primary",1,"project-dropdown"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,n){1&e&&(p(0,"div",0),p(1,"mat-form-field",1),p(2,"mat-label"),w(3,"Project"),g(),p(4,"mat-select",2),q("valueChange",function(a){return n.selectedProject=a})("selectionChange",function(a){return n.changeProject(a)}),F(5,gne,2,2,"mat-option",3),g(),g(),g()),2&e&&(y(4),S("value",n.selectedProject),y(1),S("ngForOf",n.projects))},directives:[kx,L_,YT,Ir,Hf],styles:[".gap-project[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;padding:20px 15px 0;box-sizing:border-box}.gap-project[_ngcontent-%COMP%]   .project-dropdown[_ngcontent-%COMP%]{width:200px}"]}),t}();function vne(t,i){if(1&t){var e=ut();p(0,"app-gap-project",9),q("projectChange",function(a){return Ne(e),O().onChangeProject(a)}),g()}if(2&t){var n=O();S("projects",n.gapProjects)("selectedProject",n.model.bcgGroup)}}var _ne=function(){function t(i,e){this.headerService=i,this.impersonate=e,this.model={},this.urls={},this.gapProjects=[],this.showProjectsList=!1,this.initGlobalEventListener(),this.initGapGlobalEventListener()}return t.prototype.ngOnInit=function(){var i=this;this.authQs=this.impersonate.authQs,this.initHeaderData(),this.isGapMode&&!this.isGapPage&&0===this.authQs.length&&(this.isNonImpersonateGapMode=!0),this.showProjectsList=!(window.location.href.indexOf(".aspx")>-1)&&this.isGapMode&&this.isGapPage,this.showProjectsList&&this.headerService.getGapProjects().subscribe(function(e){i.gapProjects=e})},t.prototype.initGlobalEventListener=function(){var i=this;"function"==typeof window.Event?window.updateHeaderEvent=new Event("update-header"):(window.updateHeaderEvent=document.createEvent("Event"),window.updateHeaderEvent.initEvent("update-header",!0,!0)),window.addEventListener("update-header",function(e){i.initHeaderData()})},t.prototype.initGapGlobalEventListener=function(){"function"==typeof window.Event?window.updateGapHeaderEvent=new Event("update-gap-header"):(window.updateGapHeaderEvent=document.createEvent("Event"),window.updateGapHeaderEvent.initEvent("update-gap-header",!0,!0))},t.prototype.initHeaderData=function(){var i=this;this.headerService.init(this.authQs).subscribe(function(e){i.model=e;var n=0===i.model.homeUrl.indexOf("//")?i.model.homeUrl:"//"+i.model.homeUrl;i.urls.homeUrl=i.getImpersonateUrlSafely(n),i.urls.accountSettingsUrl=i.getImpersonateUrlSafely("/my/account-information"),i.urls.activityFeedUrl=i.getImpersonateUrlSafely(i.model.wwwUrl+"/groups/"+i.model.groupPageUrl),i.urls.advancedMatchesUrl=i.getImpersonateUrlSafely("/my/advanced-matches"),i.urls.ancientOriginsUrl=i.getImpersonateUrlSafely("/my/ancient-origins"),i.urls.autosomalTransferUrl=i.getImpersonateUrlSafely("/products/autosomal-dna-upload"),i.urls.bigYBlockTreeUrl=i.getImpersonateUrlSafely("/my/bigy-blocktree"),i.urls.bigYMatchesUrl=i.getImpersonateUrlSafely("/my/big-y#matches"),i.urls.bigYResultsUrl=i.getImpersonateUrlSafely("/my/big-y"),i.urls.bigYStrResultsUrl=i.getImpersonateUrlSafely("/my/y-dna-dys"),i.urls.cartUrl=i.getImpersonateUrlSafely(i.model.cartUrl),i.urls.chromosomeBrowserUrl=i.getImpersonateUrlSafely("/my/family-finder/chromosome-browser"),i.urls.contactUrl=i.getImpersonateUrlSafely("/contact"),i.urls.dashboardUrl=i.getImpersonateUrlSafely("/my"),i.urls.discoverUrl=i.getImpersonateUrlSafely(i.model.discoverUrl),i.urls.mtdnaDiscoverHaplogroupReportUrl=i.getImpersonateUrlSafely(i.model.mtdnaDiscoverHaplogroupReportUrl),i.urls.globetrekkerUrl=i.getImpersonateUrlSafely(i.model.globetrekkerUrl),i.urls.downloadRawDataUrl=i.getImpersonateUrlSafely("/my/family-finder-downloads"),i.urls.factoidsUrl=i.getImpersonateUrlSafely("/my/factoids"),i.urls.familyFinderUrl=i.getImpersonateUrlSafely("/my/familyfinder/matches"),i.model.familyTreeUrl&&(i.urls.familyTreeUrl=i.getImpersonateUrlSafely(i.model.usingMHTreeUrl?i.model.familyTreeUrl:i.model.familyTreeUrl+localStorage.getItem("showMyHeritageIntegrationDialog"))),i.urls.gapAddProjectsUrl=i.getImpersonateUrlSafely(i.model.gapUrl+"/add-projects.aspx"),i.urls.gapChangePasswordUrl=i.getImpersonateUrlSafely(i.model.gapUrl+"/change-password"),i.urls.gapContactInformationUrl=i.getImpersonateUrlSafely(i.model.gapUrl+"/contact-information.aspx"),i.urls.gapMySettingsUrl=i.getImpersonateUrlSafely(i.model.gapUrl+"/my-settings.aspx"),i.urls.groupProjectUrl=i.getImpersonateUrlSafely("/group-project"),i.urls.joinProjectUrl=i.getImpersonateUrlSafely("/my/group-join.aspx"),i.urls.helpCenterUrl="https://help.familytreedna.com/hc/en-us",i.urls.otherAutosomalResultsUrl=i.getImpersonateUrlSafely("/my/autosomal-results"),i.urls.manageProjectsUrl=i.getImpersonateUrlSafely("/my/project-preferences"),i.urls.matrixUrl=i.getImpersonateUrlSafely("/my/family-finder/matrix"),i.urls.mtdnaAncestralOriginsUrl=i.getImpersonateUrlSafely("/my/mtdna-ancestral-origins"),i.urls.mtdnaHaplogroupOriginsUrl=i.getImpersonateUrlSafely("/my/mtdna-haplogroup-origins"),i.urls.mtdnaMatchesMapUrl=i.getImpersonateUrlSafely("/my/matches-map?dt=hvr1"),i.urls.mtdnaMigrationMapsUrl=i.getImpersonateUrlSafely("/my/mtdna-migration-map"),i.urls.mtdnaMutationsUrl=i.getImpersonateUrlSafely("/my/mtdna-results"),i.urls.myOriginsUrl=i.getImpersonateUrlSafely("/my/my-origins"),i.urls.newMemberOrderUrl=i.getImpersonateUrlSafely(i.model.wwwUrl+"/cart?Group="+i.model.bcgGroup),i.urls.orderHistoryUrl=i.getImpersonateUrlSafely("/my/order-history"),i.urls.productsUrl=i.getImpersonateUrlSafely("/products"),i.urls.singleTestsProductsUrl=i.getImpersonateUrlSafely("/products/single-tests"),i.urls.bundlesProductsUrl=i.getImpersonateUrlSafely("/products/bundles"),i.urls.giftCardsUrl=i.getImpersonateUrlSafely("/products/gift-cards"),i.urls.productsFamilyFinderUrl=i.getImpersonateUrlSafely("/products/family-finder"),i.urls.productsFamilyFinderMyDnaBundleUrl=i.getImpersonateUrlSafely("/products/familyfinder-mydnawellness/"),i.urls.productsMtDnaUrl=i.getImpersonateUrlSafely("/products/mt-dna"),i.urls.productsYDnaUrl=i.getImpersonateUrlSafely("/products/y-dna"),i.urls.productsBigYUrl=i.getImpersonateUrlSafely("/products/big-y"),i.urls.projectsHomeUrl="https://help.familytreedna.com/hc/en-us/articles/4503173806351-Introduction-to-Group-Projects-",i.urls.signInUrl=i.getImpersonateUrlSafely("/sign-in"),i.urls.upgradesUrl=i.getImpersonateUrlSafely("/my/upgrades"),i.urls.wwwUrl=i.getImpersonateUrlSafely(i.model.wwwUrl),i.urls.xStrUrl=i.getImpersonateUrlSafely("/my/x-str-results"),i.urls.ydnaAdvancedMarkersUrl=i.getImpersonateUrlSafely("/my/y-dna-advanced-markers"),i.urls.ydnaAncestralOriginsUrl=i.getImpersonateUrlSafely("/my/y-dna-ancestral-origins"),i.urls.ydnaDownloadSnpsUrl=i.getImpersonateUrlSafely("/my/y-dna-haplotree/download-snps"),i.urls.ydnaHaplogroupOriginsUrl=i.getImpersonateUrlSafely("/my/y-dna-haplo-matches"),i.urls.ydnaHaplotreeSnpsUrl=i.getImpersonateUrlSafely("/my/y-dna-haplotree"),i.urls.ydnaMatchesMapUrl=i.getImpersonateUrlSafely("/my/matches-map?dt=y12"),i.urls.ydnaMatchesUrl=i.getImpersonateUrlSafely("/my/ydna/matches"),i.urls.mtdnaMatchesUrl=i.getImpersonateUrlSafely("/my/mtdna/matches"),i.urls.ydnaMigrationMapsUrl=i.getImpersonateUrlSafely("/my/y-dna-migration-map"),i.urls.ydnaSnpMapUrl=i.getImpersonateUrlSafely("/my/snp-map"),i.urls.ydnaResultsUrl=i.getImpersonateUrlSafely("/my/y-dna-dys"),i.urls.chromosomePaintingUrl=i.getImpersonateUrlSafely("/my/chromosome-painting"),i.urls.ydnaGroupTimeTreeLink=i.model.ydnaGroupTimeTreeLink,i.validatePermisions(),i.urls.logoUrl=i.getLogoUrl()})},t.prototype.onChangeProject=function(i){var e=this;this.headerService.setGapProject(i).subscribe(function(n){window.dispatchEvent(window.updateGapHeaderEvent),e.initHeaderData()})},t.prototype.signOut=function(){sessionStorage.removeItem("useShareMode");var i=document.getElementById("logoutForm");i&&i.submit()},t.prototype.getLogoUrl=function(){var e=-1!==window.location.href.indexOf("familytreedna.com/my/")&&this.isLoggedIn?"/my/":"/";return this.isNonImpersonateGapMode&&(e="//"+this.model.gapUrl),this.impersonate.addAuthQsToUrl(e)},t.prototype.validatePermisions=function(){this.model.isFullAccess||(this.urls.upgradesUrl="",this.urls.cartUrl="")},t.prototype.getImpersonateUrlSafely=function(i){return null!==i?this.impersonate.addAuthQsToUrl(i):""},t.\u0275fac=function(e){return new(e||t)(m(VE),m(uo))},t.\u0275cmp=ee({type:t,selectors:[["app-header-root-container"]],inputs:{hasMyFtdna:"hasMyFtdna",isFullAccess:"isFullAccess",isLoggedIn:"isLoggedIn",isGapMode:"isGapMode",isGapPage:"isGapPage",isTwoFactorAuthWizard:"isTwoFactorAuthWizard",isNonImpersonateGapMode:"isNonImpersonateGapMode"},decls:11,vars:31,consts:[[1,"navbar"],[1,"nav-brand",3,"href"],["src","/common/img/header-footer/assets/ftdna-brand.svg","alt","Family Tree DNA"],["fxLayout","row","fxLayoutAlign","space-between center",1,"header-full-container"],[3,"authQs","hasMyFtdna","isGapMode","hasMtdnaFms","isGapPage","isLoggedIn","isTwoFactorAuthWizard","model","isNonImpersonateGapMode","urls"],["fxLayout","row","fxLayoutAlign","end center",1,"header-right"],[3,"projects","selectedProject","projectChange",4,"ngIf"],[3,"isFullAccess","isGapMode","isLoggedIn","isGapPage","model","urls","isTwoFactorAuthWizard","isNonImpersonateGapMode","signOut"],[3,"authQs","isFullAccess","hasMyFtdna","isGapMode","isGapPage","isLoggedIn","hasMtdnaFms","isTwoFactorAuthWizard","model","urls","isNonImpersonateGapMode","signOut"],[3,"projects","selectedProject","projectChange"]],template:function(e,n){1&e&&(p(0,"header",0),p(1,"nav"),p(2,"a",1),H(3,"img",2),g(),p(4,"div",3),p(5,"div"),H(6,"app-header-primary-nav",4),g(),p(7,"div",5),F(8,vne,1,2,"app-gap-project",6),p(9,"app-header-secondary-nav",7),q("signOut",function(){return n.signOut()}),g(),p(10,"app-header-mobile-nav",8),q("signOut",function(){return n.signOut()}),g(),g(),g(),g(),g()),2&e&&(y(2),G("href",n.urls.logoUrl,I),y(4),S("authQs",n.authQs)("hasMyFtdna",n.hasMyFtdna)("isGapMode",n.isGapMode)("hasMtdnaFms",n.model.hasMtdnaFms)("isGapPage",n.isGapPage)("isLoggedIn",n.isLoggedIn)("isTwoFactorAuthWizard",n.isTwoFactorAuthWizard)("model",n.model)("isNonImpersonateGapMode",n.isNonImpersonateGapMode)("urls",n.urls),y(2),S("ngIf",n.showProjectsList),y(1),S("isFullAccess",n.isFullAccess)("isGapMode",n.isGapMode)("isLoggedIn",n.isLoggedIn)("isGapPage",n.isGapPage)("model",n.model)("urls",n.urls)("isTwoFactorAuthWizard",n.isTwoFactorAuthWizard)("isNonImpersonateGapMode",n.isNonImpersonateGapMode),y(1),S("authQs",n.authQs)("isFullAccess",n.isFullAccess)("hasMyFtdna",n.hasMyFtdna)("isGapMode",n.isGapMode)("isGapPage",n.isGapPage)("isLoggedIn",n.isLoggedIn)("hasMtdnaFms",n.model.hasMtdnaFms)("isTwoFactorAuthWizard",n.isTwoFactorAuthWizard)("model",n.model)("urls",n.urls)("isNonImpersonateGapMode",n.isNonImpersonateGapMode))},directives:[Pv,Nv,Wz,Et,xte,pne,mne],styles:[".header-full-container[_ngcontent-%COMP%]{width:100%}"]}),t}(),yne=function(){function t(i){this.elRef=i,this.hasMyFtdna=!1,this.isFullAccess=!1,this.isLoggedIn=!1,this.isGapMode=!1,this.isGapPage=!1,this.isTwoFactorAuthWizard=!1,this.hasMyFtdna="true"===this.elRef.nativeElement.getAttribute("hasmyftdna"),this.isFullAccess="true"===this.elRef.nativeElement.getAttribute("isfullaccess"),this.isLoggedIn="true"===this.elRef.nativeElement.getAttribute("isloggedin"),this.isGapMode="true"===this.elRef.nativeElement.getAttribute("isgapmode"),this.isTwoFactorAuthWizard=window.location.href.includes("two-factor-auth-wizard");var n=window.location.hostname.split(".");this.isGapPage=-1!==n[0].indexOf("gap")}return t.\u0275fac=function(e){return new(e||t)(m(P))},t.\u0275cmp=ee({type:t,selectors:[["header-root"]],decls:1,vars:6,consts:[[3,"hasMyFtdna","isFullAccess","isLoggedIn","isGapMode","isGapPage","isTwoFactorAuthWizard"]],template:function(e,n){1&e&&H(0,"app-header-root-container",0),2&e&&S("hasMyFtdna",n.hasMyFtdna)("isFullAccess",n.isFullAccess)("isLoggedIn",n.isLoggedIn)("isGapMode",n.isGapMode)("isGapPage",n.isGapPage)("isTwoFactorAuthWizard",n.isTwoFactorAuthWizard)},directives:[_ne],encapsulation:2}),t}(),Jy=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),zI=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[mf,he],he]}),t}();"".concat(T_.COMPLEX," ").concat(x_.ACCELERATION_CURVE),"".concat(T_.EXITING," ").concat(x_.DECELERATION_CURVE);var WI=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[wa,he,ka],he]}),t}(),$I=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[he,vi],he]}),t}(),tR=new V("mat-chips-default-options"),Xne={separatorKeyCodes:[13]},nR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Ki,{provide:tR,useValue:Xne}],imports:[[he]]}),t}(),iie=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),oR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he,iie,ka]]}),t}(),lR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he],he]}),t}(),hR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[vi,he],he]}),t}(),gR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({}),t}(),mR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[gR,vi,he,Eu],gR,he]}),t}(),_R=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,he],he]}),t}(),cre=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[fo]]}),t}(),Yh=function(){var t=f(function i(){h(this,i),this.changes=new $,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=U({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Rre={provide:Yh,deps:[[new Jt,new Ln,Yh]],useFactory:function(t){return t||new Yh}},DR=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Rre,Ki],imports:[[he,ht,ka,Aa,cre,Ku,vi],he]}),t}(),ER=function(){var t=f(function i(){h(this,i)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[Jy,he],he]}),t}(),qre=[qy,Jy,rh,zI,WI,Aa,$I,ah,oh,nR,DR,dh,fh,Qu,oR,hh,Ku,sh,mh,yh,Pf,kh,lR,wh,hR,vi,Zu,Eh,_R,mR,jh,xh,Vh,Gh,Uh,ec,ER],lb=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[qre,qy,Jy,rh,zI,WI,Aa,$I,ah,oh,nR,DR,dh,fh,Qu,oR,hh,Ku,sh,mh,yh,Pf,kh,lR,wh,hR,vi,Zu,Eh,_R,mR,jh,xh,Vh,Gh,Uh,ec,ER]}),t}(),Qre=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[],imports:[[ht,lb]]}),t}(),Kre=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht]]}),t}();function Xre(t,i,e){if(e||2===arguments.length)for(var a,n=0,r=i.length;n<r;n++)(a||!(n in i))&&(a||(a=Array.prototype.slice.call(i,0,n)),a[n]=i[n]);return t.concat(a||Array.prototype.slice.call(i))}var Zre=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:Xre([],hte),imports:[[ht,Av]]}),t}(),eae=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[Lv],imports:[[ht,Av,UI]]}),t}(),tae=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({imports:[[ht,Zre,eae,lb]]}),t}(),nae=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=ie({providers:[R8],imports:[[ht,D0,Av,Qre,Kre,tae,lb,n9,xv,UI,xv]]}),t}(),iae=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t,bootstrap:[yne]}),t.\u0275inj=ie({providers:[],imports:[[yv,ht,nae]]}),t}();(function(){if(bD)throw new Error("Cannot enable prod mode after platform setup.");yD=!1})(),a8().bootstrapModule(iae).catch(function(t){return console.log(t)})}},function(rl){rl(rl.s=677)}]);
