Free javascript Hosting


my-element.js

Uploaded on Jan 23 2022 17:56 by singhabhinav.270

(()=>{"use strict";var e,v={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,f,t)=>{if(!r){var o=1/0;for(l=0;l<e.length;l++){for(var[r,f,t]=e[l],s=!0,u=0;u<r.length;u++)(!1&t||o>=t)&&Object.keys(n.O).every(d=>n.O[d](r[u]))?r.splice(u--,1):(s=!1,t<o&&(o=t));if(s){e.splice(l--,1);var c=f();void 0!==c&&(a=c)}}return a}t=t||0;for(var l=e.length;l>0&&e[l-1][2]>t;l--)e[l]=e[l-1];e[l]=[r,f,t]},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=f=>0===e[f];var a=(f,t)=>{var u,c,[l,o,s]=t,_=0;for(u in o)n.o(o,u)&&(n.m[u]=o[u]);if(s)var p=s(n);for(f&&f(t);_<l.length;_++)n.o(e,c=l[_])&&e[c]&&e[c][0](),e[l[_]]=0;return n.O(p)},r=self.webpackChunkangular_web_component=self.webpackChunkangular_web_component||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
(self.webpackChunkangular_web_component=self.webpackChunkangular_web_component||[]).push([[429],{142:()=>{!function(X,oe){"use strict";function ge(){var e=Ue.splice(0,Ue.length);for(F=0;e.length;)e.shift().call(null,e.shift())}function ye(e,r){for(var i=0,h=e.length;i<h;i++)Ae(e[i],r)}function Ve(e){return function(r){L(r)&&(Ae(r,e),le.length&&ye(r.querySelectorAll(le),e))}}function Ie(e){var r=R.call(e,"is"),i=e.nodeName.toUpperCase(),h=Ee.call(He,r?st+r.toUpperCase():qe+i);return r&&-1<h&&!Je(i,r)?-1:h}function Je(e,r){return-1<le.indexOf(e+'[is="'+r+'"]')}function Qe(e){var r=e.currentTarget,i=e.attrChange,h=e.attrName,s=e.target,o=e[ot]||2,l=e[pt]||3;!n||s&&s!==r||!r[pe]||"style"===h||e.prevValue===e.newValue&&(""!==e.newValue||i!==o&&i!==l)||r[pe](h,i===o?null:e.prevValue,i===l?null:e.newValue)}function et(e){var r=Ve(e);return function(i){Ue.push(r,i.target),F&&clearTimeout(F),F=setTimeout(ge,1)}}function he(e){k&&(k=!1,e.currentTarget.removeEventListener(bt,he)),le.length&&ye((e.target||A).querySelectorAll(le),e.detail===me?me:Le),G&&function(){for(var e,r=0,i=T.length;r<i;r++)De.contains(e=T[r])||(i--,T.splice(r--,1),Ae(e,me))}()}function ve(e,r){var i=this;K.call(i,e,r),je.call(i,{target:i})}function Ze(e,r,i){var h=r.apply(e,i),s=Ie(h);return-1<s&&ae(h,We[s]),i.pop()&&le.length&&function(e){for(var r,i=0,h=e.length;i<h;i++)ae(r=e[i],We[Ie(r)])}(h.querySelectorAll(le)),h}function Fe(e,r){b(e,r),Ge?Ge.observe(e,re):(I&&(e.setAttribute=ve,e[de]=nt(e),e[be](Et,je)),e[be](Oe,Qe)),e[ze]&&n&&(e.created=!0,e[ze](),e.created=!1)}function U(e){throw new Error("A "+e+" type is already registered")}function Ae(e,r){var i,h,s=Ie(e);-1<s&&!B.call(e,"TEMPLATE")&&(we(e,We[s]),s=0,r!==Le||e[Le]?r!==me||e[me]||(e[Le]=!1,e[me]=!0,h="disconnected",s=1):(e[me]=!1,e[Le]=!0,h="connected",s=1,G&&Ee.call(T,e)<0&&T.push(e)),s&&(i=e[r+ce]||e[h+ce])&&i.call(e))}function ke(){}function J(e,r,i){var h=i&&i[te]||"",s=r.prototype,o=w(s),l=r.observedAttributes||Ne,d={prototype:o};x(o,ze,{value:function(){if(f)f=!1;else if(!this[$e]){this[$e]=!0,new r(this),s[ze]&&s[ze].call(this);var p=m[v.get(r)];(!t||p.create.length>1)&&tt(this)}}}),x(o,pe,{value:function(p){-1<Ee.call(l,p)&&s[pe]&&s[pe].apply(this,arguments)}}),s[rt]&&x(o,vt,{value:s[rt]}),s[mt]&&x(o,kt,{value:s[mt]}),h&&(d[te]=h),e=e.toUpperCase(),m[e]={constructor:r,create:h?[h,C(e)]:[e]},v.set(r,e),A[se](e.toLowerCase(),d),ut(e),E[e].r()}function gt(e){var r=m[e.toUpperCase()];return r&&r.constructor}function yt(e){return"string"==typeof e?e:e&&e.is||""}function tt(e){for(var r,i=e[pe],h=i?e.attributes:Ne,s=h.length;s--;)i.call(e,(r=h[s]).name||r.nodeName,null,r.value||r.nodeValue)}function ut(e){return(e=e.toUpperCase())in E||(E[e]={},E[e].p=new c(function(r){E[e].r=r})),E[e].p}function ft(){Me&&delete X.customElements,Re(X,"customElements",{configurable:!0,value:new ke}),Re(X,"CustomElementRegistry",{configurable:!0,value:ke});for(var e=ht.get(/^HTML[A-Z]*[a-z]/),r=e.length;r--;function(i){var h=X[i];if(h){X[i]=function(s){var o,l;return s||(s=this),s[$e]||(f=!0,o=m[v.get(s.constructor)],(s=(l=t&&1===o.create.length)?Reflect.construct(h,Ne,o.constructor):A.createElement.apply(A,o.create))[$e]=!0,f=!1,l||tt(s)),s},X[i].prototype=h.prototype;try{h.prototype.constructor=X[i]}catch(s){Re(h,$e,{value:X[i]})}}}(e[r]));A.createElement=function(i,h){var s=yt(h);return s?O.call(this,i,C(s)):O.call(this,i)},ue||(W=!0,A[se](""))}var A=X.document,ne=X.Object,ht=function(e){var r,i,h,s,o=/^[A-Z]+[a-z]/,d=function(_,g){(g=g.toLowerCase())in p||(p[_]=(p[_]||[]).concat(g),p[g]=p[g.toUpperCase()]=_)},p=(ne.create||ne)(null),y={};for(i in e)for(s in e[i])for(p[s]=h=e[i][s],r=0;r<h.length;r++)p[h[r].toLowerCase()]=p[h[r].toUpperCase()]=s;return y.get=function(_){return"string"==typeof _?p[_]||(o.test(_)?[]:""):function(_){var g,M=[];for(g in p)_.test(g)&&M.push(g);return M}(_)},y.set=function(_,g){return o.test(_)?d(_,g):d(g,_),y},y}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof oe&&(oe={type:oe||"auto"});var Ue,je,Be,nt,Ge,ie,we,ae,Ce,e,r,i,h,s,se="registerElement",dt=1e5*X.Math.random()>>0,de="__"+se+dt,be="addEventListener",Le="attached",ce="Callback",me="detached",te="extends",pe="attributeChanged"+ce,vt=Le+ce,rt="connected"+ce,mt="disconnected"+ce,ze="created"+ce,kt=me+ce,ot="ADDITION",pt="REMOVAL",Oe="DOMAttrModified",bt="DOMContentLoaded",Et="DOMSubtreeModified",qe="<",st="=",Mt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,wt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],He=[],We=[],le="",De=A.documentElement,Ee=He.indexOf||function(e){for(var r=this.length;r--&&this[r]!==e;);return r},it=ne.prototype,Pe=it.hasOwnProperty,at=it.isPrototypeOf,Re=ne.defineProperty,Ne=[],Xe=ne.getOwnPropertyDescriptor,Y=ne.getOwnPropertyNames,Ct=ne.getPrototypeOf,Ye=ne.setPrototypeOf,Se=!!ne.__proto__,$e="__dreCEv1",Me=X.customElements,t=!/^force/.test(oe.type)&&!!(Me&&Me.define&&Me.get&&Me.whenDefined),a=ne.create||ne,u=X.Map||function(){var e,r=[],i=[];return{get:function(h){return i[Ee.call(r,h)]},set:function(h,s){(e=Ee.call(r,h))<0?i[r.push(h)-1]=s:i[e]=s}}},c=X.Promise||function(e){function r(o){for(h=!0;i.length;)i.shift()(o)}var i=[],h=!1,s={catch:function(){return s},then:function(o){return i.push(o),h&&setTimeout(r,1),s}};return e(r),s},f=!1,m=a(null),E=a(null),v=new u,C=function(e){return e.toLowerCase()},w=ne.create||function e(r){return r?(e.prototype=r,new e):this},b=Ye||(Se?function(e,r){return e.__proto__=r,e}:Y&&Xe?function(){function e(r,i){for(var h,s=Y(i),o=0,l=s.length;o<l;o++)Pe.call(r,h=s[o])||Re(r,h,Xe(i,h))}return function(r,i){do{e(r,i)}while((i=Ct(i))&&!at.call(i,r));return r}}():function(e,r){for(var i in r)e[i]=r[i];return e}),H=X.MutationObserver||X.WebKitMutationObserver,S=X.HTMLAnchorElement,P=(X.HTMLElement||X.Element||X.Node).prototype,G=!at.call(P,De),x=G?function(e,r,i){return e[r]=i.value,e}:Re,L=G?function(e){return 1===e.nodeType}:function(e){return at.call(P,e)},T=G&&[],Z=P.attachShadow,z=P.cloneNode,B=P.closest||function(e){for(var r=this;r&&r.nodeName!==e;)r=r.parentNode;return r},$=P.dispatchEvent,R=P.getAttribute,Q=P.hasAttribute,V=P.removeAttribute,K=P.setAttribute,N=A.createElement,j=A.importNode,O=N,re=H&&{attributes:!0,characterData:!0,attributeOldValue:!0},Te=H||function(e){I=!1,De.removeEventListener(Oe,Te)},F=0,ue=se in A&&!/^force-all/.test(oe.type),fe=!0,W=!1,I=!0,k=!0,n=!0;if(H&&((Ce=A.createElement("div")).innerHTML="<div><div></div></div>",new H(function(e,r){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var i=(Ce=Xe(P,"innerHTML"))&&Ce.set;i&&Re(P,"innerHTML",{set:function(h){for(;this.lastChild;)this.removeChild(this.lastChild);i.call(this,h)}})}r.disconnect(),Ce=null}).observe(Ce,{childList:!0,subtree:!0}),Ce.innerHTML=""),ue||(Ye||Se?(we=function(e,r){at.call(r,e)||Fe(e,r)},ae=Fe):ae=we=function(e,r){e[de]||(e[de]=ne(!0),Fe(e,r))},G?(I=!1,e=Xe(P,be),r=e.value,i=function(o){var l=new CustomEvent(Oe,{bubbles:!0});l.attrName=o,l.prevValue=R.call(this,o),l.newValue=null,l[pt]=l.attrChange=2,V.call(this,o),$.call(this,l)},h=function(o,l){var d=Q.call(this,o),p=d&&R.call(this,o),y=new CustomEvent(Oe,{bubbles:!0});K.call(this,o,l),y.attrName=o,y.prevValue=d?p:null,y.newValue=l,d?y.MODIFICATION=y.attrChange=1:y[ot]=y.attrChange=0,$.call(this,y)},s=function(o){var l,d=o.currentTarget,p=d[de],y=o.propertyName;p.hasOwnProperty(y)&&(p=p[y],(l=new CustomEvent(Oe,{bubbles:!0})).attrName=p.name,l.prevValue=p.value||null,l.newValue=p.value=d[y]||null,null==l.prevValue?l[ot]=l.attrChange=0:l.MODIFICATION=l.attrChange=1,$.call(d,l))},e.value=function(o,l,d){o===Oe&&this[pe]&&this.setAttribute!==h&&(this[de]={className:{name:"class",value:this.className}},this.setAttribute=h,this.removeAttribute=i,r.call(this,"propertychange",s)),r.call(this,o,l,d)},Re(P,be,e)):H||(De[be](Oe,Te),De.setAttribute(de,1),De.removeAttribute(de),I&&(je=function(e){var r,i,h,s=this;if(s===e.target){for(h in r=s[de],s[de]=i=nt(s),i){if(!(h in r))return Be(0,s,h,r[h],i[h],ot);if(i[h]!==r[h])return Be(1,s,h,r[h],i[h],"MODIFICATION")}for(h in r)if(!(h in i))return Be(2,s,h,r[h],i[h],pt)}},Be=function(e,r,i,h,s,o){var l={attrChange:e,currentTarget:r,attrName:i,prevValue:h,newValue:s};l[o]=e,Qe(l)},nt=function(e){for(var r,i,h={},s=e.attributes,o=0,l=s.length;o<l;o++)"setAttribute"!==(i=(r=s[o]).name)&&(h[i]=r.value);return h})),A[se]=function(e,r){if(i=e.toUpperCase(),fe&&(fe=!1,H?(Ge=function(p,y){function _(g,M){for(var D=0,q=g.length;D<q;M(g[D++]));}return new H(function(g){for(var M,D,q,ee=0,_e=g.length;ee<_e;ee++)"childList"===(M=g[ee]).type?(_(M.addedNodes,p),_(M.removedNodes,y)):(D=M.target,n&&D[pe]&&"style"!==M.attributeName&&(q=R.call(D,M.attributeName))!==M.oldValue&&D[pe](M.attributeName,M.oldValue,q))})}(Ve(Le),Ve(me)),(ie=function(p){return Ge.observe(p,{childList:!0,subtree:!0}),p})(A),Z&&(P.attachShadow=function(){return ie(Z.apply(this,arguments))})):(Ue=[],A[be]("DOMNodeInserted",et(Le)),A[be]("DOMNodeRemoved",et(me))),A[be](bt,he),A[be]("readystatechange",he),A.importNode=function(p,y){switch(p.nodeType){case 1:return Ze(A,j,[p,!!y]);case 11:for(var _=A.createDocumentFragment(),g=p.childNodes,M=g.length,D=0;D<M;D++)_.appendChild(A.importNode(g[D],!!y));return _;default:return z.call(p,!!y)}},P.cloneNode=function(p){return Ze(this,z,[!!p])}),W)return W=!1;if(-2<Ee.call(He,st+i)+Ee.call(He,qe+i)&&U(e),!Mt.test(i)||-1<Ee.call(wt,i))throw new Error("The type "+e+" is invalid");var i,h,s=function(){return l?A.createElement(d,i):A.createElement(d)},o=r||it,l=Pe.call(o,te),d=l?r[te].toUpperCase():i;return l&&-1<Ee.call(He,qe+d)&&U(d),h=He.push((l?st:qe)+i)-1,le=le.concat(le.length?",":"",l?d+'[is="'+e.toLowerCase()+'"]':d),s.prototype=We[h]=Pe.call(o,"prototype")?o.prototype:w(P),le.length&&ye(A.querySelectorAll(le),Le),s},A.createElement=O=function(e,r){var i=yt(r),h=i?N.call(A,e,C(i)):N.call(A,e),s=""+e,o=Ee.call(He,(i?st:qe)+(i||s).toUpperCase()),l=-1<o;return i&&(h.setAttribute("is",i=i.toLowerCase()),l&&(l=Je(s.toUpperCase(),i))),n=!A.createElement.innerHTMLHelper,l&&ae(h,We[o]),h}),addEventListener("beforeunload",function(){delete A.createElement,delete A.importNode,delete A[se]},!1),ke.prototype={constructor:ke,define:t?function(e,r,i){if(i)J(e,r,i);else{var h=e.toUpperCase();m[h]={constructor:r,create:[h]},v.set(r,h),Me.define(e,r)}}:J,get:t?function(e){return Me.get(e)||gt(e)}:gt,whenDefined:t?function(e){return c.race([Me.whenDefined(e),ut(e)])}:ut},!Me||/^force/.test(oe.type))ft();else if(!oe.noBuiltIn)try{!function(e,r,i){var h=new RegExp("^<a\\s+is=('|\")"+i+"\\1></a>$");if(r[te]="a",(e.prototype=w(S.prototype)).constructor=e,X.customElements.define(i,e,r),!h.test(A.createElement("a",{is:i}).outerHTML)||!h.test((new e).outerHTML))throw r}(function e(){return Reflect.construct(S,[],e)},{},"document-register-element-a"+dt)}catch(e){ft()}if(!oe.noBuiltIn)try{if(N.call(A,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){C=function(r){return{is:r.toLowerCase()}}}}(window)},277:()=>{"use strict";!function(t){const a=t.performance;function u(I){a&&a.mark&&a.mark(I)}function c(I,k){a&&a.measure&&a.measure(I,k)}u("Zone");const f=t.__Zone_symbol_prefix||"__zone_symbol__";function m(I){return f+I}const E=!0===t[m("forceDuplicateZoneCheck")];if(t.Zone){if(E||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let v=(()=>{class I{constructor(n,e){this._parent=n,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new w(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==re.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 n=I.current;for(;n.parent;)n=n.parent;return n}static get current(){return F.zone}static get currentTask(){return ue}static __load_patch(n,e,r=!1){if(re.hasOwnProperty(n)){if(!r&&E)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){const i="Zone:"+n;u(i),re[n]=e(t,I,Te),c(i,i)}}get parent(){return this._parent}get name(){return this._name}get(n){const e=this.getZoneWith(n);if(e)return e._properties[n]}getZoneWith(n){let e=this;for(;e;){if(e._properties.hasOwnProperty(n))return e;e=e._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,e){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const r=this._zoneDelegate.intercept(this,n,e),i=this;return function(){return i.runGuarded(r,this,arguments,e)}}run(n,e,r,i){F={parent:F,zone:this};try{return this._zoneDelegate.invoke(this,n,e,r,i)}finally{F=F.parent}}runGuarded(n,e=null,r,i){F={parent:F,zone:this};try{try{return this._zoneDelegate.invoke(this,n,e,r,i)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{F=F.parent}}runTask(n,e,r){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");if(n.state===B&&(n.type===O||n.type===j))return;const i=n.state!=Q;i&&n._transitionTo(Q,R),n.runCount++;const h=ue;ue=n,F={parent:F,zone:this};try{n.type==j&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,e,r)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{n.state!==B&&n.state!==K&&(n.type==O||n.data&&n.data.isPeriodic?i&&n._transitionTo(R,Q):(n.runCount=0,this._updateTaskCount(n,-1),i&&n._transitionTo(B,Q,B))),F=F.parent,ue=h}}scheduleTask(n){if(n.zone&&n.zone!==this){let r=this;for(;r;){if(r===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);r=r.parent}}n._transitionTo($,B);const e=[];n._zoneDelegates=e,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(r){throw n._transitionTo(K,$,B),this._zoneDelegate.handleError(this,r),r}return n._zoneDelegates===e&&this._updateTaskCount(n,1),n.state==$&&n._transitionTo(R,$),n}scheduleMicroTask(n,e,r,i){return this.scheduleTask(new b(N,n,e,r,i,void 0))}scheduleMacroTask(n,e,r,i,h){return this.scheduleTask(new b(j,n,e,r,i,h))}scheduleEventTask(n,e,r,i,h){return this.scheduleTask(new b(O,n,e,r,i,h))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");n._transitionTo(V,R,Q);try{this._zoneDelegate.cancelTask(this,n)}catch(e){throw n._transitionTo(K,V),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(n,-1),n._transitionTo(B,V),n.runCount=0,n}_updateTaskCount(n,e){const r=n._zoneDelegates;-1==e&&(n._zoneDelegates=null);for(let i=0;i<r.length;i++)r[i]._updateTaskCount(n.type,e)}}return I.__symbol__=m,I})();const C={name:"",onHasTask:(I,k,n,e)=>I.hasTask(n,e),onScheduleTask:(I,k,n,e)=>I.scheduleTask(n,e),onInvokeTask:(I,k,n,e,r,i)=>I.invokeTask(n,e,r,i),onCancelTask:(I,k,n,e)=>I.cancelTask(n,e)};class w{constructor(k,n,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=n,this._forkZS=e&&(e&&e.onFork?e:n._forkZS),this._forkDlgt=e&&(e.onFork?n:n._forkDlgt),this._forkCurrZone=e&&(e.onFork?this.zone:n._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:n._interceptZS),this._interceptDlgt=e&&(e.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:n._invokeZS),this._invokeDlgt=e&&(e.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:n._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:n._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:n._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:n._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=e&&e.onHasTask;(r||n&&n._hasTaskZS)&&(this._hasTaskZS=r?e:C,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,e.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),e.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),e.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(k,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,n):new v(k,n)}intercept(k,n,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,n,e):n}invoke(k,n,e,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,n,e,r,i):n.apply(e,r)}handleError(k,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,n)}scheduleTask(k,n){let e=n;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,n),e||(e=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=N)throw new Error("Task is missing scheduleFn.");T(n)}return e}invokeTask(k,n,e,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,n,e,r):n.callback.apply(e,r)}cancelTask(k,n){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");e=n.cancelFn(n)}return e}hasTask(k,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,n)}catch(e){this.handleError(k,e)}}_updateTaskCount(k,n){const e=this._taskCounts,r=e[k],i=e[k]=r+n;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:k})}}class b{constructor(k,n,e,r,i,h){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=h,!e)throw new Error("callback is not defined");this.callback=e;const s=this;this.invoke=k===O&&r&&r.useG?b.invokeTask:function(){return b.invokeTask.call(t,s,this,arguments)}}static invokeTask(k,n,e){k||(k=this),fe++;try{return k.runCount++,k.zone.runTask(k,n,e)}finally{1==fe&&Z(),fe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(B,$)}_transitionTo(k,n,e){if(this._state!==n&&this._state!==e)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${n}'${e?" or '"+e+"'":""}, was '${this._state}'.`);this._state=k,k==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=m("setTimeout"),S=m("Promise"),P=m("then");let L,G=[],x=!1;function T(I){if(0===fe&&0===G.length)if(L||t[S]&&(L=t[S].resolve(0)),L){let k=L[P];k||(k=L.then),k.call(L,Z)}else t[H](Z,0);I&&G.push(I)}function Z(){if(!x){for(x=!0;G.length;){const I=G;G=[];for(let k=0;k<I.length;k++){const n=I[k];try{n.zone.runTask(n,null,null)}catch(e){Te.onUnhandledError(e)}}}Te.microtaskDrainDone(),x=!1}}const z={name:"NO ZONE"},B="notScheduled",$="scheduling",R="scheduled",Q="running",V="canceling",K="unknown",N="microTask",j="macroTask",O="eventTask",re={},Te={symbol:m,currentZoneFrame:()=>F,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:T,showUncaughtError:()=>!v[m("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W};let F={parent:null,zone:new v(null,null)},ue=null,fe=0;function W(){}c("Zone","Zone"),t.Zone=v}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const oe=Object.getOwnPropertyDescriptor,ge=Object.defineProperty,ye=Object.getPrototypeOf,_t=Object.create,Ve=Array.prototype.slice,Ie="addEventListener",Je="removeEventListener",Qe=Zone.__symbol__(Ie),et=Zone.__symbol__(Je),he="true",ve="false",Ze=Zone.__symbol__("");function Fe(t,a){return Zone.current.wrap(t,a)}function lt(t,a,u,c,f){return Zone.current.scheduleMacroTask(t,a,u,c,f)}const U=Zone.__symbol__,Ae="undefined"!=typeof window,ke=Ae?window:void 0,J=Ae&&ke||"object"==typeof self&&self||global,yt=[null];function tt(t,a){for(let u=t.length-1;u>=0;u--)"function"==typeof t[u]&&(t[u]=Fe(t[u],a+"_"+u));return t}function ft(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const A="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,ne=!("nw"in J)&&void 0!==J.process&&"[object process]"==={}.toString.call(J.process),ht=!ne&&!A&&!(!Ae||!ke.HTMLElement),Ue=void 0!==J.process&&"[object process]"==={}.toString.call(J.process)&&!A&&!(!Ae||!ke.HTMLElement),je={},Be=function(t){if(!(t=t||J.event))return;let a=je[t.type];a||(a=je[t.type]=U("ON_PROPERTY"+t.type));const u=this||t.target||J,c=u[a];let f;if(ht&&u===ke&&"error"===t.type){const m=t;f=c&&c.call(this,m.message,m.filename,m.lineno,m.colno,m.error),!0===f&&t.preventDefault()}else f=c&&c.apply(this,arguments),null!=f&&!f&&t.preventDefault();return f};function nt(t,a,u){let c=oe(t,a);if(!c&&u&&oe(u,a)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const f=U("on"+a+"patched");if(t.hasOwnProperty(f)&&t[f])return;delete c.writable,delete c.value;const m=c.get,E=c.set,v=a.substr(2);let C=je[v];C||(C=je[v]=U("ON_PROPERTY"+v)),c.set=function(w){let b=this;!b&&t===J&&(b=J),b&&(b[C]&&b.removeEventListener(v,Be),E&&E.apply(b,yt),"function"==typeof w?(b[C]=w,b.addEventListener(v,Be,!1)):b[C]=null)},c.get=function(){let w=this;if(!w&&t===J&&(w=J),!w)return null;const b=w[C];if(b)return b;if(m){let H=m&&m.call(this);if(H)return c.set.call(this,H),"function"==typeof w.removeAttribute&&w.removeAttribute(a),H}return null},ge(t,a,c),t[f]=!0}function Ge(t,a,u){if(a)for(let c=0;c<a.length;c++)nt(t,"on"+a[c],u);else{const c=[];for(const f in t)"on"==f.substr(0,2)&&c.push(f);for(let f=0;f<c.length;f++)nt(t,c[f],u)}}const ie=U("originalInstance");function we(t){const a=J[t];if(!a)return;J[U(t)]=a,J[t]=function(){const f=tt(arguments,t);switch(f.length){case 0:this[ie]=new a;break;case 1:this[ie]=new a(f[0]);break;case 2:this[ie]=new a(f[0],f[1]);break;case 3:this[ie]=new a(f[0],f[1],f[2]);break;case 4:this[ie]=new a(f[0],f[1],f[2],f[3]);break;default:throw new Error("Arg list too long.")}},se(J[t],a);const u=new a(function(){});let c;for(c in u)"XMLHttpRequest"===t&&"responseBlob"===c||function(f){"function"==typeof u[f]?J[t].prototype[f]=function(){return this[ie][f].apply(this[ie],arguments)}:ge(J[t].prototype,f,{set:function(m){"function"==typeof m?(this[ie][f]=Fe(m,t+"."+f),se(this[ie][f],m)):this[ie][f]=m},get:function(){return this[ie][f]}})}(c);for(c in a)"prototype"!==c&&a.hasOwnProperty(c)&&(J[t][c]=a[c])}function ae(t,a,u){let c=t;for(;c&&!c.hasOwnProperty(a);)c=ye(c);!c&&t[a]&&(c=t);const f=U(a);let m=null;if(c&&(!(m=c[f])||!c.hasOwnProperty(f))&&(m=c[f]=c[a],ft(c&&oe(c,a)))){const v=u(m,f,a);c[a]=function(){return v(this,arguments)},se(c[a],m)}return m}function Ce(t,a,u){let c=null;function f(m){const E=m.data;return E.args[E.cbIdx]=function(){m.invoke.apply(this,arguments)},c.apply(E.target,E.args),m}c=ae(t,a,m=>function(E,v){const C=u(E,v);return C.cbIdx>=0&&"function"==typeof v[C.cbIdx]?lt(C.name,v[C.cbIdx],C,f):m.apply(E,v)})}function se(t,a){t[U("OriginalDelegate")]=a}let dt=!1,de=!1;function Le(){if(dt)return de;dt=!0;try{const t=ke.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(de=!0)}catch(t){}return de}Zone.__load_patch("ZoneAwarePromise",(t,a,u)=>{const c=Object.getOwnPropertyDescriptor,f=Object.defineProperty,E=u.symbol,v=[],C=!0===t[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],w=E("Promise"),b=E("then");u.onUnhandledError=s=>{if(u.showUncaughtError()){const o=s&&s.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",s.zone.name,"; Task:",s.task&&s.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(s)}},u.microtaskDrainDone=()=>{for(;v.length;){const s=v.shift();try{s.zone.runGuarded(()=>{throw s.throwOriginal?s.rejection:s})}catch(o){P(o)}}};const S=E("unhandledPromiseRejectionHandler");function P(s){u.onUnhandledError(s);try{const o=a[S];"function"==typeof o&&o.call(this,s)}catch(o){}}function G(s){return s&&s.then}function x(s){return s}function L(s){return n.reject(s)}const T=E("state"),Z=E("value"),z=E("finally"),B=E("parentPromiseValue"),$=E("parentPromiseState"),Q=null,V=!0,K=!1;function j(s,o){return l=>{try{F(s,o,l)}catch(d){F(s,!1,d)}}}const Te=E("currentTaskTrace");function F(s,o,l){const d=function(){let s=!1;return function(l){return function(){s||(s=!0,l.apply(null,arguments))}}}();if(s===l)throw new TypeError("Promise resolved with itself");if(s[T]===Q){let p=null;try{("object"==typeof l||"function"==typeof l)&&(p=l&&l.then)}catch(y){return d(()=>{F(s,!1,y)})(),s}if(o!==K&&l instanceof n&&l.hasOwnProperty(T)&&l.hasOwnProperty(Z)&&l[T]!==Q)fe(l),F(s,l[T],l[Z]);else if(o!==K&&"function"==typeof p)try{p.call(l,d(j(s,o)),d(j(s,!1)))}catch(y){d(()=>{F(s,!1,y)})()}else{s[T]=o;const y=s[Z];if(s[Z]=l,s[z]===z&&o===V&&(s[T]=s[$],s[Z]=s[B]),o===K&&l instanceof Error){const _=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;_&&f(l,Te,{configurable:!0,enumerable:!1,writable:!0,value:_})}for(let _=0;_<y.length;)W(s,y[_++],y[_++],y[_++],y[_++]);if(0==y.length&&o==K){s[T]=0;let _=l;try{throw new Error("Uncaught (in promise): "+function(s){return s&&s.toString===Object.prototype.toString?(s.constructor&&s.constructor.name||"")+": "+JSON.stringify(s):s?s.toString():Object.prototype.toString.call(s)}(l)+(l&&l.stack?"\n"+l.stack:""))}catch(g){_=g}C&&(_.throwOriginal=!0),_.rejection=l,_.promise=s,_.zone=a.current,_.task=a.currentTask,v.push(_),u.scheduleMicroTask()}}}return s}const ue=E("rejectionHandledHandler");function fe(s){if(0===s[T]){try{const o=a[ue];o&&"function"==typeof o&&o.call(this,{rejection:s[Z],promise:s})}catch(o){}s[T]=K;for(let o=0;o<v.length;o++)s===v[o].promise&&v.splice(o,1)}}function W(s,o,l,d,p){fe(s);const y=s[T],_=y?"function"==typeof d?d:x:"function"==typeof p?p:L;o.scheduleMicroTask("Promise.then",()=>{try{const g=s[Z],M=!!l&&z===l[z];M&&(l[B]=g,l[$]=y);const D=o.run(_,void 0,M&&_!==L&&_!==x?[]:[g]);F(l,!0,D)}catch(g){F(l,!1,g)}},l)}const k=function(){};class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(o){return F(new this(null),V,o)}static reject(o){return F(new this(null),K,o)}static race(o){let l,d,p=new this((g,M)=>{l=g,d=M});function y(g){l(g)}function _(g){d(g)}for(let g of o)G(g)||(g=this.resolve(g)),g.then(y,_);return p}static all(o){return n.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof n?this:n).allWithCallback(o,{thenCallback:d=>({status:"fulfilled",value:d}),errorCallback:d=>({status:"rejected",reason:d})})}static allWithCallback(o,l){let d,p,y=new this((D,q)=>{d=D,p=q}),_=2,g=0;const M=[];for(let D of o){G(D)||(D=this.resolve(D));const q=g;try{D.then(ee=>{M[q]=l?l.thenCallback(ee):ee,_--,0===_&&d(M)},ee=>{l?(M[q]=l.errorCallback(ee),_--,0===_&&d(M)):p(ee)})}catch(ee){p(ee)}_++,g++}return _-=2,0===_&&d(M),y}constructor(o){const l=this;if(!(l instanceof n))throw new Error("Must be an instanceof Promise.");l[T]=Q,l[Z]=[];try{o&&o(j(l,V),j(l,K))}catch(d){F(l,!1,d)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(o,l){let d=this.constructor[Symbol.species];(!d||"function"!=typeof d)&&(d=this.constructor||n);const p=new d(k),y=a.current;return this[T]==Q?this[Z].push(y,p,o,l):W(this,y,p,o,l),p}catch(o){return this.then(null,o)}finally(o){let l=this.constructor[Symbol.species];(!l||"function"!=typeof l)&&(l=n);const d=new l(k);d[z]=z;const p=a.current;return this[T]==Q?this[Z].push(p,d,o,o):W(this,p,d,o,o),d}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const e=t[w]=t.Promise;t.Promise=n;const r=E("thenPatched");function i(s){const o=s.prototype,l=c(o,"then");if(l&&(!1===l.writable||!l.configurable))return;const d=o.then;o[b]=d,s.prototype.then=function(p,y){return new n((g,M)=>{d.call(this,g,M)}).then(p,y)},s[r]=!0}return u.patchThen=i,e&&(i(e),ae(t,"fetch",s=>function(s){return function(o,l){let d=s.apply(o,l);if(d instanceof n)return d;let p=d.constructor;return p[r]||i(p),d}}(s))),Promise[a.__symbol__("uncaughtPromiseErrors")]=v,n}),Zone.__load_patch("toString",t=>{const a=Function.prototype.toString,u=U("OriginalDelegate"),c=U("Promise"),f=U("Error"),m=function(){if("function"==typeof this){const w=this[u];if(w)return"function"==typeof w?a.call(w):Object.prototype.toString.call(w);if(this===Promise){const b=t[c];if(b)return a.call(b)}if(this===Error){const b=t[f];if(b)return a.call(b)}}return a.call(this)};m[u]=a,Function.prototype.toString=m;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}});let ce=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){ce=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){ce=!1}const me={useG:!0},te={},pe={},vt=new RegExp("^"+Ze+"(\\w+)(true|false)$"),rt=U("propagationStopped");function mt(t,a){const u=(a?a(t):t)+ve,c=(a?a(t):t)+he,f=Ze+u,m=Ze+c;te[t]={},te[t][ve]=f,te[t][he]=m}function ze(t,a,u){const c=u&&u.add||Ie,f=u&&u.rm||Je,m=u&&u.listeners||"eventListeners",E=u&&u.rmAll||"removeAllListeners",v=U(c),C="."+c+":",H=function(L,T,Z){if(L.isRemoved)return;const z=L.callback;"object"==typeof z&&z.handleEvent&&(L.callback=$=>z.handleEvent($),L.originalDelegate=z),L.invoke(L,T,[Z]);const B=L.options;B&&"object"==typeof B&&B.once&&T[f].call(T,Z.type,L.originalDelegate?L.originalDelegate:L.callback,B)},S=function(L){if(!(L=L||t.event))return;const T=this||L.target||t,Z=T[te[L.type][ve]];if(Z)if(1===Z.length)H(Z[0],T,L);else{const z=Z.slice();for(let B=0;B<z.length&&(!L||!0!==L[rt]);B++)H(z[B],T,L)}},P=function(L){if(!(L=L||t.event))return;const T=this||L.target||t,Z=T[te[L.type][he]];if(Z)if(1===Z.length)H(Z[0],T,L);else{const z=Z.slice();for(let B=0;B<z.length&&(!L||!0!==L[rt]);B++)H(z[B],T,L)}};function G(L,T){if(!L)return!1;let Z=!0;T&&void 0!==T.useG&&(Z=T.useG);const z=T&&T.vh;let B=!0;T&&void 0!==T.chkDup&&(B=T.chkDup);let $=!1;T&&void 0!==T.rt&&($=T.rt);let R=L;for(;R&&!R.hasOwnProperty(c);)R=ye(R);if(!R&&L[c]&&(R=L),!R||R[v])return!1;const Q=T&&T.eventNameToString,V={},K=R[v]=R[c],N=R[U(f)]=R[f],j=R[U(m)]=R[m],O=R[U(E)]=R[E];let re;function Te(o,l){return!ce&&"object"==typeof o&&o?!!o.capture:ce&&l?"boolean"==typeof o?{capture:o,passive:!0}:o?"object"==typeof o&&!1!==o.passive?Object.assign(Object.assign({},o),{passive:!0}):o:{passive:!0}:o}T&&T.prepend&&(re=R[U(T.prepend)]=R[T.prepend]);const k=Z?function(o){if(!V.isExisting)return K.call(V.target,V.eventName,V.capture?P:S,V.options)}:function(o){return K.call(V.target,V.eventName,o.invoke,V.options)},n=Z?function(o){if(!o.isRemoved){const l=te[o.eventName];let d;l&&(d=l[o.capture?he:ve]);const p=d&&o.target[d];if(p)for(let y=0;y<p.length;y++)if(p[y]===o){p.splice(y,1),o.isRemoved=!0,0===p.length&&(o.allRemoved=!0,o.target[d]=null);break}}if(o.allRemoved)return N.call(o.target,o.eventName,o.capture?P:S,o.options)}:function(o){return N.call(o.target,o.eventName,o.invoke,o.options)},r=T&&T.diff?T.diff:function(o,l){const d=typeof l;return"function"===d&&o.callback===l||"object"===d&&o.originalDelegate===l},i=Zone[U("UNPATCHED_EVENTS")],h=t[U("PASSIVE_EVENTS")],s=function(o,l,d,p,y=!1,_=!1){return function(){const g=this||t;let M=arguments[0];T&&T.transferEventName&&(M=T.transferEventName(M));let D=arguments[1];if(!D)return o.apply(this,arguments);if(ne&&"uncaughtException"===M)return o.apply(this,arguments);let q=!1;if("function"!=typeof D){if(!D.handleEvent)return o.apply(this,arguments);q=!0}if(z&&!z(o,D,g,arguments))return;const ee=ce&&!!h&&-1!==h.indexOf(M),_e=Te(arguments[2],ee);if(i)for(let Ke=0;Ke<i.length;Ke++)if(M===i[Ke])return ee?o.call(g,M,D,_e):o.apply(this,arguments);const Nt=!!_e&&("boolean"==typeof _e||_e.capture),Ht=!(!_e||"object"!=typeof _e)&&_e.once,Zt=Zone.current;let Ot=te[M];Ot||(mt(M,Q),Ot=te[M]);const Dt=Ot[Nt?he:ve];let Lt,ct=g[Dt],Rt=!1;if(ct){if(Rt=!0,B)for(let Ke=0;Ke<ct.length;Ke++)if(r(ct[Ke],D))return}else ct=g[Dt]=[];const St=g.constructor.name,It=pe[St];It&&(Lt=It[M]),Lt||(Lt=St+l+(Q?Q(M):M)),V.options=_e,Ht&&(V.options.once=!1),V.target=g,V.capture=Nt,V.eventName=M,V.isExisting=Rt;const Tt=Z?me:void 0;Tt&&(Tt.taskData=V);const xe=Zt.scheduleEventTask(Lt,D,Tt,d,p);return V.target=null,Tt&&(Tt.taskData=null),Ht&&(_e.once=!0),!ce&&"boolean"==typeof xe.options||(xe.options=_e),xe.target=g,xe.capture=Nt,xe.eventName=M,q&&(xe.originalDelegate=D),_?ct.unshift(xe):ct.push(xe),y?g:void 0}};return R[c]=s(K,C,k,n,$),re&&(R.prependListener=s(re,".prependListener:",function(o){return re.call(V.target,V.eventName,o.invoke,V.options)},n,$,!0)),R[f]=function(){const o=this||t;let l=arguments[0];T&&T.transferEventName&&(l=T.transferEventName(l));const d=arguments[2],p=!!d&&("boolean"==typeof d||d.capture),y=arguments[1];if(!y)return N.apply(this,arguments);if(z&&!z(N,y,o,arguments))return;const _=te[l];let g;_&&(g=_[p?he:ve]);const M=g&&o[g];if(M)for(let D=0;D<M.length;D++){const q=M[D];if(r(q,y))return M.splice(D,1),q.isRemoved=!0,0===M.length&&(q.allRemoved=!0,o[g]=null,"string"==typeof l)&&(o[Ze+"ON_PROPERTY"+l]=null),q.zone.cancelTask(q),$?o:void 0}return N.apply(this,arguments)},R[m]=function(){const o=this||t;let l=arguments[0];T&&T.transferEventName&&(l=T.transferEventName(l));const d=[],p=kt(o,Q?Q(l):l);for(let y=0;y<p.length;y++){const _=p[y];d.push(_.originalDelegate?_.originalDelegate:_.callback)}return d},R[E]=function(){const o=this||t;let l=arguments[0];if(l){T&&T.transferEventName&&(l=T.transferEventName(l));const d=te[l];if(d){const _=o[d[ve]],g=o[d[he]];if(_){const M=_.slice();for(let D=0;D<M.length;D++){const q=M[D];this[f].call(this,l,q.originalDelegate?q.originalDelegate:q.callback,q.options)}}if(g){const M=g.slice();for(let D=0;D<M.length;D++){const q=M[D];this[f].call(this,l,q.originalDelegate?q.originalDelegate:q.callback,q.options)}}}}else{const d=Object.keys(o);for(let p=0;p<d.length;p++){const _=vt.exec(d[p]);let g=_&&_[1];g&&"removeListener"!==g&&this[E].call(this,g)}this[E].call(this,"removeListener")}if($)return this},se(R[c],K),se(R[f],N),O&&se(R[E],O),j&&se(R[m],j),!0}let x=[];for(let L=0;L<a.length;L++)x[L]=G(a[L],u);return x}function kt(t,a){if(!a){const m=[];for(let E in t){const v=vt.exec(E);let C=v&&v[1];if(C&&(!a||C===a)){const w=t[E];if(w)for(let b=0;b<w.length;b++)m.push(w[b])}}return m}let u=te[a];u||(mt(a),u=te[a]);const c=t[u[ve]],f=t[u[he]];return c?f?c.concat(f):c.slice():f?f.slice():[]}function ot(t,a){const u=t.Event;u&&u.prototype&&a.patchMethod(u.prototype,"stopImmediatePropagation",c=>function(f,m){f[rt]=!0,c&&c.apply(f,m)})}function pt(t,a,u,c,f){const m=Zone.__symbol__(c);if(a[m])return;const E=a[m]=a[c];a[c]=function(v,C,w){return C&&C.prototype&&f.forEach(function(b){const H=`${u}.${c}::`+b,S=C.prototype;if(S.hasOwnProperty(b)){const P=t.ObjectGetOwnPropertyDescriptor(S,b);P&&P.value?(P.value=t.wrapWithCurrentZone(P.value,H),t._redefineProperty(C.prototype,b,P)):S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}else S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}),E.call(a,v,C,w)},t.attachOriginToPatched(a[c],E)}const Et=["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"],st=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],le=["load"],De=["blur","error","focus","load","resize","scroll","messageerror"],Ee=["bounce","finish","start"],it=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Pe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],at=["close","error","open","message"],Re=["error","message"],Ne=["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"],Et,["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 Xe(t,a,u){if(!u||0===u.length)return a;const c=u.filter(m=>m.target===t);if(!c||0===c.length)return a;const f=c[0].ignoreProperties;return a.filter(m=>-1===f.indexOf(m))}function Y(t,a,u,c){t&&Ge(t,Xe(t,a,u),c)}Zone.__load_patch("util",(t,a,u)=>{u.patchOnProperties=Ge,u.patchMethod=ae,u.bindArguments=tt,u.patchMacroTask=Ce;const c=a.__symbol__("BLACK_LISTED_EVENTS"),f=a.__symbol__("UNPATCHED_EVENTS");t[f]&&(t[c]=t[f]),t[c]&&(a[c]=a[f]=t[c]),u.patchEventPrototype=ot,u.patchEventTarget=ze,u.isIEOrEdge=Le,u.ObjectDefineProperty=ge,u.ObjectGetOwnPropertyDescriptor=oe,u.ObjectCreate=_t,u.ArraySlice=Ve,u.patchClass=we,u.wrapWithCurrentZone=Fe,u.filterProperties=Xe,u.attachOriginToPatched=se,u._redefineProperty=Object.defineProperty,u.patchCallbacks=pt,u.getGlobalObjects=()=>({globalSources:pe,zoneSymbolEventNames:te,eventNames:Ne,isBrowser:ht,isMix:Ue,isNode:ne,TRUE_STR:he,FALSE_STR:ve,ZONE_SYMBOL_PREFIX:Ze,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Je})});const Ye=U("zoneTask");function Se(t,a,u,c){let f=null,m=null;u+=c;const E={};function v(w){const b=w.data;return b.args[0]=function(){return w.invoke.apply(this,arguments)},b.handleId=f.apply(t,b.args),w}function C(w){return m.call(t,w.data.handleId)}f=ae(t,a+=c,w=>function(b,H){if("function"==typeof H[0]){const S={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?H[1]||0:void 0,args:H},P=H[0];H[0]=function(){try{return P.apply(this,arguments)}finally{S.isPeriodic||("number"==typeof S.handleId?delete E[S.handleId]:S.handleId&&(S.handleId[Ye]=null))}};const G=lt(a,H[0],S,v,C);if(!G)return G;const x=G.data.handleId;return"number"==typeof x?E[x]=G:x&&(x[Ye]=G),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(G.ref=x.ref.bind(x),G.unref=x.unref.bind(x)),"number"==typeof x||x?x:G}return w.apply(t,H)}),m=ae(t,u,w=>function(b,H){const S=H[0];let P;"number"==typeof S?P=E[S]:(P=S&&S[Ye],P||(P=S)),P&&"string"==typeof P.type?"notScheduled"!==P.state&&(P.cancelFn&&P.data.isPeriodic||0===P.runCount)&&("number"==typeof S?delete E[S]:S&&(S[Ye]=null),P.zone.cancelTask(P)):w.apply(t,H)})}Zone.__load_patch("legacy",t=>{const a=t[Zone.__symbol__("legacyPatch")];a&&a()}),Zone.__load_patch("queueMicrotask",(t,a,u)=>{u.patchMethod(t,"queueMicrotask",c=>function(f,m){a.current.scheduleMicroTask("queueMicrotask",m[0])})}),Zone.__load_patch("timers",t=>{const a="set",u="clear";Se(t,a,u,"Timeout"),Se(t,a,u,"Interval"),Se(t,a,u,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Se(t,"request","cancel","AnimationFrame"),Se(t,"mozRequest","mozCancel","AnimationFrame"),Se(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,a)=>{const u=["alert","prompt","confirm"];for(let c=0;c<u.length;c++)ae(t,u[c],(m,E,v)=>function(C,w){return a.current.run(m,t,w,v)})}),Zone.__load_patch("EventTarget",(t,a,u)=>{(function(t,a){a.patchEventPrototype(t,a)})(t,u),function(t,a){if(Zone[a.symbol("patchEventTarget")])return;const{eventNames:u,zoneSymbolEventNames:c,TRUE_STR:f,FALSE_STR:m,ZONE_SYMBOL_PREFIX:E}=a.getGlobalObjects();for(let C=0;C<u.length;C++){const w=u[C],S=E+(w+m),P=E+(w+f);c[w]={},c[w][m]=S,c[w][f]=P}const v=t.EventTarget;v&&v.prototype&&a.patchEventTarget(t,[v&&v.prototype])}(t,u);const c=t.XMLHttpRequestEventTarget;c&&c.prototype&&u.patchEventTarget(t,[c.prototype])}),Zone.__load_patch("MutationObserver",(t,a,u)=>{we("MutationObserver"),we("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,a,u)=>{we("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,a,u)=>{we("FileReader")}),Zone.__load_patch("on_property",(t,a,u)=>{!function(t,a){if(ne&&!Ue||Zone[t.symbol("patchEvents")])return;const u="undefined"!=typeof WebSocket,c=a.__Zone_ignore_on_properties;if(ht){const E=window,v=function(){try{const t=ke.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:E,ignoreProperties:["error"]}]:[];Y(E,Ne.concat(["messageerror"]),c&&c.concat(v),ye(E)),Y(Document.prototype,Ne,c),void 0!==E.SVGElement&&Y(E.SVGElement.prototype,Ne,c),Y(Element.prototype,Ne,c),Y(HTMLElement.prototype,Ne,c),Y(HTMLMediaElement.prototype,st,c),Y(HTMLFrameSetElement.prototype,Et.concat(De),c),Y(HTMLBodyElement.prototype,Et.concat(De),c),Y(HTMLFrameElement.prototype,le,c),Y(HTMLIFrameElement.prototype,le,c);const C=E.HTMLMarqueeElement;C&&Y(C.prototype,Ee,c);const w=E.Worker;w&&Y(w.prototype,Re,c)}const f=a.XMLHttpRequest;f&&Y(f.prototype,it,c);const m=a.XMLHttpRequestEventTarget;m&&Y(m&&m.prototype,it,c),"undefined"!=typeof IDBIndex&&(Y(IDBIndex.prototype,Pe,c),Y(IDBRequest.prototype,Pe,c),Y(IDBOpenDBRequest.prototype,Pe,c),Y(IDBDatabase.prototype,Pe,c),Y(IDBTransaction.prototype,Pe,c),Y(IDBCursor.prototype,Pe,c)),u&&Y(WebSocket.prototype,at,c)}(u,t)}),Zone.__load_patch("customElements",(t,a,u)=>{!function(t,a){const{isBrowser:u,isMix:c}=a.getGlobalObjects();(u||c)&&t.customElements&&"customElements"in t&&a.patchCallbacks(a,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,u)}),Zone.__load_patch("XHR",(t,a)=>{!function(w){const b=w.XMLHttpRequest;if(!b)return;const H=b.prototype;let P=H[Qe],G=H[et];if(!P){const N=w.XMLHttpRequestEventTarget;if(N){const j=N.prototype;P=j[Qe],G=j[et]}}const x="readystatechange",L="scheduled";function T(N){const j=N.data,O=j.target;O[m]=!1,O[v]=!1;const re=O[f];P||(P=O[Qe],G=O[et]),re&&G.call(O,x,re);const Te=O[f]=()=>{if(O.readyState===O.DONE)if(!j.aborted&&O[m]&&N.state===L){const ue=O[a.__symbol__("loadfalse")];if(0!==O.status&&ue&&ue.length>0){const fe=N.invoke;N.invoke=function(){const W=O[a.__symbol__("loadfalse")];for(let I=0;I<W.length;I++)W[I]===N&&W.splice(I,1);!j.aborted&&N.state===L&&fe.call(N)},ue.push(N)}else N.invoke()}else!j.aborted&&!1===O[m]&&(O[v]=!0)};return P.call(O,x,Te),O[u]||(O[u]=N),V.apply(O,j.args),O[m]=!0,N}function Z(){}function z(N){const j=N.data;return j.aborted=!0,K.apply(j.target,j.args)}const B=ae(H,"open",()=>function(N,j){return N[c]=0==j[2],N[E]=j[1],B.apply(N,j)}),R=U("fetchTaskAborting"),Q=U("fetchTaskScheduling"),V=ae(H,"send",()=>function(N,j){if(!0===a.current[Q]||N[c])return V.apply(N,j);{const O={target:N,url:N[E],isPeriodic:!1,args:j,aborted:!1},re=lt("XMLHttpRequest.send",Z,O,T,z);N&&!0===N[v]&&!O.aborted&&re.state===L&&re.invoke()}}),K=ae(H,"abort",()=>function(N,j){const O=function(N){return N[u]}(N);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===a.current[R])return K.apply(N,j)})}(t);const u=U("xhrTask"),c=U("xhrSync"),f=U("xhrListener"),m=U("xhrScheduled"),E=U("xhrURL"),v=U("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,a){const u=t.constructor.name;for(let c=0;c<a.length;c++){const f=a[c],m=t[f];if(m){if(!ft(oe(t,f)))continue;t[f]=(v=>{const C=function(){return v.apply(this,tt(arguments,u+"."+f))};return se(C,v),C})(m)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,a)=>{function u(c){return function(f){kt(t,c).forEach(E=>{const v=t.PromiseRejectionEvent;if(v){const C=new v(c,{promise:f.promise,reason:f.rejection});E.invoke(C)}})}}t.PromiseRejectionEvent&&(a[U("unhandledPromiseRejectionHandler")]=u("unhandledrejection"),a[U("rejectionHandledHandler")]=u("rejectionhandled"))})},435:(X,oe,ge)=>{"use strict";ge(277),ge(142)}},X=>{X(X.s=435)}]);
(self.webpackChunkangular_web_component=self.webpackChunkangular_web_component||[]).push([[179],{255:Br=>{function Jt(Hr){return Promise.resolve().then(()=>{var Xt=new Error("Cannot find module '"+Hr+"'");throw Xt.code="MODULE_NOT_FOUND",Xt})}Jt.keys=()=>[],Jt.resolve=Jt,Jt.id=255,Br.exports=Jt},238:(Br,Jt,Hr)=>{"use strict";function Xt(t){return"function"==typeof t}let Bi=!1;const ct={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else Bi&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Bi=t},get useDeprecatedSynchronousErrorHandling(){return Bi}};function Ln(t){setTimeout(()=>{throw t},0)}const Zo={closed:!0,next(t){},error(t){if(ct.useDeprecatedSynchronousErrorHandling)throw t;Ln(t)},complete(){}},r_=Array.isArray||(t=>t&&"number"==typeof t.length);function ml(t){return null!==t&&"object"==typeof t}const Jo=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class ee{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof ee)n.remove(this);else if(null!==n)for(let i=0;i<n.length;++i)n[i].remove(this);if(Xt(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(i){e=i instanceof Jo?yl(i.errors):[i]}}if(r_(s)){let i=-1,a=s.length;for(;++i<a;){const u=s[i];if(ml(u))try{u.unsubscribe()}catch(c){e=e||[],c instanceof Jo?e=e.concat(yl(c.errors)):e.push(c)}}}if(e)throw new Jo(e)}add(e){let n=e;if(!e)return ee.EMPTY;switch(typeof e){case"function":n=new ee(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof ee)){const s=n;n=new ee,n._subscriptions=[s]}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 ee){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function yl(t){return t.reduce((e,n)=>e.concat(n instanceof Jo?n.errors:n),[])}ee.EMPTY=((t=new ee).closed=!0,t);const Xo="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class ke extends ee{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Zo;break;case 1:if(!e){this.destination=Zo;break}if("object"==typeof e){e instanceof ke?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new _l(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new _l(this,e,n,r)}}[Xo](){return this}static create(e,n,r){const o=new ke(e,n,r);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class _l extends ke{constructor(e,n,r,o){super(),this._parentSubscriber=e;let s,i=this;Xt(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==Zo&&(i=Object.create(n),Xt(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=r,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;ct.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=ct;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Ln(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Ln(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);ct.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),ct.useDeprecatedSynchronousErrorHandling)throw r;Ln(r)}}__tryOrSetError(e,n,r){if(!ct.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(o){return ct.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Ln(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const $r="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dl(t){return t}let ye=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){const{operator:s}=this,i=function(t,e,n){if(t){if(t instanceof ke)return t;if(t[Xo])return t[Xo]()}return t||e||n?new ke(t,e,n):new ke(Zo)}(n,r,o);if(i.add(s?s.call(i,this.source):this.source||ct.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),ct.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){ct.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof ke?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=El(r))((o,s)=>{let i;i=this.subscribe(a=>{try{n(a)}catch(u){s(u),i&&i.unsubscribe()}},s,o)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[$r](){return this}pipe(...n){return 0===n.length?this:function(t){return 0===t.length?Dl:1===t.length?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=El(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return t.create=e=>new t(e),t})();function El(t){if(t||(t=ct.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const Vn=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class bl extends ee{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class wl extends ke{constructor(e){super(e),this.destination=e}}let es=(()=>{class t extends ye{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Xo](){return new wl(this)}lift(n){const r=new vl(this,this);return r.operator=n,r}next(n){if(this.closed)throw new Vn;if(!this.isStopped){const{observers:r}=this,o=r.length,s=r.slice();for(let i=0;i<o;i++)s[i].next(n)}}error(n){if(this.closed)throw new Vn;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,o=r.length,s=r.slice();for(let i=0;i<o;i++)s[i].error(n);this.observers.length=0}complete(){if(this.closed)throw new Vn;this.isStopped=!0;const{observers:n}=this,r=n.length,o=n.slice();for(let s=0;s<r;s++)o[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new Vn;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new Vn;return this.hasError?(n.error(this.thrownError),ee.EMPTY):this.isStopped?(n.complete(),ee.EMPTY):(this.observers.push(n),new bl(this,n))}asObservable(){const n=new ye;return n.source=this,n}}return t.create=(e,n)=>new vl(e,n),t})();class vl extends es{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):ee.EMPTY}}function Il(t){return t&&"function"==typeof t.schedule}function Hi(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new i_(t,e))}}class i_{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new a_(e,this.project,this.thisArg))}}class a_ extends ke{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const Tl=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},ts="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Ml=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Sl(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const Al=t=>{if(t&&"function"==typeof t[$r])return(t=>e=>{const n=t[$r]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Ml(t))return Tl(t);if(Sl(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ln),e))(t);if(t&&"function"==typeof t[ts])return(t=>e=>{const n=t[ts]();for(;;){let r;try{r=n.next()}catch(o){return e.error(o),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${ml(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function $i(t,e){return new ye(n=>{const r=new ee;let o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function Nl(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[$r]}(t))return function(t,e){return new ye(n=>{const r=new ee;return r.add(e.schedule(()=>{const o=t[$r]();r.add(o.subscribe({next(s){r.add(e.schedule(()=>n.next(s)))},error(s){r.add(e.schedule(()=>n.error(s)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Sl(t))return function(t,e){return new ye(n=>{const r=new ee;return r.add(e.schedule(()=>t.then(o=>{r.add(e.schedule(()=>{n.next(o),r.add(e.schedule(()=>n.complete()))}))},o=>{r.add(e.schedule(()=>n.error(o)))}))),r})}(t,e);if(Ml(t))return $i(t,e);if(function(t){return t&&"function"==typeof t[ts]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new ye(n=>{const r=new ee;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(e.schedule(()=>{o=t[ts](),r.add(e.schedule(function(){if(n.closed)return;let s,i;try{const a=o.next();s=a.value,i=a.done}catch(a){return void n.error(a)}i?n.complete():(n.next(s),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof ye?t:new ye(Al(t))}class xl extends ke{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Rl extends ke{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Fl(t,e){if(e.closed)return;if(t instanceof ye)return t.subscribe(e);let n;try{n=Al(t)(e)}catch(r){e.error(r)}return n}function Pl(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(Pl((o,s)=>Nl(t(o,s)).pipe(Hi((i,a)=>e(o,i,s,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new __(t,n)))}class __{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new D_(e,this.project,this.concurrent))}}class D_ extends Rl{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(n)}_innerSub(e){const n=new xl(this),r=this.destination;r.add(n);const o=Fl(e,n);o!==n&&r.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function C_(t=Number.POSITIVE_INFINITY){return Pl(Dl,t)}function Ol(t,e){return e?$i(t,e):new ye(Tl(t))}function kl(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return Il(r)?(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 ye?t[0]:C_(e)(Ol(t,n))}function Ll(){return function(e){return e.lift(new E_(e))}}class E_{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const o=new b_(e,r),s=n.subscribe(o);return o.closed||(o.connection=r.connect()),s}}class b_ extends ke{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,o=e._connection;this.connection=null,o&&(!r||o===r)&&o.unsubscribe()}}class w_ extends ye{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new ee,e.add(this.source.subscribe(new I_(this.getSubject(),this))),e.closed&&(this._connection=null,e=ee.EMPTY)),e}refCount(){return Ll()(this)}}const v_=(()=>{const t=w_.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 I_ extends wl{constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}function A_(){return new es}function $(t){for(let e in t)if(t[e]===$)return e;throw Error("Could not find renamed property on target object.")}function O(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(O).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 Wi(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const x_=$({__forward_ref__:$});function Gi(t){return t.__forward_ref__=Gi,t.toString=function(){return O(this())},t}function w(t){return function(t){return"function"==typeof t&&t.hasOwnProperty(x_)&&t.__forward_ref__===Gi}(t)?t():t}class mn extends Error{constructor(e,n){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(e,n)),this.code=e}}function Me(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function ns(t,e){const n=e?` in ${e}`:"";throw new mn("201",`No provider for ${Me(t)} found${n}`)}function He(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function G(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yn(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ht(t){return jl(t,rs)||jl(t,Hl)}function jl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Bl(t){return t&&(t.hasOwnProperty(Qi)||t.hasOwnProperty(V_))?t[Qi]:null}const rs=$({\u0275prov:$}),Qi=$({\u0275inj:$}),Hl=$({ngInjectableDef:$}),V_=$({ngInjectorDef:$});var T=(()=>((T=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))();let zi;function en(t){const e=zi;return zi=t,e}function $l(t,e,n){const r=Ht(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==e?e:void ns(O(t),"Injector")}function tn(t){return{toString:t}.toString()}var ze=(()=>((ze=ze||{})[ze.OnPush=0]="OnPush",ze[ze.Default=1]="Default",ze))(),de=(()=>((de=de||{})[de.Emulated=0]="Emulated",de[de.None=2]="None",de[de.ShadowDom=3]="ShadowDom",de))();const B_="undefined"!=typeof globalThis&&globalThis,H_="undefined"!=typeof window&&window,$_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U=B_||"undefined"!=typeof global&&global||H_||$_,jn={},q=[],os=$({\u0275cmp:$}),Ki=$({\u0275dir:$}),Yi=$({\u0275pipe:$}),Ul=$({\u0275mod:$}),U_=$({\u0275loc:$}),$t=$({\u0275fac:$}),Ur=$({__NG_ELEMENT_ID__:$});let W_=0;function Zi(t){return tn(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===ze.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||q,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||de.Emulated,id:"c",styles:t.styles||q,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,i=t.pipes;return r.id+=W_++,r.inputs=Ql(t.inputs,n),r.outputs=Ql(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Wl):null,r.pipeDefs=i?()=>("function"==typeof i?i():i).map(Gl):null,r})}function Wl(t){return Se(t)||function(t){return t[Ki]||null}(t)}function Gl(t){return function(t){return t[Yi]||null}(t)}const ql={};function Wr(t){return tn(()=>{const e={type:t.type,bootstrap:t.bootstrap||q,declarations:t.declarations||q,imports:t.imports||q,exports:t.exports||q,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ql[t.id]=t.type),e})}function Ql(t,e){if(null==t)return jn;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,e&&(e[o]=s)}return n}function Se(t){return t[os]||null}function Ye(t,e){const n=t[Ul]||null;if(!n&&!0===e)throw new Error(`Type ${O(t)} does not have '\u0275mod' property.`);return n}const F=11,K=20;function Mt(t){return Array.isArray(t)&&"object"==typeof t[1]}function dt(t){return Array.isArray(t)&&!0===t[1]}function ea(t){return 0!=(8&t.flags)}function us(t){return 2==(2&t.flags)}function ft(t){return null!==t.template}function Z_(t){return 0!=(512&t[2])}function bn(t,e){return t.hasOwnProperty($t)?t[$t]:null}class na{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Kl(t){return t.type.prototype.ngOnChanges&&(t.setInput=tD),eD}function eD(){const t=Zl(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===jn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function tD(t,e,n,r){const o=Zl(t)||function(t,e){return t[Yl]=e}(t,{previous:jn,current:null}),s=o.current||(o.current={}),i=o.previous,a=this.declaredInputs[n],u=i[a];s[a]=new na(u&&u.currentValue,e,i===jn),t[r]=e}const Yl="__ngSimpleChanges__";function Zl(t){return t[Yl]||null}let oa;function re(t){return!!t.listen}const ed={createRenderer:(t,e)=>void 0!==oa?oa:"undefined"!=typeof document?document:void 0};function ue(t){for(;Array.isArray(t);)t=t[0];return t}function Xe(t,e){return ue(e[t.index])}function Ue(t,e){const n=e[t];return Mt(n)?n:n[0]}function aa(t){return 128==(128&t[2])}function rn(t,e){return null==e?null:t[e]}function nd(t){t[18]=0}function ua(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 S={lFrame:ld(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function rd(){return S.bindingsEnabled}function _(){return S.lFrame.lView}function H(){return S.lFrame.tView}function fe(){let t=od();for(;null!==t&&64===t.type;)t=t.parent;return t}function od(){return S.lFrame.currentTNode}function St(t,e){const n=S.lFrame;n.currentTNode=t,n.isParent=e}function ca(){return S.lFrame.isParent}function fs(){return S.isInCheckNoChangesMode}function hs(t){S.isInCheckNoChangesMode=t}function yD(t,e){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=t,da(e)}function da(t){S.lFrame.currentDirectiveIndex=t}function ha(t){S.lFrame.currentQueryIndex=t}function DD(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ud(t,e,n){if(n&T.SkipSelf){let o=e,s=t;for(;!(o=o.parent,null!==o||n&T.Host||(o=DD(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;e=o,t=s}const r=S.lFrame=cd();return r.currentTNode=e,r.lView=t,!0}function ps(t){const e=cd(),n=t[1];S.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function cd(){const t=S.lFrame,e=null===t?null:t.child;return null===e?ld(t):e}function ld(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function dd(){const t=S.lFrame;return S.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const fd=dd;function gs(){const t=dd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function on(t){S.lFrame.selectedIndex=t}function ms(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const s=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=s;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),u&&(t.viewHooks||(t.viewHooks=[])).push(-n,u),c&&((t.viewHooks||(t.viewHooks=[])).push(n,c),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,c)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function ys(t,e,n){hd(t,e,3,n)}function _s(t,e,n,r){(3&t[2])===n&&hd(t,e,n,r)}function pa(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function hd(t,e,n,r){const s=null!=r?r:-1,i=e.length-1;let a=0;for(let u=void 0!==r?65535&t[18]:0;u<i;u++)if("number"==typeof e[u+1]){if(a=e[u],null!=r&&a>=r)break}else e[u]<0&&(t[18]+=65536),(a<s||-1==s)&&(SD(t,n,e,u),t[18]=(4294901760&t[18])+u+2),u++}function SD(t,e,n,r){const o=n[r]<0,s=n[r+1],a=t[o?-n[r]:n[r]];if(o){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Kr{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ds(t,e,n){const r=re(t);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],a=n[o++],u=n[o++];r?t.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u)}else{const i=s,a=n[++o];ma(i)?r&&t.setProperty(e,i,a):r?t.setAttribute(e,i,a):e.setAttribute(i,a),o++}}return o}function pd(t){return 3===t||4===t||6===t}function ma(t){return 64===t.charCodeAt(0)}function Cs(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||gd(t,n,o,null,-1===n||2===n?e[++r]:null)}}return t}function gd(t,e,n,r,o){let s=0,i=t.length;if(-1===e)i=-1;else for(;s<t.length;){const a=t[s++];if("number"==typeof a){if(a===e){i=-1;break}if(a>e){i=s-1;break}}}for(;s<t.length;){const a=t[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(t[s+1]=o));if(r===t[s+1])return void(t[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(t.splice(i,0,e),s=i+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==o&&t.splice(s++,0,o)}function qn(t){return 32767&t}function Qn(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let ya=!0;function Es(t){const e=ya;return ya=t,e}let PD=0;function Zr(t,e){const n=Da(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,_a(r.data,t),_a(e,null),_a(r.blueprint,null));const o=bs(t,e),s=t.injectorIndex;if(function(t){return-1!==t}(o)){const i=qn(o),a=Qn(o,e),u=a[1].data;for(let c=0;c<8;c++)e[s+c]=a[i+c]|u[i+c]}return e[s+8]=o,s}function _a(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Da(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function bs(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){const s=o[1],i=s.type;if(r=2===i?s.declTNode:1===i?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ws(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ur)&&(r=n[Ur]),null==r&&(r=n[Ur]=PD++);const o=255&r;e.data[t+(o>>5)]|=1<<o}(t,e,n)}function Dd(t,e,n){if(n&T.Optional)return t;ns(e,"NodeInjector")}function Cd(t,e,n,r){if(n&T.Optional&&void 0===r&&(r=null),0==(n&(T.Self|T.Host))){const o=t[9],s=en(void 0);try{return o?o.get(e,r,n&T.Optional):$l(e,r,n&T.Optional)}finally{en(s)}}return Dd(r,e,n)}const bd={};function LD(){return new zn(fe(),_())}function VD(t,e,n,r,o,s){const i=e[1],a=i.data[t+8],l=function(t,e,n,r,o){const s=t.providerIndexes,i=e.data,a=1048575&s,u=t.directiveStart,l=s>>20,f=o?a+l:t.directiveEnd;for(let h=r?a:a+l;h<f;h++){const p=i[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=i[u];if(h&&ft(h)&&h.type===n)return u}return null}(a,i,n,null==r?us(a)&&ya:r!=i&&0!=(3&a.type),o&T.Host&&s===a);return null!==l?Jr(e,i,l,a):bd}function Jr(t,e,n,r){let o=t[n];const s=e.data;if(function(t){return t instanceof Kr}(o)){const i=o;i.resolving&&function(t,e){throw new mn("200",`Circular dependency in DI detected for ${t}`)}(Me(s[n]));const a=Es(i.canSeeViewProviders);i.resolving=!0;const u=i.injectImpl?en(i.injectImpl):null;ud(t,r,T.Default);try{o=t[n]=i.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=e.type.prototype;if(r){const i=Kl(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==u&&en(u),Es(a),i.resolving=!1,fd()}}return o}function wd(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function vd(t,e){return!(t&T.Self||t&T.Host&&e)}class zn{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return function(t,e,n,r=T.Default,o){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Ur)?t[Ur]:void 0;return"number"==typeof e?e>=0?255&e:LD:e}(n);if("function"==typeof s){if(!ud(e,t,r))return r&T.Host?Dd(o,n,r):Cd(e,n,r,o);try{const i=s(r);if(null!=i||r&T.Optional)return i;ns(n)}finally{fd()}}else if("number"==typeof s){let i=null,a=Da(t,e),u=-1,c=r&T.Host?e[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?bs(t,e):e[a+8],-1!==u&&vd(r,!1)?(i=e[1],a=qn(u),e=Qn(u,e)):a=-1);-1!==a;){const l=e[1];if(wd(s,a,l.data)){const d=VD(a,e,n,i,r,c);if(d!==bd)return d}u=e[a+8],-1!==u&&vd(r,e[1].data[a+8]===c)&&wd(s,a,e)?(i=l,a=qn(u),e=Qn(u,e)):a=-1}}}return Cd(e,n,r,o)}(this._tNode,this._lView,e,r,n)}}const Yn="__parameters__";function wn(t,e,n){return tn(()=>{const r=function(t){return function(...n){if(t){const r=t(...n);for(const o in r)this[o]=r[o]}}}(e);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(u,c,l){const d=u.hasOwnProperty(Yn)?u[Yn]:Object.defineProperty(u,Yn,{value:[]})[Yn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(i),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class Q{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Nt(t,e){t.forEach(n=>Array.isArray(n)?Nt(n,e):e(n))}function vn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const no={},Ta="__NG_DI_FLAG__",Xn="ngTempTokenPath",JD=/\n/gm,Ma="__source",Sa=$({provide:String,useValue:$});let ro;function er(t){const e=ro;return ro=t,e}function eC(t,e=T.Default){if(void 0===ro)throw new Error("inject() must be called from an injection context");return null===ro?$l(t,void 0,e):ro.get(t,e&T.Optional?null:void 0,e)}function V(t,e=T.Default){return(zi||eC)(w(t),e)}function In(t){const e=[];for(let n=0;n<t.length;n++){const r=w(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let o,s=T.Default;for(let i=0;i<r.length;i++){const a=r[i],u=tC(a);"number"==typeof u?-1===u?o=a.token:s|=u:o=a}e.push(V(o,s))}else e.push(V(r))}return e}function oo(t,e){return t[Ta]=e,t.prototype[Ta]=e,t}function tC(t){return t[Ta]}function Nd(t,e,n,r){const o=t[Xn];throw e[Ma]&&o.unshift(e[Ma]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=O(e);if(Array.isArray(e))o=e.map(O).join(" -> ");else if("object"==typeof e){let s=[];for(let i in e)if(e.hasOwnProperty(i)){let a=e[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):O(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(JD,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t[Xn]=null,t}const so=oo(wn("Inject",t=>({token:t})),-1),xt=oo(wn("Optional"),8),Tn=oo(wn("SkipSelf"),4),Yd="__ngContext__";function we(t,e){t[Yd]=e}function La(t){const e=function(t){return t[Yd]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fs(t){return t.ngOriginalError}function zC(t,...e){t.error(...e)}class Sn{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=this._findContext(e),o=function(t){return t&&t.ngErrorLogger||zC}(e);o(this._console,"ERROR",e),n&&o(this._console,"ORIGINAL ERROR",n),r&&o(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?function(t){return t.ngDebugContext}(e)||this._findContext(Fs(e)):null}_findOriginalError(e){let n=e&&Fs(e);for(;n&&Fs(n);)n=Fs(n);return n||null}}const sf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function Pt(t){return t instanceof Function?t():t}var qe=(()=>((qe=qe||{})[qe.Important=1]="Important",qe[qe.DashCase=2]="DashCase",qe))();function Ba(t,e){return undefined(t,e)}function fo(t){const e=t[3];return dt(e)?e[3]:e}function Ha(t){return df(t[13])}function $a(t){return df(t[4])}function df(t){for(;null!==t&&!dt(t);)t=t[4];return t}function or(t,e,n,r,o){if(null!=r){let s,i=!1;dt(r)?s=r:Mt(r)&&(i=!0,r=r[0]);const a=ue(r);0===t&&null!==n?null==o?yf(e,n,a):An(e,n,a,o||null,!0):1===t&&null!==n?An(e,n,a,o||null,!0):2===t?function(t,e,n){const r=function(t,e){return re(t)?t.parentNode(e):e.parentNode}(t,e);r&&function(t,e,n,r){re(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,i):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,o){const s=n[7];s!==ue(n)&&or(e,t,r,s,o);for(let a=10;a<n.length;a++){const u=n[a];ho(u[1],u,t,e,r,s)}}(e,t,s,n,o)}}function Wa(t,e,n){return re(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function hf(t,e){const n=t[9],r=n.indexOf(e),o=e[3];1024&e[2]&&(e[2]&=-1025,ua(o,-1)),n.splice(r,1)}function qa(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 o=e[n[r]];if(!(o instanceof Kr)){const s=n[r+1];if(Array.isArray(s))for(let i=0;i<s.length;i+=2){const a=o[s[i]],u=s[i+1];try{u.call(a)}finally{}}else try{s.call(o)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let o=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const i=n[s+1],a="function"==typeof i?i(e):ue(e[i]),u=r[o=n[s+2]],c=n[s+3];"boolean"==typeof c?a.removeEventListener(n[s],u,c):c>=0?r[o=c]():r[o=-c].unsubscribe(),s+=2}else{const i=r[o=n[s+1]];n[s].call(i)}if(null!==r){for(let s=o+1;s<r.length;s++)r[s]();e[7]=null}}(t,e),1===e[1].type&&re(e[F])&&e[F].destroy();const n=e[17];if(null!==n&&dt(e[3])){n!==e[3]&&hf(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function gf(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const o=t.data[r.directiveStart].encapsulation;if(o===de.None||o===de.Emulated)return null}return Xe(r,n)}(t,e.parent,n)}function An(t,e,n,r,o){re(t)?t.insertBefore(e,n,r,o):e.insertBefore(n,r,o)}function yf(t,e,n){re(t)?t.appendChild(e,n):e.appendChild(n)}function _f(t,e,n,r,o){null!==r?An(t,e,n,r,o):yf(t,e,n)}let Ef=function(t,e,n){return 40&t.type?Xe(t,n):null};function ks(t,e,n,r){const o=gf(t,r,e),s=e[F],a=function(t,e,n){return Ef(t,e,n)}(r.parent||e[6],r,e);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)_f(s,o,n[u],a,!1);else _f(s,o,n,a,!1)}function wf(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Ka(t,e,n,r,o,s,i){for(;null!=n;){const a=r[n.index],u=n.type;if(i&&0===e&&(a&&we(ue(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Ka(t,e,n.child,r,o,s,!1),or(e,t,o,a,s);else if(32&u){const c=Ba(n,r);let l;for(;l=c();)or(e,t,o,l,s);or(e,t,o,a,s)}else 16&u?If(t,e,r,n,o,s):or(e,t,o,a,s);n=i?n.projectionNext:n.next}}function ho(t,e,n,r,o,s){Ka(n,r,t.firstChild,e,o,s,!1)}function If(t,e,n,r,o,s){const i=n[16],u=i[6].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++)or(e,t,o,u[c],s);else Ka(t,e,u,i[3],o,s,!0)}function Tf(t,e,n){re(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Ya(t,e,n){re(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Mf(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const s=e.length;if(o+s===r||t.charCodeAt(o+s)<=32)return o}n=o+1}}const Sf="ng-template";function CE(t,e,n){let r=0;for(;r<t.length;){let o=t[r++];if(n&&"class"===o){if(o=t[r],-1!==Mf(o.toLowerCase(),e,0))return!0}else if(1===o){for(;r<t.length&&"string"==typeof(o=t[r++]);)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Af(t){return 4===t.type&&t.value!==Sf}function EE(t,e,n){return e===(4!==t.type||n?t.value:Sf)}function bE(t,e,n){let r=4;const o=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(pd(t[e]))return e;return t.length}(o);let i=!1;for(let a=0;a<e.length;a++){const u=e[a];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!EE(t,u,n)||""===u&&1===e.length){if(ht(r))return!1;i=!0}}else{const c=8&r?u:e[++a];if(8&r&&null!==t.attrs){if(!CE(t.attrs,c,n)){if(ht(r))return!1;i=!0}continue}const d=wE(8&r?"class":u,o,Af(t),n);if(-1===d){if(ht(r))return!1;i=!0;continue}if(""!==c){let f;f=d>s?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Mf(h,c,0)||2&r&&c!==f){if(ht(r))return!1;i=!0}}}}else{if(!i&&!ht(r)&&!ht(u))return!1;if(i&&ht(u))continue;i=!1,r=u|1&r}}return ht(r)||i}function ht(t){return 0==(1&t)}function wE(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let s=!1;for(;o<e.length;){const i=e[o];if(i===t)return o;if(3===i||6===i)s=!0;else{if(1===i||2===i){let a=e[++o];for(;"string"==typeof a;)a=e[++o];continue}if(4===i)break;if(0===i){o+=4;continue}}o+=s?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 Nf(t,e,n=!1){for(let r=0;r<e.length;r++)if(bE(t,e[r],n))return!0;return!1}function xf(t,e){return t?":not("+e.trim()+")":e}function SE(t){let e=t[0],n=1,r=2,o="",s=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const a=t[++n];o+="["+i+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!ht(i)&&(e+=xf(s,o),o=""),r=i,s=s||!ht(r);n++}return""!==o&&(e+=xf(s,o)),e}const N={};function $f(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const i=t.data[s];ha(o),i.contentQueries(2,e[s],s)}}}function po(t,e,n,r,o,s,i,a,u,c){const l=e.blueprint.slice();return l[0]=o,l[2]=140|r,nd(l),l[3]=l[15]=t,l[8]=n,l[10]=i||t&&t[10],l[F]=a||t&&t[F],l[12]=u||t&&t[12]||null,l[9]=c||t&&t[9]||null,l[6]=s,l[16]=2==e.type?t[16]:l,l}function sr(t,e,n,r,o){let s=t.data[e];if(null===s)s=function(t,e,n,r,o){const s=od(),i=ca(),u=t.data[e]=function(t,e,n,r,o,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,e,r,o);return null===t.firstChild&&(t.firstChild=u),null!==s&&(i?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u)),u}(t,e,n,r,o),S.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function(){const t=S.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return St(s,!0),s}function ir(t,e,n,r){if(0===n)return-1;const o=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function go(t,e,n){ps(e);try{const r=t.viewQuery;null!==r&&gu(1,r,n);const o=t.template;null!==o&&Uf(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&$f(t,e),t.staticViewQueries&&gu(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)ub(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,gs()}}function ar(t,e,n,r){const o=e[2];if(256==(256&o))return;ps(e);const s=fs();try{nd(e),function(t){S.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Uf(t,e,n,2,r);const i=3==(3&o);if(!s)if(i){const c=t.preOrderCheckHooks;null!==c&&ys(e,c,null)}else{const c=t.preOrderHooks;null!==c&&_s(e,c,0,null),pa(e,0)}if(function(t){for(let e=Ha(t);null!==e;e=$a(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const o=n[r],s=o[3];0==(1024&o[2])&&ua(s,1),o[2]|=1024}}}(e),function(t){for(let e=Ha(t);null!==e;e=$a(e))for(let n=10;n<e.length;n++){const r=e[n],o=r[1];aa(r)&&ar(o,r,o.template,r[8])}}(e),null!==t.contentQueries&&$f(t,e),!s)if(i){const c=t.contentCheckHooks;null!==c&&ys(e,c)}else{const c=t.contentHooks;null!==c&&_s(e,c,1),pa(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)on(~o);else{const s=o,i=n[++r],a=n[++r];yD(i,s),a(2,e[s])}}}finally{on(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)ab(t,e[n])}(e,a);const u=t.viewQuery;if(null!==u&&gu(2,u,r),!s)if(i){const c=t.viewCheckHooks;null!==c&&ys(e,c)}else{const c=t.viewHooks;null!==c&&_s(e,c,2),pa(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,ua(e[3],-1))}finally{gs()}}function $E(t,e,n,r){const o=e[10],s=!fs(),i=function(t){return 4==(4&t[2])}(e);try{s&&!i&&o.begin&&o.begin(),i&&go(t,e,r),ar(t,e,n,r)}finally{s&&!i&&o.end&&o.end()}}function Uf(t,e,n,r,o){const s=S.lFrame.selectedIndex,i=2&r;try{on(-1),i&&e.length>K&&function(t,e,n,r){if(!r)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&ys(e,s,n)}else{const s=t.preOrderHooks;null!==s&&_s(e,s,0,n)}on(n)}(t,e,K,fs()),n(r,o)}finally{on(s)}}function Gf(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Hs(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Hs(t,e,n,r,o,s,i,a,u,c){const l=K+r,d=l+o,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:N);return n}(l,d),h="function"==typeof c?c():c;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function Kf(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const o=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,o):n[r]=[e,o]}return n}function Zf(t,e,n,r,o,s){const i=s.hostBindings;if(i){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const u=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,i)}}function Jf(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Xf(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function tb(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ft(e)&&(n[""]=t)}}function eh(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function th(t,e,n,r,o){t.data[r]=o;const s=o.factory||(o.factory=bn(o.type)),i=new Kr(s,ft(o),null);t.blueprint[r]=i,n[r]=i,Zf(t,e,0,r,ir(t,n,o.hostVars,N),o)}function nb(t,e,n){const r=Xe(e,t),o=Gf(n),s=t[10],i=$s(t,po(t,o,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=i}function rb(t,e,n,r,o,s){const i=s[e];if(null!==i){const a=r.setInput;for(let u=0;u<i.length;){const c=i[u++],l=i[u++],d=i[u++];null!==a?r.setInput(n,d,c,l):n[l]=d}}}function ob(t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[r+1])),r+=2}else r+=2;else r+=4}return n}function ab(t,e){const n=Ue(e,t);if(aa(n)){const r=n[1];80&n[2]?ar(r,n,r.template,n[8]):n[5]>0&&du(n)}}function du(t){for(let r=Ha(t);null!==r;r=$a(r))for(let o=10;o<r.length;o++){const s=r[o];if(1024&s[2]){const i=s[1];ar(i,s,i.template,s[8])}else s[5]>0&&du(s)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ue(n[r],t);aa(o)&&o[5]>0&&du(o)}}function ub(t,e){const n=Ue(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),go(r,n,n[8])}function $s(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function pu(t,e,n){const r=e[10];r.begin&&r.begin();try{ar(t,e,t.template,n)}catch(o){throw function(t,e){const n=t[9],r=n?n.get(Sn,null):null;r&&r.handleError(e)}(e,o),o}finally{r.end&&r.end()}}function rh(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=La(n),o=r[1];$E(o,r,o.template,n)}}(t[8])}function gu(t,e,n){ha(0),e(t,n)}const hb=(()=>Promise.resolve(null))();function Us(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,s=0;if(null!==e)for(let i=0;i<e.length;i++){const a=e[i];"number"==typeof a?s=a:1==s?o=Wi(o,a):2==s&&(r=Wi(r,a+": "+e[++i]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}const ur=new Q("INJECTOR",-1);class ch{get(e,n=no){if(n===no){const r=new Error(`NullInjectorError: No provider for ${O(e)}!`);throw r.name="NullInjectorError",r}return n}}const mo=new Q("Set Injector scope."),yo={},mb={};let mu;function lh(){return void 0===mu&&(mu=new ch),mu}function dh(t,e=null,n=null,r){return new _b(t,n,e||lh(),r)}class _b{constructor(e,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&Nt(n,a=>this.processProvider(a,e,n)),Nt([e],a=>this.processInjectorType(a,[],s)),this.records.set(ur,cr(void 0,this));const i=this.records.get(mo);this.scope=null!=i?i.value:null,this.source=o||("object"==typeof e?null:O(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=no,r=T.Default){this.assertNotDestroyed();const o=er(this),s=en(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(e);if(void 0===a){const u=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof Q}(e)&&Ht(e);a=u&&this.injectableDefInScope(u)?cr(yu(e),yo):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&T.Self?lh():this.parent).get(e,n=r&T.Optional&&n===no?null:n)}catch(i){if("NullInjectorError"===i.name){if((i[Xn]=i[Xn]||[]).unshift(O(e)),o)throw i;return Nd(i,e,"R3InjectorError",this.source)}throw i}finally{en(s),er(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,o)=>e.push(O(o))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,n,r){if(!(e=w(e)))return!1;let o=Bl(e);const s=null==o&&e.ngModule||void 0,i=void 0===s?e:s,a=-1!==r.indexOf(i);if(void 0!==s&&(o=Bl(s)),null==o)return!1;if(null!=o.imports&&!a){let l;r.push(i);try{Nt(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===l&&(l=[]),l.push(d))})}finally{}if(void 0!==l)for(let d=0;d<l.length;d++){const{ngModule:f,providers:h}=l[d];Nt(h,p=>this.processProvider(p,f,h||q))}}this.injectorDefTypes.add(i);const u=bn(i)||(()=>new i);this.records.set(i,cr(u,yo));const c=o.providers;if(null!=c&&!a){const l=e;Nt(c,d=>this.processProvider(d,l,c))}return void 0!==s&&void 0!==e.providers}processProvider(e,n,r){let o=lr(e=w(e))?e:w(e&&e.provide);const s=function(t,e,n){return hh(t)?cr(void 0,t.useValue):cr(function(t,e,n){let r;if(lr(t)){const o=w(t);return bn(o)||yu(o)}if(hh(t))r=()=>w(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...In(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>V(w(t.useExisting));else{const o=w(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return bn(o)||yu(o);r=()=>new o(...In(t.deps))}return r}(t),yo)}(e);if(lr(e)||!0!==e.multi)this.records.get(o);else{let i=this.records.get(o);i||(i=cr(void 0,yo,!0),i.factory=()=>In(i.multi),this.records.set(o,i)),o=e,i.multi.push(e)}this.records.set(o,s)}hydrate(e,n){return n.value===yo&&(n.value=mb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=w(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function yu(t){const e=Ht(t),n=null!==e?e.factory:bn(t);if(null!==n)return n;if(t instanceof Q)throw new Error(`Token ${O(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const r=function(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?");throw new Error(`Can't resolve all parameters for ${O(t)}: (${r.join(", ")}).`)}const n=function(t){const e=t&&(t[rs]||t[Hl]);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 a future version of Angular. 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 cr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function hh(t){return null!==t&&"object"==typeof t&&Sa in t}function lr(t){return"function"==typeof t}const ph=function(t,e,n){return function(t,e=null,n=null,r){const o=dh(t,e,n,r);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let Y=(()=>{class t{static create(n,r){return Array.isArray(n)?ph(n,r,""):ph(n.providers,n.parent,n.name||"")}}return t.THROW_IF_NOT_FOUND=no,t.NULL=new ch,t.\u0275prov=G({token:t,providedIn:"any",factory:()=>V(ur)}),t.__NG_ELEMENT_ID__=-1,t})();function jb(t,e){ms(La(t)[1],fe())}let Ws=null;function dr(){if(!Ws){const t=U.Symbol;if(t&&t.iterator)Ws=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ws=r)}}}return Ws}function Do(t){return!!vu(t)&&(Array.isArray(t)||!(t instanceof Map)&&dr()in t)}function vu(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Au(t,e,n,r,o){const i=o?"class":"style";!function(t,e,n,r,o){for(let s=0;s<n.length;){const i=n[s++],a=n[s++],u=e[i],c=t.data[i];null!==c.setInput?c.setInput(u,o,r,a):u[a]=o}}(t,n,e.inputs[i],i,r)}function Nu(t,e,n,r){const o=_(),s=H(),i=K+t,a=o[F],u=o[i]=Wa(a,e,S.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,r,o,s,i){const a=e.consts,c=sr(e,t,2,o,rn(a,s));return function(t,e,n,r){let o=!1;if(rd()){const s=function(t,e,n){const r=t.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];Nf(n,i.selectors,!1)&&(o||(o=[]),ws(Zr(n,e),t,i.type),ft(i)?(Xf(t,n),o.unshift(i)):o.push(i))}return o}(t,e,n),i=null===r?null:{"":-1};if(null!==s){o=!0,eh(n,t.data.length,s.length);for(let l=0;l<s.length;l++){const d=s[l];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,c=ir(t,e,s.length,null);for(let l=0;l<s.length;l++){const d=s[l];n.mergedAttrs=Cs(n.mergedAttrs,d.hostAttrs),th(t,n,e,c,d),tb(c,d,i),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),u=!0),c++}!function(t,e){const r=e.directiveEnd,o=t.data,s=e.attrs,i=[];let a=null,u=null;for(let c=e.directiveStart;c<r;c++){const l=o[c],d=l.inputs,f=null===s||Af(e)?null:ob(d,s);i.push(f),a=Kf(d,c,a),u=Kf(l.outputs,c,u)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=a,e.outputs=u}(t,n)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let o=0;o<e.length;o+=2){const s=n[e[o+1]];if(null==s)throw new mn("301",`Export of name '${e[o+1]}' not found!`);r.push(e[o],s)}}}(n,r,i)}n.mergedAttrs=Cs(n.mergedAttrs,n.attrs)}(e,n,c,rn(a,i)),null!==c.attrs&&Us(c,c.attrs,!1),null!==c.mergedAttrs&&Us(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(i,s,o,0,e,n,r):s.data[i];St(c,!0);const l=c.mergedAttrs;null!==l&&Ds(a,u,l);const d=c.classes;null!==d&&Ya(a,u,d);const f=c.styles;null!==f&&Tf(a,u,f),64!=(64&c.flags)&&ks(s,o,u,c),0===S.lFrame.elementDepthCount&&we(u,o),S.lFrame.elementDepthCount++,function(t){return 1==(1&t.flags)}(c)&&(function(t,e,n){!rd()||(function(t,e,n,r){const o=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Zr(n,e),we(r,e);const i=n.initialInputs;for(let a=o;a<s;a++){const u=t.data[a],c=ft(u);c&&nb(e,n,u);const l=Jr(e,t,a,n);we(l,e),null!==i&&rb(0,a-o,l,u,0,i),c&&(Ue(n.index,e)[8]=l)}}(t,e,n,Xe(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,a=S.lFrame.currentDirectiveIndex;try{on(i);for(let u=r;u<o;u++){const c=t.data[u],l=e[u];da(u),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Jf(c,l)}}finally{on(-1),da(a)}}(t,e,n))}(s,o,c),function(t,e,n){if(ea(e)){const o=e.directiveEnd;for(let s=e.directiveStart;s<o;s++){const i=t.data[s];i.contentQueries&&i.contentQueries(1,n[s],s)}}}(s,c,o)),null!==r&&function(t,e,n=Xe){const r=e.localNames;if(null!==r){let o=e.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],a=-1===i?n(e,t):t[i];t[o++]=a}}}(o,c)}function xu(){let t=fe();ca()?S.lFrame.isParent=!1:(t=t.parent,St(t,!1));const e=t;S.lFrame.elementDepthCount--;const n=H();n.firstCreatePass&&(ms(n,t),ea(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Au(n,e,_(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Au(n,e,_(),e.stylesWithoutHost,!1)}function Ru(t){return!!t&&"function"==typeof t.then}const op=function(t){return!!t&&"function"==typeof t.subscribe};function Fp(t,e=""){const n=_(),r=H(),o=t+K,s=r.firstCreatePass?sr(r,o,1,e,null):r.data[o],i=n[o]=function(t,e){return re(t)?t.createText(e):t.createTextNode(e)}(n[F],e);ks(r,n,i,s),St(s,!1)}const xn=void 0;var gv=["en",[["a","p"],["AM","PM"],xn],[["AM","PM"],xn,xn],[["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"]],xn,[["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"]],xn,[["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}",xn,"{1} 'at' {0}",xn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let wr={};function tg(t){return t in wr||(wr[t]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[t]),wr[t]}var E=(()=>((E=E||{})[E.LocaleId=0]="LocaleId",E[E.DayPeriodsFormat=1]="DayPeriodsFormat",E[E.DayPeriodsStandalone=2]="DayPeriodsStandalone",E[E.DaysFormat=3]="DaysFormat",E[E.DaysStandalone=4]="DaysStandalone",E[E.MonthsFormat=5]="MonthsFormat",E[E.MonthsStandalone=6]="MonthsStandalone",E[E.Eras=7]="Eras",E[E.FirstDayOfWeek=8]="FirstDayOfWeek",E[E.WeekendRange=9]="WeekendRange",E[E.DateFormat=10]="DateFormat",E[E.TimeFormat=11]="TimeFormat",E[E.DateTimeFormat=12]="DateTimeFormat",E[E.NumberSymbols=13]="NumberSymbols",E[E.NumberFormats=14]="NumberFormats",E[E.CurrencyCode=15]="CurrencyCode",E[E.CurrencySymbol=16]="CurrencySymbol",E[E.CurrencyName=17]="CurrencyName",E[E.Currencies=18]="Currencies",E[E.Directionality=19]="Directionality",E[E.PluralCase=20]="PluralCase",E[E.ExtraData=21]="ExtraData",E))();const zs="en-US";let ng=zs;function Lu(t){He(t,"Expected localeId to be defined"),"string"==typeof t&&(ng=t.toLowerCase().replace(/_/g,"-"))}class Mg{}const Ag="ngComponent";class mI{resolveComponentFactory(e){throw function(t){const e=Error(`No component factory found for ${O(t)}. Did you add it to @NgModule.entryComponents?`);return e[Ag]=t,e}(e)}}let ln=(()=>{class t{}return t.NULL=new mI,t})();function Xs(...t){}function Ir(t,e){return new Dt(Xe(t,e))}const DI=function(){return Ir(fe(),_())};let Dt=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=DI,t})();class ei{}let Gu=(()=>{class t{}return t.\u0275prov=G({token:t,providedIn:"root",factory:()=>null}),t})();class ti{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Rg=new ti("12.2.15");class Fg{constructor(){}supports(e){return Do(e)}create(e){return new II(e)}}const vI=(t,e)=>e;class II{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||vI}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex<Og(r,o,s)?n:r,a=Og(i,o,s),u=i.currentIndex;if(i===r)o--,r=r._nextRemoved;else if(n=n._next,null==i.previousIndex)o++;else{s||(s=[]);const c=a-o,l=u-o;if(c!=l){for(let f=0;f<c;f++){const h=f<s.length?s[f]:s[f]=0,p=h+f;l<=p&&p<c&&(s[f]=h+1)}s[i.previousIndex]=l-c}}a!==u&&e(i,a,u)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}diff(e){if(null==e&&(e=[]),!Do(e))throw new Error(`Error trying to diff '${O(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let o,s,i,n=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)s=e[a],i=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,s,i,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,i,a),r=!0),n=n._next}else o=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[dr()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(e,a=>{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,s,o)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,s,o)):e=this._addAfter(new TI(n,r),s,o),e}_verifyReinsertion(e,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?e=this._reinsertAfter(s,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,s=e._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const o=null===n?this._itHead:n._next;return e._next=o,e._prev=n,null===o?this._itTail=e:o._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new Pg),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Pg),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class TI{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class MI{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Pg{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new MI,this.map.set(n,r)),r.add(e)}get(e,n){const o=this.map.get(e);return o?o.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Og(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class kg{constructor(){}supports(e){return e instanceof Map||vu(e)}create(){return new SI}}class SI{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(e){let n;for(n=this._mapHead;null!==n;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}diff(e){if(e){if(!(e instanceof Map||vu(e)))throw new Error(`Error trying to diff '${O(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const o=this._records.get(e);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new AI(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class AI{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Lg(){return new To([new Fg])}let To=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Lg()),deps:[[t,new Tn,new xt]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'`)}}return t.\u0275prov=G({token:t,providedIn:"root",factory:Lg}),t})();function Vg(){return new Tr([new kg])}let Tr=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Vg()),deps:[[t,new Tn,new xt]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return t.\u0275prov=G({token:t,providedIn:"root",factory:Vg}),t})();function ni(t,e,n,r,o=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(ue(s)),dt(s))for(let a=10;a<s.length;a++){const u=s[a],c=u[1].firstChild;null!==c&&ni(u[1],u,c,r)}const i=n.type;if(8&i)ni(t,e,n.child,r);else if(32&i){const a=Ba(n,e);let u;for(;u=a();)r.push(u)}else if(16&i){const a=wf(e,n);if(Array.isArray(a))r.push(...a);else{const u=fo(e[16]);ni(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class Mo{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return ni(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(dt(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(function(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const o=r[17];null!==o&&o!==t&&hf(o,r),e>0&&(t[n-1][4]=r[4]);const s=vn(t,10+e);!function(t,e){ho(t,e,e[F],2,null,null),e[0]=null,e[6]=null}(r[1],r);const i=s[19];null!==i&&i.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}}(e,r),vn(n,r))}this._attachedToViewContainer=!1}!function(t,e){if(!(256&e[2])){const n=e[F];re(n)&&n.destroyNode&&ho(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return qa(t[1],t);for(;e;){let n=null;if(Mt(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Mt(e)&&qa(e[1],e),e=e[3];null===e&&(e=t),Mt(e)&&qa(e[1],e),n=e&&e[4]}e=n}}(e)}}(this._lView[1],this._lView)}onDestroy(e){!function(t,e,n,r){const o=function(t){return t[7]||(t[7]=[])}(e);null===n?o.push(r):(o.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(r,o.length-1))}(this._lView[1],this._lView,null,e)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=fo(t);if(Z_(t)&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){pu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){hs(!0);try{pu(t,e,n)}finally{hs(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(t,e){ho(t,e,e[F],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class xI extends Mo{constructor(e){super(e),this._view=e}detectChanges(){rh(this._view)}checkNoChanges(){!function(t){hs(!0);try{rh(t)}finally{hs(!1)}}(this._view)}get context(){return null}}const FI=function(t){return function(t,e,n){if(us(t)&&!n){const r=Ue(t.index,e);return new Mo(r,r)}return 47&t.type?new Mo(e[16],e):null}(fe(),_(),16==(16&t))};let jg=(()=>{class t{}return t.__NG_ELEMENT_ID__=FI,t})();const kI=[new kg],VI=new To([new Fg]),jI=new Tr(kI);class Rn{}const Nr={};class um extends ln{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=Se(e);return new lm(n,this.ngModule)}}function cm(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const G0=new Q("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>sf});class lm extends Mg{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function(t){return t.map(SE).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return cm(this.componentDef.inputs)}get outputs(){return cm(this.componentDef.outputs)}create(e,n,r,o){const s=(o=o||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const s=t.get(n,Nr,o);return s!==Nr||r===Nr?s:e.get(n,r,o)}}}(e,o.injector):e,i=s.get(ei,ed),a=s.get(Gu,null),u=i.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=r?function(t,e,n){if(re(t))return t.selectRootElement(e,n===de.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Wa(i.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),d=this.componentDef.onPush?576:528,f=function(t,e){return{components:[],scheduler:t||sf,clean:hb,playerHandler:e||null,flags:0}}(),h=Hs(0,null,null,1,0,null,null,null,null,null),p=po(null,h,f,d,null,null,i,u,a,s);let m,g;ps(p);try{const D=function(t,e,n,r,o,s){const i=n[1];n[20]=t;const u=sr(i,20,2,"#host",null),c=u.mergedAttrs=e.hostAttrs;null!==c&&(Us(u,c,!0),null!==t&&(Ds(o,t,c),null!==u.classes&&Ya(o,t,u.classes),null!==u.styles&&Tf(o,t,u.styles)));const l=r.createRenderer(t,e),d=po(n,Gf(e),null,e.onPush?64:16,n[20],u,r,l,s||null,null);return i.firstCreatePass&&(ws(Zr(u,n),i,e.type),Xf(i,u),eh(u,n.length,1)),$s(n,d),n[20]=d}(l,this.componentDef,p,i,u);if(l)if(r)Ds(u,l,["ng-version",Rg.full]);else{const{attrs:y,classes:b}=function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===o?""!==s&&e.push(s,t[++r]):8===o&&n.push(s);else{if(!ht(o))break;o=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);y&&Ds(u,l,y),b&&b.length>0&&Ya(u,l,b.join(" "))}if(g=function(t,e){return t.data[e]}(h,K),void 0!==n){const y=g.projection=[];for(let b=0;b<this.ngContentSelectors.length;b++){const v=n[b];y.push(null!=v?Array.from(v):null)}}m=function(t,e,n,r,o){const s=n[1],i=function(t,e,n){const r=fe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),th(t,r,e,ir(t,e,1,null),n));const o=Jr(e,t,r.directiveStart,r);we(o,e);const s=Xe(r,e);return s&&we(s,e),o}(s,n,e);if(r.components.push(i),t[8]=i,o&&o.forEach(u=>u(i,e)),e.contentQueries){const u=fe();e.contentQueries(1,i,u.directiveStart)}const a=fe();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(on(a.index),Zf(n[1],a,0,a.directiveStart,a.directiveEnd,e),Jf(e,i)),i}(D,this.componentDef,p,f,[jb]),go(h,p,null)}finally{gs()}return new z0(this.componentType,m,Ir(g,p),p,g)}}class z0 extends class{}{constructor(e,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new xI(o),this.componentType=e}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const xr=new Map;class Z0 extends Rn{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new um(this);const r=Ye(e),o=function(t){return t[U_]||null}(e);o&&Lu(o),this._bootstrapComponents=Pt(r.bootstrap),this._r3Injector=dh(e,n,[{provide:Rn,useValue:this},{provide:ln,useValue:this.componentFactoryResolver}],O(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=Y.THROW_IF_NOT_FOUND,r=T.Default){return e===Y||e===Rn||e===ur?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class sc extends class{}{constructor(e){super(),this.moduleType=e,null!==Ye(e)&&function(t){const e=new Set;!function n(r){const o=Ye(r,!0),s=o.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${O(e)} vs ${O(e.name)}`)}(s,xr.get(s),r),xr.set(s,r));const i=Pt(o.imports);for(const a of i)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new Z0(this.moduleType,e)}}function ic(t){return e=>{setTimeout(t,void 0,e)}}const Kt=class extends es{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var o,s,i;let a=e,u=n||(()=>null),c=r;if(e&&"object"==typeof e){const d=e;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(s=d.error)||void 0===s?void 0:s.bind(d),c=null===(i=d.complete)||void 0===i?void 0:i.bind(d)}this.__isAsync&&(u=ic(u),a&&(a=ic(a)),c&&(c=ic(c)));const l=super.subscribe({next:a,error:u,complete:c});return e instanceof ee&&e.add(l),l}};Symbol;const di=new Q("Application Initializer");let Fr=(()=>{class t{constructor(n){this.appInits=n,this.resolve=Xs,this.reject=Xs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const s=this.appInits[o]();if(Ru(s))n.push(s);else if(op(s)){const i=new Promise((a,u)=>{s.subscribe({complete:a,error:u})});n.push(i)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(V(di,8))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const jo=new Q("AppId"),nM={provide:jo,useFactory:function(){return`${yc()}${yc()}${yc()}`},deps:[]};function yc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Bm=new Q("Platform Initializer"),_c=new Q("Platform ID"),rM=new Q("appBootstrapListener");let Dc=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const fn=new Q("LocaleId"),Hm=new Q("DefaultCurrencyCode");class sM{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}const Cc=function(t){return new sc(t)},iM=Cc,aM=function(t){return Promise.resolve(Cc(t))},$m=function(t){const e=Cc(t),r=Pt(Ye(t).declarations).reduce((o,s)=>{const i=Se(s);return i&&o.push(new lm(i)),o},[]);return new sM(e,r)},uM=$m,cM=function(t){return Promise.resolve($m(t))};let hi=(()=>{class t{constructor(){this.compileModuleSync=iM,this.compileModuleAsync=aM,this.compileModuleAndAllComponentsSync=uM,this.compileModuleAndAllComponentsAsync=cM}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const fM=(()=>Promise.resolve(0))();function Ec(t){"undefined"==typeof Zone?fM.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class De{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kt(!1),this.onMicrotaskEmpty=new Kt(!1),this.onStable=new Kt(!1),this.onError=new Kt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let t=U.requestAnimationFrame,e=U.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=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(U,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,wc(t),t.isCheckStableRunning=!0,bc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),wc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{try{return Um(t),n.invokeTask(o,s,i,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),Wm(t)}},onInvoke:(n,r,o,s,i,a,u)=>{try{return Um(t),n.invoke(o,s,i,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Wm(t)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,wc(t),bc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(De.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,e,pM,Xs,Xs);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const pM={};function bc(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 wc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Um(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Wm(t){t._nesting--,bc(t)}class yM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kt,this.onMicrotaskEmpty=new Kt,this.onStable=new Kt,this.onError=new Kt}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}}let vc=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{De.assertNotInAngularZone(),Ec(()=>{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())Ec(()=>{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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.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,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return t.\u0275fac=function(n){return new(n||t)(V(De))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),Gm=(()=>{class t{constructor(){this._applications=new Map,Ic.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ic.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class _M{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let Ic=new _M,qm=!0,Qm=!1;let bt;const Km=new Q("AllowMultipleToken");function Ym(t,e,n=[]){const r=`Platform: ${e}`,o=new Q(r);return(s=[])=>{let i=Zm();if(!i||i.injector.get(Km,!1))if(t)t(n.concat(s).concat({provide:o,useValue:!0}));else{const a=n.concat(s).concat({provide:o,useValue:!0},{provide:mo,useValue:"platform"});!function(t){if(bt&&!bt.destroyed&&!bt.injector.get(Km,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");bt=t.get(Jm);const e=t.get(Bm,null);e&&e.forEach(n=>n())}(Y.create({providers:a,name:r}))}return function(t){const e=Zm();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}(o)}}function Zm(){return bt&&!bt.destroyed?bt:null}let Jm=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(t,e){let n;return n="noop"===t?new yM:("zone.js"===t?void 0:t)||new De({enableLongStackTrace:(Qm=!0,qm),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:De,useValue:a}];return a.run(()=>{const c=Y.create({providers:u,parent:this.injector,name:n.moduleType.name}),l=n.create(c),d=l.injector.get(Sn,null);if(!d)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});l.onDestroy(()=>{Tc(this._modules,l),f.unsubscribe()})}),function(t,e,n){try{const r=n();return Ru(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=l.injector.get(Fr);return f.runInitializers(),f.donePromise.then(()=>(Lu(l.injector.get(fn,zs)||zs),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=Xm({},r);return function(t,e,n){const r=new sc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(Pr);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${O(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(V(Y))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();function Xm(t,e){return Array.isArray(e)?e.reduce(Xm,t):Object.assign(Object.assign({},t),e)}let Pr=(()=>{class t{constructor(n,r,o,s,i){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new ye(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),u=new ye(c=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{De.assertNotInAngularZone(),Ec(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{De.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});this.isStable=kl(a,u.pipe(t=>Ll()(function(t,e){return function(r){let o;o="function"==typeof t?t:function(){return t};const s=Object.create(r,v_);return s.source=r,s.subjectFactory=o,s}}(A_)(t))))}bootstrap(n,r){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 o;o=n instanceof Mg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const s=function(t){return t.isBoundToModule}(o)?void 0:this._injector.get(Rn),a=o.create(Y.NULL,[],r||o.selector,s),u=a.location.nativeElement,c=a.injector.get(vc,null),l=c&&a.injector.get(Gm);return c&&l&&l.registerApplication(u,c),a.onDestroy(()=>{this.detachView(a.hostView),Tc(this.components,a),l&&l.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Tc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(rM,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(V(De),V(Y),V(Sn),V(ln),V(Fr))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();function Tc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const GM=Ym(null,"core",[{provide:_c,useValue:"unknown"},{provide:Jm,deps:[Y]},{provide:Gm,deps:[]},{provide:Dc,deps:[]}]),YM=[{provide:Pr,useClass:Pr,deps:[De,Y,Sn,ln,Fr]},{provide:G0,deps:[De],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(n){e.push(n)}}},{provide:Fr,useClass:Fr,deps:[[new xt,di]]},{provide:hi,useClass:hi,deps:[]},nM,{provide:To,useFactory:function(){return VI},deps:[]},{provide:Tr,useFactory:function(){return jI},deps:[]},{provide:fn,useFactory:function(t){return Lu(t=t||"undefined"!=typeof $localize&&$localize.locale||zs),t},deps:[[new so(fn),new xt,new Tn]]},{provide:Hm,useValue:"USD"}];let JM=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(V(Pr))},t.\u0275mod=Wr({type:t}),t.\u0275inj=yn({providers:YM}),t})(),wi=null;function Wo(){return wi}const Oe=new Q("DocumentToken");var ce=(()=>((ce=ce||{})[ce.Zero=0]="Zero",ce[ce.One=1]="One",ce[ce.Two=2]="Two",ce[ce.Few=3]="Few",ce[ce.Many=4]="Many",ce[ce.Other=5]="Other",ce))();const iA=function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=tg(e);if(n)return n;const r=e.split("-")[0];if(n=tg(r),n)return n;if("en"===r)return gv;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[E.PluralCase]};class Fi{}let OA=(()=>{class t extends Fi{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(iA(r||this.locale)(n)){case ce.Zero:return"zero";case ce.One:return"one";case ce.Two:return"two";case ce.Few:return"few";case ce.Many:return"many";default:return"other"}}}return t.\u0275fac=function(n){return new(n||t)(V(fn))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),gN=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Wr({type:t}),t.\u0275inj=yn({providers:[{provide:Fi,useClass:OA}]}),t})();class Xc extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(t){wi||(wi=t)}(new Xc)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=(Qo=Qo||document.querySelector("base"),Qo?Qo.getAttribute("href"):null);return null==n?null:function(t){Pi=Pi||document.createElement("a"),Pi.setAttribute("href",t);const e=Pi.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Pi,Qo=null;const Uy=new Q("TRANSITION_ID"),IN=[{provide:di,useFactory:function(t,e,n){return()=>{n.get(Fr).donePromise.then(()=>{const r=Wo(),o=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s<o.length;s++)r.remove(o[s])})}},deps:[Uy,Oe,Y],multi:!0}];class el{static init(){!function(t){Ic=t}(new el)}addToWindow(e){U.getAngularTestability=(r,o=!0)=>{const s=e.findTestabilityInTree(r,o);if(null==s)throw new Error("Could not find testability for element.");return s},U.getAllAngularTestabilities=()=>e.getAllTestabilities(),U.getAllAngularRootElements=()=>e.getAllRootElements(),U.frameworkStabilizers||(U.frameworkStabilizers=[]),U.frameworkStabilizers.push(r=>{const o=U.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(u){i=i||u,s--,0==s&&r(i)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const o=e.getTestability(n);return null!=o?o:r?Wo().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let TN=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const zo=new Q("EventManagerPlugins");let ki=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let s=0;s<o.length;s++){const i=o[s];if(i.supports(n))return this._eventNameToPlugin.set(n,i),i}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(V(zo),V(De))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class tl{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const o=Wo().getGlobalEventTarget(this._doc,e);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Gy=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),Ko=(()=>{class t extends Gy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,o.push(r.appendChild(i))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(qy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(qy))}}return t.\u0275fac=function(n){return new(n||t)(V(Oe))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();function qy(t){Wo().remove(t)}const nl={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/"},rl=/%COMP%/g;function Li(t,e,n){for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?Li(t,o,n):(o=o.replace(rl,t),n.push(o))}return n}function Ky(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let ol=(()=>{class t{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new sl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case de.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new HN(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case de.ShadowDom:return new $N(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Li(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(V(ki),V(Ko),V(jo))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class sl{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,n){return n?document.createElementNS(nl[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;const s=nl[o];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const o=nl[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(qe.DashCase|qe.Important)?e.style.setProperty(n,r,o&qe.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&qe.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,Ky(r)):this.eventManager.addEventListener(e,n,Ky(r))}}class HN extends sl{constructor(e,n,r,o){super(e),this.component=r;const s=Li(o+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(rl,t)}(o+"-"+r.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(rl,t)}(o+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class $N extends sl{constructor(e,n,r,o){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Li(o.id,o.styles,[]);for(let i=0;i<s.length;i++){const a=document.createElement("style");a.textContent=s[i],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let UN=(()=>{class t extends tl{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return t.\u0275fac=function(n){return new(n||t)(V(Oe))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const Jy=["alt","control","meta","shift"],YN={"\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"},Xy={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"},ZN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let JN=(()=>{class t extends tl{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,o){const s=t.parseEventName(r),i=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wo().onAndCancel(n,s.domEventName,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(r.pop());let i="";if(Jy.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),i+=u+".")}),i+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=o,a.fullKey=i,a}static getEventFullKey(n){let r="",o=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&&Xy.hasOwnProperty(e)&&(e=Xy[e]))}return YN[e]||e}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Jy.forEach(s=>{s!=o&&ZN[s](n)&&(r+=s+".")}),r+=o,r}static eventCallback(n,r,o){return s=>{t.getEventFullKey(s)===n&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}}return t.\u0275fac=function(n){return new(n||t)(V(Oe))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const ix=Ym(GM,"browser",[{provide:_c,useValue:"browser"},{provide:Bm,useValue:function(){Xc.makeCurrent(),el.init()},multi:!0},{provide:Oe,useFactory:function(){return function(t){oa=t}(document),document},deps:[]}]),ax=[[],{provide:mo,useValue:"root"},{provide:Sn,useFactory:function(){return new Sn},deps:[]},{provide:zo,useClass:UN,multi:!0,deps:[Oe,De,_c]},{provide:zo,useClass:JN,multi:!0,deps:[Oe]},[],{provide:ol,useClass:ol,deps:[ki,Ko,jo]},{provide:ei,useExisting:ol},{provide:Gy,useExisting:Ko},{provide:Ko,useClass:Ko,deps:[Oe]},{provide:vc,useClass:vc,deps:[De]},{provide:ki,useClass:ki,deps:[zo,De]},{provide:class{},useClass:TN,deps:[]},[]];let ux=(()=>{class t{constructor(n){if(n)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(n){return{ngModule:t,providers:[{provide:jo,useValue:n.appId},{provide:Uy,useExisting:jo},IN]}}}return t.\u0275fac=function(n){return new(n||t)(V(t,12))},t.\u0275mod=Wr({type:t}),t.\u0275inj=yn({providers:ax,imports:[gN,JM]}),t})();"undefined"!=typeof window&&window;class mx extends ee{constructor(e,n){super()}schedule(e,n=0){return this}}class yx extends mx{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){if(this.closed)return this;this.state=e;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=this.id||this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let o,r=!1;try{this.work(e)}catch(s){r=!0,o=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),o}_unsubscribe(){const e=this.id,n=this.scheduler,r=n.actions,o=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&r.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null}}let t_=(()=>{class t{constructor(n,r=t.now){this.SchedulerAction=n,this.now=r}schedule(n,r=0,o){return new this.SchedulerAction(this,n).schedule(o,r)}}return t.now=()=>Date.now(),t})();class gn extends t_{constructor(e,n=t_.now){super(e,()=>gn.delegate&&gn.delegate!==this?gn.delegate.now():n()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,n=0,r){return gn.delegate&&gn.delegate!==this?gn.delegate.schedule(e,n,r):super.schedule(e,n,r)}flush(e){const{actions:n}=this;if(this.active)return void n.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}}const Cx=new class extends gn{}(class extends yx{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}schedule(e,n=0){return n>0?super.schedule(e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}execute(e,n){return n>0||this.closed?super.execute(e,n):this._execute(e,n)}requestAsyncId(e,n,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,n,r):e.flush(this)}}),Ex=new ye(t=>t.complete());class at{constructor(e,n,r){this.kind=e,this.value=n,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,n,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return r&&r()}}accept(e,n,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,n,r)}toObservable(){switch(this.kind){case"N":return function(...t){let e=t[t.length-1];return Il(e)?(t.pop(),$i(t,e)):Ol(t)}(this.value);case"E":return function(t,e){return new ye(n=>n.error(t))}(this.error);case"C":return function(t){return t?function(t){return new ye(e=>t.schedule(()=>e.complete()))}(t):Ex}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new at("N",e):at.undefinedValueNotification}static createError(e){return new at("E",void 0,e)}static createComplete(){return at.completeNotification}}at.completeNotification=new at("C"),at.undefinedValueNotification=new at("N",void 0);class Vi extends ke{constructor(e,n,r=0){super(e),this.scheduler=n,this.delay=r}static dispatch(e){const{notification:n,destination:r}=e;n.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Vi.dispatch,this.delay,new Sx(e,this.destination)))}_next(e){this.scheduleMessage(at.createNext(e))}_error(e){this.scheduleMessage(at.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(at.createComplete()),this.unsubscribe()}}class Sx{constructor(e,n){this.notification=e,this.destination=n}}class Ax extends es{constructor(e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Nx(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=r.length;let i;if(this.closed)throw new Vn;if(this.isStopped||this.hasError?i=ee.EMPTY:(this.observers.push(e),i=new bl(this,e)),o&&e.add(e=new Vi(e,o)),n)for(let a=0;a<s&&!e.closed;a++)e.next(r[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(r[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),i}_getNow(){return(this.scheduler||Cx).now()}_trimBufferThenGetEvents(){const e=this._getNow(),n=this._bufferSize,r=this._windowTime,o=this._events,s=o.length;let i=0;for(;i<s&&!(e-o[i].time<r);)i++;return s>n&&(i=Math.max(i,s-n)),i>0&&o.splice(0,i),o}}class Nx{constructor(e,n){this.time=e,this.value=n}}function n_(t,e){return"function"==typeof e?n=>n.pipe(n_((r,o)=>Nl(t(r,o)).pipe(Hi((s,i)=>e(r,s,o,i))))):n=>n.lift(new xx(t))}class xx{constructor(e){this.project=e}call(e,n){return n.subscribe(new Rx(e,this.project))}}class Rx extends Rl{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new xl(this),o=this.destination;o.add(r),this.innerSubscription=Fl(e,r),this.innerSubscription!==r&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const ji={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return ji.schedule(t,0);if(void 0===window.requestAnimationFrame)return ji.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let ll;function $x(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((o,s)=>!("*"===o||!function(t,e){if(!ll){const n=Element.prototype;ll=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&ll.call(t,e)}(t,o)||(r=s,0))),r}class Wx{constructor(e,n){this.componentFactory=n.get(ln).resolveComponentFactory(e)}create(e){return new Gx(this.componentFactory,e)}}class Gx{constructor(e,n){this.componentFactory=e,this.injector=n,this.eventEmitters=new Ax(1),this.events=this.eventEmitters.pipe(n_(r=>kl(...r))),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:r})=>r)),this.ngZone=this.injector.get(De),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ji.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,n){this.runInZone(()=>{null!==this.componentRef?function(t,e){return t===e||t!=t&&e!=e}(n,this.getInputValue(e))&&(void 0!==n||!this.unchangedInputs.has(e))||(this.recordInputChange(e,n),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=n,this.scheduleDetectChanges()):this.initialInputValues.set(e,n)})}initializeComponent(e){const n=Y.create({providers:[],parent:this.injector}),r=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let o=-1;e.some((s,i)=>"*"===s&&(o=i,!0));for(let s=0,i=n.length;s<i;++s){const a=n[s],u=$x(a,e,o);-1!==u&&r[u].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(jg),this.implementsOnChanges=function(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Pr).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>e.instance[r].pipe(Hi(i=>({name:o,value:i}))));this.eventEmitters.next(n)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(n)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ji.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(e),s=o?void 0:this.getInputValue(e);this.inputChanges[e]=new na(s,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class qx extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let zx=(()=>{class t{constructor(){this.title="angular-web-component"}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Zi({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(n,r){1&n&&(Nu(0,"h1"),Fp(1," This is my web component"),xu())},styles:[""]}),t})(),Kx=(()=>{class t{constructor(n){const r=function(t,e){const n=function(t,e){return e.get(ln).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new Wx(t,e.injector),o=function(t){const e={};return t.forEach(({propName:n,templateName:r})=>{e[function(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=n}),e}(n);class s extends qx{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const c=this[u];delete this[u],a.setInputValue(u,c)})}return this._ngElementStrategy}attributeChangedCallback(a,u,c,l){this.ngElementStrategy.setInputValue(o[a],c)}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 u=function(t,e,n){if("function"!=typeof CustomEvent){const s=t.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,n),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,a.name,a.value);this.dispatchEvent(u)})}}return s.observedAttributes=Object.keys(o),n.forEach(({propName:i})=>{Object.defineProperty(s.prototype,i,{get(){return this.ngElementStrategy.getInputValue(i)},set(a){this.ngElementStrategy.setInputValue(i,a)},configurable:!0,enumerable:!0})}),s}(zx,{injector:n});customElements.define("my-element",r)}ngDoBootstrap(){}}return t.\u0275fac=function(n){return new(n||t)(V(Y))},t.\u0275mod=Wr({type:t}),t.\u0275inj=yn({providers:[],imports:[[ux]]}),t})();(function(){if(Qm)throw new Error("Cannot enable prod mode after platform setup.");qm=!1})(),ix().bootstrapModule(Kx).catch(t=>console.error(t))}},Br=>{Br(Br.s=238)}]);

Back to list