@amc-technology/ui-library 1.0.100 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/amc-technology-ui-library.mjs +5 -0
- package/esm2022/projects/UILibrary/src/app/Helpers.mjs +11 -0
- package/esm2022/projects/UILibrary/src/app/components/activity/activity.component.mjs +79 -0
- package/esm2022/projects/UILibrary/src/app/components/chat-box/chat-box.component.mjs +137 -0
- package/esm2022/projects/UILibrary/src/app/components/chat-message/chat-message.component.mjs +40 -0
- package/esm2022/projects/UILibrary/src/app/components/create/create.component.mjs +34 -0
- package/esm2022/projects/UILibrary/src/app/components/current-activity/current-activity.component.mjs +170 -0
- package/esm2022/projects/UILibrary/src/app/components/disposition/disposition.component.mjs +47 -0
- package/esm2022/projects/UILibrary/src/app/components/duration/duration.component.mjs +58 -0
- package/esm2022/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.mjs +72 -0
- package/esm2022/projects/UILibrary/src/app/components/interaction/interaction.component.mjs +98 -0
- package/esm2022/projects/UILibrary/src/app/components/login/login.component.mjs +41 -0
- package/esm2022/projects/UILibrary/src/app/components/operation/operation.component.mjs +56 -0
- package/esm2022/projects/UILibrary/src/app/components/property/property.component.mjs +106 -0
- package/esm2022/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.mjs +144 -0
- package/esm2022/projects/UILibrary/src/app/components/scenario/scenario.component.mjs +38 -0
- package/esm2022/projects/UILibrary/src/app/components/search-information/search-information.component.mjs +160 -0
- package/esm2022/projects/UILibrary/src/app/models/IActivity.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IHoldActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IInteractionActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/chat.message.mjs +7 -0
- package/esm2022/projects/UILibrary/src/app/models/chat.settings.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/disposition.interface.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/login.interface.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/uilibrary.model.mjs +61 -0
- package/esm2022/projects/UILibrary/src/app/uilibrary.module.mjs +106 -0
- package/esm2022/public_api.mjs +10 -0
- package/fesm2022/amc-technology-ui-library.mjs +1393 -0
- package/fesm2022/amc-technology-ui-library.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +26 -21
- package/projects/UILibrary/src/app/Helpers.d.ts +1 -1
- package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +26 -23
- package/projects/UILibrary/src/app/components/chat-box/chat-box.component.d.ts +38 -35
- package/projects/UILibrary/src/app/components/chat-message/chat-message.component.d.ts +16 -13
- package/projects/UILibrary/src/app/components/create/create.component.d.ts +14 -11
- package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts +37 -34
- package/projects/UILibrary/src/app/components/disposition/disposition.component.d.ts +15 -12
- package/projects/UILibrary/src/app/components/duration/duration.component.d.ts +19 -16
- package/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.d.ts +24 -21
- package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +44 -41
- package/projects/UILibrary/src/app/components/login/login.component.d.ts +14 -11
- package/projects/UILibrary/src/app/components/operation/operation.component.d.ts +25 -22
- package/projects/UILibrary/src/app/components/property/property.component.d.ts +44 -41
- package/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.d.ts +38 -35
- package/projects/UILibrary/src/app/components/scenario/scenario.component.d.ts +16 -13
- package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts +29 -26
- package/projects/UILibrary/src/app/models/IActivity.d.ts +36 -36
- package/projects/UILibrary/src/app/models/IActivityDetails.d.ts +7 -7
- package/projects/UILibrary/src/app/models/IHoldActivityDetails.d.ts +10 -10
- package/projects/UILibrary/src/app/models/IInteractionActivityDetails.d.ts +9 -9
- package/projects/UILibrary/src/app/models/chat.message.d.ts +15 -15
- package/projects/UILibrary/src/app/models/chat.settings.d.ts +6 -6
- package/projects/UILibrary/src/app/models/disposition.interface.d.ts +12 -12
- package/projects/UILibrary/src/app/models/login.interface.d.ts +13 -13
- package/projects/UILibrary/src/app/models/uilibrary.model.d.ts +281 -281
- package/projects/UILibrary/src/app/uilibrary.module.d.ts +30 -7
- package/public_api.d.ts +9 -1
- package/webcomponents/webcomponents.js +3 -3
- package/amc-technology-ui-library.d.ts +0 -19
- package/amc-technology-ui-library.metadata.json +0 -1
- package/bundles/amc-technology-ui-library.umd.js +0 -1653
- package/bundles/amc-technology-ui-library.umd.js.map +0 -1
- package/bundles/amc-technology-ui-library.umd.min.js +0 -16
- package/bundles/amc-technology-ui-library.umd.min.js.map +0 -1
- package/esm2015/amc-technology-ui-library.js +0 -20
- package/esm2015/projects/UILibrary/src/app/Helpers.js +0 -11
- package/esm2015/projects/UILibrary/src/app/components/activity/activity.component.js +0 -83
- package/esm2015/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -139
- package/esm2015/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -44
- package/esm2015/projects/UILibrary/src/app/components/create/create.component.js +0 -35
- package/esm2015/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -169
- package/esm2015/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -49
- package/esm2015/projects/UILibrary/src/app/components/duration/duration.component.js +0 -58
- package/esm2015/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -72
- package/esm2015/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -93
- package/esm2015/projects/UILibrary/src/app/components/login/login.component.js +0 -43
- package/esm2015/projects/UILibrary/src/app/components/operation/operation.component.js +0 -57
- package/esm2015/projects/UILibrary/src/app/components/property/property.component.js +0 -99
- package/esm2015/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -142
- package/esm2015/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -43
- package/esm2015/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -155
- package/esm2015/projects/UILibrary/src/app/models/IActivity.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/chat.message.js +0 -7
- package/esm2015/projects/UILibrary/src/app/models/chat.settings.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/login.interface.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/uilibrary.model.js +0 -40
- package/esm2015/projects/UILibrary/src/app/uilibrary.module.js +0 -83
- package/esm2015/public_api.js +0 -2
- package/esm5/amc-technology-ui-library.js +0 -20
- package/esm5/projects/UILibrary/src/app/Helpers.js +0 -11
- package/esm5/projects/UILibrary/src/app/components/activity/activity.component.js +0 -84
- package/esm5/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -140
- package/esm5/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -45
- package/esm5/projects/UILibrary/src/app/components/create/create.component.js +0 -36
- package/esm5/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -174
- package/esm5/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -61
- package/esm5/projects/UILibrary/src/app/components/duration/duration.component.js +0 -60
- package/esm5/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -74
- package/esm5/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -98
- package/esm5/projects/UILibrary/src/app/components/login/login.component.js +0 -66
- package/esm5/projects/UILibrary/src/app/components/operation/operation.component.js +0 -58
- package/esm5/projects/UILibrary/src/app/components/property/property.component.js +0 -101
- package/esm5/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -144
- package/esm5/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -44
- package/esm5/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -156
- package/esm5/projects/UILibrary/src/app/models/IActivity.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/chat.message.js +0 -7
- package/esm5/projects/UILibrary/src/app/models/chat.settings.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/login.interface.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/uilibrary.model.js +0 -43
- package/esm5/projects/UILibrary/src/app/uilibrary.module.js +0 -84
- package/esm5/public_api.js +0 -2
- package/fesm2015/amc-technology-ui-library.js +0 -1360
- package/fesm2015/amc-technology-ui-library.js.map +0 -1
- package/fesm5/amc-technology-ui-library.js +0 -1423
- package/fesm5/amc-technology-ui-library.js.map +0 -1
- package/src/typings.d.ts +0 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"5MeN":function(e,t,n){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()},UGdZ:function(e,t){(function(){"use strict";var e=window.Document.prototype.createElement,t=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,s=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,h=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),f=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,g=window.Element.prototype.setAttribute,y=window.Element.prototype.removeAttribute,_=window.Element.prototype.getAttributeNS,v=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,k=window.Element.prototype.insertAdjacentElement,E=window.Element.prototype.insertAdjacentHTML,w=window.Element.prototype.prepend,T=window.Element.prototype.append,C=window.Element.prototype.before,S=window.Element.prototype.after,D=window.Element.prototype.replaceWith,Z=window.Element.prototype.remove,O=window.HTMLElement,P=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),N=window.HTMLElement.prototype.insertAdjacentElement,j=window.HTMLElement.prototype.insertAdjacentHTML,z=new Set;function M(e){var t=z.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(e){return z.add(e)}));var L=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function A(e){var t=e.isConnected;if(void 0!==t)return t;if(L(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function x(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function I(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function F(){var e=!(null==ie||!ie.noDocumentConstructionObserver),t=!(null==ie||!ie.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=t,this.I=!e}function H(e,t,n,o){var r=window.ShadyDOM;if(e.shadyDomFastWalk&&r&&r.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=r.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,o){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var s=i.localName;if("link"===s&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)e(r,n,o);r=I(t,i);continue}if("template"===s){r=I(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,o)}r=r.firstChild?r.firstChild:I(t,r)}}(t,n,o)}function R(e,t){e.j&&H(e,t,(function(t){return W(e,t)}))}function W(e,t){if(e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function B(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state?e.connectedCallback(o):q(e,o)}}function G(e,t){var n=[];for(H(e,t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var o=n[t];1===o.__CE_state&&e.disconnectedCallback(o)}}function U(e,t,n){var o=(n=void 0===n?{}:n).J,r=n.upgrade||function(t){return q(e,t)},i=[];for(H(e,t,(function(t){if(e.j&&W(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(e){return i.add(e)})),i.delete(n)),U(e,n,{J:i,upgrade:r})}}))}else i.push(t)}),o),t=0;t<i.length;t++)r(i[t])}function q(e,t){try{var n=t.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?ne(o,t.localName):void 0;if(r&&void 0===t.__CE_state){r.constructionStack.push(t);try{try{if(new r.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(c){throw t.__CE_state=2,c}if(t.__CE_state=1,t.__CE_definition=r,r.attributeChangedCallback&&t.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var s=i[r],a=t.getAttribute(s);null!==a&&e.attributeChangedCallback(t,s,null,a,null)}}A(t)&&e.connectedCallback(t)}}catch(c){$(c)}}function V(n,o,r,i){var s=o.__CE_registry;if(s&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(s=ne(s,r)))try{var a=new s.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(c){return $(c),o=null===i?e.call(o,r):t.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,W(n,o),o}return W(n,o=null===i?e.call(o,r):t.call(o,i,r)),o}function $(e){var t="",n="",o=0,r=0;e instanceof Error?(t=e.message,n=e.sourceURL||e.fileName||"",o=e.line||e.lineNumber||0,r=e.column||e.columnNumber||0):t="Uncaught "+String(e);var i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:o,colno:r,error:e}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(i),i.defaultPrevented||console.error(e)}function X(){var e=this;this.g=void 0,this.F=new Promise((function(t){e.l=t}))}function J(e){var t=document;this.l=void 0,this.h=e,this.g=t,U(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function Y(e){e.l&&e.l.disconnect()}function K(e){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(e){return e()},this.i=!1,this.v=[],this.h=e,this.D=e.I?new J(e):void 0}function Q(e,t){if(!M(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(ne(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.A)throw Error("A custom element is already being defined.")}function ee(e,t,n){var o;e.A=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=r[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},s=i("connectedCallback"),a=i("disconnectedCallback"),c=i("adoptedCallback"),l=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(u){throw u}finally{e.A=!1}return e.u.set(t,n={localName:t,constructorFunction:n,connectedCallback:s,disconnectedCallback:a,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:l,constructionStack:[]}),e.C.set(n.constructorFunction,n),n}function te(e){if(!1!==e.i){e.i=!1;for(var t=[],n=e.v,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(U(e.h,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):e.u.has(r)&&t.push(n)}}}),r=0;r<t.length;r++)q(e.h,t[r]);for(r=0;r<n.length;r++){for(var i=n[r],s=o.get(i),a=0;a<s.length;a++)q(e.h,s[a]);(i=e.B.get(i))&&i.resolve(void 0)}n.length=0}}function ne(e,t){var n=e.u.get(t);if(n)return n;if(n=e.s.get(t)){e.s.delete(t);try{return ee(e,t,n())}catch(o){$(o)}}}function oe(e,t,n){function o(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&A(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)G(e,i[o]);if(A(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}void 0!==n.prepend&&(t.prepend=o(n.prepend)),void 0!==n.append&&(t.append=o(n.append))}F.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(n){$(n)}},F.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(n){$(n)}},F.prototype.attributeChangedCallback=function(e,t,n,o,r){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,o,r)}catch(s){$(s)}},X.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.l(e)},J.prototype.G=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||Y(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,o=0;o<n.length;o++)U(this.h,n[o])},K.prototype.H=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Q(this,e),this.s.set(e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},K.prototype.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Q(this,e),ee(this,e,t),this.v.push(e),this.i||(this.i=!0,this.o((function(){return te(n)})))},K.prototype.upgrade=function(e){U(this.h,e)},K.prototype.get=function(e){if(e=ne(this,e))return e.constructorFunction},K.prototype.whenDefined=function(e){if(!M(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.B.get(e);if(t)return t.F;t=new X,this.B.set(e,t);var n=this.u.has(e)||this.s.has(e);return e=-1===this.v.indexOf(e),n&&e&&t.resolve(void 0),t.F},K.prototype.polyfillWrapFlushCallback=function(e){this.D&&Y(this.D);var t=this.o;this.o=function(n){return e((function(){return t(n)}))}},K.prototype.define=K.prototype.define,K.prototype.upgrade=K.prototype.upgrade,K.prototype.get=K.prototype.get,K.prototype.whenDefined=K.prototype.whenDefined,K.prototype.polyfillDefineLazy=K.prototype.H,K.prototype.polyfillWrapFlushCallback=K.prototype.polyfillWrapFlushCallback;var re={},ie=window.customElements;function se(){var z=new F;!function(t){function n(){var n=this.constructor,o=document.__CE_registry.C.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=e.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,W(t,r),r;var i=r.length-1,s=r[i];if(s===re)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=re,Object.setPrototypeOf(s,n.prototype),W(t,s),s}n.prototype=O.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(z),function(e){Document.prototype.createElement=function(t){return V(e,this,t,null)},Document.prototype.importNode=function(t,o){return t=n.call(this,t,!!o),this.__CE_registry?U(e,t):R(e,t),t},Document.prototype.createElementNS=function(t,n){return V(e,this,n,t)},oe(e,Document.prototype,{prepend:o,append:r})}(z),oe(z,DocumentFragment.prototype,{prepend:i,append:s}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&A(this)){o=Array(i);for(var s=0;s<i;s++)o[s]=r[s]}}if(n.set.call(this,t),o)for(t=0;t<o.length;t++)G(e,o[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var o=x(t);if(t=l.call(this,t,n),A(this))for(n=0;n<o.length;n++)B(e,o[n]);return t}return o=t instanceof Element&&A(t),n=l.call(this,t,n),o&&G(e,t),A(this)&&B(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=x(t);if(t=c.call(this,t),A(this))for(var o=0;o<n.length;o++)B(e,n[o]);return t}return n=t instanceof Element&&A(t),o=c.call(this,t),n&&G(e,t),A(this)&&B(e,t),o},Node.prototype.cloneNode=function(t){return t=a.call(this,!!t),this.ownerDocument.__CE_registry?U(e,t):R(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&A(t),o=u.call(this,t);return n&&G(e,t),o},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var o=x(t);if(t=h.call(this,t,n),A(this))for(G(e,n),n=0;n<o.length;n++)B(e,o[n]);return t}o=t instanceof Element&&A(t);var r=h.call(this,t,n),i=A(this);return i&&G(e,n),o&&G(e,t),i&&B(e,t),r},p&&p.get?t(Node.prototype,p):function(e,t){e.j=!0,e.m.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)u.call(this,this.firstChild);null!=e&&""!==e&&c.call(this,document.createTextNode(e))}})}))}(z),function(e){function n(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var o=this,r=void 0;if(A(this)&&(r=[],H(e,this,(function(e){e!==o&&r.push(e)}))),n.set.call(this,t),r)for(var i=0;i<r.length;i++){var s=r[i];1===s.__CE_state&&e.disconnectedCallback(s)}return this.ownerDocument.__CE_registry?U(e,this):R(e,this),t}})}function o(t,n){t.insertAdjacentElement=function(t,o){var r=A(o);return t=n.call(this,t,o),r&&G(e,o),A(t)&&B(e,o),t}}function r(t,n){function o(t,n){for(var o=[];t!==n;t=t.nextSibling)o.push(t);for(n=0;n<o.length;n++)U(e,o[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var r=this.previousSibling;n.call(this,e,t),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===e)r=this.firstChild,n.call(this,e,t),o(this.firstChild,r);else if("beforeend"===e)r=this.lastChild,n.call(this,e,t),o(r||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,e,t),o(this.nextSibling,r)}}}f&&(Element.prototype.attachShadow=function(t){if(t=f.call(this,t),e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.m.length;n++)e.m[n](t)}return this.__CE_shadowRoot=t}),d&&d.get?n(Element.prototype,d):P&&P.get?n(HTMLElement.prototype,P):function(e,t){e.j=!0,e.g.push(t)}(e,(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return a.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,o=n?this.content:this,r=t.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<o.childNodes.length;)u.call(o,o.childNodes[0]);for(e=n?r.content:r;0<e.childNodes.length;)c.call(o,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return g.call(this,t,n);var o=m.call(this,t);g.call(this,t,n),n=m.call(this,t),e.attributeChangedCallback(this,t,o,n,null)},Element.prototype.setAttributeNS=function(t,n,o){if(1!==this.__CE_state)return v.call(this,t,n,o);var r=_.call(this,t,n);v.call(this,t,n,o),o=_.call(this,t,n),e.attributeChangedCallback(this,n,r,o,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return y.call(this,t);var n=m.call(this,t);y.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return b.call(this,t,n);var o=_.call(this,t,n);b.call(this,t,n);var r=_.call(this,t,n);o!==r&&e.attributeChangedCallback(this,n,o,r,t)},N?o(HTMLElement.prototype,N):k&&o(Element.prototype,k),j?r(HTMLElement.prototype,j):E&&r(Element.prototype,E),oe(e,Element.prototype,{prepend:w,append:T}),function(e){function t(t){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],s=0;s<o.length;s++){var a=o[s];if(a instanceof Element&&A(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(t.apply(this,o),o=0;o<i.length;o++)G(e,i[o]);if(A(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(e,i)}}var n=Element.prototype;void 0!==C&&(n.before=t(C)),void 0!==S&&(n.after=t(S)),void 0!==D&&(n.replaceWith=function(t){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var s=n[i];if(s instanceof Element&&A(s)&&r.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(i=A(this),D.apply(this,n),n=0;n<r.length;n++)G(e,r[n]);if(i)for(G(e,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&B(e,r)}),void 0!==Z&&(n.remove=function(){var t=A(this);Z.call(this),t&&G(e,this)})}(e)}(z),window.CustomElementRegistry=K,z=new K(z),document.__CE_registry=z,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:z})}ie&&!ie.forcePolyfill&&"function"==typeof ie.define&&"function"==typeof ie.get||se(),window.__CE_installPolyfill=se}).call(self)},"hN/g":function(e,t,n){"use strict";n.r(t),n("nf2o"),n("5MeN"),n("UGdZ")},nf2o:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function i(e){return r+e}const s=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(s||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return N.zone}static get currentTask(){return j}static __load_patch(t,r){if(O.hasOwnProperty(t)){if(s)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const i="Zone:"+t;n(i),O[t]=r(e,a,P),o(i,i)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){N={parent:N,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{N=N.parent}}runGuarded(e,t=null,n,o){N={parent:N,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{N=N.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");if(e.state===b&&(e.type===Z||e.type===D))return;const o=e.state!=w;o&&e._transitionTo(w,E),e.runCount++;const r=j;j=e,N={parent:N,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==b&&e.state!==C&&(e.type==Z||e.data&&e.data.isPeriodic?o&&e._transitionTo(E,w):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(b,w,b))),N=N.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,b);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(C,k,b),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(E,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(Z,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");e._transitionTo(T,E,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(C,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,T),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}a.__symbol__=i;const c={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,i)=>e.invokeTask(n,o,r,i),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");y(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=s,!o)throw new Error("callback is not defined");this.callback=o;const a=this;this.invoke=t===Z&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&_(),z--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=i("setTimeout"),p=i("Promise"),f=i("then");let d,m=[],g=!1;function y(t){if(0===z&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,_)}else e[h](_,0);t&&m.push(t)}function _(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){P.onUnhandledError(e)}}}P.microtaskDrainDone(),g=!1}}const v={name:"NO ZONE"},b="notScheduled",k="scheduling",E="scheduled",w="running",T="canceling",C="unknown",S="microTask",D="macroTask",Z="eventTask",O={},P={symbol:i,currentZoneFrame:()=>N,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:y,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>M,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M};let N={parent:null,zone:new a(null,null)},j=null,z=0;function M(){}o("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=n.symbol,s=[],a=!0===e[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),l=i("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;s.length;){const t=s.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=i("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return D.reject(e)}const m=i("state"),g=i("value"),y=i("finally"),_=i("parentPromiseValue"),v=i("parentPromiseState");function b(e,t){return n=>{try{E(e,t,n)}catch(o){E(e,!1,o)}}}const k=i("currentTaskTrace");function E(e,o,i){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof i&&"function"!=typeof i||(h=i&&i.then)}catch(u){return c(()=>{E(e,!1,u)})(),e}if(!1!==o&&i instanceof D&&i.hasOwnProperty(m)&&i.hasOwnProperty(g)&&null!==i[m])T(i),E(e,i[m],i[g]);else if(!1!==o&&"function"==typeof h)try{h.call(i,c(b(e,o)),c(b(e,!1)))}catch(u){c(()=>{E(e,!1,u)})()}else{e[m]=o;const c=e[g];if(e[g]=i,e[y]===y&&!0===o&&(e[m]=e[v],e[g]=e[_]),!1===o&&i instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(i,k,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)C(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&0==o){e[m]=0;let o=i;if(!a)try{throw new Error("Uncaught (in promise): "+((l=i)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(i&&i.stack?"\n"+i.stack:""))}catch(u){o=u}o.rejection=i,o.promise=e,o.zone=t.current,o.task=t.currentTask,s.push(o),n.scheduleMicroTask()}}}var l;return e}const w=i("rejectionHandledHandler");function T(e){if(0===e[m]){try{const n=t[w];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(n){}e[m]=!1;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function C(e,t,n,o,r){T(e);const i=e[m],s=i?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[g],r=!!n&&y===n[y];r&&(n[_]=o,n[v]=i);const a=t.run(s,void 0,r&&s!==d&&s!==f?[]:[o]);E(n,!0,a)}catch(o){E(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return E(new this(null),!0,e)}static reject(e){return E(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function i(e){n(e)}for(let s of e)p(s)||(s=this.resolve(s)),s.then(r,i);return o}static all(e){return D.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof D?this:D).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),i=2,s=0;const a=[];for(let l of e){p(l)||(l=this.resolve(l));const e=s;try{l.then(o=>{a[e]=t?t.thenCallback(o):o,i--,0===i&&n(a)},r=>{t?(a[e]=t.errorCallback(r),i--,0===i&&n(a)):o(r)})}catch(c){o(c)}i++,s++}return i-=2,0===i&&n(a),r}constructor(e){const t=this;if(!(t instanceof D))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(b(t,!0),b(t,!1))}catch(n){E(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),i=t.current;return null==this[m]?this[g].push(i,r,e,n):C(this,i,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[y]=y;const r=t.current;return null==this[m]?this[g].push(r,o,e,e):C(this,r,o,e,e),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const Z=e[c]=e.Promise,O=t.__symbol__("ZoneAwarePromise");let P=o(e,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return e[O]?e[O]:e[c]},P.set=function(t){t===D?e[O]=t:(e[c]=t,t.prototype[l]||j(t),n.setNativePromise(t))},r(e,"Promise",P)),e.Promise=D;const N=i("thenPatched");function j(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new D((e,t)=>{r.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=j,Z){j(Z);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(z=t,function(){let e=z.apply(this,arguments);if(e instanceof D)return e;let t=e.constructor;return t[N]||j(t),e}))}var z;return Promise[t.__symbol__("uncaughtPromiseErrors")]=s,D});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),a=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function l(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,_=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),v=!_&&!y&&!(!h||!p.HTMLElement),b=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!y&&!(!h||!p.HTMLElement),k={},E=function(e){if(!(e=e||f.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(v&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function w(n,o,r){let i=e(n,o);if(!i&&r&&e(r,o)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=u("on"+o+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=o.substr(2);let h=k[l];h||(h=k[l]=u("ON_PROPERTY"+l)),i.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(l,E),c&&c.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(l,E,!1)):t[h]=null)},i.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(a){let t=a&&a.call(this);if(t)return i.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,i),n[s]=!0}function T(e,t,n){if(t)for(let o=0;o<t.length;o++)w(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)w(e,t[o],n)}}const C=u("originalInstance");function S(e){const n=f[e];if(!n)return;f[u(e)]=n,f[e]=function(){const t=m(arguments,e);switch(t.length){case 0:this[C]=new n;break;case 1:this[C]=new n(t[0]);break;case 2:this[C]=new n(t[0],t[1]);break;case 3:this[C]=new n(t[0],t[1],t[2]);break;case 4:this[C]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},O(f[e],n);const o=new n((function(){}));let r;for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?f[e].prototype[n]=function(){return this[C][n].apply(this[C],arguments)}:t(f[e].prototype,n,{set:function(t){"function"==typeof t?(this[C][n]=c(t,e+"."+n),O(this[C][n],t)):this[C][n]=t},get:function(){return this[C][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(f[e][r]=n[r])}function D(t,o,r){let i=t;for(;i&&!i.hasOwnProperty(o);)i=n(i);!i&&t[o]&&(i=t);const s=u(o);let a=null;if(i&&!(a=i[s])&&(a=i[s]=i[o],g(i&&e(i,o)))){const e=r(a,s,o);i[o]=function(){return e(this,arguments)},O(i[o],a)}return a}function Z(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=D(e,t,e=>function(t,o){const i=n(t,o);return i.cbIdx>=0&&"function"==typeof o[i.cbIdx]?l(i.name,o[i.cbIdx],i,r):e.apply(t,o)})}function O(e,t){e[u("OriginalDelegate")]=t}let P=!1,N=!1;function j(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function z(){if(P)return N;P=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(N=!0)}catch(e){}return N}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":s.call(this)}});let M=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(ae){M=!1}const L={useG:!0},A={},x={},I=new RegExp("^"+a+"(\\w+)(true|false)$"),F=u("propagationStopped");function H(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=a+n,i=a+o;A[e]={},A[e].false=r,A[e].true=i}function R(e,t,o){const r=o&&o.add||"addEventListener",i=o&&o.rm||"removeEventListener",s=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[F]);o++)p(e[o],n,t)}},d=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].true];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[F]);o++)p(e[o],n,t)}};function m(t,o){if(!t)return!1;let p=!0;o&&void 0!==o.useG&&(p=o.useG);const m=o&&o.vh;let g=!0;o&&void 0!==o.chkDup&&(g=o.chkDup);let y=!1;o&&void 0!==o.rt&&(y=o.rt);let v=t;for(;v&&!v.hasOwnProperty(r);)v=n(v);if(!v&&t[r]&&(v=t),!v)return!1;if(v[l])return!1;const b=o&&o.eventNameToString,k={},E=v[l]=v[r],w=v[u(i)]=v[i],T=v[u(s)]=v[s],C=v[u(c)]=v[c];let S;function D(e,t){return!M&&"object"==typeof e&&e?!!e.capture:M&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}o&&o.prepend&&(S=v[u(o.prepend)]=v[o.prepend]);const Z=p?function(e){if(!k.isExisting)return E.call(k.target,k.eventName,k.capture?d:f,k.options)}:function(e){return E.call(k.target,k.eventName,e.invoke,k.options)},P=p?function(e){if(!e.isRemoved){const t=A[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return w.call(e.target,e.eventName,e.capture?d:f,e.options)}:function(e){return w.call(e.target,e.eventName,e.invoke,e.options)},N=o&&o.diff?o.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},j=Zone[u("BLACK_LISTED_EVENTS")],z=e[u("PASSIVE_EVENTS")],F=function(t,n,r,i,s=!1,a=!1){return function(){const c=this||e;let l=arguments[0];o&&o.transferEventName&&(l=o.transferEventName(l));let u=arguments[1];if(!u)return t.apply(this,arguments);if(_&&"uncaughtException"===l)return t.apply(this,arguments);let h=!1;if("function"!=typeof u){if(!u.handleEvent)return t.apply(this,arguments);h=!0}if(m&&!m(t,u,c,arguments))return;const f=M&&!!z&&-1!==z.indexOf(l),d=D(arguments[2],f);if(j)for(let e=0;e<j.length;e++)if(l===j[e])return f?t.call(c,l,u,d):t.apply(this,arguments);const y=!!d&&("boolean"==typeof d||d.capture),v=!(!d||"object"!=typeof d)&&d.once,E=Zone.current;let w=A[l];w||(H(l,b),w=A[l]);const T=w[y?"true":"false"];let C,S=c[T],Z=!1;if(S){if(Z=!0,g)for(let e=0;e<S.length;e++)if(N(S[e],u))return}else S=c[T]=[];const O=c.constructor.name,P=x[O];P&&(C=P[l]),C||(C=O+n+(b?b(l):l)),k.options=d,v&&(k.options.once=!1),k.target=c,k.capture=y,k.eventName=l,k.isExisting=Z;const I=p?L:void 0;I&&(I.taskData=k);const F=E.scheduleEventTask(C,u,I,r,i);return k.target=null,I&&(I.taskData=null),v&&(d.once=!0),(M||"boolean"!=typeof F.options)&&(F.options=d),F.target=c,F.capture=y,F.eventName=l,h&&(F.originalDelegate=u),a?S.unshift(F):S.push(F),s?c:void 0}};return v[r]=F(E,h,Z,P,y),S&&(v.prependListener=F(S,".prependListener:",(function(e){return S.call(k.target,k.eventName,e.invoke,k.options)}),P,y,!0)),v[i]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=arguments[2],i=!!r&&("boolean"==typeof r||r.capture),s=arguments[1];if(!s)return w.apply(this,arguments);if(m&&!m(w,s,t,arguments))return;const c=A[n];let l;c&&(l=c[i?"true":"false"]);const u=l&&t[l];if(u)for(let e=0;e<u.length;e++){const o=u[e];if(N(o,s))return u.splice(e,1),o.isRemoved=!0,0===u.length&&(o.allRemoved=!0,t[l]=null,"string"==typeof n)&&(t[a+"ON_PROPERTY"+n]=null),o.zone.cancelTask(o),y?t:void 0}return w.apply(this,arguments)},v[s]=function(){const t=this||e;let n=arguments[0];o&&o.transferEventName&&(n=o.transferEventName(n));const r=[],i=W(t,b?b(n):n);for(let e=0;e<i.length;e++){const t=i[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},v[c]=function(){const t=this||e;let n=arguments[0];if(n){o&&o.transferEventName&&(n=o.transferEventName(n));const e=A[n];if(e){const o=t[e.false],r=t[e.true];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}if(r){const e=r.slice();for(let t=0;t<e.length;t++){const o=e[t];this[i].call(this,n,o.originalDelegate?o.originalDelegate:o.callback,o.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=I.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[c].call(this,o)}this[c].call(this,"removeListener")}if(y)return this},O(v[r],E),O(v[i],w),C&&O(v[c],C),T&&O(v[s],T),!0}let g=[];for(let n=0;n<t.length;n++)g[n]=m(t[n],o);return g}function W(e,t){if(!t){const n=[];for(let o in e){const r=I.exec(o);let i=r&&r[1];if(i&&(!t||i===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=A[t];n||(H(t),n=A[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function B(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[F]=!0,e&&e.apply(t,n)})}function G(e,t,n,o,r){const i=Zone.__symbol__(o);if(t[i])return;const s=t[i]=t[o];t[o]=function(i,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,i=a.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],r))})),s.call(t,i,a,c)},e.attachOriginToPatched(t[o],s)}const U=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],V=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Y=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],U,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,o){e&&T(e,te(e,t,n),o)}function oe(e,t){if(_&&!b)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(v){const e=window,t=j?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,q,r),ne(HTMLFrameSetElement.prototype,U.concat($),r),ne(HTMLBodyElement.prototype,U.concat($),r),ne(HTMLFrameElement.prototype,V,r),ne(HTMLIFrameElement.prototype,V,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const i=e.Worker;i&&ne(i.prototype,Q,r)}const i=t.XMLHttpRequest;i&&ne(i.prototype,J,r);const s=t.XMLHttpRequestEventTarget;s&&ne(s&&s.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,Y,r),ne(IDBRequest.prototype,Y,r),ne(IDBOpenDBRequest.prototype,Y,r),ne(IDBDatabase.prototype,Y,r),ne(IDBTransaction.prototype,Y,r),ne(IDBCursor.prototype,Y,r)),o&&ne(WebSocket.prototype,K,r)}Zone.__load_patch("util",(n,i,s)=>{s.patchOnProperties=T,s.patchMethod=D,s.bindArguments=m,s.patchMacroTask=Z;const l=i.__symbol__("BLACK_LISTED_EVENTS"),u=i.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(i[l]=i[u]=n[l]),s.patchEventPrototype=B,s.patchEventTarget=R,s.isIEOrEdge=z,s.ObjectDefineProperty=t,s.ObjectGetOwnPropertyDescriptor=e,s.ObjectCreate=o,s.ArraySlice=r,s.patchClass=S,s.wrapWithCurrentZone=c,s.filterProperties=te,s.attachOriginToPatched=O,s._redefineProperty=Object.defineProperty,s.patchCallbacks=G,s.getGlobalObjects=()=>({globalSources:x,zoneSymbolEventNames:A,eventNames:ee,isBrowser:v,isMix:b,isNode:_,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:a,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function ie(e,t,n,o){let r=null,i=null;n+=o;const s={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete s[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return i(e.data.handleId)}r=D(e,t+=o,n=>function(r,i){if("function"==typeof i[0]){const e=l(t,i[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?i[1]||0:void 0,args:i},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?s[n]=e:n&&(n[re]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,i)}),i=D(e,n,t=>function(n,o){const r=o[0];let i;"number"==typeof r?i=s[r]:(i=r&&r[re],i||(i=r)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof r?delete s[r]:r&&(r[re]=null),i.zone.cancelTask(i)):t.apply(e,o)})}function se(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=s+(e+i),a=s+(e+r);o[e]={},o[e][i]=t,o[e][r]=a}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ie(e,"set","clear","Timeout"),ie(e,"set","clear","Interval"),ie(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ie(e,"request","cancel","AnimationFrame"),ie(e,"mozRequest","mozCancel","AnimationFrame"),ie(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)D(e,n[o],(n,o,r)=>function(o,i){return t.current.run(n,e,i,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),se(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[i],m=f[s];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[i],m=e[s]}}function g(e){const o=e.data,c=o.target;c[a]=!1,c[h]=!1;const l=c[r];d||(d=c[i],m=c[s]),l&&m.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[a]&&"scheduled"===e.state){const n=c[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=c[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||"scheduled"!==e.state||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==c[a]||(c[h]=!0)};return d.call(c,"readystatechange",u),c[n]||(c[n]=e),E.apply(c,o.args),c[a]=!0,e}function y(){}function _(e){const t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}const v=D(f,"open",()=>function(e,t){return e[o]=0==t[2],e[c]=t[1],v.apply(e,t)}),b=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),E=D(f,"send",()=>function(e,n){if(!0===t.current[k])return E.apply(e,n);if(e[o])return E.apply(e,n);{const t={target:e,url:e[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",y,t,g,_);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),w=D(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[b])return w.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),a=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r<n.length;r++){const i=n[r],s=t[i];if(s){if(!g(e(t,i)))continue;t[i]=(e=>{const t=function(){return e.apply(this,m(arguments,o+"."+i))};return O(t,e),t})(s)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){W(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]);
|
|
3
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function s(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(o.useDeprecatedSynchronousErrorHandling)throw t;s(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let d=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){e=a instanceof u?h(a.errors):[a]}}if(l(s)){let t=-1,n=s.length;for(;++t<n;){const n=s[t];if(c(n))try{n.unsubscribe()}catch(a){e=e||[],a instanceof u?e=e.concat(h(a.errors)):e.push(a)}}}if(e)throw new u(e)}add(e){let 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)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;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)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function h(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let s=this;r(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==a&&(s=Object.create(e),r(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o;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):s(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;s(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(t,e,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){o.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=b(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=b(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function b(t){if(t||(t=o.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class v extends d{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let x=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new O(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),d.EMPTY):this.isStopped?(t.complete(),d.EMPTY):(this.observers.push(t),new v(this,t))}asObservable(){const t=new _;return t.source=this,t}}return t.create=(t,e)=>new O(t,e),t})();class O extends x{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):d.EMPTY}}function E(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 T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new I(t,this.project,this.thisArg))}}class I extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const M=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const P=k(),D=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function A(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const S=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return M(t);if(A(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s),t);if(t&&"function"==typeof t[P])return e=t,t=>{const n=e[P]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function V(t,e){return new _(n=>{const r=new d;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function N(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new d;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(A(t))return function(t,e){return new _(n=>{const r=new d;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(D(t))return V(t,e);if(function(t){return t&&"function"==typeof t[P]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[P](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}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 _?t:new _(S(t))}class R extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new j(t,this.project,this.concurrent))}}class j extends F{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new R(this),n=this.destination;n.add(e);const r=function(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=S(t)(e)}catch(r){e.error(r)}return n}(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return(i=r)&&"function"==typeof i.schedule?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:function(t=Number.POSITIVE_INFINITY){return function t(e,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(t((t,r)=>N(e(t,r)).pipe(E((e,i)=>n(t,e,r,i))),r)):("number"==typeof n&&(r=n),t=>t.lift(new H(e,r)))}(y,t)}(e)(function(t,e){return e?V(t,e):new _(M(t))}(t,n));var i}function L(){return function(t){return t.lift(new B(t))}}class B{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new U(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class U extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class $ extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new d,t.add(this.source.subscribe(new G(this.getSubject(),this))),t.closed&&(this._connection=null,t=d.EMPTY)),t}refCount(){return L()(this)}}const q=(()=>{const t=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class G extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Z(){return new x}function W(t){return{toString:t}.toString()}function Q(t,e,n){return W(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const K=Q("Inject",t=>({token:t})),J=Q("Optional"),Y=Q("Self"),X=Q("SkipSelf");var tt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function et(t){for(let e in t)if(t[e]===et)return e;throw Error("Could not find renamed property on target object.")}function nt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function rt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function it(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ot(t){return st(t,t[lt])||st(t,t[dt])}function st(t,e){return e&&e.token===t?e:null}function at(t){return t&&(t.hasOwnProperty(ct)||t.hasOwnProperty(ht))?t[ct]:null}const lt=et({"\u0275prov":et}),ct=et({"\u0275inj":et}),ut=et({"\u0275provFallback":et}),dt=et({ngInjectableDef:et}),ht=et({ngInjectorDef:et});function pt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(pt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ft(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const gt=et({__forward_ref__:et});function mt(t){return t.__forward_ref__=mt,t.toString=function(){return pt(this())},t}function yt(t){return _t(t)?t():t}function _t(t){return"function"==typeof t&&t.hasOwnProperty(gt)&&t.__forward_ref__===mt}const bt="undefined"!=typeof globalThis&&globalThis,wt="undefined"!=typeof window&&window,vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ct="undefined"!=typeof global&&global,xt=bt||Ct||wt||vt,Ot=et({"\u0275cmp":et}),Et=et({"\u0275dir":et}),Tt=et({"\u0275pipe":et}),It=et({"\u0275mod":et}),Mt=et({"\u0275loc":et}),kt=et({"\u0275fac":et}),Pt=et({__NG_ELEMENT_ID__:et});class Dt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=rt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const At=new Dt("INJECTOR",-1),St={},Vt=/\n/gm,Nt=et({provide:String,useValue:et});let Rt,Ft=void 0;function Ht(t){const e=Ft;return Ft=t,e}function jt(t){const e=Rt;return Rt=t,e}function zt(t,e=tt.Default){if(void 0===Ft)throw new Error("inject() must be called from an injection context");return null===Ft?Bt(t,void 0,e):Ft.get(t,e&tt.Optional?null:void 0,e)}function Lt(t,e=tt.Default){return(Rt||zt)(yt(t),e)}function Bt(t,e,n){const r=ot(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&tt.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${pt(t)}]`)}function Ut(t){const e=[];for(let n=0;n<t.length;n++){const r=yt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=tt.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof J||"Optional"===i.ngMetadataName||i===J?n|=tt.Optional:i instanceof X||"SkipSelf"===i.ngMetadataName||i===X?n|=tt.SkipSelf:i instanceof Y||"Self"===i.ngMetadataName||i===Y?n|=tt.Self:t=i instanceof K||i===K?i.token:i}e.push(Lt(t,n))}else e.push(Lt(r))}return e}class $t{get(t,e=St){if(e===St){const e=new Error(`NullInjectorError: No provider for ${pt(t)}!`);throw e.name="NullInjectorError",e}return e}}class qt{}function Gt(t,e){t.forEach(t=>Array.isArray(t)?Gt(t,e):e(t))}function Zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Wt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Qt(t,e,n){let r=Jt(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Kt(t,e){const n=Jt(t,e);if(n>=0)return t[1|n]}function Jt(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?i=n:r=n+1}return~(i<<1)}(t,e)}const Yt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Xt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),te={},ee=[];let ne=0;function re(t){return W(()=>{const e=t.type,n=e.prototype,r={},i={type:e,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:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||ee,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Xt.Emulated,id:"c",styles:t.styles||ee,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,a=t.pipes;return i.id+=ne++,i.inputs=le(t.inputs,r),i.outputs=le(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(ie):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(oe):null,i})}function ie(t){return de(t)||function(t){return t[Et]||null}(t)}function oe(t){return function(t){return t[Tt]||null}(t)}const se={};function ae(t){const e={type:t.type,bootstrap:t.bootstrap||ee,declarations:t.declarations||ee,imports:t.imports||ee,exports:t.exports||ee,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&W(()=>{se[t.id]=t.type}),e}function le(t,e){if(null==t)return te;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const ce=re;function ue(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function de(t){return t[Ot]||null}function he(t,e){return t.hasOwnProperty(kt)?t[kt]:null}function pe(t,e){const n=t[It]||null;if(!n&&!0===e)throw new Error(`Type ${pt(t)} does not have '\u0275mod' property.`);return n}function fe(t){return Array.isArray(t)&&"object"==typeof t[1]}function ge(t){return Array.isArray(t)&&!0===t[1]}function me(t){return 0!=(8&t.flags)}function ye(t){return 2==(2&t.flags)}function _e(t){return 1==(1&t.flags)}function be(t){return null!==t.template}function we(t){return 0!=(512&t[2])}let ve=void 0;function Ce(){return void 0!==ve?ve:"undefined"!=typeof document?document:void 0}function xe(t){return!!t.listen}const Oe={createRenderer:(t,e)=>Ce()};function Ee(t){for(;Array.isArray(t);)t=t[0];return t}function Te(t,e){return Ee(e[t+20])}function Ie(t,e){return Ee(e[t.index])}function Me(t,e){return t.data[e+20]}function ke(t,e){return t[e+20]}function Pe(t,e){const n=e[t];return fe(n)?n:n[0]}function De(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ae(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Ve(t,e){return null===t||null==e?null:t[e]}function Ne(t){t[18]=0}function Re(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Fe={lFrame:on(null),bindingsEnabled:!0,checkNoChangesMode:!1};function He(){return Fe.bindingsEnabled}function je(){return Fe.lFrame.lView}function ze(){return Fe.lFrame.tView}function Le(t){Fe.lFrame.contextLView=t}function Be(){return Fe.lFrame.previousOrParentTNode}function Ue(t,e){Fe.lFrame.previousOrParentTNode=t,Fe.lFrame.isParent=e}function $e(){return Fe.lFrame.isParent}function qe(){Fe.lFrame.isParent=!1}function Ge(){return Fe.checkNoChangesMode}function Ze(t){Fe.checkNoChangesMode=t}function We(){const t=Fe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qe(){return Fe.lFrame.bindingIndex++}function Ke(t){const e=Fe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Je(t,e){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ye(e)}function Ye(t){Fe.lFrame.currentDirectiveIndex=t}function Xe(){return Fe.lFrame.currentQueryIndex}function tn(t){Fe.lFrame.currentQueryIndex=t}function en(t,e){const n=rn();Fe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function nn(t,e){const n=rn(),r=t[1];Fe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function rn(){const t=Fe.lFrame,e=null===t?null:t.child;return null===e?on(t):e}function on(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function sn(){const t=Fe.lFrame;return Fe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const an=sn;function ln(){const t=sn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function cn(){return Fe.lFrame.selectedIndex}function un(t){Fe.lFrame.selectedIndex=t}function dn(){const t=Fe.lFrame;return Me(t.tView,t.selectedIndex)}function hn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function pn(t,e,n){mn(t,e,3,n)}function fn(t,e,n,r){(3&t[2])===n&&mn(t,e,n,r)}function gn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function mn(t,e,n,r){const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&t[18]:0;s<e.length;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=r&&o>=r)break}else e[s]<0&&(t[18]+=65536),(o<i||-1==i)&&(yn(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function yn(t,e,n,r){const i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,o.call(s)):o.call(s)}class _n{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function bn(t,e,n){const r=xe(t);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,s):e.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];wn(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),i++}}return i}function wn(t){return 64===t.charCodeAt(0)}function vn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Cn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Cn(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function xn(t){return-1!==t}function On(t){return 32767&t}function En(t){return t>>16}function Tn(t,e){let n=En(t),r=e;for(;n>0;)r=r[15],n--;return r}function In(t){return"string"==typeof t?t:null==t?"":""+t}function Mn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():In(t)}const kn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(xt))();function Pn(t){return t instanceof Function?t():t}let Dn=!0;function An(t){const e=Dn;return Dn=t,e}let Sn=0;function Vn(t,e){const n=Rn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Nn(r.data,t),Nn(e,null),Nn(r.blueprint,null));const i=Fn(t,e),o=t.injectorIndex;if(xn(i)){const t=On(i),n=Tn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function Nn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Rn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Hn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[Pt]:n.charCodeAt(0)||0;null==r&&(r=n[Pt]=Sn++);const i=255&r,o=1<<i,s=64&i,a=32&i,l=e.data;128&i?s?a?l[t+7]|=o:l[t+6]|=o:a?l[t+5]|=o:l[t+4]|=o:s?a?l[t+3]|=o:l[t+2]|=o:a?l[t+1]|=o:l[t]|=o}(t,e,n)}function jn(t,e,n,r=tt.Default,i){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[Pt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof i){en(e,t);try{const t=i();if(null!=t||r&tt.Optional)return t;throw new Error(`No provider for ${Mn(n)}!`)}finally{an()}}else if("number"==typeof i){if(-1===i)return new Gn(t,e);let o=null,s=Rn(t,e),a=-1,l=r&tt.Host?e[16][6]:null;for((-1===s||r&tt.SkipSelf)&&(a=-1===s?Fn(t,e):e[s+8],qn(r,!1)?(o=e[1],s=On(a),e=Tn(a,e)):s=-1);-1!==s;){a=e[s+8];const t=e[1];if($n(i,s,t.data)){const t=Ln(s,e,n,o,r,l);if(t!==zn)return t}qn(r,e[1].data[s+8]===l)&&$n(i,s,e)?(o=t,s=On(a),e=Tn(a,e)):s=-1}}}if(r&tt.Optional&&void 0===i&&(i=null),0==(r&(tt.Self|tt.Host))){const t=e[9],o=jt(void 0);try{return t?t.get(n,i,r&tt.Optional):Bt(n,i,r&tt.Optional)}finally{jt(o)}}if(r&tt.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Mn(n)}]`)}const zn={};function Ln(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],l=Bn(a,s,n,null==r?ye(a)&&Dn:r!=s&&3===a.type,i&tt.Host&&o===a);return null!==l?Un(e,s,l,a):zn}function Bn(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=65535&o,l=t.directiveStart,c=o>>16,u=i?a+c:t.directiveEnd;for(let d=r?a:a+c;d<u;d++){const t=s[d];if(d<l&&n===t||d>=l&&t.type===n)return d}if(i){const t=s[l];if(t&&be(t)&&t.type===n)return l}return null}function Un(t,e,n,r){let i=t[n];const o=e.data;if(i instanceof _n){const s=i;if(s.resolving)throw new Error("Circular dep for "+Mn(o[n]));const a=An(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=jt(s.injectImpl)),en(t,r);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:i,doCheck:o}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{s.injectImpl&&jt(l),An(a),s.resolving=!1,an()}}return i}function $n(t,e,n){const r=64&t,i=32&t;let o;return o=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(o&1<<t)}function qn(t,e){return!(t&tt.Self||t&tt.Host&&e)}class Gn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return jn(this._tNode,this._lView,t,void 0,e)}}function Zn(t){const e=t;if(_t(t))return()=>{const t=Zn(yt(e));return t?t():null};let n=he(e);if(null===n){const t=at(e);n=t&&t.factory}return n||null}function Wn(t){return W(()=>{const e=t.prototype.constructor,n=e[kt]||Zn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[kt]||Zn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Qn(t){return t.ngDebugContext}function Kn(t){return t.ngOriginalError}function Jn(t,...e){t.error(...e)}class Yn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Jn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Qn(t)?Qn(t):this._findContext(Kn(t)):null}_findOriginalError(t){let e=Kn(t);for(;e&&Kn(e);)e=Kn(e);return e}}class Xn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}function tr(t){return t instanceof Xn?t.changingThisBreaksApplicationSecurity:t}function er(t,e){const n=function(t){return t instanceof Xn&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}let nr=!0,rr=!1;function ir(){return rr=!0,nr}class or{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const sr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ar=/^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 lr(t){return(t=String(t)).match(sr)||t.match(ar)?t:(ir()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function cr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ur(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const dr=cr("area,br,col,hr,img,wbr"),hr=cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pr=cr("rp,rt"),fr=ur(pr,hr),gr=ur(dr,ur(hr,cr("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")),ur(pr,cr("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")),fr),mr=cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yr=cr("srcset"),_r=ur(mr,yr,cr("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"),cr("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")),br=cr("script,style,template");class wr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;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);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!gr.hasOwnProperty(e))return this.sanitizedSomething=!0,!br.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,o=e.toLowerCase();if(!_r.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let s=t.value;mr[o]&&(s=lr(s)),yr[o]&&(r=s,s=(r=String(r)).split(",").map(t=>lr(t.trim())).join(", ")),this.buf.push(" ",e,'="',xr(s),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();gr.hasOwnProperty(e)&&!dr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const vr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cr=/([^\#-~ |!])/g;function xr(t){return t.replace(/&/g,"&").replace(vr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Cr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Or;function Er(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Tr=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();function Ir(t){const e=kr();return e?e.sanitize(Tr.HTML,t)||"":er(t,"HTML")?tr(t):function(t,e){let n=null;try{Or=Or||new or(t);let r=e?String(e):"";n=Or.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Or.getInertBodyElement(r)}while(r!==o);const s=new wr,a=s.sanitizeChildren(Er(n)||n);return ir()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Er(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(Ce(),In(t))}function Mr(t){const e=kr();return e?e.sanitize(Tr.URL,t)||"":er(t,"URL")?tr(t):lr(In(t))}function kr(){const t=je();return t&&t[12]}function Pr(t,e){t.__ngContext__=e}function Dr(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Ar(){throw new Error("Cannot mix multi providers and regular providers")}function Sr(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}function Vr(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Sr(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Nr(t){return 0===t.type&&"ng-template"!==t.tagName}function Rr(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function Fr(t,e,n){let r=4;const i=t.attrs||[],o=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(i);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Rr(t,l,n)||""===l&&1===e.length){if(Hr(r))return!1;s=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Vr(t.attrs,c,n)){if(Hr(r))return!1;s=!0}continue}const u=jr(8&r?"class":l,i,Nr(t),n);if(-1===u){if(Hr(r))return!1;s=!0;continue}if(""!==c){let t;t=u>o?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Sr(e,c,0)||2&r&&c!==t){if(Hr(r))return!1;s=!0}}}}else{if(!s&&!Hr(r)&&!Hr(l))return!1;if(s&&Hr(l))continue;s=!1,r=l|1&r}}return Hr(r)||s}function Hr(t){return 0==(1&t)}function jr(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function zr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Fr(t,e[r],n))return!0;return!1}function Lr(t,e){return t?":not("+e.trim()+")":e}function Br(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];i+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||Hr(s)||(e+=Lr(o,i),i=""),r=s,o=o||!Hr(r);n++}return""!==i&&(e+=Lr(o,i)),e}const Ur={};function $r(t){const e=t[3];return ge(e)?e[3]:e}function qr(t){return Zr(t[13])}function Gr(t){return Zr(t[4])}function Zr(t){for(;null!==t&&!ge(t);)t=t[4];return t}function Wr(t){Qr(ze(),je(),cn()+t,Ge())}function Qr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&pn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&fn(e,r,0,n)}un(n)}function Kr(t,e){return t<<17|e<<2}function Jr(t){return t>>17&32767}function Yr(t){return 2|t}function Xr(t){return(131068&t)>>2}function ti(t,e){return-131069&t|e<<2}function ei(t){return 1|t}function ni(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=t.data[o];tn(i),n.contentQueries(2,e[o],o)}}}function ri(t,e,n){return xe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ii(t,e,n,r,i,o,s,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,Ne(u),u[3]=u[15]=t,u[8]=n,u[10]=s||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=o,u[16]=2==e.type?t[16]:u,u}function oi(t,e,n,r,i,o){const s=n+20,a=t.data[s]||function(t,e,n,r,i,o){const s=Be(),a=$e(),l=a?s:s&&s.parent,c=t.data[n]=gi(0,l&&l!==e?l:null,r,n,i,o);return null===t.firstChild&&(t.firstChild=c),s&&(!a||null!=s.child||null===c.parent&&2!==s.type?a||(s.next=c):s.child=c),c}(t,e,s,r,i,o);return Ue(a,!0),a}function si(t,e,n){nn(e,e[6]);try{const r=t.viewQuery;null!==r&&Fi(1,r,n);const i=t.template;null!==i&&ci(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ni(t,e),t.staticViewQueries&&Fi(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Ai(t,e[n])}(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,ln()}}function ai(t,e,n,r){const i=e[2];if(256==(256&i))return;nn(e,e[6]);const o=Ge();try{Ne(e),Fe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&ci(t,e,n,2,r);const s=3==(3&i);if(!o)if(s){const n=t.preOrderCheckHooks;null!==n&&pn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&fn(e,n,0,null),gn(e,0)}if(function(t){for(let e=qr(t);null!==e;e=Gr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Re(r,1),n[2]|=1024}}}(e),function(t){for(let e=qr(t);null!==e;e=Gr(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Se(n)&&ai(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&ni(t,e),!o)if(s){const n=t.contentCheckHooks;null!==n&&pn(e,n)}else{const n=t.contentHooks;null!==n&&fn(e,n,1),gn(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,o=-1;for(let t=0;t<n.length;t++){const s=n[t];"number"==typeof s?s<=0?(o=0-s,un(o),r+=9+n[++t],i=r):r+=s:(null!==s&&(Je(r,i),s(2,e[i])),i++)}}}finally{un(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Di(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Fi(2,l,r),!o)if(s){const n=t.viewCheckHooks;null!==n&&pn(e,n)}else{const n=t.viewHooks;null!==n&&fn(e,n,2),gn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Re(e[3],-1))}finally{ln()}}function li(t,e,n,r){const i=e[10],o=!Ge(),s=Ae(e);try{o&&!s&&i.begin&&i.begin(),s&&si(t,e,r),ai(t,e,n,r)}finally{o&&!s&&i.end&&i.end()}}function ci(t,e,n,r,i){const o=cn();try{un(-1),2&r&&e.length>20&&Qr(t,e,0,Ge()),n(r,i)}finally{un(o)}}function ui(t,e,n){if(me(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function di(t,e,n){He()&&(function(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Vn(n,e),Pr(r,e);const s=n.initialInputs;for(let a=i;a<o;a++){const r=t.data[a],o=be(r);o&&Ii(e,n,r);const l=Un(e,t,a,n);Pr(l,e),null!==s&&Mi(0,a-i,l,r,0,s),o&&(Pe(n.index,e)[8]=l)}}(t,e,n,Ie(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=t.expandoInstructions,s=t.firstCreatePass,a=n.index-20,l=Fe.lFrame.currentDirectiveIndex;try{un(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];Ye(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?vi(r,i):s&&o.push(null)}}finally{un(-1),Ye(l)}}(t,e,n))}function hi(t,e,n=Ie){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}function pi(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=fi(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function fi(t,e,n,r,i,o,s,a,l,c){const u=20+r,d=u+i,h=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ur);return n}(u,d);return h[1]={type:t,id:e,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions: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:l,consts:c,incompleteFirstPass:!1}}function gi(t,e,n,r,i,o){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,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}}function mi(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function yi(t,e,n,r,i,o,s,a){const l=Ie(e,n);let c,u=e.inputs;var d;!a&&null!=u&&(c=u[r])?(Bi(t,n,c,r,i),ye(e)&&function(t,e){const n=Pe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(d=r)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,i=null!=s?s(i,e.tagName||"",r):i,xe(o)?o.setProperty(l,r,i):wn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function _i(t,e,n,r){let i=!1;if(He()){const o=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];zr(n,s.selectors,!1)&&(i||(i=[]),Hn(Vn(n,e),t,s.type),be(s)?(2&n.flags&&Dr(n),xi(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Ei(n,t.data.length,o.length);for(let t=0;t<o.length;t++){const e=o[t];e.providersResolver&&e.providersResolver(e)}Ci(t,n,o.length);let a=!1,l=!1;for(let i=0;i<o.length;i++){const c=o[i];n.mergedAttrs=vn(n.mergedAttrs,c.hostAttrs),Ti(t,e,c),Oi(t.data.length-1,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),bi(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,o=[];let s=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===i||Nr(e)?null:ki(n,i);o.push(c),s=mi(n,l,s),a=mi(t.outputs,l,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),wi(t,e,r)}s&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,s)}return n.mergedAttrs=vn(n.mergedAttrs,n.attrs),i}function bi(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function wi(t,e,n){for(let r=0;r<n;r++)e.push(Ur),t.blueprint.push(Ur),t.data.push(null)}function vi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ci(t,e,n){const r=20-e.index,i=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function xi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Oi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;be(e)&&(n[""]=t)}}function Ei(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ti(t,e,n){t.data.push(n);const r=n.factory||(n.factory=he(n.type)),i=new _n(r,be(n),null);t.blueprint.push(i),e.push(i)}function Ii(t,e,n){const r=Ie(e,t),i=pi(n),o=t[10],s=Si(t,ii(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n)));t[e.index]=s}function Mi(t,e,n,r,i,o){const s=o[e];if(null!==s){const t=r.setInput;for(let e=0;e<s.length;){const i=s[e++],o=s[e++],a=s[e++];null!==t?r.setInput(n,a,i,o):n[o]=a}}}function ki(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Pi(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Di(t,e){const n=Pe(e,t);if(Se(n)){const t=n[1];80&n[2]?ai(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=qr(e);null!==r;r=Gr(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];ai(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Pe(n[r],e);Se(i)&&i[5]>0&&t(i)}}(n)}}function Ai(t,e){const n=Pe(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),si(r,n,n[8])}function Si(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Vi(t){for(;t;){t[2]|=64;const e=$r(t);if(we(t)&&!e)return t;t=e}return null}function Ni(t,e,n){const r=e[10];r.begin&&r.begin();try{ai(t,e,t.template,n)}catch(i){throw Li(e,i),i}finally{r.end&&r.end()}}function Ri(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=De(n),i=r[1];li(i,r,i.template,n)}}(t[8])}function Fi(t,e,n){tn(0),e(t,n)}const Hi=(()=>Promise.resolve(null))();function ji(t){return t[7]||(t[7]=[])}function zi(t){return t.cleanup||(t.cleanup=[])}function Li(t,e){const n=t[9],r=n?n.get(Yn,null):null;r&&r.handleError(e)}function Bi(t,e,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=e[s],c=t.data[s];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function Ui(t,e){const n=e[3];return-1===t.index?ge(n)?n:null:n}function $i(t,e){const n=Ui(t,e);return n?eo(e[11],n[7]):null}function qi(t,e,n,r,i){if(null!=r){let o,s=!1;ge(r)?o=r:fe(r)&&(s=!0,r=r[0]);const a=Ee(r);0===t&&null!==n?null==i?Xi(e,n,a):Yi(e,n,a,i||null):1===t&&null!==n?Yi(e,n,a,i||null):2===t?function(t,e,n){const r=eo(t,e);r&&function(t,e,n,r){xe(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){const o=n[7];o!==Ee(n)&&qi(e,t,r,o,i);for(let s=10;s<n.length;s++){const i=n[s];oo(i[1],i,t,e,r,o)}}(e,t,o,n,i)}}function Gi(t,e,n,r){const i=$i(t.node,e);i&&oo(t,e,e[11],n?1:2,i,r)}function Zi(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&Re(e[3],-1),n.splice(r,1)}function Wi(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Zi(i,r),e>0&&(t[n-1][4]=r[4]);const o=Wt(t,10+e);Gi(r[1],r,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qi(t,e){if(!(256&e[2])){const n=e[11];xe(n)&&n.destroyNode&&oo(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ji(t[1],t);for(;e;){let n=null;if(fe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)fe(e)&&Ji(e[1],e),e=Ki(e,t);null===e&&(e=t),fe(e)&&Ji(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ki(t,e){let n;return fe(t)&&(n=t[6])&&2===n.type?Ui(n,t):t[3]===e?null:t[3]}function Ji(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof _n)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(e):Ee(e[i]),s=t[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&xe(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&ge(e[3])){r!==e[3]&&Zi(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Yi(t,e,n,r){xe(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Xi(t,e,n){xe(t)?t.appendChild(e,n):e.appendChild(n)}function to(t,e,n,r){null!==r?Yi(t,e,n,r):Xi(t,e,n)}function eo(t,e){return xe(t)?t.parentNode(e):e.parentNode}function no(t,e,n,r){const i=function(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?$i(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Ie(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Xt.ShadowDom&&n!==Xt.Native)return null}return Ie(r,n)}(t,r,e);if(null!=i){const t=e[11],o=function(t,e){if(2===t.type){const n=Ui(t,e);return null===n?null:ro(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Ie(t,e):null}(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)to(t,i,n[e],o);else to(t,i,n,o)}}function ro(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Ie(n,e);if(0===r)return ro(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return ge(t)?ro(-1,t):Ee(t)}}{const r=e[16],i=r[6],o=$r(r),s=i.projection[n.projection];return null!=s?t(o,s):t(e,n.next)}}return null}(t,r)}return e[7]}function io(t,e,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;s&&0===e&&(a&&Pr(Ee(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(io(t,e,n.child,r,i,o,!1),qi(e,t,i,a,o)):1===l?so(t,e,r,n,i,o):qi(e,t,i,a,o)),n=s?n.projectionNext:n.next}}function oo(t,e,n,r,i,o){io(n,r,t.node.child,e,i,o,!1)}function so(t,e,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)qi(e,t,i,a[l],o);else io(t,e,a,s[3],i,o,!0)}function ao(t,e,n){xe(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function lo(t,e,n){xe(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class co{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,i,o=!1){for(;null!==r;){const s=n[r.index];if(null!==s&&i.push(Ee(s)),ge(s))for(let e=10;e<s.length;e++){const n=s[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,i)}const a=r.type;if(4===a||5===a)t(e,n,r.child,i);else if(1===a){const e=n[16],o=e[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=$r(e);t(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Qi(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,ji(n=this._lView).push(r),e.firstCreatePass&&zi(e).push(n[7].length-1,null)}markForCheck(){Vi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ni(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ze(!0);try{Ni(t,e,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,oo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class uo extends co{constructor(t){super(t),this._view=t}detectChanges(){Ri(this._view)}checkNoChanges(){!function(t){Ze(!0);try{Ri(t)}finally{Ze(!1)}}(this._view)}get context(){return null}}let ho,po,fo;function go(t,e,n){return ho||(ho=class extends t{}),new ho(Ie(e,n))}function mo(t,e,n,r){return po||(po=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ii(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),si(e,n,t),new co(n)}}),0===n.type?new po(r,n,go(e,n,r)):null}function yo(t,e,n,r){let i;fo||(fo=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return go(e,this._hostTNode,this._hostView)}get injector(){return new Gn(this._hostTNode,this._hostView)}get parentInjector(){const t=Fn(this._hostTNode,this._hostView),e=Tn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=En(t),i=e,o=e[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(t,this._hostView,this._hostTNode);return xn(t)&&null!=n?new Gn(n,e):new Gn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){const t=o.get(qt,null);t&&(i=t)}const s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ge(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new fo(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r<o-10?(e[4]=n[i],Zt(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const s=e[17];null!==s&&n!==s&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,i),Gi(r,n,!0,ro(i,this._lContainer)),t.attachToViewContainerRef(this),Zt(this._lContainer[8],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=Wi(t,e);n&&Qi(n[1],n)}(this._lContainer,e),Wt(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Wi(this._lContainer,e);return n&&null!=Wt(this._lContainer[8],e)?new co(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(ge(o))i=o;else{let t;if(4===n.type)t=Ee(o);else if(t=r[11].createComment(""),we(r)){const e=r[11],i=Ie(n,r);Yi(e,eo(e,i),t,function(t,e){return xe(t)?t.nextSibling(e):e.nextSibling}(e,i))}else no(r[1],r,t,n);r[n.index]=i=Pi(o,r,t,n),Si(r,i)}return new fo(i,n,r)}const _o=new Dt("Set Injector scope."),bo={},wo={},vo=[];let Co=void 0;function xo(){return void 0===Co&&(Co=new $t),Co}function Oo(t,e=null,n=null,r){return new Eo(t,n,e||xo(),r)}class Eo{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&Gt(e,n=>this.processProvider(n,t,e)),Gt([t],t=>this.processInjectorType(t,[],i)),this.records.set(At,Mo(void 0,this));const o=this.records.get(_o);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:pt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=St,n=tt.Default){this.assertNotDestroyed();const r=Ht(this);try{if(!(n&tt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Dt)&&ot(t);e=n&&this.injectableDefInScope(n)?Mo(To(t),bo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&tt.Self?xo():this.parent).get(t,e=n&tt.Optional&&e===St?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(pt(t)),r)throw o;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=pt(e);if(Array.isArray(e))i=e.map(pt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):pt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Vt,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{Ht(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(pt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=yt(t)))return!1;let r=at(t);const i=null==r&&t.ngModule||void 0,o=void 0===i?t:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=at(i)),null==r)return!1;if(null!=r.imports&&!s){let t;n.push(o);try{Gt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Gt(r,t=>this.processProvider(t,n,r||vo))}}this.injectorDefTypes.add(o),this.records.set(o,Mo(r.factory,bo));const a=r.providers;if(null!=a&&!s){const e=t;Gt(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=Po(t=yt(t))?t:yt(t&&t.provide);const i=function(t,e,n){return ko(t)?Mo(void 0,t.useValue):Mo(Io(t,e,n),bo)}(t,e,n);if(Po(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Ar()}else{let e=this.records.get(r);e?void 0===e.multi&&Ar():(e=Mo(void 0,bo,!0),e.factory=()=>Ut(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===wo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(pt(t)):e.value===bo&&(e.value=wo,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}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function To(t){const e=ot(t),n=null!==e?e.factory:he(t);if(null!==n)return n;const r=at(t);if(null!==r)return r.factory;if(t instanceof Dt)throw new Error(`Token ${pt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${pt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[lt]||t[dt]||t[ut]&&t[ut]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Io(t,e,n){let r=void 0;if(Po(t)){const e=yt(t);return he(e)||To(e)}if(ko(t))r=()=>yt(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Ut(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Lt(yt(t.useExisting));else{const i=yt(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${pt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return he(i)||To(i);r=()=>new i(...Ut(t.deps))}var i;return r}function Mo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ko(t){return null!==t&&"object"==typeof t&&Nt in t}function Po(t){return"function"==typeof t}const Do=function(t,e,n){return function(t,e=null,n=null,r){const i=Oo(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Ao=(()=>{class t{static create(t,e){return Array.isArray(t)?Do(t,e,""):Do(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=St,t.NULL=new $t,t.\u0275prov=rt({token:t,providedIn:"any",factory:()=>Lt(At)}),t.__NG_ELEMENT_ID__=-1,t})(),So=new Map;const Vo=new Set;function No(t){return"string"==typeof t?t:t.text()}function Ro(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let s=0;s<e.length;s++){const t=e[s];"number"==typeof t?o=t:1==o?i=ft(i,t):2==o&&(r=ft(r,t+": "+e[++s]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}let Fo=null;function Ho(){if(!Fo){const t=xt.Symbol;if(t&&t.iterator)Fo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Fo=n)}}}return Fo}function jo(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class zo{constructor(t){this.wrapped=t}static wrap(t){return new zo(t)}static unwrap(t){return zo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof zo}}function Lo(t){return!!Bo(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ho()in t)}function Bo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Uo(t,e,n){return t[e]=n}function $o(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function qo(t,e,n,r){const i=je();return $o(i,Qe(),e)&&(ze(),function(t,e,n,r,i,o){const s=Ie(t,e),a=e[11];if(null==r)xe(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{const e=null==i?In(r):i(r,t.tagName||"",n);xe(a)?a.setAttribute(s,n,e,o):o?s.setAttributeNS(o,n,e):s.setAttribute(n,e)}}(dn(),i,t,e,n,r)),qo}function Go(t,e,n,r){return $o(t,Qe(),n)?e+In(n)+r:Ur}function Zo(t,e,n,r,i,o,s,a){const l=je(),c=ze(),u=t+20,d=c.firstCreatePass?function(t,e,n,r,i,o,s,a,l){const c=e.consts,u=oi(e,n[6],t,0,s||null,Ve(c,a));_i(e,n,u,Ve(c,l)),hn(e,u);const d=u.tViews=fi(2,-1,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),h=gi(0,null,2,-1,null,null);return h.injectorIndex=u.injectorIndex,d.node=h,null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(t,c,l,e,n,r,i,o,s):c.data[u];Ue(d,!1);const h=l[11].createComment("");no(c,l,h,d),Pr(h,l),Si(l,l[u]=Pi(h,l,h,d)),_e(d)&&di(c,l,d),null!=s&&hi(l,d,a)}function Wo(t){return ke(Fe.lFrame.contextLView,t)}function Qo(t,e=tt.Default){const n=je();return null==n?Lt(t,e):jn(Be(),n,yt(t),e)}function Ko(t,e,n){const r=je();return $o(r,Qe(),e)&&yi(ze(),dn(),r,t,e,r[11],n,!1),Ko}function Jo(t,e,n,r,i){const o=i?"class":"style";Bi(t,n,e.inputs[o],o,r)}function Yo(t,e,n,r){const i=je(),o=ze(),s=20+t,a=i[11],l=i[s]=ri(e,a,Fe.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,r,i,o,s){const a=e.consts,l=Ve(a,o),c=oi(e,n[6],t,3,i,l);return _i(e,n,c,Ve(a,s)),null!==c.attrs&&Ro(c,c.attrs,!1),null!==c.mergedAttrs&&Ro(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,o,i,0,e,n,r):o.data[s];Ue(c,!0);const u=c.mergedAttrs;null!==u&&bn(a,l,u);const d=c.classes;null!==d&&lo(a,l,d);const h=c.styles;null!==h&&ao(a,l,h),no(o,i,l,c),0===Fe.lFrame.elementDepthCount&&Pr(l,i),Fe.lFrame.elementDepthCount++,_e(c)&&(di(o,i,c),ui(o,c,i)),null!==r&&hi(i,c)}function Xo(){let t=Be();$e()?qe():(t=t.parent,Ue(t,!1));const e=t;Fe.lFrame.elementDepthCount--;const n=ze();n.firstCreatePass&&(hn(n,t),me(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Jo(n,e,je(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Jo(n,e,je(),e.stylesWithoutHost,!1)}function ts(t,e,n,r){Yo(t,e,n,r),Xo()}function es(t,e,n){const r=je(),i=ze(),o=t+20,s=i.firstCreatePass?function(t,e,n,r,i){const o=e.consts,s=Ve(o,r),a=oi(e,n[6],t,4,"ng-container",s);return null!==s&&Ro(a,s,!0),_i(e,n,a,Ve(o,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,i,r,e,n):i.data[o];Ue(s,!0);const a=r[o]=r[11].createComment("");no(i,r,a,s),Pr(a,r),_e(s)&&(di(i,r,s),ui(i,s,r)),null!=n&&hi(r,s)}function ns(){let t=Be();const e=ze();$e()?qe():(t=t.parent,Ue(t,!1)),e.firstCreatePass&&(hn(e,t),me(t)&&e.queries.elementEnd(t))}function rs(){return je()}function is(t){return!!t&&"function"==typeof t.then}function os(t,e,n=!1,r){const i=je(),o=ze(),s=Be();return function(t,e,n,r,i,o,s=!1,a){const l=_e(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=ji(e);let d=!0;if(3===r.type){const h=Ie(r,e),p=a?a(h):te,f=p.target||h,g=u.length,m=a?t=>a(Ee(t[r.index])).target:r.index;if(xe(n)){let s=null;if(!a&&l&&(s=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const t=i[o];if(t===n&&i[o+1]===r){const t=e[7],n=i[o+2];return t.length>n?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,i,r.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=as(r,e,o,!1);const t=n.listen(p.name||f,i,o);u.push(o,t),c&&c.push(i,m,g,g+1)}}else o=as(r,e,o,!0),f.addEventListener(i,o,s),u.push(o),c&&c.push(i,m,g,s)}const h=r.outputs;let p;if(d&&null!==h&&(p=h[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(o),s=u.length;u.push(o,t),c&&c.push(i,r.index,s,-(s+1))}}}(o,i,i[11],s,t,e,n,r),os}function ss(t,e,n){try{return!1!==e(n)}catch(r){return Li(t,r),!1}}function as(t,e,n,r){return function i(o){if(o===Function)return n;const s=2&t.flags?Pe(t.index,e):e;0==(32&e[2])&&Vi(s);let a=ss(e,n,o),l=i.__ngNextListenerFn__;for(;l;)a=ss(e,l,o)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function ls(t=1){return function(t){return(Fe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Fe.lFrame.contextLView))[8]}(t)}function cs(t,e,n){return us(t,"",e,"",n),cs}function us(t,e,n,r,i){const o=je(),s=Go(o,e,n,r);return s!==Ur&&yi(ze(),dn(),o,t,s,o[11],i,!1),us}const ds=[];function hs(t,e,n,r,i){const o=t[n+1],s=null===e;let a=r?Jr(o):Xr(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a+1];ps(t[a],e)&&(l=!0,t[a+1]=r?ei(n):Yr(n)),a=r?Jr(n):Xr(n)}l&&(t[n+1]=r?Yr(o):ei(o))}function ps(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jt(t,e)>=0}const fs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gs(t){return t.substring(fs.key,fs.keyEnd)}function ms(t,e){const n=fs.textEnd;return n===e?-1:(e=fs.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,fs.key=e,n),ys(t,e,n))}function ys(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function _s(t,e,n){return vs(t,e,n,!1),_s}function bs(t,e){return vs(t,e,null,!0),bs}function ws(t,e){for(let n=function(t){return function(t){fs.key=0,fs.keyEnd=0,fs.value=0,fs.valueEnd=0,fs.textEnd=t.length}(t),ms(t,ys(t,0,fs.textEnd))}(e);n>=0;n=ms(e,n))Qt(t,gs(e),!0)}function vs(t,e,n,r){const i=je(),o=ze(),s=Ke(2);if(o.firstUpdatePass&&xs(o,t,s,r),e!==Ur&&$o(i,s,e)){let a;null==n&&(a=function(){const t=Fe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),Ts(o,o.data[cn()+20],i,i[11],t,i[s+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=pt(tr(t)))),t}(e,n),r,s)}}function Cs(t,e){return e>=t.expandoStartIndex}function xs(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[cn()+20],s=Cs(t,n);ks(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=Fe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Es(n=Os(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Os(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Xr(r))return t[Jr(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Os(null,t,e,n[1],r),n=Es(n,e.attrs,r),function(t,e,n,r){t[Jr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else o=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++)r=Es(r,t[o].hostAttrs,n);return Es(r,e.attrs,n)}(t,e,r)}return void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o),n}(i,o,e,r),function(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Jr(s),l=Xr(s);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||Jt(t,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Jr(t[a+1]);t[r+1]=Kr(e,a),0!==e&&(t[e+1]=ti(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Kr(a,0),0!==a&&(t[a+1]=ti(t[a+1],r)),a=r;else t[r+1]=Kr(l,0),0===a?a=r:t[l+1]=ti(t[l+1],r),l=r;u&&(t[r+1]=Yr(t[r+1])),hs(t,c,r,!0),hs(t,c,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Jt(o,e)>=0&&(n[r+1]=ei(n[r+1]))}(e,c,t,r,o),s=Kr(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}function Os(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=e[a],r=Es(r,o.hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Es(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Qt(t,s,!!n||e[++o]))}return void 0===t?null:t}function Ts(t,e,n,r,i,o,s,a){if(3!==e.type)return;const l=t.data,c=l[a+1];Ms(1==(1&c)?Is(l,e,n,i,Xr(c),s):void 0)||(Ms(o)||function(t){return 2==(2&t)}(c)&&(o=Is(l,null,n,i,a,s)),function(t,e,n,r,i){const o=xe(t);if(e)i?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r);else{const e=-1==r.indexOf("-")?void 0:2;null==i?o?t.removeStyle(n,r,e):n.style.removeProperty(r):o?t.setStyle(n,r,i,e):n.style.setProperty(r,i)}}(r,s,Te(cn(),n),i,o))}function Is(t,e,n,r,i,o){const s=null===e;let a=void 0;for(;i>0;){const e=t[i],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[i+1];u===Ur&&(u=c?ds:void 0);let d=c?Kt(u,r):l===r?u:void 0;if(o&&!Ms(d)&&(d=Kt(e,r)),Ms(d)&&(a=d,s))return a;const h=t[i+1];i=s?Jr(h):Xr(h)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=Kt(t,r))}return a}function Ms(t){return void 0!==t}function ks(t,e){return 0!=(t.flags&(e?16:32))}function Ps(t,e=""){const n=je(),r=ze(),i=t+20,o=r.firstCreatePass?oi(r,n[6],t,3,null,null):r.data[i],s=n[i]=function(t,e){return xe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);no(r,n,s,o),Ue(o,!1)}function Ds(t){return As("",t,""),Ds}function As(t,e,n){const r=je(),i=Go(r,t,e,n);return i!==Ur&&function(t,e,n){const r=Te(e,t),i=t[11];xe(i)?i.setValue(r,n):r.textContent=n}(r,cn(),i),As}function Ss(t,e){const n=De(t)[1],r=n.data.length-1;hn(n,{directiveStart:r,directiveEnd:r+1})}function Vs(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(be(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Ns(t.inputs),e.declaredInputs=Ns(t.declaredInputs),e.outputs=Ns(t.outputs);const n=i.hostBindings;n&&Hs(t,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Rs(t,o),s&&Fs(t,s),nt(t.inputs,i.inputs),nt(t.declaredInputs,i.declaredInputs),nt(t.outputs,i.outputs),be(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=t.afterContentInit||i.afterContentInit,e.afterViewChecked=t.afterViewChecked||i.afterViewChecked,e.afterViewInit=t.afterViewInit||i.afterViewInit,e.doCheck=t.doCheck||i.doCheck,e.onDestroy=t.onDestroy||i.onDestroy,e.onInit=t.onInit||i.onInit}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===Vs&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=vn(i.hostAttrs,n=vn(n,i.hostAttrs))}}(r)}function Ns(t){return t===te?{}:t===ee?[]:t}function Rs(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Fs(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Hs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class js{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function zs(t){t.type.prototype.ngOnChanges&&(t.setInput=Ls,t.onChanges=function(){const t=Bs(this),e=t&&t.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Ls(t,e,n,r){const i=Bs(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:te,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new js(l&&l.currentValue,e,s===te),t[r]=e}function Bs(t){return t.__ngSimpleChanges__||null}function Us(t,e,n,r,i){if(t=yt(t),Array.isArray(t))for(let o=0;o<t.length;o++)Us(t[o],e,n,r,i);else{const o=ze(),s=je();let a=Po(t)?t:yt(t.provide),l=Io(t);const c=Be(),u=65535&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>16;if(Po(t)||!t.multi){const r=new _n(l,i,Qo),p=Gs(a,e,i?u:u+h,d);-1===p?(Hn(Vn(c,s),o,a),$s(o,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(r),s.push(r)):(n[p]=r,s[p]=r)}else{const p=Gs(a,e,u+h,d),f=Gs(a,e,u,u+h),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){Hn(Vn(c,s),o,a);const u=function(t,e,n,r,i){const o=new _n(t,n,Qo);return o.multi=[],o.index=e,o.componentProviders=0,qs(o,i,r&&!n),o}(i?Ws:Zs,n.length,i,r,l);!i&&m&&(n[f].providerFactory=u),$s(o,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(u),s.push(u)}else $s(o,t,p>-1?p:f,qs(n[i?f:p],l,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function $s(t,e,n,r){const i=Po(e);if(i||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=s.indexOf(n);-1===t?s.push(n,[r,o]):s[t+1].push(r,o)}else s.push(n,o)}}}function qs(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Gs(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Zs(t,e,n,r){return Qs(this.multi,[])}function Ws(t,e,n,r){const i=this.multi;let o;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Un(n,n[1],this.providerFactory.index,r);o=e.slice(0,t),Qs(i,o);for(let n=t;n<e.length;n++)o.push(e[n])}else o=[],Qs(i,o);return o}function Qs(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ks(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=ze();if(r.firstCreatePass){const i=be(t);Us(n,r.data,r.blueprint,i,!0),Us(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}zs.ngInherit=!0;class Js{}class Ys{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${pt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Xs=(()=>{class t{}return t.NULL=new Ys,t})(),ta=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ea(t),t})();const ea=function(t){return go(t,Be(),je())};class na{}const ra=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let ia=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>oa(),t})();const oa=function(){const t=je(),e=Pe(Be().index,t);return function(t){const e=t[11];if(xe(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(fe(e)?e:t)};let sa=(()=>{class t{}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>null}),t})();class aa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const la=new aa("9.1.13");class ca{constructor(){}supports(t){return Lo(t)}create(t){return new da(t)}}const ua=(t,e)=>e;class da{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ua}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex<ga(n,r,i)?e:n,s=ga(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;e<=o&&o<t&&(i[n]=r+1)}i[o.previousIndex]=e-t}}s!==a&&t(o,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Lo(t))throw new Error(`Error trying to diff '${pt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&jo(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,e)),jo(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),o=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ho()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&jo(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),jo(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(jo(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(jo(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new ha(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const 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)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new fa),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fa),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}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ha{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pa{constructor(){this._head=null,this._tail=null}add(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)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&jo(n.trackById,t))return n;return null}remove(t){const 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}}class fa{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new pa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ga(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class ma{constructor(){}supports(t){return t instanceof Map||Bo(t)}create(){return new ya}}class ya{constructor(){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}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Bo(t)))throw new Error(`Error trying to diff '${pt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const 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}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new _a(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let 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}}_maybeAddToChanges(t,e){jo(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class _a{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ba=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new X,new J]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>new t([new ca])}),t})(),wa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new X,new J]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=rt({token:t,providedIn:"root",factory:()=>new t([new ma])}),t})();const va=[new ma],Ca=new ba([new ca]),xa=new wa(va);let Oa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ea(t,ta),t})();const Ea=function(t,e){return mo(t,e,Be(),je())};let Ta=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ia(t,ta),t})();const Ia=function(t,e){return yo(t,e,Be(),je())},Ma={};class ka extends Xs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=de(t);return new Aa(e,this.ngModule)}}function Pa(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Da=new Dt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>kn});class Aa extends Js{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Br).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Pa(this.componentDef.inputs)}get outputs(){return Pa(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,Ma,i);return o!==Ma||r===Ma?o:e.get(n,r,i)}}}(t,r.injector):t,o=i.get(na,Oe),s=i.get(sa,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(xe(t))return t.selectRootElement(e,n===Xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):ri(l,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:kn,clean:Hi,playerHandler:null,flags:0},p=fi(0,-1,null,1,0,null,null,null,null,null),f=ii(null,p,h,u,null,null,o,a,s,i);let g,m;nn(f,null);try{const t=function(t,e,n,r,i,o){const s=n[1];n[20]=t;const a=oi(s,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ro(a,l,!0),null!==t&&(bn(i,t,l),null!==a.classes&&lo(i,t,a.classes),null!==a.styles&&ao(i,t,a.styles)));const c=r.createRenderer(t,e),u=ii(n,pi(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return s.firstCreatePass&&(Hn(Vn(a,n),s,e.type),xi(s,a),Ei(a,n.length,1)),Si(n,u),n[20]=u}(c,this.componentDef,f,o,a);if(c)if(n)bn(a,c,["ng-version",la.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!Hr(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&bn(a,c,t),e&&e.length>0&&lo(a,c,e.join(" "))}if(m=Me(p,0),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}g=function(t,e,n,r,i){const o=n[1],s=function(t,e,n){const r=Be();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ci(t,r,1),Ti(t,e,n));const i=Un(e,t,e.length-1,r);Pr(i,e);const o=Ie(r,e);return o&&Pr(o,e),i}(o,n,e);r.components.push(s),t[8]=s,i&&i.forEach(t=>t(s,e)),e.contentQueries&&e.contentQueries(1,s,n.length-1);const a=Be();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){un(a.index-20);const t=n[1];bi(t,e),wi(t,n,e.hostVars),vi(e,s)}return s}(t,this.componentDef,f,h,[Ss]),si(p,f,null)}finally{ln()}const y=new Sa(this.componentType,g,go(ta,m,f),f,m);return n&&!d||(p.node.child=m),y}}class Sa extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new uo(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=gi(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new Gn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Va=void 0;var Na=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["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"]],Va,[["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"]],Va,[["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}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ra={};function Fa(t){return t in Ra||(Ra[t]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[t]),Ra[t]}const Ha=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let ja="en-US";function za(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(ja=t.toLowerCase().replace(/_/g,"-"))}const La=new Map;class Ba extends qt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ka(this);const n=pe(t),r=t[Mt]||null;r&&za(r),this._bootstrapComponents=Pn(n.bootstrap),this._r3Injector=Oo(t,e,[{provide:qt,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],pt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ao.THROW_IF_NOT_FOUND,n=tt.Default){return t===Ao||t===qt||t===At?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ua extends class{}{constructor(t){super(),this.moduleType=t,null!==pe(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${pt(e)} vs ${pt(e.name)}`)})(t,La.get(t),e),La.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Ba(this.moduleType,t)}}function $a(t,e){const n=t[e];return n===Ur?void 0:n}class qa extends x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,o);return t instanceof d&&t.add(s),s}}function Ga(){return this._results[Ho()]()}class Za{constructor(){this.dirty=!0,this._results=[],this.changes=new qa,this.length=0;const t=Ho(),e=Za.prototype;e[t]||(e[t]=Ga)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Wa{constructor(t){this.queryList=t,this.matches=null}clone(){return new Wa(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qa{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Qa(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ol(t,e).matches&&this.queries[e].setDirty()}}class Ka{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Ja{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Ja(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ya{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ya(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,Xa(e,n[r]))}else{const n=this.metadata.predicate;n===Oa?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Bn(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ta||r===Ta||r===Oa&&0===e.type)this.addMatch(e.index,-2);else{const n=Bn(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Xa(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function tl(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?go(ta,t,e):0===t.type?mo(Oa,ta,t,e):null}(e,t):-2===n?function(t,e,n){return n===ta?go(ta,e,t):n===Oa?mo(Oa,ta,e,t):n===Ta?yo(Ta,ta,e,t):void 0}(t,e,r):Un(t,t[1],n,e)}function el(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;t<o.length;t+=2){const i=o[t];s.push(i<0?null:tl(e,r[i],o[t+1],n.metadata.read))}i.matches=s}return i.matches}function nl(t){const e=je(),n=ze(),r=Xe();tn(r+1);const i=ol(n,r);if(t.dirty&&Ae(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const o=i.crossesNgTemplate?function t(e,n,r,i){const o=e.queries.getByIndex(r),s=o.matches;if(null!==s){const a=el(e,n,o,r);for(let e=0;e<s.length;e+=2){const r=s[e];if(r>0)i.push(a[e/2]);else{const o=s[e+1],a=n[-r];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,o,i)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,o,i)}}}}}return i}(n,e,r,[]):el(n,e,i,r);t.reset(o),t.notifyOnChanges()}return!0}return!1}function rl(t,e,n,r,i,o){t.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Ja),t.queries.track(new Ya(e,-1))}(t,new Ka(n,r,o,i)),o&&(t.staticViewQueries=!0)),function(t,e){const n=new Za;!function(t,e,n,r){const i=ji(e);i.push(n),t.firstCreatePass&&zi(t).push(r,i.length-1)}(t,e,n,n.destroy),null===e[19]&&(e[19]=new Qa),e[19].queries.push(new Wa(n))}(t,e)}function il(){return t=je(),e=Xe(),t[19].queries[e].queryList;var t,e}function ol(t,e){return t.queries.getByIndex(e)}const sl=new Dt("Application Initializer");let al=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();is(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Lt(sl,8))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const ll=new Dt("AppId"),cl={provide:ll,useFactory:function(){return`${ul()}${ul()}${ul()}`},deps:[]};function ul(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const dl=new Dt("Platform Initializer"),hl=new Dt("Platform ID"),pl=new Dt("appBootstrapListener");let fl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const gl=new Dt("LocaleId"),ml=new Dt("DefaultCurrencyCode");class yl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const _l=function(t){return new Ua(t)},bl=_l,wl=function(t){return Promise.resolve(_l(t))},vl=function(t){const e=_l(t),n=Pn(pe(t).declarations).reduce((t,e)=>{const n=de(e);return n&&t.push(new Aa(n)),t},[]);return new yl(e,n)},Cl=vl,xl=function(t){return Promise.resolve(vl(t))};let Ol=(()=>{class t{constructor(){this.compileModuleSync=bl,this.compileModuleAsync=wl,this.compileModuleAndAllComponentsSync=Cl,this.compileModuleAndAllComponentsAsync=xl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const El=new Dt("compilerOptions"),Tl=(()=>Promise.resolve(0))();function Il(t){"undefined"==typeof Zone?Tl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ml{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qa(!1),this.onMicrotaskEmpty=new qa(!1),this.onStable=new qa(!1),this.onError=new qa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=xt.requestAnimationFrame,e=xt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xt,()=>{t.lastRequestAnimationFrameId=-1,Al(t),Dl(t)}),Al(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,o,s,a)=>{try{return Sl(t),n.invokeTask(i,o,s,a)}finally{e&&"eventTask"===o.type&&e(),Vl(t)}},onInvoke:(e,n,r,i,o,s,a)=>{try{return Sl(t),e.invoke(r,i,o,s,a)}finally{Vl(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Al(t),Dl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ml.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ml.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Pl,kl,kl);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function kl(){}const Pl={};function Dl(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(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Al(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Sl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Vl(t){t._nesting--,Dl(t)}class Nl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qa,this.onMicrotaskEmpty=new qa,this.onStable=new qa,this.onError=new qa}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Rl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ml.assertNotInAngularZone(),Il(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Il(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Lt(Ml))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Fl=(()=>{class t{constructor(){this._applications=new Map,zl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return zl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class Hl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let jl,zl=new Hl,Ll=function(t,e,n){const r=t.get(El,[]).concat(e),i=new Ua(n);if(0===So.size)return Promise.resolve(i);const o=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===o.length)return Promise.resolve(i);const s=function(){const t=xt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=Ao.create({providers:o}).get(s.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(No))}return e}return So.forEach((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then(e=>{t.template=e}));const o=t.styleUrls,s=t.styles||(t.styles=[]),a=t.styles.length;o&&o.forEach((e,n)=>{s.push(""),i.push(r(e).then(r=>{s[a+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(t){Vo.delete(t)}(n));e.push(l)}),So=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const Bl=new Dt("AllowMultipleToken");function Ul(t,e,n=[]){const r="Platform: "+e,i=new Dt(r);return(e=[])=>{let o=$l();if(!o||o.injector.get(Bl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:_o,useValue:"platform"});!function(t){if(jl&&!jl.destroyed&&!jl.injector.get(Bl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");jl=t.get(ql);const e=t.get(dl,null);e&&e.forEach(t=>t())}(Ao.create({providers:t,name:r}))}return function(t){const e=$l();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function $l(){return jl&&!jl.destroyed?jl:null}let ql=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Nl:("zone.js"===t?void 0:t)||new Ml({enableLongStackTrace:ir(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Ml,useValue:n}];return n.run(()=>{const e=Ao.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),o=i.injector.get(Yn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Wl(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,n){try{const r=n();return is(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=i.injector.get(al);return t.runInitializers(),t.donePromise.then(()=>(za(i.injector.get(gl,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Gl({},e);return Ll(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Zl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${pt(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)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Lt(Ao))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();function Gl(t,e){return Array.isArray(e)?e.reduce(Gl,t):Object.assign(Object.assign({},t),e)}let Zl=(()=>{class t{constructor(t,e,n,r,i,o){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ir(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ml.assertNotInAngularZone(),Il(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ml.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=z(s,a.pipe(t=>{return L()((e=Z,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){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.");let n;n=t instanceof Js?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(qt),i=n.create(Ao.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Rl,null);return o&&i.injector.get(Fl).registerApplication(i.location.nativeElement,o),this._loadComponent(i),ir()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Wl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(pl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Wl(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Lt(Ml),Lt(fl),Lt(Ao),Lt(Yn),Lt(Xs),Lt(al))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();function Wl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Ql=Ul(null,"core",[{provide:hl,useValue:"unknown"},{provide:ql,deps:[Ao]},{provide:Fl,deps:[]},{provide:fl,deps:[]}]),Kl=[{provide:Zl,useClass:Zl,deps:[Ml,fl,Ao,Yn,Xs,al]},{provide:Da,deps:[Ml],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:al,useClass:al,deps:[[new J,sl]]},{provide:Ol,useClass:Ol,deps:[]},cl,{provide:ba,useFactory:function(){return Ca},deps:[]},{provide:wa,useFactory:function(){return xa},deps:[]},{provide:gl,useFactory:function(t){return za(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new K(gl),new J,new X]]},{provide:ml,useValue:"USD"}];let Jl=(()=>{class t{constructor(t){}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(Zl))},providers:Kl}),t})(),Yl=null;function Xl(){return Yl}const tc=new Dt("DocumentToken"),ec=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class nc{}let rc=(()=>{class t extends nc{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Fa(e);if(n)return n;const r=e.split("-")[0];if(n=Fa(r),n)return n;if("en"===r)return Na;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Ha.PluralCase]}(e||this.locale)(t)){case ec.Zero:return"zero";case ec.One:return"one";case ec.Two:return"two";case ec.Few:return"few";case ec.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Lt(gl))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),ic=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(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&&(Lo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+pt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Qo(ba),Qo(wa),Qo(ta),Qo(ia))},t.\u0275dir=ce({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class oc{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let sc=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){ir()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new oc(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new ac(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new ac(t,i);e.push(o)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ta),Qo(Oa),Qo(ba))},t.\u0275dir=ce({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ac{constructor(t,e){this.record=t,this.view=e}}let lc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new cc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){uc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){uc("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ta),Qo(Oa))},t.\u0275dir=ce({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class cc{constructor(){this.$implicit=null,this.ngIf=null}}function uc(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${pt(e)}'.`)}let dc=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=hc){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(Qo(wa))},t.\u0275pipe=ue({name:"keyvalue",type:t,pure:!1}),t})();function hc(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),o=String(r);return i==o?0:i<o?-1:1}let pc=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},providers:[{provide:nc,useClass:rc}]}),t})();function fc(t){t=Number(t);const e=Math.floor(t/3600),n=Math.floor(t%3600/60),r=Math.floor(t%3600%60);return(e>0?e.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(r>0?("0"+r.toString()).slice(-2):"00")}let gc=(()=>{class t{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){const t=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval(()=>{const e=(new Date).getTime()/1e3,n=Math.floor(e-this.holdCounterData.currentHoldStartTime/1e3);this.displayTime=fc(n)+"/"+fc(t+n)},1e3))}CaculatePastHoldDuration(){let t=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach(e=>{t+=(e.endTime-e.startTime)/1e3}),t}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-holdtimer"]],inputs:{holdCounterData:"holdCounterData",statusText:"statusText",callId:"callId"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","HoldCallDuration/TotalHoldCallDuration","type","text","tabindex","-1","title","Hold Duration",1,"holdCallDurationTimer",3,"value"]],template:function(t,e){1&t&&(Yo(0,"div",0),ts(1,"input",1),Xo()),2&t&&(Wr(1),Ko("value",e.displayTime),qo("aria-labelledby",e.labelledByText||null))},styles:[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})(),mc=(()=>{class t{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const t=this.startTime,e=(new Date).getTime()/1e3,n=Math.floor(e-t/1e3);this.displayTime=Math.floor(n/60)+":"+("0"+n%60).slice(-2)},1e3))}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-duration"]],inputs:{statusText:"statusText",callId:"callId",startTime:"startTime"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","CallDuration","type","text","tabindex","-1","title","Call Duration",1,"block","durationInput",3,"value"]],template:function(t,e){1&t&&(Yo(0,"div",0),ts(1,"input",1),Xo()),2&t&&(Wr(1),Ko("value",e.displayTime),qo("aria-labelledby",e.labelledByText||null))},styles:[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();var yc=function(t){return t.AGENT="AGENT",t.OTHER_PERSON="OTHER_PERSON",t.INFORMATION="INFORMATION",t}({}),_c=function(t){return t[t.STRING=0]="STRING",t[t.COUNTER=1]="COUNTER",t}({});function bc(t,e){if(1&t&&ts(0,"input",2),2&t){const t=ls();Ko("name",t.processedDisplayValue)("title",t.title||null)("value",t.processedDisplayValue),qo("aria-labelledby",t.labelledByText||null)}}function wc(t,e){if(1&t){const t=rs();Yo(0,"input",3),os("click",(function(){Le(t);const e=ls();return e.property.customOperations.handler(e.property.customOperations.eventName,e.property.customOperations.eventMetadata)})),Xo()}if(2&t){const t=ls();Ko("name",t.processedDisplayValue)("title",t.title||null)("value",t.processedDisplayValue),qo("aria-labelledby",t.labelledByText||null)}}let vc=(()=>{class t{constructor(){this.labelledByText="",this.title="",this._timerId=null,this.processedDisplayValue=""}ngOnInit(){this.statusText&&this.callType?this.labelledByText=`${this.statusText} ${this.callType}`:this.statusText?this.labelledByText=this.statusText:this.callType&&(this.labelledByText=this.callType),this.callType&&this.callId?this.title=`${this.callType} ${this.callId}`:this.callType?this.title=this.callType:this.callId&&(this.title=this.callId),this.initValues()}initValues(){this.property.displayValueType===_c.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const t=this.property.displayValue,e=(new Date).getTime()/1e3,n=Math.floor(e-t/1e3);this.processedDisplayValue=fc(n)},1e3))}ngOnDestroy(){this.property.displayValueType===_c.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-property"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",property:"property"},decls:2,vars:2,consts:[["readonly","","class","displayData","tabindex","0","type","text",3,"name","title","value",4,"ngIf"],["readonly","","class","cursor displayData","type","text","tabindex","0",3,"name","title","value","click",4,"ngIf"],["readonly","","tabindex","0","type","text",1,"displayData",3,"name","title","value"],["readonly","","type","text","tabindex","0",1,"cursor","displayData",3,"name","title","value","click"]],template:function(t,e){1&t&&(Zo(0,bc,1,4,"input",0),Zo(1,wc,1,4,"input",1)),2&t&&(Ko("ngIf",!e.property.customOperations),Wr(1),Ko("ngIf",e.property.customOperations))},directives:[lc],styles:["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function Cc(t,e){if(1&t){const t=rs();Yo(0,"img",2),os("click",(function(){const t=e.$implicit;return t.handler(t.operationName,t.operationMetadata)}))("keypress",(function(n){Le(t);const r=e.$implicit;return ls().operationKeypress(n,r)})),Xo()}if(2&t){const t=e.$implicit,n=ls();Ko("title",t.title)("src",t.icon,Mr),qo("aria-label",t.title)("accesskey",t.accesskey||null)("aria-labelledby",n.labelledByText||null)("aria-describedby",n.describedByText||null)}}let xc=(()=>{class t{constructor(){this.labelledByText="",this.describedByText=""}ngOnInit(){this.statusText&&this.callType?this.describedByText=`${this.statusText} ${this.callType}`:this.statusText?this.describedByText=this.statusText:this.callType&&(this.describedByText=this.callType),this.callId&&(this.labelledByText=this.callId)}operationKeypress(t,e){"Enter"===t.code&&e.handler(e.operationName,e.operationMetadata)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-operation"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",operations:"operations"},decls:2,vars:1,consts:[[1,"callOptions"],["class","AnswerCallImages","tabindex","0","role","button",3,"title","src","click","keypress",4,"ngFor","ngForOf"],["tabindex","0","role","button",1,"AnswerCallImages",3,"title","src","click","keypress"]],template:function(t,e){1&t&&(Yo(0,"div",0),Zo(1,Cc,1,6,"img",1),Xo()),2&t&&(Wr(1),Ko("ngForOf",e.operations))},directives:[sc],styles:[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:1px}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function Oc(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a<r;a++){const l=N(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,s++),i[a]=t},error:t=>n.error(t),complete:()=>{o++,o!==r&&c||(s===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const Ec=new Dt("NgValueAccessor"),Tc={provide:Ec,useExisting:mt(()=>Ic),multi:!0};let Ic=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Ks([Tc])]}),t})();const Mc={provide:Ec,useExisting:mt(()=>Pc),multi:!0},kc=new Dt("CompositionEventMode");let Pc=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Xl()?Xl().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta),Qo(kc,8))},t.\u0275dir=ce({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&os("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[Ks([Mc])]}),t})(),Dc=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t}),t})(),Ac=(()=>{class t extends Dc{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Sc(e||t)},t.\u0275dir=ce({type:t,features:[Vs]}),t})();const Sc=Wn(Ac);function Vc(){throw new Error("unimplemented")}class Nc extends Dc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return Vc()}get asyncValidator(){return Vc()}}class Rc{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let Fc=(()=>{class t extends Rc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(Nc,2))},t.\u0275dir=ce({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&bs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Vs]}),t})(),Hc=(()=>{class t extends Rc{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ac,2))},t.\u0275dir=ce({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&bs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Vs]}),t})();function jc(t){return null==t||0===t.length}const zc=new Dt("NgValidators"),Lc=new Dt("NgAsyncValidators"),Bc=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Uc{static min(t){return e=>{if(jc(e.value)||jc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(jc(e.value)||jc(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return jc(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return jc(t.value)||Bc.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(jc(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return Uc.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(jc(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter($c);return 0==e.length?null:function(t){return Gc(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter($c);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return Oc(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Oc(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Oc(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(E(t=>e(...t)))}return Oc(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(qc)).pipe(E(Gc))}}}function $c(t){return null!=t}function qc(t){const e=is(t)?N(t):t;if(!(n=e)||"function"!=typeof n.subscribe)throw new Error("Expected validator to return Promise or Observable.");var n;return e}function Gc(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Zc(t){return t.validate?e=>t.validate(e):t}function Wc(t){return t.validate?e=>t.validate(e):t}const Qc={provide:Ec,useExisting:mt(()=>Kc),multi:!0};let Kc=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ks([Qc])]}),t})();const Jc={provide:Ec,useExisting:mt(()=>Xc),multi:!0};let Yc=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Xc=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Nc),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta),Qo(Yc),Qo(Ao))},t.\u0275dir=ce({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ks([Jc])]}),t})();const tu={provide:Ec,useExisting:mt(()=>eu),multi:!0};let eu=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ks([tu])]}),t})();const nu='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',ru='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',iu={provide:Ec,useExisting:mt(()=>ou),multi:!0};let ou=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=jo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([iu])]}),t})();const su={provide:Ec,useExisting:mt(()=>au),multi:!0};let au=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=jo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia),Qo(ta))},t.\u0275dir=ce({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&os("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ks([su])]}),t})();function lu(t,e){return[...e.path,t]}function cu(t,e){t||du(e,"Cannot find control with"),e.valueAccessor||du(e,"No value accessor for form control with"),t.validator=Uc.compose([t.validator,e.validator]),t.asyncValidator=Uc.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&uu(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&uu(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function uu(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function du(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function hu(t){return null!=t?Uc.compose(t.map(Zc)):null}function pu(t){return null!=t?Uc.composeAsync(t.map(Wc)):null}const fu=[Ic,eu,Kc,ou,au,Xc];function gu(t){const e=yu(t)?t.validators:t;return Array.isArray(e)?hu(e):e||null}function mu(t,e){const n=yu(e)?e.asyncValidators:t;return Array.isArray(n)?pu(n):n||null}function yu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class _u{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=gu(t)}setAsyncValidators(t){this.asyncValidator=mu(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(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(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(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(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=qc(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(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;let r=t;return e.forEach(t=>{r=r instanceof wu?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof vu&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new qa,this.statusChanges=new qa}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){yu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class bu extends _u{constructor(t=null,e,n){super(gu(e),mu(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(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}}class wu extends _u{constructor(t,e,n){super(gu(e),mu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof bu?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,r)=>{e=e||this.contains(r)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class vu extends _u{constructor(t,e,n){super(gu(e),mu(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof bu?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Cu={provide:Ac,useExisting:mt(()=>Ou)},xu=(()=>Promise.resolve(null))();let Ou=(()=>{class t extends Ac{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new qa,this.form=new wu({},hu(t),pu(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){xu.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),cu(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){xu.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this._directives,t)})}addFormGroup(t){xu.then(()=>{const e=this._findContainer(t.path),n=new wu({});(function(t,e){null==t&&du(e,"Cannot find control with"),t.validator=Uc.compose([t.validator,e.validator]),t.asyncValidator=Uc.composeAsync([t.asyncValidator,e.asyncValidator])})(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){xu.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){xu.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(Qo(zc,10),Qo(Lc,10))},t.\u0275dir=ce({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&os("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ks([Cu]),Vs]}),t})(),Eu=(()=>{class t extends Ac{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return lu(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return hu(this._validators)}get asyncValidator(){return pu(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return Tu(e||t)},t.\u0275dir=ce({type:t,features:[Vs]}),t})();const Tu=Wn(Eu);class Iu{static modelParentException(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${nu}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${ru}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${nu}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${ru}`)}}const Mu={provide:Ac,useExisting:mt(()=>ku)};let ku=(()=>{class t extends Eu{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof Ou||Iu.modelGroupParentException()}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ac,5),Qo(zc,10),Qo(Lc,10))},t.\u0275dir=ce({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Ks([Mu]),Vs]}),t})();const Pu={provide:Nc,useExisting:mt(()=>Au)},Du=(()=>Promise.resolve(null))();let Au=(()=>{class t extends Nc{constructor(t,e,n,r){super(),this.control=new bu,this._registered=!1,this.update=new qa,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||du(t,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return e.forEach(e=>{var o;e.constructor===Pc?n=e:(o=e,fu.some(t=>o.constructor===t)?(r&&du(t,"More than one built-in value accessor matches form control with"),r=e):(i&&du(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(du(t,"No valid value accessor for form control with"),null)}(this,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!jo(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?lu(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return hu(this._rawValidators)}get asyncValidator(){return pu(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){cu(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof ku)&&this._parent instanceof Eu?Iu.formGroupNameException():this._parent instanceof ku||this._parent instanceof Ou||Iu.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Iu.missingNameException()}_updateValue(t){Du.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Du.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Qo(Ac,9),Qo(zc,10),Qo(Lc,10),Qo(Ec,10))},t.\u0275dir=ce({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ks([Pu]),Vs,zs]}),t})(),Su=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Vu={provide:zc,useExisting:mt(()=>Nu),multi:!0};let Nu=(()=>{class t{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?Uc.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ce({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&qo("required",e.required?"":null)},inputs:{required:"required"},features:[Ks([Vu])]}),t})(),Ru=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)}}),t})(),Fu=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},providers:[Yc],imports:[Ru]}),t})();function Hu(t,e){if(1&t){const t=rs();Yo(0,"img",7),os("error",(function(){Le(t);const e=ls();return e.image=e.fallbackImage})),Xo()}if(2&t){const t=ls();_s("border-color",t.color),Ko("src",t.image,Mr)}}function ju(t,e){if(1&t&&(Yo(0,"span",8),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.username)}}function zu(t,e){if(1&t&&(Yo(0,"span",9),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.timestamp)}}let Lu=(()=>{class t{constructor(){this.alignRight=!1,this.focusOn=new qa}ngOnInit(){this.focusOn.emit(!0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["app-chat-message"]],inputs:{message:"message",alignRight:"alignRight",username:"username",color:"color",timestamp:"timestamp",image:"image",fallbackImage:"fallbackImage"},outputs:{focusOn:"focusOn"},decls:9,vars:10,consts:[[1,"message-header"],["class","image",3,"src","border-color","error",4,"ngIf"],["class","username",4,"ngIf"],[1,"message-body-container"],[1,"message-body"],[3,"innerHTML"],["class","timestamp",4,"ngIf"],[1,"image",3,"src","error"],[1,"username"],[1,"timestamp"]],template:function(t,e){1&t&&(Yo(0,"div"),Yo(1,"div",0),Zo(2,Hu,1,3,"img",1),Zo(3,ju,2,1,"span",2),Xo(),Yo(4,"div",3),Yo(5,"div"),Yo(6,"div",4),ts(7,"span",5),Xo(),Xo(),Xo(),Zo(8,zu,2,1,"span",6),Xo()),2&t&&(function(t,e,n,r){const i=ze(),o=Ke(2);i.firstUpdatePass&&xs(i,null,o,!0);const s=je();if(n!==Ur&&$o(s,o,n)){const r=i.data[cn()+20];if(ks(r,!0)&&!Cs(i,o)){let t=r.classesWithoutHost;null!==t&&(n=ft(t,n||"")),Jo(i,r,s,n,!0)}else!function(t,e,n,r,i,o,s,a){i===Ur&&(i=ds);let l=0,c=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const s=l<i.length?i[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let p=null,f=void 0;u===d?(l+=2,c+=2,s!==h&&(p=d,f=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,f=h),null!==p&&Ts(t,e,n,r,p,f,!0,a),u=l<i.length?i[l]:null,d=c<o.length?o[c]:null}}(i,r,s,s[11],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return ds;const r=[],i=tr(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else"string"==typeof i&&e(r,i);return r}(t,e,n),0,o)}}(Qt,ws,e.alignRight?"message right-message":"message left-message"),Wr(2),Ko("ngIf",e.image),Wr(1),Ko("ngIf",e.username),Wr(3),_s("background-color",e.color)("border-color",e.color),Wr(1),Ko("innerHTML",e.message,Ir),Wr(1),Ko("ngIf",e.timestamp))},directives:[lc],styles:['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.timestamp[_ngcontent-%COMP%]{font-size:10px;margin-right:30px;margin-left:30px}.message-header[_ngcontent-%COMP%]{display:flex;-webkit-text-emphasis:none;text-emphasis:none;font-style:italic;font-size:.7em;align-items:center;margin-bottom:.5em}.message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:30px;border-radius:50%;border:2px solid red}.message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{font-weight:700}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-right:1px}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-left:5px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{margin-left:1px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-right:5px}.message-body-container[_ngcontent-%COMP%]{display:flex}.right-message[_ngcontent-%COMP%] > .message-body-container[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-body[_ngcontent-%COMP%]{display:inline-block;position:relative;border-radius:1em;padding:6px;font-style:normal;font-size:.8em;text-align:start;min-width:2em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.left-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid #000;border-color:inherit;border-right:10px solid transparent;border-bottom:10px solid transparent;left:1px;bottom:-2px}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid transparent;border-top:10px solid #000;border-top-color:inherit;border-bottom:0 solid transparent;right:1px;bottom:-2px}']}),t})();const Bu=["MessagesContainer"],Uu=["autofocus"];function $u(t,e){if(1&t){const t=rs();es(0),Yo(1,"app-chat-message",9),os("focusOn",(function(e){return Le(t),ls().setOnFocus(e)})),Xo(),ns()}if(2&t){const t=e.$implicit,n=ls();Wr(1),Ko("alignRight",n.shouldAlignRight(t))("message",t.text)("username",t.username)("timestamp",t.timestamp)("image",t.userIcon)("fallbackImage",n.settings.fallbackUserIcon)("color",n.getColor(t))}}function qu(t,e){1&t&&(Yo(0,"div",10),Ps(1," Someone is typing "),ts(2,"span"),ts(3,"span"),ts(4,"span"),Xo())}let Gu=(()=>{class t{constructor(t){this.renderer=t,this.isTyping=!1,this.lastCount=-1,this._isAgentTyping=!1,this.isAgentTyping=new qa,this.newMessage=new qa,this.newMessageText="",this.usernameToColor={},this.colors=["#c2c4c4","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#2db0e0"}ngOnInit(){this.renderer.selectRootElement("#autofocus").focus()}ngAfterViewInit(){this.renderer.selectRootElement("#autofocus").focus()}updatedMessage(){try{return void 0!==this.newMsgs&&this.newMsgs.length>0?this.newMsgs:this.messages}catch(t){}finally{this.scrollToBottom()}}ngAfterViewChecked(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollToBottom())}getColor(t){return t.type&&t.type===yc.AGENT?this.agentColor:t.username?(this.usernameToColor[t.username]||(this.usernameToColor[t.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[t.username]):this.colors[0]}shouldAlignRight(t){return t.type&&t.type===yc.AGENT}sendNewMessage(t){t.preventDefault(),this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText=""),this.renderer.selectRootElement("#autofocus").focus()}setOnFocus(t){this.renderer.selectRootElement("#autofocus").focus()}onNewMessageFocus(t){const e=t&&this.newMessageText.length>0;e!==this._isAgentTyping&&(this._isAgentTyping=e,this.isAgentTyping.emit(e))}onKeyup(){const t=this.newMessageText.length>0;t!==this._isAgentTyping&&(this._isAgentTyping=t,this.isAgentTyping.emit(t))}scrollToBottom(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch(t){}}}return t.\u0275fac=function(e){return new(e||t)(Qo(ia))},t.\u0275cmp=re({type:t,selectors:[["app-chat-box"]],viewQuery:function(t,e){var n,r;1&t&&(r=Bu,rl(ze(),je(),r,!0,void 0,!0),function(t,e,n){rl(ze(),je(),t,!0,void 0,!1)}(Uu)),2&t&&(nl(n=il())&&(e.messagesContainer=n.first),nl(n=il())&&(e.autofocus=n.first))},inputs:{settings:"settings",isTyping:"isTyping",messages:"messages",newMsgs:"newMsgs"},outputs:{isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:10,vars:7,consts:[[1,"chat-box"],["id","msgScroll",1,"messages"],["MessagesContainer",""],[4,"ngFor","ngForOf"],["class","typing-indicator",4,"ngIf"],[1,"message-box"],["id","autofocus","tabindex","1","type","text","placeholder","Type a message...",1,"message-input","scroll",3,"ngModel","disabled","ngModelChange","focus","keydown.enter","keyup"],["NewMessageText",""],["type","submit",1,"message-submit",3,"disabled","click"],[1,"chat-line",3,"alignRight","message","username","timestamp","image","fallbackImage","color","focusOn"],[1,"typing-indicator"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1,2),Zo(3,$u,2,7,"ng-container",3),Zo(4,qu,5,0,"div",4),Xo(),Yo(5,"div",5),Yo(6,"textarea",6,7),os("ngModelChange",(function(t){return e.newMessageText=t}))("focus",(function(){return e.onNewMessageFocus(!0)}))("keydown.enter",(function(t){return e.sendNewMessage(t)}))("keyup",(function(){return e.onKeyup()})),Xo(),Yo(8,"button",8),os("click",(function(t){return e.sendNewMessage(t)})),Ps(9,"Send"),Xo(),Xo(),Xo()),2&t&&(Wr(1),_s("max-height",e.settings.maxHeight),Wr(2),Ko("ngForOf",e.updatedMessage()),Wr(1),Ko("ngIf",e.isTyping),Wr(2),Ko("ngModel",e.newMessageText)("disabled",e.settings.disableSendMessage),Wr(2),Ko("disabled",e.settings.disableSendMessage))},directives:[sc,lc,Pc,Fc,Au,Lu],styles:[".message-box[_ngcontent-%COMP%]{flex:1 1 0;width:99%;background:#fff;margin:auto;position:relative;border-radius:5px;height:100%;border:1px solid #ccc}.message-box[_ngcontent-%COMP%] .message-input[_ngcontent-%COMP%]{background:none;border:none;outline:none!important;resize:none;font-family:inherit;font-size:.8rem;height:100%;margin:0;padding:10px 7px;width:89%;color:#444}.message-box[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus:-webkit-placeholder{color:transparent}.message-box[_ngcontent-%COMP%] .message-submit[_ngcontent-%COMP%]{position:absolute;z-index:1;top:26px;right:5px;background:#1e72ba;border:none;color:#fff;font-size:10px;line-height:1;padding:6px 10px;border-radius:5px;outline:none!important;transition:background .2s ease;cursor:pointer}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.chat-box[_ngcontent-%COMP%]{background-color:#f4f5fb;padding:5px}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.chat-line[_ngcontent-%COMP%]{margin-bottom:15px}.new-message[_ngcontent-%COMP%]{border-top:1px solid #000;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#f4f5fb;border:none;min-width:0}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]{position:relative;top:50%;transform:translateY(-50%);height:20px;cursor:pointer}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]:disabled{opacity:.5;cursor:auto}.new-message[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.typing-indicator[_ngcontent-%COMP%]{font-size:.8em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:4px;width:4px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{animation:blink 1.5s .33333s infinite}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){animation:blink 1.5s .66666s infinite}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){animation:blink 1.5s .99999s infinite}@keyframes blink{50%{opacity:1}}"]}),t})();function Zu(t,e){if(1&t&&(Yo(0,"label",12),Ps(1),Xo()),2&t){const t=ls();Wr(1),Ds(t.interaction.UIHeadersData.directionText)}}function Wu(t,e){if(1&t&&(Yo(0,"div",13),ts(1,"amc-holdtimer",14),Xo()),2&t){const t=ls();Wr(1),Ko("holdCounterData",t.interaction.UIHeadersData.holdCounterData)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)}}function Qu(t,e){if(1&t){const t=rs();Yo(0,"img",15),os("click",(function(){return Le(t),ls().minimize()}))("keypress",(function(e){return Le(t),ls().collapseKeypress(e)})),Xo()}2&t&&Ko("src",ls().interaction.UIHeadersData.minimizeUrl,Mr)}function Ku(t,e){if(1&t){const t=rs();Yo(0,"img",16),os("click",(function(){return Le(t),ls().maximize()}))("keypress",(function(e){return Le(t),ls().expandKeypress(e)})),Xo()}2&t&&Ko("src",ls().interaction.UIHeadersData.maximizeUrl,Mr)}function Ju(t,e){if(1&t&&(Yo(0,"div",17),ts(1,"amc-duration",18),Xo()),2&t){const t=ls();Wr(1),Ko("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("startTime",t.interaction.startTime)}}function Yu(t,e){if(1&t&&(es(0),Yo(1,"label",27),Ps(2),Xo(),ts(3,"amc-property",28),ns()),2&t){const t=ls().$implicit,e=ls(3);Wr(1),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",e.interaction.UIHeadersData.directionText)("statusText",e.interaction.UIHeadersData.statusText)("callId",e.interaction.subheaderData.value)("property",t)}}function Xu(t,e){if(1&t&&(es(0),Zo(1,Yu,4,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function td(t,e){if(1&t&&(es(0),Yo(1,"div",29),Yo(2,"label",30),Ps(3),Xo(),ts(4,"amc-property",28),Xo(),ns()),2&t){const t=ls().$implicit,e=ls(3);Wr(2),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",e.interaction.UIHeadersData.directionText)("statusText",e.interaction.UIHeadersData.statusText)("callId",e.interaction.subheaderData.value)("property",t)}}function ed(t,e){if(1&t&&(es(0),Zo(1,td,5,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function nd(t,e){if(1&t&&ts(0,"amc-operation",31),2&t){const t=ls(3);Ko("callType",t.interaction.UIHeadersData.directionText)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("operations",t.interaction.operations)}}function rd(t,e){if(1&t){const t=rs();Yo(0,"app-chat-box",32),os("isAgentTyping",(function(e){return Le(t),ls(3).isAgentTyping.emit(e)}))("newMessage",(function(e){return Le(t),ls(3).newMessage.emit(e)})),Xo()}if(2&t){const t=ls(3);Ko("isTyping",t.interaction.chat.isCustomerTyping)("settings",t.interaction.chat.settings)("messages",t.interaction.chat.messages)("newMsgs",t.newMsgs)}}function id(t,e){if(1&t&&ts(0,"amc-operation",33),2&t){const t=ls(3);Ko("callType",t.interaction.UIHeadersData.directionText)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("operations",t.interaction.operations)}}function od(t,e){if(1&t&&(Yo(0,"div"),Yo(1,"div",19),ts(2,"input",20),ts(3,"input",21),Xo(),Yo(4,"div",22),Zo(5,Xu,2,1,"ng-container",23),Zo(6,ed,2,1,"ng-container",23),Xo(),Zo(7,nd,1,4,"amc-operation",24),Zo(8,rd,1,4,"app-chat-box",25),ts(9,"div",4),Zo(10,id,1,4,"amc-operation",26),Xo()),2&t){const t=ls(2);Wr(2),Ko("src",t.interaction.subheaderData.image.href,Mr)("title",t.interaction.subheaderData.tooltip||""),Wr(1),Ko("value",t.interaction.subheaderData.value)("id",t.interaction.subheaderData.value),qo("aria-labelledby",t.interaction.UIHeadersData.statusText+" "+t.interaction.subheaderData.value),Wr(2),Ko("ngForOf",t.interaction.properties),Wr(1),Ko("ngForOf",t.interaction.associatedData),Wr(1),Ko("ngIf",t.interaction.chat),Wr(1),Ko("ngIf",t.interaction.chat),Wr(1),Ko("id",t.interaction.interactionId),Wr(1),Ko("ngIf",!t.interaction.chat)}}function sd(t,e){if(1&t&&(es(0),Yo(1,"label",27),Ps(2),Xo(),ts(3,"amc-property",28),ns()),2&t){const t=ls().$implicit,e=ls().$implicit,n=ls(3);Wr(1),Ko("title",t.displayKey),Wr(1),Ds(t.displayKey),Wr(1),Ko("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",e.header.value)("property",t)}}function ad(t,e){if(1&t&&(es(0),Zo(1,sd,4,6,"ng-container",11),ns()),2&t){const t=e.$implicit;Wr(1),Ko("ngIf",t.visible)}}function ld(t,e){if(1&t&&(Yo(0,"div"),Yo(1,"div",19),ts(2,"input",20),ts(3,"input",34),Xo(),Yo(4,"div",35),Zo(5,ad,2,1,"ng-container",23),Xo(),ts(6,"amc-operation",33),ts(7,"div",36),Xo()),2&t){const t=e.$implicit,n=ls(3);Wr(2),Ko("src",t.header.image.href,Mr)("title",t.header.tooltip||""),Wr(1),Ko("value",t.header.value),Wr(2),Ko("ngForOf",t.properties),Wr(1),Ko("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",t.header.value)("operations",t.operations)}}function cd(t,e){if(1&t&&(Yo(0,"div"),Zo(1,ld,8,8,"div",23),ts(2,"amc-operation",33),Xo()),2&t){const t=ls(2);Wr(1),Ko("ngForOf",t.interaction.parties),Wr(1),Ko("callType",t.interaction.UIHeadersData.directionText)("statusText",t.interaction.UIHeadersData.statusText)("callId",t.interaction.subheaderData.value)("operations",t.interaction.operations)}}function ud(t,e){if(1&t&&(Yo(0,"div"),Zo(1,od,11,11,"div",11),Zo(2,cd,3,5,"div",11),Xo()),2&t){const t=ls();Wr(1),Ko("ngIf",!t.isConferenceCall()),Wr(1),Ko("ngIf",t.isConferenceCall())}}let dd=(()=>{class t{constructor(){this.minimizedChanged=new qa,this.isAgentTyping=new qa,this.newMessage=new qa,this._minimized=!1}set _minimized(t){this.minimized=t,this.minimizedChanged.emit(t)}get _minimized(){return this.minimized}ngOnInit(){}minimize(){this._minimized=!0}maximize(){this._minimized=!1}isConferenceCall(){return!!(this.interaction.parties&&this.interaction.parties.length>1)}collapseKeypress(t){"Enter"===t.code&&this.minimize()}expandKeypress(t){"Enter"===t.code&&this.maximize()}clickEvent(t){document.getElementById(t).className="success",null===localStorage.getItem("focusedPanel")?localStorage.setItem("focusedPanel",t):localStorage.getItem("focusedPanel")!=t&&(document.getElementById(localStorage.getItem("focusedPanel")).className="AnswerCallFocused",localStorage.setItem("focusedPanel",t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-interaction"]],inputs:{interaction:"interaction",newMsgs:"newMsgs"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:14,vars:10,consts:[[1,"AnswerCallFocused",3,"id"],[1,"editor","callHeaderTop",3,"click"],["aria-hidden","true",1,"statusImage",3,"src","click"],[1,"statusText"],[3,"id"],[1,"verticalDivider"],["class","directionText",4,"ngIf"],["class","holdCallDurationDiv",4,"ngIf"],["class","ViewExpandImage","alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",3,"src","click","keypress",4,"ngIf"],["class","ViewCollapseImage","alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",3,"src","click","keypress",4,"ngIf"],["class","DurationDiv",4,"ngIf"],[4,"ngIf"],[1,"directionText"],[1,"holdCallDurationDiv"],[3,"holdCounterData","statusText","callId"],["alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",1,"ViewExpandImage",3,"src","click","keypress"],["alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",1,"ViewCollapseImage",3,"src","click","keypress"],[1,"DurationDiv"],[3,"statusText","callId","startTime"],[1,"editor","phoneNumberContainer"],["type","image","tabindex","-1",1,"callImage",3,"src","title"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value","id"],[1,"cadSection"],[4,"ngFor","ngForOf"],["id","close-chat",3,"callType","statusText","callId","operations",4,"ngIf"],[3,"isTyping","settings","messages","newMsgs","isAgentTyping","newMessage",4,"ngIf"],[3,"callType","statusText","callId","operations",4,"ngIf"],[1,"col1",3,"title"],[1,"col2",3,"callType","statusText","callId","property"],[1,"editor","displayDiv"],[1,"displayLabels",3,"title"],["id","close-chat",3,"callType","statusText","callId","operations"],[3,"isTyping","settings","messages","newMsgs","isAgentTyping","newMessage"],[3,"callType","statusText","callId","operations"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value"],[1,"grid-container"],[1,"AnswerCallFocused"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1),os("click",(function(){return e.clickEvent(e.interaction.interactionId)})),Yo(2,"img",2),os("click",(function(){return e.interaction.UIHeadersData.focusHandler.handler(e.interaction.UIHeadersData.focusHandler.operationName,e.interaction.UIHeadersData.focusHandler.operationMetadata)})),Xo(),Yo(3,"label",3),Yo(4,"b",4),Ps(5),Xo(),Xo(),Yo(6,"label",5),Ps(7,"|"),Xo(),Zo(8,Zu,2,1,"label",6),Zo(9,Wu,2,3,"div",7),Zo(10,Qu,1,1,"img",8),Zo(11,Ku,1,1,"img",9),Zo(12,Ju,2,3,"div",10),Xo(),Zo(13,ud,3,2,"div",11),Xo()),2&t&&(Ko("id",e.interaction.interactionId),Wr(2),Ko("src",e.interaction.UIHeadersData.statusUrl,Mr),Wr(2),Ko("id",e.interaction.UIHeadersData.statusText),Wr(1),Ds(e.interaction.UIHeadersData.statusText),Wr(3),Ko("ngIf",!e.interaction.UIHeadersData.displayHoldCounter),Wr(1),Ko("ngIf",e.interaction.UIHeadersData.displayHoldCounter),Wr(1),Ko("ngIf",!e._minimized),Wr(1),Ko("ngIf",e._minimized),Wr(1),Ko("ngIf",e.interaction.displayCallTimer),Wr(1),Ko("ngIf",!e._minimized))},directives:[lc,gc,mc,sc,vc,xc,Gu],styles:["[_nghost-%COMP%]{display:block}.phoneNumberContainer[_ngcontent-%COMP%]{margin-left:5px!important;padding-left:0;display:flex;align-items:center}.cadSection[_ngcontent-%COMP%]{margin-bottom:5px}#close-chat[_ngcontent-%COMP%]{-moz-text-align-last:end;text-align-last:end}.grid-container[_ngcontent-%COMP%]{margin-left:5px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;max-width:calc(100% - 5px);overflow:hidden}.col1[_ngcontent-%COMP%]{grid-column:1/2}.col2[_ngcontent-%COMP%]{grid-column:2/3}.ViewExpandImage[_ngcontent-%COMP%]{margin:3px}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:0}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:0}.callImage[_ngcontent-%COMP%]{cursor:default}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}#call123[_ngcontent-%COMP%]{border:4px!important}.success[_ngcontent-%COMP%]{border:2px solid #00adbb!important}","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();function hd(t,e){if(1&t){const t=rs();Yo(0,"amc-interaction",2),os("minimizedChanged",(function(){return Le(t),ls(2).onMinimizedChanged()}))("isAgentTyping",(function(e){return Le(t),ls(2).isAgentTyping.emit(e)}))("newMessage",(function(e){return Le(t),ls(2).newMessage.emit(e)})),Xo()}if(2&t){const t=e.$implicit,n=ls(2);Ko("interaction",t)("newMsgs",n.newMsgs)}}function pd(t,e){if(1&t&&(es(0),Zo(1,hd,1,2,"amc-interaction",1),ns()),2&t){const t=ls();Wr(1),Ko("ngForOf",t.scenario.interactions)}}let fd=(()=>{class t{constructor(){this.minimizedChanged=new qa,this.isAgentTyping=new qa,this.newMessage=new qa,this.afterViewChecked=new qa}ngAfterViewChecked(){this.afterViewChecked.emit()}onMinimizedChanged(){this.minimizedChanged.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-scenario"]],inputs:{scenario:"scenario",newMsgs:"newMsgs"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage",afterViewChecked:"afterViewChecked"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"interaction","newMsgs","minimizedChanged","isAgentTyping","newMessage",4,"ngFor","ngForOf"],[3,"interaction","newMsgs","minimizedChanged","isAgentTyping","newMessage"]],template:function(t,e){1&t&&Zo(0,pd,2,1,"ng-container",0),2&t&&Ko("ngIf",e.scenario&&e.scenario.interactions)},directives:[lc,sc,dd],styles:["","body[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:5px;margin:0}.login[_ngcontent-%COMP%]{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor[_ngcontent-%COMP%]{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor[_ngcontent-%COMP%] .standalone-line[_ngcontent-%COMP%]{width:90%!important;text-align:center!important}.editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{float:left;width:30%;margin-left:2%;color:#000;margin-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .editorHyperLink[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.95em;text-align:left;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:0}.editorHyperLink[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{width:60%;margin:0 5% 0 0;color:#318fc5;cursor:pointer;border:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages[_ngcontent-%COMP%]{height:20px;margin:0 5px 2px}.AnswerCallFocused[_ngcontent-%COMP%]{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;box-sizing:border-box}.ViewCollapseImage[_ngcontent-%COMP%], .ViewExpandImage[_ngcontent-%COMP%]{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle[_ngcontent-%COMP%]{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop[_ngcontent-%COMP%]{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage[_ngcontent-%COMP%]{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText[_ngcontent-%COMP%]{float:left;margin-top:1px}.displayDiv[_ngcontent-%COMP%]{width:100%;display:flex}.DurationDiv[_ngcontent-%COMP%]{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels[_ngcontent-%COMP%]{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData[_ngcontent-%COMP%]{border:0;outline:none}.callOptions[_ngcontent-%COMP%]{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText[_ngcontent-%COMP%]{font-size:.8em;margin-left:2px}.phoneNumberValue[_ngcontent-%COMP%]{font-weight:700;font-size:1em;margin-left:5px}.durationInput[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%;text-align:right}.topBorder[_ngcontent-%COMP%]{border-top:1px solid #939598}.holdCallDurationDiv[_ngcontent-%COMP%]{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer[_ngcontent-%COMP%]{background-color:transparent;border:0;width:100%}.verticalDivider[_ngcontent-%COMP%]{margin-left:2px;float:left}.callImage[_ngcontent-%COMP%]{height:20px}"]}),t})();const gd=(()=>{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),md={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return md.schedule(t,0);if(void 0===window.requestAnimationFrame)return md.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function yd(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return gd.call(t,e)}(t,e)||(r=n,0))),r}class _d{constructor(t,e){this.componentFactory=e.get(Xs).resolveComponentFactory(t)}create(t){return new bd(this.componentFactory,t)}}class bd{constructor(t,e){this.componentFactory=t,this.injector=e,this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set}connect(t){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)}disconnect(){null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=md.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))}getInputValue(t){return null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t]}setInputValue(t,e){var n,r;null!==this.componentRef?((n=e)!==(r=this.getInputValue(t))&&(n==n||r==r)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)}initializeComponent(t){const e=Ao.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((t,e)=>"*"===t&&(i=e,!0));for(let o=0,s=n.length;o<s;++o){const t=n[o],s=yd(t,e,i);-1!==s&&r[s].push(t)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Zl).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.implementsOnChanges&&this.unchangedInputs.add(t),this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(E(t=>({name:n,value:t}))));this.events=z(...e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=md.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const r=this.unchangedInputs.has(t);this.unchangedInputs.delete(t);const i=r?void 0:this.getInputValue(t);this.inputChanges[t]=new js(i,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}}class wd extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function vd(t,e){const n=function(t,e){return e.get(Xs).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new _d(t,e.injector),i=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var r;e[(r=n,r.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class o extends wd{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=r.create(this.injector||e.injector),i=n.filter(({propName:t})=>this.hasOwnProperty(t)).map(({propName:t})=>[t,this[t]]);this instanceof o?i.forEach(([t])=>delete this[t]):Cd(n,this),i.forEach(([e,n])=>t.setInputValue(e,n))}return this._ngElementStrategy}attributeChangedCallback(t,e,n,r){this.ngElementStrategy.setInputValue(i[t],n)}connectedCallback(){this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const r=t.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!1,n),r}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}}return o.observedAttributes=Object.keys(i),Cd(n,o.prototype),o}function Cd(t,e){t.forEach(({propName:t})=>{Object.defineProperty(e,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})})}class xd extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new xd,Yl||(Yl=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Ed||(Ed=document.querySelector("base"),Ed)?Ed.getAttribute("href"):null;return null==e?null:(n=e,Od||(Od=document.createElement("a")),Od.setAttribute("href",n),"/"===Od.pathname.charAt(0)?Od.pathname:"/"+Od.pathname);var n}resetBaseElement(){Ed=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Od,Ed=null;const Td=new Dt("TRANSITION_ID"),Id=[{provide:sl,useFactory:function(t,e,n){return()=>{n.get(al).donePromise.then(()=>{const n=Xl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Td,tc,Ao],multi:!0}];class Md{static init(){var t;t=new Md,zl=t}addToWindow(t){xt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},xt.getAllAngularTestabilities=()=>t.getAllTestabilities(),xt.getAllAngularRootElements=()=>t.getAllRootElements(),xt.frameworkStabilizers||(xt.frameworkStabilizers=[]),xt.frameworkStabilizers.push(t=>{const e=xt.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Xl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const kd=new Dt("EventManagerPlugins");let Pd=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(Lt(kd),Lt(Ml))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class Dd{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Xl().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Ad=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})(),Sd=(()=>{class t extends Ad{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Xl().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Lt(tc))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Vd={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/"},Nd=/%COMP%/g;function Rd(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?Rd(t,i,n):(i=i.replace(Nd,t),n.push(i))}return n}function Fd(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Hd=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new jd(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new zd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Xt.Native:case Xt.ShadowDom:return new Ld(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Rd(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Lt(Pd),Lt(Sd),Lt(ll))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();class jd{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Vd[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=Vd[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Vd[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&ra.DashCase?t.style.setProperty(e,n,r&ra.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ra.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Fd(n)):this.eventManager.addEventListener(t,e,Fd(n))}}class zd extends jd{constructor(t,e,n,r){super(t),this.component=n;const i=Rd(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Nd,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Nd,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Ld extends jd{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Xt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Rd(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const t=document.createElement("style");t.textContent=i[o],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Bd=(()=>{class t extends Dd{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Lt(tc))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Ud=["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"},qd={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"},Gd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Zd=(()=>{class t extends Dd{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xl().onAndCancel(e,i.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let o="";if(Ud.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&qd.hasOwnProperty(e)&&(e=qd[e]))}return $d[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ud.forEach(r=>{r!=n&&(0,Gd[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Lt(tc))},t.\u0275prov=rt({token:t,factory:t.\u0275fac}),t})();const Wd=Ul(Ql,"browser",[{provide:hl,useValue:"browser"},{provide:dl,useValue:function(){xd.makeCurrent(),Md.init()},multi:!0},{provide:tc,useFactory:function(){return function(t){ve=t}(document),document},deps:[]}]),Qd=[[],{provide:_o,useValue:"root"},{provide:Yn,useFactory:function(){return new Yn},deps:[]},{provide:kd,useClass:Bd,multi:!0,deps:[tc,Ml,hl]},{provide:kd,useClass:Zd,multi:!0,deps:[tc]},[],{provide:Hd,useClass:Hd,deps:[Pd,Sd,ll]},{provide:na,useExisting:Hd},{provide:Ad,useExisting:Sd},{provide:Sd,useClass:Sd,deps:[tc]},{provide:Rl,useClass:Rl,deps:[Ml]},{provide:Pd,useClass:Pd,deps:[kd,Ml]},[]];let Kd=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:ll,useValue:e.appId},{provide:Td,useExisting:ll},Id]}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(t,12))},providers:Qd,imports:[pc,Jl]}),t})();"undefined"!=typeof window&&window;class Jd{constructor(t,e){this.strategy=t,this.injector=e,this.ngZone=this.injector.get(Ml)}connect(t){this.runInZone(()=>{this.strategy.connect(t)}),this.events=this.strategy.events}disconnect(){this.runInZone(()=>{this.strategy.disconnect()})}getInputValue(t){return this.runInZone(()=>this.strategy.getInputValue(t))}setInputValue(t,e){this.runInZone(()=>{this.strategy.setInputValue(t,e)})}runInZone(t){return this.ngZone.run(t)}}let Yd=(()=>{class t{constructor(t,e){this.component=t,this.injector=e,this.ngElement=vd(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}string4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}generateName(){let e="dummy-name-n";return e=e+(t.counter+"-")+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),t.counter++,e}create(t){let e=new this.ngElement(this.injector);const n=e.ngElementStrategy;return e=null,new Jd(n,this.injector)}}return t.counter=1,t})();const Xd=function(t,e){return{"disposition-label-selected":t,"first-disposition":e}};function th(t,e){if(1&t){const t=rs();Yo(0,"div",5),Yo(1,"label",6),os("keypress",(function(n){Le(t);const r=e.$implicit;return ls().selectAndSubmitDisposition(n,r.key)})),Yo(2,"input",7),os("change",(function(){return Le(t),ls().submitDisposition()}))("ngModelChange",(function(e){return Le(t),ls().selectedDispositionValue=e})),Xo(),Ps(3),Xo(),Xo()}if(2&t){const t=e.$implicit,a=e.index,l=ls();Wr(1),Ko("id",t.key)("ngClass",(n=8,r=Xd,i=l.selectedDispositionValue===t.key,o=0===a,function(t,e,n,r,i,o,s){const a=e+n;return function(t,e,n,r){const i=$o(t,e,n);return $o(t,e+1,r)||i}(t,a,i,o)?Uo(t,a+2,s?r.call(s,i,o):r(i,o)):$a(t,a+2)}(je(),We(),n,r,i,o,s))),Wr(1),cs("value",t.key),Ko("required",!l.selectedDispositionValue)("name",l.dispositionName)("ngModel",l.selectedDispositionValue),qo("aria-label",t.value),Wr(1),As(" ",t.value," ")}var n,r,i,o,s}let eh=(()=>{class t{constructor(){this.dispositionEmitter=new qa,this.selectedDispositionValue="",this.dispositionName=""}ngOnInit(){for(const t of this.disposition.dispositionMetadata)if("callId"===t.key){this.dispositionName="disposition_"+t.value;break}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)}submitDisposition(){const t={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(t)}selectAndSubmitDisposition(t,e){"Enter"===t.code&&(this.selectedDispositionValue=e,this.submitDisposition())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-disposition"]],inputs:{disposition:"disposition"},outputs:{dispositionEmitter:"dispositionEmitter"},decls:7,vars:4,consts:[[1,"disposition-container"],[1,"header-container"],["attr.aria-label","set disposition",1,"disposition-header"],[1,"dispositions-container"],["class","disposition",4,"ngFor","ngForOf"],[1,"disposition"],["tabindex","0",1,"disposition-label",3,"id","ngClass","keypress"],["type","radio","tabindex","-1",1,"disposition-input",3,"value","required","name","ngModel","change","ngModelChange"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"div",1),Yo(2,"label",2),Ps(3),Xo(),Xo(),Yo(4,"div",3),Zo(5,th,4,11,"div",4),function(t,e){const n=ze();let r;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const t=e[n];if("keyvalue"===t.name)return t}throw new Error("The pipe 'keyvalue' could not be found!")}(0,n.pipeRegistry),n.data[26]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(26,r.onDestroy)):r=n.data[26];const i=r.factory||(r.factory=he(r.type)),o=jt(Qo),s=An(!1),a=i();An(s),jt(o),function(t,e,n,r){26>=t.data.length&&(t.data[26]=null,t.blueprint[26]=null),e[26]=r}(n,je(),0,a)}(),Xo(),Xo()),2&t&&(Wr(3),Ds(e.disposition.dispositionHeader),Wr(2),Ko("ngForOf",function(t,e,n){const r=je(),i=ke(r,t);return function(t,e){return zo.isWrapped(e)&&(e=zo.unwrap(e),t[Fe.lFrame.bindingIndex]=Ur),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?function(t,e,n,r,i,o){const s=e+n;return $o(t,s,i)?Uo(t,s+1,o?r.call(o,i):r(i)):$a(t,s+1)}(r,We(),e,i.transform,n,i):i.transform(n))}(6,2,e.disposition.disposition)))},directives:[sc,ic,Xc,Pc,Nu,Fc,Au],pipes:[dc],styles:[".disposition-container[_ngcontent-%COMP%]{border:1px solid #939598;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:180px}.disposition-container[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%]{white-space:nowrap;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:sticky}.disposition-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:.9em;font-family:Arial;overflow-x:hidden}.disposition[_ngcontent-%COMP%]{margin-left:5px;padding-left:5px;white-space:nowrap}.disposition-label[_ngcontent-%COMP%]{font-weight:400;overflow-x:hidden}.disposition-label[_ngcontent-%COMP%], .disposition-label-selected[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;font-size:.9em}.disposition-label-selected[_ngcontent-%COMP%]{font-weight:700}.dispositions-container[_ngcontent-%COMP%]{overflow-y:scroll;max-height:150px;padding:3px}.disposition-label[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]}),t})();function nh(t,e){if(1&t&&(Yo(0,"p",12),Ps(1),Xo()),2&t){const t=ls().$implicit;Wr(1),Ds(t.invalidMessage)}}function rh(t,e){if(1&t){const t=rs();Yo(0,"div",8),Yo(1,"label",9),Ps(2),Xo(),Yo(3,"input",10),os("focusout",(function(){Le(t);const n=e.$implicit,r=ls(),i=Wo(2);return r.focusOutOfInput(i,n)})),Xo(),Zo(4,nh,2,1,"p",11),Xo()}if(2&t){const t=e.$implicit;Wr(2),As(" ",t.name,": "),Wr(1),Ko("name",t.name)("type",t.type)("value",t.value)("placeholder",t.placeholder||"")("required",t.isRequired||!1),qo("aria-label",t.name),Wr(1),Ko("ngIf",t.isInvalid)}}let ih,oh=(()=>{class t{constructor(){this.loginDetailsProvided=new qa}ngOnInit(){this.loginData.header||(this.loginData.header="Login");for(let t of this.loginData.fields)t.isInvalid||(t.isInvalid=!1)}onLogin(t){for(const e of this.loginData.fields)e.value=t.value[e.name];this.loginDetailsProvided.emit(this.loginData)}focusOutOfInput(t,e){t.controls[e.name].valid||(e.isInvalid=!0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["amc-login"]],inputs:{loginData:"loginData"},outputs:{loginDetailsProvided:"loginDetailsProvided"},decls:10,vars:3,consts:[[1,"login-container"],["id","login-form",1,"login-form",3,"ngSubmit"],["loginForm","ngForm"],[1,"header-container"],["attr.aria-label","login",1,"login-header"],[1,"fields-container"],["class","field",4,"ngFor","ngForOf"],["type","submit","form","login-form","tabindex","0","attr.aria-label","send",1,"form-submit",3,"disabled"],[1,"field"],[1,"field-label"],["ngModel","",1,"field-input",3,"name","type","value","placeholder","required","focusout"],["class","invalid-input",4,"ngIf"],[1,"invalid-input"]],template:function(t,e){if(1&t){const t=rs();Yo(0,"div",0),Yo(1,"form",1,2),os("ngSubmit",(function(){Le(t);const n=Wo(2);return e.onLogin(n)})),Yo(3,"div",3),Yo(4,"label",4),Ps(5),Xo(),Xo(),Yo(6,"div",5),Zo(7,rh,5,8,"div",6),Yo(8,"button",7),Ps(9,"Login"),Xo(),Xo(),Xo(),Xo()}if(2&t){const t=Wo(2);Wr(5),Ds(e.loginData.header),Wr(2),Ko("ngForOf",e.loginData.fields),Wr(1),Ko("disabled",!t.valid)}},directives:[Su,Hc,Ou,sc,Pc,Fc,Au,Nu,lc],styles:[".login-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:sticky}.login-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;font-weight:700;font-size:.9em}.fields-container[_ngcontent-%COMP%]{overflow-y:auto;font-size:.9em;padding:5px}.field[_ngcontent-%COMP%]{display:table-row;margin:5px}.field-label[_ngcontent-%COMP%]{padding:10px;display:table-cell}.field-input[_ngcontent-%COMP%]{display:table-cell;border:1px solid #939598;border-radius:5px}.field-input[_ngcontent-%COMP%]:focus{box-shadow:0 0 5px #38badf}.form-submit[_ngcontent-%COMP%]{margin:15px 10px 10px;display:table-row;border:1px solid #00a4b0;border-radius:5px;background-color:#00a4b0;color:#f7f7f7;width:10em;height:2em;transition:all .2s;font-size:1.1em;position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.form-submit[_ngcontent-%COMP%]:hover{background-color:#01858f}.form-submit[_ngcontent-%COMP%]:disabled{background-color:silver;border-color:silver;color:#fff}input.ng-invalid.ng-touched[required][_ngcontent-%COMP%]{border-color:#a94442}.form-submit[_ngcontent-%COMP%]:focus{outline:2px solid #3296da;outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]}),t})();try{ih="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ih){ih=!1}let sh=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===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&&!ih)&&"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)(Lt(hl,8))},t.\u0275prov=rt({factory:function(){return new t(Lt(hl,8))},token:t,providedIn:"root"}),t})(),ah=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)}}),t})(),lh=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=rt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),ch=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},providers:[lh]}),t})();"undefined"!=typeof Element&∈let uh=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const 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");const 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"))}}}return t.\u0275fac=function(e){return new(e||t)(Lt(sh),Lt(tc))},t.\u0275prov=rt({factory:function(){return new t(Lt(sh),Lt(tc))},token:t,providedIn:"root"}),t})(),dh=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(uh))},imports:[[ah,ch]]}),t})(),hh=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)}}),t})(),ph=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)}}),t})();const fh=new aa("9.2.4");function gh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let mh=(t,e)=>!1,yh=(t,e)=>!1,_h=(t,e,n)=>[];const bh=gh();(bh||"undefined"!=typeof Element)&&((t,e)=>t.contains(e),yh=(()=>{if(bh||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):yh}})());const wh=new aa("9.2.4"),vh=new Dt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Ch,xh=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return ir()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&wh.full!==fh.full&&console.warn("The Angular Material version ("+wh.full+") does not match the Angular CDK version ("+fh.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(uh),Lt(vh,8),Lt(tc,8))},imports:[[ph],ph]}),t})();try{Ch="undefined"!=typeof Intl}catch(Ih){Ch=!1}let Oh=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},imports:[[xh,ah],xh]}),t})(),Eh=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)},imports:[[pc,xh,hh,Oh,ch,dh],xh]}),t})(),Th=(()=>{class t{constructor(t){this.injector=t}ngDoBootstrap(t){if(!customElements.get("amc-webcomponents-scenario")){const t=new Yd(fd,this.injector);customElements.define("amc-webcomponents-scenario",vd(fd,{injector:this.injector,strategyFactory:t}))}if(!customElements.get("amc-webcomponents-disposition")){const t=new Yd(eh,this.injector);customElements.define("amc-webcomponents-disposition",vd(eh,{injector:this.injector,strategyFactory:t}))}if(!customElements.get("amc-webcomponents-login")){const t=new Yd(oh,this.injector);customElements.define("amc-webcomponents-login",vd(oh,{injector:this.injector,strategyFactory:t}))}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=it({factory:function(e){return new(e||t)(Lt(Ao))},providers:[],imports:[[Kd,pc,Fu,Eh]]}),t})();(function(){if(rr)throw new Error("Cannot enable prod mode after platform setup.");nr=!1})(),Wd().bootstrapModule(Th).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);
|
|
1
|
+
(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e].call(r.exports,r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],s=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(n.O).every(d=>n.O[d](r[t]))?r.splice(t--,1):(s=!1,l<o&&(o=l));if(s){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,s]=l,v=0;if(f.some(p=>0!==e[p])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(s)var i=s(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(i)},r=self.webpackChunkUILibrary=self.webpackChunkUILibrary||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
|
|
2
|
+
(self.webpackChunkUILibrary=self.webpackChunkUILibrary||[]).push([[429],{874:(ie,Te,pe)=>{"use strict";pe(95),pe(541),pe(518)},518:()=>{(function(){"use strict";var ie=window.Document.prototype.createElement,Te=window.Document.prototype.createElementNS,pe=window.Document.prototype.importNode,we=window.Document.prototype.prepend,We=window.Document.prototype.append,Re=window.DocumentFragment.prototype.prepend,ue=window.DocumentFragment.prototype.append,ce=window.Node.prototype.cloneNode,le=window.Node.prototype.appendChild,Ve=window.Node.prototype.insertBefore,Pe=window.Node.prototype.removeChild,ze=window.Node.prototype.replaceChild,Ie=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Xe=window.Element.prototype.attachShadow,je=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ae=window.Element.prototype.getAttribute,_e=window.Element.prototype.setAttribute,Me=window.Element.prototype.removeAttribute,He=window.Element.prototype.toggleAttribute,Le=window.Element.prototype.getAttributeNS,H=window.Element.prototype.setAttributeNS,Fe=window.Element.prototype.removeAttributeNS,Se=window.Element.prototype.insertAdjacentElement,Q=window.Element.prototype.insertAdjacentHTML,yt=window.Element.prototype.prepend,et=window.Element.prototype.append,dt=window.Element.prototype.before,tt=window.Element.prototype.after,rt=window.Element.prototype.replaceWith,xe=window.Element.prototype.remove,nt=window.HTMLElement,Ye=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Be=window.HTMLElement.prototype.insertAdjacentElement,ot=window.HTMLElement.prototype.insertAdjacentHTML,it=new Set;function at(e){var t=it.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(e){return it.add(e)});var fe=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(e){var t=e.isConnected;if(void 0!==t)return t;if(fe(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function he(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function st(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function ve(e,t,r){for(var i=e;i;){if(i.nodeType===Node.ELEMENT_NODE){var n=i;t(n);var a=n.localName;if("link"===a&&"import"===n.getAttribute("rel")){if(i=n.import,void 0===r&&(r=new Set),i instanceof Node&&!r.has(i))for(r.add(i),i=i.firstChild;i;i=i.nextSibling)ve(i,t,r);i=st(e,n);continue}if("template"===a){i=st(e,n);continue}if(n=n.__CE_shadowRoot)for(n=n.firstChild;n;n=n.nextSibling)ve(n,t,r)}i=i.firstChild?i.firstChild:st(e,i)}}function Ue(){var e=!(null==s||!s.noDocumentConstructionObserver),t=!(null==s||!s.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=t,this.I=!e}function De(e,t,r,i){var n=window.ShadyDOM;if(e.shadyDomFastWalk&&n&&n.inUse){if(t.nodeType===Node.ELEMENT_NODE&&r(t),t.querySelectorAll)for(e=n.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)r(e[t])}else ve(t,r,i)}function be(e,t){e.j&&De(e,t,function(r){return ge(e,r)})}function ge(e,t){if(e.j&&!t.__CE_patched){t.__CE_patched=!0;for(var r=0;r<e.m.length;r++)e.m[r](t);for(r=0;r<e.g.length;r++)e.g[r](t)}}function Ee(e,t){var r=[];for(De(e,t,function(n){return r.push(n)}),t=0;t<r.length;t++){var i=r[t];1===i.__CE_state?e.connectedCallback(i):Ge(e,i)}}function G(e,t){var r=[];for(De(e,t,function(n){return r.push(n)}),t=0;t<r.length;t++){var i=r[t];1===i.__CE_state&&e.disconnectedCallback(i)}}function me(e,t,r){var i=(r=void 0===r?{}:r).J,n=r.upgrade||function(c){return Ge(e,c)},a=[];for(De(e,t,function(c){if(e.j&&ge(e,c),"link"===c.localName&&"import"===c.getAttribute("rel")){var f=c.import;f instanceof Node&&(f.__CE_isImportDocument=!0,f.__CE_registry=document.__CE_registry),f&&"complete"===f.readyState?f.__CE_documentLoadHandled=!0:c.addEventListener("load",function(){var p=c.import;if(!p.__CE_documentLoadHandled){p.__CE_documentLoadHandled=!0;var E=new Set;i&&(i.forEach(function(w){return E.add(w)}),E.delete(p)),me(e,p,{J:E,upgrade:n})}})}else a.push(c)},i),t=0;t<a.length;t++)n(a[t])}function Ge(e,t){try{var r=t.ownerDocument,i=r.__CE_registry,n=i&&(r.defaultView||r.__CE_isImportDocument)?qe(i,t.localName):void 0;if(n&&void 0===t.__CE_state){n.constructionStack.push(t);try{try{if(new n.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{n.constructionStack.pop()}}catch(p){throw t.__CE_state=2,p}if(t.__CE_state=1,t.__CE_definition=n,n.attributeChangedCallback&&t.hasAttributes()){var a=n.observedAttributes;for(n=0;n<a.length;n++){var c=a[n],f=t.getAttribute(c);null!==f&&e.attributeChangedCallback(t,c,null,f,null)}}x(t)&&e.connectedCallback(t)}}catch(p){Oe(p)}}function ut(e,t,r,i){var n=t.__CE_registry;if(n&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(n=qe(n,r)))try{var a=new n.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==t)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(c){return Oe(c),t=null===i?ie.call(t,r):Te.call(t,i,r),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,ge(e,t),t}return ge(e,t=null===i?ie.call(t,r):Te.call(t,i,r)),t}function Oe(e){var t="",r="",i=0,n=0;e instanceof Error?(t=e.message,r=e.sourceURL||e.fileName||"",i=e.line||e.lineNumber||0,n=e.column||e.columnNumber||0):t="Uncaught "+String(e);var a=void 0;void 0===ErrorEvent.prototype.initErrorEvent?a=new ErrorEvent("error",{cancelable:!0,message:t,filename:r,lineno:i,colno:n,error:e}):((a=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,r,i),a.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===a.error&&Object.defineProperty(a,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(a),a.defaultPrevented||console.error(e)}function pt(){var e=this;this.g=void 0,this.F=new Promise(function(t){e.l=t})}function ct(e){var t=document;this.l=void 0,this.h=e,this.g=t,me(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function _t(e){e.l&&e.l.disconnect()}function J(e){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(t){return t()},this.i=!1,this.v=[],this.h=e,this.D=e.I?new ct(e):void 0}function lt(e,t){if(!at(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(qe(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.A)throw Error("A custom element is already being defined.")}function ft(e,t,r){var i;e.A=!0;try{var n=r.prototype;if(!(n instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=function(w){var Z=n[w];if(void 0!==Z&&!(Z instanceof Function))throw Error("The '"+w+"' callback must be a function.");return Z},c=a("connectedCallback"),f=a("disconnectedCallback"),p=a("adoptedCallback"),E=(i=a("attributeChangedCallback"))&&r.observedAttributes||[]}catch(w){throw w}finally{e.A=!1}return e.u.set(t,r={localName:t,constructorFunction:r,connectedCallback:c,disconnectedCallback:f,adoptedCallback:p,attributeChangedCallback:i,observedAttributes:E,constructionStack:[]}),e.C.set(r.constructorFunction,r),r}function Ke(e){if(!1!==e.i){e.i=!1;for(var t=[],r=e.v,i=new Map,n=0;n<r.length;n++)i.set(r[n],[]);for(me(e.h,document,{upgrade:function(p){if(void 0===p.__CE_state){var E=p.localName,w=i.get(E);w?w.push(p):e.u.has(E)&&t.push(p)}}}),n=0;n<t.length;n++)Ge(e.h,t[n]);for(n=0;n<r.length;n++){for(var a=r[n],c=i.get(a),f=0;f<c.length;f++)Ge(e.h,c[f]);(a=e.B.get(a))&&a.resolve(void 0)}r.length=0}}function qe(e,t){var r=e.u.get(t);if(r)return r;if(r=e.s.get(t)){e.s.delete(t);try{return ft(e,t,r())}catch(i){Oe(i)}}}function ht(e,t,r){function i(n){return function(a){for(var c=[],f=0;f<arguments.length;++f)c[f]=arguments[f];f=[];for(var p=[],E=0;E<c.length;E++){var w=c[E];if(w instanceof Element&&x(w)&&p.push(w),w instanceof DocumentFragment)for(w=w.firstChild;w;w=w.nextSibling)f.push(w);else f.push(w)}for(n.apply(this,c),c=0;c<p.length;c++)G(e,p[c]);if(x(this))for(c=0;c<f.length;c++)(p=f[c])instanceof Element&&Ee(e,p)}}void 0!==r.prepend&&(t.prepend=i(r.prepend)),void 0!==r.append&&(t.append=i(r.append))}Ue.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(r){Oe(r)}},Ue.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(r){Oe(r)}},Ue.prototype.attributeChangedCallback=function(e,t,r,i,n){var a=e.__CE_definition;if(a.attributeChangedCallback&&-1<a.observedAttributes.indexOf(t))try{a.attributeChangedCallback.call(e,t,r,i,n)}catch(c){Oe(c)}},pt.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.l(e)},ct.prototype.G=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||_t(this),t=0;t<e.length;t++)for(var r=e[t].addedNodes,i=0;i<r.length;i++)me(this.h,r[i])},J.prototype.H=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");lt(this,e),this.s.set(e,t),this.v.push(e),this.i||(this.i=!0,this.o(function(){return Ke(r)}))},J.prototype.define=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");lt(this,e),ft(this,e,t),this.v.push(e),this.i||(this.i=!0,this.o(function(){return Ke(r)}))},J.prototype.upgrade=function(e){me(this.h,e)},J.prototype.get=function(e){if(e=qe(this,e))return e.constructorFunction},J.prototype.whenDefined=function(e){if(!at(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.B.get(e);if(t)return t.F;t=new pt,this.B.set(e,t);var r=this.u.has(e)||this.s.has(e);return e=-1===this.v.indexOf(e),r&&e&&t.resolve(void 0),t.F},J.prototype.polyfillWrapFlushCallback=function(e){this.D&&_t(this.D);var t=this.o;this.o=function(r){return e(function(){return t(r)})}},J.prototype.define=J.prototype.define,J.prototype.upgrade=J.prototype.upgrade,J.prototype.get=J.prototype.get,J.prototype.whenDefined=J.prototype.whenDefined,J.prototype.polyfillDefineLazy=J.prototype.H,J.prototype.polyfillWrapFlushCallback=J.prototype.polyfillWrapFlushCallback;var Et={},s=window.customElements;function v(){var e=new Ue;(function bt(e){function t(){var r=this.constructor,i=document.__CE_registry.C.get(r);if(!i)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var n=i.constructionStack;if(0===n.length)return n=ie.call(document,i.localName),Object.setPrototypeOf(n,r.prototype),n.__CE_state=1,n.__CE_definition=i,ge(e,n),n;var a=n.length-1,c=n[a];if(c===Et)throw Error("Failed to construct '"+i.localName+"': This element was already constructed.");return n[a]=Et,Object.setPrototypeOf(c,r.prototype),ge(e,c),c}t.prototype=nt.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t})(e),function Je(e){Document.prototype.createElement=function(t){return ut(e,this,t,null)},Document.prototype.importNode=function(t,r){return t=pe.call(this,t,!!r),this.__CE_registry?me(e,t):be(e,t),t},Document.prototype.createElementNS=function(t,r){return ut(e,this,r,t)},ht(e,Document.prototype,{prepend:we,append:We})}(e),ht(e,DocumentFragment.prototype,{prepend:Re,append:ue}),function o(e){function t(r,i){Object.defineProperty(r,"textContent",{enumerable:i.enumerable,configurable:!0,get:i.get,set:function(n){if(this.nodeType===Node.TEXT_NODE)i.set.call(this,n);else{var a=void 0;if(this.firstChild){var c=this.childNodes,f=c.length;if(0<f&&x(this)){a=Array(f);for(var p=0;p<f;p++)a[p]=c[p]}}if(i.set.call(this,n),a)for(n=0;n<a.length;n++)G(e,a[n])}}})}Node.prototype.insertBefore=function(r,i){if(r instanceof DocumentFragment){var n=he(r);if(r=Ve.call(this,r,i),x(this))for(i=0;i<n.length;i++)Ee(e,n[i]);return r}return n=r instanceof Element&&x(r),i=Ve.call(this,r,i),n&&G(e,r),x(this)&&Ee(e,r),i},Node.prototype.appendChild=function(r){if(r instanceof DocumentFragment){var i=he(r);if(r=le.call(this,r),x(this))for(var n=0;n<i.length;n++)Ee(e,i[n]);return r}return i=r instanceof Element&&x(r),n=le.call(this,r),i&&G(e,r),x(this)&&Ee(e,r),n},Node.prototype.cloneNode=function(r){return r=ce.call(this,!!r),this.ownerDocument.__CE_registry?me(e,r):be(e,r),r},Node.prototype.removeChild=function(r){var i=r instanceof Element&&x(r),n=Pe.call(this,r);return i&&G(e,r),n},Node.prototype.replaceChild=function(r,i){if(r instanceof DocumentFragment){var n=he(r);if(r=ze.call(this,r,i),x(this))for(G(e,i),i=0;i<n.length;i++)Ee(e,n[i]);return r}n=r instanceof Element&&x(r);var a=ze.call(this,r,i),c=x(this);return c&&G(e,i),n&&G(e,r),c&&Ee(e,r),a},Ie&&Ie.get?t(Node.prototype,Ie):function Tt(e,t){e.j=!0,e.m.push(t)}(e,function(r){t(r,{enumerable:!0,configurable:!0,get:function(){for(var i=[],n=this.firstChild;n;n=n.nextSibling)n.nodeType!==Node.COMMENT_NODE&&i.push(n.textContent);return i.join("")},set:function(i){for(;this.firstChild;)Pe.call(this,this.firstChild);null!=i&&""!==i&&le.call(this,document.createTextNode(i))}})})}(e),function wt(e){function t(n,a){Object.defineProperty(n,"innerHTML",{enumerable:a.enumerable,configurable:!0,get:a.get,set:function(c){var f=this,p=void 0;if(x(this)&&(p=[],De(e,this,function(Z){Z!==f&&p.push(Z)})),a.set.call(this,c),p)for(var E=0;E<p.length;E++){var w=p[E];1===w.__CE_state&&e.disconnectedCallback(w)}return this.ownerDocument.__CE_registry?me(e,this):be(e,this),c}})}function r(n,a){n.insertAdjacentElement=function(c,f){var p=x(f);return c=a.call(this,c,f),p&&G(e,f),x(c)&&Ee(e,f),c}}function i(n,a){function c(f,p){for(var E=[];f!==p;f=f.nextSibling)E.push(f);for(p=0;p<E.length;p++)me(e,E[p])}n.insertAdjacentHTML=function(f,p){if("beforebegin"===(f=f.toLowerCase())){var E=this.previousSibling;a.call(this,f,p),c(E||this.parentNode.firstChild,this)}else if("afterbegin"===f)E=this.firstChild,a.call(this,f,p),c(this.firstChild,E);else if("beforeend"===f)E=this.lastChild,a.call(this,f,p),c(E||this.firstChild,null);else{if("afterend"!==f)throw new SyntaxError("The value provided ("+String(f)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");E=this.nextSibling,a.call(this,f,p),c(this.nextSibling,E)}}}Xe&&(Element.prototype.attachShadow=function(n){if(n=Xe.call(this,n),e.j&&!n.__CE_patched){n.__CE_patched=!0;for(var a=0;a<e.m.length;a++)e.m[a](n)}return this.__CE_shadowRoot=n}),je&&je.get?t(Element.prototype,je):Ye&&Ye.get?t(HTMLElement.prototype,Ye):function gt(e,t){e.j=!0,e.g.push(t)}(e,function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return ce.call(this,!0).innerHTML},set:function(a){var c="template"===this.localName,f=c?this.content:this,p=Te.call(document,this.namespaceURI,this.localName);for(p.innerHTML=a;0<f.childNodes.length;)Pe.call(f,f.childNodes[0]);for(a=c?p.content:p;0<a.childNodes.length;)le.call(f,a.childNodes[0])}})}),Element.prototype.setAttribute=function(n,a){if(1!==this.__CE_state)return _e.call(this,n,a);var c=ae.call(this,n);_e.call(this,n,a),a=ae.call(this,n),e.attributeChangedCallback(this,n,c,a,null)},Element.prototype.setAttributeNS=function(n,a,c){if(1!==this.__CE_state)return H.call(this,n,a,c);var f=Le.call(this,n,a);H.call(this,n,a,c),c=Le.call(this,n,a),e.attributeChangedCallback(this,a,f,c,n)},Element.prototype.removeAttribute=function(n){if(1!==this.__CE_state)return Me.call(this,n);var a=ae.call(this,n);Me.call(this,n),null!==a&&e.attributeChangedCallback(this,n,a,null,null)},He&&(Element.prototype.toggleAttribute=function(n,a){if(1!==this.__CE_state)return He.call(this,n,a);var c=ae.call(this,n);return null!==c!==(a=He.call(this,n,a))&&e.attributeChangedCallback(this,n,c,a?"":null,null),a}),Element.prototype.removeAttributeNS=function(n,a){if(1!==this.__CE_state)return Fe.call(this,n,a);var c=Le.call(this,n,a);Fe.call(this,n,a);var f=Le.call(this,n,a);c!==f&&e.attributeChangedCallback(this,a,c,f,n)},Be?r(HTMLElement.prototype,Be):Se&&r(Element.prototype,Se),ot?i(HTMLElement.prototype,ot):Q&&i(Element.prototype,Q),ht(e,Element.prototype,{prepend:yt,append:et}),function Ae(e){function t(i){return function(n){for(var a=[],c=0;c<arguments.length;++c)a[c]=arguments[c];c=[];for(var f=[],p=0;p<a.length;p++){var E=a[p];if(E instanceof Element&&x(E)&&f.push(E),E instanceof DocumentFragment)for(E=E.firstChild;E;E=E.nextSibling)c.push(E);else c.push(E)}for(i.apply(this,a),a=0;a<f.length;a++)G(e,f[a]);if(x(this))for(a=0;a<c.length;a++)(f=c[a])instanceof Element&&Ee(e,f)}}var r=Element.prototype;void 0!==dt&&(r.before=t(dt)),void 0!==tt&&(r.after=t(tt)),void 0!==rt&&(r.replaceWith=function(i){for(var n=[],a=0;a<arguments.length;++a)n[a]=arguments[a];a=[];for(var c=[],f=0;f<n.length;f++){var p=n[f];if(p instanceof Element&&x(p)&&c.push(p),p instanceof DocumentFragment)for(p=p.firstChild;p;p=p.nextSibling)a.push(p);else a.push(p)}for(f=x(this),rt.apply(this,n),n=0;n<c.length;n++)G(e,c[n]);if(f)for(G(e,this),n=0;n<a.length;n++)(c=a[n])instanceof Element&&Ee(e,c)}),void 0!==xe&&(r.remove=function(){var i=x(this);xe.call(this),i&&G(e,this)})}(e)}(e),window.CustomElementRegistry=J,e=new J(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}s&&!s.forcePolyfill&&"function"==typeof s.define&&"function"==typeof s.get||v(),window.__CE_installPolyfill=v}).call(self)},541:()=>{"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const ie=HTMLElement;window.HTMLElement=function(){return Reflect.construct(ie,[],this.constructor)},HTMLElement.prototype=ie.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,ie)}()},95:function(ie,Te,pe){"use strict";var we,We,Re=this&&this.__assign||function(){return Re=Object.assign||function(ue){for(var ce,le=1,Ve=arguments.length;le<Ve;le++)for(var Pe in ce=arguments[le])Object.prototype.hasOwnProperty.call(ce,Pe)&&(ue[Pe]=ce[Pe]);return ue},Re.apply(this,arguments)};we=function(){!function(o){var e=o.performance;function t(m){e&&e.mark&&e.mark(m)}function r(m,u){e&&e.measure&&e.measure(m,u)}t("Zone");var i=o.__Zone_symbol_prefix||"__zone_symbol__";function n(m){return i+m}var a=!0===o[n("forceDuplicateZoneCheck")];if(o.Zone){if(a||"function"!=typeof o.Zone.__symbol__)throw new Error("Zone already loaded.");return o.Zone}var c=function(){function m(u,l){this._parent=u,this._name=l?l.name||"unnamed":"<root>",this._properties=l&&l.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,l)}return m.assertZonePatched=function(){if(o.Promise!==ye.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(m,"root",{get:function(){for(var u=m.current;u.parent;)u=u.parent;return u},enumerable:!1,configurable:!0}),Object.defineProperty(m,"current",{get:function(){return K.zone},enumerable:!1,configurable:!0}),Object.defineProperty(m,"currentTask",{get:function(){return ke},enumerable:!1,configurable:!0}),m.__load_patch=function(u,l,h){if(void 0===h&&(h=!1),ye.hasOwnProperty(u)){if(!h&&a)throw Error("Already loaded patch: "+u)}else if(!o["__Zone_disable_"+u]){var k="Zone:"+u;t(k),ye[u]=l(o,m,Ce),r(k,k)}},Object.defineProperty(m.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),m.prototype.get=function(u){var l=this.getZoneWith(u);if(l)return l._properties[u]},m.prototype.getZoneWith=function(u){for(var l=this;l;){if(l._properties.hasOwnProperty(u))return l;l=l._parent}return null},m.prototype.fork=function(u){if(!u)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,u)},m.prototype.wrap=function(u,l){if("function"!=typeof u)throw new Error("Expecting function got: "+u);var h=this._zoneDelegate.intercept(this,u,l),k=this;return function(){return k.runGuarded(h,this,arguments,l)}},m.prototype.run=function(u,l,h,k){K={parent:K,zone:this};try{return this._zoneDelegate.invoke(this,u,l,h,k)}finally{K=K.parent}},m.prototype.runGuarded=function(u,l,h,k){void 0===l&&(l=null),K={parent:K,zone:this};try{try{return this._zoneDelegate.invoke(this,u,l,h,k)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{K=K.parent}},m.prototype.runTask=function(u,l,h){if(u.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(u.zone||ee).name+"; Execution: "+this.name+")");if(u.state!==B||u.type!==Y&&u.type!==O){var k=u.state!=V;k&&u._transitionTo(V,C),u.runCount++;var d=ke;ke=u,K={parent:K,zone:this};try{u.type==O&&u.data&&!u.data.isPeriodic&&(u.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,u,l,h)}catch(y){if(this._zoneDelegate.handleError(this,y))throw y}}finally{u.state!==B&&u.state!==D&&(u.type==Y||u.data&&u.data.isPeriodic?k&&u._transitionTo(C,V):(u.runCount=0,this._updateTaskCount(u,-1),k&&u._transitionTo(B,V,B))),K=K.parent,ke=d}}},m.prototype.scheduleTask=function(u){if(u.zone&&u.zone!==this)for(var l=this;l;){if(l===u.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(u.zone.name));l=l.parent}u._transitionTo(F,B);var h=[];u._zoneDelegates=h,u._zone=this;try{u=this._zoneDelegate.scheduleTask(this,u)}catch(k){throw u._transitionTo(D,F,B),this._zoneDelegate.handleError(this,k),k}return u._zoneDelegates===h&&this._updateTaskCount(u,1),u.state==F&&u._transitionTo(C,F),u},m.prototype.scheduleMicroTask=function(u,l,h,k){return this.scheduleTask(new E(j,u,l,h,k,void 0))},m.prototype.scheduleMacroTask=function(u,l,h,k,d){return this.scheduleTask(new E(O,u,l,h,k,d))},m.prototype.scheduleEventTask=function(u,l,h,k,d){return this.scheduleTask(new E(Y,u,l,h,k,d))},m.prototype.cancelTask=function(u){if(u.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(u.zone||ee).name+"; Execution: "+this.name+")");if(u.state===C||u.state===V){u._transitionTo(M,C,V);try{this._zoneDelegate.cancelTask(this,u)}catch(l){throw u._transitionTo(D,M),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(u,-1),u._transitionTo(B,M),u.runCount=0,u}},m.prototype._updateTaskCount=function(u,l){var h=u._zoneDelegates;-1==l&&(u._zoneDelegates=null);for(var k=0;k<h.length;k++)h[k]._updateTaskCount(u.type,l)},m}();c.__symbol__=n;var W,f={name:"",onHasTask:function(m,u,l,h){return m.hasTask(l,h)},onScheduleTask:function(m,u,l,h){return m.scheduleTask(l,h)},onInvokeTask:function(m,u,l,h,k,d){return m.invokeTask(l,h,k,d)},onCancelTask:function(m,u,l,h){return m.cancelTask(l,h)}},p=function(){function m(u,l,h){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=u,this._parentDelegate=l,this._forkZS=h&&(h&&h.onFork?h:l._forkZS),this._forkDlgt=h&&(h.onFork?l:l._forkDlgt),this._forkCurrZone=h&&(h.onFork?this.zone:l._forkCurrZone),this._interceptZS=h&&(h.onIntercept?h:l._interceptZS),this._interceptDlgt=h&&(h.onIntercept?l:l._interceptDlgt),this._interceptCurrZone=h&&(h.onIntercept?this.zone:l._interceptCurrZone),this._invokeZS=h&&(h.onInvoke?h:l._invokeZS),this._invokeDlgt=h&&(h.onInvoke?l:l._invokeDlgt),this._invokeCurrZone=h&&(h.onInvoke?this.zone:l._invokeCurrZone),this._handleErrorZS=h&&(h.onHandleError?h:l._handleErrorZS),this._handleErrorDlgt=h&&(h.onHandleError?l:l._handleErrorDlgt),this._handleErrorCurrZone=h&&(h.onHandleError?this.zone:l._handleErrorCurrZone),this._scheduleTaskZS=h&&(h.onScheduleTask?h:l._scheduleTaskZS),this._scheduleTaskDlgt=h&&(h.onScheduleTask?l:l._scheduleTaskDlgt),this._scheduleTaskCurrZone=h&&(h.onScheduleTask?this.zone:l._scheduleTaskCurrZone),this._invokeTaskZS=h&&(h.onInvokeTask?h:l._invokeTaskZS),this._invokeTaskDlgt=h&&(h.onInvokeTask?l:l._invokeTaskDlgt),this._invokeTaskCurrZone=h&&(h.onInvokeTask?this.zone:l._invokeTaskCurrZone),this._cancelTaskZS=h&&(h.onCancelTask?h:l._cancelTaskZS),this._cancelTaskDlgt=h&&(h.onCancelTask?l:l._cancelTaskDlgt),this._cancelTaskCurrZone=h&&(h.onCancelTask?this.zone:l._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var k=h&&h.onHasTask;(k||l&&l._hasTaskZS)&&(this._hasTaskZS=k?h:f,this._hasTaskDlgt=l,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=u,h.onScheduleTask||(this._scheduleTaskZS=f,this._scheduleTaskDlgt=l,this._scheduleTaskCurrZone=this.zone),h.onInvokeTask||(this._invokeTaskZS=f,this._invokeTaskDlgt=l,this._invokeTaskCurrZone=this.zone),h.onCancelTask||(this._cancelTaskZS=f,this._cancelTaskDlgt=l,this._cancelTaskCurrZone=this.zone))}return m.prototype.fork=function(u,l){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,u,l):new c(u,l)},m.prototype.intercept=function(u,l,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,u,l,h):l},m.prototype.invoke=function(u,l,h,k,d){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,u,l,h,k,d):l.apply(h,k)},m.prototype.handleError=function(u,l){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,u,l)},m.prototype.scheduleTask=function(u,l){var h=l;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),(h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,u,l))||(h=l);else if(l.scheduleFn)l.scheduleFn(l);else{if(l.type!=j)throw new Error("Task is missing scheduleFn.");b(l)}return h},m.prototype.invokeTask=function(u,l,h,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,u,l,h,k):l.callback.apply(h,k)},m.prototype.cancelTask=function(u,l){var h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,u,l);else{if(!l.cancelFn)throw Error("Task is not cancelable");h=l.cancelFn(l)}return h},m.prototype.hasTask=function(u,l){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,u,l)}catch(h){this.handleError(u,h)}},m.prototype._updateTaskCount=function(u,l){var h=this._taskCounts,k=h[u],d=h[u]=k+l;if(d<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=d||this.hasTask(this.zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:u})},m}(),E=function(){function m(u,l,h,k,d,y){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=u,this.source=l,this.data=k,this.scheduleFn=d,this.cancelFn=y,!h)throw new Error("callback is not defined");this.callback=h;var T=this;this.invoke=u===Y&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(o,T,this,arguments)}}return m.invokeTask=function(u,l,h){u||(u=this),de++;try{return u.runCount++,u.zone.runTask(u,l,h)}finally{1==de&&ne(),de--}},Object.defineProperty(m.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),m.prototype.cancelScheduleRequest=function(){this._transitionTo(B,F)},m.prototype._transitionTo=function(u,l,h){if(this._state!==l&&this._state!==h)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(u,"', expecting state '").concat(l,"'").concat(h?" or '"+h+"'":"",", was '").concat(this._state,"'."));this._state=u,u==B&&(this._zoneDelegates=null)},m.prototype.toString=function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)},m.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},m}(),w=n("setTimeout"),Z=n("Promise"),U=n("then"),se=[],q=!1;function I(m){if(W||o[Z]&&(W=o[Z].resolve(0)),W){var u=W[U];u||(u=W.then),u.call(W,m)}else o[w](m,0)}function b(m){0===de&&0===se.length&&I(ne),m&&se.push(m)}function ne(){if(!q){for(q=!0;se.length;){var m=se;se=[];for(var u=0;u<m.length;u++){var l=m[u];try{l.zone.runTask(l,null,null)}catch(h){Ce.onUnhandledError(h)}}}Ce.microtaskDrainDone(),q=!1}}var ee={name:"NO ZONE"},B="notScheduled",F="scheduling",C="scheduled",V="running",M="canceling",D="unknown",j="microTask",O="macroTask",Y="eventTask",ye={},Ce={symbol:n,currentZoneFrame:function(){return K},onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:b,showUncaughtError:function(){return!c[n("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:z,patchMethod:function(){return z},bindArguments:function(){return[]},patchThen:function(){return z},patchMacroTask:function(){return z},patchEventPrototype:function(){return z},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return z},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return z},wrapWithCurrentZone:function(){return z},filterProperties:function(){return[]},attachOriginToPatched:function(){return z},_redefineProperty:function(){return z},patchCallbacks:function(){return z},nativeScheduleMicroTask:I},K={parent:null,zone:new c(null,null)},ke=null,de=0;function z(){}r("Zone","Zone"),o.Zone=c}(typeof window<"u"&&window||typeof self<"u"&&self||global);var ue=Object.getOwnPropertyDescriptor,ce=Object.defineProperty,le=Object.getPrototypeOf,Ve=Object.create,Pe=Array.prototype.slice,ze="addEventListener",Ie="removeEventListener",Xe=Zone.__symbol__(ze),je=Zone.__symbol__(Ie),ae="true",_e="false",Me=Zone.__symbol__("");function He(o,s){return Zone.current.wrap(o,s)}function Le(o,s,v,e,t){return Zone.current.scheduleMacroTask(o,s,v,e,t)}var H=Zone.__symbol__,Fe=typeof window<"u",Se=Fe?window:void 0,Q=Fe&&Se||"object"==typeof self&&self||global,yt="removeAttribute";function et(o,s){for(var v=o.length-1;v>=0;v--)"function"==typeof o[v]&&(o[v]=He(o[v],s+"_"+v));return o}function tt(o){return!o||!1!==o.writable&&!("function"==typeof o.get&&typeof o.set>"u")}var rt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,xe=!("nw"in Q)&&typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process),nt=!xe&&!rt&&!(!Fe||!Se.HTMLElement),Ye=typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process)&&!rt&&!(!Fe||!Se.HTMLElement),Be={},ot=function(o){if(o=o||Q.event){var s=Be[o.type];s||(s=Be[o.type]=H("ON_PROPERTY"+o.type));var t,v=this||o.target||Q,e=v[s];return nt&&v===Se&&"error"===o.type?!0===(t=e&&e.call(this,o.message,o.filename,o.lineno,o.colno,o.error))&&o.preventDefault():null!=(t=e&&e.apply(this,arguments))&&!t&&o.preventDefault(),t}};function it(o,s,v){var e=ue(o,s);if(!e&&v&&ue(v,s)&&(e={enumerable:!0,configurable:!0}),e&&e.configurable){var r=H("on"+s+"patched");if(!o.hasOwnProperty(r)||!o[r]){delete e.writable,delete e.value;var i=e.get,n=e.set,a=s.slice(2),c=Be[a];c||(c=Be[a]=H("ON_PROPERTY"+a)),e.set=function(f){var p=this;!p&&o===Q&&(p=Q),p&&("function"==typeof p[c]&&p.removeEventListener(a,ot),n&&n.call(p,null),p[c]=f,"function"==typeof f&&p.addEventListener(a,ot,!1))},e.get=function(){var f=this;if(!f&&o===Q&&(f=Q),!f)return null;var p=f[c];if(p)return p;if(i){var E=i.call(this);if(E)return e.set.call(this,E),"function"==typeof f[yt]&&f.removeAttribute(s),E}return null},ce(o,s,e),o[r]=!0}}}function at(o,s,v){if(s)for(var e=0;e<s.length;e++)it(o,"on"+s[e],v);else{var t=[];for(var r in o)"on"==r.slice(0,2)&&t.push(r);for(var i=0;i<t.length;i++)it(o,t[i],v)}}var fe=H("originalInstance");function x(o){var s=Q[o];if(s){Q[H(o)]=s,Q[o]=function(){var t=et(arguments,o);switch(t.length){case 0:this[fe]=new s;break;case 1:this[fe]=new s(t[0]);break;case 2:this[fe]=new s(t[0],t[1]);break;case 3:this[fe]=new s(t[0],t[1],t[2]);break;case 4:this[fe]=new s(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},ve(Q[o],s);var e,v=new s(function(){});for(e in v)"XMLHttpRequest"===o&&"responseBlob"===e||function(t){"function"==typeof v[t]?Q[o].prototype[t]=function(){return this[fe][t].apply(this[fe],arguments)}:ce(Q[o].prototype,t,{set:function(r){"function"==typeof r?(this[fe][t]=He(r,o+"."+t),ve(this[fe][t],r)):this[fe][t]=r},get:function(){return this[fe][t]}})}(e);for(e in s)"prototype"!==e&&s.hasOwnProperty(e)&&(Q[o][e]=s[e])}}function he(o,s,v){for(var e=o;e&&!e.hasOwnProperty(s);)e=le(e);!e&&o[s]&&(e=o);var t=H(s),r=null;if(e&&(!(r=e[t])||!e.hasOwnProperty(t))&&(r=e[t]=e[s],tt(e&&ue(e,s)))){var n=v(r,t,s);e[s]=function(){return n(this,arguments)},ve(e[s],r)}return r}function st(o,s,v){var e=null;function t(r){var i=r.data;return i.args[i.cbIdx]=function(){r.invoke.apply(this,arguments)},e.apply(i.target,i.args),r}e=he(o,s,function(r){return function(i,n){var a=v(i,n);return a.cbIdx>=0&&"function"==typeof n[a.cbIdx]?Le(a.name,n[a.cbIdx],a,t):r.apply(i,n)}})}function ve(o,s){o[H("OriginalDelegate")]=s}var Ue=!1,De=!1;function gt(){if(Ue)return De;Ue=!0;try{var o=Se.navigator.userAgent;(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/")||-1!==o.indexOf("Edge/"))&&(De=!0)}catch{}return De}Zone.__load_patch("ZoneAwarePromise",function(o,s,v){var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty;var i=v.symbol,n=[],a=!0===o[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),f=i("then"),p="__creationTrace__";v.onUnhandledError=function(d){if(v.showUncaughtError()){var y=d&&d.rejection;y?console.error("Unhandled Promise rejection:",y instanceof Error?y.message:y,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",y,y instanceof Error?y.stack:void 0):console.error(d)}},v.microtaskDrainDone=function(){for(var d=function(){var y=n.shift();try{y.zone.runGuarded(function(){throw y.throwOriginal?y.rejection:y})}catch(T){!function w(d){v.onUnhandledError(d);try{var y=s[E];"function"==typeof y&&y.call(this,d)}catch{}}(T)}};n.length;)d()};var E=i("unhandledPromiseRejectionHandler");function Z(d){return d&&d.then}function U(d){return d}function se(d){return m.reject(d)}var q=i("state"),W=i("value"),I=i("finally"),b=i("parentPromiseValue"),ne=i("parentPromiseState"),ee="Promise.then",B=null,F=!0,C=!1,V=0;function M(d,y){return function(T){try{Y(d,y,T)}catch(_){Y(d,!1,_)}}}var D=function(){var d=!1;return function(T){return function(){d||(d=!0,T.apply(null,arguments))}}},j="Promise resolved with itself",O=i("currentTaskTrace");function Y(d,y,T){var _=D();if(d===T)throw new TypeError(j);if(d[q]===B){var g=null;try{("object"==typeof T||"function"==typeof T)&&(g=T&&T.then)}catch(L){return _(function(){Y(d,!1,L)})(),d}if(y!==C&&T instanceof m&&T.hasOwnProperty(q)&&T.hasOwnProperty(W)&&T[q]!==B)Ce(T),Y(d,T[q],T[W]);else if(y!==C&&"function"==typeof g)try{g.call(T,_(M(d,y)),_(M(d,!1)))}catch(L){_(function(){Y(d,!1,L)})()}else{d[q]=y;var S=d[W];if(d[W]=T,d[I]===I&&y===F&&(d[q]=d[ne],d[W]=d[b]),y===C&&T instanceof Error){var P=s.currentTask&&s.currentTask.data&&s.currentTask.data[p];P&&t(T,O,{configurable:!0,enumerable:!1,writable:!0,value:P})}for(var N=0;N<S.length;)K(d,S[N++],S[N++],S[N++],S[N++]);if(0==S.length&&y==C){d[q]=V;var R=T;try{throw new Error("Uncaught (in promise): "+function r(d){return d&&d.toString===Object.prototype.toString?(d.constructor&&d.constructor.name||"")+": "+JSON.stringify(d):d?d.toString():Object.prototype.toString.call(d)}(T)+(T&&T.stack?"\n"+T.stack:""))}catch(L){R=L}a&&(R.throwOriginal=!0),R.rejection=T,R.promise=d,R.zone=s.current,R.task=s.currentTask,n.push(R),v.scheduleMicroTask()}}}return d}var ye=i("rejectionHandledHandler");function Ce(d){if(d[q]===V){try{var y=s[ye];y&&"function"==typeof y&&y.call(this,{rejection:d[W],promise:d})}catch{}d[q]=C;for(var T=0;T<n.length;T++)d===n[T].promise&&n.splice(T,1)}}function K(d,y,T,_,g){Ce(d);var S=d[q],P=S?"function"==typeof _?_:U:"function"==typeof g?g:se;y.scheduleMicroTask(ee,function(){try{var N=d[W],R=!!T&&I===T[I];R&&(T[b]=N,T[ne]=S);var L=y.run(P,void 0,R&&P!==se&&P!==U?[]:[N]);Y(T,!0,L)}catch(A){Y(T,!1,A)}},T)}var de=function(){},z=o.AggregateError,m=function(){function d(y){var T=this;if(!(T instanceof d))throw new Error("Must be an instanceof Promise.");T[q]=B,T[W]=[];try{var _=D();y&&y(_(M(T,F)),_(M(T,C)))}catch(g){Y(T,!1,g)}}return d.toString=function(){return"function ZoneAwarePromise() { [native code] }"},d.resolve=function(y){return Y(new this(null),F,y)},d.reject=function(y){return Y(new this(null),C,y)},d.any=function(y){if(!y||"function"!=typeof y[Symbol.iterator])return Promise.reject(new z([],"All promises were rejected"));var T=[],_=0;try{for(var g=0,S=y;g<S.length;g++)_++,T.push(d.resolve(S[g]))}catch{return Promise.reject(new z([],"All promises were rejected"))}if(0===_)return Promise.reject(new z([],"All promises were rejected"));var N=!1,R=[];return new d(function(L,A){for(var X=0;X<T.length;X++)T[X].then(function(oe){N||(N=!0,L(oe))},function(oe){R.push(oe),0==--_&&(N=!0,A(new z(R,"All promises were rejected")))})})},d.race=function(y){var T,_,g=new this(function(A,X){T=A,_=X});function S(A){T(A)}function P(A){_(A)}for(var N=0,R=y;N<R.length;N++){var L=R[N];Z(L)||(L=this.resolve(L)),L.then(S,P)}return g},d.all=function(y){return d.allWithCallback(y)},d.allSettled=function(y){return(this&&this.prototype instanceof d?this:d).allWithCallback(y,{thenCallback:function(_){return{status:"fulfilled",value:_}},errorCallback:function(_){return{status:"rejected",reason:_}}})},d.allWithCallback=function(y,T){for(var _,g,S=new this(function(te,re){_=te,g=re}),P=2,N=0,R=[],L=function(te){Z(te)||(te=A.resolve(te));var re=N;try{te.then(function($){R[re]=T?T.thenCallback($):$,0==--P&&_(R)},function($){T?(R[re]=T.errorCallback($),0==--P&&_(R)):g($)})}catch($){g($)}P++,N++},A=this,X=0,oe=y;X<oe.length;X++)L(oe[X]);return 0==(P-=2)&&_(R),S},Object.defineProperty(d.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,Symbol.species,{get:function(){return d},enumerable:!1,configurable:!0}),d.prototype.then=function(y,T){var _,g=null===(_=this.constructor)||void 0===_?void 0:_[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||d);var S=new g(de),P=s.current;return this[q]==B?this[W].push(P,S,y,T):K(this,P,S,y,T),S},d.prototype.catch=function(y){return this.then(null,y)},d.prototype.finally=function(y){var T,_=null===(T=this.constructor)||void 0===T?void 0:T[Symbol.species];(!_||"function"!=typeof _)&&(_=d);var g=new _(de);g[I]=I;var S=s.current;return this[q]==B?this[W].push(S,g,y,y):K(this,S,g,y,y),g},d}();m.resolve=m.resolve,m.reject=m.reject,m.race=m.race,m.all=m.all;var u=o[c]=o.Promise;o.Promise=m;var l=i("thenPatched");function h(d){var y=d.prototype,T=e(y,"then");if(!T||!1!==T.writable&&T.configurable){var _=y.then;y[f]=_,d.prototype.then=function(g,S){var P=this;return new m(function(R,L){_.call(P,R,L)}).then(g,S)},d[l]=!0}}return v.patchThen=h,u&&(h(u),he(o,"fetch",function(d){return function k(d){return function(y,T){var _=d.apply(y,T);if(_ instanceof m)return _;var g=_.constructor;return g[l]||h(g),_}}(d)})),Promise[s.__symbol__("uncaughtPromiseErrors")]=n,m}),Zone.__load_patch("toString",function(o){var s=Function.prototype.toString,v=H("OriginalDelegate"),e=H("Promise"),t=H("Error"),r=function(){if("function"==typeof this){var c=this[v];if(c)return"function"==typeof c?s.call(c):Object.prototype.toString.call(c);if(this===Promise){var f=o[e];if(f)return s.call(f)}if(this===Error){var p=o[t];if(p)return s.call(p)}}return s.call(this)};r[v]=s,Function.prototype.toString=r;var i=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":i.call(this)}});var be=!1;if(typeof window<"u")try{var ge=Object.defineProperty({},"passive",{get:function(){be=!0}});window.addEventListener("test",ge,ge),window.removeEventListener("test",ge,ge)}catch{be=!1}var Ee={useG:!0},G={},me={},Ge=new RegExp("^"+Me+"(\\w+)(true|false)$"),ut=H("propagationStopped");function Oe(o,s){var v=(s?s(o):o)+_e,e=(s?s(o):o)+ae,t=Me+v,r=Me+e;G[o]={},G[o][_e]=t,G[o][ae]=r}function pt(o,s,v,e){var t=e&&e.add||ze,r=e&&e.rm||Ie,i=e&&e.listeners||"eventListeners",n=e&&e.rmAll||"removeAllListeners",a=H(t),c="."+t+":",f="prependListener",p="."+f+":",E=function(I,b,ne){if(!I.isRemoved){var B,ee=I.callback;"object"==typeof ee&&ee.handleEvent&&(I.callback=function(V){return ee.handleEvent(V)},I.originalDelegate=ee);try{I.invoke(I,b,[ne])}catch(V){B=V}var F=I.options;return F&&"object"==typeof F&&F.once&&b[r].call(b,ne.type,I.originalDelegate?I.originalDelegate:I.callback,F),B}};function w(I,b,ne){if(b=b||o.event){var ee=I||b.target||o,B=ee[G[b.type][ne?ae:_e]];if(B){var F=[];if(1===B.length)(C=E(B[0],ee,b))&&F.push(C);else for(var V=B.slice(),M=0;M<V.length&&(!b||!0!==b[ut]);M++){var C;(C=E(V[M],ee,b))&&F.push(C)}if(1===F.length)throw F[0];var D=function(j){var O=F[j];s.nativeScheduleMicroTask(function(){throw O})};for(M=0;M<F.length;M++)D(M)}}}var Z=function(I){return w(this,I,!1)},U=function(I){return w(this,I,!0)};function se(I,b){if(!I)return!1;var ne=!0;b&&void 0!==b.useG&&(ne=b.useG);var ee=b&&b.vh,B=!0;b&&void 0!==b.chkDup&&(B=b.chkDup);var F=!1;b&&void 0!==b.rt&&(F=b.rt);for(var C=I;C&&!C.hasOwnProperty(t);)C=le(C);if(!C&&I[t]&&(C=I),!C||C[a])return!1;var ye,V=b&&b.eventNameToString,M={},D=C[a]=C[t],j=C[H(r)]=C[r],O=C[H(i)]=C[i],Y=C[H(n)]=C[n];b&&b.prepend&&(ye=C[H(b.prepend)]=C[b.prepend]);var u=ne?function(_){if(!M.isExisting)return D.call(M.target,M.eventName,M.capture?U:Z,M.options)}:function(_){return D.call(M.target,M.eventName,_.invoke,M.options)},l=ne?function(_){if(!_.isRemoved){var g=G[_.eventName],S=void 0;g&&(S=g[_.capture?ae:_e]);var P=S&&_.target[S];if(P)for(var N=0;N<P.length;N++)if(P[N]===_){P.splice(N,1),_.isRemoved=!0,0===P.length&&(_.allRemoved=!0,_.target[S]=null);break}}if(_.allRemoved)return j.call(_.target,_.eventName,_.capture?U:Z,_.options)}:function(_){return j.call(_.target,_.eventName,_.invoke,_.options)},k=b&&b.diff?b.diff:function(_,g){var S=typeof g;return"function"===S&&_.callback===g||"object"===S&&_.originalDelegate===g},d=Zone[H("UNPATCHED_EVENTS")],y=o[H("PASSIVE_EVENTS")],T=function(_,g,S,P,N,R){return void 0===N&&(N=!1),void 0===R&&(R=!1),function(){var L=this||o,A=arguments[0];b&&b.transferEventName&&(A=b.transferEventName(A));var X=arguments[1];if(!X)return _.apply(this,arguments);if(xe&&"uncaughtException"===A)return _.apply(this,arguments);var oe=!1;if("function"!=typeof X){if(!X.handleEvent)return _.apply(this,arguments);oe=!0}if(!ee||ee(_,X,L,arguments)){var Ne=be&&!!y&&-1!==y.indexOf(A),te=function Ce(_,g){return!be&&"object"==typeof _&&_?!!_.capture:be&&g?"boolean"==typeof _?{capture:_,passive:!0}:_?"object"==typeof _&&!1!==_.passive?Re(Re({},_),{passive:!0}):_:{passive:!0}:_}(arguments[2],Ne);if(d)for(var re=0;re<d.length;re++)if(A===d[re])return Ne?_.call(L,A,X,te):_.apply(this,arguments);var $=!!te&&("boolean"==typeof te||te.capture),Qe=!(!te||"object"!=typeof te)&&te.once,Ot=Zone.current,Ct=G[A];Ct||(Oe(A,V),Ct=G[A]);var kt=Ct[$?ae:_e],$e=L[kt],Pt=!1;if($e){if(Pt=!0,B)for(re=0;re<$e.length;re++)if(k($e[re],X))return}else $e=L[kt]=[];var mt,St=L.constructor.name,Dt=me[St];Dt&&(mt=Dt[A]),mt||(mt=St+g+(V?V(A):A)),M.options=te,Qe&&(M.options.once=!1),M.target=L,M.capture=$,M.eventName=A,M.isExisting=Pt;var vt=ne?Ee:void 0;vt&&(vt.taskData=M);var Ze=Ot.scheduleEventTask(mt,X,vt,S,P);if(M.target=null,vt&&(vt.taskData=null),Qe&&(te.once=!0),!be&&"boolean"==typeof Ze.options||(Ze.options=te),Ze.target=L,Ze.capture=$,Ze.eventName=A,oe&&(Ze.originalDelegate=X),R?$e.unshift(Ze):$e.push(Ze),N)return L}}};return C[t]=T(D,c,u,l,F),ye&&(C[f]=T(ye,p,function(_){return ye.call(M.target,M.eventName,_.invoke,M.options)},l,F,!0)),C[r]=function(){var _=this||o,g=arguments[0];b&&b.transferEventName&&(g=b.transferEventName(g));var S=arguments[2],P=!!S&&("boolean"==typeof S||S.capture),N=arguments[1];if(!N)return j.apply(this,arguments);if(!ee||ee(j,N,_,arguments)){var L,R=G[g];R&&(L=R[P?ae:_e]);var A=L&&_[L];if(A)for(var X=0;X<A.length;X++){var oe=A[X];if(k(oe,N))return A.splice(X,1),oe.isRemoved=!0,0===A.length&&(oe.allRemoved=!0,_[L]=null,"string"==typeof g)&&(_[Me+"ON_PROPERTY"+g]=null),oe.zone.cancelTask(oe),F?_:void 0}return j.apply(this,arguments)}},C[i]=function(){var _=this||o,g=arguments[0];b&&b.transferEventName&&(g=b.transferEventName(g));for(var S=[],P=ct(_,V?V(g):g),N=0;N<P.length;N++){var R=P[N];S.push(R.originalDelegate?R.originalDelegate:R.callback)}return S},C[n]=function(){var _=this||o,g=arguments[0];if(g){b&&b.transferEventName&&(g=b.transferEventName(g));var A=G[g];if(A){var Ne=_[A[_e]],te=_[A[ae]];if(Ne)for(var re=Ne.slice(),P=0;P<re.length;P++)this[r].call(this,g,($=re[P]).originalDelegate?$.originalDelegate:$.callback,$.options);if(te)for(re=te.slice(),P=0;P<re.length;P++){var $;this[r].call(this,g,($=re[P]).originalDelegate?$.originalDelegate:$.callback,$.options)}}}else{var S=Object.keys(_);for(P=0;P<S.length;P++){var R=Ge.exec(S[P]),L=R&&R[1];L&&"removeListener"!==L&&this[n].call(this,L)}this[n].call(this,"removeListener")}if(F)return this},ve(C[t],D),ve(C[r],j),Y&&ve(C[n],Y),O&&ve(C[i],O),!0}for(var q=[],W=0;W<v.length;W++)q[W]=se(v[W],e);return q}function ct(o,s){if(!s){var v=[];for(var e in o){var t=Ge.exec(e),r=t&&t[1];if(r&&(!s||r===s)){var i=o[e];if(i)for(var n=0;n<i.length;n++)v.push(i[n])}}return v}var a=G[s];a||(Oe(s),a=G[s]);var c=o[a[_e]],f=o[a[ae]];return c?f?c.concat(f):c.slice():f?f.slice():[]}function _t(o,s){var v=o.Event;v&&v.prototype&&s.patchMethod(v.prototype,"stopImmediatePropagation",function(e){return function(t,r){t[ut]=!0,e&&e.apply(t,r)}})}function J(o,s,v,e,t){var r=Zone.__symbol__(e);if(!s[r]){var i=s[r]=s[e];s[e]=function(n,a,c){return a&&a.prototype&&t.forEach(function(f){var p="".concat(v,".").concat(e,"::")+f,E=a.prototype;try{if(E.hasOwnProperty(f)){var w=o.ObjectGetOwnPropertyDescriptor(E,f);w&&w.value?(w.value=o.wrapWithCurrentZone(w.value,p),o._redefineProperty(a.prototype,f,w)):E[f]&&(E[f]=o.wrapWithCurrentZone(E[f],p))}else E[f]&&(E[f]=o.wrapWithCurrentZone(E[f],p))}catch{}}),i.call(s,n,a,c)},o.attachOriginToPatched(s[e],i)}}function lt(o,s,v){if(!v||0===v.length)return s;var e=v.filter(function(r){return r.target===o});if(!e||0===e.length)return s;var t=e[0].ignoreProperties;return s.filter(function(r){return-1===t.indexOf(r)})}function ft(o,s,v,e){o&&at(o,lt(o,s,v),e)}function Ke(o){return Object.getOwnPropertyNames(o).filter(function(s){return s.startsWith("on")&&s.length>2}).map(function(s){return s.substring(2)})}function qe(o,s){if((!xe||Ye)&&!Zone[o.symbol("patchEvents")]){var v=s.__Zone_ignore_on_properties,e=[];if(nt){var t=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var r=function Tt(){try{var o=Se.navigator.userAgent;if(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:t,ignoreProperties:["error"]}]:[];ft(t,Ke(t),v&&v.concat(r),le(t))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var i=0;i<e.length;i++){var n=s[e[i]];n&&n.prototype&&ft(n.prototype,Ke(n.prototype),v)}}}Zone.__load_patch("util",function(o,s,v){var e=Ke(o);v.patchOnProperties=at,v.patchMethod=he,v.bindArguments=et,v.patchMacroTask=st;var t=s.__symbol__("BLACK_LISTED_EVENTS"),r=s.__symbol__("UNPATCHED_EVENTS");o[r]&&(o[t]=o[r]),o[t]&&(s[t]=s[r]=o[t]),v.patchEventPrototype=_t,v.patchEventTarget=pt,v.isIEOrEdge=gt,v.ObjectDefineProperty=ce,v.ObjectGetOwnPropertyDescriptor=ue,v.ObjectCreate=Ve,v.ArraySlice=Pe,v.patchClass=x,v.wrapWithCurrentZone=He,v.filterProperties=lt,v.attachOriginToPatched=ve,v._redefineProperty=Object.defineProperty,v.patchCallbacks=J,v.getGlobalObjects=function(){return{globalSources:me,zoneSymbolEventNames:G,eventNames:e,isBrowser:nt,isMix:Ye,isNode:xe,TRUE_STR:ae,FALSE_STR:_e,ZONE_SYMBOL_PREFIX:Me,ADD_EVENT_LISTENER_STR:ze,REMOVE_EVENT_LISTENER_STR:Ie}}});var Je=H("zoneTask");function Ae(o,s,v,e){var t=null,r=null;v+=e;var i={};function n(c){var f=c.data;return f.args[0]=function(){return c.invoke.apply(this,arguments)},f.handleId=t.apply(o,f.args),c}function a(c){return r.call(o,c.data.handleId)}t=he(o,s+=e,function(c){return function(f,p){if("function"==typeof p[0]){var E={isPeriodic:"Interval"===e,delay:"Timeout"===e||"Interval"===e?p[1]||0:void 0,args:p},w=p[0];p[0]=function(){try{return w.apply(this,arguments)}finally{E.isPeriodic||("number"==typeof E.handleId?delete i[E.handleId]:E.handleId&&(E.handleId[Je]=null))}};var Z=Le(s,p[0],E,n,a);if(!Z)return Z;var U=Z.data.handleId;return"number"==typeof U?i[U]=Z:U&&(U[Je]=Z),U&&U.ref&&U.unref&&"function"==typeof U.ref&&"function"==typeof U.unref&&(Z.ref=U.ref.bind(U),Z.unref=U.unref.bind(U)),"number"==typeof U||U?U:Z}return c.apply(o,p)}}),r=he(o,v,function(c){return function(f,p){var w,E=p[0];"number"==typeof E?w=i[E]:(w=E&&E[Je])||(w=E),w&&"string"==typeof w.type?"notScheduled"!==w.state&&(w.cancelFn&&w.data.isPeriodic||0===w.runCount)&&("number"==typeof E?delete i[E]:E&&(E[Je]=null),w.zone.cancelTask(w)):c.apply(o,p)}})}Zone.__load_patch("legacy",function(o){var s=o[Zone.__symbol__("legacyPatch")];s&&s()}),Zone.__load_patch("timers",function(o){var s="set",v="clear";Ae(o,s,v,"Timeout"),Ae(o,s,v,"Interval"),Ae(o,s,v,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(o){Ae(o,"request","cancel","AnimationFrame"),Ae(o,"mozRequest","mozCancel","AnimationFrame"),Ae(o,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(o,s){for(var v=["alert","prompt","confirm"],e=0;e<v.length;e++)he(o,v[e],function(r,i,n){return function(a,c){return s.current.run(r,o,c,n)}})}),Zone.__load_patch("EventTarget",function(o,s,v){(function bt(o,s){s.patchEventPrototype(o,s)})(o,v),function Et(o,s){if(!Zone[s.symbol("patchEventTarget")]){for(var v=s.getGlobalObjects(),e=v.eventNames,t=v.zoneSymbolEventNames,r=v.TRUE_STR,i=v.FALSE_STR,n=v.ZONE_SYMBOL_PREFIX,a=0;a<e.length;a++){var c=e[a],E=n+(c+i),w=n+(c+r);t[c]={},t[c][i]=E,t[c][r]=w}var Z=o.EventTarget;if(Z&&Z.prototype)return s.patchEventTarget(o,s,[Z&&Z.prototype]),!0}}(o,v);var e=o.XMLHttpRequestEventTarget;e&&e.prototype&&v.patchEventTarget(o,v,[e.prototype])}),Zone.__load_patch("MutationObserver",function(o,s,v){x("MutationObserver"),x("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(o,s,v){x("IntersectionObserver")}),Zone.__load_patch("FileReader",function(o,s,v){x("FileReader")}),Zone.__load_patch("on_property",function(o,s,v){qe(v,o)}),Zone.__load_patch("customElements",function(o,s,v){!function wt(o,s){var v=s.getGlobalObjects();(v.isBrowser||v.isMix)&&o.customElements&&"customElements"in o&&s.patchCallbacks(s,o.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(o,v)}),Zone.__load_patch("XHR",function(o,s){!function a(c){var f=c.XMLHttpRequest;if(f){var p=f.prototype,w=p[Xe],Z=p[je];if(!w){var U=c.XMLHttpRequestEventTarget;if(U){var se=U.prototype;w=se[Xe],Z=se[je]}}var q="readystatechange",W="scheduled",ee=he(p,"open",function(){return function(D,j){return D[e]=0==j[2],D[i]=j[1],ee.apply(D,j)}}),F=H("fetchTaskAborting"),C=H("fetchTaskScheduling"),V=he(p,"send",function(){return function(D,j){if(!0===s.current[C]||D[e])return V.apply(D,j);var O={target:D,url:D[i],isPeriodic:!1,args:j,aborted:!1},Y=Le("XMLHttpRequest.send",b,O,I,ne);D&&!0===D[n]&&!O.aborted&&Y.state===W&&Y.invoke()}}),M=he(p,"abort",function(){return function(D,j){var O=function E(D){return D[v]}(D);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===s.current[F])return M.apply(D,j)}})}function I(D){var j=D.data,O=j.target;O[r]=!1,O[n]=!1;var Y=O[t];w||(w=O[Xe],Z=O[je]),Y&&Z.call(O,q,Y);var ye=O[t]=function(){if(O.readyState===O.DONE)if(!j.aborted&&O[r]&&D.state===W){var K=O[s.__symbol__("loadfalse")];if(0!==O.status&&K&&K.length>0){var ke=D.invoke;D.invoke=function(){for(var de=O[s.__symbol__("loadfalse")],z=0;z<de.length;z++)de[z]===D&&de.splice(z,1);!j.aborted&&D.state===W&&ke.call(D)},K.push(D)}else D.invoke()}else!j.aborted&&!1===O[r]&&(O[n]=!0)};return w.call(O,q,ye),O[v]||(O[v]=D),V.apply(O,j.args),O[r]=!0,D}function b(){}function ne(D){var j=D.data;return j.aborted=!0,M.apply(j.target,j.args)}}(o);var v=H("xhrTask"),e=H("xhrSync"),t=H("xhrListener"),r=H("xhrScheduled"),i=H("xhrURL"),n=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(o){o.navigator&&o.navigator.geolocation&&function dt(o,s){for(var v=o.constructor.name,e=function(r){var c,f,i=s[r],n=o[i];if(n){if(!tt(ue(o,i)))return"continue";o[i]=(f=function(){return c.apply(this,et(arguments,v+"."+i))},ve(f,c=n),f)}},t=0;t<s.length;t++)e(t)}(o.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(o,s){function v(e){return function(t){ct(o,e).forEach(function(i){var n=o.PromiseRejectionEvent;if(n){var a=new n(e,{promise:t.promise,reason:t.rejection});i.invoke(a)}})}}o.PromiseRejectionEvent&&(s[H("unhandledPromiseRejectionHandler")]=v("unhandledrejection"),s[H("rejectionHandledHandler")]=v("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",function(o,s,v){!function ht(o,s){s.patchMethod(o,"queueMicrotask",function(v){return function(e,t){Zone.current.scheduleMicroTask("queueMicrotask",t[0])}})}(o,v)})},void 0!==(We=we.call(Te,pe,Te,ie))&&(ie.exports=We)}},ie=>{ie(ie.s=874)}]);
|
|
3
|
+
"use strict";(self.webpackChunkUILibrary=self.webpackChunkUILibrary||[]).push([[179],{740:()=>{function fe(e){return"function"==typeof e}function so(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ao=so(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Xn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(fe(i))try{i()}catch(o){t=o instanceof ao?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{dd(o)}catch(s){t=t??[],s instanceof ao?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ao(t)}}add(t){var n;if(t&&t!==this)if(this.closed)dd(t);else{if(t instanceof Et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Xn(n,t)}remove(t){const{_finalizers:n}=this;n&&Xn(n,t),t instanceof Et&&t._removeParent(this)}}Et.EMPTY=(()=>{const e=new Et;return e.closed=!0,e})();const ld=Et.EMPTY;function ud(e){return e instanceof Et||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function dd(e){fe(e)?e():e.unsubscribe()}const An={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},co={setTimeout(e,t,...n){const{delegate:i}=co;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=co;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function fd(e){co.setTimeout(()=>{const{onUnhandledError:t}=An;if(!t)throw e;t(e)})}function ha(){}const Ob=pa("C",void 0,void 0);function pa(e,t,n){return{kind:e,value:t,error:n}}let Sn=null;function lo(e){if(An.useDeprecatedSynchronousErrorHandling){const t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Sn;if(Sn=null,n)throw i}}else e()}class ga extends Et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ud(t)&&t.add(this)):this.destination=Bb}static create(t,n,i){return new Zi(t,n,i)}next(t){this.isStopped?_a(function Rb(e){return pa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?_a(function Fb(e){return pa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_a(Ob,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const kb=Function.prototype.bind;function ma(e,t){return kb.call(e,t)}class Lb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){uo(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){uo(i)}else uo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){uo(n)}}}class Zi extends ga{constructor(t,n,i){let r;if(super(),fe(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&An.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&ma(t.next,o),error:t.error&&ma(t.error,o),complete:t.complete&&ma(t.complete,o)}):r=t}this.destination=new Lb(r)}}function uo(e){An.useDeprecatedSynchronousErrorHandling?function Pb(e){An.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}(e):fd(e)}function _a(e,t){const{onStoppedNotification:n}=An;n&&co.setTimeout(()=>n(e,t))}const Bb={closed:!0,next:ha,error:function Vb(e){throw e},complete:ha},ya="function"==typeof Symbol&&Symbol.observable||"@@observable";function Qi(e){return e}let Re=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function Hb(e){return e&&e instanceof ga||function jb(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&ud(e)}(n)?n:new Zi(n,i,r);return lo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=pd(i))((r,o)=>{const s=new Zi({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[ya](){return this}pipe(...n){return function hd(e){return 0===e.length?Qi:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=pd(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function pd(e){var t;return null!==(t=e??An.Promise)&&void 0!==t?t:Promise}const $b=so(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Jn=(()=>{class e extends Re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new gd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new $b}next(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?ld:(this.currentObservers=null,o.push(n),new Et(()=>{this.currentObservers=null,Xn(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Re;return n.source=this,n}}return e.create=(t,n)=>new gd(t,n),e})();class gd extends Jn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:ld}}class Ub extends Jn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function gt(e){return t=>{if(function Gb(e){return fe(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function at(e,t,n,i,r){return new zb(e,t,n,i,r)}class zb extends ga{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ei(e,t){return gt((n,i)=>{let r=0;n.subscribe(at(i,o=>{i.next(e.call(t,o,r++))}))})}function gn(e){return this instanceof gn?(this.v=e,this):new gn(e)}function vd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ca(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){!function r(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}(a,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const bd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Dd(e){return fe(e?.then)}function Cd(e){return fe(e[ya])}function wd(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function Ed(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Md=function hD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Id(e){return fe(e?.[Md])}function Td(e){return function yd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof gn?Promise.resolve(f.value.v).then(l,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield gn(n.read());if(r)return yield gn(void 0);yield yield gn(i)}}finally{n.releaseLock()}})}function xd(e){return fe(e?.getReader)}function Mt(e){if(e instanceof Re)return e;if(null!=e){if(Cd(e))return function pD(e){return new Re(t=>{const n=e[ya]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(bd(e))return function gD(e){return new Re(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Dd(e))return function mD(e){return new Re(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,fd)})}(e);if(wd(e))return Ad(e);if(Id(e))return function _D(e){return new Re(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(xd(e))return function yD(e){return Ad(Td(e))}(e)}throw Ed(e)}function Ad(e){return new Re(t=>{(function vD(e,t){var n,i,r,o;return function md(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{l(i.next(u))}catch(d){s(d)}}function c(u){try{l(i.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,c)}l((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=vd(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function tn(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Sd(e,t,n=1/0){return fe(t)?Sd((i,r)=>ei((o,s)=>t(i,o,r,s))(Mt(e(i,r))),n):("number"==typeof t&&(n=t),gt((i,r)=>function bD(e,t,n,i,r,o,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=g=>l<i?p(g):c.push(g),p=g=>{o&&t.next(g),l++;let y=!1;Mt(n(g,u++)).subscribe(at(t,v=>{r?.(v),o?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&l<i;){const v=c.shift();s?tn(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(at(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}function Nd(e=1/0){return Sd(Qi,e)}const wa=new Re(e=>e.complete());function Ea(e){return e[e.length-1]}function Od(e){return fe(Ea(e))?e.pop():void 0}function Yi(e){return function CD(e){return e&&fe(e.schedule)}(Ea(e))?e.pop():void 0}function Fd(e,t=0){return gt((n,i)=>{n.subscribe(at(i,r=>tn(i,e,()=>i.next(r),t),()=>tn(i,e,()=>i.complete(),t),r=>tn(i,e,()=>i.error(r),t)))})}function Rd(e,t=0){return gt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Pd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Re(n=>{tn(n,t,()=>{const i=e[Symbol.asyncIterator]();tn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function ti(e,t){return t?function AD(e,t){if(null!=e){if(Cd(e))return function ED(e,t){return Mt(e).pipe(Rd(t),Fd(t))}(e,t);if(bd(e))return function ID(e,t){return new Re(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(Dd(e))return function MD(e,t){return Mt(e).pipe(Rd(t),Fd(t))}(e,t);if(wd(e))return Pd(e,t);if(Id(e))return function TD(e,t){return new Re(n=>{let i;return tn(n,t,()=>{i=e[Md](),tn(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>fe(i?.return)&&i.return()})}(e,t);if(xd(e))return function xD(e,t){return Pd(Td(e),t)}(e,t)}throw Ed(e)}(e,t):Mt(e)}function kd(...e){const t=Yi(e),n=function wD(e,t){return"number"==typeof Ea(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?Mt(i[0]):Nd(n)(ti(i,t)):wa}function Ld(e={}){const{connector:t=(()=>new Jn),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return gt((g,y)=>{l++,!d&&!u&&f();const v=c=c??t();y.add(()=>{l--,0===l&&!d&&!u&&(a=Ma(p,r))}),v.subscribe(y),!s&&l>0&&(s=new Zi({next:m=>v.next(m),error:m=>{d=!0,f(),a=Ma(h,n,m),v.error(m)},complete:()=>{u=!0,f(),a=Ma(h,i),v.complete()}}),Mt(g).subscribe(s))})(o)}}function Ma(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new Zi({next:()=>{i.unsubscribe(),e()}});return Mt(t(...n)).subscribe(i)}function Vd(e,t){return gt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(at(i,c=>{r?.unsubscribe();let l=0;const u=o++;Mt(e(c,u)).subscribe(r=at(i,d=>i.next(t?t(c,d,u,l++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function OD(e,t){return e===t}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function fo(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ia(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const FD=ne({__forward_ref__:ne});function ce(e){return e.__forward_ref__=ce,e.toString=function(){return Te(this())},e}function k(e){return Ta(e)?e():e}function Ta(e){return"function"==typeof e&&e.hasOwnProperty(FD)&&e.__forward_ref__===ce}function xa(e){return e&&!!e.\u0275providers}const Bd="https://g.co/ng/security#xss";class D extends Error{constructor(t,n){super(function ho(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function V(e){return"string"==typeof e?e:null==e?"":String(e)}function po(e,t){throw new D(-201,!1)}function mt(e,t){null==e&&function J(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ve(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return jd(e,mo)||jd(e,$d)}function jd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hd(e){return e&&(e.hasOwnProperty(Aa)||e.hasOwnProperty(jD))?e[Aa]:null}const mo=ne({\u0275prov:ne}),Aa=ne({\u0275inj:ne}),$d=ne({ngInjectableDef:ne}),jD=ne({ngInjectorDef:ne});var P=(()=>((P=P||{})[P.Default=0]="Default",P[P.Host=1]="Host",P[P.Self=2]="Self",P[P.SkipSelf=4]="SkipSelf",P[P.Optional=8]="Optional",P))();let Sa;function Je(e){const t=Sa;return Sa=e,t}function Gd(e,t,n){const i=go(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&P.Optional?null:void 0!==t?t:void po(Te(e))}const se=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ki={},Na="__NG_DI_FLAG__",_o="ngTempTokenPath",$D=/\n/gm,zd="__source";let ni;function mn(e){const t=ni;return ni=e,t}function zD(e,t=P.Default){if(void 0===ni)throw new D(-203,!1);return null===ni?Gd(e,void 0,t):ni.get(e,t&P.Optional?null:void 0,t)}function L(e,t=P.Default){return(function Ud(){return Sa}()||zD)(k(e),t)}function re(e,t=P.Default){return L(e,yo(t))}function yo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oa(e){const t=[];for(let n=0;n<e.length;n++){const i=k(e[n]);if(Array.isArray(i)){if(0===i.length)throw new D(900,!1);let r,o=P.Default;for(let s=0;s<i.length;s++){const a=i[s],c=WD(a);"number"==typeof c?-1===c?r=a.token:o|=c:r=a}t.push(L(r,o))}else t.push(L(i))}return t}function Xi(e,t){return e[Na]=t,e.prototype[Na]=t,e}function WD(e){return e[Na]}function nn(e){return{toString:e}.toString()}var Lt=(()=>((Lt=Lt||{})[Lt.OnPush=0]="OnPush",Lt[Lt.Default=1]="Default",Lt))(),lt=(()=>{return(e=lt||(lt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",lt;var e})();const Vt={},K=[],vo=ne({\u0275cmp:ne}),Fa=ne({\u0275dir:ne}),Ra=ne({\u0275pipe:ne}),qd=ne({\u0275mod:ne}),rn=ne({\u0275fac:ne}),Ji=ne({__NG_ELEMENT_ID__:ne}),Zd=ne({__NG_ENV_ID__:ne});function Qd(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function Pa(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];Kd(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Yd(e){return 3===e||4===e||6===e}function Kd(e){return 64===e.charCodeAt(0)}function er(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Xd(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Xd(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const Jd="ng-template";function QD(e,t,n){let i=0,r=!0;for(;i<e.length;){let o=e[i++];if("string"==typeof o&&r){const s=e[i++];if(n&&"class"===o&&-1!==Qd(s.toLowerCase(),t,0))return!0}else{if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function ef(e){return 4===e.type&&e.value!==Jd}function YD(e,t,n){return t===(4!==e.type||n?e.value:Jd)}function KD(e,t,n){let i=4;const r=e.attrs||[],o=function eC(e){for(let t=0;t<e.length;t++)if(Yd(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&i){if(i=2|1&i,""!==c&&!YD(e,c,n)||""===c&&1===t.length){if(It(i))return!1;s=!0}}else{const l=8&i?c:t[++a];if(8&i&&null!==e.attrs){if(!QD(e.attrs,l,n)){if(It(i))return!1;s=!0}continue}const d=XD(8&i?"class":c,r,ef(e),n);if(-1===d){if(It(i))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Qd(h,l,0)||2&i&&l!==f){if(It(i))return!1;s=!0}}}}else{if(!s&&!It(i)&&!It(c))return!1;if(s&&It(c))continue;s=!1,i=c|1&i}}return It(i)||s}function It(e){return 0==(1&e)}function XD(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function tC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function tf(e,t,n=!1){for(let i=0;i<t.length;i++)if(KD(e,t[i],n))return!0;return!1}function nf(e,t){return e?":not("+t.trim()+")":t}function iC(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!It(s)&&(t+=nf(o,r),r=""),i=s,o=o||!It(i);n++}return""!==r&&(t+=nf(o,r)),t}function Tt(e){return nn(()=>{const t=sf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Lt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""};af(n);const i=e.dependencies;return n.directiveDefs=bo(i,!1),n.pipeDefs=bo(i,!0),n.id=function dC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function aC(e){return ee(e)||Be(e)}function cC(e){return null!==e}function qe(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rf(e,t){if(null==e)return Vt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}function j(e){return nn(()=>{const t=sf(e);return af(t),t})}function et(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ee(e){return e[vo]||null}function Be(e){return e[Fa]||null}function tt(e){return e[Ra]||null}function sf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Vt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rf(e.inputs,t),outputs:rf(e.outputs)}}function af(e){e.features?.forEach(t=>t(e))}function bo(e,t){if(!e)return null;const n=t?tt:aC;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(cC)}const xe=0,M=1,H=2,he=3,xt=4,nr=5,je=6,ii=7,_e=8,ri=9,On=10,$=11,ir=12,cf=13,oi=14,ye=15,rr=16,si=17,Bt=18,or=19,lf=20,_n=21,on=22,Do=23,Co=24,W=25,ka=1,uf=2,jt=7,ai=9,He=11;function dt(e){return Array.isArray(e)&&"object"==typeof e[ka]}function nt(e){return Array.isArray(e)&&!0===e[ka]}function La(e){return 0!=(4&e.flags)}function Fn(e){return e.componentOffset>-1}function Eo(e){return 1==(1&e.flags)}function At(e){return!!e.template}function Va(e){return 0!=(512&e[H])}function Rn(e,t){return e.hasOwnProperty(rn)?e[rn]:null}let _C=se.WeakRef??class mC{constructor(t){this.ref=t}deref(){return this.ref}},vC=0,Ht=null,Mo=!1;function Fe(e){const t=Ht;return Ht=e,t}class gf{constructor(){this.id=vC++,this.ref=function yC(e){return new _C(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const i=n.producerNode.deref();if(null!=i&&n.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Mo;Mo=!0;try{for(const[n,i]of this.consumers){const r=i.consumerNode.deref();null!=r&&r.trackingVersion===i.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),r?.producers.delete(this.id))}}finally{Mo=t}}producerAccessed(){if(Mo)throw new Error("");if(null===Ht)return;let t=Ht.producers.get(this.id);void 0===t?(t={consumerNode:Ht.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Ht.trackingVersion},Ht.producers.set(this.id,t),this.consumers.set(Ht.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Ht.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Ht?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let mf=null;const yf=()=>{};class wC extends gf{constructor(t,n,i){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=yf,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Fe(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=yf,this.watch(this.registerOnCleanup)}finally{Fe(t)}}cleanup(){this.cleanupFn()}}class vf{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function sn(){return bf}function bf(e){return e.type.prototype.ngOnChanges&&(e.setInput=MC),EC}function EC(){const e=Cf(this),t=e?.current;if(t){const n=e.previous;if(n===Vt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function MC(e,t,n,i){const r=this.declaredInputs[n],o=Cf(e)||function IC(e,t){return e[Df]=t}(e,{previous:Vt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[r];s[r]=new vf(c&&c.currentValue,t,a===Vt),e[i]=t}sn.ngInherit=!0;const Df="__ngSimpleChanges__";function Cf(e){return e[Df]||null}const $t=function(e,t,n){};function ue(e){for(;Array.isArray(e);)e=e[xe];return e}function xo(e,t){return ue(t[e])}function it(e,t){return ue(t[e.index])}function Mf(e,t){return e.data[t]}function ci(e,t){return e[t]}function ft(e,t){const n=t[e];return dt(n)?n:n[xe]}function yn(e,t){return null==t?null:e[t]}function If(e){e[si]=0}function FC(e){1024&e[H]||(e[H]|=1024,xf(e,1))}function Tf(e){1024&e[H]&&(e[H]&=-1025,xf(e,-1))}function xf(e,t){let n=e[he];if(null===n)return;n[nr]+=t;let i=n;for(n=n[he];null!==n&&(1===t&&1===i[nr]||-1===t&&0===i[nr]);)n[nr]+=t,i=n,n=n[he]}const F={lFrame:Bf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return F.bindingsEnabled}function _(){return F.lFrame.lView}function Q(){return F.lFrame.tView}function Ce(e){return F.lFrame.contextLView=e,e[_e]}function we(e){return F.lFrame.contextLView=null,e}function Pe(){let e=Of();for(;null!==e&&64===e.type;)e=e.parent;return e}function Of(){return F.lFrame.currentTNode}function Ut(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function Ga(){return F.lFrame.isParent}function za(){F.lFrame.isParent=!1}function Ze(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ui(){return F.lFrame.bindingIndex++}function cn(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zC(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wa(t)}function Wa(e){F.lFrame.currentDirectiveIndex=e}function kf(){return F.lFrame.currentQueryIndex}function Za(e){F.lFrame.currentQueryIndex=e}function qC(e){const t=e[M];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function Lf(e,t,n){if(n&P.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&P.Host||(r=qC(o),null===r||(o=o[oi],10&r.type))););if(null===r)return!1;t=r,e=o}const i=F.lFrame=Vf();return i.currentTNode=t,i.lView=e,!0}function Qa(e){const t=Vf(),n=e[M];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vf(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Bf(e):t}function Bf(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function jf(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hf=jf;function Ya(){const e=jf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Qe(){return F.lFrame.selectedIndex}function Pn(e){F.lFrame.selectedIndex=e}function pe(){const e=F.lFrame;return Mf(e.tView,e.selectedIndex)}let Uf=!0;function Ao(){return Uf}function vn(e){Uf=e}function So(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function No(e,t,n){Gf(e,t,3,n)}function Oo(e,t,n,i){(3&e[H])===n&&Gf(e,t,n,i)}function Ka(e,t){let n=e[H];(3&n)===t&&(n&=8191,n+=1,e[H]=n)}function Gf(e,t,n,i){const o=i??-1,s=t.length-1;let a=0;for(let c=void 0!==i?65535&e[si]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=i&&a>=i)break}else t[c]<0&&(e[si]+=65536),(a<o||-1==o)&&(tw(e,n,t,c),e[si]=(4294901760&e[si])+c+2),c++}function zf(e,t){$t(4,e,t);const n=Fe(null);try{t.call(e)}finally{Fe(n),$t(5,e,t)}}function tw(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[H]>>13<e[si]>>16&&(3&e[H])===t&&(e[H]+=8192,zf(a,o)):zf(a,o)}const di=-1;class cr{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Wf(e){return e!==di}function Fo(e){return 32767&e}function Ro(e,t){let n=function ow(e){return e>>16}(e),i=t;for(;n>0;)i=i[oi],n--;return i}let Ja=!0;function Po(e){const t=Ja;return Ja=e,t}const qf=255,Zf=5;let sw=0;const Gt={};function ko(e,t){const n=Qf(e,t);if(-1!==n)return n;const i=t[M];i.firstCreatePass&&(e.injectorIndex=t.length,ec(i.data,e),ec(t,null),ec(i.blueprint,null));const r=tc(e,t),o=e.injectorIndex;if(Wf(r)){const s=Fo(r),a=Ro(r,t),c=a[M].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=r,o}function ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function tc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=nh(r),null===i)return di;if(n++,r=r[oi],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return di}function nc(e,t,n){!function aw(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ji)&&(i=n[Ji]),null==i&&(i=n[Ji]=sw++);const r=i&qf;t.data[e+(r>>Zf)]|=1<<r}(e,t,n)}function Yf(e,t,n){if(n&P.Optional||void 0!==e)return e;po()}function Kf(e,t,n,i){if(n&P.Optional&&void 0===i&&(i=null),!(n&(P.Self|P.Host))){const r=e[ri],o=Je(void 0);try{return r?r.get(t,i,n&P.Optional):Gd(t,i,n&P.Optional)}finally{Je(o)}}return Yf(i,0,n)}function Xf(e,t,n,i=P.Default,r){if(null!==e){if(2048&t[H]&&!(i&P.Self)){const s=function fw(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[H]&&!(512&s[H]);){const a=Jf(o,s,n,i|P.Self,Gt);if(a!==Gt)return a;let c=o.parent;if(!c){const l=s[lf];if(l){const u=l.get(n,Gt,i);if(u!==Gt)return u}c=nh(s),s=s[oi]}o=c}return r}(e,t,n,i,Gt);if(s!==Gt)return s}const o=Jf(e,t,n,i,Gt);if(o!==Gt)return o}return Kf(t,n,i,r)}function Jf(e,t,n,i,r){const o=function uw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ji)?e[Ji]:void 0;return"number"==typeof t?t>=0?t&qf:dw:t}(n);if("function"==typeof o){if(!Lf(t,e,i))return i&P.Host?Yf(r,0,i):Kf(t,n,i,r);try{const s=o(i);if(null!=s||i&P.Optional)return s;po()}finally{Hf()}}else if("number"==typeof o){let s=null,a=Qf(e,t),c=di,l=i&P.Host?t[ye][je]:null;for((-1===a||i&P.SkipSelf)&&(c=-1===a?tc(e,t):t[a+8],c!==di&&th(i,!1)?(s=t[M],a=Fo(c),t=Ro(c,t)):a=-1);-1!==a;){const u=t[M];if(eh(o,a,u.data)){const d=lw(a,t,n,s,i,l);if(d!==Gt)return d}c=t[a+8],c!==di&&th(i,t[M].data[a+8]===l)&&eh(o,a,t)?(s=u,a=Fo(c),t=Ro(c,t)):a=-1}}return r}function lw(e,t,n,i,r,o){const s=t[M],a=s.data[e+8],u=Lo(a,s,n,null==i?Fn(a)&&Ja:i!=s&&0!=(3&a.type),r&P.Host&&o===a);return null!==u?kn(t,s,u,a):Gt}function Lo(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(r){const h=s[c];if(h&&At(h)&&h.type===n)return c}return null}function kn(e,t,n,i){let r=e[n];const o=t.data;if(function nw(e){return e instanceof cr}(r)){const s=r;s.resolving&&function RD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():V(e)}(o[n]));const a=Po(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Je(s.injectImpl):null;Lf(e,i,P.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ew(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=bf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==c&&Je(c),Po(a),s.resolving=!1,Hf()}}return r}function eh(e,t,n){return!!(n[t+(e>>Zf)]&1<<e)}function th(e,t){return!(e&P.Self||e&P.Host&&t)}class fi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Xf(this._tNode,this._lView,t,yo(i),n)}}function dw(){return new fi(Pe(),_())}function $e(e){return nn(()=>{const t=e.prototype.constructor,n=t[rn]||ic(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[rn]||ic(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ic(e){return Ta(e)?()=>{const t=ic(k(e));return t&&t()}:Rn(e)}function nh(e){const t=e[M],n=t.type;return 2===n?t.declTNode:1===n?e[je]:null}const pi="__parameters__";function mi(e,t,n){return nn(()=>{const i=function oc(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(pi)?c[pi]:Object.defineProperty(c,pi,{value:[]})[pi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function dr(e,t){e.forEach(n=>Array.isArray(n)?dr(n,t):t(n))}function rh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ht(e,t,n){let i=_i(e,t);return i>=0?e[1|i]=n:(i=~i,function _w(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function sc(e,t){const n=_i(e,t);if(n>=0)return e[1|n]}function _i(e,t){return function oh(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const cc=Xi(mi("Optional"),8),lc=Xi(mi("SkipSelf"),4);function Go(e){return 128==(128&e.flags)}var rt=(()=>((rt=rt||{})[rt.Important=1]="Important",rt[rt.DashCase=2]="DashCase",rt))();const Vw=/^>|^->|<!--|-->|--!>|<!-$/g,Bw=/(<|>)/,jw="\u200b$1\u200b";const hc=new Map;let Hw=0;const gc="__ngContext__";function Ue(e,t){dt(t)?(e[gc]=t[or],function Uw(e){hc.set(e[or],e)}(t)):e[gc]=t}let mc;function _c(e,t){return mc(e,t)}function gr(e){const t=e[he];return nt(t)?t[he]:t}function Mh(e){return Th(e[ir])}function Ih(e){return Th(e[xt])}function Th(e){for(;null!==e&&!nt(e);)e=e[xt];return e}function bi(e,t,n,i,r){if(null!=i){let o,s=!1;nt(i)?o=i:dt(i)&&(s=!0,i=i[xe]);const a=ue(i);0===e&&null!==n?null==r?Oh(t,n,a):Ln(t,n,a,r||null,!0):1===e&&null!==n?Ln(t,n,a,r||null,!0):2===e?function Yo(e,t,n){const i=Zo(e,t);i&&function cE(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function dE(e,t,n,i,r){const o=n[jt];o!==ue(n)&&bi(t,e,i,o,r);for(let a=He;a<n.length;a++){const c=n[a];_r(c[M],c,e,t,i,o)}}(t,e,o,n,r)}}function yc(e,t){return e.createComment(function _h(e){return e.replace(Vw,t=>t.replace(Bw,jw))}(t))}function qo(e,t,n){return e.createElement(t,n)}function Ah(e,t){const n=e[ai],i=n.indexOf(t);Tf(t),n.splice(i,1)}function vc(e,t){if(e.length<=He)return;const n=He+t,i=e[n];if(i){const r=i[rr];null!==r&&r!==e&&Ah(r,i),t>0&&(e[n-1][xt]=i[xt]);const o=Vo(e,He+t);!function eE(e,t){_r(e,t,t[$],2,null,null),t[xe]=null,t[je]=null}(i[M],i);const s=o[Bt];null!==s&&s.detachView(o[M]),i[he]=null,i[xt]=null,i[H]&=-129}return i}function Sh(e,t){if(!(256&t[H])){const n=t[$];t[Do]?.destroy(),t[Co]?.destroy(),n.destroyNode&&_r(e,t,n,3,null,null),function iE(e){let t=e[ir];if(!t)return bc(e[M],e);for(;t;){let n=null;if(dt(t))n=t[ir];else{const i=t[He];i&&(n=i)}if(!n){for(;t&&!t[xt]&&t!==e;)dt(t)&&bc(t[M],t),t=t[he];null===t&&(t=e),dt(t)&&bc(t[M],t),n=t&&t[xt]}t=n}}(t)}}function bc(e,t){if(!(256&t[H])){t[H]&=-129,t[H]|=256,function aE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof cr)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],c=o[s+1];$t(4,a,c);try{c.call(a)}finally{$t(5,a,c)}}else{$t(4,r,o);try{o.call(r)}finally{$t(5,r,o)}}}}}(e,t),function sE(e,t){const n=e.cleanup,i=t[ii];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else n[o].call(i[n[o+1]]);null!==i&&(t[ii]=null);const r=t[_n];if(null!==r){t[_n]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,t),1===t[M].type&&t[$].destroy();const n=t[rr];if(null!==n&&nt(t[he])){n!==t[he]&&Ah(n,t);const i=t[Bt];null!==i&&i.detachView(e)}!function Gw(e){hc.delete(e[or])}(t)}}function Dc(e,t,n){return function Nh(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[xe];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===lt.None||o===lt.Emulated)return null}return it(i,n)}}(e,t.parent,n)}function Ln(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Oh(e,t,n){e.appendChild(t,n)}function Fh(e,t,n,i,r){null!==i?Ln(e,t,n,i,r):Oh(e,t,n)}function Zo(e,t){return e.parentNode(t)}let Cc,Ko,Ic,Xo,kh=function Ph(e,t,n){return 40&e.type?it(e,n):null};function Qo(e,t,n,i){const r=Dc(e,i,t),o=t[$],a=function Rh(e,t,n){return kh(e,t,n)}(i.parent||t[je],i,t);if(null!=r)if(Array.isArray(n))for(let c=0;c<n.length;c++)Fh(o,r,n[c],a,!1);else Fh(o,r,n,a,!1);void 0!==Cc&&Cc(o,i,t,n,r)}function mr(e,t){if(null!==t){const n=t.type;if(3&n)return it(t,e);if(4&n)return wc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return mr(e,i);{const r=e[t.index];return nt(r)?wc(-1,r):ue(r)}}if(32&n)return _c(t,e)()||ue(e[t.index]);{const i=Vh(e,t);return null!==i?Array.isArray(i)?i[0]:mr(gr(e[ye]),i):mr(e,t.next)}}return null}function Vh(e,t){return null!==t?e[ye][je].projection[t.projection]:null}function wc(e,t){const n=He+e+1;if(n<t.length){const i=t[n],r=i[M].firstChild;if(null!==r)return mr(i,r)}return t[jt]}function Ec(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],c=n.type;if(s&&0===t&&(a&&Ue(ue(a),i),n.flags|=2),32!=(32&n.flags))if(8&c)Ec(e,t,n.child,i,r,o,!1),bi(t,e,r,a,o);else if(32&c){const l=_c(n,i);let u;for(;u=l();)bi(t,e,r,u,o);bi(t,e,r,a,o)}else 16&c?jh(e,t,i,n,r,o):bi(t,e,r,a,o);n=s?n.projectionNext:n.next}}function _r(e,t,n,i,r,o){Ec(n,i,e.firstChild,t,r,o,!1)}function jh(e,t,n,i,r,o){const s=n[ye],c=s[je].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)bi(t,e,r,c[l],o);else{let l=c;const u=s[he];Go(i)&&(l.flags|=128),Ec(e,t,l,u,r,o,!0)}}function Hh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function $h(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&Pa(e,t,i),null!==r&&Hh(e,t,r),null!==o&&function hE(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Di(e){return function Mc(){if(void 0===Ko&&(Ko=null,se.trustedTypes))try{Ko=se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ko}()?.createHTML(e)||e}function yr(){if(void 0!==Ic)return Ic;if(typeof document<"u")return document;throw new D(210,!1)}function Uh(e){return function Tc(){if(void 0===Xo&&(Xo=null,se.trustedTypes))try{Xo=se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xo}()?.createHTML(e)||e}class Wh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bd})`}}function bn(e){return e instanceof Wh?e.changingThisBreaksApplicationSecurity:e}function vr(e,t){const n=function wE(e){return e instanceof Wh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Bd})`)}return n===t}class EE{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Di(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ME{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Di(t),n}}const TE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xc(e){return(e=String(e)).match(TE)?e:"unsafe:"+e}function ln(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function br(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Zh=ln("area,br,col,hr,img,wbr"),Qh=ln("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yh=ln("rp,rt"),Ac=br(Zh,br(Qh,ln("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")),br(Yh,ln("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")),br(Yh,Qh)),Sc=ln("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kh=br(Sc,ln("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ln("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")),xE=ln("script,style,template");class AE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ac.hasOwnProperty(n))return this.sanitizedSomething=!0,!xE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Kh.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;Sc[a]&&(c=xc(c)),this.buf.push(" ",s,'="',Xh(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ac.hasOwnProperty(n)&&!Zh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Xh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const SE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NE=/([^\#-~ |!])/g;function Xh(e){return e.replace(/&/g,"&").replace(SE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(NE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Jo;function Nc(e){return"content"in e&&function FE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ee=(()=>((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function Jh(e){const t=Dr();return t?Uh(t.sanitize(Ee.HTML,e)||""):vr(e,"HTML")?Uh(bn(e)):function OE(e,t){let n=null;try{Jo=Jo||function qh(e){const t=new ME(e);return function IE(){try{return!!(new window.DOMParser).parseFromString(Di(""),"text/html")}catch{return!1}}()?new EE(t):t}(e);let i=t?String(t):"";n=Jo.getInertBodyElement(i);let 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=Jo.getInertBodyElement(i)}while(i!==o);return Di((new AE).sanitizeChildren(Nc(n)||n))}finally{if(n){const i=Nc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(yr(),V(e))}function un(e){const t=Dr();return t?t.sanitize(Ee.URL,e)||"":vr(e,"URL")?bn(e):xc(V(e))}function Dr(){const e=_();return e&&e[On].sanitizer}class I{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const es=new I("ENVIRONMENT_INITIALIZER"),tp=new I("INJECTOR",-1),np=new I("INJECTOR_DEF_TYPES");class ip{get(t,n=Ki){if(n===Ki){const i=new Error(`NullInjectorError: No provider for ${Te(t)}!`);throw i.name="NullInjectorError",i}return n}}function jE(...e){return{\u0275providers:op(0,e),\u0275fromNgModule:!0}}function op(e,...t){const n=[],i=new Set;let r;return dr(t,o=>{const s=o;Oc(s,n,[],i)&&(r||=[],r.push(s))}),void 0!==r&&sp(r,n),n}function sp(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];Fc(r,o=>{t.push(o)})}}function Oc(e,t,n,i){if(!(e=k(e)))return!1;let r=null,o=Hd(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const c=e.ngModule;if(o=Hd(c),!o)return!1;r=c}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Oc(l,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;i.add(r);try{dr(o.imports,u=>{Oc(u,t,n,i)&&(l||=[],l.push(u))})}finally{}void 0!==l&&sp(l,t)}if(!a){const l=Rn(r)||(()=>new r);t.push({provide:r,useFactory:l,deps:K},{provide:np,useValue:r,multi:!0},{provide:es,useValue:()=>L(r),multi:!0})}const c=o.providers;null==c||a||Fc(c,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}function Fc(e,t){for(let n of e)xa(n)&&(n=n.\u0275providers),Array.isArray(n)?Fc(n,t):t(n)}const HE=ne({provide:String,useValue:ne});function Rc(e){return null!==e&&"object"==typeof e&&HE in e}function Vn(e){return"function"==typeof e}const Pc=new I("Set Injector scope."),ts={},UE={};let kc;function ns(){return void 0===kc&&(kc=new ip),kc}class Ci{}class Lc extends Ci{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bc(t,s=>this.processProvider(s)),this.records.set(tp,wi(void 0,this)),r.has("environment")&&this.records.set(Ci,wi(void 0,this));const o=this.records.get(Pc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(np.multi,K,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=mn(this),i=Je(void 0);try{return t()}finally{mn(n),Je(i)}}get(t,n=Ki,i=P.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Zd))return t[Zd](this);i=yo(i);const r=mn(this),o=Je(void 0);try{if(!(i&P.SkipSelf)){let a=this.records.get(t);if(void 0===a){const c=function ZE(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&go(t);a=c&&this.injectableDefInScope(c)?wi(Vc(t),ts):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&P.Self?ns():this.parent).get(t,n=i&P.Optional&&n===Ki?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[_o]=s[_o]||[]).unshift(Te(t)),r)throw s;return function qD(e,t,n,i){const r=e[_o];throw t[zd]&&r.unshift(t[zd]),e.message=function ZD(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Te(t);if(Array.isArray(t))r=t.map(Te).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Te(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace($D,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[_o]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Je(o),mn(r)}}resolveInjectorInitializers(){const t=mn(this),n=Je(void 0);try{const i=this.get(es.multi,K,P.Self);for(const r of i)r()}finally{mn(t),Je(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Te(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Vn(t=k(t))?t:k(t&&t.provide);const i=function zE(e){return Rc(e)?wi(void 0,e.useValue):wi(lp(e),ts)}(t);if(Vn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=wi(void 0,ts,!0),r.factory=()=>Oa(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===ts&&(n.value=UE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function qE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=k(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Vc(e){const t=go(e),n=null!==t?t.factory:Rn(e);if(null!==n)return n;if(e instanceof I)throw new D(204,!1);if(e instanceof Function)return function GE(e){const t=e.length;if(t>0)throw function fr(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(t,"?"),new D(204,!1);const n=function BD(e){return e&&(e[mo]||e[$d])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new D(204,!1)}function lp(e,t,n){let i;if(Vn(e)){const r=k(e);return Rn(r)||Vc(r)}if(Rc(e))i=()=>k(e.useValue);else if(function cp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Oa(e.deps||[]));else if(function ap(e){return!(!e||!e.useExisting)}(e))i=()=>L(k(e.useExisting));else{const r=k(e&&(e.useClass||e.provide));if(!function WE(e){return!!e.deps}(e))return Rn(r)||Vc(r);i=()=>new r(...Oa(e.deps))}return i}function wi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bc(e,t){for(const n of e)Array.isArray(n)?Bc(n,t):n&&xa(n)?Bc(n.\u0275providers,t):t(n)}const is=new I("AppId",{providedIn:"root",factory:()=>QE}),QE="ng",up=new I("Platform Initializer"),Bn=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jc=new I("CSP nonce",{providedIn:"root",factory:()=>yr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let fp=(e,t)=>null;function hp(e,t){return fp(e,t)}class rM{}class mp{}class sM{resolveComponentFactory(t){throw function oM(e){const t=Error(`No component factory found for ${Te(e)}.`);return t.ngComponent=e,t}(t)}}let Ei=(()=>{class e{static#e=this.NULL=new sM}return e})();function aM(){return Mi(Pe(),_())}function Mi(e,t){return new yt(it(e,t))}let yt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=aM}return e})();function cM(e){return e instanceof yt?e.nativeElement:e}class yp{}let Dn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function lM(){const e=_(),n=ft(Pe().index,e);return(dt(n)?n:e)[$]}()}return e})(),uM=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null})}return e})();class jn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const dM=new jn("16.1.5"),Kc={};function Mr(e){for(;e;){e[H]|=64;const t=gr(e);if(Va(e)&&!t)return e;e=t}return null}function Xc(e){return e.ngOriginalError}class Hn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xc(t);for(;n&&Xc(n);)n=Xc(n);return n||null}}const Dp=new I("",{providedIn:"root",factory:()=>!1});class Ip extends gf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Mr(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,i){const r=Fe(this);this.trackingVersion++;try{t(n,i)}finally{Fe(r)}}destroy(){this.trackingVersion++}}let ls=null;function Tp(){return ls??=new Ip,ls}function xp(e,t){return e[t]??Tp()}function Ap(e,t){const n=Tp();n.hasReadASignal&&(e[t]=ls,n.lView=e,ls=new Ip)}const U={};function w(e){Sp(Q(),_(),Qe()+e,!1)}function Sp(e,t,n,i){if(!i)if(3==(3&t[H])){const o=e.preOrderCheckHooks;null!==o&&No(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Oo(t,o,0,n)}Pn(n)}function Rp(e,t=null,n=null,i){const r=Pp(e,t,n,i);return r.resolveInjectorInitializers(),r}function Pp(e,t=null,n=null,i,r=new Set){const o=[n||K,jE(e)];return i=i||("object"==typeof e?void 0:Te(e)),new Lc(o,t||ns(),i||null,r)}let zt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ki;static#t=this.NULL=new ip;static create(n,i){if(Array.isArray(n))return Rp({name:""},i,n,"");{const r=n.name??"";return Rp({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=Y({token:e,providedIn:"any",factory:()=>L(tp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function b(e,t=P.Default){const n=_();return null===n?L(e,t):Xf(Pe(),n,k(e),t)}function us(e,t,n,i,r,o,s,a,c,l,u){const d=t.blueprint.slice();return d[xe]=r,d[H]=140|i,(null!==l||e&&2048&e[H])&&(d[H]|=2048),If(d),d[he]=d[oi]=e,d[_e]=n,d[On]=s||e&&e[On],d[$]=a||e&&e[$],d[ri]=c||e&&e[ri]||null,d[je]=o,d[or]=function $w(){return Hw++}(),d[on]=u,d[lf]=l,d[ye]=2==t.type?e[ye]:d,d}function Ti(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Jc(e,t,n,i,r){const o=Of(),s=Ga(),c=e.data[t]=function FM(e,t,n,i,r,o){let s=t?t.injectorIndex:-1,a=0;return function li(){return null!==F.skipHydrationRootTNode}()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,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,t,i,r);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,t,n,i,r),function GC(){return F.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function ar(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Ut(o,!0),o}function Ir(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function kp(e,t,n,i,r){const o=xp(t,Do),s=Qe(),a=2&i;try{if(Pn(-1),a&&t.length>W&&Sp(e,t,W,!1),$t(a?2:0,r),a)o.runInContext(n,i,r);else{const l=Fe(null);try{n(i,r)}finally{Fe(l)}}}finally{a&&null===t[Do]&&Ap(t,Do),Pn(s),$t(a?3:1,r)}}function el(e,t,n){if(La(t)){const i=Fe(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{Fe(i)}}}function tl(e,t,n){Nf()&&(function jM(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;Fn(n)&&function qM(e,t,n){const i=it(t,e),r=Lp(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=ds(e,us(e,r,null,s,i,t,null,e[On].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ko(n,t),Ue(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const c=e.data[a],l=kn(t,e,a,n);Ue(l,t),null!==s&&ZM(0,a-r,l,c,0,s),At(c)&&(ft(n.index,t)[_e]=kn(t,e,a,n))}}(e,t,n,it(n,t)),64==(64&n.flags)&&$p(e,t,n))}function nl(e,t,n=it){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function Lp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=il(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function il(e,t,n,i,r,o,s,a,c,l,u){const d=W+i,f=d+r,h=function TM(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:U);return n}(d,f),p="function"==typeof l?l():l;return h[M]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:c,consts:p,incompleteFirstPass:!1,ssrId:u}}let Vp=e=>null;function Bp(e,t,n,i){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];null===i?jp(n,t,r,o):i.hasOwnProperty(r)&&jp(n,t,i[r],o)}return n}function jp(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function pt(e,t,n,i,r,o,s,a){const c=it(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[i])?(cl(e,n,u,i,r),Fn(t)&&function kM(e,t){const n=ft(t,e);16&n[H]||(n[H]|=64)}(n,t.index)):3&t.type&&(i=function PM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(c,i,r))}function rl(e,t,n,i){if(Nf()){const r=null===i?null:{"":-1},o=function $M(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(tf(t,s.selectors,!1))if(i||(i=[]),At(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),ol(e,t,a.length)}else i.unshift(s),ol(e,t,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Hp(e,t,n,s,r,a),r&&function UM(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new D(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=er(n.mergedAttrs,n.attrs)}function Hp(e,t,n,i,r,o){for(let l=0;l<i.length;l++)nc(ko(n,t),e,i[l].type);!function zM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let l=0;l<i.length;l++){const u=i[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Ir(e,t,i.length,null);for(let l=0;l<i.length;l++){const u=i[l];n.mergedAttrs=er(n.mergedAttrs,u.hostAttrs),WM(e,n,t,c,u),GM(c,u,r),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}!function RM(e,t,n){const r=t.directiveEnd,o=e.data,s=t.attrs,a=[];let c=null,l=null;for(let u=t.directiveStart;u<r;u++){const d=o[u],f=n?n.get(d):null,p=f?f.outputs:null;c=Bp(d.inputs,u,c,f?f.inputs:null),l=Bp(d.outputs,u,l,p);const g=null===c||null===s||ef(t)?null:QM(c,u,s);a.push(g)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}(e,n,o)}function $p(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,s=function WC(){return F.lFrame.currentDirectiveIndex}();try{Pn(o);for(let a=i;a<r;a++){const c=e.data[a],l=t[a];Wa(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&HM(c,l)}}finally{Pn(-1),Wa(s)}}function HM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ol(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function GM(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;At(t)&&(n[""]=e)}}function WM(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=Rn(r.type)),s=new cr(o,At(r),b);e.blueprint[i]=s,n[i]=s,function VM(e,t,n,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function BM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,i,o)}}(e,t,i,Ir(e,n,r.hostVars,U),r)}function Wt(e,t,n,i,r,o){const s=it(e,t);!function sl(e,t,n,i,r,o,s){if(null==o)e.removeAttribute(t,r,n);else{const a=null==s?V(o):s(o,i||"",r);e.setAttribute(t,r,a,n)}}(t[$],s,o,e.value,n,i,r)}function ZM(e,t,n,i,r,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)Up(i,n,s[a++],s[a++],s[a++])}function Up(e,t,n,i,r){const o=Fe(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(i)&&(r=s[i].call(t,r)),null!==e.setInput?e.setInput(t,r,n,i):t[i]=r}finally{Fe(o)}}function QM(e,t,n){let i=null,r=0;for(;r<n.length;){const o=n[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=2)if(s[a]===t){i.push(o,s[a+1],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Gp(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null,null]}function zp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i+1];if(-1!==o){const s=e.data[o];Za(n[i]),s.contentQueries(2,t[o],o)}}}function ds(e,t){return e[ir]?e[cf][xt]=t:e[ir]=t,e[cf]=t,t}function al(e,t,n){Za(0);const i=Fe(null);try{t(e,n)}finally{Fe(i)}}function Wp(e){return e[ii]||(e[ii]=[])}function qp(e){return e.cleanup||(e.cleanup=[])}function Qp(e,t){const n=e[ri],i=n?n.get(Hn,null):null;i&&i.handleError(t)}function cl(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++];Up(e.data[s],t[s],i,a,r)}}function YM(e,t){const n=ft(t,e),i=n[M];!function KM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[xe];null!==r&&null===n[on]&&(n[on]=hp(r,n[ri])),ll(i,n,n[_e])}function ll(e,t,n){Qa(t);try{const i=e.viewQuery;null!==i&&al(1,i,n);const r=e.template;null!==r&&kp(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zp(e,t),e.staticViewQueries&&al(2,e.viewQuery,n);const o=e.components;null!==o&&function XM(e,t){for(let n=0;n<t.length;n++)YM(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[H]&=-5,Ya()}}let Yp=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,i,r){const o=typeof Zone>"u"?null:Zone.current,s=new wC(n,l=>{this.all.has(l)&&this.queue.set(l,o)},r);let a;this.all.add(s),s.notify();const c=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:()=>new e})}return e})();function fs(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=Ia(r,a):2==o&&(i=Ia(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Tr(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(ue(o)),nt(o)){for(let a=He;a<o.length;a++){const c=o[a],l=c[M].firstChild;null!==l&&Tr(c[M],c,l,i)}o[jt]!==o[xe]&&i.push(o[jt])}const s=n.type;if(8&s)Tr(e,t,n.child,i);else if(32&s){const a=_c(n,t);let c;for(;c=a();)i.push(c)}else if(16&s){const a=Vh(t,n);if(Array.isArray(a))i.push(...a);else{const c=gr(t[ye]);Tr(c[M],c,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function hs(e,t,n,i=!0){const r=t[On].rendererFactory;r.begin&&r.begin();try{Kp(e,t,e.template,n)}catch(s){throw i&&Qp(t,s),s}finally{r.end&&r.end(),t[On].effectManager?.flush()}}function Kp(e,t,n,i){const r=t[H];if(256!=(256&r)){t[On].effectManager?.flush(),Qa(t);try{If(t),function Rf(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kp(e,t,n,2,i);const s=3==(3&r);if(s){const l=e.preOrderCheckHooks;null!==l&&No(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Oo(t,l,0,null),Ka(t,0)}if(function r0(e){for(let t=Mh(e);null!==t;t=Ih(t)){if(!t[uf])continue;const n=t[ai];for(let i=0;i<n.length;i++){FC(n[i])}}}(t),Xp(t,2),null!==e.contentQueries&&zp(e,t),s){const l=e.contentCheckHooks;null!==l&&No(t,l)}else{const l=e.contentHooks;null!==l&&Oo(t,l,1),Ka(t,1)}!function IM(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const i=xp(t,Co);try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Pn(~o);else{const s=o,a=n[++r],c=n[++r];zC(a,s),i.runInContext(c,2,t[s])}}}finally{null===t[Co]&&Ap(t,Co),Pn(-1)}}(e,t);const a=e.components;null!==a&&eg(t,a,0);const c=e.viewQuery;if(null!==c&&al(2,c,i),s){const l=e.viewCheckHooks;null!==l&&No(t,l)}else{const l=e.viewHooks;null!==l&&Oo(t,l,2),Ka(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[H]&=-73,Tf(t)}finally{Ya()}}}function Xp(e,t){for(let n=Mh(e);null!==n;n=Ih(n))for(let i=He;i<n.length;i++)Jp(n[i],t)}function o0(e,t,n){Jp(ft(t,e),n)}function Jp(e,t){if(!function NC(e){return 128==(128&e[H])}(e))return;const n=e[M];if(80&e[H]&&0===t||1024&e[H]||2===t)Kp(n,e,n.template,e[_e]);else if(e[nr]>0){Xp(e,1);const r=e[M].components;null!==r&&eg(e,r,1)}}function eg(e,t,n){for(let i=0;i<t.length;i++)o0(e,t[i],n)}class xr{get rootNodes(){const t=this._lView,n=t[M];return Tr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[_e]}set context(t){this._lView[_e]=t}get destroyed(){return 256==(256&this._lView[H])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[he];if(nt(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(vc(t,i),Vo(n,i))}this._attachedToViewContainer=!1}Sh(this._lView[M],this._lView)}onDestroy(t){!function Af(e,t){if(256==(256&e[H]))throw new D(911,!1);null===e[_n]&&(e[_n]=[]),e[_n].push(t)}(this._lView,t)}markForCheck(){Mr(this._cdRefInjectingView||this._lView)}detach(){this._lView[H]&=-129}reattach(){this._lView[H]|=128}detectChanges(){hs(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nE(e,t){_r(e,t,t[$],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class s0 extends xr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;hs(t[M],t,t[_e],!1)}checkNoChanges(){}get context(){return null}}class tg extends Ei{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ee(t);return new Ar(n,this.ngModule)}}function ng(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class c0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=yo(i);const r=this.injector.get(t,Kc,i);return r!==Kc||n===Kc?r:this.parentInjector.get(t,n,i)}}class Ar extends mp{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=ng(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return ng(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function rC(e){return e.map(iC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof Ci?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new c0(t,o):t,a=s.get(yp,null);if(null===a)throw new D(407,!1);const u={rendererFactory:a,sanitizer:s.get(uM,null),effectManager:s.get(Yp,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=i?function xM(e,t,n,i){const o=i.get(Dp,!1)||n===lt.ShadowDom,s=e.selectRootElement(t,o);return function AM(e){Vp(e)}(s),s}(d,i,this.componentDef.encapsulation,s):qo(d,f,function a0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528,v=il(0,null,null,1,0,null,null,null,null,null,null),m=us(null,v,null,y,null,null,u,d,s,null,null);let T,B;Qa(m);try{const G=this.componentDef;let We,fa=null;G.findHostDirectiveDefs?(We=[],fa=new Map,G.findHostDirectiveDefs(G,We,fa),We.push(G)):We=[G];const RR=function u0(e,t){const n=e[M],i=W;return e[i]=t,Ti(n,i,2,"#host",null)}(m,h),PR=function d0(e,t,n,i,r,o,s){const a=r[M];!function f0(e,t,n,i){for(const r of e)t.mergedAttrs=er(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(fs(t,t.mergedAttrs,!0),null!==n&&$h(i,n,t))}(i,e,t,s);let c=null;null!==t&&(c=hp(t,r[ri]));const l=o.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=us(r,Lp(n),null,u,r[e.index],e,o,l,null,null,c);return a.firstCreatePass&&ol(a,e,i.length-1),ds(r,d),r[e.index]=d}(RR,h,G,We,m,u,d);B=Mf(v,W),h&&function p0(e,t,n,i){if(i)Pa(e,n,["ng-version",dM.full]);else{const{attrs:r,classes:o}=function oC(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!It(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&Pa(e,n,r),o&&o.length>0&&Hh(e,n,o.join(" "))}}(d,G,h,i),void 0!==n&&function g0(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const o=n[r];i.push(null!=o?Array.from(o):null)}}(B,this.ngContentSelectors,n),T=function h0(e,t,n,i,r,o){const s=Pe(),a=r[M],c=it(s,r);Hp(a,r,s,n,null,i);for(let u=0;u<n.length;u++)Ue(kn(r,a,s.directiveStart+u,s),r);$p(a,r,s),c&&Ue(c,r);const l=kn(r,a,s.directiveStart+s.componentOffset,s);if(e[_e]=r[_e]=l,null!==o)for(const u of o)u(l,t);return el(a,s,e),l}(PR,G,We,fa,m,[m0]),ll(v,m,null)}finally{Ya()}return new l0(this.componentType,T,Mi(B,m),m,B)}}class l0 extends rM{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new s0(r),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;cl(o[M],o,r,t,n),this.previousInputValues.set(t,n),Mr(ft(this._tNode.index,o))}}get injector(){return new fi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function m0(){const e=Pe();So(_()[M],e)}function ie(e){let t=function ig(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(At(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const s=e;s.inputs=ps(e.inputs),s.inputTransforms=ps(e.inputTransforms),s.declaredInputs=ps(e.declaredInputs),s.outputs=ps(e.outputs);const a=r.hostBindings;a&&b0(e,a);const c=r.viewQuery,l=r.contentQueries;if(c&&y0(e,c),l&&v0(e,l),fo(e.inputs,r.inputs),fo(e.declaredInputs,r.declaredInputs),fo(e.outputs,r.outputs),null!==r.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),fo(s.inputTransforms,r.inputTransforms)),At(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===ie&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=er(r.hostAttrs,n=er(n,r.hostAttrs))}}(i)}function ps(e){return e===Vt?{}:e===K?[]:e}function y0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function v0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function b0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function gs(e){return!!ul(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ul(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function qt(e,t,n){return e[t]=n}function Ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ke(e,t,n,i){const r=_();return Ge(r,ui(),t)&&(Q(),Wt(pe(),r,e,t,n,i)),ke}function Ai(e,t,n,i){return Ge(e,ui(),n)?t+V(n)+i:U}function X(e,t,n,i,r,o,s,a){const c=_(),l=Q(),u=e+W,d=l.firstCreatePass?function W0(e,t,n,i,r,o,s,a,c){const l=t.consts,u=Ti(t,e,4,s||null,yn(l,a));rl(t,n,u,yn(l,c)),So(t,u);const d=u.tView=il(2,u,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,l,c,t,n,i,r,o,s):l.data[u];Ut(d,!1);const f=vg(l,c,d,e);Ao()&&Qo(l,c,f,d),Ue(f,c),ds(c,c[u]=Gp(f,c,f,d)),Eo(d)&&tl(l,c,d),null!=s&&nl(c,d,a)}let vg=function bg(e,t,n,i){return vn(!0),t[$].createComment("")};function bs(e){return ci(function UC(){return F.lFrame.contextLView}(),W+e)}function E(e,t,n){const i=_();return Ge(i,ui(),t)&&pt(Q(),pe(),i,e,t,i[$],n,!1),E}function ml(e,t,n,i,r){const s=r?"class":"style";cl(e,n,t.inputs[s],s,i)}function N(e,t,n,i){const r=_(),o=Q(),s=W+e,a=r[$],c=o.firstCreatePass?function Y0(e,t,n,i,r,o){const s=t.consts,c=Ti(t,e,2,i,yn(s,r));return rl(t,n,c,yn(s,o)),null!==c.attrs&&fs(c,c.attrs,!1),null!==c.mergedAttrs&&fs(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,r,t,n,i):o.data[s],l=Dg(o,r,c,a,t,e);r[s]=l;const u=Eo(c);return Ut(c,!0),$h(a,l,c),32!=(32&c.flags)&&Ao()&&Qo(o,r,l,c),0===function PC(){return F.lFrame.elementDepthCount}()&&Ue(l,r),function kC(){F.lFrame.elementDepthCount++}(),u&&(tl(o,r,c),el(o,c,r)),null!==i&&nl(r,c),N}function x(){let e=Pe();Ga()?za():(e=e.parent,Ut(e,!1));const t=e;(function VC(e){return F.skipHydrationRootTNode===e})(t)&&function $C(){F.skipHydrationRootTNode=null}(),function LC(){F.lFrame.elementDepthCount--}();const n=Q();return n.firstCreatePass&&(So(n,e),La(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function iw(e){return 0!=(8&e.flags)}(t)&&ml(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function rw(e){return 0!=(16&e.flags)}(t)&&ml(n,t,_(),t.stylesWithoutHost,!1),x}function Se(e,t,n,i){return N(e,t,n,i),x(),Se}let Dg=(e,t,n,i,r,o)=>(vn(!0),qo(i,r,function $f(){return F.lFrame.currentNamespace}()));function St(e,t,n){const i=_(),r=Q(),o=e+W,s=r.firstCreatePass?function J0(e,t,n,i,r){const o=t.consts,s=yn(o,i),a=Ti(t,e,8,"ng-container",s);return null!==s&&fs(a,s,!0),rl(t,n,a,yn(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,n):r.data[o];Ut(s,!0);const a=wg(r,i,s,e);return i[o]=a,Ao()&&Qo(r,i,a,s),Ue(a,i),Eo(s)&&(tl(r,i,s),el(r,s,i)),null!=n&&nl(i,s),St}function Nt(){let e=Pe();const t=Q();return Ga()?za():(e=e.parent,Ut(e,!1)),t.firstCreatePass&&(So(t,e),La(e)&&t.queries.elementEnd(e)),Nt}let wg=(e,t,n,i)=>(vn(!0),yc(t[$],""));function bt(){return _()}function Ds(e){return!!e&&"function"==typeof e.then}function Eg(e){return!!e&&"function"==typeof e.subscribe}function ae(e,t,n,i){const r=_(),o=Q(),s=Pe();return function Ig(e,t,n,i,r,o,s){const a=Eo(i),l=e.firstCreatePass&&qp(e),u=t[_e],d=Wp(t);let f=!0;if(3&i.type||s){const g=it(i,t),y=s?s(g):g,v=d.length,m=s?B=>s(ue(B[i.index])):i.index;let T=null;if(!s&&a&&(T=function nI(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===n&&r[o+1]===i){const a=t[ii],c=r[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=o,T.__ngLastListenerFn__=o,f=!1;else{o=xg(i,t,u,o,!1);const B=n.listen(y,r,o);d.push(o,B),l&&l.push(r,m,v,v+1)}}else o=xg(i,t,u,o,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const G=t[p[y]][p[y+1]].subscribe(o),We=d.length;d.push(o,G),l&&l.push(r,i.index,We,-(We+1))}}}(o,r,r[$],s,e,t,i),ae}function Tg(e,t,n,i){try{return $t(6,t,n),!1!==n(i)}catch(r){return Qp(e,r),!1}finally{$t(7,t,n)}}function xg(e,t,n,i,r){return function o(s){if(s===Function)return i;Mr(e.componentOffset>-1?ft(e.index,t):t);let c=Tg(t,n,i,s),l=o.__ngNextListenerFn__;for(;l;)c=Tg(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&s.preventDefault(),c}}function R(e=1){return function ZC(e){return(F.lFrame.contextLView=function QC(e,t){for(;e>0;)t=t[oi],e--;return t}(e,F.lFrame.contextLView))[_e]}(e)}function _l(e,t,n){return yl(e,"",t,"",n),_l}function yl(e,t,n,i,r){const o=_(),s=Ai(o,t,n,i);return s!==U&&pt(Q(),pe(),o,e,s,o[$],r,!1),yl}function Cs(e,t){return e<<17|t<<2}function Cn(e){return e>>17&32767}function vl(e){return 2|e}function Un(e){return(131068&e)>>2}function bl(e,t){return-131069&e|t<<2}function Dl(e){return 1|e}function Lg(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?Cn(o):Un(o),c=!1;for(;0!==a&&(!1===c||s);){const u=e[a+1];dI(e[a],t)&&(c=!0,e[a+1]=i?Dl(u):vl(u)),a=i?Cn(u):Un(u)}c&&(e[n+1]=i?vl(o):Dl(o))}function dI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_i(e,t)>=0}const Ne={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vg(e){return e.substring(Ne.key,Ne.keyEnd)}function Bg(e,t){const n=Ne.textEnd;return n===t?-1:(t=Ne.keyEnd=function gI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ne.key=t,n),Li(e,t,n))}function Li(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Rr(e,t,n){return Ot(e,t,n,!1),Rr}function ws(e,t){return Ot(e,t,null,!0),ws}function Gg(e){!function Ft(e,t,n,i){const r=Q(),o=cn(2);r.firstUpdatePass&&Wg(r,null,o,i);const s=_();if(n!==U&&Ge(s,o,n)){const a=r.data[Qe()];if(Yg(a,i)&&!zg(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=Ia(c,n||"")),ml(r,a,s,n,i)}else!function MI(e,t,n,i,r,o,s,a){r===U&&(r=K);let c=0,l=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=c<r.length?r[c+1]:void 0,h=l<o.length?o[l+1]:void 0;let g,p=null;u===d?(c+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,g=h),null!==p&&Zg(e,t,n,i,p,g,s,a),u=c<r.length?r[c]:null,d=l<o.length?o[l]:null}}(r,a,s,s[$],s[o+1],s[o+1]=function wI(e,t,n){if(null==n||""===n)return K;const i=[],r=bn(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}(EI,Qt,e,!0)}function Qt(e,t){for(let n=function hI(e){return function Hg(e){Ne.key=0,Ne.keyEnd=0,Ne.value=0,Ne.valueEnd=0,Ne.textEnd=e.length}(e),Bg(e,Li(e,0,Ne.textEnd))}(t);n>=0;n=Bg(t,n))ht(e,Vg(t),!0)}function Ot(e,t,n,i){const r=_(),o=Q(),s=cn(2);o.firstUpdatePass&&Wg(o,e,s,i),t!==U&&Ge(r,s,t)&&Zg(o,o.data[Qe()],r,r[$],e,r[s+1]=function II(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Te(bn(e)))),e}(t,n),i,s)}function zg(e,t){return t>=e.expandoStartIndex}function Wg(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Qe()],s=zg(e,n);Yg(o,i)&&null===t&&!s&&(t=!1),t=function vI(e,t,n,i){const r=function qa(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Pr(n=Cl(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=Cl(r,e,t,n,i),null===o){let c=function bI(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Un(i))return e[Cn(i)]}(e,t,i);void 0!==c&&Array.isArray(c)&&(c=Cl(null,e,t,c[1],i),c=Pr(c,t.attrs,i),function DI(e,t,n,i){e[Cn(n?t.classBindings:t.styleBindings)]=i}(e,t,i,c))}else o=function CI(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Pr(i,e[o].hostAttrs,n);return Pr(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function lI(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=Cn(s),c=Un(s);e[i]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||_i(n,u)>0)&&(l=!0)):u=n,r)if(0!==c){const f=Cn(e[a+1]);e[i+1]=Cs(f,a),0!==f&&(e[f+1]=bl(e[f+1],i)),e[a+1]=function aI(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Cs(a,0),0!==a&&(e[a+1]=bl(e[a+1],i)),a=i;else e[i+1]=Cs(c,0),0===a?a=i:e[c+1]=bl(e[c+1],i),c=i;l&&(e[i+1]=vl(e[i+1])),Lg(e,u,i,!0),Lg(e,u,i,!1),function uI(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&_i(o,t)>=0&&(n[i+1]=Dl(n[i+1]))}(t,u,e,i,o),s=Cs(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function Cl(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=Pr(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Pr(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ht(e,s,!!n||t[++o]))}return void 0===e?null:e}function EI(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&ht(e,i,n)}function Zg(e,t,n,i,r,o,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function cI(e){return 1==(1&e)}(l)?Qg(c,t,n,r,Un(l),s):void 0;Es(u)||(Es(o)||function sI(e){return 2==(2&e)}(l)&&(o=Qg(c,null,n,r,a,s)),function fE(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:rt.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=rt.Important),e.setStyle(n,i,r,o))}}(i,s,xo(Qe(),n),r,o))}function Qg(e,t,n,i,r,o){const s=null===t;let a;for(;r>0;){const c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[r+1];f===U&&(f=d?K:void 0);let h=d?sc(f,i):u===i?f:void 0;if(l&&!Es(h)&&(h=sc(c,i)),Es(h)&&(a=h,s))return a;const p=e[r+1];r=s?Cn(p):Un(p)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=sc(c,i))}return a}function Es(e){return void 0!==e}function Yg(e,t){return 0!=(e.flags&(t?8:16))}function Le(e,t=""){const n=_(),i=Q(),r=e+W,o=i.firstCreatePass?Ti(i,r,1,t,null):i.data[r],s=Kg(i,n,o,t,e);n[r]=s,Ao()&&Qo(i,n,s,o),Ut(o,!1)}let Kg=(e,t,n,i,r)=>(vn(!0),function Wo(e,t){return e.createText(t)}(t[$],i));function Dt(e){return kr("",e,""),Dt}function kr(e,t,n){const i=_(),r=Ai(i,e,t,n);return r!==U&&function fn(e,t,n){const i=xo(t,e);!function xh(e,t,n){e.setValue(t,n)}(e[$],i,n)}(i,Qe(),r),kr}const Bi="en-US";let vm=Bi;function Ml(e,t,n,i,r){if(e=k(e),Array.isArray(e))for(let o=0;o<e.length;o++)Ml(e[o],t,n,i,r);else{const o=Q(),s=_();let a=Vn(e)?e:k(e.provide),c=lp(e);const l=Pe(),u=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Vn(e)||!e.multi){const h=new cr(c,r,b),p=Tl(a,t,r?u:u+f,d);-1===p?(nc(ko(l,s),o,a),Il(o,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Tl(a,t,u+f,d),p=Tl(a,t,u,u+f),y=p>=0&&n[p];if(r&&!y||!r&&!(h>=0&&n[h])){nc(ko(l,s),o,a);const v=function WT(e,t,n,i,r){const o=new cr(e,n,b);return o.multi=[],o.index=t,o.componentProviders=0,Gm(o,r,i&&!n),o}(r?zT:GT,n.length,r,i,c);!r&&y&&(n[p].providerFactory=v),Il(o,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(v),s.push(v)}else Il(o,e,h>-1?h:p,Gm(n[r?p:h],c,!r&&i));!r&&i&&y&&n[p].componentProviders++}}}function Il(e,t,n,i){const r=Vn(t),o=function $E(e){return!!e.useClass}(t);if(r||o){const c=(o?k(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[i,c]):l[u+1].push(i,c)}else l.push(n,c)}}}function Gm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Tl(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function GT(e,t,n,i){return xl(this.multi,[])}function zT(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=kn(n,n[M],this.providerFactory.index,i);o=a.slice(0,s),xl(r,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],xl(r,o);return o}function xl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function de(e,t=[]){return n=>{n.providersResolver=(i,r)=>function UT(e,t,n){const i=Q();if(i.firstCreatePass){const r=At(e);Ml(n,i.data,i.blueprint,r,!0),Ml(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class ji{}class qT{}class Al extends ji{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new tg(this);const r=function ut(e,t){const n=e[qd]||null;if(!n&&!0===t)throw new Error(`Type ${Te(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function dn(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Pp(t,n,[{provide:ji,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver},...i],Te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sl extends qT{constructor(t){super(),this.moduleType=t}create(t){return new Al(this.moduleType,t,[])}}function Xm(e,t,n,i,r){return function e_(e,t,n,i,r,o,s){const a=t+n;return function $n(e,t,n,i){const r=Ge(e,t,n);return Ge(e,t+1,i)||r}(e,a,r,o)?qt(e,a+2,s?i.call(s,r,o):i(r,o)):$r(e,a+2)}(_(),Ze(),e,t,n,i,r)}function $r(e,t){const n=e[t];return n===U?void 0:n}function o_(e,t,n){const i=e+W,r=_(),o=ci(r,i);return function Ur(e,t){return e[M].data[t].pure}(r,i)?function Jm(e,t,n,i,r,o){const s=t+n;return Ge(e,s,r)?qt(e,s+1,o?i.call(o,r):i(r)):$r(e,s+1)}(r,Ze(),t,o.transform,n,o):o.transform(n)}function Ol(e){return t=>{setTimeout(e,void 0,t)}}const oe=class Dx extends Jn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){const c=t;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=Ol(o),r&&(r=Ol(r)),s&&(s=Ol(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof Et&&t.add(a),a}};function Cx(){return this._results[Symbol.iterator]()}class Fl{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new oe)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Fl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Cx)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function gw(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let hn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Mx}return e})();const wx=hn,Ex=class extends wx{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,i){const s=this._declarationTContainer.tView,a=us(this._declarationLView,s,t,4096&this._declarationLView[H]?4096:16,null,s.declTNode,null,null,null,n||null,i||null);a[rr]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[Bt];return null!==l&&(a[Bt]=l.createEmbeddedView(s)),ll(s,a,t),new xr(a)}};function Mx(){return As(Pe(),_())}function As(e,t){return 4&e.type?new Ex(t,e,Mi(e,t)):null}let Yt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ox}return e})();function Ox(){return d_(Pe(),_())}const Fx=Yt,l_=class extends Fx{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Mi(this._hostTNode,this._hostLView)}get injector(){return new fi(this._hostTNode,this._hostLView)}get parentInjector(){const t=tc(this._hostTNode,this._hostLView);if(Wf(t)){const n=Ro(t,this._hostLView),i=Fo(t);return new fi(n[M].data[i+8],n)}return new fi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=u_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-He}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,r,false),a}createComponent(t,n,i,r,o){const s=t&&!function ur(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const c=s?t:new Ar(ee(t)),l=i||this.parentInjector;if(!o&&null==c.ngModule){const y=(s?l:this.parentInjector).get(Ci,null);y&&(o=y)}ee(c.componentType??{});const h=c.create(l,r,null,o);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,i){const r=t._lView,o=r[M];if(function OC(e){return nt(e[he])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const l=r[he],u=new l_(l,l[je],l[he]);u.detach(u.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function rE(e,t,n,i){const r=He+i,o=n.length;i>0&&(n[r-1][xt]=t),i<o-He?(t[xt]=n[r],rh(n,He+i,t)):(n.push(t),t[xt]=null),t[he]=n;const s=t[rr];null!==s&&n!==s&&function oE(e,t){const n=e[ai];t[ye]!==t[he][he][ye]&&(e[uf]=!0),null===n?e[ai]=[t]:n.push(t)}(s,t);const a=t[Bt];null!==a&&a.insertView(e),t[H]|=128}(o,r,a,s),!i){const c=wc(s,a),l=r[$],u=Zo(l,a[jt]);null!==u&&function tE(e,t,n,i,r,o){i[xe]=r,i[je]=t,_r(e,i,n,1,r,o)}(o,a[je],l,r,u,c)}return t.attachToViewContainerRef(),rh(Pl(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=u_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=vc(this._lContainer,n);i&&(Vo(Pl(this._lContainer),n),Sh(i[M],i))}detach(t){const n=this._adjustIndex(t,-1),i=vc(this._lContainer,n);return i&&null!=Vo(Pl(this._lContainer),n)?new xr(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function u_(e){return e[8]}function Pl(e){return e[8]||(e[8]=[])}function d_(e,t){let n;const i=t[e.index];return nt(i)?n=i:(n=Gp(i,t,null,e),t[e.index]=n,ds(t,n)),f_(n,t,e,i),new l_(n,e,t)}let f_=function h_(e,t,n,i){if(e[jt])return;let r;r=8&n.type?ue(i):function Rx(e,t){const n=e[$],i=n.createComment(""),r=it(t,e);return Ln(n,Zo(n,r),i,function lE(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[jt]=r};class kl{constructor(t){this.queryList=t,this.matches=null}clone(){return new kl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ll{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Ll(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==y_(t,n).matches&&this.queries[n].setDirty()}}class p_{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Vl{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new Vl(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Bl{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Bl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,Lx(n,o)),this.matchTNodeWithReadOption(t,n,Lo(n,t,o,!1,!1))}else i===hn?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Lo(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===yt||r===Yt||r===hn&&4&n.type)this.addMatch(n.index,-2);else{const o=Lo(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Lx(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Bx(e,t,n,i){return-1===n?function Vx(e,t){return 11&e.type?Mi(e,t):4&e.type?As(e,t):null}(t,e):-2===n?function jx(e,t,n){return n===yt?Mi(t,e):n===hn?As(t,e):n===Yt?d_(t,e):void 0}(e,t,i):kn(e,e[M],n,t)}function g_(e,t,n,i){const r=t[Bt].queries[i];if(null===r.matches){const o=e.data,s=n.matches,a=[];for(let c=0;c<s.length;c+=2){const l=s[c];a.push(l<0?null:Bx(t,o[l],s[c+1],n.metadata.read))}r.matches=a}return r.matches}function jl(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const s=g_(e,t,r,n);for(let a=0;a<o.length;a+=2){const c=o[a];if(c>0)i.push(s[a/2]);else{const l=o[a+1],u=t[-c];for(let d=He;d<u.length;d++){const f=u[d];f[rr]===f[he]&&jl(f[M],f,l,i)}if(null!==u[ai]){const d=u[ai];for(let f=0;f<d.length;f++){const h=d[f];jl(h[M],h,l,i)}}}}}return i}function Hl(e){const t=_(),n=Q(),i=kf();Za(i+1);const r=y_(n,i);if(e.dirty&&function SC(e){return 4==(4&e[H])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?jl(n,t,i,[]):g_(n,t,r,i);e.reset(o,cM),e.notifyOnChanges()}return!0}return!1}function $l(e,t,n){const i=Q();i.firstCreatePass&&(function __(e,t,n){null===e.queries&&(e.queries=new Vl),e.queries.track(new Bl(t,n))}(i,new p_(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function m_(e,t,n){const i=new Fl(4==(4&n));(function OM(e,t,n,i){const r=Wp(t);r.push(n),e.firstCreatePass&&qp(e).push(i,r.length-1)})(e,t,i,i.destroy),null===t[Bt]&&(t[Bt]=new Ll),t[Bt].queries.push(new kl(i))}(i,_(),t)}function Ul(){return function $x(e,t){return e[Bt].queries[t].queryList}(_(),kf())}function y_(e,t){return e.queries.getByIndex(t)}const dA=new I("Application Initializer");let Zl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=re(dA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const o=r();if(Ds(o))n.push(o);else if(Eg(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});n.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kt=new I("LocaleId",{providedIn:"root",factory:()=>re(Kt,P.Optional|P.SkipSelf)||function hA(){return typeof $localize<"u"&&$localize.locale||Bi}()});let gA=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ub(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function V_(...e){}class ve{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oe(!1),this.onMicrotaskEmpty=new oe(!1),this.onStable=new oe(!1),this.onError=new oe(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function vA(){const e="function"==typeof se.requestAnimationFrame;let t=se[e?"requestAnimationFrame":"setTimeout"],n=se[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function CA(e){const t=()=>{!function DA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yl(e),e.isCheckStableRunning=!0,Ql(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return B_(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),j_(e)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return B_(e),n.invoke(r,o,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),j_(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Yl(e),Ql(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ve.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(ve.isInAngularZone())throw new D(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,bA,V_,V_);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const bA={};function Ql(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function B_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function j_(e){e._nesting--,Ql(e)}class wA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oe,this.onMicrotaskEmpty=new oe,this.onStable=new oe,this.onError=new oe}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const H_=new I("",{providedIn:"root",factory:$_});function $_(){const e=re(ve);let t=!0;return kd(new Re(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),new Re(r=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ve.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Ld()))}const U_=new I(""),Ns=new I("");let Jl,Kl=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Jl||(function EA(e){Jl=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(L(ve),L(Xl),L(Ns))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),Xl=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Jl?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),wn=null;const G_=new I("AllowMultipleToken"),eu=new I("PlatformDestroyListeners"),z_=new I("appBootstrapListener");function Z_(e,t,n=[]){const i=`Platform: ${t}`,r=new I(i);return(o=[])=>{let s=tu();if(!s||s.injector.get(G_,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function TA(e){if(wn&&!wn.get(G_,!1))throw new D(400,!1);(function W_(){!function DC(e){mf=e}(()=>{throw new D(600,!1)})})(),wn=e;const t=e.get(Y_);(function q_(e){e.get(up,null)?.forEach(n=>n())})(e)}(function Q_(e=[],t){return zt.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:eu,useValue:new Set([()=>wn=null])},...e]})}(a,i))}return function AA(e){const t=tu();if(!t)throw new D(401,!1);return t}()}}function tu(){return wn?.get(Y_)??null}let Y_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function SA(e="zone.js",t){return"noop"===e?new wA:"zone.js"===e?new ve(t):e}(i?.ngZone,function K_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function QT(e,t,n){return new Al(e,t,n)}(n.moduleType,this.injector,function ny(e){return[{provide:ve,useFactory:e},{provide:es,multi:!0,useFactory:()=>{const t=re(OA,{optional:!0});return()=>t.initialize()}},{provide:ty,useFactory:NA},{provide:H_,useFactory:$_}]}(()=>r)),s=o.injector.get(Hn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:c=>{s.handleError(c)}});o.onDestroy(()=>{Os(this._modules,o),a.unsubscribe()})}),function X_(e,t,n){try{const i=n();return Ds(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(Zl);return a.runInitializers(),a.donePromise.then(()=>(function bm(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(vm=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Kt,Bi)||Bi),this._moduleDoBootstrap(o),o))})})}bootstrapModule(n,i=[]){const r=J_({},i);return function MA(e,t,n){const i=new Sl(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Ui);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(eu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(L(zt))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function J_(e,t){return Array.isArray(t)?t.reduce(J_,e):{...e,...t}}let Ui=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=re(ty),this.zoneIsStable=re(H_),this.componentTypes=[],this.components=[],this.isStable=re(gA).hasPendingTasks.pipe(Vd(n=>n?function SD(...e){return ti(e,Yi(e))}(!1):this.zoneIsStable),function ND(e,t=Qi){return e=e??OD,gt((n,i)=>{let r,o=!0;n.subscribe(at(i,s=>{const a=t(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),Ld()),this._injector=re(Ci)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof mp;if(!this._injector.get(Zl).done)throw!r&&function tr(e){const t=ee(e)||Be(e)||tt(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=r?n:this._injector.get(Ei).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function IA(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ji),l=s.create(zt.NULL,[],i||s.selector,a),u=l.location.nativeElement,d=l.injector.get(U_,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Os(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Os(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(z_,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Os(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Os(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ty=new I("",{providedIn:"root",factory:()=>re(Hn).handleError.bind(void 0)});function NA(){const e=re(ve),t=re(Hn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let OA=(()=>{class e{constructor(){this.zone=re(ve),this.applicationRef=re(Ui)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let nu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RA}return e})();function RA(e){return function PA(e,t,n){if(Fn(e)&&!n){const i=ft(e.index,t);return new xr(i,i)}return 47&e.type?new xr(t[ye],t):null}(Pe(),_(),16==(16&e))}class sy{constructor(){}supports(t){return gs(t)}create(t){return new HA(t)}}const jA=(e,t)=>t;class HA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex<cy(i,r,o)?n:i,a=cy(s,r,o),c=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)r++;else{o||(o=[]);const l=a-r,u=c-r;if(l!=u){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;u<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!gs(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),i=!0),n=n._next}else r=0,function x0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let 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}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new $A(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ay),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ay),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}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $A{constructor(t,n){this.item=t,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}}class UA{constructor(){this._head=null,this._tail=null}add(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)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class ay{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new UA,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cy(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class ly{constructor(){}supports(t){return t instanceof Map||ul(t)}create(){return new GA}}class GA{constructor(){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}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||ul(t)))throw new D(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let 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}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new zA(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let 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}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class zA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function uy(){return new Ps([new sy])}let Ps=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:uy});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||uy()),deps:[[e,new lc,new cc]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new D(901,!1)}}return e})();function dy(){return new zr([new ly])}let zr=(()=>{class e{static#e=this.\u0275prov=Y({token:e,providedIn:"root",factory:dy});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||dy()),deps:[[e,new lc,new cc]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new D(901,!1)}}return e})();const ZA=Z_(null,"core",[]);let QA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(L(Ui))};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({})}return e})();function lu(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let uu=null;function Wr(){return uu}class sS{}const Xt=new I("DocumentToken"),bu=/\s+/,Iy=[];let Ty=(()=>{class e{constructor(n,i,r,o){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=Iy,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(bu):Iy}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(bu):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(null!=n)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const r=this.stateMap.get(n);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){(n=n.trim()).length>0&&n.split(bu).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ps),b(zr),b(yt),b(Dn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class qS{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wn=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new qS(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),Ay(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{Ay(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(b(Yt),b(hn),b(Ps))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Ay(e,t){e.context.$implicit=t.item}let qn=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new ZS,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Sy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Sy("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(n,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(b(Yt),b(hn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class ZS{constructor(){this.$implicit=null,this.ngIf=null}}function Sy(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Te(t)}'.`)}let Oy=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=Fy}transform(n,i=Fy){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());const r=this.differ.diff(n),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function g1(e,t){return{key:e,value:t}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||e)(b(zr,16))};static#t=this.\u0275pipe=et({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function Fy(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),o=String(i);return r==o?0:r<o?-1:1}let Mu=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({})}return e})();const Ry="browser";function Py(e){return"server"===e}class q1 extends sS{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class xu extends q1{static makeCurrent(){!function oS(e){uu||(uu=e)}(new xu)}onAndCancel(t,n,i){return t.addEventListener(n,i),()=>{t.removeEventListener(n,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Z1(){return Yr=Yr||document.querySelector("base"),Yr?Yr.getAttribute("href"):null}();return null==n?null:function Q1(e){Zs=Zs||document.createElement("a"),Zs.setAttribute("href",e);const t=Zs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Yr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function zS(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let Zs,Yr=null,K1=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const Au=new I("EventManagerPlugins");let Hy=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r){return this._findPluginFor(i).addEventListener(n,i,r)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new D(5101,!1);return this._eventNameToPlugin.set(n,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(L(Au),L(ve))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class $y{constructor(t){this._doc=t}}const Su="ng-app-id";let Uy=(()=>{class e{constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Py(o),this.resetHostNodes()}addStyles(n){for(const i of n)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(n){for(const i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){const i=this.styleRef;i.get(n)?.elements?.forEach(r=>r.remove()),i.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Su}="${this.appId}"]`);if(n?.length){const i=new Map;return n.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(n,i){const r=this.styleRef;if(r.has(n)){const o=r.get(n);return o.usage+=i,o.usage}return r.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===n)return r.delete(i),o.removeAttribute(Su),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Su,this.appId),s}}addStyleToHost(n,i){const r=this.getStyleElement(n,i);n.appendChild(r);const o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(L(Xt),L(is),L(jc,8),L(Bn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const Nu={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/",math:"http://www.w3.org/1998/MathML/"},Ou=/%COMP%/g,tN=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function zy(e,t){return t.map(n=>n.replace(Ou,e))}let Wy=(()=>{class e{constructor(n,i,r,o,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Py(a),this.defaultRenderer=new Fu(n,s,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===lt.ShadowDom&&(i={...i,encapsulation:lt.Emulated});const r=this.getOrCreateRenderer(n,i);return r instanceof Zy?r.applyToHost(n):r instanceof Ru&&r.applyStyles(),r}getOrCreateRenderer(n,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case lt.Emulated:o=new Zy(c,l,i,this.appId,u,s,a,d);break;case lt.ShadowDom:return new oN(c,l,n,i,s,a,this.nonce,d);default:o=new Ru(c,l,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(L(Hy),L(Uy),L(is),L(tN),L(Xt),L(Bn),L(ve),L(jc))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();class Fu{constructor(t,n,i,r){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Nu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(qy(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(qy(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new D(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=Nu[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=Nu[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(rt.DashCase|rt.Important)?t.style.setProperty(n,i,r&rt.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&rt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){if("string"==typeof t&&!(t=Wr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(i))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function qy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class oN extends Fu{constructor(t,n,i,r,o,s,a,c){super(t,o,s,c),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=zy(r.id,r.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ru extends Fu{constructor(t,n,i,r,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=c?zy(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Zy extends Ru{constructor(t,n,i,r,o,s,a,c){const l=r+"-"+i.id;super(t,n,i,o,s,a,c,l),this.contentAttr=function nN(e){return"_ngcontent-%COMP%".replace(Ou,e)}(l),this.hostAttr=function iN(e){return"_nghost-%COMP%".replace(Ou,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}let sN=(()=>{class e extends $y{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r){return n.addEventListener(i,r,!1),()=>this.removeEventListener(n,i,r)}removeEventListener(n,i,r){return n.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(L(Xt))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const Qy=["alt","control","meta","shift"],aN={"\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"},cN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lN=(()=>{class e extends $y{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wr().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Qy.forEach(l=>{const u=i.indexOf(l);u>-1&&(i.splice(u,1),s+=l+".")}),s+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(n,i){let r=aN[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Qy.forEach(s=>{s!==r&&(0,cN[s])(n)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(i){return new(i||e)(L(Xt))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();const hN=Z_(ZA,"browser",[{provide:Bn,useValue:Ry},{provide:up,useValue:function uN(){xu.makeCurrent()},multi:!0},{provide:Xt,useFactory:function fN(){return function _E(e){Ic=e}(document),document},deps:[]}]),pN=new I(""),Xy=[{provide:Ns,useClass:class Y1{addToWindow(t){se.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new D(5103,!1);return o},se.getAllAngularTestabilities=()=>t.getAllTestabilities(),se.getAllAngularRootElements=()=>t.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(i=>{const r=se.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(c){s=s||c,o--,0==o&&i(s)};r.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?Wr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:U_,useClass:Kl,deps:[ve,Xl,Ns]},{provide:Kl,useClass:Kl,deps:[ve,Xl,Ns]}],Jy=[{provide:Pc,useValue:"root"},{provide:Hn,useFactory:function dN(){return new Hn},deps:[]},{provide:Au,useClass:sN,multi:!0,deps:[Xt,ve,Bn]},{provide:Au,useClass:lN,multi:!0,deps:[Xt]},Wy,Uy,Hy,{provide:yp,useExisting:Wy},{provide:class E1{},useClass:K1,deps:[]},[]];let gN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:is,useValue:n.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(L(pN,12))};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({providers:[...Jy,...Xy],imports:[Mu,QA]})}return e})();function CN(e,t){if(1&e){const n=bt();N(0,"img",2),ae("click",function(){const o=Ce(n).$implicit;return we(o.handler(o.operationName,o.operationMetadata))})("keypress",function(r){const s=Ce(n).$implicit;return we(R().operationKeypress(r,s))}),x()}if(2&e){const n=t.$implicit,i=R();E("title",n.title)("src",n.icon,un),ke("aria-label",n.title)("accesskey",n.accesskey||null)("aria-labelledby",i.labelledByText||null)("aria-describedby",i.describedByText||null)}}typeof window<"u"&&window;let wN=(()=>{class e{constructor(){this.labelledByText="",this.describedByText=""}ngOnInit(){this.statusText&&this.callType?this.describedByText=`${this.statusText} ${this.callType}`:this.statusText?this.describedByText=this.statusText:this.callType&&(this.describedByText=this.callType),this.callId&&(this.labelledByText=this.callId)}operationKeypress(n,i){"Enter"===n.code&&i.handler(i.operationName,i.operationMetadata)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-operation"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",operations:"operations"},decls:2,vars:1,consts:[[1,"callOptions"],["class","AnswerCallImages","tabindex","0","role","button",3,"title","src","click","keypress",4,"ngFor","ngForOf"],["tabindex","0","role","button",1,"AnswerCallImages",3,"title","src","click","keypress"]],template:function(i,r){1&i&&(N(0,"div",0),X(1,CN,1,6,"img",1),x()),2&i&&(w(1),E("ngForOf",r.operations))},dependencies:[Wn],styles:[".AnswerCallImages[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:1px}"]})}return e})();var Jt=(()=>((Jt=Jt||{})[Jt.STRING=0]="STRING",Jt[Jt.COUNTER=1]="COUNTER",Jt))();function ku(e){e=Number(e);const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t.toString()+":":"")+(n>0?("0"+n.toString()).slice(-2)+":":"00:")+(i>0?("0"+i.toString()).slice(-2):"00")}function EN(e,t){if(1&e&&Se(0,"input",2),2&e){const n=R();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),ke("aria-labelledby",n.labelledByText||null)}}function MN(e,t){if(1&e){const n=bt();N(0,"input",3),ae("click",function(){Ce(n);const r=R();return we(r.property.customOperations.handler(r.property.customOperations.eventName,r.property.customOperations.eventMetadata))}),x()}if(2&e){const n=R();E("name",n.processedDisplayValue)("title",n.title||null)("value",n.processedDisplayValue),ke("aria-labelledby",n.labelledByText||null)}}let IN=(()=>{class e{constructor(){this.labelledByText="",this.title="",this._timerId=null,this.processedDisplayValue=""}ngOnInit(){this.statusText&&this.callType?this.labelledByText=`${this.statusText} ${this.callType}`:this.statusText?this.labelledByText=this.statusText:this.callType&&(this.labelledByText=this.callType),this.callType&&this.callId?this.title=`${this.callType} ${this.callId}`:this.callType?this.title=this.callType:this.callId&&(this.title=this.callId),this.initValues()}initValues(){this.property.displayValueType===Jt.COUNTER?this.startCallCounter():this.processedDisplayValue=this.property.displayValue}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const n=this.property.displayValue,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.processedDisplayValue=ku(r)},1e3))}ngOnDestroy(){this.property.displayValueType===Jt.COUNTER&&null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-property"]],inputs:{statusText:"statusText",callId:"callId",callType:"callType",property:"property"},decls:2,vars:2,consts:[["readonly","","class","displayData","tabindex","0","type","text",3,"name","title","value",4,"ngIf"],["readonly","","class","cursor displayData","type","text","tabindex","0",3,"name","title","value","click",4,"ngIf"],["readonly","","tabindex","0","type","text",1,"displayData",3,"name","title","value"],["readonly","","type","text","tabindex","0",1,"cursor","displayData",3,"name","title","value","click"]],template:function(i,r){1&i&&(X(0,EN,1,4,"input",0),X(1,MN,1,4,"input",1)),2&i&&(E("ngIf",!r.property.customOperations),w(1),E("ngIf",r.property.customOperations))},dependencies:[qn],styles:["input[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}"]})}return e})(),TN=(()=>{class e{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){const n=this.CaculatePastHoldDuration();null==this._timerId&&(this._timerId=window.setInterval(()=>{const i=(new Date).getTime()/1e3,r=Math.floor(i-this.holdCounterData.currentHoldStartTime/1e3);this.displayTime=ku(r)+"/"+ku(n+r)},1e3))}CaculatePastHoldDuration(){let n=0;return this.holdCounterData.pastCallDurations&&this.holdCounterData.pastCallDurations.forEach(i=>{n+=(i.endTime-i.startTime)/1e3}),n}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-holdtimer"]],inputs:{holdCounterData:"holdCounterData",statusText:"statusText",callId:"callId"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","HoldCallDuration/TotalHoldCallDuration","type","text","tabindex","-1","title","Hold Duration",1,"holdCallDurationTimer",3,"value"]],template:function(i,r){1&i&&(N(0,"div",0),Se(1,"input",1),x()),2&i&&(w(1),E("value",r.displayTime),ke("aria-labelledby",r.labelledByText||null))},styles:[".holdCallDurationTimer[_ngcontent-%COMP%]:focus{outline-style:none}"]})}return e})(),xN=(()=>{class e{constructor(){this.labelledByText="",this.displayTime="00:00/00:00"}ngOnInit(){this.statusText&&this.callId?this.labelledByText=`${this.statusText} ${this.callId}`:this.statusText?this.labelledByText=this.statusText:this.callId&&(this.labelledByText=this.callId),this.startCallCounter()}startCallCounter(){null==this._timerId&&(this._timerId=window.setInterval(()=>{const n=this.startTime,i=(new Date).getTime()/1e3,r=Math.floor(i-n/1e3);this.displayTime=Math.floor(r/60)+":"+("0"+r%60).slice(-2)},1e3))}ngOnDestroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-duration"]],inputs:{statusText:"statusText",callId:"callId",startTime:"startTime"},decls:2,vars:2,consts:[[1,"holdCallDurationDiv"],["readonly","","name","CallDuration","type","text","tabindex","-1","title","Call Duration",1,"block","durationInput",3,"value"]],template:function(i,r){1&i&&(N(0,"div",0),Se(1,"input",1),x()),2&i&&(w(1),E("value",r.displayTime),ke("aria-labelledby",r.labelledByText||null))},styles:[".durationInput[_ngcontent-%COMP%]:focus{outline-style:none}"]})}return e})();var Mn=(()=>((Mn=Mn||{}).AGENT="AGENT",Mn.OTHER_PERSON="OTHER_PERSON",Mn.INFORMATION="INFORMATION",Mn))();const{isArray:AN}=Array,{getPrototypeOf:SN,prototype:NN,keys:ON}=Object;function iv(e){if(1===e.length){const t=e[0];if(AN(t))return{args:t,keys:null};if(function FN(e){return e&&"object"==typeof e&&SN(e)===NN}(t)){const n=ON(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}const{isArray:RN}=Array;function rv(e){return ei(t=>function PN(e,t){return RN(t)?e(...t):e(t)}(e,t))}function ov(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}let sv=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Dn),b(yt))};static#t=this.\u0275dir=j({type:e})}return e})(),Zn=(()=>{class e extends sv{static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=$e(e)))(r||e)}}();static#t=this.\u0275dir=j({type:e,features:[ie]})}return e})();const en=new I("NgValueAccessor"),VN={provide:en,useExisting:ce(()=>Gi),multi:!0},jN=new I("CompositionEventMode");let Gi=(()=>{class e extends sv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function BN(){const e=Wr()?Wr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Dn),b(yt),b(jN,8))};static#t=this.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&ae("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[de([VN]),ie]})}return e})();const ze=new I("NgValidators"),Tn=new I("NgAsyncValidators");function dv(e){return function In(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)?{required:!0}:null}function Qs(e){return null}function _v(e){return null!=e}function yv(e){return Ds(e)?ti(e):e}function vv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function bv(e,t){return t.map(n=>n(e))}function Dv(e){return e.map(t=>function $N(e){return!e.validate}(t)?t:n=>t.validate(n))}function Lu(e){return null!=e?function Cv(e){if(!e)return null;const t=e.filter(_v);return 0==t.length?null:function(n){return vv(bv(n,t))}}(Dv(e)):null}function Vu(e){return null!=e?function wv(e){if(!e)return null;const t=e.filter(_v);return 0==t.length?null:function(n){return function kN(...e){const t=Od(e),{args:n,keys:i}=iv(e),r=new Re(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;Mt(n[u]).subscribe(at(o,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(i?ov(i,a):a),o.complete())}))}});return t?r.pipe(rv(t)):r}(bv(n,t).map(yv)).pipe(ei(vv))}}(Dv(e)):null}function Ev(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Bu(e){return e?Array.isArray(e)?e:[e]:[]}function Ys(e,t){return Array.isArray(e)?e.includes(t):e===t}function Tv(e,t){const n=Bu(t);return Bu(e).forEach(r=>{Ys(n,r)||n.push(r)}),n}function xv(e,t){return Bu(t).filter(n=>!Ys(e,n))}class Av{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Lu(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Vu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Xe extends Av{get formDirective(){return null}get path(){return null}}class xn extends Av{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Sv{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ks=(()=>{class e extends Sv{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(b(xn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&ws("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ie]})}return e})(),Nv=(()=>{class e extends Sv{constructor(n){super(n)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Xe,10))};static#t=this.\u0275dir=j({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&ws("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ie]})}return e})();const Kr="VALID",Js="INVALID",zi="PENDING",Xr="DISABLED";function $u(e){return(ea(e)?e.validators:e)||null}function Uu(e,t){return(ea(t)?t.asyncValidators:e)||null}function ea(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Pv{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Kr}get invalid(){return this.status===Js}get pending(){return this.status==zi}get disabled(){return this.status===Xr}get enabled(){return this.status!==Xr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Tv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Tv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(xv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(xv(t,this._rawAsyncValidators))}hasValidator(t){return Ys(this._rawValidators,t)}hasAsyncValidator(t){return Ys(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=zi,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Xr,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Kr,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Kr||this.status===zi)&&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)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xr:Kr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=zi,this._hasOwnPendingAsyncValidator=!0;const n=yv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new oe,this.statusChanges=new oe}_calculateStatus(){return this._allControlsDisabled()?Xr:this.errors?Js:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zi)?zi:this._anyControlsHaveStatus(Js)?Js:Kr}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ea(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function WN(e){return Array.isArray(e)?Lu(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function qN(e){return Array.isArray(e)?Vu(e):e||null}(this._rawAsyncValidators)}}class Gu extends Pv{constructor(t,n,i){super($u(n),Uu(i,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,i={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function Rv(e,t,n){e._forEachChild((i,r)=>{if(void 0===n[r])throw new D(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function Fv(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new D(1e3,"");if(!i[n])throw new D(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,i)=>(t[i]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,i)=>!!i._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const i=this.controls[n];i&&t(i,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,i]of Object.entries(this.controls))if(this.contains(n)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(t,n){let i=t;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Wi=new I("CallSetDisabledState",{providedIn:"root",factory:()=>ta}),ta="always";function Jr(e,t,n=ta){zu(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function YN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&kv(e,t)})}(e,t),function XN(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function KN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&kv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function QN(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ra(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function zu(e,t){const n=function Mv(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Ev(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function Iv(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Ev(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();ra(t._rawValidators,r),ra(t._rawAsyncValidators,r)}function kv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const iO={provide:Xe,useExisting:ce(()=>sa)},eo=(()=>Promise.resolve())();let sa=(()=>{class e extends Xe{constructor(n,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new oe,this.form=new Gu({},Lu(n),Vu(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){eo.then(()=>{const i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Jr(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){eo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){eo.then(()=>{const i=this._findContainer(n.path),r=new Gu({});(function Lv(e,t){zu(e,t)})(r,n),i.registerControl(n.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){eo.then(()=>{const i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){eo.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Vv(e,t){e._syncPendingControls(),t.forEach(n=>{const i=n.control;"submit"===i.updateOn&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(b(ze,10),b(Tn,10),b(Wi,8))};static#t=this.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&ae("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([iO]),ie]})}return e})();function Bv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function jv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Hv=class extends Pv{constructor(t=null,n,i){super($u(n),Uu(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ea(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=jv(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Bv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Bv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){jv(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}},sO={provide:xn,useExisting:ce(()=>to)},Gv=(()=>Promise.resolve())();let to=(()=>{class e extends xn{constructor(n,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Hv,this._registered=!1,this.name="",this.update=new oe,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Zu(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Gi?n=o:function tO(e){return Object.getPrototypeOf(e.constructor)===Zn}(o)?i=o:r=o}),r||i||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function qu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Jr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){Gv.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&lu(i);Gv.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function na(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(i){return new(i||e)(b(Xe,9),b(ze,10),b(Tn,10),b(en,10),b(nu,8),b(Wi,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[de([sO]),ie,sn]})}return e})(),zv=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const cO={provide:en,useExisting:ce(()=>Qu),multi:!0};let qv=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({})}return e})(),lO=(()=>{class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n)return void this._accessors.splice(i,1)}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return!!n[0].control&&n[0]._parent===i._control._parent&&n[1].name===i.name}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:qv})}return e})(),Qu=(()=>{class e extends Zn{constructor(n,i,r,o){super(n,i),this._registry=r,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=re(Wi,{optional:!0})??ta}ngOnInit(){this._control=this._injector.get(xn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Dn),b(yt),b(lO),b(zt))};static#t=this.\u0275dir=j({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&ae("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[de([cO]),ie]})}return e})(),Qn=(()=>{class e{constructor(){this._validator=Qs}ngOnChanges(n){if(this.inputName in n){const i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Qs,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=j({type:e,features:[sn]})}return e})();const EO={provide:ze,useExisting:ce(()=>no),multi:!0};let no=(()=>{class e extends Qn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=lu,this.createValidator=n=>dv}enabled(n){return n}static#e=this.\u0275fac=function(){let n;return function(r){return(n||(n=$e(e)))(r||e)}}();static#t=this.\u0275dir=j({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){2&i&&ke("required",r._enabled?"":null)},inputs:{required:"required"},features:[de([EO]),ie]})}return e})(),SO=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[qv]})}return e})(),OO=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Wi,useValue:n.callSetDisabledState??ta}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[SO]})}return e})();function FO(e,t){if(1&e){const n=bt();N(0,"img",7),ae("error",function(){Ce(n);const r=R();return we(r.image=r.fallbackImage)}),x()}if(2&e){const n=R();Rr("border-color",n.color),E("src",n.image,un)}}function RO(e,t){if(1&e&&(N(0,"span",8),Le(1),x()),2&e){const n=R();w(1),Dt(n.username)}}function PO(e,t){if(1&e&&(N(0,"span",9),Le(1),x()),2&e){const n=R();w(1),Dt(n.timestamp)}}let kO=(()=>{class e{constructor(){this.alignRight=!1,this.focusOn=new oe}ngOnInit(){this.focusOn.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["app-chat-message"]],inputs:{message:"message",alignRight:"alignRight",username:"username",color:"color",timestamp:"timestamp",image:"image",fallbackImage:"fallbackImage"},outputs:{focusOn:"focusOn"},decls:9,vars:10,consts:[[1,"message-header"],["class","image",3,"src","border-color","error",4,"ngIf"],["class","username",4,"ngIf"],[1,"message-body-container"],[1,"message-body"],[3,"innerHTML"],["class","timestamp",4,"ngIf"],[1,"image",3,"src","error"],[1,"username"],[1,"timestamp"]],template:function(i,r){1&i&&(N(0,"div")(1,"div",0),X(2,FO,1,3,"img",1),X(3,RO,2,1,"span",2),x(),N(4,"div",3)(5,"div")(6,"div",4),Se(7,"span",5),x()()(),X(8,PO,2,1,"span",6),x()),2&i&&(Gg(r.alignRight?"message right-message":"message left-message"),w(2),E("ngIf",r.image),w(1),E("ngIf",r.username),w(3),Rr("background-color",r.color)("border-color",r.color),w(1),E("innerHTML",r.message,Jh),w(1),E("ngIf",r.timestamp))},dependencies:[qn],styles:['[_nghost-%COMP%]{display:block;margin-top:2px;margin-bottom:2px}.right-message[_ngcontent-%COMP%]{text-align:end}.timestamp[_ngcontent-%COMP%]{font-size:10px;margin-right:30px;margin-left:30px}.message-header[_ngcontent-%COMP%]{display:flex;-webkit-text-emphasis:none;text-emphasis:none;font-style:italic;font-size:.7em;align-items:center;margin-bottom:.5em}.message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:30px;border-radius:50%;border:2px solid red}.message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{font-weight:700}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-right:1px}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{margin-left:5px}.right-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-left:5px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%]{margin-left:1px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{margin-right:5px}.left-message[_ngcontent-%COMP%] > .message-header[_ngcontent-%COMP%] .username[_ngcontent-%COMP%]{margin-right:5px}.message-body-container[_ngcontent-%COMP%]{display:flex}.right-message[_ngcontent-%COMP%] > .message-body-container[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-body[_ngcontent-%COMP%]{display:inline-block;position:relative;border-radius:1em;padding:6px;font-style:normal;font-size:.8em;text-align:start;min-width:2em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.left-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid black;border-color:inherit;border-right:10px solid transparent;border-bottom:10px solid transparent;left:1px;bottom:-2px}.right-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]:after{content:"";position:absolute;border-left:10px solid transparent;border-top:10px solid black;border-top-color:inherit;border-bottom:0px solid transparent;right:1px;bottom:-2px}']})}return e})();const LO=["MessagesContainer"],VO=["autofocus"];function BO(e,t){if(1&e){const n=bt();St(0),N(1,"app-chat-message",9),ae("focusOn",function(r){return Ce(n),we(R().setOnFocus(r))}),x(),Nt()}if(2&e){const n=t.$implicit,i=R();w(1),E("alignRight",i.shouldAlignRight(n))("message",n.text)("username",n.username)("timestamp",n.timestamp)("image",n.userIcon.toString())("fallbackImage",i.settings.fallbackUserIcon.toString())("color",i.getColor(n))}}function jO(e,t){1&e&&(N(0,"div",10),Le(1," Someone is typing "),Se(2,"span")(3,"span")(4,"span"),x())}let HO=(()=>{class e{constructor(n){this.renderer=n,this.isTyping=!1,this.lastCount=-1,this._isAgentTyping=!1,this.isAgentTyping=new oe,this.newMessage=new oe,this.newMessageText="",this.usernameToColor={},this.colors=["#c2c4c4","#ffab91","#f48fb1","#29b6f6","#e1bee7","#9ccc65","#ffc107","#26c6da","#cddc39"],this.colorsIndex=0,this.agentColor="#2db0e0"}ngOnInit(){this.renderer.selectRootElement("#autofocus").focus()}ngAfterViewInit(){this.renderer.selectRootElement("#autofocus").focus()}updatedMessage(){try{return typeof this.newMsgs<"u"&&this.newMsgs.length>0?this.newMsgs:this.messages}catch{}finally{this.scrollToBottom()}}ngAfterViewChecked(){this.lastCount!==this.messages.length&&(this.lastCount=this.messages.length,this.scrollToBottom())}getColor(n){return n.type&&n.type===Mn.AGENT?this.agentColor:n.username?(this.usernameToColor[n.username]||(this.usernameToColor[n.username]=this.colors[this.colorsIndex],this.colorsIndex=(this.colorsIndex+1)%this.colors.length),this.usernameToColor[n.username]):this.colors[0]}shouldAlignRight(n){return n.type&&n.type===Mn.AGENT}sendNewMessage(n){n.preventDefault(),this.newMessageText&&(this.newMessage.emit(this.newMessageText),this.newMessageText=""),this.renderer.selectRootElement("#autofocus").focus()}setOnFocus(n){this.renderer.selectRootElement("#autofocus").focus()}onNewMessageFocus(n){const i=n&&this.newMessageText.length>0;i!==this._isAgentTyping&&(this._isAgentTyping=i,this.isAgentTyping.emit(i))}onKeyup(){const n=this.newMessageText.length>0;n!==this._isAgentTyping&&(this._isAgentTyping=n,this.isAgentTyping.emit(n))}scrollToBottom(){try{this.messagesContainer.nativeElement.scrollTop=this.messagesContainer.nativeElement.scrollHeight}catch{}}static#e=this.\u0275fac=function(i){return new(i||e)(b(Dn))};static#t=this.\u0275cmp=Tt({type:e,selectors:[["app-chat-box"]],viewQuery:function(i,r){if(1&i&&($l(LO,7),$l(VO,5)),2&i){let o;Hl(o=Ul())&&(r.messagesContainer=o.first),Hl(o=Ul())&&(r.autofocus=o.first)}},inputs:{settings:"settings",isTyping:"isTyping",messages:"messages",newMsgs:"newMsgs"},outputs:{isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:10,vars:7,consts:[[1,"chat-box"],["id","msgScroll",1,"messages"],["MessagesContainer",""],[4,"ngFor","ngForOf"],["class","typing-indicator",4,"ngIf"],[1,"message-box"],["id","autofocus","tabindex","1","type","text","placeholder","Type a message...",1,"message-input","scroll",3,"ngModel","disabled","ngModelChange","focus","keydown.enter","keyup"],["NewMessageText",""],["type","submit",1,"message-submit",3,"disabled","click"],[1,"chat-line",3,"alignRight","message","username","timestamp","image","fallbackImage","color","focusOn"],[1,"typing-indicator"]],template:function(i,r){1&i&&(N(0,"div",0)(1,"div",1,2),X(3,BO,2,7,"ng-container",3),X(4,jO,5,0,"div",4),x(),N(5,"div",5)(6,"textarea",6,7),ae("ngModelChange",function(s){return r.newMessageText=s})("focus",function(){return r.onNewMessageFocus(!0)})("keydown.enter",function(s){return r.sendNewMessage(s)})("keyup",function(){return r.onKeyup()}),x(),N(8,"button",8),ae("click",function(s){return r.sendNewMessage(s)}),Le(9,"Send"),x()()()),2&i&&(w(1),Rr("max-height",r.settings.maxHeight),w(2),E("ngForOf",r.updatedMessage()),w(1),E("ngIf",r.isTyping),w(2),E("ngModel",r.newMessageText)("disabled",r.settings.disableSendMessage),w(2),E("disabled",r.settings.disableSendMessage))},dependencies:[Wn,qn,Gi,Ks,to,kO],styles:[".message-box[_ngcontent-%COMP%]{flex:1 1 0;width:99%;background:#fff;margin:auto;position:relative;border-radius:5px;height:100%;border:1px solid #ccc}.message-box[_ngcontent-%COMP%] .message-input[_ngcontent-%COMP%]{background:none;border:none;outline:none!important;resize:none;font-family:inherit;font-size:.8rem;height:100%;margin:0;padding:10px 7px;width:89%;color:#444}.message-box[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus:-webkit-placeholder{color:transparent}.message-box[_ngcontent-%COMP%] .message-submit[_ngcontent-%COMP%]{position:absolute;z-index:1;top:26px;right:5px;background:#1e72ba;border:none;color:#fff;font-size:10px;line-height:1;padding:6px 10px;border-radius:5px;outline:none!important;transition:background .2s ease;cursor:pointer}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.chat-box[_ngcontent-%COMP%]{background-color:#f4f5fb;padding:5px}.messages[_ngcontent-%COMP%]{padding:5px;overflow:auto;min-height:50px}.chat-line[_ngcontent-%COMP%]{margin-bottom:15px}.new-message[_ngcontent-%COMP%]{border-top:solid black 1px;display:flex;align-content:center;height:25px}.new-message[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{flex:1 1 0;background-color:#f4f5fb;border:none;min-width:0}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]{position:relative;top:50%;transform:translateY(-50%);height:20px;cursor:pointer}.new-message[_ngcontent-%COMP%] input[type=image][_ngcontent-%COMP%]:disabled{opacity:.5;cursor:auto}.new-message[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.typing-indicator[_ngcontent-%COMP%]{font-size:.8em;font-style:italic}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;height:4px;width:4px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(1){animation:1.5s blink infinite .33333s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){animation:1.5s blink infinite .66666s}.typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){animation:1.5s blink infinite .99999s}@keyframes _ngcontent-%COMP%_chat-box_blink{50%{opacity:1}}"]})}return e})();function $O(e,t){if(1&e&&(N(0,"label",12),Le(1),x()),2&e){const n=R();w(1),Dt(n.interaction.UIHeadersData.directionText)}}function UO(e,t){if(1&e&&(N(0,"div",13),Se(1,"amc-holdtimer",14),x()),2&e){const n=R();w(1),E("holdCounterData",n.interaction.UIHeadersData.holdCounterData)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)}}function GO(e,t){if(1&e){const n=bt();N(0,"img",15),ae("click",function(){return Ce(n),we(R().minimize())})("keypress",function(r){return Ce(n),we(R().collapseKeypress(r))}),x()}2&e&&E("src",R().interaction.UIHeadersData.minimizeUrl,un)}function zO(e,t){if(1&e){const n=bt();N(0,"img",16),ae("click",function(){return Ce(n),we(R().maximize())})("keypress",function(r){return Ce(n),we(R().expandKeypress(r))}),x()}2&e&&E("src",R().interaction.UIHeadersData.maximizeUrl,un)}function WO(e,t){if(1&e&&(N(0,"div",17),Se(1,"amc-duration",18),x()),2&e){const n=R();w(1),E("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("startTime",n.interaction.startTime)}}function qO(e,t){if(1&e&&(St(0),N(1,"label",27),Le(2),x(),Se(3,"amc-property",28),Nt()),2&e){const n=R().$implicit,i=R(3);w(1),E("title",n.displayKey),w(1),Dt(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function ZO(e,t){if(1&e&&(St(0),X(1,qO,4,6,"ng-container",11),Nt()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function QO(e,t){if(1&e&&(St(0),N(1,"div",29)(2,"label",30),Le(3),x(),Se(4,"amc-property",28),x(),Nt()),2&e){const n=R().$implicit,i=R(3);w(2),E("title",n.displayKey),w(1),Dt(n.displayKey),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",i.interaction.subheaderData.value)("property",n)}}function YO(e,t){if(1&e&&(St(0),X(1,QO,5,6,"ng-container",11),Nt()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function KO(e,t){if(1&e&&Se(0,"amc-operation",31),2&e){const n=R(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function XO(e,t){if(1&e){const n=bt();N(0,"app-chat-box",32),ae("isAgentTyping",function(r){return Ce(n),we(R(3).isAgentTyping.emit(r))})("newMessage",function(r){return Ce(n),we(R(3).newMessage.emit(r))}),x()}if(2&e){const n=R(3);E("isTyping",n.interaction.chat.isCustomerTyping)("settings",n.interaction.chat.settings)("messages",n.interaction.chat.messages)("newMsgs",n.newMsgs)}}function JO(e,t){if(1&e&&Se(0,"amc-operation",33),2&e){const n=R(3);E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function eF(e,t){if(1&e&&(N(0,"div")(1,"div",19),Se(2,"input",20)(3,"input",21),x(),N(4,"div",22),X(5,ZO,2,1,"ng-container",23),X(6,YO,2,1,"ng-container",23),x(),X(7,KO,1,4,"amc-operation",24),X(8,XO,1,4,"app-chat-box",25),Se(9,"div",4),X(10,JO,1,4,"amc-operation",26),x()),2&e){const n=R(2);w(2),E("src",n.interaction.subheaderData.image.href,un)("title",n.interaction.subheaderData.tooltip||""),w(1),E("value",n.interaction.subheaderData.value)("id",n.interaction.subheaderData.value),ke("aria-labelledby",n.interaction.UIHeadersData.statusText+" "+n.interaction.subheaderData.value),w(2),E("ngForOf",n.interaction.properties),w(1),E("ngForOf",n.interaction.associatedData),w(1),E("ngIf",n.interaction.chat),w(1),E("ngIf",n.interaction.chat),w(1),E("id",n.interaction.interactionId),w(1),E("ngIf",!n.interaction.chat)}}function tF(e,t){if(1&e&&(St(0),N(1,"label",27),Le(2),x(),Se(3,"amc-property",28),Nt()),2&e){const n=R().$implicit,i=R().$implicit,r=R(3);w(1),E("title",n.displayKey),w(1),Dt(n.displayKey),w(1),E("callType",r.interaction.UIHeadersData.directionText)("statusText",r.interaction.UIHeadersData.statusText)("callId",i.header.value)("property",n)}}function nF(e,t){if(1&e&&(St(0),X(1,tF,4,6,"ng-container",11),Nt()),2&e){const n=t.$implicit;w(1),E("ngIf",n.visible)}}function iF(e,t){if(1&e&&(N(0,"div")(1,"div",19),Se(2,"input",20)(3,"input",34),x(),N(4,"div",35),X(5,nF,2,1,"ng-container",23),x(),Se(6,"amc-operation",33)(7,"div",36),x()),2&e){const n=t.$implicit,i=R(3);w(2),E("src",n.header.image.href,un)("title",n.header.tooltip||""),w(1),E("value",n.header.value),w(2),E("ngForOf",n.properties),w(1),E("callType",i.interaction.UIHeadersData.directionText)("statusText",i.interaction.UIHeadersData.statusText)("callId",n.header.value)("operations",n.operations)}}function rF(e,t){if(1&e&&(N(0,"div"),X(1,iF,8,8,"div",23),Se(2,"amc-operation",33),x()),2&e){const n=R(2);w(1),E("ngForOf",n.interaction.parties),w(1),E("callType",n.interaction.UIHeadersData.directionText)("statusText",n.interaction.UIHeadersData.statusText)("callId",n.interaction.subheaderData.value)("operations",n.interaction.operations)}}function oF(e,t){if(1&e&&(N(0,"div"),X(1,eF,11,11,"div",11),X(2,rF,3,5,"div",11),x()),2&e){const n=R();w(1),E("ngIf",!n.isConferenceCall()),w(1),E("ngIf",n.isConferenceCall())}}let sF=(()=>{class e{set _minimized(n){this.minimized=n,this.minimizedChanged.emit(n)}get _minimized(){return this.minimized}constructor(){this.minimizedChanged=new oe,this.isAgentTyping=new oe,this.newMessage=new oe,this._minimized=!1}ngOnInit(){}minimize(){this._minimized=!0}maximize(){this._minimized=!1}isConferenceCall(){return!!(this.interaction.parties&&this.interaction.parties.length>1)}collapseKeypress(n){"Enter"===n.code&&this.minimize()}expandKeypress(n){"Enter"===n.code&&this.maximize()}clickEvent(n){document.getElementById(n).className="success",null===localStorage.getItem("focusedPanel")?localStorage.setItem("focusedPanel",n):localStorage.getItem("focusedPanel")!=n&&(document.getElementById(localStorage.getItem("focusedPanel")).className="AnswerCallFocused",localStorage.setItem("focusedPanel",n))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-interaction"]],inputs:{interaction:"interaction",newMsgs:"newMsgs"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage"},decls:14,vars:10,consts:[[1,"AnswerCallFocused",3,"id"],[1,"editor","callHeaderTop",3,"click"],["aria-hidden","true",1,"statusImage",3,"src","click"],[1,"statusText"],[3,"id"],[1,"verticalDivider"],["class","directionText",4,"ngIf"],["class","holdCallDurationDiv",4,"ngIf"],["class","ViewExpandImage","alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",3,"src","click","keypress",4,"ngIf"],["class","ViewCollapseImage","alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",3,"src","click","keypress",4,"ngIf"],["class","DurationDiv",4,"ngIf"],[4,"ngIf"],[1,"directionText"],[1,"holdCallDurationDiv"],[3,"holdCounterData","statusText","callId"],["alt","Minimize","tabindex","0","role","button","aria-label","collapse Call Section",1,"ViewExpandImage",3,"src","click","keypress"],["alt","Maximize","tabindex","0","role","button","aria-label","expand Call Section",1,"ViewCollapseImage",3,"src","click","keypress"],[1,"DurationDiv"],[3,"statusText","callId","startTime"],[1,"editor","phoneNumberContainer"],["type","image","tabindex","-1",1,"callImage",3,"src","title"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value","id"],[1,"cadSection"],[4,"ngFor","ngForOf"],["id","close-chat",3,"callType","statusText","callId","operations",4,"ngIf"],[3,"isTyping","settings","messages","newMsgs","isAgentTyping","newMessage",4,"ngIf"],[3,"callType","statusText","callId","operations",4,"ngIf"],[1,"col1",3,"title"],[1,"col2",3,"callType","statusText","callId","property"],[1,"editor","displayDiv"],[1,"displayLabels",3,"title"],["id","close-chat",3,"callType","statusText","callId","operations"],[3,"isTyping","settings","messages","newMsgs","isAgentTyping","newMessage"],[3,"callType","statusText","callId","operations"],["readonly","","type","text","tabindex","-1",1,"editor","phoneNumberValue",3,"value"],[1,"grid-container"],[1,"AnswerCallFocused"]],template:function(i,r){1&i&&(N(0,"div",0)(1,"div",1),ae("click",function(){return r.clickEvent(r.interaction.interactionId)}),N(2,"img",2),ae("click",function(){return r.interaction.UIHeadersData.focusHandler.handler(r.interaction.UIHeadersData.focusHandler.operationName,r.interaction.UIHeadersData.focusHandler.operationMetadata)}),x(),N(3,"label",3)(4,"b",4),Le(5),x()(),N(6,"label",5),Le(7,"|"),x(),X(8,$O,2,1,"label",6),X(9,UO,2,3,"div",7),X(10,GO,1,1,"img",8),X(11,zO,1,1,"img",9),X(12,WO,2,3,"div",10),x(),X(13,oF,3,2,"div",11),x()),2&i&&(E("id",r.interaction.interactionId),w(2),E("src",r.interaction.UIHeadersData.statusUrl,un),w(2),E("id",r.interaction.UIHeadersData.statusText),w(1),Dt(r.interaction.UIHeadersData.statusText),w(3),E("ngIf",!r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",r.interaction.UIHeadersData.displayHoldCounter),w(1),E("ngIf",!r._minimized),w(1),E("ngIf",r._minimized),w(1),E("ngIf",r.interaction.displayCallTimer),w(1),E("ngIf",!r._minimized))},dependencies:[Wn,qn,wN,IN,TN,xN,HO],styles:["[_nghost-%COMP%]{display:block}.phoneNumberContainer[_ngcontent-%COMP%]{margin-left:5px!important;padding-left:0;display:flex;align-items:center}.cadSection[_ngcontent-%COMP%]{margin-bottom:5px}#close-chat[_ngcontent-%COMP%]{text-align-last:end}.grid-container[_ngcontent-%COMP%]{margin-left:5px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;max-width:calc(100% - 5px);overflow:hidden}.col1[_ngcontent-%COMP%]{grid-column:1/2}.col2[_ngcontent-%COMP%]{grid-column:2/3}.ViewExpandImage[_ngcontent-%COMP%]{margin:3px}.ViewExpandImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.ViewCollapseImage[_ngcontent-%COMP%]{margin:3px}.ViewCollapseImage[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:0px}.callImage[_ngcontent-%COMP%]{cursor:default}.phoneNumberValue[_ngcontent-%COMP%]:focus{outline-style:none}#call123[_ngcontent-%COMP%]{border:4px!important}.success[_ngcontent-%COMP%]{border:2px solid #00adbb!important}"]})}return e})();function aF(e,t){if(1&e){const n=bt();N(0,"amc-interaction",2),ae("minimizedChanged",function(){return Ce(n),we(R(2).onMinimizedChanged())})("isAgentTyping",function(r){return Ce(n),we(R(2).isAgentTyping.emit(r))})("newMessage",function(r){return Ce(n),we(R(2).newMessage.emit(r))}),x()}if(2&e){const n=t.$implicit,i=R(2);E("interaction",n)("newMsgs",i.newMsgs)}}function cF(e,t){if(1&e&&(St(0),X(1,aF,1,2,"amc-interaction",1),Nt()),2&e){const n=R();w(1),E("ngForOf",n.scenario.interactions)}}let lF=(()=>{class e{constructor(){this.minimizedChanged=new oe,this.isAgentTyping=new oe,this.newMessage=new oe,this.afterViewChecked=new oe}ngAfterViewChecked(){this.afterViewChecked.emit()}onMinimizedChanged(){this.minimizedChanged.emit()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-scenario"]],inputs:{scenario:"scenario",newMsgs:"newMsgs"},outputs:{minimizedChanged:"minimizedChanged",isAgentTyping:"isAgentTyping",newMessage:"newMessage",afterViewChecked:"afterViewChecked"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"interaction","newMsgs","minimizedChanged","isAgentTyping","newMessage",4,"ngFor","ngForOf"],[3,"interaction","newMsgs","minimizedChanged","isAgentTyping","newMessage"]],template:function(i,r){1&i&&X(0,cF,2,1,"ng-container",0),2&i&&E("ngIf",r.scenario&&r.scenario.interactions)},dependencies:[Wn,qn,sF]})}return e})();const td={now:()=>(td.delegate||Date).now(),delegate:void 0};class uF extends Jn{constructor(t=1/0,n=1/0,i=td){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=n.now();let a=0;for(let c=1;c<i.length&&i[c]<=s;c+=2)a=c;a&&i.splice(0,a+1)}}}const aa={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return aa.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return aa.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let nd;function vF(e,t,n){let i=n;return function fF(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function pF(e,t){if(!nd){const n=Element.prototype;nd=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&nd.call(e,t)}(e,r)||(i=o,0))),i}class DF{constructor(t,n){this.componentFactory=n.get(Ei).resolveComponentFactory(t)}create(t){return new CF(this.componentFactory,t)}}class CF{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new uF(1),this.events=this.eventEmitters.pipe(Vd(i=>kd(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(ve),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=aa.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,i){this.runInZone(()=>{i&&(n=i.call(this.componentRef?.instance,n)),null!==this.componentRef?function gF(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=zt.create({providers:[],parent:this.injector}),i=function yF(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],c=vF(a,t,r);-1!==c&&i[c].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(nu),this.implementsOnChanges=function hF(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Ui).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(ei(s=>({name:r,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=aa.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new vf(o,n,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class wF extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function id(e,t){const n=function _F(e,t){return t.get(Ei).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new DF(e,t.injector),r=function mF(e){const t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[function dF(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=[n,r]}),t}(n);class o extends wF{static#e=this.observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,f]=r[a];this.ngElementStrategy.setInputValue(d,l,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),o}const EF=function(e,t){return{"disposition-label-selected":e,"first-disposition":t}};function MF(e,t){if(1&e){const n=bt();N(0,"div",5)(1,"label",6),ae("keypress",function(r){const s=Ce(n).$implicit;return we(R().selectAndSubmitDisposition(r,s.key))}),N(2,"input",7),ae("change",function(){return Ce(n),we(R().submitDisposition())})("ngModelChange",function(r){return Ce(n),we(R().selectedDispositionValue=r)}),x(),Le(3),x()()}if(2&e){const n=t.$implicit,i=t.index,r=R();w(1),E("id",n.key)("ngClass",Xm(8,EF,r.selectedDispositionValue===n.key,0===i)),w(1),_l("value",n.key),E("required",!r.selectedDispositionValue)("name",r.dispositionName)("ngModel",r.selectedDispositionValue),ke("aria-label",n.value),w(1),kr(" ",n.value," ")}}let IF=(()=>{class e{constructor(){this.dispositionEmitter=new oe,this.selectedDispositionValue="",this.dispositionName=""}ngOnInit(){for(const n of this.disposition.dispositionMetadata)if("callId"===n.key){this.dispositionName=`disposition_${n.value}`;break}this.disposition.checkedDisposition&&(this.selectedDispositionValue=this.disposition.checkedDisposition)}submitDisposition(){const n={dispositionId:this.selectedDispositionValue,dispositionName:this.disposition.disposition.get(this.selectedDispositionValue),dispositionMetadata:this.disposition.dispositionMetadata};this.dispositionEmitter.emit(n)}selectAndSubmitDisposition(n,i){"Enter"===n.code&&(this.selectedDispositionValue=i,this.submitDisposition())}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-disposition"]],inputs:{disposition:"disposition"},outputs:{dispositionEmitter:"dispositionEmitter"},decls:7,vars:4,consts:[[1,"disposition-container"],[1,"header-container"],["attr.aria-label","set disposition",1,"disposition-header"],[1,"dispositions-container"],["class","disposition",4,"ngFor","ngForOf"],[1,"disposition"],["tabindex","0",1,"disposition-label",3,"id","ngClass","keypress"],["type","radio","tabindex","-1",1,"disposition-input",3,"value","required","name","ngModel","change","ngModelChange"]],template:function(i,r){1&i&&(N(0,"div",0)(1,"div",1)(2,"label",2),Le(3),x()(),N(4,"div",3),X(5,MF,4,11,"div",4),function r_(e,t){const n=Q();let i;const r=e+W;n.firstCreatePass?(i=function mx(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Rn(i.type)),s=Je(b);try{const a=Po(!1),c=o();return Po(a),function Q0(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,_(),r,c),c}finally{Je(s)}}(6,"keyvalue"),x()()),2&i&&(w(3),Dt(r.disposition.dispositionHeader),w(2),E("ngForOf",o_(6,2,r.disposition.disposition)))},dependencies:[Ty,Wn,Gi,Qu,Ks,no,to,Oy],styles:[".disposition-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:180px;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;white-space:nowrap;height:28px;position:sticky;overflow-x:hidden;overflow-y:hidden}.disposition-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:.9em;font-family:Arial;overflow-x:hidden}.disposition[_ngcontent-%COMP%]{margin-left:5px;padding-left:5px;white-space:nowrap}.disposition-label[_ngcontent-%COMP%]{text-overflow:ellipsis;font-weight:400;white-space:nowrap;font-size:.9em;overflow-x:hidden}.disposition-label-selected[_ngcontent-%COMP%]{text-overflow:ellipsis;font-weight:700;white-space:nowrap;font-size:.9em}.dispositions-container[_ngcontent-%COMP%]{overflow-y:scroll;max-height:150px;padding:3px}.disposition-label[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:5px}.first-disposition[_ngcontent-%COMP%]{margin-top:5px}"]})}return e})();function TF(e,t){if(1&e&&(N(0,"p",12),Le(1),x()),2&e){const n=R().$implicit;w(1),Dt(n.invalidMessage)}}function xF(e,t){if(1&e){const n=bt();N(0,"div",8)(1,"label",9),Le(2),x(),N(3,"input",10),ae("focusout",function(){const o=Ce(n).$implicit,s=R(),a=bs(2);return we(s.focusOutOfInput(a,o))}),x(),X(4,TF,2,1,"p",11),x()}if(2&e){const n=t.$implicit;w(2),kr(" ",n.name,": "),w(1),E("name",n.name)("type",n.type)("value",n.value)("placeholder",n.placeholder||"")("required",n.isRequired||!1),ke("aria-label",n.name),w(1),E("ngIf",n.isInvalid)}}let rd,AF=(()=>{class e{constructor(){this.loginDetailsProvided=new oe}ngOnInit(){this.loginData.header||(this.loginData.header="Login");for(let n of this.loginData.fields)n.isInvalid||(n.isInvalid=!1)}onLogin(n){for(const i of this.loginData.fields)i.value=n.value[i.name];this.loginDetailsProvided.emit(this.loginData)}focusOutOfInput(n,i){n.controls[i.name].valid||(i.isInvalid=!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Tt({type:e,selectors:[["amc-login"]],inputs:{loginData:"loginData"},outputs:{loginDetailsProvided:"loginDetailsProvided"},decls:10,vars:3,consts:[[1,"login-container"],["id","login-form",1,"login-form",3,"ngSubmit"],["loginForm","ngForm"],[1,"header-container"],["attr.aria-label","login",1,"login-header"],[1,"fields-container"],["class","field",4,"ngFor","ngForOf"],["type","submit","form","login-form","tabindex","0","attr.aria-label","send",1,"form-submit",3,"disabled"],[1,"field"],[1,"field-label"],["ngModel","",1,"field-input",3,"name","type","value","placeholder","required","focusout"],["class","invalid-input",4,"ngIf"],[1,"invalid-input"]],template:function(i,r){if(1&i){const o=bt();N(0,"div",0)(1,"form",1,2),ae("ngSubmit",function(){Ce(o);const a=bs(2);return we(r.onLogin(a))}),N(3,"div",3)(4,"label",4),Le(5),x()(),N(6,"div",5),X(7,xF,5,8,"div",6),N(8,"button",7),Le(9,"Login"),x()()()()}if(2&i){const o=bs(2);w(5),Dt(r.loginData.header),w(2),E("ngForOf",r.loginData.fields),w(1),E("disabled",!o.valid)}},dependencies:[Wn,qn,zv,Gi,Ks,Nv,no,to,sa],styles:[".login-container[_ngcontent-%COMP%]{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;overflow-x:hidden;overflow-y:hidden}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:sticky}.login-header[_ngcontent-%COMP%]{margin-top:auto;margin-left:7px;padding:5px;font-weight:700;font-size:.9em}.fields-container[_ngcontent-%COMP%]{overflow-y:auto;font-size:.9em;padding:5px}.field[_ngcontent-%COMP%]{display:table-row;margin:5px}.field-label[_ngcontent-%COMP%]{padding:10px;display:table-cell}.field-input[_ngcontent-%COMP%]{display:table-cell;border:1px solid #939598;border-radius:5px}.field-input[_ngcontent-%COMP%]:focus{box-shadow:0 0 5px #38badf}.form-submit[_ngcontent-%COMP%]{margin:15px 10px 10px;display:table-row;border:1px solid #00a4b0;border-radius:5px;background-color:#00a4b0;color:#f7f7f7;width:10em;height:2em;transition:all .2s;font-size:1.1em;position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.form-submit[_ngcontent-%COMP%]:hover{background-color:#01858f}.form-submit[_ngcontent-%COMP%]:disabled{background-color:silver;border-color:silver;color:#fff}input.ng-invalid.ng-touched[required][_ngcontent-%COMP%]{border-color:#a94442}.form-submit[_ngcontent-%COMP%]:focus{outline:2px solid rgb(50,150,218);outline-offset:5px}.invalid-input[_ngcontent-%COMP%]{margin:0;padding:0;color:#a94442;font-size:x-small}"]})}return e})();try{rd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{rd=!1}let io,ub=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function C1(e){return e===Ry}(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&&!rd)&&typeof CSS<"u"&&!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}static#e=this.\u0275fac=function(i){return new(i||e)(L(Bn))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ca(e){return function SF(){if(null==io&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>io=!0}))}finally{io=io||!1}return io}()?e:!!e.capture}let BF=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({providers:[BF]})}return e})();function hb(e){return Array.isArray(e)?e:[e]}function gb(e,t,n){e?tn(n,e,t):t()}function sd(...e){return function UF(){return Nd(1)}()(ti(e,Yi(e)))}class qF extends Et{constructor(t,n){super()}schedule(t,n=0){return this}}const ua={setInterval(e,t,...n){const{delegate:i}=ua;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=ua;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class ro{constructor(t,n=ro.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}ro.now=td.now;const YF=new class QF extends ro{constructor(t,n=ro.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}(class ZF extends qF{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return ua.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&ua.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Xn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});function XF(...e){const t=Yi(e);return gt((n,i)=>{(t?sd(e,n,t):sd(e,n)).subscribe(i)})}function JF(e){return gt((t,n)=>{Mt(e).subscribe(at(n,()=>n.complete(),ha)),!n.closed&&t.subscribe(n)})}const mb=new Set;let Kn,eR=(()=>{class e{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nR}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function tR(e,t){if(!mb.has(e))try{Kn||(Kn=document.createElement("style"),t&&(Kn.nonce=t),Kn.setAttribute("type","text/css"),document.head.appendChild(Kn)),Kn.sheet&&(Kn.sheet.insertRule(`@media ${e} {body{ }}`,0),mb.add(e))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static#e=this.\u0275fac=function(i){return new(i||e)(L(ub),L(jc,8))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nR(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let iR=(()=>{class e{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new Jn}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return _b(hb(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let o=function HF(...e){const t=Yi(e),n=Od(e),{args:i,keys:r}=iv(e);if(0===i.length)return ti([],t);const o=new Re(function $F(e,t,n=Qi){return i=>{gb(t,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let c=0;c<r;c++)gb(t,()=>{const l=ti(e[c],t);let u=!1;l.subscribe(at(i,d=>{o[c]=d,u||(u=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>ov(r,s):Qi));return n?o.pipe(rv(n)):o}(_b(hb(n)).map(s=>this._registerQuery(s).observable));return o=sd(o.pipe(function GF(e){return e<=0?()=>wa:gt((t,n)=>{let i=0;t.subscribe(at(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}(1)),o.pipe(function WF(e){return function zF(e,t){return gt((n,i)=>{let r=0;n.subscribe(at(i,o=>e.call(t,o,r++)&&i.next(o)))})}((t,n)=>e<=n)}(1),function KF(e,t=YF){return gt((n,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const l=o;o=null,i.next(l)}};function c(){const l=s+e,u=t.now();if(u<l)return r=this.schedule(void 0,l-u),void i.add(r);a()}n.subscribe(at(i,l=>{o=l,s=t.now(),r||(r=t.schedule(c,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(ei(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const i=this._mediaMatcher.matchMedia(n),o={observable:new Re(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(XF(i),ei(({matches:s})=>({query:n,matches:s})),JF(this._destroySubject)),mql:i};return this._queries.set(n,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(L(eR),L(ve))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _b(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}const Db="cdk-high-contrast-black-on-white",Cb="cdk-high-contrast-white-on-black",ad="cdk-high-contrast-active";let wb=(()=>{class e{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=re(iR).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(ad,Db,Cb),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?n.add(ad,Db):2===i&&n.add(ad,Cb)}}static#e=this.\u0275fac=function(i){return new(i||e)(L(ub),L(Xt))};static#t=this.\u0275prov=Y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pR=(()=>{class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(L(wb))};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[fb]})}return e})(),yR=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({})}return e})(),Eb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({})}return e})();const CR=new I("mat-sanity-checks",{providedIn:"root",factory:function DR(){return!0}});let da=(()=>{class e{constructor(n,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!function FF(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}static#e=this.\u0275fac=function(i){return new(i||e)(L(wb),L(CR,8),L(Xt))};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[Eb,Eb]})}return e})();const Tb=ca({passive:!0,capture:!0});class MR{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const n=function OF(e){return e.composedPath?e.composedPath()[0]:e.target}(t);n&&this._events.get(t.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,n,i,r){const o=this._events.get(n);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,Tb)})}removeHandler(t,n,i){const r=this._events.get(t);if(!r)return;const o=r.get(n);o&&(o.delete(i),0===o.size&&r.delete(n),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Tb)))}}class cd{static#e=this._eventManager=new MR;constructor(t,n,i,r){this._target=t,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=pb(i))}fadeInRipple(t,n,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...xb,...i.animation};i.centered&&(t=r.left+r.width/2,n=r.top+r.height/2);const s=i.radius||function TR(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(t,n,r),a=t-r.left,c=n-r.top,l=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=c-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,g=new ER(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);let y=null;return!p&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(g),m=()=>this._destroyRipple(g);u.addEventListener("transitionend",v),u.addEventListener("transitioncancel",m),y={onTransitionEnd:v,onTransitionCancel:m}}),this._activeRipples.set(g,y),(p||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const n=t.element,i={...xb,...t.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=pb(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Sb.forEach(i=>{cd._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Nb.forEach(n=>{this._triggerElement.addEventListener(n,this,Ab)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel)),t.element.remove()}_onMousedown(t){const n=function dR(e){return 0===e.buttons||0===e.offsetX&&0===e.offsetY}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function fR(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(Sb.forEach(n=>cd._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&Nb.forEach(n=>t.removeEventListener(n,this,Ab)))}}let xR=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[da,da]})}return e})(),OR=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[Mu,da,yR,xR,fb,pR,da]})}return e})(),FR=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){customElements.get("amc-webcomponents-scenario")||customElements.define("amc-webcomponents-scenario",id(lF,{injector:this.injector})),customElements.get("amc-webcomponents-disposition")||customElements.define("amc-webcomponents-disposition",id(IF,{injector:this.injector})),customElements.get("amc-webcomponents-login")||customElements.define("amc-webcomponents-login",id(AF,{injector:this.injector}))}static#e=this.\u0275fac=function(i){return new(i||e)(L(zt))};static#t=this.\u0275mod=qe({type:e});static#n=this.\u0275inj=Ve({imports:[gN,Mu,OO,OR]})}return e})();hN().bootstrapModule(FR).catch(e=>console.error(e))}},fe=>{fe(fe.s=740)}]);
|