(self.webpackChunkgfn_mall=self.webpackChunkgfn_mall||[]).push([[461],{56780:(rt,j,v)=>{"use strict";v(61768),v(90548);var K=v(17053),at=v(10399),st=v(27721);!function ft(I){I.__load_patch("rxjs",(g,d,Z)=>{const M=d.__symbol__,nt=Object.defineProperties;Z.patchMethod(K.c.prototype,"lift",wt=>(jt,Zt)=>{const G=wt.apply(jt,Zt);return G.operator&&(G.operator._zone=d.current,Z.patchMethod(G.operator,"call",it=>(Rt,Ut)=>Rt._zone&&Rt._zone!==d.current?Rt._zone.run(it,Rt,Ut):it.apply(Rt,Ut))),G}),function(){const wt=K.c.prototype,Zt=wt[M("_subscribe")]=wt._subscribe;nt(K.c.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneSource:{value:null,writable:!0,configurable:!0},_zoneSubscribe:{value:null,writable:!0,configurable:!0},source:{configurable:!0,get:function(){return this._zoneSource},set:function(G){this._zone=d.current,this._zoneSource=G}},_subscribe:{configurable:!0,get:function(){if(this._zoneSubscribe)return this._zoneSubscribe;if(this.constructor===K.c)return Zt;const G=Object.getPrototypeOf(this);return G&&G._subscribe},set:function(G){this._zone=d.current,this._zoneSubscribe=G?function(){if(this._zone&&this._zone!==d.current){const it=this._zone.run(G,this,arguments);if("function"==typeof it){const Rt=this._zone;return function(){return Rt!==d.current?Rt.run(it,this,arguments):it.apply(this,arguments)}}return it}return G.apply(this,arguments)}:G}},subjectFactory:{get:function(){return this._zoneSubjectFactory},set:function(G){const it=this._zone;this._zoneSubjectFactory=function(){return it&&it!==d.current?it.run(G,this,arguments):G.apply(this,arguments)}}}})}(),nt(at.y.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneUnsubscribe:{value:null,writable:!0,configurable:!0},_unsubscribe:{get:function(){if(this._zoneUnsubscribe||this._zoneUnsubscribeCleared)return this._zoneUnsubscribe;const wt=Object.getPrototypeOf(this);return wt&&wt._unsubscribe},set:function(wt){this._zone=d.current,wt?(this._zoneUnsubscribeCleared=!1,this._zoneUnsubscribe=function(){return this._zone&&this._zone!==d.current?this._zone.run(wt,this,arguments):wt.apply(this,arguments)}):(this._zoneUnsubscribe=wt,this._zoneUnsubscribeCleared=!0)}}}),function(){const wt=st.v.prototype.next,jt=st.v.prototype.error,Zt=st.v.prototype.complete;Object.defineProperty(st.v.prototype,"destination",{configurable:!0,get:function(){return this._zoneDestination},set:function(G){this._zone=d.current,this._zoneDestination=G}}),st.v.prototype.next=function(){const it=this._zone;return it&&it!==d.current?it.run(wt,this,arguments,"rxjs.Subscriber.next"):wt.apply(this,arguments)},st.v.prototype.error=function(){const it=this._zone;return it&&it!==d.current?it.run(jt,this,arguments,"rxjs.Subscriber.error"):jt.apply(this,arguments)},st.v.prototype.complete=function(){const it=this._zone;return it&&it!==d.current?it.run(Zt,this,arguments,"rxjs.Subscriber.complete"):Zt.call(this)}}()})}(Zone),v(10383),v(62345)},61768:()=>{window.zoneless||(window.zoneless={windowAddEventListener:window.addEventListener.bind(window),windowRemoveEventListener:window.removeEventListener.bind(window),documentAddEventListener:document.addEventListener.bind(document),documentRemoveEventListener:document.removeEventListener.bind(document),videoAddEventListener:HTMLVideoElement.prototype.addEventListener,videoRemoveEventListener:HTMLVideoElement.prototype.removeEventListener},window.__Zone_ignore_on_properties=[{target:RTCPeerConnection.prototype,ignoreProperties:["icecandidate"]}])},17053:(rt,j,v)=>{"use strict";v.d(j,{c:()=>I});var D=v(27721),K=v(73302),at=v(41469),ft=v(15587),yt=v(97462),lt=v(71337);let I=(()=>{class d{constructor(M){this._isScalar=!1,M&&(this._subscribe=M)}lift(M){const F=new d;return F.source=this,F.operator=M,F}subscribe(M,F,ut){const{operator:z}=this,nt=function st(d,Z,M){if(d){if(d instanceof D.v)return d;if(d[K.D])return d[K.D]()}return d||Z||M?new D.v(d,Z,M):new D.v(at.I)}(M,F,ut);if(nt.add(z?z.call(nt,this.source):this.source||lt.$.useDeprecatedSynchronousErrorHandling&&!nt.syncErrorThrowable?this._subscribe(nt):this._trySubscribe(nt)),lt.$.useDeprecatedSynchronousErrorHandling&&nt.syncErrorThrowable&&(nt.syncErrorThrowable=!1,nt.syncErrorThrown))throw nt.syncErrorValue;return nt}_trySubscribe(M){try{return this._subscribe(M)}catch(F){lt.$.useDeprecatedSynchronousErrorHandling&&(M.syncErrorThrown=!0,M.syncErrorValue=F),function O(d){for(;d;){const{closed:Z,destination:M,isStopped:F}=d;if(Z||F)return!1;d=M&&M instanceof D.v?M:null}return!0}(M)?M.error(F):console.warn(F)}}forEach(M,F){return new(F=g(F))((ut,z)=>{let nt;nt=this.subscribe(At=>{try{M(At)}catch(ht){z(ht),nt&&nt.unsubscribe()}},z,ut)})}_subscribe(M){const{source:F}=this;return F&&F.subscribe(M)}[ft.s](){return this}pipe(...M){return 0===M.length?this:(0,yt.m)(M)(this)}toPromise(M){return new(M=g(M))((F,ut)=>{let z;this.subscribe(nt=>z=nt,nt=>ut(nt),()=>F(z))})}}return d.create=Z=>new d(Z),d})();function g(d){if(d||(d=lt.$.Promise||Promise),!d)throw new Error("no Promise impl found");return d}},41469:(rt,j,v)=>{"use strict";v.d(j,{I:()=>K});var D=v(71337),O=v(81498);const K={closed:!0,next(at){},error(at){if(D.$.useDeprecatedSynchronousErrorHandling)throw at;(0,O.T)(at)},complete(){}}},27721:(rt,j,v)=>{"use strict";v.d(j,{v:()=>yt});var D=v(50710),O=v(41469),K=v(10399),at=v(73302),st=v(71337),ft=v(81498);class yt extends K.y{constructor(g,d,Z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=O.I;break;case 1:if(!g){this.destination=O.I;break}if("object"==typeof g){g instanceof yt?(this.syncErrorThrowable=g.syncErrorThrowable,this.destination=g,g.add(this)):(this.syncErrorThrowable=!0,this.destination=new lt(this,g));break}default:this.syncErrorThrowable=!0,this.destination=new lt(this,g,d,Z)}}[at.D](){return this}static create(g,d,Z){const M=new yt(g,d,Z);return M.syncErrorThrowable=!1,M}next(g){this.isStopped||this._next(g)}error(g){this.isStopped||(this.isStopped=!0,this._error(g))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(g){this.destination.next(g)}_error(g){this.destination.error(g),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:g}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=g,this}}class lt extends yt{constructor(g,d,Z,M){super(),this._parentSubscriber=g;let F,ut=this;(0,D.T)(d)?F=d:d&&(F=d.next,Z=d.error,M=d.complete,d!==O.I&&(ut=Object.create(d),(0,D.T)(ut.unsubscribe)&&this.add(ut.unsubscribe.bind(ut)),ut.unsubscribe=this.unsubscribe.bind(this))),this._context=ut,this._next=F,this._error=Z,this._complete=M}next(g){if(!this.isStopped&&this._next){const{_parentSubscriber:d}=this;st.$.useDeprecatedSynchronousErrorHandling&&d.syncErrorThrowable?this.__tryOrSetError(d,this._next,g)&&this.unsubscribe():this.__tryOrUnsub(this._next,g)}}error(g){if(!this.isStopped){const{_parentSubscriber:d}=this,{useDeprecatedSynchronousErrorHandling:Z}=st.$;if(this._error)Z&&d.syncErrorThrowable?(this.__tryOrSetError(d,this._error,g),this.unsubscribe()):(this.__tryOrUnsub(this._error,g),this.unsubscribe());else if(d.syncErrorThrowable)Z?(d.syncErrorValue=g,d.syncErrorThrown=!0):(0,ft.T)(g),this.unsubscribe();else{if(this.unsubscribe(),Z)throw g;(0,ft.T)(g)}}}complete(){if(!this.isStopped){const{_parentSubscriber:g}=this;if(this._complete){const d=()=>this._complete.call(this._context);st.$.useDeprecatedSynchronousErrorHandling&&g.syncErrorThrowable?(this.__tryOrSetError(g,d),this.unsubscribe()):(this.__tryOrUnsub(d),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(g,d){try{g.call(this._context,d)}catch(Z){if(this.unsubscribe(),st.$.useDeprecatedSynchronousErrorHandling)throw Z;(0,ft.T)(Z)}}__tryOrSetError(g,d,Z){if(!st.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{d.call(this._context,Z)}catch(M){return st.$.useDeprecatedSynchronousErrorHandling?(g.syncErrorValue=M,g.syncErrorThrown=!0,!0):((0,ft.T)(M),!0)}return!1}_unsubscribe(){const{_parentSubscriber:g}=this;this._context=null,this._parentSubscriber=null,g.unsubscribe()}}},10399:(rt,j,v)=>{"use strict";v.d(j,{y:()=>ft});var D=v(34277),O=v(96305),K=v(50710);const st=(()=>{function lt(I){return Error.call(this),this.message=I?`${I.length} errors occurred during unsubscription:\n${I.map((g,d)=>`${d+1}) ${g.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=I,this}return lt.prototype=Object.create(Error.prototype),lt})();class ft{constructor(I){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,I&&(this._ctorUnsubscribe=!0,this._unsubscribe=I)}unsubscribe(){let I;if(this.closed)return;let{_parentOrParents:g,_ctorUnsubscribe:d,_unsubscribe:Z,_subscriptions:M}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,g instanceof ft)g.remove(this);else if(null!==g)for(let F=0;FI.concat(g instanceof st?g.errors:g),[])}ft.EMPTY=((lt=new ft).closed=!0,lt)},71337:(rt,j,v)=>{"use strict";v.d(j,{$:()=>O});let D=!1;const O={Promise:void 0,set useDeprecatedSynchronousErrorHandling(K){if(K){const at=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+at.stack)}else D&&console.log("RxJS: Back to a better error behavior. Thank you. <3");D=K},get useDeprecatedSynchronousErrorHandling(){return D}}},15587:(rt,j,v)=>{"use strict";v.d(j,{s:()=>D});const D="function"==typeof Symbol&&Symbol.observable||"@@observable"},73302:(rt,j,v)=>{"use strict";v.d(j,{D:()=>D});const D="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},81498:(rt,j,v)=>{"use strict";function D(O){setTimeout(()=>{throw O},0)}v.d(j,{T:()=>D})},92932:(rt,j,v)=>{"use strict";function D(O){return O}v.d(j,{D:()=>D})},34277:(rt,j,v)=>{"use strict";v.d(j,{c:()=>D});const D=Array.isArray||(O=>O&&"number"==typeof O.length)},50710:(rt,j,v)=>{"use strict";function D(O){return"function"==typeof O}v.d(j,{T:()=>D})},96305:(rt,j,v)=>{"use strict";function D(O){return null!==O&&"object"==typeof O}v.d(j,{G:()=>D})},97462:(rt,j,v)=>{"use strict";v.d(j,{F:()=>O,m:()=>K});var D=v(92932);function O(...at){return K(at)}function K(at){return 0===at.length?D.D:1===at.length?at[0]:function(ft){return at.reduce((yt,lt)=>lt(yt),ft)}}},62345:()=>{!function(){if("navigate"in window)return;const rt={37:"left",38:"up",39:"right",40:"down"};let v=null,D=null,O={element:null,rect:null},K=null;function ft(t){const r=function Rt(){let t=document.activeElement;if(!t||t===document.body&&!document.querySelector(":focus")){if(O.element&&t!==O.element){const r=window.getComputedStyle(O.element,null);if(O.element.disabled||["hidden","collapse"].includes(r.getPropertyValue("visibility")))return t=O.element,t}t=document.documentElement}if(O.element&&(0===vt(O.element).height||0===vt(O.element).width)&&(K=O.rect),!ue(t)){const r=nt(t);if(r&&(r===window||"auto"===G(r)))return r}return t}();let n=r,a=null;D&&(a=document.elementFromPoint(D.x,D.y),null===a&&(a=document.body),Ct(a)&&!Dt(a)?D=null:n=Dt(a)?a:a.getSpatialNavigationContainer()),(n===document||n===document.documentElement)&&(n=document.body||document.documentElement);let f=null;if((Dt(n)||"BODY"===n.nodeName)&&"INPUT"!==n.nodeName){"IFRAME"===n.nodeName&&n.contentDocument&&(n=n.contentDocument.documentElement),f=n;let e=null;if(document.activeElement===r||document.activeElement===document.body&&r===document.documentElement){if("scroll"===G(n)){if(lt(n,t))return}else if("focus"===G(n)){if(e=n.spatialNavigationSearch(t,{container:n,candidates:I(n,{mode:"all"})}),yt(e,t))return}else if("auto"===G(n)&&(e=n.spatialNavigationSearch(t,{container:n,candidates:I(n,{mode:"all"})}),yt(e,t)||lt(n,t)))return}else n=document.activeElement,f=n.getSpatialNavigationContainer()}f=n.getSpatialNavigationContainer();let o=f.parentElement?f.getSpatialNavigationContainer():null;if(!o&&window.location!==window.parent.location&&(o=window.parent.document.documentElement),"scroll"===G(f)){if(lt(f,t))return}else"focus"===G(f)?it(n,f,o,t,"all"):"auto"===G(f)&&it(n,f,o,t,"visible")}function yt(t,r){if(t){if(!ht("beforefocus",t,null,r))return!0;const n=t.getSpatialNavigationContainer();return n!==window&&"focus"===G(n)?t.focus():t.focus({preventScroll:!0}),D=null,!0}return!1}function lt(t,r){return $t(t,r)&&!It(t,r)?(Ut(t,r),!0):!t.parentElement&&!Bt(t,r)&&(Ut(t.ownerDocument.documentElement,r),!0)}function I(t,r={mode:"visible"}){let n=[];if(t.childElementCount>0){t.parentElement||(t=t.getElementsByTagName("body")[0]||document.body);const a=t.children;for(const f of a)oe(f)?n.push(f):Ct(f)?(n.push(f),!Dt(f)&&f.childElementCount&&(n=n.concat(I(f,{mode:"all"})))):f.childElementCount&&(n=n.concat(I(f,{mode:"all"})))}return"all"===r.mode?n:n.filter(xt)}function g(t,r,n,a){const f=t;return a=a||f.getSpatialNavigationContainer(),Z(f,n=!n||n.length<=0?I(a):n,r,a)}function d(t,r){const n=this;let a=[],f=[];const o=n.getSpatialNavigationContainer();let c,e=function ce(t,r){const n=(r=r||t.getSpatialNavigationContainer()).focusableAreas(),a=[];return n.forEach(f=>{t!==f&&he(f,t)&&a.push(f)}),a}(n,o);r||(r={});const i=r.container||o,h=r.candidates&&r.candidates.length>0?r.candidates.filter(m=>i.contains(m)):function(){let m=I(o);return r.container&&o.contains(r.container)&&(m=m.concat(I(i))),m}().filter(m=>i.contains(m)&&i!==m);if(h&&h.length>0){h.forEach(E=>{E!==n&&(n.contains(E)&&n!==E?a:f).push(E)});let m=e.filter(E=>!a.includes(E)),S=h.filter(E=>Dt(E)&&he(n,E)).map(E=>E.focusableAreas()).flat().filter(E=>E!==n);if(a=a.concat(m).filter(E=>i.contains(E)),f=f.concat(S).filter(E=>i.contains(E)),f.length>0&&(f=g(n,t,f,i)),K&&(c=M(n,g(n,t,a,i),t)),!c&&a&&a.length>0&&"INPUT"!==n.nodeName&&(c=function F(t,r,n){return ut(t,r,n,D?pe:ge)}(n,a,t)),c=c||M(n,f,t),c&&oe(c)){const E=I(c,{mode:"all"}),C=E.length>0?n.spatialNavigationSearch(t,{candidates:E,container:c}):null;C?c=C:Ct(c)||(h.splice(h.indexOf(c),1),c=h.length?n.spatialNavigationSearch(t,{candidates:h,container:i}):null)}return c}return null}function Z(t,r,n,a){const f=t.getSpatialNavigationContainer();let o;return void 0===n?r:(o=f.parentElement&&a!==f&&!xt(t)?vt(f):K||vt(t),!Dt(t)&&"BODY"!==t.nodeName||"INPUT"===t.nodeName?r.filter(e=>{const c=vt(e),i="IFRAME"===e.nodeName&&e.contentDocument?e.contentDocument.body:null;return a.contains(e)&&e!==t&&i!==t&&se(c,o,n)&&!Xt(o,c)}):r.filter(e=>{const c=vt(e);return a.contains(e)&&(t.contains(e)&&Xt(o,c)&&e!==t||se(c,o,n))}))}function M(t,r,n){if(D)return ut(t,r,n,pe);const a=t.getSpatialNavigationContainer(),f=getComputedStyle(a).getPropertyValue("--spatial-navigation-function"),o=K||vt(t);let e,c;return"grid"===f?(c=r.filter(i=>ee(o,vt(i),n)),c.length>0&&(r=c),e=_e):e=Jt,ut(t,r,n,e)}function ut(t,r,n,a){let f=null;window.location===window.parent.location||"BODY"!==t.nodeName&&"HTML"!==t.nodeName?f=K||t.getBoundingClientRect():(f=window.frameElement.getBoundingClientRect(),f.x=0,f.y=0);let o=Number.POSITIVE_INFINITY,e=[];if(r)for(let c=0;c1&&a===_e?ut(t,e,n,Ft):e[0]}function z(){let t=this;do{if(!t.parentElement){t=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}t=t.parentElement}while(!Dt(t));return t}function nt(t){let r=t;do{if(!r.parentElement){r=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}r=r.parentElement}while(!Yt(r)||!xt(r));return(r===document||r===document.documentElement)&&(r=window),r}function At(t={mode:"visible"}){const r=this.parentElement?this:document.body,n=Array.prototype.filter.call(r.getElementsByTagName("*"),Ct);return"all"===t.mode?n:n.filter(xt)}function ht(t,r,n,a){if(["beforefocus","notarget"].includes(t)){const o=new CustomEvent("nav"+t,{bubbles:!0,cancelable:!0,detail:{causedTarget:n,dir:a}});return r.dispatchEvent(o)}}function G(t){return!("spatialNavigationAction"in t.dataset)||"scroll"!==t.dataset.spatialNavigationAction&&"focus"!==t.dataset.spatialNavigationAction?"auto":t.dataset.spatialNavigationAction}function it(t,r,n,a,f){let o={candidates:I(r,{mode:f}),container:r};for(;n;){if(yt(t.spatialNavigationSearch(a,o),a))return;if("visible"===f&<(r,a))return;{if(!ht("notarget",r,t,a))return;r===document||r===document.documentElement?window.location!==window.parent.location&&(r=(t=window.frameElement).ownerDocument.documentElement):r=n,o={candidates:I(r,{mode:f="focus"===G(r)?"all":"visible"}),container:r};let e=r.getSpatialNavigationContainer();n=e!==r?e:null}}o={candidates:I(r,{mode:f="focus"===G(r)?"all":"visible"}),container:r},(n||!r||!yt(t.spatialNavigationSearch(a,o),a))&&ht("notarget",o.container,t,a)&&"auto"===G(r)&&"visible"===f&<(r,a)}function Ut(t,r,n=0){if(t)switch(r){case"left":t.scrollLeft-=40+n;break;case"right":t.scrollLeft+=40+n;break;case"up":t.scrollTop-=40+n;break;case"down":t.scrollTop+=40+n}}function Dt(t){return!t.parentElement||"IFRAME"===t.nodeName||Yt(t)||function jt(t){return"spatialNavigationContain"in t.dataset&&"contain"===t.dataset.spatialNavigationContain}(t)}function oe(t){return"delegable"===function Gt(t,r){return window.getComputedStyle(t).getPropertyValue(`--${r}`).trim()}(t,"spatial-navigation-contain")}function Yt(t){const r=window.getComputedStyle(t,null),n=r.getPropertyValue("overflow-x"),a=r.getPropertyValue("overflow-y");return!!("visible"!==n&&"clip"!==n&&St(t,"left")||"visible"!==a&&"clip"!==a&&St(t,"down"))}function $t(t,r){if(t&&"object"==typeof t){if(r&&"string"==typeof r){if(St(t,r)){const n=window.getComputedStyle(t,null),a=n.getPropertyValue("overflow-x"),f=n.getPropertyValue("overflow-y");switch(r){case"left":case"right":return"visible"!==a&&"clip"!==a&&"hidden"!==a;case"up":case"down":return"visible"!==f&&"clip"!==f&&"hidden"!==f}}return!1}return"HTML"===t.nodeName||"BODY"===t.nodeName||Yt(t)&&St(t)}}function St(t,r){if(t&&"object"==typeof t){if(!r||"string"!=typeof r)return t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight;switch(r){case"left":case"right":return t.scrollWidth>t.clientWidth;case"up":case"down":return t.scrollHeight>t.clientHeight}return!1}}function Bt(t,r){let n=!1;switch(r){case"left":n=0===t.scrollLeft;break;case"right":n=t.scrollWidth-t.scrollLeft-t.clientWidth==0;break;case"up":n=0===t.scrollTop;break;case"down":n=t.scrollHeight-t.scrollTop-t.clientHeight==0}return n}function It(t,r){if($t(t,r)){const n=t.scrollTop,a=t.scrollLeft,f=t.scrollHeight-t.clientHeight,o=t.scrollWidth-t.clientWidth;switch(r){case"left":return 0===a;case"right":return Math.abs(a-o)<=1;case"up":return 0===n;case"down":return Math.abs(n-f)<=1}}return!1}function ue(t){const r=t.getBoundingClientRect();let n=nt(t),a=null;return a=n!==window?vt(n):new DOMRect(0,0,window.innerWidth,window.innerHeight),!(!Xt(a,r)||!Xt(a,r))}function Ct(t){return!(t.tabIndex<0||function fe(t){return"A"===t.tagName&&null===t.getAttribute("href")&&null===t.getAttribute("tabIndex")}(t)||function ie(t){return!!["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(t.tagName)&&t.disabled}(t)||function we(t){return t.inert&&!t.ownerDocument.documentElement.inert}(t)||!function ve(t){return!(!Nt(t.parentElement)||!Nt(t)||"0"===t.style.opacity||"0px"===window.getComputedStyle(t).height||"0px"===window.getComputedStyle(t).width)}(t))&&(!!(!t.parentElement||$t(t)&&St(t)||t.tabIndex>=0)||void 0)}function xt(t){return!t.parentElement||Nt(t)&&function de(t){"INPUT"===t.nodeName&&t.classList.contains("cdk-visually-hidden")&&(t=t.parentElement);const r=vt(t);if("IFRAME"!==t.nodeName&&(r.bottom<0||r.right<0||r.top>t.ownerDocument.documentElement.clientHeight||r.left>t.ownerDocument.documentElement.clientWidth))return!1;let n=parseInt(t.offsetWidth)/10,a=parseInt(t.offsetHeight)/10;n=isNaN(n)?1:n,a=isNaN(a)?1:a;const f={middle:[(r.left+r.right)/2,(r.top+r.bottom)/2],leftTop:[r.left+n,r.top+a],rightBottom:[r.right-n,r.bottom-a]};for(const o in f){const e=t.ownerDocument.elementFromPoint(...f[o]);if(t===e||t.contains(e))return!0}return!1}(t)}function he(t,r){const n=vt(t),f=vt(r||t.getSpatialNavigationContainer());return!(n.leftf.right||n.topf.bottom)}function Nt(t){const r=window.getComputedStyle(t,null),n=r.getPropertyValue("visibility");return"none"!==r.getPropertyValue("display")&&!["hidden","collapse"].includes(n)}function Xt(t,r){return(t.left=r.right||t.left<=r.left&&t.right>r.left)&&(t.top<=r.top&&t.bottom>r.top||t.top=r.bottom)}function se(t,r,n){switch(n){case"left":return Kt(r,t);case"right":return Kt(t,r);case"up":return te(r,t);case"down":return te(t,r);default:return!1}}function Kt(t,r){return t.left>=r.right||t.left>=r.left&&t.right>r.right&&t.bottom>r.top&&t.top=r.bottom||t.top>=r.top&&t.bottom>r.bottom&&t.leftr.left}function ee(t,r,n){switch(n){case"left":case"right":return t.bottom>r.top&&t.topr.left&&t.left=f[0]||a[1]>=f[1]||(n.area=Math.sqrt(n.width*n.height)),n}(t,r),C=E.area;switch(n){case"left":case"right":ee(t,r,n)?e=Math.min(E.height/t.height,1):o=t.height/2,P=30*(h+o),S=5*e;break;case"up":case"down":ee(t,r,n)?e=Math.min(E.width/t.width,1):o=t.width/2,P=2*(u+o),S=5*e;break;default:P=0,S=0}return m+P-S-C}function Ft(t,r,n){const a=ne(n,t,r),f=Math.abs(a.entryPoint.x-a.exitPoint.x),o=Math.abs(a.entryPoint.y-a.exitPoint.y);return Math.sqrt(Math.pow(f,2)+Math.pow(o,2))}function _e(t,r,n){const a=ne(n,t,r);return Math.abs("left"===n||"right"===n?a.entryPoint.x-a.exitPoint.x:a.entryPoint.y-a.exitPoint.y)}function ne(t="down",r,n){const a={entryPoint:{x:0,y:0},exitPoint:{x:0,y:0}};if(D){switch(a.exitPoint=r,t){case"left":a.entryPoint.x=n.right;break;case"up":a.entryPoint.y=n.bottom;break;case"right":a.entryPoint.x=n.left;break;case"down":a.entryPoint.y=n.top}switch(t){case"left":case"right":a.entryPoint.y=D.y<=n.top?n.top:D.yr.right?n.left:r.right;break;case"down":a.exitPoint.y=r.bottom,a.entryPoint.y=n.top>r.bottom?n.top:r.bottom}switch(t){case"left":case"right":te(r,n)?(a.exitPoint.y=r.top,a.entryPoint.y=n.bottomr.bottom?n.top:r.bottom):(a.exitPoint.y=Math.max(r.top,n.top),a.entryPoint.y=a.exitPoint.y);break;case"up":case"down":Kt(r,n)?(a.exitPoint.x=r.left,a.entryPoint.x=n.rightr.right?n.left:r.right):(a.exitPoint.x=Math.max(r.left,n.left),a.entryPoint.x=a.exitPoint.x)}}return a}function vt(t){let r=v&&v.get(t);if(!r){const n=t.getBoundingClientRect();r={top:Number(n.top.toFixed(2)),right:Number(n.right.toFixed(2)),bottom:Number(n.bottom.toFixed(2)),left:Number(n.left.toFixed(2)),width:Number(n.width.toFixed(2)),height:Number(n.height.toFixed(2))},v&&v.set(t,r)}return r}function ye(t){const r=window.__spatialNavigation__&&window.__spatialNavigation__.keyMode;window.__spatialNavigation__=!1===t?me():Object.assign(me(),function Pe(){function t(n,a){return $t(n,a)&&!It(n,a)||!n.parentElement&&!Bt(n,a)}function r(n,a,f,o){let e=a,c=null;if((e===document||e===document.documentElement)&&(e=document.body||document.documentElement),(Dt(e)||"BODY"===e.nodeName)&&"INPUT"!==e.nodeName){"IFRAME"===e.nodeName&&candidate.contentDocument&&(e=e.contentDocument.body);const h=I(e,o);if(Array.isArray(h)&&h.length>0)return n?g(e,f,h):e.spatialNavigationSearch(f,{candidates:h});if(t(e,f))return n?[]:e}let i=e.getSpatialNavigationContainer(),u=i.parentElement?i.getSpatialNavigationContainer():null;for(!u&&window.location!==window.parent.location&&(u=window.parent.document.documentElement);u;){const h=Z(e,I(i,o),f,i);if(Array.isArray(h)&&h.length>0){if(c=e.spatialNavigationSearch(f,{candidates:h,container:i}),c)return n?h:c}else{if(t(i,f))return n?[]:e;if(i===document||i===document.documentElement){if(i=window.document.documentElement,window.location!==window.parent.location){if(e=window.frameElement,i=window.parent.document.documentElement,!i.parentElement){u=null;break}u=i.getSpatialNavigationContainer()}}else{if(Ct(i)&&(e=i),i=u,!i.parentElement){u=null;break}u=i.getSpatialNavigationContainer()}}}if(!u&&i){const h=Z(e,I(i,o),f,i);if(Array.isArray(h)&&h.length>0&&(c=e.spatialNavigationSearch(f,{candidates:h,container:i}),c))return n?h:c}if(t(i,f))return c=e,c}return{isContainer:Dt,isScrollContainer:Yt,isVisibleInScroller:ue,findCandidates:r.bind(null,!0),findNextTarget:r.bind(null,!1),getDistanceFromTarget:(n,a,f)=>(Dt(n)||"BODY"===n.nodeName)&&"INPUT"!==n.nodeName&&I(n).includes(a)?ge(vt(n),vt(a),f):Jt(vt(n),vt(a),f),isFocusable:Ct}}()),window.__spatialNavigation__.keyMode=r,Object.seal(window.__spatialNavigation__)}function me(){return{enableExperimentalAPIs:ye,get keyMode(){return this._keymode?this._keymode:"ARROW"},set keyMode(t){this._keymode=["SHIFTARROW","ARROW","NONE"].includes(t)?t:"ARROW"},setStartingPoint:function(t,r){D="number"==typeof t&&"number"==typeof r?{x:t,y:r}:null}}}(function at(){window.navigate=ft,window.Element.prototype.spatialNavigationSearch=d,window.Element.prototype.focusableAreas=At,window.Element.prototype.getSpatialNavigationContainer=z,window.CSS&&CSS.registerProperty&&(""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-contain")&&CSS.registerProperty({name:"--spatial-navigation-contain",syntax:"auto | contain",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-action")&&CSS.registerProperty({name:"--spatial-navigation-action",syntax:"auto | focus | scroll",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-function")&&CSS.registerProperty({name:"--spatial-navigation-function",syntax:"normal | grid",inherits:!1,initialValue:"normal"}))})(),ye(!0),window.addEventListener("load",()=>{!function st(){const t=window.zoneless&&window.zoneless.windowAddEventListener?window.zoneless.windowAddEventListener:window.addEventListener.bind(window),r=window.zoneless&&window.zoneless.documentAddEventListener?window.zoneless.documentAddEventListener:document.addEventListener.bind(document);t("keydown",n=>{const a=parent&&parent.__spatialNavigation__&&parent.__spatialNavigation__.keyMode||window.__spatialNavigation__&&window.__spatialNavigation__.keyMode,f=document.activeElement,o=rt[n.keyCode];if(9===n.keyCode&&(D=null),!(!a||"NONE"===a||"SHIFTARROW"===a&&!n.shiftKey||"ARROW"===a&&n.shiftKey||n.ctrlKey||n.metaKey||n.altKey||n.defaultPrevented)){let e={left:!0,up:!0,right:!0,down:!0};("INPUT"===f.nodeName||"TEXTAREA"===f.nodeName)&&(e=function be(t){const n=["password","text","search","tel","url",null],a=document.activeElement,f=n.includes(a.getAttribute("type"))?a.selectionStart:null,o=n.includes(a.getAttribute("type"))?a.selectionEnd:null,e={left:!1,up:!1,right:!1,down:!1},c=rt[t.keyCode];return void 0===c||(["email","date","month","number","time","week"].includes(a.getAttribute("type"))&&("up"===c||"down"===c)||!n.includes(a.getAttribute("type"))&&"TEXTAREA"!==a.nodeName?e[c]=!0:f===o&&(0===f&&(e.left=!0,e.up=!0),o===a.value.length&&(e.right=!0,e.down=!0))),e}(n)),e[o]&&(n.preventDefault(),v=new Map,ft(o),v=null,D=null,K=null)}}),r("mouseup",n=>{D={x:n.clientX,y:n.clientY}}),t("focusin",n=>{n.target!==window&&(O.element=n.target,O.rect=n.target.getBoundingClientRect())})}()})}()},10383:()=>{"use strict";!function rt(j){j.__load_patch("RTCPeerConnection",(v,D,O)=>{const K=v.RTCPeerConnection;if(!K)return;const at=O.symbol("addEventListener"),st=O.symbol("removeEventListener");K.prototype.addEventListener=K.prototype[at],K.prototype.removeEventListener=K.prototype[st],K.prototype[at]=null,K.prototype[st]=null,O.patchEventTarget(v,O,[K.prototype],{useG:!1})})}(Zone)},90548:()=>{"use strict";const rt=globalThis;function j(o){return(rt.__Zone_symbol_prefix||"__zone_symbol__")+o}const O=Object.getOwnPropertyDescriptor,K=Object.defineProperty,at=Object.getPrototypeOf,st=Object.create,ft=Array.prototype.slice,yt="addEventListener",lt="removeEventListener",I=j(yt),g=j(lt),d="true",Z="false",M=j("");function F(o,e){return Zone.current.wrap(o,e)}function ut(o,e,c,i,u){return Zone.current.scheduleMacroTask(o,e,c,i,u)}const z=j,nt=typeof window<"u",At=nt?window:void 0,ht=nt&&At||globalThis,Gt="removeAttribute";function wt(o,e){for(let c=o.length-1;c>=0;c--)"function"==typeof o[c]&&(o[c]=F(o[c],e+"_"+c));return o}function Zt(o){return!o||!1!==o.writable&&!("function"==typeof o.get&&typeof o.set>"u")}const G=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,it=!("nw"in ht)&&typeof ht.process<"u"&&"[object process]"===ht.process.toString(),Rt=!it&&!G&&!(!nt||!At.HTMLElement),Ut=typeof ht.process<"u"&&"[object process]"===ht.process.toString()&&!G&&!(!nt||!At.HTMLElement),Dt={},oe=function(o){if(!(o=o||ht.event))return;let e=Dt[o.type];e||(e=Dt[o.type]=z("ON_PROPERTY"+o.type));const c=this||o.target||ht,i=c[e];let u;return Rt&&c===At&&"error"===o.type?(u=i&&i.call(this,o.message,o.filename,o.lineno,o.colno,o.error),!0===u&&o.preventDefault()):(u=i&&i.apply(this,arguments),null!=u&&!u&&o.preventDefault()),u};function Yt(o,e,c){let i=O(o,e);if(!i&&c&&O(c,e)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const u=z("on"+e+"patched");if(o.hasOwnProperty(u)&&o[u])return;delete i.writable,delete i.value;const h=i.get,m=i.set,P=e.slice(2);let S=Dt[P];S||(S=Dt[P]=z("ON_PROPERTY"+P)),i.set=function(E){let C=this;!C&&o===ht&&(C=ht),C&&("function"==typeof C[S]&&C.removeEventListener(P,oe),m&&m.call(C,null),C[S]=E,"function"==typeof E&&C.addEventListener(P,oe,!1))},i.get=function(){let E=this;if(!E&&o===ht&&(E=ht),!E)return null;const C=E[S];if(C)return C;if(h){let Q=h.call(this);if(Q)return i.set.call(this,Q),"function"==typeof E[Gt]&&E.removeAttribute(e),Q}return null},K(o,e,i),o[u]=!0}function $t(o,e,c){if(e)for(let i=0;ifunction(m,P){const S=c(m,P);return S.cbIdx>=0&&"function"==typeof P[S.cbIdx]?ut(S.name,P[S.cbIdx],S,u):h.apply(m,P)})}function Ct(o,e){o[z("OriginalDelegate")]=e}let fe=!1,ie=!1;function ve(){if(fe)return ie;fe=!0;try{const o=At.navigator.userAgent;(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/")||-1!==o.indexOf("Edge/"))&&(ie=!0)}catch{}return ie}let xt=!1;if(typeof window<"u")try{const o=Object.defineProperty({},"passive",{get:function(){xt=!0}});window.addEventListener("test",o,o),window.removeEventListener("test",o,o)}catch{xt=!1}const he={useG:!0},Nt={},de={},Xt=new RegExp("^"+M+"(\\w+)(true|false)$"),se=z("propagationStopped");function Kt(o,e){const c=(e?e(o):o)+Z,i=(e?e(o):o)+d,u=M+c,h=M+i;Nt[o]={},Nt[o][Z]=u,Nt[o][d]=h}function te(o,e,c,i){const u=i&&i.add||yt,h=i&&i.rm||lt,m=i&&i.listeners||"eventListeners",P=i&&i.rmAll||"removeAllListeners",S=z(u),E="."+u+":",C="prependListener",Q="."+C+":",U=function(H,w,gt){if(H.isRemoved)return;const Et=H.callback;let Pt;"object"==typeof Et&&Et.handleEvent&&(H.callback=R=>Et.handleEvent(R),H.originalDelegate=Et);try{H.invoke(H,w,[gt])}catch(R){Pt=R}const _t=H.options;return _t&&"object"==typeof _t&&_t.once&&w[h].call(w,gt.type,H.originalDelegate?H.originalDelegate:H.callback,_t),Pt};function ot(H,w,gt){if(!(w=w||o.event))return;const Et=H||w.target||o,Pt=Et[Nt[w.type][gt?d:Z]];if(Pt){const _t=[];if(1===Pt.length){const R=U(Pt[0],Et,w);R&&_t.push(R)}else{const R=Pt.slice();for(let bt=0;bt{throw bt})}}}const mt=function(H){return ot(this,H,!1)},ct=function(H){return ot(this,H,!0)};function Lt(H,w){if(!H)return!1;let gt=!0;w&&void 0!==w.useG&&(gt=w.useG);const Et=w&&w.vh;let Pt=!0;w&&void 0!==w.chkDup&&(Pt=w.chkDup);let _t=!1;w&&void 0!==w.rt&&(_t=w.rt);let R=H;for(;R&&!R.hasOwnProperty(u);)R=at(R);if(!R&&H[u]&&(R=H),!R||R[S])return!1;const bt=w&&w.eventNameToString,Y={},B=R[S]=R[u],x=R[z(h)]=R[h],V=R[z(m)]=R[m],Mt=R[z(P)]=R[P];let Tt;w&&w.prepend&&(Tt=R[z(w.prepend)]=R[w.prepend]);const et=gt?function(l){if(!Y.isExisting)return B.call(Y.target,Y.eventName,Y.capture?ct:mt,Y.options)}:function(l){return B.call(Y.target,Y.eventName,l.invoke,Y.options)},$=gt?function(l){if(!l.isRemoved){const b=Nt[l.eventName];let A;b&&(A=b[l.capture?d:Z]);const L=A&&l.target[A];if(L)for(let N=0;NHt.zone.cancelTask(Ht);l.call(Wt,"abort",zt,{once:!0}),Ht.removeAbortListener=()=>Wt.removeEventListener("abort",zt)}return Y.target=null,le&&(le.taskData=null),Ne&&(Y.options.once=!0),!xt&&"boolean"==typeof Ht.options||(Ht.options=Ot),Ht.target=J,Ht.capture=Se,Ht.eventName=q,pt&&(Ht.originalDelegate=dt),X?re.unshift(Ht):re.push(Ht),N?J:void 0}};return R[u]=_(B,E,et,$,_t),Tt&&(R[C]=_(Tt,Q,function(l){return Tt.call(Y.target,Y.eventName,l.invoke,Y.options)},$,_t,!0)),R[h]=function(){const l=this||o;let b=arguments[0];w&&w.transferEventName&&(b=w.transferEventName(b));const A=arguments[2],L=!!A&&("boolean"==typeof A||A.capture),N=arguments[1];if(!N)return x.apply(this,arguments);if(Et&&!Et(x,N,l,arguments))return;const X=Nt[b];let J;X&&(J=X[L?d:Z]);const q=J&&l[J];if(q)for(let dt=0;dtfunction(u,h){u[se]=!0,i&&i.apply(u,h)})}const Jt=z("zoneTask");function Ft(o,e,c,i){let u=null,h=null;c+=i;const m={};function P(E){const C=E.data;return C.args[0]=function(){return E.invoke.apply(this,arguments)},C.handleId=u.apply(o,C.args),E}function S(E){return h.call(o,E.data.handleId)}u=It(o,e+=i,E=>function(C,Q){if("function"==typeof Q[0]){const U={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?Q[1]||0:void 0,args:Q},ot=Q[0];Q[0]=function(){try{return ot.apply(this,arguments)}finally{U.isPeriodic||("number"==typeof U.handleId?delete m[U.handleId]:U.handleId&&(U.handleId[Jt]=null))}};const mt=ut(e,Q[0],U,P,S);if(!mt)return mt;const ct=mt.data.handleId;return"number"==typeof ct?m[ct]=mt:ct&&(ct[Jt]=mt),ct&&ct.ref&&ct.unref&&"function"==typeof ct.ref&&"function"==typeof ct.unref&&(mt.ref=ct.ref.bind(ct),mt.unref=ct.unref.bind(ct)),"number"==typeof ct||ct?ct:mt}return E.apply(o,Q)}),h=It(o,c,E=>function(C,Q){const U=Q[0];let ot;"number"==typeof U?ot=m[U]:(ot=U&&U[Jt],ot||(ot=U)),ot&&"string"==typeof ot.type?"notScheduled"!==ot.state&&(ot.cancelFn&&ot.data.isPeriodic||0===ot.runCount)&&("number"==typeof U?delete m[U]:U&&(U[Jt]=null),ot.zone.cancelTask(ot)):E.apply(o,Q)})}function be(o,e,c){if(!c||0===c.length)return e;const i=c.filter(h=>h.target===o);if(!i||0===i.length)return e;const u=i[0].ignoreProperties;return e.filter(h=>-1===u.indexOf(h))}function vt(o,e,c,i){o&&$t(o,be(o,e,c),i)}function ce(o){return Object.getOwnPropertyNames(o).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function r(o,e,c,i,u){const h=Zone.__symbol__(i);if(e[h])return;const m=e[h]=e[i];e[i]=function(P,S,E){return S&&S.prototype&&u.forEach(function(C){const Q=`${c}.${i}::`+C,U=S.prototype;try{if(U.hasOwnProperty(C)){const ot=o.ObjectGetOwnPropertyDescriptor(U,C);ot&&ot.value?(ot.value=o.wrapWithCurrentZone(ot.value,Q),o._redefineProperty(S.prototype,C,ot)):U[C]&&(U[C]=o.wrapWithCurrentZone(U[C],Q))}else U[C]&&(U[C]=o.wrapWithCurrentZone(U[C],Q))}catch{}}),m.call(e,P,S,E)},o.attachOriginToPatched(e[i],m)}const f=function D(){var e;const c=globalThis,i=!0===c[j("forceDuplicateZoneCheck")];if(c.Zone&&(i||"function"!=typeof c.Zone.__symbol__))throw new Error("Zone already loaded.");return null!==(e=c.Zone)&&void 0!==e||(c.Zone=function v(){const o=rt.performance;function e(tt){o&&o.mark&&o.mark(tt)}function c(tt,k){o&&o.measure&&o.measure(tt,k)}e("Zone");let i=(()=>{class k{static assertZonePatched(){if(rt.Promise!==Y.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 s=k.current;for(;s.parent;)s=s.parent;return s}static get current(){return x.zone}static get currentTask(){return V}static __load_patch(s,T,W=!1){if(Y.hasOwnProperty(s)){const et=!0===rt[j("forceDuplicateZoneCheck")];if(!W&&et)throw Error("Already loaded patch: "+s)}else if(!rt["__Zone_disable_"+s]){const et="Zone:"+s;e(et),Y[s]=T(rt,k,B),c(et,et)}}get parent(){return this._parent}get name(){return this._name}constructor(s,T){this._parent=s,this._name=T?T.name||"unnamed":"",this._properties=T&&T.properties||{},this._zoneDelegate=new h(this,this._parent&&this._parent._zoneDelegate,T)}get(s){const T=this.getZoneWith(s);if(T)return T._properties[s]}getZoneWith(s){let T=this;for(;T;){if(T._properties.hasOwnProperty(s))return T;T=T._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,T){if("function"!=typeof s)throw new Error("Expecting function got: "+s);const W=this._zoneDelegate.intercept(this,s,T),et=this;return function(){return et.runGuarded(W,this,arguments,T)}}run(s,T,W,et){x={parent:x,zone:this};try{return this._zoneDelegate.invoke(this,s,T,W,et)}finally{x=x.parent}}runGuarded(s,T=null,W,et){x={parent:x,zone:this};try{try{return this._zoneDelegate.invoke(this,s,T,W,et)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{x=x.parent}}runTask(s,T,W){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||Lt).name+"; Execution: "+this.name+")");if(s.state===kt&&(s.type===bt||s.type===R))return;const et=s.state!=gt;et&&s._transitionTo(gt,w),s.runCount++;const $=V;V=s,x={parent:x,zone:this};try{s.type==R&&s.data&&!s.data.isPeriodic&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,s,T,W)}catch(qt){if(this._zoneDelegate.handleError(this,qt))throw qt}}finally{s.state!==kt&&s.state!==Pt&&(s.type==bt||s.data&&s.data.isPeriodic?et&&s._transitionTo(w,gt):(s.runCount=0,this._updateTaskCount(s,-1),et&&s._transitionTo(kt,gt,kt))),x=x.parent,V=$}}scheduleTask(s){if(s.zone&&s.zone!==this){let W=this;for(;W;){if(W===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);W=W.parent}}s._transitionTo(H,kt);const T=[];s._zoneDelegates=T,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(W){throw s._transitionTo(Pt,H,kt),this._zoneDelegate.handleError(this,W),W}return s._zoneDelegates===T&&this._updateTaskCount(s,1),s.state==H&&s._transitionTo(w,H),s}scheduleMicroTask(s,T,W,et){return this.scheduleTask(new m(_t,s,T,W,et,void 0))}scheduleMacroTask(s,T,W,et,$){return this.scheduleTask(new m(R,s,T,W,et,$))}scheduleEventTask(s,T,W,et,$){return this.scheduleTask(new m(bt,s,T,W,et,$))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||Lt).name+"; Execution: "+this.name+")");if(s.state===w||s.state===gt){s._transitionTo(Et,w,gt);try{this._zoneDelegate.cancelTask(this,s)}catch(T){throw s._transitionTo(Pt,Et),this._zoneDelegate.handleError(this,T),T}return this._updateTaskCount(s,-1),s._transitionTo(kt,Et),s.runCount=0,s}}_updateTaskCount(s,T){const W=s._zoneDelegates;-1==T&&(s._zoneDelegates=null);for(let et=0;ettt.hasTask(p,s),onScheduleTask:(tt,k,p,s)=>tt.scheduleTask(p,s),onInvokeTask:(tt,k,p,s,T,W)=>tt.invokeTask(p,s,T,W),onCancelTask:(tt,k,p,s)=>tt.cancelTask(p,s)};class h{get zone(){return this._zone}constructor(k,p,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=k,this._parentDelegate=p,this._forkZS=s&&(s&&s.onFork?s:p._forkZS),this._forkDlgt=s&&(s.onFork?p:p._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:p._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:p._interceptZS),this._interceptDlgt=s&&(s.onIntercept?p:p._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:p._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:p._invokeZS),this._invokeDlgt=s&&(s.onInvoke?p:p._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:p._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:p._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?p:p._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:p._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:p._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?p:p._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:p._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:p._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?p:p._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:p._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:p._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?p:p._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:p._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const T=s&&s.onHasTask;(T||p&&p._hasTaskZS)&&(this._hasTaskZS=T?s:u,this._hasTaskDlgt=p,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=p,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=p,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=p,this._cancelTaskCurrZone=this._zone))}fork(k,p){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,p):new i(k,p)}intercept(k,p,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,p,s):p}invoke(k,p,s,T,W){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,p,s,T,W):p.apply(s,T)}handleError(k,p){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,p)}scheduleTask(k,p){let s=p;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,p),s||(s=p);else if(p.scheduleFn)p.scheduleFn(p);else{if(p.type!=_t)throw new Error("Task is missing scheduleFn.");mt(p)}return s}invokeTask(k,p,s,T){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,p,s,T):p.callback.apply(s,T)}cancelTask(k,p){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,p);else{if(!p.cancelFn)throw Error("Task is not cancelable");s=p.cancelFn(p)}return s}hasTask(k,p){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,p)}catch(s){this.handleError(k,s)}}_updateTaskCount(k,p){const s=this._taskCounts,T=s[k],W=s[k]=T+p;if(W<0)throw new Error("More tasks executed then were scheduled.");0!=T&&0!=W||this.hasTask(this._zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:k})}}class m{constructor(k,p,s,T,W,et){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=p,this.data=T,this.scheduleFn=W,this.cancelFn=et,!s)throw new Error("callback is not defined");this.callback=s;const $=this;this.invoke=k===bt&&T&&T.useG?m.invokeTask:function(){return m.invokeTask.call(rt,$,this,arguments)}}static invokeTask(k,p,s){k||(k=this),Mt++;try{return k.runCount++,k.zone.runTask(k,p,s)}finally{1==Mt&&ct(),Mt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(kt,H)}_transitionTo(k,p,s){if(this._state!==p&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${p}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=k,k==kt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?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 P=j("setTimeout"),S=j("Promise"),E=j("then");let U,C=[],Q=!1;function ot(tt){if(U||rt[S]&&(U=rt[S].resolve(0)),U){let k=U[E];k||(k=U.then),k.call(U,tt)}else rt[P](tt,0)}function mt(tt){0===Mt&&0===C.length&&ot(ct),tt&&C.push(tt)}function ct(){if(!Q){for(Q=!0;C.length;){const tt=C;C=[];for(let k=0;kx,onUnhandledError:Tt,microtaskDrainDone:Tt,scheduleMicroTask:mt,showUncaughtError:()=>!i[j("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Tt,patchMethod:()=>Tt,bindArguments:()=>[],patchThen:()=>Tt,patchMacroTask:()=>Tt,patchEventPrototype:()=>Tt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Tt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Tt,wrapWithCurrentZone:()=>Tt,filterProperties:()=>[],attachOriginToPatched:()=>Tt,_redefineProperty:()=>Tt,patchCallbacks:()=>Tt,nativeScheduleMicroTask:ot};let x={parent:null,zone:new i(null,null)},V=null,Mt=0;function Tt(){}return c("Zone","Zone"),i}()),c.Zone}();(function a(o){(function me(o){o.__load_patch("ZoneAwarePromise",(e,c,i)=>{const u=Object.getOwnPropertyDescriptor,h=Object.defineProperty,P=i.symbol,S=[],E=!1!==e[P("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],C=P("Promise"),Q=P("then"),U="__creationTrace__";i.onUnhandledError=y=>{if(i.showUncaughtError()){const _=y&&y.rejection;_?console.error("Unhandled Promise rejection:",_ instanceof Error?_.message:_,"; Zone:",y.zone.name,"; Task:",y.task&&y.task.source,"; Value:",_,_ instanceof Error?_.stack:void 0):console.error(y)}},i.microtaskDrainDone=()=>{for(;S.length;){const y=S.shift();try{y.zone.runGuarded(()=>{throw y.throwOriginal?y.rejection:y})}catch(_){mt(_)}}};const ot=P("unhandledPromiseRejectionHandler");function mt(y){i.onUnhandledError(y);try{const _=c[ot];"function"==typeof _&&_.call(this,y)}catch{}}function ct(y){return y&&y.then}function Lt(y){return y}function kt(y){return $.reject(y)}const H=P("state"),w=P("value"),gt=P("finally"),Et=P("parentPromiseValue"),Pt=P("parentPromiseState"),_t="Promise.then",R=null,bt=!0,Y=!1,B=0;function x(y,_){return l=>{try{tt(y,_,l)}catch(b){tt(y,!1,b)}}}const V=function(){let y=!1;return function(l){return function(){y||(y=!0,l.apply(null,arguments))}}},Mt="Promise resolved with itself",Tt=P("currentTaskTrace");function tt(y,_,l){const b=V();if(y===l)throw new TypeError(Mt);if(y[H]===R){let A=null;try{("object"==typeof l||"function"==typeof l)&&(A=l&&l.then)}catch(L){return b(()=>{tt(y,!1,L)})(),y}if(_!==Y&&l instanceof $&&l.hasOwnProperty(H)&&l.hasOwnProperty(w)&&l[H]!==R)p(l),tt(y,l[H],l[w]);else if(_!==Y&&"function"==typeof A)try{A.call(l,b(x(y,_)),b(x(y,!1)))}catch(L){b(()=>{tt(y,!1,L)})()}else{y[H]=_;const L=y[w];if(y[w]=l,y[gt]===gt&&_===bt&&(y[H]=y[Pt],y[w]=y[Et]),_===Y&&l instanceof Error){const N=c.currentTask&&c.currentTask.data&&c.currentTask.data[U];N&&h(l,Tt,{configurable:!0,enumerable:!1,writable:!0,value:N})}for(let N=0;N{try{const X=y[w],J=!!l&>===l[gt];J&&(l[Et]=X,l[Pt]=L);const q=_.run(N,void 0,J&&N!==kt&&N!==Lt?[]:[X]);tt(l,!0,q)}catch(X){tt(l,!1,X)}},l)}const W=function(){},et=e.AggregateError;class ${static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(_){return _ instanceof $?_:tt(new this(null),bt,_)}static reject(_){return tt(new this(null),Y,_)}static withResolvers(){const _={};return _.promise=new $((l,b)=>{_.resolve=l,_.reject=b}),_}static any(_){if(!_||"function"!=typeof _[Symbol.iterator])return Promise.reject(new et([],"All promises were rejected"));const l=[];let b=0;try{for(let N of _)b++,l.push($.resolve(N))}catch{return Promise.reject(new et([],"All promises were rejected"))}if(0===b)return Promise.reject(new et([],"All promises were rejected"));let A=!1;const L=[];return new $((N,X)=>{for(let J=0;J{A||(A=!0,N(q))},q=>{L.push(q),b--,0===b&&(A=!0,X(new et(L,"All promises were rejected")))})})}static race(_){let l,b,A=new this((X,J)=>{l=X,b=J});function L(X){l(X)}function N(X){b(X)}for(let X of _)ct(X)||(X=this.resolve(X)),X.then(L,N);return A}static all(_){return $.allWithCallback(_)}static allSettled(_){return(this&&this.prototype instanceof $?this:$).allWithCallback(_,{thenCallback:b=>({status:"fulfilled",value:b}),errorCallback:b=>({status:"rejected",reason:b})})}static allWithCallback(_,l){let b,A,L=new this((q,dt)=>{b=q,A=dt}),N=2,X=0;const J=[];for(let q of _){ct(q)||(q=this.resolve(q));const dt=X;try{q.then(pt=>{J[dt]=l?l.thenCallback(pt):pt,N--,0===N&&b(J)},pt=>{l?(J[dt]=l.errorCallback(pt),N--,0===N&&b(J)):A(pt)})}catch(pt){A(pt)}N++,X++}return N-=2,0===N&&b(J),L}constructor(_){const l=this;if(!(l instanceof $))throw new Error("Must be an instanceof Promise.");l[H]=R,l[w]=[];try{const b=V();_&&_(b(x(l,bt)),b(x(l,Y)))}catch(b){tt(l,!1,b)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return $}then(_,l){var b;let A=null===(b=this.constructor)||void 0===b?void 0:b[Symbol.species];(!A||"function"!=typeof A)&&(A=this.constructor||$);const L=new A(W),N=c.current;return this[H]==R?this[w].push(N,L,_,l):s(this,N,L,_,l),L}catch(_){return this.then(null,_)}finally(_){var l;let b=null===(l=this.constructor)||void 0===l?void 0:l[Symbol.species];(!b||"function"!=typeof b)&&(b=$);const A=new b(W);A[gt]=gt;const L=c.current;return this[H]==R?this[w].push(L,A,_,_):s(this,L,A,_,_),A}}$.resolve=$.resolve,$.reject=$.reject,$.race=$.race,$.all=$.all;const qt=e[C]=e.Promise;e.Promise=$;const ae=P("thenPatched");function Qt(y){const _=y.prototype,l=u(_,"then");if(l&&(!1===l.writable||!l.configurable))return;const b=_.then;_[Q]=b,y.prototype.then=function(A,L){return new $((X,J)=>{b.call(this,X,J)}).then(A,L)},y[ae]=!0}return i.patchThen=Qt,qt&&(Qt(qt),It(e,"fetch",y=>function Ee(y){return function(_,l){let b=y.apply(_,l);if(b instanceof $)return b;let A=b.constructor;return A[ae]||Qt(A),b}}(y))),Promise[c.__symbol__("uncaughtPromiseErrors")]=S,$})})(o),function t(o){o.__load_patch("toString",e=>{const c=Function.prototype.toString,i=z("OriginalDelegate"),u=z("Promise"),h=z("Error"),m=function(){if("function"==typeof this){const C=this[i];if(C)return"function"==typeof C?c.call(C):Object.prototype.toString.call(C);if(this===Promise){const Q=e[u];if(Q)return c.call(Q)}if(this===Error){const Q=e[h];if(Q)return c.call(Q)}}return c.call(this)};m[i]=c,Function.prototype.toString=m;const P=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":P.call(this)}})}(o),function n(o){o.__load_patch("util",(e,c,i)=>{const u=ce(e);i.patchOnProperties=$t,i.patchMethod=It,i.bindArguments=wt,i.patchMacroTask=ue;const h=c.__symbol__("BLACK_LISTED_EVENTS"),m=c.__symbol__("UNPATCHED_EVENTS");e[m]&&(e[h]=e[m]),e[h]&&(c[h]=c[m]=e[h]),i.patchEventPrototype=pe,i.patchEventTarget=te,i.isIEOrEdge=ve,i.ObjectDefineProperty=K,i.ObjectGetOwnPropertyDescriptor=O,i.ObjectCreate=st,i.ArraySlice=ft,i.patchClass=Bt,i.wrapWithCurrentZone=F,i.filterProperties=be,i.attachOriginToPatched=Ct,i._redefineProperty=Object.defineProperty,i.patchCallbacks=r,i.getGlobalObjects=()=>({globalSources:de,zoneSymbolEventNames:Nt,eventNames:u,isBrowser:Rt,isMix:Ut,isNode:it,TRUE_STR:d,FALSE_STR:Z,ZONE_SYMBOL_PREFIX:M,ADD_EVENT_LISTENER_STR:yt,REMOVE_EVENT_LISTENER_STR:lt})})}(o)})(f),function ye(o){o.__load_patch("legacy",e=>{const c=e[o.__symbol__("legacyPatch")];c&&c()}),o.__load_patch("timers",e=>{const c="set",i="clear";Ft(e,c,i,"Timeout"),Ft(e,c,i,"Interval"),Ft(e,c,i,"Immediate")}),o.__load_patch("requestAnimationFrame",e=>{Ft(e,"request","cancel","AnimationFrame"),Ft(e,"mozRequest","mozCancel","AnimationFrame"),Ft(e,"webkitRequest","webkitCancel","AnimationFrame")}),o.__load_patch("blocking",(e,c)=>{const i=["alert","prompt","confirm"];for(let u=0;ufunction(E,C){return c.current.run(m,e,C,S)})}),o.__load_patch("EventTarget",(e,c,i)=>{(function ke(o,e){e.patchEventPrototype(o,e)})(e,i),function ne(o,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:u,FALSE_STR:h,ZONE_SYMBOL_PREFIX:m}=e.getGlobalObjects();for(let S=0;S{Bt("MutationObserver"),Bt("WebKitMutationObserver")}),o.__load_patch("IntersectionObserver",(e,c,i)=>{Bt("IntersectionObserver")}),o.__load_patch("FileReader",(e,c,i)=>{Bt("FileReader")}),o.__load_patch("on_property",(e,c,i)=>{!function Pe(o,e){if(it&&!Ut||Zone[o.symbol("patchEvents")])return;const c=e.__Zone_ignore_on_properties;let i=[];if(Rt){const u=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function we(){try{const o=At.navigator.userAgent;if(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:u,ignoreProperties:["error"]}]:[];vt(u,ce(u),c&&c.concat(h),at(u))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let u=0;u{!function _e(o,e){const{isBrowser:c,isMix:i}=e.getGlobalObjects();(c||i)&&o.customElements&&"customElements"in o&&e.patchCallbacks(e,o.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,i)}),o.__load_patch("XHR",(e,c)=>{!function E(C){const Q=C.XMLHttpRequest;if(!Q)return;const U=Q.prototype;let mt=U[I],ct=U[g];if(!mt){const B=C.XMLHttpRequestEventTarget;if(B){const x=B.prototype;mt=x[I],ct=x[g]}}const Lt="readystatechange",kt="scheduled";function H(B){const x=B.data,V=x.target;V[m]=!1,V[S]=!1;const Mt=V[h];mt||(mt=V[I],ct=V[g]),Mt&&ct.call(V,Lt,Mt);const Tt=V[h]=()=>{if(V.readyState===V.DONE)if(!x.aborted&&V[m]&&B.state===kt){const k=V[c.__symbol__("loadfalse")];if(0!==V.status&&k&&k.length>0){const p=B.invoke;B.invoke=function(){const s=V[c.__symbol__("loadfalse")];for(let T=0;Tfunction(B,x){return B[u]=0==x[2],B[P]=x[1],Et.apply(B,x)}),_t=z("fetchTaskAborting"),R=z("fetchTaskScheduling"),bt=It(U,"send",()=>function(B,x){if(!0===c.current[R]||B[u])return bt.apply(B,x);{const V={target:B,url:B[P],isPeriodic:!1,args:x,aborted:!1},Mt=ut("XMLHttpRequest.send",w,V,H,gt);B&&!0===B[S]&&!V.aborted&&Mt.state===kt&&Mt.invoke()}}),Y=It(U,"abort",()=>function(B,x){const V=function ot(B){return B[i]}(B);if(V&&"string"==typeof V.type){if(null==V.cancelFn||V.data&&V.data.aborted)return;V.zone.cancelTask(V)}else if(!0===c.current[_t])return Y.apply(B,x)})}(e);const i=z("xhrTask"),u=z("xhrSync"),h=z("xhrListener"),m=z("xhrScheduled"),P=z("xhrURL"),S=z("xhrErrorBeforeScheduled")}),o.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function jt(o,e){const c=o.constructor.name;for(let i=0;i{const S=function(){return P.apply(this,wt(arguments,c+"."+u))};return Ct(S,P),S})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),o.__load_patch("PromiseRejectionEvent",(e,c)=>{function i(u){return function(h){ee(e,u).forEach(P=>{const S=e.PromiseRejectionEvent;if(S){const E=new S(u,{promise:h.promise,reason:h.rejection});P.invoke(E)}})}}e.PromiseRejectionEvent&&(c[z("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),c[z("rejectionHandledHandler")]=i("rejectionhandled"))}),o.__load_patch("queueMicrotask",(e,c,i)=>{!function ge(o,e){e.patchMethod(o,"queueMicrotask",c=>function(i,u){Zone.current.scheduleMicroTask("queueMicrotask",u[0])})}(e,i)})}(f)}},rt=>{rt(rt.s=56780)}]);