io-player
Version:
IoPlayer - Audio Player web component
1 lines • 226 kB
JavaScript
var HN=Object.defineProperty,$N=Object.defineProperties,UN=Object.getOwnPropertyDescriptors,AE=Object.getOwnPropertySymbols,GN=Object.prototype.hasOwnProperty,WN=Object.prototype.propertyIsEnumerable,RE=(b,F,h)=>F in b?HN(b,F,{enumerable:!0,configurable:!0,writable:!0,value:h}):b[F]=h,Fr=(b,F)=>{for(var h in F||(F={}))GN.call(F,h)&&RE(b,h,F[h]);if(AE)for(var h of AE(F))WN.call(F,h)&&RE(b,h,F[h]);return b},OE=(b,F)=>$N(b,UN(F));(self.webpackChunkio_player=self.webpackChunkio_player||[]).push([[179],{3581:()=>{(function(){"use strict";var b=window.Document.prototype.createElement,F=window.Document.prototype.createElementNS,h=window.Document.prototype.importNode,C=window.Document.prototype.prepend,T=window.Document.prototype.append,S=window.DocumentFragment.prototype.prepend,P=window.DocumentFragment.prototype.append,x=window.Node.prototype.cloneNode,O=window.Node.prototype.appendChild,U=window.Node.prototype.insertBefore,j=window.Node.prototype.removeChild,H=window.Node.prototype.replaceChild,L=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ae=window.Element.prototype.attachShadow,ie=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Z=window.Element.prototype.getAttribute,me=window.Element.prototype.setAttribute,he=window.Element.prototype.removeAttribute,K=window.Element.prototype.getAttributeNS,ge=window.Element.prototype.setAttributeNS,le=window.Element.prototype.removeAttributeNS,pe=window.Element.prototype.insertAdjacentElement,J=window.Element.prototype.insertAdjacentHTML,oe=window.Element.prototype.prepend,se=window.Element.prototype.append,Ie=window.Element.prototype.before,yt=window.Element.prototype.after,Tt=window.Element.prototype.replaceWith,xt=window.Element.prototype.remove,sn=window.HTMLElement,kt=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Pn=window.HTMLElement.prototype.insertAdjacentElement,tt=window.HTMLElement.prototype.insertAdjacentHTML,ot=new Set;function lt(m){var D=ot.has(m);return m=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(m),!D&&m}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(m){return ot.add(m)});var vt=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Fe(m){var D=m.isConnected;if(void 0!==D)return D;if(vt(m))return!0;for(;m&&!(m.__CE_isImportDocument||m instanceof Document);)m=m.parentNode||(window.ShadowRoot&&m instanceof ShadowRoot?m.host:void 0);return!(!m||!(m.__CE_isImportDocument||m instanceof Document))}function Jn(m){var D=m.children;if(D)return Array.prototype.slice.call(D);for(D=[],m=m.firstChild;m;m=m.nextSibling)m.nodeType===Node.ELEMENT_NODE&&D.push(m);return D}function kr(m,D){for(;D&&D!==m&&!D.nextSibling;)D=D.parentNode;return D&&D!==m?D.nextSibling:null}function Dr(m,D,M){for(var $=m;$;){if($.nodeType===Node.ELEMENT_NODE){var I=$;D(I);var B=I.localName;if("link"===B&&"import"===I.getAttribute("rel")){if($=I.import,void 0===M&&(M=new Set),$ instanceof Node&&!M.has($))for(M.add($),$=$.firstChild;$;$=$.nextSibling)Dr($,D,M);$=kr(m,I);continue}if("template"===B){$=kr(m,I);continue}if(I=I.__CE_shadowRoot)for(I=I.firstChild;I;I=I.nextSibling)Dr(I,D,M)}$=$.firstChild?$.firstChild:kr(m,$)}}function po(){var m=!(null==Tn||!Tn.noDocumentConstructionObserver),D=!(null==Tn||!Tn.shadyDomFastWalk);this.m=[],this.g=[],this.j=!1,this.shadyDomFastWalk=D,this.I=!m}function bn(m,D,M,$){var I=window.ShadyDOM;if(m.shadyDomFastWalk&&I&&I.inUse){if(D.nodeType===Node.ELEMENT_NODE&&M(D),D.querySelectorAll)for(m=I.nativeMethods.querySelectorAll.call(D,"*"),D=0;D<m.length;D++)M(m[D])}else Dr(D,M,$)}function Lr(m,D){m.j&&bn(m,D,function(M){return Vn(m,M)})}function Vn(m,D){if(m.j&&!D.__CE_patched){D.__CE_patched=!0;for(var M=0;M<m.m.length;M++)m.m[M](D);for(M=0;M<m.g.length;M++)m.g[M](D)}}function an(m,D){var M=[];for(bn(m,D,function(I){return M.push(I)}),D=0;D<M.length;D++){var $=M[D];1===$.__CE_state?m.connectedCallback($):Vr(m,$)}}function Jt(m,D){var M=[];for(bn(m,D,function(I){return M.push(I)}),D=0;D<M.length;D++){var $=M[D];1===$.__CE_state&&m.disconnectedCallback($)}}function gn(m,D,M){var $=(M=void 0===M?{}:M).J,I=M.upgrade||function(X){return Vr(m,X)},B=[];for(bn(m,D,function(X){if(m.j&&Vn(m,X),"link"===X.localName&&"import"===X.getAttribute("rel")){var ne=X.import;ne instanceof Node&&(ne.__CE_isImportDocument=!0,ne.__CE_registry=document.__CE_registry),ne&&"complete"===ne.readyState?ne.__CE_documentLoadHandled=!0:X.addEventListener("load",function(){var p=X.import;if(!p.__CE_documentLoadHandled){p.__CE_documentLoadHandled=!0;var _=new Set;$&&($.forEach(function(N){return _.add(N)}),_.delete(p)),gn(m,p,{J:_,upgrade:I})}})}else B.push(X)},$),D=0;D<B.length;D++)I(B[D])}function Vr(m,D){try{var M=D.ownerDocument,$=M.__CE_registry,I=$&&(M.defaultView||M.__CE_isImportDocument)?Br($,D.localName):void 0;if(I&&void 0===D.__CE_state){I.constructionStack.push(D);try{try{if(new I.constructorFunction!==D)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{I.constructionStack.pop()}}catch(p){throw D.__CE_state=2,p}if(D.__CE_state=1,D.__CE_definition=I,I.attributeChangedCallback&&D.hasAttributes()){var B=I.observedAttributes;for(I=0;I<B.length;I++){var X=B[I],ne=D.getAttribute(X);null!==ne&&m.attributeChangedCallback(D,X,null,ne,null)}}Fe(D)&&m.connectedCallback(D)}}catch(p){vr(p)}}function Lo(m,D,M,$){var I=D.__CE_registry;if(I&&(null===$||"http://www.w3.org/1999/xhtml"===$)&&(I=Br(I,M)))try{var B=new I.constructorFunction;if(void 0===B.__CE_state||void 0===B.__CE_definition)throw Error("Failed to construct '"+M+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==B.namespaceURI)throw Error("Failed to construct '"+M+"': The constructed element's namespace must be the HTML namespace.");if(B.hasAttributes())throw Error("Failed to construct '"+M+"': The constructed element must not have any attributes.");if(null!==B.firstChild)throw Error("Failed to construct '"+M+"': The constructed element must not have any children.");if(null!==B.parentNode)throw Error("Failed to construct '"+M+"': The constructed element must not have a parent node.");if(B.ownerDocument!==D)throw Error("Failed to construct '"+M+"': The constructed element's owner document is incorrect.");if(B.localName!==M)throw Error("Failed to construct '"+M+"': The constructed element's local name is incorrect.");return B}catch(X){return vr(X),D=null===$?b.call(D,M):F.call(D,$,M),Object.setPrototypeOf(D,HTMLUnknownElement.prototype),D.__CE_state=2,D.__CE_definition=void 0,Vn(m,D),D}return Vn(m,D=null===$?b.call(D,M):F.call(D,$,M)),D}function vr(m){var D=m.message,M=m.sourceURL||m.fileName||"",$=m.line||m.lineNumber||0,B=void 0;void 0===ErrorEvent.prototype.initErrorEvent?B=new ErrorEvent("error",{cancelable:!0,message:D,filename:M,lineno:$,colno:m.column||m.columnNumber||0,error:m}):((B=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,D,M,$),B.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===B.error&&Object.defineProperty(B,"error",{configurable:!0,enumerable:!0,get:function(){return m}}),window.dispatchEvent(B),B.defaultPrevented||console.error(m)}function Vo(){var m=this;this.g=void 0,this.F=new Promise(function(D){m.l=D})}function qr(m){var D=document;this.l=void 0,this.h=m,this.g=D,gn(this.h,this.g),"loading"===this.g.readyState&&(this.l=new MutationObserver(this.G.bind(this)),this.l.observe(this.g,{childList:!0,subtree:!0}))}function jr(m){m.l&&m.l.disconnect()}function St(m){this.s=new Map,this.u=new Map,this.C=new Map,this.A=!1,this.B=new Map,this.o=function(D){return D()},this.i=!1,this.v=[],this.h=m,this.D=m.I?new qr(m):void 0}function go(m,D){if(!lt(D))throw new SyntaxError("The element name '"+D+"' is not valid.");if(Br(m,D))throw Error("A custom element with name '"+D+"' has already been defined.");if(m.A)throw Error("A custom element is already being defined.")}function zs(m,D,M){var $;m.A=!0;try{var I=M.prototype;if(!(I instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var B=function(N){var v=I[N];if(void 0!==v&&!(v instanceof Function))throw Error("The '"+N+"' callback must be a function.");return v},X=B("connectedCallback"),ne=B("disconnectedCallback"),p=B("adoptedCallback"),_=($=B("attributeChangedCallback"))&&M.observedAttributes||[]}catch(N){throw N}finally{m.A=!1}return m.u.set(D,M={localName:D,constructorFunction:M,connectedCallback:X,disconnectedCallback:ne,adoptedCallback:p,attributeChangedCallback:$,observedAttributes:_,constructionStack:[]}),m.C.set(M.constructorFunction,M),M}function mo(m){if(!1!==m.i){m.i=!1;for(var D=[],M=m.v,$=new Map,I=0;I<M.length;I++)$.set(M[I],[]);for(gn(m.h,document,{upgrade:function(p){if(void 0===p.__CE_state){var _=p.localName,N=$.get(_);N?N.push(p):m.u.has(_)&&D.push(p)}}}),I=0;I<D.length;I++)Vr(m.h,D[I]);for(I=0;I<M.length;I++){for(var B=M[I],X=$.get(B),ne=0;ne<X.length;ne++)Vr(m.h,X[ne]);(B=m.B.get(B))&&B.resolve(void 0)}M.length=0}}function Br(m,D){var M=m.u.get(D);if(M)return M;if(M=m.s.get(D)){m.s.delete(D);try{return zs(m,D,M())}catch($){vr($)}}}function yo(m,D,M){function $(I){return function(B){for(var X=[],ne=0;ne<arguments.length;++ne)X[ne]=arguments[ne];ne=[];for(var p=[],_=0;_<X.length;_++){var N=X[_];if(N instanceof Element&&Fe(N)&&p.push(N),N instanceof DocumentFragment)for(N=N.firstChild;N;N=N.nextSibling)ne.push(N);else ne.push(N)}for(I.apply(this,X),X=0;X<p.length;X++)Jt(m,p[X]);if(Fe(this))for(X=0;X<ne.length;X++)(p=ne[X])instanceof Element&&an(m,p)}}void 0!==M.prepend&&(D.prepend=$(M.prepend)),void 0!==M.append&&(D.append=$(M.append))}po.prototype.connectedCallback=function(m){var D=m.__CE_definition;if(D.connectedCallback)try{D.connectedCallback.call(m)}catch(M){vr(M)}},po.prototype.disconnectedCallback=function(m){var D=m.__CE_definition;if(D.disconnectedCallback)try{D.disconnectedCallback.call(m)}catch(M){vr(M)}},po.prototype.attributeChangedCallback=function(m,D,M,$,I){var B=m.__CE_definition;if(B.attributeChangedCallback&&-1<B.observedAttributes.indexOf(D))try{B.attributeChangedCallback.call(m,D,M,$,I)}catch(X){vr(X)}},Vo.prototype.resolve=function(m){if(this.g)throw Error("Already resolved.");this.g=m,this.l(m)},qr.prototype.G=function(m){var D=this.g.readyState;for("interactive"!==D&&"complete"!==D||jr(this),D=0;D<m.length;D++)for(var M=m[D].addedNodes,$=0;$<M.length;$++)gn(this.h,M[$])},St.prototype.H=function(m,D){var M=this;if(!(D instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");go(this,m),this.s.set(m,D),this.v.push(m),this.i||(this.i=!0,this.o(function(){return mo(M)}))},St.prototype.define=function(m,D){var M=this;if(!(D instanceof Function))throw new TypeError("Custom element constructors must be functions.");go(this,m),zs(this,m,D),this.v.push(m),this.i||(this.i=!0,this.o(function(){return mo(M)}))},St.prototype.upgrade=function(m){gn(this.h,m)},St.prototype.get=function(m){if(m=Br(this,m))return m.constructorFunction},St.prototype.whenDefined=function(m){if(!lt(m))return Promise.reject(new SyntaxError("'"+m+"' is not a valid custom element name."));var D=this.B.get(m);if(D)return D.F;D=new Vo,this.B.set(m,D);var M=this.u.has(m)||this.s.has(m);return m=-1===this.v.indexOf(m),M&&m&&D.resolve(void 0),D.F},St.prototype.polyfillWrapFlushCallback=function(m){this.D&&jr(this.D);var D=this.o;this.o=function(M){return m(function(){return D(M)})}},window.CustomElementRegistry=St,St.prototype.define=St.prototype.define,St.prototype.upgrade=St.prototype.upgrade,St.prototype.get=St.prototype.get,St.prototype.whenDefined=St.prototype.whenDefined,St.prototype.polyfillDefineLazy=St.prototype.H,St.prototype.polyfillWrapFlushCallback=St.prototype.polyfillWrapFlushCallback;var Xr={},Tn=window.customElements;function tr(){var m=new po;(function(m){function D(){var M=this.constructor,$=document.__CE_registry.C.get(M);if(!$)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var I=$.constructionStack;if(0===I.length)return I=b.call(document,$.localName),Object.setPrototypeOf(I,M.prototype),I.__CE_state=1,I.__CE_definition=$,Vn(m,I),I;var B=I.length-1,X=I[B];if(X===Xr)throw Error("Failed to construct '"+$.localName+"': This element was already constructed.");return I[B]=Xr,Object.setPrototypeOf(X,M.prototype),Vn(m,X),X}D.prototype=sn.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:D}),window.HTMLElement=D})(m),function(m){Document.prototype.createElement=function(D){return Lo(m,this,D,null)},Document.prototype.importNode=function(D,M){return D=h.call(this,D,!!M),this.__CE_registry?gn(m,D):Lr(m,D),D},Document.prototype.createElementNS=function(D,M){return Lo(m,this,M,D)},yo(m,Document.prototype,{prepend:C,append:T})}(m),yo(m,DocumentFragment.prototype,{prepend:S,append:P}),function(m){function D(M,$){Object.defineProperty(M,"textContent",{enumerable:$.enumerable,configurable:!0,get:$.get,set:function(I){if(this.nodeType===Node.TEXT_NODE)$.set.call(this,I);else{var B=void 0;if(this.firstChild){var X=this.childNodes,ne=X.length;if(0<ne&&Fe(this)){B=Array(ne);for(var p=0;p<ne;p++)B[p]=X[p]}}if($.set.call(this,I),B)for(I=0;I<B.length;I++)Jt(m,B[I])}}})}Node.prototype.insertBefore=function(M,$){if(M instanceof DocumentFragment){var I=Jn(M);if(M=U.call(this,M,$),Fe(this))for($=0;$<I.length;$++)an(m,I[$]);return M}return I=M instanceof Element&&Fe(M),$=U.call(this,M,$),I&&Jt(m,M),Fe(this)&&an(m,M),$},Node.prototype.appendChild=function(M){if(M instanceof DocumentFragment){var $=Jn(M);if(M=O.call(this,M),Fe(this))for(var I=0;I<$.length;I++)an(m,$[I]);return M}return $=M instanceof Element&&Fe(M),I=O.call(this,M),$&&Jt(m,M),Fe(this)&&an(m,M),I},Node.prototype.cloneNode=function(M){return M=x.call(this,!!M),this.ownerDocument.__CE_registry?gn(m,M):Lr(m,M),M},Node.prototype.removeChild=function(M){var $=M instanceof Element&&Fe(M),I=j.call(this,M);return $&&Jt(m,M),I},Node.prototype.replaceChild=function(M,$){if(M instanceof DocumentFragment){var I=Jn(M);if(M=H.call(this,M,$),Fe(this))for(Jt(m,$),$=0;$<I.length;$++)an(m,I[$]);return M}I=M instanceof Element&&Fe(M);var B=H.call(this,M,$),X=Fe(this);return X&&Jt(m,$),I&&Jt(m,M),X&&an(m,M),B},L&&L.get?D(Node.prototype,L):function(m,D){m.j=!0,m.m.push(D)}(m,function(M){D(M,{enumerable:!0,configurable:!0,get:function(){for(var $=[],I=this.firstChild;I;I=I.nextSibling)I.nodeType!==Node.COMMENT_NODE&&$.push(I.textContent);return $.join("")},set:function($){for(;this.firstChild;)j.call(this,this.firstChild);null!=$&&""!==$&&O.call(this,document.createTextNode($))}})})}(m),function(m){function D(I,B){Object.defineProperty(I,"innerHTML",{enumerable:B.enumerable,configurable:!0,get:B.get,set:function(X){var ne=this,p=void 0;if(Fe(this)&&(p=[],bn(m,this,function(v){v!==ne&&p.push(v)})),B.set.call(this,X),p)for(var _=0;_<p.length;_++){var N=p[_];1===N.__CE_state&&m.disconnectedCallback(N)}return this.ownerDocument.__CE_registry?gn(m,this):Lr(m,this),X}})}function M(I,B){I.insertAdjacentElement=function(X,ne){var p=Fe(ne);return X=B.call(this,X,ne),p&&Jt(m,ne),Fe(X)&&an(m,ne),X}}function $(I,B){function X(ne,p){for(var _=[];ne!==p;ne=ne.nextSibling)_.push(ne);for(p=0;p<_.length;p++)gn(m,_[p])}I.insertAdjacentHTML=function(ne,p){if("beforebegin"===(ne=ne.toLowerCase())){var _=this.previousSibling;B.call(this,ne,p),X(_||this.parentNode.firstChild,this)}else if("afterbegin"===ne)_=this.firstChild,B.call(this,ne,p),X(this.firstChild,_);else if("beforeend"===ne)_=this.lastChild,B.call(this,ne,p),X(_||this.firstChild,null);else{if("afterend"!==ne)throw new SyntaxError("The value provided ("+String(ne)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");_=this.nextSibling,B.call(this,ne,p),X(this.nextSibling,_)}}}ae&&(Element.prototype.attachShadow=function(I){if(I=ae.call(this,I),m.j&&!I.__CE_patched){I.__CE_patched=!0;for(var B=0;B<m.m.length;B++)m.m[B](I)}return this.__CE_shadowRoot=I}),ie&&ie.get?D(Element.prototype,ie):kt&&kt.get?D(HTMLElement.prototype,kt):function(m,D){m.j=!0,m.g.push(D)}(m,function(I){D(I,{enumerable:!0,configurable:!0,get:function(){return x.call(this,!0).innerHTML},set:function(B){var X="template"===this.localName,ne=X?this.content:this,p=F.call(document,this.namespaceURI,this.localName);for(p.innerHTML=B;0<ne.childNodes.length;)j.call(ne,ne.childNodes[0]);for(B=X?p.content:p;0<B.childNodes.length;)O.call(ne,B.childNodes[0])}})}),Element.prototype.setAttribute=function(I,B){if(1!==this.__CE_state)return me.call(this,I,B);var X=Z.call(this,I);me.call(this,I,B),B=Z.call(this,I),m.attributeChangedCallback(this,I,X,B,null)},Element.prototype.setAttributeNS=function(I,B,X){if(1!==this.__CE_state)return ge.call(this,I,B,X);var ne=K.call(this,I,B);ge.call(this,I,B,X),X=K.call(this,I,B),m.attributeChangedCallback(this,B,ne,X,I)},Element.prototype.removeAttribute=function(I){if(1!==this.__CE_state)return he.call(this,I);var B=Z.call(this,I);he.call(this,I),null!==B&&m.attributeChangedCallback(this,I,B,null,null)},Element.prototype.removeAttributeNS=function(I,B){if(1!==this.__CE_state)return le.call(this,I,B);var X=K.call(this,I,B);le.call(this,I,B);var ne=K.call(this,I,B);X!==ne&&m.attributeChangedCallback(this,B,X,ne,I)},Pn?M(HTMLElement.prototype,Pn):pe&&M(Element.prototype,pe),tt?$(HTMLElement.prototype,tt):J&&$(Element.prototype,J),yo(m,Element.prototype,{prepend:oe,append:se}),function(m){function D($){return function(I){for(var B=[],X=0;X<arguments.length;++X)B[X]=arguments[X];X=[];for(var ne=[],p=0;p<B.length;p++){var _=B[p];if(_ instanceof Element&&Fe(_)&&ne.push(_),_ instanceof DocumentFragment)for(_=_.firstChild;_;_=_.nextSibling)X.push(_);else X.push(_)}for($.apply(this,B),B=0;B<ne.length;B++)Jt(m,ne[B]);if(Fe(this))for(B=0;B<X.length;B++)(ne=X[B])instanceof Element&&an(m,ne)}}var M=Element.prototype;void 0!==Ie&&(M.before=D(Ie)),void 0!==yt&&(M.after=D(yt)),void 0!==Tt&&(M.replaceWith=function($){for(var I=[],B=0;B<arguments.length;++B)I[B]=arguments[B];B=[];for(var X=[],ne=0;ne<I.length;ne++){var p=I[ne];if(p instanceof Element&&Fe(p)&&X.push(p),p instanceof DocumentFragment)for(p=p.firstChild;p;p=p.nextSibling)B.push(p);else B.push(p)}for(ne=Fe(this),Tt.apply(this,I),I=0;I<X.length;I++)Jt(m,X[I]);if(ne)for(Jt(m,this),I=0;I<B.length;I++)(X=B[I])instanceof Element&&an(m,X)}),void 0!==xt&&(M.remove=function(){var $=Fe(this);xt.call(this),$&&Jt(m,this)})}(m)}(m),m=new St(m),document.__CE_registry=m,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:m})}Tn&&!Tn.forcePolyfill&&"function"==typeof Tn.define&&"function"==typeof Tn.get||tr(),window.__CE_installPolyfill=tr}).call(self)},3548:()=>{"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const b=HTMLElement;window.HTMLElement=function(){return Reflect.construct(b,[],this.constructor)},HTMLElement.prototype=b.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,b)}()},8782:()=>{"use strict";!function(p){const _=p.performance;function N(et){_&&_.mark&&_.mark(et)}function v(et,ve){_&&_.measure&&_.measure(et,ve)}N("Zone");const W=p.__Zone_symbol_prefix||"__zone_symbol__";function te(et){return W+et}const de=!0===p[te("forceDuplicateZoneCheck")];if(p.Zone){if(de||"function"!=typeof p.Zone.__symbol__)throw new Error("Zone already loaded.");return p.Zone}let G=(()=>{class et{constructor(y,R){this._parent=y,this._name=R?R.name||"unnamed":"<root>",this._properties=R&&R.properties||{},this._zoneDelegate=new we(this,this._parent&&this._parent._zoneDelegate,R)}static assertZonePatched(){if(p.Promise!==on.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 y=et.current;for(;y.parent;)y=y.parent;return y}static get current(){return gt.zone}static get currentTask(){return Ct}static __load_patch(y,R,De=!1){if(on.hasOwnProperty(y)){if(!De&&de)throw Error("Already loaded patch: "+y)}else if(!p["__Zone_disable_"+y]){const Te="Zone:"+y;N(Te),on[y]=R(p,et,nr),v(Te,Te)}}get parent(){return this._parent}get name(){return this._name}get(y){const R=this.getZoneWith(y);if(R)return R._properties[y]}getZoneWith(y){let R=this;for(;R;){if(R._properties.hasOwnProperty(y))return R;R=R._parent}return null}fork(y){if(!y)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,y)}wrap(y,R){if("function"!=typeof y)throw new Error("Expecting function got: "+y);const De=this._zoneDelegate.intercept(this,y,R),Te=this;return function(){return Te.runGuarded(De,this,arguments,R)}}run(y,R,De,Te){gt={parent:gt,zone:this};try{return this._zoneDelegate.invoke(this,y,R,De,Te)}finally{gt=gt.parent}}runGuarded(y,R=null,De,Te){gt={parent:gt,zone:this};try{try{return this._zoneDelegate.invoke(this,y,R,De,Te)}catch($t){if(this._zoneDelegate.handleError(this,$t))throw $t}}finally{gt=gt.parent}}runTask(y,R,De){if(y.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(y.zone||$e).name+"; Execution: "+this.name+")");if(y.state===ft&&(y.type===je||y.type===nt))return;const Te=y.state!=pt;Te&&y._transitionTo(pt,qe),y.runCount++;const $t=Ct;Ct=y,gt={parent:gt,zone:this};try{y.type==nt&&y.data&&!y.data.isPeriodic&&(y.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,y,R,De)}catch(ee){if(this._zoneDelegate.handleError(this,ee))throw ee}}finally{y.state!==ft&&y.state!==Ht&&(y.type==je||y.data&&y.data.isPeriodic?Te&&y._transitionTo(qe,pt):(y.runCount=0,this._updateTaskCount(y,-1),Te&&y._transitionTo(ft,pt,ft))),gt=gt.parent,Ct=$t}}scheduleTask(y){if(y.zone&&y.zone!==this){let De=this;for(;De;){if(De===y.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${y.zone.name}`);De=De.parent}}y._transitionTo(At,ft);const R=[];y._zoneDelegates=R,y._zone=this;try{y=this._zoneDelegate.scheduleTask(this,y)}catch(De){throw y._transitionTo(Ht,At,ft),this._zoneDelegate.handleError(this,De),De}return y._zoneDelegates===R&&this._updateTaskCount(y,1),y.state==At&&y._transitionTo(qe,At),y}scheduleMicroTask(y,R,De,Te){return this.scheduleTask(new _e(Ne,y,R,De,Te,void 0))}scheduleMacroTask(y,R,De,Te,$t){return this.scheduleTask(new _e(nt,y,R,De,Te,$t))}scheduleEventTask(y,R,De,Te,$t){return this.scheduleTask(new _e(je,y,R,De,Te,$t))}cancelTask(y){if(y.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(y.zone||$e).name+"; Execution: "+this.name+")");y._transitionTo(at,qe,pt);try{this._zoneDelegate.cancelTask(this,y)}catch(R){throw y._transitionTo(Ht,at),this._zoneDelegate.handleError(this,R),R}return this._updateTaskCount(y,-1),y._transitionTo(ft,at),y.runCount=0,y}_updateTaskCount(y,R){const De=y._zoneDelegates;-1==R&&(y._zoneDelegates=null);for(let Te=0;Te<De.length;Te++)De[Te]._updateTaskCount(y.type,R)}}return et.__symbol__=te,et})();const Me={name:"",onHasTask:(et,ve,y,R)=>et.hasTask(y,R),onScheduleTask:(et,ve,y,R)=>et.scheduleTask(y,R),onInvokeTask:(et,ve,y,R,De,Te)=>et.invokeTask(y,R,De,Te),onCancelTask:(et,ve,y,R)=>et.cancelTask(y,R)};class we{constructor(ve,y,R){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=ve,this._parentDelegate=y,this._forkZS=R&&(R&&R.onFork?R:y._forkZS),this._forkDlgt=R&&(R.onFork?y:y._forkDlgt),this._forkCurrZone=R&&(R.onFork?this.zone:y._forkCurrZone),this._interceptZS=R&&(R.onIntercept?R:y._interceptZS),this._interceptDlgt=R&&(R.onIntercept?y:y._interceptDlgt),this._interceptCurrZone=R&&(R.onIntercept?this.zone:y._interceptCurrZone),this._invokeZS=R&&(R.onInvoke?R:y._invokeZS),this._invokeDlgt=R&&(R.onInvoke?y:y._invokeDlgt),this._invokeCurrZone=R&&(R.onInvoke?this.zone:y._invokeCurrZone),this._handleErrorZS=R&&(R.onHandleError?R:y._handleErrorZS),this._handleErrorDlgt=R&&(R.onHandleError?y:y._handleErrorDlgt),this._handleErrorCurrZone=R&&(R.onHandleError?this.zone:y._handleErrorCurrZone),this._scheduleTaskZS=R&&(R.onScheduleTask?R:y._scheduleTaskZS),this._scheduleTaskDlgt=R&&(R.onScheduleTask?y:y._scheduleTaskDlgt),this._scheduleTaskCurrZone=R&&(R.onScheduleTask?this.zone:y._scheduleTaskCurrZone),this._invokeTaskZS=R&&(R.onInvokeTask?R:y._invokeTaskZS),this._invokeTaskDlgt=R&&(R.onInvokeTask?y:y._invokeTaskDlgt),this._invokeTaskCurrZone=R&&(R.onInvokeTask?this.zone:y._invokeTaskCurrZone),this._cancelTaskZS=R&&(R.onCancelTask?R:y._cancelTaskZS),this._cancelTaskDlgt=R&&(R.onCancelTask?y:y._cancelTaskDlgt),this._cancelTaskCurrZone=R&&(R.onCancelTask?this.zone:y._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const De=R&&R.onHasTask;(De||y&&y._hasTaskZS)&&(this._hasTaskZS=De?R:Me,this._hasTaskDlgt=y,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=ve,R.onScheduleTask||(this._scheduleTaskZS=Me,this._scheduleTaskDlgt=y,this._scheduleTaskCurrZone=this.zone),R.onInvokeTask||(this._invokeTaskZS=Me,this._invokeTaskDlgt=y,this._invokeTaskCurrZone=this.zone),R.onCancelTask||(this._cancelTaskZS=Me,this._cancelTaskDlgt=y,this._cancelTaskCurrZone=this.zone))}fork(ve,y){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ve,y):new G(ve,y)}intercept(ve,y,R){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ve,y,R):y}invoke(ve,y,R,De,Te){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ve,y,R,De,Te):y.apply(R,De)}handleError(ve,y){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ve,y)}scheduleTask(ve,y){let R=y;if(this._scheduleTaskZS)this._hasTaskZS&&R._zoneDelegates.push(this._hasTaskDlgtOwner),R=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ve,y),R||(R=y);else if(y.scheduleFn)y.scheduleFn(y);else{if(y.type!=Ne)throw new Error("Task is missing scheduleFn.");ye(y)}return R}invokeTask(ve,y,R,De){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ve,y,R,De):y.callback.apply(R,De)}cancelTask(ve,y){let R;if(this._cancelTaskZS)R=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ve,y);else{if(!y.cancelFn)throw Error("Task is not cancelable");R=y.cancelFn(y)}return R}hasTask(ve,y){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ve,y)}catch(R){this.handleError(ve,R)}}_updateTaskCount(ve,y){const R=this._taskCounts,De=R[ve],Te=R[ve]=De+y;if(Te<0)throw new Error("More tasks executed then were scheduled.");0!=De&&0!=Te||this.hasTask(this.zone,{microTask:R.microTask>0,macroTask:R.macroTask>0,eventTask:R.eventTask>0,change:ve})}}class _e{constructor(ve,y,R,De,Te,$t){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=ve,this.source=y,this.data=De,this.scheduleFn=Te,this.cancelFn=$t,!R)throw new Error("callback is not defined");this.callback=R;const ee=this;this.invoke=ve===je&&De&&De.useG?_e.invokeTask:function(){return _e.invokeTask.call(p,ee,this,arguments)}}static invokeTask(ve,y,R){ve||(ve=this),Xe++;try{return ve.runCount++,ve.zone.runTask(ve,y,R)}finally{1==Xe&&ze(),Xe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ft,At)}_transitionTo(ve,y,R){if(this._state!==y&&this._state!==R)throw new Error(`${this.type} '${this.source}': can not transition to '${ve}', expecting state '${y}'${R?" or '"+R+"'":""}, was '${this._state}'.`);this._state=ve,ve==ft&&(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 Ye=te("setTimeout"),He=te("Promise"),re=te("then");let Ce,Ze=[],dt=!1;function ye(et){if(0===Xe&&0===Ze.length)if(Ce||p[He]&&(Ce=p[He].resolve(0)),Ce){let ve=Ce[re];ve||(ve=Ce.then),ve.call(Ce,ze)}else p[Ye](ze,0);et&&Ze.push(et)}function ze(){if(!dt){for(dt=!0;Ze.length;){const et=Ze;Ze=[];for(let ve=0;ve<et.length;ve++){const y=et[ve];try{y.zone.runTask(y,null,null)}catch(R){nr.onUnhandledError(R)}}}nr.microtaskDrainDone(),dt=!1}}const $e={name:"NO ZONE"},ft="notScheduled",At="scheduling",qe="scheduled",pt="running",at="canceling",Ht="unknown",Ne="microTask",nt="macroTask",je="eventTask",on={},nr={symbol:te,currentZoneFrame:()=>gt,onUnhandledError:It,microtaskDrainDone:It,scheduleMicroTask:ye,showUncaughtError:()=>!G[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:It,patchMethod:()=>It,bindArguments:()=>[],patchThen:()=>It,patchMacroTask:()=>It,patchEventPrototype:()=>It,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>It,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>It,wrapWithCurrentZone:()=>It,filterProperties:()=>[],attachOriginToPatched:()=>It,_redefineProperty:()=>It,patchCallbacks:()=>It};let gt={parent:null,zone:new G(null,null)},Ct=null,Xe=0;function It(){}v("Zone","Zone"),p.Zone=G}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const F=Object.getOwnPropertyDescriptor,h=Object.defineProperty,C=Object.getPrototypeOf,T=Object.create,S=Array.prototype.slice,P="addEventListener",x="removeEventListener",O=Zone.__symbol__(P),U=Zone.__symbol__(x),j="true",H="false",L=Zone.__symbol__("");function ae(p,_){return Zone.current.wrap(p,_)}function ie(p,_,N,v,W){return Zone.current.scheduleMacroTask(p,_,N,v,W)}const Z=Zone.__symbol__,me="undefined"!=typeof window,he=me?window:void 0,K=me&&he||"object"==typeof self&&self||global,le=[null];function pe(p,_){for(let N=p.length-1;N>=0;N--)"function"==typeof p[N]&&(p[N]=ae(p[N],_+"_"+N));return p}function oe(p){return!p||!1!==p.writable&&!("function"==typeof p.get&&void 0===p.set)}const se="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ie=!("nw"in K)&&void 0!==K.process&&"[object process]"==={}.toString.call(K.process),yt=!Ie&&!se&&!(!me||!he.HTMLElement),Tt=void 0!==K.process&&"[object process]"==={}.toString.call(K.process)&&!se&&!(!me||!he.HTMLElement),xt={},sn=function(p){if(!(p=p||K.event))return;let _=xt[p.type];_||(_=xt[p.type]=Z("ON_PROPERTY"+p.type));const N=this||p.target||K,v=N[_];let W;if(yt&&N===he&&"error"===p.type){const te=p;W=v&&v.call(this,te.message,te.filename,te.lineno,te.colno,te.error),!0===W&&p.preventDefault()}else W=v&&v.apply(this,arguments),null!=W&&!W&&p.preventDefault();return W};function kt(p,_,N){let v=F(p,_);if(!v&&N&&F(N,_)&&(v={enumerable:!0,configurable:!0}),!v||!v.configurable)return;const W=Z("on"+_+"patched");if(p.hasOwnProperty(W)&&p[W])return;delete v.writable,delete v.value;const te=v.get,de=v.set,G=_.substr(2);let Me=xt[G];Me||(Me=xt[G]=Z("ON_PROPERTY"+G)),v.set=function(we){let _e=this;!_e&&p===K&&(_e=K),_e&&(_e[Me]&&_e.removeEventListener(G,sn),de&&de.apply(_e,le),"function"==typeof we?(_e[Me]=we,_e.addEventListener(G,sn,!1)):_e[Me]=null)},v.get=function(){let we=this;if(!we&&p===K&&(we=K),!we)return null;const _e=we[Me];if(_e)return _e;if(te){let Ye=te&&te.call(this);if(Ye)return v.set.call(this,Ye),"function"==typeof we.removeAttribute&&we.removeAttribute(_),Ye}return null},h(p,_,v),p[W]=!0}function Pn(p,_,N){if(_)for(let v=0;v<_.length;v++)kt(p,"on"+_[v],N);else{const v=[];for(const W in p)"on"==W.substr(0,2)&&v.push(W);for(let W=0;W<v.length;W++)kt(p,v[W],N)}}const tt=Z("originalInstance");function ot(p){const _=K[p];if(!_)return;K[Z(p)]=_,K[p]=function(){const W=pe(arguments,p);switch(W.length){case 0:this[tt]=new _;break;case 1:this[tt]=new _(W[0]);break;case 2:this[tt]=new _(W[0],W[1]);break;case 3:this[tt]=new _(W[0],W[1],W[2]);break;case 4:this[tt]=new _(W[0],W[1],W[2],W[3]);break;default:throw new Error("Arg list too long.")}},Fe(K[p],_);const N=new _(function(){});let v;for(v in N)"XMLHttpRequest"===p&&"responseBlob"===v||function(W){"function"==typeof N[W]?K[p].prototype[W]=function(){return this[tt][W].apply(this[tt],arguments)}:h(K[p].prototype,W,{set:function(te){"function"==typeof te?(this[tt][W]=ae(te,p+"."+W),Fe(this[tt][W],te)):this[tt][W]=te},get:function(){return this[tt][W]}})}(v);for(v in _)"prototype"!==v&&_.hasOwnProperty(v)&&(K[p][v]=_[v])}function lt(p,_,N){let v=p;for(;v&&!v.hasOwnProperty(_);)v=C(v);!v&&p[_]&&(v=p);const W=Z(_);let te=null;if(v&&(!(te=v[W])||!v.hasOwnProperty(W))&&(te=v[W]=v[_],oe(v&&F(v,_)))){const G=N(te,W,_);v[_]=function(){return G(this,arguments)},Fe(v[_],te)}return te}function vt(p,_,N){let v=null;function W(te){const de=te.data;return de.args[de.cbIdx]=function(){te.invoke.apply(this,arguments)},v.apply(de.target,de.args),te}v=lt(p,_,te=>function(de,G){const Me=N(de,G);return Me.cbIdx>=0&&"function"==typeof G[Me.cbIdx]?ie(Me.name,G[Me.cbIdx],Me,W):te.apply(de,G)})}function Fe(p,_){p[Z("OriginalDelegate")]=_}let Jn=!1,kr=!1;function po(){if(Jn)return kr;Jn=!0;try{const p=he.navigator.userAgent;(-1!==p.indexOf("MSIE ")||-1!==p.indexOf("Trident/")||-1!==p.indexOf("Edge/"))&&(kr=!0)}catch(p){}return kr}Zone.__load_patch("ZoneAwarePromise",(p,_,N)=>{const v=Object.getOwnPropertyDescriptor,W=Object.defineProperty,de=N.symbol,G=[],Me=!0===p[de("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],we=de("Promise"),_e=de("then");N.onUnhandledError=ee=>{if(N.showUncaughtError()){const k=ee&&ee.rejection;k?console.error("Unhandled Promise rejection:",k instanceof Error?k.message:k,"; Zone:",ee.zone.name,"; Task:",ee.task&&ee.task.source,"; Value:",k,k instanceof Error?k.stack:void 0):console.error(ee)}},N.microtaskDrainDone=()=>{for(;G.length;){const ee=G.shift();try{ee.zone.runGuarded(()=>{throw ee.throwOriginal?ee.rejection:ee})}catch(k){re(k)}}};const He=de("unhandledPromiseRejectionHandler");function re(ee){N.onUnhandledError(ee);try{const k=_[He];"function"==typeof k&&k.call(this,ee)}catch(k){}}function Ze(ee){return ee&&ee.then}function dt(ee){return ee}function Ce(ee){return y.reject(ee)}const ye=de("state"),ze=de("value"),$e=de("finally"),ft=de("parentPromiseValue"),At=de("parentPromiseState"),pt=null,Ht=!1;function nt(ee,k){return Y=>{try{gt(ee,k,Y)}catch(fe){gt(ee,!1,fe)}}}const nr=de("currentTaskTrace");function gt(ee,k,Y){const fe=function(){let ee=!1;return function(Y){return function(){ee||(ee=!0,Y.apply(null,arguments))}}}();if(ee===Y)throw new TypeError("Promise resolved with itself");if(ee[ye]===pt){let Ae=null;try{("object"==typeof Y||"function"==typeof Y)&&(Ae=Y&&Y.then)}catch(Le){return fe(()=>{gt(ee,!1,Le)})(),ee}if(k!==Ht&&Y instanceof y&&Y.hasOwnProperty(ye)&&Y.hasOwnProperty(ze)&&Y[ye]!==pt)Xe(Y),gt(ee,Y[ye],Y[ze]);else if(k!==Ht&&"function"==typeof Ae)try{Ae.call(Y,fe(nt(ee,k)),fe(nt(ee,!1)))}catch(Le){fe(()=>{gt(ee,!1,Le)})()}else{ee[ye]=k;const Le=ee[ze];if(ee[ze]=Y,ee[$e]===$e&&!0===k&&(ee[ye]=ee[At],ee[ze]=ee[ft]),k===Ht&&Y instanceof Error){const Se=_.currentTask&&_.currentTask.data&&_.currentTask.data.__creationTrace__;Se&&W(Y,nr,{configurable:!0,enumerable:!1,writable:!0,value:Se})}for(let Se=0;Se<Le.length;)It(ee,Le[Se++],Le[Se++],Le[Se++],Le[Se++]);if(0==Le.length&&k==Ht){ee[ye]=0;let Se=Y;try{throw new Error("Uncaught (in promise): "+function(ee){return ee&&ee.toString===Object.prototype.toString?(ee.constructor&&ee.constructor.name||"")+": "+JSON.stringify(ee):ee?ee.toString():Object.prototype.toString.call(ee)}(Y)+(Y&&Y.stack?"\n"+Y.stack:""))}catch(q){Se=q}Me&&(Se.throwOriginal=!0),Se.rejection=Y,Se.promise=ee,Se.zone=_.current,Se.task=_.currentTask,G.push(Se),N.scheduleMicroTask()}}}return ee}const Ct=de("rejectionHandledHandler");function Xe(ee){if(0===ee[ye]){try{const k=_[Ct];k&&"function"==typeof k&&k.call(this,{rejection:ee[ze],promise:ee})}catch(k){}ee[ye]=Ht;for(let k=0;k<G.length;k++)ee===G[k].promise&&G.splice(k,1)}}function It(ee,k,Y,fe,Ae){Xe(ee);const Le=ee[ye],Se=Le?"function"==typeof fe?fe:dt:"function"==typeof Ae?Ae:Ce;k.scheduleMicroTask("Promise.then",()=>{try{const q=ee[ze],Be=!!Y&&$e===Y[$e];Be&&(Y[ft]=q,Y[At]=Le);const ut=k.run(Se,void 0,Be&&Se!==Ce&&Se!==dt?[]:[q]);gt(Y,!0,ut)}catch(q){gt(Y,!1,q)}},Y)}const ve=function(){};class y{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(k){return gt(new this(null),!0,k)}static reject(k){return gt(new this(null),Ht,k)}static race(k){let Y,fe,Ae=new this((q,Be)=>{Y=q,fe=Be});function Le(q){Y(q)}function Se(q){fe(q)}for(let q of k)Ze(q)||(q=this.resolve(q)),q.then(Le,Se);return Ae}static all(k){return y.allWithCallback(k)}static allSettled(k){return(this&&this.prototype instanceof y?this:y).allWithCallback(k,{thenCallback:fe=>({status:"fulfilled",value:fe}),errorCallback:fe=>({status:"rejected",reason:fe})})}static allWithCallback(k,Y){let fe,Ae,Le=new this((ut,ct)=>{fe=ut,Ae=ct}),Se=2,q=0;const Be=[];for(let ut of k){Ze(ut)||(ut=this.resolve(ut));const ct=q;try{ut.then(Zt=>{Be[ct]=Y?Y.thenCallback(Zt):Zt,Se--,0===Se&&fe(Be)},Zt=>{Y?(Be[ct]=Y.errorCallback(Zt),Se--,0===Se&&fe(Be)):Ae(Zt)})}catch(Zt){Ae(Zt)}Se++,q++}return Se-=2,0===Se&&fe(Be),Le}constructor(k){const Y=this;if(!(Y instanceof y))throw new Error("Must be an instanceof Promise.");Y[ye]=pt,Y[ze]=[];try{k&&k(nt(Y,!0),nt(Y,Ht))}catch(fe){gt(Y,!1,fe)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return y}then(k,Y){let fe=this.constructor[Symbol.species];(!fe||"function"!=typeof fe)&&(fe=this.constructor||y);const Ae=new fe(ve),Le=_.current;return this[ye]==pt?this[ze].push(Le,Ae,k,Y):It(this,Le,Ae,k,Y),Ae}catch(k){return this.then(null,k)}finally(k){let Y=this.constructor[Symbol.species];(!Y||"function"!=typeof Y)&&(Y=y);const fe=new Y(ve);fe[$e]=$e;const Ae=_.current;return this[ye]==pt?this[ze].push(Ae,fe,k,k):It(this,Ae,fe,k,k),fe}}y.resolve=y.resolve,y.reject=y.reject,y.race=y.race,y.all=y.all;const R=p[we]=p.Promise;p.Promise=y;const De=de("thenPatched");function Te(ee){const k=ee.prototype,Y=v(k,"then");if(Y&&(!1===Y.writable||!Y.configurable))return;const fe=k.then;k[_e]=fe,ee.prototype.then=function(Ae,Le){return new y((q,Be)=>{fe.call(this,q,Be)}).then(Ae,Le)},ee[De]=!0}return N.patchThen=Te,R&&(Te(R),lt(p,"fetch",ee=>function(ee){return function(k,Y){let fe=ee.apply(k,Y);if(fe instanceof y)return fe;let Ae=fe.constructor;return Ae[De]||Te(Ae),fe}}(ee))),Promise[_.__symbol__("uncaughtPromiseErrors")]=G,y}),Zone.__load_patch("toString",p=>{const _=Function.prototype.toString,N=Z("OriginalDelegate"),v=Z("Promise"),W=Z("Error"),te=function(){if("function"==typeof this){const we=this[N];if(we)return"function"==typeof we?_.call(we):Object.prototype.toString.call(we);if(this===Promise){const _e=p[v];if(_e)return _.call(_e)}if(this===Error){const _e=p[W];if(_e)return _.call(_e)}}return _.call(this)};te[N]=_,Function.prototype.toString=te;const de=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":de.call(this)}});let bn=!1;if("undefined"!=typeof window)try{const p=Object.defineProperty({},"passive",{get:function(){bn=!0}});window.addEventListener("test",p,p),window.removeEventListener("test",p,p)}catch(p){bn=!1}const Zs={useG:!0},Xt={},Lr={},Vn=new RegExp("^"+L+"(\\w+)(true|false)$"),an=Z("propagationStopped");function Jt(p,_){const N=(_?_(p):p)+H,v=(_?_(p):p)+j,W=L+N,te=L+v;Xt[p]={},Xt[p][H]=W,Xt[p][j]=te}function gn(p,_,N){const v=N&&N.add||P,W=N&&N.rm||x,te=N&&N.listeners||"eventListeners",de=N&&N.rmAll||"removeAllListeners",G=Z(v),Me="."+v+":",Ye=function(Ce,ye,ze){if(Ce.isRemoved)return;const $e=Ce.callback;"object"==typeof $e&&$e.handleEvent&&(Ce.callback=At=>$e.handleEvent(At),Ce.originalDelegate=$e),Ce.invoke(Ce,ye,[ze]);const ft=Ce.options;ft&&"object"==typeof ft&&ft.once&&ye[W].call(ye,ze.type,Ce.originalDelegate?Ce.originalDelegate:Ce.callback,ft)},He=function(Ce){if(!(Ce=Ce||p.event))return;const ye=this||Ce.target||p,ze=ye[Xt[Ce.type][H]];if(ze)if(1===ze.length)Ye(ze[0],ye,Ce);else{const $e=ze.slice();for(let ft=0;ft<$e.length&&(!Ce||!0!==Ce[an]);ft++)Ye($e[ft],ye,Ce)}},re=function(Ce){if(!(Ce=Ce||p.event))return;const ye=this||Ce.target||p,ze=ye[Xt[Ce.type][j]];if(ze)if(1===ze.length)Ye(ze[0],ye,Ce);else{const $e=ze.slice();for(let ft=0;ft<$e.length&&(!Ce||!0!==Ce[an]);ft++)Ye($e[ft],ye,Ce)}};function Ze(Ce,ye){if(!Ce)return!1;let ze=!0;ye&&void 0!==ye.useG&&(ze=ye.useG);const $e=ye&&ye.vh;let ft=!0;ye&&void 0!==ye.chkDup&&(ft=ye.chkDup);let At=!1;ye&&void 0!==ye.rt&&(At=ye.rt);let qe=Ce;for(;qe&&!qe.hasOwnProperty(v);)qe=C(qe);if(!qe&&Ce[v]&&(qe=Ce),!qe||qe[G])return!1;const pt=ye&&ye.eventNameToString,at={},Ht=qe[G]=qe[v],Ne=qe[Z(W)]=qe[W],nt=qe[Z(te)]=qe[te],je=qe[Z(de)]=qe[de];let on;function nr(k,Y){return!bn&&"object"==typeof k&&k?!!k.capture:bn&&Y?"boolean"==typeof k?{capture:k,passive:!0}:k?"object"==typeof k&&!1!==k.passive?Object.assign(Object.assign({},k),{passive:!0}):k:{passive:!0}:k}ye&&ye.prepend&&(on=qe[Z(ye.prepend)]=qe[ye.prepend]);const ve=ze?function(k){if(!at.isExisting)return Ht.call(at.target,at.eventName,at.capture?re:He,at.options)}:function(k){return Ht.call(at.target,at.eventName,k.invoke,at.options)},y=ze?function(k){if(!k.isRemoved){const Y=Xt[k.eventName];let fe;Y&&(fe=Y[k.capture?j:H]);const Ae=fe&&k.target[fe];if(Ae)for(let Le=0;Le<Ae.length;Le++)if(Ae[Le]===k){Ae.splice(Le,1),k.isRemoved=!0,0===Ae.length&&(k.allRemoved=!0,k.target[fe]=null);break}}if(k.allRemoved)return Ne.call(k.target,k.eventName,k.capture?re:He,k.options)}:function(k){return Ne.call(k.target,k.eventName,k.invoke,k.options)},De=ye&&ye.diff?ye.diff:function(k,Y){const fe=typeof Y;return"function"===fe&&k.callback===Y||"object"===fe&&k.originalDelegate===Y},Te=Zone[Z("UNPATCHED_EVENTS")],$t=p[Z("PASSIVE_EVENTS")],ee=function(k,Y,fe,Ae,Le=!1,Se=!1){return function(){const q=this||p;let Be=arguments[0];ye&&ye.transferEventName&&(Be=ye.transferEventName(Be));let ut=arguments[1];if(!ut)return k.apply(this,arguments);if(Ie&&"uncaughtException"===Be)return k.apply(this,arguments);let ct=!1;if("function"!=typeof ut){if(!ut.handleEvent)return k.apply(this,arguments);ct=!0}if($e&&!$e(k,ut,q,arguments))return;const Zt=bn&&!!$t&&-1!==$t.indexOf(Be),rr=nr(arguments[2],Zt);if(Te)for(let In=0;In<Te.length;In++)if(Be===Te[In])return Zt?k.call(q,Be,ut,rr):k.apply(this,arguments);const jn=!!rr&&("boolean"==typeof rr||rr.capture),mn=!(!rr||"object"!=typeof rr)&&rr.once,_f=Zone.current;let sa=Xt[Be];sa||(Jt(Be,pt),sa=Xt[Be]);const un=sa[jn?j:H];let Ho,Jr=q[un],ia=!1;if(Jr){if(ia=!0,ft)for(let In=0;In<Jr.length;In++)if(De(Jr[In],ut))return}else Jr=q[un]=[];const $u=q.constructor.name,it=Lr[$u];it&&(Ho=it[Be]),Ho||(Ho=$u+Y+(pt?pt(Be):Be)),at.options=rr,mn&&(at.options.once=!1),at.target=q,at.capture=jn,at.eventName=Be,at.isExisting=ia;const $o=ze?Zs:void 0;$o&&($o.taskData=at);const Hr=_f.scheduleEventTask(Ho,ut,$o,fe,Ae);return at.target=null,$o&&($o.taskData=null),mn&&(rr.once=!0),!bn&&"boolean"==typeof Hr.options||(Hr.options=rr),Hr.target=q,Hr.capture=jn,Hr.eventName=Be,ct&&(Hr.originalDelegate=ut),Se?Jr.unshift(Hr):Jr.push(Hr),Le?q:void 0}};return qe[v]=ee(Ht,Me,ve,y,At),on&&(qe.prependListener=ee(on,".prependListener:",function(k){return on.call(at.target,at.eventName,k.invoke,at.options)},y,At,!0)),qe[W]=function(){const k=this||p;let Y=arguments[0];ye&&ye.transferEventName&&(Y=ye.transferEventName(Y));const fe=arguments[2],Ae=!!fe&&("boolean"==typeof fe||fe.capture),Le=arguments[1];if(!Le)return Ne.apply(this,arguments);if($e&&!$e(Ne,Le,k,arguments))return;const Se=Xt[Y];let q;Se&&(q=Se[Ae?j:H]);const Be=q&&k[q];if(Be)for(let ut=0;ut<Be.length;ut++){const ct=Be[ut];if(De(ct,Le))return Be.splice(ut,1),ct.isRemoved=!0,0===Be.length&&(ct.allRemoved=!0,k[q]=null,"string"==typeof Y)&&(k[L+"ON_PROPERTY"+Y]=null),ct.zone.cancelTask(ct),At?k:void 0}return Ne.apply(this,arguments)},qe[te]=function(){const k=this||p;let Y=arguments[0];ye&&ye.transferEventName&&(Y=ye.transferEventName(Y));const fe=[],Ae=Vr(k,pt?pt(Y):Y);for(let Le=0;Le<Ae.length;Le++){const Se=Ae[Le];fe.push(Se.originalDelegate?Se.originalDelegate:Se.callback)}return fe},qe[de]=function(){const k=this||p;let Y=arguments[0];if(Y){ye&&ye.transferEventName&&(Y=ye.transferEventName(Y));const fe=Xt[Y];if(fe){const Se=k[fe[H]],q=k[fe[j]];if(Se){const Be=Se.slice();for(let ut=0;ut<Be.length;ut++){const ct=Be[ut];this[W].call(this,Y,ct.originalDelegate?ct.originalDelegate:ct.callback,ct.options)}}if(q){const Be=q.slice();for(let ut=0;ut<Be.length;ut++){const ct=Be[ut];this[W].call(this,Y,ct.originalDelegate?ct.originalDelegate:ct.callback,ct.options)}}}}else{const fe=Object.keys(k);for(let Ae=0;Ae<fe.length;Ae++){const Se=Vn.exec(fe[Ae]);let q=Se&&Se[1];q&&"removeListener"!==q&&this[de].call(this,q)}this[de].call(this,"removeListener")}if(At)return this},Fe(qe[v],Ht),Fe(qe[W],Ne),je&&Fe(qe[de],je),nt&&Fe(qe[te],nt),!0}let dt=[];for(let Ce=0;Ce<_.length;Ce++)dt[Ce]=Ze(_[Ce],N);return dt}function Vr(p,_){if(!_){const te=[];for(let de in p){const G=Vn.exec(de);let Me=G&&G[1];if(Me&&(!_||Me===_)){const we=p[de];if(we)for(let _e=0;_e<we.length;_e++)te.push(we[_e])}}return te}let N=Xt[_];N||(Jt(_),N=Xt[_]);const v=p[N[H]],W=p[N[j]];return v?W?v.concat(W):v.slice():W?W.slice():[]}function Lo(p,_){const N=p.Event;N&&N.prototype&&_.patchMethod(N.prototype,"stopImmediatePropagation",v=>function(W,te){W[an]=!0,v&&v.apply(W,te)})}function vr(p,_,N,v,W){const te=Zone.__symbol__(v);if(_[te])return;const de=_[te]=_[v];_[v]=function(G,Me,we){return Me&&Me.prototype&&W.forEach(function(_e){const Ye=`${N}.${v}::`+_e,He=Me.prototype;if(He.hasOwnProperty(_e)){const re=p.ObjectGetOwnPropertyDescriptor(He,_e);re&&re.value?(re.value=p.wrapWithCurrentZone(re.value,Ye),p._redefineProperty(Me.prototype,_e,re)):He[_e]&&(He[_e]=p.wrapWithCurrentZone(He[_e],Ye))}else He[_e]&&(He[_e]=p.wrapWithCurrentZone(He[_e],Ye))}),de.call(_,G,Me,we)},p.attachOriginToPatched(_[v],de)}const jr=["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"],go=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],jo=["load"],Qs=["blur","error","focus","load","resize","scroll","messageerror"],Ks=["bounce","finish","start"],Xr=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],er=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Bo=["close","error","open","message"],Tn=["error","message"],tr=["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"],jr,["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"]);funct