diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index fcae864..7a9e4b9 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -273,7 +273,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2023 Google LLC. https://angular.io/license +Copyright (c) 2010-2024 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/browser/chunk-E7B6YM3J.js b/browser/chunk-E7B6YM3J.js new file mode 100644 index 0000000..87eb27d --- /dev/null +++ b/browser/chunk-E7B6YM3J.js @@ -0,0 +1 @@ +import{Da as m,Ha as $,Ja as gt,Ka as z,La as U,M as rt,Ma as S,Na as T,Oa as bt,Pa as mt,Qa as w,Ra as k,S as P,Sa as dt,Ta as Ct,Ua as Pt,W as ct,Xa as E,Y as it,Ya as Mt,ba as st,ca as at,da as pt,ja as b,ka as ft,qb as _t,ta as x,va as ut,xb as Ot}from"./chunk-EW74ROYA.js";var B=t=>t===void 0||t==="auto"||t==="instant"||t==="smooth";function ht(t,o){this.scrollLeft=t,this.scrollTop=o}var G=(t,o,l="cannot convert to dictionary.")=>`Failed to execute '${t}' on '${o}': ${l}`,V=(t,o,l)=>G(t,o,`The provided value '${l}' is not a valid enum value of type ScrollBehavior.`),d=(t,o,l)=>{var n;let e=`__SEAMLESS.BACKUP$${o}`;return!t[e]&&t[o]&&!(!((n=t[o])===null||n===void 0)&&n.__isPolyfill)&&(t[e]=t[o]),t[e]||l},D=t=>{let o=typeof t;return t!==null&&(o==="object"||o==="function")},_=t=>"scrollBehavior"in window.document.documentElement.style&&t?.forcePolyfill!==!0,q=t=>{Object.defineProperty(t,"__isPolyfill",{value:!0})},O=(t,o)=>{q(o),[HTMLElement.prototype,SVGElement.prototype,Element.prototype].forEach(l=>{d(l,t),l[t]=o})},v=t=>t.ownerDocument.scrollingElement||t.ownerDocument.documentElement;function yt(t){if(typeof Event=="function")return new Event("scrollend",{bubbles:t,cancelable:!1});let o=document.createEvent("Event");return o.initEvent("scrollend",t,!1),o}var Yt=t=>.5*(1-Math.cos(Math.PI*t));function H(){var t;let o;return!((t=window.performance)===null||t===void 0)&&t.now?o=()=>window.performance.now():o=()=>window.Date.now(),H=o,o()}var Rt=500,K=t=>{let l=(H()-t.timeStamp)/(t.duration||Rt);if(l>1){t.method(t.targetX,t.targetY),t.callback();return}let n=(t.timingFunc||Yt)(l),e=t.startX+(t.targetX-t.startX)*n,r=t.startY+(t.targetY-t.startY)*n;t.method(e,r),t.rafId=window.requestAnimationFrame(()=>{K(t)})};var L=t=>isFinite(t)?Number(t):0,$t=t=>{var o;return(o=t.isConnected)!==null&&o!==void 0?o:!t.ownerDocument||!(t.ownerDocument.compareDocumentPosition(t)&1)},zt=(t,o,l)=>{var n,e;if(!$t(t))return;let r=t.scrollLeft,c=t.scrollTop,p=L((n=o.left)!==null&&n!==void 0?n:r),s=L((e=o.top)!==null&&e!==void 0?e:c);if(p===r&&s===c)return;let C=d(HTMLElement.prototype,"scroll",ht),a=d(Object.getPrototypeOf(t),"scroll",C).bind(t);if(o.behavior!=="smooth"){a(p,s);return}let f=()=>{window.removeEventListener("wheel",i),window.removeEventListener("touchmove",i)},g=()=>{f();let y=t.nodeType===9;t.dispatchEvent(yt(y))},u=Object.assign(Object.assign({},l),{timeStamp:H(),startX:r,startY:c,targetX:p,targetY:s,rafId:0,method:a,callback:g}),i=()=>{window.cancelAnimationFrame(u.rafId),f()};window.addEventListener("wheel",i,{passive:!0,once:!0}),window.addEventListener("touchmove",i,{passive:!0,once:!0}),K(u)},Ut=t=>t.window===t,J=t=>(o,l,n)=>{let[e,r]=Ut(o)?[v(o.document.documentElement),"Window"]:[o,"Element"],c=l??{};if(!D(c))throw new TypeError(G(t,r));if(!B(c.behavior))throw new TypeError(V(t,r,c.behavior));t==="scrollBy"&&(c.left=L(c.left)+e.scrollLeft,c.top=L(c.top)+e.scrollTop),zt(e,c,n)},Q=J("scroll"),wt=J("scrollTo"),vt=J("scrollBy"),xt=Q;var Et=t=>{switch(t){case"horizontal-tb":case"lr":case"lr-tb":case"rl":case"rl-tb":return 0;case"vertical-rl":case"tb":case"tb-rl":return 1;case"vertical-lr":case"tb-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4}return 0},Bt=(t,o,l,n)=>{let e=0;switch(o||(e^=2),t){case 0:e=e>>1|(e&1)<<1,[l,n]=[n,l];break;case 1:case 3:e^=1;break;case 4:e^=2;break}return[e,l,n]},Gt=t=>(Bt(Et(t.writingMode),t.direction!=="rtl",void 0,void 0)[0]&1)===1,qt=(t,o,l)=>{let[n,e,r]=Bt(o,l,t.block||"start",t.inline||"nearest");return[e,r].map((c,p)=>{switch(c){case"center":return 1;case"nearest":return 0;default:{let s=n>>p&1;return c==="start"==!s?2:3}}})},St=(t,o,l,n,e,r,c)=>t!==0?t:el||e>o&&r=l&&c>=n?2:r>l&&cn?3:null,Tt=t=>t!=="visible"&&t!=="clip",Kt=t=>{var o;try{return((o=t.ownerDocument.defaultView)===null||o===void 0?void 0:o.frameElement)||null}catch{return null}},Jt=(t,o)=>t.clientHeight{let o=t.parentNode,l=t.parentElement;if(l===null&&o!==null){if(o.nodeType===11)return o.host;if(o.nodeType===9)return Kt(t)}return l},Z=(t,o,l)=>tl?l:t,Qt=t=>["scroll-margin","scroll-snap-margin"].filter(o=>o in t.documentElement.style)[0],Zt=(t,o,l)=>{let{top:n,right:e,bottom:r,left:c}=o,p=Qt(t.ownerDocument);if(!p)return[n,e,r,c];let s=C=>{let a=l.getPropertyValue(`${p}-${C}`);return parseInt(a,10)||0};return[n-s("top"),e+s("right"),r+s("bottom"),c-s("left")]},W=(t,o,l)=>{switch(t){case 1:return(o+l)/2;case 3:return l;case 2:case 0:return o}},to=(t,o)=>{var l,n,e;let r=(l=t.ownerDocument.defaultView)===null||l===void 0?void 0:l.visualViewport,[c,p,s,C]=t===v(t)?[0,0,(n=r?.width)!==null&&n!==void 0?n:t.clientWidth,(e=r?.height)!==null&&e!==void 0?e:t.clientHeight]:[o.left,o.top,t.clientWidth,t.clientHeight],a=c+t.clientLeft,f=p+t.clientTop,g=a+s,u=f+C;return[f,g,u,a]},oo=(t,o)=>{let l=[],n=t.ownerDocument,e=n.defaultView;if(!e)return l;let r=window.getComputedStyle(t),c=r.direction!=="rtl",p=Et(r.writingMode||r.getPropertyValue("-webkit-writing-mode")||r.getPropertyValue("-ms-writing-mode")),[s,C]=qt(o,p,c),[a,f,g,u]=Zt(t,t.getBoundingClientRect(),r);for(let i=kt(t);i!==null;i=kt(i)){if(n!==i.ownerDocument){if(n=i.ownerDocument,e=n.defaultView,!e)break;let{left:et,top:lt}=i.getBoundingClientRect();a+=lt,f+=et,g+=lt,u+=et}let y=e.getComputedStyle(i);if(y.position==="fixed")break;if(!Jt(i,y))continue;let At=i.getBoundingClientRect(),[I,F,j,N]=to(i,At),A=St(s,N,F,i.clientWidth,u,f,f-u),X=St(C,I,j,i.clientHeight,a,g,g-a),nt=A===null?0:W(A,u,f)-W(A,N,F),Xt=X===null?0:W(X,a,g)-W(X,I,j),Y=Gt(y)?Z(nt,-i.scrollWidth+i.clientWidth-i.scrollLeft,-i.scrollLeft):Z(nt,-i.scrollLeft,i.scrollWidth-i.clientWidth-i.scrollLeft),R=Z(Xt,-i.scrollTop,i.scrollHeight-i.clientHeight-i.scrollTop);l.push([i,{left:i.scrollLeft+Y,top:i.scrollTop+R,behavior:o.behavior}]),a=Math.max(a-R,I),f=Math.min(f-Y,F),g=Math.min(g-R,j),u=Math.max(u-Y,N)}return l},no=(t,o,l)=>{let n=o||{};if(!B(n.behavior))throw new TypeError(V("scrollIntoView","Element",n.behavior));oo(t,n).forEach(([r,c])=>{xt(r,c,l)})},tt=no;var h=(t,o)=>l=>{if(_(l))return;let n={scroll:Q,scrollTo:wt,scrollBy:vt}[t];o(t,function(){let e=arguments;if(arguments.length===1){n(this,e[0],l);return}let r=e[0],c=e[1];n(this,{left:r,top:c})})},Vt=h("scroll",O),Dt=h("scrollTo",O),Ht=h("scrollBy",O),ot=(t,o)=>{q(o),d(window,t),window[t]=o},Lt=h("scroll",ot),Wt=h("scrollTo",ot),It=h("scrollBy",ot);function eo(t){tt(this,{block:t??!0?"start":"end",inline:"nearest"})}var Ft=t=>{if(_(t))return;let o=d(window.HTMLElement.prototype,"scrollIntoView",eo);O("scrollIntoView",function(){let n=arguments,e=n[0];if(n.length===1&&D(e)){tt(this,e,t);return}o.apply(this,n)})};var jt=t=>{_(t)||(Vt(t),Dt(t),Ht(t),Ft(t),Lt(t),Wt(t),It(t))};var M=(()=>{let o=class o{constructor(){this.scrolledFromTop=m(!1),this.scrollOffset=m(0),this.isBrowser=typeof window<"u",this.alreadyActivated=m(!1),this.document=P(_t)}onWindowScroll(n){let e=this.document.documentElement?.scrollTop||this.document.scrollingElement?.scrollTop;switch(n){case"classic":return this.classicMode(e);case"smart":return this.smartMode(e)}}classicMode(n){return!!(this.isBrowser&&n>window.innerHeight)}smartMode(n){let e=!1;return n===0&&(e=!1,this.scrolledFromTop.set(!1)),this.scrolledFromTop()&&this.scrollOffset()>n&&(e=!0),this.isBrowser&&n>window.innerHeight*2&&(this.scrolledFromTop.set(!0),this.scrollOffset.set(n)),e}scrollToTop(){this.isBrowser&&(this.alreadyActivated()||(jt(),this.alreadyActivated.set(!0)),window.scroll({top:0,left:0,behavior:"smooth"}))}};o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=rt({token:o,factory:o.\u0275fac});let t=o;return t})();var lo=["*"];function ro(t,o){if(t&1&&(pt(),S(0,"svg",6),bt(1,"path",7),T()),t&2){let l=k(2);z("fill",l.symbolColor())}}function co(t,o){if(t&1){let l=mt();S(0,"button",3,0),w("click",function(){st(l);let e=k();return at(e.scrollToTop())}),S(2,"div",4)(3,"span",null,1),Ct(5),T(),$(6,ro,2,2,":svg:svg",5),T()()}if(t&2){let l=Pt(4),n=k();z("left",n.position()==="left"?"20px":"")("background-color",n.backgroundColor())("width",n.size(),"px")("height",n.size(),"px"),gt("ngClass",n.theme()),ut(6),U(l.childNodes.length===0?6:-1)}}var Ao=(()=>{let o=class o{constructor(){this.backgroundColor=b(),this.symbolColor=b(),this.size=b(),this.position=b("right"),this.theme=b("gray"),this.mode=b("classic"),this.show=m(!1),this.core=P(M)}onWindowScroll(){let n=this.core.onWindowScroll(this.mode());this.show()!==n&&this.show.set(n)}scrollToTop(){this.core.scrollToTop()}};o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=ct({type:o,selectors:[["ngx-scrolltop"]],hostBindings:function(e,r){e&1&&w("scroll",function(){return r.onWindowScroll()},!1,x)},inputs:{backgroundColor:[1,"backgroundColor"],symbolColor:[1,"symbolColor"],size:[1,"size"],position:[1,"position"],theme:[1,"theme"],mode:[1,"mode"]},standalone:!0,features:[E([M]),Mt],ngContentSelectors:lo,decls:1,vars:1,consts:[["scrollTopButton",""],["ref",""],["type","button","role","button","aria-label","Scroll to top of the page","tabindex","0",1,"scrolltop-button",3,"ngClass","left","backgroundColor","width","height"],["type","button","role","button","aria-label","Scroll to top of the page","tabindex","0",1,"scrolltop-button",3,"click","ngClass"],[1,"symbol-container"],["aria-hidden","true","focusable","false","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",3,"fill"],["aria-hidden","true","focusable","false","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]],template:function(e,r){e&1&&(dt(),$(0,co,7,10,"button",2)),e&2&&U(r.show()?0:-1)},dependencies:[Ot],styles:["button[_ngcontent-%COMP%]{outline:0;-webkit-user-select:none;user-select:none}.scrolltop-button[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;align-items:center;border-radius:50%;padding:0;width:40px;height:40px;right:20px;bottom:20px;cursor:pointer;border:none;transition:opacity .1s linear;z-index:10000;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.scrolltop-button[_ngcontent-%COMP%]:hover{opacity:.92}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:15px}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:empty{display:none}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:inline-flex;transform:translateY(10%);width:35%;vertical-align:baseline}.scrolltop-button.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}.scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff}.scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff}.scrolltop-button.white[_ngcontent-%COMP%]{background-color:#fff;color:#000}.scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000}.scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#000}.scrolltop-button.gray[_ngcontent-%COMP%]{background-color:#212121;color:#fafafa}.scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fafafa}.scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%]{background-color:#212121;color:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fafafa}.scrolltop-button.brown[_ngcontent-%COMP%]{background-color:#3e2723;color:#efebe9}.scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#efebe9}.scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#efebe9}.scrolltop-button.deeporange[_ngcontent-%COMP%]{background-color:#bf360c;color:#fbe9e7}.scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fbe9e7}.scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fbe9e7}.scrolltop-button.orange[_ngcontent-%COMP%]{background-color:#ff6d00;color:#fff3e0}.scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff3e0}.scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff3e0}.scrolltop-button.yellow[_ngcontent-%COMP%]{background-color:#ffd600;color:#fffde7}.scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fffde7}.scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fffde7}.scrolltop-button.green[_ngcontent-%COMP%]{background-color:#1b5e20;color:#e8f5e9}.scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e8f5e9}.scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e8f5e9}.scrolltop-button.blue[_ngcontent-%COMP%]{background-color:#2962ff;color:#e3f2fd}.scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e3f2fd}.scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e3f2fd}.scrolltop-button.purple[_ngcontent-%COMP%]{background-color:#4a148c;color:#f3e5f5}.scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f3e5f5}.scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f3e5f5}.scrolltop-button.deeppurple[_ngcontent-%COMP%]{background-color:#311b92;color:#ede7f6}.scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ede7f6}.scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ede7f6}.scrolltop-button.pink[_ngcontent-%COMP%]{background-color:#880e4f;color:#fce4ec}.scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fce4ec}.scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fce4ec}.scrolltop-button.red[_ngcontent-%COMP%]{background-color:#b71c1c;color:#ffebee}.scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ffebee}.scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ffebee}.scrolltop-button.indigo[_ngcontent-%COMP%]{background-color:#1a237e;color:#e8eaf6}.scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e8eaf6}.scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e8eaf6}.scrolltop-button.lightblue[_ngcontent-%COMP%]{background-color:#01579b;color:#e1f5fe}.scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e1f5fe}.scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e1f5fe}.scrolltop-button.cyan[_ngcontent-%COMP%]{background-color:#006064;color:#e0f7fa}.scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e0f7fa}.scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e0f7fa}.scrolltop-button.teal[_ngcontent-%COMP%]{background-color:#004d40;color:#e0f2f1}.scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e0f2f1}.scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e0f2f1}.scrolltop-button.lightgreen[_ngcontent-%COMP%]{background-color:#33691e;color:#f1f8e9}.scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f1f8e9}.scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f1f8e9}.scrolltop-button.lime[_ngcontent-%COMP%]{background-color:#827717;color:#f9fbe7}.scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f9fbe7}.scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f9fbe7}.scrolltop-button.amber[_ngcontent-%COMP%]{background-color:#ff6f00;color:#fff8e1}.scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff8e1}.scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff8e1}.scrolltop-button.bluegrey[_ngcontent-%COMP%]{background-color:#263238;color:#eceff1}.scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#eceff1}.scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#eceff1}"],changeDetection:0});let t=o;return t})();var Uo=(()=>{let o=class o{constructor(){this.mode=b("classic",{alias:"ngxScrollTopMode"}),this.show=m(!1),this.el=P(ft),this.core=P(M),this.hideElement()}onWindowScroll(){let n=this.core.onWindowScroll(this.mode());this.show()!==n&&(n?this.showElement():this.hideElement(),this.show.set(n))}onClick(){this.scrollToTop()}hideElement(){this.el.nativeElement.style.display="none"}showElement(){this.el.nativeElement.style.display=""}scrollToTop(){this.core.scrollToTop()}};o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=it({type:o,selectors:[["","ngxScrollTop",""]],hostBindings:function(e,r){e&1&&w("scroll",function(){return r.onWindowScroll()},!1,x)("click",function(){return r.onClick()})},inputs:{mode:[1,"ngxScrollTopMode","mode"]},standalone:!0,features:[E([M])]});let t=o;return t})();export{Ao as a,Uo as b}; diff --git a/browser/chunk-EW74ROYA.js b/browser/chunk-EW74ROYA.js new file mode 100644 index 0000000..64a004d --- /dev/null +++ b/browser/chunk-EW74ROYA.js @@ -0,0 +1,7 @@ +var zc=Object.defineProperty,Gc=Object.defineProperties;var Wc=Object.getOwnPropertyDescriptors;var ki=Object.getOwnPropertySymbols;var qc=Object.prototype.hasOwnProperty,Zc=Object.prototype.propertyIsEnumerable;var Pi=(e,t,n)=>t in e?zc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,se=(e,t)=>{for(var n in t||={})qc.call(t,n)&&Pi(e,n,t[n]);if(ki)for(var n of ki(t))Zc.call(t,n)&&Pi(e,n,t[n]);return e},De=(e,t)=>Gc(e,Wc(t));var Nm=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function Yc(e,t){return Object.is(e,t)}var F=null,Gt=!1,Wt=1,Ae=Symbol("SIGNAL");function b(e){let t=F;return F=e,t}function Li(){return F}var qt={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 Dr(e){if(Gt)throw new Error("");if(F===null)return;F.consumerOnSignalRead(e);let t=F.nextProducerIndex++;if(Yt(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){Yt(e);for(let t=0;t0}function Yt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Hi(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ui(e){return e.producerNode!==void 0}function Xc(){throw new Error}var zi=Xc;function Gi(){zi()}function Wi(e){zi=e}var el=null;function qi(e){let t=Object.create(Cr);t.value=e;let n=()=>(Dr(t),t.value);return n[Ae]=t,n}function Qt(e,t){Vi()||Gi(),e.equal(e.value,t)||(e.value=t,tl(e))}function Zi(e,t){Vi()||Gi(),Qt(e,t(e.value))}var Cr=De(se({},qt),{equal:Yc,value:void 0});function tl(e){e.version++,Qc(),ji(e),el?.()}function m(e){return typeof e=="function"}function Qe(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Kt=Qe(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function wt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var R=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Kt?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Yi(i)}catch(s){t=t??[],s instanceof Kt?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Kt(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Yi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&wt(n,t)}remove(t){let{_finalizers:n}=this;n&&wt(n,t),t instanceof e&&t._removeParent(this)}};R.EMPTY=(()=>{let e=new R;return e.closed=!0,e})();var br=R.EMPTY;function Jt(e){return e instanceof R||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Yi(e){m(e)?e():e.unsubscribe()}var ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ke={setTimeout(e,t,...n){let{delegate:r}=Ke;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ke;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xt(e){Ke.setTimeout(()=>{let{onUnhandledError:t}=ne;if(t)t(e);else throw e})}function Ct(){}var Qi=Mr("C",void 0,void 0);function Ki(e){return Mr("E",void 0,e)}function Ji(e){return Mr("N",e,void 0)}function Mr(e,t,n){return{kind:e,value:t,error:n}}var Oe=null;function Je(e){if(ne.useDeprecatedSynchronousErrorHandling){let t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Oe;if(Oe=null,n)throw r}}else e()}function Xi(e){ne.useDeprecatedSynchronousErrorHandling&&Oe&&(Oe.errorThrown=!0,Oe.error=e)}var Fe=class extends R{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Jt(t)&&t.add(this)):this.destination=ol}static create(t,n,r){return new Xe(t,n,r)}next(t){this.isStopped?xr(Ji(t),this):this._next(t)}error(t){this.isStopped?xr(Ki(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?xr(Qi,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},nl=Function.prototype.bind;function _r(e,t){return nl.call(e,t)}var Sr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){en(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){en(r)}else en(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){en(n)}}},Xe=class extends Fe{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&_r(t.next,i),error:t.error&&_r(t.error,i),complete:t.complete&&_r(t.complete,i)}):o=t}this.destination=new Sr(o)}};function en(e){ne.useDeprecatedSynchronousErrorHandling?Xi(e):Xt(e)}function rl(e){throw e}function xr(e,t){let{onStoppedNotification:n}=ne;n&&Ke.setTimeout(()=>n(e,t))}var ol={closed:!0,next:Ct,error:rl,complete:Ct};var et=typeof Symbol=="function"&&Symbol.observable||"@@observable";function W(e){return e}function il(...e){return Tr(e)}function Tr(e){return e.length===0?W:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=al(n)?n:new Xe(n,r,o);return Je(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=es(r),new r((o,i)=>{let s=new Xe({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[et](){return this}pipe(...n){return Tr(n)(this)}toPromise(n){return n=es(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function es(e){var t;return(t=e??ne.Promise)!==null&&t!==void 0?t:Promise}function sl(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function al(e){return e&&e instanceof Fe||sl(e)&&Jt(e)}function Nr(e){return m(e?.lift)}function w(e){return t=>{if(Nr(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new Ar(e,t,n,r,o)}var Ar=class extends Fe{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Or(){return w((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Fr=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Nr(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new R;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=R.EMPTY)}return t}refCount(){return Or()(this)}};var ts=Qe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ee=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new tn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ts}next(n){Je(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Je(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Je(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?br:(this.currentObservers=null,i.push(n),new R(()=>{this.currentObservers=null,wt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new tn(t,n),e})(),tn=class extends Ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:br}};var bt=class extends Ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Mt=new x(e=>e.complete());function ns(e){return e&&m(e.schedule)}function rs(e){return e[e.length-1]}function os(e){return m(rs(e))?e.pop():void 0}function Ie(e){return ns(rs(e))?e.pop():void 0}function ss(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function is(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Re(e){return this instanceof Re?(this.v=e,this):new Re(e)}function as(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(p){r[p]&&(o[p]=function(f){return new Promise(function(h,_){i.push([p,f,h,_])>1||a(p,f)})})}function a(p,f){try{u(r[p](f))}catch(h){d(i[0][3],h)}}function u(p){p.value instanceof Re?Promise.resolve(p.value.v).then(c,l):d(i[0][2],p)}function c(p){a("next",p)}function l(p){a("throw",p)}function d(p,f){p(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function us(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof is=="function"?is(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var nn=e=>e&&typeof e.length=="number"&&typeof e!="function";function rn(e){return m(e?.then)}function on(e){return m(e[et])}function sn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function an(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ul(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var un=ul();function cn(e){return m(e?.[un])}function ln(e){return as(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Re(n.read());if(o)return yield Re(void 0);yield yield Re(r)}}finally{n.releaseLock()}})}function dn(e){return m(e?.getReader)}function k(e){if(e instanceof x)return e;if(e!=null){if(on(e))return cl(e);if(nn(e))return ll(e);if(rn(e))return dl(e);if(sn(e))return cs(e);if(cn(e))return fl(e);if(dn(e))return pl(e)}throw an(e)}function cl(e){return new x(t=>{let n=e[et]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ll(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Xt)})}function fl(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function cs(e){return new x(t=>{hl(e,t).catch(n=>t.error(n))})}function pl(e){return cs(ln(e))}function hl(e,t){var n,r,o,i;return ss(this,void 0,void 0,function*(){try{for(n=us(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function H(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function fn(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>H(r,e,()=>r.next(o),t),()=>H(r,e,()=>r.complete(),t),o=>H(r,e,()=>r.error(o),t)))})}function pn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ls(e,t){return k(e).pipe(pn(t),fn(t))}function ds(e,t){return k(e).pipe(pn(t),fn(t))}function fs(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ps(e,t){return new x(n=>{let r;return H(n,t,()=>{r=e[un](),H(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function hn(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{H(n,t,()=>{let r=e[Symbol.asyncIterator]();H(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function hs(e,t){return hn(ln(e),t)}function gs(e,t){if(e!=null){if(on(e))return ls(e,t);if(nn(e))return fs(e,t);if(rn(e))return ds(e,t);if(sn(e))return hn(e,t);if(cn(e))return ps(e,t);if(dn(e))return hs(e,t)}throw an(e)}function we(e,t){return t?gs(e,t):k(e)}function gl(...e){let t=Ie(e);return we(e,t)}function ml(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function yl(e){return!!e&&(e instanceof x||m(e.lift)&&m(e.subscribe))}var ke=Qe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function pe(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:vl}=Array;function Dl(e,t){return vl(t)?e(...t):e(t)}function ms(e){return pe(t=>Dl(e,t))}var{isArray:El}=Array,{getPrototypeOf:Il,prototype:wl,keys:Cl}=Object;function ys(e){if(e.length===1){let t=e[0];if(El(t))return{args:t,keys:null};if(bl(t)){let n=Cl(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function bl(e){return e&&typeof e=="object"&&Il(e)===wl}function vs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ml(...e){let t=Ie(e),n=os(e),{args:r,keys:o}=ys(e);if(r.length===0)return we([],t);let i=new x(_l(r,t,o?s=>vs(o,s):W));return n?i.pipe(ms(n)):i}function _l(e,t,n=W){return r=>{Ds(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=we(e[u],t),l=!1;c.subscribe(C(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ds(e,t,n){e?H(n,e,t):t()}function Es(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=_=>c{i&&t.next(_),c++;let L=!1;k(n(_,l++)).subscribe(C(t,A=>{o?.(A),i?f(A):t.next(A)},()=>{L=!0},void 0,()=>{if(L)try{for(c--;u.length&&ch(A)):h(A)}p()}catch(A){t.error(A)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Pe(e,t,n=1/0){return m(t)?Pe((r,o)=>pe((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Es(r,o,e,n)))}function Rr(e=1/0){return Pe(W,e)}function Is(){return Rr(1)}function gn(...e){return Is()(we(e,Ie(e)))}function xl(e){return new x(t=>{k(e()).subscribe(t)})}function _t(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ws(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=k(e(s,ws(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Cs(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(C(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Sl(e,t){return m(t)?Pe(e,t,1):Pe(e,1)}function xt(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function kr(e){return e<=0?()=>Mt:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Tl(e){return pe(()=>e)}function mn(e=Nl){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Nl(){return new ke}function Al(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bs(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_t((o,i)=>e(o,i,r)):W,kr(1),n?xt(t):mn(()=>new ke))}function Pr(e){return e<=0?()=>Mt:w((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ol(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_t((o,i)=>e(o,i,r)):W,Pr(1),n?xt(t):mn(()=>new ke))}function Fl(e,t){return w(Cs(e,t,arguments.length>=2,!0))}function Rl(...e){let t=Ie(e);return w((n,r)=>{(t?gn(e,n,t):gn(e,n)).subscribe(r)})}function kl(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,u=>{o?.unsubscribe();let c=0,l=i++;k(e(u,l)).subscribe(o=C(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Pl(e){return w((t,n)=>{k(e).subscribe(C(n,()=>n.complete(),Ct)),!n.closed&&t.subscribe(n)})}function Ll(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):W}var fa="https://g.co/ng/security#xss",I=class extends Error{constructor(t,n){super(pa(t,n)),this.code=t}};function pa(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ha=Symbol("InputSignalNode#UNSET"),jl=De(se({},Cr),{transformFn:void 0,applyValueToInputSignal(e,t){Qt(e,t)}});function ga(e,t){let n=Object.create(jl);n.value=e,n.transformFn=t?.transform;function r(){if(Dr(n),n.value===ha)throw new I(-950,!1);return n.value}return r[Ae]=n,r}function Vt(e){return{toString:e}.toString()}var yn="__parameters__";function Vl(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ma(e,t,n){return Vt(()=>{let r=Vl(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(yn)?u[yn]:Object.defineProperty(u,yn,{value:[]})[yn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Nt=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function U(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(U).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Ms(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Bl=S({__forward_ref__:S});function ya(e){return e.__forward_ref__=ya,e.toString=function(){return U(this())},e}function V(e){return va(e)?e():e}function va(e){return typeof e=="function"&&e.hasOwnProperty(Bl)&&e.__forward_ref__===ya}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lo(e){return{providers:e.providers||[],imports:e.imports||[]}}function nr(e){return _s(e,Da)||_s(e,Ea)}function dw(e){return nr(e)!==null}function _s(e,t){return e.hasOwnProperty(t)?e[t]:null}function $l(e){let t=e&&(e[Da]||e[Ea]);return t||null}function xs(e){return e&&(e.hasOwnProperty(Ss)||e.hasOwnProperty(Hl))?e[Ss]:null}var Da=S({\u0275prov:S}),Ss=S({\u0275inj:S}),Ea=S({ngInjectableDef:S}),Hl=S({ngInjectorDef:S}),M=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ia(e){return e&&!!e.\u0275providers}var Ul=S({\u0275cmp:S}),zl=S({\u0275dir:S}),Gl=S({\u0275pipe:S}),Wl=S({\u0275mod:S}),_n=S({\u0275fac:S}),St=S({__NG_ELEMENT_ID__:S}),Ts=S({__NG_ENV_ID__:S});function rr(e){return typeof e=="string"?e:e==null?"":String(e)}function ql(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():rr(e)}function Zl(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,e)}function jo(e,t){throw new I(-201,!1)}var D=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(D||{}),Qr;function wa(){return Qr}function Y(e){let t=Qr;return Qr=e,t}function Ca(e,t,n){let r=nr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&D.Optional)return null;if(t!==void 0)return t;jo(e,"Injector")}var Yl={},At=Yl,Kr="__NG_DI_FLAG__",xn="ngTempTokenPath",Ql="ngTokenPath",Kl=/\n/gm,Jl="\u0275",Ns="__source",it;function Xl(){return it}function Ce(e){let t=it;return it=e,t}function ed(e,t=D.Default){if(it===void 0)throw new I(-203,!1);return it===null?Ca(e,void 0,t):it.get(e,t&D.Optional?null:void 0,t)}function O(e,t=D.Default){return(wa()||ed)(V(e),t)}function E(e,t=D.Default){return O(e,or(t))}function or(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jr(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):U(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Kl,` + `)}`}var od=ba(ma("Optional"),8);var id=ba(ma("SkipSelf"),4);function at(e,t){let n=e.hasOwnProperty(_n);return n?e[_n]:null}function Vo(e,t){e.forEach(n=>Array.isArray(n)?Vo(n,t):t(n))}function Ma(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Sn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sd(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ud(e,t,n){let r=Bt(e,t);return r>=0?e[r|1]=n:(r=~r,ad(e,r,t,n)),r}function Lr(e,t){let n=Bt(e,t);if(n>=0)return e[n|1]}function Bt(e,t){return cd(e,t,1)}function cd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(re(r))return!1;s=!0}}}}return re(r)||s}function re(e){return(e&1)===0}function gd(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!re(s)&&(t+=Os(i,o),o=""),r=s,i=i||!re(r);n++}return o!==""&&(t+=Os(i,o)),t}function Id(e){return e.map(Ed).join(",")}function wd(e){let t=[],n=[],r=1,o=2;for(;r{let t=ka(e),n=De(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Sa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""});Pa(n);let r=e.dependencies;return n.directiveDefs=Rs(r,!1),n.pipeDefs=Rs(r,!0),n.id=_d(n),n})}function Cd(e){return _e(e)||Oa(e)}function bd(e){return e!==null}function Ho(e){return Vt(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fs(e,t){if(e==null)return Ot;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=ut.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ut.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Uo(e){return Vt(()=>{let t=ka(e);return Pa(t),t})}function _e(e){return e[Ul]||null}function Oa(e){return e[zl]||null}function Fa(e){return e[Gl]||null}function Md(e){let t=_e(e)||Oa(e)||Fa(e);return t!==null?t.standalone:!1}function Ra(e,t){let n=e[Wl]||null;if(!n&&t===!0)throw new Error(`Type ${U(e)} does not have '\u0275mod' property.`);return n}function ka(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ot,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fs(e.inputs,t),outputs:Fs(e.outputs),debugInfo:null}}function Pa(e){e.features?.forEach(t=>t(e))}function Rs(e,t){if(!e)return null;let n=t?Fa:Cd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(bd)}function _d(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function xd(...e){return{\u0275providers:La(!0,e),\u0275fromNgModule:!0}}function La(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vo(t,s=>{let a=s;eo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ja(o,i),n}function ja(e,t){for(let n=0;n{t(i,r)})}}function eo(e,t,n,r){if(e=V(e),!e)return!1;let o=null,i=xs(e),s=!i&&_e(e);if(!i&&!s){let u=e.ngModule;if(i=xs(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)eo(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Vo(i.imports,l=>{eo(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&ja(c,t)}if(!a){let c=at(o)||(()=>new o);t({provide:o,useFactory:c,deps:oe},o),t({provide:xa,useValue:o,multi:!0},o),t({provide:Tn,useValue:()=>O(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;zo(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function zo(e,t){for(let n of e)Ia(n)&&(n=n.\u0275providers),Array.isArray(n)?zo(n,t):t(n)}var Sd=S({provide:String,useValue:S});function Va(e){return e!==null&&typeof e=="object"&&Sd in e}function Td(e){return!!(e&&e.useExisting)}function Nd(e){return!!(e&&e.useFactory)}function ct(e){return typeof e=="function"}function Ad(e){return!!e.useClass}var Ba=new M(""),In={},Od={},jr;function Go(){return jr===void 0&&(jr=new Nn),jr}var xe=class{},Rt=class extends xe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,no(t,s=>this.processProvider(s)),this.records.set(_a,tt(void 0,this)),o.has("environment")&&this.records.set(xe,tt(void 0,this));let i=this.records.get(Ba);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xa,oe,D.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ce(this),r=Y(void 0),o;try{return t()}finally{Ce(n),Y(r)}}get(t,n=At,r=D.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ts))return t[Ts](this);r=or(r);let o,i=Ce(this),s=Y(void 0);try{if(!(r&D.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ld(t)&&nr(t);c&&this.injectableDefInScope(c)?u=tt(to(t),In):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&D.Self?Go():this.parent;return n=r&D.Optional&&n===At?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[xn]=a[xn]||[]).unshift(U(t)),i)throw a;return nd(a,t,"R3InjectorError",this.source)}else throw a}finally{Y(s),Ce(i)}}resolveInjectorInitializers(){let t=b(null),n=Ce(this),r=Y(void 0),o;try{let i=this.get(Tn,oe,D.Self);for(let s of i)s()}finally{Ce(n),Y(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(U(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){t=V(t);let n=ct(t)?t:V(t&&t.provide),r=Rd(t);if(!ct(t)&&t.multi===!0){let o=this.records.get(n);o||(o=tt(void 0,In,!0),o.factory=()=>Jr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===In&&(n.value=Od,n.value=n.factory()),typeof n.value=="object"&&n.value&&Pd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=V(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function to(e){let t=nr(e),n=t!==null?t.factory:at(e);if(n!==null)return n;if(e instanceof M)throw new I(204,!1);if(e instanceof Function)return Fd(e);throw new I(204,!1)}function Fd(e){if(e.length>0)throw new I(204,!1);let n=$l(e);return n!==null?()=>n.factory(e):()=>new e}function Rd(e){if(Va(e))return tt(void 0,e.useValue);{let t=$a(e);return tt(t,In)}}function $a(e,t,n){let r;if(ct(e)){let o=V(e);return at(o)||to(o)}else if(Va(e))r=()=>V(e.useValue);else if(Nd(e))r=()=>e.useFactory(...Jr(e.deps||[]));else if(Td(e))r=()=>O(V(e.useExisting));else{let o=V(e&&(e.useClass||e.provide));if(kd(e))r=()=>new o(...Jr(e.deps));else return at(o)||to(o)}return r}function tt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kd(e){return!!e.deps}function Pd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ld(e){return typeof e=="function"||typeof e=="object"&&e instanceof M}function no(e,t){for(let n of e)Array.isArray(n)?no(n,t):n&&Ia(n)?no(n.\u0275providers,t):t(n)}function jd(e,t){e instanceof Rt&&e.assertNotDestroyed();let n,r=Ce(e),o=Y(void 0);try{return t()}finally{Ce(r),Y(o)}}function Ha(){return wa()!==void 0||Xl()!=null}function Vd(e){if(!Ha())throw new I(-203,!1)}function Bd(e){let t=Nt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function $d(e){return typeof e=="function"}var ge=0,v=1,g=2,B=3,ie=4,z=5,kt=6,An=7,K=8,lt=9,le=10,P=11,Pt=12,ks=13,vt=14,J=15,dt=16,nt=17,ft=18,ir=19,Ua=20,be=21,Vr=22,Q=23,Z=25,za=1;var Ve=7,On=8,Fn=9,q=10,Rn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Rn||{});function Me(e){return Array.isArray(e)&&typeof e[za]=="object"}function me(e){return Array.isArray(e)&&e[za]===!0}function Ga(e){return(e.flags&4)!==0}function sr(e){return e.componentOffset>-1}function Wo(e){return(e.flags&1)===1}function Dt(e){return!!e.template}function ro(e){return(e[g]&512)!==0}var oo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Wa(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function qa(){return Za}function Za(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ud),Hd}qa.ngInherit=!0;function Hd(){let e=Qa(this),t=e?.current;if(t){let n=e.previous;if(n===Ot)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ud(e,t,n,r,o){let i=this.declaredInputs[r],s=Qa(e)||zd(e,{previous:Ot,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new oo(c&&c.currentValue,n,u===Ot),Wa(e,t,o,n)}var Ya="__ngSimpleChanges__";function Qa(e){return e[Ya]||null}function zd(e,t){return e[Ya]=t}var Ps=null;var ae=function(e,t,n){Ps?.(e,t,n)},Ka="svg",Gd="math";function de(e){for(;Array.isArray(e);)e=e[ge];return e}function Ja(e,t){return de(t[e])}function X(e,t){return de(t[e.index])}function qo(e,t){return e.data[t]}function Wd(e,t){return e[t]}function Te(e,t){let n=t[e];return Me(n)?n:n[ge]}function Zo(e){return(e[g]&128)===128}function qd(e){return me(e[B])}function kn(e,t){return t==null?null:e[t]}function Xa(e){e[nt]=0}function eu(e){e[g]&1024||(e[g]|=1024,Zo(e)&&ar(e))}function Zd(e,t){for(;e>0;)t=t[vt],e--;return t}function Lt(e){return!!(e[g]&9216||e[Q]?.dirty)}function io(e){e[le].changeDetectionScheduler?.notify(7),e[g]&64&&(e[g]|=1024),Lt(e)&&ar(e)}function ar(e){e[le].changeDetectionScheduler?.notify(0);let t=Be(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!Zo(t)));)t=Be(t)}function tu(e,t){if((e[g]&256)===256)throw new I(911,!1);e[be]===null&&(e[be]=[]),e[be].push(t)}function Yd(e,t){if(e[be]===null)return;let n=e[be].indexOf(t);n!==-1&&e[be].splice(n,1)}function Be(e){let t=e[B];return me(t)?t[B]:t}var y={lFrame:fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var nu=!1;function Qd(){return y.lFrame.elementDepthCount}function Kd(){y.lFrame.elementDepthCount++}function Jd(){y.lFrame.elementDepthCount--}function ru(){return y.bindingsEnabled}function ou(){return y.skipHydrationRootTNode!==null}function Xd(e){return y.skipHydrationRootTNode===e}function ef(){y.skipHydrationRootTNode=null}function T(){return y.lFrame.lView}function ee(){return y.lFrame.tView}function pw(e){return y.lFrame.contextLView=e,e[K]}function hw(e){return y.lFrame.contextLView=null,e}function G(){let e=iu();for(;e!==null&&e.type===64;)e=e.parent;return e}function iu(){return y.lFrame.currentTNode}function tf(){let e=y.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $t(e,t){let n=y.lFrame;n.currentTNode=e,n.isParent=t}function su(){return y.lFrame.isParent}function au(){y.lFrame.isParent=!1}function nf(){return y.lFrame.contextLView}function uu(){return nu}function Ls(e){nu=e}function rf(e){return y.lFrame.bindingIndex=e}function ur(){return y.lFrame.bindingIndex++}function of(e){let t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sf(){return y.lFrame.inI18n}function af(e,t){let n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,so(t)}function uf(){return y.lFrame.currentDirectiveIndex}function so(e){y.lFrame.currentDirectiveIndex=e}function cf(e){let t=y.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function cu(e){y.lFrame.currentQueryIndex=e}function lf(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[z]:null}function lu(e,t,n){if(n&D.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=lf(i),o===null||(i=i[vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=y.lFrame=du();return r.currentTNode=t,r.lView=e,!0}function Yo(e){let t=du(),n=e[v];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function du(){let e=y.lFrame,t=e===null?null:e.child;return t===null?fu(e):t}function fu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function pu(){let e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var hu=pu;function Qo(){let e=pu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function df(e){return(y.lFrame.contextLView=Zd(e,y.lFrame.contextLView))[K]}function Et(){return y.lFrame.selectedIndex}function $e(e){y.lFrame.selectedIndex=e}function gu(){let e=y.lFrame;return qo(e.tView,e.selectedIndex)}function gw(){y.lFrame.currentNamespace=Ka}function mw(){ff()}function ff(){y.lFrame.currentNamespace=null}function pf(){return y.lFrame.currentNamespace}var mu=!0;function Ko(){return mu}function Jo(e){mu=e}function hf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Za(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Xo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[nt]+=65536),(a>14>16&&(e[g]&3)===t&&(e[g]+=16384,js(a,i)):js(a,i)}var st=-1,He=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function mf(e){return e instanceof He}function yf(e){return(e.flags&8)!==0}function vf(e){return(e.flags&16)!==0}function vu(e){return e!==st}function Pn(e){return e&32767}function Df(e){return e>>16}function Ln(e,t){let n=Df(e),r=t;for(;n>0;)r=r[vt],n--;return r}var ao=!0;function Vs(e){let t=ao;return ao=e,t}var Ef=256,Du=Ef-1,Eu=5,If=0,ue={};function wf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(St)&&(r=n[St]),r==null&&(r=n[St]=If++);let o=r&Du,i=1<>Eu)]|=i}function jn(e,t){let n=Iu(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,$r(r.data,e),$r(t,null),$r(r.blueprint,null));let o=ei(e,t),i=e.injectorIndex;if(vu(o)){let s=Pn(o),a=Ln(o,t),u=a[v].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function $r(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Iu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ei(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=_u(o),r===null)return st;if(n++,o=o[vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return st}function uo(e,t,n){wf(e,t,n)}function Cf(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Dt(f)&&f.type===n)return u}return null}function pt(e,t,n,r){let o=e[n],i=t.data;if(mf(o)){let s=o;s.resolving&&Zl(ql(i[n]));let a=Vs(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Y(s.injectImpl):null,l=lu(e,r,D.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&hf(n,i[n],t)}finally{c!==null&&Y(c),Vs(a),s.resolving=!1,hu()}}return o}function _f(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(St)?e[St]:void 0;return typeof t=="number"?t>=0?t&Du:xf:t}function Bs(e,t,n){let r=1<>Eu)]&r)}function $s(e,t){return!(e&D.Self)&&!(e&D.Host&&t)}var je=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bu(this._tNode,this._lView,t,or(r),n)}};function xf(){return new je(G(),T())}function yw(e){return Vt(()=>{let t=e.prototype.constructor,n=t[_n]||co(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_n]||co(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function co(e){return va(e)?()=>{let t=co(V(e));return t&&t()}:at(e)}function Sf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=Mu(i,s,n,r|D.Self,ue);if(a!==ue)return a;let u=i.parent;if(!u){let c=s[Ua];if(c){let l=c.get(n,ue,r);if(l!==ue)return l}u=_u(s),s=s[vt]}i=u}return o}function _u(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[z]:null}function Tf(e){return Cf(G(),e)}function Hs(e,t=null,n=null,r){let o=xu(e,t,n,r);return o.resolveInjectorInitializers(),o}function xu(e,t=null,n=null,r,o=new Set){let i=[n||oe,xd(e)];return r=r||(typeof e=="object"?void 0:U(e)),new Rt(i,t||Go(),r||null,o)}var Le=class Le{static create(t,n){if(Array.isArray(t))return Hs({name:""},n,t,"");{let r=t.name??"";return Hs({name:r},t.parent,t.providers,r)}}};Le.THROW_IF_NOT_FOUND=At,Le.NULL=new Nn,Le.\u0275prov=N({token:Le,providedIn:"any",factory:()=>O(_a)}),Le.__NG_ELEMENT_ID__=-1;var he=Le;var Nf=new M("");Nf.__NG_ELEMENT_ID__=e=>{let t=G();if(t===null)throw new I(204,!1);if(t.type&2)return t.value;if(e&D.Optional)return null;throw new I(204,!1)};var Af="ngOriginalError";function Hr(e){return e[Af]}var Ue=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Hr(t);for(;n&&Hr(n);)n=Hr(n);return n||null}},Su=new M("",{providedIn:"root",factory:()=>E(Ue).handleError.bind(void 0)}),ti=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Of,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),lo=class extends ti{constructor(t){super(),this._lView=t}onDestroy(t){return tu(this._lView,t),()=>Yd(this._lView,t)}};function Of(){return new lo(T())}function Us(e,t){return ga(e,t)}function Ff(e){return ga(ha,e)}var vw=(Us.required=Ff,Us);function Rf(){return cr(G(),T())}function cr(e,t){return new lr(X(e,t))}var lr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Rf;let e=t;return e})();var dr=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var fo=class extends Ee{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Ha()&&(this.destroyRef=E(ti,{optional:!0})??void 0,this.pendingTasks=E(dr,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof R&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ce=fo;function Tu(e){return(e.flags&128)===128}var Nu=new Map,kf=0;function Pf(){return kf++}function Lf(e){Nu.set(e[ir],e)}function jf(e){Nu.delete(e[ir])}var zs="__ngContext__";function ze(e,t){Me(t)?(e[zs]=t[ir],Lf(t)):e[zs]=t}function Au(e){return Fu(e[Pt])}function Ou(e){return Fu(e[ie])}function Fu(e){for(;e!==null&&!me(e);)e=e[ie];return e}var po;function Dw(e){po=e}function Vf(){if(po!==void 0)return po;if(typeof document<"u")return document;throw new I(210,!1)}var Ew=new M("",{providedIn:"root",factory:()=>Bf}),Bf="ng",$f=new M(""),ni=new M("",{providedIn:"platform",factory:()=>"unknown"});var Iw=new M("",{providedIn:"root",factory:()=>Vf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Hf="h",Uf="b";var zf=()=>null;function ri(e,t,n=!1){return zf(e,t,n)}var Ru=!1,Gf=new M("",{providedIn:"root",factory:()=>Ru});var vn;function Wf(){if(vn===void 0&&(vn=null,Nt.trustedTypes))try{vn=Nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vn}function Gs(e){return Wf()?.createScriptURL(e)||e}var Vn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fa})`}};function fr(e){return e instanceof Vn?e.changingThisBreaksApplicationSecurity:e}function ku(e,t){let n=qf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${fa})`)}return n===t}function qf(e){return e instanceof Vn&&e.getTypeName()||null}var Zf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yf(e){return e=String(e),e.match(Zf)?e:"unsafe:"+e}var oi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(oi||{});function Qf(e){let t=Pu();return t?t.sanitize(oi.URL,e)||"":ku(e,"URL")?fr(e):Yf(rr(e))}function Kf(e){let t=Pu();if(t)return Gs(t.sanitize(oi.RESOURCE_URL,e)||"");if(ku(e,"ResourceURL"))return Gs(fr(e));throw new I(904,!1)}function Jf(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Kf:Qf}function ww(e,t,n){return Jf(t,n)(e)}function Pu(){let e=T();return e&&e[le].sanitizer}function Cw(e){return e.ownerDocument.defaultView}function Lu(e){return e instanceof Function?e():e}function Xf(e){return(e??E(he)).get(ni)==="browser"}var Bn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bn||{}),ep;function ii(e,t){return ep(e,t)}function rt(e,t,n,r,o){if(r!=null){let i,s=!1;me(r)?i=r:Me(r)&&(s=!0,r=r[ge]);let a=de(r);e===0&&n!==null?o==null?Hu(t,n,a):Hn(t,n,a,o||null,!0):e===1&&n!==null?Hn(t,n,a,o||null,!0):e===2?hp(t,a,s):e===3&&t.destroyNode(a),i!=null&&mp(t,e,i,n,o)}}function tp(e,t){return e.createText(t)}function np(e,t,n){e.setValue(t,n)}function ju(e,t,n){return e.createElement(t,n)}function rp(e,t){Vu(e,t),t[ge]=null,t[z]=null}function op(e,t,n,r,o,i){r[ge]=o,r[z]=t,pr(e,r,n,1,o,i)}function Vu(e,t){t[le].changeDetectionScheduler?.notify(8),pr(e,t,t[P],2,null,null)}function ip(e){let t=e[Pt];if(!t)return Ur(e[v],e);for(;t;){let n=null;if(Me(t))n=t[Pt];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[ie]&&t!==e;)Me(t)&&Ur(t[v],t),t=t[B];t===null&&(t=e),Me(t)&&Ur(t[v],t),n=t&&t[ie]}t=n}}function sp(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][ie]=t),r0&&(e[n-1][ie]=r[ie]);let i=Sn(e,q+t);rp(r[v],r);let s=i[ft];s!==null&&s.detachView(i[v]),r[B]=null,r[ie]=null,r[g]&=-129}return r}function ai(e,t){if(!(t[g]&256)){let n=t[P];n.destroyNode&&pr(e,t,n,3,null,null),ip(t)}}function Ur(e,t){if(t[g]&256)return;let n=b(null);try{t[g]&=-129,t[g]|=256,t[Q]&&wr(t[Q]),up(e,t),ap(e,t),t[v].type===1&&t[P].destroy();let r=t[dt];if(r!==null&&me(t[B])){r!==t[B]&&si(r,t);let o=t[ft];o!==null&&o.detachView(e)}jf(t)}finally{b(n)}}function ap(e,t){let n=e.cleanup,r=t[An];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[An]=null);let o=t[be];if(o!==null){t[be]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ft.None||i===Ft.Emulated)return null}return X(r,n)}}function Hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Hu(e,t,n){e.appendChild(t,n)}function Ws(e,t,n,r,o){r!==null?Hn(e,t,n,r,o):Hu(e,t,n)}function lp(e,t,n,r){e.removeChild(t,n,r)}function ui(e,t){return e.parentNode(t)}function dp(e,t){return e.nextSibling(t)}function Uu(e,t,n){return pp(e,t,n)}function fp(e,t,n){return e.type&40?X(e,n):null}var pp=fp,qs;function ci(e,t,n,r){let o=$u(e,r,t),i=t[P],s=r.parent||t[z],a=Uu(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uZ&&Zu(e,t,Z,!1),ae(s?2:0,o),n(r,o)}finally{$e(i),ae(s?3:1,o)}}function Ju(e,t,n){if(Ga(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Mp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ou()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Zs(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=ut.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Ys(r,n,c,a,u):Ys(r,n,c,a)}return r}function Ys(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function _p(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Op(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;sr(n)&&Vp(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||jn(n,t),ze(r,t);let s=n.initialInputs;for(let a=o;a{ar(e.lView)},consumerOnSignalRead(){this.lView[Q]=this}});function rh(e){let t=e[Q]??Object.create(oh);return t.lView=e,t}var oh=De(se({},qt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Be(e.lView);for(;t&&!cc(t[v]);)t=Be(t);t&&eu(t)},consumerOnSignalRead(){this.lView[Q]=this}});function cc(e){return e.type!==2}var ih=100;function lc(e,t=!0,n=0){let r=e[le],o=r.rendererFactory,i=!1;i||o.begin?.();try{sh(e,n)}catch(s){throw t&&ac(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function sh(e,t){let n=uu();try{Ls(!0),yo(e,t);let r=0;for(;Lt(e);){if(r===ih)throw new I(103,!1);r++,yo(e,1)}}finally{Ls(n)}}function ah(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;!i&&t[le].inlineEffectRunner?.flush(),Yo(t);let a=!0,u=null,c=null;i||(cc(e)?(c=Xp(t),u=Er(c)):Li()===null?(a=!1,c=rh(t),u=Er(c)):t[Q]&&(wr(t[Q]),t[Q]=null));try{Xa(t),rf(e.bindingStartIndex),n!==null&&Ku(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&wn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Cn(t,f,0,null),Br(t,0)}if(s||uh(t),dc(t,0),e.contentQueries!==null&&sc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&wn(t,f)}else{let f=e.contentHooks;f!==null&&Cn(t,f,1),Br(t,1)}Dp(e,t);let d=e.components;d!==null&&pc(t,d,0);let p=e.viewQuery;if(p!==null&&mo(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&wn(t,f)}else{let f=e.viewHooks;f!==null&&Cn(t,f,2),Br(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Vr]){for(let f of t[Vr])f();t[Vr]=null}i||(t[g]&=-73)}catch(l){throw i||ar(t),l}finally{c!==null&&(Bi(c,u),a&&th(c)),Qo()}}function dc(e,t){for(let n=Au(e);n!==null;n=Ou(n))for(let r=q;r-1&&($n(t,r),Sn(n,r))}this._attachedToViewContainer=!1}ai(this._lView[v],this._lView)}onDestroy(t){tu(this._lView,t)}markForCheck(){mi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[g]&=-129}reattach(){io(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,lc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ro(this._lView),n=this._lView[dt];n!==null&&!t&&si(n,this._lView),Vu(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;let n=ro(this._lView),r=this._lView[dt];r!==null&&!n&&Bu(r,this._lView),io(this._lView)}},yi=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fh;let e=t;return e})(),lh=yi,dh=class extends lh{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=hi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ge(o)}};function fh(){return ph(G(),T())}function ph(e,t){return e.type&4?new dh(t,e,cr(e,t)):null}var xw=new RegExp(`^(\\d+)*(${Uf}|${Hf})*(.*)`);var hh=()=>null;function Gn(e,t){return hh(e,t)}var ht=class{},hc=new M("",{providedIn:"root",factory:()=>!1});var gc=new M(""),vo=class{},Wn=class{};function gh(e){let t=Error(`No component factory found for ${U(e)}.`);return t[mh]=e,t}var mh="ngComponent";var Do=class{resolveComponentFactory(t){throw gh(t)}},_i=class _i{};_i.NULL=new Do;var gt=_i,qn=class{},vi=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>yh();let e=t;return e})();function yh(){let e=T(),t=G(),n=Te(t.index,e);return(Me(n)?n:e)[P]}var vh=(()=>{let t=class t{};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),zr={};var Qs=new Set;function Ut(e){Qs.has(e)||(Qs.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function mc(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Nt.requestAnimationFrame=="function"&&Nt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Ks(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Js(...e){}var j=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,Ih(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Dh,Js,Js);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Dh={};function Di(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Eh(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{mc(()=>{e.callbackScheduled=!1,Eo(e),e.isCheckStableRunning=!0,Di(e),e.isCheckStableRunning=!1})}),Eo(e))}function Ih(e){let t=()=>{Eh(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(wh(a))return n.invokeTask(o,i,s,a);try{return Xs(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ea(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Xs(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ch(a)&&t(),ea(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Eo(e),Di(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Eo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Xs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ea(e){e._nesting--,Di(e)}var Zn=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function wh(e){return yc(e,"__ignore_ng_zone__")}function Ch(e){return yc(e,"__scheduler_tick__")}function yc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function bh(e="zone.js",t){return e==="noop"?new Zn:e==="zone.js"?new j(t):e}var ot=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ot||{}),Mh={destroy(){}};function _h(e,t){!t&&Vd(_h);let n=t?.injector??E(he);if(!Xf(n))return Mh;Ut("NgAfterNextRender");let r=n.get(Ei),o=r.handler??=new wo,i=t?.phase??ot.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(ti).onDestroy(s),u=jd(n,()=>new Io(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var Io=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=E(j),this.errorHandler=E(Ue,{optional:!0}),E(ht,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},wo=class{constructor(){this.executingCallbacks=!1,this.buckets={[ot.EarlyRead]:new Set,[ot.Write]:new Set,[ot.MixedReadWrite]:new Set,[ot.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Ei=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Co(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Wu(e,n,i.join(" "))}}function Fh(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=kh;let e=t;return e})();function kh(){let e=G();return Lh(e,T())}var Ph=Ii,vc=class extends Ph{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cr(this._hostTNode,this._hostLView)}get injector(){return new je(this._hostTNode,this._hostLView)}get parentInjector(){let t=ei(this._hostTNode,this._hostLView);if(vu(t)){let n=Ln(t,this._hostLView),r=Pn(t),o=n[v].data[r+8];return new je(o,n)}else return new je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=na(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Gn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Un(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!$d(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new mt(_e(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let _=(s?c:this.parentInjector).get(xe,null);_&&(i=_)}let l=_e(u.componentType??{}),d=Gn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Un(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(qd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[B],c=new vc(u,u[z],u[B]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return gi(s,o,i,r),t.attachToViewContainerRef(),Ma(Gr(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=na(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);r&&(Sn(Gr(this._lContainer),n),ai(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);return r&&Sn(Gr(this._lContainer),n)!=null?new Ge(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function na(e){return e[On]}function Gr(e){return e[On]||(e[On]=[])}function Lh(e,t){let n,r=t[e.index];return me(r)?n=r:(n=ic(r,t,null,e),t[e.index]=n,gr(t,n)),Vh(n,t,e,r),new vc(n,e,t)}function jh(e,t){let n=e[P],r=n.createComment(""),o=X(t,e),i=ui(n,o);return Hn(n,i,r,dp(n,o),!1),r}var Vh=Hh,Bh=()=>!1;function $h(e,t,n){return Bh(e,t,n)}function Hh(e,t,n,r){if(e[Ve])return;let o;n.type&8?o=de(r):o=jh(t,n),e[Ve]=o}function Tw(e,t){Ut("NgSignals");let n=qi(e),r=n[Ae];return t?.equal&&(r.equal=t.equal),n.set=o=>Qt(r,o),n.update=o=>Zi(r,o),n.asReadonly=Uh.bind(n),n}function Uh(){let e=this[Ae];if(e.readonlyFn===void 0){let t=()=>this();t[Ae]=e,e.readonlyFn=t}return e.readonlyFn}function zh(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Zh))}return i}return Qn.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.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(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[c+p]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Yh(i));t.push(u)}),Wh(),Promise.all(t).then(()=>{})}var Qn=new Map,Gh=new Set;function Wh(){let e=Qn;return Qn=new Map,e}function qh(){return Qn.size===0}function Zh(e){return typeof e=="string"?e:e.text()}function Yh(e){Gh.delete(e)}function Qh(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Se=class{},_o=class{};var Kn=class extends Se{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yn(this);let o=Ra(t);this._bootstrapComponents=Lu(o.bootstrap),this._r3Injector=xu(t,n,[{provide:Se,useValue:this},{provide:gt,useValue:this.componentFactoryResolver},...r],U(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Jn=class extends _o{constructor(t){super(),this.moduleType=t}create(t){return new Kn(this.moduleType,t,[])}};function Kh(e,t,n){return new Kn(e,t,n)}var xo=class extends Se{constructor(t){super(),this.componentFactoryResolver=new Yn(this),this.instance=null;let n=new Rt([...t.providers,{provide:Se,useValue:this},{provide:gt,useValue:this.componentFactoryResolver}],t.parent||Go(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Jh(e,t,n=null){return new xo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Dc(e){return eg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Xh(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function ug(e){return(e&2)==2}function cg(e,t){return e&131071|t<<17}function So(e){return e|2}function yt(e){return(e&131068)>>2}function Wr(e,t){return e&-131069|t<<2}function lg(e){return(e&1)===1}function To(e){return e|1}function dg(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=We(s),u=yt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=We(e[a+1]);e[r+1]=Dn(p,a),p!==0&&(e[p+1]=Wr(e[p+1],r)),e[a+1]=cg(e[a+1],r)}else e[r+1]=Dn(a,0),a!==0&&(e[a+1]=Wr(e[a+1],r)),a=r;else e[r+1]=Dn(u,0),a===0?a=r:e[u+1]=Wr(e[u+1],r),u=r;c&&(e[r+1]=So(e[r+1])),ra(e,l,r,!0),ra(e,l,r,!1),fg(t,l,e,r,i),s=Dn(a,u),i?t.classBindings=s:t.styleBindings=s}function fg(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bt(i,t)>=0&&(n[r+1]=To(n[r+1]))}function ra(e,t,n,r){let o=e[n+1],i=t===null,s=r?We(o):yt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];pg(u,t)&&(a=!0,e[s+1]=r?To(c):So(c)),s=r?We(c):yt(c)}a&&(e[n+1]=r?So(o):To(o))}function pg(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bt(e,t)>=0:!1}function hg(e,t,n){let r=T(),o=ur();if(zt(r,o,t)){let i=ee(),s=gu();Sp(i,s,r,e,t,r[P],n,!1)}return hg}function oa(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";fi(e,n,i[s],s,r)}function Ic(e,t,n){return gg(e,t,n,!1),Ic}function gg(e,t,n,r){let o=T(),i=ee(),s=of(2);if(i.firstUpdatePass&&yg(i,e,s,r),t!==qe&&zt(o,s,t)){let a=i.data[Et()];wg(i,a,o,o[P],e,o[s+1]=Cg(t,n),r,s)}}function mg(e,t){return t>=e.expandoStartIndex}function yg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Et()],s=mg(e,n);bg(i,r)&&t===null&&!s&&(t=!1),t=vg(o,i,t,r),dg(o,i,t,n,s,r)}}function vg(e,t,n,r){let o=cf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=qr(null,e,t,n,r),n=jt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=qr(o,e,t,n,r),i===null){let u=Dg(e,t,r);u!==void 0&&Array.isArray(u)&&(u=qr(null,e,t,u[1],r),u=jt(u,t.attrs,r),Eg(e,t,r,u))}else i=Ig(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Dg(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yt(r)!==0)return e[We(r)]}function Eg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[We(o)]=r}function Ig(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===qe&&(p=d?oe:void 0);let f=d?Lr(p,r):l===r?p:void 0;if(c&&!Xn(f)&&(f=Lr(u,r)),Xn(f)&&(a=f,s))return a;let h=e[o+1];o=s?We(h):yt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Lr(u,r))}return a}function Xn(e){return e!==void 0}function Cg(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=U(fr(e)))),e}function bg(e,t){return(e.flags&(t?8:16))!==0}function Nw(e,t){Ut("NgControlFlow");let n=T(),r=ur(),o=n[r]!==qe?n[r]:-1,i=o!==-1?sa(n,Z+o):void 0,s=0;if(zt(n,r,e)){let a=b(null);try{if(i!==void 0&&Kp(i,s),e!==-1){let u=Z+e,c=sa(n,u),l=Mg(n[v],u),d=Gn(c,l.tView.ssrId),p=hi(n,l,t,{dehydratedView:d});gi(c,p,s,Un(l,d))}}finally{b(a)}}else if(i!==void 0){let a=Qp(i,s);a!==void 0&&(a[K]=t)}}function sa(e,t){return e[t]}function Mg(e,t){return qo(e,t)}function _g(e,t,n,r,o,i){let s=t.consts,a=kn(s,o),u=Ht(t,e,2,r,a);return nc(t,n,u,kn(s,i)),u.attrs!==null&&Co(u,u.attrs,!1),u.mergedAttrs!==null&&Co(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function wc(e,t,n,r){let o=T(),i=ee(),s=Z+e,a=o[P],u=i.firstCreatePass?_g(s,i,o,t,n,r):i.data[s],c=Sg(i,o,u,a,t,e);o[s]=c;let l=Wo(u);return $t(u,!0),qu(a,c,u),!tg(u)&&Ko()&&ci(i,o,c,u),Qd()===0&&ze(c,o),Kd(),l&&(Xu(i,o,u),Ju(i,u,o)),r!==null&&ec(o,u),wc}function Cc(){let e=G();su()?au():(e=e.parent,$t(e,!1));let t=e;Xd(t)&&ef(),Jd();let n=ee();return n.firstCreatePass&&(Xo(n,e),Ga(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&yf(t)&&oa(n,t,T(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&vf(t)&&oa(n,t,T(),t.stylesWithoutHost,!1),Cc}function xg(e,t,n,r){return wc(e,t,n,r),Cc(),xg}var Sg=(e,t,n,r,o,i)=>(Jo(!0),ju(r,o,pf()));function Aw(){return T()}var er="en-US";var Tg=er;function Ng(e){typeof e=="string"&&(Tg=e.toLowerCase().replace(/_/g,"-"))}var Ag=(e,t,n)=>{};function Og(e,t,n,r){let o=T(),i=ee(),s=G();return Rg(i,o,o[P],s,e,t,r),Og}function Fg(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Rg(e,t,n,r,o,i,s){let a=Wo(r),c=e.firstCreatePass&&Gp(e),l=t[K],d=zp(t),p=!0;if(r.type&3||s){let _=X(r,t),L=s?s(_):_,A=d.length,Ne=s?fe=>s(de(fe[r.index])):r.index,$=null;if(!s&&a&&($=Fg(e,t,o,r.index)),$!==null){let fe=$.__ngLastListenerFn__||$;fe.__ngNextListenerFn__=i,$.__ngLastListenerFn__=i,p=!1}else{i=ua(r,t,l,i),Ag(_,o,i);let fe=n.listen(L,o,i);d.push(i,fe),c&&c.push(o,Ne,A,A+1)}}else i=ua(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let _=h.length;if(_)for(let L=0;L<_;L+=2){let A=h[L],Ne=h[L+1],Ze=t[A][Ne].subscribe(i),te=d.length;d.push(i,Ze),c&&c.push(o,r.index,te,-(te+1))}}}function aa(e,t,n,r){let o=b(null);try{return ae(6,t,n),n(r)!==!1}catch(i){return ac(e,i),!1}finally{ae(7,t,n),b(o)}}function ua(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Te(e.index,t):t;mi(s,5);let a=aa(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=aa(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function Ow(e=1){return df(e)}function kg(e,t){let n=null,r=md(e);for(let o=0;o(Jo(!0),tp(t[P],r));function jg(e,t,n){let r=T(),o=ag(r,e,t,n);return o!==qe&&Wp(r,Et(),o),jg}function Vg(e,t,n){let r=ee();if(r.firstCreatePass){let o=Dt(e);No(n,r.data,r.blueprint,o,!0),No(t,r.data,r.blueprint,o,!1)}}function No(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i>20;if(ct(e)||!e.multi){let f=new He(c,o,ye),h=Yr(u,t,o?l:l+p,d);h===-1?(uo(jn(a,s),i,u),Zr(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Yr(u,t,l+p,d),h=Yr(u,t,l,l+p),_=f>=0&&n[f],L=h>=0&&n[h];if(o&&!L||!o&&!_){uo(jn(a,s),i,u);let A=Hg(o?$g:Bg,n.length,o,r,c);!o&&L&&(n[h].providerFactory=A),Zr(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else{let A=bc(n[o?h:f],c,!o&&r);Zr(i,e,f>-1?f:h,A)}!o&&r&&L&&n[h].componentProviders++}}}function Zr(e,t,n,r){let o=ct(t),i=Ad(t);if(o||i){let u=(i?V(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function bc(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yr(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Vg(r,o?o(e):e,t)}}var Ug=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=La(!1,r.type),i=o.length>0?Jh([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=N({token:t,providedIn:"environment",factory:()=>new t(O(xe))});let e=t;return e})();function jw(e){Ut("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ug).getOrCreateStandaloneInjector(e)}var En=null;function zg(e){En!==null&&(e.defaultEncapsulation!==En.defaultEncapsulation||e.preserveWhitespaces!==En.preserveWhitespaces)||(En=e)}var Vw=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Gg=new M(""),Wg=new M(""),Bw=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,wi||(Zg(i),i.addToWindow(o)),this._watchAngularEvents(),r.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()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r()},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(O(j),O(qg),O(Wg))},t.\u0275prov=N({token:t,factory:t.\u0275fac});let e=t;return e})(),qg=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return wi?.findTestabilityInTree(this,r,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Zg(e){wi=e}var wi;function Ci(e){return!!e&&typeof e.then=="function"}function Mc(e){return!!e&&typeof e.subscribe=="function"}var Yg=new M(""),_c=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=E(Yg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ci(s))r.push(s);else if(Mc(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Qg=new M("");function Kg(){Wi(()=>{throw new I(600,!1)})}function Jg(e){return e.isBoundToModule}var Xg=10;function em(e,t,n){try{let r=n();return Ci(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function xc(e,t){return Array.isArray(t)?t.reduce(xc,e):se(se({},e),t)}var mr=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Su),this.afterRenderEffectManager=E(Ei),this.zonelessEnabled=E(hc),this.externalTestViews=new Set,this.beforeRender=new Ee,this.afterTick=new Ee,this.componentTypes=[],this.components=[],this.isStable=E(dr).hasPendingTasks.pipe(pe(r=>!r)),this._injector=E(xe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Wn;if(!this._injector.get(_c).done){let f=!i&&Md(r),h=!1;throw new I(405,h)}let a;i?a=r:a=this._injector.get(gt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Jg(a)?void 0:this._injector.get(Se),c=o||a.selector,l=a.create(he.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(Gg,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Mn(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new I(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,b(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(qn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iLt(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>Lt(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Mn(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Qg,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Mn(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new I(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Mn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function tm(e,t,n,r){if(!n&&!Lt(e))return;lc(e,t,n&&!r?0:1)}var Oo=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},$w=(()=>{let t=class t{compileModuleSync(r){return new Jn(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Ra(r),s=Lu(i.declarations).reduce((a,u)=>{let c=_e(u);return c&&a.push(new mt(c)),a},[]);return new Oo(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nm=new M("");function rm(e,t,n){let r=new Jn(n);return Promise.resolve(r)}function ca(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var om=(()=>{let t=class t{constructor(){this.zone=E(j),this.changeDetectionScheduler=E(ht),this.applicationRef=E(mr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function im({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new j(Sc()),[{provide:j,useFactory:e},{provide:Tn,multi:!0,useFactory:()=>{let n=E(om,{optional:!0});return()=>n.initialize()}},{provide:Tn,multi:!0,useFactory:()=>{let n=E(am);return()=>{n.initialize()}}},{provide:Su,useFactory:sm},t===!0?{provide:gc,useValue:!0}:[]]}function sm(){let e=E(j),t=E(Ue);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Sc(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var am=(()=>{let t=class t{constructor(){this.subscription=new R,this.initialized=!1,this.zone=E(j),this.pendingTasks=E(dr)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var um=(()=>{let t=class t{constructor(){this.appRef=E(mr),this.taskService=E(dr),this.ngZone=E(j),this.zonelessEnabled=E(hc),this.disableScheduling=E(gc,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new R,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Zn||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Ks:mc;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&j.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ks(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function cm(){return typeof $localize<"u"&&$localize.locale||er}var bi=new M("",{providedIn:"root",factory:()=>E(bi,D.Optional|D.SkipSelf)||cm()});var Tc=new M(""),Nc=(()=>{let t=class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=bh(o?.ngZone,Sc({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Kh(r.moduleType,this.injector,[...im({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:ht,useExisting:um}]),u=a.injector.get(Ue,null);return i.runOutsideAngular(()=>{let c=i.onError.subscribe({next:l=>{u.handleError(l)}});a.onDestroy(()=>{Mn(this._modules,a),c.unsubscribe()})}),em(u,i,()=>{let c=a.injector.get(_c);return c.runInitializers(),c.donePromise.then(()=>{let l=a.injector.get(bi,er);return Ng(l||er),this._moduleDoBootstrap(a),a})})})}bootstrapModule(r,o=[]){let i=xc({},o);return rm(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(mr);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new I(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(Tc,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};t.\u0275fac=function(o){return new(o||t)(O(he))},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Tt=null,Ac=new M("");function lm(e){if(Tt&&!Tt.get(Ac,!1))throw new I(400,!1);Kg(),Tt=e;let t=e.get(Nc);return hm(e),t}function dm(e,t,n=[]){let r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Oc();if(!s||s.injector.get(Ac,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):lm(fm(a,r))}return pm(o)}}function fm(e=[],t){return he.create({name:t,providers:[{provide:Ba,useValue:"platform"},{provide:Tc,useValue:new Set([()=>Tt=null])},...e]})}function pm(e){let t=Oc();if(!t)throw new I(401,!1);return t}function Oc(){return Tt?.get(Nc)??null}function hm(e){e.get($f,null)?.forEach(n=>n())}var Fc=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=gm;let e=t;return e})();function gm(e){return mm(G(),T(),(e&16)===16)}function mm(e,t,n){if(sr(e)&&!n){let r=Te(e.index,t);return new Ge(r,r)}else if(e.type&47){let r=t[J];return new Ge(r,t)}return null}var Fo=class{constructor(){}supports(t){return Dc(t)}create(t){return new Ro(t)}},ym=(e,t)=>t,Ro=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ym}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ko(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new tr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new tr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ko=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Po=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},tr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Po,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function la(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||da()),deps:[[t,new id,new od]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new I(901,!1)}};t.\u0275prov=N({token:t,providedIn:"root",factory:da});let e=t;return e})();var Hw=dm(null,"core",[]),Uw=(()=>{let t=class t{constructor(r){}};t.\u0275fac=function(o){return new(o||t)(O(mr))},t.\u0275mod=Ho({type:t}),t.\u0275inj=Lo({});let e=t;return e})();function vm(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function zw(e){let t=_e(e);if(!t)return null;let n=new mt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Bc=null;function xi(){return Bc}function mC(e){Bc??=e}var Rc=class{};var Oi=new M(""),Fi=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>E(Em),providedIn:"platform"});let e=t;return e})(),yC=new M(""),Em=(()=>{let t=class t extends Fi{constructor(){super(),this._doc=E(Oi),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xi().getBaseHref(this._doc)}onPopState(r){let o=xi().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=xi().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ri(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function kc(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ve(e){return e&&e[0]!=="?"?"?"+e:e}var yr=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>E(Im),providedIn:"root"});let e=t;return e})(),$c=new M(""),Im=(()=>{let t=class t extends yr{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??E(Oi).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Ri(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ve(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ve(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ve(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(O(Fi),O($c,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vC=(()=>{let t=class t extends yr{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Ri(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(O(Fi),O($c,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac});let e=t;return e})(),wm=(()=>{let t=class t{constructor(r){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Mm(kc(Pc(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ve(o))}normalize(r){return t.stripTrailingSlash(bm(this._basePath,Pc(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ve(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ve(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=ve,t.joinWithSlash=Ri,t.stripTrailingSlash=kc,t.\u0275fac=function(o){return new(o||t)(O(yr))},t.\u0275prov=N({token:t,factory:()=>Cm(),providedIn:"root"});let e=t;return e})();function Cm(){return new wm(O(yr))}function bm(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Pc(e){return e.replace(/\/index.html$/,"")}function Mm(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function DC(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Si=/\s+/,Lc=[],EC=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Lc,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Si):Lc}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Si):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Si).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(ye(lr),ye(vi))},t.\u0275dir=Uo({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var Ti=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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}},IC=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Ti(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),jc(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);jc(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ye(Ii),ye(yi),ye(Mi))},t.\u0275dir=Uo({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function jc(e,t){e.context.$implicit=t.item}var wC=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ho({type:t}),t.\u0275inj=Lo({});let e=t;return e})(),_m="browser",xm="server";function Sm(e){return e===_m}function CC(e){return e===xm}var bC=(()=>{let t=class t{};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>Sm(E(ni))?new Ni(E(Oi),window):new Ai});let e=t;return e})(),Ni=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=Tm(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function Tm(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Ai=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Vc=class{};export{se as a,De as b,Nm as c,R as d,il as e,Or as f,Fr as g,Ee as h,bt as i,Mt as j,we as k,gl as l,ml as m,yl as n,ke as o,pe as p,Ml as q,Pe as r,Rr as s,gn as t,xl as u,_t as v,ws as w,Sl as x,xt as y,kr as z,Tl as A,Al as B,bs as C,Pr as D,Ol as E,Fl as F,Rl as G,kl as H,Pl as I,Ll as J,I as K,Nt as L,N as M,Lo as N,dw as O,M as P,D as Q,O as R,E as S,od as T,id as U,Ft as V,fw as W,Ho as X,Uo as Y,Ba as Z,xe as _,jd as $,qa as aa,pw as ba,hw as ca,gw as da,mw as ea,yw as fa,Tf as ga,he as ha,Ue as ia,vw as ja,lr as ka,dr as la,ce as ma,Dw as na,Ew as oa,$f as pa,ni as qa,Iw as ra,ww as sa,Cw as ta,Bn as ua,bw as va,ye as wa,Mw as xa,qn as ya,vi as za,j as Aa,_h as Ba,Ii as Ca,Tw as Da,Qh as Ea,_o as Fa,Jh as Ga,rg as Ha,sg as Ia,hg as Ja,Ic as Ka,Nw as La,wc as Ma,Cc as Na,xg as Oa,Aw as Pa,Og as Qa,Ow as Ra,Fw as Sa,Rw as Ta,kw as Ua,Pw as Va,jg as Wa,Lw as Xa,jw as Ya,Vw as Za,Gg as _a,Wg as $a,Bw as ab,qg as bb,Ci as cb,Yg as db,Qg as eb,mr as fb,$w as gb,dm as hb,Fc as ib,Hw as jb,Uw as kb,vm as lb,zw as mb,xi as nb,mC as ob,Rc as pb,Oi as qb,yC as rb,yr as sb,Im as tb,vC as ub,wm as vb,DC as wb,EC as xb,IC as yb,wC as zb,_m as Ab,CC as Bb,bC as Cb,Vc as Db}; diff --git a/browser/chunk-HZOTZCVR.js b/browser/chunk-HZOTZCVR.js new file mode 100644 index 0000000..f3d5bbd --- /dev/null +++ b/browser/chunk-HZOTZCVR.js @@ -0,0 +1,2 @@ +import{b as f}from"./chunk-E7B6YM3J.js";import{Ja as d,Ma as e,Na as t,Oa as r,Va as i,W as m,Ya as p,da as a,ea as c,va as s}from"./chunk-EW74ROYA.js";var u=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=m({type:n,selectors:[["app-directive-way"]],standalone:!0,features:[p],decls:22,vars:1,consts:[["ngxScrollTop","",1,"my-custom-scrolltop-element",3,"ngxScrollTopMode"],["target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop/tree/master/projects/demo/src/app/directive-way","target","_blank",1,"card"],["aria-hidden","true","width","24","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"material-icons"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(o,h){o&1&&(e(0,"h1"),i(1,"Directive "),e(2,"small"),i(3,"(with smart mode enabled)"),t()(),e(4,"ol")(5,"li"),i(6,"Scroll at the end of the page"),t(),e(7,"li"),i(8,"Start scrolling back (smart mode)"),t(),e(9,"li"),i(10,"Watch left bottom corner"),t(),e(11,"li"),i(12,"Use it"),t()(),e(13,"span",0),i(14,` Custom Element. (Directive and Smart mode) \u2191 +`),t(),e(15,"a",1),a(),e(16,"svg",2),r(17,"path",3),t(),c(),e(18,"span"),i(19,"Show Directive code"),t(),a(),e(20,"svg",4),r(21,"path",5),t()()),o&2&&(s(13),d("ngxScrollTopMode","smart"))},dependencies:[f],styles:[".my-custom-scrolltop-element[_ngcontent-%COMP%]{position:fixed;left:0;bottom:0;padding:10px;background:#000;color:#fff}.my-custom-scrolltop-element[_ngcontent-%COMP%]:hover{cursor:pointer}"]});let l=n;return l})();export{u as default}; diff --git a/browser/chunk-TFTN6LFH.js b/browser/chunk-TFTN6LFH.js new file mode 100644 index 0000000..2d40b46 --- /dev/null +++ b/browser/chunk-TFTN6LFH.js @@ -0,0 +1 @@ +import{a as f}from"./chunk-E7B6YM3J.js";import{Ja as p,Ma as e,Na as t,Oa as a,Va as o,W as m,Ya as d,da as r,ea as c,va as s}from"./chunk-EW74ROYA.js";var x=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["app-component-way"]],standalone:!0,features:[d],decls:17,vars:4,consts:[["position","right","theme","gray",3,"backgroundColor","symbolColor","size","mode"],["target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop/tree/master/projects/demo/src/app/component-way","target","_blank",1,"card"],["aria-hidden","true","width","24","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"material-icons"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,g){i&1&&(e(0,"h1"),o(1,"Component"),t(),e(2,"ol")(3,"li"),o(4,"Scroll down"),t(),e(5,"li"),o(6,"Watch right bottom corner"),t(),e(7,"li"),o(8,"Use it"),t()(),a(9,"ngx-scrolltop",0),e(10,"a",1),r(),e(11,"svg",2),a(12,"path",3),t(),c(),e(13,"span"),o(14,"Show Component code"),t(),r(),e(15,"svg",4),a(16,"path",5),t()()),i&2&&(s(9),p("backgroundColor","#212121")("symbolColor","#fafafa")("size",40)("mode","classic"))},dependencies:[f]});let l=n;return l})();export{x as default}; diff --git a/favicon.ico b/browser/favicon.ico similarity index 100% rename from favicon.ico rename to browser/favicon.ico diff --git a/index.html b/browser/index.html similarity index 70% rename from index.html rename to browser/index.html index 4bf6faa..28b6ee0 100644 --- a/index.html +++ b/browser/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/browser/main-TQCUBJ3I.js b/browser/main-TQCUBJ3I.js new file mode 100644 index 0000000..99e55ad --- /dev/null +++ b/browser/main-TQCUBJ3I.js @@ -0,0 +1 @@ +import{$ as H,$a as ht,A as cr,Aa as V,Ab as Kr,B as ot,Ba as en,Bb as cn,C as Q,Ca as Mr,Cb as Qr,D as qt,Db as Yr,E as ur,Ea as Ir,F as lr,Fa as Tr,G as hr,Ga as tn,H as $,Ha as Ar,I as dr,Ia as Dr,J as I,Ja as Or,K as b,L as Y,M as C,Ma as R,N as X,Na as T,O as fr,Oa as O,P as M,Q as Gt,Qa as xr,R as y,Ra as Nr,S as g,T as Wt,U as pr,V as Ae,Va as _,W as at,Wa as nn,X as J,Y as Zt,Ya as Pr,Z as gr,Za as lt,_ as de,_a as Ur,a as h,aa as Kt,ab as dt,b as D,bb as rn,c as nr,cb as Lr,d as rr,da as se,db as sn,e as ir,ea as fe,eb as jr,f as zt,fa as Qt,fb as on,g as Ft,ga as mr,gb as ft,h as Z,ha as Yt,hb as kr,i as L,ia as Xt,ib as an,j as K,jb as $r,k as x,ka as vr,kb as _r,l as p,la as yr,lb as pt,m as Te,ma as De,mb as zr,n as sr,na as Sr,nb as gt,o as or,oa as ct,ob as Fr,p as w,pa as wr,pb as Hr,q as st,qa as Oe,qb as z,r as N,ra as Jt,rb as Vr,s as Ht,sa as Cr,sb as Ne,t as ar,tb as Br,u as Vt,ua as xe,ub as qr,v as ie,va as ut,vb as Pe,w as ue,wa as pe,wb as Gr,x as le,xa as Rr,y as Bt,ya as br,yb as Wr,z as he,za as Er,zb as Zr}from"./chunk-EW74ROYA.js";var hn=class extends Hr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},dn=class n extends hn{static makeCurrent(){Fr(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.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,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=as();return i==null?null:cs(i)}resetBaseElement(){Ue=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Gr(document.cookie,e)}},Ue=null;function as(){return Ue=Ue||document.querySelector("base"),Ue?Ue.getAttribute("href"):null}function cs(n){return new URL(n,document.baseURI).pathname}var fn=class{addToWindow(e){Y.getAngularTestability=(t,r=!0)=>{let s=e.findTestabilityInTree(t,r);if(s==null)throw new b(5103,!1);return s},Y.getAllAngularTestabilities=()=>e.getAllTestabilities(),Y.getAllAngularRootElements=()=>e.getAllRootElements();let i=t=>{let r=Y.getAllAngularTestabilities(),s=r.length,o=function(){s--,s==0&&t()};r.forEach(a=>{a.whenStable(o)})};Y.frameworkStabilizers||(Y.frameworkStabilizers=[]),Y.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,t){if(i==null)return null;let r=e.getTestability(i);return r??(t?gt().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},us=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})(),pn=new M(""),ti=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(y(pn),y(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})(),mt=class{constructor(e){this._doc=e}},un="ng-app-id",ni=(()=>{let e=class e{constructor(t,r,s,o={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=cn(o),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${un}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=r,o.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,o=s?.get(r);if(o?.parentNode===t)return s.delete(r),o.removeAttribute(un),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(un,this.appId),t.appendChild(a),a}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),o=this.styleRef,a=o.get(r)?.elements;a?a.push(s):o.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(y(z),y(ct),y(Jt,8),y(Oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})(),ln={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/Math/MathML"},mn=/%COMP%/g,ri="%COMP%",ls=`_nghost-${ri}`,hs=`_ngcontent-${ri}`,ds=!0,fs=new M("",{providedIn:"root",factory:()=>ds});function ps(n){return hs.replace(mn,n)}function gs(n){return ls.replace(mn,n)}function ii(n,e){return e.map(i=>i.replace(mn,n))}var Xr=(()=>{let e=class e{constructor(t,r,s,o,a,u,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=cn(u),this.defaultRenderer=new Le(t,a,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ae.ShadowDom&&(r=D(h({},r),{encapsulation:Ae.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof vt?s.applyToHost(t):s instanceof je&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,o=s.get(r.id);if(!o){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(r.encapsulation){case Ae.Emulated:o=new vt(c,l,r,this.appId,d,a,u,f);break;case Ae.ShadowDom:return new gn(c,l,t,r,a,u,this.nonce,f);default:o=new je(c,l,r,d,a,u,f);break}s.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(y(ti),y(ni),y(ct),y(fs),y(z),y(Oe),y(V),y(Jt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})(),Le=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(ln[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Jr(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(Jr(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new b(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=ln[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=ln[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,t,r){r&(xe.DashCase|xe.Important)?e.style.setProperty(i,t,r&xe.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&xe.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=gt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Jr(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var gn=class extends Le{constructor(e,i,t,r,s,o,a,u){super(e,s,o,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=ii(r.id,r.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,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},je=class extends Le{constructor(e,i,t,r,s,o,a,u){super(e,s,o,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?ii(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},vt=class extends je{constructor(e,i,t,r,s,o,a,u){let c=r+"-"+t.id;super(e,i,t,s,o,a,u,c),this.contentAttr=ps(c),this.hostAttr=gs(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},ms=(()=>{let e=class e extends mt{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(y(z))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})(),ei=["alt","control","meta","shift"],vs={"\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"},ys={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ss=(()=>{let e=class e extends mt{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let o=e.parseEventName(r),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gt().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(r.pop()),a="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),a="code."),ei.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),a+=l+".")}),a+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(t,r){let s=vs[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),ei.forEach(a=>{if(a!==s){let u=ys[a];u(t)&&(o+=a+".")}}),o+=s,o===r)}static eventCallback(t,r,s){return o=>{e.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(y(z))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})();function ws(){dn.makeCurrent()}function Cs(){return new Xt}function Rs(){return Sr(document),document}var bs=[{provide:Oe,useValue:Kr},{provide:wr,useValue:ws,multi:!0},{provide:z,useFactory:Rs,deps:[]}],si=kr($r,"browser",bs),Es=new M(""),Ms=[{provide:ht,useClass:fn,deps:[]},{provide:Ur,useClass:dt,deps:[V,rn,ht]},{provide:dt,useClass:dt,deps:[V,rn,ht]}],Is=[{provide:gr,useValue:"root"},{provide:Xt,useFactory:Cs,deps:[]},{provide:pn,useClass:ms,multi:!0,deps:[z,V,Oe]},{provide:pn,useClass:Ss,multi:!0,deps:[z]},Xr,ni,ti,{provide:br,useExisting:Xr},{provide:Yr,useClass:us,deps:[]},[]],oi=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:ct,useValue:t.appId}]}}};e.\u0275fac=function(r){return new(r||e)(y(Es,12))},e.\u0275mod=J({type:e}),e.\u0275inj=X({providers:[...Is,...Ms],imports:[Zr,_r]});let n=e;return n})();var ai=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(y(z))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var m="primary",Ye=Symbol("RouteTitle"),Cn=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function we(n){return new Cn(n)}function As(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===r)}else return n===e}function wi(n){return n.length>0?n[n.length-1]:null}function re(n){return sr(n)?n:Lr(n)?x(Promise.resolve(n)):p(n)}var Os={exact:Ri,subset:bi},Ci={exact:xs,subset:Ns,ignored:()=>!0};function ui(n,e,i){return Os[i.paths](n.root,e.root,i.matrixParams)&&Ci[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function xs(n,e){return B(n,e)}function Ri(n,e,i){if(!ae(n.segments,e.segments)||!Ct(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!Ri(n.children[t],e.children[t],i))return!1;return!0}function Ns(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>Si(n[i],e[i]))}function bi(n,e,i){return Ei(n,e,e.segments,i)}function Ei(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!ae(r,i)||e.hasChildren()||!Ct(r,i,t))}else if(n.segments.length===i.length){if(!ae(n.segments,i)||!Ct(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!bi(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!ae(n.segments,r)||!Ct(n.segments,r,t)||!n.children[m]?!1:Ei(n.children[m],e,s,t)}}function Ct(n,e,i){return e.every((t,r)=>Ci[i](n[r].parameters,t.parameters))}var ee=class{constructor(e=new v([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap??=we(this.queryParams),this._queryParamMap}toString(){return Ls.serialize(this)}},v=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}},oe=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=we(this.parameters),this._parameterMap}toString(){return Ii(this)}};function Ps(n,e){return ae(n,e)&&n.every((i,t)=>B(i.parameters,e[t].parameters))}function ae(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function Us(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===m&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==m&&(i=i.concat(e(r,t)))}),i}var Xe=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:()=>new Ce,providedIn:"root"});let n=e;return n})(),Ce=class{parse(e){let i=new En(e);return new ee(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${ke(e.root,!0)}`,t=$s(e.queryParams),r=typeof e.fragment=="string"?`#${js(e.fragment)}`:"";return`${i}${t}${r}`}},Ls=new Ce;function Rt(n){return n.segments.map(e=>Ii(e)).join("/")}function ke(n,e){if(!n.hasChildren())return Rt(n);if(e){let i=n.children[m]?ke(n.children[m],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==m&&t.push(`${r}:${ke(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=Us(n,(t,r)=>r===m?[ke(n.children[m],!1)]:[`${r}:${ke(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[m]!=null?`${Rt(n)}/${i[0]}`:`${Rt(n)}/(${i.join("//")})`}}function Mi(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function St(n){return Mi(n).replace(/%3B/gi,";")}function js(n){return encodeURI(n)}function bn(n){return Mi(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bt(n){return decodeURIComponent(n)}function li(n){return bt(n.replace(/\+/g,"%20"))}function Ii(n){return`${bn(n.path)}${ks(n.parameters)}`}function ks(n){return Object.entries(n).map(([e,i])=>`;${bn(e)}=${bn(i)}`).join("")}function $s(n){let e=Object.entries(n).map(([i,t])=>Array.isArray(t)?t.map(r=>`${St(i)}=${St(r)}`).join("&"):`${St(i)}=${St(t)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var _s=/^[^\/()?;#]+/;function vn(n){let e=n.match(_s);return e?e[0]:""}var zs=/^[^\/()?;=#]+/;function Fs(n){let e=n.match(zs);return e?e[0]:""}var Hs=/^[^=?&#]+/;function Vs(n){let e=n.match(Hs);return e?e[0]:""}var Bs=/^[^&#]+/;function qs(n){let e=n.match(Bs);return e?e[0]:""}var En=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],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 i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[m]=new v(e,i)),t}parseSegment(){let e=vn(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(e),new oe(bt(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=Fs(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=vn(this.remaining);r&&(t=r,this.capture(t))}e[bt(i)]=bt(t)}parseQueryParam(e){let i=Vs(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let o=qs(this.remaining);o&&(t=o,this.capture(t))}let r=li(i),s=li(t);if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=vn(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new b(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=m);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[m]:new v([],o),this.consumeOptional("//")}return i}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 b(4011,!1)}};function Ti(n){return n.segments.length>0?new v([],{[m]:n}):n}function Ai(n){let e={};for(let[t,r]of Object.entries(n.children)){let s=Ai(r);if(t===m&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new v(n.segments,e);return Gs(i)}function Gs(n){if(n.numberOfChildren===1&&n.children[m]){let e=n.children[m];return new v(n.segments.concat(e.segments),e.children)}return n}function Ve(n){return n instanceof ee}function Ws(n,e,i=null,t=null){let r=Di(n);return Oi(r,e,i,t)}function Di(n){let e;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new v(s.url,o);return s===n&&(e=a),a}let t=i(n.root),r=Ti(t);return e??r}function Oi(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return yn(r,r,r,i,t);let s=Zs(e);if(s.toRoot())return yn(r,r,new v([],{}),i,t);let o=Ks(s,r,n),a=o.processChildren?ze(o.segmentGroup,o.index,s.commands):Ni(o.segmentGroup,o.index,s.commands);return yn(r,o.segmentGroup,a,i,t)}function Et(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Be(n){return typeof n=="object"&&n!=null&&n.outlets}function yn(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;n===e?o=i:o=xi(n,e,i);let a=Ti(Ai(o));return new ee(a,s,r)}function xi(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=xi(s,e,i)}),new v(n.segments,t)}var Mt=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&Et(t[0]))throw new b(4003,!1);let r=t.find(Be);if(r&&r!==wi(t))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Zs(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Mt(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new Mt(i,e,t)}var ve=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Ks(n,e,i){if(n.isAbsolute)return new ve(e,!0,0);if(!i)return new ve(e,!1,NaN);if(i.parent===null)return new ve(i,!0,0);let t=Et(n.commands[0])?0:1,r=i.segments.length-1+t;return Qs(i,r,n.numberOfDoubleDots)}function Qs(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new b(4005,!1);r=t.segments.length}return new ve(t,!1,r-s)}function Ys(n){return Be(n[0])?n[0].outlets:{[m]:n}}function Ni(n,e,i){if(n??=new v([],{}),n.segments.length===0&&n.hasChildren())return ze(n,e,i);let t=Xs(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==m)&&n.children[m]&&n.numberOfChildren===1&&n.children[m].segments.length===0){let s=ze(n.children[m],e,i);return new v(n.segments,s.children)}return Object.entries(t).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=Ni(n.children[s],e,o))}),Object.entries(n.children).forEach(([s,o])=>{t[s]===void 0&&(r[s]=o)}),new v(n.segments,r)}}function Xs(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=n.segments[r],a=i[t];if(Be(a))break;let u=`${a}`,c=t0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!di(u,c,o))return s;t+=2}else{if(!di(u,{},o))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function Mn(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=Mn(new v([],{}),0,t))}),e}function hi(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function di(n,e,i){return n==i.path&&B(e,i.parameters)}var Fe="imperative",E=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(E||{}),j=class{constructor(e,i){this.id=e,this.url=i}},Re=class extends j{constructor(e,i,t="imperative",r=null){super(e,i),this.type=E.NavigationStart,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},q=class extends j{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=E.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},U=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(U||{}),It=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(It||{}),G=class extends j{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=E.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},te=class extends j{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=E.NavigationSkipped}},qe=class extends j{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=E.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Tt=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=E.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},In=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=E.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tn=class extends j{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=E.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},An=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=E.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dn=class extends j{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=E.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},On=class{constructor(e){this.route=e,this.type=E.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},xn=class{constructor(e){this.route=e,this.type=E.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Nn=class{constructor(e){this.snapshot=e,this.type=E.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pn=class{constructor(e){this.snapshot=e,this.type=E.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Un=class{constructor(e){this.snapshot=e,this.type=E.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ln=class{constructor(e){this.snapshot=e,this.type=E.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},At=class{constructor(e,i,t){this.routerEvent=e,this.position=i,this.anchor=t,this.type=E.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ge=class{},be=class{constructor(e,i){this.url=e,this.navigationBehaviorOptions=i}};var jn=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Je(this.injector),this.attachRef=null}},Je=(()=>{let e=class e{constructor(t){this.parentInjector=t,this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new jn(this.parentInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)(y(de))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Dt=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=kn(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=kn(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=$n(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return $n(e,this._root).map(i=>i.value)}};function kn(n,e){if(n===e.value)return e;for(let i of e.children){let t=kn(n,i);if(t)return t}return null}function $n(n,e){if(n===e.value)return[e];for(let i of e.children){let t=$n(n,i);if(t.length)return t.unshift(e),t}return[]}var P=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function me(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var Ot=class extends Dt{constructor(e,i){super(e),this.snapshot=i,Wn(this,e)}toString(){return this.snapshot.toString()}};function Pi(n){let e=eo(n),i=new L([new oe("",{})]),t=new L({}),r=new L({}),s=new L({}),o=new L(""),a=new ce(i,t,s,o,r,m,n,e.root);return a.snapshot=e.root,new Ot(new P(a,[]),e)}function eo(n){let e={},i={},t={},r="",s=new ye([],e,t,r,i,m,n,null,{});return new Nt("",new P(s,[]))}var ce=class{constructor(e,i,t,r,s,o,a,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(w(c=>c[Ye]))??p(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}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(w(e=>we(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(w(e=>we(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xt(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:h(h({},e.params),n.params),data:h(h({},e.data),n.data),resolve:h(h(h(h({},n.data),e.data),r?.data),n._resolvedData)}:t={params:h({},n.params),data:h({},n.data),resolve:h(h({},n.data),n._resolvedData??{})},r&&Li(r)&&(t.resolve[Ye]=r.title),t}var ye=class{get title(){return this.data?.[Ye]}constructor(e,i,t,r,s,o,a,u,c){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=o,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??=we(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=we(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Nt=class extends Dt{constructor(e,i){super(i),this.url=e,Wn(this,i)}toString(){return Ui(this._root)}};function Wn(n,e){e.value._routerState=n,e.children.forEach(i=>Wn(n,i))}function Ui(n){let e=n.children.length>0?` { ${n.children.map(Ui).join(", ")} } `:"";return`${n.value}${e}`}function Sn(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,B(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),B(e.params,i.params)||n.paramsSubject.next(i.params),Ds(e.url,i.url)||n.urlSubject.next(i.url),B(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function _n(n,e){let i=B(n.params,e.params)&&Ps(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||_n(n.parent,e.parent))}function Li(n){return typeof n.title=="string"||n.title===null}var Zn=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=m,this.activateEvents=new De,this.deactivateEvents=new De,this.attachEvents=new De,this.detachEvents=new De,this.parentContexts=g(Je),this.location=g(Mr),this.changeDetector=g(an),this.inputBinder=g(kt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=t;let s=this.location,a=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new zn(t,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Kt]});let n=e;return n})(),zn=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===ce?this.route:e===Je?this.childContexts:this.parent.get(e,i)}},kt=new M(""),fi=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,s=st([r.queryParams,r.params,r.data]).pipe($(([o,a,u],c)=>(u=h(h(h({},o),a),u),c===0?p(u):Promise.resolve(u)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let a=zr(r.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of a.inputs)t.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})();function to(n,e,i){let t=We(n,e._root,i?i._root:void 0);return new Ot(t,e)}function We(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=no(n,e,i);return new P(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>We(n,a)),o}}let t=ro(e.value),r=e.children.map(s=>We(n,s));return new P(t,r)}}function no(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return We(n,t,r);return We(n,t)})}function ro(n){return new ce(new L(n.url),new L(n.params),new L(n.queryParams),new L(n.fragment),new L(n.data),n.outlet,n.component,n)}var Ze=class{constructor(e,i){this.redirectTo=e,this.navigationBehaviorOptions=i}},ji="ngNavigationCancelingError";function Pt(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=Ve(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=ki(!1,U.Redirect);return r.url=i,r.navigationBehaviorOptions=t,r}function ki(n,e){let i=new Error(`NavigationCancelingError: ${n||""}`);return i[ji]=!0,i.cancellationCode=e,i}function io(n){return $i(n)&&Ve(n.url)}function $i(n){return!!n&&n[ji]}var so=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=at({type:e,selectors:[["ng-component"]],standalone:!0,features:[Pr],decls:1,vars:0,template:function(r,s){r&1&&O(0,"router-outlet")},dependencies:[Zn],encapsulation:2});let n=e;return n})();function oo(n,e){return n.providers&&!n._injector&&(n._injector=tn(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Kn(n){let e=n.children&&n.children.map(Kn),i=e?D(h({},n),{children:e}):h({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==m&&(i.component=so),i}function F(n){return n.outlet||m}function ao(n,e){let i=n.filter(t=>F(t)===e);return i.push(...n.filter(t=>F(t)!==e)),i}function et(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var co=(n,e,i,t)=>w(r=>(new Fn(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),Fn=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),Sn(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=me(i);e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],t),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let o=t.getContext(r.outlet);o&&this.deactivateChildRoutes(e,i,o.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=me(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(t&&t.outlet){let o=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=me(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=me(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new Ln(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Pn(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(Sn(r),r===s)if(r.component){let o=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,o.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let o=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Sn(a.route.value),this.activateChildRoutes(e,null,o.children)}else{let a=et(r.snapshot);o.attachRef=null,o.route=r,o.injector=a??o.injector,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,t)}},Ut=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Se=class{constructor(e,i){this.component=e,this.route=i}};function uo(n,e,i){let t=n._root,r=e?e._root:null;return $e(t,r,i,[t.value])}function lo(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function Me(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!fr(n)?n:e.get(n):t}function $e(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=me(e);return n.children.forEach(o=>{ho(o,s[o.value.outlet],i,t.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>He(a,i.getContext(o),r)),r}function ho(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,o=e?e.value:null,a=i?i.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=fo(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Ut(t)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?$e(n,e,a?a.children:null,t,r):$e(n,e,i,t,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Se(a.outlet.component,o))}else o&&He(e,a,r),r.canActivateChecks.push(new Ut(t)),s.component?$e(n,null,a?a.children:null,t,r):$e(n,null,i,t,r);return r}function fo(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!ae(n.url,e.url);case"pathParamsOrQueryParamsChange":return!ae(n.url,e.url)||!B(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_n(n,e)||!B(n.queryParams,e.queryParams);case"paramsChange":default:return!_n(n,e)}}function He(n,e,i){let t=me(n),r=n.value;Object.entries(t).forEach(([s,o])=>{r.component?e?He(o,e.children.getContext(s),i):He(o,null,i):He(o,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new Se(e.outlet.component,r)):i.canDeactivateChecks.push(new Se(null,r)):i.canDeactivateChecks.push(new Se(null,r))}function tt(n){return typeof n=="function"}function po(n){return typeof n=="boolean"}function go(n){return n&&tt(n.canLoad)}function mo(n){return n&&tt(n.canActivate)}function vo(n){return n&&tt(n.canActivateChild)}function yo(n){return n&&tt(n.canDeactivate)}function So(n){return n&&tt(n.canMatch)}function _i(n){return n instanceof or||n?.name==="EmptyError"}var wt=Symbol("INITIAL_VALUE");function Ee(){return $(n=>st(n.map(e=>e.pipe(he(1),hr(wt)))).pipe(w(e=>{for(let i of e)if(i!==!0){if(i===wt)return wt;if(i===!1||wo(i))return i}return!0}),ie(e=>e!==wt),he(1)))}function wo(n){return Ve(n)||n instanceof Ze}function Co(n,e){return N(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?p(D(h({},i),{guardsResult:!0})):Ro(o,t,r,n).pipe(N(a=>a&&po(a)?bo(t,s,n,e):p(a)),w(a=>D(h({},i),{guardsResult:a})))})}function Ro(n,e,i,t){return x(n).pipe(N(r=>Ao(r.component,r.route,i,e,t)),Q(r=>r!==!0,!0))}function bo(n,e,i,t){return x(e).pipe(le(r=>ar(Mo(r.route.parent,t),Eo(r.route,t),To(n,r.path,i),Io(n,r.route,i))),Q(r=>r!==!0,!0))}function Eo(n,e){return n!==null&&e&&e(new Un(n)),p(!0)}function Mo(n,e){return n!==null&&e&&e(new Nn(n)),p(!0)}function Io(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return p(!0);let r=t.map(s=>Vt(()=>{let o=et(e)??i,a=Me(s,o),u=mo(a)?a.canActivate(e,n):H(o,()=>a(e,n));return re(u).pipe(Q())}));return p(r).pipe(Ee())}function To(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>lo(o)).filter(o=>o!==null).map(o=>Vt(()=>{let a=o.guards.map(u=>{let c=et(o.node)??i,l=Me(u,c),d=vo(l)?l.canActivateChild(t,n):H(c,()=>l(t,n));return re(d).pipe(Q())});return p(a).pipe(Ee())}));return p(s).pipe(Ee())}function Ao(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(a=>{let u=et(e)??r,c=Me(a,u),l=yo(c)?c.canDeactivate(n,e,i,t):H(u,()=>c(n,e,i,t));return re(l).pipe(Q())});return p(o).pipe(Ee())}function Do(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return p(!0);let s=r.map(o=>{let a=Me(o,n),u=go(a)?a.canLoad(e,i):H(n,()=>a(e,i));return re(u)});return p(s).pipe(Ee(),zi(t))}function zi(n){return ir(I(e=>{if(typeof e!="boolean")throw Pt(n,e)}),w(e=>e===!0))}function Oo(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return p(!0);let s=r.map(o=>{let a=Me(o,n),u=So(a)?a.canMatch(e,i):H(n,()=>a(e,i));return re(u)});return p(s).pipe(Ee(),zi(t))}var Ke=class{constructor(e){this.segmentGroup=e||null}},Qe=class extends Error{constructor(e){super(),this.urlTree=e}};function ge(n){return Te(new Ke(n))}function xo(n){return Te(new b(4e3,!1))}function No(n){return Te(ki(!1,U.GuardRejected))}var Hn=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return p(t);if(r.numberOfChildren>1||!r.children[m])return xo(`${e.redirectTo}`);r=r.children[m]}}applyRedirectCommands(e,i,t,r,s){if(typeof i!="string"){let a=i,{queryParams:u,fragment:c,routeConfig:l,url:d,outlet:f,params:S,data:A,title:W}=r,k=H(s,()=>a({params:S,data:A,queryParams:u,fragment:c,routeConfig:l,url:d,outlet:f,title:W}));if(k instanceof ee)throw new Qe(k);i=k}let o=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i[0]==="/")throw new Qe(o);return o}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new ee(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);t[r]=i[a]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(e,u,t,r)}),new v(s,o)}createSegments(e,i,t,r){return i.map(s=>s.path[0]===":"?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new b(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},Vn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Po(n,e,i,t,r){let s=Qn(n,e,i);return s.matched?(t=oo(e,t),Oo(t,e,i,r).pipe(w(o=>o===!0?s:h({},Vn)))):p(s)}function Qn(n,e,i){if(e.path==="**")return Uo(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?h({},Vn):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||As)(i,n,e);if(!r)return h({},Vn);let s={};Object.entries(r.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Uo(n){return{matched:!0,parameters:n.length>0?wi(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function pi(n,e,i,t){return i.length>0&&ko(n,i,t)?{segmentGroup:new v(e,jo(t,new v(i,n.children))),slicedSegments:[]}:i.length===0&&$o(n,i,t)?{segmentGroup:new v(n.segments,Lo(n,i,t,n.children)),slicedSegments:i}:{segmentGroup:new v(n.segments,n.children),slicedSegments:i}}function Lo(n,e,i,t){let r={};for(let s of i)if($t(n,e,s)&&!t[F(s)]){let o=new v([],{});r[F(s)]=o}return h(h({},t),r)}function jo(n,e){let i={};i[m]=e;for(let t of n)if(t.path===""&&F(t)!==m){let r=new v([],{});i[F(t)]=r}return i}function ko(n,e,i){return i.some(t=>$t(n,e,t)&&F(t)!==m)}function $o(n,e,i){return i.some(t=>$t(n,e,t))}function $t(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function _o(n,e,i,t){return F(n)!==t&&(t===m||!$t(e,i,n))?!1:Qn(e,n,i).matched}function zo(n,e,i){return e.length===0&&!n.children[i]}var Bn=class{};function Fo(n,e,i,t,r,s,o="emptyOnly"){return new qn(n,e,i,t,r,o,s).recognize()}var Ho=31,qn=class{constructor(e,i,t,r,s,o,a){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new Hn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new b(4002,`'${e.segmentGroup}'`)}recognize(){let e=pi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(w(({children:i,rootSnapshot:t})=>{let r=new P(t,i),s=new Nt("",r),o=Ws(t,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(e){let i=new ye([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,m,i).pipe(w(t=>({children:t,rootSnapshot:i})),ue(t=>{if(t instanceof Qe)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Ke?this.noMatchError(t):t}))}processSegmentGroup(e,i,t,r,s){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t,s):this.processSegment(e,i,t,t.segments,r,!0,s).pipe(w(o=>o instanceof P?[o]:[]))}processChildren(e,i,t,r){let s=[];for(let o of Object.keys(t.children))o==="primary"?s.unshift(o):s.push(o);return x(s).pipe(le(o=>{let a=t.children[o],u=ao(i,o);return this.processSegmentGroup(e,u,a,o,r)}),lr((o,a)=>(o.push(...a),o)),Bt(null),ur(),N(o=>{if(o===null)return ge(t);let a=Fi(o);return Vo(a),p(a)}))}processSegment(e,i,t,r,s,o,a){return x(i).pipe(le(u=>this.processSegmentAgainstRoute(u._injector??e,i,u,t,r,s,o,a).pipe(ue(c=>{if(c instanceof Ke)return p(null);throw c}))),Q(u=>!!u),ue(u=>{if(_i(u))return zo(t,r,s)?p(new Bn):ge(t);throw u}))}processSegmentAgainstRoute(e,i,t,r,s,o,a,u){return _o(t,r,s,o)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,o,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,o,u):ge(r):ge(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,o,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Qn(i,r,s);if(!u)return ge(i);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ho&&(this.allowRedirects=!1));let S=new ye(s,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,gi(r),F(r),r.component??r._loadedComponent??null,r,mi(r)),A=xt(S,a,this.paramsInheritanceStrategy);S.params=Object.freeze(A.params),S.data=Object.freeze(A.data);let W=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d,S,e);return this.applyRedirects.lineralizeSegments(r,W).pipe(N(k=>this.processSegment(e,t,i,k.concat(f),o,!1,a)))}matchSegmentAgainstRoute(e,i,t,r,s,o){let a=Po(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),a.pipe($(u=>u.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe($(({routes:c})=>{let l=t._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:S}=u,A=new ye(f,d,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,gi(t),F(t),t.component??t._loadedComponent??null,t,mi(t)),W=xt(A,o,this.paramsInheritanceStrategy);A.params=Object.freeze(W.params),A.data=Object.freeze(W.data);let{segmentGroup:k,slicedSegments:Ie}=pi(i,f,S,c);if(Ie.length===0&&k.hasChildren())return this.processChildren(l,c,k,A).pipe(w(it=>new P(A,it)));if(c.length===0&&Ie.length===0)return p(new P(A,[]));let _t=F(t)===s;return this.processSegment(l,c,k,Ie,_t?m:s,!0,A).pipe(w(it=>new P(A,it instanceof P?[it]:[])))}))):ge(i)))}getChildConfig(e,i,t){return i.children?p({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?p({routes:i._loadedRoutes,injector:i._loadedInjector}):Do(e,i,t,this.urlSerializer).pipe(N(r=>r?this.configLoader.loadChildren(e,i).pipe(I(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):No(i))):p({routes:[],injector:e})}};function Vo(n){n.sort((e,i)=>e.value.outlet===m?-1:i.value.outlet===m?1:e.value.outlet.localeCompare(i.value.outlet))}function Bo(n){let e=n.value.routeConfig;return e&&e.path===""}function Fi(n){let e=[],i=new Set;for(let t of n){if(!Bo(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Fi(t.children);e.push(new P(t.value,r))}return e.filter(t=>!i.has(t))}function gi(n){return n.data||{}}function mi(n){return n.resolve||{}}function qo(n,e,i,t,r,s){return N(o=>Fo(n,e,i,t,o.extractedUrl,r,s).pipe(w(({state:a,tree:u})=>D(h({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function Go(n,e){return N(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return p(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of Hi(u))o.add(c);let a=0;return x(o).pipe(le(u=>s.has(u)?Wo(u,t,n,e):(u.data=xt(u,u.parent,n).resolve,p(void 0))),I(()=>a++),qt(1),N(u=>a===o.size?p(i):K))})}function Hi(n){let e=n.children.map(i=>Hi(i)).flat();return[n,...e]}function Wo(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!Li(r)&&(s[Ye]=r.title),Zo(s,n,e,t).pipe(w(o=>(n._resolvedData=o,n.data=xt(n,n.parent,i).resolve,null)))}function Zo(n,e,i,t){let r=Rn(n);if(r.length===0)return p({});let s={};return x(r).pipe(N(o=>Ko(n[o],e,i,t).pipe(Q(),I(a=>{if(a instanceof Ze)throw Pt(new Ce,a);s[o]=a}))),qt(1),cr(s),ue(o=>_i(o)?K:Te(o)))}function Ko(n,e,i,t){let r=et(e)??t,s=Me(n,r),o=s.resolve?s.resolve(e,i):H(r,()=>s(e,i));return re(o)}function wn(n){return $(e=>{let i=n(e);return i?x(i).pipe(w(()=>e)):p(e)})}var Vi=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===m);return r}getResolvedTitleForRoute(t){return t.data[Ye]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:()=>g(Qo),providedIn:"root"});let n=e;return n})(),Qo=(()=>{let e=class e extends Vi{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(y(ai))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),nt=new M("",{providedIn:"root",factory:()=>({})}),Lt=new M(""),Yn=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(ft)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return p(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=re(t.loadComponent()).pipe(w(Bi),I(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),ot(()=>{this.componentLoaders.delete(t)})),s=new Ft(r,()=>new Z).pipe(zt());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Yo(r,this.compiler,t,this.onLoadEndListener).pipe(ot(()=>{this.childrenLoaders.delete(r)})),a=new Ft(o,()=>new Z).pipe(zt());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Yo(n,e,i,t){return re(n.loadChildren()).pipe(w(Bi),N(r=>r instanceof Tr||Array.isArray(r)?p(r):x(e.compileModuleAsync(r))),w(r=>{t&&t(n);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(Lt,[],{optional:!0,self:!0}).flat()),{routes:o.map(Kn),injector:s}}))}function Xo(n){return n&&typeof n=="object"&&"default"in n}function Bi(n){return Xo(n)?n.default:n}var Xn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:()=>g(Jo),providedIn:"root"});let n=e;return n})(),Jo=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),qi=new M(""),Gi=new M("");function ea(n,e,i){let t=n.get(Gi),r=n.get(z);return n.get(V).runOutsideAngular(()=>{if(!r.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),ta(n))),{onViewTransitionCreated:u}=t;return u&&H(n,()=>u({transition:a,from:e,to:i})),o})}function ta(n){return new Promise(e=>{en(e,{injector:n})})}var na=new M(""),Jn=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Z,this.transitionAbortSubject=new Z,this.configLoader=g(Yn),this.environmentInjector=g(de),this.urlSerializer=g(Xe),this.rootContexts=g(Je),this.location=g(Pe),this.inputBindingEnabled=g(kt,{optional:!0})!==null,this.titleStrategy=g(Vi),this.options=g(nt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Xn),this.createViewTransition=g(qi,{optional:!0}),this.navigationErrorHandler=g(na,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let t=s=>this.events.next(new On(s)),r=s=>this.events.next(new xn(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(D(h(h({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new L({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Fe,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(o=>o.id!==0),w(o=>D(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),$(o=>{let a=!1,u=!1;return p(o).pipe($(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",U.SupersededByNewNavigation),K;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?D(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new te(c.id,this.urlSerializer.serialize(c.rawUrl),f,It.IgnoredSameUrlNavigation)),c.resolve(!1),K}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return p(c).pipe($(f=>{let S=this.transitions?.getValue();return this.events.next(new Re(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),S!==this.transitions?.getValue()?K:Promise.resolve(f)}),qo(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),I(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=D(h({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let S=new Tt(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(S)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:S,source:A,restoredState:W,extras:k}=c,Ie=new Re(f,this.urlSerializer.serialize(S),A,W);this.events.next(Ie);let _t=Pi(this.rootComponentType).snapshot;return this.currentTransition=o=D(h({},c),{targetSnapshot:_t,urlAfterRedirects:S,extras:D(h({},k),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=S,p(o)}else{let f="";return this.events.next(new te(c.id,this.urlSerializer.serialize(c.extractedUrl),f,It.IgnoredByUrlHandlingStrategy)),c.resolve(!1),K}}),I(c=>{let l=new In(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),w(c=>(this.currentTransition=o=D(h({},c),{guards:uo(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),Co(this.environmentInjector,c=>this.events.next(c)),I(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Pt(this.urlSerializer,c.guardsResult);let l=new Tn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ie(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",U.GuardRejected),!1)),wn(c=>{if(c.guards.canActivateChecks.length)return p(c).pipe(I(l=>{let d=new An(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),$(l=>{let d=!1;return p(l).pipe(Go(this.paramsInheritanceStrategy,this.environmentInjector),I({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",U.NoDataFromResolver)}}))}),I(l=>{let d=new Dn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),wn(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(I(S=>{d.component=S}),w(()=>{})));for(let S of d.children)f.push(...l(S));return f};return st(l(c.targetSnapshot.root)).pipe(Bt(null),he(1))}),wn(()=>this.afterPreactivation()),$(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?x(d).pipe(w(()=>o)):p(o)}),w(c=>{let l=to(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=D(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),I(()=>{this.events.next(new Ge)}),co(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),he(1),I({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new q(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),dr(this.transitionAbortSubject.pipe(I(c=>{throw c}))),ot(()=>{!a&&!u&&this.cancelNavigationTransition(o,"",U.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ue(c=>{if(u=!0,$i(c))this.events.next(new G(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),io(c)?this.events.next(new be(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let l=new qe(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let d=H(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Ze){let{message:f,cancellationCode:S}=Pt(this.urlSerializer,d);this.events.next(new G(o.id,this.urlSerializer.serialize(o.extractedUrl),f,S)),this.events.next(new be(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=t.errorHandler(c);o.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return K}))}))}cancelNavigationTransition(t,r,s){let o=new G(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(o),t.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(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ra(n){return n!==Fe}var ia=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:()=>g(sa),providedIn:"root"});let n=e;return n})(),Gn=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},sa=(()=>{let e=class e extends Gn{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Qt(e)))(s||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Wi=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:()=>g(oa),providedIn:"root"});let n=e;return n})(),oa=(()=>{let e=class e extends Wi{constructor(){super(...arguments),this.location=g(Pe),this.urlSerializer=g(Xe),this.options=g(nt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Xn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ee,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Pi(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(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Re)this.stateMemento=this.createStateMemento();else if(t instanceof te)this.rawUrlTree=r.initialUrl;else if(t instanceof Tt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else t instanceof Ge?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof G&&(t.code===U.GuardRejected||t.code===U.NoDataFromResolver)?this.restoreHistory(r):t instanceof qe?this.restoreHistory(r,!0):t instanceof q&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&o===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Qt(e)))(s||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),_e=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(_e||{});function Zi(n,e){n.events.pipe(ie(i=>i instanceof q||i instanceof G||i instanceof qe||i instanceof te),w(i=>i instanceof q||i instanceof te?_e.COMPLETE:(i instanceof G?i.code===U.Redirect||i.code===U.SupersededByNewNavigation:!1)?_e.REDIRECTING:_e.FAILED),ie(i=>i!==_e.REDIRECTING),he(1)).subscribe(()=>{e()})}function aa(n){throw n}var ca={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ua={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ne=(()=>{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.console=g(lt),this.stateManager=g(Wi),this.options=g(nt,{optional:!0})||{},this.pendingTasks=g(yr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Jn),this.urlSerializer=g(Xe),this.location=g(Pe),this.urlHandlingStrategy=g(Xn),this._events=new Z,this.errorHandler=this.options.errorHandler||aa,this.navigated=!1,this.routeReuseStrategy=g(ia),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Lt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(kt,{optional:!0}),this.eventsSubscription=new rr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof G&&r.code!==U.Redirect&&r.code!==U.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof q)this.navigated=!0;else if(r instanceof be){let a=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c=h({info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ra(s.source)},a);this.scheduleNavigation(u,Fe,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}ha(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Fe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=h({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kn),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(t,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let S=s?s.snapshot:this.routerState.snapshot.root;f=Di(S)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),f=this.currentUrlTree.root}return Oi(f,t,d,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=Ve(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,Fe,null,r)}navigate(t,r={skipLocationChange:!1}){return la(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=h({},ca):r===!1?s=h({},ua):s=r,Ve(t))return ui(this.currentUrlTree,t,s);let o=this.parseUrl(t);return ui(this.currentUrlTree,o,s)}removeEmptyProps(t){return Object.entries(t).reduce((r,[s,o])=>(o!=null&&(r[s]=o),r),{})}scheduleNavigation(t,r,s,o,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,S)=>{u=f,c=S});let d=this.pendingTasks.add();return Zi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function la(n){for(let e=0;e{let e=class e{constructor(t,r,s,o,a,u){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new Z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof q&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,s,o,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:Cr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,t,r):s.removeAttribute(o,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(pe(ne),pe(ce),mr("tabindex"),pe(Er),pe(vr),pe(Ne))},e.\u0275dir=Zt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&xr("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&Dr("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",pt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",pt],replaceUrl:[2,"replaceUrl","replaceUrl",pt],routerLink:"routerLink"},standalone:!0,features:[Ir,Kt]});let n=e;return n})();var jt=class{};var da=(()=>{let e=class e{constructor(t,r,s,o,a){this.router=t,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ie(t=>t instanceof q),le(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=tn(o.providers,t,`Route: ${o.path}`));let a=o._injector??t,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return x(s).pipe(Ht())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(t,r):s=p(null);let o=s.pipe(N(a=>a===null?p(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return x([o,a]).pipe(Ht())}else return o})}};e.\u0275fac=function(r){return new(r||e)(y(ne),y(ft),y(de),y(jt),y(Yn))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Qi=new M(""),fa=(()=>{let e=class e{constructor(t,r,s,o,a={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(de),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(t=>{t instanceof Re?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof q?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof te&&t.code===It.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof At&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>nr(this,null,function*(){yield new Promise(s=>{setTimeout(()=>{s()}),en(()=>{s()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new At(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){Rr()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let n=e;return n})();function pa(n){return n.routerState.root}function rt(n,e){return{\u0275kind:n,\u0275providers:e}}function ga(){let n=g(Yt);return e=>{let i=n.get(on);if(e!==i.components[0])return;let t=n.get(ne),r=n.get(Yi);n.get(er)===1&&t.initialNavigation(),n.get(Xi,null,Gt.Optional)?.setUpPreloading(),n.get(Qi,null,Gt.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Yi=new M("",{factory:()=>new Z}),er=new M("",{providedIn:"root",factory:()=>1});function ma(){return rt(2,[{provide:er,useValue:0},{provide:sn,multi:!0,deps:[Yt],useFactory:e=>{let i=e.get(Vr,Promise.resolve());return()=>i.then(()=>new Promise(t=>{let r=e.get(ne),s=e.get(Yi);Zi(r,()=>{t(!0)}),e.get(Jn).afterPreactivation=()=>(t(!0),s.closed?p(void 0):s),r.initialNavigation()}))}}])}function va(){return rt(3,[{provide:sn,multi:!0,useFactory:()=>{let e=g(ne);return()=>{e.setUpLocationChangeListener()}}},{provide:er,useValue:2}])}var Xi=new M("");function ya(n){return rt(0,[{provide:Xi,useExisting:da},{provide:jt,useExisting:n}])}function Sa(){return rt(8,[fi,{provide:kt,useExisting:fi}])}function wa(n){let e=[{provide:qi,useValue:ea},{provide:Gi,useValue:h({skipNextTransition:!!n?.skipInitialTransition},n)}];return rt(9,e)}var vi=new M("ROUTER_FORROOT_GUARD"),Ca=[Pe,{provide:Xe,useClass:Ce},ne,Je,{provide:ce,useFactory:pa,deps:[ne]},Yn,[]],tr=(()=>{let e=class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Ca,[],{provide:Lt,multi:!0,useValue:t},{provide:vi,useFactory:Ma,deps:[[ne,new Wt,new pr]]},{provide:nt,useValue:r||{}},r?.useHash?ba():Ea(),Ra(),r?.preloadingStrategy?ya(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Ia(r):[],r?.bindToComponentInputs?Sa().\u0275providers:[],r?.enableViewTransitions?wa().\u0275providers:[],Ta()]}}static forChild(t){return{ngModule:e,providers:[{provide:Lt,multi:!0,useValue:t}]}}};e.\u0275fac=function(r){return new(r||e)(y(vi,8))},e.\u0275mod=J({type:e}),e.\u0275inj=X({});let n=e;return n})();function Ra(){return{provide:Qi,useFactory:()=>{let n=g(Qr),e=g(V),i=g(nt),t=g(Jn),r=g(Xe);return i.scrollOffset&&n.setOffset(i.scrollOffset),new fa(r,t,n,e,i)}}}function ba(){return{provide:Ne,useClass:qr}}function Ea(){return{provide:Ne,useClass:Br}}function Ma(n){return"guarded"}function Ia(n){return[n.initialNavigation==="disabled"?va().\u0275providers:[],n.initialNavigation==="enabledBlocking"?ma().\u0275providers:[]]}var yi=new M("");function Ta(){return[{provide:yi,useFactory:ga},{provide:jr,multi:!0,useExisting:yi}]}var Da=[{path:"",loadComponent:()=>import("./chunk-TFTN6LFH.js")},{path:"directive-way",loadComponent:()=>import("./chunk-HZOTZCVR.js")}],Ji=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=J({type:e}),e.\u0275inj=X({imports:[tr.forRoot(Da,{}),tr]});let n=e;return n})();var es={TAG:"18.0.0",COMMIT_HASH:""};function Oa(n,e){if(n&1&&(R(0,"p",17),_(1),T()),n&2){let i=Nr();ut(),nn(" ",i.lipsum," ")}}var ts=(()=>{let e=class e{constructor(){this.title="NgxScrollTop demo | Angular go to top button",this.version=es,this.iterations=new Array(60),this.lipsum="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ultricies integer quis auctor elit sed vulputate mi sit. Tincidunt arcu non sodales neque sodales ut etiam sit. Mi proin sed libero enim sed faucibus. Varius vel pharetra vel turpis nunc eget lorem. Porttitor massa id neque aliquam vestibulum morbi blandit cursus risus. Etiam dignissim diam quis enim lobortis scelerisque fermentum dui. Magna eget est lorem ipsum dolor sit. Tempor orci dapibus ultrices in. Nulla aliquet porttitor lacus luctus accumsan tortor. Imperdiet nulla malesuada pellentesque elit eget gravida cum sociis natoque. Nibh cras pulvinar mattis nunc sed blandit libero. At ultrices mi tempus imperdiet nulla malesuada pellentesque. Nec feugiat nisl pretium fusce id velit ut tortor. Massa tempor nec feugiat nisl pretium fusce id."}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=at({type:e,selectors:[["app-root"]],decls:49,vars:2,consts:[["role","banner",1,"toolbar"],["width","40","alt","Angular Logo","src","https://raw.githubusercontent.com/bartholomej/ngx-scrolltop/HEAD/_assets/ngx-scrolltop_logo.svg?sanitize=true"],[1,"spacer"],["aria-label","ngx-scrolltop on github","target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop","title","Github"],["id","github-logo","aria-hidden","true","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"svg-inline--fa","fa-github","fa-w-16"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["role","main",1,"content"],[1,"card","highlight-card","card-small"],["width","24","alt","ngx-scrolltop logo","src","https://raw.githubusercontent.com/bartholomej/ngx-scrolltop/HEAD/_assets/ngx-scrolltop_logo.svg?sanitize=true",1,"card-logo"],["id","rocket-smoke","alt","Rocket Ship Smoke","xmlns","http://www.w3.org/2000/svg","width","516.119","height","1083.632","viewBox","0 0 516.119 1083.632"],["id","Path_40","data-name","Path 40","d","M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z","transform","translate(-147.025 -140.939)","fill","#f5f5f5"],[1,"card-container"],["routerLink",""],["tabindex","0",1,"card","card-small"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"],["routerLink","directive-way"],[1,"muted"],["class","muted",4,"ngFor","ngForOf"],["href","https://github.com/bartholomej/ngx-scrolltop","target","_blank","rel","noopener"],[1,"github-star-badge"],["d","M0 0h24v24H0z","fill","none"],["d","M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"],["href","https://github.com/angular/angular","target","_blank","rel","noopener"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z","fill","#1976d2"],["id","clouds","alt","Gray Clouds Background","xmlns","http://www.w3.org/2000/svg","width","2611.084","height","485.677","viewBox","0 0 2611.084 485.677"],["id","Path_39","data-name","Path 39","d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z","transform","translate(142.69 -634.312)","fill","#eee"]],template:function(r,s){r&1&&(R(0,"div",0),O(1,"img",1),R(2,"span"),_(3,"Demo page for ngx-scroltop"),T(),O(4,"div",2),R(5,"a",3),se(),R(6,"svg",4),O(7,"path",5),T()()(),fe(),R(8,"div",6)(9,"div",7),O(10,"img",8),R(11,"span"),_(12),T(),se(),R(13,"svg",9),O(14,"path",10),T()(),fe(),R(15,"h3"),_(16,"Choose your style:"),T(),R(17,"div",11)(18,"a",12)(19,"div",13),se(),R(20,"svg",14),O(21,"path",15),T(),fe(),R(22,"span"),_(23,"Component"),T()()(),R(24,"a",16)(25,"div",13),se(),R(26,"svg",14),O(27,"path",15),T(),fe(),R(28,"span"),_(29,"Directive"),T()()()(),O(30,"router-outlet"),R(31,"h3",17),_(32," Dummy text "),T(),Ar(33,Oa,2,1,"p",18),R(34,"footer"),_(35," Love this library?\xA0 "),R(36,"a",19),_(37," Give our repo a star. "),R(38,"div",20),se(),R(39,"svg",14),O(40,"path",21)(41,"path",22),T(),_(42," Star "),T()(),fe(),R(43,"a",23),se(),R(44,"svg",14),O(45,"path",24)(46,"path",21),T()()(),R(47,"svg",25),O(48,"path",26),T()()),r&2&&(ut(12),nn("ngx-scrolltop v",s.version.TAG,""),ut(21),Or("ngForOf",s.iterations))},dependencies:[Wr,Zn,Ki],styles:['[_nghost-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;color:#333;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}']});let n=e;return n})();var ns=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=J({type:e,bootstrap:[ts]}),e.\u0275inj=X({imports:[oi,Ji]});let n=e;return n})();var rs={production:!0};rs.production&&void 0;si().bootstrapModule(ns).catch(n=>console.error(n)); diff --git a/browser/polyfills-KTKZVV2N.js b/browser/polyfills-KTKZVV2N.js new file mode 100644 index 0000000..e322ce7 --- /dev/null +++ b/browser/polyfills-KTKZVV2N.js @@ -0,0 +1,2 @@ +var ie=globalThis;function Q(t){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+t}function ft(){let t=ie.performance;function r(L){t&&t.mark&&t.mark(L)}function i(L,_){t&&t.measure&&t.measure(L,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ie.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=_.current;for(;e.parent;)e=e.parent;return e}static get current(){return v.zone}static get currentTask(){return S}static __load_patch(e,h,D=!1){if(O.hasOwnProperty(e)){let j=ie[Q("forceDuplicateZoneCheck")]===!0;if(!D&&j)throw Error("Already loaded patch: "+e)}else if(!ie["__Zone_disable_"+e]){let j="Zone:"+e;r(j),O[e]=h(ie,_,w),i(j,j)}}get parent(){return this._parent}get name(){return this._name}constructor(e,h){this._parent=e,this._name=h?h.name||"unnamed":"",this._properties=h&&h.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,h)}get(e){let h=this.getZoneWith(e);if(h)return h._properties[e]}getZoneWith(e){let h=this;for(;h;){if(h._properties.hasOwnProperty(e))return h;h=h._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,h){if(typeof e!="function")throw new Error("Expecting function got: "+e);let D=this._zoneDelegate.intercept(this,e,h),j=this;return function(){return j.runGuarded(D,this,arguments,h)}}run(e,h,D,j){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,e,h,D,j)}finally{v=v.parent}}runGuarded(e,h=null,D,j){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,e,h,D,j)}catch(N){if(this._zoneDelegate.handleError(this,N))throw N}}finally{v=v.parent}}runTask(e,h,D){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||te).name+"; Execution: "+this.name+")");if(e.state===Y&&(e.type===W||e.type===y))return;let j=e.state!=B;j&&e._transitionTo(B,d),e.runCount++;let N=S;S=e,v={parent:v,zone:this};try{e.type==y&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,h,D)}catch(he){if(this._zoneDelegate.handleError(this,he))throw he}}finally{e.state!==Y&&e.state!==$&&(e.type==W||e.data&&e.data.isPeriodic?j&&e._transitionTo(d,B):(e.runCount=0,this._updateTaskCount(e,-1),j&&e._transitionTo(Y,B,Y))),v=v.parent,S=N}}scheduleTask(e){if(e.zone&&e.zone!==this){let D=this;for(;D;){if(D===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);D=D.parent}}e._transitionTo(b,Y);let h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(D){throw e._transitionTo($,b,Y),this._zoneDelegate.handleError(this,D),D}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(d,b),e}scheduleMicroTask(e,h,D,j){return this.scheduleTask(new E(U,e,h,D,j,void 0))}scheduleMacroTask(e,h,D,j,N){return this.scheduleTask(new E(y,e,h,D,j,N))}scheduleEventTask(e,h,D,j,N){return this.scheduleTask(new E(W,e,h,D,j,N))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||te).name+"; Execution: "+this.name+")");if(!(e.state!==d&&e.state!==B)){e._transitionTo(z,d,B);try{this._zoneDelegate.cancelTask(this,e)}catch(h){throw e._transitionTo($,z),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(e,-1),e._transitionTo(Y,z),e.runCount=0,e}}_updateTaskCount(e,h){let D=e._zoneDelegates;h==-1&&(e._zoneDelegates=null);for(let j=0;jL.hasTask(c,e),onScheduleTask:(L,_,c,e)=>L.scheduleTask(c,e),onInvokeTask:(L,_,c,e,h,D)=>L.invokeTask(c,e,h,D),onCancelTask:(L,_,c,e)=>L.cancelTask(c,e)};class u{get zone(){return this._zone}constructor(_,c,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=c,this._forkZS=e&&(e&&e.onFork?e:c._forkZS),this._forkDlgt=e&&(e.onFork?c:c._forkDlgt),this._forkCurrZone=e&&(e.onFork?this._zone:c._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:c._interceptZS),this._interceptDlgt=e&&(e.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this._zone:c._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:c._invokeZS),this._invokeDlgt=e&&(e.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this._zone:c._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:c._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this._zone:c._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:c._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this._zone:c._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:c._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this._zone:c._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:c._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this._zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let h=e&&e.onHasTask,D=c&&c._hasTaskZS;(h||D)&&(this._hasTaskZS=h?e:s,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,e.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this._zone),e.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this._zone),e.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this._zone))}fork(_,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,c):new n(_,c)}intercept(_,c,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,c,e):c}invoke(_,c,e,h,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,c,e,h,D):c.apply(e,h)}handleError(_,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,c):!0}scheduleTask(_,c){let e=c;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,c),e||(e=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==U)q(c);else throw new Error("Task is missing scheduleFn.");return e}invokeTask(_,c,e,h){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,c,e,h):c.callback.apply(e,h)}cancelTask(_,c){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");e=c.cancelFn(c)}return e}hasTask(_,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,c)}catch(e){this.handleError(_,e)}}_updateTaskCount(_,c){let e=this._taskCounts,h=e[_],D=e[_]=h+c;if(D<0)throw new Error("More tasks executed then were scheduled.");if(h==0||D==0){let j={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:_};this.hasTask(this._zone,j)}}}class E{constructor(_,c,e,h,D,j){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=c,this.data=h,this.scheduleFn=D,this.cancelFn=j,!e)throw new Error("callback is not defined");this.callback=e;let N=this;_===W&&h&&h.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ie,N,this,arguments)}}static invokeTask(_,c,e){_||(_=this),K++;try{return _.runCount++,_.zone.runTask(_,c,e)}finally{K==1&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,b)}_transitionTo(_,c,e){if(this._state===c||this._state===e)this._state=_,_==Y&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${c}'${e?" or '"+e+"'":""}, 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 T=Q("setTimeout"),p=Q("Promise"),C=Q("then"),g=[],A=!1,P;function H(L){if(P||ie[p]&&(P=ie[p].resolve(0)),P){let _=P[C];_||(_=P.then),_.call(P,L)}else ie[T](L,0)}function q(L){K===0&&g.length===0&&H(x),L&&g.push(L)}function x(){if(!A){for(A=!0;g.length;){let L=g;g=[];for(let _=0;_v,onUnhandledError:X,microtaskDrainDone:X,scheduleMicroTask:q,showUncaughtError:()=>!n[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:X,patchMethod:()=>X,bindArguments:()=>[],patchThen:()=>X,patchMacroTask:()=>X,patchEventPrototype:()=>X,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>X,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>X,wrapWithCurrentZone:()=>X,filterProperties:()=>[],attachOriginToPatched:()=>X,_redefineProperty:()=>X,patchCallbacks:()=>X,nativeScheduleMicroTask:H},v={parent:null,zone:new n(null,null)},S=null,K=0;function X(){}return i("Zone","Zone"),n}function ht(){let t=globalThis,r=t[Q("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(r||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ft(),t.Zone}var ve=Object.getOwnPropertyDescriptor,Ae=Object.defineProperty,je=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,He="addEventListener",xe="removeEventListener",Ie=Q(He),Le=Q(xe),ce="true",ae="false",be=Q("");function Ge(t,r){return Zone.current.wrap(t,r)}function Ve(t,r,i,n,s){return Zone.current.scheduleMacroTask(t,r,i,n,s)}var G=Q,Se=typeof window<"u",ye=Se?window:void 0,J=Se&&ye||globalThis,Et="removeAttribute";function Fe(t,r){for(let i=t.length-1;i>=0;i--)typeof t[i]=="function"&&(t[i]=Ge(t[i],r+"_"+i));return t}function Tt(t,r){let i=t.constructor.name;for(let n=0;n{let p=function(){return T.apply(this,Fe(arguments,i+"."+s))};return ue(p,T),p})(u)}}}function Qe(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Be=!De&&!et&&!!(Se&&ye.HTMLElement),tt=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!et&&!!(Se&&ye.HTMLElement),Ce={},Ye=function(t){if(t=t||J.event,!t)return;let r=Ce[t.type];r||(r=Ce[t.type]=G("ON_PROPERTY"+t.type));let i=this||t.target||J,n=i[r],s;if(Be&&i===ye&&t.type==="error"){let u=t;s=n&&n.call(this,u.message,u.filename,u.lineno,u.colno,u.error),s===!0&&t.preventDefault()}else s=n&&n.apply(this,arguments),s!=null&&!s&&t.preventDefault();return s};function $e(t,r,i){let n=ve(t,r);if(!n&&i&&ve(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=G("on"+r+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete n.writable,delete n.value;let u=n.get,E=n.set,T=r.slice(2),p=Ce[T];p||(p=Ce[T]=G("ON_PROPERTY"+T)),n.set=function(C){let g=this;if(!g&&t===J&&(g=J),!g)return;typeof g[p]=="function"&&g.removeEventListener(T,Ye),E&&E.call(g,null),g[p]=C,typeof C=="function"&&g.addEventListener(T,Ye,!1)},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;let g=C[p];if(g)return g;if(u){let A=u.call(this);if(A)return n.set.call(this,A),typeof C[Et]=="function"&&C.removeAttribute(r),A}return null},Ae(t,r,n),t[s]=!0}function nt(t,r,i){if(r)for(let n=0;nfunction(E,T){let p=i(E,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?Ve(p.name,T[p.cbIdx],p,s):u.apply(E,T)})}function ue(t,r){t[G("OriginalDelegate")]=r}var Je=!1,Me=!1;function yt(){try{let t=ye.navigator.userAgent;if(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1)return!0}catch{}return!1}function mt(){if(Je)return Me;Je=!0;try{let t=ye.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}var ge=!1;if(typeof window<"u")try{let t=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ge=!1}var pt={useG:!0},ee={},rt={},ot=new RegExp("^"+be+"(\\w+)(true|false)$"),st=G("propagationStopped");function it(t,r){let i=(r?r(t):t)+ae,n=(r?r(t):t)+ce,s=be+i,u=be+n;ee[t]={},ee[t][ae]=s,ee[t][ce]=u}function kt(t,r,i,n){let s=n&&n.add||He,u=n&&n.rm||xe,E=n&&n.listeners||"eventListeners",T=n&&n.rmAll||"removeAllListeners",p=G(s),C="."+s+":",g="prependListener",A="."+g+":",P=function(b,d,B){if(b.isRemoved)return;let z=b.callback;typeof z=="object"&&z.handleEvent&&(b.callback=y=>z.handleEvent(y),b.originalDelegate=z);let $;try{b.invoke(b,d,[B])}catch(y){$=y}let U=b.options;if(U&&typeof U=="object"&&U.once){let y=b.originalDelegate?b.originalDelegate:b.callback;d[u].call(d,B.type,y,U)}return $};function H(b,d,B){if(d=d||t.event,!d)return;let z=b||d.target||t,$=z[ee[d.type][B?ce:ae]];if($){let U=[];if($.length===1){let y=P($[0],z,d);y&&U.push(y)}else{let y=$.slice();for(let W=0;W{throw W})}}}let q=function(b){return H(this,b,!1)},x=function(b){return H(this,b,!0)};function te(b,d){if(!b)return!1;let B=!0;d&&d.useG!==void 0&&(B=d.useG);let z=d&&d.vh,$=!0;d&&d.chkDup!==void 0&&($=d.chkDup);let U=!1;d&&d.rt!==void 0&&(U=d.rt);let y=b;for(;y&&!y.hasOwnProperty(s);)y=je(y);if(!y&&b[s]&&(y=b),!y||y[p])return!1;let W=d&&d.eventNameToString,O={},w=y[p]=y[s],v=y[G(u)]=y[u],S=y[G(E)]=y[E],K=y[G(T)]=y[T],X;d&&d.prepend&&(X=y[G(d.prepend)]=y[d.prepend]);function L(o,l){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!l?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?x:q,O.options)},c=function(o){if(!o.isRemoved){let l=ee[o.eventName],k;l&&(k=l[o.capture?ce:ae]);let R=k&&o.target[k];if(R){for(let m=0;mne.zone.cancelTask(ne);o.call(_e,"abort",se,{once:!0}),ne.removeAbortListener=()=>_e.removeEventListener("abort",se)}if(O.target=null,pe&&(pe.taskData=null),Ue&&(O.options.once=!0),!ge&&typeof ne.options=="boolean"||(ne.options=oe),ne.target=M,ne.capture=Oe,ne.eventName=Z,F&&(ne.originalDelegate=V),I?Ee.unshift(ne):Ee.push(ne),m)return M}};return y[s]=a(w,C,j,N,U),X&&(y[g]=a(X,A,h,N,U,!0)),y[u]=function(){let o=this||t,l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));let k=arguments[2],R=k?typeof k=="boolean"?!0:k.capture:!1,m=arguments[1];if(!m)return v.apply(this,arguments);if(z&&!z(v,m,o,arguments))return;let I=ee[l],M;I&&(M=I[R?ce:ae]);let Z=M&&o[M];if(Z)for(let V=0;Vfunction(s,u){s[st]=!0,n&&n.apply(s,u)})}function bt(t,r){r.patchMethod(t,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var Re=G("zoneTask");function Te(t,r,i,n){let s=null,u=null;r+=n,i+=n;let E={};function T(C){let g=C.data;return g.args[0]=function(){return C.invoke.apply(this,arguments)},g.handleId=s.apply(t,g.args),C}function p(C){return u.call(t,C.data.handleId)}s=le(t,r,C=>function(g,A){if(typeof A[0]=="function"){let P={isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?A[1]||0:void 0,args:A},H=A[0];A[0]=function(){try{return H.apply(this,arguments)}finally{P.isPeriodic||(typeof P.handleId=="number"?delete E[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};let q=Ve(r,A[0],P,T,p);if(!q)return q;let x=q.data.handleId;return typeof x=="number"?E[x]=q:x&&(x[Re]=q),x&&x.ref&&x.unref&&typeof x.ref=="function"&&typeof x.unref=="function"&&(q.ref=x.ref.bind(x),q.unref=x.unref.bind(x)),typeof x=="number"||x?x:q}else return C.apply(t,A)}),u=le(t,i,C=>function(g,A){let P=A[0],H;typeof P=="number"?H=E[P]:(H=P&&P[Re],H||(H=P)),H&&typeof H.type=="string"?H.state!=="notScheduled"&&(H.cancelFn&&H.data.isPeriodic||H.runCount===0)&&(typeof P=="number"?delete E[P]:P&&(P[Re]=null),H.zone.cancelTask(H)):C.apply(t,A)})}function Pt(t,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!t.customElements||!("customElements"in t))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,t.customElements,"customElements","define",s)}function wt(t,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;pu.target===t);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(u=>s.indexOf(u)===-1)}function Ke(t,r,i,n){if(!t)return;let s=at(t,r,i);nt(t,s,n)}function Ze(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Ct(t,r){if(De&&!tt||Zone[t.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Be){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=yt()?[{target:s,ignoreProperties:["error"]}]:[];Ke(s,Ze(s),i&&i.concat(u),je(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s{let i=r[t.__symbol__("legacyPatch")];i&&i()}),t.__load_patch("timers",r=>{let i="set",n="clear";Te(r,i,n,"Timeout"),Te(r,i,n,"Interval"),Te(r,i,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Te(r,"request","cancel","AnimationFrame"),Te(r,"mozRequest","mozCancel","AnimationFrame"),Te(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;sfunction(C,g){return i.current.run(E,r,g,p)})}}),t.__load_patch("EventTarget",(r,i,n)=>{Rt(r,n),wt(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),t.__load_patch("MutationObserver",(r,i,n)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,i,n)=>{ke("IntersectionObserver")}),t.__load_patch("FileReader",(r,i,n)=>{ke("FileReader")}),t.__load_patch("on_property",(r,i,n)=>{Ct(n,r)}),t.__load_patch("customElements",(r,i,n)=>{Pt(r,n)}),t.__load_patch("XHR",(r,i)=>{C(r);let n=G("xhrTask"),s=G("xhrSync"),u=G("xhrListener"),E=G("xhrScheduled"),T=G("xhrURL"),p=G("xhrErrorBeforeScheduled");function C(g){let A=g.XMLHttpRequest;if(!A)return;let P=A.prototype;function H(w){return w[n]}let q=P[Ie],x=P[Le];if(!q){let w=g.XMLHttpRequestEventTarget;if(w){let v=w.prototype;q=v[Ie],x=v[Le]}}let te="readystatechange",Y="scheduled";function b(w){let v=w.data,S=v.target;S[E]=!1,S[p]=!1;let K=S[u];q||(q=S[Ie],x=S[Le]),K&&x.call(S,te,K);let X=S[u]=()=>{if(S.readyState===S.DONE)if(!v.aborted&&S[E]&&w.state===Y){let _=S[i.__symbol__("loadfalse")];if(S.status!==0&&_&&_.length>0){let c=w.invoke;w.invoke=function(){let e=S[i.__symbol__("loadfalse")];for(let h=0;hfunction(w,v){return w[s]=v[2]==!1,w[T]=v[1],z.apply(w,v)}),$="XMLHttpRequest.send",U=G("fetchTaskAborting"),y=G("fetchTaskScheduling"),W=le(P,"send",()=>function(w,v){if(i.current[y]===!0||w[s])return W.apply(w,v);{let S={target:w,url:w[T],isPeriodic:!1,args:v,aborted:!1},K=Ve($,d,S,b,B);w&&w[p]===!0&&!S.aborted&&K.state===Y&&K.invoke()}}),O=le(P,"abort",()=>function(w,v){let S=H(w);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(i.current[U]===!0)return O.apply(w,v)})}}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&Tt(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(u){ct(r,s).forEach(T=>{let p=r.PromiseRejectionEvent;if(p){let C=new p(s,{promise:u.promise,reason:u.rejection});T.invoke(C)}})}}r.PromiseRejectionEvent&&(i[G("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[G("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,i,n)=>{bt(r,n)})}function Dt(t){t.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let T=n.symbol,p=[],C=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,g=T("Promise"),A=T("then"),P="__creationTrace__";n.onUnhandledError=f=>{if(n.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;p.length;){let f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){q(a)}}};let H=T("unhandledPromiseRejectionHandler");function q(f){n.onUnhandledError(f);try{let a=i[H];typeof a=="function"&&a.call(this,f)}catch{}}function x(f){return f&&f.then}function te(f){return f}function Y(f){return N.reject(f)}let b=T("state"),d=T("value"),B=T("finally"),z=T("parentPromiseValue"),$=T("parentPromiseState"),U="Promise.then",y=null,W=!0,O=!1,w=0;function v(f,a){return o=>{try{L(f,a,o)}catch(l){L(f,!1,l)}}}let S=function(){let f=!1;return function(o){return function(){f||(f=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",X=T("currentTaskTrace");function L(f,a,o){let l=S();if(f===o)throw new TypeError(K);if(f[b]===y){let k=null;try{(typeof o=="object"||typeof o=="function")&&(k=o&&o.then)}catch(R){return l(()=>{L(f,!1,R)})(),f}if(a!==O&&o instanceof N&&o.hasOwnProperty(b)&&o.hasOwnProperty(d)&&o[b]!==y)c(o),L(f,o[b],o[d]);else if(a!==O&&typeof k=="function")try{k.call(o,l(v(f,a)),l(v(f,!1)))}catch(R){l(()=>{L(f,!1,R)})()}else{f[b]=a;let R=f[d];if(f[d]=o,f[B]===B&&a===W&&(f[b]=f[$],f[d]=f[z]),a===O&&o instanceof Error){let m=i.currentTask&&i.currentTask.data&&i.currentTask.data[P];m&&u(o,X,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let I=f[d],M=!!o&&B===o[B];M&&(o[z]=I,o[$]=R);let Z=a.run(m,void 0,M&&m!==Y&&m!==te?[]:[I]);L(o,!0,Z)}catch(I){L(o,!1,I)}},o)}let h="function ZoneAwarePromise() { [native code] }",D=function(){},j=r.AggregateError;class N{static toString(){return h}static resolve(a){return a instanceof N?a:L(new this(null),W,a)}static reject(a){return L(new this(null),O,a)}static withResolvers(){let a={};return a.promise=new N((o,l)=>{a.resolve=o,a.reject=l}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new j([],"All promises were rejected"));let o=[],l=0;try{for(let m of a)l++,o.push(N.resolve(m))}catch{return Promise.reject(new j([],"All promises were rejected"))}if(l===0)return Promise.reject(new j([],"All promises were rejected"));let k=!1,R=[];return new N((m,I)=>{for(let M=0;M{k||(k=!0,m(Z))},Z=>{R.push(Z),l--,l===0&&(k=!0,I(new j(R,"All promises were rejected")))})})}static race(a){let o,l,k=new this((I,M)=>{o=I,l=M});function R(I){o(I)}function m(I){l(I)}for(let I of a)x(I)||(I=this.resolve(I)),I.then(R,m);return k}static all(a){return N.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof N?this:N).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,o){let l,k,R=new this((Z,V)=>{l=Z,k=V}),m=2,I=0,M=[];for(let Z of a){x(Z)||(Z=this.resolve(Z));let V=I;try{Z.then(F=>{M[V]=o?o.thenCallback(F):F,m--,m===0&&l(M)},F=>{o?(M[V]=o.errorCallback(F),m--,m===0&&l(M)):k(F)})}catch(F){k(F)}m++,I++}return m-=2,m===0&&l(M),R}constructor(a){let o=this;if(!(o instanceof N))throw new Error("Must be an instanceof Promise.");o[b]=y,o[d]=[];try{let l=S();a&&a(l(v(o,W)),l(v(o,O)))}catch(l){L(o,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return N}then(a,o){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||N);let k=new l(D),R=i.current;return this[b]==y?this[d].push(R,k,a,o):e(this,R,k,a,o),k}catch(a){return this.then(null,a)}finally(a){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=N);let l=new o(D);l[B]=B;let k=i.current;return this[b]==y?this[d].push(k,l,a,a):e(this,k,l,a,a),l}}N.resolve=N.resolve,N.reject=N.reject,N.race=N.race,N.all=N.all;let he=r[g]=r.Promise;r.Promise=N;let me=T("thenPatched");function de(f){let a=f.prototype,o=s(a,"then");if(o&&(o.writable===!1||!o.configurable))return;let l=a.then;a[A]=l,f.prototype.then=function(k,R){return new N((I,M)=>{l.call(this,I,M)}).then(k,R)},f[me]=!0}n.patchThen=de;function Pe(f){return function(a,o){let l=f.apply(a,o);if(l instanceof N)return l;let k=l.constructor;return k[me]||de(k),l}}return he&&(de(he),le(r,"fetch",f=>Pe(f))),Promise[i.__symbol__("uncaughtPromiseErrors")]=p,N})}function Ot(t){t.__load_patch("toString",r=>{let i=Function.prototype.toString,n=G("OriginalDelegate"),s=G("Promise"),u=G("Error"),E=function(){if(typeof this=="function"){let g=this[n];if(g)return typeof g=="function"?i.call(g):Object.prototype.toString.call(g);if(this===Promise){let A=r[s];if(A)return i.call(A)}if(this===Error){let A=r[u];if(A)return i.call(A)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Nt(t,r,i,n,s){let u=Zone.__symbol__(n);if(r[u])return;let E=r[u]=r[n];r[n]=function(T,p,C){return p&&p.prototype&&s.forEach(function(g){let A=`${i}.${n}::`+g,P=p.prototype;try{if(P.hasOwnProperty(g)){let H=t.ObjectGetOwnPropertyDescriptor(P,g);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,A),t._redefineProperty(p.prototype,g,H)):P[g]&&(P[g]=t.wrapWithCurrentZone(P[g],A))}else P[g]&&(P[g]=t.wrapWithCurrentZone(P[g],A))}catch{}}),E.call(r,T,p,C)},t.attachOriginToPatched(r[n],E)}function It(t){t.__load_patch("util",(r,i,n)=>{let s=Ze(r);n.patchOnProperties=nt,n.patchMethod=le,n.bindArguments=Fe,n.patchMacroTask=gt;let u=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(i[u]=i[E]=r[u]),n.patchEventPrototype=vt,n.patchEventTarget=kt,n.isIEOrEdge=mt,n.ObjectDefineProperty=Ae,n.ObjectGetOwnPropertyDescriptor=ve,n.ObjectCreate=dt,n.ArraySlice=_t,n.patchClass=ke,n.wrapWithCurrentZone=Ge,n.filterProperties=at,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Nt,n.getGlobalObjects=()=>({globalSources:rt,zoneSymbolEventNames:ee,eventNames:s,isBrowser:Be,isMix:tt,isNode:De,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:be,ADD_EVENT_LISTENER_STR:He,REMOVE_EVENT_LISTENER_STR:xe})})}function Lt(t){Dt(t),Ot(t),It(t)}var lt=ht();Lt(lt);St(lt); diff --git a/styles-YQ4FGYRM.css b/browser/styles-YQ4FGYRM.css similarity index 100% rename from styles-YQ4FGYRM.css rename to browser/styles-YQ4FGYRM.css diff --git a/chunk-3WZ7NV6Z.js b/chunk-3WZ7NV6Z.js deleted file mode 100644 index 6ee4d52..0000000 --- a/chunk-3WZ7NV6Z.js +++ /dev/null @@ -1 +0,0 @@ -import{Da as x,Ea as $,Ga as z,Ha as S,Ia as T,Ja as gt,K as lt,Ka as mt,Ma as y,Na as k,Oa as bt,Pa as dt,Q as rt,Qa as Ct,T as ct,Ta as E,V as it,Wa as Pt,X as st,Y as at,Z as pt,ma as w,nb as _t,pa as ft,sa as v,ua as ut,ub as Mt,va as O,wb as Ot,xb as yt}from"./chunk-R3TV2GJ7.js";var B=t=>t===void 0||t==="auto"||t==="instant"||t==="smooth";function ht(t,o){this.scrollLeft=t,this.scrollTop=o}var U=(t,o,l="cannot convert to dictionary.")=>`Failed to execute '${t}' on '${o}': ${l}`,I=(t,o,l)=>U(t,o,`The provided value '${l}' is not a valid enum value of type ScrollBehavior.`),b=(t,o,l)=>{var n;let e=`__SEAMLESS.BACKUP$${o}`;return!t[e]&&t[o]&&!(!((n=t[o])===null||n===void 0)&&n.__isPolyfill)&&(t[e]=t[o]),t[e]||l},V=t=>{let o=typeof t;return t!==null&&(o==="object"||o==="function")},C=t=>"scrollBehavior"in window.document.documentElement.style&&t?.forcePolyfill!==!0,G=t=>{Object.defineProperty(t,"__isPolyfill",{value:!0})},P=(t,o)=>{G(o),[HTMLElement.prototype,SVGElement.prototype,Element.prototype].forEach(l=>{b(l,t),l[t]=o})},h=t=>t.ownerDocument.scrollingElement||t.ownerDocument.documentElement;function wt(t){if(typeof Event=="function")return new Event("scrollend",{bubbles:t,cancelable:!1});let o=document.createEvent("Event");return o.initEvent("scrollend",t,!1),o}var $t=t=>.5*(1-Math.cos(Math.PI*t));function D(){var t;let o;return!((t=window.performance)===null||t===void 0)&&t.now?o=()=>window.performance.now():o=()=>window.Date.now(),D=o,o()}var zt=500,q=t=>{let l=(D()-t.timeStamp)/(t.duration||zt);if(l>1){t.method(t.targetX,t.targetY),t.callback();return}let n=(t.timingFunc||$t)(l),e=t.startX+(t.targetX-t.startX)*n,r=t.startY+(t.targetY-t.startY)*n;t.method(e,r),t.rafId=window.requestAnimationFrame(()=>{q(t)})};var H=t=>isFinite(t)?Number(t):0,Ut=t=>{var o;return(o=t.isConnected)!==null&&o!==void 0?o:!t.ownerDocument||!(t.ownerDocument.compareDocumentPosition(t)&1)},Gt=(t,o,l)=>{var n,e;if(!Ut(t))return;let r=t.scrollLeft,c=t.scrollTop,p=H((n=o.left)!==null&&n!==void 0?n:r),s=H((e=o.top)!==null&&e!==void 0?e:c);if(p===r&&s===c)return;let d=b(HTMLElement.prototype,"scroll",ht),a=b(Object.getPrototypeOf(t),"scroll",d).bind(t);if(o.behavior!=="smooth"){a(p,s);return}let f=()=>{window.removeEventListener("wheel",i),window.removeEventListener("touchmove",i)},g=()=>{f();let M=t.nodeType===9;t.dispatchEvent(wt(M))},u=Object.assign(Object.assign({},l),{timeStamp:D(),startX:r,startY:c,targetX:p,targetY:s,rafId:0,method:a,callback:g}),i=()=>{window.cancelAnimationFrame(u.rafId),f()};window.addEventListener("wheel",i,{passive:!0,once:!0}),window.addEventListener("touchmove",i,{passive:!0,once:!0}),q(u)},qt=t=>t.window===t,K=t=>(o,l,n)=>{let[e,r]=qt(o)?[h(o.document.documentElement),"Window"]:[o,"Element"],c=l??{};if(!V(c))throw new TypeError(U(t,r));if(!B(c.behavior))throw new TypeError(I(t,r,c.behavior));t==="scrollBy"&&(c.left=H(c.left)+e.scrollLeft,c.top=H(c.top)+e.scrollTop),Gt(e,c,n)},J=K("scroll"),vt=K("scrollTo"),xt=K("scrollBy"),St=J;var Bt=t=>{switch(t){case"horizontal-tb":case"lr":case"lr-tb":case"rl":case"rl-tb":return 0;case"vertical-rl":case"tb":case"tb-rl":return 1;case"vertical-lr":case"tb-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4}return 0},It=(t,o,l,n)=>{let e=0;switch(o||(e^=2),t){case 0:e=e>>1|(e&1)<<1,[l,n]=[n,l];break;case 1:case 3:e^=1;break;case 4:e^=2;break}return[e,l,n]},Kt=t=>(It(Bt(t.writingMode),t.direction!=="rtl",void 0,void 0)[0]&1)===1,Jt=(t,o,l)=>{let[n,e,r]=It(o,l,t.block||"start",t.inline||"nearest");return[e,r].map((c,p)=>{switch(c){case"center":return 1;case"nearest":return 0;default:{let s=n>>p&1;return c==="start"==!s?2:3}}})},Tt=(t,o,l,n,e,r,c)=>t!==0?t:el||e>o&&r=l&&c>=n?2:r>l&&cn?3:null,kt=t=>t!=="visible"&&t!=="clip",Qt=t=>{var o;try{return((o=t.ownerDocument.defaultView)===null||o===void 0?void 0:o.frameElement)||null}catch{return null}},Zt=(t,o)=>t.clientHeight{let o=t.parentNode,l=t.parentElement;if(l===null&&o!==null){if(o.nodeType===11)return o.host;if(o.nodeType===9)return Qt(t)}return l},Q=(t,o,l)=>tl?l:t,to=t=>["scroll-margin","scroll-snap-margin"].filter(o=>o in t.documentElement.style)[0],oo=(t,o,l)=>{let{top:n,right:e,bottom:r,left:c}=o,p=to(t.ownerDocument);if(!p)return[n,e,r,c];let s=d=>{let a=l.getPropertyValue(`${p}-${d}`);return parseInt(a,10)||0};return[n-s("top"),e+s("right"),r+s("bottom"),c-s("left")]},L=(t,o,l)=>{switch(t){case 1:return(o+l)/2;case 3:return l;case 2:case 0:return o}},no=(t,o)=>{var l,n,e;let r=(l=t.ownerDocument.defaultView)===null||l===void 0?void 0:l.visualViewport,[c,p,s,d]=t===h(t)?[0,0,(n=r?.width)!==null&&n!==void 0?n:t.clientWidth,(e=r?.height)!==null&&e!==void 0?e:t.clientHeight]:[o.left,o.top,t.clientWidth,t.clientHeight],a=c+t.clientLeft,f=p+t.clientTop,g=a+s,u=f+d;return[f,g,u,a]},eo=(t,o)=>{let l=[],n=t.ownerDocument,e=n.defaultView;if(!e)return l;let r=window.getComputedStyle(t),c=r.direction!=="rtl",p=Bt(r.writingMode||r.getPropertyValue("-webkit-writing-mode")||r.getPropertyValue("-ms-writing-mode")),[s,d]=Jt(o,p,c),[a,f,g,u]=oo(t,t.getBoundingClientRect(),r);for(let i=Et(t);i!==null;i=Et(i)){if(n!==i.ownerDocument){if(n=i.ownerDocument,e=n.defaultView,!e)break;let{left:nt,top:et}=i.getBoundingClientRect();a+=et,f+=nt,g+=et,u+=nt}let M=e.getComputedStyle(i);if(M.position==="fixed")break;if(!Zt(i,M))continue;let Yt=i.getBoundingClientRect(),[W,F,j,N]=no(i,Yt),A=Tt(s,N,F,i.clientWidth,u,f,f-u),X=Tt(d,W,j,i.clientHeight,a,g,g-a),ot=A===null?0:L(A,u,f)-L(A,N,F),Rt=X===null?0:L(X,a,g)-L(X,W,j),Y=Kt(M)?Q(ot,-i.scrollWidth+i.clientWidth-i.scrollLeft,-i.scrollLeft):Q(ot,-i.scrollLeft,i.scrollWidth-i.clientWidth-i.scrollLeft),R=Q(Rt,-i.scrollTop,i.scrollHeight-i.clientHeight-i.scrollTop);l.push([i,{left:i.scrollLeft+Y,top:i.scrollTop+R,behavior:o.behavior}]),a=Math.max(a-R,W),f=Math.min(f-Y,F),g=Math.min(g-R,j),u=Math.max(u-Y,N)}return l},lo=(t,o,l)=>{let n=o||{};if(!B(n.behavior))throw new TypeError(I("scrollIntoView","Element",n.behavior));eo(t,n).forEach(([r,c])=>{St(r,c,l)})},Z=lo;var _=(t,o)=>l=>{if(C(l))return;let n={scroll:J,scrollTo:vt,scrollBy:xt}[t];o(t,function(){let e=arguments;if(arguments.length===1){n(this,e[0],l);return}let r=e[0],c=e[1];n(this,{left:r,top:c})})},Vt=_("scroll",P),Dt=_("scrollTo",P),Ht=_("scrollBy",P),tt=(t,o)=>{G(o),b(window,t),window[t]=o},Lt=_("scroll",tt),Wt=_("scrollTo",tt),Ft=_("scrollBy",tt);function ro(t){Z(this,{block:t??!0?"start":"end",inline:"nearest"})}var jt=t=>{if(C(t))return;let o=b(window.HTMLElement.prototype,"scrollIntoView",ro);P("scrollIntoView",function(){let n=arguments,e=n[0];if(n.length===1&&V(e)){Z(this,e,t);return}o.apply(this,n)})};var Nt=t=>{C(t)||(Vt(t),Dt(t),Ht(t),jt(t),Lt(t),Wt(t),Ft(t))};var m=(()=>{let o=class o{constructor(n){this.document=n,this.scrolledFromTop=!1,this.isBrowser=typeof window<"u",this.alreadyActivated=!1}onWindowScroll(n){let e=this.document.documentElement?.scrollTop||this.document.scrollingElement?.scrollTop;switch(n){case"classic":return this.classicMode(e);case"smart":return this.smartMode(e)}}classicMode(n){return!!(this.isBrowser&&n>window.innerHeight)}smartMode(n){let e=!1;return n===0&&(e=!1,this.scrolledFromTop=!1),this.scrolledFromTop&&this.scrollOffset>n&&(e=!0),this.isBrowser&&n>window.innerHeight*2&&(this.scrolledFromTop=!0,this.scrollOffset=n),e}scrollToTop(){this.isBrowser&&(this.alreadyActivated||(Nt(),this.alreadyActivated=!0),window.scroll({top:0,left:0,behavior:"smooth"}))}};o.\u0275fac=function(e){return new(e||o)(rt(_t))},o.\u0275prov=lt({token:o,factory:o.\u0275fac});let t=o;return t})();function co(t,o){if(t&1&&(pt(),S(0,"svg",6),gt(1,"path",7),T()),t&2){let l=k(2);$("fill",l.symbolColor)}}function io(t,o){if(t&1){let l=mt();S(0,"button",1,2),y("click",function(){st(l);let e=k();return at(e.scrollToTop())}),S(2,"div",3)(3,"span",null,4),dt(5),T(),z(6,co,2,2,"svg",5),T()()}if(t&2){let l=Ct(4),n=k();$("left",n.position==="left"?"20px":"")("background-color",n.backgroundColor)("width",n.size,"px")("height",n.size,"px"),x("ngClass",n.theme),ut(6),x("ngIf",l.childNodes.length===0)}}var so=["*"],ao=(()=>{let o=class o{constructor(n){this.core=n,this.position="right",this.theme="gray",this.mode="classic",this.show=v(!1)}onWindowScroll(){let n=this.core.onWindowScroll(this.mode);this.show()!==n&&this.show.set(n)}scrollToTop(){this.core.scrollToTop()}};o.\u0275fac=function(e){return new(e||o)(O(m))},o.\u0275cmp=ct({type:o,selectors:[["ngx-scrolltop"]],hostBindings:function(e,r){e&1&&y("scroll",function(){return r.onWindowScroll()},!1,w)},inputs:{backgroundColor:"backgroundColor",symbolColor:"symbolColor",size:"size",position:"position",theme:"theme",mode:"mode"},standalone:!0,features:[E([m]),Pt],ngContentSelectors:so,decls:1,vars:1,consts:[["type","button","role","button","aria-label","Scroll to top of the page","tabindex","0","class","scrolltop-button",3,"ngClass","left","backgroundColor","width","height","click",4,"ngIf"],["type","button","role","button","aria-label","Scroll to top of the page","tabindex","0",1,"scrolltop-button",3,"ngClass","click"],["scrollTopButton",""],[1,"symbol-container"],["ref",""],["aria-hidden","true","focusable","false","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",3,"fill",4,"ngIf"],["aria-hidden","true","focusable","false","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512"],["d","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]],template:function(e,r){e&1&&(bt(),z(0,io,7,10,"button",0)),e&2&&x("ngIf",r.show())},dependencies:[yt,Mt,Ot],styles:["button[_ngcontent-%COMP%]{outline:0;-webkit-user-select:none;user-select:none}.scrolltop-button[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;align-items:center;border-radius:50%;padding:0;width:40px;height:40px;right:20px;bottom:20px;cursor:pointer;border:none;transition:opacity .1s linear;z-index:10000;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.scrolltop-button[_ngcontent-%COMP%]:hover{opacity:.92}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:15px}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:empty{display:none}.scrolltop-button[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:inline-flex;transform:translateY(10%);width:35%;vertical-align:baseline}.scrolltop-button.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}.scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff}.scrolltop-button.black[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff}.scrolltop-button.white[_ngcontent-%COMP%]{background-color:#fff;color:#000}.scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000}.scrolltop-button.white[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#000}.scrolltop-button.gray[_ngcontent-%COMP%]{background-color:#212121;color:#fafafa}.scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fafafa}.scrolltop-button.gray[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%]{background-color:#212121;color:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fafafa}.scrolltop-button.grey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fafafa}.scrolltop-button.brown[_ngcontent-%COMP%]{background-color:#3e2723;color:#efebe9}.scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#efebe9}.scrolltop-button.brown[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#efebe9}.scrolltop-button.deeporange[_ngcontent-%COMP%]{background-color:#bf360c;color:#fbe9e7}.scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fbe9e7}.scrolltop-button.deeporange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fbe9e7}.scrolltop-button.orange[_ngcontent-%COMP%]{background-color:#ff6d00;color:#fff3e0}.scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff3e0}.scrolltop-button.orange[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff3e0}.scrolltop-button.yellow[_ngcontent-%COMP%]{background-color:#ffd600;color:#fffde7}.scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fffde7}.scrolltop-button.yellow[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fffde7}.scrolltop-button.green[_ngcontent-%COMP%]{background-color:#1b5e20;color:#e8f5e9}.scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e8f5e9}.scrolltop-button.green[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e8f5e9}.scrolltop-button.blue[_ngcontent-%COMP%]{background-color:#2962ff;color:#e3f2fd}.scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e3f2fd}.scrolltop-button.blue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e3f2fd}.scrolltop-button.purple[_ngcontent-%COMP%]{background-color:#4a148c;color:#f3e5f5}.scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f3e5f5}.scrolltop-button.purple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f3e5f5}.scrolltop-button.deeppurple[_ngcontent-%COMP%]{background-color:#311b92;color:#ede7f6}.scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ede7f6}.scrolltop-button.deeppurple[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ede7f6}.scrolltop-button.pink[_ngcontent-%COMP%]{background-color:#880e4f;color:#fce4ec}.scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fce4ec}.scrolltop-button.pink[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fce4ec}.scrolltop-button.red[_ngcontent-%COMP%]{background-color:#b71c1c;color:#ffebee}.scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ffebee}.scrolltop-button.red[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ffebee}.scrolltop-button.indigo[_ngcontent-%COMP%]{background-color:#1a237e;color:#e8eaf6}.scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e8eaf6}.scrolltop-button.indigo[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e8eaf6}.scrolltop-button.lightblue[_ngcontent-%COMP%]{background-color:#01579b;color:#e1f5fe}.scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e1f5fe}.scrolltop-button.lightblue[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e1f5fe}.scrolltop-button.cyan[_ngcontent-%COMP%]{background-color:#006064;color:#e0f7fa}.scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e0f7fa}.scrolltop-button.cyan[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e0f7fa}.scrolltop-button.teal[_ngcontent-%COMP%]{background-color:#004d40;color:#e0f2f1}.scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e0f2f1}.scrolltop-button.teal[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#e0f2f1}.scrolltop-button.lightgreen[_ngcontent-%COMP%]{background-color:#33691e;color:#f1f8e9}.scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f1f8e9}.scrolltop-button.lightgreen[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f1f8e9}.scrolltop-button.lime[_ngcontent-%COMP%]{background-color:#827717;color:#f9fbe7}.scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f9fbe7}.scrolltop-button.lime[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#f9fbe7}.scrolltop-button.amber[_ngcontent-%COMP%]{background-color:#ff6f00;color:#fff8e1}.scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff8e1}.scrolltop-button.amber[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff8e1}.scrolltop-button.bluegrey[_ngcontent-%COMP%]{background-color:#263238;color:#eceff1}.scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%], .scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#eceff1}.scrolltop-button.bluegrey[_ngcontent-%COMP%] .symbol-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#eceff1}"],changeDetection:0});let t=o;return t})();var qo=(()=>{let o=class o{constructor(n,e){this.el=n,this.core=e,this.mode="classic",this.show=v(!1),this.hideElement()}onWindowScroll(){let n=this.core.onWindowScroll(this.mode);this.show()!==n&&(n?this.showElement():this.hideElement(),this.show.set(n))}onClick(){this.scrollToTop()}hideElement(){this.el.nativeElement.style.display="none"}showElement(){this.el.nativeElement.style.display=""}scrollToTop(){this.core.scrollToTop()}};o.\u0275fac=function(e){return new(e||o)(O(ft),O(m))},o.\u0275dir=it({type:o,selectors:[["","ngxScrollTop",""]],hostBindings:function(e,r){e&1&&y("scroll",function(){return r.onWindowScroll()},!1,w)("click",function(){return r.onClick()})},inputs:{mode:["ngxScrollTopMode","mode"]},standalone:!0,features:[E([m])]});let t=o;return t})();export{ao as a,qo as b}; diff --git a/chunk-7VRMRLPN.js b/chunk-7VRMRLPN.js deleted file mode 100644 index 77b11ff..0000000 --- a/chunk-7VRMRLPN.js +++ /dev/null @@ -1 +0,0 @@ -import{a as f}from"./chunk-3WZ7NV6Z.js";import{Da as p,Ha as e,Ia as t,Ja as a,Ra as o,T as m,Wa as d,Z as r,_ as c,ua as s}from"./chunk-R3TV2GJ7.js";var x=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=m({type:n,selectors:[["app-component-way"]],standalone:!0,features:[d],decls:17,vars:4,consts:[["position","right","theme","gray",3,"backgroundColor","symbolColor","size","mode"],["target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop/tree/master/projects/demo/src/app/component-way","target","_blank",1,"card"],["aria-hidden","true","width","24","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"material-icons"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,g){i&1&&(e(0,"h1"),o(1,"Component"),t(),e(2,"ol")(3,"li"),o(4,"Scroll down"),t(),e(5,"li"),o(6,"Watch right bottom corner"),t(),e(7,"li"),o(8,"Use it"),t()(),a(9,"ngx-scrolltop",0),e(10,"a",1),r(),e(11,"svg",2),a(12,"path",3),t(),c(),e(13,"span"),o(14,"Show Component code"),t(),r(),e(15,"svg",4),a(16,"path",5),t()()),i&2&&(s(9),p("backgroundColor","#212121")("symbolColor","#fafafa")("size",40)("mode","classic"))},dependencies:[f]});let l=n;return l})();export{x as default}; diff --git a/chunk-R3TV2GJ7.js b/chunk-R3TV2GJ7.js deleted file mode 100644 index 10a6a91..0000000 --- a/chunk-R3TV2GJ7.js +++ /dev/null @@ -1,7 +0,0 @@ -var Fc=Object.defineProperty,Rc=Object.defineProperties;var Pc=Object.getOwnPropertyDescriptors;var _i=Object.getOwnPropertySymbols;var kc=Object.prototype.hasOwnProperty,Lc=Object.prototype.propertyIsEnumerable;var xi=(e,t,n)=>t in e?Fc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t)=>{for(var n in t||={})kc.call(t,n)&&xi(e,n,t[n]);if(_i)for(var n of _i(t))Lc.call(t,n)&&xi(e,n,t[n]);return e},qe=(e,t)=>Rc(e,Pc(t));function jc(e,t){return Object.is(e,t)}var k=null,$t=!1,Ht=1,Dt=Symbol("SIGNAL");function U(e){let t=k;return k=e,t}var cr={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 Vc(e){if($t)throw new Error("");if(k===null)return;k.consumerOnSignalRead(e);let t=k.nextProducerIndex++;if(Ze(k),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function lr(e){Ze(e);for(let t=0;t0}function Ze(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ri(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Uc(){throw new Error}var Pi=Uc;function ki(){Pi()}function Li(e){Pi=e}var Gc=null;function ji(e){let t=Object.create(zc);t.value=e;let n=()=>(Vc(t),t.value);return n[Dt]=t,n}function dr(e,t){Si()||ki();let n=e.value;Object.is(n,t)||e.equal(n,t)||(e.value=t,Wc(e))}function Vi(e,t){Si()||ki(),dr(e,t(e.value))}var zc=(()=>qe(De({},cr),{equal:jc,value:void 0}))();function Wc(e){e.version++,Bc(),Ti(e),Gc?.()}function m(e){return typeof e=="function"}function Ye(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Gt=Ye(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function vt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof Gt?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bi(i)}catch(s){t=t??[],s instanceof Gt?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Gt(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Bi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&vt(n,t)}remove(t){let{_finalizers:n}=this;n&&vt(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var fr=L.EMPTY;function zt(e){return e instanceof L||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Bi(e){m(e)?e():e.unsubscribe()}var te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qe={setTimeout(e,t,...n){let{delegate:r}=Qe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Qe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wt(e){Qe.setTimeout(()=>{let{onUnhandledError:t}=te;if(t)t(e);else throw e})}function wt(){}var $i=(()=>pr("C",void 0,void 0))();function Hi(e){return pr("E",void 0,e)}function Ui(e){return pr("N",e,void 0)}function pr(e,t,n){return{kind:e,value:t,error:n}}var xe=null;function Ke(e){if(te.useDeprecatedSynchronousErrorHandling){let t=!xe;if(t&&(xe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=xe;if(xe=null,n)throw r}}else e()}function Gi(e){te.useDeprecatedSynchronousErrorHandling&&xe&&(xe.errorThrown=!0,xe.error=e)}var Te=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,zt(t)&&t.add(this)):this.destination=Yc}static create(t,n,r){return new ge(t,n,r)}next(t){this.isStopped?gr(Ui(t),this):this._next(t)}error(t){this.isStopped?gr(Hi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?gr($i,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qc=Function.prototype.bind;function hr(e,t){return qc.call(e,t)}var mr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){qt(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){qt(r)}else qt(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){qt(n)}}},ge=class extends Te{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&te.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&hr(t.next,i),error:t.error&&hr(t.error,i),complete:t.complete&&hr(t.complete,i)}):o=t}this.destination=new mr(o)}};function qt(e){te.useDeprecatedSynchronousErrorHandling?Gi(e):Wt(e)}function Zc(e){throw e}function gr(e,t){let{onStoppedNotification:n}=te;n&&Qe.setTimeout(()=>n(e,t))}var Yc={closed:!0,next:wt,error:Zc,complete:wt};var Je=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function V(e){return e}function Qc(...e){return yr(e)}function yr(e){return e.length===0?V:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Jc(n)?n:new ge(n,r,o);return Ke(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=zi(r),new r((o,i)=>{let s=new ge({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Je](){return this}pipe(...n){return yr(n)(this)}toPromise(n){return n=zi(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function zi(e){var t;return(t=e??te.Promise)!==null&&t!==void 0?t:Promise}function Kc(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Jc(e){return e&&e instanceof Te||Kc(e)&&zt(e)}function Dr(e){return m(e?.lift)}function D(e){return t=>{if(Dr(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new vr(e,t,n,r,o)}var vr=class extends Te{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function wr(){return D((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Er=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Dr(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return wr()(this)}};var Wi=Ye(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ve=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Zt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wi}next(n){Ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?fr:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,vt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new Zt(t,n),e})(),Zt=class extends ve{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:fr}};var Et=class extends ve{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Se=new C(e=>e.complete());function qi(e){return e&&m(e.schedule)}function Ir(e){return e[e.length-1]}function Zi(e){return m(Ir(e))?e.pop():void 0}function ae(e){return qi(Ir(e))?e.pop():void 0}function Yi(e,t){return typeof Ir(e)=="number"?e.pop():t}function Ki(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Qi(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ne(e){return this instanceof Ne?(this.v=e,this):new Ne(e)}function Ji(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,b){i.push([f,p,h,b])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Ne?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Xi(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Qi=="function"?Qi(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Yt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Qt(e){return m(e?.then)}function Kt(e){return m(e[Je])}function Jt(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function Xt(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Xc(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var en=Xc();function tn(e){return m(e?.[en])}function nn(e){return Ji(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ne(n.read());if(o)return yield Ne(void 0);yield yield Ne(r)}}finally{n.releaseLock()}})}function rn(e){return m(e?.getReader)}function N(e){if(e instanceof C)return e;if(e!=null){if(Kt(e))return el(e);if(Yt(e))return tl(e);if(Qt(e))return nl(e);if(Jt(e))return es(e);if(tn(e))return rl(e);if(rn(e))return ol(e)}throw Xt(e)}function el(e){return new C(t=>{let n=e[Je]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function tl(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wt)})}function rl(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function es(e){return new C(t=>{il(e,t).catch(n=>t.error(n))})}function ol(e){return es(nn(e))}function il(e,t){var n,r,o,i;return Ki(this,void 0,void 0,function*(){try{for(n=Xi(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function H(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function on(e,t=0){return D((n,r)=>{n.subscribe(v(r,o=>H(r,e,()=>r.next(o),t),()=>H(r,e,()=>r.complete(),t),o=>H(r,e,()=>r.error(o),t)))})}function sn(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ts(e,t){return N(e).pipe(sn(t),on(t))}function ns(e,t){return N(e).pipe(sn(t),on(t))}function rs(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function os(e,t){return new C(n=>{let r;return H(n,t,()=>{r=e[en](),H(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>m(r?.return)&&r.return()})}function an(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{H(n,t,()=>{let r=e[Symbol.asyncIterator]();H(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function is(e,t){return an(nn(e),t)}function ss(e,t){if(e!=null){if(Kt(e))return ts(e,t);if(Yt(e))return rs(e,t);if(Qt(e))return ns(e,t);if(Jt(e))return an(e,t);if(tn(e))return os(e,t);if(rn(e))return is(e,t)}throw Xt(e)}function ue(e,t){return t?ss(e,t):N(e)}function Cr(...e){let t=ae(e);return ue(e,t)}function sl(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function al(e){return!!e&&(e instanceof C||m(e.lift)&&m(e.subscribe))}var Ae=Ye(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Oe(e,t){return D((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:ul}=Array;function cl(e,t){return ul(t)?e(...t):e(t)}function as(e){return Oe(t=>cl(e,t))}var{isArray:ll}=Array,{getPrototypeOf:dl,prototype:fl,keys:pl}=Object;function us(e){if(e.length===1){let t=e[0];if(ll(t))return{args:t,keys:null};if(hl(t)){let n=pl(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function hl(e){return e&&typeof e=="object"&&dl(e)===fl}function cs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gl(...e){let t=ae(e),n=Zi(e),{args:r,keys:o}=us(e);if(r.length===0)return ue([],t);let i=new C(ml(r,t,o?s=>cs(o,s):V));return n?i.pipe(as(n)):i}function ml(e,t,n=V){return r=>{ls(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ue(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ls(e,t,n){e?H(n,e,t):t()}function ds(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=b=>c{i&&t.next(b),c++;let P=!1;N(n(b,l++)).subscribe(v(t,_=>{o?.(_),i?p(_):t.next(_)},()=>{P=!0},void 0,()=>{if(P)try{for(c--;u.length&&ch(_)):h(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(v(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Fe(e,t,n=1/0){return m(t)?Fe((r,o)=>Oe((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>ds(r,o,e,n)))}function It(e=1/0){return Fe(V,e)}function fs(){return It(1)}function un(...e){return fs()(ue(e,ae(e)))}function yl(e){return new C(t=>{N(e()).subscribe(t)})}function br(...e){let t=ae(e),n=Yi(e,1/0),r=e;return r.length?r.length===1?N(r[0]):It(n)(ue(r,t)):Se}function Ct(e,t){return D((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ps(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=N(e(s,ps(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function hs(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Dl(e,t){return m(t)?Fe(e,t,1):Fe(e,1)}function bt(e){return D((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Mr(e){return e<=0?()=>Se:D((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vl(e){return Oe(()=>e)}function _r(e,t=V){return e=e??wl,D((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function wl(e,t){return e===t}function cn(e=El){return D((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function El(){return new Ae}function Il(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function gs(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ct((o,i)=>e(o,i,r)):V,Mr(1),n?bt(t):cn(()=>new Ae))}function xr(e){return e<=0?()=>Se:D((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Cl(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ct((o,i)=>e(o,i,r)):V,xr(1),n?bt(t):cn(()=>new Ae))}function bl(e,t){return D(hs(e,t,arguments.length>=2,!0))}function ln(e={}){let{connector:t=()=>new ve,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let b=s;p(),b?.unsubscribe()};return D((b,P)=>{c++,!d&&!l&&f();let _=u=u??t();P.add(()=>{c--,c===0&&!d&&!l&&(a=Tr(h,o))}),_.subscribe(P),!s&&c>0&&(s=new ge({next:Z=>_.next(Z),error:Z=>{d=!0,f(),a=Tr(p,n,Z),_.error(Z)},complete:()=>{l=!0,f(),a=Tr(p,r),_.complete()}}),N(b).subscribe(s))})(i)}}function Tr(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ge({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function Ml(...e){let t=ae(e);return D((n,r)=>{(t?un(e,n,t):un(e,n)).subscribe(r)})}function Sr(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;N(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _l(e){return D((t,n)=>{N(e).subscribe(v(n,()=>n.complete(),wt)),!n.closed&&t.subscribe(n)})}function xl(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):V}function x(e){for(let t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function j(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(j).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function ms(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Tl=x({__forward_ref__:x});function na(e){return e.__forward_ref__=na,e.toString=function(){return j(this())},e}function B(e){return ra(e)?e():e}function ra(e){return typeof e=="function"&&e.hasOwnProperty(Tl)&&e.__forward_ref__===na}function oa(e){return e&&!!e.\u0275providers}var ia="https://g.co/ng/security#xss",w=class extends Error{constructor(t,n){super(sa(t,n)),this.code=t}};function sa(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Sl=x({\u0275cmp:x}),Nl=x({\u0275dir:x}),Al=x({\u0275pipe:x}),Ol=x({\u0275mod:x}),wn=x({\u0275fac:x}),Mt=x({__NG_ELEMENT_ID__:x}),ys=x({__NG_ENV_ID__:x});function Un(e){return typeof e=="string"?e:e==null?"":String(e)}function Fl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Un(e)}function Rl(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,`Circular dependency in DI detected for ${e}${n}`)}function Ro(e,t){let n=t?` in ${t}`:"";throw new w(-201,!1)}function Pl(e,t){e==null&&kl(t,e,null,"!=")}function kl(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Po(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gn(e){return Ds(e,aa)||Ds(e,ua)}function lI(e){return Gn(e)!==null}function Ds(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ll(e){let t=e&&(e[aa]||e[ua]);return t||null}function vs(e){return e&&(e.hasOwnProperty(ws)||e.hasOwnProperty(jl))?e[ws]:null}var aa=x({\u0275prov:x}),ws=x({\u0275inj:x}),ua=x({ngInjectableDef:x}),jl=x({ngInjectorDef:x}),I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(I||{}),Gr;function ca(){return Gr}function Y(e){let t=Gr;return Gr=e,t}function la(e,t,n){let r=Gn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&I.Optional)return null;if(t!==void 0)return t;Ro(j(e),"Injector")}var Re=globalThis;var M=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Vl={},xt=Vl,zr="__NG_DI_FLAG__",En="ngTempTokenPath",Bl="ngTokenPath",$l=/\n/gm,Hl="\u0275",Es="__source",rt;function Ul(){return rt}function we(e){let t=rt;return rt=e,t}function Gl(e,t=I.Default){if(rt===void 0)throw new w(-203,!1);return rt===null?la(e,void 0,t):rt.get(e,t&I.Optional?null:void 0,t)}function A(e,t=I.Default){return(ca()||Gl)(B(e),t)}function O(e,t=I.Default){return A(e,zn(t))}function zn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Wr(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):j(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace($l,` - `)}`}function kt(e){return{toString:e}.toString()}var fa=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(fa||{}),Tt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Tt||{}),St={},re=[];function pa(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function qr(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&pa(p,c,0)!==-1||r&2&&c!==f){if(ne(r))return!1;s=!0}}}}return ne(r)||s}function ne(e){return(e&1)===0}function Jl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ne(s)&&(t+=Cs(i,o),o=""),r=s,i=i||!ne(r);n++}return o!==""&&(t+=Cs(i,o)),t}function od(e){return e.map(rd).join(",")}function id(e){let t=[],n=[],r=1,o=2;for(;r{let t=Ea(e),n=qe(De({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});Ia(n);let r=e.dependencies;return n.directiveDefs=Ms(r,!1),n.pipeDefs=Ms(r,!0),n.id=cd(n),n})}function sd(e){return Ce(e)||Da(e)}function ad(e){return e!==null}function Lo(e){return kt(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function bs(e,t){if(e==null)return St;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Wn(e){return kt(()=>{let t=Ea(e);return Ia(t),t})}function Ce(e){return e[Sl]||null}function Da(e){return e[Nl]||null}function va(e){return e[Al]||null}function ud(e){let t=Ce(e)||Da(e)||va(e);return t!==null?t.standalone:!1}function wa(e,t){let n=e[Ol]||null;if(!n&&t===!0)throw new Error(`Type ${j(e)} does not have '\u0275mod' property.`);return n}function Ea(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||St,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:bs(e.inputs,t),outputs:bs(e.outputs),debugInfo:null}}function Ia(e){e.features?.forEach(t=>t(e))}function Ms(e,t){if(!e)return null;let n=t?va:sd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(ad)}function cd(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483647+1,"c"+t}var me=0,E=1,g=2,F=3,oe=4,z=5,Nt=6,At=7,K=8,it=9,st=10,R=11,Ot=12,_s=13,pt=14,ie=15,qn=16,Xe=17,Ft=18,Zn=19,Ca=20,Ee=21,Nr=22,ke=23,fe=25,ba=1;var Le=7,In=8,Cn=9,Q=10,at=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(at||{});function Ie(e){return Array.isArray(e)&&typeof e[ba]=="object"}function se(e){return Array.isArray(e)&&e[ba]===!0}function Ma(e){return(e.flags&4)!==0}function Yn(e){return e.componentOffset>-1}function jo(e){return(e.flags&1)===1}function ht(e){return!!e.template}function ld(e){return(e[g]&512)!==0}function ut(e,t){let n=e.hasOwnProperty(wn);return n?e[wn]:null}var Zr=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function _a(){return xa}function xa(e){return e.type.prototype.ngOnChanges&&(e.setInput=fd),dd}_a.ngInherit=!0;function dd(){let e=Sa(this),t=e?.current;if(t){let n=e.previous;if(n===St)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fd(e,t,n,r){let o=this.declaredInputs[n],i=Sa(e)||pd(e,{previous:St,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Zr(u&&u.currentValue,t,a===St),e[r]=t}var Ta="__ngSimpleChanges__";function Sa(e){return e[Ta]||null}function pd(e,t){return e[Ta]=t}var xs=null;var ce=function(e,t,n){xs?.(e,t,n)},Na="svg",hd="math";function pe(e){for(;Array.isArray(e);)e=e[me];return e}function Aa(e,t){return pe(t[e])}function J(e,t){return pe(t[e.index])}function Oa(e,t){return e.data[t]}function gd(e,t){return e[t]}function _e(e,t){let n=t[e];return Ie(n)?n:n[me]}function Vo(e){return(e[g]&128)===128}function md(e){return se(e[F])}function bn(e,t){return t==null?null:e[t]}function Fa(e){e[Xe]=0}function yd(e){e[g]&1024||(e[g]|=1024,Vo(e)&&Qn(e))}function Dd(e,t){for(;e>0;)t=t[pt],e--;return t}function Ra(e){return e[g]&9216||e[ke]?.dirty}function Pa(e){Ra(e)&&Qn(e)}function Qn(e){let t=e[F];for(;t!==null&&!(se(t)&&t[g]&at.HasChildViewsToRefresh||Ie(t)&&t[g]&8192);){if(se(t))t[g]|=at.HasChildViewsToRefresh;else if(t[g]|=8192,!Vo(t))break;t=t[F]}}function ka(e,t){if((e[g]&256)===256)throw new w(911,!1);e[Ee]===null&&(e[Ee]=[]),e[Ee].push(t)}function vd(e,t){if(e[Ee]===null)return;let n=e[Ee].indexOf(t);n!==-1&&e[Ee].splice(n,1)}var y={lFrame:za(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function wd(){return y.lFrame.elementDepthCount}function Ed(){y.lFrame.elementDepthCount++}function Id(){y.lFrame.elementDepthCount--}function La(){return y.bindingsEnabled}function ja(){return y.skipHydrationRootTNode!==null}function Cd(e){return y.skipHydrationRootTNode===e}function bd(){y.skipHydrationRootTNode=null}function T(){return y.lFrame.lView}function X(){return y.lFrame.tView}function fI(e){return y.lFrame.contextLView=e,e[K]}function pI(e){return y.lFrame.contextLView=null,e}function W(){let e=Va();for(;e!==null&&e.type===64;)e=e.parent;return e}function Va(){return y.lFrame.currentTNode}function Md(){let e=y.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt(e,t){let n=y.lFrame;n.currentTNode=e,n.isParent=t}function Ba(){return y.lFrame.isParent}function $a(){y.lFrame.isParent=!1}function _d(){return y.lFrame.contextLView}function xd(e){return y.lFrame.bindingIndex=e}function Bo(){return y.lFrame.bindingIndex++}function Td(e){let t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sd(){return y.lFrame.inI18n}function Nd(e,t){let n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yr(t)}function Ad(){return y.lFrame.currentDirectiveIndex}function Yr(e){y.lFrame.currentDirectiveIndex=e}function Od(e){let t=y.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ha(e){y.lFrame.currentQueryIndex=e}function Fd(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[z]:null}function Ua(e,t,n){if(n&I.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&I.Host);)if(o=Fd(i),o===null||(i=i[pt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=y.lFrame=Ga();return r.currentTNode=t,r.lView=e,!0}function $o(e){let t=Ga(),n=e[E];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ga(){let e=y.lFrame,t=e===null?null:e.child;return t===null?za(e):t}function za(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Wa(){let e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var qa=Wa;function Ho(){let e=Wa();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rd(e){return(y.lFrame.contextLView=Dd(e,y.lFrame.contextLView))[K]}function gt(){return y.lFrame.selectedIndex}function je(e){y.lFrame.selectedIndex=e}function Za(){let e=y.lFrame;return Oa(e.tView,e.selectedIndex)}function hI(){y.lFrame.currentNamespace=Na}function gI(){Pd()}function Pd(){y.lFrame.currentNamespace=null}function kd(){return y.lFrame.currentNamespace}var Ya=!0;function Uo(){return Ya}function Go(e){Ya=e}function Ld(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=xa(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function zo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Xe]+=65536),(a>14>16&&(e[g]&3)===t&&(e[g]+=16384,Ts(a,i)):Ts(a,i)}var ot=-1,Ve=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Vd(e){return e instanceof Ve}function Bd(e){return(e.flags&8)!==0}function $d(e){return(e.flags&16)!==0}function Ka(e){return e!==ot}function Mn(e){let t=e&32767;return e&32767}function Hd(e){return e>>16}function _n(e,t){let n=Hd(e),r=t;for(;n>0;)r=r[pt],n--;return r}var Qr=!0;function Ss(e){let t=Qr;return Qr=e,t}var Ud=256,Ja=Ud-1,Xa=5,Gd=0,le={};function zd(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mt)&&(r=n[Mt]),r==null&&(r=n[Mt]=Gd++);let o=r&Ja,i=1<>Xa)]|=i}function xn(e,t){let n=eu(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Or(r.data,e),Or(t,null),Or(r.blueprint,null));let o=Wo(e,t),i=e.injectorIndex;if(Ka(o)){let s=Mn(o),a=_n(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Or(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wo(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=iu(o),r===null)return ot;if(n++,o=o[pt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ot}function Kr(e,t,n){zd(e,t,n)}function Wd(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&ht(p)&&p.type===n)return u}return null}function ct(e,t,n,r){let o=e[n],i=t.data;if(Vd(o)){let s=o;s.resolving&&Rl(Fl(i[n]));let a=Ss(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Y(s.injectImpl):null,l=Ua(e,r,I.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ld(n,i[n],t)}finally{c!==null&&Y(c),Ss(a),s.resolving=!1,qa()}}return o}function Yd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mt)?e[Mt]:void 0;return typeof t=="number"?t>=0?t&Ja:Qd:t}function Ns(e,t,n){let r=1<>Xa)]&r)}function As(e,t){return!(e&I.Self)&&!(e&I.Host&&t)}var Pe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ru(this._tNode,this._lView,t,zn(r),n)}};function Qd(){return new Pe(W(),T())}function mI(e){return kt(()=>{let t=e.prototype.constructor,n=t[wn]||Jr(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[wn]||Jr(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Jr(e){return ra(e)?()=>{let t=Jr(B(e));return t&&t()}:ut(e)}function Kd(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=ou(i,s,n,r|I.Self,le);if(a!==le)return a;let u=i.parent;if(!u){let c=s[Ca];if(c){let l=c.get(n,le,r);if(l!==le)return l}u=iu(s),s=s[pt]}i=u}return o}function iu(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[z]:null}function Jd(e){return Wd(W(),e)}var dn="__parameters__";function Xd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function su(e,t,n){return kt(()=>{let r=Xd(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(dn)?u[dn]:Object.defineProperty(u,dn,{value:[]})[dn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ef(e){let t=Re.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function tf(e){return typeof e=="function"}function qo(e,t){e.forEach(n=>Array.isArray(n)?qo(n,t):t(n))}function au(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Tn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function uu(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function rf(e,t,n){let r=jt(e,t);return r>=0?e[r|1]=n:(r=~r,nf(e,r,t,n)),r}function Fr(e,t){let n=jt(e,t);if(n>=0)return e[n|1]}function jt(e,t){return of(e,t,1)}function of(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.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(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(r(d).then(p=>{a[c+f]=p,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>df(i));t.push(u)}),uf(),Promise.all(t).then(()=>{})}var Sn=new Map,af=new Set;function uf(){let e=Sn;return Sn=new Map,e}function cf(){return Sn.size===0}function lf(e){return typeof e=="string"?e:e.text()}function df(e){af.delete(e)}var Zo=new M("ENVIRONMENT_INITIALIZER"),du=new M("INJECTOR",-1),fu=new M("INJECTOR_DEF_TYPES"),Nn=class{get(t,n=xt){if(n===xt){let r=new Error(`NullInjectorError: No provider for ${j(t)}!`);throw r.name="NullInjectorError",r}return n}};function ff(...e){return{\u0275providers:pu(!0,e),\u0275fromNgModule:!0}}function pu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return qo(t,s=>{let a=s;Xr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hu(o,i),n}function hu(e,t){for(let n=0;n{t(i,r)})}}function Xr(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=vs(e),s=!i&&Ce(e);if(!i&&!s){let u=e.ngModule;if(i=vs(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Xr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{qo(i.imports,l=>{Xr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&hu(c,t)}if(!a){let c=ut(o)||(()=>new o);t({provide:o,useFactory:c,deps:re},o),t({provide:fu,useValue:o,multi:!0},o),t({provide:Zo,useValue:()=>A(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Yo(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Yo(e,t){for(let n of e)oa(n)&&(n=n.\u0275providers),Array.isArray(n)?Yo(n,t):t(n)}var pf=x({provide:String,useValue:x});function gu(e){return e!==null&&typeof e=="object"&&pf in e}function hf(e){return!!(e&&e.useExisting)}function gf(e){return!!(e&&e.useFactory)}function lt(e){return typeof e=="function"}function mf(e){return!!e.useClass}var mu=new M("Set Injector scope."),yn={},yf={},Rr;function Qo(){return Rr===void 0&&(Rr=new Nn),Rr}var be=class{},Rt=class extends be{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,to(t,s=>this.processProvider(s)),this.records.set(du,et(void 0,this)),o.has("environment")&&this.records.set(be,et(void 0,this));let i=this.records.get(mu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fu,re,I.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=xt,r=I.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ys))return t[ys](this);r=zn(r);let o,i=we(this),s=Y(void 0);try{if(!(r&I.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=If(t)&&Gn(t);c&&this.injectableDefInScope(c)?u=et(eo(t),yn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&I.Self?Qo():this.parent;return n=r&I.Optional&&n===xt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[En]=a[En]||[]).unshift(j(t)),i)throw a;return Wl(a,t,"R3InjectorError",this.source)}else throw a}finally{Y(s),we(i)}}resolveInjectorInitializers(){let t=we(this),n=Y(void 0),r;try{let o=this.get(Zo,re,I.Self);for(let i of o)i()}finally{we(t),Y(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(j(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){t=B(t);let n=lt(t)?t:B(t&&t.provide),r=vf(t);if(!lt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=et(void 0,yn,!0),o.factory=()=>Wr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(t,n){return n.value===yn&&(n.value=yf,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ef(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function eo(e){let t=Gn(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof M)throw new w(204,!1);if(e instanceof Function)return Df(e);throw new w(204,!1)}function Df(e){let t=e.length;if(t>0){let r=uu(t,"?");throw new w(204,!1)}let n=Ll(e);return n!==null?()=>n.factory(e):()=>new e}function vf(e){if(gu(e))return et(void 0,e.useValue);{let t=yu(e);return et(t,yn)}}function yu(e,t,n){let r;if(lt(e)){let o=B(e);return ut(o)||eo(o)}else if(gu(e))r=()=>B(e.useValue);else if(gf(e))r=()=>e.useFactory(...Wr(e.deps||[]));else if(hf(e))r=()=>A(B(e.useExisting));else{let o=B(e&&(e.useClass||e.provide));if(wf(e))r=()=>new o(...Wr(e.deps));else return ut(o)||eo(o)}return r}function et(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wf(e){return!!e.deps}function Ef(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function If(e){return typeof e=="function"||typeof e=="object"&&e instanceof M}function to(e,t){for(let n of e)Array.isArray(n)?to(n,t):n&&oa(n)?to(n.\u0275providers,t):t(n)}function yI(e,t){e instanceof Rt&&e.assertNotDestroyed();let n,r=we(e),o=Y(void 0);try{return t()}finally{we(r),Y(o)}}function Cf(e){if(!ca()&&!Ul())throw new w(-203,!1)}function Os(e,t=null,n=null,r){let o=Du(e,t,n,r);return o.resolveInjectorInitializers(),o}function Du(e,t=null,n=null,r,o=new Set){let i=[n||re,ff(e)];return r=r||(typeof e=="object"?void 0:j(e)),new Rt(i,t||Qo(),r||null,o)}var Ge=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Os({name:""},o,r,"");{let i=r.name??"";return Os({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=xt,t.NULL=new Nn,t.\u0275prov=S({token:t,providedIn:"any",factory:()=>A(du)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var no;function DI(e){no=e}function bf(){if(no!==void 0)return no;if(typeof document<"u")return document;throw new w(210,!1)}var vI=new M("AppId",{providedIn:"root",factory:()=>Mf}),Mf="ng",_f=new M("Platform Initializer"),vu=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var wI=new M("CSP nonce",{providedIn:"root",factory:()=>bf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function EI(e){return e.ownerDocument.defaultView}function wu(e){return e instanceof Function?e():e}function xf(e){return(e??O(Ge)).get(vu)==="browser"}function Eu(e){return(e.flags&128)===128}var An=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(An||{});var Iu=new Map,Tf=0;function Sf(){return Tf++}function Nf(e){Iu.set(e[Zn],e)}function Af(e){Iu.delete(e[Zn])}var Fs="__ngContext__";function Be(e,t){Ie(t)?(e[Fs]=t[Zn],Nf(t)):e[Fs]=t}var Of;function Ko(e,t){return Of(e,t)}function Jo(e){let t=e[F];return se(t)?t[F]:t}function Cu(e){return Mu(e[Ot])}function bu(e){return Mu(e[oe])}function Mu(e){for(;e!==null&&!se(e);)e=e[oe];return e}function tt(e,t,n,r,o){if(r!=null){let i,s=!1;se(r)?i=r:Ie(r)&&(s=!0,r=r[me]);let a=pe(r);e===0&&n!==null?o==null?Nu(t,n,a):On(t,n,a,o||null,!0):e===1&&n!==null?On(t,n,a,o||null,!0):e===2?Zf(t,a,s):e===3&&t.destroyNode(a),i!=null&&Qf(t,e,i,n,o)}}function Ff(e,t){return e.createText(t)}function Rf(e,t,n){e.setValue(t,n)}function _u(e,t,n){return e.createElement(t,n)}function Pf(e,t){let n=t[R];Vt(e,t,n,2,null,null),t[me]=null,t[z]=null}function kf(e,t,n,r,o,i){r[me]=o,r[z]=t,Vt(e,r,n,1,o,i)}function Lf(e,t){Vt(e,t,t[R],2,null,null)}function jf(e){let t=e[Ot];if(!t)return Pr(e[E],e);for(;t;){let n=null;if(Ie(t))n=t[Ot];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Ie(t)&&Pr(t[E],t),t=t[F];t===null&&(t=e),Ie(t)&&Pr(t[E],t),n=t&&t[oe]}t=n}}function Vf(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][oe]=t),r0&&(e[n-1][oe]=r[oe]);let i=Tn(e,Q+t);Pf(r[E],r);let s=i[Ft];s!==null&&s.detachView(i[E]),r[F]=null,r[oe]=null,r[g]&=-129}return r}function Tu(e,t){if(!(t[g]&256)){let n=t[R];n.destroyNode&&Vt(e,t,n,3,null,null),jf(t)}}function Pr(e,t){if(!(t[g]&256)){t[g]&=-129,t[g]|=256,t[ke]&&Oi(t[ke]),Hf(e,t),$f(e,t),t[E].type===1&&t[R].destroy();let n=t[qn];if(n!==null&&se(t[F])){n!==t[F]&&xu(n,t);let r=t[Ft];r!==null&&r.detachView(e)}Af(t)}}function $f(e,t){let n=e.cleanup,r=t[At];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[At]=null);let o=t[Ee];if(o!==null){t[Ee]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Tt.None||i===Tt.Emulated)return null}return J(r,n)}}function On(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Nu(e,t,n){e.appendChild(t,n)}function Rs(e,t,n,r,o){r!==null?On(e,t,n,r,o):Nu(e,t,n)}function Gf(e,t,n,r){e.removeChild(t,n,r)}function Xo(e,t){return e.parentNode(t)}function zf(e,t){return e.nextSibling(t)}function Au(e,t,n){return qf(e,t,n)}function Wf(e,t,n){return e.type&40?J(e,n):null}var qf=Wf,Ps;function ei(e,t,n,r){let o=Su(e,r,t),i=t[R],s=r.parent||t[z],a=Au(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;ue,createScript:e=>e,createScriptURL:e=>e})}catch{}return fn}function ks(e){return Xf()?.createScriptURL(e)||e}var Fn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ia})`}};function Kn(e){return e instanceof Fn?e.changingThisBreaksApplicationSecurity:e}function ku(e,t){let n=ep(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ia})`)}return n===t}function ep(e){return e instanceof Fn&&e.getTypeName()||null}var tp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function np(e){return e=String(e),e.match(tp)?e:"unsafe:"+e}var ni=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ni||{});function rp(e){let t=Lu();return t?t.sanitize(ni.URL,e)||"":ku(e,"URL")?Kn(e):np(Un(e))}function op(e){let t=Lu();if(t)return ks(t.sanitize(ni.RESOURCE_URL,e)||"");if(ku(e,"ResourceURL"))return ks(Kn(e));throw new w(904,!1)}function ip(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?op:rp}function II(e,t,n){return ip(t,n)(e)}function Lu(){let e=T();return e&&e[st].sanitizer}var sp="h",ap="b";var up=(e,t,n)=>null;function ri(e,t,n=!1){return up(e,t,n)}var io=class{},Rn=class{};function cp(e){let t=Error(`No component factory found for ${j(e)}.`);return t[lp]=e,t}var lp="ngComponent";var so=class{resolveComponentFactory(t){throw cp(t)}},Jn=(()=>{let t=class t{};t.NULL=new so;let e=t;return e})();function dp(){return Xn(W(),T())}function Xn(e,t){return new er(J(e,t))}var er=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=dp;let e=t;return e})();var ao=class{},oi=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>fp();let e=t;return e})();function fp(){let e=T(),t=W(),n=_e(t.index,e);return(Ie(n)?n:e)[R]}var pp=(()=>{let t=class t{};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Pn=class{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}},hp=new Pn("17.0.6"),kr={};function CI(e,t){let n=ji(e),r=n[Dt];return t?.equal&&(r.equal=t.equal),n.set=o=>dr(r,o),n.update=o=>Vi(r,o),n.asReadonly=gp.bind(n),n}function gp(){let e=this[Dt];if(e.readonlyFn===void 0){let t=()=>this();t[Dt]=e,e.readonlyFn=t}return e.readonlyFn}function ju(e){return ii(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function mp(e,t){if(Array.isArray(e))for(let n=0;nt,co=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||yp}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new lo(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new kn),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new kn),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},lo=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fo=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},kn=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new fo,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ls(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new go(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},go=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function js(){return new tr([new uo])}var tr=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||js()),deps:[[t,new lu,new cu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new w(901,!1)}};t.\u0275prov=S({token:t,providedIn:"root",factory:js});let e=t;return e})();function Vs(){return new si([new po])}var si=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Vs()),deps:[[t,new lu,new cu]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new w(901,!1)}};t.\u0275prov=S({token:t,providedIn:"root",factory:Vs});let e=t;return e})();function Ln(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(pe(i)),se(i)&&Dp(i,r);let s=n.type;if(s&8)Ln(e,t,n.child,r);else if(s&32){let a=Ko(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Ou(t,n);if(Array.isArray(a))r.push(...a);else{let u=Jo(t[ie]);Ln(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dp(e,t){for(let n=Q;n{Qn(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}}),Cp="ngOriginalError";function Lr(e){return e[Cp]}var $e=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Lr(t);for(;n&&Lr(n);)n=Lr(n);return n||null}};var Bu=!1,bp=new M("",{providedIn:"root",factory:()=>Bu});var mt={};function bI(e){$u(X(),T(),gt()+e,!1)}function $u(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&gn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&mn(t,i,0,n)}je(n)}function q(e,t=I.Default){let n=T();if(n===null)return A(e,t);let r=W();return ru(r,n,B(e),t)}function MI(){let e="invalid";throw new Error(e)}function Mp(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;rfe&&$u(e,t,fe,!1),ce(s?2:0,o),n(r,o)}finally{je(i),ce(s?3:1,o)}}function Gu(e,t,n){if(Ma(t)){let r=U(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Ap(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ja()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Bs(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=n===null?{}:n;let i=e[o];r===null?$s(n,t,o,i):r.hasOwnProperty(o)&&$s(n,t,r[o],i)}return n}function $s(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Op(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Yn(n)&&zp(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||xn(n,t),Be(r,t);let s=n.initialInputs;for(let a=o;a-1&&(ro(t,r),Tn(n,r))}this._attachedToViewContainer=!1}Tu(this._lView[E],this._lView)}onDestroy(t){ka(this._lView,t)}markForCheck(){ci(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){Pa(this._lView),this._lView[g]|=128}detectChanges(){eh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Lf(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t}},ih=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=sh;let e=t;return e})();function sh(e){return ah(W(),T(),(e&16)===16)}function ah(e,t,n){if(Yn(e)&&!n){let r=_e(e.index,t);return new He(r,r)}else if(e.type&47){let r=t[ie];return new He(r,t)}return null}var sc=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=uh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Do=class extends sc{constructor(t){super(),this._lView=t}onDestroy(t){return ka(this._lView,t),()=>vd(this._lView,t)}};function uh(){return new Do(T())}var Hs=new Set;function li(e){Hs.has(e)||(Hs.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}var vo=class extends ve{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=jr(i),o&&(o=jr(o)),s&&(s=jr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}};function jr(e){return t=>{setTimeout(e,void 0,t)}}var de=vo;function Us(...e){}function ch(){let e=typeof Re.requestAnimationFrame=="function",t=Re[e?"requestAnimationFrame":"setTimeout"],n=Re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var G=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new de(!1),this.onMicrotaskEmpty=new de(!1),this.onStable=new de(!1),this.onError=new de(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=ch().nativeRequestAnimationFrame,fh(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,lh,Us,Us);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},lh={};function di(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function dh(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wo(e),e.isCheckStableRunning=!0,di(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wo(e))}function fh(e){let t=()=>{dh(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(ph(a))return n.invokeTask(o,i,s,a);try{return Gs(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),zs(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Gs(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),zs(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,wo(e),di(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function wo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Gs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zs(e){e._nesting--,di(e)}var Eo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new de,this.onMicrotaskEmpty=new de,this.onStable=new de,this.onError=new de}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}},ac=new M("",{providedIn:"root",factory:uc});function uc(){let e=O(G),t=!0,n=new C(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new C(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});let s=e.onUnstable.subscribe(()=>{G.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return br(n,r.pipe(ln()))}function ph(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var nt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(nt||{}),hh={destroy(){}};function gh(e,t){!t&&Cf(gh);let n=t?.injector??O(Ge);if(!xf(n))return hh;li("NgAfterNextRender");let r=n.get(cc),o=r.handler??=new Co,i=t?.phase??nt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(sc).onDestroy(s),u=new Io(n,i,()=>{s(),e()});return o.register(u),{destroy:s}}var Io=class{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(G),this.errorHandler=t.get($e,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Co=class{constructor(){this.executingCallbacks=!1,this.buckets={[nt.EarlyRead]:new Set,[nt.Write]:new Set,[nt.MixedReadWrite]:new Set,[nt.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new w(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},cc=(()=>{let t=class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function mh(e,t){let n=_e(t,e),r=n[E];yh(r,n);let o=n[me];o!==null&&n[Nt]===null&&(n[Nt]=ri(o,n[it])),fi(r,n,n[K])}function yh(e,t){for(let n=t.length;n0&&Ru(e,n,i.join(" "))}}function Mh(e,t,n){let r=e.projection=[];for(let o=0;o>17&32767}function Nh(e){return(e&2)==2}function Ah(e,t){return e&131071|t<<17}function xo(e){return e|2}function ft(e){return(e&131068)>>2}function Vr(e,t){return e&-131069|t<<2}function Oh(e){return(e&1)===1}function To(e){return e|1}function Fh(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ue(s),u=ft(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||jt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=Ue(e[a+1]);e[r+1]=pn(f,a),f!==0&&(e[f+1]=Vr(e[f+1],r)),e[a+1]=Ah(e[a+1],r)}else e[r+1]=pn(a,0),a!==0&&(e[a+1]=Vr(e[a+1],r)),a=r;else e[r+1]=pn(u,0),a===0?a=r:e[u+1]=Vr(e[u+1],r),u=r;c&&(e[r+1]=xo(e[r+1])),qs(e,l,r,!0,i),qs(e,l,r,!1,i),Rh(t,l,e,r,i),s=pn(a,u),i?t.classBindings=s:t.styleBindings=s}function Rh(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&jt(i,t)>=0&&(n[r+1]=To(n[r+1]))}function qs(e,t,n,r,o){let i=e[n+1],s=t===null,a=r?Ue(i):ft(i),u=!1;for(;a!==0&&(u===!1||s);){let c=e[a],l=e[a+1];Ph(c,t)&&(u=!0,e[a+1]=r?To(l):xo(l)),a=r?Ue(l):ft(l)}u&&(e[n+1]=r?xo(i):To(i))}function Ph(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?jt(e,t)>=0:!1}function kh(e,t,n){let r=T(),o=Bo();if(or(r,o,t)){let i=X(),s=Za();Rp(i,s,r,e,t,r[R],n,!1)}return kh}function Zs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ui(e,n,i[s],s,r)}function lc(e,t,n){return Lh(e,t,n,!1),lc}function Lh(e,t,n,r){let o=T(),i=X(),s=Td(2);if(i.firstUpdatePass&&Vh(i,e,s,r),t!==mt&&or(o,s,t)){let a=i.data[gt()];Gh(i,a,o,o[R],e,o[s+1]=zh(t,n),r,s)}}function jh(e,t){return t>=e.expandoStartIndex}function Vh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[gt()],s=jh(e,n);Wh(i,r)&&t===null&&!s&&(t=!1),t=Bh(o,i,t,r),Fh(o,i,t,n,s,r)}}function Bh(e,t,n,r){let o=Od(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Br(null,e,t,n,r),n=Pt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Br(o,e,t,n,r),i===null){let u=$h(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Br(null,e,t,u[1],r),u=Pt(u,t.attrs,r),Hh(e,t,r,u))}else i=Uh(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function $h(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ft(r)!==0)return e[Ue(r)]}function Hh(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ue(o)]=r}function Uh(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===mt&&(f=d?re:void 0);let p=d?Fr(f,r):l===r?f:void 0;if(c&&!Vn(p)&&(p=Fr(u,r)),Vn(p)&&(a=p,s))return a;let h=e[o+1];o=s?Ue(h):ft(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Fr(u,r))}return a}function Vn(e){return e!==void 0}function zh(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=j(Kn(e)))),e}function Wh(e,t){return(e.flags&(t?8:16))!==0}var _I=new RegExp(`^(\\d+)*(${ap}|${sp})*(.*)`);var qh=(e,t)=>null;function Qs(e,t){return qh(e,t)}function Zh(e,t,n,r){let o=t.tView,s=e[g]&4096?4096:16,a=nr(e,o,n,s,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null),u=e[t.index];a[qn]=u;let c=e[Ft];return c!==null&&(a[Ft]=c.createEmbeddedView(o)),fi(o,a,n),a}function Ks(e,t){return!t||t.firstChild===null||Eu(e)}function Yh(e,t,n,r=!0){let o=t[E];if(Vf(o,t,e,n),r){let s=oo(n,e),a=t[R],u=Xo(a,e[Le]);u!==null&&kf(o,e[z],a,t,u,s)}let i=t[Nt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}var ir=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Qh;let e=t;return e})();function Qh(){let e=W();return Jh(e,T())}var Kh=ir,dc=class extends Kh{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xn(this._hostTNode,this._hostLView)}get injector(){return new Pe(this._hostTNode,this._hostLView)}get parentInjector(){let t=Wo(this._hostTNode,this._hostLView);if(Ka(t)){let n=_n(t,this._hostLView),r=Mn(t),o=n[E].data[r+8];return new Pe(o,n)}else return new Pe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Js(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Qs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ks(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!tf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new dt(Ce(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(s?c:this.parentInjector).get(be,null);b&&(i=b)}let l=Ce(u.componentType??{}),d=Qs(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,Ks(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(md(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[F],c=new dc(u,u[z],u[F]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Yh(s,o,i,r),t.attachToViewContainerRef(),au($r(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Js(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ro(this._lContainer,n);r&&(Tn($r(this._lContainer),n),Tu(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=ro(this._lContainer,n);return r&&Tn($r(this._lContainer),n)!=null?new He(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Js(e){return e[In]}function $r(e){return e[In]||(e[In]=[])}function Jh(e,t){let n,r=t[e.index];return se(r)?n=r:(n=Ju(r,t,null,e),t[e.index]=n,rr(t,n)),eg(n,t,e,r),new dc(n,e,t)}function Xh(e,t){let n=e[R],r=n.createComment(""),o=J(t,e),i=Xo(n,o);return On(n,i,r,zf(n,o),!1),r}var eg=rg,tg=(e,t,n)=>!1;function ng(e,t,n){return tg(e,t,n)}function rg(e,t,n,r){if(e[Le])return;let o;n.type&8?o=pe(r):o=Xh(t,n),e[Le]=o}function og(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Bt(t,e,4,s||null,bn(c,a));Zu(t,n,l,bn(c,u)),zo(t,l);let d=l.tView=ai(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ig(e,t,n,r,o,i,s,a){let u=T(),c=X(),l=e+fe,d=c.firstCreatePass?og(l,c,u,t,n,r,o,i,s):c.data[l];Lt(d,!1);let f=sg(c,u,d,e);Uo()&&ei(c,u,f,d),Be(f,u);let p=Ju(f,u,f,d);return u[l]=p,rr(u,p),ng(p,d,u),jo(d)&&zu(c,u,d),s!=null&&Wu(u,d,a),ig}var sg=ag;function ag(e,t,n,r){return Go(!0),t[R].createComment("")}function ug(e,t,n,r,o,i){let s=t.consts,a=bn(s,o),u=Bt(t,e,2,r,a);return Zu(t,n,u,bn(s,i)),u.attrs!==null&&bo(u,u.attrs,!1),u.mergedAttrs!==null&&bo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function fc(e,t,n,r){let o=T(),i=X(),s=fe+e,a=o[R],u=i.firstCreatePass?ug(s,i,o,t,n,r):i.data[s],c=lg(i,o,u,a,t,e);o[s]=c;let l=jo(u);return Lt(u,!0),Pu(a,c,u),(u.flags&32)!==32&&Uo()&&ei(i,o,c,u),wd()===0&&Be(c,o),Ed(),l&&(zu(i,o,u),Gu(i,u,o)),r!==null&&Wu(o,u),fc}function pc(){let e=W();Ba()?$a():(e=e.parent,Lt(e,!1));let t=e;Cd(t)&&bd(),Id();let n=X();return n.firstCreatePass&&(zo(n,e),Ma(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Bd(t)&&Zs(n,t,T(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$d(t)&&Zs(n,t,T(),t.stylesWithoutHost,!1),pc}function cg(e,t,n,r){return fc(e,t,n,r),pc(),cg}var lg=(e,t,n,r,o,i)=>(Go(!0),_u(r,o,kd()));function TI(){return T()}var Bn="en-US";var dg=Bn;function fg(e){Pl(e,"Expected localeId to be defined"),typeof e=="string"&&(dg=e.toLowerCase().replace(/_/g,"-"))}function pi(e){return!!e&&typeof e.then=="function"}function hc(e){return!!e&&typeof e.subscribe=="function"}function pg(e,t,n,r){let o=T(),i=X(),s=W();return gg(i,o,o[R],s,e,t,r),pg}function hg(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function gg(e,t,n,r,o,i,s){let a=jo(r),c=e.firstCreatePass&&Kp(e),l=t[K],d=Qp(t),f=!0;if(r.type&3||s){let b=J(r,t),P=s?s(b):b,_=d.length,Z=s?he=>s(pe(he[r.index])):r.index,$=null;if(!s&&a&&($=hg(e,t,o,r.index)),$!==null){let he=$.__ngLastListenerFn__||$;he.__ngNextListenerFn__=i,$.__ngLastListenerFn__=i,f=!1}else{i=ea(r,t,l,i,!1);let he=n.listen(P,o,i);d.push(i,he),c&&c.push(o,Z,_,_+1)}}else i=ea(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let b=h.length;if(b)for(let P=0;P-1?_e(e.index,t):t;ci(a);let u=Xs(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Xs(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function SI(e=1){return Rd(e)}function mg(e,t){let n=null,r=Xl(e);for(let o=0;o(Go(!0),Ff(t[R],r));function Dg(e,t,n){let r=T(),o=Sh(r,e,t,n);return o!==mt&&Jp(r,gt(),o),Dg}function vg(e,t,n){let r=X();if(r.firstCreatePass){let o=ht(e);So(n,r.data,r.blueprint,o,!0),So(t,r.data,r.blueprint,o,!1)}}function So(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(lt(e)||!e.multi){let p=new Ve(c,o,q),h=Ur(u,t,o?l:l+f,d);h===-1?(Kr(xn(a,s),i,u),Hr(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Ur(u,t,l+f,d),h=Ur(u,t,l,l+f),b=p>=0&&n[p],P=h>=0&&n[h];if(o&&!P||!o&&!b){Kr(xn(a,s),i,u);let _=Ig(o?Eg:wg,n.length,o,r,c);!o&&P&&(n[h].providerFactory=_),Hr(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=gc(n[o?h:p],c,!o&&r);Hr(i,e,p>-1?p:h,_)}!o&&r&&P&&n[h].componentProviders++}}}function Hr(e,t,n,r){let o=lt(t),i=mf(t);if(o||i){let u=(i?B(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function gc(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ur(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>vg(r,o?o(e):e,t)}}var Me=class{},Ao=class{};var $n=class extends Me{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jn(this);let o=wa(t);this._bootstrapComponents=wu(o.bootstrap),this._r3Injector=Du(t,n,[{provide:Me,useValue:this},{provide:Jn,useValue:this.componentFactoryResolver},...r],j(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Hn=class extends Ao{constructor(t){super(),this.moduleType=t}create(t){return new $n(this.moduleType,t,[])}};function Cg(e,t,n){return new $n(e,t,n)}var Oo=class extends Me{constructor(t){super(),this.componentFactoryResolver=new jn(this),this.instance=null;let n=new Rt([...t.providers,{provide:Me,useValue:this},{provide:Jn,useValue:this.componentFactoryResolver}],t.parent||Qo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function bg(e,t,n=null){return new Oo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Mg=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=pu(!1,r.type),i=o.length>0?bg([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=S({token:t,providedIn:"environment",factory:()=>new t(A(be))});let e=t;return e})();function PI(e){li("NgStandalone"),e.getStandaloneInjector=t=>t.get(Mg).getOrCreateStandaloneInjector(e)}var sr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Tg;let e=t;return e})(),_g=sr,xg=class extends _g{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Zh(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new He(o)}};function Tg(){return Sg(W(),T())}function Sg(e,t){return e.type&4?new xg(t,e,Xn(e,t)):null}var hn=null;function Ng(e){hn!==null&&(e.defaultEncapsulation!==hn.defaultEncapsulation||e.preserveWhitespaces!==hn.preserveWhitespaces)||(hn=e)}var Ag=new M("Application Initializer"),mc=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=O(Ag,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(pi(s))r.push(s);else if(hc(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),LI=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Og(){return typeof $localize<"u"&&$localize.locale||Bn}var hi=new M("LocaleId",{providedIn:"root",factory:()=>O(hi,I.Optional|I.SkipSelf)||Og()});var Fg=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Et(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Fo=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},jI=(()=>{let t=class t{compileModuleSync(r){return new Hn(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=wa(r),s=wu(i.declarations).reduce((a,u)=>{let c=Ce(u);return c&&a.push(new dt(c)),a},[]);return new Fo(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Rg=new M("compilerOptions");var Pg=new M(""),kg=new M(""),VI=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gi||(jg(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(A(G),A(Lg),A(kg))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),Lg=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return gi?.findTestabilityInTree(this,r,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function jg(e){gi=e}var gi,_t=null,yc=new M("AllowMultipleToken"),Dc=new M("PlatformDestroyListeners"),Vg=new M("appBootstrapListener");function Bg(e,t,n){let r=new Hn(n);return Promise.resolve(r)}function $g(){Li(()=>{throw new w(600,!1)})}function Hg(e){return e.isBoundToModule}function Ug(e){if(_t&&!_t.get(yc,!1))throw new w(400,!1);$g(),_t=e;let t=e.get(wc);return Gg(e),t}function Gg(e){e.get(_f,null)?.forEach(n=>n())}function zg(e,t,n=[]){let r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=vc();if(!s||s.injector.get(yc,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Ug(qg(a,r))}return Wg(o)}}function Wg(e){let t=vc();if(!t)throw new w(401,!1);return t}function qg(e=[],t){return Ge.create({name:t,providers:[{provide:mu,useValue:"platform"},{provide:Dc,useValue:new Set([()=>_t=null])},...e]})}function vc(){return _t?.get(wc)??null}var wc=(()=>{let t=class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=Yg(o?.ngZone,Zg({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=Cg(r.moduleType,this.injector,Xg(()=>i)),a=s.injector.get($e,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{vn(this._modules,s),u.unsubscribe()})}),Qg(a,i,()=>{let u=s.injector.get(mc);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(hi,Bn);return fg(c||Bn),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=Ec({},o);return Bg(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(mi);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(Dc,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};t.\u0275fac=function(o){return new(o||t)(A(Ge))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function Zg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Yg(e="zone.js",t){return e==="noop"?new Eo:e==="zone.js"?new G(t):e}function Qg(e,t,n){try{let r=n();return pi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function Ec(e,t){return Array.isArray(t)?t.reduce(Ec,e):De(De({},e),t)}var mi=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=O(Ic),this.zoneIsStable=O(ac),this.componentTypes=[],this.components=[],this.isStable=O(Fg).hasPendingTasks.pipe(Sr(r=>r?Cr(!1):this.zoneIsStable),_r(),ln()),this._injector=O(be)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Rn;if(!this._injector.get(mc).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&ud(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new w(405,!1)}let a;i?a=r:a=this._injector.get(Jn).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Hg(a)?void 0:this._injector.get(Me),c=o||a.selector,l=a.create(Ge.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Pg,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),vn(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;vn(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Vg,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>vn(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new w(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function vn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ta(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Ic=new M("",{providedIn:"root",factory:()=>O($e).handleError.bind(void 0)});function Kg(){let e=O(G),t=O($e);return n=>e.runOutsideAngular(()=>t.handleError(n))}var Jg=(()=>{let t=class t{constructor(){this.zone=O(G),this.applicationRef=O(mi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xg(e){return[{provide:G,useFactory:e},{provide:Zo,multi:!0,useFactory:()=>{let t=O(Jg,{optional:!0});return()=>t.initialize()}},{provide:Ic,useFactory:Kg},{provide:ac,useFactory:uc}]}var BI=zg(null,"core",[]),$I=(()=>{let t=class t{constructor(r){}};t.\u0275fac=function(o){return new(o||t)(A(mi))},t.\u0275mod=Lo({type:t}),t.\u0275inj=Po({});let e=t;return e})();function em(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function HI(e){let t=Ce(e);if(!t)return null;let n=new dt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var vi=null;function yi(){return vi}function fC(e){vi||(vi=e)}var Cc=class{},Ci=new M("DocumentToken"),bi=(()=>{let t=class t{historyGo(r){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:()=>(()=>O(nm))(),providedIn:"platform"});let e=t;return e})(),pC=new M("Location Initialized"),nm=(()=>{let t=class t extends bi{constructor(){super(),this._doc=O(Ci),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yi().getBaseHref(this._doc)}onPopState(r){let o=yi().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=yi().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:()=>(()=>new t)(),providedIn:"platform"});let e=t;return e})();function Mi(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function bc(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ye(e){return e&&e[0]!=="?"?"?"+e:e}var ar=(()=>{let t=class t{historyGo(r){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=S({token:t,factory:()=>(()=>O(rm))(),providedIn:"root"});let e=t;return e})(),Nc=new M("appBaseHref"),rm=(()=>{let t=class t extends ar{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??O(Ci).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Mi(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ye(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ye(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ye(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(A(bi),A(Nc,8))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),hC=(()=>{let t=class t extends ar{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash;return o==null&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=Mi(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ye(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ye(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(A(bi),A(Nc,8))},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})(),om=(()=>{let t=class t{constructor(r){this._subject=new de,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=am(bc(Mc(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ye(o))}normalize(r){return t.stripTrailingSlash(sm(this._basePath,Mc(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ye(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ye(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=ye,t.joinWithSlash=Mi,t.stripTrailingSlash=bc,t.\u0275fac=function(o){return new(o||t)(A(ar))},t.\u0275prov=S({token:t,factory:()=>im(),providedIn:"root"});let e=t;return e})();function im(){return new om(A(ar))}function sm(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Mc(e){return e.replace(/\/index.html$/,"")}function am(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function gC(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Di=/\s+/,_c=[],mC=(()=>{let t=class t{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=_c,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Di):_c}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Di):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Di).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(q(tr),q(si),q(er),q(oi))},t.\u0275dir=Wn({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var wi=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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}},yC=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(!1)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new wi(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),xc(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);xc(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(q(ir),q(sr),q(tr))},t.\u0275dir=Wn({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function xc(e,t){e.context.$implicit=t.item}var DC=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new Ei,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Tc("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Tc("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(q(ir),q(sr))},t.\u0275dir=Wn({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Ei=class{constructor(){this.$implicit=null,this.ngIf=null}};function Tc(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${j(t)}'.`)}var vC=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Lo({type:t}),t.\u0275inj=Po({});let e=t;return e})(),wC="browser",um="server";function EC(e){return e===um}var IC=(()=>{let t=class t{};t.\u0275prov=S({token:t,providedIn:"root",factory:()=>new Ii(A(Ci),window)});let e=t;return e})(),Ii=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;let n=cm(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function cm(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Sc=class{};export{De as a,qe as b,L as c,Qc as d,wr as e,Er as f,ve as g,Et as h,Se as i,ue as j,Cr as k,sl as l,al as m,Ae as n,Oe as o,gl as p,Fe as q,It as r,un as s,yl as t,Ct as u,ps as v,Dl as w,bt as x,Mr as y,vl as z,Il as A,gs as B,xr as C,Cl as D,bl as E,Ml as F,Sr as G,_l as H,xl as I,w as J,S as K,Po as L,lI as M,I as N,Re as O,M as P,A as Q,O as R,Tt as S,dI as T,Lo as U,Wn as V,_a as W,fI as X,pI as Y,hI as Z,gI as _,mI as $,Jd as aa,cu as ba,lu as ca,mu as da,be as ea,yI as fa,Ge as ga,DI as ha,vI as ia,_f as ja,vu as ka,wI as la,EI as ma,An as na,II as oa,er as pa,ao as qa,oi as ra,CI as sa,$e as ta,bI as ua,q as va,MI as wa,ih as xa,de as ya,G as za,gh as Aa,xh as Ba,Th as Ca,kh as Da,lc as Ea,ir as Fa,ig as Ga,fc as Ha,pc as Ia,cg as Ja,TI as Ka,pi as La,pg as Ma,SI as Na,NI as Oa,AI as Pa,OI as Qa,FI as Ra,Dg as Sa,RI as Ta,Ao as Ua,bg as Va,PI as Wa,Ag as Xa,LI as Ya,Fg as Za,jI as _a,Pg as $a,kg as ab,VI as bb,Lg as cb,Vg as db,zg as eb,mi as fb,BI as gb,$I as hb,em as ib,HI as jb,yi as kb,fC as lb,Cc as mb,Ci as nb,pC as ob,ar as pb,rm as qb,hC as rb,om as sb,gC as tb,mC as ub,yC as vb,DC as wb,vC as xb,wC as yb,EC as zb,IC as Ab,Sc as Bb}; diff --git a/chunk-R6LAWAEE.js b/chunk-R6LAWAEE.js deleted file mode 100644 index a5ca9e3..0000000 --- a/chunk-R6LAWAEE.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as f}from"./chunk-3WZ7NV6Z.js";import{Da as d,Ha as e,Ia as t,Ja as r,Ra as i,T as m,Wa as p,Z as a,_ as c,ua as s}from"./chunk-R3TV2GJ7.js";var u=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=m({type:n,selectors:[["app-directive-way"]],standalone:!0,features:[p],decls:22,vars:1,consts:[["ngxScrollTop","",1,"my-custom-scrolltop-element",3,"ngxScrollTopMode"],["target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop/tree/master/projects/demo/src/app/directive-way","target","_blank",1,"card"],["aria-hidden","true","width","24","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"material-icons"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(o,h){o&1&&(e(0,"h1"),i(1,"Directive "),e(2,"small"),i(3,"(with smart mode enabled)"),t()(),e(4,"ol")(5,"li"),i(6,"Scroll at the end of the page"),t(),e(7,"li"),i(8,"Start scrolling back (smart mode)"),t(),e(9,"li"),i(10,"Watch left bottom corner"),t(),e(11,"li"),i(12,"Use it"),t()(),e(13,"span",0),i(14,` Custom Element. (Directive and Smart mode) \u2191 -`),t(),e(15,"a",1),a(),e(16,"svg",2),r(17,"path",3),t(),c(),e(18,"span"),i(19,"Show Directive code"),t(),a(),e(20,"svg",4),r(21,"path",5),t()()),o&2&&(s(13),d("ngxScrollTopMode","smart"))},dependencies:[f],styles:[".my-custom-scrolltop-element[_ngcontent-%COMP%]{position:fixed;left:0;bottom:0;padding:10px;background:black;color:#fff}.my-custom-scrolltop-element[_ngcontent-%COMP%]:hover{cursor:pointer}"]});let l=n;return l})();export{u as default}; diff --git a/main-TI2ML5QU.js b/main-TI2ML5QU.js deleted file mode 100644 index ab603a3..0000000 --- a/main-TI2ML5QU.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as Ht,$a as Ar,A as et,Aa as mr,Ab as Vr,B as H,Ba as vr,Bb as qr,C as $t,Ca as yr,D as tr,Da as wr,E as nr,F as rr,Fa as Sr,G as j,Ga as Cr,H as ir,Ha as C,I as E,Ia as T,J as b,Ja as A,K as S,L as V,La as Rr,M as sr,Ma as br,N as _t,Na as Er,O as q,P as M,Q as y,R as f,Ra as k,S as Re,Sa as Gt,T as tt,U as B,Ua as Mr,V as zt,Va as Zt,W as Ft,Wa as Tr,Xa as Kt,Ya as st,Z as te,Za as Ir,_ as ce,_a as ot,a as h,aa as or,ab as at,b as I,ba as Vt,bb as ct,c as Kn,ca as ar,cb as Qt,d as Qn,da as cr,db as Dr,e as Ut,ea as be,eb as Or,f as Nt,fa as W,fb as Yt,g as F,ga as nt,gb as xr,h as U,ha as ur,hb as Pr,i as J,ia as rt,ib as ut,j as D,ja as lr,jb as Ur,k as d,ka as Ee,kb as lt,l as Ce,la as qt,lb as Nr,m as Yn,mb as Lr,n as Xn,na as Me,nb as N,o as w,oa as hr,ob as jr,p as Je,pa as dr,pb as Ie,q as O,qa as fr,qb as kr,r as Lt,ra as pr,rb as $r,s as Jn,sb as Ae,t as jt,ta as Bt,tb as _r,u as ee,ua as it,v as se,va as ue,vb as zr,w as oe,wa as gr,x as kt,xa as Wt,xb as Fr,y as ae,ya as Te,yb as Hr,z as er,za as x,zb as Xt}from"./chunk-R3TV2GJ7.js";var tn=class extends Lr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},nn=class n extends tn{static makeCurrent(){Nr(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.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,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Ji();return i==null?null:es(i)}resetBaseElement(){De=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return _r(document.cookie,e)}},De=null;function Ji(){return De=De||document.querySelector("base"),De?De.getAttribute("href"):null}function es(n){return new URL(n,"http://a").pathname}var rn=class{addToWindow(e){q.getAngularTestability=(t,r=!0)=>{let s=e.findTestabilityInTree(t,r);if(s==null)throw new b(5103,!1);return s},q.getAllAngularTestabilities=()=>e.getAllTestabilities(),q.getAllAngularRootElements=()=>e.getAllRootElements();let i=t=>{let r=q.getAllAngularTestabilities(),s=r.length,o=!1,a=function(u){o=o||u,s--,s==0&&t(o)};r.forEach(u=>{u.whenStable(a)})};q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,t){if(i==null)return null;let r=e.getTestability(i);return r??(t?lt().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},ts=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),sn=new M("EventManagerPlugins"),Zr=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(y(sn),y(x))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),ht=class{constructor(e){this._doc=e}},Jt="ng-app-id",Kr=(()=>{let e=class e{constructor(t,r,s,o={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Xt(o),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Jt}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=r,o.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,o=s?.get(r);if(o?.parentNode===t)return s.delete(r),o.removeAttribute(Jt),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Jt,this.appId),t.appendChild(a),a}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),o=this.styleRef,a=o.get(r)?.elements;a?a.push(s):o.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(y(N),y(rt),y(qt,8),y(Ee))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),en={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/"},an=/%COMP%/g,Qr="%COMP%",ns=`_nghost-${Qr}`,rs=`_ngcontent-${Qr}`,is=!0,ss=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>is});function os(n){return rs.replace(an,n)}function as(n){return ns.replace(an,n)}function Yr(n,e){return e.map(i=>i.replace(an,n))}var Br=(()=>{let e=class e{constructor(t,r,s,o,a,u,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Xt(u),this.defaultRenderer=new Oe(t,a,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Re.ShadowDom&&(r=I(h({},r),{encapsulation:Re.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof dt?s.applyToHost(t):s instanceof xe&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,o=s.get(r.id);if(!o){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case Re.Emulated:o=new dt(c,l,r,this.appId,p,a,u,m);break;case Re.ShadowDom:return new on(c,l,t,r,a,u,this.nonce,m);default:o=new xe(c,l,r,p,a,u,m);break}s.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(y(Zr),y(Kr),y(rt),y(ss),y(N),y(Ee),y(x),y(qt))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),Oe=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(en[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Wr(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(Wr(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new b(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=en[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=en[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,t,r){r&(Me.DashCase|Me.Important)?e.style.setProperty(i,t,r&Me.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&Me.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=lt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Wr(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var on=class extends Oe{constructor(e,i,t,r,s,o,a,u){super(e,s,o,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Yr(r.id,r.styles);for(let l of c){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=l,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},xe=class extends Oe{constructor(e,i,t,r,s,o,a,u){super(e,s,o,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?Yr(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},dt=class extends xe{constructor(e,i,t,r,s,o,a,u){let c=r+"-"+t.id;super(e,i,t,s,o,a,u,c),this.contentAttr=os(c),this.hostAttr=as(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},cs=(()=>{let e=class e extends ht{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(y(N))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})(),Gr=["alt","control","meta","shift"],us={"\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"},ls={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},hs=(()=>{let e=class e extends ht{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let o=e.parseEventName(r),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lt().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(r.pop()),a="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),a="code."),Gr.forEach(l=>{let p=r.indexOf(l);p>-1&&(r.splice(p,1),a+=l+".")}),a+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(t,r){let s=us[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Gr.forEach(a=>{if(a!==s){let u=ls[a];u(t)&&(o+=a+".")}}),o+=s,o===r)}static eventCallback(t,r,s){return o=>{e.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(y(N))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function ds(){nn.makeCurrent()}function fs(){return new Bt}function ps(){return ur(document),document}var gs=[{provide:Ee,useValue:Hr},{provide:lr,useValue:ds,multi:!0},{provide:N,useFactory:ps,deps:[]}],Xr=Or(xr,"browser",gs),ms=new M(""),vs=[{provide:at,useClass:rn,deps:[]},{provide:Ar,useClass:ct,deps:[x,Qt,at]},{provide:ct,useClass:ct,deps:[x,Qt,at]}],ys=[{provide:cr,useValue:"root"},{provide:Bt,useFactory:fs,deps:[]},{provide:sn,useClass:cs,multi:!0,deps:[N,x,Ee]},{provide:sn,useClass:hs,multi:!0,deps:[N]},Br,Kr,Zr,{provide:fr,useExisting:Br},{provide:qr,useClass:ts,deps:[]},[]],Jr=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:rt,useValue:t.appId}]}}};e.\u0275fac=function(r){return new(r||e)(y(ms,12))},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[...ys,...vs],imports:[Fr,Pr]});let n=e;return n})();function ws(){return new cn(y(N))}var cn=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(y(N))},e.\u0275prov=S({token:e,factory:function(r){let s=null;return r?s=new r:s=ws(),s},providedIn:"root"});let n=e;return n})();var g="primary",We=Symbol("RouteTitle"),fn=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function pe(n){return new fn(n)}function Cs(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===r)}else return n===e}function li(n){return n.length>0?n[n.length-1]:null}function Y(n){return Yn(n)?n:Rr(n)?D(Promise.resolve(n)):d(n)}var bs={exact:di,subset:fi},hi={exact:Es,subset:Ms,ignored:()=>!0};function ti(n,e,i){return bs[i.paths](n.root,e.root,i.matrixParams)&&hi[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function Es(n,e){return $(n,e)}function di(n,e,i){if(!re(n.segments,e.segments)||!mt(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!di(n.children[t],e.children[t],i))return!1;return!0}function Ms(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>ui(n[i],e[i]))}function fi(n,e,i){return pi(n,e,e.segments,i)}function pi(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!re(r,i)||e.hasChildren()||!mt(r,i,t))}else if(n.segments.length===i.length){if(!re(n.segments,i)||!mt(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!fi(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!re(n.segments,r)||!mt(n.segments,r,t)||!n.children[g]?!1:pi(n.children[g],e,s,t)}}function mt(n,e,i){return e.every((t,r)=>hi[i](n[r].parameters,t.parameters))}var G=class{constructor(e=new v([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){return As.serialize(this)}},v=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vt(this)}},ne=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=pe(this.parameters)),this._parameterMap}toString(){return mi(this)}};function Ts(n,e){return re(n,e)&&n.every((i,t)=>$(i.parameters,e[t].parameters))}function re(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function Is(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===g&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==g&&(i=i.concat(e(r,t)))}),i}var Ge=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>(()=>new $e)(),providedIn:"root"});let n=e;return n})(),$e=class{parse(e){let i=new mn(e);return new G(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${Pe(e.root,!0)}`,t=xs(e.queryParams),r=typeof e.fragment=="string"?`#${Ds(e.fragment)}`:"";return`${i}${t}${r}`}},As=new $e;function vt(n){return n.segments.map(e=>mi(e)).join("/")}function Pe(n,e){if(!n.hasChildren())return vt(n);if(e){let i=n.children[g]?Pe(n.children[g],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==g&&t.push(`${r}:${Pe(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=Is(n,(t,r)=>r===g?[Pe(n.children[g],!1)]:[`${r}:${Pe(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[g]!=null?`${vt(n)}/${i[0]}`:`${vt(n)}/(${i.join("//")})`}}function gi(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pt(n){return gi(n).replace(/%3B/gi,";")}function Ds(n){return encodeURI(n)}function gn(n){return gi(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yt(n){return decodeURIComponent(n)}function ni(n){return yt(n.replace(/\+/g,"%20"))}function mi(n){return`${gn(n.path)}${Os(n.parameters)}`}function Os(n){return Object.keys(n).map(e=>`;${gn(e)}=${gn(n[e])}`).join("")}function xs(n){let e=Object.keys(n).map(i=>{let t=n[i];return Array.isArray(t)?t.map(r=>`${pt(i)}=${pt(r)}`).join("&"):`${pt(i)}=${pt(t)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}var Ps=/^[^\/()?;#]+/;function un(n){let e=n.match(Ps);return e?e[0]:""}var Us=/^[^\/()?;=#]+/;function Ns(n){let e=n.match(Us);return e?e[0]:""}var Ls=/^[^=?&#]+/;function js(n){let e=n.match(Ls);return e?e[0]:""}var ks=/^[^&#]+/;function $s(n){let e=n.match(ks);return e?e[0]:""}var mn=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],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 i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[g]=new v(e,i)),t}parseSegment(){let e=un(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(e),new ne(yt(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=Ns(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=un(this.remaining);r&&(t=r,this.capture(t))}e[yt(i)]=yt(t)}parseQueryParam(e){let i=js(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let o=$s(this.remaining);o&&(t=o,this.capture(t))}let r=ni(i),s=ni(t);if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=un(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new b(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=g);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[g]:new v([],o),this.consumeOptional("//")}return i}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 b(4011,!1)}};function vi(n){return n.segments.length>0?new v([],{[g]:n}):n}function yi(n){let e={};for(let t of Object.keys(n.children)){let r=n.children[t],s=yi(r);if(t===g&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new v(n.segments,e);return _s(i)}function _s(n){if(n.numberOfChildren===1&&n.children[g]){let e=n.children[g];return new v(n.segments.concat(e.segments),e.children)}return n}function ge(n){return n instanceof G}function zs(n,e,i=null,t=null){let r=wi(n);return Si(r,e,i,t)}function wi(n){let e;function i(s){let o={};for(let u of s.children){let c=i(u);o[u.outlet]=c}let a=new v(s.url,o);return s===n&&(e=a),a}let t=i(n.root),r=vi(t);return e??r}function Si(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return ln(r,r,r,i,t);let s=Fs(e);if(s.toRoot())return ln(r,r,new v([],{}),i,t);let o=Hs(s,r,n),a=o.processChildren?Le(o.segmentGroup,o.index,s.commands):Ri(o.segmentGroup,o.index,s.commands);return ln(r,o.segmentGroup,a,i,t)}function wt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function _e(n){return typeof n=="object"&&n!=null&&n.outlets}function ln(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,c])=>{s[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let o;n===e?o=i:o=Ci(n,e,i);let a=vi(yi(o));return new G(a,s,r)}function Ci(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=Ci(s,e,i)}),new v(n.segments,t)}var St=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&wt(t[0]))throw new b(4003,!1);let r=t.find(_e);if(r&&r!==li(t))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Fs(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new St(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new St(i,e,t)}var de=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Hs(n,e,i){if(n.isAbsolute)return new de(e,!0,0);if(!i)return new de(e,!1,NaN);if(i.parent===null)return new de(i,!0,0);let t=wt(n.commands[0])?0:1,r=i.segments.length-1+t;return Vs(i,r,n.numberOfDoubleDots)}function Vs(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new b(4005,!1);r=t.segments.length}return new de(t,!1,r-s)}function qs(n){return _e(n[0])?n[0].outlets:{[g]:n}}function Ri(n,e,i){if(n||(n=new v([],{})),n.segments.length===0&&n.hasChildren())return Le(n,e,i);let t=Bs(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==g)&&n.children[g]&&n.numberOfChildren===1&&n.children[g].segments.length===0){let s=Le(n.children[g],e,i);return new v(n.segments,s.children)}return Object.entries(t).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=Ri(n.children[s],e,o))}),Object.entries(n.children).forEach(([s,o])=>{t[s]===void 0&&(r[s]=o)}),new v(n.segments,r)}}function Bs(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=n.segments[r],a=i[t];if(_e(a))break;let u=`${a}`,c=t0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!ii(u,c,o))return s;t+=2}else{if(!ii(u,{},o))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function vn(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=vn(new v([],{}),0,t))}),e}function ri(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function ii(n,e,i){return n==i.path&&$(e,i.parameters)}var je="imperative",L=class{constructor(e,i){this.id=e,this.url=i}},me=class extends L{constructor(e,i,t="imperative",r=null){super(e,i),this.type=0,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},_=class extends L{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Z=class extends L{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},K=class extends L{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=16}},ze=class extends L{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ct=class extends L{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yn=class extends L{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wn=class extends L{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Sn=class extends L{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cn=class extends L{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rn=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bn=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},En=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mn=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tn=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},In=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rt=class{constructor(e,i,t){this.routerEvent=e,this.position=i,this.anchor=t,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Fe=class{},He=class{constructor(e){this.url=e}};var An=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ze,this.attachRef=null}},Ze=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new An,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),bt=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Dn(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=Dn(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=On(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return On(e,this._root).map(i=>i.value)}};function Dn(n,e){if(n===e.value)return e;for(let i of e.children){let t=Dn(n,i);if(t)return t}return null}function On(n,e){if(n===e.value)return[e];for(let i of e.children){let t=On(n,i);if(t.length)return t.unshift(e),t}return[]}var P=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function he(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var Et=class extends bt{constructor(e,i){super(e),this.snapshot=i,zn(this,e)}toString(){return this.snapshot.toString()}};function bi(n,e){let i=Gs(n,e),t=new U([new ne("",{})]),r=new U({}),s=new U({}),o=new U({}),a=new U(""),u=new ie(t,r,o,a,s,g,e,i.root);return u.snapshot=i.root,new Et(new P(u,[]),i)}function Gs(n,e){let i={},t={},r={},s="",o=new Ve([],i,r,s,t,g,e,null,{});return new Mt("",new P(o,[]))}var ie=class{constructor(e,i,t,r,s,o,a,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(w(c=>c[We]))??d(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}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._paramMap=this.params.pipe(w(e=>pe(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(w(e=>pe(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _n(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:h(h({},e.params),n.params),data:h(h({},e.data),n.data),resolve:h(h(h(h({},n.data),e.data),r?.data),n._resolvedData)}:t={params:n.params,data:n.data,resolve:h(h({},n.data),n._resolvedData??{})},r&&Mi(r)&&(t.resolve[We]=r.title),t}var Ve=class{get title(){return this.data?.[We]}constructor(e,i,t,r,s,o,a,u,c){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=o,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||(this._paramMap=pe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Mt=class extends bt{constructor(e,i){super(i),this.url=e,zn(this,i)}toString(){return Ei(this._root)}};function zn(n,e){e.value._routerState=n,e.children.forEach(i=>zn(n,i))}function Ei(n){let e=n.children.length>0?` { ${n.children.map(Ei).join(", ")} } `:"";return`${n.value}${e}`}function hn(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,$(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),$(e.params,i.params)||n.paramsSubject.next(i.params),Rs(e.url,i.url)||n.urlSubject.next(i.url),$(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function xn(n,e){let i=$(n.params,e.params)&&Ts(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||xn(n.parent,e.parent))}function Mi(n){return typeof n.title=="string"||n.title===null}var Fn=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new Te,this.deactivateEvents=new Te,this.attachEvents=new Te,this.detachEvents=new Te,this.parentContexts=f(Ze),this.location=f(Sr),this.changeDetector=f(Wt),this.environmentInjector=f(be),this.inputBinder=f(Ot,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=t;let s=this.location,a=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Pn(t,u,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ft]});let n=e;return n})(),Pn=class{constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===ie?this.route:e===Ze?this.childContexts:this.parent.get(e,i)}},Ot=new M(""),si=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,s=Je([r.queryParams,r.params,r.data]).pipe(j(([o,a,u],c)=>(u=h(h(h({},o),a),u),c===0?d(u):Promise.resolve(u)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let a=Ur(r.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of a.inputs)t.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function Zs(n,e,i){let t=qe(n,e._root,i?i._root:void 0);return new Et(t,e)}function qe(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=Ks(n,e,i);return new P(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>qe(n,a)),o}}let t=Qs(e.value),r=e.children.map(s=>qe(n,s));return new P(t,r)}}function Ks(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return qe(n,t,r);return qe(n,t)})}function Qs(n){return new ie(new U(n.url),new U(n.params),new U(n.queryParams),new U(n.fragment),new U(n.data),n.outlet,n.component,n)}var Ti="ngNavigationCancelingError";function Ii(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=ge(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Ai(!1,0,e);return r.url=i,r.navigationBehaviorOptions=t,r}function Ai(n,e,i){let t=new Error("NavigationCancelingError: "+(n||""));return t[Ti]=!0,t.cancellationCode=e,i&&(t.url=i),t}function Ys(n){return Di(n)&&ge(n.url)}function Di(n){return n&&n[Ti]}var Xs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=tt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Tr],decls:1,vars:0,template:function(r,s){r&1&&A(0,"router-outlet")},dependencies:[Fn],encapsulation:2});let n=e;return n})();function Js(n,e){return n.providers&&!n._injector&&(n._injector=Zt(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Hn(n){let e=n.children&&n.children.map(Hn),i=e?I(h({},n),{children:e}):h({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==g&&(i.component=Xs),i}function z(n){return n.outlet||g}function eo(n,e){let i=n.filter(t=>z(t)===e);return i.push(...n.filter(t=>z(t)!==e)),i}function Ke(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var to=(n,e,i,t)=>w(r=>(new Un(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),Un=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),hn(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=he(i);e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],t),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let o=t.getContext(r.outlet);o&&this.deactivateChildRoutes(e,i,o.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=he(e);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(t&&t.outlet){let o=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=he(e);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=he(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new In(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Mn(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(hn(r),r===s)if(r.component){let o=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,o.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let o=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),hn(a.route.value),this.activateChildRoutes(e,null,o.children)}else{let a=Ke(r.snapshot);o.attachRef=null,o.route=r,o.injector=a,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,t)}},Tt=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},fe=class{constructor(e,i){this.component=e,this.route=i}};function no(n,e,i){let t=n._root,r=e?e._root:null;return Ue(t,r,i,[t.value])}function ro(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function ye(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!sr(n)?n:e.get(n):t}function Ue(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=he(e);return n.children.forEach(o=>{io(o,s[o.value.outlet],i,t.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>ke(a,i.getContext(o),r)),r}function io(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,o=e?e.value:null,a=i?i.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let u=so(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Tt(t)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ue(n,e,a?a.children:null,t,r):Ue(n,e,i,t,r),u&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new fe(a.outlet.component,o))}else o&&ke(e,a,r),r.canActivateChecks.push(new Tt(t)),s.component?Ue(n,null,a?a.children:null,t,r):Ue(n,null,i,t,r);return r}function so(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!re(n.url,e.url);case"pathParamsOrQueryParamsChange":return!re(n.url,e.url)||!$(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xn(n,e)||!$(n.queryParams,e.queryParams);case"paramsChange":default:return!xn(n,e)}}function ke(n,e,i){let t=he(n),r=n.value;Object.entries(t).forEach(([s,o])=>{r.component?e?ke(o,e.children.getContext(s),i):ke(o,null,i):ke(o,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new fe(e.outlet.component,r)):i.canDeactivateChecks.push(new fe(null,r)):i.canDeactivateChecks.push(new fe(null,r))}function Qe(n){return typeof n=="function"}function oo(n){return typeof n=="boolean"}function ao(n){return n&&Qe(n.canLoad)}function co(n){return n&&Qe(n.canActivate)}function uo(n){return n&&Qe(n.canActivateChild)}function lo(n){return n&&Qe(n.canDeactivate)}function ho(n){return n&&Qe(n.canMatch)}function Oi(n){return n instanceof Xn||n?.name==="EmptyError"}var gt=Symbol("INITIAL_VALUE");function ve(){return j(n=>Je(n.map(e=>e.pipe(ae(1),rr(gt)))).pipe(w(e=>{for(let i of e)if(i!==!0){if(i===gt)return gt;if(i===!1||i instanceof G)return i}return!0}),ee(e=>e!==gt),ae(1)))}function fo(n,e){return O(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?d(I(h({},i),{guardsResult:!0})):po(o,t,r,n).pipe(O(a=>a&&oo(a)?go(t,s,n,e):d(a)),w(a=>I(h({},i),{guardsResult:a})))})}function po(n,e,i,t){return D(n).pipe(O(r=>So(r.component,r.route,i,e,t)),H(r=>r!==!0,!0))}function go(n,e,i,t){return D(e).pipe(oe(r=>Jn(vo(r.route.parent,t),mo(r.route,t),wo(n,r.path,i),yo(n,r.route,i))),H(r=>r!==!0,!0))}function mo(n,e){return n!==null&&e&&e(new Tn(n)),d(!0)}function vo(n,e){return n!==null&&e&&e(new En(n)),d(!0)}function yo(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return d(!0);let r=t.map(s=>jt(()=>{let o=Ke(e)??i,a=ye(s,o),u=co(a)?a.canActivate(e,n):W(o,()=>a(e,n));return Y(u).pipe(H())}));return d(r).pipe(ve())}function wo(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>ro(o)).filter(o=>o!==null).map(o=>jt(()=>{let a=o.guards.map(u=>{let c=Ke(o.node)??i,l=ye(u,c),p=uo(l)?l.canActivateChild(t,n):W(c,()=>l(t,n));return Y(p).pipe(H())});return d(a).pipe(ve())}));return d(s).pipe(ve())}function So(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let u=Ke(e)??r,c=ye(a,u),l=lo(c)?c.canDeactivate(n,e,i,t):W(u,()=>c(n,e,i,t));return Y(l).pipe(H())});return d(o).pipe(ve())}function Co(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return d(!0);let s=r.map(o=>{let a=ye(o,n),u=ao(a)?a.canLoad(e,i):W(n,()=>a(e,i));return Y(u)});return d(s).pipe(ve(),xi(t))}function xi(n){return Qn(E(e=>{if(ge(e))throw Ii(n,e)}),w(e=>e===!0))}function Ro(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return d(!0);let s=r.map(o=>{let a=ye(o,n),u=ho(a)?a.canMatch(e,i):W(n,()=>a(e,i));return Y(u)});return d(s).pipe(ve(),xi(t))}var Be=class{constructor(e){this.segmentGroup=e||null}},It=class extends Error{constructor(e){super(),this.urlTree=e}};function le(n){return Ce(new Be(n))}function bo(n){return Ce(new b(4e3,!1))}function Eo(n){return Ce(Ai(!1,3))}var Nn=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}noMatchError(e){return new b(4002,!1)}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return d(t);if(r.numberOfChildren>1||!r.children[g])return bo(e.redirectTo);r=r.children[g]}}applyRedirectCommands(e,i,t){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new It(r);return r}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new G(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);t[r]=i[a]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),o={};return Object.entries(i.children).forEach(([a,u])=>{o[a]=this.createSegmentGroup(e,u,t,r)}),new v(s,o)}createSegments(e,i,t,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new b(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},Ln={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mo(n,e,i,t,r){let s=Vn(n,e,i);return s.matched?(t=Js(e,t),Ro(t,e,i,r).pipe(w(o=>o===!0?s:h({},Ln)))):d(s)}function Vn(n,e,i){if(e.path==="**")return To(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?h({},Ln):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Cs)(i,n,e);if(!r)return h({},Ln);let s={};Object.entries(r.posParams??{}).forEach(([a,u])=>{s[a]=u.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function To(n){return{matched:!0,parameters:n.length>0?li(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function oi(n,e,i,t){return i.length>0&&Do(n,i,t)?{segmentGroup:new v(e,Ao(t,new v(i,n.children))),slicedSegments:[]}:i.length===0&&Oo(n,i,t)?{segmentGroup:new v(n.segments,Io(n,e,i,t,n.children)),slicedSegments:i}:{segmentGroup:new v(n.segments,n.children),slicedSegments:i}}function Io(n,e,i,t,r){let s={};for(let o of t)if(xt(n,i,o)&&!r[z(o)]){let a=new v([],{});s[z(o)]=a}return h(h({},r),s)}function Ao(n,e){let i={};i[g]=e;for(let t of n)if(t.path===""&&z(t)!==g){let r=new v([],{});i[z(t)]=r}return i}function Do(n,e,i){return i.some(t=>xt(n,e,t)&&z(t)!==g)}function Oo(n,e,i){return i.some(t=>xt(n,e,t))}function xt(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function xo(n,e,i,t){return z(n)!==t&&(t===g||!xt(e,i,n))?!1:Vn(e,n,i).matched}function Po(n,e,i){return e.length===0&&!n.children[i]}var jn=class{};function Uo(n,e,i,t,r,s,o="emptyOnly"){return new kn(n,e,i,t,r,o,s).recognize()}var No=31,kn=class{constructor(e,i,t,r,s,o,a){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new Nn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new b(4002,!1)}recognize(){let e=oi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(w(i=>{let t=new Ve([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},g,this.rootComponentType,null,{}),r=new P(t,i),s=new Mt("",r),o=zs(t,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,g).pipe(se(t=>{if(t instanceof It)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Be?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,r=_n(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,r,!0).pipe(w(s=>s instanceof P?[s]:[]))}processChildren(e,i,t){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);return D(r).pipe(oe(s=>{let o=t.children[s],a=eo(i,s);return this.processSegmentGroup(e,a,o,s)}),nr((s,o)=>(s.push(...o),s)),kt(null),tr(),O(s=>{if(s===null)return le(t);let o=Pi(s);return Lo(o),d(o)}))}processSegment(e,i,t,r,s,o){return D(i).pipe(oe(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,t,r,s,o).pipe(se(u=>{if(u instanceof Be)return d(null);throw u}))),H(a=>!!a),se(a=>{if(Oi(a))return Po(t,r,s)?d(new jn):le(t);throw a}))}processSegmentAgainstRoute(e,i,t,r,s,o,a){return xo(t,r,s,o)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,o):le(r):le(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,o){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=Vn(i,r,s);if(!a)return le(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>No&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(u,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,p).pipe(O(m=>this.processSegment(e,t,i,m.concat(l),o,!1)))}matchSegmentAgainstRoute(e,i,t,r,s){let o=Mo(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),o.pipe(j(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe(j(({routes:u})=>{let c=t._loadedInjector??e,{consumedSegments:l,remainingSegments:p,parameters:m}=a,R=new Ve(l,m,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ko(t),z(t),t.component??t._loadedComponent??null,t,$o(t)),{segmentGroup:we,slicedSegments:Se}=oi(i,l,p,u);if(Se.length===0&&we.hasChildren())return this.processChildren(c,u,we).pipe(w(X=>X===null?null:new P(R,X)));if(u.length===0&&Se.length===0)return d(new P(R,[]));let Pt=z(t)===s;return this.processSegment(c,u,we,Se,Pt?g:s,!0).pipe(w(X=>new P(R,X instanceof P?[X]:[])))}))):le(i)))}getChildConfig(e,i,t){return i.children?d({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?d({routes:i._loadedRoutes,injector:i._loadedInjector}):Co(e,i,t,this.urlSerializer).pipe(O(r=>r?this.configLoader.loadChildren(e,i).pipe(E(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):Eo(i))):d({routes:[],injector:e})}};function Lo(n){n.sort((e,i)=>e.value.outlet===g?-1:i.value.outlet===g?1:e.value.outlet.localeCompare(i.value.outlet))}function jo(n){let e=n.value.routeConfig;return e&&e.path===""}function Pi(n){let e=[],i=new Set;for(let t of n){if(!jo(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Pi(t.children);e.push(new P(t.value,r))}return e.filter(t=>!i.has(t))}function ko(n){return n.data||{}}function $o(n){return n.resolve||{}}function _o(n,e,i,t,r,s){return O(o=>Uo(n,e,i,t,o.extractedUrl,r,s).pipe(w(({state:a,tree:u})=>I(h({},o),{targetSnapshot:a,urlAfterRedirects:u}))))}function zo(n,e){return O(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return d(i);let s=new Set(r.map(u=>u.route)),o=new Set;for(let u of s)if(!o.has(u))for(let c of Ui(u))o.add(c);let a=0;return D(o).pipe(oe(u=>s.has(u)?Fo(u,t,n,e):(u.data=_n(u,u.parent,n).resolve,d(void 0))),E(()=>a++),$t(1),O(u=>a===o.size?d(i):J))})}function Ui(n){let e=n.children.map(i=>Ui(i)).flat();return[n,...e]}function Fo(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!Mi(r)&&(s[We]=r.title),Ho(s,n,e,t).pipe(w(o=>(n._resolvedData=o,n.data=_n(n,n.parent,i).resolve,null)))}function Ho(n,e,i,t){let r=pn(n);if(r.length===0)return d({});let s={};return D(r).pipe(O(o=>Vo(n[o],e,i,t).pipe(H(),E(a=>{s[o]=a}))),$t(1),er(s),se(o=>Oi(o)?J:Ce(o)))}function Vo(n,e,i,t){let r=Ke(e)??t,s=ye(n,r),o=s.resolve?s.resolve(e,i):W(r,()=>s(e,i));return Y(o)}function dn(n){return j(e=>{let i=n(e);return i?D(i).pipe(w(()=>e)):d(e)})}var Ni=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===g);return r}getResolvedTitleForRoute(t){return t.data[We]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>(()=>f(qo))(),providedIn:"root"});let n=e;return n})(),qo=(()=>{let e=class e extends Ni{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(y(cn))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ye=new M("",{providedIn:"root",factory:()=>({})}),At=new M("ROUTES"),qn=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(ot)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return d(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Y(t.loadComponent()).pipe(w(Li),E(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),et(()=>{this.componentLoaders.delete(t)})),s=new Nt(r,()=>new F).pipe(Ut());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return d({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Bo(r,this.compiler,t,this.onLoadEndListener).pipe(et(()=>{this.childrenLoaders.delete(r)})),a=new Nt(o,()=>new F).pipe(Ut());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Bo(n,e,i,t){return Y(n.loadChildren()).pipe(w(Li),O(r=>r instanceof Mr||Array.isArray(r)?d(r):D(e.compileModuleAsync(r))),w(r=>{t&&t(n);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(At,[],{optional:!0,self:!0}).flat()),{routes:o.map(Hn),injector:s}}))}function Wo(n){return n&&typeof n=="object"&&"default"in n}function Li(n){return Wo(n)?n.default:n}var Bn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>(()=>f(Go))(),providedIn:"root"});let n=e;return n})(),Go=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ji=new M(""),ki=new M("");function Zo(n,e,i){let t=n.get(ki),r=n.get(N);return n.get(x).runOutsideAngular(()=>{if(!r.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,Promise.resolve();let s,o=new Promise(c=>{s=c}),a=r.startViewTransition(()=>(s(),Ko(n))),{onViewTransitionCreated:u}=t;return u&&W(n,()=>u({transition:a,from:e,to:i})),o})}function Ko(n){return new Promise(e=>{mr(e,{injector:n})})}var Wn=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new F,this.transitionAbortSubject=new F,this.configLoader=f(qn),this.environmentInjector=f(be),this.urlSerializer=f(Ge),this.rootContexts=f(Ze),this.location=f(Ae),this.inputBindingEnabled=f(Ot,{optional:!0})!==null,this.titleStrategy=f(Ni),this.options=f(Ye,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(Bn),this.createViewTransition=f(ji,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let t=s=>this.events.next(new Rn(s)),r=s=>this.events.next(new bn(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(I(h(h({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new U({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:je,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ee(o=>o.id!==0),w(o=>I(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),j(o=>{this.currentTransition=o;let a=!1,u=!1;return d(o).pipe(E(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?I(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),j(c=>{let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&p!=="reload"){let m="";return this.events.next(new K(c.id,this.urlSerializer.serialize(c.rawUrl),m,0)),c.resolve(null),J}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return d(c).pipe(j(m=>{let R=this.transitions?.getValue();return this.events.next(new me(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),R!==this.transitions?.getValue()?J:Promise.resolve(m)}),_o(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),E(m=>{o.targetSnapshot=m.targetSnapshot,o.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=I(h({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let R=new Ct(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(R)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:m,extractedUrl:R,source:we,restoredState:Se,extras:Pt}=c,X=new me(m,this.urlSerializer.serialize(R),we,Se);this.events.next(X);let Ki=bi(R,this.rootComponentType).snapshot;return this.currentTransition=o=I(h({},c),{targetSnapshot:Ki,urlAfterRedirects:R,extras:I(h({},Pt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,d(o)}else{let m="";return this.events.next(new K(c.id,this.urlSerializer.serialize(c.extractedUrl),m,1)),c.resolve(null),J}}),E(c=>{let l=new yn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),w(c=>(this.currentTransition=o=I(h({},c),{guards:no(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),fo(this.environmentInjector,c=>this.events.next(c)),E(c=>{if(o.guardsResult=c.guardsResult,ge(c.guardsResult))throw Ii(this.urlSerializer,c.guardsResult);let l=new wn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ee(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),dn(c=>{if(c.guards.canActivateChecks.length)return d(c).pipe(E(l=>{let p=new Sn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)}),j(l=>{let p=!1;return d(l).pipe(zo(this.paramsInheritanceStrategy,this.environmentInjector),E({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(l,"",2)}}))}),E(l=>{let p=new Cn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(p)}))}),dn(c=>{let l=p=>{let m=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(p.routeConfig).pipe(E(R=>{p.component=R}),w(()=>{})));for(let R of p.children)m.push(...l(R));return m};return Je(l(c.targetSnapshot.root)).pipe(kt(),ae(1))}),dn(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:c,targetSnapshot:l}=o,p=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return p?D(p).pipe(w(()=>o)):d(o)}),w(c=>{let l=Zs(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=I(h({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),E(()=>{this.events.next(new Fe)}),to(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ae(1),E({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),ir(this.transitionAbortSubject.pipe(E(c=>{throw c}))),et(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(o,c,1)}this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),se(c=>{if(u=!0,Di(c))this.events.next(new Z(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),Ys(c)?this.events.next(new He(c.url)):o.resolve(!1);else{this.events.next(new ze(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(c))}catch(l){o.reject(l)}}return J}))}))}cancelNavigationTransition(t,r,s){let o=new Z(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(o),t.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(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Qo(n){return n!==je}var Yo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>(()=>f(Xo))(),providedIn:"root"});let n=e;return n})(),$n=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},Xo=(()=>{let e=class e extends $n{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Ht(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),$i=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:()=>(()=>f(Jo))(),providedIn:"root"});let n=e;return n})(),Jo=(()=>{let e=class e extends $i{constructor(){super(...arguments),this.location=f(Ae),this.urlSerializer=f(Ge),this.options=f(Ye,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(Bn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new G,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=bi(this.currentUrlTree,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(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof me)this.stateMemento=this.createStateMemento();else if(t instanceof K)this.rawUrlTree=r.initialUrl;else if(t instanceof Ct){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else t instanceof Fe?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof Z&&(t.code===3||t.code===2)?this.restoreHistory(r):t instanceof ze?this.restoreHistory(r,!0):t instanceof _&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&o===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=Ht(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ne=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Ne||{});function _i(n,e){n.events.pipe(ee(i=>i instanceof _||i instanceof Z||i instanceof ze||i instanceof K),w(i=>i instanceof _||i instanceof K?Ne.COMPLETE:(i instanceof Z?i.code===0||i.code===1:!1)?Ne.REDIRECTING:Ne.FAILED),ee(i=>i!==Ne.REDIRECTING),ae(1)).subscribe(()=>{e()})}function ea(n){throw n}var ta={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},na={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Q=(()=>{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=f(st),this.stateManager=f($i),this.options=f(Ye,{optional:!0})||{},this.pendingTasks=f(Ir),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(Wn),this.urlSerializer=f(Ge),this.location=f(Ae),this.urlHandlingStrategy=f(Bn),this._events=new F,this.errorHandler=this.options.errorHandler||ea,this.navigated=!1,this.routeReuseStrategy=f(Yo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(At,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(Ot,{optional:!0}),this.eventsSubscription=new Kn,this.isNgZoneEnabled=f(x)instanceof x&&x.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Z&&r.code!==0&&r.code!==1)this.navigated=!0;else if(r instanceof _)this.navigated=!0;else if(r instanceof He){let a=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Qo(s.source)};this.scheduleNavigation(a,je,null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}ia(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),je,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=h({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Hn),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(t,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:u,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:a,p=null;switch(u){case"merge":p=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}p!==null&&(p=this.removeEmptyProps(p));let m;try{let R=s?s.snapshot:this.routerState.snapshot.root;m=wi(R)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),m=this.currentUrlTree.root}return Si(m,t,p,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=ge(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,je,null,r)}navigate(t,r={skipLocationChange:!1}){return ra(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=h({},ta):r===!1?s=h({},na):s=r,ge(t))return ti(this.currentUrlTree,t,s);let o=this.parseUrl(t);return ti(this.currentUrlTree,o,s)}removeEmptyProps(t){return Object.keys(t).reduce((r,s)=>{let o=t[s];return o!=null&&(r[s]=o),r},{})}scheduleNavigation(t,r,s,o,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((m,R)=>{u=m,c=R});let p=this.pendingTasks.add();return _i(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(m=>Promise.reject(m))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ra(n){for(let e=0;e{let e=class e{constructor(t,r,s,o,a,u){this.router=t,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new F,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof _&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,s,o,a){if(this.urlTree===null||this.isAnchorElement&&(t!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let t=this.href===null?null:hr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,t,r):s.removeAttribute(o,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(ue(Q),ue(ie),or("tabindex"),ue(pr),ue(dr),ue(Ie))},e.\u0275dir=zt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&br("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&yr("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ut],skipLocationChange:["skipLocationChange","skipLocationChange",ut],replaceUrl:["replaceUrl","replaceUrl",ut],routerLink:"routerLink"},standalone:!0,features:[vr,Ft]});let n=e;return n})();var Dt=class{};var sa=(()=>{let e=class e{constructor(t,r,s,o,a){this.router=t,this.injector=s,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ee(t=>t instanceof _),oe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let s=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Zt(o.providers,t,`Route: ${o.path}`));let a=o._injector??t,u=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&s.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&s.push(this.processRoutes(u,o.children??o._loadedRoutes))}return D(s).pipe(Lt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let s;r.loadChildren&&r.canLoad===void 0?s=this.loader.loadChildren(t,r):s=d(null);let o=s.pipe(O(a=>a===null?d(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return D([o,a]).pipe(Lt())}else return o})}};e.\u0275fac=function(r){return new(r||e)(y(Q),y(ot),y(be),y(Dt),y(qn))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fi=new M(""),oa=(()=>{let e=class e{constructor(t,r,s,o,a={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=s,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=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(t=>{t instanceof me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof _?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof K&&t.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Rt&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Rt(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){gr()},e.\u0275prov=S({token:e,factory:e.\u0275fac});let n=e;return n})();function aa(n){return n.routerState.root}function Xe(n,e){return{\u0275kind:n,\u0275providers:e}}function ca(){let n=f(nt);return e=>{let i=n.get(Yt);if(e!==i.components[0])return;let t=n.get(Q),r=n.get(Hi);n.get(Gn)===1&&t.initialNavigation(),n.get(Vi,null,_t.Optional)?.setUpPreloading(),n.get(Fi,null,_t.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Hi=new M("",{factory:()=>new F}),Gn=new M("",{providedIn:"root",factory:()=>1});function ua(){return Xe(2,[{provide:Gn,useValue:0},{provide:Kt,multi:!0,deps:[nt],useFactory:e=>{let i=e.get(jr,Promise.resolve());return()=>i.then(()=>new Promise(t=>{let r=e.get(Q),s=e.get(Hi);_i(r,()=>{t(!0)}),e.get(Wn).afterPreactivation=()=>(t(!0),s.closed?d(void 0):s),r.initialNavigation()}))}}])}function la(){return Xe(3,[{provide:Kt,multi:!0,useFactory:()=>{let e=f(Q);return()=>{e.setUpLocationChangeListener()}}},{provide:Gn,useValue:2}])}var Vi=new M("");function ha(n){return Xe(0,[{provide:Vi,useExisting:sa},{provide:Dt,useExisting:n}])}function da(){return Xe(8,[si,{provide:Ot,useExisting:si}])}function fa(n){let e=[{provide:ji,useValue:Zo},{provide:ki,useValue:h({skipNextTransition:!!n?.skipInitialTransition},n)}];return Xe(9,e)}var ai=new M("ROUTER_FORROOT_GUARD"),pa=[Ae,{provide:Ge,useClass:$e},Q,Ze,{provide:ie,useFactory:aa,deps:[Q]},qn,[]],Zn=(()=>{let e=class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[pa,[],{provide:At,multi:!0,useValue:t},{provide:ai,useFactory:ya,deps:[[Q,new Vt,new ar]]},{provide:Ye,useValue:r||{}},r?.useHash?ma():va(),ga(),r?.preloadingStrategy?ha(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?wa(r):[],r?.bindToComponentInputs?da().\u0275providers:[],r?.enableViewTransitions?fa().\u0275providers:[],Sa()]}}static forChild(t){return{ngModule:e,providers:[{provide:At,multi:!0,useValue:t}]}}};e.\u0275fac=function(r){return new(r||e)(y(ai,8))},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let n=e;return n})();function ga(){return{provide:Fi,useFactory:()=>{let n=f(Vr),e=f(x),i=f(Ye),t=f(Wn),r=f(Ge);return i.scrollOffset&&n.setOffset(i.scrollOffset),new oa(r,t,n,e,i)}}}function ma(){return{provide:Ie,useClass:$r}}function va(){return{provide:Ie,useClass:kr}}function ya(n){return"guarded"}function wa(n){return[n.initialNavigation==="disabled"?la().\u0275providers:[],n.initialNavigation==="enabledBlocking"?ua().\u0275providers:[]]}var ci=new M("");function Sa(){return[{provide:ci,useFactory:ca},{provide:Dr,multi:!0,useExisting:ci}]}var Ra=[{path:"",loadComponent:()=>import("./chunk-7VRMRLPN.js")},{path:"directive-way",loadComponent:()=>import("./chunk-R6LAWAEE.js")}],qi=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Zn.forRoot(Ra,{}),Zn]});let n=e;return n})();var Bi={TAG:"17.0.1",COMMIT_HASH:""};function ba(n,e){if(n&1&&(C(0,"p",17),k(1),T()),n&2){let i=Er();it(1),Gt(" ",i.lipsum," ")}}var Wi=(()=>{let e=class e{constructor(){this.title="NgxScrollTop demo | Angular go to top button",this.version=Bi,this.iterations=new Array(60),this.lipsum="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ultricies integer quis auctor elit sed vulputate mi sit. Tincidunt arcu non sodales neque sodales ut etiam sit. Mi proin sed libero enim sed faucibus. Varius vel pharetra vel turpis nunc eget lorem. Porttitor massa id neque aliquam vestibulum morbi blandit cursus risus. Etiam dignissim diam quis enim lobortis scelerisque fermentum dui. Magna eget est lorem ipsum dolor sit. Tempor orci dapibus ultrices in. Nulla aliquet porttitor lacus luctus accumsan tortor. Imperdiet nulla malesuada pellentesque elit eget gravida cum sociis natoque. Nibh cras pulvinar mattis nunc sed blandit libero. At ultrices mi tempus imperdiet nulla malesuada pellentesque. Nec feugiat nisl pretium fusce id velit ut tortor. Massa tempor nec feugiat nisl pretium fusce id."}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=tt({type:e,selectors:[["app-root"]],decls:49,vars:2,consts:[["role","banner",1,"toolbar"],["width","40","alt","Angular Logo","src","https://raw.githubusercontent.com/bartholomej/ngx-scrolltop/HEAD/_assets/ngx-scrolltop_logo.svg?sanitize=true"],[1,"spacer"],["aria-label","ngx-scrolltop on github","target","_blank","rel","noopener","href","https://github.com/bartholomej/ngx-scrolltop","title","Github"],["id","github-logo","aria-hidden","true","height","24","focusable","false","data-prefix","fab","data-icon","github","role","img","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"svg-inline--fa","fa-github","fa-w-16"],["fill","#ffffff","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"],["role","main",1,"content"],[1,"card","highlight-card","card-small"],["width","24","alt","ngx-scrolltop logo","src","https://raw.githubusercontent.com/bartholomej/ngx-scrolltop/HEAD/_assets/ngx-scrolltop_logo.svg?sanitize=true",1,"card-logo"],["id","rocket-smoke","alt","Rocket Ship Smoke","xmlns","http://www.w3.org/2000/svg","width","516.119","height","1083.632","viewBox","0 0 516.119 1083.632"],["id","Path_40","data-name","Path 40","d","M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z","transform","translate(-147.025 -140.939)","fill","#f5f5f5"],[1,"card-container"],["routerLink",""],["tabindex","0",1,"card","card-small"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"],["routerLink","directive-way"],[1,"muted"],["class","muted",4,"ngFor","ngForOf"],["href","https://github.com/bartholomej/ngx-scrolltop","target","_blank","rel","noopener"],[1,"github-star-badge"],["d","M0 0h24v24H0z","fill","none"],["d","M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"],["href","https://github.com/angular/angular","target","_blank","rel","noopener"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z","fill","#1976d2"],["id","clouds","alt","Gray Clouds Background","xmlns","http://www.w3.org/2000/svg","width","2611.084","height","485.677","viewBox","0 0 2611.084 485.677"],["id","Path_39","data-name","Path 39","d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z","transform","translate(142.69 -634.312)","fill","#eee"]],template:function(r,s){r&1&&(C(0,"div",0),A(1,"img",1),C(2,"span"),k(3,"Demo page for ngx-scroltop"),T(),A(4,"div",2),C(5,"a",3),te(),C(6,"svg",4),A(7,"path",5),T()()(),ce(),C(8,"div",6)(9,"div",7),A(10,"img",8),C(11,"span"),k(12),T(),te(),C(13,"svg",9),A(14,"path",10),T()(),ce(),C(15,"h3"),k(16,"Choose your style:"),T(),C(17,"div",11)(18,"a",12)(19,"div",13),te(),C(20,"svg",14),A(21,"path",15),T(),ce(),C(22,"span"),k(23,"Component"),T()()(),C(24,"a",16)(25,"div",13),te(),C(26,"svg",14),A(27,"path",15),T(),ce(),C(28,"span"),k(29,"Directive"),T()()()(),A(30,"router-outlet"),C(31,"h3",17),k(32," Dummy text "),T(),Cr(33,ba,2,1,"p",18),C(34,"footer"),k(35," Love this library?\xA0 "),C(36,"a",19),k(37," Give our repo a star. "),C(38,"div",20),te(),C(39,"svg",14),A(40,"path",21)(41,"path",22),T(),k(42," Star "),T()(),ce(),C(43,"a",23),te(),C(44,"svg",14),A(45,"path",24)(46,"path",21),T()()(),C(47,"svg",25),A(48,"path",26),T()()),r&2&&(it(12),Gt("ngx-scrolltop v",s.version.TAG,""),it(21),wr("ngForOf",s.iterations))},dependencies:[zr,Fn,zi],styles:['[_nghost-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;color:#333;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}']});let n=e;return n})();var Gi=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e,bootstrap:[Wi]}),e.\u0275inj=V({imports:[Jr,qi]});let n=e;return n})();var Zi={production:!0};Zi.production&&void 0;Xr().bootstrapModule(Gi).catch(n=>console.error(n)); diff --git a/polyfills-F4P3OIQ6.js b/polyfills-F4P3OIQ6.js deleted file mode 100644 index 475dc89..0000000 --- a/polyfills-F4P3OIQ6.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){let n=e.performance;function s(A){n&&n.mark&&n.mark(A)}function r(A,h){n&&n.measure&&n.measure(A,h)}s("Zone");let i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(A){return i+A}let m=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(m||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{let h=class h{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=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return ne}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){let _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if(typeof t!="function")throw new Error("Expecting function got: "+t);let w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===P))return;let L=t.state!=y;L&&t._transitionTo(y,j),t.runCount++;let a=ne;ne=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(j,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,ne=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);let _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(j,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new p(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new p(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new p(Q,t,_,w,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(!(t.state!==j&&t.state!==y)){t._transitionTo(V,j,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){let w=t._zoneDelegates;_==-1&&(t._zoneDelegates=null);for(let L=0;LA.hasTask(c,t),onScheduleTask:(A,h,c,t)=>A.scheduleTask(c,t),onInvokeTask:(A,h,c,t,_,w)=>A.invokeTask(c,t,_,w),onCancelTask:(A,h,c,t)=>A.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let _=t&&t.onHasTask,w=c&&c._hasTaskZS;(_||w)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c):!0}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==I)C(c);else throw new Error("Task is missing scheduleFn.");return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){let t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");if(_==0||w==0){let L={microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h};this.hasTask(this.zone,L)}}}class p{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;let a=this;h===Q&&_&&_.useG?this.invoke=p.invokeTask:this.invoke=function(){return p.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{ee==1&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state===c||this._state===t)this._state=h,h==G&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, 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 M=l("setTimeout"),O=l("Promise"),N=l("then"),U=[],H=!1,K;function X(A){if(K||e[O]&&(K=e[O].resolve(0)),K){let h=K[N];h||(h=K.then),h.call(K,A)}else e[M](A,0)}function C(A){ee===0&&U.length===0&&X(T),A&&U.push(A)}function T(){if(!H){for(H=!0;U.length;){let A=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X},W={parent:null,zone:new E(null,null)},ne=null,ee=0;function q(){}return r("Zone","Zone"),e.Zone=E})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}var x=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let s=e.length-1;s>=0;s--)typeof e[s]=="function"&&(e[s]=Ae(e[s],n+"_"+s));return e}function lt(e,n){let s=e.constructor.name;for(let r=0;r{let b=function(){return E.apply(this,He(arguments,s+"."+i))};return ae(b,E),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in $)&&typeof $.process<"u"&&{}.toString.call($.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof $.process<"u"&&{}.toString.call($.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||$.event,!e)return;let n=be[e.type];n||(n=be[e.type]=x("ON_PROPERTY"+e.type));let s=this||e.target||$,r=s[n],i;if(xe&&s===Te&&e.type==="error"){let l=e;i=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),i===!0&&e.preventDefault()}else i=r&&r.apply(this,arguments),i!=null&&!i&&e.preventDefault();return i};function qe(e,n,s){let r=me(e,n);if(!r&&s&&me(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let i=x("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;let l=r.get,m=r.set,E=n.slice(2),b=be[E];b||(b=be[E]=x("ON_PROPERTY"+E)),r.set=function(v){let p=this;if(!p&&e===$&&(p=$),!p)return;typeof p[b]=="function"&&p.removeEventListener(E,We),m&&m.call(p,null),p[b]=v,typeof v=="function"&&p.addEventListener(E,We,!1)},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;let p=v[b];if(p)return p;if(l){let M=l.call(this);if(M)return r.set.call(this,M),typeof v[at]=="function"&&v.removeAttribute(n),M}return null},Ne(e,n,r),e[i]=!0}function Ke(e,n,s){if(n)for(let r=0;rfunction(m,E){let b=s(m,E);return b.cbIdx>=0&&typeof E[b.cbIdx]=="function"?je(b.name,E[b.cbIdx],b,i):l.apply(m,E)})}function ae(e,n){e[x("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!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,s)=>{let r=Object.getOwnPropertyDescriptor,i=Object.defineProperty;function l(a){if(a&&a.toString===Object.prototype.toString){let u=a.constructor&&a.constructor.name;return(u||"")+": "+JSON.stringify(a)}return a?a.toString():Object.prototype.toString.call(a)}let m=s.symbol,E=[],b=e[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,v=m("Promise"),p=m("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){let u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){let a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};let O=m("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{let u=n[O];typeof u=="function"&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function H(a){return a}function K(a){return c.reject(a)}let X=m("state"),C=m("value"),T=m("finally"),J=m("parentPromiseValue"),G=m("parentPromiseState"),z="Promise.then",j=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}let P=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=m("currentTaskTrace");function Y(a,u,o){let f=P();if(a===o)throw new TypeError(Q);if(a[X]===j){let k=null;try{(typeof o=="object"||typeof o=="function")&&(k=o&&o.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==j)ne(o),Y(a,o[X],o[C]);else if(u!==V&&typeof k=="function")try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;let R=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[J]),u===V&&o instanceof Error){let g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{let S=a[C],D=!!o&&T===o[T];D&&(o[J]=S,o[G]=R);let Z=u.run(g,void 0,D&&g!==K&&g!==H?[]:[S]);Y(o,!0,Z)}catch(S){Y(o,!1,S)}},o)}let q="function ZoneAwarePromise() { [native code] }",A=function(){},h=e.AggregateError;class c{static toString(){return q}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new h([],"All promises were rejected"));let o=[],f=0;try{for(let g of u)f++,o.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(f===0)return Promise.reject(new h([],"All promises were rejected"));let k=!1,R=[];return new c((g,S)=>{for(let D=0;D{k||(k=!0,g(Z))},Z=>{R.push(Z),f--,f===0&&(k=!0,S(new h(R,"All promises were rejected")))})})}static race(u){let o,f,k=new this((S,D)=>{o=S,f=D});function R(S){o(S)}function g(S){f(S)}for(let S of u)U(S)||(S=this.resolve(S)),S.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,R=new this((Z,F)=>{f=Z,k=F}),g=2,S=0,D=[];for(let Z of u){U(Z)||(Z=this.resolve(Z));let F=S;try{Z.then(B=>{D[F]=o?o.thenCallback(B):B,g--,g===0&&f(D)},B=>{o?(D[F]=o.errorCallback(B),g--,g===0&&f(D)):k(B)})}catch(B){k(B)}g++,S++}return g-=2,g===0&&f(D),R}constructor(u){let o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=j,o[C]=[];try{let f=P();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){let f=this.constructor?.[Symbol.species];(!f||typeof f!="function")&&(f=this.constructor||c);let k=new f(A),R=n.current;return this[X]==j?this[C].push(R,k,u,o):ee(this,R,k,u,o),k}catch(u){return this.then(null,u)}finally(u){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=c);let f=new o(A);f[T]=T;let k=n.current;return this[X]==j?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;let t=e[v]=e.Promise;e.Promise=c;let _=m("thenPatched");function w(a){let u=a.prototype,o=r(u,"then");if(o&&(o.writable===!1||!o.configurable))return;let f=u.then;u[p]=f,a.prototype.then=function(k,R){return new c((S,D)=>{f.call(this,S,D)}).then(k,R)},a[_]=!0}s.patchThen=w;function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}return t&&(w(t),le(e,"fetch",a=>L(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,s=x("OriginalDelegate"),r=x("Promise"),i=x("Error"),l=function(){if(typeof this=="function"){let v=this[s];if(v)return typeof v=="function"?n.call(v):Object.prototype.toString.call(v);if(this===Promise){let p=e[r];if(p)return n.call(p)}if(this===Error){let p=e[i];if(p)return n.call(p)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;let m=Object.prototype.toString,E="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?E:m.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 dt={useG:!0},te={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=x("propagationStopped");function nt(e,n){let s=(n?n(e):e)+ce,r=(n?n(e):e)+ie,i=pe+s,l=pe+r;te[e]={},te[e][ce]=i,te[e][ie]=l}function _t(e,n,s,r){let i=r&&r.add||Me,l=r&&r.rm||Le,m=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=x(i),v="."+i+":",p="prependListener",M="."+p+":",O=function(C,T,J){if(C.isRemoved)return;let G=C.callback;typeof G=="object"&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);let z;try{C.invoke(C,T,[J])}catch(y){z=y}let j=C.options;if(j&&typeof j=="object"&&j.once){let y=C.originalDelegate?C.originalDelegate:C.callback;T[l].call(T,J.type,y,j)}return z};function N(C,T,J){if(T=T||e.event,!T)return;let G=C||T.target||e,z=G[te[T.type][J?ie:ce]];if(z){let j=[];if(z.length===1){let y=O(z[0],G,T);y&&j.push(y)}else{let y=z.slice();for(let V=0;V{throw V})}}}let U=function(C){return N(this,C,!1)},H=function(C){return N(this,C,!0)};function K(C,T){if(!C)return!1;let J=!0;T&&T.useG!==void 0&&(J=T.useG);let G=T&&T.vh,z=!0;T&&T.chkDup!==void 0&&(z=T.chkDup);let j=!1;T&&T.rt!==void 0&&(j=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=Ie(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;let V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[x(l)]=y[l],Q=y[x(m)]=y[m],oe=y[x(E)]=y[E],Y;T&&T.prepend&&(Y=y[x(T.prepend)]=y[T.prepend]);function W(o,f){return!_e&&typeof o=="object"&&o?!!o.capture:!_e||!f?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let ne=function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?H:U,d.options)},ee=function(o){if(!o.isRemoved){let f=te[o.eventName],k;f&&(k=f[o.capture?ie:ce]);let R=k&&o.target[k];if(R){for(let g=0;gfunction(i,l){i[tt]=!0,r&&r.apply(i,l)})}function Tt(e,n,s,r,i){let l=Zone.__symbol__(r);if(n[l])return;let m=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(p){let M=`${s}.${r}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){let N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),m.call(n,E,b,v)},e.attachOriginToPatched(n[r],m)}function ot(e,n,s){if(!s||s.length===0)return n;let r=s.filter(l=>l.target===e);if(!r||r.length===0)return n;let i=r[0].ignoreProperties;return n.filter(l=>i.indexOf(l)===-1)}function ze(e,n,s,r){if(!e)return;let i=ot(e,n,s);Ke(e,i,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let s=n.__Zone_ignore_on_properties,r=[];if(xe){let i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:i,ignoreProperties:["error"]}]:[];ze(i,Oe(i),s&&s.concat(l),Ie(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{let r=Oe(e);s.patchOnProperties=Ke,s.patchMethod=le,s.bindArguments=He,s.patchMacroTask=ut;let i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=Et,s.patchEventTarget=_t,s.isIEOrEdge=ht,s.ObjectDefineProperty=Ne,s.ObjectGetOwnPropertyDescriptor=me,s.ObjectCreate=it,s.ArraySlice=ct,s.patchClass=ge,s.wrapWithCurrentZone=Ae,s.filterProperties=ot,s.attachOriginToPatched=ae,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Tt,s.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:te,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var ve=x("zoneTask");function Ee(e,n,s,r){let i=null,l=null;n+=r,s+=r;let m={};function E(v){let p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=i.apply(e,p.args),v}function b(v){return l.call(e,v.data.handleId)}i=le(e,n,v=>function(p,M){if(typeof M[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete m[O.handleId]:O.handleId&&(O.handleId[ve]=null))}};let U=je(n,M[0],O,E,b);if(!U)return U;let H=U.data.handleId;return typeof H=="number"?m[H]=U:H&&(H[ve]=U),H&&H.ref&&H.unref&&typeof H.ref=="function"&&typeof H.unref=="function"&&(U.ref=H.ref.bind(H),U.unref=H.unref.bind(H)),typeof H=="number"||H?H:U}else return v.apply(e,M)}),l=le(e,s,v=>function(p,M){let O=M[0],N;typeof O=="number"?N=m[O]:(N=O&&O[ve],N||(N=O)),N&&typeof N.type=="string"?N.state!=="notScheduled"&&(N.cancelFn&&N.data.isPeriodic||N.runCount===0)&&(typeof O=="number"?delete m[O]:O&&(O[ve]=null),N.zone.cancelTask(N)):v.apply(e,M)})}function pt(e,n){let{isBrowser:s,isMix:r}=n.getGlobalObjects();if(!s&&!r||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",i)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:m}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",s="clear";Ee(e,n,s,"Timeout"),Ee(e,n,s,"Interval"),Ee(e,n,s,"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 s=["alert","prompt","confirm"];for(let r=0;rfunction(b,v){return n.current.run(l,e,v,E)})}});Zone.__load_patch("EventTarget",(e,n,s)=>{kt(e,s),gt(e,s);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&s.patchEventTarget(e,s,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,s)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,s)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,s)=>{yt(s,e)});Zone.__load_patch("customElements",(e,n,s)=>{pt(e,s)});Zone.__load_patch("XHR",(e,n)=>{b(e);let s=x("xhrTask"),r=x("xhrSync"),i=x("xhrListener"),l=x("xhrScheduled"),m=x("xhrURL"),E=x("xhrErrorBeforeScheduled");function b(v){let p=v.XMLHttpRequest;if(!p)return;let M=p.prototype;function O(d){return d[s]}let N=M[Se],U=M[De];if(!N){let d=v.XMLHttpRequestEventTarget;if(d){let I=d.prototype;N=I[Se],U=I[De]}}let H="readystatechange",K="scheduled";function X(d){let I=d.data,P=I.target;P[l]=!1,P[E]=!1;let Q=P[i];N||(N=P[Se],U=P[De]),Q&&U.call(P,H,Q);let oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===K){let W=P[n.__symbol__("loadfalse")];if(P.status!==0&&W&&W.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=I[2]==!1,d[m]=I[1],J.apply(d,I)}),G="XMLHttpRequest.send",z=x("fetchTaskAborting"),j=x("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(n.current[j]===!0||d[r])return y.apply(d,I);{let P={target:d,url:d[m],isPeriodic:!1,args:I,aborted:!1},Q=je(G,C,P,X,T);d&&d[E]===!0&&!P.aborted&&Q.state===K&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){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[z]===!0)return V.apply(d,I)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){rt(e,r).forEach(m=>{let E=e.PromiseRejectionEvent;if(E){let b=new E(r,{promise:i.promise,reason:i.rejection});m.invoke(b)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[x("rejectionHandledHandler")]=s("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,s)=>{mt(e,s)});