From cd52975a169c36d12f28f5642684f7d29d45b300 Mon Sep 17 00:00:00 2001 From: Fernando Jose Lopez Lopez Date: Tue, 26 Mar 2024 07:18:48 +0100 Subject: [PATCH] docs creados --- docs/favicon.ico | Bin 0 -> 15086 bytes docs/index.html | 14 ++++++++++++++ docs/main-I5Y7ZNOW.js | 7 +++++++ docs/polyfills-RT5I6R6G.js | 2 ++ docs/styles-5INURTSO.css | 0 5 files changed, 23 insertions(+) create mode 100644 docs/favicon.ico create mode 100644 docs/index.html create mode 100644 docs/main-I5Y7ZNOW.js create mode 100644 docs/polyfills-RT5I6R6G.js create mode 100644 docs/styles-5INURTSO.css diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..57614f9c967596fad0a3989bec2b1deff33034f6 GIT binary patch literal 15086 zcmd^G33O9Omi+`8$@{|M-I6TH3wzF-p5CV8o}7f~KxR60LK+ApEFB<$bcciv%@SmA zV{n>g85YMFFeU*Uvl=i4v)C*qgnb;$GQ=3XTe9{Y%c`mO%su)noNCCQ*@t1WXn|B(hQ7i~ zrUK8|pUkD6#lNo!bt$6)jR!&C?`P5G(`e((P($RaLeq+o0Vd~f11;qB05kdbAOm?r zXv~GYr_sibQO9NGTCdT;+G(!{4Xs@4fPak8#L8PjgJwcs-Mm#nR_Z0s&u?nDX5^~@ z+A6?}g0|=4e_LoE69pPFO`yCD@BCjgKpzMH0O4Xs{Ahc?K3HC5;l=f zg>}alhBXX&);z$E-wai+9TTRtBX-bWYY@cl$@YN#gMd~tM_5lj6W%8ah4;uZ;jP@Q zVbuel1rPA?2@x9Y+u?e`l{Z4ngfG5q5BLH5QsEu4GVpt{KIp1?U)=3+KQ;%7ec8l* zdV=zZgN5>O3G(3L2fqj3;oBbZZw$Ij@`Juz@?+yy#OPw)>#wsTewVgTK9BGt5AbZ&?K&B3GVF&yu?@(Xj3fR3n+ZP0%+wo)D9_xp>Z$`A4 zfV>}NWjO#3lqumR0`gvnffd9Ka}JJMuHS&|55-*mCD#8e^anA<+sFZVaJe7{=p*oX zE_Uv?1>e~ga=seYzh{9P+n5<+7&9}&(kwqSaz;1aD|YM3HBiy<))4~QJSIryyqp| z8nGc(8>3(_nEI4n)n7j(&d4idW1tVLjZ7QbNLXg;LB ziHsS5pXHEjGJZb59KcvS~wv;uZR-+4qEqow`;JCfB*+b^UL^3!?;-^F%yt=VjU|v z39SSqKcRu_NVvz!zJzL0CceJaS6%!(eMshPv_0U5G`~!a#I$qI5Ic(>IONej@aH=f z)($TAT#1I{iCS4f{D2+ApS=$3E7}5=+y(rA9mM#;Cky%b*Gi0KfFA`ofKTzu`AV-9 znW|y@19rrZ*!N2AvDi<_ZeR3O2R{#dh1#3-d%$k${Rx42h+i&GZo5!C^dSL34*AKp z27mTd>k>?V&X;Nl%GZ(>0s`1UN~Hfyj>KPjtnc|)xM@{H_B9rNr~LuH`Gr5_am&Ep zTjZA8hljNj5H1Ipm-uD9rC}U{-vR!eay5&6x6FkfupdpT*84MVwGpdd(}ib)zZ3Ky z7C$pnjc82(W_y_F{PhYj?o!@3__UUvpX)v69aBSzYj3 zdi}YQkKs^SyXyFG2LTRz9{(w}y~!`{EuAaUr6G1M{*%c+kP1olW9z23dSH!G4_HSK zzae-DF$OGR{ofP*!$a(r^5Go>I3SObVI6FLY)N@o<*gl0&kLo-OT{Tl*7nCz>Iq=? zcigIDHtj|H;6sR?or8Wd_a4996GI*CXGU}o;D9`^FM!AT1pBY~?|4h^61BY#_yIfO zKO?E0 zJ{Pc`9rVEI&$xxXu`<5E)&+m(7zX^v0rqofLs&bnQT(1baQkAr^kEsk)15vlzAZ-l z@OO9RF<+IiJ*O@HE256gCt!bF=NM*vh|WVWmjVawcNoksRTMvR03H{p@cjwKh(CL4 z7_PB(dM=kO)!s4fW!1p0f93YN@?ZSG` z$B!JaAJCtW$B97}HNO9(x-t30&E}Mo1UPi@Av%uHj~?T|!4JLwV;KCx8xO#b9IlUW zI6+{a@Wj|<2Y=U;a@vXbxqZNngH8^}LleE_4*0&O7#3iGxfJ%Id>+sb;7{L=aIic8 z|EW|{{S)J-wr@;3PmlxRXU8!e2gm_%s|ReH!reFcY8%$Hl4M5>;6^UDUUae?kOy#h zk~6Ee_@ZAn48Bab__^bNmQ~+k=02jz)e0d9Z3>G?RGG!65?d1>9}7iG17?P*=GUV-#SbLRw)Hu{zx*azHxWkGNTWl@HeWjA?39Ia|sCi{e;!^`1Oec zb>Z|b65OM*;eC=ZLSy?_fg$&^2xI>qSLA2G*$nA3GEnp3$N-)46`|36m*sc#4%C|h zBN<2U;7k>&G_wL4=Ve5z`ubVD&*Hxi)r@{4RCDw7U_D`lbC(9&pG5C*z#W>8>HU)h z!h3g?2UL&sS!oY5$3?VlA0Me9W5e~V;2jds*fz^updz#AJ%G8w2V}AEE?E^=MK%Xt z__Bx1cr7+DQmuHmzn*|hh%~eEc9@m05@clWfpEFcr+06%0&dZJH&@8^&@*$qR@}o3 z@Tuuh2FsLz^zH+dN&T&?0G3I?MpmYJ;GP$J!EzjeM#YLJ!W$}MVNb0^HfOA>5Fe~UNn%Zk(PT@~9}1dt)1UQ zU*B5K?Dl#G74qmg|2>^>0WtLX#Jz{lO4NT`NYB*(L#D|5IpXr9v&7a@YsGp3vLR7L zHYGHZg7{ie6n~2p$6Yz>=^cEg7tEgk-1YRl%-s7^cbqFb(U7&Dp78+&ut5!Tn(hER z|Gp4Ed@CnOPeAe|N>U(dB;SZ?NU^AzoD^UAH_vamp6Ws}{|mSq`^+VP1g~2B{%N-!mWz<`)G)>V-<`9`L4?3dM%Qh6<@kba+m`JS{Ya@9Fq*m6$$ zA1%Ogc~VRH33|S9l%CNb4zM%k^EIpqY}@h{w(aBcJ9c05oiZx#SK9t->5lSI`=&l~ z+-Ic)a{FbBhXV$Xt!WRd`R#Jk-$+_Z52rS>?Vpt2IK<84|E-SBEoIw>cs=a{BlQ7O z-?{Fy_M&84&9|KM5wt~)*!~i~E=(6m8(uCO)I=)M?)&sRbzH$9Rovzd?ZEY}GqX+~ zFbEbLz`BZ49=2Yh-|<`waK-_4!7`ro@zlC|r&I4fc4oyb+m=|c8)8%tZ-z5FwhzDt zL5kB@u53`d@%nHl0Sp)Dw`(QU&>vujEn?GPEXUW!Wi<+4e%BORl&BIH+SwRcbS}X@ z01Pk|vA%OdJKAs17zSXtO55k!;%m9>1eW9LnyAX4uj7@${O6cfii`49qTNItzny5J zH&Gj`e}o}?xjQ}r?LrI%FjUd@xflT3|7LA|ka%Q3i}a8gVm<`HIWoJGH=$EGClX^C0lysQJ>UO(q&;`T#8txuoQ_{l^kEV9CAdXuU1Ghg8 zN_6hHFuy&1x24q5-(Z7;!poYdt*`UTdrQOIQ!2O7_+AHV2hgXaEz7)>$LEdG z<8vE^Tw$|YwZHZDPM!SNOAWG$?J)MdmEk{U!!$M#fp7*Wo}jJ$Q(=8>R`Ats?e|VU?Zt7Cdh%AdnfyN3MBWw{ z$OnREvPf7%z6`#2##_7id|H%Y{vV^vWXb?5d5?a_y&t3@p9t$ncHj-NBdo&X{wrfJ zamN)VMYROYh_SvjJ=Xd!Ga?PY_$;*L=SxFte!4O6%0HEh%iZ4=gvns7IWIyJHa|hT z2;1+e)`TvbNb3-0z&DD_)Jomsg-7p_Uh`wjGnU1urmv1_oVqRg#=C?e?!7DgtqojU zWoAB($&53;TsXu^@2;8M`#z{=rPy?JqgYM0CDf4v@z=ZD|ItJ&8%_7A#K?S{wjxgd z?xA6JdJojrWpB7fr2p_MSsU4(R7=XGS0+Eg#xR=j>`H@R9{XjwBmqAiOxOL` zt?XK-iTEOWV}f>Pz3H-s*>W z4~8C&Xq25UQ^xH6H9kY_RM1$ch+%YLF72AA7^b{~VNTG}Tj#qZltz5Q=qxR`&oIlW Nr__JTFzvMr^FKp4S3v*( literal 0 HcmV?d00001 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..af48f20 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,14 @@ + + + + + Bases + + + + + + + + + diff --git a/docs/main-I5Y7ZNOW.js b/docs/main-I5Y7ZNOW.js new file mode 100644 index 0000000..38035a9 --- /dev/null +++ b/docs/main-I5Y7ZNOW.js @@ -0,0 +1,7 @@ +var Hp=Object.defineProperty,zp=Object.defineProperties;var Gp=Object.getOwnPropertyDescriptors;var Dc=Object.getOwnPropertySymbols;var Wp=Object.prototype.hasOwnProperty,qp=Object.prototype.propertyIsEnumerable;var Cc=(t,e,r)=>e in t?Hp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,g=(t,e)=>{for(var r in e||={})Wp.call(e,r)&&Cc(t,r,e[r]);if(Dc)for(var r of Dc(e))qp.call(e,r)&&Cc(t,r,e[r]);return t},V=(t,e)=>zp(t,Gp(e));var wc=null;var Go=1,Wo=Symbol("SIGNAL");function R(t){let e=wc;return wc=t,e}var Ec={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Zp(t){if(!(Yo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Go)){if(!t.producerMustRecompute(t)&&!qo(t)){t.dirty=!1,t.lastCleanEpoch=Go;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Go}}function Ic(t){return t&&(t.nextProducerIndex=0),R(t)}function bc(t,e){if(R(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Yo(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function qo(t){jr(t);for(let e=0;e0}function jr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Yp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Qp(){throw new Error}var Kp=Qp;function _c(t){Kp=t}function I(t){return typeof t=="function"}function qt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var $r=qt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Bn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Y=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(I(n))try{n()}catch(o){e=o instanceof $r?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Sc(o)}catch(s){e=e??[],s instanceof $r?e=[...e,...s.errors]:e.push(s)}}if(e)throw new $r(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Sc(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Bn(r,e)}remove(e){let{_finalizers:r}=this;r&&Bn(r,e),e instanceof t&&e._removeParent(this)}};Y.EMPTY=(()=>{let t=new Y;return t.closed=!0,t})();var Qo=Y.EMPTY;function Ur(t){return t instanceof Y||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function Sc(t){I(t)?t():t.unsubscribe()}var Te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zt={setTimeout(t,e,...r){let{delegate:n}=Zt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Zt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Br(t){Zt.setTimeout(()=>{let{onUnhandledError:e}=Te;if(e)e(t);else throw t})}function Hn(){}var xc=Ko("C",void 0,void 0);function Tc(t){return Ko("E",void 0,t)}function Ac(t){return Ko("N",t,void 0)}function Ko(t,e,r){return{kind:t,value:e,error:r}}var Et=null;function Yt(t){if(Te.useDeprecatedSynchronousErrorHandling){let e=!Et;if(e&&(Et={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Et;if(Et=null,r)throw n}}else t()}function Nc(t){Te.useDeprecatedSynchronousErrorHandling&&Et&&(Et.errorThrown=!0,Et.error=t)}var It=class extends Y{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ur(e)&&e.add(this)):this.destination=eg}static create(e,r,n){return new Qt(e,r,n)}next(e){this.isStopped?Xo(Ac(e),this):this._next(e)}error(e){this.isStopped?Xo(Tc(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Xo(xc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Jp=Function.prototype.bind;function Jo(t,e){return Jp.call(t,e)}var es=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Hr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Hr(n)}else Hr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Hr(r)}}},Qt=class extends It{constructor(e,r,n){super();let i;if(I(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&Te.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Jo(e.next,o),error:e.error&&Jo(e.error,o),complete:e.complete&&Jo(e.complete,o)}):i=e}this.destination=new es(i)}};function Hr(t){Te.useDeprecatedSynchronousErrorHandling?Nc(t):Br(t)}function Xp(t){throw t}function Xo(t,e){let{onStoppedNotification:r}=Te;r&&Zt.setTimeout(()=>r(t,e))}var eg={closed:!0,next:Hn,error:Xp,complete:Hn};var Kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fe(t){return t}function ts(...t){return ns(t)}function ns(t){return t.length===0?fe:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var F=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=ng(r)?r:new Qt(r,n,i);return Yt(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Rc(n),new n((i,o)=>{let s=new Qt({next:a=>{try{r(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Kt](){return this}pipe(...r){return ns(r)(this)}toPromise(r){return r=Rc(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Rc(t){var e;return(e=t??Te.Promise)!==null&&e!==void 0?e:Promise}function tg(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function ng(t){return t&&t instanceof It||tg(t)&&Ur(t)}function rs(t){return I(t?.lift)}function N(t){return e=>{if(rs(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(t,e,r,n,i){return new is(t,e,r,n,i)}var is=class extends It{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Jt(){return N((t,e)=>{let r=null;t._refCount++;let n=S(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Xt=class extends F{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,rs(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Y;let r=this.getSubject();e.add(this.source.subscribe(S(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Y.EMPTY)}return e}refCount(){return Jt()(this)}};var Oc=qt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new zr(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Oc}next(r){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Qo:(this.currentObservers=null,o.push(r),new Y(()=>{this.currentObservers=null,Bn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new F;return r.source=this,r}}return t.create=(e,r)=>new zr(e,r),t})(),zr=class extends re{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Qo}};var X=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var he=new F(t=>t.complete());function Fc(t){return t&&I(t.schedule)}function Pc(t){return t[t.length-1]}function Gr(t){return I(Pc(t))?t.pop():void 0}function st(t){return Fc(Pc(t))?t.pop():void 0}function Lc(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function kc(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function bt(t){return this instanceof bt?(this.v=t,this):new bt(t)}function Vc(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(v,A){o.push([f,h,v,A])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(v){d(o[0][3],v)}}function u(f){f.value instanceof bt?Promise.resolve(f.value.v).then(c,l):d(o[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function jc(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof kc=="function"?kc(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,u){s=t[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}var Wr=t=>t&&typeof t.length=="number"&&typeof t!="function";function qr(t){return I(t?.then)}function Zr(t){return I(t[Kt])}function Yr(t){return Symbol.asyncIterator&&I(t?.[Symbol.asyncIterator])}function Qr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function rg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kr=rg();function Jr(t){return I(t?.[Kr])}function Xr(t){return Vc(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield bt(r.read());if(i)return yield bt(void 0);yield yield bt(n)}}finally{r.releaseLock()}})}function ei(t){return I(t?.getReader)}function z(t){if(t instanceof F)return t;if(t!=null){if(Zr(t))return ig(t);if(Wr(t))return og(t);if(qr(t))return sg(t);if(Yr(t))return $c(t);if(Jr(t))return ag(t);if(ei(t))return ug(t)}throw Qr(t)}function ig(t){return new F(e=>{let r=t[Kt]();if(I(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function og(t){return new F(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Br)})}function ag(t){return new F(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function $c(t){return new F(e=>{cg(t,e).catch(r=>e.error(r))})}function ug(t){return $c(Xr(t))}function cg(t,e){var r,n,i,o;return Lc(this,void 0,void 0,function*(){try{for(r=jc(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function ae(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function ti(t,e=0){return N((r,n)=>{r.subscribe(S(n,i=>ae(n,t,()=>n.next(i),e),()=>ae(n,t,()=>n.complete(),e),i=>ae(n,t,()=>n.error(i),e)))})}function ni(t,e=0){return N((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Uc(t,e){return z(t).pipe(ni(e),ti(e))}function Bc(t,e){return z(t).pipe(ni(e),ti(e))}function Hc(t,e){return new F(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function zc(t,e){return new F(r=>{let n;return ae(r,e,()=>{n=t[Kr](),ae(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>I(n?.return)&&n.return()})}function ri(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(r=>{ae(r,e,()=>{let n=t[Symbol.asyncIterator]();ae(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Gc(t,e){return ri(Xr(t),e)}function Wc(t,e){if(t!=null){if(Zr(t))return Uc(t,e);if(Wr(t))return Hc(t,e);if(qr(t))return Bc(t,e);if(Yr(t))return ri(t,e);if(Jr(t))return zc(t,e);if(ei(t))return Gc(t,e)}throw Qr(t)}function B(t,e){return e?Wc(t,e):z(t)}function w(...t){let e=st(t);return B(t,e)}function en(t,e){let r=I(t)?t:()=>t,n=i=>i.error(r());return new F(e?i=>e.schedule(n,0,i):n)}function os(t){return!!t&&(t instanceof F||I(t.lift)&&I(t.subscribe))}var Ke=qt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function x(t,e){return N((r,n)=>{let i=0;r.subscribe(S(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:lg}=Array;function dg(t,e){return lg(e)?t(...e):t(e)}function ii(t){return x(e=>dg(t,e))}var{isArray:fg}=Array,{getPrototypeOf:hg,prototype:pg,keys:gg}=Object;function oi(t){if(t.length===1){let e=t[0];if(fg(e))return{args:e,keys:null};if(mg(e)){let r=gg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function mg(t){return t&&typeof t=="object"&&hg(t)===pg}function si(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function zn(...t){let e=st(t),r=Gr(t),{args:n,keys:i}=oi(t);if(n.length===0)return B([],e);let o=new F(vg(n,e,i?s=>si(i,s):fe));return r?o.pipe(ii(r)):o}function vg(t,e,r=fe){return n=>{qc(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let u=0;u{let c=B(t[u],e),l=!1;c.subscribe(S(n,d=>{o[u]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function qc(t,e,r){t?ae(r,t,e):e()}function Zc(t,e,r,n,i,o,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=A=>c{o&&e.next(A),c++;let H=!1;z(r(A,l++)).subscribe(S(e,O=>{i?.(O),o?h(O):e.next(O)},()=>{H=!0},void 0,()=>{if(H)try{for(c--;u.length&&cv(O)):v(O)}f()}catch(O){e.error(O)}}))};return t.subscribe(S(e,h,()=>{d=!0,f()})),()=>{a?.()}}function G(t,e,r=1/0){return I(e)?G((n,i)=>x((o,s)=>e(n,o,i,s))(z(t(n,i))),r):(typeof e=="number"&&(r=e),N((n,i)=>Zc(n,i,t,r)))}function tn(t=1/0){return G(fe,t)}function Yc(){return tn(1)}function nn(...t){return Yc()(B(t,st(t)))}function ai(t){return new F(e=>{z(t()).subscribe(e)})}function ss(...t){let e=Gr(t),{args:r,keys:n}=oi(t),i=new F(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||o.next(n?si(n,a):a),o.complete())}))}});return e?i.pipe(ii(e)):i}function Ce(t,e){return N((r,n)=>{let i=0;r.subscribe(S(n,o=>t.call(e,o,i++)&&n.next(o)))})}function at(t){return N((e,r)=>{let n=null,i=!1,o;n=e.subscribe(S(r,void 0,void 0,s=>{o=z(t(s,at(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Qc(t,e,r,n,i){return(o,s)=>{let a=r,u=e,c=0;o.subscribe(S(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Mt(t,e){return I(e)?G(t,e,1):G(t,1)}function ut(t){return N((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Je(t){return t<=0?()=>he:N((e,r)=>{let n=0;e.subscribe(S(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function as(t){return x(()=>t)}function ui(t=yg){return N((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function yg(){return new Ke}function Gn(t){return N((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ke(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ce((i,o)=>t(i,o,n)):fe,Je(1),r?ut(e):ui(()=>new Ke))}function rn(t){return t<=0?()=>he:N((e,r)=>{let n=[];e.subscribe(S(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function us(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ce((i,o)=>t(i,o,n)):fe,rn(1),r?ut(e):ui(()=>new Ke))}function cs(t,e){return N(Qc(t,e,arguments.length>=2,!0))}function ls(...t){let e=st(t);return N((r,n)=>{(e?nn(t,r,e):nn(t,r)).subscribe(n)})}function we(t,e){return N((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(S(n,u=>{i?.unsubscribe();let c=0,l=o++;z(t(u,l)).subscribe(i=S(n,d=>n.next(e?e(u,d,l,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function ds(t){return N((e,r)=>{z(t).subscribe(S(r,()=>r.complete(),Hn)),!r.closed&&e.subscribe(r)})}function ee(t,e,r){let n=I(t)||e||r?{next:t,error:e,complete:r}:t;return n?N((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(S(o,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),o.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),o.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),o.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):fe}var Dg="https://g.co/ng/security#xss",m=class extends Error{constructor(e,r){super(pa(e,r)),this.code=e}};function pa(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function ir(t){return{toString:t}.toString()}var ci="__parameters__";function Cg(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Pl(t,e,r){return ir(()=>{let n=Cg(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(ci)?u[ci]:Object.defineProperty(u,ci,{value:[]})[ci];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var pe=globalThis;function L(t){for(let e in t)if(t[e]===L)return e;throw Error("Could not find renamed property on target object.")}function wg(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ue(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ue).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Kc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Eg=L({__forward_ref__:L});function Pt(t){return t.__forward_ref__=Pt,t.toString=function(){return ue(this())},t}function ie(t){return kl(t)?t():t}function kl(t){return typeof t=="function"&&t.hasOwnProperty(Eg)&&t.__forward_ref__===Pt}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function W(t){return{providers:t.providers||[],imports:t.imports||[]}}function $i(t){return Jc(t,Vl)||Jc(t,jl)}function Ll(t){return $i(t)!==null}function Jc(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ig(t){let e=t&&(t[Vl]||t[jl]);return e||null}function Xc(t){return t&&(t.hasOwnProperty(el)||t.hasOwnProperty(bg))?t[el]:null}var Vl=L({\u0275prov:L}),el=L({\u0275inj:L}),jl=L({ngInjectableDef:L}),bg=L({ngInjectorDef:L}),D=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=y({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function $l(t){return t&&!!t.\u0275providers}var Mg=L({\u0275cmp:L}),_g=L({\u0275dir:L}),Sg=L({\u0275pipe:L}),xg=L({\u0275mod:L}),yi=L({\u0275fac:L}),Wn=L({__NG_ELEMENT_ID__:L}),tl=L({__NG_ENV_ID__:L});function Ul(t){return typeof t=="string"?t:t==null?"":String(t)}function Tg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ul(t)}function Ag(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new m(-200,t)}function ga(t,e){throw new m(-201,!1)}var M=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(M||{}),_s;function Bl(){return _s}function Ee(t){let e=_s;return _s=t,e}function Hl(t,e,r){let n=$i(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&M.Optional)return null;if(e!==void 0)return e;ga(t,"Injector")}var Ng={},Zn=Ng,Ss="__NG_DI_FLAG__",Di="ngTempTokenPath",Rg="ngTokenPath",Og=/\n/gm,Fg="\u0275",nl="__source",cn;function Pg(){return cn}function ct(t){let e=cn;return cn=t,e}function kg(t,e=M.Default){if(cn===void 0)throw new m(-203,!1);return cn===null?Hl(t,void 0,e):cn.get(t,e&M.Optional?null:void 0,e)}function C(t,e=M.Default){return(Bl()||kg)(ie(t),e)}function p(t,e=M.Default){return C(t,Ui(e))}function Ui(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function xs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ue(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Og,` + `)}`}var Bi=zl(Pl("Optional"),8);var ma=zl(Pl("SkipSelf"),4);function dn(t,e){let r=t.hasOwnProperty(yi);return r?t[yi]:null}function va(t,e){t.forEach(r=>Array.isArray(r)?va(r,e):e(r))}function Gl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ci(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function $g(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Ug(t,e,r){let n=or(t,e);return n>=0?t[n|1]=r:(n=~n,$g(t,n,e,r)),n}function fs(t,e){let r=or(t,e);if(r>=0)return t[r|1]}function or(t,e){return Bg(t,e,1)}function Bg(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),n&2&&c!==d){if(Ae(n))return!1;s=!0}}}}return Ae(n)||s}function Ae(t){return(t&1)===0}function Yg(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Ae(s)&&(e+=il(o,i),i=""),n=s,o=o||!Ae(n);r++}return i!==""&&(e+=il(o,i)),e}function em(t){return t.map(Xg).join(",")}function tm(t){let e=[],r=[],n=1,i=2;for(;n{let e=ed(t),r=V(g({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Zl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||je.Emulated,styles:t.styles||Ie,_:null,schemas:t.schemas||null,tView:null,id:""});td(r);let n=t.dependencies;return r.directiveDefs=sl(n,!1),r.pipeDefs=sl(n,!0),r.id=im(r),r})}function nm(t){return dt(t)||Ql(t)}function rm(t){return t!==null}function q(t){return ir(()=>({type:t.type,bootstrap:t.bootstrap||Ie,declarations:t.declarations||Ie,imports:t.imports||Ie,exports:t.exports||Ie,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ol(t,e){if(t==null)return fn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=ce.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==ce.None?[n,a]:n,e[o]=s):r[o]=n}return r}function oe(t){return ir(()=>{let e=ed(t);return td(e),e})}function dt(t){return t[Mg]||null}function Ql(t){return t[_g]||null}function Kl(t){return t[Sg]||null}function Jl(t){let e=dt(t)||Ql(t)||Kl(t);return e!==null?e.standalone:!1}function Xl(t,e){let r=t[xg]||null;if(!r&&e===!0)throw new Error(`Type ${ue(t)} does not have '\u0275mod' property.`);return r}function ed(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||fn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ie,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ol(t.inputs,e),outputs:ol(t.outputs),debugInfo:null}}function td(t){t.features?.forEach(e=>e(t))}function sl(t,e){if(!t)return null;let r=e?Kl:nm;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(rm)}function im(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function om(...t){return{\u0275providers:nd(!0,t),\u0275fromNgModule:!0}}function nd(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return va(e,s=>{let a=s;As(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&rd(i,o),r}function rd(t,e){for(let r=0;r{e(o,n)})}}function As(t,e,r,n){if(t=ie(t),!t)return!1;let i=null,o=Xc(t),s=!o&&dt(t);if(!o&&!s){let u=t.ngModule;if(o=Xc(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)As(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{va(o.imports,l=>{As(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&rd(c,e)}if(!a){let c=dn(i)||(()=>new i);e({provide:i,useFactory:c,deps:Ie},i),e({provide:ql,useValue:i,multi:!0},i),e({provide:hn,useValue:()=>C(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=t;Da(u,l=>{e(l,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Da(t,e){for(let r of t)$l(r)&&(r=r.\u0275providers),Array.isArray(r)?Da(r,e):e(r)}var sm=L({provide:String,useValue:L});function id(t){return t!==null&&typeof t=="object"&&sm in t}function am(t){return!!(t&&t.useExisting)}function um(t){return!!(t&&t.useFactory)}function pn(t){return typeof t=="function"}function cm(t){return!!t.useClass}var Hi=new D(""),hi={},lm={},hs;function Ca(){return hs===void 0&&(hs=new wi),hs}var ge=class{},Qn=class extends ge{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rs(e,s=>this.processProvider(s)),this.records.set(Wl,on(void 0,this)),i.has("environment")&&this.records.set(ge,on(void 0,this));let o=this.records.get(Hi);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ql,Ie,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=R(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=ct(this),n=Ee(void 0),i;try{return e()}finally{ct(r),Ee(n)}}get(e,r=Zn,n=M.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(tl))return e[tl](this);n=Ui(n);let i,o=ct(this),s=Ee(void 0);try{if(!(n&M.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=gm(e)&&$i(e);c&&this.injectableDefInScope(c)?u=on(Ns(e),hi):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&M.Self?Ca():this.parent;return r=n&M.Optional&&r===Zn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Di]=a[Di]||[]).unshift(ue(e)),o)throw a;return Vg(a,e,"R3InjectorError",this.source)}else throw a}finally{Ee(s),ct(o)}}resolveInjectorInitializers(){let e=R(null),r=ct(this),n=Ee(void 0),i;try{let o=this.get(hn,Ie,M.Self);for(let s of o)s()}finally{ct(r),Ee(n),R(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ue(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new m(205,!1)}processProvider(e){e=ie(e);let r=pn(e)?e:ie(e&&e.provide),n=fm(e);if(!pn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=on(void 0,hi,!0),i.factory=()=>xs(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=R(null);try{return r.value===hi&&(r.value=lm,r.value=r.factory()),typeof r.value=="object"&&r.value&&pm(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{R(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ie(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ns(t){let e=$i(t),r=e!==null?e.factory:dn(t);if(r!==null)return r;if(t instanceof D)throw new m(204,!1);if(t instanceof Function)return dm(t);throw new m(204,!1)}function dm(t){if(t.length>0)throw new m(204,!1);let r=Ig(t);return r!==null?()=>r.factory(t):()=>new t}function fm(t){if(id(t))return on(void 0,t.useValue);{let e=od(t);return on(e,hi)}}function od(t,e,r){let n;if(pn(t)){let i=ie(t);return dn(i)||Ns(i)}else if(id(t))n=()=>ie(t.useValue);else if(um(t))n=()=>t.useFactory(...xs(t.deps||[]));else if(am(t))n=()=>C(ie(t.useExisting));else{let i=ie(t&&(t.useClass||t.provide));if(hm(t))n=()=>new i(...xs(t.deps));else return dn(i)||Ns(i)}return n}function on(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function hm(t){return!!t.deps}function pm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function gm(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function Rs(t,e){for(let r of t)Array.isArray(r)?Rs(r,e):r&&$l(r)?Rs(r.\u0275providers,e):e(r)}function et(t,e){t instanceof Qn&&t.assertNotDestroyed();let r,n=ct(t),i=Ee(void 0);try{return e()}finally{ct(n),Ee(i)}}function sd(){return Bl()!==void 0||Pg()!=null}function mm(t){if(!sd())throw new m(-203,!1)}function vm(t){let e=pe.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function ym(t){return typeof t=="function"}var tt=0,T=1,E=2,ne=3,Ne=4,Oe=5,Ei=6,Kn=7,Re=8,gn=9,$e=10,K=11,Jn=12,al=13,wn=14,Ue=15,zi=16,sn=17,mn=18,Gi=19,ad=20,lt=21,ps=22,xt=23,ft=25,ud=1;var Tt=7,Ii=8,bi=9,be=10,wa=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(wa||{});function _t(t){return Array.isArray(t)&&typeof t[ud]=="object"}function nt(t){return Array.isArray(t)&&t[ud]===!0}function cd(t){return(t.flags&4)!==0}function Wi(t){return t.componentOffset>-1}function Ea(t){return(t.flags&1)===1}function ht(t){return!!t.template}function Dm(t){return(t[E]&512)!==0}var Os=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ld(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function En(){return dd}function dd(t){return t.type.prototype.ngOnChanges&&(t.setInput=wm),Cm}En.ngInherit=!0;function Cm(){let t=hd(this),e=t?.current;if(e){let r=t.previous;if(r===fn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function wm(t,e,r,n,i){let o=this.declaredInputs[n],s=hd(t)||Em(t,{previous:fn,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[o];a[o]=new Os(c&&c.currentValue,r,u===fn),ld(t,e,i,r)}var fd="__ngSimpleChanges__";function hd(t){return t[fd]||null}function Em(t,e){return t[fd]=e}var ul=null;var Le=function(t,e,r){ul?.(t,e,r)},Im="svg",bm="math",Mm=!1;function _m(){return Mm}function Be(t){for(;Array.isArray(t);)t=t[tt];return t}function pd(t,e){return Be(e[t])}function Fe(t,e){return Be(e[t.index])}function gd(t,e){return t.data[e]}function gt(t,e){let r=e[t];return _t(r)?r:r[tt]}function Ia(t){return(t[E]&128)===128}function Sm(t){return nt(t[ne])}function Mi(t,e){return e==null?null:t[e]}function md(t){t[sn]=0}function xm(t){t[E]&1024||(t[E]|=1024,Ia(t)&&Xn(t))}function Tm(t,e){for(;t>0;)e=e[wn],t--;return e}function ba(t){return!!(t[E]&9216||t[xt]?.dirty)}function Fs(t){t[$e].changeDetectionScheduler?.notify(1),ba(t)?Xn(t):t[E]&64&&(_m()?(t[E]|=1024,Xn(t)):t[$e].changeDetectionScheduler?.notify())}function Xn(t){t[$e].changeDetectionScheduler?.notify();let e=er(t);for(;e!==null&&!(e[E]&8192||(e[E]|=8192,!Ia(e)));)e=er(e)}function vd(t,e){if((t[E]&256)===256)throw new m(911,!1);t[lt]===null&&(t[lt]=[]),t[lt].push(e)}function Am(t,e){if(t[lt]===null)return;let r=t[lt].indexOf(e);r!==-1&&t[lt].splice(r,1)}function er(t){let e=t[ne];return nt(e)?e[ne]:e}var _={lFrame:_d(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nm(){return _.lFrame.elementDepthCount}function Rm(){_.lFrame.elementDepthCount++}function Om(){_.lFrame.elementDepthCount--}function yd(){return _.bindingsEnabled}function Fm(){return _.skipHydrationRootTNode!==null}function Pm(t){return _.skipHydrationRootTNode===t}function km(){_.skipHydrationRootTNode=null}function U(){return _.lFrame.lView}function Me(){return _.lFrame.tView}function Dd(t){return _.lFrame.contextLView=t,t[Re]}function Cd(t){return _.lFrame.contextLView=null,t}function me(){let t=wd();for(;t!==null&&t.type===64;)t=t.parent;return t}function wd(){return _.lFrame.currentTNode}function Lm(){let t=_.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function sr(t,e){let r=_.lFrame;r.currentTNode=t,r.isParent=e}function Ed(){return _.lFrame.isParent}function Vm(){_.lFrame.isParent=!1}function jm(){let t=_.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function $m(t){return _.lFrame.bindingIndex=t}function Ma(){return _.lFrame.bindingIndex++}function Um(t){let e=_.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Bm(){return _.lFrame.inI18n}function Hm(t,e){let r=_.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ps(e)}function zm(){return _.lFrame.currentDirectiveIndex}function Ps(t){_.lFrame.currentDirectiveIndex=t}function Gm(t){let e=_.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Id(t){_.lFrame.currentQueryIndex=t}function Wm(t){let e=t[T];return e.type===2?e.declTNode:e.type===1?t[Oe]:null}function bd(t,e,r){if(r&M.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&M.Host);)if(i=Wm(o),i===null||(o=o[wn],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=_.lFrame=Md();return n.currentTNode=e,n.lView=t,!0}function _a(t){let e=Md(),r=t[T];_.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Md(){let t=_.lFrame,e=t===null?null:t.child;return e===null?_d(t):e}function _d(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Sd(){let t=_.lFrame;return _.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var xd=Sd;function Sa(){let t=Sd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function qm(t){return(_.lFrame.contextLView=Tm(t,_.lFrame.contextLView))[Re]}function In(){return _.lFrame.selectedIndex}function At(t){_.lFrame.selectedIndex=t}function Td(){let t=_.lFrame;return gd(t.tView,t.selectedIndex)}function Zm(){return _.lFrame.currentNamespace}var Ad=!0;function xa(){return Ad}function Ta(t){Ad=t}function Ym(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=dd(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Aa(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[sn]+=65536),(a>14>16&&(t[E]&3)===e&&(t[E]+=16384,cl(a,o)):cl(a,o)}var ln=-1,Nt=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Km(t){return t instanceof Nt}function Jm(t){return(t.flags&8)!==0}function Xm(t){return(t.flags&16)!==0}function Rd(t){return t!==ln}function _i(t){return t&32767}function ev(t){return t>>16}function Si(t,e){let r=ev(t),n=e;for(;r>0;)n=n[wn],r--;return n}var ks=!0;function ll(t){let e=ks;return ks=t,e}var tv=256,Od=tv-1,Fd=5,nv=0,Ve={};function rv(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wn)&&(n=r[Wn]),n==null&&(n=r[Wn]=nv++);let i=n&Od,o=1<>Fd)]|=o}function xi(t,e){let r=Pd(t,e);if(r!==-1)return r;let n=e[T];n.firstCreatePass&&(t.injectorIndex=e.length,ms(n.data,t),ms(e,null),ms(n.blueprint,null));let i=Na(t,e),o=t.injectorIndex;if(Rd(i)){let s=_i(i),a=Si(i,e),u=a[T].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|u[s+c]}return e[o+8]=i,o}function ms(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Pd(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Na(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=$d(i),n===null)return ln;if(r++,i=i[wn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ln}function Ls(t,e,r){rv(t,e,r)}function kd(t,e,r){if(r&M.Optional||t!==void 0)return t;ga(e,"NodeInjector")}function Ld(t,e,r,n){if(r&M.Optional&&n===void 0&&(n=null),!(r&(M.Self|M.Host))){let i=t[gn],o=Ee(void 0);try{return i?i.get(e,n,r&M.Optional):Hl(e,n,r&M.Optional)}finally{Ee(o)}}return kd(n,e,r)}function Vd(t,e,r,n=M.Default,i){if(t!==null){if(e[E]&2048&&!(n&M.Self)){let s=uv(t,e,r,n,Ve);if(s!==Ve)return s}let o=jd(t,e,r,n,Ve);if(o!==Ve)return o}return Ld(e,r,n,i)}function jd(t,e,r,n,i){let o=sv(r);if(typeof o=="function"){if(!bd(e,t,n))return n&M.Host?kd(i,r,n):Ld(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&M.Optional))ga(r);else return s}finally{xd()}}else if(typeof o=="number"){let s=null,a=Pd(t,e),u=ln,c=n&M.Host?e[Ue][Oe]:null;for((a===-1||n&M.SkipSelf)&&(u=a===-1?Na(t,e):e[a+8],u===ln||!fl(n,!1)?a=-1:(s=e[T],a=_i(u),e=Si(u,e)));a!==-1;){let l=e[T];if(dl(o,a,l.data)){let d=iv(a,e,r,s,n,c);if(d!==Ve)return d}u=e[a+8],u!==ln&&fl(n,e[T].data[a+8]===c)&&dl(o,a,e)?(s=l,a=_i(u),e=Si(u,e)):a=-1}}return i}function iv(t,e,r,n,i,o){let s=e[T],a=s.data[t+8],u=n==null?Wi(a)&&ks:n!=s&&(a.type&3)!==0,c=i&M.Host&&o===a,l=ov(a,s,r,u,c);return l!==null?vn(e,s,l,a):Ve}function ov(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,c=t.directiveEnd,l=o>>20,d=n?a:a+l,f=i?a+l:c;for(let h=d;h=u&&v.type===r)return h}if(i){let h=s[u];if(h&&ht(h)&&h.type===r)return u}return null}function vn(t,e,r,n){let i=t[r],o=e.data;if(Km(i)){let s=i;s.resolving&&Ag(Tg(o[r]));let a=ll(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Ee(s.injectImpl):null,l=bd(t,n,M.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&Ym(r,o[r],e)}finally{c!==null&&Ee(c),ll(a),s.resolving=!1,xd()}}return i}function sv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wn)?t[Wn]:void 0;return typeof e=="number"?e>=0?e&Od:av:e}function dl(t,e,r){let n=1<>Fd)]&n)}function fl(t,e){return!(t&M.Self)&&!(t&M.Host&&e)}var St=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Vd(this._tNode,this._lView,e,Ui(n),r)}};function av(){return new St(me(),U())}function bn(t){return ir(()=>{let e=t.prototype.constructor,r=e[yi]||Vs(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[yi]||Vs(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Vs(t){return kl(t)?()=>{let e=Vs(ie(t));return e&&e()}:dn(t)}function uv(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=jd(o,s,r,n|M.Self,Ve);if(a!==Ve)return a;let u=o.parent;if(!u){let c=s[ad];if(c){let l=c.get(r,Ve,n);if(l!==Ve)return l}u=$d(s),s=s[wn]}o=u}return i}function $d(t){let e=t[T],r=e.type;return r===2?e.declTNode:r===1?t[Oe]:null}function hl(t,e=null,r=null,n){let i=Ud(t,e,r,n);return i.resolveInjectorInitializers(),i}function Ud(t,e=null,r=null,n,i=new Set){let o=[r||Ie,om(t)];return n=n||(typeof t=="object"?void 0:ue(t)),new Qn(o,e||Ca(),n||null,i)}var Pe=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return hl({name:""},i,n,"");{let o=n.name??"";return hl({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Zn,e.NULL=new wi,e.\u0275prov=y({token:e,providedIn:"any",factory:()=>C(Wl)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var cv="ngOriginalError";function vs(t){return t[cv]}var He=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&vs(e);for(;r&&vs(r);)r=vs(r);return r||null}},Bd=new D("",{providedIn:"root",factory:()=>p(He).handleError.bind(void 0)}),Ra=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),js=class extends Ra{constructor(e){super(),this._lView=e}onDestroy(e){return vd(this._lView,e),()=>Am(this._lView,e)}};function lv(){return new js(U())}function dv(){return qi(me(),U())}function qi(t,e){return new mt(Fe(t,e))}var mt=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=dv;let t=e;return t})();var $s=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,sd()&&(this.destroyRef=p(Ra,{optional:!0})??void 0)}emit(e){let r=R(null);try{super.next(e)}finally{R(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=ys(o),i&&(i=ys(i)),s&&(s=ys(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof Y&&e.add(a),a}};function ys(t){return e=>{setTimeout(t,void 0,e)}}var $=$s;function Hd(t){return(t.flags&128)===128}var Us;function zd(t){Us=t}function fv(){if(Us!==void 0)return Us;if(typeof document<"u")return document;throw new m(210,!1)}var Zi=new D("",{providedIn:"root",factory:()=>hv}),hv="ng",Oa=new D(""),vt=new D("",{providedIn:"platform",factory:()=>"unknown"});var Fa=new D("",{providedIn:"root",factory:()=>fv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var pv="h",gv="b";var mv=()=>null;function Pa(t,e,r=!1){return mv(t,e,r)}var Gd=!1,vv=new D("",{providedIn:"root",factory:()=>Gd});var Bs=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dg})`}};function ka(t){return t instanceof Bs?t.changingThisBreaksApplicationSecurity:t}var Wd=new Map,yv=0;function Dv(){return yv++}function Cv(t){Wd.set(t[Gi],t)}function wv(t){Wd.delete(t[Gi])}var pl="__ngContext__";function Rt(t,e){_t(e)?(t[pl]=e[Gi],Cv(e)):t[pl]=e}function qd(t){return t instanceof Function?t():t}function Ev(t){return(t??p(Pe)).get(vt)==="browser"}var Xe=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Xe||{}),Iv;function La(t,e){return Iv(t,e)}function an(t,e,r,n,i){if(n!=null){let o,s=!1;nt(n)?o=n:_t(n)&&(s=!0,n=n[tt]);let a=Be(n);t===0&&r!==null?i==null?Jd(e,r,a):Ti(e,r,a,i||null,!0):t===1&&r!==null?Ti(e,r,a,i||null,!0):t===2?$v(e,a,s):t===3&&e.destroyNode(a),o!=null&&Bv(e,t,o,r,i)}}function bv(t,e){return t.createText(e)}function Mv(t,e,r){t.setValue(e,r)}function Zd(t,e,r){return t.createElement(e,r)}function _v(t,e){Yd(t,e),e[tt]=null,e[Oe]=null}function Sv(t,e,r,n,i,o){n[tt]=i,n[Oe]=e,Yi(t,n,r,1,i,o)}function Yd(t,e){e[$e].changeDetectionScheduler?.notify(1),Yi(t,e,e[K],2,null,null)}function xv(t){let e=t[Jn];if(!e)return Ds(t[T],t);for(;e;){let r=null;if(_t(e))r=e[Jn];else{let n=e[be];n&&(r=n)}if(!r){for(;e&&!e[Ne]&&e!==t;)_t(e)&&Ds(e[T],e),e=e[ne];e===null&&(e=t),_t(e)&&Ds(e[T],e),r=e&&e[Ne]}e=r}}function Tv(t,e,r,n){let i=be+n,o=r.length;n>0&&(r[i-1][Ne]=e),n0&&(t[r-1][Ne]=n[Ne]);let o=Ci(t,be+e);_v(n[T],n);let s=o[mn];s!==null&&s.detachView(o[T]),n[ne]=null,n[Ne]=null,n[E]&=-129}return n}function Kd(t,e){if(!(e[E]&256)){let r=e[K];r.destroyNode&&Yi(t,e,r,3,null,null),xv(e)}}function Ds(t,e){if(e[E]&256)return;let r=R(null);try{e[E]&=-129,e[E]|=256,e[xt]&&Mc(e[xt]),Rv(t,e),Nv(t,e),e[T].type===1&&e[K].destroy();let n=e[zi];if(n!==null&&nt(e[ne])){n!==e[ne]&&Qd(n,e);let i=e[mn];i!==null&&i.detachView(t)}wv(e)}finally{R(r)}}function Nv(t,e){let r=t.cleanup,n=e[Kn];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Kn]=null);let i=e[lt];if(i!==null){e[lt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===je.None||o===je.Emulated)return null}return Fe(n,r)}}function Ti(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Jd(t,e,r){t.appendChild(e,r)}function gl(t,e,r,n,i){n!==null?Ti(t,e,r,n,i):Jd(t,e,r)}function Pv(t,e,r,n){t.removeChild(e,r,n)}function Va(t,e){return t.parentNode(e)}function kv(t,e){return t.nextSibling(e)}function Lv(t,e,r){return jv(t,e,r)}function Vv(t,e,r){return t.type&40?Fe(t,r):null}var jv=Vv,ml;function ja(t,e,r,n){let i=Ov(t,n,e),o=e[K],s=n.parent||e[Oe],a=Lv(s,n,e);if(i!=null)if(Array.isArray(r))for(let u=0;uft&&nf(t,e,ft,!1),Le(s?2:0,i),r(n,i)}finally{At(o),Le(s?3:1,i)}}function uf(t,e,r){if(cd(e)){let n=R(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Kv(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return Fm()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function vl(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,u=ce.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}t===0?yl(n,r,c,a,u):yl(n,r,c,a)}return n}function yl(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function Jv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function ry(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Wi(r)&&ly(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||xi(r,e),Rt(n,e);let s=r.initialInputs;for(let a=i;a{Xn(t.lView)},consumerOnSignalRead(){this.lView[xt]=this}});function Cf(t){return Ef(t[Jn])}function wf(t){return Ef(t[Ne])}function Ef(t){for(;t!==null&&!nt(t);)t=t[Ne];return t}var If=100;function bf(t,e=!0,r=0){let n=t[$e],i=n.rendererFactory,o=!1;o||i.begin?.();try{_y(t,r)}catch(s){throw e&&yf(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function _y(t,e){qs(t,e);let r=0;for(;ba(t);){if(r===If)throw new m(103,!1);r++,qs(t,1)}}function Sy(t,e,r,n){let i=e[E];if((i&256)===256)return;let o=!1;!o&&e[$e].inlineEffectRunner?.flush(),_a(e);let s=null,a=null;!o&&xy(t)&&(a=Ey(e),s=Ic(a));try{md(e),$m(t.bindingStartIndex),r!==null&&af(t,e,r,2,n);let u=(i&3)===3;if(!o)if(u){let d=t.preOrderCheckHooks;d!==null&&pi(e,d,null)}else{let d=t.preOrderHooks;d!==null&&gi(e,d,0,null),gs(e,0)}if(Ty(e),Mf(e,0),t.contentQueries!==null&&vf(t,e),!o)if(u){let d=t.contentCheckHooks;d!==null&&pi(e,d)}else{let d=t.contentHooks;d!==null&&gi(e,d,1),gs(e,1)}Gv(t,e);let c=t.components;c!==null&&Sf(e,c,0);let l=t.viewQuery;if(l!==null&&Ws(2,l,n),!o)if(u){let d=t.viewCheckHooks;d!==null&&pi(e,d)}else{let d=t.viewHooks;d!==null&&gi(e,d,2),gs(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ps]){for(let d of e[ps])d();e[ps]=null}o||(e[E]&=-73)}catch(u){throw Xn(e),u}finally{a!==null&&(bc(a,s),by(a)),Sa()}}function xy(t){return t.type!==2}function Mf(t,e){for(let r=Cf(t);r!==null;r=wf(r))for(let n=be;n-1&&(Hs(e,n),Ci(r,n))}this._attachedToViewContainer=!1}Kd(this._lView[T],this._lView)}onDestroy(e){vd(this._lView,e)}markForCheck(){za(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){Fs(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,bf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Yd(this._lView[T],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=e,Fs(this._lView)}},Ga=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Oy;let t=e;return t})(),Ny=Ga,Ry=class extends Ny{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Dy(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new Ot(i)}};function Oy(){return Fy(me(),U())}function Fy(t,e){return t.type&4?new Ry(e,t,qi(t,e)):null}var Hx=new RegExp(`^(\\d+)*(${gv}|${pv})*(.*)`);var Py=()=>null;function Cl(t,e){return Py(t,e)}var Ni=class{},Zs=class{},Ri=class{};function ky(t){let e=Error(`No component factory found for ${ue(t)}.`);return e[Ly]=t,e}var Ly="ngComponent";var Ys=class{resolveComponentFactory(e){throw ky(e)}},Xi=(()=>{let e=class e{};e.NULL=new Ys;let t=e;return t})(),tr=class{},Lt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Vy();let t=e;return t})();function Vy(){let t=U(),e=me(),r=gt(e.index,t);return(_t(r)?r:t)[K]}var jy=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Cs={};var wl=new Set;function Wa(t){wl.has(t)||(wl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function El(...t){}function $y(){let t=typeof pe.requestAnimationFrame=="function",e=pe[t?"requestAnimationFrame":"setTimeout"],r=pe[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var j=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $(!1),this.onMicrotaskEmpty=new $(!1),this.onStable=new $(!1),this.onError=new $(!1),typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=$y().nativeRequestAnimationFrame,Hy(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new m(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Uy,El,El);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Uy={};function qa(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function By(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(pe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Qs(t),t.isCheckStableRunning=!0,qa(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Qs(t))}function Hy(t){let e=()=>{By(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(zy(a))return r.invokeTask(i,o,s,a);try{return Il(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),bl(t)}},onInvoke:(r,n,i,o,s,a,u)=>{try{return Il(t),r.invoke(i,o,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),bl(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Qs(t),qa(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Qs(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Il(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bl(t){t._nesting--,qa(t)}var Ks=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $,this.onMicrotaskEmpty=new $,this.onStable=new $,this.onError=new $}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function zy(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function Gy(t="zone.js",e){return t==="noop"?new Ks:t==="zone.js"?new j(e):t}var un=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(un||{}),Wy={destroy(){}};function Za(t,e){!e&&mm(Za);let r=e?.injector??p(Pe);if(!Ev(r))return Wy;Wa("NgAfterNextRender");let n=r.get(Ya),i=n.handler??=new Xs,o=e?.phase??un.MixedReadWrite,s=()=>{i.unregister(u),a()},a=r.get(Ra).onDestroy(s),u=et(r,()=>new Js(o,()=>{s(),t()}));return i.register(u),{destroy:s}}var Js=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=p(j),this.errorHandler=p(He,{optional:!0}),p(Ni,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Xs=class{constructor(){this.executingCallbacks=!1,this.buckets={[un.EarlyRead]:new Set,[un.Write]:new Set,[un.MixedReadWrite]:new Set,[un.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Ya=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ea(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&ef(t,r,o.join(" "))}}function Xy(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=tD;let t=e;return t})();function tD(){let t=me();return rD(t,U())}var nD=ar,xf=class extends nD{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new St(this._hostTNode,this._hostLView)}get parentInjector(){let e=Na(this._hostTNode,this._hostLView);if(Rd(e)){let r=Si(e,this._hostLView),n=_i(e),i=r[T].data[n+8];return new St(i,r)}else return new St(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=_l(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-be}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Cl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Dl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!ym(e),a;if(s)a=r;else{let v=r||{};a=v.index,n=v.injector,i=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let u=s?e:new yn(dt(e)),c=n||this.parentInjector;if(!o&&u.ngModule==null){let A=(s?c:this.parentInjector).get(ge,null);A&&(o=A)}let l=dt(u.componentType??{}),d=Cl(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,i,f,o);return this.insertImpl(h.hostView,a,Dl(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Sm(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=i[ne],c=new xf(u,u[Oe],u[ne]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Cy(s,i,o,n),e.attachToViewContainerRef(),Gl(ws(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=_l(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Hs(this._lContainer,r);n&&(Ci(ws(this._lContainer),r),Kd(n[T],n))}detach(e){let r=this._adjustIndex(e,-1),n=Hs(this._lContainer,r);return n&&Ci(ws(this._lContainer),r)!=null?new Ot(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function _l(t){return t[Ii]}function ws(t){return t[Ii]||(t[Ii]=[])}function rD(t,e){let r,n=e[t.index];return nt(n)?r=n:(r=mf(n,e,null,t),e[t.index]=r,Ji(e,r)),oD(r,e,t,n),new xf(r,t,e)}function iD(t,e){let r=t[K],n=r.createComment(""),i=Fe(e,t),o=Va(r,i);return Ti(r,o,n,kv(r,i),!1),n}var oD=uD,sD=()=>!1;function aD(t,e,r){return sD(t,e,r)}function uD(t,e,r,n){if(t[Tt])return;let i;r.type&8?i=Be(n):i=iD(e,r),t[Tt]=i}function cD(t){return typeof t=="function"&&t[Wo]!==void 0}function Tf(t){return cD(t)&&typeof t.set=="function"}function lD(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then(pD))}return o}return Fi.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let u=Promise.all(s).then(()=>gD(o));e.push(u)}),fD(),Promise.all(e).then(()=>{})}var Fi=new Map,dD=new Set;function fD(){let t=Fi;return Fi=new Map,t}function hD(){return Fi.size===0}function pD(t){return typeof t=="string"?t:t.text()}function gD(t){dD.delete(t)}function mD(t){return Object.getPrototypeOf(t.prototype).constructor}function rt(t){let e=mD(t.type),r=!0,n=[t];for(;e;){let i;if(ht(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new m(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=li(t.inputs),s.inputTransforms=li(t.inputTransforms),s.declaredInputs=li(t.declaredInputs),s.outputs=li(t.outputs);let a=i.hostBindings;a&&wD(t,a);let u=i.viewQuery,c=i.contentQueries;if(u&&DD(t,u),c&&CD(t,c),vD(t,i),wg(t.outputs,i.outputs),ht(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Yn(i.hostAttrs,r=Yn(r,i.hostAttrs))}}function li(t){return t===fn?{}:t===Ie?[]:t}function DD(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function CD(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function wD(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}var pt=class{},nr=class{};var Pi=class extends pt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Oi(this);let i=Xl(e);this._bootstrapComponents=qd(i.bootstrap),this._r3Injector=Ud(e,r,[{provide:pt,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver},...n],ue(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ki=class extends nr{constructor(e){super(),this.moduleType=e}create(e){return new Pi(this.moduleType,e,[])}};function ED(t,e,r){return new Pi(t,e,r)}var ra=class extends pt{constructor(e){super(),this.componentFactoryResolver=new Oi(this),this.instance=null;let r=new Qn([...e.providers,{provide:pt,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver}],e.parent||Ca(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function eo(t,e,r=null){return new ra({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var to=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Af(t){return bD(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function ID(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function RD(t){return(t&2)==2}function OD(t,e){return t&131071|e<<17}function ia(t){return t|2}function Cn(t){return(t&131068)>>2}function Es(t,e){return t&-131069|e<<2}function FD(t){return(t&1)===1}function oa(t){return t|1}function PD(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Ft(s),u=Cn(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||or(d,l)>0)&&(c=!0)}else l=r;if(i)if(u!==0){let f=Ft(t[a+1]);t[n+1]=di(f,a),f!==0&&(t[f+1]=Es(t[f+1],n)),t[a+1]=OD(t[a+1],n)}else t[n+1]=di(a,0),a!==0&&(t[a+1]=Es(t[a+1],n)),a=n;else t[n+1]=di(u,0),a===0?a=n:t[u+1]=Es(t[u+1],n),u=n;c&&(t[n+1]=ia(t[n+1])),Sl(t,l,n,!0),Sl(t,l,n,!1),kD(e,l,t,n,o),s=di(a,u),o?e.classBindings=s:e.styleBindings=s}function kD(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&or(o,e)>=0&&(r[n+1]=oa(r[n+1]))}function Sl(t,e,r,n){let i=t[r+1],o=e===null,s=n?Ft(i):Cn(i),a=!1;for(;s!==0&&(a===!1||o);){let u=t[s],c=t[s+1];LD(u,e)&&(a=!0,t[s+1]=n?oa(c):ia(c)),s=n?Ft(c):Cn(c)}a&&(t[r+1]=n?ia(i):oa(i))}function LD(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?or(t,e)>=0:!1}function Mn(t,e,r){let n=U(),i=Ma();if(Dn(n,i,e)){let o=Me(),s=Td();ff(o,s,n,t,e,n[K],r,!1)}return Mn}function xl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Ba(t,r,o[s],s,n)}function no(t,e){return VD(t,e,null,!0),no}function VD(t,e,r,n){let i=U(),o=Me(),s=Um(2);if(o.firstUpdatePass&&$D(o,t,s,n),e!==kt&&Dn(i,s,e)){let a=o.data[In()];GD(o,a,i,i[K],t,i[s+1]=WD(e,r),n,s)}}function jD(t,e){return e>=t.expandoStartIndex}function $D(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[In()],s=jD(t,r);qD(o,n)&&e===null&&!s&&(e=!1),e=UD(i,o,e,n),PD(i,o,e,r,s,n)}}function UD(t,e,r,n){let i=Gm(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Is(null,t,e,r,n),r=rr(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Is(i,t,e,r,n),o===null){let u=BD(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Is(null,t,e,u[1],n),u=rr(u,e.attrs,n),HD(t,e,n,u))}else o=zD(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function BD(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Cn(n)!==0)return t[Ft(n)]}function HD(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Ft(i)]=n}function zD(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let u=t[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[i+1];f===kt&&(f=d?Ie:void 0);let h=d?fs(f,n):l===n?f:void 0;if(c&&!Li(h)&&(h=fs(u,n)),Li(h)&&(a=h,s))return a;let v=t[i+1];i=s?Ft(v):Cn(v)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=fs(u,n))}return a}function Li(t){return t!==void 0}function WD(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ue(ka(t)))),t}function qD(t,e){return(t.flags&(e?8:16))!==0}function ZD(t,e,r,n,i,o){let s=e.consts,a=Mi(s,i),u=Ki(e,t,2,n,a);return hf(e,r,u,Mi(s,o)),u.attrs!==null&&ea(u,u.attrs,!1),u.mergedAttrs!==null&&ea(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Z(t,e,r,n){let i=U(),o=Me(),s=ft+t,a=i[K],u=o.firstCreatePass?ZD(s,o,i,e,r,n):o.data[s],c=YD(o,i,u,a,e,t);i[s]=c;let l=Ea(u);return sr(u,!0),tf(a,c,u),!SD(u)&&xa()&&ja(o,i,c,u),Nm()===0&&Rt(c,i),Rm(),l&&(cf(o,i,u),uf(o,u,i)),n!==null&&lf(i,u),Z}function Q(){let t=me();Ed()?Vm():(t=t.parent,sr(t,!1));let e=t;Pm(e)&&km(),Om();let r=Me();return r.firstCreatePass&&(Aa(r,t),cd(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Jm(e)&&xl(r,e,U(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Xm(e)&&xl(r,e,U(),e.stylesWithoutHost,!1),Q}function Vt(t,e,r,n){return Z(t,e,r,n),Q(),Vt}var YD=(t,e,r,n,i,o)=>(Ta(!0),Zd(n,i,Zm()));function Nf(){return U()}var Vi="en-US";var QD=Vi;function KD(t){typeof t=="string"&&(QD=t.toLowerCase().replace(/_/g,"-"))}function ve(t,e,r,n){let i=U(),o=Me(),s=me();return Rf(o,i,i[K],s,t,e,n),ve}function JD(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function Rf(t,e,r,n,i,o,s){let a=Ea(n),c=t.firstCreatePass&&py(t),l=e[Re],d=hy(e),f=!0;if(n.type&3||s){let A=Fe(n,e),H=s?s(A):A,O=d.length,Ye=s?Qe=>s(Be(Qe[n.index])):n.index,se=null;if(!s&&a&&(se=JD(t,e,i,n.index)),se!==null){let Qe=se.__ngLastListenerFn__||se;Qe.__ngNextListenerFn__=o,se.__ngLastListenerFn__=o,f=!1}else{o=Nl(n,e,l,o,!1);let Qe=r.listen(H,i,o);d.push(o,Qe),c&&c.push(i,Ye,O,O+1)}}else o=Nl(n,e,l,o,!1);let h=n.outputs,v;if(f&&h!==null&&(v=h[i])){let A=v.length;if(A)for(let H=0;H-1?gt(t.index,e):e;za(a);let u=Al(e,r,n,s),c=o.__ngNextListenerFn__;for(;c;)u=Al(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return i&&u===!1&&s.preventDefault(),u}}function Of(t=1){return qm(t)}function _e(t,e=""){let r=U(),n=Me(),i=t+ft,o=n.firstCreatePass?Ki(n,i,1,e,null):n.data[i],s=XD(n,r,o,e,t);r[i]=s,xa()&&ja(n,r,s,o),sr(o,!1)}var XD=(t,e,r,n,i)=>(Ta(!0),bv(e[K],n));function Ka(t){return ur("",t,""),Ka}function ur(t,e,r){let n=U(),i=ND(n,t,e,r);return i!==kt&&gy(n,In(),i),ur}function ro(t,e,r){Tf(e)&&(e=e());let n=U(),i=Ma();if(Dn(n,i,e)){let o=Me(),s=Td();ff(o,s,n,t,e,n[K],r,!1)}return ro}function Ja(t,e){let r=Tf(t);return r&&t.set(e),r}function io(t,e){let r=U(),n=Me(),i=me();return Rf(n,r,r[K],i,t,e),io}function eC(t,e,r){let n=Me();if(n.firstCreatePass){let i=ht(t);sa(r,n.data,n.blueprint,i,!0),sa(e,n.data,n.blueprint,i,!1)}}function sa(t,e,r,n,i){if(t=ie(t),Array.isArray(t))for(let o=0;o>20;if(pn(t)||!t.multi){let h=new Nt(c,i,k),v=Ms(u,e,i?l:l+f,d);v===-1?(Ls(xi(a,s),o,u),bs(o,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[v]=h,s[v]=h)}else{let h=Ms(u,e,l+f,d),v=Ms(u,e,l,l+f),A=h>=0&&r[h],H=v>=0&&r[v];if(i&&!H||!i&&!A){Ls(xi(a,s),o,u);let O=rC(i?nC:tC,r.length,i,n,c);!i&&H&&(r[v].providerFactory=O),bs(o,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(O),s.push(O)}else{let O=Ff(r[i?v:h],c,!i&&n);bs(o,t,h>-1?h:v,O)}!i&&n&&H&&r[v].componentProviders++}}}function bs(t,e,r,n){let i=pn(e),o=cm(e);if(i||o){let u=(o?ie(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function Ff(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Ms(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>eC(n,i?i(t):t,e)}}var iC=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=nd(!1,n.type),o=i.length>0?eo([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(C(ge))});let t=e;return t})();function Pf(t){Wa("NgStandalone"),t.getStandaloneInjector=e=>e.get(iC).getOrCreateStandaloneInjector(t)}function kf(t,e,r,n,i){return sC(U(),jm(),t,e,r,n,i)}function oC(t,e){let r=t[e];return r===kt?void 0:r}function sC(t,e,r,n,i,o,s){let a=e+r;return _D(t,a,i,o)?MD(t,a+2,s?n.call(s,i,o):n(i,o)):oC(t,a+2)}var fi=null;function aC(t){fi!==null&&(t.defaultEncapsulation!==fi.defaultEncapsulation||t.preserveWhitespaces!==fi.preserveWhitespaces)||(fi=t)}var oo=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Xa=new D(""),lr=new D(""),so=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,eu||(uC(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(C(j),C(ao),C(lr))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),ao=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return eu?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function uC(t){eu=t}var eu;function jt(t){return!!t&&typeof t.then=="function"}function Lf(t){return!!t&&typeof t.subscribe=="function"}var uo=new D(""),Vf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=p(uo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(jt(s))n.push(s);else if(Lf(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tu=new D("");function cC(){_c(()=>{throw new m(600,!1)})}function lC(t){return t.isBoundToModule}function dC(t,e,r){try{let n=r();return jt(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function jf(t,e){return Array.isArray(e)?e.reduce(jf,t):g(g({},t),e)}var _n=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Bd),this.afterRenderEffectManager=p(Ya),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=p(to).hasPendingTasks.pipe(x(n=>!n)),this._injector=p(ge)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Ri;if(!this._injector.get(Vf).done){let h=!o&&Jl(n),v=!1;throw new m(405,v)}let a;o?a=n:a=this._injector.get(Xi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=lC(a)?void 0:this._injector.get(pt),c=i||a.selector,l=a.create(Pe.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Xa,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),vi(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new m(101,!1);let i=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,R(i)}}detectChangesInAttachedViews(n){let i=0,o=this.afterRenderEffectManager;for(;;){if(i===If)throw new m(103,!1);if(n){let s=i===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)fC(a,s,u)}if(i++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ua(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ua(s))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;vi(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(tu,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vi(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function fC(t,e,r){!e&&!ua(t)||hC(t,r,e)}function ua(t){return ba(t)}function hC(t,e,r){let n;r?(n=0,t[E]|=1024):t[E]&64?n=0:n=1,bf(t,e,n)}var ca=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},co=(()=>{let e=class e{compileModuleSync(n){return new ki(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Xl(n),s=qd(o.declarations).reduce((a,u)=>{let c=dt(u);return c&&a.push(new yn(c)),a},[]);return new ca(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),pC=new D("");function gC(t,e,r){let n=new ki(r);return Promise.resolve(n)}function Rl(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var mC=(()=>{let e=class e{constructor(){this.zone=p(j),this.applicationRef=p(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vC(t){return[{provide:j,useFactory:t},{provide:hn,multi:!0,useFactory:()=>{let e=p(mC,{optional:!0});return()=>e.initialize()}},{provide:hn,multi:!0,useFactory:()=>{let e=p(CC);return()=>{e.initialize()}}},{provide:Bd,useFactory:yC}]}function yC(){let t=p(j),e=p(He);return r=>t.runOutsideAngular(()=>e.handleError(r))}function DC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var CC=(()=>{let e=class e{constructor(){this.subscription=new Y,this.initialized=!1,this.zone=p(j),this.pendingTasks=p(to)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wC(){return typeof $localize<"u"&&$localize.locale||Vi}var nu=new D("",{providedIn:"root",factory:()=>p(nu,M.Optional|M.SkipSelf)||wC()});var $f=new D(""),Uf=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=Gy(i?.ngZone,DC({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=ED(n.moduleType,this.injector,vC(()=>o)),a=s.injector.get(He,null);return o.runOutsideAngular(()=>{let u=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{vi(this._modules,s),u.unsubscribe()})}),dC(a,o,()=>{let u=s.injector.get(Vf);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(nu,Vi);return KD(c||Vi),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=jf({},i);return gC(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(_n);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new m(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new m(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get($f,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(C(Pe))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),qn=null,Bf=new D("");function EC(t){if(qn&&!qn.get(Bf,!1))throw new m(400,!1);cC(),qn=t;let e=t.get(Uf);return MC(t),e}function ru(t,e,r=[]){let n=`Platform: ${e}`,i=new D(n);return(o=[])=>{let s=Hf();if(!s||s.injector.get(Bf,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):EC(IC(a,n))}return bC(i)}}function IC(t=[],e){return Pe.create({name:e,providers:[{provide:Hi,useValue:"platform"},{provide:$f,useValue:new Set([()=>qn=null])},...t]})}function bC(t){let e=Hf();if(!e)throw new m(401,!1);return e}function Hf(){return qn?.get(Uf)??null}function MC(t){t.get(Oa,null)?.forEach(r=>r())}var $t=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=_C;let t=e;return t})();function _C(t){return SC(me(),U(),(t&16)===16)}function SC(t,e,r){if(Wi(t)&&!r){let n=gt(t.index,e);return new Ot(n,n)}else if(t.type&47){let n=e[Ue];return new Ot(n,e)}return null}var la=class{constructor(){}supports(e){return Af(e)}create(e){return new da(e)}},xC=(t,e)=>e,da=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||xC}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new fa(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new ji),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ji),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},fa=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ha=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},ji=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new ha,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ol(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Fl()),deps:[[e,new ma,new Bi]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new m(901,!1)}};e.\u0275prov=y({token:e,providedIn:"root",factory:Fl});let t=e;return t})();var zf=ru(null,"core",[]),Gf=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(C(_n))},e.\u0275mod=q({type:e}),e.\u0275inj=W({});let t=e;return t})();function lo(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Wf(t){let e=dt(t);if(!e)return null;let r=new yn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Kf=null;function We(){return Kf}function Jf(t){Kf??=t}var fo=class{};var de=new D(""),lu=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(NC),providedIn:"platform"});let t=e;return t})(),Xf=new D(""),NC=(()=>{let e=class e extends lu{constructor(){super(),this._doc=p(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return We().getBaseHref(this._doc)}onPopState(n){let i=We().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=We().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function du(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function qf(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function it(t){return t&&t[0]!=="?"?"?"+t:t}var Ut=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(fu),providedIn:"root"});let t=e;return t})(),eh=new D(""),fu=(()=>{let e=class e extends Ut{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return du(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+it(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+it(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+it(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(lu),C(eh,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),th=(()=>{let e=class e extends Ut{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=du(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+it(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+it(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(lu),C(eh,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Sn=(()=>{let e=class e{constructor(n){this._subject=new $,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=FC(qf(Zf(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+it(i))}normalize(n){return e.stripTrailingSlash(OC(this._basePath,Zf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+it(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+it(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=it,e.joinWithSlash=du,e.stripTrailingSlash=qf,e.\u0275fac=function(i){return new(i||e)(C(Ut))},e.\u0275prov=y({token:e,factory:()=>RC(),providedIn:"root"});let t=e;return t})();function RC(){return new Sn(C(Ut))}function OC(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Zf(t){return t.replace(/\/index.html$/,"")}function FC(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function nh(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var ou=/\s+/,Yf=[],rh=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Yf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ou):Yf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ou):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(k(mt),k(Lt))},e.\u0275dir=oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[ce.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var su=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ih=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new su(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let u=i.get(s);i.move(u,a),Qf(u,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Qf(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(k(ar),k(Ga),k(iu))},e.\u0275dir=oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Qf(t,e){t.context.$implicit=e.item}var xn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({});let t=e;return t})(),hu="browser",PC="server";function kC(t){return t===hu}function pu(t){return t===PC}var oh=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>kC(p(vt))?new au(p(de),window):new uu});let t=e;return t})(),au=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=LC(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function LC(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var uu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},ho=class{};var vu=class extends fo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},yu=class t extends vu{static makeCurrent(){Jf(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=$C();return r==null?null:UC(r)}resetBaseElement(){dr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nh(document.cookie,e)}},dr=null;function $C(){return dr=dr||document.querySelector("base"),dr?dr.getAttribute("href"):null}function UC(t){return new URL(t,document.baseURI).pathname}var Du=class{addToWindow(e){pe.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new m(5103,!1);return o},pe.getAllAngularTestabilities=()=>e.getAllTestabilities(),pe.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=pe.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?We().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},BC=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Cu=new D(""),ch=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new m(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(C(Cu),C(j))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),po=class{constructor(e){this._doc=e}},gu="ng-app-id",lh=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=pu(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${gu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(gu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(gu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(C(de),C(Zi),C(Fa,8),C(vt))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),mu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Eu=/%COMP%/g,dh="%COMP%",HC=`_nghost-${dh}`,zC=`_ngcontent-${dh}`,GC=!0,WC=new D("",{providedIn:"root",factory:()=>GC});function qC(t){return zC.replace(Eu,t)}function ZC(t){return HC.replace(Eu,t)}function fh(t,e){return e.map(r=>r.replace(Eu,t))}var sh=(()=>{let e=class e{constructor(n,i,o,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=pu(u),this.defaultRenderer=new fr(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===je.ShadowDom&&(i=V(g({},i),{encapsulation:je.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof go?o.applyToHost(n):o instanceof hr&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case je.Emulated:s=new go(c,l,i,this.appId,d,a,u,f);break;case je.ShadowDom:return new wu(c,l,n,i,a,u,this.nonce,f);default:s=new hr(c,l,i,d,a,u,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(C(ch),C(lh),C(Zi),C(WC),C(de),C(vt),C(j),C(Fa))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),fr=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(mu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(ah(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(ah(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new m(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=mu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=mu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Xe.DashCase|Xe.Important)?e.style.setProperty(r,n,i&Xe.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Xe.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=We().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function ah(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var wu=class extends fr{constructor(e,r,n,i,o,s,a,u){super(e,o,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=fh(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},hr=class extends fr{constructor(e,r,n,i,o,s,a,u){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=u?fh(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},go=class extends hr{constructor(e,r,n,i,o,s,a,u){let c=i+"-"+n.id;super(e,r,n,o,s,a,u,c),this.contentAttr=qC(c),this.hostAttr=ZC(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},YC=(()=>{let e=class e extends po{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(C(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),uh=["alt","control","meta","shift"],QC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},KC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},JC=(()=>{let e=class e extends po{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>We().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),a="code."),uh.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=QC[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),uh.forEach(a=>{if(a!==o){let u=KC[a];u(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(C(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function XC(){yu.makeCurrent()}function ew(){return new He}function tw(){return zd(document),document}var nw=[{provide:vt,useValue:hu},{provide:Oa,useValue:XC,multi:!0},{provide:de,useFactory:tw,deps:[]}],hh=ru(zf,"browser",nw),rw=new D(""),iw=[{provide:lr,useClass:Du,deps:[]},{provide:Xa,useClass:so,deps:[j,ao,lr]},{provide:so,useClass:so,deps:[j,ao,lr]}],ow=[{provide:Hi,useValue:"root"},{provide:He,useFactory:ew,deps:[]},{provide:Cu,useClass:YC,multi:!0,deps:[de,j,vt]},{provide:Cu,useClass:JC,multi:!0,deps:[de]},sh,lh,ch,{provide:tr,useExisting:sh},{provide:ho,useClass:BC,deps:[]},[]],ph=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Zi,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(C(rw,12))},e.\u0275mod=q({type:e}),e.\u0275inj=W({providers:[...ow,...iw],imports:[xn,Gf]});let t=e;return t})();var gh=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(C(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var vh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({});let t=e;return t})();var yh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({imports:[xn]});let t=e;return t})();var b="primary",xr=Symbol("RouteTitle"),Su=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function On(t){return new Su(t)}function aw(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function xh(t){return t.length>0?t[t.length-1]:null}function wt(t){return os(t)?t:jt(t)?B(Promise.resolve(t)):w(t)}var cw={exact:Ah,subset:Nh},Th={exact:lw,subset:dw,ignored:()=>!0};function Dh(t,e,r){return cw[r.paths](t.root,e.root,r.matrixParams)&&Th[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function lw(t,e){return qe(t,e)}function Ah(t,e,r){if(!Ht(t.segments,e.segments)||!yo(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Ah(t.children[n],e.children[n],r))return!1;return!0}function dw(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Sh(t[r],e[r]))}function Nh(t,e,r){return Rh(t,e,e.segments,r)}function Rh(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Ht(i,r)||e.hasChildren()||!yo(i,r,n))}else if(t.segments.length===r.length){if(!Ht(t.segments,r)||!yo(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Nh(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Ht(t.segments,i)||!yo(t.segments,i,n)||!t.children[b]?!1:Rh(t.children[b],e,o,n)}}function yo(t,e,r){return e.every((n,i)=>Th[r](t[i].parameters,n.parameters))}var yt=class{constructor(e=new P([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=On(this.queryParams),this._queryParamMap}toString(){return pw.serialize(this)}},P=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Do(this)}},Bt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=On(this.parameters),this._parameterMap}toString(){return Fh(this)}};function fw(t,e){return Ht(t,e)&&t.every((r,n)=>qe(r.parameters,e[n].parameters))}function Ht(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function hw(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===b&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==b&&(r=r.concat(e(i,n)))}),r}var Tr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>new Cr,providedIn:"root"});let t=e;return t})(),Cr=class{parse(e){let r=new Au(e);return new yt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${pr(e.root,!0)}`,n=vw(e.queryParams),i=typeof e.fragment=="string"?`#${gw(e.fragment)}`:"";return`${r}${n}${i}`}},pw=new Cr;function Do(t){return t.segments.map(e=>Fh(e)).join("/")}function pr(t,e){if(!t.hasChildren())return Do(t);if(e){let r=t.children[b]?pr(t.children[b],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==b&&n.push(`${i}:${pr(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=hw(t,(n,i)=>i===b?[pr(t.children[b],!1)]:[`${i}:${pr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[b]!=null?`${Do(t)}/${r[0]}`:`${Do(t)}/(${r.join("//")})`}}function Oh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mo(t){return Oh(t).replace(/%3B/gi,";")}function gw(t){return encodeURI(t)}function Tu(t){return Oh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Co(t){return decodeURIComponent(t)}function Ch(t){return Co(t.replace(/\+/g,"%20"))}function Fh(t){return`${Tu(t.path)}${mw(t.parameters)}`}function mw(t){return Object.entries(t).map(([e,r])=>`;${Tu(e)}=${Tu(r)}`).join("")}function vw(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${mo(r)}=${mo(i)}`).join("&"):`${mo(r)}=${mo(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var yw=/^[^\/()?;#]+/;function Iu(t){let e=t.match(yw);return e?e[0]:""}var Dw=/^[^\/()?;=#]+/;function Cw(t){let e=t.match(Dw);return e?e[0]:""}var ww=/^[^=?&#]+/;function Ew(t){let e=t.match(ww);return e?e[0]:""}var Iw=/^[^&#]+/;function bw(t){let e=t.match(Iw);return e?e[0]:""}var Au=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new P([],{}):new P([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[b]=new P(e,r)),n}parseSegment(){let e=Iu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(e),new Bt(Co(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Cw(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Iu(this.remaining);i&&(n=i,this.capture(n))}e[Co(r)]=Co(n)}parseQueryParam(e){let r=Ew(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=bw(this.remaining);s&&(n=s,this.capture(n))}let i=Ch(r),o=Ch(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Iu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new m(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=b);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[b]:new P([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new m(4011,!1)}};function Ph(t){return t.segments.length>0?new P([],{[b]:t}):t}function kh(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=kh(i);if(n===b&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new P(t.segments,e);return Mw(r)}function Mw(t){if(t.numberOfChildren===1&&t.children[b]){let e=t.children[b];return new P(t.segments.concat(e.segments),e.children)}return t}function Fn(t){return t instanceof yt}function _w(t,e,r=null,n=null){let i=Lh(t);return Vh(i,e,r,n)}function Lh(t){let e;function r(o){let s={};for(let u of o.children){let c=r(u);s[u.outlet]=c}let a=new P(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Ph(n);return e??i}function Vh(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return bu(i,i,i,r,n);let o=Sw(e);if(o.toRoot())return bu(i,i,new P([],{}),r,n);let s=xw(o,i,t),a=s.processChildren?vr(s.segmentGroup,s.index,o.commands):$h(s.segmentGroup,s.index,o.commands);return bu(i,s.segmentGroup,a,r,n)}function wo(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function wr(t){return typeof t=="object"&&t!=null&&t.outlets}function bu(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=jh(t,e,r);let a=Ph(kh(s));return new yt(a,o,i)}function jh(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=jh(o,e,r)}),new P(t.segments,n)}var Eo=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&wo(n[0]))throw new m(4003,!1);let i=n.find(wr);if(i&&i!==xh(n))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Sw(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Eo(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Eo(r,e,n)}var Nn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function xw(t,e,r){if(t.isAbsolute)return new Nn(e,!0,0);if(!r)return new Nn(e,!1,NaN);if(r.parent===null)return new Nn(r,!0,0);let n=wo(t.commands[0])?0:1,i=r.segments.length-1+n;return Tw(r,i,t.numberOfDoubleDots)}function Tw(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new m(4005,!1);i=n.segments.length}return new Nn(n,!1,i-o)}function Aw(t){return wr(t[0])?t[0].outlets:{[b]:t}}function $h(t,e,r){if(t??=new P([],{}),t.segments.length===0&&t.hasChildren())return vr(t,e,r);let n=Nw(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==b)&&t.children[b]&&t.numberOfChildren===1&&t.children[b].segments.length===0){let o=vr(t.children[b],e,r);return new P(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=$h(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new P(t.segments,i)}}function Nw(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(wr(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Eh(u,c,s))return o;n+=2}else{if(!Eh(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Nu(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Nu(new P([],{}),0,n))}),e}function wh(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Eh(t,e,r){return t==r.path&&qe(e,r.parameters)}var yr="imperative",J=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(J||{}),Se=class{constructor(e,r){this.id=e,this.url=r}},Pn=class extends Se{constructor(e,r,n="imperative",i=null){super(e,r),this.type=J.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ot=class extends Se{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=J.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},De=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(De||{}),Io=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Io||{}),Dt=class extends Se{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=J.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ct=class extends Se{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=J.NavigationSkipped}},Er=class extends Se{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=J.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},bo=class extends Se{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=J.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ru=class extends Se{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=J.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ou=class extends Se{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=J.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Fu=class extends Se{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=J.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pu=class extends Se{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=J.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ku=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Lu=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Vu=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ju=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$u=class{constructor(e){this.snapshot=e,this.type=J.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uu=class{constructor(e){this.snapshot=e,this.type=J.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mo=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=J.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ir=class{},br=class{constructor(e){this.url=e}};var Bu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ar,this.attachRef=null}},Ar=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Bu,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_o=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Hu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Hu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=zu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return zu(e,this._root).map(r=>r.value)}};function Hu(t,e){if(t===e.value)return e;for(let r of e.children){let n=Hu(t,r);if(n)return n}return null}function zu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=zu(t,r);if(n.length)return n.unshift(e),n}return[]}var ye=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function An(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var So=class extends _o{constructor(e,r){super(e),this.snapshot=r,ec(this,e)}toString(){return this.snapshot.toString()}};function Uh(t){let e=Ow(t),r=new X([new Bt("",{})]),n=new X({}),i=new X({}),o=new X({}),s=new X(""),a=new kn(r,n,o,s,i,b,t,e.root);return a.snapshot=e.root,new So(new ye(a,[]),e)}function Ow(t){let e={},r={},n={},i="",o=new Mr([],e,n,i,r,b,t,null,{});return new xo("",new ye(o,[]))}var kn=class{constructor(e,r,n,i,o,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(x(c=>c[xr]))??w(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(e=>On(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(e=>On(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:g(g({},e.params),t.params),data:g(g({},e.data),t.data),resolve:g(g(g(g({},t.data),e.data),i?.data),t._resolvedData)}:n={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},i&&Hh(i)&&(n.resolve[xr]=i.title),n}var Mr=class{get title(){return this.data?.[xr]}constructor(e,r,n,i,o,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=On(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=On(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},xo=class extends _o{constructor(e,r){super(r),this.url=e,ec(this,r)}toString(){return Bh(this._root)}};function ec(t,e){e.value._routerState=t,e.children.forEach(r=>ec(t,r))}function Bh(t){let e=t.children.length>0?` { ${t.children.map(Bh).join(", ")} } `:"";return`${t.value}${e}`}function Mu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,qe(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),qe(e.params,r.params)||t.paramsSubject.next(r.params),uw(e.url,r.url)||t.urlSubject.next(r.url),qe(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Gu(t,e){let r=qe(t.params,e.params)&&fw(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Gu(t.parent,e.parent))}function Hh(t){return typeof t.title=="string"||t.title===null}var Fw=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new $,this.deactivateEvents=new $,this.attachEvents=new $,this.detachEvents=new $,this.parentContexts=p(Ar),this.location=p(ar),this.changeDetector=p($t),this.environmentInjector=p(ge),this.inputBinder=p(Oo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Wu(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[En]});let t=e;return t})(),Wu=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===kn?this.route:e===Ar?this.childContexts:this.parent.get(e,r)}},Oo=new D(""),Ih=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=zn([i.queryParams,i.params,i.data]).pipe(we(([s,a,u],c)=>(u=g(g(g({},s),a),u),c===0?w(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Wf(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function Pw(t,e,r){let n=_r(t,e._root,r?r._root:void 0);return new So(n,e)}function _r(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=kw(t,e,r);return new ye(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>_r(t,a)),s}}let n=Lw(e.value),i=e.children.map(o=>_r(t,o));return new ye(n,i)}}function kw(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return _r(t,n,i);return _r(t,n)})}function Lw(t){return new kn(new X(t.url),new X(t.params),new X(t.queryParams),new X(t.fragment),new X(t.data),t.outlet,t.component,t)}var zh="ngNavigationCancelingError";function Gh(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Fn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Wh(!1,De.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Wh(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[zh]=!0,r.cancellationCode=e,r}function Vw(t){return qh(t)&&Fn(t.url)}function qh(t){return!!t&&t[zh]}var jw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ze({type:e,selectors:[["ng-component"]],standalone:!0,features:[Pf],decls:1,vars:0,template:function(i,o){i&1&&Vt(0,"router-outlet")},dependencies:[Fw],encapsulation:2});let t=e;return t})();function $w(t,e){return t.providers&&!t._injector&&(t._injector=eo(t.providers,e,`Route: ${t.path}`)),t._injector??e}function tc(t){let e=t.children&&t.children.map(tc),r=e?V(g({},t),{children:e}):g({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==b&&(r.component=jw),r}function Ze(t){return t.outlet||b}function Uw(t,e){let r=t.filter(n=>Ze(n)===e);return r.push(...t.filter(n=>Ze(n)!==e)),r}function Nr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Bw=(t,e,r,n)=>x(i=>(new qu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),qu=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Mu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=An(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=An(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=An(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=An(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Uu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new ju(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Mu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Mu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Nr(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},To=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Rn=class{constructor(e,r){this.component=e,this.route=r}};function Hw(t,e,r){let n=t._root,i=e?e._root:null;return gr(n,i,r,[n.value])}function zw(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Vn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Ll(t)?t:e.get(t):n}function gr(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=An(e);return t.children.forEach(s=>{Gw(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Dr(a,r.getContext(s),i)),i}function Gw(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=Ww(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new To(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?gr(t,e,a?a.children:null,n,i):gr(t,e,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Rn(a.outlet.component,s))}else s&&Dr(e,a,i),i.canActivateChecks.push(new To(n)),o.component?gr(t,null,a?a.children:null,n,i):gr(t,null,r,n,i);return i}function Ww(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Ht(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ht(t.url,e.url)||!qe(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gu(t,e)||!qe(t.queryParams,e.queryParams);case"paramsChange":default:return!Gu(t,e)}}function Dr(t,e,r){let n=An(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Dr(s,e.children.getContext(o),r):Dr(s,null,r):Dr(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Rn(e.outlet.component,i)):r.canDeactivateChecks.push(new Rn(null,i)):r.canDeactivateChecks.push(new Rn(null,i))}function Rr(t){return typeof t=="function"}function qw(t){return typeof t=="boolean"}function Zw(t){return t&&Rr(t.canLoad)}function Yw(t){return t&&Rr(t.canActivate)}function Qw(t){return t&&Rr(t.canActivateChild)}function Kw(t){return t&&Rr(t.canDeactivate)}function Jw(t){return t&&Rr(t.canMatch)}function Zh(t){return t instanceof Ke||t?.name==="EmptyError"}var vo=Symbol("INITIAL_VALUE");function Ln(){return we(t=>zn(t.map(e=>e.pipe(Je(1),ls(vo)))).pipe(x(e=>{for(let r of e)if(r!==!0){if(r===vo)return vo;if(r===!1||r instanceof yt)return r}return!0}),Ce(e=>e!==vo),Je(1)))}function Xw(t,e){return G(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?w(V(g({},r),{guardsResult:!0})):eE(s,n,i,t).pipe(G(a=>a&&qw(a)?tE(n,o,t,e):w(a)),x(a=>V(g({},r),{guardsResult:a})))})}function eE(t,e,r,n){return B(t).pipe(G(i=>sE(i.component,i.route,r,e,n)),ke(i=>i!==!0,!0))}function tE(t,e,r,n){return B(e).pipe(Mt(i=>nn(rE(i.route.parent,n),nE(i.route,n),oE(t,i.path,r),iE(t,i.route,r))),ke(i=>i!==!0,!0))}function nE(t,e){return t!==null&&e&&e(new $u(t)),w(!0)}function rE(t,e){return t!==null&&e&&e(new Vu(t)),w(!0)}function iE(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return w(!0);let i=n.map(o=>ai(()=>{let s=Nr(e)??r,a=Vn(o,s),u=Yw(a)?a.canActivate(e,t):et(s,()=>a(e,t));return wt(u).pipe(ke())}));return w(i).pipe(Ln())}function oE(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>zw(s)).filter(s=>s!==null).map(s=>ai(()=>{let a=s.guards.map(u=>{let c=Nr(s.node)??r,l=Vn(u,c),d=Qw(l)?l.canActivateChild(n,t):et(c,()=>l(n,t));return wt(d).pipe(ke())});return w(a).pipe(Ln())}));return w(o).pipe(Ln())}function sE(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return w(!0);let s=o.map(a=>{let u=Nr(e)??i,c=Vn(a,u),l=Kw(c)?c.canDeactivate(t,e,r,n):et(u,()=>c(t,e,r,n));return wt(l).pipe(ke())});return w(s).pipe(Ln())}function aE(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return w(!0);let o=i.map(s=>{let a=Vn(s,t),u=Zw(a)?a.canLoad(e,r):et(t,()=>a(e,r));return wt(u)});return w(o).pipe(Ln(),Yh(n))}function Yh(t){return ts(ee(e=>{if(Fn(e))throw Gh(t,e)}),x(e=>e===!0))}function uE(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return w(!0);let o=i.map(s=>{let a=Vn(s,t),u=Jw(a)?a.canMatch(e,r):et(t,()=>a(e,r));return wt(u)});return w(o).pipe(Ln(),Yh(n))}var Sr=class{constructor(e){this.segmentGroup=e||null}},Ao=class extends Error{constructor(e){super(),this.urlTree=e}};function Tn(t){return en(new Sr(t))}function cE(t){return en(new m(4e3,!1))}function lE(t){return en(Wh(!1,De.GuardRejected))}var Zu=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return w(n);if(i.numberOfChildren>1||!i.children[b])return cE(e.redirectTo);i=i.children[b]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Ao(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new yt(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(e,u,n,i)}),new P(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new m(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Yu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dE(t,e,r,n,i){let o=nc(t,e,r);return o.matched?(n=$w(e,n),uE(n,e,r,i).pipe(x(s=>s===!0?o:g({},Yu)))):w(o)}function nc(t,e,r){if(e.path==="**")return fE(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?g({},Yu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||aw)(r,t,e);if(!i)return g({},Yu);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function fE(t){return{matched:!0,parameters:t.length>0?xh(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function bh(t,e,r,n){return r.length>0&&gE(t,r,n)?{segmentGroup:new P(e,pE(n,new P(r,t.children))),slicedSegments:[]}:r.length===0&&mE(t,r,n)?{segmentGroup:new P(t.segments,hE(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new P(t.segments,t.children),slicedSegments:r}}function hE(t,e,r,n){let i={};for(let o of r)if(Fo(t,e,o)&&!n[Ze(o)]){let s=new P([],{});i[Ze(o)]=s}return g(g({},n),i)}function pE(t,e){let r={};r[b]=e;for(let n of t)if(n.path===""&&Ze(n)!==b){let i=new P([],{});r[Ze(n)]=i}return r}function gE(t,e,r){return r.some(n=>Fo(t,e,n)&&Ze(n)!==b)}function mE(t,e,r){return r.some(n=>Fo(t,e,n))}function Fo(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function vE(t,e,r,n){return Ze(t)!==n&&(n===b||!Fo(e,r,t))?!1:nc(e,t,r).matched}function yE(t,e,r){return e.length===0&&!t.children[r]}var Qu=class{};function DE(t,e,r,n,i,o,s="emptyOnly"){return new Ku(t,e,r,n,i,s,o).recognize()}var CE=31,Ku=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Zu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new m(4002,`'${e.segmentGroup}'`)}recognize(){let e=bh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(x(r=>{let n=new Mr([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},b,this.rootComponentType,null,{}),i=new ye(n,r),o=new xo("",i),s=_w(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,b).pipe(at(n=>{if(n instanceof Ao)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Sr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=Xu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(x(o=>o instanceof ye?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return B(i).pipe(Mt(o=>{let s=n.children[o],a=Uw(r,o);return this.processSegmentGroup(e,a,s,o)}),cs((o,s)=>(o.push(...s),o)),ut(null),us(),G(o=>{if(o===null)return Tn(n);let s=Qh(o);return wE(s),w(s)}))}processSegment(e,r,n,i,o,s){return B(r).pipe(Mt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(at(u=>{if(u instanceof Sr)return w(null);throw u}))),ke(a=>!!a),at(a=>{if(Zh(a))return yE(n,i,o)?w(new Qu):Tn(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return vE(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):Tn(i):Tn(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=nc(r,i,o);if(!a)return Tn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>CE&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(G(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=dE(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(we(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(we(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Mr(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,IE(n),Ze(n),n.component??n._loadedComponent??null,n,bE(n)),{segmentGroup:v,slicedSegments:A}=bh(r,l,d,u);if(A.length===0&&v.hasChildren())return this.processChildren(c,u,v).pipe(x(O=>O===null?null:new ye(h,O)));if(u.length===0&&A.length===0)return w(new ye(h,[]));let H=Ze(n)===o;return this.processSegment(c,u,v,A,H?b:o,!0).pipe(x(O=>new ye(h,O instanceof ye?[O]:[])))}))):Tn(r)))}getChildConfig(e,r,n){return r.children?w({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?w({routes:r._loadedRoutes,injector:r._loadedInjector}):aE(e,r,n,this.urlSerializer).pipe(G(i=>i?this.configLoader.loadChildren(e,r).pipe(ee(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):lE(r))):w({routes:[],injector:e})}};function wE(t){t.sort((e,r)=>e.value.outlet===b?-1:r.value.outlet===b?1:e.value.outlet.localeCompare(r.value.outlet))}function EE(t){let e=t.value.routeConfig;return e&&e.path===""}function Qh(t){let e=[],r=new Set;for(let n of t){if(!EE(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Qh(n.children);e.push(new ye(n.value,i))}return e.filter(n=>!r.has(n))}function IE(t){return t.data||{}}function bE(t){return t.resolve||{}}function ME(t,e,r,n,i,o){return G(s=>DE(t,e,r,n,s.extractedUrl,i,o).pipe(x(({state:a,tree:u})=>V(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function _E(t,e){return G(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return w(r);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Kh(u))s.add(c);let a=0;return B(s).pipe(Mt(u=>o.has(u)?SE(u,n,t,e):(u.data=Xu(u,u.parent,t).resolve,w(void 0))),ee(()=>a++),rn(1),G(u=>a===s.size?w(r):he))})}function Kh(t){let e=t.children.map(r=>Kh(r)).flat();return[t,...e]}function SE(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Hh(i)&&(o[xr]=i.title),xE(o,t,e,n).pipe(x(s=>(t._resolvedData=s,t.data=Xu(t,t.parent,r).resolve,null)))}function xE(t,e,r,n){let i=xu(t);if(i.length===0)return w({});let o={};return B(i).pipe(G(s=>TE(t[s],e,r,n).pipe(ke(),ee(a=>{o[s]=a}))),rn(1),as(o),at(s=>Zh(s)?he:en(s)))}function TE(t,e,r,n){let i=Nr(e)??n,o=Vn(t,i),s=o.resolve?o.resolve(e,r):et(i,()=>o(e,r));return wt(s)}function _u(t){return we(e=>{let r=t(e);return r?B(r).pipe(x(()=>e)):w(e)})}var Jh=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===b);return i}getResolvedTitleForRoute(n){return n.data[xr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(AE),providedIn:"root"});let t=e;return t})(),AE=(()=>{let e=class e extends Jh{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(C(gh))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Or=new D("",{providedIn:"root",factory:()=>({})}),No=new D(""),rc=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(co)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return w(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=wt(n.loadComponent()).pipe(x(Xh),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Gn(()=>{this.componentLoaders.delete(n)})),o=new Xt(i,()=>new re).pipe(Jt());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return w({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=NE(i,this.compiler,n,this.onLoadEndListener).pipe(Gn(()=>{this.childrenLoaders.delete(i)})),a=new Xt(s,()=>new re).pipe(Jt());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function NE(t,e,r,n){return wt(t.loadChildren()).pipe(x(Xh),G(i=>i instanceof nr||Array.isArray(i)?w(i):B(e.compileModuleAsync(i))),x(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(No,[],{optional:!0,self:!0}).flat()),{routes:s.map(tc),injector:o}}))}function RE(t){return t&&typeof t=="object"&&"default"in t}function Xh(t){return RE(t)?t.default:t}var ic=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(OE),providedIn:"root"});let t=e;return t})(),OE=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ep=new D(""),tp=new D("");function FE(t,e,r){let n=t.get(tp),i=t.get(de);return t.get(j).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),PE(t))),{onViewTransitionCreated:u}=n;return u&&et(t,()=>u({transition:a,from:e,to:r})),s})}function PE(t){return new Promise(e=>{Za(e,{injector:t})})}var oc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=p(rc),this.environmentInjector=p(ge),this.urlSerializer=p(Tr),this.rootContexts=p(Ar),this.location=p(Sn),this.inputBindingEnabled=p(Oo,{optional:!0})!==null,this.titleStrategy=p(Jh),this.options=p(Or,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(ic),this.createViewTransition=p(ep,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ku(o)),i=o=>this.events.next(new Lu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(V(g(g({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new X({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:yr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(s=>s.id!==0),x(s=>V(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),we(s=>{let a=!1,u=!1;return w(s).pipe(we(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",De.SupersededByNewNavigation),he;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?V(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Ct(c.id,this.urlSerializer.serialize(c.rawUrl),f,Io.IgnoredSameUrlNavigation)),c.resolve(null),he}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return w(c).pipe(we(f=>{let h=this.transitions?.getValue();return this.events.next(new Pn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?he:Promise.resolve(f)}),ME(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=V(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new bo(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:v,restoredState:A,extras:H}=c,O=new Pn(f,this.urlSerializer.serialize(h),v,A);this.events.next(O);let Ye=Uh(this.rootComponentType).snapshot;return this.currentTransition=s=V(g({},c),{targetSnapshot:Ye,urlAfterRedirects:h,extras:V(g({},H),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new Ct(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Io.IgnoredByUrlHandlingStrategy)),c.resolve(null),he}}),ee(c=>{let l=new Ru(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),x(c=>(this.currentTransition=s=V(g({},c),{guards:Hw(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),Xw(this.environmentInjector,c=>this.events.next(c)),ee(c=>{if(s.guardsResult=c.guardsResult,Fn(c.guardsResult))throw Gh(this.urlSerializer,c.guardsResult);let l=new Ou(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Ce(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",De.GuardRejected),!1)),_u(c=>{if(c.guards.canActivateChecks.length)return w(c).pipe(ee(l=>{let d=new Fu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),we(l=>{let d=!1;return w(l).pipe(_E(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",De.NoDataFromResolver)}}))}),ee(l=>{let d=new Pu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),_u(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ee(h=>{d.component=h}),x(()=>{})));for(let h of d.children)f.push(...l(h));return f};return zn(l(c.targetSnapshot.root)).pipe(ut(null),Je(1))}),_u(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?B(d).pipe(x(()=>s)):w(s)}),x(c=>{let l=Pw(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=V(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ee(()=>{this.events.next(new Ir)}),Bw(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Je(1),ee({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ot(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),ds(this.transitionAbortSubject.pipe(ee(c=>{throw c}))),Gn(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",De.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),at(c=>{if(u=!0,qh(c))this.events.next(new Dt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),Vw(c)?this.events.next(new br(c.url)):s.resolve(!1);else{this.events.next(new Er(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return he}))}))}cancelNavigationTransition(n,i,o){let s=new Dt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kE(t){return t!==yr}var LE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(VE),providedIn:"root"});let t=e;return t})(),Ju=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},VE=(()=>{let e=class e extends Ju{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=bn(e)))(o||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),np=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:()=>p(jE),providedIn:"root"});let t=e;return t})(),jE=(()=>{let e=class e extends np{constructor(){super(...arguments),this.location=p(Sn),this.urlSerializer=p(Tr),this.options=p(Or,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(ic),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Uh(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Pn)this.stateMemento=this.createStateMemento();else if(n instanceof Ct)this.rawUrlTree=i.initialUrl;else if(n instanceof bo){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Ir?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof Dt&&(n.code===De.GuardRejected||n.code===De.NoDataFromResolver)?this.restoreHistory(i):n instanceof Er?this.restoreHistory(i,!0):n instanceof ot&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=g(g({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=bn(e)))(o||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(mr||{});function rp(t,e){t.events.pipe(Ce(r=>r instanceof ot||r instanceof Dt||r instanceof Er||r instanceof Ct),x(r=>r instanceof ot||r instanceof Ct?mr.COMPLETE:(r instanceof Dt?r.code===De.Redirect||r.code===De.SupersededByNewNavigation:!1)?mr.REDIRECTING:mr.FAILED),Ce(r=>r!==mr.REDIRECTING),Je(1)).subscribe(()=>{e()})}function $E(t){throw t}var UE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BE={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},zt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(oo),this.stateManager=p(np),this.options=p(Or,{optional:!0})||{},this.pendingTasks=p(to),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(oc),this.urlSerializer=p(Tr),this.location=p(Sn),this.urlHandlingStrategy=p(ic),this._events=new re,this.errorHandler=this.options.errorHandler||$E,this.navigated=!1,this.routeReuseStrategy=p(LE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(No,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Oo,{optional:!0}),this.eventsSubscription=new Y,this.isNgZoneEnabled=p(j)instanceof j&&j.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Dt&&i.code!==De.Redirect&&i.code!==De.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ot)this.navigated=!0;else if(i instanceof br){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||kE(o.source)};this.scheduleNavigation(a,yr,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}zE(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),yr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Lh(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Vh(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Fn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,yr,null,i)}navigate(n,i={skipLocationChange:!1}){return HE(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=g({},UE):i===!1?o=g({},BE):o=i,Fn(n))return Dh(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Dh(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return rp(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function HE(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ce(n=>n instanceof ot),Mt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=eo(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(u,s.children??s._loadedRoutes))}return B(o).pipe(tn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=w(null);let s=o.pipe(G(a=>a===null?w(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return B([s,a]).pipe(tn())}else return s})}};e.\u0275fac=function(i){return new(i||e)(C(zt),C(co),C(ge),C(Ro),C(rc))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ip=new D(""),WE=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Pn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ot?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ct&&n.code===Io.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Mo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Mo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){rf()},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function qE(t){return t.routerState.root}function Fr(t,e){return{\u0275kind:t,\u0275providers:e}}function ZE(){let t=p(Pe);return e=>{let r=t.get(_n);if(e!==r.components[0])return;let n=t.get(zt),i=t.get(op);t.get(sc)===1&&n.initialNavigation(),t.get(sp,null,M.Optional)?.setUpPreloading(),t.get(ip,null,M.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var op=new D("",{factory:()=>new re}),sc=new D("",{providedIn:"root",factory:()=>1});function YE(){return Fr(2,[{provide:sc,useValue:0},{provide:uo,multi:!0,deps:[Pe],useFactory:e=>{let r=e.get(Xf,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(zt),o=e.get(op);rp(i,()=>{n(!0)}),e.get(oc).afterPreactivation=()=>(n(!0),o.closed?w(void 0):o),i.initialNavigation()}))}}])}function QE(){return Fr(3,[{provide:uo,multi:!0,useFactory:()=>{let e=p(zt);return()=>{e.setUpLocationChangeListener()}}},{provide:sc,useValue:2}])}var sp=new D("");function KE(t){return Fr(0,[{provide:sp,useExisting:GE},{provide:Ro,useExisting:t}])}function JE(){return Fr(8,[Ih,{provide:Oo,useExisting:Ih}])}function XE(t){let e=[{provide:ep,useValue:FE},{provide:tp,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Fr(9,e)}var Mh=new D("ROUTER_FORROOT_GUARD"),eI=[Sn,{provide:Tr,useClass:Cr},zt,Ar,{provide:kn,useFactory:qE,deps:[zt]},rc,[]],ac=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[eI,[],{provide:No,multi:!0,useValue:n},{provide:Mh,useFactory:iI,deps:[[zt,new Bi,new ma]]},{provide:Or,useValue:i||{}},i?.useHash?nI():rI(),tI(),i?.preloadingStrategy?KE(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?oI(i):[],i?.bindToComponentInputs?JE().\u0275providers:[],i?.enableViewTransitions?XE().\u0275providers:[],sI()]}}static forChild(n){return{ngModule:e,providers:[{provide:No,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(C(Mh,8))},e.\u0275mod=q({type:e}),e.\u0275inj=W({});let t=e;return t})();function tI(){return{provide:ip,useFactory:()=>{let t=p(oh),e=p(j),r=p(Or),n=p(oc),i=p(Tr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new WE(i,n,t,e,r)}}}function nI(){return{provide:Ut,useClass:th}}function rI(){return{provide:Ut,useClass:fu}}function iI(t){return"guarded"}function oI(t){return[t.initialNavigation==="disabled"?QE().\u0275providers:[],t.initialNavigation==="enabledBlocking"?YE().\u0275providers:[]]}var _h=new D("");function sI(){return[{provide:_h,useFactory:ZE},{provide:tu,multi:!0,useExisting:_h}]}var aI=[],ap=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({imports:[ac.forRoot(aI),ac]});let t=e;return t})();var Po,uI=new Uint8Array(16);function uc(){if(!Po&&(Po=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Po))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Po(uI)}var te=[];for(let t=0;t<256;++t)te.push((t+256).toString(16).slice(1));function up(t,e=0){return te[t[e+0]]+te[t[e+1]]+te[t[e+2]]+te[t[e+3]]+"-"+te[t[e+4]]+te[t[e+5]]+"-"+te[t[e+6]]+te[t[e+7]]+"-"+te[t[e+8]]+te[t[e+9]]+"-"+te[t[e+10]]+te[t[e+11]]+te[t[e+12]]+te[t[e+13]]+te[t[e+14]]+te[t[e+15]]}var cI=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),cc={randomUUID:cI};function lI(t,e,r){if(cc.randomUUID&&!e&&!t)return cc.randomUUID();t=t||{};let n=t.random||(t.rng||uc)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return up(n)}var jn=lI;var cp=(()=>{let e=class e{constructor(){this.characters=[{id:jn(),name:"Krillin",power:1e3},{id:jn(),name:"Goku",power:9500},{id:jn(),name:"Vegeta",power:7500}]}addCharacter(n){let i=g({id:jn()},n);this.characters.push(i)}onDeleteCharacter(n){this.characters.splice(n,1)}deleteCharacterById(n){this.characters=this.characters.filter(i=>i.id!=n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var fI=(t,e)=>({"list-group-item-dark":t,"list-group-item-primary":e});function hI(t,e){if(t&1){let r=Nf();Z(0,"li",2)(1,"div")(2,"span",3),_e(3),Q(),Z(4,"span"),_e(5),Q(),Z(6,"strong"),_e(7,"Power:"),Q(),Z(8,"span"),_e(9),Q()(),Z(10,"button",4),ve("click",function(){let i=Dd(r).$implicit,o=Of();return Cd(o.onDeleteCharacter(i.id))}),_e(11,"X"),Q()()}if(t&2){let r=e.$implicit,n=e.index,i=e.first,o=e.last;Mn("ngClass",kf(4,fI,o,i)),Ge(3),ur(" ",n+1,". "),Ge(2),ur("",r.name," -"),Ge(4),Ka(r.power)}}var lp=(()=>{let e=class e{constructor(){this.characterList=[{name:"Trunks",power:10}],this.onDelete=new $}onDeleteCharacter(n){n&&this.onDelete.emit(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ze({type:e,selectors:[["dbz-list"]],inputs:{characterList:"characterList"},outputs:{onDelete:"onDelete"},decls:4,vars:1,consts:[[1,"list-group"],["class","list-group-item d-flex justify-content-between align-items-center",3,"ngClass",4,"ngFor","ngForOf"],[1,"list-group-item","d-flex","justify-content-between","align-items-center",3,"ngClass"],[1,"text-primary"],[1,"btn","btn-danger",3,"click"]],template:function(i,o){i&1&&(Z(0,"h4"),_e(1,"Listado"),Q(),Z(2,"ul",0),Qa(3,hI,12,7,"li",1),Q()),i&2&&(Ge(3),Mn("ngForOf",o.characterList))},dependencies:[rh,ih],styles:["[_nghost-%COMP%]{display:block}"]});let t=e;return t})();var yp=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(k(Lt),k(mt))},e.\u0275dir=oe({type:e});let t=e;return t})(),Dp=(()=>{let e=class e extends yp{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=bn(e)))(o||e)}})(),e.\u0275dir=oe({type:e,features:[rt]});let t=e;return t})(),dc=new D("");var gI={provide:dc,useExisting:Pt(()=>Bo),multi:!0};function mI(){let t=We()?We().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var vI=new D(""),Bo=(()=>{let e=class e extends yp{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mI())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(k(Lt),k(mt),k(vI,8))},e.\u0275dir=oe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&ve("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[cr([gI]),rt]});let t=e;return t})();var Cp=new D(""),wp=new D("");function Ep(t){return t!=null}function Ip(t){return jt(t)?B(t):t}function bp(t){let e={};return t.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Mp(t,e){return e.map(r=>r(t))}function yI(t){return!t.validate}function _p(t){return t.map(e=>yI(e)?e:r=>e.validate(r))}function DI(t){if(!t)return null;let e=t.filter(Ep);return e.length==0?null:function(r){return bp(Mp(r,e))}}function fc(t){return t!=null?DI(_p(t)):null}function CI(t){if(!t)return null;let e=t.filter(Ep);return e.length==0?null:function(r){let n=Mp(r,e).map(Ip);return ss(n).pipe(x(bp))}}function hc(t){return t!=null?CI(_p(t)):null}function dp(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function wI(t){return t._rawValidators}function EI(t){return t._rawAsyncValidators}function lc(t){return t?Array.isArray(t)?t:[t]:[]}function Lo(t,e){return Array.isArray(t)?t.includes(e):t===e}function fp(t,e){let r=lc(e);return lc(t).forEach(i=>{Lo(r,i)||r.push(i)}),r}function hp(t,e){return lc(e).filter(r=>!Lo(t,r))}var Vo=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=fc(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=hc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Un=class extends Vo{get formDirective(){return null}get path(){return null}},Vr=class extends Vo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},jo=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},II={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},KA=V(g({},II),{"[class.ng-submitted]":"isSubmitted"}),Sp=(()=>{let e=class e extends jo{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(k(Vr,2))},e.\u0275dir=oe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&no("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[rt]});let t=e;return t})(),xp=(()=>{let e=class e extends jo{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(k(Un,10))},e.\u0275dir=oe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&no("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[rt]});let t=e;return t})();var Pr="VALID",ko="INVALID",$n="PENDING",kr="DISABLED";function Tp(t){return(Ho(t)?t.validators:t)||null}function bI(t){return Array.isArray(t)?fc(t):t||null}function Ap(t,e){return(Ho(e)?e.asyncValidators:t)||null}function MI(t){return Array.isArray(t)?hc(t):t||null}function Ho(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function _I(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new m(1e3,"");if(!n[r])throw new m(1001,"")}function SI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new m(1002,"")})}var $o=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Pr}get invalid(){return this.status===ko}get pending(){return this.status==$n}get disabled(){return this.status===kr}get enabled(){return this.status!==kr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(fp(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(fp(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(hp(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(hp(e,this._rawAsyncValidators))}hasValidator(e){return Lo(this._rawValidators,e)}hasAsyncValidator(e){return Lo(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=$n,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=kr,this.errors=null,this._forEachChild(n=>{n.disable(V(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(V(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Pr,this._forEachChild(n=>{n.enable(V(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(V(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pr||this.status===$n)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kr:Pr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=$n,this._hasOwnPendingAsyncValidator=!0;let r=Ip(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?kr:this.errors?ko:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($n)?$n:this._anyControlsHaveStatus(ko)?ko:Pr}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ho(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=bI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=MI(this._rawAsyncValidators)}},Uo=class extends $o{constructor(e,r,n){super(Tp(r),Ap(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){SI(this,!0,e),Object.keys(e).forEach(n=>{_I(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var pc=new D("CallSetDisabledState",{providedIn:"root",factory:()=>gc}),gc="always";function xI(t,e){return[...e.path,t]}function Np(t,e,r=gc){Rp(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),AI(t,e),RI(t,e),NI(t,e),TI(t,e)}function pp(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function TI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Rp(t,e){let r=wI(t);e.validator!==null?t.setValidators(dp(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=EI(t);e.asyncValidator!==null?t.setAsyncValidators(dp(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();pp(e._rawValidators,i),pp(e._rawAsyncValidators,i)}function AI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Op(t,e)})}function NI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Op(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Op(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function RI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function OI(t,e){t==null,Rp(t,e)}function FI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function PI(t){return Object.getPrototypeOf(t.constructor)===Dp}function kI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function LI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Bo?r=o:PI(o)?n=o:i=o}),i||n||r||null}var VI={provide:Un,useExisting:Pt(()=>mc)},Lr=Promise.resolve(),mc=(()=>{let e=class e extends Un{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new $,this.form=new Uo({},fc(n),hc(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Lr.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Np(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Lr.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Lr.then(()=>{let i=this._findContainer(n.path),o=new Uo({});OI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Lr.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Lr.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,kI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(k(Cp,10),k(wp,10),k(pc,8))},e.\u0275dir=oe({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&ve("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[ce.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[cr([VI]),rt]});let t=e;return t})();function gp(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function mp(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var jI=class extends $o{constructor(e=null,r,n){super(Tp(r),Ap(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ho(r)&&(r.nonNullable||r.initialValueIsDefault)&&(mp(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){gp(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){gp(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){mp(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var $I={provide:Vr,useExisting:Pt(()=>vc)},vp=Promise.resolve(),vc=(()=>{let e=class e extends Vr{constructor(n,i,o,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new jI,this._registered=!1,this.name="",this.update=new $,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=LI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),FI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Np(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){vp.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&lo(i);vp.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?xI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(k(Un,9),k(Cp,10),k(wp,10),k(dc,10),k($t,8),k(pc,8))},e.\u0275dir=oe({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[ce.None,"disabled","isDisabled"],model:[ce.None,"ngModel","model"],options:[ce.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[cr([$I]),rt,En]});let t=e;return t})(),Fp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=oe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})(),UI={provide:dc,useExisting:Pt(()=>yc),multi:!0},yc=(()=>{let e=class e extends Dp{writeValue(n){let i=n??"";this.setProperty("value",i)}registerOnChange(n){this.onChange=i=>{n(i==""?null:parseFloat(i))}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=bn(e)))(o||e)}})(),e.\u0275dir=oe({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&ve("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[cr([UI]),rt]});let t=e;return t})();var BI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({});let t=e;return t})();var Pp=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:pc,useValue:n.callSetDisabledState??gc}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({imports:[BI]});let t=e;return t})();var kp=(()=>{let e=class e{constructor(){this.onNewCharacter=new $,this.character={name:"",power:0}}emitCharacter(){this.character.name.length!==0&&(this.onNewCharacter.emit(this.character),this.character={name:"",power:0})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ze({type:e,selectors:[["dbz-add-character"]],outputs:{onNewCharacter:"onNewCharacter"},decls:7,vars:2,consts:[[1,"row",3,"ngSubmit"],["type","text","name","name","placeholder","Nombre",1,"form-control","mb-2",3,"ngModelChange","ngModel"],["type","number","name","power","placeholder","Poder",1,"form-control","mb-2",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary"]],template:function(i,o){i&1&&(Z(0,"h4"),_e(1,"Agregar Personajes"),Q(),Z(2,"form",0),ve("ngSubmit",function(){return o.emitCharacter()}),Z(3,"input",1),io("ngModelChange",function(a){return Ja(o.character.name,a)||(o.character.name=a),a}),Q(),Z(4,"input",2),io("ngModelChange",function(a){return Ja(o.character.power,a)||(o.character.power=a),a}),Q(),Z(5,"button",3),_e(6," Agregar "),Q()()),i&2&&(Ge(3),ro("ngModel",o.character.name),Ge(),ro("ngModel",o.character.power))},dependencies:[Fp,Bo,yc,Sp,xp,vc,mc]});let t=e;return t})();var Lp=(()=>{let e=class e{constructor(n){this.dbzService=n}get characters(){return[...this.dbzService.characters]}onDeleteCharacter(n){this.dbzService.deleteCharacterById(n)}onNewCharacter(n){this.dbzService.addCharacter(n)}};e.\u0275fac=function(i){return new(i||e)(k(cp))},e.\u0275cmp=ze({type:e,selectors:[["app-dbz-main-page"]],decls:8,vars:1,consts:[[1,"row"],[1,"col"],[3,"onDelete","characterList"],[3,"onNewCharacter"]],template:function(i,o){i&1&&(Z(0,"h1"),_e(1,"DBZ Personajes"),Q(),Vt(2,"hr"),Z(3,"div",0)(4,"div",1)(5,"dbz-list",2),ve("onDelete",function(a){return o.onDeleteCharacter(a)}),Q()(),Z(6,"div",1)(7,"dbz-add-character",3),ve("onNewCharacter",function(a){return o.onNewCharacter(a)}),Q()()()),i&2&&(Ge(5),Mn("characterList",o.characters))},dependencies:[lp,kp],encapsulation:2});let t=e;return t})();var Vp=(()=>{let e=class e{constructor(){this.title="Mi primera app de Angular"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ze({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,o){i&1&&Vt(0,"app-dbz-main-page")},dependencies:[Lp]});let t=e;return t})();var jp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e}),e.\u0275inj=W({imports:[xn,Pp]});let t=e;return t})();var $p=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=q({type:e,bootstrap:[Vp]}),e.\u0275inj=W({imports:[ph,vh,yh,jp,ap]});let t=e;return t})();hh().bootstrapModule($p).catch(t=>console.error(t)); diff --git a/docs/polyfills-RT5I6R6G.js b/docs/polyfills-RT5I6R6G.js new file mode 100644 index 0000000..96a6393 --- /dev/null +++ b/docs/polyfills-RT5I6R6G.js @@ -0,0 +1,2 @@ +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let se=class se{static assertZonePatched(){if(e.Promise!==oe.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 t=se.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return ne}static __load_patch(t,s,o=!1){if(oe.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),oe[t]=s(e,se,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=ne;ne=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(f){if(this._zoneDelegate.handleError(this,f))throw f}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,ne=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let f={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,f)}}}class m{constructor(t,s,o,v,F,f){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=f,!o)throw new Error("callback is not defined");this.callback=o;let u=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,u,this,arguments)}}static invokeTask(t,s,o){t||(t=this),ee++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{ee==1&&E(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}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}}}let I=l("setTimeout"),O=l("Promise"),Z=l("then"),B=[],j=!1,J;function q(L){if(J||e[O]&&(J=e[O].resolve(0)),J){let t=J[Z];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){ee===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!j){for(j=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},ne=null,ee=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var pe=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ct=Object.create,at=Array.prototype.slice,Le="addEventListener",je="removeEventListener",De=Zone.__symbol__(Le),Oe=Zone.__symbol__(je),ce="true",ae="false",ge=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function He(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,lt="removeAttribute";function xe(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function ut(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,xe(arguments,c+"."+a))};return le(b,_),b})(l)}}}function $e(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",Ge=!Re&&!Je&&!!(we&&Te.HTMLElement),Ke=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!Je&&!!(we&&Te.HTMLElement),Pe={},qe=function(e){if(e=e||Y.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(Ge&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function Xe(e,n,c){let r=pe(e,n);if(!r&&c&&pe(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=A("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=Pe[_];b||(b=Pe[_]=A("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,qe),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,qe,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[lt]=="function"&&k.removeAttribute(n),I}return null},Ie(e,n,r),e[a]=!0}function Qe(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?He(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function le(e,n){e[A("OriginalDelegate")]=n}var ze=!1,Ze=!1;function ht(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function dt(){if(ze)return Ze;ze=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(f){if(f&&f.toString===Object.prototype.toString){let u=f.constructor&&f.constructor.name;return(u||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=f=>{if(c.showUncaughtError()){let u=f&&f.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(f)}},c.microtaskDrainDone=()=>{for(;_.length;){let f=_.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(u){Z(u)}}};let O=y("unhandledPromiseRejectionHandler");function Z(f){c.onUnhandledError(f);try{let u=n[O];typeof u=="function"&&u.call(this,f)}catch{}}function B(f){return f&&f.then}function j(f){return f}function J(f){return t.reject(f)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(f,u){return i=>{try{z(f,u,i)}catch(h){z(f,!1,h)}}}let P=function(){let f=!1;return function(i){return function(){f||(f=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",oe=y("currentTaskTrace");function z(f,u,i){let h=P();if(f===i)throw new TypeError(K);if(f[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(f,!1,w)})(),f}if(u!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)ne(i),z(f,i[q],i[R]);else if(u!==x&&typeof g=="function")try{g.call(i,h(N(f,u)),h(N(f,!1)))}catch(w){h(()=>{z(f,!1,w)})()}else{f[q]=u;let w=f[R];if(f[R]=i,f[E]===E&&u===T&&(f[q]=f[H],f[R]=f[$]),u===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=f[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=u.run(p,void 0,S&&p!==J&&p!==j?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",se=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(u){return u instanceof t?u:z(new this(null),T,u)}static reject(u){return z(new this(null),x,u)}static withResolvers(){let u={};return u.promise=new t((i,h)=>{u.resolve=i,u.reject=h}),u}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of u)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(u){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of u)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(u,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of u){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(u){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();u&&u(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(se),w=n.current;return this[q]==M?this[R].push(w,g,u,i):ee(this,w,g,u,i),g}catch(u){return this.then(null,u)}finally(u){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(se);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,u,u):ee(this,g,h,u,u),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(f){let u=f.prototype,i=r(u,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=u.then;u[m]=h,f.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},f[o]=!0}c.patchThen=v;function F(f){return function(u,i){let h=f.apply(u,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),ue(e,"fetch",f=>F(f))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=A("OriginalDelegate"),r=A("Promise"),a=A("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var _t={useG:!0},te={},et={},tt=new RegExp("^"+ge+"(\\w+)(true|false)$"),nt=A("propagationStopped");function rt(e,n){let c=(n?n(e):e)+ae,r=(n?n(e):e)+ce,a=ge+c,l=ge+r;te[e]={},te[e][ae]=a,te[e][ce]=l}function Et(e,n,c,r){let a=r&&r.add||Le,l=r&&r.rm||je,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=A(a),k="."+a+":",m="prependListener",I="."+m+":",O=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function Z(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[te[E.type][$?ce:ae]];if(X){let M=[];if(X.length===1){let T=O(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return Z(this,R,!1)},j=function(R){return Z(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Me(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[A(l)]=T[l],K=T[A(y)]=T[y],oe=T[A(_)]=T[_],z;E&&E.prepend&&(z=T[A(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let ne=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?j:B,d.options)},ee=function(i){if(!i.isRemoved){let h=te[i.eventName],g;h&&(g=h[i.capture?ce:ae]);let w=g&&i.target[g];if(w){for(let p=0;p{ie.zone.cancelTask(ie)},{once:!0})),d.target=null,me&&(me.taskData=null),Ve&&(Q.once=!0),!_e&&typeof ie.options=="boolean"||(ie.options=Q),ie.target=S,ie.capture=Ce,ie.eventName=D,V&&(ie.originalDelegate=G),C?de.unshift(ie):de.push(ie),p)return S}};return T[a]=u(N,k,t,s,M),z&&(T[m]=u(z,I,se,s,M,!0)),T[l]=function(){let i=this||e,h=arguments[0];E&&E.transferEventName&&(h=E.transferEventName(h));let g=arguments[2],w=g?typeof g=="boolean"?!0:g.capture:!1,p=arguments[1];if(!p)return P.apply(this,arguments);if(H&&!H(P,p,i,arguments))return;let C=te[h],S;C&&(S=C[w?ce:ae]);let D=S&&i[S];if(D)for(let G=0;Gfunction(a,l){a[nt]=!0,r&&r.apply(a,l)})}function yt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){let Z=e.ObjectGetOwnPropertyDescriptor(O,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(b.prototype,m,Z)):O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],I))}else O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function st(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function Ye(e,n,c,r){if(!e)return;let a=st(e,n,c);Qe(e,a,r)}function Ne(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function mt(e,n){if(Re&&!Ke||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(Ge){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ht()?[{target:a,ignoreProperties:["error"]}]:[];Ye(a,Ne(a),c&&c.concat(l),Me(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Ne(e);c.patchOnProperties=Qe,c.patchMethod=ue,c.bindArguments=xe,c.patchMacroTask=ft;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Tt,c.patchEventTarget=Et,c.isIEOrEdge=dt,c.ObjectDefineProperty=Ie,c.ObjectGetOwnPropertyDescriptor=pe,c.ObjectCreate=ct,c.ArraySlice=at,c.patchClass=ke,c.wrapWithCurrentZone=Ae,c.filterProperties=st,c.attachOriginToPatched=le,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ge,isMix:Ke,isNode:Re,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ge,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:je})});function pt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var be=A("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=ue(e,n,k=>function(m,I){if(typeof I[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete y[O.handleId]:O.handleId&&(O.handleId[be]=null))}};let B=He(n,I[0],O,_,b);if(!B)return B;let j=B.data.handleId;return typeof j=="number"?y[j]=B:j&&(j[be]=B),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(B.ref=j.ref.bind(j),B.unref=j.unref.bind(j)),typeof j=="number"||j?j:B}else return k.apply(e,I)}),l=ue(e,c,k=>function(m,I){let O=I[0],Z;typeof O=="number"?Z=y[O]:(Z=O&&O[be],Z||(Z=O)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof O=="number"?delete y[O]:O&&(O[be]=null),Z.zone.cancelTask(Z)):k.apply(e,I)})}function gt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function kt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{vt(e,c),kt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ke("MutationObserver"),ke("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ke("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ke("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{mt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{gt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=A("xhrTask"),r=A("xhrSync"),a=A("xhrListener"),l=A("xhrScheduled"),y=A("xhrURL"),_=A("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function O(d){return d[c]}let Z=I[De],B=I[Oe];if(!Z){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;Z=N[De],B=N[Oe]}}let j="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];Z||(Z=P[De],B=P[Oe]),K&&B.call(P,j,K);let oe=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=A("fetchTaskAborting"),M=A("fetchTaskScheduling"),T=ue(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=He(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=ue(I,"abort",()=>function(d,N){let P=O(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&ut(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){ot(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[A("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{pt(e,c)}); diff --git a/docs/styles-5INURTSO.css b/docs/styles-5INURTSO.css new file mode 100644 index 0000000..e69de29