-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvendor-es5.22dc2d6d677b37a72861.js
More file actions
1 lines (1 loc) · 545 KB
/
vendor-es5.22dc2d6d677b37a72861.js
File metadata and controls
1 lines (1 loc) · 545 KB
1
!function(){function t(n){var i="function"==typeof Map?new Map:void 0;return(t=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,r)}function r(){return e(t,arguments,v(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,t)})(n)}function e(t,n,i){return(e=d()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&l(r,n.prototype),r}).apply(null,arguments)}function n(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||o(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 i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,s=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw s}}}}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,r,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);s=!0);}catch(u){a=!0,r=u}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return o}(t,e)||o(t,e)||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 o(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=d();return function(){var n,i=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?f(t):e}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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 v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function y(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(self.webpackChunk_angular_ru_sdk=self.webpackChunk_angular_ru_sdk||[]).push([[736],{6083:function(t,e,n){"use strict";n.d(e,{l3:function(){return o},_j:function(){return i},LC:function(){return r},ZN:function(){return d},jt:function(){return a},vP:function(){return u},SB:function(){return c},oB:function(){return l},eR:function(){return h},X$:function(){return s},ZE:function(){return v},k1:function(){return p}});var i=function t(){m(this,t)},r=function t(){m(this,t)},o="*";function s(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function c(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function f(t){Promise.resolve(null).then(t)}var d=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m(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=e+n}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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 t=this;f(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),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(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),v=function(){function t(e){var n=this;m(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=e;var i=0,r=0,o=0,s=this.players.length;0==s?f(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++i==s&&n._onFinish()}),t.onDestroy(function(){++r==s&&n._onDestroy()}),t.onStart(function(){++o==s&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),p="!"},9760:function(t,e,n){"use strict";n.d(e,{Em:function(){return O},tE:function(){return G},qV:function(){return D},qm:function(){return q},X6:function(){return F},yG:function(){return N}});var i=n(2057),o=n(793),s=n(9765),l=n(5319),h=n(6215),f=n(5917),d=n(3328),p=n(7393),g=function(){function t(e){m(this,t),this.total=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.total))}}]),t}(),_=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return y(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(p.L),k=n(3342),b=n(4395),w=n(5435),S=n(8002),C=n(5257),E=n(7519),x=n(6782),A=n(9490),T=n(9642);n(7721);var O=function(t){u(n,t);var e=c(n);function n(){var t;return m(this,n),(t=e.apply(this,arguments))._origin="program",t}return y(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){a(v(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(function(){function t(e){var n=this;m(this,t),this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.xQ,this._typeaheadSubscription=l.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new s.xQ,this.change=new s.xQ,e instanceof o.n_E&&e.changes.subscribe(function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);e>-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}})}return y(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,k.b)(function(e){return t._pressedLetters.push(e)}),(0,b.b)(e),(0,w.h)(function(){return t._pressedLetters.length>0}),(0,S.U)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var r=(t._activeItemIndex+i)%n.length,o=n[r];if(!t._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);break}}t._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1});switch(n){case d.Mf:return void this.tabOut.next();case d.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case d.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case d.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case d.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case d.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case d.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,d.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=d.A&&n<=d.Z||n>=d.xE&&n<=d.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.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(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof o.n_E?this._items.toArray():this._items}}]),t}()),R=function(){var t=function(){function t(e){m(this,t),this._platform=e}return y(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){if(-1===P(n))return!1;if(!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),r=P(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||I(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(T.t4))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(T.t4))},token:t,providedIn:"root"}),t}();function I(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function P(t){if(!I(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var L=function(){function t(e,n,i,r){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];m(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return y(t,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-".concat(t))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]):e[n].hasAttribute("cdk-focus-region-".concat(t))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(t){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.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",e),!this._checker.isFocusable(e)){var n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}},{key:"focusFirstTabbableElement",value:function(t){var e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}},{key:"focusLastTabbableElement",value:function(t){var e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(t)}}]),t}(),D=function(){var t=function(){function t(e,n,i){m(this,t),this._checker=e,this._ngZone=n,this._document=i}return y(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new L(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(R),o.LFG(o.R0b),o.LFG(i.K0))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(R),o.LFG(o.R0b),o.LFG(i.K0))},token:t,providedIn:"root"}),t}();function F(t){return 0===t.buttons}function N(t){var e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈var j=new o.OlP("cdk-input-modality-detector-options"),V={ignoreKeys:[d.zL,d.jx,d.b2,d.MW,d.JU]},M=(0,T.i$)({passive:!0,capture:!0}),B=function(){var t=function(){function t(e,n,i,r){var o=this;m(this,t),this._platform=e,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=function(t){var e,n;(null===(n=null===(e=o._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(function(e){return e===t.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=U(t))},this._onMousedown=function(t){Date.now()-o._lastTouchMs<650||(o._modality.next(F(t)?"keyboard":"mouse"),o._mostRecentTarget=U(t))},this._onTouchstart=function(t){N(t)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=U(t))},this._options=Object.assign(Object.assign({},V),r),this.modalityDetected=this._modality.pipe(function(t){return t.lift(new g(1))}),this.modalityChanged=this.modalityDetected.pipe((0,E.x)()),e.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,M),i.addEventListener("mousedown",o._onMousedown,M),i.addEventListener("touchstart",o._onTouchstart,M)})}return y(t,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,M),document.removeEventListener("mousedown",this._onMousedown,M),document.removeEventListener("touchstart",this._onTouchstart,M))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(T.t4),o.LFG(o.R0b),o.LFG(i.K0),o.LFG(j,8))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(T.t4),o.LFG(o.R0b),o.LFG(i.K0),o.LFG(j,8))},token:t,providedIn:"root"}),t}();function U(t){return t.composedPath?t.composedPath()[0]:t.target}var H=new o.OlP("cdk-focus-monitor-default-options"),z=(0,T.i$)({passive:!0,capture:!0}),G=function(){var t=function(){function t(e,n,i,r,o){var a=this;m(this,t),this._ngZone=e,this._platform=n,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})},this._stopInputModalityDetector=new s.xQ,this._rootNodeFocusAndBlurListener=function(t){for(var e=U(t),n="focus"===t.type?a._onFocus:a._onBlur,i=e;i;i=i.parentElement)n.call(a,t,i)},this._document=r,this._detectionMode=(null==o?void 0:o.detectionMode)||0}return y(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,A.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,f.of)(null);var i=(0,T.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;var o={checkChildren:e,subject:new s.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(t){var e=(0,A.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=this,o=(0,A.fI)(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(function(t){var n=r(t,2),o=n[0],s=n[1];return i._originChanged(o,e,s)}):(this._setOrigin(e),"function"==typeof o.focus&&o.focus(n))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOrigin",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){e._origin=t,e._originFromTouchInteraction="touch"===t&&n,0===e._detectionMode&&(clearTimeout(e._originTimeoutId),e._originTimeoutId=setTimeout(function(){return e._origin=null},e._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e),i=U(t);n&&(n.checkChildren||e===i)&&this._originChanged(e,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,z),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,z)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){e._getWindow().addEventListener("focus",e._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,x.R)(this._stopInputModalityDetector)).subscribe(function(t){e._setOrigin(t,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,z),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,z),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}},{key:"_getClosestElementsInfo",value:function(t){var e=[];return this._elementInfo.forEach(function(n,i){(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.R0b),o.LFG(T.t4),o.LFG(B),o.LFG(i.K0,8),o.LFG(H,8))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(o.R0b),o.LFG(T.t4),o.LFG(B),o.LFG(i.K0,8),o.LFG(H,8))},token:t,providedIn:"root"}),t}(),q=function(){var t=function(){function t(e,n){m(this,t),this._platform=e,this._document=n}return y(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){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 t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(T.t4),o.LFG(i.K0))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(T.t4),o.LFG(i.K0))},token:t,providedIn:"root"}),t}()},6794:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return s}});var i=n(793),r=n(2057),o=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}}),s=function(){var t=function(){function t(e){if(m(this,t),this.value="ltr",this.change=new i.vpe,e){var n=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return y(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(o,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(o,8))},token:t,providedIn:"root"}),t}(),a=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t}()},9490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return s},Ig:function(){return r},HM:function(){return a},fI:function(){return u},su:function(){return o}});var i=n(793);function r(t){return null!=t&&"false"!="".concat(t)}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function s(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function u(t){return t instanceof i.SBq?t.nativeElement:t}},3296:function(t,e,n){"use strict";n.d(e,{P3:function(){return h},Ov:function(){return d},eX:function(){return f},k:function(){return v},Z9:function(){return l}});var r=n(5639),o=n(5917),s=n(9765),a=n(793);function l(t){return t&&"function"==typeof t.connect}var h=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this))._data=t,i}return y(n,[{key:"connect",value:function(){return(0,r.b)(this._data)?this._data:(0,o.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function t(){m(this,t)}}()),f=function(){function t(){m(this,t),this.viewCacheSize=20,this._viewCache=[]}return y(t,[{key:"applyChanges",value:function(t,e,n,i,r){var o=this;t.forEachOperation(function(t,s,a){var u,l;null==t.previousIndex?l=(u=o._insertView(function(){return n(t,s,a)},a,e,i(t)))?1:0:null==a?(o._detachAndCacheView(s,e),l=3):(u=o._moveView(s,a,e,i(t)),l=2),r&&r({context:null==u?void 0:u.context,operation:l,record:t})})}},{key:"detach",value:function(){var t,e=i(this._viewCache);try{for(e.s();!(t=e.n()).done;){t.value.destroy()}}catch(n){e.e(n)}finally{e.f()}this._viewCache=[]}},{key:"_insertView",value:function(t,e,n,i){var r=this._insertViewFromCache(e,n);if(!r){var o=t();return n.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(t,e){var n=e.detach(t);this._maybeCacheView(n,e)}},{key:"_moveView",value:function(t,e,n,i){var r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{var n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}},{key:"_insertViewFromCache",value:function(t,e){var n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}]),t}(),d=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];m(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.xQ,i&&i.length&&(n?i.forEach(function(t){return e._markSelected(t)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return y(t,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()}},{key:"toggle",value:function(t){this.isSelected(t)?this.deselect(t):this.select(t)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(t){return this._selection.has(t)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(t){this._multiple&&this.selected&&this._selected.sort(t)}},{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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}},{key:"_unmarkSelected",value:function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}},{key:"_unmarkAll",value:function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})}},{key:"_verifyValueAssignment",value:function(t){}}]),t}(),v=new a.OlP("_ViewRepeater")},3328:function(t,e,n){"use strict";n.d(e,{A:function(){return g},zL:function(){return a},jx:function(){return s},JH:function(){return p},uR:function(){return c},K5:function(){return r},hY:function(){return u},Sd:function(){return h},oh:function(){return f},b2:function(){return b},MW:function(){return k},aO:function(){return m},SV:function(){return v},JU:function(){return o},L_:function(){return l},Mf:function(){return i},LH:function(){return d},Z:function(){return _},xE:function(){return y},Vb:function(){return w}});var i=9,r=13,o=16,s=17,a=18,u=27,l=32,c=35,h=36,f=37,d=38,v=39,p=40,y=48,m=57,g=65,_=90,k=91,b=224;function w(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.length?n.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},7721:function(t,e,n){"use strict";n.d(e,{wD:function(){return c},yq:function(){return l},Q8:function(){return h}});var i=n(9490),r=n(793),o=n(7574),s=n(9765),a=n(4395),u=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),l=function(){var t=function(){function t(e){m(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return y(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})}},{key:"observe",value:function(t){var e=this,n=(0,i.fI)(t);return new o.y(function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new s.xQ,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(u))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(u))},token:t,providedIn:"root"}),t}(),c=function(){var t=function(){function t(e,n,i){m(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}return y(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=(0,i.su)(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe((0,a.b)(t.debounce)):e).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(l),r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),h=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[u]}),t}()},9642:function(t,e,n){"use strict";n.d(e,{t4:function(){return h},ud:function(){return f},ht:function(){return k},kV:function(){return _},_i:function(){return g},qK:function(){return v},i$:function(){return p},Mq:function(){return y}});var i,r=n(793),o=n(2057);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){i=!1}var s,a,u,l,c,h=function(){var t=function t(e){m(this,t),this._platformId=e,this.isBrowser=this._platformId?(0,o.NF)(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&&!i)&&"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)(r.LFG(r.Lbi))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.Lbi))},token:t,providedIn:"root"}),t}(),f=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function v(){if(s)return s;if("object"!=typeof document||!document)return s=new Set(d);var t=document.createElement("input");return s=new Set(d.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function p(t){return function(){if(null==a&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return a=!0}}))}finally{a=a||!1}return a}()?t:!!t.capture}function y(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1;if("scrollBehavior"in document.documentElement.style)l=!0;else{var t=Element.prototype.scrollTo;l=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return l}function g(){if("object"!=typeof document||!document)return 0;if(null==u){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function _(t){if(function(){if(null==c){var t="undefined"!=typeof document?document.head:null;c=!(!t||!t.createShadowRoot&&!t.attachShadow)}return c}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function k(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},4259:function(t,e,n){"use strict";n.d(e,{PQ:function(){return C},ZD:function(){return x},mF:function(){return S},Cl:function(){return A},rL:function(){return E}});var i=n(9490),r=n(793),o=n(6465),s=n(6102);new(function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(s.v))(function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?a(v(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return a(v(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(o.o));var l=n(9765),h=n(5917),f=n(7574),d=n(2759);n(4581),n(5319),n(5639),n(7393),new(function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return n}(s.v))(function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?a(v(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?a(v(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?a(v(n.prototype),"requestAsyncId",this).call(this,t,e,i):t.flush(this)}}]),n}(o.o)),n(1593),n(7971),n(8858),n(7519);var p=n(5124),g=n(5435),_=n(6782),k=(n(9761),n(3190),n(9642)),b=n(2057),w=n(6794);n(3296);var S=function(){var t=function(){function t(e,n,i){m(this,t),this._ngZone=e,this._platform=n,this._scrolled=new l.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return y(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new f.y(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe((0,p.e)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):(0,h.of)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,g.h)(function(t){return!t||n.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=(0,i.fI)(e),r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var e=t._getWindow();return(0,d.R)(e.document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(k.t4),r.LFG(b.K0,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.R0b),r.LFG(k.t4),r.LFG(b.K0,8))},token:t,providedIn:"root"}),t}(),C=function(){var t=function(){function t(e,n,i,r){var o=this;m(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new l.xQ,this._elementScrolled=new f.y(function(t){return o.ngZone.runOutsideAngular(function(){return(0,d.R)(o.elementRef.nativeElement,"scroll").pipe((0,_.R)(o._destroyed)).subscribe(t)})})}return y(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=(0,k._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,k._i)()?t.left=t.right:1==(0,k._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;(0,k.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==(0,k._i)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==(0,k._i)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(S),r.Y36(r.R0b),r.Y36(w.Is,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),E=function(){var t=function(){function t(e,n,i){var r=this;m(this,t),this._platform=e,this._change=new l.xQ,this._changeListener=function(t){r._change.next(t)},this._document=i,n.runOutsideAngular(function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return y(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe((0,p.e)(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(k.t4),r.LFG(r.R0b),r.LFG(b.K0,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(k.t4),r.LFG(r.R0b),r.LFG(b.K0,8))},token:t,providedIn:"root"}),t}(),x=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),A=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[w.vT,k.ud,x],w.vT,x]}),t}()},2057:function(t,e,n){"use strict";n.d(e,{mr:function(){return A},ez:function(){return q},K0:function(){return d},Do:function(){return O},V_:function(){return g},Ye:function(){return R},S$:function(){return E},mk:function(){return V},O5:function(){return M},RF:function(){return z},n9:function(){return G},b0:function(){return T},lw:function(){return v},EM:function(){return Q},JF:function(){return X},NF:function(){return K},w_:function(){return f},bD:function(){return Y},q:function(){return a},Mx:function(){return j},HT:function(){return l}});var o=n(793),s=null;function a(){return s}function l(t){s||(s=t)}var f=function t(){m(this,t)},d=new o.OlP("DocumentToken"),v=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,o.Yz7)({factory:p,token:t,providedIn:"platform"}),t}();function p(){return(0,o.LFG)(_)}var g=new o.OlP("Location Initialized"),_=function(){var t=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this))._doc=t,i._init(),i}return y(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=a().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=a().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{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(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){k()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){k()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),n}(v);return t.\u0275fac=function(e){return new(e||t)(o.LFG(d))},t.\u0275prov=(0,o.Yz7)({factory:b,token:t,providedIn:"platform"}),t}();function k(){return!!window.history.pushState}function b(){return new _((0,o.LFG)(d))}function w(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function S(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function C(t){return t&&"?"!==t[0]?"?"+t:t}var E=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,o.Yz7)({factory:x,token:t,providedIn:"root"}),t}();function x(t){var e=(0,o.LFG)(d).location;return new T((0,o.LFG)(v),e&&e.origin||"")}var A=new o.OlP("appBaseHref"),T=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;if(m(this,n),(r=e.call(this))._platformLocation=t,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,h(r)}return y(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return w(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+C(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+C(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+C(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(o.LFG(v),o.LFG(A,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return y(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=w(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+C(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+C(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(o.LFG(v),o.LFG(A,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),R=function(){var t=function(){function t(e,n){var i=this;m(this,t),this._subject=new o.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=S(P(r)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return y(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+C(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,P(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+C(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+C(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(E),o.LFG(v))},t.normalizeQueryParams=C,t.joinWithSlash=w,t.stripTrailingSlash=S,t.\u0275prov=(0,o.Yz7)({factory:I,token:t,providedIn:"root"}),t}();function I(){return new R((0,o.LFG)(E),(0,o.LFG)(v))}function P(t){return t.replace(/\/index.html$/,"")}var L=((L=L||{})[L.Zero=0]="Zero",L[L.One=1]="One",L[L.Two=2]="Two",L[L.Few=3]="Few",L[L.Many=4]="Many",L[L.Other=5]="Other",L),D=o.kL8,F=function t(){m(this,t)},N=function(){var t=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this)).locale=t,i}return y(n,[{key:"getPluralCategory",value:function(t,e){switch(D(e||this.locale)(t)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}}]),n}(F);return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.soG))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function j(t,e){e=encodeURIComponent(e);var n,o=i(t.split(";"));try{for(o.s();!(n=o.n()).done;){var s=n.value,a=s.indexOf("="),u=r(-1==a?[s,""]:[s.slice(0,a),s.slice(a+1)],2),l=u[0],c=u[1];if(l.trim()===e)return decodeURIComponent(c)}}catch(h){o.e(h)}finally{o.f()}return null}var V=function(){var t=function(){function t(e,n,i,r){m(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return y(t,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,o.sIi)(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 t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,o.AaK)(t.item)));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},t.\u0275dir=o.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),M=function(){var t=function(){function t(e,n){m(this,t),this._viewContainer=e,this._context=new B,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return y(t,[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){U("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){U("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),B=function t(){m(this,t),this.$implicit=null,this.ngIf=null};function U(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat((0,o.AaK)(e),"'."))}var H=function(){function t(e,n){m(this,t),this._viewContainerRef=e,this._templateRef=n,this._created=!1}return y(t,[{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(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}]),t}(),z=function(){var t=function(){function t(){m(this,t),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return y(t,[{key:"ngSwitch",set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}},{key:"_matchCase",value:function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}},{key:"_updateDefaultCases",value:function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),G=function(){var t=function(){function t(e,n,i){m(this,t),this.ngSwitch=i,i._addCase(),this._view=new H(e,n)}return y(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(z,9))},t.\u0275dir=o.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),q=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[{provide:F,useClass:N}]}),t}(),Y="browser";function K(t){return t===Y}var Q=function(){var t=function t(){m(this,t)};return t.\u0275prov=(0,o.Yz7)({token:t,providedIn:"root",factory:function(){return new W((0,o.LFG)(d),window)}}),t}(),W=function(){function t(e,n){m(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return y(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var o=r.shadowRoot;if(o){var s=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(s)return s}r=i.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=Z(this.window.history)||Z(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(e){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function Z(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var X=function t(){m(this,t)}},8497:function(t,e,i){"use strict";i.d(e,{JF:function(){return K}});var o=i(2057),s=i(793),a=i(5917),l=i(7574),h=i(4612),f=i(5435),d=i(8002),v=function t(){m(this,t)},p=function t(){m(this,t)},g=function(){function t(e){var n=this;m(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var i=t.slice(0,e),r=i.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return y(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{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(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{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(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n(i)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var s=this.headers.get(e);if(!s)return;0===(s=s.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),_=function(){function t(){m(this,t)}return y(t,[{key:"encodeKey",value:function(t){return k(t)}},{key:"encodeValue",value:function(t){return k(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function k(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function b(t){return"".concat(t)}var w=function(){function t(){var e,n,i,o=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(m(this,t),this.updates=null,this.cloneFrom=null,this.encoder=s.encoder||new _,s.fromString){if(s.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=s.fromString,n=this.encoder,i=new Map,e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(t){var e=t.indexOf("="),o=r(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),s=o[0],a=o[1],u=i.get(s)||[];u.push(a),i.set(s,u)}),i)}else s.fromObject?(this.map=new Map,Object.keys(s.fromObject).forEach(function(t){var e=s.fromObject[t];o.map.set(t,Array.isArray(e)?e:[e])})):this.map=null}return y(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var i=t[n];Array.isArray(i)?i.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).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 t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(b(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(b(e.value));-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),S=function(){function t(){m(this,t),this.map=new Map}return y(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function C(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function E(t){return"undefined"!=typeof Blob&&t instanceof Blob}function x(t){return"undefined"!=typeof FormData&&t instanceof FormData}var A=function(){function t(e,n,i,r){var o;if(m(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.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!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new g),this.context||(this.context=new S),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{var a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new w,this.urlWithParams=n}return y(t,[{key:"serializeBody",value:function(){return null===this.body?null:C(this.body)||E(this.body)||x(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof w?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||x(this.body)?null:E(this.body)?this.body.type||null:C(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof w?"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 e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,s=void 0!==n.body?n.body:this.body,a=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,l=n.headers||this.headers,c=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},l)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},c)),new t(i,r,s,{params:c,headers:l,context:h,reportProgress:u,responseType:o,withCredentials:a})}}]),t}(),T=((T=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),O=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";m(this,t),this.headers=e.headers||new g,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},R=function(t){u(n,t);var e=c(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(t=e.call(this,i)).type=T.ResponseHeader,t}return y(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(O),I=function(t){u(n,t);var e=c(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(t=e.call(this,i)).type=T.Response,t.body=void 0!==i.body?i.body:null,t}return y(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(O),P=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(O);function L(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var D=function(){var t=function(){function t(e){m(this,t),this.handler=e}return y(t,[{key:"request",value:function(t,e){var n,i,r,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof A?n=t:(i=s.headers instanceof g?s.headers:new g(s.headers),s.params&&(r=s.params instanceof w?s.params:new w({fromObject:s.params})),n=new A(t,e,void 0!==s.body?s.body:null,{headers:i,context:s.context,params:r,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials}));var u=(0,a.of)(n).pipe((0,h.b)(function(t){return o.handler.handle(t)}));if(t instanceof A||"events"===s.observe)return u;var l=u.pipe((0,f.h)(function(t){return t instanceof I}));switch(s.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe((0,d.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe((0,d.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe((0,d.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe((0,d.U)(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new w).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,L(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,L(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,L(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(v))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),F=function(){function t(e,n){m(this,t),this.next=e,this.interceptor=n}return y(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),N=new s.OlP("HTTP_INTERCEPTORS"),j=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),V=/^\)\]\}',?\n/,M=function(){var t=function(){function t(e){m(this,t),this.xhrFactory=e}return y(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.y(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new g(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return a=new R({headers:r,status:e,statusText:n,url:o})},l=function(){var e=u(),r=e.headers,o=e.status,s=e.statusText,a=e.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){var h=l;l=l.replace(V,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new I({body:l,headers:r,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new P({error:l,headers:r,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=u().url,r=new P({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},h=!1,f=function(e){h||(n.next(u()),h=!0);var r={type:T.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(t){var e={type:T.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",l),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),t.reportProgress&&(i.addEventListener("progress",f),null!==s&&i.upload&&i.upload.addEventListener("progress",d)),i.send(s),n.next({type:T.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",l),i.removeEventListener("timeout",c),t.reportProgress&&(i.removeEventListener("progress",f),null!==s&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(o.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),B=new s.OlP("XSRF_COOKIE_NAME"),U=new s.OlP("XSRF_HEADER_NAME"),H=function t(){m(this,t)},z=function(){var t=function(){function t(e,n,i){m(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return y(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(o.K0),s.LFG(s.Lbi),s.LFG(B))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(e,n){m(this,t),this.tokenService=e,this.headerName=n}return y(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(H),s.LFG(U))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),q=function(){var t=function(){function t(e,n){m(this,t),this.backend=e,this.injector=n,this.chain=null}return y(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(N,[]);this.chain=e.reduceRight(function(t,e){return new F(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(p),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Y=function(){var t=function(){function t(){m(this,t)}return y(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:G,useClass:j}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:B,useValue:e.cookieName}:[],e.headerName?{provide:U,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[G,{provide:N,useExisting:G,multi:!0},{provide:H,useClass:z},{provide:B,useValue:"XSRF-TOKEN"},{provide:U,useValue:"X-XSRF-TOKEN"}]}),t}(),K=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[D,{provide:v,useClass:q},M,{provide:p,useExisting:M}],imports:[[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},793:function(o,s,l){"use strict";l.d(s,{deG:function(){return hn},tb:function(){return du},AFp:function(){return uu},ip1:function(){return su},CZH:function(){return au},hGG:function(){return ol},z2F:function(){return Wu},sBO:function(){return pa},Sil:function(){return Cu},_Vd:function(){return Ms},EJc:function(){return yu},SBq:function(){return zs},qLn:function(){return Ei},vpe:function(){return Ua},gxx:function(){return ho},tBr:function(){return In},XFs:function(){return G},OlP:function(){return cn},zs3:function(){return xo},ZZ4:function(){return ua},aQg:function(){return ca},soG:function(){return pu},YKP:function(){return Ca},v3s:function(){return Xu},h0i:function(){return Sa},PXZ:function(){return Gu},R0b:function(){return Au},FiY:function(){return Pn},Lbi:function(){return fu},g9A:function(){return hu},n_E:function(){return za},Qsj:function(){return Ys},FYo:function(){return qs},JOm:function(){return Ti},Tiy:function(){return Qs},q3G:function(){return gi},tp0:function(){return Ln},EAV:function(){return tl},Rgc:function(){return ka},dDg:function(){return Du},DyG:function(){return fn},GfV:function(){return Ws},s_b:function(){return xa},ifc:function(){return W},eFA:function(){return qu},G48:function(){return Hu},Gpc:function(){return A},f3M:function(){return An},X6Q:function(){return Uu},_c5:function(){return il},VLi:function(){return Nu},c2e:function(){return vu},zSh:function(){return vo},wAp:function(){return As},vHH:function(){return R},EiD:function(){return yi},mCW:function(){return $n},qzn:function(){return Hn},JVY:function(){return Gn},pB0:function(){return Qn},eBb:function(){return Yn},L6k:function(){return qn},LAX:function(){return Kn},cg1:function(){return Cs},Tjo:function(){return nl},kL8:function(){return Es},yhl:function(){return zn},dqk:function(){return tt},sIi:function(){return Fo},CqO:function(){return Xo},QGY:function(){return Wo},F4k:function(){return Zo},RDi:function(){return Nt},AaK:function(){return C},z3N:function(){return Un},qOj:function(){return To},TTD:function(){return It},_Bn:function(){return Ns},xp6:function(){return vr},uIk:function(){return Vo},ekj:function(){return cs},Suo:function(){return eu},Xpm:function(){return ht},lG2:function(){return gt},Yz7:function(){return D},cJS:function(){return F},oAB:function(){return pt},Yjl:function(){return _t},Y36:function(){return Bo},IAx:function(){return Jt},_UZ:function(){return qo},BQk:function(){return Ko},ynx:function(){return Yo},qZA:function(){return Go},TgZ:function(){return zo},fQ9:function(){return Xt},EpF:function(){return Qo},n5z:function(){return sn},Ikx:function(){return _s},LFG:function(){return xn},$8M:function(){return un},NdJ:function(){return Jo},CRH:function(){return nu},oxw:function(){return is},Hsn:function(){return ss},F$t:function(){return os},Q6J:function(){return Uo},iGM:function(){return $a},CHM:function(){return ee},LSH:function(){return _i},kYT:function(){return yt},Udp:function(){return ls},WFA:function(){return $o},d8E:function(){return ks},YNc:function(){return Mo},_uU:function(){return ys},Oqu:function(){return ms},hij:function(){return gs},Gf:function(){return tu}});var h=l(9765),d=l(5319),p=l(7574),g=l(6682),_=l(2441),k=l(1307);function b(){return new h.xQ}function w(t){for(var e in t)if(t[e]===w)return e;throw Error("Could not find renamed property on target object.")}function S(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(C).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function E(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var x=w({__forward_ref__:w});function A(t){return t.__forward_ref__=A,t.toString=function(){return C(this())},t}function T(t){return O(t)?t():t}function O(t){return"function"==typeof t&&t.hasOwnProperty(x)&&t.__forward_ref__===A}var R=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,i))).code=t,r}return n}(t(Error));function I(t){return"string"==typeof t?t:null==t?"":String(t)}function P(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():I(t)}function L(t,e){var n=e?" in ".concat(e):"";throw new R("201","No provider for ".concat(P(t)," found").concat(n))}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function F(t){return{providers:t.providers||[],imports:t.imports||[]}}function N(t){return j(t,B)||j(t,H)}function j(t,e){return t.hasOwnProperty(e)?t[e]:null}function V(t){return t&&(t.hasOwnProperty(U)||t.hasOwnProperty(z))?t[U]:null}var M,B=w({"\u0275prov":w}),U=w({"\u0275inj":w}),H=w({ngInjectableDef:w}),z=w({ngInjectorDef:w}),G=((G=G||{})[G.Default=0]="Default",G[G.Host=1]="Host",G[G.Self=2]="Self",G[G.SkipSelf=4]="SkipSelf",G[G.Optional=8]="Optional",G);function q(t){var e=M;return M=t,e}function Y(t,e,n){var i=N(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&G.Optional?null:void 0!==e?e:void L(C(t),"Injector")}function K(t){return{toString:t}.toString()}var Q=((Q=Q||{})[Q.OnPush=0]="OnPush",Q[Q.Default=1]="Default",Q),W=((W=W||{})[W.Emulated=0]="Emulated",W[W.None=2]="None",W[W.ShadowDom=3]="ShadowDom",W),Z="undefined"!=typeof globalThis&&globalThis,X="undefined"!=typeof window&&window,J="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,$="undefined"!=typeof global&&global,tt=Z||$||X||J,et={},nt=[],it=w({"\u0275cmp":w}),rt=w({"\u0275dir":w}),ot=w({"\u0275pipe":w}),st=w({"\u0275mod":w}),at=w({"\u0275loc":w}),ut=w({"\u0275fac":w}),lt=w({__NG_ELEMENT_ID__:w}),ct=0;function ht(t){return K(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===Q.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||nt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||W.Emulated,id:"c",styles:t.styles||nt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=ct++,n.inputs=mt(t.inputs,e),n.outputs=mt(t.outputs),r&&r.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ft)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(dt)}:null,n})}function ft(t){return kt(t)||function(t){return t[rt]||null}(t)}function dt(t){return function(t){return t[ot]||null}(t)}var vt={};function pt(t){return K(function(){var e={type:t.type,bootstrap:t.bootstrap||nt,declarations:t.declarations||nt,imports:t.imports||nt,exports:t.exports||nt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(vt[t.id]=t.type),e})}function yt(t,e){return K(function(){var n=bt(t,!0);n.declarations=e.declarations||nt,n.imports=e.imports||nt,n.exports=e.exports||nt})}function mt(t,e){if(null==t)return et;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}var gt=ht;function _t(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function kt(t){return t[it]||null}function bt(t,e){var n=t[st]||null;if(!n&&!0===e)throw new Error("Type ".concat(C(t)," does not have '\u0275mod' property."));return n}function wt(t){return Array.isArray(t)&&"object"==typeof t[1]}function St(t){return Array.isArray(t)&&!0===t[1]}function Ct(t){return 0!=(8&t.flags)}function Et(t){return 2==(2&t.flags)}function xt(t){return 1==(1&t.flags)}function At(t){return null!==t.template}function Tt(t,e){return t.hasOwnProperty(ut)?t[ut]:null}var Ot,Rt=function(){function t(e,n,i){m(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return y(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function It(){return Pt}function Pt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Dt),Lt}function Lt(){var t=Ft(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===et)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function Dt(t,e,n,i){var r=Ft(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:et,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],u=s[a];o[a]=new Rt(u&&u.currentValue,e,s===et),t[i]=e}function Ft(t){return t.__ngSimpleChanges__||null}function Nt(t){Ot=t}function jt(t){return!!t.listen}It.ngInherit=!0;var Vt={createRenderer:function(t,e){return void 0!==Ot?Ot:"undefined"!=typeof document?document:void 0}};function Mt(t){for(;Array.isArray(t);)t=t[0];return t}function Bt(t,e){return Mt(e[t])}function Ut(t,e){return Mt(e[t.index])}function Ht(t,e){return t.data[e]}function zt(t,e){var n=e[t];return wt(n)?n:n[0]}function Gt(t){return 4==(4&t[2])}function qt(t){return 128==(128&t[2])}function Yt(t,e){return null==e?null:t[e]}function Kt(t){t[18]=0}function Qt(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var Wt={lFrame:ge(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zt(){return Wt.bindingsEnabled}function Xt(){Wt.bindingsEnabled=!0}function Jt(){Wt.bindingsEnabled=!1}function $t(){return Wt.lFrame.lView}function te(){return Wt.lFrame.tView}function ee(t){return Wt.lFrame.contextLView=t,t[8]}function ne(){for(var t=ie();null!==t&&64===t.type;)t=t.parent;return t}function ie(){return Wt.lFrame.currentTNode}function re(t,e){var n=Wt.lFrame;n.currentTNode=t,n.isParent=e}function oe(){return Wt.lFrame.isParent}function se(){Wt.lFrame.isParent=!1}function ae(){return Wt.isInCheckNoChangesMode}function ue(t){Wt.isInCheckNoChangesMode=t}function le(){return Wt.lFrame.bindingIndex++}function ce(t){Wt.lFrame.currentDirectiveIndex=t}function he(t){var e=Wt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function fe(){return Wt.lFrame.currentQueryIndex}function de(t){Wt.lFrame.currentQueryIndex=t}function ve(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function pe(t,e,n){if(n&G.SkipSelf){for(var i=e,r=t;!(null!==(i=i.parent)||n&G.Host||(i=ve(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}var o=Wt.lFrame=me();return o.currentTNode=e,o.lView=t,!0}function ye(t){var e=me(),n=t[1];Wt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function me(){var t=Wt.lFrame,e=null===t?null:t.child;return null===e?ge(t):e}function ge(t){var e={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=e),e}function _e(){var t=Wt.lFrame;return Wt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ke=_e;function be(){var t=_e();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 we(){return Wt.lFrame.selectedIndex}function Se(t){Wt.lFrame.selectedIndex=t}function Ce(){var t=Wt.lFrame;return Ht(t.tView,t.selectedIndex)}function Ee(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n<i;n++){var r=t.data[n].type.prototype,o=r.ngAfterContentInit,s=r.ngAfterContentChecked,a=r.ngAfterViewInit,u=r.ngAfterViewChecked,l=r.ngOnDestroy;o&&(t.contentHooks||(t.contentHooks=[])).push(-n,o),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),a&&(t.viewHooks||(t.viewHooks=[])).push(-n,a),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function xe(t,e,n){Oe(t,e,3,n)}function Ae(t,e,n,i){(3&t[2])===n&&Oe(t,e,n,i)}function Te(t,e){var n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Oe(t,e,n,i){for(var r=null!=i?i:-1,o=e.length-1,s=0,a=void 0!==i?65535&t[18]:0;a<o;a++)if("number"==typeof e[a+1]){if(s=e[a],null!=i&&s>=i)break}else e[a]<0&&(t[18]+=65536),(s<r||-1==r)&&(Re(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function Re(t,e,n,i){var r=n[i]<0,o=n[i+1],s=t[r?-n[i]:n[i]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}var Ie=function t(e,n,i){m(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Pe(t,e,n){for(var i=jt(t),r=0;r<n.length;){var o=n[r];if("number"==typeof o){if(0!==o)break;r++;var s=n[r++],a=n[r++],u=n[r++];i?t.setAttribute(e,a,u,s):e.setAttributeNS(s,a,u)}else{var l=o,c=n[++r];De(l)?i&&t.setProperty(e,l,c):i?t.setAttribute(e,l,c):e.setAttribute(l,c),r++}}return r}function Le(t){return 3===t||4===t||6===t}function De(t){return 64===t.charCodeAt(0)}function Fe(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else for(var n=-1,i=0;i<e.length;i++){var r=e[i];"number"==typeof r?n=r:0===n||Ne(t,n,r,null,-1===n||2===n?e[++i]:null)}return t}function Ne(t,e,n,i,r){var o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){var a=t[o++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=o-1;break}}}for(;o<t.length;){var u=t[o];if("number"==typeof u)break;if(u===n){if(null===i)return void(null!==r&&(t[o+1]=r));if(i===t[o+1])return void(t[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==i&&t.splice(o++,0,i),null!==r&&t.splice(o++,0,r)}function je(t){return-1!==t}function Ve(t){return 32767&t}function Me(t,e){for(var n=t>>16,i=e;n>0;)i=i[15],n--;return i}var Be=!0;function Ue(t){var e=Be;return Be=t,e}var He=0;function ze(t,e){var n=qe(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ge(i.data,t),Ge(e,null),Ge(i.blueprint,null));var r=Ye(t,e),o=t.injectorIndex;if(je(r))for(var s=Ve(r),a=Me(r,e),u=a[1].data,l=0;l<8;l++)e[o+l]=a[s+l]|u[s+l];return e[o+8]=r,o}function Ge(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ye(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,i=null,r=e;null!==r;){var o=r[1],s=o.type;if(null===(i=2===s?o.declTNode:1===s?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ke(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(lt)&&(i=n[lt]),null==i&&(i=n[lt]=He++);var r=255&i;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function Qe(t,e,n){if(n&G.Optional)return t;L(e,"NodeInjector")}function We(t,e,n,i){if(n&G.Optional&&void 0===i&&(i=null),0==(n&(G.Self|G.Host))){var r=t[9],o=q(void 0);try{return r?r.get(e,i,n&G.Optional):Y(e,i,n&G.Optional)}finally{q(o)}}return Qe(i,e,n)}function Ze(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:G.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(lt)?t[lt]:void 0;return"number"==typeof e?e>=0?255&e:Je:e}(n);if("function"==typeof o){if(!pe(e,t,i))return i&G.Host?Qe(r,n,i):We(e,n,i,r);try{var s=o(i);if(null!=s||i&G.Optional)return s;L(n)}finally{ke()}}else if("number"==typeof o){var a=null,u=qe(t,e),l=-1,c=i&G.Host?e[16][6]:null;for((-1===u||i&G.SkipSelf)&&(-1!==(l=-1===u?Ye(t,e):e[u+8])&&rn(i,!1)?(a=e[1],u=Ve(l),e=Me(l,e)):u=-1);-1!==u;){var h=e[1];if(nn(o,u,h.data)){var f=$e(u,e,n,a,i,c);if(f!==Xe)return f}-1!==(l=e[u+8])&&rn(i,e[1].data[u+8]===c)&&nn(o,u,e)?(a=h,u=Ve(l),e=Me(l,e)):u=-1}}}return We(e,n,i,r)}var Xe={};function Je(){return new on(ne(),$t())}function $e(t,e,n,i,r,o){var s=e[1],a=s.data[t+8],u=tn(a,s,n,null==i?Et(a)&&Be:i!=s&&0!=(3&a.type),r&G.Host&&o===a);return null!==u?en(e,s,u,a):Xe}function tn(t,e,n,i,r){for(var o=t.providerIndexes,s=e.data,a=1048575&o,u=t.directiveStart,l=o>>20,c=r?a+l:t.directiveEnd,h=i?a:a+l;h<c;h++){var f=s[h];if(h<u&&n===f||h>=u&&f.type===n)return h}if(r){var d=s[u];if(d&&At(d)&&d.type===n)return u}return null}function en(t,e,n,i){var r=t[n],o=e.data;if(r instanceof Ie){var s=r;s.resolving&&function(t,e){throw new R("200","Circular dependency in DI detected for ".concat(t))}(P(o[n]));var a=Ue(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?q(s.injectImpl):null;pe(t,i,G.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,s=i.ngDoCheck;if(r){var a=Pt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,o[n],e)}finally{null!==u&&q(u),Ue(a),s.resolving=!1,ke()}}return r}function nn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function rn(t,e){return!(t&G.Self||t&G.Host&&e)}var on=function(){function t(e,n){m(this,t),this._tNode=e,this._lView=n}return y(t,[{key:"get",value:function(t,e){return Ze(this._tNode,this._lView,t,void 0,e)}}]),t}();function sn(t){return K(function(){for(var e=t.prototype.constructor,n=e[ut]||an(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var o=r[ut]||an(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(t){return new t}})}function an(t){return O(t)?function(){var e=an(T(t));return e&&e()}:Tt(t)}function un(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r<i;){var o=n[r];if(Le(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===e)return n[r+1];r+=2}}return null}(ne(),t)}function ln(t,n,i){return K(function(){var r=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(n);function o(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(this instanceof o)return r.apply(this,n),this;var s=e(o,n);return a.annotation=s,a;function a(t,e,n){for(var i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(s),t}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var cn=function(){function t(e,n){m(this,t),this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return y(t,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),t}(),hn=new cn("AnalyzeForEntryComponents"),fn=Function;function dn(t,e){void 0===e&&(e=t);for(var n=0;n<t.length;n++){var i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),dn(i,e)):e!==t&&e.push(i)}return e}function vn(t,e){t.forEach(function(t){return Array.isArray(t)?vn(t,e):e(t)})}function pn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function yn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function mn(t,e){for(var n=[],i=0;i<t;i++)n.push(e);return n}function gn(t,e){var n=_n(t,e);if(n>=0)return t[1|n]}function _n(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var o=i+(r-i>>1),s=t[o<<1];if(e===s)return o<<1;s>e?r=o:i=o+1}return~(r<<1)}(t,e)}var kn,bn={},wn=/\n/gm,Sn=w({provide:String,useValue:w});function Cn(t){var e=kn;return kn=t,e}function En(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;if(void 0===kn)throw new Error("inject() must be called from an injection context");return null===kn?Y(t,void 0,e):kn.get(t,e&G.Optional?null:void 0,e)}function xn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;return(M||En)(T(t),e)}var An=xn;function Tn(t){for(var e=[],n=0;n<t.length;n++){var i=T(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=G.Default,s=0;s<i.length;s++){var a=i[s],u=a.__NG_DI_FLAG__;"number"==typeof u?-1===u?r=a.token:o|=u:r=a}e.push(xn(r,o))}else e.push(xn(i))}return e}function On(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}var Rn,In=On(ln("Inject",function(t){return{token:t}}),-1),Pn=On(ln("Optional"),8),Ln=On(ln("SkipSelf"),4);function Dn(t){var e;return(null===(e=function(){if(void 0===Rn&&(Rn=null,tt.trustedTypes))try{Rn=tt.trustedTypes.createPolicy("angular",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(e){}return Rn}())||void 0===e?void 0:e.createHTML(t))||t}var Fn=function(){function t(e){m(this,t),this.changingThisBreaksApplicationSecurity=e}return y(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),t}(),Nn=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Fn),jn=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Fn),Vn=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Fn),Mn=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Fn),Bn=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Fn);function Un(t){return t instanceof Fn?t.changingThisBreaksApplicationSecurity:t}function Hn(t,e){var n=zn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===e}function zn(t){return t instanceof Fn&&t.getTypeName()||null}function Gn(t){return new Nn(t)}function qn(t){return new jn(t)}function Yn(t){return new Vn(t)}function Kn(t){return new Mn(t)}function Qn(t){return new Bn(t)}var Wn=function(){function t(e){m(this,t),this.inertDocumentHelper=e}return y(t,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t;try{var e=(new window.DOMParser).parseFromString(Dn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(n){return null}}}]),t}(),Zn=function(){function t(e){if(m(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return y(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Dn(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=Dn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||t.removeAttribute(i)}for(var r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),t}(),Xn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jn=/^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 $n(t){return(t=String(t)).match(Xn)||t.match(Jn)?t:"unsafe:"+t}function ti(t){var e,n={},r=i(t.split(","));try{for(r.s();!(e=r.n()).done;){n[e.value]=!0}}catch(o){r.e(o)}finally{r.f()}return n}function ei(){for(var t={},e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,o=n;r<o.length;r++){var s=o[r];for(var a in s)s.hasOwnProperty(a)&&(t[a]=!0)}return t}var ni,ii=ti("area,br,col,hr,img,wbr"),ri=ti("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oi=ti("rp,rt"),si=ei(oi,ri),ai=ei(ii,ei(ri,ti("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")),ei(oi,ti("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")),si),ui=ti("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),li=ti("srcset"),ci=ei(ui,li,ti("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"),ti("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")),hi=ti("script,style,template"),fi=function(){function t(){m(this,t),this.sanitizedSomething=!1,this.buf=[]}return y(t,[{key:"sanitizeChildren",value:function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var e=t.nodeName.toLowerCase();if(!ai.hasOwnProperty(e))return this.sanitizedSomething=!0,!hi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n,i=t.attributes,r=0;r<i.length;r++){var o=i.item(r),s=o.name,a=s.toLowerCase();if(ci.hasOwnProperty(a)){var u=o.value;ui[a]&&(u=$n(u)),li[a]&&(n=u,u=(n=String(n)).split(",").map(function(t){return $n(t.trim())}).join(", ")),this.buf.push(" ",s,'="',pi(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();ai.hasOwnProperty(e)&&!ii.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push(pi(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),di=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vi=/([^\#-~ |!])/g;function pi(t){return t.replace(/&/g,"&").replace(di,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(vi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function yi(t,e){var n=null;try{ni=ni||function(t){var e=new Zn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Dn(""),"text/html")}catch(t){return!1}}()?new Wn(e):e}(t);var i=e?String(e):"";n=ni.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=ni.getInertBodyElement(i)}while(i!==o);return Dn((new fi).sanitizeChildren(mi(n)||n))}finally{if(n)for(var s=mi(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function mi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gi=((gi=gi||{})[gi.NONE=0]="NONE",gi[gi.HTML=1]="HTML",gi[gi.STYLE=2]="STYLE",gi[gi.SCRIPT=3]="SCRIPT",gi[gi.URL=4]="URL",gi[gi.RESOURCE_URL=5]="RESOURCE_URL",gi);function _i(t){var e,n=(e=$t())&&e[12];return n?n.sanitize(gi.URL,t)||"":Hn(t,"URL")?Un(t):$n(I(t))}function ki(t,e){t.__ngContext__=e}function bi(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function wi(t){return t.ngDebugContext}function Si(t){return t.ngOriginalError}function Ci(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];t.error.apply(t,n)}var Ei=function(){function t(){m(this,t),this._console=console}return y(t,[{key:"handleError",value:function(t){var e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Ci}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(t){return t?wi(t)?wi(t):this._findContext(Si(t)):null}},{key:"_findOriginalError",value:function(t){for(var e=Si(t);e&&Si(e);)e=Si(e);return e}}]),t}(),xi=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(tt);function Ai(t){return t instanceof Function?t():t}var Ti=((Ti=Ti||{})[Ti.Important=1]="Important",Ti[Ti.DashCase=2]="DashCase",Ti);function Oi(t,e){return(void 0)(t,e)}function Ri(t){var e=t[3];return St(e)?e[3]:e}function Ii(t){return Li(t[13])}function Pi(t){return Li(t[4])}function Li(t){for(;null!==t&&!St(t);)t=t[4];return t}function Di(t,e,n,i,r){if(null!=i){var o,s=!1;St(i)?o=i:wt(i)&&(s=!0,i=i[0]);var a=Mt(i);0===t&&null!==n?null==r?Hi(e,n,a):Ui(e,n,a,r||null,!0):1===t&&null!==n?Ui(e,n,a,r||null,!0):2===t?function(t,e,n){var i=Gi(t,e);i&&function(t,e,n,i){jt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){var o=n[7];o!==Mt(n)&&Di(e,t,i,o,r);for(var s=10;s<n.length;s++){var a=n[s];Ji(a[1],a,t,e,i,o)}}(e,t,o,n,r)}}function Fi(t,e,n){return jt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ni(t,e){var n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,Qt(r,-1)),n.splice(i,1)}function ji(t,e){if(!(t.length<=10)){var n,i=10+e,r=t[i];if(r){var o=r[17];null!==o&&o!==t&&Ni(o,r),e>0&&(t[i-1][4]=r[4]);var s=yn(t,10+e);Ji(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Vi(t,e){if(!(256&e[2])){var n=e[11];jt(n)&&n.destroyNode&&Ji(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Mi(t[1],t);for(;e;){var n=null;if(wt(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)wt(e)&&Mi(e[1],e),e=e[3];null===e&&(e=t),wt(e)&&Mi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Mi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i<n.length;i+=2){var r=e[n[i]];if(!(r instanceof Ie)){var o=n[i+1];if(Array.isArray(o))for(var s=0;s<o.length;s+=2){var a=r[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(r)}finally{}}}}(t,e),function(t,e){var n=t.cleanup,i=e[7],r=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var s=n[o+1],a="function"==typeof s?s(e):Mt(e[s]),u=i[r=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var h=r+1;h<i.length;h++)(0,i[h])();e[7]=null}}(t,e),1===e[1].type&&jt(e[11])&&e[11].destroy();var n=e[17];if(null!==n&&St(e[3])){n!==e[3]&&Ni(n,e);var i=e[19];null!==i&&i.detachView(t)}}}function Bi(t,e,n){return function(t,e,n){for(var i=e;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){var r=t.data[i.directiveStart].encapsulation;if(r===W.None||r===W.Emulated)return null}return Ut(i,n)}(t,e.parent,n)}function Ui(t,e,n,i,r){jt(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function Hi(t,e,n){jt(t)?t.appendChild(e,n):e.appendChild(n)}function zi(t,e,n,i,r){null!==i?Ui(t,e,n,i,r):Hi(t,e,n)}function Gi(t,e){return jt(t)?t.parentNode(e):e.parentNode}function qi(t,e,n){return Yi(t,e,n)}var Yi=function(t,e,n){return 40&t.type?Ut(t,n):null};function Ki(t,e,n,i){var r=Bi(t,i,e),o=e[11],s=qi(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(var a=0;a<n.length;a++)zi(o,r,n[a],s,!1);else zi(o,r,n,s,!1)}function Qi(t,e){if(null!==e){var n=e.type;if(3&n)return Ut(e,t);if(4&n)return Zi(-1,t[e.index]);if(8&n){var i=e.child;if(null!==i)return Qi(t,i);var r=t[e.index];return St(r)?Zi(-1,r):Mt(r)}if(32&n)return Oi(e,t)()||Mt(t[e.index]);var o=Wi(t,e);return null!==o?Array.isArray(o)?o[0]:Qi(Ri(t[16]),o):Qi(t,e.next)}return null}function Wi(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Zi(t,e){var n=10+t+1;if(n<e.length){var i=e[n],r=i[1].firstChild;if(null!==r)return Qi(i,r)}return e[7]}function Xi(t,e,n,i,r,o,s){for(;null!=n;){var a=i[n.index],u=n.type;if(s&&0===e&&(a&&ki(Mt(a),i),n.flags|=4),64!=(64&n.flags))if(8&u)Xi(t,e,n.child,i,r,o,!1),Di(e,t,r,a,o);else if(32&u){for(var l=Oi(n,i),c=void 0;c=l();)Di(e,t,r,c,o);Di(e,t,r,a,o)}else 16&u?$i(t,e,i,n,r,o):Di(e,t,r,a,o);n=s?n.projectionNext:n.next}}function Ji(t,e,n,i,r,o){Xi(n,i,t.firstChild,e,r,o,!1)}function $i(t,e,n,i,r,o){var s=n[16],a=s[6].projection[i.projection];if(Array.isArray(a))for(var u=0;u<a.length;u++)Di(e,t,r,a[u],o);else Xi(t,e,a,s[3],r,o,!0)}function tr(t,e,n){jt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function er(t,e,n){jt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function nr(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var o=e.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}n=r+1}}function ir(t,e,n){for(var i=0;i<t.length;){var r=t[i++];if(n&&"class"===r){if(-1!==nr((r=t[i]).toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function rr(t){return 4===t.type&&"ng-template"!==t.value}function or(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function sr(t,e,n){for(var i=4,r=t.attrs||[],o=function(t){for(var e=0;e<t.length;e++)if(Le(t[e]))return e;return t.length}(r),s=!1,a=0;a<e.length;a++){var u=e[a];if("number"!=typeof u){if(!s)if(4&i){if(i=2|1&i,""!==u&&!or(t,u,n)||""===u&&1===e.length){if(ar(i))return!1;s=!0}}else{var l=8&i?u:e[++a];if(8&i&&null!==t.attrs){if(!ir(t.attrs,l,n)){if(ar(i))return!1;s=!0}continue}var c=ur(8&i?"class":u,r,rr(t),n);if(-1===c){if(ar(i))return!1;s=!0;continue}if(""!==l){var h;h=c>o?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==nr(f,l,0)||2&i&&l!==h){if(ar(i))return!1;s=!0}}}}else{if(!s&&!ar(i)&&!ar(u))return!1;if(s&&ar(u))continue;s=!1,i=u|1&i}}return ar(i)||s}function ar(t){return 0==(1&t)}function ur(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var o=!1;r<e.length;){var s=e[r];if(s===t)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){for(var a=e[++r];"string"==typeof a;)a=e[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){var i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function lr(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<e.length;i++)if(sr(t,e[i],n))return!0;return!1}function cr(t,e){t:for(var n=0;n<e.length;n++){var i=e[n];if(t.length===i.length){for(var r=0;r<t.length;r++)if(t[r]!==i[r])continue t;return!0}}return!1}function hr(t,e){return t?":not("+e.trim()+")":e}function fr(t){for(var e=t[0],n=1,i=2,r="",o=!1;n<t.length;){var s=t[n];if("string"==typeof s)if(2&i){var a=t[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||ar(s)||(e+=hr(o,r),r=""),i=s,o=o||!ar(i);n++}return""!==r&&(e+=hr(o,r)),e}var dr={};function vr(t){pr(te(),$t(),we()+t,ae())}function pr(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&xe(e,r,n)}else{var o=t.preOrderHooks;null!==o&&Ae(e,o,0,n)}Se(n)}function yr(t,e){return t<<17|e<<2}function mr(t){return t>>17&32767}function gr(t){return 2|t}function _r(t){return(131068&t)>>2}function kr(t,e){return-131069&t|e<<2}function br(t){return 1|t}function wr(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],o=n[i+1];if(-1!==o){var s=t.data[o];de(r),s.contentQueries(2,e[o],o)}}}function Sr(t,e,n,i,r,o,s,a,u,l){var c=e.blueprint.slice();return c[0]=r,c[2]=140|i,Kt(c),c[3]=c[15]=t,c[8]=n,c[10]=s||t&&t[10],c[11]=a||t&&t[11],c[12]=u||t&&t[12]||null,c[9]=l||t&&t[9]||null,c[6]=o,c[16]=2==e.type?t[16]:c,c}function Cr(t,e,n,i,r){var o,s,a=t.data[e];if(null===a)a=function(t,e,n,i,r){var o=ie(),s=oe(),a=t.data[e]=function(t,e,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=a),null!==o&&(s?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}(t,e,n,i,r),Wt.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=i,a.attrs=r;var u=(o=Wt.lFrame,s=o.currentTNode,o.isParent?s:s.parent);a.injectorIndex=null===u?-1:u.injectorIndex}return re(a,!0),a}function Er(t,e,n,i){if(0===n)return-1;for(var r=e.length,o=0;o<n;o++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function xr(t,e,n){ye(e);try{var i=t.viewQuery;null!==i&&no(1,i,n);var r=t.template;null!==r&&Or(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&wr(t,e),t.staticViewQueries&&no(2,t.viewQuery,n);var o=t.components;null!==o&&function(t,e){for(var n=0;n<e.length;n++)Xr(t,e[n])}(e,o)}catch(s){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),s}finally{e[2]&=-5,be()}}function Ar(t,e,n,i){var r=e[2];if(256!=(256&r)){ye(e);var o=ae();try{Kt(e),Wt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Or(t,e,n,2,i);var s=3==(3&r);if(!o)if(s){var a=t.preOrderCheckHooks;null!==a&&xe(e,a,null)}else{var u=t.preOrderHooks;null!==u&&Ae(e,u,0,null),Te(e,0)}if(function(t){for(var e=Ii(t);null!==e;e=Pi(e))if(e[2])for(var n=e[9],i=0;i<n.length;i++){var r=n[i],o=r[3];0==(1024&r[2])&&Qt(o,1),r[2]|=1024}}(e),function(t){for(var e=Ii(t);null!==e;e=Pi(e))for(var n=10;n<e.length;n++){var i=e[n],r=i[1];qt(i)&&Ar(r,i,r.template,i[8])}}(e),null!==t.contentQueries&&wr(t,e),!o)if(s){var l=t.contentCheckHooks;null!==l&&xe(e,l)}else{var c=t.contentHooks;null!==c&&Ae(e,c,1),Te(e,1)}!function(t,e){var n,i,r,o=t.hostBindingOpCodes;if(null!==o)try{for(var s=0;s<o.length;s++){var a=o[s];if(a<0)Se(~a);else{var u=a,l=o[++s],c=o[++s];n=l,i=u,r=void 0,(r=Wt.lFrame).bindingIndex=r.bindingRootIndex=n,ce(i),c(2,e[u])}}}finally{Se(-1)}}(t,e);var h=t.components;null!==h&&function(t,e){for(var n=0;n<e.length;n++)Wr(t,e[n])}(e,h);var f=t.viewQuery;if(null!==f&&no(2,f,i),!o)if(s){var d=t.viewCheckHooks;null!==d&&xe(e,d)}else{var v=t.viewHooks;null!==v&&Ae(e,v,2),Te(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Qt(e[3],-1))}finally{be()}}}function Tr(t,e,n,i){var r=e[10],o=!ae(),s=Gt(e);try{o&&!s&&r.begin&&r.begin(),s&&xr(t,e,i),Ar(t,e,n,i)}finally{o&&!s&&r.end&&r.end()}}function Or(t,e,n,i,r){var o=we(),s=2&i;try{Se(-1),s&&e.length>20&&pr(t,e,20,ae()),n(i,r)}finally{Se(o)}}function Rr(t,e,n){if(Ct(e))for(var i=e.directiveEnd,r=e.directiveStart;r<i;r++){var o=t.data[r];o.contentQueries&&o.contentQueries(1,n[r],r)}}function Ir(t,e,n){Zt()&&(function(t,e,n,i){var r=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||ze(n,e),ki(i,e);for(var s=n.initialInputs,a=r;a<o;a++){var u=t.data[a],l=At(u);l&&qr(e,n,u);var c=en(e,t,a,n);ki(c,e),null!==s&&Yr(0,a-r,c,u,0,s),l&&(zt(n.index,e)[8]=c)}}(t,e,n,Ut(n,e)),128==(128&n.flags)&&function(t,e,n){var i=n.directiveStart,r=n.directiveEnd,o=n.index,s=Wt.lFrame.currentDirectiveIndex;try{Se(o);for(var a=i;a<r;a++){var u=t.data[a],l=e[a];ce(a),null===u.hostBindings&&0===u.hostVars&&null===u.hostAttrs||Br(u,l)}}finally{Se(-1),ce(s)}}(t,e,n))}function Pr(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut,i=e.localNames;if(null!==i)for(var r=e.index+1,o=0;o<i.length;o+=2){var s=i[o+1],a=-1===s?n(e,t):t[s];t[r++]=a}}function Lr(t){var e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Dr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Dr(t,e,n,i,r,o,s,a,u,l){var c=20+i,h=c+r,f=function(t,e){for(var n=[],i=0;i<e;i++)n.push(i<t?null:dr);return n}(c,h),d="function"==typeof l?l():l;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:d,incompleteFirstPass:!1}}function Fr(t,e,n,i){var r=ro(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&oo(t).push(i,r.length-1))}function Nr(t,e,n){for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function jr(t,e,n,i,r,o,s,a){var u,l,c=Ut(e,n),h=e.inputs;!a&&null!=h&&(u=h[i])?(uo(t,n,u,i,r),Et(e)&&function(t,e){var n=zt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(l=i)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,r=null!=s?s(r,e.value||"",i):r,jt(o)?o.setProperty(c,i,r):De(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function Vr(t,e,n,i){var r=!1;if(Zt()){var o=function(t,e,n){var i=t.directiveRegistry,r=null;if(i)for(var o=0;o<i.length;o++){var s=i[o];lr(n,s.selectors,!1)&&(r||(r=[]),Ke(ze(n,e),t,s.type),At(s)?(Ur(t,n),r.unshift(s)):r.push(s))}return r}(t,e,n),s=null===i?null:{"":-1};if(null!==o){r=!0,zr(n,t.data.length,o.length);for(var a=0;a<o.length;a++){var u=o[a];u.providersResolver&&u.providersResolver(u)}for(var l=!1,c=!1,h=Er(t,e,o.length,null),f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=Fe(n.mergedAttrs,d.hostAttrs),Gr(t,n,e,h,d),Hr(h,d,s),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128);var v=d.type.prototype;!l&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),l=!0),c||!v.ngOnChanges&&!v.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),c=!0),h++}!function(t,e){for(var n=e.directiveEnd,i=t.data,r=e.attrs,o=[],s=null,a=null,u=e.directiveStart;u<n;u++){var l=i[u],c=l.inputs,h=null===r||rr(e)?null:Kr(c,r);o.push(h),s=Nr(c,u,s),a=Nr(l.outputs,u,a)}null!==s&&(s.hasOwnProperty("class")&&(e.flags|=16),s.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=s,e.outputs=a}(t,n)}s&&function(t,e,n){if(e)for(var i=t.localNames=[],r=0;r<e.length;r+=2){var o=n[e[r+1]];if(null==o)throw new R("301","Export of name '".concat(e[r+1],"' not found!"));i.push(e[r],o)}}(n,i,s)}return n.mergedAttrs=Fe(n.mergedAttrs,n.attrs),r}function Mr(t,e,n,i,r,o){var s=o.hostBindings;if(s){var a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);var u=~e.index;(function(t){for(var e=t.length;e>0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(i,r,s)}}function Br(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ur(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Hr(t,e,n){if(n){if(e.exportAs)for(var i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;At(e)&&(n[""]=t)}}function zr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Gr(t,e,n,i,r){t.data[i]=r;var o=r.factory||(r.factory=Tt(r.type)),s=new Ie(o,At(r),null);t.blueprint[i]=s,n[i]=s,Mr(t,e,0,i,Er(t,n,r.hostVars,dr),r)}function qr(t,e,n){var i=Ut(e,t),r=Lr(n),o=t[10],s=Jr(t,Sr(t,r,null,n.onPush?64:16,i,e,o,o.createRenderer(i,n),null,null));t[e.index]=s}function Yr(t,e,n,i,r,o){var s=o[e];if(null!==s)for(var a=i.setInput,u=0;u<s.length;){var l=s[u++],c=s[u++],h=s[u++];null!==a?i.setInput(n,h,l,c):n[c]=h}}function Kr(t,e){for(var n=null,i=0;i<e.length;){var r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Qr(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Wr(t,e){var n=zt(e,t);if(qt(n)){var i=n[1];80&n[2]?Ar(i,n,i.template,n[8]):n[5]>0&&Zr(n)}}function Zr(t){for(var e=Ii(t);null!==e;e=Pi(e))for(var n=10;n<e.length;n++){var i=e[n];if(1024&i[2]){var r=i[1];Ar(r,i,r.template,i[8])}else i[5]>0&&Zr(i)}var o=t[1].components;if(null!==o)for(var s=0;s<o.length;s++){var a=zt(o[s],t);qt(a)&&a[5]>0&&Zr(a)}}function Xr(t,e){var n=zt(e,t),i=n[1];!function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),xr(i,n,n[8])}function Jr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function $r(t){for(;t;){t[2]|=64;var e=Ri(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function to(t,e,n){var i=e[10];i.begin&&i.begin();try{Ar(t,e,t.template,n)}catch(r){throw ao(e,r),r}finally{i.end&&i.end()}}function eo(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],i=bi(n),r=i[1];Tr(r,i,r.template,n)}}(t[8])}function no(t,e,n){de(0),e(t,n)}var io=Promise.resolve(null);function ro(t){return t[7]||(t[7]=[])}function oo(t){return t.cleanup||(t.cleanup=[])}function so(t,e,n){return(null===t||At(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function ao(t,e){var n=t[9],i=n?n.get(Ei,null):null;i&&i.handleError(e)}function uo(t,e,n,i,r){for(var o=0;o<n.length;){var s=n[o++],a=n[o++],u=e[s],l=t.data[s];null!==l.setInput?l.setInput(u,r,i,a):u[a]=r}}function lo(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(var s=0;s<e.length;s++){var a=e[s];"number"==typeof a?o=a:1==o?r=E(r,a):2==o&&(i=E(i,a+": "+e[++s]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}var co,ho=new cn("INJECTOR",-1),fo=function(){function t(){m(this,t)}return y(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bn;if(e===bn){var n=new Error("NullInjectorError: No provider for ".concat(C(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),vo=new cn("Set Injector scope."),po={},yo={};function mo(){return void 0===co&&(co=new fo),co}function go(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new _o(t,n,e||mo(),i)}var _o=function(){function t(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;m(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];n&&vn(n,function(t){return r.processProvider(t,e,n)}),vn([e],function(t){return r.processInjectorType(t,[],s)}),this.records.set(ho,wo(void 0,this));var a=this.records.get(vo);this.scope=null!=a?a.value:null,this.source=o||("object"==typeof e?null:C(e))}return y(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;this.assertNotDestroyed();var i,r=Cn(this);try{if(!(n&G.SkipSelf)){var o=this.records.get(t);if(void 0===o){var s=("function"==typeof(i=t)||"object"==typeof i&&i instanceof cn)&&N(t);o=s&&this.injectableDefInScope(s)?wo(ko(t),po):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(n&G.Self?mo():this.parent).get(t,e=n&G.Optional&&e===bn?null:e)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(C(t)),r)throw a;return function(t,e,n,i){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n){var i=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=C(e);if(Array.isArray(e))r=e.map(C).join(" -> ");else if("object"==typeof e){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):C(a)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(wn,"\n "))}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(a,t,0,this.source)}throw a}finally{Cn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(C(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=T(t)))return!1;var r=V(t),o=null==r&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==n.indexOf(s);if(void 0!==o&&(r=V(o)),null==r)return!1;if(null!=r.imports&&!a){var u;n.push(s);try{vn(r.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var l=function(t){var e=u[t],n=e.ngModule,r=e.providers;vn(r,function(t){return i.processProvider(t,n,r||nt)})},c=0;c<u.length;c++)l(c)}this.injectorDefTypes.add(s);var h=Tt(s)||function(){return new s};this.records.set(s,wo(h,po));var f=r.providers;if(null!=f&&!a){var d=t;vn(f,function(t){return i.processProvider(t,d,f)})}return void 0!==o&&void 0!==t.providers}},{key:"processProvider",value:function(t,e,n){var i=Co(t=T(t))?t:T(t&&t.provide),r=function(t,e,n){return So(t)?wo(void 0,t.useValue):wo(bo(t),po)}(t);if(Co(t)||!0!==t.multi)this.records.get(i);else{var o=this.records.get(i);o||((o=wo(void 0,po,!0)).factory=function(){return Tn(o.multi)},this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,r)}},{key:"hydrate",value:function(t,e){var n;return e.value===po&&(e.value=yo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}},{key:"injectableDefInScope",value:function(t){if(!t.providedIn)return!1;var e=T(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}]),t}();function ko(t){var e=N(t),n=null!==e?e.factory:Tt(t);if(null!==n)return n;if(t instanceof cn)throw new Error("Token ".concat(C(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=mn(e,"?");throw new Error("Can't resolve all parameters for ".concat(C(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[B]||t[H]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function bo(t,i,r){var o,s;if(Co(t)){var a=T(t);return Tt(a)||ko(a)}if(So(t))o=function(){return T(t.useValue)};else if((s=t)&&s.useFactory)o=function(){return t.useFactory.apply(t,n(Tn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))o=function(){return xn(T(t.useExisting))};else{var u=T(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Tt(u)||ko(u);o=function(){return e(u,n(Tn(t.deps)))}}return o}function wo(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function So(t){return null!==t&&"object"==typeof t&&Sn in t}function Co(t){return"function"==typeof t}var Eo=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=go(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},xo=function(){function t(){m(this,t)}return y(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Eo(t,e,""):Eo(t.providers,t.parent,t.name||"")}}]),t}();function Ao(t,e){Ee(bi(t)[1],ne())}function To(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,i=[t];e;){var r=void 0;if(At(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var o=t;o.inputs=Oo(t.inputs),o.declaredInputs=Oo(t.declaredInputs),o.outputs=Oo(t.outputs);var s=r.hostBindings;s&&Po(t,s);var a=r.viewQuery,u=r.contentQueries;if(a&&Ro(t,a),u&&Io(t,u),S(t.inputs,r.inputs),S(t.declaredInputs,r.declaredInputs),S(t.outputs,r.outputs),At(r)&&r.data.animation){var l=t.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var h=0;h<c.length;h++){var f=c[h];f&&f.ngInherit&&f(t),f===To&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,i=t.length-1;i>=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Fe(r.hostAttrs,n=Fe(n,r.hostAttrs))}}(i)}function Oo(t){return t===et?{}:t===nt?[]:t}function Ro(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function Io(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function Po(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}xo.THROW_IF_NOT_FOUND=bn,xo.NULL=new fo,xo.\u0275prov=D({token:xo,providedIn:"any",factory:function(){return xn(ho)}}),xo.__NG_ELEMENT_ID__=-1;var Lo=null;function Do(){if(!Lo){var t=tt.Symbol;if(t&&t.iterator)Lo=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Lo=i)}}return Lo}function Fo(t){return!!No(t)&&(Array.isArray(t)||!(t instanceof Map)&&Do()in t)}function No(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function jo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Vo(t,e,n,i){var r=$t();return jo(r,le(),e)&&(te(),function(t,e,n,i,r,o){var s=Ut(t,e);!function(t,e,n,i,r,o,s){if(null==o)jt(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{var a=null==s?I(o):s(o,i||"",r);jt(t)?t.setAttribute(e,r,a,n):n?e.setAttributeNS(n,r,a):e.setAttribute(r,a)}}(e[11],s,o,t.value,n,i,r)}(Ce(),r,t,e,n,i)),Vo}function Mo(t,e,n,i,r,o,s,a){var u=$t(),l=te(),c=t+20,h=l.firstCreatePass?function(t,e,n,i,r,o,s,a,u){var l=e.consts,c=Cr(e,t,4,s||null,Yt(l,a));Vr(e,n,c,Yt(l,u)),Ee(e,c);var h=c.tViews=Dr(2,c,i,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(c,l,u,e,n,i,r,o,s):l.data[c];re(h,!1);var f=u[11].createComment("");Ki(l,u,f,h),ki(f,u),Jr(u,u[c]=Qr(f,u,f,h)),xt(h)&&Ir(l,u,h),null!=s&&Pr(u,h,a)}function Bo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default,n=$t();return null===n?xn(t,e):Ze(ne(),n,T(t),e)}function Uo(t,e,n){var i=$t();return jo(i,le(),e)&&jr(te(),Ce(),i,t,e,i[11],n,!1),Uo}function Ho(t,e,n,i,r){var o=r?"class":"style";uo(t,n,e.inputs[o],o,i)}function zo(t,e,n,i){var r=$t(),o=te(),s=20+t,a=r[11],u=r[s]=Fi(a,e,Wt.lFrame.currentNamespace),l=o.firstCreatePass?function(t,e,n,i,r,o,s){var a=e.consts,u=Cr(e,t,2,r,Yt(a,o));return Vr(e,n,u,Yt(a,s)),null!==u.attrs&&lo(u,u.attrs,!1),null!==u.mergedAttrs&&lo(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(s,o,r,0,e,n,i):o.data[s];re(l,!0);var c=l.mergedAttrs;null!==c&&Pe(a,u,c);var h=l.classes;null!==h&&er(a,u,h);var f=l.styles;null!==f&&tr(a,u,f),64!=(64&l.flags)&&Ki(o,r,u,l),0===Wt.lFrame.elementDepthCount&&ki(u,r),Wt.lFrame.elementDepthCount++,xt(l)&&(Ir(o,r,l),Rr(o,l,r)),null!==i&&Pr(r,l)}function Go(){var t=ne();oe()?se():re(t=t.parent,!1);var e=t;Wt.lFrame.elementDepthCount--;var n=te();n.firstCreatePass&&(Ee(n,t),Ct(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ho(n,e,$t(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ho(n,e,$t(),e.stylesWithoutHost,!1)}function qo(t,e,n,i){zo(t,e,n,i),Go()}function Yo(t,e,n){var i=$t(),r=te(),o=t+20,s=r.firstCreatePass?function(t,e,n,i,r){var o=e.consts,s=Yt(o,i),a=Cr(e,t,8,"ng-container",s);return null!==s&&lo(a,s,!0),Vr(e,n,a,Yt(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,n):r.data[o];re(s,!0);var a=i[o]=i[11].createComment("");Ki(r,i,a,s),ki(a,i),xt(s)&&(Ir(r,i,s),Rr(r,s,i)),null!=n&&Pr(i,s)}function Ko(){var t=ne(),e=te();oe()?se():re(t=t.parent,!1),e.firstCreatePass&&(Ee(e,t),Ct(t)&&e.queries.elementEnd(t))}function Qo(){return $t()}function Wo(t){return!!t&&"function"==typeof t.then}function Zo(t){return!!t&&"function"==typeof t.subscribe}var Xo=Zo;function Jo(t,e,n,i){var r=$t(),o=te(),s=ne();return ts(o,r,r[11],s,t,e,!!n,i),Jo}function $o(t,e){var n=ne(),i=$t(),r=te();return ts(r,i,so(he(r.data),n,i),n,t,e,!1),$o}function ts(t,e,n,i,r,o,s,a){var u=xt(i),l=t.firstCreatePass&&oo(t),c=ro(e),h=!0;if(3&i.type||a){var f=Ut(i,e),d=a?a(f):f,v=c.length,p=a?function(t){return a(Mt(t[i.index]))}:i.index;if(jt(n)){var y=null;if(!a&&u&&(y=function(t,e,n,i){var r=t.cleanup;if(null!=r)for(var o=0;o<r.length-1;o+=2){var s=r[o];if(s===n&&r[o+1]===i){var a=e[7],u=r[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(t,e,r,i.index)),null!==y)(y.__ngLastListenerFn__||y).__ngNextListenerFn__=o,y.__ngLastListenerFn__=o,h=!1;else{o=ns(i,e,0,o,!1);var m=n.listen(d,r,o);c.push(o,m),l&&l.push(r,p,v,v+1)}}else o=ns(i,e,0,o,!0),d.addEventListener(r,o,s),c.push(o),l&&l.push(r,p,v,s)}else o=ns(i,e,0,o,!1);var g,_=i.outputs;if(h&&null!==_&&(g=_[r])){var k=g.length;if(k)for(var b=0;b<k;b+=2){var w=e[g[b]][g[b+1]].subscribe(o),S=c.length;c.push(o,w),l&&l.push(r,i.index,S,-(S+1))}}}function es(t,e,n,i){try{return!1!==n(i)}catch(r){return ao(t,r),!1}}function ns(t,e,n,i,r){return function n(o){if(o===Function)return i;var s=2&t.flags?zt(t.index,e):e;0==(32&e[2])&&$r(s);for(var a=es(e,0,i,o),u=n.__ngNextListenerFn__;u;)a=es(e,0,u,o)&&a,u=u.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function is(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Wt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Wt.lFrame.contextLView))[8]}(t)}function rs(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r<e.length;r++){var o=e[r];if("*"!==o){if(null===i?lr(t,o,!0):cr(i,o))return r}else n=r}return n}function os(t){var e=$t()[16][6];if(!e.projection)for(var n=e.projection=mn(t?t.length:1,null),i=n.slice(),r=e.child;null!==r;){var o=t?rs(r,t):0;null!==o&&(i[o]?i[o].projectionNext=r:n[o]=r,i[o]=r),r=r.next}}function ss(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=$t(),r=te(),o=Cr(r,20+t,16,null,n||null);null===o.projection&&(o.projection=e),se(),64!=(64&o.flags)&&function(t,e,n){$i(e[11],0,e,n,Bi(t,n,e),qi(n.parent||e[6],n,e))}(r,i,o)}function as(t,e,n,i,r){for(var o=t[n+1],s=null===e,a=i?mr(o):_r(o),u=!1;0!==a&&(!1===u||s);){var l=t[a+1];us(t[a],e)&&(u=!0,t[a+1]=i?br(l):gr(l)),a=i?mr(l):_r(l)}u&&(t[n+1]=i?gr(o):br(o))}function us(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&_n(t,e)>=0}function ls(t,e,n){return hs(t,e,n,!1),ls}function cs(t,e){return hs(t,e,null,!0),cs}function hs(t,e,n,i){var r,o,s=$t(),a=te(),u=(r=Wt.lFrame,o=r.bindingIndex,r.bindingIndex=r.bindingIndex+2,o);a.firstUpdatePass&&function(t,e,n,i){var r=t.data;if(null===r[n+1]){var o=r[we()],s=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){var r=he(t),o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=ds(n=fs(null,t,e,n,i),e.attrs,i),o=null);else{var s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=fs(r,t,e,n,i),null===o){var a=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==_r(i))return t[mr(i)]}(t,e,i);void 0!==a&&Array.isArray(a)&&function(t,e,n,i){t[mr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,a=ds(a=fs(null,t,e,a[1],i),e.attrs,i))}else o=function(t,e,n){for(var i,r=e.directiveEnd,o=1+e.directiveStylingLast;o<r;o++)i=ds(i,t[o].hostAttrs,n);return ds(i,e.attrs,n)}(t,e,i)}return void 0!==o&&(i?e.residualClasses=o:e.residualStyles=o),n}(r,o,e,i),function(t,e,n,i,r,o){var s=o?e.classBindings:e.styleBindings,a=mr(s),u=_r(s);t[i]=n;var l,c=!1;if(Array.isArray(n)){var h=n;(null===(l=h[1])||_n(h,l)>0)&&(c=!0)}else l=n;if(r)if(0!==u){var f=mr(t[a+1]);t[i+1]=yr(f,a),0!==f&&(t[f+1]=kr(t[f+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=yr(a,0),0!==a&&(t[a+1]=kr(t[a+1],i)),a=i;else t[i+1]=yr(u,0),0===a?a=i:t[u+1]=kr(t[u+1],i),u=i;c&&(t[i+1]=gr(t[i+1])),as(t,l,i,!0),as(t,l,i,!1),function(t,e,n,i,r){var o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&_n(o,e)>=0&&(n[i+1]=br(n[i+1]))}(e,l,t,i,o),s=yr(a,u),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}(a,t,u,i),e!==dr&&jo(s,u,e)&&function(t,e,n,i,r,o,s,a){if(3&e.type){var u=t.data,l=u[a+1];ps(1==(1&l)?vs(u,e,n,r,_r(l),s):void 0)||(ps(o)||2==(2&l)&&(o=vs(u,null,n,r,a,s)),function(t,e,n,i,r){var o=jt(t);if(e)r?o?t.addClass(n,i):n.classList.add(i):o?t.removeClass(n,i):n.classList.remove(i);else{var s=-1===i.indexOf("-")?void 0:Ti.DashCase;if(null==r)o?t.removeStyle(n,i,s):n.style.removeProperty(i);else{var a="string"==typeof r&&r.endsWith("!important");a&&(r=r.slice(0,-10),s|=Ti.Important),o?t.setStyle(n,i,r,s):n.style.setProperty(i,r,a?"important":"")}}}(i,s,Bt(we(),n),r,o))}}(a,a.data[we()],s,s[11],t,s[u+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=C(Un(t)))),t}(e,n),i,u)}function fs(t,e,n,i,r){var o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=ds(i,(o=e[a]).hostAttrs,r),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ds(t,e,n){var i,r,o,s,a=n?1:2,u=-1;if(null!==e)for(var l=0;l<e.length;l++){var c=e[l];"number"==typeof c?u=c:u===a&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),i=t,r=c,o=!!n||e[++l],s=void 0,(s=_n(i,r))>=0?i[1|s]=o:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(i,s=~s,r,o))}return void 0===t?null:t}function vs(t,e,n,i,r,o){for(var s,a=null===e;r>0;){var u=t[r],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[r+1];f===dr&&(f=h?nt:void 0);var d=h?gn(f,i):c===i?f:void 0;if(l&&!ps(d)&&(d=gn(u,i)),ps(d)&&(s=d,a))return s;var v=t[r+1];r=a?mr(v):_r(v)}if(null!==e){var p=o?e.residualClasses:e.residualStyles;null!=p&&(s=gn(p,i))}return s}function ps(t){return void 0!==t}function ys(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=$t(),i=te(),r=t+20,o=i.firstCreatePass?Cr(i,r,1,e,null):i.data[r],s=n[r]=function(t,e){return jt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Ki(i,n,s,o),re(o,!1)}function ms(t){return gs("",t,""),ms}function gs(t,e,n){var i=$t(),r=function(t,e,n,i){return jo(t,le(),n)?e+I(n)+i:dr}(i,t,e,n);return r!==dr&&function(t,e,n){var i=Bt(e,t);!function(t,e,n){jt(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}(i,we(),r),gs}function _s(t,e,n){var i=$t();return jo(i,le(),e)&&jr(te(),Ce(),i,t,e,i[11],n,!0),_s}function ks(t,e,n){var i=$t();if(jo(i,le(),e)){var r=te(),o=Ce();jr(r,o,i,t,e,so(he(r.data),o,i),n,!0)}return ks}var bs=void 0,ws=["en",[["a","p"],["AM","PM"],bs],[["AM","PM"],bs,bs],[["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"]],bs,[["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"]],bs,[["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}",bs,"{1} 'at' {0}",bs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Ss={};function Cs(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=xs(e);if(n)return n;var i=e.split("-")[0];if(n=xs(i))return n;if("en"===i)return ws;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function Es(t){return Cs(t)[As.PluralCase]}function xs(t){return t in Ss||(Ss[t]=tt.ng&&tt.ng.common&&tt.ng.common.locales&&tt.ng.common.locales[t]),Ss[t]}var As=((As=As||{})[As.LocaleId=0]="LocaleId",As[As.DayPeriodsFormat=1]="DayPeriodsFormat",As[As.DayPeriodsStandalone=2]="DayPeriodsStandalone",As[As.DaysFormat=3]="DaysFormat",As[As.DaysStandalone=4]="DaysStandalone",As[As.MonthsFormat=5]="MonthsFormat",As[As.MonthsStandalone=6]="MonthsStandalone",As[As.Eras=7]="Eras",As[As.FirstDayOfWeek=8]="FirstDayOfWeek",As[As.WeekendRange=9]="WeekendRange",As[As.DateFormat=10]="DateFormat",As[As.TimeFormat=11]="TimeFormat",As[As.DateTimeFormat=12]="DateTimeFormat",As[As.NumberSymbols=13]="NumberSymbols",As[As.NumberFormats=14]="NumberFormats",As[As.CurrencyCode=15]="CurrencyCode",As[As.CurrencySymbol=16]="CurrencySymbol",As[As.CurrencyName=17]="CurrencyName",As[As.Currencies=18]="Currencies",As[As.Directionality=19]="Directionality",As[As.PluralCase=20]="PluralCase",As[As.ExtraData=21]="ExtraData",As);function Ts(t){var e;null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function Os(t,e,n,i,r){if(t=T(t),Array.isArray(t))for(var o=0;o<t.length;o++)Os(t[o],e,n,i,r);else{var s=te(),a=$t(),u=Co(t)?t:T(t.provide),l=bo(t),c=ne(),h=1048575&c.providerIndexes,f=c.directiveStart,d=c.providerIndexes>>20;if(Co(t)||!t.multi){var v=new Ie(l,r,Bo),p=Ps(u,e,r?h:h+d,f);-1===p?(Ke(ze(c,a),s,u),Rs(s,t,e.length),e.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(v),a.push(v)):(n[p]=v,a[p]=v)}else{var y=Ps(u,e,h+d,f),m=Ps(u,e,h,h+d),g=y>=0&&n[y],_=m>=0&&n[m];if(r&&!_||!r&&!g){Ke(ze(c,a),s,u);var k=function(t,e,n,i,r){var o=new Ie(t,n,Bo);return o.multi=[],o.index=e,o.componentProviders=0,Is(o,r,i&&!n),o}(r?Ds:Ls,n.length,r,i,l);!r&&_&&(n[m].providerFactory=k),Rs(s,t,e.length,0),e.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),a.push(k)}else Rs(s,t,y>-1?y:m,Is(n[r?m:y],l,!r&&i));!r&&i&&_&&n[m].componentProviders++}}}function Rs(t,e,n,i){var r=Co(e);if(r||e.useClass){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var s=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var a=s.indexOf(n);-1===a?s.push(n,[i,o]):s[a+1].push(i,o)}else s.push(n,o)}}}function Is(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ps(t,e,n,i){for(var r=n;r<i;r++)if(e[r]===t)return r;return-1}function Ls(t,e,n,i){return Fs(this.multi,[])}function Ds(t,e,n,i){var r,o=this.multi;if(this.providerFactory){var s=this.providerFactory.componentProviders,a=en(n,n[1],this.providerFactory.index,i);Fs(o,r=a.slice(0,s));for(var u=s;u<a.length;u++)r.push(a[u])}else Fs(o,r=[]);return r}function Fs(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ns(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(t,e,n){var i=te();if(i.firstCreatePass){var r=At(t);Os(n,i.data,i.blueprint,r,!0),Os(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}}var js=function t(){m(this,t)},Vs=function(){function t(){m(this,t)}return y(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(C(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Ms=function t(){m(this,t)};function Bs(){}function Us(t,e){return new zs(Ut(t,e))}Ms.NULL=new Vs;var Hs=function(){return Us(ne(),$t())},zs=function(){var t=function t(e){m(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=Hs,t}();function Gs(t){return t instanceof zs?t.nativeElement:t}var qs=function t(){m(this,t)},Ys=function(){var t=function t(){m(this,t)};return t.__NG_ELEMENT_ID__=function(){return Ks()},t}(),Ks=function(){var t=$t(),e=zt(ne().index,t);return function(t){return t[11]}(wt(e)?e:t)},Qs=function(){var t=function t(){m(this,t)};return t.\u0275prov=D({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ws=function t(e){m(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Zs=new Ws("12.1.1"),Xs=function(){function t(){m(this,t)}return y(t,[{key:"supports",value:function(t){return Fo(t)}},{key:"create",value:function(t){return new $s(t)}}]),t}(),Js=function(t,e){return e},$s=function(){function t(e){m(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=e||Js}return y(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex<ia(n,i,r)?e:n,s=ia(o,i,r),a=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)i++;else{r||(r=[]);var u=s-i,l=a-i;if(u!=l){for(var c=0;c<u;c++){var h=c<r.length?r[c]:r[c]=0,f=h+c;l<=f&&f<u&&(r[c]=h+1)}r[o.previousIndex]=l-u}}s!==a&&t(o,s,a)}}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachMovedItem",value:function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"forEachIdentityChange",value:function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!Fo(t))throw new Error("Error trying to diff '".concat(C(t),"'. Only arrays and iterables are allowed"));return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n,i,r,o=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)i=t[a],r=this._trackByFn(a,i),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,i,r,a)),Object.is(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,a),s=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i,r=t[Do()]();!(i=r.next()).done;)e(i.value)}(t,function(t){r=e._trackByFn(n,t),null!==o&&Object.is(o.trackById,r)?(s&&(o=e._verifyReinsertion(o,t,r,n)),Object.is(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,r,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,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 t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new ta(e,n),r,i),t}},{key:"_verifyReinsertion",value:function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_moveAfter",value:function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_addAfter",value:function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new na),this._linkedRecords.put(t),t.currentIndex=n,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}},{key:"_addToMoves",value:function(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new na),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}]),t}(),ta=function t(e,n){m(this,t),this.item=e,this.trackById=n,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},ea=function(){function t(){m(this,t),this._head=null,this._tail=null}return y(t,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}},{key:"remove",value:function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}]),t}(),na=function(){function t(){m(this,t),this.map=new Map}return y(t,[{key:"put",value:function(t){var e=t.trackById,n=this.map.get(e);n||(n=new ea,this.map.set(e,n)),n.add(t)}},{key:"get",value:function(t,e){var n=this.map.get(t);return n?n.get(t,e):null}},{key:"remove",value:function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),t}();function ia(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var ra=function(){function t(){m(this,t)}return y(t,[{key:"supports",value:function(t){return t instanceof Map||No(t)}},{key:"create",value:function(){return new oa}}]),t}(),oa=function(){function t(){m(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}return y(t,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachChangedItem",value:function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||No(t)))throw new Error("Error trying to diff '".concat(C(t),"'. Only maps and objects are allowed"))}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var r=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}},{key:"_getOrCreateRecordForKey",value:function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new sa(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})}}]),t}(),sa=function t(e){m(this,t),this.key=e,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 aa(){return new ua([new Xs])}var ua=function(){var t=function(){function t(e){m(this,t),this.factories=e}return y(t,[{key:"find",value:function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'"))}}],[{key:"create",value:function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||aa())},deps:[[t,new Ln,new Pn]]}}}]),t}();return t.\u0275prov=D({token:t,providedIn:"root",factory:aa}),t}();function la(){return new ca([new ra])}var ca=function(){var t=function(){function t(e){m(this,t),this.factories=e}return y(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"'"))}}],[{key:"create",value:function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||la())},deps:[[t,new Ln,new Pn]]}}}]),t}();return t.\u0275prov=D({token:t,providedIn:"root",factory:la}),t}();function ha(t,e,i,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var s=e[i.index];if(null!==s&&r.push(Mt(s)),St(s))for(var a=10;a<s.length;a++){var u=s[a],l=u[1].firstChild;null!==l&&ha(u[1],u,l,r)}var c=i.type;if(8&c)ha(t,e,i.child,r);else if(32&c)for(var h=Oi(i,e),f=void 0;f=h();)r.push(f);else if(16&c){var d=Wi(e,i);if(Array.isArray(d))r.push.apply(r,n(d));else{var v=Ri(e[16]);ha(v[1],v,d,r,!0)}}i=o?i.projectionNext:i.next}return r}var fa=function(){function t(e,n){m(this,t),this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return y(t,[{key:"rootNodes",get:function(){var t=this._lView,e=t[1];return ha(e,t,e.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(t){this._lView[8]=t}},{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 t=this._lView[3];if(St(t)){var e=t[8],n=e?e.indexOf(this):-1;n>-1&&(ji(t,n),yn(e,n))}this._attachedToViewContainer=!1}Vi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){Fr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){$r(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){to(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){ue(!0);try{to(t,e,n)}finally{ue(!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 t;this._appRef=null,Ji(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),da=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this,t))._view=t,i}return y(n,[{key:"detectChanges",value:function(){eo(this._view)}},{key:"checkNoChanges",value:function(){!function(t){ue(!0);try{eo(t)}finally{ue(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(fa),va=function(t){return function(t,e,n){if(Et(t)&&!n){var i=zt(t.index,e);return new fa(i,i)}return 47&t.type?new fa(e[16],e):null}(ne(),$t(),16==(16&t))},pa=function(){var t=function t(){m(this,t)};return t.__NG_ELEMENT_ID__=va,t}(),ya=[new ra],ma=new ua([new Xs]),ga=new ca(ya),_a=function(){return wa(ne(),$t())},ka=function(){var t=function t(){m(this,t)};return t.__NG_ELEMENT_ID__=_a,t}(),ba=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this))._declarationLView=t,o._declarationTContainer=i,o.elementRef=r,o}return y(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=Sr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),xr(e,n,t),new fa(n)}}]),n}(ka);function wa(t,e){return 4&t.type?new ba(e,t,Us(t,e)):null}var Sa=function t(){m(this,t)},Ca=function t(){m(this,t)},Ea=function(){return Ra(ne(),$t())},xa=function(){var t=function t(){m(this,t)};return t.__NG_ELEMENT_ID__=Ea,t}(),Aa=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this))._lContainer=t,o._hostTNode=i,o._hostLView=r,o}return y(n,[{key:"element",get:function(){return Us(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new on(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Ye(this._hostTNode,this._hostLView);if(je(t)){var e=Me(t,this._hostLView),n=Ve(t);return new on(e[1].data[n+8],e)}return new on(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=Ta(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var o=n||this.parentInjector;if(!r&&null==t.ngModule&&o){var s=o.get(Sa,null);s&&(r=s)}var a=t.create(o,i,void 0,r);return this.insert(a.hostView,e),a}},{key:"insert",value:function(t,e){var i=t._lView,r=i[1];if(St(i[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var s=i[3],a=new n(s,s[6],s[3]);a.detach(a.indexOf(t))}}var u=this._adjustIndex(e),l=this._lContainer;!function(t,e,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=e),i<o-10?(e[4]=n[r],pn(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;var s=e[17];null!==s&&n!==s&&function(t,e){var n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);var a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,i,l,u);var c=Zi(u,l),h=i[11],f=Gi(h,l[7]);return null!==f&&function(t,e,n,i,r,o){i[0]=r,i[6]=e,Ji(t,i,n,1,r,o)}(r,l[6],h,i,f,c),t.attachToViewContainerRef(),pn(Oa(l),u,t),t}},{key:"move",value:function(t,e){return this.insert(t,e)}},{key:"indexOf",value:function(t){var e=Ta(this._lContainer);return null!==e?e.indexOf(t):-1}},{key:"remove",value:function(t){var e=this._adjustIndex(t,-1),n=ji(this._lContainer,e);n&&(yn(Oa(this._lContainer),e),Vi(n[1],n))}},{key:"detach",value:function(t){var e=this._adjustIndex(t,-1),n=ji(this._lContainer,e);return n&&null!=yn(Oa(this._lContainer),e)?new fa(n):null}},{key:"_adjustIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),n}(xa);function Ta(t){return t[8]}function Oa(t){return t[8]||(t[8]=[])}function Ra(t,e){var n,i=e[t.index];if(St(i))n=i;else{var r;if(8&t.type)r=Mt(i);else{var o=e[11];r=o.createComment("");var s=Ut(t,e);Ui(o,Gi(o,s),r,function(t,e){return jt(t)?t.nextSibling(e):e.nextSibling}(o,s),!1)}e[t.index]=n=Qr(i,e,r,t),Jr(e,n)}return new Aa(n,t,e)}var Ia={},Pa=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this)).ngModule=t,i}return y(n,[{key:"resolveComponentFactory",value:function(t){var e=kt(t);return new Fa(e,this.ngModule)}}]),n}(Ms);function La(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Da=new cn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return xi}}),Fa=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).componentDef=t,r.ngModule=i,r.componentType=t.type,r.selector=t.selectors.map(fr).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!i,r}return y(n,[{key:"inputs",get:function(){return La(this.componentDef.inputs)}},{key:"outputs",get:function(){return La(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,i){var r,o,s=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,r){var o=t.get(n,Ia,r);return o!==Ia||i===Ia?o:e.get(n,i,r)}}}(t,i.injector):t,a=s.get(qs,Vt),u=s.get(Qs,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(jt(t))return t.selectRootElement(e,n===W.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(l,n,this.componentDef.encapsulation):Fi(a.createRenderer(null,this.componentDef),c,function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:xi,clean:io,playerHandler:null,flags:0},v=Dr(0,null,null,1,0,null,null,null,null,null),p=Sr(null,v,d,f,null,null,a,l,u,s);ye(p);try{var y=function(t,e,n,i,r,o){var s=n[1];n[20]=t;var a=Cr(s,20,2,"#host",null),u=a.mergedAttrs=e.hostAttrs;null!==u&&(lo(a,u,!0),null!==t&&(Pe(r,t,u),null!==a.classes&&er(r,t,a.classes),null!==a.styles&&tr(r,t,a.styles)));var l=i.createRenderer(t,e),c=Sr(n,Lr(e),null,e.onPush?64:16,n[20],a,i,l,null,null);return s.firstCreatePass&&(Ke(ze(a,n),s,e.type),Ur(s,a),zr(a,n.length,1)),Jr(n,c),n[20]=c}(h,this.componentDef,p,a,l);if(h)if(n)Pe(l,h,["ng-version",Zs.full]);else{var m=function(t){for(var e=[],n=[],i=1,r=2;i<t.length;){var o=t[i];if("string"==typeof o)2===r?""!==o&&e.push(o,t[++i]):8===r&&n.push(o);else{if(!ar(r))break;r=o}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),g=m.attrs,_=m.classes;g&&Pe(l,h,g),_&&_.length>0&&er(l,h,_.join(" "))}if(o=Ht(v,20),void 0!==e)for(var k=o.projection=[],b=0;b<this.ngContentSelectors.length;b++){var w=e[b];k.push(null!=w?Array.from(w):null)}r=function(t,e,n,i,r){var o=n[1],s=function(t,e,n){var i=ne();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Gr(t,i,e,Er(t,e,1,null),n));var r=en(e,t,i.directiveStart,i);ki(r,e);var o=Ut(i,e);return o&&ki(o,e),r}(o,n,e);if(i.components.push(s),t[8]=s,r&&r.forEach(function(t){return t(s,e)}),e.contentQueries){var a=ne();e.contentQueries(1,s,a.directiveStart)}var u=ne();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Se(u.index),Mr(n[1],u,0,u.directiveStart,u.directiveEnd,e),Br(e,s)),s}(y,this.componentDef,p,d,[Ao]),xr(v,p,null)}finally{be()}return new Na(this.componentType,r,Us(o,p),p,o)}}]),n}(js),Na=function(t){u(n,t);var e=c(n);function n(t,i,r,o,s){var a;return m(this,n),(a=e.call(this)).location=r,a._rootLView=o,a._tNode=s,a.instance=i,a.hostView=a.changeDetectorRef=new da(o),a.componentType=t,a}return y(n,[{key:"injector",get:function(){return new on(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(t){this.hostView.onDestroy(t)}}]),n}(function(){return function t(){m(this,t)}}()),ja=new Map,Va=function(t){u(n,t);var e=c(n);function n(t,i){var r;m(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=f(r),r.destroyCbs=[],r.componentFactoryResolver=new Pa(f(r));var o=bt(t),s=t[at]||null;return s&&Ts(s),r._bootstrapComponents=Ai(o.bootstrap),r._r3Injector=go(t,i,[{provide:Sa,useValue:f(r)},{provide:Ms,useValue:r.componentFactoryResolver}],C(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return y(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;return t===xo||t===Sa||t===ho?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(Sa),Ma=function(t){u(n,t);var e=c(n);function n(t){var r,o,s;return m(this,n),(r=e.call(this)).moduleType=t,null!==bt(t)&&(o=t,s=new Set,function t(e){var n=bt(e,!0),r=n.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(C(e)," vs ").concat(C(e.name)))}(r,ja.get(r),e),ja.set(r,e));var o,a=i(Ai(n.imports));try{for(a.s();!(o=a.n()).done;){var u=o.value;s.has(u)||(s.add(u),t(u))}}catch(l){a.e(l)}finally{a.f()}}(o)),r}return y(n,[{key:"create",value:function(t){return new Va(this.moduleType,t)}}]),n}(Ca);function Ba(t){return function(e){setTimeout(t,void 0,e)}}var Ua=function(t){u(n,t);var e=c(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return m(this,n),(t=e.call(this)).__isAsync=i,t}return y(n,[{key:"emit",value:function(t){a(v(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,i){var r,o,s,u=t,l=e||function(){return null},c=i;if(t&&"object"==typeof t){var h=t;u=null===(r=h.next)||void 0===r?void 0:r.bind(h),l=null===(o=h.error)||void 0===o?void 0:o.bind(h),c=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(l=Ba(l),u&&(u=Ba(u)),c&&(c=Ba(c)));var f=a(v(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:c});return t instanceof d.w&&t.add(f),f}}]),n}(h.xQ);function Ha(){return this._results[Do()]()}var za=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Do(),i=t.prototype;i[n]||(i[n]=Ha)}return y(t,[{key:"changes",get:function(){return this._changes||(this._changes=new Ua)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){this.dirty=!1;var n=dn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var i=0;i<t.length;i++){var r=t[i],o=e[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[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()}}]),t}();Symbol;var Ga=function(){function t(e){m(this,t),this.queryList=e,this.matches=null}return y(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),t}(),qa=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m(this,t),this.queries=e}return y(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],o=0;o<i;o++){var s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new t(r)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var e=0;e<this.queries.length;e++)null!==ou(t,e).matches&&this.queries[e].setDirty()}}]),t}(),Ya=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;m(this,t),this.predicate=e,this.flags=n,this.read=i},Ka=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m(this,t),this.queries=e}return y(t,[{key:"elementStart",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}},{key:"elementEnd",value:function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}},{key:"embeddedTView",value:function(e){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(e,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new t(n):null}},{key:"template",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(t){this.queries.push(t)}}]),t}(),Qa=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;m(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return y(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{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(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(t,e,Wa(e,r)),this.matchTNodeWithReadOption(t,e,tn(e,t,r,!1,!1))}else n===ka?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,tn(e,t,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(t,e,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===zs||i===xa||i===ka&&4&e.type)this.addMatch(e.index,-2);else{var r=tn(e,t,i,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,n)}}},{key:"addMatch",value:function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}]),t}();function Wa(t,e){var n=t.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Za(t,e,n,i){return-1===n?function(t,e){return 11&t.type?Us(t,e):4&t.type?wa(t,e):null}(e,t):-2===n?function(t,e,n){return n===zs?Us(e,t):n===ka?wa(e,t):n===xa?Ra(e,t):void 0}(t,e,i):en(t,t[1],n,e)}function Xa(t,e,n,i){var r=e[19].queries[i];if(null===r.matches){for(var o=t.data,s=n.matches,a=[],u=0;u<s.length;u+=2){var l=s[u];a.push(l<0?null:Za(e,o[l],s[u+1],n.metadata.read))}r.matches=a}return r.matches}function Ja(t,e,n,i){var r=t.queries.getByIndex(n),o=r.matches;if(null!==o)for(var s=Xa(t,e,r,n),a=0;a<o.length;a+=2){var u=o[a];if(u>0)i.push(s[a/2]);else{for(var l=o[a+1],c=e[-u],h=10;h<c.length;h++){var f=c[h];f[17]===f[3]&&Ja(f[1],f,l,i)}if(null!==c[9])for(var d=c[9],v=0;v<d.length;v++){var p=d[v];Ja(p[1],p,l,i)}}}return i}function $a(t){var e=$t(),n=te(),i=fe();de(i+1);var r=ou(n,i);if(t.dirty&&Gt(e)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{var o=r.crossesNgTemplate?Ja(n,e,i,[]):Xa(n,e,r,i);t.reset(o,Gs),t.notifyOnChanges()}return!0}return!1}function tu(t,e,n){var i=te();i.firstCreatePass&&(ru(i,new Ya(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),iu(i,$t(),e)}function eu(t,e,n,i){var r=te();if(r.firstCreatePass){var o=ne();ru(r,new Ya(e,n,i),o.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(r,t),2==(2&n)&&(r.staticContentQueries=!0)}iu(r,$t(),n)}function nu(){return t=$t(),e=fe(),t[19].queries[e].queryList;var t,e}function iu(t,e,n){var i=new za(4==(4&n));Fr(t,e,i,i.destroy),null===e[19]&&(e[19]=new qa),e[19].queries.push(new Ga(i))}function ru(t,e,n){null===t.queries&&(t.queries=new Ka),t.queries.track(new Qa(e,n))}function ou(t,e){return t.queries.getByIndex(e)}var su=new cn("Application Initializer"),au=function(){var t=function(){function t(e){var n=this;m(this,t),this.appInits=e,this.resolve=Bs,this.reject=Bs,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,e){n.resolve=t,n.reject=e})}return y(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=function(n){var i=t.appInits[n]();if(Wo(i))e.push(i);else if(Xo(i)){var r=new Promise(function(t,e){i.subscribe({complete:t,error:e})});e.push(r)}},r=0;r<this.appInits.length;r++)i(r);Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(xn(su,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}(),uu=new cn("AppId"),lu={provide:uu,useFactory:function(){return"".concat(cu()).concat(cu()).concat(cu())},deps:[]};function cu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var hu=new cn("Platform Initializer"),fu=new cn("Platform ID"),du=new cn("appBootstrapListener"),vu=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"log",value:function(t){console.log(t)}},{key:"warn",value:function(t){console.warn(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}(),pu=new cn("LocaleId"),yu=new cn("DefaultCurrencyCode"),mu=function t(e,n){m(this,t),this.ngModuleFactory=e,this.componentFactories=n},gu=function(t){return new Ma(t)},_u=gu,ku=function(t){return Promise.resolve(gu(t))},bu=function(t){var e=gu(t),n=Ai(bt(t).declarations).reduce(function(t,e){var n=kt(e);return n&&t.push(new Fa(n)),t},[]);return new mu(e,n)},wu=bu,Su=function(t){return Promise.resolve(bu(t))},Cu=function(){var t=function(){function t(){m(this,t),this.compileModuleSync=_u,this.compileModuleAsync=ku,this.compileModuleAndAllComponentsSync=wu,this.compileModuleAndAllComponentsAsync=Su}return y(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(t){}},{key:"getModuleId",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}(),Eu=Promise.resolve(0);function xu(t){"undefined"==typeof Zone?Eu.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var Au=function(){function t(e){var n,i,r=e.enableLongStackTrace,o=void 0!==r&&r,s=e.shouldCoalesceEventChangeDetection,a=void 0!==s&&s,u=e.shouldCoalesceRunChangeDetection,l=void 0!==u&&u;if(m(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ua(!1),this.onMicrotaskEmpty=new Ua(!1),this.onStable=new Ua(!1),this.onError=new Ua(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!l&&a,this.shouldCoalesceRunChangeDetection=l,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var t=tt.requestAnimationFrame,e=tt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,i=function(){!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(tt,function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){t.lastRequestAnimationFrameId=-1,Ru(t),t.isCheckStableRunning=!0,Ou(t),t.isCheckStableRunning=!1},void 0,function(){},function(){})),t.fakeTopEventTask.invoke()}),Ru(t))}(n)},(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,e,r,o,s,a){try{return Iu(n),t.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&i(),Pu(n)}},onInvoke:function(t,e,r,o,s,a,u){try{return Iu(n),t.invoke(r,o,s,a,u)}finally{n.shouldCoalesceRunChangeDetection&&i(),Pu(n)}},onHasTask:function(t,e,i,r){t.hasTask(i,r),e===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Ru(n),Ou(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,e,i,r){return t.handleError(i,r),n.runOutsideAngular(function(){return n.onError.emit(r)}),!1}})}return y(t,[{key:"run",value:function(t,e,n){return this._inner.run(t,e,n)}},{key:"runTask",value:function(t,e,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Tu,Bs,Bs);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}},{key:"runGuarded",value:function(t,e,n){return this._inner.runGuarded(t,e,n)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}],[{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!")}}]),t}(),Tu={};function Ou(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 Ru(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Iu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Pu(t){t._nesting--,Ou(t)}var Lu=function(){function t(){m(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ua,this.onMicrotaskEmpty=new Ua,this.onStable=new Ua,this.onError=new Ua}return y(t,[{key:"run",value:function(t,e,n){return t.apply(e,n)}},{key:"runGuarded",value:function(t,e,n){return t.apply(e,n)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,e,n,i){return t.apply(e,n)}}]),t}(),Du=function(){var t=function(){function t(e){var n=this;m(this,t),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")})}return y(t,[{key:"_watchAngularEvents",value:function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Au.assertNotInAngularZone(),xu(function(){t._isZoneStable=!0,t._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 t=this;if(this.isStable())xu(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]}},{key:"addCallback",value:function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(xn(Au))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}(),Fu=function(){var t=function(){function t(){m(this,t),this._applications=new Map,Vu.addToWindow(this)}return y(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Vu.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}();function Nu(t){Vu=t}var ju,Vu=new(function(){function t(){m(this,t)}return y(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Mu=!0,Bu=!1;function Uu(){return Bu=!0,Mu}function Hu(){if(Bu)throw new Error("Cannot enable prod mode after platform setup.");Mu=!1}var zu=new cn("AllowMultipleToken"),Gu=function t(e,n){m(this,t),this.name=e,this.token=n};function qu(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new cn(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Yu();if(!o||o.injector.get(zu,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var s=n.concat(e).concat({provide:r,useValue:!0},{provide:vo,useValue:"platform"});!function(t){if(ju&&!ju.destroyed&&!ju.injector.get(zu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ju=t.get(Ku);var e=t.get(hu,null);e&&e.forEach(function(t){return t()})}(xo.create({providers:s,name:i}))}return function(t){var e=Yu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Yu(){return ju&&!ju.destroyed?ju:null}var Ku=function(){var t=function(){function t(e){m(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return y(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,i,r=this,o=(n=e?e.ngZone:void 0,i={ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1},"noop"===n?new Lu:("zone.js"===n?void 0:n)||new Au({enableLongStackTrace:Uu(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),s=[{provide:Au,useValue:o}];return o.run(function(){var e=xo.create({providers:s,parent:r.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(Ei,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var t=o.onError.subscribe({next:function(t){i.handleError(t)}});n.onDestroy(function(){Zu(r._modules,n),t.unsubscribe()})}),function(t,e,i){try{var o=((s=n.injector.get(au)).runInitializers(),s.donePromise.then(function(){return Ts(n.injector.get(pu,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return Wo(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(a){throw e.runOutsideAngular(function(){return t.handleError(a)}),a}var s}(i,o)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Qu({},n);return function(t,e,n){var i=new Ma(n);return Promise.resolve(i)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,i)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Wu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(C(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{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(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(xn(xo))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}();function Qu(t,e){return Array.isArray(e)?e.reduce(Qu,t):Object.assign(Object.assign({},t),e)}var Wu=function(){var t=function(){function t(e,n,i,r,o){var s=this;m(this,t),this._zone=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,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 a=new p.y(function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){t.next(s._stable),t.complete()})}),u=new p.y(function(t){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){Au.assertNotInAngularZone(),xu(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Au.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,g.T)(a,u.pipe(function(t){return(0,k.x)()((e=b,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,_.N);return i.source=t,i.subjectFactory=n,i})(t));var e}))}return y(t,[{key:"bootstrap",value:function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof js?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(Sa),o=n.create(xo.NULL,[],e||n.selector,r),s=o.location.nativeElement,a=o.injector.get(Du,null),u=a&&o.injector.get(Fu);return a&&u&&u.registerApplication(s,a),o.onDestroy(function(){i.detachView(o.hostView),Zu(i.components,o),u&&u.unregisterApplication(s)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=i(this._views);try{for(n.s();!(e=n.n()).done;){e.value.detectChanges()}}catch(r){n.e(r)}finally{n.f()}}catch(o){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(o)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Zu(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(du,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(xn(Au),xn(xo),xn(Ei),xn(Ms),xn(au))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}();function Zu(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Xu=function t(){m(this,t)},Ju=function t(){m(this,t)},$u={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},tl=function(){var t=function(){function t(e,n){m(this,t),this._compiler=e,this._config=n||$u}return y(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,n=r(t.split("#"),2),i=n[0],o=n[1];return void 0===o&&(o="default"),l(8255)(i).then(function(t){return t[o]}).then(function(t){return el(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=r(t.split("#"),2),n=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),l(8255)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return el(t,n,i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(xn(Cu),xn(Ju,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t}();function el(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var nl=function(t){return null},il=qu(null,"core",[{provide:fu,useValue:"unknown"},{provide:Ku,deps:[xo]},{provide:Fu,deps:[]},{provide:vu,deps:[]}]),rl=[{provide:Wu,useClass:Wu,deps:[Au,xo,Ei,Ms,au]},{provide:Da,deps:[Au],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:au,useClass:au,deps:[[new Pn,su]]},{provide:Cu,useClass:Cu,deps:[]},lu,{provide:ua,useFactory:function(){return ma},deps:[]},{provide:ca,useFactory:function(){return ga},deps:[]},{provide:pu,useFactory:function(t){return Ts(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new In(pu),new Pn,new Ln]]},{provide:yu,useValue:"USD"}],ol=function(){var t=function t(e){m(this,t)};return t.\u0275fac=function(e){return new(e||t)(xn(Wu))},t.\u0275mod=pt({type:t}),t.\u0275inj=F({providers:rl}),t}()},3738:function(t,e,r){"use strict";r.d(e,{sg:function(){return tt},JU:function(){return v},a5:function(){return I},F:function(){return J}});var o=r(793),s=(r(2057),r(7574)),a=r(9796),l=r(8002),h=r(1555),f=r(4402);function d(t,e){return new s.y(function(n){var i=t.length;if(0!==i)for(var r=new Array(i),o=0,s=0,a=function(a){var u=(0,f.D)(t[a]),l=!1;n.add(u.subscribe({next:function(t){l||(l=!0,s++),r[a]=t},error:function(t){return n.error(t)},complete:function(){++o!==i&&l||(s===i&&n.next(e?e.reduce(function(t,e,n){return t[e]=r[n],t},{}):r),n.complete())}}))},u=0;u<i;u++)a(u);else n.complete()})}var v=new o.OlP("NgValueAccessor"),p=new o.OlP("NgValidators"),g=new o.OlP("NgAsyncValidators");function _(t){return null!=t}function k(t){var e=(0,o.QGY)(t)?(0,f.D)(t):t;return(0,o.CqO)(e),e}function b(t){var e={};return t.forEach(function(t){e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function w(t,e){return e.map(function(e){return e(t)})}function S(t){return t.map(function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}})}function C(t){return null!=t?function(t){if(!t)return null;var e=t.filter(_);return 0==e.length?null:function(t){return b(w(t,e))}}(S(t)):null}function E(t){return null!=t?function(t){if(!t)return null;var e=t.filter(_);return 0==e.length?null:function(t){return function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(1===e.length){var r=e[0];if((0,a.k)(r))return d(r,null);if((0,h.K)(r)&&Object.getPrototypeOf(r)===Object.prototype){var o=Object.keys(r);return d(o.map(function(t){return r[t]}),o)}}if("function"==typeof e[e.length-1]){var s=e.pop();return d(e=1===e.length&&(0,a.k)(e[0])?e[0]:e,null).pipe((0,l.U)(function(t){return s.apply(void 0,n(t))}))}return d(e,null)}(w(t,e).map(k)).pipe((0,l.U)(b))}}(S(t)):null}function x(t,e){return null===t?[e]:Array.isArray(t)?[].concat(n(t),[e]):[t,e]}function A(t){return t._rawValidators}function T(t){return t._rawAsyncValidators}var O=function(){var t=function(){function t(){m(this,t),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return y(t,[{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(t){this._rawValidators=t||[],this._composedValidatorFn=C(this._rawValidators)}},{key:"_setAsyncValidators",value:function(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=E(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(t){this._onDestroyCallbacks.push(t)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(t){return t()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t}),t}(),R=function(){var t,e=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(O);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275dir=o.lG2({type:e,features:[o.qOj]}),e}(),I=function(t){u(n,t);var e=c(n);function n(){var t;return m(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return n}(O);function P(t,e){F(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&j(t,e)})}(t,e),function(t,e){var n=function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(function(){t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&j(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){var n=function(t){e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(function(){t._unregisterOnDisabledChange(n)})}}(t,e)}function L(t,e){var n=function(){};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),N(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}function D(t,e){t.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function F(t,e){var n=A(t);null!==e.validator?t.setValidators(x(n,e.validator)):"function"==typeof n&&t.setValidators([n]);var i=T(t);null!==e.asyncValidator?t.setAsyncValidators(x(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);var r=function(){return t.updateValueAndValidity()};D(e._rawValidators,r),D(e._rawAsyncValidators,r)}function N(t,e){var n=!1;if(null!==t){if(null!==e.validator){var i=A(t);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(t){return t!==e.validator});r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){var o=T(t);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(t){return t!==e.asyncValidator});s.length!==o.length&&(n=!0,t.setAsyncValidators(s))}}}var a=function(){};return D(e._rawValidators,a),D(e._rawAsyncValidators,a),n}function j(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function V(t,e){F(t,e)}function M(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function B(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function U(t){return(q(t)?t.validators:t)||null}function H(t){return Array.isArray(t)?C(t):t||null}function z(t,e){return(q(e)?e.asyncValidators:t)||null}function G(t){return Array.isArray(t)?E(t):t||null}function q(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Y=function(){function t(e,n){m(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=H(this._rawValidators),this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}return y(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{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(t){this._rawValidators=t,this._composedValidatorFn=H(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=G(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=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(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=k(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var i=t;return e.forEach(function(t){i=i instanceof Q?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof W&&i.at(t)||null}),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){q(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),K=function(t){u(n,t);var e=c(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return m(this,n),(t=e.call(this,U(r),z(o,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return y(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){B(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){B(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(Y),Q=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,U(i),z(r,i))).controls=t,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof K?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){var i=e.controls[n];i&&t(i,n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e<n.length;e++){var i=n[e],r=this.controls[i];if(this.contains(i)&&t(r))return!0}return!1}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(Y),W=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,U(i),z(r,i))).controls=t,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof K?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=i(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),n}(Y),Z={provide:R,useExisting:(0,o.Gpc)(function(){return J})},X=Promise.resolve(null),J=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new o.vpe,r.form=new Q({},C(t),E(i)),r}return y(n,[{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(t){var e=this;X.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),P(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;X.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),B(e._directives,t)})}},{key:"addFormGroup",value:function(t){var e=this;X.then(function(){var n=e._findContainer(t.path),i=new Q({});V(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(t){var e=this;X.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;X.then(function(){n.form.get(t.path).setValue(e)})}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,M(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}}]),n}(R);return t.\u0275fac=function(e){return new(e||t)(o.Y36(p,10),o.Y36(g,10))},t.\u0275dir=o.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&o.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Z]),o.qOj]}),t}(),$={provide:R,useExisting:(0,o.Gpc)(function(){return tt})},tt=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).validators=t,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new o.vpe,r._setValidators(t),r._setAsyncValidators(i),r}return y(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(N(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(t){var e=this.form.get(t.path);return P(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){L(t.control||null,t,!1),B(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,M(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var n=e.control,i=t.form.get(e.path);n!==i&&(L(n||null,e),i instanceof K&&(P(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);V(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return N(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){F(this.form,this),this._oldForm&&N(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(R);return t.\u0275fac=function(e){return new(e||t)(o.Y36(p,10),o.Y36(g,10))},t.\u0275dir=o.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&o.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([$]),o.qOj,o.TTD]}),t}()},7935:function(t,e,n){"use strict";n.d(e,{rD:function(){return C},BQ:function(){return _},X2:function(){return E},uc:function(){return T},nP:function(){return V},us:function(){return M},wG:function(){return N},si:function(){return j},pj:function(){return b},Kr:function(){return w},Id:function(){return k},FD:function(){return S},E0:function(){return x}});var i=n(793),r=n(9760),o=n(6794),s=new i.GfV("12.1.1"),a=n(2057),l=n(9490),h=n(9765),f=n(9642),d=n(9761),v=n(4141);n(3328);var p=new i.GfV("12.1.1"),g=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),_=function(){var t=function(){function t(e,n,i){m(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return y(t,[{key:"_getWindow",value:function(){var t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return(0,i.X6Q)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.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._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&p.full!==s.full&&console.warn("The Angular Material version ("+p.full+") does not match the Angular CDK version ("+s.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.qm),i.LFG(g,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[o.vT],o.vT]}),t}();function k(t){return function(t){u(n,t);var e=c(n);function n(){var t;m(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._disabled=!1,t}return y(n,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,l.Ig)(t)}}]),n}(t)}function b(t,e){return function(t){u(i,t);var n=c(i);function i(){var t;m(this,i);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return(t=n.call.apply(n,[this].concat(o))).defaultColor=e,t.color=e,t}return y(i,[{key:"color",get:function(){return this._color},set:function(t){var e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),e&&this._elementRef.nativeElement.classList.add("mat-".concat(e)),this._color=e)}}]),i}(t)}function w(t){return function(t){u(n,t);var e=c(n);function n(){var t;m(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._disableRipple=!1,t}return y(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=(0,l.Ig)(t)}}]),n}(t)}function S(t){return function(t){u(n,t);var e=c(n);function n(){var t;m(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).stateChanges=new h.xQ,t.errorState=!1,t}return y(n,[{key:"updateErrorState",value:function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}]),n}(t)}try{"undefined"!=typeof Intl}catch(B){!1}var C=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),E=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t}();function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe((0,d.O)(t)).subscribe(function(t){var i=t.length;A(e,"".concat(n,"-2-line"),!1),A(e,"".concat(n,"-3-line"),!1),A(e,"".concat(n,"-multi-line"),!1),2===i||3===i?A(e,"".concat(n,"-").concat(i,"-line"),!0):i>3&&A(e,"".concat(n,"-multi-line"),!0)})}function A(t,e,n){var i=t.nativeElement.classList;n?i.add(e):i.remove(e)}var T=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[_],_]}),t}(),O=function(){function t(e,n,i){m(this,t),this._renderer=e,this.element=n,this.config=i,this.state=3}return y(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),R={enterDuration:450,exitDuration:400},I=(0,f.i$)({passive:!0}),P=["mousedown","touchstart"],L=["mouseup","mouseleave","touchend","touchcancel"],D=function(){function t(e,n,i,r){m(this,t),this._target=e,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,l.fI)(i))}return y(t,[{key:"fadeInRipple",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},R),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var s=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,u=e-r.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=u-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new O(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var t=h===n._mostRecentTransientRipple;h.state=1,i.persistent||t&&n._isPointerDown||h.fadeOut()},l),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},R),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=(0,l.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(P))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(L),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=(0,r.X6)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(t){if(!this._target.rippleDisabled&&!(0,r.yG)(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(t){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,I)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(P.forEach(function(e){t._triggerElement.removeEventListener(e,t,I)}),this._pointerUpEventsRegistered&&L.forEach(function(e){t._triggerElement.removeEventListener(e,t,I)}))}}]),t}(),F=new i.OlP("mat-ripple-global-options"),N=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new D(this,n,e,i)}return y(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(f.t4),i.Y36(F,8),i.Y36(v.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.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}(),j=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[_,f.ud],_]}),t}(),V=function(){var t=function t(e){m(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1};return t.\u0275fac=function(e){return new(e||t)(i.Y36(v.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}(),M=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[_]]}),t}()},591:function(t,e,n){"use strict";n.d(e,{d:function(){return s},t:function(){return a}});var i=n(9490),r=n(7935),o=n(793),s=function(){var t=function(){function t(){m(this,t),this._vertical=!1,this._inset=!1}return y(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=(0,i.Ig)(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=(0,i.Ig)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t}(),a=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.BQ],r.BQ]}),t}()},5363:function(t,e,n){"use strict";n.d(e,{i$:function(){return b},Tg:function(){return C},ie:function(){return E}});var i=n(2057),r=n(793),o=n(7935),s=n(9490),a=n(9765),l=n(6782),h=(n(9761),n(9760),n(3296),n(3328),n(3738),n(591)),f=["*"],d=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],v=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],p=(0,o.Id)((0,o.Kr)(function(){return function t(){m(this,t)}}())),g=(0,o.Kr)(function(){return function t(){m(this,t)}}()),_=new r.OlP("MatList"),k=new r.OlP("MatNavList"),b=function(){var t=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this))._elementRef=t,i._stateChanges=new a.xQ,"action-list"===i._getListType()&&t.nativeElement.classList.add("mat-action-list"),i}return y(n,[{key:"_getListType",value:function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(p);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r._Bn([{provide:_,useExisting:t}]),r.qOj,r.TTD],ngContentSelectors:f,decls:2,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r._uU(1,"\n\n"))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t}(),w=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),S=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),C=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;m(this,n),(s=e.call(this))._element=t,s._isInteractiveList=!1,s._destroyed=new a.xQ,s._disabled=!1,s._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),s._list=r||o;var u=s._getHostElement();return"button"!==u.nodeName.toLowerCase()||u.hasAttribute("type")||u.setAttribute("type","button"),s._list&&s._list._stateChanges.pipe((0,l.R)(s._destroyed)).subscribe(function(){i.markForCheck()}),s}return y(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=(0,s.Ig)(t)}},{key:"ngAfterContentInit",value:function(){(0,o.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(k,8),r.Y36(_,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){var i;(1&t&&(r.Suo(n,w,5),r.Suo(n,S,5),r.Suo(n,o.X2,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._avatar=i.first),r.iGM(i=r.CRH())&&(e._icon=i.first),r.iGM(i=r.CRH())&&(e._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&r.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[r.qOj],ngContentSelectors:v,decls:13,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(r.F$t(d),r.TgZ(0,"div",0),r._uU(1,"\n "),r.TgZ(2,"div",1),r._uU(3,"\n "),r.qZA(),r._uU(4,"\n\n "),r.Hsn(5),r._uU(6,"\n\n "),r.TgZ(7,"div",2),r.Hsn(8,1),r.qZA(),r._uU(9,"\n\n "),r.Hsn(10,2),r._uU(11,"\n"),r.qZA(),r._uU(12,"\n")),2&t&&(r.xp6(2),r.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[o.wG],encapsulation:2,changeDetection:0}),t}(),E=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.uc,o.si,o.BQ,o.us,i.ez],o.uc,o.BQ,o.us,h.t]}),t}()},3871:function(t,e,n){"use strict";n.d(e,{Tx:function(){return ut}}),n(9760);var o=n(9490),s=(n(3328),n(793)),l=n(9765),h=n(5319),d=n(6682);n(5917),n(4581),n(3637),n(7393),n(1593),n(9761),n(3190);var p=n(5257),g=(n(5435),n(6782)),_=(n(6083),n(2057)),k=function(){function t(){m(this,t)}return y(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),t}(),b=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this)).component=t,s.viewContainerRef=i,s.injector=r,s.componentFactoryResolver=o,s}return n}(k),w=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this)).templateRef=t,o.viewContainerRef=i,o.context=r,o}return y(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,a(v(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,a(v(n.prototype),"detach",this).call(this)}}]),n}(k),S=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this)).element=t instanceof s.SBq?t.nativeElement:t,i}return n}(k),C=function(t){u(n,t);var e=c(n);function n(t,i,r,o,s){var u,l;return m(this,n),(l=e.call(this)).outletElement=t,l._componentFactoryResolver=i,l._appRef=r,l._defaultInjector=o,l.attachDomPortal=function(t){var e=t.element,i=l._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),l.outletElement.appendChild(e),l._attachedPortal=t,a((u=f(l),v(n.prototype)),"setDisposeFn",u).call(u,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},l._document=s,l}return y(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),i.detectChanges(),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),this._attachedPortal=t,i}},{key:"dispose",value:function(){a(v(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(function(){function t(){m(this,t),this._isDisposed=!1,this.attachDomPortal=null}return y(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof b?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof w?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof S?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}()),E=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t}(),x=n(7935),A=n(4259),T=n(9642),O=n(6794),R=(0,T.Mq)(),I=function(){function t(e,n){m(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return y(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,o.HM)(-this._previousScrollPosition.left),t.style.top=(0,o.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),R&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),R&&(e.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}(),P=function(){function t(e,n,i,r){var o=this;m(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),L=function(){function t(){m(this,t)}return y(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function D(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function F(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var N=function(){function t(e,n,i,r){m(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;D(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),j=function(){var t=function t(e,n,i,r){var o=this;m(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new L},this.close=function(t){return new P(o._scrollDispatcher,o._ngZone,o._viewportRuler,t)},this.block=function(){return new I(o._viewportRuler,o._document)},this.reposition=function(t){return new N(o._scrollDispatcher,o._viewportRuler,o._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(s.LFG(A.mF),s.LFG(A.rL),s.LFG(s.R0b),s.LFG(_.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(A.mF),s.LFG(A.rL),s.LFG(s.R0b),s.LFG(_.K0))},token:t,providedIn:"root"}),t}(),V=function t(e){if(m(this,t),this.scrollStrategy=new L,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];void 0!==e[r]&&(this[r]=e[r])}},M=function t(e,n,i,r,o){m(this,t),this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=e.originX,this.originY=e.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},B=function t(e,n){m(this,t),this.connectionPair=e,this.scrollableViewProperties=n},U=function(){var t=function(){function t(e){m(this,t),this._attachedOverlays=[],this._document=e}return y(t,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(_.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_.K0))},token:t,providedIn:"root"}),t}(),H=function(){var t=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return y(n,[{key:"add",value:function(t){a(v(n.prototype),"add",this).call(this,t),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)}}]),n}(U);return t.\u0275fac=function(e){return new(e||t)(s.LFG(_.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_.K0))},token:t,providedIn:"root"}),t}(),z=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(e))break;o._outsidePointerEvents.next(t)}}},r}return y(n,[{key:"add",value:function(t){if(a(v(n.prototype),"add",this).call(this,t),!this._isAttached){var e=this._document.body;e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(U);return t.\u0275fac=function(e){return new(e||t)(s.LFG(_.K0),s.LFG(T.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_.K0),s.LFG(T.t4))},token:t,providedIn:"root"}),t}(),G="undefined"!=typeof window?window:{},q=void 0!==G.__karma__&&!!G.__karma__||void 0!==G.jasmine&&!!G.jasmine||void 0!==G.jest&&!!G.jest||void 0!==G.Mocha&&!!G.Mocha,Y=function(){var t=function(){function t(e,n){m(this,t),this._platform=n,this._document=e}return y(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||q)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e]);var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),q?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(_.K0),s.LFG(T.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_.K0),s.LFG(T.t4))},token:t,providedIn:"root"}),t}(),K=function(){function t(e,n,i,r,o,s,a,u,c){var f=this;m(this,t),this._portalOutlet=e,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=u,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new l.xQ,this._attachments=new l.xQ,this._detachments=new l.xQ,this._locationChanges=h.w.EMPTY,this._backdropClickHandler=function(t){return f._backdropClick.next(t)},this._keydownEvents=new l.xQ,this._outsidePointerEvents=new l.xQ,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return y(t,[{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(t){var e=this,n=this._portalOutlet.attach(t);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((0,p.q)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),this._outsideClickDispatcher.add(this),n}},{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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=(0,o.HM)(this._config.width),t.height=(0,o.HM)(this._config.height),t.minWidth=(0,o.HM)(this._config.minWidth),t.minHeight=(0,o.HM)(this._config.minHeight),t.maxWidth=(0,o.HM)(this._config.maxWidth),t.maxHeight=(0,o.HM)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"":"none"}},{key:"_attachBackdrop",value:function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t,e=this,n=this._backdropElement;if(n){var i=function i(){n&&(n.removeEventListener("click",e._backdropClickHandler),n.removeEventListener("transitionend",i),n.parentNode&&n.parentNode.removeChild(n)),e._backdropElement==n&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(n,e._config.backdropClass,!1),clearTimeout(t)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){n.addEventListener("transitionend",i)}),n.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(t,e,n){var i=t.classList;(0,o.Eq)(e).forEach(function(t){t&&(n?i.add(t):i.remove(t))})}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.pipe((0,g.R)((0,d.T)(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}]),t}(),Q=/([A-Za-z%]+)$/,W=function(){function t(e,n,i,r,o){m(this,t),this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o,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 l.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}return y(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){var e=this;this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var t,e,n=this._originRect,r=this._overlayRect,o=this._viewportRect,s=[],a=i(this._preferredPositions);try{for(a.s();!(e=a.n()).done;){var u=e.value,l=this._getOriginPoint(n,u),c=this._getOverlayPoint(l,r,u),h=this._getOverlayFit(c,r,o,u);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(u,l);this._canFitWithFlexibleDimensions(h,c,o)?s.push({position:u,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,u)}):(!t||t.overlayFit.visibleArea<h.visibleArea)&&(t={overlayFit:h,overlayPoint:c,originPoint:l,position:u,overlayRect:r})}}catch(g){a.e(g)}finally{a.f()}if(s.length){var f,d=null,v=-1,p=i(s);try{for(p.s();!(f=p.n()).done;){var y=f.value,m=y.boundingBoxRect.width*y.boundingBoxRect.height*(y.position.weight||1);m>v&&(v=m,d=y)}}catch(g){p.e(g)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{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 t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=J(e),o=t.x,s=t.y,a=this._getOffset(i,"x"),u=this._getOffset(i,"y");a&&(o+=a),u&&(s+=u);var l=0-s,c=s+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,l,c),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=X(this._overlayRef.getConfig().minHeight),s=X(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=s&&s<=r;return(t.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=J(e),s=this._viewportRect,a=Math.max(t.x+o.width-s.width,0),u=Math.max(t.y+o.height-s.height,0),l=Math.max(s.top-n.top-t.y,0),c=Math.max(s.left-n.left-t.x,0);return i=o.width<=s.width?c||-a:t.x<this._viewportMargin?s.left-n.left-t.x:0,r=o.height<=s.height?l||-u:t.y<this._viewportMargin?s.top-n.top-t.y:0,this._previousPushAmount={x:i,y:r},{x:t.x+i,y:t.y+r}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new B(t,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(e," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var n,i,r,o,s,a,u=this._viewportRect,l=this._isRtl();if("top"===e.overlayY)i=t.y,n=u.height-i+this._viewportMargin;else if("bottom"===e.overlayY)r=u.height-t.y+2*this._viewportMargin,n=u.height-r+this._viewportMargin;else{var c=Math.min(u.bottom-t.y+u.top,t.y),h=this._lastBoundingBoxSize.height;n=2*c,i=t.y-c,n>h&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)a=u.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)s=t.x,o=u.right-t.x;else{var f=Math.min(u.right-t.x+u.left,t.x),d=this._lastBoundingBoxSize.width;o=2*f,s=t.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.x-d/2)}return{top:i,left:s,bottom:r,right:a,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,o.HM)(n.height),i.top=(0,o.HM)(n.top),i.bottom=(0,o.HM)(n.bottom),i.width=(0,o.HM)(n.width),i.left=(0,o.HM)(n.left),i.right=(0,o.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,o.HM)(r)),s&&(i.maxWidth=(0,o.HM)(s))}this._lastBoundingBoxSize=n,Z(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();Z(n,this._getExactOverlayY(e,t,a)),Z(n,this._getExactOverlayX(e,t,a))}else n.position="static";var u="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(u+="translateX(".concat(l,"px) ")),c&&(u+="translateY(".concat(c,"px)")),n.transform=u.trim(),s.maxHeight&&(i?n.maxHeight=(0,o.HM)(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=(0,o.HM)(s.maxWidth):r&&(n.maxWidth="")),Z(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,o.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,o.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:F(t,n),isOriginOutsideView:D(t,n),isOverlayClipped:F(e,n),isOverlayOutsideView:D(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.reduce(function(t,e){return t-Math.max(e,0)},t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&(0,o.Eq)(t).forEach(function(t){""!==t&&-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})}},{key:"_clearPanelClasses",value:function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}]),t}();function Z(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function X(t){if("number"!=typeof t&&null!=t){var e=r(t.split(Q),2),n=e[0],i=e[1];return i&&"px"!==i?null:parseFloat(n)}return t||null}function J(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 $=function(){function t(e,n,i,r,o,s,a){m(this,t),this._preferredPositions=[],this._positionStrategy=new W(i,r,o,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,n),this.onPositionChange=this._positionStrategy.positionChanges}return y(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.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(t){this._positionStrategy.withScrollableContainers(t)}},{key:"withFallbackPosition",value:function(t,e,n,i){var r=new M(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}},{key:"withOffsetX",value:function(t){return this._positionStrategy.withDefaultOffsetX(t),this}},{key:"withOffsetY",value:function(t){return this._positionStrategy.withDefaultOffsetY(t),this}},{key:"withLockedPosition",value:function(t){return this._positionStrategy.withLockedPosition(t),this}},{key:"withPositions",value:function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(t){return this._positionStrategy.setOrigin(t),this}}]),t}(),tt=function(){function t(){m(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return y(t,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,s=n.maxHeight,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),et=function(){var t=function(){function t(e,n,i,r){m(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return y(t,[{key:"global",value:function(){return new tt}},{key:"connectedTo",value:function(t,e,n){return new $(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new W(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(A.rL),s.LFG(_.K0),s.LFG(T.t4),s.LFG(Y))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(A.rL),s.LFG(_.K0),s.LFG(T.t4),s.LFG(Y))},token:t,providedIn:"root"}),t}(),nt=0,it=function(){var t=function(){function t(e,n,i,r,o,s,a,u,l,c,h){m(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=s,this._ngZone=a,this._document=u,this._directionality=l,this._location=c,this._outsideClickDispatcher=h}return y(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new V(t);return r.direction=r.direction||this._directionality.value,new K(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+nt++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new C(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(j),s.LFG(Y),s.LFG(s._Vd),s.LFG(et),s.LFG(H),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(_.K0),s.LFG(O.Is),s.LFG(_.Ye),s.LFG(z))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),rt={provide:new s.OlP("cdk-connected-overlay-scroll-strategy"),deps:[it],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},ot=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[it,rt],imports:[[O.vT,E,A.Cl],A.Cl]}),t}(),st={provide:new s.OlP("mat-menu-scroll-strategy"),deps:[it],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},at=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[st],imports:[x.BQ]}),t}(),ut=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[st],imports:[[_.ez,x.BQ,x.si,ot,at],A.ZD,x.BQ,at]}),t}()},3050:function(t,e,n){"use strict";n.d(e,{jA:function(){return U},kh:function(){return H},LW:function(){return B},SJ:function(){return z}});var i=n(9642),r=n(4259),o=n(2057),s=n(793),a=n(7935),l=n(9490),h=n(3328),f=n(9765),d=n(2759),v=n(6682),p=n(7393);function g(t){return function(e){return e.lift(new _(t))}}var _=function(){function t(e){m(this,t),this.value=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new k(t,this.value))}}]),t}(),k=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).value=i,r}return y(n,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),n}(p.L),b=n(5435),w=n(8002),S=n(6782),C=n(7519),E=n(5257),x=n(9761),A=n(4395),T=n(6083),O=n(4141),R=n(9760),I=n(6794),P=["*"];function L(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(n),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){var i=s.oxw();s.ekj("mat-drawer-shown",i._isShowingBackdrop())}}function D(t,e){1&t&&(s.TgZ(0,"mat-drawer-content"),s._uU(1,"\n "),s.Hsn(2,2),s._uU(3,"\n"),s.qZA())}var F=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],N=["mat-drawer","mat-drawer-content","*"],j={transformDrawer:(0,T.X$)("transform",[(0,T.SB)("open, open-instant",(0,T.oB)({transform:"none",visibility:"visible"})),(0,T.SB)("void",(0,T.oB)({"box-shadow":"none",visibility:"hidden"})),(0,T.eR)("void => open-instant",(0,T.jt)("0ms")),(0,T.eR)("void <=> open, open-instant => void",(0,T.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},V=new s.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),M=new s.OlP("MAT_DRAWER_CONTAINER"),B=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i,r,o,s){var a;return m(this,n),(a=e.call(this,r,o,s))._changeDetectorRef=t,a._container=i,a}return y(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})}}]),n}(r.PQ);return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(function(){return H})),s.Y36(s.SBq),s.Y36(r.mF),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:P,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),U=function(){var t=function(){function t(e,n,i,r,o,a,u){var l=this;m(this,t),this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=r,this._ngZone=o,this._doc=a,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new f.xQ,this._animationEnd=new f.xQ,this._animationState="void",this.openedChange=new s.vpe(!0),this._openedStream=this.openedChange.pipe((0,b.h)(function(t){return t}),(0,w.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,b.h)(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),g(void 0)),this._closedStream=this.openedChange.pipe((0,b.h)(function(t){return!t}),(0,w.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,b.h)(function(t){return t.fromState!==t.toState&&"void"===t.toState}),g(void 0)),this._destroyed=new f.xQ,this.onPositionChanged=new s.vpe,this._modeChanged=new f.xQ,this.openedChange.subscribe(function(t){t?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._takeFocus()):l._isFocusWithinDrawer()&&l._restoreFocus()}),this._ngZone.runOutsideAngular(function(){(0,d.R)(l._elementRef.nativeElement,"keydown").pipe((0,b.h)(function(t){return t.keyCode===h.hY&&!l.disableClose&&!(0,h.Vb)(t)}),(0,S.R)(l._destroyed)).subscribe(function(t){return l._ngZone.run(function(){l.close(),t.stopPropagation(),t.preventDefault()})})}),this._animationEnd.pipe((0,C.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&l.openedChange.emit(l._opened)})}return y(t,[{key:"position",get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(t){this._disableClose=(0,l.Ig)(t)}},{key:"autoFocus",get:function(){var t=this._autoFocus;return null==t?"side"!==this.mode:t},set:function(t){this._autoFocus=(0,l.Ig)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){this.toggle((0,l.Ig)(t))}},{key:"_takeFocus",value:function(){var t=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var t,e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(t){return this.toggle(!0,t)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,e=arguments.length>1?arguments[1]:void 0;return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}},{key:"_setOpen",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(t){n.openedChange.pipe((0,E.q)(1)).subscribe(function(e){return t(e?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(t){this._animationStarted.next(t)}},{key:"_animationDoneListener",value:function(t){this._animationEnd.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(R.qV),s.Y36(R.tE),s.Y36(i.t4),s.Y36(s.R0b),s.Y36(o.K0,8),s.Y36(M,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&s.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(s.uIk("align",null),s.d8E("@transform",e._animationState),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:P,decls:5,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s._uU(1,"\n "),s.Hsn(2),s._uU(3,"\n"),s.qZA(),s._uU(4,"\n"))},directives:[r.PQ],encapsulation:2,data:{animation:[j.transformDrawer]},changeDetection:0}),t}(),H=function(){var t=function(){function t(e,n,i,r,o){var a=this,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;m(this,t),this._dir=e,this._element=n,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=l,this._drawers=new s.n_E,this.backdropClick=new s.vpe,this._destroyed=new f.xQ,this._doCheckSubject=new f.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new f.xQ,e&&e.change.pipe((0,S.R)(this._destroyed)).subscribe(function(){a._validateDrawers(),a.updateContentMargins()}),o.change().pipe((0,S.R)(this._destroyed)).subscribe(function(){return a.updateContentMargins()}),this._autosize=u}return y(t,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(t){this._autosize=(0,l.Ig)(t)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:(0,l.Ig)(t)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var t=this;this._allDrawers.changes.pipe((0,x.O)(this._allDrawers),(0,S.R)(this._destroyed)).subscribe(function(e){t._drawers.reset(e.filter(function(e){return!e._container||e._container===t})),t._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,x.O)(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._doCheckSubject.pipe((0,A.b)(10),(0,S.R)(t._destroyed)).subscribe(function(){return t.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(t){return t.open()})}},{key:"close",value:function(){this._drawers.forEach(function(t){return t.close()})}},{key:"updateContentMargins",value:function(){var t=this,e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){var i=this._left._getWidth();e+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();n+=r,e-=r}n=n||null,(e=e||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))}},{key:"ngDoCheck",value:function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(t){var e=this;t._animationStarted.pipe((0,b.h)(function(t){return t.fromState!==t.toState}),(0,S.R)(this._drawers.changes)).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,S.R)(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})}},{key:"_watchDrawerPosition",value:function(t){var e=this;t&&t.onPositionChanged.pipe((0,S.R)(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.pipe((0,E.q)(1)).subscribe(function(){e._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(t){var e=this;t&&t._modeChanged.pipe((0,S.R)((0,v.T)(this._drawers.changes,this._destroyed))).subscribe(function(){e.updateContentMargins(),e._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(t){var e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}},{key:"_validateDrawers",value:function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?t._end=e:t._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(t){return"side"!==t.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(t){return null!=t&&t.opened}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(I.Is,8),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(r.rL),s.Y36(V),s.Y36(O.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var i;(1&t&&(s.Suo(n,B,5),s.Suo(n,U,5)),2&t)&&(s.iGM(i=s.CRH())&&(e._content=i.first),s.iGM(i=s.CRH())&&(e._allDrawers=i))},viewQuery:function(t,e){var n;(1&t&&s.Gf(B,5),2&t)&&(s.iGM(n=s.CRH())&&(e._userContent=n.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[s._Bn([{provide:M,useExisting:t}])],ngContentSelectors:N,decls:8,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(s.F$t(F),s.YNc(0,L,1,2,"div",0),s._uU(1,"\n\n"),s.Hsn(2),s._uU(3,"\n\n"),s.Hsn(4,1),s._uU(5,"\n"),s.YNc(6,D,4,0,"mat-drawer-content",1),s._uU(7,"\n")),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(6),s.Q6J("ngIf",!e._content))},directives:[o.O5,B],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t}(),z=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.ez,a.BQ,i.ud,r.ZD],r.ZD,a.BQ]}),t}()},3121:function(t,e,n){"use strict";n.d(e,{Ye:function(){return d},g0:function(){return v}});var i=n(7935),r=n(2057),o=n(793),s=n(9642),a=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"],h=(0,i.pj)(function(){return function t(e){m(this,t),this._elementRef=e}}()),f=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t}(),d=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t))._platform=i,o._document=r,o}return y(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(h);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(s.t4),o.Y36(r.K0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){var i;(1&t&&o.Suo(n,f,5),2&t)&&(o.iGM(i=o.CRH())&&(e._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&o.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:l,decls:4,vars:0,template:function(t,e){1&t&&(o.F$t(a),o.Hsn(0),o._uU(1,"\n"),o.Hsn(2,1),o._uU(3,"\n"))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t}(),v=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.BQ],i.BQ]}),t}()},4141:function(t,e,o){"use strict";o.d(e,{Qb:function(){return Ae},PW:function(){return Ie}});var s=o(793),l=o(1211),h=o(6083);function f(){return"undefined"!=typeof window&&void 0!==window.document}function d(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function p(t){switch(t.length){case 0:return new h.ZN;case 1:return t[0];default:return new h.ZE(t)}}function g(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],a=[],u=-1,l=null;if(i.forEach(function(t){var n=t.offset,i=n==u,c=i&&l||{};Object.keys(t).forEach(function(n){var i=n,a=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),a){case h.k1:a=r[n];break;case h.l3:a=o[n];break;default:a=e.normalizeStyleValue(n,i,a,s)}c[i]=a}),i||a.push(c),l=c,u=n}),s.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(s.join(c)))}return a}function _(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&k(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&k(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&k(n,"destroy",t))})}}function k(t,e,n){var i=n.totalTime,r=b(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function b(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function w(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function S(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var C=function(t,e){return!1},E=function(t,e){return!1},x=function(t,e,n){return[]},A=d();(A||"undefined"!=typeof Element)&&(C=f()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},E=function(){if(A||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:E}(),x=function(t,e,n){var i=[];if(n)for(var r=t.querySelectorAll(e),o=0;o<r.length;o++)i.push(r[o]);else{var s=t.querySelector(e);s&&i.push(s)}return i});var T=null,O=!1;function R(t){T||(T=("undefined"!=typeof document?document.body:null)||{},O=!!T.style&&"WebkitAppearance"in T.style);var e=!0;return T.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in T.style)&&O)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in T.style),e}var I=E,P=C,L=x;function D(t){var e={};return Object.keys(t).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}var F=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"validateStyleProperty",value:function(t){return R(t)}},{key:"matchesElement",value:function(t,e){return I(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return L(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,r){return new h.ZN(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),N=function t(){m(this,t)};function j(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:V(parseFloat(e[1]),e[2])}function V(t,e){switch(e){case"s":return 1e3*t;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=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 e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=V(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(r=V(parseFloat(a),s[4]));var u=s[5];u&&(o=u)}else i=t;if(!n){var l=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),l=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&e.splice(c,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:o}}(t,e,n)}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function U(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else B(t,n);return n}function H(t,e,n){return n?e+":"+n+";":""}function z(t){for(var e="",n=0;n<t.style.length;n++){var i=t.style.item(n);e+=H(0,i,t.style.getPropertyValue(i))}for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=H(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function G(t,e,n){t.style&&(Object.keys(e).forEach(function(i){var r=J(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),d()&&z(t))}function q(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=J(e);t.style[n]=""}),d()&&z(t))}function Y(t){return Array.isArray(t)?1==t.length?t[0]:(0,h.vP)(t):t}N.NOOP=new F;var K=new RegExp("{{\\s*(.+?)\\s*}}","g");function Q(t){var e=[];if("string"==typeof t){for(var n;n=K.exec(t);)e.push(n[1]);K.lastIndex=0}return e}function W(t,e,n){var i=t.toString(),r=i.replace(K,function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param ".concat(i)),r=""),r.toString()});return r==i?t:r}function Z(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var X=/-+([a-z0-9])/g;function J(t){return t.replace(X,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e[1].toUpperCase()})}function $(t,e){return 0===t||0===e}function tt(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],o=[];if(i.forEach(function(t){r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=function(){var n=e[a];o.forEach(function(e){n[e]=nt(t,e)})},a=1;a<e.length;a++)s()}return e}function et(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #".concat(e.type))}}function nt(t,e){return window.getComputedStyle(t)[e]}var it=new Set(["true","1"]),rt=new Set(["false","0"]);function ot(t,e){var n=it.has(t)||rt.has(t),i=it.has(e)||rt.has(e);return function(r,o){var s="*"==t||t==r,a="*"==e||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?it.has(t):rt.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?it.has(e):rt.has(e)),s&&a}}var st=new RegExp("s*:selfs*,?","g");function at(t,e,n){return new ut(t).build(e,n)}var ut=function(){function t(e){m(this,t),this._driver=e}return y(t,[{key:"build",value:function(t,e){var n=new lt(e);return this._resetContextStyleTimingState(n),et(this,Y(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var a=t,u=a.name;u.toString().split(/\s*,\s*/).forEach(function(t){a.name=t,o.push(n.visitState(a,e))}),a.name=u}else if(1==t.type){var l=n.visitTransition(t,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(t){if(ct(t)){var e=t;Object.keys(e).forEach(function(t){Q(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var s=Z(r.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(s.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n,i,r,o=et(this,Y(t.animation),e);return{type:1,matchers:(n=t.expr,i=e.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=r[1],s=r[2],a=r[3];e.push(ot(o,a)),"<"!=s[0]||"*"==o&&"*"==a||e.push(ot(a,o))}(t,r,i)}):r.push(n),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:ht(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return et(n,t,e)}),options:ht(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=i;var o=et(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:ht(t.options)}}},{key:"visitAnimate",value:function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ft(M(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=ft(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ft((n=n||M(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:(0,h.oB)({});if(5==r.type)n=this.visitKeyframes(r,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};i.easing&&(a.easing=i.easing),o=(0,h.oB)(a)}e.currentTime+=i.duration+i.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==h.l3?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(ct(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var s,a,u,l,c,h=e.collectedStyles[e.currentQuerySelector],f=h[i],d=!0;f&&(o!=r&&o>=f.startTime&&r<=f.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),d=!1),o=f.startTime),d&&(h[i]={startTime:o,endTime:r}),e.options&&(s=t[i],a=e.options,u=e.errors,l=a.params||{},(c=Q(s)).length&&c.forEach(function(t){l.hasOwnProperty(t)||u.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))}))}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],s=!1,a=!1,u=0,l=t.steps.map(function(t){var i=n._makeStyleAst(t,e),l=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(ct(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=l&&(r++,c=i.offset=l),a=a||c<0||c>1,s=s||c<u,u=c,o.push(c),i});a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(h=1/(c-1));var f=c-1,d=e.currentTime,v=e.currentAnimateTimings,p=v.duration;return l.forEach(function(t,r){var s=h>0?r==f?1:h*r:o[r],a=s*p;e.currentTime=d+v.delay+a,v.duration=a,n._validateStyleAst(t,e),t.offset=s,i.styles.push(t)}),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:et(this,Y(t.animation),e),options:ht(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:ht(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ht(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var o=r(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(st,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),s=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+s:s,w(e.collectedStyles,e.currentQuerySelector,{});var u=et(this,Y(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:u,originalSelector:t.selector,options:ht(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:M(t.timings,e.errors,!0);return{type:12,animation:et(this,Y(t.animation),e),timings:n,options:null}}}]),t}(),lt=function t(e){m(this,t),this.errors=e,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 ct(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=B(t)).params&&(t.params=(e=t.params)?B(e):null):t={},t}function ft(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,i,r,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var vt=function(){function t(){m(this,t),this._map=new Map}return y(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var i,r=this._map.get(t);r||this._map.set(t,r=[]),(i=r).push.apply(i,n(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),pt=new RegExp(":enter","g"),yt=new RegExp(":leave","g");function mt(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},a=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new gt).buildKeyframes(t,e,n,i,r,o,s,a,u,l)}var gt=function(){function t(){m(this,t)}return y(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,o,s,a,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new vt;var c=new kt(t,e,u,i,r,l,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),et(this,n,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(s).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([s],null,c.errors,a)}return h.length?h.map(function(t){return t.buildKeyframes()}):[dt(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?j(n.duration):null,o=null!=n.delay?j(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),et(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_t);var s=j(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return et(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?j(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),et(n,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return M(e.params?W(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?j(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=_t);var s=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(i,r){e.currentQueryIndex=r;var a=e.createSubContext(t.options,i);o&&a.delayNextStep(o),i===e.element&&(u=a.currentTimeline),et(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var l=u.currentTime;et(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),t}(),_t={},kt=function(){function t(e,n,i,r,o,s,a,u){m(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_t,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new bt(this._driver,n,0),a.push(this.currentTimeline)}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=j(i.duration)),null!=i.delay&&(r.delay=j(i.delay));var o=i.params;if(o){var s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=W(o[t],s,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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(t){return this.previousNode=_t,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,i,r,o,s){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(pt,"."+this._enterClassName)).replace(yt,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),a.push.apply(a,n(u))}return o||0!=a.length||s.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),a}}]),t}(),bt=function(){function t(e,n,i,r){m(this,t),this._driver=e,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return y(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(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||h.l3,e._currentKeyframe[t]=h.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=h.l3}):U(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=W(s[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:h.l3),r._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,s){var a=U(o,!0);Object.keys(a).forEach(function(t){var i=a[t];i==h.k1?e.add(t):i==h.l3&&n.add(t)}),i||(a.offset=s/t.duration),r.push(a)});var o=e.size?Z(e.values()):[],s=n.size?Z(n.values()):[];if(i){var a=r[0],u=B(a);a.offset=0,u.offset=1,r=[a,u]}return dt(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}]),t}(),wt=function(t){u(n,t);var e=c(n);function n(t,i,r,o,s,a){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return m(this,n),(u=e.call(this,t,i,a.delay)).element=i,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=s,u._stretchStartingKeyframe=l,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return y(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=i+n,a=n/s,u=U(t[0],!1);u.offset=0,o.push(u);var l=U(t[0],!1);l.offset=St(a),o.push(l);for(var c=t.length-1,h=1;h<=c;h++){var f=U(t[h],!1);f.offset=St((n+f.offset*i)/s),o.push(f)}i=s,n=0,r="",t=o}return dt(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(bt);function St(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var Ct,Et,xt=function t(){m(this,t)},At=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"normalizePropertyName",value:function(t,e){return J(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",o=n.toString().trim();if(Tt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return o+r}}]),n}(xt),Tt=(Ct="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(","),Et={},Ct.forEach(function(t){return Et[t]=!0}),Et);function Ot(t,e,n,i,r,o,s,a,u,l,c,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var Rt={},It=function(){function t(e,n,i){m(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return y(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o}},{key:"build",value:function(t,e,n,i,r,o,s,a,u,l){var c=[],h=this.ast.options&&this.ast.options.params||Rt,f=this.buildStyles(n,s&&s.params||Rt,c),d=a&&a.params||Rt,v=this.buildStyles(i,d,c),p=new Set,y=new Map,m=new Map,g="void"===i,_={params:Object.assign(Object.assign({},h),d)},k=l?[]:mt(t,e,this.ast.animation,r,o,f,v,_,u,c),b=0;if(k.forEach(function(t){b=Math.max(t.duration+t.delay,b)}),c.length)return Ot(e,this._triggerName,n,i,g,f,v,[],[],y,m,b,c);k.forEach(function(t){var n=t.element,i=w(y,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=w(m,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&p.add(n)});var S=Z(p.values());return Ot(e,this._triggerName,n,i,g,f,v,k,S,y,m,b)}}]),t}(),Pt=function(){function t(e,n){m(this,t),this.styles=e,this.defaultParams=n}return y(t,[{key:"buildStyles",value:function(t,e){var n={},i=B(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var o=r[t];o.length>1&&(o=W(o,i,e)),n[t]=o})}}),n}}]),t}(),Lt=function(){function t(e,n){var i=this;m(this,t),this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){i.states[t.name]=new Pt(t.style,t.options&&t.options.params||{})}),Dt(this.states,"true","1"),Dt(this.states,"false","0"),n.transitions.forEach(function(t){i.transitionFactories.push(new It(e,t,i.states))}),this.fallbackTransition=new It(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return y(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}]),t}();function Dt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Ft=new vt,Nt=function(){function t(e,n,i){m(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return y(t,[{key:"register",value:function(t,e){var n=[],i=at(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=g(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=this._animations[t],a=new Map;if(s?(n=mt(this._driver,e,s,"ng-enter","ng-leave",{},{},r,Ft,o)).forEach(function(t){var e=w(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,h.l3)})});var u=p(n.map(function(t){var e=a.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return i.destroy(t)}),this.players.push(u),u}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var r=b(e,"","","");return _(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),jt=[],Vt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";m(this,t),this.namespaceId=n;var i,r=e&&e.hasOwnProperty("value");if(this.value=null!=(i=r?e.value:e)?i:null,r){var o=B(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}]),t}(),Ut=new Bt("void"),Ht=function(){function t(e,n,i){m(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Wt(n,this._hostClassName)}return y(t,[{key:"listen",value:function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var s=w(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);var u=w(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(Wt(t,"ng-trigger"),Wt(t,"ng-trigger-"+e),u[e]=Ut),function(){o._engine.afterFlush(function(){var t=s.indexOf(a);t>=0&&s.splice(t,1),o._triggers[e]||delete u[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),s=new Gt(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Wt(t,"ng-trigger"),Wt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var u=a[e],l=new Bt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[e]=l,u||(u=Ut),"void"===l.value||u.value!==l.value){var c=w(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,l.value,t,l.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:l,player:s,isFallbackTransition:f}),f||(Wt(t,"ng-animate-queued"),s.onStart(function(){Zt(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(u.params,l.params)){var d=[],v=o.matchStyles(u.value,u.params,d),p=o.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){q(t,v),G(t,p)})}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,i){e._elementListeners.set(i,n.filter(function(e){return e.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(function(t){if(!t.__ng_removed){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):n.clearElementCache(t)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(t){return n.clearElementCache(t)})})}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,o=this._engine.statesByElement.get(t);if(o){var s=[];if(Object.keys(o).forEach(function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&p(s).onDone(function(){return r._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(n&&i){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var s=e._triggers[o].fallbackTransition,a=i[o]||Ut,u=new Bt("void"),l=new Gt(e.id,o,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:o,transition:s,fromState:a,toState:u,player:l,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else for(var s=t;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var a=t.__ng_removed;a&&a!==Vt||(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Wt(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,s=e._elementListeners.get(o);s&&s.forEach(function(e){if(e.name==i.triggerName){var n=b(o,i.triggerName,i.fromState.value,i.toState.value);n._data=t,_(i.player,e.phase,n,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e}}]),t}(),zt=function(){function t(e,n,i){m(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return y(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t}},{key:"createNamespace",value:function(t,e){var n=new Ht(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&e.add(s)}}return e}},{key:"trigger",value:function(t,e,n,i){if(qt(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}},{key:"insertNode",value:function(t,e,n,i){if(qt(e)){var r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var s=this._fetchNamespace(t);s&&s.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Wt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zt(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,n,i){if(qt(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return qt(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return p(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=Vt,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Wt(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,e)}finally{for(var o=0;o<r.length;o++)r[o]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],n.length?p(n).onDone(function(){a.forEach(function(t){return t()})}):a.forEach(function(t){return t()})}}},{key:"reportError",value:function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(t.join("\n")))}},{key:"_flushAnimations",value:function(t,e){var i=this,r=new vt,o=[],s=new Map,a=[],u=new Map,l=new Map,c=new Map,f=new Set;this.disabledNodes.forEach(function(t){f.add(t);for(var e=i.driver.query(t,".ng-animate-queued",!0),n=0;n<e.length;n++)f.add(e[n])});var d=this.bodyNode,v=Array.from(this.statesByElement.keys()),y=Qt(v,this.collectedEnterElements),m=new Map,g=0;y.forEach(function(t,e){var n="ng-enter"+g++;m.set(e,n),t.forEach(function(t){return Wt(t,n)})});for(var _=[],k=new Set,b=new Set,S=0;S<this.collectedLeaveElements.length;S++){var C=this.collectedLeaveElements[S],E=C.__ng_removed;E&&E.setForRemoval&&(_.push(C),k.add(C),E.hasAnimation?this.driver.query(C,".ng-star-inserted",!0).forEach(function(t){return k.add(t)}):b.add(C))}var x=new Map,A=Qt(v,Array.from(k));A.forEach(function(t,e){var n="ng-leave"+g++;x.set(e,n),t.forEach(function(t){return Wt(t,n)})}),t.push(function(){y.forEach(function(t,e){var n=m.get(e);t.forEach(function(t){return Zt(t,n)})}),A.forEach(function(t,e){var n=x.get(e);t.forEach(function(t){return Zt(t,n)})}),_.forEach(function(t){i.processLeaveNode(t)})});for(var T=[],O=[],R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(function(t){var e=t.player,n=t.element;if(T.push(e),i.collectedEnterElements.length){var s=n.__ng_removed;if(s&&s.setForMove)return void e.destroy()}var h=!d||!i.driver.containsElement(d,n),f=x.get(n),v=m.get(n),p=i._buildInstruction(t,r,v,f,h);if(p.errors&&p.errors.length)O.push(p);else{if(h)return e.onStart(function(){return q(n,p.fromStyles)}),e.onDestroy(function(){return G(n,p.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return q(n,p.fromStyles)}),e.onDestroy(function(){return G(n,p.toStyles)}),void o.push(e);p.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(n,p.timelines),a.push({instruction:p,player:e,element:n}),p.queriedElements.forEach(function(t){return w(u,t,[]).push(e)}),p.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),p.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=c.get(e);i||c.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(O.length){var I=[];O.forEach(function(t){I.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return I.push("- ".concat(t,"\n"))})}),T.forEach(function(t){return t.destroy()}),this.reportError(I)}var P=new Map,L=new Map;a.forEach(function(t){var e=t.element;r.has(e)&&(L.set(e,e),i._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))}),o.forEach(function(t){var e=t.element;i._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){w(P,e,[]).push(t),t.destroy()})});var D=_.filter(function(t){return $t(t,l,c)}),F=new Map;Kt(F,this.driver,b,c,h.l3).forEach(function(t){$t(t,l,c)&&D.push(t)});var N=new Map;y.forEach(function(t,e){Kt(N,i.driver,new Set(t),l,h.k1)}),D.forEach(function(t){var e=F.get(t),n=N.get(t);F.set(t,Object.assign(Object.assign({},e),n))});var j=[],V=[],M={};a.forEach(function(t){var e=t.element,n=t.player,a=t.instruction;if(r.has(e)){if(f.has(e))return n.onDestroy(function(){return G(e,a.toStyles)}),n.disabled=!0,n.overrideTotalTime(a.totalTime),void o.push(n);var u=M;if(L.size>1){for(var l=e,c=[];l=l.parentNode;){var h=L.get(l);if(h){u=h;break}c.push(l)}c.forEach(function(t){return L.set(t,u)})}var d=i._buildAnimation(n.namespaceId,a,P,s,N,F);if(n.setRealPlayer(d),u===M)j.push(n);else{var v=i.playersByElement.get(u);v&&v.length&&(n.parentPlayer=p(v)),o.push(n)}}else q(e,a.fromStyles),n.onDestroy(function(){return G(e,a.toStyles)}),V.push(n),f.has(e)&&o.push(n)}),V.forEach(function(t){var e=s.get(t.element);if(e&&e.length){var n=p(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var B=0;B<_.length;B++){var U=_[B],H=U.__ng_removed;if(Zt(U,"ng-leave"),!H||!H.hasAnimation){var z=[];if(u.size){var Y=u.get(U);Y&&Y.length&&z.push.apply(z,n(Y));for(var K=this.driver.query(U,".ng-animating",!0),Q=0;Q<K.length;Q++){var W=u.get(K[Q]);W&&W.length&&z.push.apply(z,n(W))}}var Z=z.filter(function(t){return!t.destroyed});Z.length?Xt(this,U,Z):this.processLeaveNode(U)}}return _.length=0,j.forEach(function(t){i.players.push(t),t.onDone(function(){t.destroy();var e=i.players.indexOf(t);i.players.splice(e,1)}),t.play()}),j}},{key:"elementContainsData",value:function(t,e){var n=!1,i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}},{key:"afterFlush",value:function(t){this._flushFns.push(t)}},{key:"afterFlushAnimationsDone",value:function(t){this._whenQuietFns.push(t)}},{key:"_getPreviousPlayers",value:function(t,e,n,i,r){var o=[];if(e){var s=this.playersByQueriedElement.get(t);s&&(o=s)}else{var a=this.playersByElement.get(t);if(a){var u=!r||"void"==r;a.forEach(function(t){t.queued||(u||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(t,e,n){var r,o=this,s=e.element,a=e.isRemovalTransition?void 0:t,u=e.isRemovalTransition?void 0:e.triggerName,l=i(e.timelines);try{var c=function(){var t=r.value.element,i=t!==s,l=w(n,t,[]);o._getPreviousPlayers(t,i,a,u,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})};for(l.s();!(r=l.n()).done;)c()}catch(h){l.e(h)}finally{l.f()}q(s,e.fromStyles)}},{key:"_buildAnimation",value:function(t,e,n,i,r,o){var s=this,a=e.triggerName,u=e.element,l=[],c=new Set,f=new Set,d=e.timelines.map(function(e){var d=e.element;c.add(d);var v=d.__ng_removed;if(v&&v.removedBeforeQueried)return new h.ZN(e.duration,e.delay);var p,y,m=d!==u,_=(p=(n.get(d)||jt).map(function(t){return t.getRealPlayer()}),y=[],Jt(p,y),y).filter(function(t){return!!t.element&&t.element===d}),k=r.get(d),b=o.get(d),w=g(0,s._normalizer,0,e.keyframes,k,b),S=s._buildPlayer(e,w,_);if(e.subTimeline&&i&&f.add(d),m){var C=new Gt(t,a,d);C.setRealPlayer(S),l.push(C)}return S});l.forEach(function(t){w(s.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){var o=i.indexOf(n);i.splice(o,1)}0==i.length&&delete t[e]}return i}(s.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return Wt(t,"ng-animating")});var v=p(d);return v.onDestroy(function(){c.forEach(function(t){return Zt(t,"ng-animating")}),G(u,e.toStyles)}),f.forEach(function(t){w(i,t,[]).push(v)}),v}},{key:"_buildPlayer",value:function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new h.ZN(t.duration,t.delay)}}]),t}(),Gt=function(){function t(e,n,i){m(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new h.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return y(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return _(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){w(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{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(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function qt(t){return t&&1===t.nodeType}function Yt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Kt(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(Yt(t))});var s=[];i.forEach(function(n,i){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Mt,s.push(i))}),t.set(i,o)});var a=0;return n.forEach(function(t){return Yt(t,o[a++])}),s}function Qt(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),r=new Map;function o(t){if(!t)return 1;var e=r.get(t);if(e)return e;var s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&n.get(e).push(t)}),n}function Wt(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Zt(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function Xt(t,e,n){p(n).onDone(function(){return t.processLeaveNode(e)})}function Jt(t,e){for(var n=0;n<t.length;n++){var i=t[n];i instanceof h.ZE?Jt(i.players,e):e.push(i)}}function $t(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach(function(t){return r.add(t)}):e.set(t,i),n.delete(t),!0}var te=function(){function t(e,n,i){var r=this;m(this,t),this.bodyNode=e,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new zt(e,n,i),this._timelineEngine=new Nt(e,n,i),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return y(t,[{key:"registerTrigger",value:function(t,e,n,i,r){var o=t+"-"+i,s=this._triggerCache[o];if(!s){var a=[],u=at(this._driver,r,a);if(a.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(a.join("\n - ")));s=function(t,e){return new Lt(t,e)}(i,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,i,s)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}},{key:"onRemove",value:function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,n,i){if("@"==n.charAt(0)){var o=r(S(n),2),s=o[0],a=o[1];this._timelineEngine.command(s,e,a,i)}else this._transitionEngine.trigger(t,e,n,i)}},{key:"listen",value:function(t,e,n,i,o){if("@"==n.charAt(0)){var s=r(S(n),2),a=s[0],u=s[1];return this._timelineEngine.listen(a,e,u,o)}return this._transitionEngine.listen(t,e,n,i,o)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function ee(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=ie(e[0]),e.length>1&&(i=ie(e[e.length-1]))):e&&(n=ie(e)),n||i?new ne(t,n,i):null}var ne=function(){function t(e,n,i){m(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return y(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&G(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(G(this._element,this._initialStyles),this._endStyles&&(G(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),G(this._element,this._initialStyles),this._state=3)}}]),t}();function ie(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];re(r)&&((e=e||{})[r]=t[r])}return e}function re(t){return"display"===t||"position"===t}ne.initialStylesByElement=new WeakMap;var oe=function(){function t(e,n,i,r,o,s,a){var u=this;m(this,t),this._element=e,this._name=n,this._duration=i,this._delay=r,this._easing=o,this._fillMode=s,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return u._handleCallback(t)}}return y(t,[{key:"apply",value:function(){var t,e,n;t=this._element,e="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=he(t,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)t.charAt(n)}(n),e="".concat(n,", ").concat(e)),ce(t,"",e),le(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){se(this._element,this._name,"paused")}},{key:"resume",value:function(){se(this._element,this._name,"running")}},{key:"setPosition",value:function(t){var e=ae(this._element,this._name);this._position=t*this._duration,ce(this._element,"Delay","-".concat(this._position,"ms"),e)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),le(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=he(t,"").split(","),(i=ue(n,e))>=0&&(n.splice(i,1),ce(t,"",n.join(","))))}}]),t}();function se(t,e,n){ce(t,"PlayState",n,ae(t,e))}function ae(t,e){var n=he(t,"");return n.indexOf(",")>0?ue(n.split(","),e):ue([n],e)}function ue(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function le(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function ce(t,e,n,i){var r="animation"+e;if(null!=i){var o=t.style[r];if(o.length){var s=o.split(",");s[i]=n,n=s.join(",")}}t.style[r]=n}function he(t,e){return t.style["animation"+e]||""}var fe=function(){function t(e,n,i,r,o,s,a,u){m(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=a,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+o,this._buildStyler()}return y(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),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(t){this._styler.setPosition(t)}},{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 t=this;this._styler=new oe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:nt(t.element,i))})}this.currentSnapshot=e}}]),t}(),de=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=D(i),r}return y(n,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),a(v(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),a(v(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,a(v(n.prototype),"destroy",this).call(this))}}]),n}(h.ZN),ve=function(){function t(){m(this,t),this._count=0}return y(t,[{key:"validateStyleProperty",value:function(t){return R(t)}},{key:"matchesElement",value:function(t,e){return I(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return L(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return D(t)});var i="@keyframes ".concat(e," {\n"),r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=o.filter(function(t){return t instanceof fe}),a={};$(n,i)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return a[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=tt(t,e,a));if(0==n)return new de(t,u);var l="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(t,l,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(c);var h=ee(t,e),f=new fe(t,e,l,n,i,r,u,h);return f.onDestroy(function(){var t;(t=c).parentNode.removeChild(t)}),f}}]),t}(),pe=function(){function t(e,n,i,r){m(this,t),this.element=e,this.keyframes=n,this.options=i,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{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(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*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 t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:nt(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),ye=function(){function t(){m(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(me().toString()),this._cssKeyframesDriver=new ve}return y(t,[{key:"validateStyleProperty",value:function(t){return R(t)}},{key:"matchesElement",value:function(t,e){return I(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return L(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6?arguments[6]:void 0;if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);var u={},l=o.filter(function(t){return t instanceof pe});$(n,i)&&l.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var c=ee(t,e=tt(t,e=e.map(function(t){return U(t,!1)}),u));return new pe(t,e,a,c)}}]),t}();function me(){return f()&&Element.prototype.animate||{}}var ge=o(2057),_e=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}}),r}return y(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?(0,h.vP)(t):t;return we(this._renderer,null,e,"register",[n]),new ke(e,this._renderer)}}]),n}(h._j);return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(ge.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),ke=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return y(n,[{key:"create",value:function(t,e){return new be(this._id,t,e||{},this._renderer)}}]),n}(h.LC),be=function(){function t(e,n,i,r){m(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return y(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return we(this._renderer,this.element,this.id,t,n)}},{key:"onDone",value:function(t){this._listen("done",t)}},{key:"onStart",value:function(t){this._listen("start",t)}},{key:"onDestroy",value:function(t){this._listen("destroy",t)}},{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(t){this._command("setPosition",t)}},{key:"getPosition",value:function(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}]),t}();function we(t,e,n,i,r){return t.setProperty(e,"@@".concat(n,":").concat(i),r)}var Se=function(){var t=function(){function t(e,n,i){m(this,t),this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return y(t,[{key:"createRenderer",value:function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Ce("",i,this.engine),this._rendererCache.set(i,r)),r}var o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);return e.data.animation.forEach(function e(i){Array.isArray(i)?i.forEach(e):n.engine.registerTrigger(o,s,t,i.name,i)}),new Ee(this,s,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then(function(){t._microtaskId++})}},{key:"scheduleListenerCallback",value:function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(t){var e=r(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(te),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Ce=function(){function t(e,n,i){m(this,t),this.namespaceId=e,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(t){return n.destroyNode(t)}:null}return y(t,[{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(t,e){return this.delegate.createElement(t,e)}},{key:"createComment",value:function(t){return this.delegate.createComment(t)}},{key:"createText",value:function(t){return this.delegate.createText(t)}},{key:"appendChild",value:function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}},{key:"insertBefore",value:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),Ee=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,i,r,o)).factory=t,s.namespaceId=i,s}return y(n,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var i,o,s=this;if("@"==e.charAt(0)){var a,u=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.substr(1),c="";return"@"!=l.charAt(0)&&(o=(i=l).indexOf("."),l=(a=r([i.substring(0,o),i.substr(o+1)],2))[0],c=a[1]),this.engine.listen(this.namespaceId,u,l,c,function(t){s.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),n}(Ce),xe=function(){var t=function(t){u(n,t);var e=c(n);function n(t,i,r){return m(this,n),e.call(this,t.body,i,r)}return y(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(te);return t.\u0275fac=function(e){return new(e||t)(s.LFG(ge.K0),s.LFG(N),s.LFG(xt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Ae=new s.OlP("AnimationModuleType"),Te=[{provide:h._j,useClass:_e},{provide:xt,useFactory:function(){return new At}},{provide:te,useClass:xe},{provide:s.FYo,useFactory:function(t,e,n){return new Se(t,e,n)},deps:[l.se,te,s.R0b]}],Oe=[{provide:N,useFactory:function(){return"function"==typeof me()?new ye:new ve}},{provide:Ae,useValue:"BrowserAnimations"}].concat(Te),Re=[{provide:N,useClass:F},{provide:Ae,useValue:"NoopAnimations"}].concat(Te),Ie=function(){var t=function(){function t(){m(this,t)}return y(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?Re:Oe}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:Oe,imports:[l.b2]}),t}()},1211:function(t,e,n){"use strict";n.d(e,{b2:function(){return B},q6:function(){return V},se:function(){return T}});var i,r=n(2057),o=n(793),s=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(l=l||document.querySelector("base"))?l.getAttribute("href"):null;return null==e?null:function(t){(i=i||document.createElement("a")).setAttribute("href",t);var e=i.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){l=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return(0,r.Mx)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){(0,r.HT)(new n)}}]),n}(function(t){u(n,t);var e=c(n);function n(){var t;return m(this,n),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return n}(r.w_)),l=null,h=new o.OlP("TRANSITION_ID"),f=[{provide:o.ip1,useFactory:function(t,e,n){return function(){n.get(o.CZH).donePromise.then(function(){var n=(0,r.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(function(e){return e.getAttribute("ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[h,r.K0,o.zs3],multi:!0}],d=function(){function t(){m(this,t)}return y(t,[{key:"addToWindow",value:function(t){o.dqk.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},o.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},o.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(function(t){var e=o.dqk.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?(0,r.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,o.VLi)(new t)}}]),t}(),p=function(){var t=function(){function t(){m(this,t)}return y(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),g=new o.OlP("EventManagerPlugins"),_=function(){var t=function(){function t(e,n){var i=this;m(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()}return y(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event ".concat(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(g),o.LFG(o.R0b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),k=function(){function t(e){m(this,t),this._doc=e}return y(t,[{key:"addGlobalEventListener",value:function(t,e,n){var i=(0,r.q)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(e));return this.addEventListener(i,e,n)}}]),t}(),b=function(){var t=function(){function t(){m(this,t),this._stylesSet=new Set}return y(t,[{key:"addStyles",value:function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(t){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this))._doc=t,i._hostNodes=new Map,i._hostNodes.set(t.head,[]),i}return y(n,[{key:"_addStylesToHost",value:function(t,e,n){var i=this;t.forEach(function(t){var r=i._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}},{key:"addHost",value:function(t){var e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}},{key:"removeHost",value:function(t){var e=this._hostNodes.get(t);e&&e.forEach(S),this._hostNodes.delete(t)}},{key:"onStylesAdded",value:function(t){var e=this;this._hostNodes.forEach(function(n,i){e._addStylesToHost(t,i,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(t){return t.forEach(S)})}}]),n}(b);return t.\u0275fac=function(e){return new(e||t)(o.LFG(r.K0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}();function S(t){(0,r.q)().remove(t)}var C={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/"},E=/%COMP%/g;function x(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?x(t,r,n):(r=r.replace(E,t),n.push(r))}return n}function A(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var T=function(){var t=function(){function t(e,n,i){m(this,t),this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new O(e)}return y(t,[{key:"createRenderer",value:function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case o.ifc.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new R(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case o.ifc.ShadowDom:return new I(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=x(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(_),o.LFG(w),o.LFG(o.AFp))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){function t(e){m(this,t),this.eventManager=e,this.data=Object.create(null)}return y(t,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?document.createElementNS(C[e]||e,t):document.createElement(t)}},{key:"createComment",value:function(t){return document.createComment(t)}},{key:"createText",value:function(t){return document.createTextNode(t)}},{key:"appendChild",value:function(t,e){t.appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&t.insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'.concat(t,'" did not match any elements'));return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,i){if(i){e=i+":"+e;var r=C[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var i=C[n];i?t.removeAttributeNS(i,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,i){i&(o.JOm.DashCase|o.JOm.Important)?t.style.setProperty(e,n,i&o.JOm.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&o.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,A(n)):this.eventManager.addEventListener(t,e,A(n))}}]),t}(),R=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;m(this,n),(s=e.call(this,t)).component=r;var a=x(o+"-"+r.id,r.styles,[]);return i.addStyles(a),s.contentAttr="_ngcontent-%COMP%".replace(E,o+"-"+r.id),s.hostAttr="_nghost-%COMP%".replace(E,o+"-"+r.id),s}return y(n,[{key:"applyToHost",value:function(t){a(v(n.prototype),"setAttribute",this).call(this,t,this.hostAttr,"")}},{key:"createElement",value:function(t,e){var i=a(v(n.prototype),"createElement",this).call(this,t,e);return a(v(n.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),n}(O),I=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;m(this,n),(s=e.call(this,t)).sharedStylesHost=i,s.hostEl=r,s.shadowRoot=r.attachShadow({mode:"open"}),s.sharedStylesHost.addHost(s.shadowRoot);for(var a=x(o.id,o.styles,[]),u=0;u<a.length;u++){var l=document.createElement("style");l.textContent=a[u],s.shadowRoot.appendChild(l)}return s}return y(n,[{key:"nodeOrShadowRoot",value:function(t){return t===this.hostEl?this.shadowRoot:t}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(t,e){return a(v(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"insertBefore",value:function(t,e,i){return a(v(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(t),e,i)}},{key:"removeChild",value:function(t,e){return a(v(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"parentNode",value:function(t){return this.nodeOrShadowRoot(a(v(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(t)))}}]),n}(O),P=function(){var t=function(t){u(n,t);var e=c(n);function n(t){return m(this,n),e.call(this,t)}return y(n,[{key:"supports",value:function(t){return!0}},{key:"addEventListener",value:function(t,e,n){var i=this;return t.addEventListener(e,n,!1),function(){return i.removeEventListener(t,e,n)}}},{key:"removeEventListener",value:function(t,e,n){return t.removeEventListener(e,n)}}]),n}(k);return t.\u0275fac=function(e){return new(e||t)(o.LFG(r.K0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),L=["alt","control","meta","shift"],D={"\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"},F={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"},N={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},j=function(){var t=function(t){u(n,t);var e=c(n);function n(t){return m(this,n),e.call(this,t)}return y(n,[{key:"supports",value:function(t){return null!=n.parseEventName(t)}},{key:"addEventListener",value:function(t,e,i){var o=n.parseEventName(e),s=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,r.q)().onAndCancel(t,o.domEventName,s)})}}],[{key:"parseEventName",value:function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(L.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=r,0!=e.length||0===r.length)return null;var s={};return s.domEventName=i,s.fullKey=o,s}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&F.hasOwnProperty(e)&&(e=F[e]))}return D[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),L.forEach(function(i){i!=n&&(0,N[i])(t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(k);return t.\u0275fac=function(e){return new(e||t)(o.LFG(r.K0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),V=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:r.bD},{provide:o.g9A,useValue:function(){s.makeCurrent(),d.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),M=[[],{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:g,useClass:P,multi:!0,deps:[r.K0,o.R0b,o.Lbi]},{provide:g,useClass:j,multi:!0,deps:[r.K0]},[],{provide:T,useClass:T,deps:[_,w,o.AFp]},{provide:o.FYo,useExisting:T},{provide:b,useExisting:w},{provide:w,useClass:w,deps:[r.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:_,useClass:_,deps:[g,o.R0b]},{provide:r.JF,useClass:p,deps:[]},[]],B=function(){var t=function(){function t(e){if(m(this,t),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 y(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:o.AFp,useValue:e.appId},{provide:h,useExisting:o.AFp},f]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(t,12))},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:M,imports:[r.ez,o.hGG]}),t}();"undefined"!=typeof window&&window},4074:function(t,e,r){"use strict";r.d(e,{yS:function(){return zn},Bz:function(){return ei},lC:function(){return qn}});var o=r(2057),s=r(793),l=r(4869),h=r(9796),d=r(7393),p=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(d.L),g=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this)).parent=t,o.outerValue=i,o.outerIndex=r,o.index=0,o}return y(n,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(d.L),_=r(7444),k=r(7574);function b(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new g(t,n,i);if(!r.closed)return e instanceof k.y?e.subscribe(r):(0,_.s)(e)(r)}var w=r(6693),S={},C=function(){function t(e){m(this,t),this.resultSelector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new E(t,this.resultSelector))}}]),t}(),E=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return y(n,[{key:"_next",value:function(t){this.values.push(S),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++)this.add(b(this,t[n],void 0,n))}}},{key:"notifyComplete",value:function(t){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(t,e,n){var i=this.values,r=this.toRespond?i[n]===S?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(p),x=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),A=r(4402),T=r(9193);function O(t){return new k.y(function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,A.D)(n):(0,T.c)()).subscribe(e)})}var R=r(5917),I=r(6215),P=r(8071),L=r(2441),D=r(9765);function F(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new N(t,e,n))}}var N=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new j(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),j=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,t)).accumulator=i,s._seed=r,s.hasSeed=o,s.index=0,s}return y(n,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}}]),n}(d.L),V=r(5345);function M(t){return function(e){var n=new B(t),i=e.lift(n);return n.caught=i}}var B=function(){function t(e){m(this,t),this.selector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new U(t,this.selector,this.caught))}}]),t}(),U=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).selector=i,o.caught=r,o}return y(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void a(v(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new V.IY(this);this.add(i);var r=(0,V.ft)(e,i);r!==i&&this.add(r)}}}]),n}(V.Ds),H=r(5435),z=r(7108);function G(t){return function(e){return 0===t?(0,T.c)():e.lift(new q(t))}}var q=function(){function t(e){if(m(this,t),this.total=e,this.total<0)throw new z.W}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new Y(t,this.total))}}]),t}(),Y=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).total=i,r.ring=new Array,r.count=0,r}return y(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}},{key:"_complete",value:function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()}}]),n}(d.L);function K(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z;return function(e){return e.lift(new Q(t))}}var Q=function(){function t(e){m(this,t),this.errorFactory=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new W(t,this.errorFactory))}}]),t}(),W=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return y(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(d.L);function Z(){return new x}function X(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new J(t))}}var J=function(){function t(e){m(this,t),this.defaultValue=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new $(t,this.defaultValue))}}]),t}(),$=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return y(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(d.L),tt=r(4487),et=r(5257);function nt(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?(0,H.h)(function(e,n){return t(e,n,i)}):tt.y,(0,et.q)(1),n?X(e):K(function(){return new x}))}}var it=r(5319),rt=function(){function t(e){m(this,t),this.callback=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new ot(t,this.callback))}}]),t}(),ot=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).add(new it.w(i)),r}return n}(d.L),st=r(8002),at=r(3190),ut=r(9761),lt=r(4612),ct=r(9773),ht=r(3342),ft=r(1307),dt=r(3282),vt=function t(e,n){m(this,t),this.id=e,this.url=n},pt=function(t){u(n,t);var e=c(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return m(this,n),(r=e.call(this,t,i)).navigationTrigger=o,r.restoredState=s,r}return y(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(vt),yt=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o}return y(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(vt),mt=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).reason=r,o}return y(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(vt),gt=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).error=r,o}return y(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(vt),_t=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s}return y(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vt),kt=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s}return y(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vt),bt=function(t){u(n,t);var e=c(n);function n(t,i,r,o,s){var a;return m(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a.shouldActivate=s,a}return y(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(vt),wt=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s}return y(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vt),St=function(t){u(n,t);var e=c(n);function n(t,i,r,o){var s;return m(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s}return y(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vt),Ct=function(){function t(e){m(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),Et=function(){function t(e){m(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),xt=function(){function t(e){m(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),At=function(){function t(e){m(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),Tt=function(){function t(e){m(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),Ot=function(){function t(e){m(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),Rt=function(){function t(e,n,i){m(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return y(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),It=function(){function t(e){m(this,t),this.params=e||{}}return y(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function Pt(t){return new It(t)}function Lt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Dt(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},o=0;o<i.length;o++){var s=i[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function Ft(t,e){var n,i=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!i||!r||i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(!Nt(t[n=i[o]],e[n]))return!1;return!0}function Nt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;var i=n(t).sort(),r=n(e).sort();return i.every(function(t,e){return r[e]===t})}return t===e}function jt(t){return Array.prototype.concat.apply([],t)}function Vt(t){return t.length>0?t[t.length-1]:null}function Mt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Bt(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,A.D)(Promise.resolve(t)):(0,R.of)(t)}var Ut={exact:function t(e,n,i){if(!Zt(e.segments,n.segments))return!1;if(!Yt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:Gt},Ht={exact:function(t,e){return Ft(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return Nt(t[n],e[n])})},ignored:function(){return!0}};function zt(t,e,n){return Ut[n.paths](t.root,e.root,n.matrixParams)&&Ht[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Gt(t,e,n){return qt(t,e,e.segments,n)}function qt(t,e,n,i){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!!Zt(r,n)&&!e.hasChildren()&&!!Yt(r,n,i)}if(t.segments.length===n.length){if(!Zt(t.segments,n))return!1;if(!Yt(t.segments,n,i))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!Gt(t.children[o],e.children[o],i))return!1}return!0}var s=n.slice(0,t.segments.length),a=n.slice(t.segments.length);return!!Zt(t.segments,s)&&!!Yt(t.segments,s,i)&&!!t.children.primary&&qt(t.children.primary,e,a,i)}function Yt(t,e,n){return e.every(function(e,i){return Ht[n](t[i].parameters,e.parameters)})}var Kt=function(){function t(e,n,i){m(this,t),this.root=e,this.queryParams=n,this.fragment=i}return y(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return $t.serialize(this)}}]),t}(),Qt=function(){function t(e,n){var i=this;m(this,t),this.segments=e,this.children=n,this.parent=null,Mt(n,function(t,e){return t.parent=i})}return y(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return te(this)}}]),t}(),Wt=function(){function t(e,n){m(this,t),this.path=e,this.parameters=n}return y(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Pt(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return ae(this)}}]),t}();function Zt(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var Xt=function t(){m(this,t)},Jt=function(){function t(){m(this,t)}return y(t,[{key:"parse",value:function(t){var e=new fe(t);return new Kt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n,i;return"/".concat(ee(t.root,!0)).concat((n=t.queryParams,i=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(e){return"".concat(ie(t),"=").concat(ie(e))}).join("&"):"".concat(ie(t),"=").concat(ie(e))}).filter(function(t){return!!t}),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),$t=new Jt;function te(t){return t.segments.map(function(t){return ae(t)}).join("/")}function ee(t,e){if(!t.hasChildren())return te(t);if(e){var n=t.children.primary?ee(t.children.primary,!1):"",i=[];return Mt(t.children,function(t,e){"primary"!==e&&i.push("".concat(e,":").concat(ee(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(t,e){var n=[];return Mt(t.children,function(t,i){"primary"===i&&(n=n.concat(e(t,i)))}),Mt(t.children,function(t,i){"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,function(e,n){return"primary"===n?[ee(t.children.primary,!1)]:["".concat(n,":").concat(ee(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children.primary?"".concat(te(t),"/").concat(r[0]):"".concat(te(t),"/(").concat(r.join("//"),")")}function ne(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ie(t){return ne(t).replace(/%3B/gi,";")}function re(t){return ne(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oe(t){return decodeURIComponent(t)}function se(t){return oe(t.replace(/\+/g,"%20"))}function ae(t){return"".concat(re(t.path)).concat((e=t.parameters,Object.keys(e).map(function(t){return";".concat(re(t),"=").concat(re(e[t]))}).join("")));var e}var ue=/^[^\/()?;=#]+/;function le(t){var e=t.match(ue);return e?e[0]:""}var ce=/^[^=?&#]+/,he=/^[^?&#]+/,fe=function(){function t(e){m(this,t),this.url=e,this.remaining=e}return y(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Qt(t,e)),n}},{key:"parseSegment",value:function(){var t=le(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Wt(oe(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=le(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=le(this.remaining);i&&(n=i,this.capture(n))}t[oe(e)]=oe(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(ce);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(he);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=se(e),o=se(n);if(t.hasOwnProperty(r)){var s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=le(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var o=this.parseChildren();e[r]=1===Object.keys(o).length?o.primary:new Qt([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),de=function(){function t(e){m(this,t),this._root=e}return y(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=ve(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=ve(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=pe(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return pe(t,this._root).map(function(t){return t.value})}}]),t}();function ve(t,e){if(t===e.value)return e;var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=ve(t,n.value);if(o)return o}}catch(s){r.e(s)}finally{r.f()}return null}function pe(t,e){if(t===e.value)return[e];var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=pe(t,n.value);if(o.length)return o.unshift(e),o}}catch(s){r.e(s)}finally{r.f()}return[]}var ye=function(){function t(e,n){m(this,t),this.value=e,this.children=n}return y(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function me(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var ge=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).snapshot=i,Ce(f(r),t),r}return y(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(de);function _e(t,e){var n=function(t,e){var n=new we([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Se("",new ye(n,[]))}(t,e),i=new I.X([new Wt("",{})]),r=new I.X({}),o=new I.X({}),s=new I.X({}),a=new I.X(""),u=new ke(i,r,s,a,o,"primary",e,n.root);return u.snapshot=n.root,new ge(new ye(u,[]),n)}var ke=function(){function t(e,n,i,r,o,s,a,u){m(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=u}return y(t,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,st.U)(function(t){return Pt(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,st.U)(function(t){return Pt(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function be(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var we=function(){function t(e,n,i,r,o,s,a,u,l,c,h){m(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}return y(t,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Pt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),Se=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,i)).url=t,Ce(f(r),i),r}return y(n,[{key:"toString",value:function(){return Ee(this._root)}}]),n}(de);function Ce(t,e){e.value._routerState=t,e.children.forEach(function(e){return Ce(t,e)})}function Ee(t){var e=t.children.length>0?" { ".concat(t.children.map(Ee).join(", ")," } "):"";return"".concat(t.value).concat(e)}function xe(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ft(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ft(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Ft(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ft(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Ae(t,e){var n,i;return Ft(t.params,e.params)&&Zt(n=t.url,i=e.url)&&n.every(function(t,e){return Ft(t.parameters,i[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Ae(t.parent,e.parent))}function Te(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=e.value;var o=function(t,e,n){return e.children.map(function(e){var r,o=i(n.children);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(t.shouldReuseRoute(e.value,s.value.snapshot))return Te(t,e,s)}}catch(a){o.e(a)}finally{o.f()}return Te(t,e)})}(t,e,n);return new ye(r,o)}if(t.shouldAttach(e.value)){var s=t.retrieve(e.value);if(null!==s){var a=s.route;return Oe(e,a),a}}var u,l=new ke(new I.X((u=e.value).url),new I.X(u.params),new I.X(u.queryParams),new I.X(u.fragment),new I.X(u.data),u.outlet,u.component,u),c=e.children.map(function(e){return Te(t,e)});return new ye(l,c)}function Oe(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)Oe(t.children[n],e.children[n])}function Re(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ie(t){return"object"==typeof t&&null!=t&&t.outlets}function Pe(t,e,n,i,r){var o={};return i&&Mt(i,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return"".concat(t)}):"".concat(t)}),new Kt(n.root===t?e:Le(n.root,t,e),o,r)}function Le(t,e,n){var i={};return Mt(t.children,function(t,r){i[r]=t===e?n:Le(t,e,n)}),new Qt(t.segments,i)}var De=function(){function t(e,n,i){if(m(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&Re(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(Ie);if(r&&r!==Vt(i))throw new Error("{outlets:{}} has to be the last command")}return y(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),Fe=function t(e,n,i){m(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function Ne(t,e,n){if(t||(t=new Qt([],{})),0===t.segments.length&&t.hasChildren())return je(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return o;var s=t.segments[r],a=n[i];if(Ie(a))break;var u="".concat(a),l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Ue(u,l,s))return o;i+=2}else{if(!Ue(u,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var o=new Qt(t.segments.slice(0,i.pathIndex),{});return o.children.primary=new Qt(t.segments.slice(i.pathIndex),t.children),je(o,0,r)}return i.match&&0===r.length?new Qt(t.segments,{}):i.match&&!t.hasChildren()?Ve(t,e,n):i.match?je(t,0,r):Ve(t,e,n)}function je(t,e,n){if(0===n.length)return new Qt(t.segments,{});var i=function(t){return Ie(t[0])?t[0].outlets:{primary:t}}(n),r={};return Mt(i,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(r[i]=Ne(t.children[i],e,n))}),Mt(t.children,function(t,e){void 0===i[e]&&(r[e]=t)}),new Qt(t.segments,r)}function Ve(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){var o=n[r];if(Ie(o)){var s=Me(o.outlets);return new Qt(i,s)}if(0===r&&Re(n[0]))i.push(new Wt(t.segments[e].path,Be(n[0]))),r++;else{var a=Ie(o)?o.outlets.primary:"".concat(o),u=r<n.length-1?n[r+1]:null;a&&u&&Re(u)?(i.push(new Wt(a,Be(u))),r+=2):(i.push(new Wt(a,{})),r++)}}return new Qt(i,{})}function Me(t){var e={};return Mt(t,function(t,n){"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Ve(new Qt([],{}),0,t))}),e}function Be(t){var e={};return Mt(t,function(t,n){return e[n]="".concat(t)}),e}function Ue(t,e,n){return t==n.path&&Ft(e,n.parameters)}var He=function(){function t(e,n,i,r){m(this,t),this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r}return y(t,[{key:"activate",value:function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),xe(this.futureState.root),this.activateChildRoutes(e,n,t)}},{key:"deactivateChildRoutes",value:function(t,e,n){var i=this,r=me(e);t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]}),Mt(r,function(t,e){i.deactivateRouteAndItsChildren(t,n)})}},{key:"deactivateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}},{key:"deactivateRouteAndItsChildren",value:function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}},{key:"detachAndStoreRouteSubtree",value:function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(t,e){for(var n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t),o=0,s=Object.keys(r);o<s.length;o++){var a=s[o];this.deactivateRouteAndItsChildren(r[a],i)}n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}},{key:"activateChildRoutes",value:function(t,e,n){var i=this,r=me(e);t.children.forEach(function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new Ot(t.value.snapshot))}),t.children.length&&this.forwardEvent(new At(t.value.snapshot))}},{key:"activateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(xe(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(i.component){var s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ze(a.route)}else{var u=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),l=u?u.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=l,s.outlet&&s.outlet.activateWith(i,l),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}}]),t}();function ze(t){xe(t.value),t.children.forEach(ze)}var Ge=function t(e,n){m(this,t),this.routes=e,this.module=n};function qe(t){return"function"==typeof t}function Ye(t){return t instanceof Kt}var Ke=Symbol("INITIAL_VALUE");function Qe(){return(0,at.w)(function(t){return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r;return(0,l.K)(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(i=e.pop()),1===e.length&&(0,h.k)(e[0])&&(e=e[0]),(0,w.n)(e,r).lift(new C(i))}(t.map(function(t){return t.pipe((0,et.q)(1),(0,ut.O)(Ke))})).pipe(F(function(t,e){var n=!1;return e.reduce(function(t,i,r){if(t!==Ke)return t;if(i===Ke&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||Ye(i))return i}return t},t)},Ke),(0,H.h)(function(t){return t!==Ke}),(0,st.U)(function(t){return Ye(t)?t:!0===t}),(0,et.q)(1))})}var We=function(){var t=function t(){m(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[qn]},encapsulation:2}),t}();function Ze(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<t.length;n++){var i=t[n];Xe(i,Je(e,i))}}function Xe(t,e){t.children&&Ze(t.children,e)}function Je(t,e){return e?t||e.path?t&&!e.path?"".concat(t,"/"):!t&&e.path?e.path:"".concat(t,"/").concat(e.path):"":t}function $e(t){var e=t.children&&t.children.map($e),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=We),n}function tn(t){return t.outlet||"primary"}function en(t,e){var i=t.filter(function(t){return tn(t)===e});return i.push.apply(i,n(t.filter(function(t){return tn(t)!==e}))),i}var nn={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function rn(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},nn):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(e.matcher||Dt)(n,t,e);if(!r)return Object.assign({},nn);var o={};Mt(r.posParams,function(t,e){o[e]=t.path});var s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function on(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return sn(t,e,n)&&"primary"!==tn(n)})}(t,n,r)){var s=new Qt(e,function(t,e,n,r){var o={};o.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var s,a=i(n);try{for(a.s();!(s=a.n()).done;){var u=s.value;if(""===u.path&&"primary"!==tn(u)){var l=new Qt([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,o[tn(u)]=l}}}catch(c){a.e(c)}finally{a.f()}return o}(t,e,r,new Qt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return sn(t,e,n)})}(t,n,r)){var a=new Qt(t.segments,function(t,e,n,r,o,s){var a,u={},l=i(r);try{for(l.s();!(a=l.n()).done;){var c=a.value;if(sn(t,n,c)&&!o[tn(c)]){var h=new Qt([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===s?t.segments.length:e.length,u[tn(c)]=h}}}catch(f){l.e(f)}finally{l.f()}return Object.assign(Object.assign({},o),u)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var u=new Qt(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function an(t,e,n,i){return!!(tn(t)===i||"primary"!==i&&sn(e,n,t))&&("**"===t.path||rn(e,t,n).matched)}function un(t,e,n){return 0===e.length&&!t.children[n]}var ln=function t(e){m(this,t),this.segmentGroup=e||null},cn=function t(e){m(this,t),this.urlTree=e};function hn(t){return new k.y(function(e){return e.error(new ln(t))})}function fn(t){return new k.y(function(e){return e.error(new cn(t))})}function dn(t){return new k.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var vn=function(){function t(e,n,i,r,o){m(this,t),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(s.h0i)}return y(t,[{key:"apply",value:function(){var t=this,e=on(this.urlTree.root,[],[],this.config).segmentGroup,n=new Qt(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe((0,st.U)(function(e){return t.createUrlTree(pn(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(M(function(e){if(e instanceof cn)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof ln)throw t.noMatchError(e);throw e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,st.U)(function(n){return e.createUrlTree(pn(n),t.queryParams,t.fragment)})).pipe(M(function(t){if(t instanceof ln)throw e.noMatchError(t);throw t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,e,n){var i=t.segments.length>0?new Qt([],{primary:t}):t;return new Kt(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,st.U)(function(t){return new Qt([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){for(var i=this,r=[],o=0,s=Object.keys(n.children);o<s.length;o++){var a=s[o];"primary"===a?r.unshift(a):r.push(a)}return(0,A.D)(r).pipe((0,lt.b)(function(r){var o=n.children[r],s=en(e,r);return i.expandSegmentGroup(t,s,o,r).pipe((0,st.U)(function(t){return{segment:t,outlet:r}}))}),F(function(t,e){return t[e.outlet]=e.segment,t},{}),function(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?(0,H.h)(function(e,n){return t(e,n,i)}):tt.y,G(1),n?X(e):K(function(){return new x}))}}())}},{key:"expandSegment",value:function(t,e,n,i,r,o){var s=this;return(0,A.D)(n).pipe((0,lt.b)(function(a){return s.expandSegmentAgainstRoute(t,e,n,a,i,r,o).pipe(M(function(t){if(t instanceof ln)return(0,R.of)(null);throw t}))}),nt(function(t){return!!t}),M(function(t,n){if(t instanceof x||"EmptyError"===t.name){if(un(e,i,r))return(0,R.of)(new Qt([],{}));throw new ln(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,o,s){return an(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):hn(e):hn(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?fn(o):this.lineralizeSegments(n,o).pipe((0,ct.zg)(function(n){var o=new Qt(n,{});return r.expandSegment(t,o,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){var s=this,a=rn(e,i,r),u=a.matched,l=a.consumedSegments,c=a.lastChild,h=a.positionalParamSegments;if(!u)return hn(e);var f=this.applyRedirectCommands(l,i.redirectTo,h);return i.redirectTo.startsWith("/")?fn(f):this.lineralizeSegments(i,f).pipe((0,ct.zg)(function(i){return s.expandSegment(t,e,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,R.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,st.U)(function(t){return n._loadedConfig=t,new Qt(i,{})})):(0,R.of)(new Qt(i,{}));var s=rn(e,n,i),a=s.matched,u=s.consumedSegments,l=s.lastChild;if(!a)return hn(e);var c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,ct.zg)(function(t){var i=t.module,s=t.routes,a=on(e,u,c,s),l=a.segmentGroup,h=a.slicedSegments,f=new Qt(l.segments,l.children);if(0===h.length&&f.hasChildren())return o.expandChildren(i,s,f).pipe((0,st.U)(function(t){return new Qt(u,t)}));if(0===s.length&&0===h.length)return(0,R.of)(new Qt(u,{}));var d=tn(n)===r;return o.expandSegment(i,f,s,h,d?"primary":r,!0).pipe((0,st.U)(function(t){return new Qt(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?(0,R.of)(new Ge(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,R.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,ct.zg)(function(n){return n?i.configLoader.load(t.injector,e).pipe((0,st.U)(function(t){return e._loadedConfig=t,t})):function(t){return new k.y(function(e){return e.error(Lt("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))})}(e)})):(0,R.of)(new Ge([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;if(!r||0===r.length)return(0,R.of)(!0);var o=r.map(function(i){var r,o=t.get(i);if(function(t){return t&&qe(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!qe(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return Bt(r)});return(0,R.of)(o).pipe(Qe(),(0,ht.b)(function(t){if(Ye(t)){var e=Lt('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,st.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,R.of)(n);if(i.numberOfChildren>1||!i.children.primary)return dn(t.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Kt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return Mt(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),s={};return Mt(e.children,function(e,o){s[o]=r.createSegmentGroup(t,e,n,i)}),new Qt(o,s)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,r=0,o=i(e);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(s.path===t.path)return e.splice(r),s;r++}}catch(a){o.e(a)}finally{o.f()}return t}}]),t}();function pn(t){for(var e={},n=0,i=Object.keys(t.children);n<i.length;n++){var r=i[n],o=pn(t.children[r]);(o.segments.length>0||o.hasChildren())&&(e[r]=o)}return function(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new Qt(t.segments.concat(e.segments),e.children)}return t}(new Qt(t.segments,e))}var yn=function t(e){m(this,t),this.path=e,this.route=this.path[this.path.length-1]},mn=function t(e,n){m(this,t),this.component=e,this.route=n};function gn(t,e,n){var i=t._root;return kn(i,e?e._root:null,n,[i.value])}function _n(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function kn(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=me(e);return t.children.forEach(function(t){!function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Zt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Zt(t.url,e.url)||!Ft(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ae(t,e)||!Ft(t.queryParams,e.queryParams);case"paramsChange":default:return!Ae(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new yn(i)):(o.data=s.data,o._resolvedData=s._resolvedData),kn(t,e,o.component?a?a.children:null:n,i,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new mn(a.outlet.component,s))}else s&&bn(e,a,r),r.canActivateChecks.push(new yn(i)),kn(t,null,o.component?a?a.children:null:n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),Mt(o,function(t,e){return bn(t,n.getContext(e),r)}),r}function bn(t,e,n){var i=me(t),r=t.value;Mt(i,function(t,i){bn(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new mn(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var wn=function t(){m(this,t)};function Sn(t){return new k.y(function(e){return e.error(t)})}var Cn=function(){function t(e,n,i,r,o,s){m(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return y(t,[{key:"recognize",value:function(){var t=on(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;var n=new we([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ye(n,e),r=new Se(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=be(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var i=[],r=0,o=Object.keys(e.children);r<o.length;r++){var s=o[r],a=e.children[s],u=en(t,s),l=this.processSegmentGroup(u,a,s);if(null===l)return null;i.push.apply(i,n(l))}var c=En(i);return c.sort(function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)}),c}},{key:"processSegment",value:function(t,e,n,r){var o,s=i(t);try{for(s.s();!(o=s.n()).done;){var a=o.value,u=this.processSegmentAgainstRoute(a,e,n,r);if(null!==u)return u}}catch(l){s.e(l)}finally{s.f()}return un(e,n,r)?[]:null}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo||!an(t,e,n,i))return null;var r,o=[],s=[];if("**"===t.path){var a=n.length>0?Vt(n).parameters:{};r=new we(n,a,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(t),tn(t),t.component,t,xn(e),An(e)+n.length,On(t))}else{var u=rn(e,t,n);if(!u.matched)return null;o=u.consumedSegments,s=n.slice(u.lastChild),r=new we(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(t),tn(t),t.component,t,xn(e),An(e)+o.length,On(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=on(e,o,s,l.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return null===d?null:[new ye(r,d)]}if(0===l.length&&0===f.length)return[new ye(r,[])];var v=tn(t)===i,p=this.processSegment(l,h,f,v?"primary":i);return null===p?null:[new ye(r,p)]}}]),t}();function En(t){var e,r=[],o=new Set,s=i(t);try{var a=function(){var t,i=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(i))return r.push(i),"continue";var s=r.find(function(t){return i.value.routeConfig===t.value.routeConfig});void 0!==s?((t=s.children).push.apply(t,n(i.children)),o.add(s)):r.push(i)};for(s.s();!(e=s.n()).done;)a()}catch(f){s.e(f)}finally{s.f()}var u,l=i(o);try{for(l.s();!(u=l.n()).done;){var c=u.value,h=En(c.children);r.push(new ye(c.value,h))}}catch(f){l.e(f)}finally{l.f()}return r.filter(function(t){return!o.has(t)})}function xn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function An(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Tn(t){return t.data||{}}function On(t){return t.resolve||{}}function Rn(t){return(0,at.w)(function(e){var n=t(e);return n?(0,A.D)(n).pipe((0,st.U)(function(){return e})):(0,R.of)(e)})}var In=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return n}(function(){function t(){m(this,t)}return y(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),Pn=new s.OlP("ROUTES"),Ln=function(){function t(e,n,i,r){m(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return y(t,[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var i=this.loadModuleFactory(e.loadChildren).pipe((0,st.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new Ge(jt(r.injector.get(Pn,void 0,s.XFs.Self|s.XFs.Optional)).map($e),r)}),M(function(t){throw e._loader$=void 0,t}));return e._loader$=new L.c(i,function(){return new D.xQ}).pipe((0,ft.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,A.D)(this.loader.load(t)):Bt(t()).pipe((0,ct.zg)(function(t){return t instanceof s.YKP?(0,R.of)(t):(0,A.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),Dn=function t(){m(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new Fn,this.attachRef=null},Fn=function(){function t(){m(this,t),this.contexts=new Map}return y(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new Dn,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),Nn=function(){function t(){m(this,t)}return y(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function jn(t){throw t}function Vn(t,e,n){return e.parse("/")}function Mn(t,e){return(0,R.of)(null)}var Bn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Un={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Hn=function(){var t=function(){function t(e,n,i,r,o,a,u,l){var c=this;m(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new D.xQ,this.errorHandler=jn,this.malformedUriErrorHandler=Vn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Mn,afterPreactivation:Mn},this.urlHandlingStrategy=new Nn,this.routeReuseStrategy=new In,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);var h=o.get(s.R0b);this.isNgZoneEnabled=h instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Kt(new Qt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ln(a,u,function(t){return c.triggerEvent(new Ct(t))},function(t){return c.triggerEvent(new Et(t))}),this.routerState=_e(this.currentUrlTree,this.rootComponentType),this.transitions=new I.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return y(t,[{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe((0,H.h)(function(t){return 0!==t.id}),(0,st.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,at.w)(function(t){var i,r,o,s,a=!1,u=!1;return(0,R.of)(t).pipe((0,ht.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,at.w)(function(t){var i,r,o,s,a=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||a)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,R.of)(t).pipe((0,at.w)(function(t){var i=e.transitions.getValue();return n.next(new pt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?T.E:Promise.resolve(t)}),(i=e.ngModule.injector,r=e.configLoader,o=e.urlSerializer,s=e.config,(0,at.w)(function(t){return function(t,e,n,i,r){return new vn(t,e,n,i,r).apply()}(i,r,o,t.extractedUrl,s).pipe((0,st.U)(function(e){return Object.assign(Object.assign({},t),{urlAfterRedirects:e})}))})),(0,ht.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,r,o){return(0,ct.zg)(function(i){return function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new Cn(t,e,n,i,r,o).recognize();return null===s?Sn(new wn):(0,R.of)(s)}catch(a){return Sn(a)}}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),r,o).pipe((0,st.U)(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,ht.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var i=new _t(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(a&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,l=t.extractedUrl,c=t.source,h=t.restoredState,f=t.extras,d=new pt(u,e.serializeUrl(l),c,h);n.next(d);var v=_e(l,e.rootComponentType).snapshot;return(0,R.of)(Object.assign(Object.assign({},t),{targetSnapshot:v,urlAfterRedirects:l,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),T.E}),Rn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,s=t.extras,a=s.skipLocationChange,u=s.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!a,replaceUrl:!!u})}),(0,ht.b)(function(t){var n=new kt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,st.U)(function(t){return Object.assign(Object.assign({},t),{guards:gn(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,ct.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,s=o.canActivateChecks,a=o.canDeactivateChecks;return 0===a.length&&0===s.length?(0,R.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,A.D)(t).pipe((0,ct.zg)(function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,R.of)(!0);var s=o.map(function(o){var s,a=_n(o,e,r);if(function(t){return t&&qe(t.canDeactivate)}(a))s=Bt(a.canDeactivate(t,e,n,i));else{if(!qe(a))throw new Error("Invalid CanDeactivate guard");s=Bt(a(t,e,n,i))}return s.pipe(nt())});return(0,R.of)(s).pipe(Qe())}(t.component,t.route,n,e,i)}),nt(function(t){return!0!==t},!0))}(a,i,r,t).pipe((0,ct.zg)(function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return(0,A.D)(e).pipe((0,lt.b)(function(e){return(0,P.z)(function(t,e){return null!==t&&e&&e(new xt(t)),(0,R.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new Tt(t)),(0,R.of)(!0)}(e.route,i),function(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return O(function(){var r=e.guards.map(function(r){var o,s=_n(r,e.node,n);if(function(t){return t&&qe(t.canActivateChild)}(s))o=Bt(s.canActivateChild(i,t));else{if(!qe(s))throw new Error("Invalid CanActivateChild guard");o=Bt(s(i,t))}return o.pipe(nt())});return(0,R.of)(r).pipe(Qe())})});return(0,R.of)(r).pipe(Qe())}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,R.of)(!0);var r=i.map(function(i){return O(function(){var r,o=_n(i,e,n);if(function(t){return t&&qe(t.canActivate)}(o))r=Bt(o.canActivate(e,t));else{if(!qe(o))throw new Error("Invalid CanActivate guard");r=Bt(o(e,t))}return r.pipe(nt())})});return(0,R.of)(r).pipe(Qe())}(t,e.route,n))}),nt(function(t){return!0!==t},!0))}(i,s,t,e):(0,R.of)(n)}),(0,st.U)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,ht.b)(function(t){if(Ye(t.guardsResult)){var n=Lt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var i=new bt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)}),(0,H.h)(function(t){return!!t.guardsResult||(e.cancelNavigationTransition(t,""),!1)}),Rn(function(t){if(t.guards.canActivateChecks.length)return(0,R.of)(t).pipe((0,ht.b)(function(t){var n=new wt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,at.w)(function(t){var n,i,r=!1;return(0,R.of)(t).pipe((n=e.paramsInheritanceStrategy,i=e.ngModule.injector,(0,ct.zg)(function(t){var e=t.targetSnapshot,r=t.guards.canActivateChecks;if(!r.length)return(0,R.of)(t);var o=0;return(0,A.D)(r).pipe((0,lt.b)(function(t){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return(0,R.of)({});var o={};return(0,A.D)(r).pipe((0,ct.zg)(function(r){return function(t,e,n,i){var r=_n(t,e,i);return Bt(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe((0,ht.b)(function(t){o[r]=t}))}),G(1),(0,ct.zg)(function(){return Object.keys(o).length===r.length?(0,R.of)(o):T.E}))}(t._resolve,t,e,i).pipe((0,st.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),be(t,n).resolve),null}))}(t.route,e,n,i)}),(0,ht.b)(function(){return o++}),G(1),(0,ct.zg)(function(e){return o===r.length?(0,R.of)(t):T.E}))})),(0,ht.b)({next:function(){return r=!0},complete:function(){r||e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}))}),(0,ht.b)(function(t){var n=new St(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),Rn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,s=t.extras,a=s.skipLocationChange,u=s.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!a,replaceUrl:!!u})}),(0,st.U)(function(t){var n=function(t,e,n){var i=Te(t,e._root,n?n._root:void 0);return new ge(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),(0,ht.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),(r=e.rootContexts,o=e.routeReuseStrategy,s=function(t){return e.triggerEvent(t)},(0,st.U)(function(t){return new He(o,t.targetRouterState,t.currentRouterState,s).activate(r),t})),(0,ht.b)({next:function(){a=!0},complete:function(){a=!0}}),(i=function(){a||u||e.cancelNavigationTransition(t,"Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId)),e.currentNavigation=null},function(t){return t.lift(new rt(i))}),M(function(i){if(u=!0,(a=i)&&a.ngNavigationCancelingError){var r=Ye(i.url);r||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var o=new mt(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree);e.scheduleNavigation(n,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var s=new gt(t.id,e.serializeUrl(t.extractedUrl),i);n.next(s);try{t.resolve(e.errorHandler(i))}catch(l){t.reject(l)}}var a;return T.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var s=Object.assign({},i);delete s.navigationId,delete s.\u0275routerPageId,0!==Object.keys(s).length&&(o.state=s)}t.scheduleNavigation(r,e,i,o)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){Ze(t),this.config=t.map($e),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.relativeTo,r=e.queryParams,o=e.fragment,s=e.queryParamsHandling,a=e.preserveFragment,u=i||this.routerState.root,l=a?this.currentUrlTree.fragment:o,c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,i,r,o){if(0===i.length)return Pe(e.root,e.root,e,r,o);var s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new De(!0,0,t);var e=0,i=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var s={};return Mt(r.outlets,function(t,e){s[e]="string"==typeof t?t.split("/"):t}),[].concat(n(t),[{outlets:s}])}if(r.segmentPath)return[].concat(n(t),[r.segmentPath])}return"string"!=typeof r?[].concat(n(t),[r]):0===o?(r.split("/").forEach(function(n,r){0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[].concat(n(t),[r])},[]);return new De(i,e,r)}(i);if(s.toRoot())return Pe(e.root,new Qt([],{}),e,r,o);var a=function(t,e,n){if(t.isAbsolute)return new Fe(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new Fe(i,i===e.root,0)}var r=Re(t.commands[0])?0:1;return function(t,e,n){for(var i=t,r=e,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Fe(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),u=a.processChildren?je(a.segmentGroup,a.index,s.commands):Ne(a.segmentGroup,a.index,s.commands);return Pe(a.segmentGroup,u,e,r,o)}(u,this.currentUrlTree,t,c,null!=l?l:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Ye(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(i,"imperative",r,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(e))}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){var n;if(n=!0===e?Object.assign({},Bn):!1===e?Object.assign({},Un):e,Ye(t))return zt(this.currentUrlTree,t,n);var i=this.parseUrl(t);return zt(this.currentUrlTree,i,n)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.currentPageId=e.targetPageId,t.events.next(new yt(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})}},{key:"scheduleNavigation",value:function(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);var o,s,a,u=this.getTransition(),l="imperative"!==e&&"imperative"===(null==u?void 0:u.source),c=(this.lastSuccessfulId===u.id||this.currentNavigation?u.rawUrl:u.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);r?(o=r.resolve,s=r.reject,a=r.promise):a=new Promise(function(t,e){o=t,s=e});var h,f=++this.navigationId;return h="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:f,targetPageId:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(function(t){return Promise.reject(t)})}},{key:"setBrowserUrl",value:function(t,e){var n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}},{key:"resetStateAndUrl",value:function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();var n=new mt(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Xt),s.LFG(Fn),s.LFG(o.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),zn=function(){var t=function(){function t(e,n,i){var r=this;m(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new D.xQ,this.subscription=e.events.subscribe(function(t){t instanceof yt&&r.updateTargetUrlAndHref()})}return y(t,[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Gn(this.skipLocationChange),replaceUrl:Gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Gn(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(Hn),s.Y36(ke),s.Y36(o.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t}();function Gn(t){return""===t||!!t}var qn=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}return y(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Yn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(Fn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),Yn=function(){function t(e,n,i){m(this,t),this.route=e,this.childContexts=n,this.parent=i}return y(t,[{key:"get",value:function(t,e){return t===ke?this.route:t===Fn?this.childContexts:this.parent.get(t,e)}}]),t}(),Kn=function t(){m(this,t)},Qn=function(){function t(){m(this,t)}return y(t,[{key:"preload",value:function(t,e){return(0,R.of)(null)}}]),t}(),Wn=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Ln(n,i,function(t){return e.triggerEvent(new Ct(t))},function(t){return e.triggerEvent(new Et(t))})}return y(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe((0,H.h)(function(t){return t instanceof yt}),(0,lt.b)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,r=[],o=i(e);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var a=s._loadedConfig;r.push(this.processRoutes(a.module,a.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(t,s)):s.children&&r.push(this.processRoutes(t,s.children))}}catch(u){o.e(u)}finally{o.f()}return(0,A.D)(r).pipe((0,dt.J)(),(0,st.U)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?(0,R.of)(e._loadedConfig):n.loader.load(t.injector,e)).pipe((0,ct.zg)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(Hn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Kn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Zn=function(){var t=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return y(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof pt?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof yt&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Rt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new Rt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(Hn),s.LFG(o.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Xn=new s.OlP("ROUTER_CONFIGURATION"),Jn=new s.OlP("ROUTER_FORROOT_GUARD"),$n=[o.Ye,{provide:Xt,useClass:Jt},{provide:Hn,useFactory:function(t,e,n,i,r,o,s){var a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,c=new Hn(null,t,e,n,i,r,o,jt(s));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing&&c.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[Xt,Fn,o.Ye,s.zs3,s.v3s,s.Sil,Pn,Xn,[function(){return function t(){m(this,t)}}(),new s.FiY],[function(){return function t(){m(this,t)}}(),new s.FiY]]},Fn,{provide:ke,useFactory:function(t){return t.routerState.root},deps:[Hn]},{provide:s.v3s,useClass:s.EAV},Wn,Qn,function(){function t(){m(this,t)}return y(t,[{key:"preload",value:function(t,e){return e().pipe(M(function(){return(0,R.of)(null)}))}}]),t}(),{provide:Xn,useValue:{enableTracing:!1}}];function ti(){return new s.PXZ("Router",Hn)}var ei=function(){var t=function(){function t(e,n){m(this,t)}return y(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[$n,oi(e),{provide:Jn,useFactory:ri,deps:[[Hn,new s.FiY,new s.tp0]]},{provide:Xn,useValue:n||{}},{provide:o.S$,useFactory:ii,deps:[o.lw,[new s.tBr(o.mr),new s.FiY],Xn]},{provide:Zn,useFactory:ni,deps:[Hn,o.EM,Xn]},{provide:Kn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Qn},{provide:s.PXZ,multi:!0,useFactory:ti},[si,{provide:s.ip1,multi:!0,useFactory:ai,deps:[si]},{provide:li,useFactory:ui,deps:[si]},{provide:s.tb,multi:!0,useExisting:li}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[oi(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(Jn,8),s.LFG(Hn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t}();function ni(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Zn(t,e,n)}function ii(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new o.Do(t,e):new o.b0(t,e)}function ri(t){return"guarded"}function oi(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:Pn,multi:!0,useValue:t}]}var si=function(){var t=function(){function t(e){m(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new D.xQ}return y(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(o.V_,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(Hn),r=t.injector.get(Xn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?(0,R.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Xn),n=this.injector.get(Wn),i=this.injector.get(Zn),r=this.injector.get(Hn),o=this.injector.get(s.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}();function ai(t){return t.appInitializer.bind(t)}function ui(t){return t.bootstrapListener.bind(t)}var li=new s.OlP("Router Initializer")},6215:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var i=n(9765),r=n(7971),o=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this))._value=t,i}return y(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(t){var e=a(v(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(t){a(v(n.prototype),"next",this).call(this,this._value=t)}}]),n}(i.xQ)},1593:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(9193),r=n(5917),o=n(7574),s=function(){function t(e,n,i){m(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return y(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return t=this.error,new o.y(function(e){return e.error(t)});case"C":return(0,i.c)()}var t;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();s.completeNotification=new s("C"),s.undefinedValueNotification=new s("N",void 0)},7574:function(t,e,n){"use strict";n.d(e,{y:function(){return l}});var i=n(7393),r=n(9181),o=n(6490),s=n(6554),a=n(4487),u=n(2494),l=function(){var t=function(){function t(e){m(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return y(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(t,e,n){var s=this.operator,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[r.b])return t[r.b]()}return t||e||n?new i.L(t,e,n):new i.L(o.c)}(t,e,n);if(a.add(s?s.call(a,this.source):this.source||u.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){u.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,n=e.closed,r=e.destination,o=e.isStopped;if(n||o)return!1;t=r&&r instanceof i.L?r:null}return!0}(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var n=this;return new(e=c(e))(function(e,i){var r;r=n.subscribe(function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}},i,e)})}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:s.L,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?this:(0===(i=e).length?a.y:1===i.length?i[0]:function(t){return i.reduce(function(t,e){return e(t)},t)})(this);var i}},{key:"toPromise",value:function(t){var e=this;return new(t=c(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}}]),t}();return t.create=function(e){return new t(e)},t}();function c(t){if(t||(t=u.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},6490:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(2494),r=n(4449),o={closed:!0,next:function(t){},error:function(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,r.z)(t)},complete:function(){}}},9765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return f},xQ:function(){return d}});var i=n(7574),r=n(7393),o=n(5319),s=n(7971),l=n(8858),h=n(9181),f=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this,t)).destination=t,i}return n}(r.L),d=function(){var t=function(t){u(n,t);var e=c(n);function n(){var t;return m(this,n),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return y(n,[{key:h.b,value:function(){return new f(this)}},{key:"lift",value:function(t){var e=new p(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new s.N;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)}},{key:"error",value:function(t){if(this.closed)throw new s.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new s.N;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(t){if(this.closed)throw new s.N;return a(v(n.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){if(this.closed)throw new s.N;return this.hasError?(t.error(this.thrownError),o.w.EMPTY):this.isStopped?(t.complete(),o.w.EMPTY):(this.observers.push(t),new l.W(this,t))}},{key:"asObservable",value:function(){var t=new i.y;return t.source=this,t}}]),n}(i.y);return t.create=function(t,e){return new p(t,e)},t}(),p=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).destination=t,r.source=i,r}return y(n,[{key:"next",value:function(t){var e=this.destination;e&&e.next&&e.next(t)}},{key:"error",value:function(t){var e=this.destination;e&&e.error&&this.destination.error(t)}},{key:"complete",value:function(){var t=this.destination;t&&t.complete&&this.destination.complete()}},{key:"_subscribe",value:function(t){return this.source?this.source.subscribe(t):o.w.EMPTY}}]),n}(d)},8858:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).subject=t,r.subscriber=i,r.closed=!1,r}return y(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),n}(n(5319).w)},7393:function(t,e,n){"use strict";n.d(e,{L:function(){return d}});var i=n(9105),r=n(6490),o=n(5319),s=n(9181),l=n(2494),h=n(4449),d=function(t){u(n,t);var e=c(n);function n(t,i,o){var s;switch(m(this,n),(s=e.call(this)).syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=r.c;break;case 1:if(!t){s.destination=r.c;break}if("object"==typeof t){t instanceof n?(s.syncErrorThrowable=t.syncErrorThrowable,s.destination=t,t.add(f(s))):(s.syncErrorThrowable=!0,s.destination=new p(f(s),t));break}default:s.syncErrorThrowable=!0,s.destination=new p(f(s),t,i,o)}return s}return y(n,[{key:s.b,value:function(){return this}},{key:"next",value:function(t){this.isStopped||this._next(t)}},{key:"error",value:function(t){this.isStopped||(this.isStopped=!0,this._error(t))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,a(v(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(t){this.destination.next(t)}},{key:"_error",value:function(t){this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}],[{key:"create",value:function(t,e,i){var r=new n(t,e,i);return r.syncErrorThrowable=!1,r}}]),n}(o.w),p=function(t){u(n,t);var e=c(n);function n(t,o,s,a){var u,l;m(this,n),(u=e.call(this))._parentSubscriber=t;var c=f(u);return(0,i.m)(o)?l=o:o&&(l=o.next,s=o.error,a=o.complete,o!==r.c&&(c=Object.create(o),(0,i.m)(c.unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(f(u)))),u._context=c,u._next=l,u._error=s,u._complete=a,u}return y(n,[{key:"next",value:function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;l.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}},{key:"error",value:function(t){if(!this.isStopped){var e=this._parentSubscriber,n=l.v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,h.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,h.z)(t)}}}},{key:"complete",value:function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};l.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),l.v.useDeprecatedSynchronousErrorHandling)throw n;(0,h.z)(n)}}},{key:"__tryOrSetError",value:function(t,e,n){if(!l.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return l.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,h.z)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}]),n}(d)},5319:function(t,e,n){"use strict";n.d(e,{w:function(){return u}});var i,r=n(9796),o=n(1555),s=n(9105),a=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(t,e){return"".concat(e+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),u=function(){function t(e){m(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return y(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,u=this._unsubscribe,c=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var h=0;h<n.length;++h)n[h].remove(this);if((0,s.m)(u)){i&&(this._unsubscribe=void 0);try{u.call(this)}catch(p){e=p instanceof a?l(p.errors):[p]}}if((0,r.k)(c))for(var f=-1,d=c.length;++f<d;){var v=c[f];if((0,o.K)(v))try{v.unsubscribe()}catch(p){e=e||[],p instanceof a?e=e.concat(l(p.errors)):e.push(p)}}if(e)throw new a(e)}}},{key:"add",value:function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}]),t}();function l(t){return t.reduce(function(t,e){return t.concat(e instanceof a?e.errors:e)},[])}u.EMPTY=((i=new u).closed=!0,i)},2494:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},5345:function(t,e,n){"use strict";n.d(e,{IY:function(){return s},Ds:function(){return a},ft:function(){return l}});var i=n(7393),r=n(7574),o=n(7444),s=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this)).parent=t,i}return y(n,[{key:"_next",value:function(t){this.parent.notifyNext(t)}},{key:"_error",value:function(t){this.parent.notifyError(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(i.L),a=function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(i.L);function l(t,e){if(!e.closed){if(t instanceof r.y)return t.subscribe(e);var n;try{n=(0,o.s)(t)(e)}catch(i){e.error(i)}return n}}},2441:function(t,e,n){"use strict";n.d(e,{c:function(){return h},N:function(){return f}});var i,r=n(9765),o=n(7574),s=n(5319),l=n(1307),h=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return y(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.w).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.w.EMPTY)),t}},{key:"refCount",value:function(){return(0,l.x)()(this)}}]),n}(o.y),f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(i=h.prototype)._subscribe},_isComplete:{value:i._isComplete,writable:!0},getSubject:{value:i.getSubject},connect:{value:i.connect},refCount:{value:i.refCount}},d=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).connectable=i,r}return y(n,[{key:"_error",value:function(t){this._unsubscribe(),a(v(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),a(v(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(r.Yc)},8071:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var i=n(5917),r=n(3282);function o(){return(0,r.J)(1)(i.of.apply(void 0,arguments))}},9193:function(t,e,n){"use strict";n.d(e,{E:function(){return r},c:function(){return o}});var i=n(7574),r=new i.y(function(t){return t.complete()});function o(t){return t?function(t){return new i.y(function(e){return t.schedule(function(){return e.complete()})})}(t):r}},4402:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(7574),r=n(7444),o=n(5319),s=n(6554),a=n(4087),u=n(377),l=n(4072),c=n(9489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[s.L]}(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){var r=t[s.L]();i.add(r.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i})}(t,e);if((0,l.t)(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i})}(t,e);if((0,c.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[u.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(function(n){var i,r=new o.w;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[u.hZ](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,r.s)(t))}},6693:function(t,e,n){"use strict";n.d(e,{n:function(){return s}});var i=n(7574),r=n(5015),o=n(4087);function s(t,e){return e?(0,o.r)(t,e):new i.y((0,r.V)(t))}},2759:function(t,e,i){"use strict";i.d(e,{R:function(){return u}});var r=i(7574),o=i(9796),s=i(9105),a=i(8002);function u(t,e,i,c){return(0,s.m)(i)&&(c=i,i=void 0),c?u(t,e,i).pipe((0,a.U)(function(t){return(0,o.k)(t)?c.apply(void 0,n(t)):c(t)})):new r.y(function(n){l(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function l(t,e,n,i,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,r),o=function(){return s.removeEventListener(e,n,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var a=t;t.on(e,n),o=function(){return a.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),o=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,h=t.length;c<h;c++)l(t[c],e,n,i,r)}i.add(o)}},6682:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n(7574),r=n(4869),o=n(3282),s=n(6693);function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=Number.POSITIVE_INFINITY,u=null,l=e[e.length-1];return(0,r.K)(l)?(u=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(a=e.pop())):"number"==typeof l&&(a=e.pop()),null===u&&1===e.length&&e[0]instanceof i.y?e[0]:(0,o.J)(a)((0,s.n)(e,u))}},5917:function(t,e,n){"use strict";n.d(e,{of:function(){return s}});var i=n(4869),r=n(6693),o=n(4087);function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var s=e[e.length-1];return(0,i.K)(s)?(e.pop(),(0,o.r)(e,s)):(0,r.n)(e)}},5124:function(t,e,n){"use strict";n.d(e,{e:function(){return v}});var i=n(3637),r=n(5345),o=function(){function t(e){m(this,t),this.durationSelector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.durationSelector))}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return y(n,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{e=(0,this.durationSelector)(t)}catch(i){return this.destination.error(i)}var n=(0,r.ft)(e,new r.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(r.Ds),a=n(7574),l=n(9796);function h(t){return!(0,l.k)(t)&&t-parseFloat(t)+1>=0}var f=n(4869);function d(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function v(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return e=function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return h(e)?r=Number(e)<1?1:Number(e):(0,f.K)(e)&&(n=e),(0,f.K)(n)||(n=i.P),new a.y(function(e){var i=h(t)?t:+t-n.now();return n.schedule(d,i,{index:0,period:r,subscriber:e})})}(t,n)},function(t){return t.lift(new o(e))}}},4612:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(9773);function r(t,e){return(0,i.zg)(t,e,1)}},4395:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(7393),r=n(3637);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new s(t,e))}}var s=function(){function t(e,n){m(this,t),this.dueTime=e,this.scheduler=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}]),t}(),a=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return y(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function l(t){t.debouncedNext()}},7519:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(7393);function r(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){m(this,t),this.compare=e,this.keySelector=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return y(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}]),n}(i.L)},5435:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(7393);function r(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){m(this,t),this.predicate=e,this.thisArg=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).predicate=i,o.thisArg=r,o.count=0,o}return y(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(i.L)},8002:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(7393);function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}}var o=function(){function t(e,n){m(this,t),this.project=e,this.thisArg=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).project=i,o.count=0,o.thisArg=r||f(o),o}return y(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(i.L)},3282:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var i=n(9773),r=n(4487);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,t)}},9773:function(t,e,n){"use strict";n.d(e,{zg:function(){return s}});var i=n(8002),r=n(4402),o=n(5345);function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(o){return o.pipe(s(function(n,o){return(0,r.D)(t(n,o)).pipe((0,i.U)(function(t,i){return e(n,t,o,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new a(t,n))})}var a=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;m(this,t),this.project=e,this.concurrent=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}]),t}(),l=function(t){u(n,t);var e=c(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return m(this,n),(r=e.call(this,t)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return y(n,[{key:"_next",value:function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new o.IY(this),n=this.destination;n.add(e);var i=(0,o.ft)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},1307:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(7393);function r(){return function(t){return t.lift(new o(t))}}var o=function(){function t(e){m(this,t),this.connectable=e}return y(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new s(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).connectable=i,r}return y(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},9761:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(8071),r=n(4869);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e[e.length-1];return(0,r.K)(o)?(e.pop(),function(t){return(0,i.z)(e,t,o)}):function(t){return(0,i.z)(e,t)}}},3190:function(t,e,n){"use strict";n.d(e,{w:function(){return s}});var i=n(8002),r=n(4402),o=n(5345);function s(t,e){return"function"==typeof e?function(n){return n.pipe(s(function(n,o){return(0,r.D)(t(n,o)).pipe((0,i.U)(function(t,i){return e(n,t,o,i)}))}))}:function(e){return e.lift(new l(t))}}var l=function(){function t(e){m(this,t),this.project=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new h(t,this.project))}}]),t}(),h=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return y(n,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new o.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,o.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||a(v(n.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&&a(v(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t){this.destination.next(t)}}]),n}(o.Ds)},5257:function(t,e,n){"use strict";n.d(e,{q:function(){return s}});var i=n(7393),r=n(7108),o=n(9193);function s(t){return function(e){return 0===t?(0,o.c)():e.lift(new a(t))}}var a=function(){function t(e){if(m(this,t),this.total=e,this.total<0)throw new r.W}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.total))}}]),t}(),l=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return y(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.L)},6782:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(5345);function r(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){m(this,t),this.notifier=e}return y(t,[{key:"call",value:function(t,e){var n=new s(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}]),t}(),s=function(t){u(n,t);var e=c(n);function n(t){var i;return m(this,n),(i=e.call(this,t)).seenValue=!1,i}return y(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(i.Ds)},3342:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(7393);function r(){}var o=n(9105);function s(t,e,n){return function(i){return i.lift(new a(t,e,n))}}var a=function(){function t(e,n,i){m(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),l=function(t){u(n,t);var e=c(n);function n(t,i,s,a){var u;return m(this,n),(u=e.call(this,t))._tapNext=r,u._tapError=r,u._tapComplete=r,u._tapError=s||r,u._tapComplete=a||r,(0,o.m)(i)?(u._context=f(u),u._tapNext=i):i&&(u._context=i,u._tapNext=i.next||r,u._tapError=i.error||r,u._tapComplete=i.complete||r),u}return y(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(i.L)},4087:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(7574),r=n(5319);function o(t,e){return new i.y(function(n){var i=new r.w,o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},6465:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});var i=function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return y(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){u(n,t);var e=c(n);function n(t,i){return m(this,n),e.call(this)}return y(n,[{key:"schedule",value:function(t){return this}}]),n}(n(5319).w))},6102:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var i=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;m(this,t),this.SchedulerAction=e,this.now=n}return y(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}(),r=function(t){u(n,t);var e=c(n);function n(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return m(this,n),(r=e.call(this,t,function(){return n.delegate&&n.delegate!==f(r)?n.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return y(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,i):a(v(n.prototype),"schedule",this).call(this,t,e,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(i)},4581:function(t,e,n){"use strict";n.d(e,{E:function(){return d}});var i=1,r=Promise.resolve(),o={};function s(t){return t in o&&(delete o[t],!0)}var l=function(t){var e=i++;return o[e]=!0,r.then(function(){return s(e)&&t()}),e},h=function(t){s(t)},f=n(6465),d=new(function(t){u(n,t);var e=c(n);function n(){return m(this,n),e.apply(this,arguments)}return y(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(n(6102).v))(function(t){u(n,t);var e=c(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?a(v(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=l(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return a(v(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(h(e),t.scheduled=void 0)}}]),n}(f.o))},3637:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(6465),r=new(n(6102).v)(i.o)},377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=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}()},7971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},4449:function(t,e,n){"use strict";function i(t){setTimeout(function(){throw t},0)}n.d(e,{z:function(){return i}})},4487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},9796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},9489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},9105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},1555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},5639:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(7574);function r(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},4072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},4869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},7444:function(t,e,n){"use strict";n.d(e,{s:function(){return c}});var i=n(5015),r=n(4449),o=n(377),s=n(6554),a=n(9489),u=n(4072),l=n(1555),c=function(t){if(t&&"function"==typeof t[s.L])return c=t,function(t){var e=c[s.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,i.V)(t);if((0,u.t)(t))return n=t,function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.z),t};if(t&&"function"==typeof t[o.hZ])return e=t,function(t){for(var n=e[o.hZ]();;){var i=void 0;try{i=n.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t};var e,n,c,h=(0,l.K)(t)?"an invalid object":"'".concat(t,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},5015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var i=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}}}}])}();