From cb3e570e1feffca7b26945a5283ae6127e3b47fc Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Tue, 9 Jan 2024 04:19:18 +0000 Subject: [PATCH] [.github/workflows/main.yml] Add shorter README for generated/compiled repo ; [{angular,package,package-lock}.json] Angular 15 -> 17 Triggered by commit: https://github.com/offscale/offscale-www/commit/40cf0ef2a030c289d22a5ab27eb8c2454dffb1e8 --- 388.c5a57f09bcdb9e70.js | 1 + 3rdpartylicenses.txt | 30 +------------- 404.html | 11 ++--- 503.16320fee8b0cf4f4.js | 1 - assets/styles/flex.scss | 78 +++++++++++++++++++++++++++++++++++ index.html | 11 ++--- main.65e9fd3e1912dcee.js | 1 + main.c4228b4298ad4f7e.js | 1 - polyfills.4a23e6e36ff11e81.js | 1 - polyfills.f84ce651ad273867.js | 1 + runtime.6864fe0318ef8637.js | 1 + runtime.851f765c792b5655.js | 1 - 12 files changed, 95 insertions(+), 43 deletions(-) create mode 100644 388.c5a57f09bcdb9e70.js delete mode 100644 503.16320fee8b0cf4f4.js create mode 100644 assets/styles/flex.scss create mode 100644 main.65e9fd3e1912dcee.js delete mode 100644 main.c4228b4298ad4f7e.js delete mode 100644 polyfills.4a23e6e36ff11e81.js create mode 100644 polyfills.f84ce651ad273867.js create mode 100644 runtime.6864fe0318ef8637.js delete mode 100644 runtime.851f765c792b5655.js diff --git a/388.c5a57f09bcdb9e70.js b/388.c5a57f09bcdb9e70.js new file mode 100644 index 0000000..b1ffc16 --- /dev/null +++ b/388.c5a57f09bcdb9e70.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[388],{388:(ft,V,w)=>{w.r(V),w.d(V,{SlashModule:()=>ht});var P=w(814),S=w(434),e=w(212),K=w(96),Y=w(592),Te=w(715),ve=w(328),Pe=w(181),U=w(398),Q=w(716),_e=w(535);class N{}class I{}class x{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const o=t.indexOf(":");if(o>0){const s=t.slice(0,o),i=s.toLowerCase(),a=t.slice(o+1).trim();this.maybeSetNormalizedName(s,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,o)=>{this.setHeaderEntries(o,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,o])=>{this.setHeaderEntries(t,o)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof x?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new x;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof x?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let o=n.value;if("string"==typeof o&&(o=[o]),0===o.length)return;this.maybeSetNormalizedName(n.name,t);const s=("a"===n.op?this.headers.get(t):void 0)||[];s.push(...o),this.headers.set(t,s);break;case"d":const i=n.value;if(i){let a=this.headers.get(t);if(!a)return;a=a.filter(l=>-1===i.indexOf(l)),0===a.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const o=(Array.isArray(t)?t:[t]).map(i=>i.toString()),s=n.toLowerCase();this.headers.set(s,o),this.maybeSetNormalizedName(n,s)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Me{encodeKey(n){return ee(n)}encodeValue(n){return ee(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Ae=/%(\d[a-f0-9])/gi,Ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(r){return encodeURIComponent(r).replace(Ae,(n,t)=>Ee[t]??n)}function D(r){return`${r}`}class b{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Me,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(r,n){const t=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{const i=s.indexOf("="),[a,l]=-1==i?[n.decodeKey(s),""]:[n.decodeKey(s.slice(0,i)),n.decodeValue(s.slice(i+1))],c=t.get(a)||[];c.push(l),t.set(a,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const o=n.fromObject[t],s=Array.isArray(o)?o.map(D):[D(o)];this.map.set(t,s)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(o=>{const s=n[o];Array.isArray(s)?s.forEach(i=>{t.push({param:o,value:i,op:"a"})}):t.push({param:o,value:s,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(o=>t+"="+this.encoder.encodeValue(o)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new b({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(D(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let o=this.map.get(n.param)||[];const s=o.indexOf(D(n.value));-1!==s&&o.splice(s,1),o.length>0?this.map.set(n.param,o):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class Se{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function te(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function ne(r){return typeof Blob<"u"&&r instanceof Blob}function re(r){return typeof FormData<"u"&&r instanceof FormData}class R{constructor(n,t,o,s){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function Re(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==o?o:null,i=s):i=o,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new x),this.context||(this.context=new Se),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=t;else{const l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":lp.set(g,n.setHeaders[g]),c)),n.setParams&&(h=Object.keys(n.setParams).reduce((p,g)=>p.set(g,n.setParams[g]),h)),new R(t,o,i,{params:h,headers:c,context:f,reportProgress:l,responseType:s,withCredentials:a})}}var T=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(T||{});class L{constructor(n,t=200,o="OK"){this.headers=n.headers||new x,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||o,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class H extends L{constructor(n={}){super(n),this.type=T.ResponseHeader}clone(n={}){return new H({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class _ extends L{constructor(n={}){super(n),this.type=T.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new _({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class A extends L{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function z(r,n){return{body:n,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache}}let ke=(()=>{class r{constructor(t){this.handler=t}request(t,o,s={}){let i;if(t instanceof R)i=t;else{let c,h;c=s.headers instanceof x?s.headers:new x(s.headers),s.params&&(h=s.params instanceof b?s.params:new b({fromObject:s.params})),i=new R(t,o,void 0!==s.body?s.body:null,{headers:c,context:s.context,params:h,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const a=(0,K.of)(i).pipe((0,ve.b)(c=>this.handler.handle(c)));if(t instanceof R||"events"===s.observe)return a;const l=a.pipe((0,Pe.h)(c=>c instanceof _));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe((0,U.U)(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe((0,U.U)(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe((0,U.U)(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe((0,U.U)(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(t,o={}){return this.request("DELETE",t,o)}get(t,o={}){return this.request("GET",t,o)}head(t,o={}){return this.request("HEAD",t,o)}jsonp(t,o){return this.request("JSONP",t,{params:(new b).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,o={}){return this.request("OPTIONS",t,o)}patch(t,o,s={}){return this.request("PATCH",t,z(s,o))}post(t,o,s={}){return this.request("POST",t,z(s,o))}put(t,o,s={}){return this.request("PUT",t,z(s,o))}static#e=this.\u0275fac=function(o){return new(o||r)(e.LFG(N))};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac})}return r})();function se(r,n){return n(r)}function He(r,n){return(t,o)=>n.intercept(t,{handle:s=>r(s,o)})}const je=new e.OlP(""),Z=new e.OlP(""),ie=new e.OlP(""),ae=new e.OlP("");function Le(){let r=null;return(n,t)=>{null===r&&(r=((0,e.f3M)(je,{optional:!0})??[]).reduceRight(He,se));const o=(0,e.f3M)(e.I6F),s=o.add();return r(n,t).pipe((0,Q.x)(()=>o.remove(s)))}}let ce=(()=>{class r extends N{constructor(t,o){super(),this.backend=t,this.injector=o,this.chain=null,this.pendingTasks=(0,e.f3M)(e.I6F);const s=(0,e.f3M)(ae,{optional:!0});this.backend=s??t}handle(t){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(Z),...this.injector.get(ie,[])]));this.chain=s.reduceRight((i,a)=>function Fe(r,n,t){return(o,s)=>(0,e.r_H)(t,()=>n(o,i=>r(i,s)))}(i,a,this.injector),se)}const o=this.pendingTasks.add();return this.chain(t,s=>this.backend.handle(s)).pipe((0,Q.x)(()=>this.pendingTasks.remove(o)))}static#e=this.\u0275fac=function(o){return new(o||r)(e.LFG(I),e.LFG(e.lqb))};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac})}return r})();const Be=/^\)\]\}',?\n/;let de=(()=>{class r{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new e.vHH(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?(0,Te.D)(o.\u0275loadImpl()):(0,K.of)(null)).pipe((0,_e.w)(()=>new Y.y(i=>{const a=o.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((d,u)=>a.setRequestHeader(d,u.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const d=t.detectContentTypeHeader();null!==d&&a.setRequestHeader("Content-Type",d)}if(t.responseType){const d=t.responseType.toLowerCase();a.responseType="json"!==d?d:"text"}const l=t.serializeBody();let c=null;const h=()=>{if(null!==c)return c;const d=a.statusText||"OK",u=new x(a.getAllResponseHeaders()),C=function Ge(r){return"responseURL"in r&&r.responseURL?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):null}(a)||t.url;return c=new H({headers:u,status:a.status,statusText:d,url:C}),c},f=()=>{let{headers:d,status:u,statusText:C,url:j}=h(),m=null;204!==u&&(m=typeof a.response>"u"?a.responseText:a.response),0===u&&(u=m?200:0);let E=u>=200&&u<300;if("json"===t.responseType&&"string"==typeof m){const B=m;m=m.replace(Be,"");try{m=""!==m?JSON.parse(m):null}catch(O){m=B,E&&(E=!1,m={error:O,text:m})}}E?(i.next(new _({body:m,headers:d,status:u,statusText:C,url:j||void 0})),i.complete()):i.error(new A({error:m,headers:d,status:u,statusText:C,url:j||void 0}))},p=d=>{const{url:u}=h(),C=new A({error:d,status:a.status||0,statusText:a.statusText||"Unknown Error",url:u||void 0});i.error(C)};let g=!1;const k=d=>{g||(i.next(h()),g=!0);let u={type:T.DownloadProgress,loaded:d.loaded};d.lengthComputable&&(u.total=d.total),"text"===t.responseType&&a.responseText&&(u.partialText=a.responseText),i.next(u)},y=d=>{let u={type:T.UploadProgress,loaded:d.loaded};d.lengthComputable&&(u.total=d.total),i.next(u)};return a.addEventListener("load",f),a.addEventListener("error",p),a.addEventListener("timeout",p),a.addEventListener("abort",p),t.reportProgress&&(a.addEventListener("progress",k),null!==l&&a.upload&&a.upload.addEventListener("progress",y)),a.send(l),i.next({type:T.Sent}),()=>{a.removeEventListener("error",p),a.removeEventListener("abort",p),a.removeEventListener("load",f),a.removeEventListener("timeout",p),t.reportProgress&&(a.removeEventListener("progress",k),null!==l&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}static#e=this.\u0275fac=function(o){return new(o||r)(e.LFG(P.JF))};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac})}return r})();const X=new e.OlP("XSRF_ENABLED"),ue=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),he=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fe{}let We=(()=>{class r{constructor(t,o,s){this.doc=t,this.platform=o,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(o){return new(o||r)(e.LFG(P.K0),e.LFG(e.Lbi),e.LFG(ue))};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac})}return r})();function Ke(r,n){const t=r.url.toLowerCase();if(!(0,e.f3M)(X)||"GET"===r.method||"HEAD"===r.method||t.startsWith("http://")||t.startsWith("https://"))return n(r);const o=(0,e.f3M)(fe).getToken(),s=(0,e.f3M)(he);return null!=o&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,o)})),n(r)}var v=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(v||{});function Ye(...r){const n=[ke,de,ce,{provide:N,useExisting:ce},{provide:I,useExisting:de},{provide:Z,useValue:Ke,multi:!0},{provide:X,useValue:!0},{provide:fe,useClass:We}];for(const t of r)n.push(...t.\u0275providers);return(0,e.MR2)(n)}const pe=new e.OlP("LEGACY_INTERCEPTOR_FN");function Qe(){return function M(r,n){return{\u0275kind:r,\u0275providers:n}}(v.LegacyInterceptors,[{provide:pe,useFactory:Le},{provide:Z,useExisting:pe,multi:!0}])}let et=(()=>{class r{static#e=this.\u0275fac=function(o){return new(o||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({providers:[Ye(Qe())]})}return r})(),it=(()=>{class r{static#e=this.\u0275fac=function(o){return new(o||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({imports:[P.ez,et]})}return r})(),at=(()=>{class r{static#e=this.\u0275fac=function(o){return new(o||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({imports:[P.ez,S.Bz]})}return r})();var ct=w(593);const lt=["*"];let dt=(()=>{class r{static#e=this.\u0275fac=function(o){return new(o||r)};static#t=this.\u0275cmp=e.Xpm({type:r,selectors:[["app-navbar"]],ngContentSelectors:lt,decls:13,vars:0,consts:[[1,"hero","flex-direction-column"],[1,"flex-direction-row",2,"padding-top","20px","margin-bottom","20px"],["routerLink","/",1,"gt-md-width-pc-50"],["href","https://github.com/offscale"],["alt","GitHub repos for Offscale","width","51","height","50","id","github-logo","ngSrc","/assets/github-white.svg"]],template:function(o,s){1&o&&(e.F$t(),e.TgZ(0,"section",0)(1,"nav",1)(2,"a",2)(3,"h1"),e._uU(4,"offscale.io"),e.qZA(),e.TgZ(5,"h3"),e._uU(6,"engineering and"),e._UZ(7,"br"),e._uU(8,"research that scales"),e.qZA()(),e.TgZ(9,"h1")(10,"a",3),e._UZ(11,"img",4),e.qZA()()(),e.Hsn(12),e.qZA())},dependencies:[S.rH,P.Zd],styles:[".hero[_ngcontent-%COMP%]{background-color:#ff6a00;background-position:center;background-repeat:no-repeat;background-size:cover;color:#fff;font-weight:700}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#fff}nav[_ngcontent-%COMP%]{padding:0 100px;display:flex;flex:1 1 9px;flex-grow:1;flex-shrink:1;flex-basis:.000000001px;justify-content:space-between}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Nunito Sans,Arial,serif;line-height:1;margin:0}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:xx-large;font-weight:bolder}nav[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400}@media screen and (max-width: 959px){nav[_ngcontent-%COMP%]{padding:0}}",".flex-direction-column[_ngcontent-%COMP%]{flex-direction:column;display:flex}.flex-direction-row[_ngcontent-%COMP%]{flex-direction:row;display:flex}.row-narrow-column-wide[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;flex:1 1 100%;flex-grow:1;flex-shrink:1;flex-basis:100%;max-height:100%}.flex-row[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.width-pc-33[_ngcontent-%COMP%]{max-width:33%}.width-pc-50[_ngcontent-%COMP%], .width-pc-50-lt-md-100[_ngcontent-%COMP%]{max-width:50%}@media screen and (max-width: 959px){footer[_ngcontent-%COMP%]{padding:0 40px}section[_ngcontent-%COMP%]{padding:0}#github-logo[_ngcontent-%COMP%]{height:30px;padding:0 10px}.row-narrow-column-wide[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;flex:1 1 100%;flex-grow:1;flex-shrink:1;flex-basis:100%;max-height:100%}.width-pc-50-lt-md-100[_ngcontent-%COMP%]{max-width:100%}}@media screen and (min-width: 1280px){.gt-md-width-pc-50[_ngcontent-%COMP%]{max-width:50%}}"]})}return r})();const ut=[{path:"",component:(()=>{class r{ngOnInit(){}constructor(t){this.sanitizer=t,this.videoNumber="287747",this.safeHtml=t.bypassSecurityTrustHtml('')}static#e=this.\u0275fac=function(o){return new(o||r)(e.Y36(ct.H7))};static#t=this.\u0275cmp=e.Xpm({type:r,selectors:[["app-slash"]],decls:166,vars:0,consts:[[1,"text-size-xl","text-center","m-v-lg",2,"padding-bottom","0"],[1,"text-align-center",2,"padding","0 18%"],[1,"m-v-lg","text-size-lg",2,"padding","0 10px"],[1,"row-narrow-column-wide"],[1,"width-pc-33"],[1,"width-pc-50"],[1,""],[1,"flex-container","desktop-flex-rows","fixed-width-lg","m-v-lg","justify-content-space-between"],["src","/assets/cdd-diagram.svg","width","100%","alt","CDD diagram"],[1,"text-bold","text-size-md"],["href","https://compilers.com.au","target","_blank"],[1,"case_study","p-v-lg","text-align-center","flex-row"],[1,"m-v-md","text-size-lg"],["href","mailto:samuel@offscale.io",1,"btn","btn-primary","m-v-md","text-align-center"],[1,"text-center","row-narrow-column-wide","justify-content-space-between",2,"padding","40px 0 40px 90px"],["routerLink","/",1,"flex-row","width-pc-50-lt-md-100"],[1,"flex-direction-row","width-pc-50-lt-md-100","flex-center"]],template:function(o,s){1&o&&(e.TgZ(0,"app-navbar")(1,"div",0),e._uU(2," Scale from a single developer and server to"),e._UZ(3,"br"),e._uU(4," 100s of engineering teams and 10,000 nodes. "),e.qZA()(),e.TgZ(5,"section",1)(6,"div",2),e._uU(7," Develop anywhere; deploy everywhere. "),e.qZA(),e.TgZ(8,"div",3)(9,"div",4)(10,"h2"),e._uU(11,"Cross-platform"),e.qZA(),e.TgZ(12,"p"),e._uU(13,"Build and release for multiple platforms, including:"),e.qZA(),e.TgZ(14,"div",3)(15,"ul",5)(16,"li"),e._uU(17,"Windows"),e.qZA(),e.TgZ(18,"li"),e._uU(19,"Linux"),e.qZA(),e.TgZ(20,"li"),e._uU(21,"macOS"),e.qZA(),e.TgZ(22,"li"),e._uU(23,"iOS"),e.qZA(),e.TgZ(24,"li"),e._uU(25,"Android"),e.qZA(),e.TgZ(26,"li"),e._uU(27,"web"),e.qZA()(),e.TgZ(28,"ul")(29,"li"),e._uU(30,"FreeBSD"),e.qZA(),e.TgZ(31,"li"),e._uU(32,"OpenBSD"),e.qZA(),e.TgZ(33,"li"),e._uU(34,"SunOS (Solaris \u2192 OpenSolaris \u2192 illumos \u2192 OpenIndiana)"),e.qZA()()()(),e.TgZ(35,"div",4)(36,"h2"),e._uU(37,"Multicloud"),e.qZA(),e.TgZ(38,"p"),e._uU(39,"Deploy and manage across any of 50+ different public and private cloud providers, including:"),e.qZA(),e.TgZ(40,"div",3)(41,"ul",5)(42,"li"),e._uU(43,"AWS"),e.qZA(),e.TgZ(44,"li"),e._uU(45,"Microsoft Azure"),e.qZA(),e.TgZ(46,"li"),e._uU(47,"Google Cloud"),e.qZA(),e.TgZ(48,"li"),e._uU(49,"IBM Cloud"),e.qZA(),e.TgZ(50,"li"),e._uU(51,"ovh"),e.qZA()(),e.TgZ(52,"ul")(53,"li"),e._uU(54,"openstack"),e.qZA(),e.TgZ(55,"li"),e._uU(56,"Apache cloudstack"),e.qZA(),e.TgZ(57,"li"),e._uU(58,"Joyent"),e.qZA(),e.TgZ(59,"li"),e._uU(60,"Rackspace"),e.qZA()()()(),e.TgZ(61,"div",4)(62,"h2"),e._uU(63,"Machine Learning and Artificial Intelligence"),e.qZA(),e.TgZ(64,"p"),e._uU(65,"Meta-framework built supporting:"),e.qZA(),e.TgZ(66,"div",3)(67,"ul",5)(68,"li"),e._uU(69,"TensorFlow"),e.qZA(),e.TgZ(70,"li"),e._uU(71,"Keras"),e.qZA(),e.TgZ(72,"li"),e._uU(73,"PyTorch"),e.qZA(),e.TgZ(74,"li"),e._uU(75,"XGBoost"),e.qZA()(),e.TgZ(76,"ul")(77,"li"),e._uU(78,"scikit.learn"),e.qZA(),e.TgZ(79,"li"),e._uU(80,"JAX"),e.qZA(),e.TgZ(81,"li"),e._uU(82,"Trax"),e.qZA(),e.TgZ(83,"li"),e._uU(84,"Flax"),e.qZA()()()()(),e.TgZ(85,"div",3)(86,"div",4)(87,"h2"),e._uU(88,"Multilingual compilers"),e.qZA(),e.TgZ(89,"p"),e._uU(90,"Automatically translate code between languages. Speedup code creation, improve consistency, and increase doc & test coverage."),e.qZA(),e.TgZ(91,"div",3)(92,"ul",5)(93,"li"),e._uU(94,"Swift (iOS)"),e.qZA(),e.TgZ(95,"li"),e._uU(96,"Java (Android)"),e.qZA(),e.TgZ(97,"li"),e._uU(98,"Kotlin (Android)"),e.qZA()(),e.TgZ(99,"ul")(100,"li"),e._uU(101,"Rust"),e.qZA(),e.TgZ(102,"li"),e._uU(103,"Python"),e.qZA(),e.TgZ(104,"li"),e._uU(105,"TypeScript (web)"),e.qZA()()()(),e.TgZ(106,"div",4)(107,"h2"),e._uU(108,"Multicluster"),e.qZA(),e.TgZ(109,"p"),e._uU(110,"Deploy, manage, and maintain multiple Docker containers at scale with Kubernetes."),e.qZA(),e.TgZ(111,"p"),e._uU(112,"Coordinate multiple distributed systems in the one cluster with Apache Mesos."),e.qZA(),e.TgZ(113,"p"),e._uU(114,"Major C++ contributions to Mesos, and major Go contributions to Kubernetes."),e.qZA()(),e.TgZ(115,"div",4)(116,"h2"),e._uU(117,"100% open source"),e.qZA(),e.TgZ(118,"p"),e._uU(119,"(Apache-2.0 OR MIT) licensed. Totally free. "),e.qZA(),e.TgZ(120,"div",3)(121,"ul",5)(122,"li"),e._uU(123,"609 repos on GitHub"),e.qZA()(),e.TgZ(124,"ul")(125,"li"),e._uU(126,"251 of which are original (not forks) "),e.qZA()()()()()(),e.TgZ(127,"section",6)(128,"div",7)(129,"div"),e._UZ(130,"img",8),e.qZA(),e.TgZ(131,"div")(132,"div",9),e._uU(133,"Compilers"),e.qZA(),e.TgZ(134,"p"),e._uU(135," The key differentiator in "),e.TgZ(136,"a",10),e._uU(137,"our approach"),e.qZA(),e._uU(138,", is that we explicitly and statically traverse the AST of each language, in each language, then code-generate merged changes. "),e.qZA(),e.TgZ(139,"div",9),e._uU(140,"Infrastructure"),e.qZA(),e.TgZ(141,"p"),e._uU(142," Stop relying on database as a Service (DBaaS), container as a Service (caaS), platform as a Service (PaaS). Switch been vendors, be portable, use aaS when relevant threshold is met. "),e.qZA(),e.TgZ(143,"div",9),e._uU(144,"Machine-learning and Artificial Intelligence"),e.qZA(),e.TgZ(145,"p"),e._uU(146," Our founder submitted his PhD (Medicine), 40% of which was in ML/AI. He noticed that breakthroughs were siloed to specific vendors. So we created a multi ML framework to use whatever vendors' innovations. "),e.qZA(),e.TgZ(147,"div",9),e._uU(148,"Open Source"),e.qZA(),e.TgZ(149,"p"),e._uU(150," (Apache-2.0 OR MIT) licensed, enabling maximum integration with any of your systems, e.g. IDEs, and version control systems (with CI/CD pipelines). "),e.qZA()()()(),e.TgZ(151,"section",11)(152,"div",12),e._uU(153,"Software-engineering consulting"),e.qZA(),e.TgZ(154,"a",13),e._uU(155," get in touch "),e.qZA()(),e.TgZ(156,"footer",14)(157,"a",15)(158,"h1"),e._uU(159,"offscale.io"),e.qZA(),e.TgZ(160,"h3"),e._uU(161,"engineering and"),e._UZ(162,"br"),e._uU(163,"research that scales"),e.qZA()(),e.TgZ(164,"div",16),e._uU(165," \xa9 2018\u20132024\xa0 "),e.qZA()())},dependencies:[S.rH,dt],styles:["section[_ngcontent-%COMP%], footer[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}footer[_ngcontent-%COMP%]{background-color:#ff6a00;color:#fff;line-height:100px}.hero[_ngcontent-%COMP%]{background-color:#ff6a00;background-position:center;background-repeat:no-repeat;background-size:cover;color:#fff;font-weight:700}.case_study[_ngcontent-%COMP%]{background-color:#206;color:#fff}.fixed-width-lg[_ngcontent-%COMP%]{max-width:800px}.fixed-width-md[_ngcontent-%COMP%]{max-width:600px}.flex[_ngcontent-%COMP%]{display:flex}.flex-container[_ngcontent-%COMP%]{min-width:1px;max-width:1024px;flex:1 1 auto;margin:0 auto}.flex-rows[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%}.flex-center[_ngcontent-%COMP%]{justify-content:center;align-items:center}.justify-content-space-between[_ngcontent-%COMP%]{justify-content:space-between}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-size-xl[_ngcontent-%COMP%]{font-weight:700;font-size:48px}@media (max-width: 400px){.text-size-xl[_ngcontent-%COMP%]{font-weight:700;font-size:38px}}.text-size-lg[_ngcontent-%COMP%]{font-weight:700;font-size:38px}.text-size-md[_ngcontent-%COMP%]{font-size:18px}.text-bold[_ngcontent-%COMP%]{font-weight:700}.text-center[_ngcontent-%COMP%]{text-align:center}.btn[_ngcontent-%COMP%]{width:100%;border-radius:100px;line-height:70px;max-width:350px;font-size:20px;font-weight:700}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:visited{text-decoration:none;color:#fff}.btn-primary[_ngcontent-%COMP%]{background:rgb(254,61,93);background:linear-gradient(0deg,rgb(254,61,93) 0%,rgb(253,151,62) 100%)}.btn-secondary[_ngcontent-%COMP%]{background-color:#5e5e5e}.p-v-lg[_ngcontent-%COMP%]{padding-top:50px;padding-bottom:50px}.m-v-lg[_ngcontent-%COMP%]{margin-top:50px;margin-bottom:50px}.m-v-md[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.m-h-sm[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}.m-h-sm[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}p[_ngcontent-%COMP%]{margin-top:0}h2[_ngcontent-%COMP%]{margin-bottom:10px}@media (min-width: 1000px){.desktop-flex-rows[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%}.desktop-flex-cols[_ngcontent-%COMP%]{display:flex;flex-direction:column}}@media (max-width: 1000px){.mobile-hide[_ngcontent-%COMP%]{display:none}}footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Nunito Sans,Arial,serif;line-height:1;margin:0}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#fff}footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:xx-large;font-weight:bolder}footer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400}@media screen and (max-width: 959px){footer[_ngcontent-%COMP%]{padding:0!important}}",".flex-direction-column[_ngcontent-%COMP%]{flex-direction:column;display:flex}.flex-direction-row[_ngcontent-%COMP%]{flex-direction:row;display:flex}.row-narrow-column-wide[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;flex:1 1 100%;flex-grow:1;flex-shrink:1;flex-basis:100%;max-height:100%}.flex-row[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.width-pc-33[_ngcontent-%COMP%]{max-width:33%}.width-pc-50[_ngcontent-%COMP%], .width-pc-50-lt-md-100[_ngcontent-%COMP%]{max-width:50%}@media screen and (max-width: 959px){footer[_ngcontent-%COMP%]{padding:0 40px}section[_ngcontent-%COMP%]{padding:0}#github-logo[_ngcontent-%COMP%]{height:30px;padding:0 10px}.row-narrow-column-wide[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;flex:1 1 100%;flex-grow:1;flex-shrink:1;flex-basis:100%;max-height:100%}.width-pc-50-lt-md-100[_ngcontent-%COMP%]{max-width:100%}}@media screen and (min-width: 1280px){.gt-md-width-pc-50[_ngcontent-%COMP%]{max-width:50%}}"]})}return r})()}];let ht=(()=>{class r{static#e=this.\u0275fac=function(o){return new(o||r)};static#t=this.\u0275mod=e.oAB({type:r});static#n=this.\u0275inj=e.cJS({imports:[P.ez,S.Bz,S.Bz.forChild(ut),it,at]})}return r})()}}]); \ No newline at end of file diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index b878b80..00219db 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1,37 +1,9 @@ -@angular/cdk -MIT -The MIT License - -Copyright (c) 2022 Google LLC. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - @angular/common MIT @angular/core MIT -@angular/flex-layout -MIT - @angular/platform-browser MIT @@ -263,7 +235,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2022 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 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/404.html b/404.html index c5530c1..ef92e62 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,6 @@ - + + + @@ -8,10 +10,9 @@ Offscale.io - The open-source software-engineering consultancy - + - - - \ No newline at end of file + + diff --git a/503.16320fee8b0cf4f4.js b/503.16320fee8b0cf4f4.js deleted file mode 100644 index ac650ff..0000000 --- a/503.16320fee8b0cf4f4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[503],{503:(il,fe,w)=>{w.r(fe),w.d(fe,{SlashModule:()=>nl});var c=w(895),B=w(486),s=w(571),ct=w(135),he=w(751),xe=w(451),$=w(579);function me(t){for(let n in t){let e=t[n]??"";switch(n){case"display":t.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e}}return t}const Q="inline",N=["row","column","row-reverse","column-reverse"];function pe(t){let[n,e,i]=ye(t);return function ht(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}(n,e,i)}function ye(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return N.find(l=>l===n)||(n=N[0]),e===Q&&(e=i!==Q?i:"",i=Q),[n,ft(e),!!i]}function I(t){let[n]=ye(t);return n.indexOf("row")>-1}function ft(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}function b(t,...n){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var U=w(300),xt=w(505);const pt={provide:s.tb,useFactory:function mt(t,n){return()=>{if((0,c.NF)(n)){const e=Array.from(t.querySelectorAll(`[class*=${Ae}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(l=>{l.classList.contains(`${Ae}ssr`)&&l.parentNode?l.parentNode.removeChild(l):l.className.replace(i,"")})}}},deps:[c.K0,s.Lbi],multi:!0},Ae="flex-layout-";let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[pt]}),t})();class R{constructor(n=!1,e="all",i="",l="",r=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=l,this.priority=r,this.property=""}clone(){return new R(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let yt=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,l){const r=this.stylesheet.get(e);r?r.set(i,l):this.stylesheet.set(e,new Map([[i,l]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const l=this.stylesheet.get(e);let r="";if(l){const o=l.get(i);("number"==typeof o||"string"==typeof o)&&(r=o+"")}return r}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const J={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},D=new s.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>J}),G=new s.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),W=new s.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ve(t,n){return t=t?.clone()??new R,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}class p{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}}let f=(()=>{class t{constructor(e,i,l,r){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=l,this.layoutConfig=r}applyStyleToElement(e,i,l=null){let r={};"string"==typeof i&&(r[i]=l,i=r),r=this.layoutConfig.disableVendorPrefixes?i:me(i),this._applyMultiValueStyleToElement(r,e)}applyStyleToElements(e,i=[]){const l=this.layoutConfig.disableVendorPrefixes?e:me(e);i.forEach(r=>{this._applyMultiValueStyleToElement(l,r)})}getFlowDirection(e){const i="flex-direction";let l=this.lookupStyle(e,i);return[l||"row",this.lookupInlineStyle(e,i)||(0,c.PM)(this._platformId)&&this._serverModuleLoaded?l:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return(0,c.NF)(this._platformId)?e.style.getPropertyValue(i):function At(t,n){return we(t)[n]??""}(e,i)}lookupStyle(e,i,l=!1){let r="";return e&&((r=this.lookupInlineStyle(e,i))||((0,c.NF)(this._platformId)?l||(r=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,i)))),r?r.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(l=>{const r=e[l],o=Array.isArray(r)?r:[r];o.sort();for(let a of o)a=a?a+"":"",(0,c.NF)(this._platformId)||!this._serverModuleLoaded?(0,c.NF)(this._platformId)?i.style.setProperty(l,a):vt(i,l,a):this._serverStylesheet.addStyleToElement(i,l,a)})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(yt),s.LFG(G),s.LFG(s.Lbi),s.LFG(D))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function vt(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=we(t);i[n]=e??"",function wt(t,n){let e="";for(const i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}(t,i)}function we(t){const n={},e=t.getAttribute("style");if(e){const i=e.split(/;+/g);for(let l=0;l0){const o=r.indexOf(":");if(-1===o)throw new Error(`Invalid CSS style: ${r}`);n[r.substr(0,o).trim()]=r.substr(o+1).trim()}}}return n}function P(t,n){return(n&&n.priority||0)-(t&&t.priority||0)}function Ct(t,n){return(t.priority||0)-(n.priority||0)}let X=(()=>{class t{constructor(e,i,l){this._zone=e,this._platformId=i,this._document=l,this.source=new ct.X(new R(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,l)=>{i.matches&&e.push(l)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(l=>l.matches)}observe(e,i=!1){if(e&&e.length){const l=this._observable$.pipe((0,U.h)(o=>!i||e.indexOf(o.mediaQuery)>-1)),r=new he.y(o=>{const a=this.registerQuery(e);if(a.length){const d=a.pop();a.forEach(u=>{o.next(u)}),this.source.next(d)}o.complete()});return(0,xe.T)(r,l)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],l=[];return function St(t,n){const e=t.filter(i=>!Ce[i]);if(e.length>0){const i=e.join(", ");try{const l=n.createElement("style");l.setAttribute("type","text/css"),l.styleSheet||l.appendChild(n.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),n.head.appendChild(l),e.forEach(r=>Ce[r]=l)}catch(l){console.error(l)}}}(i,this._document),i.forEach(r=>{const o=d=>{this._zone.run(()=>this.source.next(new R(d.matches,r)))};let a=this.registry.get(r);a||(a=this.buildMQL(r),a.addListener(o),this.pendingRemoveListenerFns.push(()=>a.removeListener(o)),this.registry.set(r,a)),a.matches&&l.push(new R(!0,r))}),l}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function Dt(t,n){return n&&window.matchMedia("all").addListener?window.matchMedia(t):function Ft(t){const n=new EventTarget;return n.matches="all"===t||""===t,n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}(t)}(e,(0,c.NF)(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(s.Lbi),s.LFG(c.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ce={},Mt=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Se="(orientation: portrait) and (max-width: 599.98px)",Fe="(orientation: landscape) and (max-width: 959.98px)",De="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Me="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",be="(orientation: portrait) and (min-width: 840px)",_e="(orientation: landscape) and (min-width: 1280px)",_={HANDSET:`${Se}, ${Fe}`,TABLET:`${De} , ${Me}`,WEB:`${be}, ${_e} `,HANDSET_PORTRAIT:`${Se}`,TABLET_PORTRAIT:`${De} `,WEB_PORTRAIT:`${be}`,HANDSET_LANDSCAPE:`${Fe}`,TABLET_LANDSCAPE:`${Me}`,WEB_LANDSCAPE:`${_e}`},bt=[{alias:"handset",priority:2e3,mediaQuery:_.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:_.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:_.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:_.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:_.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:_.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:_.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:_.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:_.WEB_PORTRAIT,overlapping:!0}],_t=/(\.|-|_)/g;function Lt(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}const Gt=new s.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=(0,s.f3M)(W),n=(0,s.f3M)(D),e=[].concat.apply([],(t||[]).map(l=>Array.isArray(l)?l:[l]));return function Rt(t,n=[]){const e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?b(e[i.alias],i):e[i.alias]=i}),function Et(t){return t.forEach(n=>{n.suffix||(n.suffix=function Ot(t){return t.replace(_t,"|").split("|").map(Lt).join("")}(n.alias),n.overlapping=!!n.overlapping)}),t}(Object.keys(e).map(i=>e[i]))}((n.disableDefaultBps?[]:Mt).concat(n.addOrientationBps?bt:[]),e)}});let ee=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(Ct)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let l=this.findByMap.get(e);return l||(l=this.items.find(i)??null,this.findByMap.set(e,l)),l??null}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Gt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const k="print",kt={alias:k,mediaQuery:k,priority:1e3};let Tt=(()=>{class t{constructor(e,i,l){this.breakpoints=e,this.layoutConfig=i,this._document=l,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Bt,this.deactivations=[]}withPrintQuery(e){return[...e,k]}isPrintEvent(e){return e.mediaQuery.startsWith(k)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(P)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),ve(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new R(!0,k))),e.updateStyles())},l=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",l),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(l)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const l=this.breakpoints.findByQuery(i.mediaQuery);if(l){const r=this.formerActivations&&this.formerActivations.includes(l),o=!this.formerActivations&&e.activatedBreakpoints.includes(l);(r||o)&&(this.deactivations.push(l),this.deactivations.sort(P))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ee),s.LFG(D),s.LFG(c.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Bt{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(kt),n.sort(P),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)&&(this.printBreakpoints=function It(t){return t?.mediaQuery.startsWith(k)??!1}(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}}let h=(()=>{class t{constructor(e,i,l){this.matchMedia=e,this.breakpoints=i,this.hook=l,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new $.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=ve(e,i);const l=this.activatedBreakpoints.indexOf(i);e.matches&&-1===l?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(P),this.updateStyles()):!e.matches&&-1!==l&&(this._activatedBreakpoints.splice(l,1),this._activatedBreakpoints.sort(P),this.updateStyles())}}init(e,i,l,r,o=[]){Le(this.updateMap,e,i,l),Le(this.clearMap,e,i,r),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,o)}getValue(e,i,l){const r=this.elementMap.get(e);if(r){const o=void 0!==l?r.get(l):this.getActivatedValues(r,i);if(o)return o.get(i)}}hasValue(e,i){const l=this.elementMap.get(e);if(l){const r=this.getActivatedValues(l,i);if(r)return void 0!==r.get(i)||!1}return!1}setValue(e,i,l,r){let o=this.elementMap.get(e);if(o){const d=(o.get(r)??new Map).set(i,l);o.set(r,d),this.elementMap.set(e,o)}else o=(new Map).set(r,(new Map).set(i,l)),this.elementMap.set(e,o);const a=this.getValue(e,i);void 0!==a&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe((0,U.h)(l=>l.element===e&&l.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const l=new Set(this.elementKeyMap.get(i));let r=this.getActivatedValues(e);r&&r.forEach((o,a)=>{this.updateElement(i,a,o),l.delete(a)}),l.forEach(o=>{if(r=this.getActivatedValues(e,o),r){const a=r.get(o);this.updateElement(i,o,a)}else this.clearElement(i,o)})})}clearElement(e,i){const l=this.clearMap.get(e);if(l){const r=l.get(i);r&&(r(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,l){const r=this.updateMap.get(e);if(r){const o=r.get(i);o&&(o(l),this.subject.next({element:e,key:i,value:l}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(r=>r.unsubscribe()),this.watcherMap.delete(e));const l=this.elementMap.get(e);l&&(l.forEach((r,o)=>l.delete(o)),this.elementMap.delete(e))}triggerUpdate(e,i){const l=this.elementMap.get(e);if(l){const r=this.getActivatedValues(l,i);r&&(i?this.updateElement(e,i,r.get(i)):r.forEach((o,a)=>this.updateElement(e,a,o)))}}buildElementKeyMap(e,i){let l=this.elementKeyMap.get(e);l||(l=new Set,this.elementKeyMap.set(e,l)),l.add(i)}watchExtraTriggers(e,i,l){if(l&&l.length){let r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(i)){const a=(0,xe.T)(...l).subscribe(()=>{const d=this.getValue(e,i);this.updateElement(e,i,d)});r.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let r=0;ri.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,xt.b)(this.hook.interceptEvents(this)),(0,U.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(X),s.LFG(ee),s.LFG(Tt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Le(t,n,e,i){if(void 0!==i){const l=t.get(n)??new Map;l.set(e,i),t.set(n,l)}}let m=(()=>{class t{constructor(e,i,l,r){this.elementRef=e,this.styleBuilder=i,this.styler=l,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new $.x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const l=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,l)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const l=this.styleBuilder,r=l.shouldCache;let o=this.styleCache.get(e);(!o||!r)&&(o=l.buildStyles(e,i),r&&this.styleCache.set(e,o)),this.mru={...o},this.applyStyleToElement(o),l.sideEffect(e,o,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[l,r]=this.styler.getFlowDirection(e);if(!r&&i){const o=pe(l);this.styler.applyStyleToElements(o,[e])}return l.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,l=this.nativeElement){this.styler.applyStyleToElement(l,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(p),s.Y36(f),s.Y36(h))},t.\u0275dir=s.lG2({type:t,features:[s.TTD]}),t})();function Oe(t,n="1",e="1"){let i=[n,e,t],l=t.indexOf("calc");if(l>0){i[2]=Ee(t.substring(l).trim());let r=t.substr(0,l).trim().split(" ");2==r.length&&(i[0]=r[0],i[1]=r[1])}else if(0==l)i[2]=Ee(t.trim());else{let r=t.split(" ");i=3===r.length?r:[n,e,t]}return i}function Ee(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;var Nt=w(482),Ut=w(403),jt=w(421),qt=w(32);function T(t){return(0,Nt.e)((n,e)=>{(0,jt.Xf)(t).subscribe((0,Ut.x)(e,()=>e.complete(),qt.Z)),!e.closed&&n.subscribe(e)})}var Ge=w(481);class sn{constructor(n,e,i=!0){this.key=n,this.value=e,this.key=i?n.replace(/['"]/g,"").trim():n.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function ke(t){let n=typeof t;return"object"===n?t.constructor===Array?"array":t.constructor===Set?"set":"object":n}function Be(t){const[n,...e]=t.split(":");return new sn(n,e.join(":"))}function Ie(t,n){return n.key&&(t[n.key]=n.value),t}let on=(()=>{class t extends m{constructor(e,i,l,r,o,a,d,u,C){super(e,null,i,l),this.sanitizer=r,this.ngStyleInstance=d,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new c.PC(e,o,a)),this.init();const y=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(y),this.isServer=u&&(0,c.PM)(C)}updateWithValue(e){const i=this.buildStyleMap(e);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...i},this.isServer&&this.applyStyleToElement(i),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const i=l=>this.sanitizer.sanitize(s.q3G.STYLE,l)??"";if(e)switch(ke(e)){case"string":return Pe(function ln(t,n=";"){return String(t).trim().split(n).map(e=>e.trim()).filter(e=>""!==e)}(e),i);case"array":return Pe(e,i);default:return function Te(t,n){let e=[];return"set"===ke(t)?t.forEach(i=>e.push(i)):Object.keys(t).forEach(i=>{e.push(`${i}:${t[i]}`)}),function rn(t,n){return t.map(Be).filter(i=>!!i).map(i=>(n&&(i.value=n(i.value)),i)).reduce(Ie,{})}(e,n)}(e,i)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(f),s.Y36(h),s.Y36(Ge.H7),s.Y36(s.aQg),s.Y36(s.Qsj),s.Y36(c.PC,10),s.Y36(G),s.Y36(s.Lbi))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const an=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let ne=(()=>{class t extends on{constructor(){super(...arguments),this.inputs=an}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[s.qOj]}),t})();function Pe(t,n){return t.map(Be).filter(i=>!!i).map(i=>(n&&(i.value=n(i.value)),i)).reduce(Ie,{})}let He=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[K]}),t})(),fn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),hn=(()=>{class t extends p{buildStyles(e,{display:i}){const l=pe(e);return{...l,display:"none"===i?i:l.display}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xn=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let mn=(()=>{class t extends m{constructor(e,i,l,r,o){super(e,l,i,r),this._config=o,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){const l=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=Ne.get(l)??new Map,Ne.set(l,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:l}),this.currentValue=e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(f),s.Y36(hn),s.Y36(h),s.Y36(D))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})(),se=(()=>{class t extends mn{constructor(){super(...arguments),this.inputs=xn}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[s.qOj]}),t})();const Ne=new Map;let _n=(()=>{class t extends p{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[l,r,...o]=e.split(" "),a=o.join(" ");const d=i.direction.indexOf("column")>-1?"column":"row",u=I(d)?"max-width":"max-height",C=I(d)?"min-width":"min-height",y=String(a).indexOf("calc")>-1,S=y||"auto"===a,x=String(a).indexOf("%")>-1&&!y,A=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let F=y||A;l="0"==l?0:l,r="0"==r?0:r;const Y=!l&&!r;let g={};const M={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const ce=!1!==this.layoutConfig.useColumnBasisZero;a="row"===d?"0%":ce?"0.000000001px":"auto";break;case"initial":case"nogrow":l=0,a="auto";break;case"grow":a="100%";break;case"noshrink":r=0,a="auto";break;case"auto":break;case"none":l=0,r=0,a="auto";break;default:!F&&!x&&!isNaN(a)&&(a+="%"),"0%"===a&&(F=!0),"0px"===a&&(a="0%"),g=b(M,y?{"flex-grow":l,"flex-shrink":r,"flex-basis":F?a:"100%"}:{flex:`${l} ${r} ${F?a:"100%"}`})}return g.flex||g["flex-grow"]||(g=b(M,y?{"flex-grow":l,"flex-shrink":r,"flex-basis":a}:{flex:`${l} ${r} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(g[C]=Y||F&&l?a:null,g[u]=Y||!S&&r?a:null),g[C]||g[u]?i.hasWrap&&(g[y?"flex-basis":"flex"]=g[u]?y?g[u]:`${l} ${r} ${g[u]}`:y?g[C]:`${l} ${r} ${g[C]}`):g=b(M,y?{"flex-grow":l,"flex-shrink":r,"flex-basis":a}:{flex:`${l} ${r} ${a}`}),b(g,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(D))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ln=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let On=(()=>{class t extends m{constructor(e,i,l,r,o){super(e,r,i,o),this.layoutConfig=l,this.marshal=o,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(T(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(T(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const l=e.value.split(" ");this.direction=l[0],this.wrap=void 0!==l[1]&&"wrap"===l[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const l=this.direction,r=l.startsWith("row"),o=this.wrap;r&&o?this.styleCache=Gn:r&&!o?this.styleCache=En:!r&&o?this.styleCache=kn:!r&&!o&&(this.styleCache=Rn);const d=Oe(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(d.join(" "),{direction:l,hasWrap:o})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=Oe(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(f),s.Y36(D),s.Y36(_n),s.Y36(h))},t.\u0275dir=s.lG2({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[s.qOj]}),t})(),ie=(()=>{class t extends On{constructor(){super(...arguments),this.inputs=Ln}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[s.qOj]}),t})();const En=new Map,Rn=new Map,Gn=new Map,kn=new Map;let $n=(()=>{class t extends p{buildStyles(e){const i={};switch(e=e||"stretch"){case"start":i["align-self"]="flex-start";break;case"end":i["align-self"]="flex-end";break;default:i["align-self"]=e}return i}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Qn=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let Kn=(()=>{class t extends m{constructor(e,i,l,r){super(e,l,i,r),this.DIRECTIVE_KEY="flex-align",this.styleCache=Jn,this.init()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(f),s.Y36($n),s.Y36(h))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const Jn=new Map;let qe=(()=>{class t extends Kn{constructor(){super(...arguments),this.inputs=Qn}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[s.qOj]}),t})(),ns=(()=>{class t extends p{buildStyles(e,i){const l={},[r,o]=e.split(" ");switch(r){case"center":l["justify-content"]="center";break;case"space-around":l["justify-content"]="space-around";break;case"space-between":l["justify-content"]="space-between";break;case"space-evenly":l["justify-content"]="space-evenly";break;case"end":case"flex-end":l["justify-content"]="flex-end";break;default:l["justify-content"]="flex-start"}switch(o){case"start":case"flex-start":l["align-items"]=l["align-content"]="flex-start";break;case"center":l["align-items"]=l["align-content"]="center";break;case"end":case"flex-end":l["align-items"]=l["align-content"]="flex-end";break;case"space-between":l["align-content"]="space-between",l["align-items"]="stretch";break;case"space-around":l["align-content"]="space-around",l["align-items"]="stretch";break;case"baseline":l["align-content"]="stretch",l["align-items"]="baseline";break;default:l["align-items"]=l["align-content"]="stretch"}return b(l,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===o?I(i.layout)?null:"100%":null,"max-height":"stretch"===o&&I(i.layout)?"100%":null})}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ss=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let is=(()=>{class t extends m{constructor(e,i,l,r){super(e,l,i,r),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(T(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",l=this.inline;"row"===i&&l?this.styleCache=ds:"row"!==i||l?"row-reverse"===i&&l?this.styleCache=us:"row-reverse"!==i||l?"column"===i&&l?this.styleCache=gs:"column"!==i||l?"column-reverse"===i&&l?this.styleCache=cs:"column-reverse"===i&&!l&&(this.styleCache=as):this.styleCache=rs:this.styleCache=os:this.styleCache=ls,this.addStyles(e,{layout:i,inline:l})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),N.find(l=>l===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(f),s.Y36(ns),s.Y36(h))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})(),le=(()=>{class t extends is{constructor(){super(...arguments),this.inputs=ss}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[s.qOj]}),t})();const ls=new Map,rs=new Map,os=new Map,as=new Map,ds=new Map,gs=new Map,us=new Map,cs=new Map;let ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[K,fn]}),t})(),Xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[K]}),t})(),et=(()=>{class t{constructor(e,i){(0,c.PM)(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:D,useValue:{...J,...e}},{provide:W,useValue:i,multi:!0},{provide:G,useValue:!0}]:[{provide:D,useValue:{...J,...e}},{provide:W,useValue:i,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(G),s.LFG(s.Lbi))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[ze,He,Xe,ze,He,Xe]}),t})();var ki=w(646),Ti=w(351),z=w(4);class tt{}class nt{}class L{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const l=e.slice(0,i),r=l.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(l,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const l=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(l,i),this.maybeSetNormalizedName(e,l))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new L;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const l=("a"===n.op?this.headers.get(e):void 0)||[];l.push(...i),this.headers.set(e,l);break;case"d":const r=n.value;if(r){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===r.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class Bi{encodeKey(n){return st(n)}encodeValue(n){return st(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Pi=/%(\d[a-f0-9])/gi,Hi={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function st(t){return encodeURIComponent(t).replace(Pi,(n,e)=>Hi[e]??n)}function V(t){return`${t}`}class E{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Bi,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ii(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(l=>{const r=l.indexOf("="),[o,a]=-1==r?[n.decodeKey(l),""]:[n.decodeKey(l.slice(0,r)),n.decodeValue(l.slice(r+1))],d=e.get(o)||[];d.push(a),e.set(o,d)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],l=Array.isArray(i)?i.map(V):[V(i)];this.map.set(e,l)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const l=n[i];Array.isArray(l)?l.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:l,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new E({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(V(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const l=i.indexOf(V(n.value));-1!==l&&i.splice(l,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class Yi{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function it(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function lt(t){return typeof Blob<"u"&&t instanceof Blob}function rt(t){return typeof FormData<"u"&&t instanceof FormData}class H{constructor(n,e,i,l){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function Ni(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==i?i:null,r=l):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new L),this.context||(this.context=new Yi),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ay.set(S,n.setHeaders[S]),d)),n.setParams&&(u=Object.keys(n.setParams).reduce((y,S)=>y.set(S,n.setParams[S]),u)),new H(e,i,r,{params:u,headers:d,context:C,reportProgress:a,responseType:l,withCredentials:o})}}var v=(()=>((v=v||{})[v.Sent=0]="Sent",v[v.UploadProgress=1]="UploadProgress",v[v.ResponseHeader=2]="ResponseHeader",v[v.DownloadProgress=3]="DownloadProgress",v[v.Response=4]="Response",v[v.User=5]="User",v))();class re{constructor(n,e=200,i="OK"){this.headers=n.headers||new L,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class oe extends re{constructor(n={}){super(n),this.type=v.ResponseHeader}clone(n={}){return new oe({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Z extends re{constructor(n={}){super(n),this.type=v.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Z({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ot extends re{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function ae(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let ji=(()=>{class t{constructor(e){this.handler=e}request(e,i,l={}){let r;if(e instanceof H)r=e;else{let d,u;d=l.headers instanceof L?l.headers:new L(l.headers),l.params&&(u=l.params instanceof E?l.params:new E({fromObject:l.params})),r=new H(e,i,void 0!==l.body?l.body:null,{headers:d,context:l.context,params:u,reportProgress:l.reportProgress,responseType:l.responseType||"json",withCredentials:l.withCredentials})}const o=(0,ki.of)(r).pipe((0,Ti.b)(d=>this.handler.handle(d)));if(e instanceof H||"events"===l.observe)return o;const a=o.pipe((0,U.h)(d=>d instanceof Z));switch(l.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe((0,z.U)(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return a.pipe((0,z.U)(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return a.pipe((0,z.U)(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return a.pipe((0,z.U)(d=>d.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${l.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new E).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,l={}){return this.request("PATCH",e,ae(l,i))}post(e,i,l={}){return this.request("POST",e,ae(l,i))}put(e,i,l={}){return this.request("PUT",e,ae(l,i))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(tt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class at{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const dt=new s.OlP("HTTP_INTERCEPTORS");let qi=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const zi=/^\)\]\}',?\n/;let gt=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new he.y(i=>{const l=this.xhrFactory.build();if(l.open(e.method,e.urlWithParams),e.withCredentials&&(l.withCredentials=!0),e.headers.forEach((x,A)=>l.setRequestHeader(x,A.join(","))),e.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const x=e.detectContentTypeHeader();null!==x&&l.setRequestHeader("Content-Type",x)}if(e.responseType){const x=e.responseType.toLowerCase();l.responseType="json"!==x?x:"text"}const r=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const x=l.statusText||"OK",A=new L(l.getAllResponseHeaders()),F=function Vi(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(l)||e.url;return o=new oe({headers:A,status:l.status,statusText:x,url:F}),o},d=()=>{let{headers:x,status:A,statusText:F,url:Y}=a(),g=null;204!==A&&(g=typeof l.response>"u"?l.responseText:l.response),0===A&&(A=g?200:0);let M=A>=200&&A<300;if("json"===e.responseType&&"string"==typeof g){const ce=g;g=g.replace(zi,"");try{g=""!==g?JSON.parse(g):null}catch(sl){g=ce,M&&(M=!1,g={error:sl,text:g})}}M?(i.next(new Z({body:g,headers:x,status:A,statusText:F,url:Y||void 0})),i.complete()):i.error(new ot({error:g,headers:x,status:A,statusText:F,url:Y||void 0}))},u=x=>{const{url:A}=a(),F=new ot({error:x,status:l.status||0,statusText:l.statusText||"Unknown Error",url:A||void 0});i.error(F)};let C=!1;const y=x=>{C||(i.next(a()),C=!0);let A={type:v.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(A.total=x.total),"text"===e.responseType&&!!l.responseText&&(A.partialText=l.responseText),i.next(A)},S=x=>{let A={type:v.UploadProgress,loaded:x.loaded};x.lengthComputable&&(A.total=x.total),i.next(A)};return l.addEventListener("load",d),l.addEventListener("error",u),l.addEventListener("timeout",u),l.addEventListener("abort",u),e.reportProgress&&(l.addEventListener("progress",y),null!==r&&l.upload&&l.upload.addEventListener("progress",S)),l.send(r),i.next({type:v.Sent}),()=>{l.removeEventListener("error",u),l.removeEventListener("abort",u),l.removeEventListener("load",d),l.removeEventListener("timeout",u),e.reportProgress&&(l.removeEventListener("progress",y),null!==r&&l.upload&&l.upload.removeEventListener("progress",S)),l.readyState!==l.DONE&&l.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const de=new s.OlP("XSRF_COOKIE_NAME"),ge=new s.OlP("XSRF_HEADER_NAME");class ut{}let Zi=(()=>{class t{constructor(e,i,l){this.doc=e,this.platform=i,this.cookieName=l,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.K0),s.LFG(s.Lbi),s.LFG(de))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),ue=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const l=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||l.startsWith("http://")||l.startsWith("https://"))return i.handle(e);const r=this.tokenService.getToken();return null!==r&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,r)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ut),s.LFG(ge))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),$i=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(dt,[]);this.chain=i.reduceRight((l,r)=>new at(l,r),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(nt),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Qi=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:ue,useClass:qi}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:de,useValue:e.cookieName}:[],e.headerName?{provide:ge,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ue,{provide:dt,useExisting:ue,multi:!0},{provide:ut,useClass:Zi},{provide:de,useValue:"XSRF-TOKEN"},{provide:ge,useValue:"X-XSRF-TOKEN"}]}),t})(),Ki=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ji,{provide:tt,useClass:$i},gt,{provide:nt,useExisting:gt}],imports:[Qi.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})(),Ji=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[c.ez,Ki]}),t})(),Wi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[c.ez,et,B.Bz]}),t})();const Xi=["*"];let el=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-navbar"]],ngContentSelectors:Xi,decls:13,vars:0,consts:[["fxLayout","column",1,"hero"],["fxFlex","","fxLayout","row",2,"padding-top","20px","margin-bottom","20px"],["fxFlex.gt-md","50","routerLink","/"],["fxFlex","","fxLayoutAlign","end","ngStyle.lt-md","font-size: small"],["href","https://github.com/offscale"],["alt","GitHub repos for Offscale","height","50px","ngStyle.lt-md","height: 30px; padding: 0 10px","src","/assets/github-white.svg"]],template:function(e,i){1&e&&(s.F$t(),s.TgZ(0,"section",0)(1,"nav",1)(2,"a",2)(3,"h1"),s._uU(4,"offscale.io"),s.qZA(),s.TgZ(5,"h3"),s._uU(6,"engineering and"),s._UZ(7,"br"),s._uU(8,"research that scales"),s.qZA()(),s.TgZ(9,"h1",3)(10,"a",4),s._UZ(11,"img",5),s.qZA()()(),s.Hsn(12,0,["fxFlex","auto"]),s.qZA())},dependencies:[se,le,ie,ne,B.yS],styles:[".hero[_ngcontent-%COMP%]{background-color:#ff6a00;background-position:center;background-repeat:no-repeat;background-size:cover;color:#fff;font-weight:700}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#fff}nav[_ngcontent-%COMP%]{padding:0 100px}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Nunito Sans,Arial,serif;line-height:1;margin:0}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:xx-large;font-weight:bolder}nav[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400}"]}),t})();const tl=[{path:"",component:(()=>{class t{constructor(e){this.sanitizer=e,this.videoNumber="287747",this.safeHtml=e.bypassSecurityTrustHtml('')}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ge.H7))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-slash"]],decls:166,vars:0,consts:[[1,"text-size-xl","text-center","m-v-lg",2,"padding-bottom","0"],["fxLayout","column","ngStyle.lt-md","padding: 0",1,"center",2,"padding","0 18%"],["fxFlex","100",1,"m-v-lg","text-size-lg",2,"padding","0 10px"],["fxLayout","row","fxLayout.lt-md","column","fxFlex","100"],["fxFlex","33"],["fxLayout","row"],["fxFlex","50"],[1,""],[1,"flex-container","desktop-flex-rows","fixed-width-lg","m-v-lg","flex-space-between"],["src","/assets/cdd-diagram.svg","width","100%","alt","CDD diagram"],[1,"text-bold","text-size-md"],["href","https://compilers.com.au","target","_blank"],["fxLayout","column",1,"case_study","p-v-lg","center"],["fxFlex","auto",1,"m-v-md","text-size-lg"],["fxFlex","auto","href","mailto:samuel@offscale.io","fxFlexAlign","center",1,"btn","btn-primary","m-v-md","center"],["fxLayout","row","fxLayoutAlign","center center","ngStyle.lt-md","{'padding': 0 40px}",1,"text-center",2,"padding","40px 0 40px 90px"],["fxFlex","auto","routerLink","/"],["fxFlex",""]],template:function(e,i){1&e&&(s.TgZ(0,"app-navbar")(1,"div",0),s._uU(2," Scale from a single developer and server to"),s._UZ(3,"br"),s._uU(4," 100s of engineering teams and 10,000 nodes. "),s.qZA()(),s.TgZ(5,"section",1)(6,"div",2),s._uU(7," Develop anywhere; deploy everywhere. "),s.qZA(),s.TgZ(8,"div",3)(9,"div",4)(10,"h2"),s._uU(11,"Cross-platform"),s.qZA(),s.TgZ(12,"p"),s._uU(13,"Build and release for multiple platforms, including:"),s.qZA(),s.TgZ(14,"div",5)(15,"ul",6)(16,"li"),s._uU(17,"Windows"),s.qZA(),s.TgZ(18,"li"),s._uU(19,"Linux"),s.qZA(),s.TgZ(20,"li"),s._uU(21,"macOS"),s.qZA(),s.TgZ(22,"li"),s._uU(23,"iOS"),s.qZA(),s.TgZ(24,"li"),s._uU(25,"Android"),s.qZA(),s.TgZ(26,"li"),s._uU(27,"web"),s.qZA()(),s.TgZ(28,"ul")(29,"li"),s._uU(30,"FreeBSD"),s.qZA(),s.TgZ(31,"li"),s._uU(32,"OpenBSD"),s.qZA(),s.TgZ(33,"li"),s._uU(34,"SunOS (Solaris \u2192 OpenSolaris \u2192 illumos \u2192 OpenIndiana)"),s.qZA()()()(),s.TgZ(35,"div",4)(36,"h2"),s._uU(37,"Multicloud"),s.qZA(),s.TgZ(38,"p"),s._uU(39,"Deploy and manage across any of 50+ different public and private cloud providers, including:"),s.qZA(),s.TgZ(40,"div",5)(41,"ul",6)(42,"li"),s._uU(43,"AWS"),s.qZA(),s.TgZ(44,"li"),s._uU(45,"Microsoft Azure"),s.qZA(),s.TgZ(46,"li"),s._uU(47,"Google Cloud"),s.qZA(),s.TgZ(48,"li"),s._uU(49,"IBM Cloud"),s.qZA(),s.TgZ(50,"li"),s._uU(51,"ovh"),s.qZA()(),s.TgZ(52,"ul")(53,"li"),s._uU(54,"openstack"),s.qZA(),s.TgZ(55,"li"),s._uU(56,"Apache cloudstack"),s.qZA(),s.TgZ(57,"li"),s._uU(58,"Joyent"),s.qZA(),s.TgZ(59,"li"),s._uU(60,"Rackspace"),s.qZA()()()(),s.TgZ(61,"div",4)(62,"h2"),s._uU(63,"Machine Learning and Artificial Intelligence"),s.qZA(),s.TgZ(64,"p"),s._uU(65,"Meta-framework built supporting:"),s.qZA(),s.TgZ(66,"div",5)(67,"ul",6)(68,"li"),s._uU(69,"TensorFlow"),s.qZA(),s.TgZ(70,"li"),s._uU(71,"Keras"),s.qZA(),s.TgZ(72,"li"),s._uU(73,"PyTorch"),s.qZA(),s.TgZ(74,"li"),s._uU(75,"XGBoost"),s.qZA()(),s.TgZ(76,"ul")(77,"li"),s._uU(78,"scikit.learn"),s.qZA(),s.TgZ(79,"li"),s._uU(80,"JAX"),s.qZA(),s.TgZ(81,"li"),s._uU(82,"Trax"),s.qZA(),s.TgZ(83,"li"),s._uU(84,"Flax"),s.qZA()()()()(),s.TgZ(85,"div",3)(86,"div",4)(87,"h2"),s._uU(88,"Multilingual compilers"),s.qZA(),s.TgZ(89,"p"),s._uU(90,"Automatically translate code between languages. Speedup code creation, improve consistency, and increase doc & test coverage."),s.qZA(),s.TgZ(91,"div",5)(92,"ul",6)(93,"li"),s._uU(94,"Swift (iOS)"),s.qZA(),s.TgZ(95,"li"),s._uU(96,"Java (Android)"),s.qZA(),s.TgZ(97,"li"),s._uU(98,"Kotlin (Android)"),s.qZA()(),s.TgZ(99,"ul")(100,"li"),s._uU(101,"Rust"),s.qZA(),s.TgZ(102,"li"),s._uU(103,"Python"),s.qZA(),s.TgZ(104,"li"),s._uU(105,"TypeScript (web)"),s.qZA()()()(),s.TgZ(106,"div",4)(107,"h2"),s._uU(108,"Multicluster"),s.qZA(),s.TgZ(109,"p"),s._uU(110,"Deploy, manage, and maintain multiple Docker containers at scale with Kubernetes."),s.qZA(),s.TgZ(111,"p"),s._uU(112,"Coordinate multiple distributed systems in the one cluster with Apache Mesos."),s.qZA(),s.TgZ(113,"p"),s._uU(114,"Major C++ contributions to Mesos, and major Go contributions to Kubernetes."),s.qZA()(),s.TgZ(115,"div",4)(116,"h2"),s._uU(117,"100% open source"),s.qZA(),s.TgZ(118,"p"),s._uU(119,"(Apache-2.0 OR MIT) licensed. Totally free. "),s.qZA(),s.TgZ(120,"div",5)(121,"ul",6)(122,"li"),s._uU(123,"609 repos on GitHub"),s.qZA()(),s.TgZ(124,"ul")(125,"li"),s._uU(126,"251 of which are original (not forks) "),s.qZA()()()()()(),s.TgZ(127,"section",7)(128,"div",8)(129,"div"),s._UZ(130,"img",9),s.qZA(),s.TgZ(131,"div")(132,"div",10),s._uU(133,"Compilers"),s.qZA(),s.TgZ(134,"p"),s._uU(135," The key differentiator in "),s.TgZ(136,"a",11),s._uU(137,"our approach"),s.qZA(),s._uU(138,", is that we explicitly and statically traverse the AST of each language, in each language, then code-generate merged changes. "),s.qZA(),s.TgZ(139,"div",10),s._uU(140,"Infrastructure"),s.qZA(),s.TgZ(141,"p"),s._uU(142," Stop relying on database as a Service (DBaaS), container as a Service (caaS), platform as a Service (PaaS). Switch been vendors, be portable, use aaS when relevant threshold is met. "),s.qZA(),s.TgZ(143,"div",10),s._uU(144,"Machine-learning and Artificial Intelligence"),s.qZA(),s.TgZ(145,"p"),s._uU(146," Our founder submitted his PhD (Medicine), 40% of which was in ML/AI. He noticed that breakthroughs were siloed to specific vendors. So we created a multi ML framework to use whatever vendors' innovations. "),s.qZA(),s.TgZ(147,"div",10),s._uU(148,"Open Source"),s.qZA(),s.TgZ(149,"p"),s._uU(150," (Apache-2.0 OR MIT) licensed, enabling maximum integration with any of your systems, e.g. IDEs, and version control systems (with CI/CD pipelines). "),s.qZA()()()(),s.TgZ(151,"section",12)(152,"div",13),s._uU(153,"Software-engineering consulting"),s.qZA(),s.TgZ(154,"a",14),s._uU(155," get in touch "),s.qZA()(),s.TgZ(156,"footer",15)(157,"a",16)(158,"h1"),s._uU(159,"offscale.io"),s.qZA(),s.TgZ(160,"h3"),s._uU(161,"engineering and"),s._UZ(162,"br"),s._uU(163,"research that scales"),s.qZA()(),s.TgZ(164,"div",17),s._uU(165," \xa9 2018\u20132023 "),s.qZA()())},dependencies:[B.yS,se,le,qe,ie,ne,el],styles:["section[_ngcontent-%COMP%], footer[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}footer[_ngcontent-%COMP%]{background-color:#ff6a00;color:#fff;line-height:100px}.hero[_ngcontent-%COMP%]{background-color:#ff6a00;background-position:center;background-repeat:no-repeat;background-size:cover;color:#fff;font-weight:700}.case_study[_ngcontent-%COMP%]{background-color:#206;color:#fff}.fixed-width-lg[_ngcontent-%COMP%]{max-width:800px}.fixed-width-md[_ngcontent-%COMP%]{max-width:600px}.flex[_ngcontent-%COMP%]{display:flex}.flex-container[_ngcontent-%COMP%]{min-width:1px;max-width:1024px;flex:1 1 auto;margin:0 auto}.flex-rows[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%}.flex-center[_ngcontent-%COMP%]{justify-content:center;align-items:center}.flex-space-between[_ngcontent-%COMP%]{justify-content:space-between}.center[_ngcontent-%COMP%]{text-align:center}.text-size-xl[_ngcontent-%COMP%]{font-weight:700;font-size:48px}@media (max-width: 400px){.text-size-xl[_ngcontent-%COMP%]{font-weight:700;font-size:38px}}.text-size-lg[_ngcontent-%COMP%]{font-weight:700;font-size:38px}.text-size-md[_ngcontent-%COMP%]{font-size:18px}.text-bold[_ngcontent-%COMP%]{font-weight:700}.text-center[_ngcontent-%COMP%]{text-align:center}.btn[_ngcontent-%COMP%]{width:100%;border-radius:100px;line-height:70px;max-width:350px;font-size:20px;font-weight:700}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:visited{text-decoration:none;color:#fff}.btn-primary[_ngcontent-%COMP%]{background:rgb(254,61,93);background:linear-gradient(0deg,rgb(254,61,93) 0%,rgb(253,151,62) 100%)}.btn-secondary[_ngcontent-%COMP%]{background-color:#5e5e5e}.p-v-lg[_ngcontent-%COMP%]{padding-top:50px;padding-bottom:50px}.m-v-lg[_ngcontent-%COMP%]{margin-top:50px;margin-bottom:50px}.m-v-md[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.m-h-sm[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}.m-h-sm[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}p[_ngcontent-%COMP%]{margin-top:0}h2[_ngcontent-%COMP%]{margin-bottom:10px}@media (min-width: 1000px){.desktop-flex-rows[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%}.desktop-flex-cols[_ngcontent-%COMP%]{display:flex;flex-direction:column}}@media (max-width: 1000px){.mobile-hide[_ngcontent-%COMP%]{display:none}}footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Nunito Sans,Arial,serif;line-height:1;margin:0}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#fff;text-decoration:none;font-weight:400;line-height:80px;font-size:20px}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#fff}footer[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:xx-large;font-weight:bolder}footer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400}"]}),t})()}];let nl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[c.ez,B.Bz,B.Bz.forChild(tl),et,Ji,Wi]}),t})()}}]); \ No newline at end of file diff --git a/assets/styles/flex.scss b/assets/styles/flex.scss new file mode 100644 index 0000000..92df24e --- /dev/null +++ b/assets/styles/flex.scss @@ -0,0 +1,78 @@ +.flex-direction-column { + flex-direction: column; + display: flex; +} + +.flex-direction-row { + flex-direction: row; + display: flex; +} + +.row-narrow-column-wide { + flex-direction: row; + box-sizing: border-box; + display: flex; + flex: 1 1 100%; + flex-grow: 1; + flex-shrink: 1; + flex-basis: 100%; + max-height: 100%; +} + +.flex-row { + flex-direction: column; + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: center; +} + +.width-pc-33 { + max-width: 33%; +} + +.width-pc-50 { + max-width: 50%; +} + +.width-pc-50-lt-md-100 { + max-width: 50%; +} + +/* lt-md */ +@media screen and (max-width: 959px) { + footer { + padding: 0 40px; + } + + section { + padding: 0; + } + + #github-logo { + height: 30px; + padding: 0 10px + } + + .row-narrow-column-wide { + flex-direction: column; + box-sizing: border-box; + display: flex; + flex: 1 1 100%; + flex-grow: 1; + flex-shrink: 1; + flex-basis: 100%; + max-height: 100%; + } + + .width-pc-50-lt-md-100 { + max-width: 100%; + } +} + +/* gt-md */ +@media screen and (min-width: 1280px) { + .gt-md-width-pc-50 { + max-width: 50%; + } +} diff --git a/index.html b/index.html index c5530c1..ef92e62 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,6 @@ - + + + @@ -8,10 +10,9 @@ Offscale.io - The open-source software-engineering consultancy - + - - - \ No newline at end of file + + diff --git a/main.65e9fd3e1912dcee.js b/main.65e9fd3e1912dcee.js new file mode 100644 index 0000000..bb8af7b --- /dev/null +++ b/main.65e9fd3e1912dcee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[179],{162:(ke,oe,T)=>{var p=T(593),x=T(212),Q=T(434);const K=[{path:"",loadChildren:()=>T.e(388).then(T.bind(T,388)).then(ae=>ae.SlashModule)}];let W=(()=>{class ae{static#e=this.\u0275fac=function(X){return new(X||ae)};static#t=this.\u0275mod=x.oAB({type:ae});static#n=this.\u0275inj=x.cJS({imports:[Q.Bz.forRoot(K,{}),Q.Bz]})}return ae})(),V=(()=>{class ae{constructor(){this.title="offscale-www"}static#e=this.\u0275fac=function(X){return new(X||ae)};static#t=this.\u0275cmp=x.Xpm({type:ae,selectors:[["app-root"]],decls:1,vars:0,template:function(X,Ne){1&X&&x._UZ(0,"router-outlet")},dependencies:[Q.lC]})}return ae})(),de=(()=>{class ae{static#e=this.\u0275fac=function(X){return new(X||ae)};static#t=this.\u0275mod=x.oAB({type:ae,bootstrap:[V]});static#n=this.\u0275inj=x.cJS({imports:[p.b2,W]})}return ae})();(0,x.G48)(),p.q6().bootstrapModule(de).catch(ae=>console.error(ae))},619:(ke,oe,T)=>{T.d(oe,{X:()=>x});var p=T(645);class x extends p.x{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const W=super._subscribe(K);return!W.closed&&K.next(this._value),W}getValue(){const{hasError:K,thrownError:W,_value:V}=this;if(K)throw W;return this._throwIfClosed(),V}next(K){super.next(this._value=K)}}},592:(ke,oe,T)=>{T.d(oe,{y:()=>Pe});var p=T(305),x=T(394),Q=T(850),K=T(407),W=T(653),V=T(674),de=T(441);let Pe=(()=>{class X{constructor(pe){pe&&(this._subscribe=pe)}lift(pe){const he=new X;return he.source=this,he.operator=pe,he}subscribe(pe,he,at){const Ke=function G(X){return X&&X instanceof p.Lv||function te(X){return X&&(0,V.m)(X.next)&&(0,V.m)(X.error)&&(0,V.m)(X.complete)}(X)&&(0,x.Nn)(X)}(pe)?pe:new p.Hp(pe,he,at);return(0,de.x)(()=>{const{operator:lt,source:vt}=this;Ke.add(lt?lt.call(Ke,vt):vt?this._subscribe(Ke):this._trySubscribe(Ke))}),Ke}_trySubscribe(pe){try{return this._subscribe(pe)}catch(he){pe.error(he)}}forEach(pe,he){return new(he=ae(he))((at,Ke)=>{const lt=new p.Hp({next:vt=>{try{pe(vt)}catch(jt){Ke(jt),lt.unsubscribe()}},error:Ke,complete:at});this.subscribe(lt)})}_subscribe(pe){var he;return null===(he=this.source)||void 0===he?void 0:he.subscribe(pe)}[Q.L](){return this}pipe(...pe){return(0,K.U)(pe)(this)}toPromise(pe){return new(pe=ae(pe))((he,at)=>{let Ke;this.subscribe(lt=>Ke=lt,lt=>at(lt),()=>he(Ke))})}}return X.create=Ne=>new X(Ne),X})();function ae(X){var Ne;return null!==(Ne=X??W.config.Promise)&&void 0!==Ne?Ne:Promise}},645:(ke,oe,T)=>{T.d(oe,{x:()=>de});var p=T(592),x=T(394);const K=(0,T(306).d)(ae=>function(){ae(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var W=T(39),V=T(441);let de=(()=>{class ae extends p.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const X=new Pe(this,this);return X.operator=G,X}_throwIfClosed(){if(this.closed)throw new K}next(G){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const X of this.currentObservers)X.next(G)}})}error(G){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:X}=this;for(;X.length;)X.shift().error(G)}})}complete(){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:X,isStopped:Ne,observers:pe}=this;return X||Ne?x.Lc:(this.currentObservers=null,pe.push(G),new x.w0(()=>{this.currentObservers=null,(0,W.P)(pe,G)}))}_checkFinalizedStatuses(G){const{hasError:X,thrownError:Ne,isStopped:pe}=this;X?G.error(Ne):pe&&G.complete()}asObservable(){const G=new p.y;return G.source=this,G}}return ae.create=(te,G)=>new Pe(te,G),ae})();class Pe extends de{constructor(te,G){super(),this.destination=te,this.source=G}next(te){var G,X;null===(X=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===X||X.call(G,te)}error(te){var G,X;null===(X=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===X||X.call(G,te)}complete(){var te,G;null===(G=null===(te=this.destination)||void 0===te?void 0:te.complete)||void 0===G||G.call(te)}_subscribe(te){var G,X;return null!==(X=null===(G=this.source)||void 0===G?void 0:G.subscribe(te))&&void 0!==X?X:x.Lc}}},305:(ke,oe,T)=>{T.d(oe,{Hp:()=>at,Lv:()=>X});var p=T(674),x=T(394),Q=T(653),K=T(894),W=T(420);const V=ae("C",void 0,void 0);function ae(ue,re,ve){return{kind:ue,value:re,error:ve}}var te=T(599),G=T(441);class X extends x.w0{constructor(re){super(),this.isStopped=!1,re?(this.destination=re,(0,x.Nn)(re)&&re.add(this)):this.destination=jt}static create(re,ve,je){return new at(re,ve,je)}next(re){this.isStopped?vt(function Pe(ue){return ae("N",ue,void 0)}(re),this):this._next(re)}error(re){this.isStopped?vt(function de(ue){return ae("E",void 0,ue)}(re),this):(this.isStopped=!0,this._error(re))}complete(){this.isStopped?vt(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(re){this.destination.next(re)}_error(re){try{this.destination.error(re)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ne=Function.prototype.bind;function pe(ue,re){return Ne.call(ue,re)}class he{constructor(re){this.partialObserver=re}next(re){const{partialObserver:ve}=this;if(ve.next)try{ve.next(re)}catch(je){Ke(je)}}error(re){const{partialObserver:ve}=this;if(ve.error)try{ve.error(re)}catch(je){Ke(je)}else Ke(re)}complete(){const{partialObserver:re}=this;if(re.complete)try{re.complete()}catch(ve){Ke(ve)}}}class at extends X{constructor(re,ve,je){let fe;if(super(),(0,p.m)(re)||!re)fe={next:re??void 0,error:ve??void 0,complete:je??void 0};else{let ie;this&&Q.config.useDeprecatedNextContext?(ie=Object.create(re),ie.unsubscribe=()=>this.unsubscribe(),fe={next:re.next&&pe(re.next,ie),error:re.error&&pe(re.error,ie),complete:re.complete&&pe(re.complete,ie)}):fe=re}this.destination=new he(fe)}}function Ke(ue){Q.config.useDeprecatedSynchronousErrorHandling?(0,G.O)(ue):(0,K.h)(ue)}function vt(ue,re){const{onStoppedNotification:ve}=Q.config;ve&&te.z.setTimeout(()=>ve(ue,re))}const jt={closed:!0,next:W.Z,error:function lt(ue){throw ue},complete:W.Z}},394:(ke,oe,T)=>{T.d(oe,{Lc:()=>V,w0:()=>W,Nn:()=>de});var p=T(674);const Q=(0,T(306).d)(ae=>function(G){ae(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((X,Ne)=>`${Ne+1}) ${X.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G});var K=T(39);class W{constructor(te){this.initialTeardown=te,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let te;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const pe of G)pe.remove(this);else G.remove(this);const{initialTeardown:X}=this;if((0,p.m)(X))try{X()}catch(pe){te=pe instanceof Q?pe.errors:[pe]}const{_finalizers:Ne}=this;if(Ne){this._finalizers=null;for(const pe of Ne)try{Pe(pe)}catch(he){te=te??[],he instanceof Q?te=[...te,...he.errors]:te.push(he)}}if(te)throw new Q(te)}}add(te){var G;if(te&&te!==this)if(this.closed)Pe(te);else{if(te instanceof W){if(te.closed||te._hasParent(this))return;te._addParent(this)}(this._finalizers=null!==(G=this._finalizers)&&void 0!==G?G:[]).push(te)}}_hasParent(te){const{_parentage:G}=this;return G===te||Array.isArray(G)&&G.includes(te)}_addParent(te){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(te),G):G?[G,te]:te}_removeParent(te){const{_parentage:G}=this;G===te?this._parentage=null:Array.isArray(G)&&(0,K.P)(G,te)}remove(te){const{_finalizers:G}=this;G&&(0,K.P)(G,te),te instanceof W&&te._removeParent(this)}}W.EMPTY=(()=>{const ae=new W;return ae.closed=!0,ae})();const V=W.EMPTY;function de(ae){return ae instanceof W||ae&&"closed"in ae&&(0,p.m)(ae.remove)&&(0,p.m)(ae.add)&&(0,p.m)(ae.unsubscribe)}function Pe(ae){(0,p.m)(ae)?ae():ae.unsubscribe()}},653:(ke,oe,T)=>{T.d(oe,{config:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},715:(ke,oe,T)=>{T.d(oe,{D:()=>je});var p=T(829),x=T(103),Q=T(360),K=T(251);function W(fe,ie=0){return(0,Q.e)((Fe,De)=>{Fe.subscribe((0,K.x)(De,At=>(0,x.f)(De,fe,()=>De.next(At),ie),()=>(0,x.f)(De,fe,()=>De.complete(),ie),At=>(0,x.f)(De,fe,()=>De.error(At),ie)))})}function V(fe,ie=0){return(0,Q.e)((Fe,De)=>{De.add(fe.schedule(()=>Fe.subscribe(De),ie))})}var ae=T(592),G=T(971),X=T(674);function pe(fe,ie){if(!fe)throw new Error("Iterable cannot be null");return new ae.y(Fe=>{(0,x.f)(Fe,ie,()=>{const De=fe[Symbol.asyncIterator]();(0,x.f)(Fe,ie,()=>{De.next().then(At=>{At.done?Fe.complete():Fe.next(At.value)})},0,!0)})})}var he=T(382),at=T(26),Ke=T(266),lt=T(664),vt=T(726),jt=T(853),ue=T(541);function je(fe,ie){return ie?function ve(fe,ie){if(null!=fe){if((0,he.c)(fe))return function de(fe,ie){return(0,p.Xf)(fe).pipe(V(ie),W(ie))}(fe,ie);if((0,Ke.z)(fe))return function te(fe,ie){return new ae.y(Fe=>{let De=0;return ie.schedule(function(){De===fe.length?Fe.complete():(Fe.next(fe[De++]),Fe.closed||this.schedule())})})}(fe,ie);if((0,at.t)(fe))return function Pe(fe,ie){return(0,p.Xf)(fe).pipe(V(ie),W(ie))}(fe,ie);if((0,vt.D)(fe))return pe(fe,ie);if((0,lt.T)(fe))return function Ne(fe,ie){return new ae.y(Fe=>{let De;return(0,x.f)(Fe,ie,()=>{De=fe[G.h](),(0,x.f)(Fe,ie,()=>{let At,Qn;try{({value:At,done:Qn}=De.next())}catch(bn){return void Fe.error(bn)}Qn?Fe.complete():Fe.next(At)},0,!0)}),()=>(0,X.m)(De?.return)&&De.return()})}(fe,ie);if((0,ue.L)(fe))return function re(fe,ie){return pe((0,ue.Q)(fe),ie)}(fe,ie)}throw(0,jt.z)(fe)}(fe,ie):(0,p.Xf)(fe)}},829:(ke,oe,T)=>{T.d(oe,{Xf:()=>Ne});var p=T(582),x=T(266),Q=T(26),K=T(592),W=T(382),V=T(726),de=T(853),Pe=T(664),ae=T(541),te=T(674),G=T(894),X=T(850);function Ne(ue){if(ue instanceof K.y)return ue;if(null!=ue){if((0,W.c)(ue))return function pe(ue){return new K.y(re=>{const ve=ue[X.L]();if((0,te.m)(ve.subscribe))return ve.subscribe(re);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,x.z)(ue))return function he(ue){return new K.y(re=>{for(let ve=0;ve{ue.then(ve=>{re.closed||(re.next(ve),re.complete())},ve=>re.error(ve)).then(null,G.h)})}(ue);if((0,V.D)(ue))return lt(ue);if((0,Pe.T)(ue))return function Ke(ue){return new K.y(re=>{for(const ve of ue)if(re.next(ve),re.closed)return;re.complete()})}(ue);if((0,ae.L)(ue))return function vt(ue){return lt((0,ae.Q)(ue))}(ue)}throw(0,de.z)(ue)}function lt(ue){return new K.y(re=>{(function jt(ue,re){var ve,je,fe,ie;return(0,p.mG)(this,void 0,void 0,function*(){try{for(ve=(0,p.KL)(ue);!(je=yield ve.next()).done;)if(re.next(je.value),re.closed)return}catch(Fe){fe={error:Fe}}finally{try{je&&!je.done&&(ie=ve.return)&&(yield ie.call(ve))}finally{if(fe)throw fe.error}}re.complete()})})(ue,re).catch(ve=>re.error(ve))})}},96:(ke,oe,T)=>{T.d(oe,{of:()=>Q});var p=T(564),x=T(715);function Q(...K){const W=(0,p.yG)(K);return(0,x.D)(K,W)}},251:(ke,oe,T)=>{T.d(oe,{x:()=>x});var p=T(305);function x(K,W,V,de,Pe){return new Q(K,W,V,de,Pe)}class Q extends p.Lv{constructor(W,V,de,Pe,ae,te){super(W),this.onFinalize=ae,this.shouldUnsubscribe=te,this._next=V?function(G){try{V(G)}catch(X){W.error(X)}}:super._next,this._error=Pe?function(G){try{Pe(G)}catch(X){W.error(X)}finally{this.unsubscribe()}}:super._error,this._complete=de?function(){try{de()}catch(G){W.error(G)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var W;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(W=this.onFinalize)||void 0===W||W.call(this))}}}},328:(ke,oe,T)=>{T.d(oe,{b:()=>Q});var p=T(631),x=T(674);function Q(K,W){return(0,x.m)(W)?(0,p.z)(K,W,1):(0,p.z)(K,1)}},181:(ke,oe,T)=>{T.d(oe,{h:()=>Q});var p=T(360),x=T(251);function Q(K,W){return(0,p.e)((V,de)=>{let Pe=0;V.subscribe((0,x.x)(de,ae=>K.call(W,ae,Pe++)&&de.next(ae)))})}},716:(ke,oe,T)=>{T.d(oe,{x:()=>x});var p=T(360);function x(Q){return(0,p.e)((K,W)=>{try{K.subscribe(W)}finally{W.add(Q)}})}},398:(ke,oe,T)=>{T.d(oe,{U:()=>Q});var p=T(360),x=T(251);function Q(K,W){return(0,p.e)((V,de)=>{let Pe=0;V.subscribe((0,x.x)(de,ae=>{de.next(K.call(W,ae,Pe++))}))})}},631:(ke,oe,T)=>{T.d(oe,{z:()=>Pe});var p=T(398),x=T(829),Q=T(360),K=T(103),W=T(251),de=T(674);function Pe(ae,te,G=1/0){return(0,de.m)(te)?Pe((X,Ne)=>(0,p.U)((pe,he)=>te(X,pe,Ne,he))((0,x.Xf)(ae(X,Ne))),G):("number"==typeof te&&(G=te),(0,Q.e)((X,Ne)=>function V(ae,te,G,X,Ne,pe,he,at){const Ke=[];let lt=0,vt=0,jt=!1;const ue=()=>{jt&&!Ke.length&&!lt&&te.complete()},re=je=>lt{pe&&te.next(je),lt++;let fe=!1;(0,x.Xf)(G(je,vt++)).subscribe((0,W.x)(te,ie=>{Ne?.(ie),pe?re(ie):te.next(ie)},()=>{fe=!0},void 0,()=>{if(fe)try{for(lt--;Ke.length&<ve(ie)):ve(ie)}ue()}catch(ie){te.error(ie)}}))};return ae.subscribe((0,W.x)(te,re,()=>{jt=!0,ue()})),()=>{at?.()}}(X,Ne,ae,G)))}},535:(ke,oe,T)=>{T.d(oe,{w:()=>K});var p=T(829),x=T(360),Q=T(251);function K(W,V){return(0,x.e)((de,Pe)=>{let ae=null,te=0,G=!1;const X=()=>G&&!ae&&Pe.complete();de.subscribe((0,Q.x)(Pe,Ne=>{ae?.unsubscribe();let pe=0;const he=te++;(0,p.Xf)(W(Ne,he)).subscribe(ae=(0,Q.x)(Pe,at=>Pe.next(V?V(Ne,at,he,pe++):at),()=>{ae=null,X()}))},()=>{G=!0,X()}))})}},599:(ke,oe,T)=>{T.d(oe,{z:()=>p});const p={setTimeout(x,Q,...K){const{delegate:W}=p;return W?.setTimeout?W.setTimeout(x,Q,...K):setTimeout(x,Q,...K)},clearTimeout(x){const{delegate:Q}=p;return(Q?.clearTimeout||clearTimeout)(x)},delegate:void 0}},971:(ke,oe,T)=>{T.d(oe,{h:()=>x});const x=function p(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},850:(ke,oe,T)=>{T.d(oe,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},564:(ke,oe,T)=>{T.d(oe,{jO:()=>K,yG:()=>W});var p=T(674);function Q(de){return de[de.length-1]}function K(de){return(0,p.m)(Q(de))?de.pop():void 0}function W(de){return function x(de){return de&&(0,p.m)(de.schedule)}(Q(de))?de.pop():void 0}},39:(ke,oe,T)=>{function p(x,Q){if(x){const K=x.indexOf(Q);0<=K&&x.splice(K,1)}}T.d(oe,{P:()=>p})},306:(ke,oe,T)=>{function p(x){const K=x(W=>{Error.call(W),W.stack=(new Error).stack});return K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K}T.d(oe,{d:()=>p})},441:(ke,oe,T)=>{T.d(oe,{O:()=>K,x:()=>Q});var p=T(653);let x=null;function Q(W){if(p.config.useDeprecatedSynchronousErrorHandling){const V=!x;if(V&&(x={errorThrown:!1,error:null}),W(),V){const{errorThrown:de,error:Pe}=x;if(x=null,de)throw Pe}}else W()}function K(W){p.config.useDeprecatedSynchronousErrorHandling&&x&&(x.errorThrown=!0,x.error=W)}},103:(ke,oe,T)=>{function p(x,Q,K,W=0,V=!1){const de=Q.schedule(function(){K(),V?x.add(this.schedule(null,W)):this.unsubscribe()},W);if(x.add(de),!V)return de}T.d(oe,{f:()=>p})},737:(ke,oe,T)=>{function p(x){return x}T.d(oe,{y:()=>p})},266:(ke,oe,T)=>{T.d(oe,{z:()=>p});const p=x=>x&&"number"==typeof x.length&&"function"!=typeof x},726:(ke,oe,T)=>{T.d(oe,{D:()=>x});var p=T(674);function x(Q){return Symbol.asyncIterator&&(0,p.m)(Q?.[Symbol.asyncIterator])}},674:(ke,oe,T)=>{function p(x){return"function"==typeof x}T.d(oe,{m:()=>p})},382:(ke,oe,T)=>{T.d(oe,{c:()=>Q});var p=T(850),x=T(674);function Q(K){return(0,x.m)(K[p.L])}},664:(ke,oe,T)=>{T.d(oe,{T:()=>Q});var p=T(971),x=T(674);function Q(K){return(0,x.m)(K?.[p.h])}},26:(ke,oe,T)=>{T.d(oe,{t:()=>x});var p=T(674);function x(Q){return(0,p.m)(Q?.then)}},541:(ke,oe,T)=>{T.d(oe,{L:()=>K,Q:()=>Q});var p=T(582),x=T(674);function Q(W){return(0,p.FC)(this,arguments,function*(){const de=W.getReader();try{for(;;){const{value:Pe,done:ae}=yield(0,p.qq)(de.read());if(ae)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(Pe)}}finally{de.releaseLock()}})}function K(W){return(0,x.m)(W?.getReader)}},360:(ke,oe,T)=>{T.d(oe,{A:()=>x,e:()=>Q});var p=T(674);function x(K){return(0,p.m)(K?.lift)}function Q(K){return W=>{if(x(W))return W.lift(function(V){try{return K(V,this)}catch(de){this.error(de)}});throw new TypeError("Unable to lift unknown Observable type")}}},420:(ke,oe,T)=>{function p(){}T.d(oe,{Z:()=>p})},407:(ke,oe,T)=>{T.d(oe,{U:()=>Q,z:()=>x});var p=T(737);function x(...K){return Q(K)}function Q(K){return 0===K.length?p.y:1===K.length?K[0]:function(V){return K.reduce((de,Pe)=>Pe(de),V)}}},894:(ke,oe,T)=>{T.d(oe,{h:()=>Q});var p=T(653),x=T(599);function Q(K){x.z.setTimeout(()=>{const{onUnhandledError:W}=p.config;if(!W)throw K;W(K)})}},853:(ke,oe,T)=>{function p(x){return new TypeError(`You provided ${null!==x&&"object"==typeof x?"an invalid object":`'${x}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(oe,{z:()=>p})},814:(ke,oe,T)=>{T.d(oe,{Do:()=>at,EM:()=>ai,HT:()=>K,JF:()=>_o,K0:()=>V,Mx:()=>ei,PM:()=>ii,S$:()=>Ne,V_:()=>Pe,Ye:()=>Ke,Zd:()=>Mt,b0:()=>he,bD:()=>Qr,ez:()=>Tr,q:()=>Q,w_:()=>W});var p=T(212);let x=null;function Q(){return x}function K(d){x||(x=d)}class W{}const V=new p.OlP("DocumentToken");let de=(()=>{class d{historyGo(g){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275prov=p.Yz7({token:d,factory:()=>(0,p.f3M)(ae),providedIn:"platform"})}return d})();const Pe=new p.OlP("Location Initialized");let ae=(()=>{class d extends de{constructor(){super(),this._doc=(0,p.f3M)(V),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Q().getBaseHref(this._doc)}onPopState(g){const y=Q().getGlobalEventTarget(this._doc,"window");return y.addEventListener("popstate",g,!1),()=>y.removeEventListener("popstate",g)}onHashChange(g){const y=Q().getGlobalEventTarget(this._doc,"window");return y.addEventListener("hashchange",g,!1),()=>y.removeEventListener("hashchange",g)}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(g){this._location.pathname=g}pushState(g,y,I){this._history.pushState(g,y,I)}replaceState(g,y,I){this._history.replaceState(g,y,I)}forward(){this._history.forward()}back(){this._history.back()}historyGo(g=0){this._history.go(g)}getState(){return this._history.state}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275prov=p.Yz7({token:d,factory:()=>new d,providedIn:"platform"})}return d})();function te(d,C){if(0==d.length)return C;if(0==C.length)return d;let g=0;return d.endsWith("/")&&g++,C.startsWith("/")&&g++,2==g?d+C.substring(1):1==g?d+C:d+"/"+C}function G(d){const C=d.match(/#|\?|$/),g=C&&C.index||d.length;return d.slice(0,g-("/"===d[g-1]?1:0))+d.slice(g)}function X(d){return d&&"?"!==d[0]?"?"+d:d}let Ne=(()=>{class d{historyGo(g){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275prov=p.Yz7({token:d,factory:()=>(0,p.f3M)(he),providedIn:"root"})}return d})();const pe=new p.OlP("appBaseHref");let he=(()=>{class d extends Ne{constructor(g,y){super(),this._platformLocation=g,this._removeListenerFns=[],this._baseHref=y??this._platformLocation.getBaseHrefFromDOM()??(0,p.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}prepareExternalUrl(g){return te(this._baseHref,g)}path(g=!1){const y=this._platformLocation.pathname+X(this._platformLocation.search),I=this._platformLocation.hash;return I&&g?`${y}${I}`:y}pushState(g,y,I,O){const H=this.prepareExternalUrl(I+X(O));this._platformLocation.pushState(g,y,H)}replaceState(g,y,I,O){const H=this.prepareExternalUrl(I+X(O));this._platformLocation.replaceState(g,y,H)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}static#e=this.\u0275fac=function(y){return new(y||d)(p.LFG(de),p.LFG(pe,8))};static#t=this.\u0275prov=p.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})(),at=(()=>{class d extends Ne{constructor(g,y){super(),this._platformLocation=g,this._baseHref="",this._removeListenerFns=[],null!=y&&(this._baseHref=y)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}path(g=!1){let y=this._platformLocation.hash;return null==y&&(y="#"),y.length>0?y.substring(1):y}prepareExternalUrl(g){const y=te(this._baseHref,g);return y.length>0?"#"+y:y}pushState(g,y,I,O){let H=this.prepareExternalUrl(I+X(O));0==H.length&&(H=this._platformLocation.pathname),this._platformLocation.pushState(g,y,H)}replaceState(g,y,I,O){let H=this.prepareExternalUrl(I+X(O));0==H.length&&(H=this._platformLocation.pathname),this._platformLocation.replaceState(g,y,H)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}static#e=this.\u0275fac=function(y){return new(y||d)(p.LFG(de),p.LFG(pe,8))};static#t=this.\u0275prov=p.Yz7({token:d,factory:d.\u0275fac})}return d})(),Ke=(()=>{class d{constructor(g){this._subject=new p.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=g;const y=this._locationStrategy.getBaseHref();this._basePath=function ue(d){if(new RegExp("^(https?:)?//").test(d)){const[,g]=d.split(/\/\/[^\/]+/);return g}return d}(G(jt(y))),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(g=!1){return this.normalize(this._locationStrategy.path(g))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(g,y=""){return this.path()==this.normalize(g+X(y))}normalize(g){return d.stripTrailingSlash(function vt(d,C){if(!d||!C.startsWith(d))return C;const g=C.substring(d.length);return""===g||["/",";","?","#"].includes(g[0])?g:C}(this._basePath,jt(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._locationStrategy.prepareExternalUrl(g)}go(g,y="",I=null){this._locationStrategy.pushState(I,"",g,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+X(y)),I)}replaceState(g,y="",I=null){this._locationStrategy.replaceState(I,"",g,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+X(y)),I)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(g=0){this._locationStrategy.historyGo?.(g)}onUrlChange(g){return this._urlChangeListeners.push(g),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(y=>{this._notifyUrlChangeListeners(y.url,y.state)})),()=>{const y=this._urlChangeListeners.indexOf(g);this._urlChangeListeners.splice(y,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(g="",y){this._urlChangeListeners.forEach(I=>I(g,y))}subscribe(g,y,I){return this._subject.subscribe({next:g,error:y,complete:I})}static#e=this.normalizeQueryParams=X;static#t=this.joinWithSlash=te;static#n=this.stripTrailingSlash=G;static#r=this.\u0275fac=function(y){return new(y||d)(p.LFG(Ne))};static#o=this.\u0275prov=p.Yz7({token:d,factory:()=>function lt(){return new Ke((0,p.LFG)(Ne))}(),providedIn:"root"})}return d})();function jt(d){return d.replace(/\/index.html$/,"")}function ei(d,C){C=encodeURIComponent(C);for(const g of d.split(";")){const y=g.indexOf("="),[I,O]=-1==y?[g,""]:[g.slice(0,y),g.slice(y+1)];if(I.trim()===C)return decodeURIComponent(O)}return null}let Tr=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=p.oAB({type:d});static#n=this.\u0275inj=p.cJS({})}return d})();const Qr="browser",Io="server";function ii(d){return d===Io}let ai=(()=>{class d{static#e=this.\u0275prov=(0,p.Yz7)({token:d,providedIn:"root",factory:()=>new ki((0,p.LFG)(V),window)})}return d})();class ki{constructor(C,g){this.document=C,this.window=g,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const g=function ui(d,C){const g=d.getElementById(C)||d.getElementsByName(C)[0];if(g)return g;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const y=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let I=y.currentNode;for(;I;){const O=I.shadowRoot;if(O){const H=O.getElementById(C)||O.querySelector(`[name="${C}"]`);if(H)return H}I=y.nextNode()}}return null}(this.document,C);g&&(this.scrollToElement(g),g.focus())}setHistoryScrollRestoration(C){this.supportsScrolling()&&(this.window.history.scrollRestoration=C)}scrollToElement(C){const g=C.getBoundingClientRect(),y=g.left+this.window.pageXOffset,I=g.top+this.window.pageYOffset,O=this.offset();this.window.scrollTo(y-O[0],I-O[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class _o{}const yr=d=>d.src,Dr=new p.OlP("ImageLoader",{providedIn:"root",factory:()=>yr}),Rn=new p.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let to=(()=>{class d{constructor(){this.preloadedImages=(0,p.f3M)(Rn),this.document=(0,p.f3M)(V)}createPreloadLinkTag(g,y,I,O){if(this.preloadedImages.has(y))return;this.preloadedImages.add(y);const H=g.createElement("link");g.setAttribute(H,"as","image"),g.setAttribute(H,"href",y),g.setAttribute(H,"rel","preload"),g.setAttribute(H,"fetchpriority","high"),O&&g.setAttribute(H,"imageSizes",O),I&&g.setAttribute(H,"imageSrcset",I),g.appendChild(this.document.head,H)}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275prov=p.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})();const fn=/^((\s*\d+w\s*(,|$)){1,})$/,li=[1,2];let Mt=(()=>{class d{constructor(){this.imageLoader=(0,p.f3M)(Dr),this.config=function Ut(d){let C={};return d.breakpoints&&(C.breakpoints=d.breakpoints.sort((g,y)=>g-y)),Object.assign({},p.TFw,d,C)}((0,p.f3M)(p.Z4K)),this.renderer=(0,p.f3M)(p.Qsj),this.imgElement=(0,p.f3M)(p.SBq).nativeElement,this.injector=(0,p.f3M)(p.zs3),this.isServer=ii((0,p.f3M)(p.Lbi)),this.preloadLinkCreator=(0,p.f3M)(to),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,p.kO0)("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const g=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),g,this.sizes)}ngOnChanges(g){if(g.ngSrc&&!g.ngSrc.isFirstChange()){const y=this._renderedSrc;this.updateSrcAndSrcset(!0);const I=this._renderedSrc;null!==this.lcpObserver&&y&&I&&y!==I&&this.injector.get(p.R0b).runOutsideAngular(()=>{this.lcpObserver?.updateImage(y,I)})}}callImageLoader(g){let y=g;return this.loaderParams&&(y.loaderParams=this.loaderParams),this.imageLoader(y)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const g=fn.test(this.ngSrcset);return this.ngSrcset.split(",").filter(I=>""!==I).map(I=>{I=I.trim();const O=g?parseFloat(I):parseFloat(I)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:O})} ${I}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:g}=this.config;let y=g;return"100vw"===this.sizes?.trim()&&(y=g.filter(O=>O>=640)),y.map(O=>`${this.callImageLoader({src:this.ngSrc,width:O})} ${O}w`).join(", ")}updateSrcAndSrcset(g=!1){g&&(this._renderedSrc=null);const y=this.getRewrittenSrc();let I;return this.setHostAttribute("src",y),this.ngSrcset?I=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(I=this.getAutomaticSrcset()),I&&this.setHostAttribute("srcset",I),I}getFixedSrcset(){return li.map(y=>`${this.callImageLoader({src:this.ngSrc,width:this.width*y})} ${y}x`).join(", ")}shouldGenerateAutomaticSrcset(){let g=!1;return this.sizes||(g=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==yr&&!g}ngOnDestroy(){}setHostAttribute(g,y){this.renderer.setAttribute(this.imgElement,g,y)}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275dir=p.lG2({type:d,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(y,I){2&y&&p.Udp("position",I.fill?"absolute":null)("width",I.fill?"100%":null)("height",I.fill?"100%":null)("inset",I.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",hu],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",p.Cb_],height:["height","height",p.Cb_],loading:"loading",priority:["priority","priority",p.VuI],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",p.VuI],fill:["fill","fill",p.VuI],src:"src",srcset:"srcset"},standalone:!0,features:[p.Xq5,p.TTD]})}return d})();function hu(d){return"string"==typeof d?d:(0,p.z3N)(d)}},212:(ke,oe,T)=>{T.d(oe,{tb:()=>Yf,AFp:()=>Bh,ip1:()=>uD,hGG:()=>IT,z2F:()=>ks,Ojb:()=>jC,sBO:()=>Mg,Sil:()=>RS,EJc:()=>fT,Xts:()=>Di,SBq:()=>Ra,lqb:()=>Fr,qLn:()=>$o,vpe:()=>kr,XFs:()=>Ze,OlP:()=>Ue,zs3:()=>cr,ZZ4:()=>Id,aQg:()=>_d,soG:()=>Kc,YKP:()=>py,h0i:()=>Ai,R0b:()=>Yt,FiY:()=>Vu,Lbi:()=>zl,g9A:()=>zh,Qsj:()=>dE,FYo:()=>Gp,JOm:()=>Xu,q3G:()=>Ii,tp0:()=>Hu,Rgc:()=>nu,dDg:()=>nT,eoX:()=>aD,GfV:()=>Jy,s_b:()=>Rc,ifc:()=>er,T8G:()=>Og,VuI:()=>YT,MMx:()=>my,Lck:()=>wb,eFA:()=>vD,G48:()=>vT,f3M:()=>tt,$WT:()=>nr,MR2:()=>Pl,Cb_:()=>ZT,_c5:()=>ET,qFp:()=>QT,r_H:()=>TC,rg0:()=>gE,c2e:()=>eD,Z4K:()=>Wh,TFw:()=>Gh,zSh:()=>kl,wAp:()=>xs,I6F:()=>zf,vHH:()=>ce,lri:()=>iD,rWj:()=>sD,JZr:()=>hr,EiD:()=>Lp,mCW:()=>ac,qzn:()=>us,JVY:()=>Rw,pB0:()=>Fw,eBb:()=>xw,L6k:()=>Ow,LAX:()=>Pw,cg1:()=>Cf,kuF:()=>_e,kL8:()=>ov,dqk:()=>Pt,Z0I:()=>Xo,eJc:()=>jo,QGY:()=>If,F4k:()=>Rv,kO0:()=>Bo,RDi:()=>LC,AaK:()=>Ye,z3N:()=>so,Xq5:()=>$g,TTD:()=>dt,jDz:()=>vy,uIk:()=>$d,Suo:()=>xy,Xpm:()=>ji,lG2:()=>Qs,Yz7:()=>ct,cJS:()=>zr,oAB:()=>yr,Yjl:()=>Hi,Y36:()=>fs,_UZ:()=>vf,qZA:()=>jc,TgZ:()=>kc,n5z:()=>Eh,LFG:()=>Ft,$8M:()=>Sl,$Z:()=>ug,NdJ:()=>_f,CRH:()=>Py,Hsn:()=>kv,F$t:()=>Lv,iGM:()=>Oy,P3R:()=>Vp,Udp:()=>qd,_uU:()=>ny});let x=null,K=1;function V(e){const t=x;return x=e,t}function Ne(e){if((!ve(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==K)){if(!e.producerMustRecompute(e)&&!vt(e))return e.dirty=!1,void(e.lastCleanEpoch=K);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=K}}function vt(e){je(e);for(let t=0;t0}function je(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Vn=null;var rt=T(645),xt=T(394),hn=T(619),Et=T(398);function Ae(e){for(let t in e)if(e[t]===Ae)return t;throw Error("Could not find renamed property on target object.")}function Ye(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ye).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function vn(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const un=Ae({__forward_ref__:Ae});function fr(e){return e.__forward_ref__=fr,e.toString=function(){return Ye(this())},e}function ye(e){return Ge(e)?e():e}function Ge(e){return"function"==typeof e&&e.hasOwnProperty(un)&&e.__forward_ref__===fr}function We(e){return e&&!!e.\u0275providers}const hr="https://g.co/ng/security#xss";class ce extends Error{constructor(t,n){super(_e(t,n)),this.code=t}}function _e(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const Rt=Ae({\u0275cmp:Ae}),co=Ae({\u0275dir:Ae}),ft=Ae({\u0275pipe:Ae}),Yo=Ae({\u0275mod:Ae}),Qe=Ae({\u0275fac:Ae}),Xt=Ae({__NG_ELEMENT_ID__:Ae}),Sn=Ae({__NG_ENV_ID__:Ae});function Te(e){return"string"==typeof e?e:null==e?"":String(e)}function Br(e,t){throw new ce(-201,!1)}function mt(e,t){null==e&&function Ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ct(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zr(e){return{providers:e.providers||[],imports:e.imports||[]}}function fo(e){return ho(e,Jo)||ho(e,mo)}function Xo(e){return null!==fo(e)}function ho(e,t){return e.hasOwnProperty(t)?e[t]:null}function go(e){return e&&(e.hasOwnProperty(ei)||e.hasOwnProperty(xi))?e[ei]:null}const Jo=Ae({\u0275prov:Ae}),ei=Ae({\u0275inj:Ae}),mo=Ae({ngInjectableDef:Ae}),xi=Ae({ngInjectorDef:Ae});var Ze=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}(Ze||{});let ti;function vo(){return ti}function en(e){const t=ti;return ti=e,t}function Pi(e,t,n){const r=fo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ze.Optional?null:void 0!==t?t:void Br(Ye(e))}const Pt=globalThis;class Ue{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ct({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Do={},tn="__NG_DI_FLAG__",Co="ngTempTokenPath",Li=/\n/gm,yn="__source";let Hn;function dn(e){const t=Hn;return Hn=e,t}function br(e,t=Ze.Default){if(void 0===Hn)throw new ce(-203,!1);return null===Hn?Pi(e,void 0,t):Hn.get(e,t&Ze.Optional?null:void 0,t)}function Ft(e,t=Ze.Default){return(vo()||br)(ye(e),t)}function tt(e,t=Ze.Default){return Ft(e,wo(t))}function wo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function oi(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[E+1].toLowerCase();const A=8&r?b:null;if(A&&-1!==Sr(A,m,0)||2&r&&m!==b){if(Nn(r))return!1;s=!0}}}}else{if(!s&&!Nn(r)&&!Nn(l))return!1;if(s&&Nn(l))continue;s=!1,r=l|1&r}}return Nn(r)||s}function Nn(e){return 0==(1&e)}function Xr(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Nn(s)&&(t+=_o(i,o),o=""),r=s,i=i||!Nn(r);n++}return""!==o&&(t+=_o(i,o)),t}function ji(e){return $n(()=>{const t=ci(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||er.Emulated,styles:e.styles||Xe,_:null,schemas:e.schemas||null,tView:null,id:""};Xs(n);const r=e.dependencies;return n.directiveDefs=Ui(r,!1),n.pipeDefs=Ui(r,!0),n.id=function lu(e){let t=0;const 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(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function So(e){return Ve(e)||Lt(e)}function Vi(e){return null!==e}function yr(e){return $n(()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Dr(e,t){if(null==e)return Dn;const n={};for(const 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 Qs(e){return $n(()=>{const t=ci(e);return Xs(t),t})}function Hi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ve(e){return e[Rt]||null}function Lt(e){return e[co]||null}function Bt(e){return e[ft]||null}function nr(e){const t=Ve(e)||Lt(e)||Bt(e);return null!==t&&t.standalone}function zt(e,t){const n=e[Yo]||null;if(!n&&!0===t)throw new Error(`Type ${Ye(e)} does not have '\u0275mod' property.`);return n}function ci(e){const 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||Dn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dr(e.inputs,t),outputs:Dr(e.outputs),debugInfo:null}}function Xs(e){e.features?.forEach(t=>t(e))}function Ui(e,t){if(!e)return null;const n=t?Bt:So;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Vi)}const Tt=0,ne=1,Ee=2,Ct=3,wn=4,Ht=5,kt=6,Jr=7,Me=8,nn=9,rr=10,Oe=11,Ar=12,eo=13,Nr=14,It=15,En=16,Bn=17,Rn=18,to=19,Cr=20,fn=21,To=22,zn=23,be=25,li=1,In=7,Rr=9,_t=10;var Gn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Gn||{});function Mt(e){return Array.isArray(e)&&"object"==typeof e[li]}function Ut(e){return Array.isArray(e)&&!0===e[li]}function $i(e){return 0!=(4&e.flags)}function Or(e){return e.componentOffset>-1}function di(e){return 1==(1&e.flags)}function On(e){return!!e.template}function Bi(e){return 0!=(512&e[Ee])}function it(e,t){return e.hasOwnProperty(Qe)?e[Qe]:null}class pt{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function dt(){return $e}function $e(e){return e.type.prototype.ngOnChanges&&(e.setInput=ht),bt}function bt(){const e=or(this),t=e?.current;if(t){const n=e.previous;if(n===Dn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ht(e,t,n,r){const o=this.declaredInputs[n],i=or(e)||function xn(e,t){return e[Ot]=t}(e,{previous:Dn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new pt(l&&l.currentValue,t,a===Dn),e[r]=t}dt.ngInherit=!0;const Ot="__ngSimpleChanges__";function or(e){return e[Ot]||null}const qt=function(e,t,n){};let Oo=!1;function Dt(e){for(;Array.isArray(e);)e=e[Tt];return e}function $t(e,t){return Dt(t[e.index])}function pi(e,t){return e.data[t]}function pn(e,t){const n=t[e];return Mt(n)?n:n[Tt]}function ia(e){return 128==(128&e[Ee])}function Wn(e,t){return null==t?null:e[t]}function mu(e){e[Bn]=0}function fl(e){1024&e[Ee]||(e[Ee]|=1024,ia(e)&&mi(e))}function vu(e){return 9216&e[Ee]||e[zn]?.dirty}function sa(e){vu(e)?mi(e):64&e[Ee]&&(function dl(){return Oo}()?(e[Ee]|=1024,mi(e)):e[rr].changeDetectionScheduler?.notify())}function mi(e){e[rr].changeDetectionScheduler?.notify();let t=e[Ct];for(;null!==t&&!(Ut(t)&&t[Ee]&Gn.HasChildViewsToRefresh||Mt(t)&&8192&t[Ee]);){if(Ut(t))t[Ee]|=Gn.HasChildViewsToRefresh;else if(t[Ee]|=8192,!ia(t))break;t=t[Ct]}}function zi(e,t){if(256==(256&e[Ee]))throw new ce(911,!1);null===e[fn]&&(e[fn]=[]),e[fn].push(t)}const Re={lFrame:Au(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fn(){return Re.bindingsEnabled}function Fo(){return null!==Re.skipHydrationRootTNode}function U(){return Re.lFrame.lView}function nt(){return Re.lFrame.tView}function gt(){let e=wl();for(;null!==e&&64===e.type;)e=e.parent;return e}function wl(){return Re.lFrame.currentTNode}function Gt(e,t){const n=Re.lFrame;n.currentTNode=e,n.isParent=t}function ua(){return Re.lFrame.isParent}function Du(){Re.lFrame.isParent=!1}function ah(e,t){const n=Re.lFrame;n.bindingIndex=n.bindingRootIndex=e,Iu(t)}function Iu(e){Re.lFrame.currentDirectiveIndex=e}function _u(){return Re.lFrame.currentQueryIndex}function Mu(e){Re.lFrame.currentQueryIndex=e}function bu(e){const t=e[ne];return 2===t.type?t.declTNode:1===t.type?e[Ht]:null}function Su(e,t,n){if(n&Ze.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Ze.Host||(o=bu(i),null===o||(i=i[Nr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Re.lFrame=Tu();return r.currentTNode=t,r.lView=e,!0}function da(e){const t=Tu(),n=e[ne];Re.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tu(){const e=Re.lFrame,t=null===e?null:e.child;return null===t?Au(e):t}function Au(e){const 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 null!==e&&(e.child=t),t}function Nu(){const e=Re.lFrame;return Re.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ru=Nu;function fa(){const e=Nu();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 ln(){return Re.lFrame.selectedIndex}function ko(e){Re.lFrame.selectedIndex=e}let f=!0;function c(){return f}function h(e){f=e}function w(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Bn]+=65536),(a>14>16&&(3&e[Ee])===t&&(e[Ee]+=16384,xe(a,i)):xe(a,i)}const wt=-1;class Er{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function El(e){return e!==wt}function pa(e){return 32767&e}function ga(e,t){let n=function zD(e){return e>>16}(e),r=t;for(;n>0;)r=r[Nr],n--;return r}let Il=!0;function xu(e){const t=Il;return Il=e,t}const hh=255,ph=5;let GD=0;const Pr={};function Pu(e,t){const n=gh(e,t);if(-1!==n)return n;const r=t[ne];r.firstCreatePass&&(e.injectorIndex=t.length,_l(r.data,e),_l(t,null),_l(r.blueprint,null));const o=Fu(e,t),i=e.injectorIndex;if(El(o)){const s=pa(o),a=ga(o,t),l=a[ne].data;for(let m=0;m<8;m++)t[i+m]=a[s+m]|l[s+m]}return t[i+8]=o,i}function _l(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ih(o),null===r)return wt;if(n++,o=o[Nr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return wt}function Ml(e,t,n){!function WD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(r=n[Xt]),null==r&&(r=n[Xt]=GD++);const o=r&hh;t.data[e+(o>>ph)]|=1<=0?t&hh:KD:t}(n);if("function"==typeof i){if(!Su(t,e,r))return r&Ze.Host?mh(o,0,r):vh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&Ze.Optional)return s;Br()}finally{Ru()}}else if("number"==typeof i){let s=null,a=gh(e,t),l=wt,m=r&Ze.Host?t[It][Ht]:null;for((-1===a||r&Ze.SkipSelf)&&(l=-1===a?Fu(e,t):t[a+8],l!==wt&&wh(r,!1)?(s=t[ne],a=pa(l),t=ga(l,t)):a=-1);-1!==a;){const D=t[ne];if(Ch(i,a,D.data)){const E=YD(a,t,n,s,r,m);if(E!==Pr)return E}l=t[a+8],l!==wt&&wh(r,t[ne].data[a+8]===m)&&Ch(i,a,t)?(s=D,a=pa(l),t=ga(l,t)):a=-1}}return o}function YD(e,t,n,r,o,i){const s=t[ne],a=s.data[e+8],D=Lu(a,s,n,null==r?Or(a)&&Il:r!=s&&0!=(3&a.type),o&Ze.Host&&i===a);return null!==D?yi(t,s,D,a):Pr}function Lu(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,D=i>>20,b=o?a+D:e.directiveEnd;for(let A=r?a:a+D;A=l&&L.type===n)return A}if(o){const A=s[l];if(A&&On(A)&&A.type===n)return l}return null}function yi(e,t,n,r){let o=e[n];const i=t.data;if(function vi(e){return e instanceof Er}(o)){const s=o;s.resolving&&function Ur(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ce(-200,`Circular dependency in DI detected for ${e}${n}`)}(function qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Te(e)}(i[n]));const a=xu(s.canSeeViewProviders);s.resolving=!0;const m=s.injectImpl?en(s.injectImpl):null;Su(e,r,Ze.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function v(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=$e(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))}(n,i[n],t)}finally{null!==m&&en(m),xu(a),s.resolving=!1,Ru()}}return o}function Ch(e,t,n){return!!(n[t+(e>>ph)]&1<{const t=e.prototype.constructor,n=t[Qe]||bl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Qe]||bl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bl(e){return Ge(e)?()=>{const t=bl(ye(e));return t&&t()}:it(e)}function Ih(e){const t=e[ne],n=t.type;return 2===n?t.declTNode:1===n?e[Ht]:null}function Sl(e){return function qD(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function Tl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,m,D){const E=l.hasOwnProperty(Ki)?l[Ki]:Object.defineProperty(l,Ki,{value:[]})[Ki];for(;E.length<=D;)E.push(null);return(E[D]=E[D]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function es(e,t){e.forEach(n=>Array.isArray(n)?es(n,t):t(n))}function Mh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ku(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function va(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function bh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Nl(e,t){const n=ts(e,t);if(n>=0)return e[1|n]}function ts(e,t){return function Sh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return es(t,s=>{const a=s;Bu(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&xh(o,i),n}function xh(e,t){for(let n=0;n{t(i,r)})}}function Bu(e,t,n,r){if(!(e=ye(e)))return!1;let o=null,i=go(e);const s=!i&&Ve(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=go(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const m of l)Bu(m,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let m;r.add(o);try{es(i.imports,D=>{Bu(D,t,n,r)&&(m||=[],m.push(D))})}finally{}void 0!==m&&xh(m,t)}if(!a){const m=it(o)||(()=>new o);t({provide:o,useFactory:m,deps:Xe},o),t({provide:xl,useValue:o,multi:!0},o),t({provide:Di,useValue:()=>Ft(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const m=e;Fl(l,D=>{t(D,m)})}}}return o!==e&&void 0!==e.providers}function Fl(e,t){for(let n of e)We(n)&&(n=n.\u0275providers),Array.isArray(n)?Fl(n,t):t(n)}const CC=Ae({provide:String,useValue:Ae});function Ll(e){return null!==e&&"object"==typeof e&&CC in e}function Ci(e){return"function"==typeof e}const kl=new Ue("Set Injector scope."),zu={},EC={};let jl;function Gu(){return void 0===jl&&(jl=new $u),jl}class Fr{}class rs extends Fr{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,Hl(t,s=>this.processProvider(s)),this.records.set(Rh,os(void 0,this)),o.has("environment")&&this.records.set(Fr,os(void 0,this));const i=this.records.get(kl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xl,Xe,Ze.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const 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();const n=dn(this),r=en(void 0);try{return t()}finally{dn(n),en(r)}}get(t,n=Do,r=Ze.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Sn))return t[Sn](this);r=wo(r);const i=dn(this),s=en(void 0);try{if(!(r&Ze.SkipSelf)){let l=this.records.get(t);if(void 0===l){const m=function SC(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ue}(t)&&fo(t);l=m&&this.injectableDefInScope(m)?os(Vl(t),zu):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&Ze.Self?Gu():this.parent).get(t,n=r&Ze.Optional&&n===Do?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Co]=a[Co]||[]).unshift(Ye(t)),i)throw a;return function Ws(e,t,n,r){const o=e[Co];throw t[yn]&&o.unshift(t[yn]),e.message=function qs(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ye(t);if(Array.isArray(t))o=t.map(Ye).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ye(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Li,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Co]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{en(s),dn(i)}}resolveInjectorInitializers(){const t=dn(this),n=en(void 0);try{const o=this.get(Di,Xe,Ze.Self);for(const i of o)i()}finally{dn(t),en(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ye(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ce(205,!1)}processProvider(t){let n=Ci(t=ye(t))?t:ye(t&&t.provide);const r=function _C(e){return Ll(e)?os(void 0,e.useValue):os(function Lh(e,t,n){let r;if(Ci(e)){const o=ye(e);return it(o)||Vl(o)}if(Ll(e))r=()=>ye(e.useValue);else if(function Fh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...oi(e.deps||[]));else if(function Ph(e){return!(!e||!e.useExisting)}(e))r=()=>Ft(ye(e.useExisting));else{const o=ye(e&&(e.useClass||e.provide));if(!function MC(e){return!!e.deps}(e))return it(o)||Vl(o);r=()=>new o(...oi(e.deps))}return r}(e),zu)}(t);if(Ci(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=os(void 0,zu,!0),o.factory=()=>oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===zu&&(n.value=EC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ye(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Vl(e){const t=fo(e),n=null!==t?t.factory:it(e);if(null!==n)return n;if(e instanceof Ue)throw new ce(204,!1);if(e instanceof Function)return function IC(e){const t=e.length;if(t>0)throw va(t,"?"),new ce(204,!1);const n=function po(e){return e&&(e[Jo]||e[mo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ce(204,!1)}function os(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hl(e,t){for(const n of e)Array.isArray(n)?Hl(n,t):n&&We(n)?Hl(n.\u0275providers,t):t(n)}function TC(e,t){e instanceof rs&&e.assertNotDestroyed();const r=dn(e),o=en(void 0);try{return t()}finally{dn(r),en(o)}}function Hh(e,t=null,n=null,r){const o=Uh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Uh(e,t=null,n=null,r,o=new Set){const i=[n||Xe,DC(e)];return r=r||("object"==typeof e?void 0:Ye(e)),new rs(i,t||Gu(),r||null,o)}let Bl,cr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Do;static#t=this.NULL=new $u;static create(n,r){if(Array.isArray(n))return Hh({name:""},r,n,"");{const o=n.name??"";return Hh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=ct({token:e,providedIn:"any",factory:()=>Ft(Rh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function jo(e){return!!zt(e)}function LC(e){Bl=e}const Bh=new Ue("AppId",{providedIn:"root",factory:()=>kC}),kC="ng",zh=new Ue("Platform Initializer"),zl=new Ue("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jC=new Ue("CSP nonce",{providedIn:"root",factory:()=>function Vo(){if(void 0!==Bl)return Bl;if(typeof document<"u")return document;throw new ce(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Gh={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Wh=new Ue("ImageConfig",{providedIn:"root",factory:()=>Gh});function Zn(e){return e instanceof Function?e():e}function Ku(e){return 128==(128&e.flags)}var Xu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Xu||{});const Zl=new Map;let ZC=0;const Ql="__ngContext__";function gn(e,t){Mt(t)?(e[Ql]=t[to],function QC(e){Zl.set(e[to],e)}(t)):e[Ql]=t}let Xl;function Jl(e,t){return Xl(e,t)}function Ia(e){const t=e[Ct];return Ut(t)?t[Ct]:t}function lp(e){return fp(e[Ar])}function dp(e){return fp(e[wn])}function fp(e){for(;null!==e&&!Ut(e);)e=e[wn];return e}function ss(e,t,n,r,o){if(null!=r){let i,s=!1;Ut(r)?i=r:Mt(r)&&(s=!0,r=r[Tt]);const a=Dt(r);0===e&&null!==n?null==o?mp(t,n,a):wi(t,n,a,o||null,!0):1===e&&null!==n?wi(t,n,a,o||null,!0):2===e?function oc(e,t,n){const r=nc(e,t);r&&function mw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Dw(e,t,n,r,o){const i=n[In];i!==Dt(n)&&ss(t,e,r,i,o);for(let a=_t;a0&&(e[n-1][wn]=r[wn]);const i=ku(e,_t+t);!function uw(e,t){ba(e,t,t[Oe],2,null,null),t[Tt]=null,t[Ht]=null}(r[ne],r);const s=i[Rn];null!==s&&s.detachView(i[ne]),r[Ct]=null,r[wn]=null,r[Ee]&=-129}return r}function tc(e,t){if(!(256&t[Ee])){const n=t[Oe];n.destroyNode&&ba(e,t,n,3,null,null),function dw(e){let t=e[Ar];if(!t)return td(e[ne],e);for(;t;){let n=null;if(Mt(t))n=t[Ar];else{const r=t[_t];r&&(n=r)}if(!n){for(;t&&!t[wn]&&t!==e;)Mt(t)&&td(t[ne],t),t=t[Ct];null===t&&(t=e),Mt(t)&&td(t[ne],t),n=t&&t[wn]}t=n}}(t)}}function td(e,t){if(!(256&t[Ee])){t[Ee]&=-129,t[Ee]|=256,t[zn]&&function jt(e){if(je(e),ve(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Jr]=null);const o=t[fn];if(null!==o){t[fn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===er.None||i===er.Emulated)return null}return $t(r,n)}}(e,t.parent,n)}function wi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function mp(e,t,n){e.appendChild(t,n)}function vp(e,t,n,r,o){null!==r?wi(e,t,n,r,o):mp(e,t,n)}function nc(e,t){return e.parentNode(t)}function yp(e,t,n){return Cp(e,t,n)}let rd,ic,sc,Cp=function Dp(e,t,n){return 40&e.type?$t(e,n):null};function rc(e,t,n,r){const o=nd(e,r,t),i=t[Oe],a=yp(r.parent||t[Ht],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return ic}()?.createHTML(e)||e}function Ap(e){return function ad(){if(void 0===sc&&(sc=null,Pt.trustedTypes))try{sc=Pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return sc}()?.createScriptURL(e)||e}class Ei{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hr})`}}class Mw extends Ei{getTypeName(){return"HTML"}}class bw extends Ei{getTypeName(){return"Style"}}class Sw extends Ei{getTypeName(){return"Script"}}class Tw extends Ei{getTypeName(){return"URL"}}class Aw extends Ei{getTypeName(){return"ResourceURL"}}function so(e){return e instanceof Ei?e.changingThisBreaksApplicationSecurity:e}function us(e,t){const n=function Nw(e){return e instanceof Ei&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${hr})`)}return n===t}function Rw(e){return new Mw(e)}function Ow(e){return new bw(e)}function xw(e){return new Sw(e)}function Pw(e){return new Tw(e)}function Fw(e){return new Aw(e)}class Lw{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(as(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class kw{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=as(t),n}}const Vw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ac(e){return(e=String(e)).match(Vw)?e:"unsafe:"+e}function ao(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sa(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Rp=ao("area,br,col,hr,img,wbr"),Op=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xp=ao("rp,rt"),ud=Sa(Rp,Sa(Op,ao("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Sa(xp,ao("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Sa(xp,Op)),cd=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pp=Sa(cd,ao("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ao("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Hw=ao("script,style,template");class Uw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ud.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();ud.hasOwnProperty(n)&&!Rp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Fp(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const $w=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bw=/([^\#-~ |!])/g;function Fp(e){return e.replace(/&/g,"&").replace($w,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Bw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let uc;function Lp(e,t){let n=null;try{uc=uc||function Np(e){const t=new kw(e);return function jw(){try{return!!(new window.DOMParser).parseFromString(as(""),"text/html")}catch{return!1}}()?new Lw(t):t}(e);let r=t?String(t):"";n=uc.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=uc.getInertBodyElement(r)}while(r!==i);return as((new Uw).sanitizeChildren(ld(n)||n))}finally{if(n){const r=ld(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ld(e){return"content"in e&&function zw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ii=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}(Ii||{});function kp(e){const t=Ta();return t?t.sanitize(Ii.URL,e)||"":us(e,"URL")?so(e):ac(Te(e))}function jp(e){const t=Ta();if(t)return Ap(t.sanitize(Ii.RESOURCE_URL,e)||"");if(us(e,"ResourceURL"))return Ap(so(e));throw new ce(904,!1)}function Vp(e,t,n){return function Kw(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?jp:kp}(t,n)(e)}function Ta(){const e=U();return e&&e[rr].sanitizer}class Qw{}let Hp=(e,t,n)=>null;function yd(e,t,n=!1){return Hp(e,t,n)}class sE{}class Bp{}class uE{resolveComponentFactory(t){throw function aE(e){const t=Error(`No component factory found for ${Ye(e)}.`);return t.ngComponent=e,t}(t)}}let pc=(()=>{class e{static#e=this.NULL=new uE}return e})();function cE(){return ds(gt(),U())}function ds(e,t){return new Ra($t(e,t))}let Ra=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=cE}return e})();function lE(e){return e instanceof Ra?e.nativeElement:e}class Gp{}let dE=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function fE(){const e=U(),n=pn(gt().index,e);return(Mt(n)?n:e)[Oe]}()}return e})(),hE=(()=>{class e{static#e=this.\u0275prov=ct({token:e,providedIn:"root",factory:()=>null})}return e})();const wd={};function gE(e){const t=V(null);try{return e()}finally{V(t)}}function gc(e){return!!Ed(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ed(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Wp{constructor(){}supports(t){return gc(t)}create(t){return new DE(t)}}const yE=(e,t)=>t;class DE{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||yE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;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 null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new CE(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?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._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new qp),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qp),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(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._nextIdentityChange=t,t}}class CE{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}}class wE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(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;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class qp{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new wE,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Yp(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const 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)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new IE(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;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;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){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?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))}}class IE{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 Kp(){return new Id([new Wp])}let Id=(()=>{class e{static#e=this.\u0275prov=ct({token:e,providedIn:"root",factory:Kp});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Kp()),deps:[[e,new Hu,new Vu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new ce(901,!1)}}return e})();function Qp(){return new _d([new Zp])}let _d=(()=>{class e{static#e=this.\u0275prov=ct({token:e,providedIn:"root",factory:Qp});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qp()),deps:[[e,new Hu,new Vu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new ce(901,!1)}}return e})();function Oa(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(Dt(i)),Ut(i)&&Xp(i,r);const s=n.type;if(8&s)Oa(e,t,n.child,r);else if(32&s){const a=Jl(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Ep(t,n);if(Array.isArray(a))r.push(...a);else{const l=Ia(t[It]);Oa(l[ne],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xp(e,t){for(let n=_t;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{mi(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}};function Md(e){return e.ngOriginalError}class $o{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Md(t);for(;n&&Md(n);)n=Md(n);return n||null}}const tg=new Ue("",{providedIn:"root",factory:()=>tt($o).handleError.bind(void 0)}),rg=new Ue("",{providedIn:"root",factory:()=>!1}),He={};function fs(e,t=Ze.Default){const n=U();return null===n?Ft(e,t):yh(gt(),n,ye(e),t)}function ug(){throw new Error("invalid")}function vc(e,t,n,r,o,i,s,a,l,m,D){const E=t.blueprint.slice();return E[Tt]=o,E[Ee]=204|r,(null!==m||e&&2048&e[Ee])&&(E[Ee]|=2048),mu(E),E[Ct]=E[Nr]=e,E[Me]=n,E[rr]=s||e&&e[rr],E[Oe]=a||e&&e[Oe],E[nn]=l||e&&e[nn]||null,E[Ht]=i,E[to]=function KC(){return ZC++}(),E[kt]=D,E[Cr]=m,E[It]=2==t.type?e[It]:E,E}function hs(e,t,n,r,o){let i=e.data[t];if(null===i)i=function bd(e,t,n,r,o){const i=wl(),s=ua(),l=e.data[t]=function $E(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Fo()&&(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}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function wu(){return Re.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Lo(){const e=Re.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Gt(i,!0),i}function xa(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ibe&&function ag(e,t,n,r){if(!r)if(3==(3&t[Ee])){const i=e.preOrderCheckHooks;null!==i&&_(t,i,n)}else{const i=e.preOrderHooks;null!==i&&R(t,i,0,n)}ko(n)}(e,t,be,!1),qt(s?2:0,o),n(r,o)}finally{ko(i),qt(s?3:1,o)}}function Sd(e,t,n){if($i(t)){const r=V(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function fg(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?hg(n,t,o,i):r.hasOwnProperty(o)&&hg(n,t,r[o],i)}return n}function hg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function pg(e,t,n,r,o,i){for(let m=0;m0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,xa(e,n,o.hostVars,He),o)}function Lr(e,t,n,r,o,i){const s=$t(e,t);!function xd(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?Te(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Oe],s,i,e.value,n,r,o)}function rI(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function SE(e){e.lView[zn]!==e&&(e.lView=null,Jp.push(e))}(a)),fa()}}function Eg(e,t){for(let n=lp(e);null!==n;n=dp(n)){n[Ee]&=~Gn.HasChildViewsToRefresh;for(let r=_t;r-1&&(_a(t,r),ku(n,r))}this._attachedToViewContainer=!1}tc(this._lView[ne],this._lView)}onDestroy(t){zi(this._lView,t)}markForCheck(){Pa(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ee]&=-129}reattach(){sa(this._lView),this._lView[Ee]|=128}detectChanges(){this._lView[Ee]|=1024,function Ld(e,t=!0){const n=e[rr],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{!function sI(e){kd(e,0);let t=0;for(;vu(e);){if(100===t)throw new ce(103,!1);t++,kd(e,1)}}(e)}catch(s){throw t&&Dc(e,s),s}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function lw(e,t){ba(e,t,t[Oe],2,null,null)}(this._lView[ne],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ce(902,!1);this._appRef=t,sa(this._lView)}}let Mg=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dI}return e})();function dI(e){return function fI(e,t,n){if(Or(e)&&!n){const r=pn(e.index,t);return new Fa(r,r)}return 47&e.type?new Fa(t[It],t):null}(gt(),U(),16==(16&e))}let Cc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=mI;static#t=this.__NG_ENV_ID__=n=>n}return e})();class gI extends Cc{constructor(t){super(),this._lView=t}onDestroy(t){return zi(this._lView,t),()=>function Gi(e,t){if(null===e[fn])return;const n=e[fn].indexOf(t);-1!==n&&e[fn].splice(n,1)}(this._lView,t)}}function mI(){return new gI(U())}const bg=new Set;function Bo(e){bg.has(e)||(bg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function jd(e){return t=>{setTimeout(e,void 0,t)}}const kr=class II extends rt.x{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&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=jd(i),o&&(o=jd(o)),s&&(s=jd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof xt.w0&&t.add(a),a}};function Sg(...e){}class Yt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kr(!1),this.onMicrotaskEmpty=new kr(!1),this.onStable=new kr(!1),this.onError=new kr(!1),typeof Zone>"u")throw new ce(908,!1);Zone.assertZonePatched();const 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=function _I(){const e="function"==typeof Pt.requestAnimationFrame;let t=Pt[e?"requestAnimationFrame":"setTimeout"],n=Pt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function SI(e){const t=()=>{!function bI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Pt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hd(e),e.isCheckStableRunning=!0,Vd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function AI(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Tg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ag(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Tg(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ag(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Hd(e),Vd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yt.isInAngularZone())throw new ce(909,!1)}static assertNotInAngularZone(){if(Yt.isInAngularZone())throw new ce(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,MI,Sg,Sg);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)}}const MI={};function Vd(e){if(0==e._nesting&&!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 Hd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Tg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ag(e){e._nesting--,Vd(e)}class TI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kr,this.onMicrotaskEmpty=new kr,this.onStable=new kr,this.onError=new kr}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)}}var _i=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_i||{});const Ng={destroy(){}};function Og(e,t){!t&&function Ul(e){if(!vo()&&!function Un(){return Hn}())throw new ce(-203,!1)}();const n=t?.injector??tt(cr);if(!function Ho(e){return"browser"===(e??tt(cr)).get(zl)}(n))return Ng;Bo("NgAfterNextRender");const r=n.get(wc),o=r.handler??=new Pg,i=t?.phase??_i.MixedReadWrite,s=()=>{o.unregister(l),a()},a=n.get(Cc).onDestroy(s),l=new xg(n,i,()=>{s(),e()});return o.register(l),{destroy:s}}class xg{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Yt),this.errorHandler=t.get($o,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Pg{constructor(){this.executingCallbacks=!1,this.buckets={[_i.EarlyRead]:new Set,[_i.Write]:new Set,[_i.MixedReadWrite]:new Set,[_i.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new ce(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(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let wc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ct({token:e,providedIn:"root",factory:()=>new e})}return e})();function OI(e,t){const n=pn(t,e),r=n[ne];!function xI(e,t){for(let n=t.length;n0&&Mp(e,n,i.join(" "))}}(b,st,L,r),void 0!==n&&function BI(e,t,n){const r=e.projection=[];for(let o=0;o>17&32767}function Bd(e){return 2|e}function bi(e){return(131068&e)>>2}function zd(e,t){return-131069&e|t<<2}function Gd(e){return 1|e}function Xg(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?zo(i):bi(i),l=!1;for(;0!==a&&(!1===l||s);){const D=e[a+1];s0(e[a],t)&&(l=!0,e[a+1]=r?Gd(D):Bd(D)),a=r?zo(D):bi(D)}l&&(e[n+1]=r?Bd(i):Gd(i))}function s0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ts(e,t)>=0}function Wd(e,t,n,r,o){const s=o?"class":"style";Fd(e,n,t.inputs[s],s,r)}function qd(e,t,n){return function Ir(e,t,n,r){const o=U(),i=nt(),s=function xr(e){const t=Re.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function um(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[ln()],s=function am(e,t){return t>=e.expandoStartIndex}(e,n);(function fm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function g0(e,t,n,r){const o=function la(e){const t=Re.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ja(n=Yd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Yd(o,e,t,n,r),null===i){let l=function m0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==bi(r))return e[zo(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Yd(null,e,t,l[1],r),l=ja(l,t.attrs,r),function v0(e,t,n,r){e[zo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function y0(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(m=!0)):D=n,o)if(0!==l){const b=zo(e[a+1]);e[r+1]=Mc(b,a),0!==b&&(e[b+1]=zd(e[b+1],r)),e[a+1]=function t0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Mc(a,0),0!==a&&(e[a+1]=zd(e[a+1],r)),a=r;else e[r+1]=Mc(l,0),0===a?a=r:e[l+1]=zd(e[l+1],r),l=r;m&&(e[r+1]=Bd(e[r+1])),Xg(e,D,r,!0),Xg(e,D,r,!1),function o0(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ts(i,t)>=0&&(n[r+1]=Gd(n[r+1]))}(t,D,e,r,i),s=Mc(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==He&&Zt(o,s,t)&&function lm(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,m=l[a+1],D=function n0(e){return 1==(1&e)}(m)?dm(l,t,n,o,bi(m),s):void 0;bc(D)||(bc(i)||function e0(e){return 2==(2&e)}(m)&&(i=dm(l,null,n,o,a,s)),function Cw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Xu.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Xu.Important),e.setStyle(n,r,o,i))}}(r,s,function ar(e,t){return Dt(t[e])}(ln(),n),o,i))}(i,i.data[ln()],o,o[Oe],e,o[s+1]=function E0(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ye(so(e)))),e}(t,n),r,s)}(e,t,n,!1),qd}function Yd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],m=Array.isArray(l),D=m?l[1]:l,E=null===D;let b=n[o+1];b===He&&(b=E?Xe:void 0);let A=E?Nl(b,r):D===r?b:void 0;if(m&&!bc(A)&&(A=Nl(l,r)),bc(A)&&(a=A,s))return a;const L=e[o+1];o=s?zo(L):bi(L)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Nl(l,r))}return a}function bc(e){return void 0!==e}function Ms(e,t){return!t||null===t.firstChild||Ku(e)}function za(e,t,n,r=!0){const o=t[ne];if(function fw(e,t,n,r){const o=_t+r,i=n.length;r>0&&(n[o-1][wn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=n_}return e})();function n_(){return Mm(gt(),U())}const r_=Rc,Im=class extends r_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ds(this._hostTNode,this._hostLView)}get injector(){return new rn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fu(this._hostTNode,this._hostLView);if(El(t)){const n=ga(t,this._hostLView),r=pa(t);return new rn(n[ne].data[r+8],n)}return new rn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=_m(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_t}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Ms(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function ma(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const L=n||{};a=L.index,r=L.injector,o=L.projectableNodes,i=L.environmentInjector||L.ngModuleRef}const l=s?t:new La(Ve(t)),m=r||this.parentInjector;if(!i&&null==l.ngModule){const Y=(s?m:this.parentInjector).get(Fr,null);Y&&(i=Y)}Ve(l.componentType??{});const A=l.create(m,o,null,i);return this.insertImpl(A.hostView,a,Ms(this._hostTNode,null)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function gu(e){return Ut(e[Ct])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[Ct],m=new Im(l,l[Ht],l[Ct]);m.detach(m.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return za(s,o,i,r),t.attachToViewContainerRef(),Mh(rf(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=_m(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=_a(this._lContainer,n);r&&(ku(rf(this._lContainer),n),tc(r[ne],r))}detach(t){const n=this._adjustIndex(t,-1),r=_a(this._lContainer,n);return r&&null!=ku(rf(this._lContainer),n)?new Fa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _m(e){return e[8]}function rf(e){return e[8]||(e[8]=[])}function Mm(e,t){let n;const r=t[e.index];return Ut(r)?n=r:(n=function vg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}(r,t,null,e),t[e.index]=n,yc(t,n)),bm(n,t,e,r),new Im(n,e,t)}let bm=function Tm(e,t,n,r){if(e[In])return;let o;o=8&n.type?Dt(r):function o_(e,t){const n=e[Oe],r=n.createComment(""),o=$t(t,e);return wi(n,nc(n,o),r,function vw(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[In]=o};function kc(e,t,n,r){const o=U(),i=nt(),s=be+e,a=o[Oe],l=i.firstCreatePass?function Q_(e,t,n,r,o,i){const s=t.consts,l=hs(t,e,2,r,Wn(s,o));return function Rd(e,t,n,r){if(Fn()){const o=null===r?null:{"":-1},i=function QE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i(h(!0),ec(r,o,function u(){return Re.lFrame.currentNamespace}()));const Ti=void 0;var iM=["en",[["a","p"],["AM","PM"],Ti],[["AM","PM"],Ti,Ti],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ti,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ti,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ti,"{1} 'at' {0}",Ti],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function oM(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Os={};function Cf(e){const t=function sM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return iM;throw new ce(701,!1)}function ov(e){return Cf(e)[xs.PluralCase]}function iv(e){return e in Os||(Os[e]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[e]),Os[e]}var xs=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(xs||{});const Ps="en-US";let sv=Ps;function If(e){return!!e&&"function"==typeof e.then}function Rv(e){return!!e&&"function"==typeof e.subscribe}function _f(e,t,n,r){const o=U(),i=nt(),s=gt();return function xv(e,t,n,r,o,i,s){const a=di(r),m=e.firstCreatePass&&Cg(e),D=t[Me],E=Dg(t);let b=!0;if(3&r.type||s){const Y=$t(r,t),se=s?s(Y):Y,me=E.length,q=s?Je=>s(Dt(Je[r.index])):r.index;let Le=null;if(!s&&a&&(Le=function eb(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Le)(Le.__ngLastListenerFn__||Le).__ngNextListenerFn__=i,Le.__ngLastListenerFn__=i,b=!1;else{i=Fv(r,t,D,i,!1);const Je=n.listen(se,o,i);E.push(i,Je),m&&m.push(o,q,me,me+1)}}else i=Fv(r,t,D,i,!1);const A=r.outputs;let L;if(b&&null!==A&&(L=A[o])){const Y=L.length;if(Y)for(let se=0;se-1?pn(e.index,t):t);let l=Pv(t,n,r,s),m=i.__ngNextListenerFn__;for(;m;)l=Pv(t,n,m,s)&&l,m=m.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function nb(e,t){let n=null;const r=function ai(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(h(!0),function Ju(e,t){return e.createText(t)}(t[Oe],r));class Ai{}class py{}function wb(e,t){return new Rf(e,t??null,[])}class Rf extends Ai{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fg(this);const o=zt(t);this._bootstrapComponents=Zn(o.bootstrap),this._r3Injector=Uh(t,n,[{provide:Ai,useValue:this},{provide:pc,useValue:this.componentFactoryResolver},...r],Ye(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Of extends py{constructor(t){super(),this.moduleType=t}create(t){return new Rf(this.moduleType,t,[])}}class gy extends Ai{constructor(t){super(),this.componentFactoryResolver=new Fg(this),this.instance=null;const n=new rs([...t.providers,{provide:Ai,useValue:this},{provide:pc,useValue:this.componentFactoryResolver}],t.parent||Gu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function my(e,t,n=null){return new gy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ib=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Oh(0,n.type),o=r.length>0?my([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ct({token:e,providedIn:"environment",factory:()=>new e(Ft(Fr))})}return e})();function vy(e){Bo("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ib).getOrCreateStandaloneInjector(e)}function Qb(){return this._results[Symbol.iterator]()}class Pf{static#e=Symbol.iterator;get changes(){return this._changes??=new kr}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Pf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Qb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Ln(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function nC(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=eS}return e})();const Xb=nu,Jb=class extends Xb{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){const o=function Ba(e,t,n,r){const o=t.tView,a=vc(e,o,n,4096&e[Ee]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[En]=e[t.index];const m=e[Rn];return null!==m&&(a[Rn]=m.createEmbeddedView(o)),Ud(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Fa(o)}};function eS(){return Gc(gt(),U())}function Gc(e,t){return 4&e.type?new Jb(t,e,ds(e,t)):null}class Ff{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ff(this.queryList)}setDirty(){this.queryList.setDirty()}}class Lf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const m=i[a+1],D=t[-l];for(let E=_t;E{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class NS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let RS=(()=>{class e{compileModuleSync(n){return new Of(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Zn(zt(n).declarations).reduce((s,a)=>{const l=Ve(a);return l&&s.push(new La(l)),s},[]);return new NS(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zf=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new hn.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iD=new Ue(""),sD=new Ue("");let Wf,nT=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Wf||(function rT(e){Wf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.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:()=>{Yt.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&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Ft(Yt),Ft(aD),Ft(sD))};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac})}return e})(),aD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Wf?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const uD=new Ue("Application Initializer");let qf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=tt(uD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(If(i))n.push(i);else if(Rv(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yf=new Ue("appBootstrapListener");function dD(e,t){return Array.isArray(t)?t.reduce(dD,e):{...e,...t}}let ks=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=tt(tg),this.componentTypes=[],this.components=[],this.isStable=tt(zf).hasPendingTasks.pipe((0,Et.U)(n=>!n)),this._injector=tt(Fr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Bp;if(!this._injector.get(qf).done)throw!o&&nr(n),new ce(405,!1);let s;s=o?n:this._injector.get(pc).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function iT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ai),m=s.create(cr.NULL,[],r||s.selector,a),D=m.location.nativeElement,E=m.injector.get(iD,null);return E?.registerApplication(D),m.onDestroy(()=>{this.detachView(m.hostView),Yc(this.components,m),E?.unregisterApplication(D)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new ce(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Yc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Yf,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Yc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ce(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let aT=(()=>{class e{constructor(){this.zone=tt(Yt),this.applicationRef=tt(ks)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uT(){const e=tt(Yt),t=tt($o);return n=>e.runOutsideAngular(()=>t.handleError(n))}let lT=(()=>{class e{constructor(){this.subscription=new xt.w0,this.initialized=!1,this.zone=tt(Yt),this.pendingTasks=tt(zf)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Yt.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Yt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kc=new Ue("LocaleId",{providedIn:"root",factory:()=>tt(Kc,Ze.Optional|Ze.SkipSelf)||function dT(){return typeof $localize<"u"&&$localize.locale||Ps}()}),fT=new Ue("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Zf=new Ue("PlatformDestroyListeners");let gD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function NI(e="zone.js",t){return"noop"===e?new TI:"zone.js"===e?new Yt(t):e}(r?.ngZone,function pD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function Eb(e,t,n){return new Rf(e,t,n)}(n.moduleType,this.injector,function hD(e){return[{provide:Yt,useFactory:e},{provide:Di,multi:!0,useFactory:()=>{const t=tt(aT,{optional:!0});return()=>t.initialize()}},{provide:Di,multi:!0,useFactory:()=>{const t=tt(lT);return()=>{t.initialize()}}},{provide:tg,useFactory:uT}]}(()=>o)),s=i.injector.get($o,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Yc(this._modules,i),a.unsubscribe()})}),function lD(e,t,n){try{const r=n();return If(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(qf);return a.runInitializers(),a.donePromise.then(()=>(function av(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Kc,Ps)||Ps),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=dD({},r);return function oT(e,t,n){const r=new Of(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ks);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new ce(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ce(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Ft(cr))};static#t=this.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Wo=null;const mD=new Ue("AllowMultipleToken");function vD(e,t,n=[]){const r=`Platform: ${t}`,o=new Ue(r);return(i=[])=>{let s=Kf();if(!s||s.injector.get(mD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function pT(e){if(Wo&&!Wo.get(mD,!1))throw new ce(400,!1);(function cD(){!function Mr(e){Vn=e}(()=>{throw new ce(600,!1)})})(),Wo=e;const t=e.get(gD);(function DD(e){e.get(zh,null)?.forEach(n=>n())})(e)}(function yD(e=[],t){return cr.create({name:t,providers:[{provide:kl,useValue:"platform"},{provide:Zf,useValue:new Set([()=>Wo=null])},...e]})}(a,r))}return function gT(e){const t=Kf();if(!t)throw new ce(401,!1);return t}()}}function Kf(){return Wo?.get(gD)??null}function vT(){}const ET=vD(null,"core",[]);let IT=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Ft(ks))};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=zr({})}return e})();function YT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ZT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function QT(e){const t=Ve(e);if(!t)return null;const n=new La(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}}}},593:(ke,oe,T)=>{T.d(oe,{Dx:()=>vn,H7:()=>Sn,b2:()=>hn,q6:()=>ut});var p=T(212),x=T(814);class Q extends x.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends Q{static makeCurrent(){(0,x.HT)(new K)}onAndCancel(P,M,S){return P.addEventListener(M,S),()=>{P.removeEventListener(M,S)}}dispatchEvent(P,M){P.dispatchEvent(M)}remove(P){P.parentNode&&P.parentNode.removeChild(P)}createElement(P,M){return(M=M||this.getDefaultDocument()).createElement(P)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(P){return P.nodeType===Node.ELEMENT_NODE}isShadowRoot(P){return P instanceof DocumentFragment}getGlobalEventTarget(P,M){return"window"===M?window:"document"===M?P:"body"===M?P.body:null}getBaseHref(P){const M=function V(){return W=W||document.querySelector("base"),W?W.getAttribute("href"):null}();return null==M?null:function de(j){return new URL(j,document.baseURI).pathname}(M)}resetBaseElement(){W=null}getUserAgent(){return window.navigator.userAgent}getCookie(P){return(0,x.Mx)(document.cookie,P)}}let W=null,ae=(()=>{class j{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(S){return new(S||j)};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();const te=new p.OlP("EventManagerPlugins");let G=(()=>{class j{constructor(M,S){this._zone=S,this._eventNameToPlugin=new Map,M.forEach(B=>{B.manager=this}),this._plugins=M.slice().reverse()}addEventListener(M,S,B){return this._findPluginFor(S).addEventListener(M,S,B)}getZone(){return this._zone}_findPluginFor(M){let S=this._eventNameToPlugin.get(M);if(S)return S;if(S=this._plugins.find(ge=>ge.supports(M)),!S)throw new p.vHH(5101,!1);return this._eventNameToPlugin.set(M,S),S}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(te),p.LFG(p.R0b))};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();class X{constructor(P){this._doc=P}}const Ne="ng-app-id";let pe=(()=>{class j{constructor(M,S,B,ge={}){this.doc=M,this.appId=S,this.nonce=B,this.platformId=ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,x.PM)(ge),this.resetHostNodes()}addStyles(M){for(const S of M)1===this.changeUsageCount(S,1)&&this.onStyleAdded(S)}removeStyles(M){for(const S of M)this.changeUsageCount(S,-1)<=0&&this.onStyleRemoved(S)}ngOnDestroy(){const M=this.styleNodesInDOM;M&&(M.forEach(S=>S.remove()),M.clear());for(const S of this.getAllStyles())this.onStyleRemoved(S);this.resetHostNodes()}addHost(M){this.hostNodes.add(M);for(const S of this.getAllStyles())this.addStyleToHost(M,S)}removeHost(M){this.hostNodes.delete(M)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(M){for(const S of this.hostNodes)this.addStyleToHost(S,M)}onStyleRemoved(M){const S=this.styleRef;S.get(M)?.elements?.forEach(B=>B.remove()),S.delete(M)}collectServerRenderedStyles(){const M=this.doc.head?.querySelectorAll(`style[${Ne}="${this.appId}"]`);if(M?.length){const S=new Map;return M.forEach(B=>{null!=B.textContent&&S.set(B.textContent,B)}),S}return null}changeUsageCount(M,S){const B=this.styleRef;if(B.has(M)){const ge=B.get(M);return ge.usage+=S,ge.usage}return B.set(M,{usage:S,elements:[]}),S}getStyleElement(M,S){const B=this.styleNodesInDOM,ge=B?.get(S);if(ge?.parentNode===M)return B.delete(S),ge.removeAttribute(Ne),ge;{const we=this.doc.createElement("style");return this.nonce&&we.setAttribute("nonce",this.nonce),we.textContent=S,this.platformIsServer&&we.setAttribute(Ne,this.appId),M.appendChild(we),we}}addStyleToHost(M,S){const B=this.getStyleElement(M,S),ge=this.styleRef,we=ge.get(S)?.elements;we?we.push(B):ge.set(S,{elements:[B],usage:1})}resetHostNodes(){const M=this.hostNodes;M.clear(),M.add(this.doc.head)}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(x.K0),p.LFG(p.AFp),p.LFG(p.Ojb,8),p.LFG(p.Lbi))};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();const he={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/"},at=/%COMP%/g,ue=new p.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function je(j,P){return P.map(M=>M.replace(at,j))}let fe=(()=>{class j{constructor(M,S,B,ge,we,ot,et,Vt=null){this.eventManager=M,this.sharedStylesHost=S,this.appId=B,this.removeStylesOnCompDestroy=ge,this.doc=we,this.platformId=ot,this.ngZone=et,this.nonce=Vt,this.rendererByCompId=new Map,this.platformIsServer=(0,x.PM)(ot),this.defaultRenderer=new ie(M,we,et,this.platformIsServer)}createRenderer(M,S){if(!M||!S)return this.defaultRenderer;this.platformIsServer&&S.encapsulation===p.ifc.ShadowDom&&(S={...S,encapsulation:p.ifc.Emulated});const B=this.getOrCreateRenderer(M,S);return B instanceof Vn?B.applyToHost(M):B instanceof bn&&B.applyStyles(),B}getOrCreateRenderer(M,S){const B=this.rendererByCompId;let ge=B.get(S.id);if(!ge){const we=this.doc,ot=this.ngZone,et=this.eventManager,Vt=this.sharedStylesHost,An=this.removeStylesOnCompDestroy,mt=this.platformIsServer;switch(S.encapsulation){case p.ifc.Emulated:ge=new Vn(et,Vt,S,this.appId,An,we,ot,mt);break;case p.ifc.ShadowDom:return new Qn(et,Vt,M,S,we,ot,this.nonce,mt);default:ge=new bn(et,Vt,S,An,we,ot,mt)}B.set(S.id,ge)}return ge}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(G),p.LFG(pe),p.LFG(p.AFp),p.LFG(ue),p.LFG(x.K0),p.LFG(p.Lbi),p.LFG(p.R0b),p.LFG(p.Ojb))};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();class ie{constructor(P,M,S,B){this.eventManager=P,this.doc=M,this.ngZone=S,this.platformIsServer=B,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(P,M){return M?this.doc.createElementNS(he[M]||M,P):this.doc.createElement(P)}createComment(P){return this.doc.createComment(P)}createText(P){return this.doc.createTextNode(P)}appendChild(P,M){(At(P)?P.content:P).appendChild(M)}insertBefore(P,M,S){P&&(At(P)?P.content:P).insertBefore(M,S)}removeChild(P,M){P&&P.removeChild(M)}selectRootElement(P,M){let S="string"==typeof P?this.doc.querySelector(P):P;if(!S)throw new p.vHH(-5104,!1);return M||(S.textContent=""),S}parentNode(P){return P.parentNode}nextSibling(P){return P.nextSibling}setAttribute(P,M,S,B){if(B){M=B+":"+M;const ge=he[B];ge?P.setAttributeNS(ge,M,S):P.setAttribute(M,S)}else P.setAttribute(M,S)}removeAttribute(P,M,S){if(S){const B=he[S];B?P.removeAttributeNS(B,M):P.removeAttribute(`${S}:${M}`)}else P.removeAttribute(M)}addClass(P,M){P.classList.add(M)}removeClass(P,M){P.classList.remove(M)}setStyle(P,M,S,B){B&(p.JOm.DashCase|p.JOm.Important)?P.style.setProperty(M,S,B&p.JOm.Important?"important":""):P.style[M]=S}removeStyle(P,M,S){S&p.JOm.DashCase?P.style.removeProperty(M):P.style[M]=""}setProperty(P,M,S){null!=P&&(P[M]=S)}setValue(P,M){P.nodeValue=M}listen(P,M,S){if("string"==typeof P&&!(P=(0,x.q)().getGlobalEventTarget(this.doc,P)))throw new Error(`Unsupported event target ${P} for event ${M}`);return this.eventManager.addEventListener(P,M,this.decoratePreventDefault(S))}decoratePreventDefault(P){return M=>{if("__ngUnwrap__"===M)return P;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>P(M)):P(M))&&M.preventDefault()}}}function At(j){return"TEMPLATE"===j.tagName&&void 0!==j.content}class Qn extends ie{constructor(P,M,S,B,ge,we,ot,et){super(P,ge,we,et),this.sharedStylesHost=M,this.hostEl=S,this.shadowRoot=S.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Vt=je(B.id,B.styles);for(const An of Vt){const mt=document.createElement("style");ot&&mt.setAttribute("nonce",ot),mt.textContent=An,this.shadowRoot.appendChild(mt)}}nodeOrShadowRoot(P){return P===this.hostEl?this.shadowRoot:P}appendChild(P,M){return super.appendChild(this.nodeOrShadowRoot(P),M)}insertBefore(P,M,S){return super.insertBefore(this.nodeOrShadowRoot(P),M,S)}removeChild(P,M){return super.removeChild(this.nodeOrShadowRoot(P),M)}parentNode(P){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(P)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class bn extends ie{constructor(P,M,S,B,ge,we,ot,et){super(P,ge,we,ot),this.sharedStylesHost=M,this.removeStylesOnCompDestroy=B,this.styles=et?je(et,S.styles):S.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Vn extends bn{constructor(P,M,S,B,ge,we,ot,et){const Vt=B+"-"+S.id;super(P,M,S,ge,we,ot,et,Vt),this.contentAttr=function re(j){return"_ngcontent-%COMP%".replace(at,j)}(Vt),this.hostAttr=function ve(j){return"_nghost-%COMP%".replace(at,j)}(Vt)}applyToHost(P){this.applyStyles(),this.setAttribute(P,this.hostAttr,"")}createElement(P,M){const S=super.createElement(P,M);return super.setAttribute(S,this.contentAttr,""),S}}let Xn=(()=>{class j extends X{constructor(M){super(M)}supports(M){return!0}addEventListener(M,S,B){return M.addEventListener(S,B,!1),()=>this.removeEventListener(M,S,B)}removeEventListener(M,S,B){return M.removeEventListener(S,B)}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(x.K0))};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();const Mr=["alt","control","meta","shift"],Jn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},F={alt:j=>j.altKey,control:j=>j.ctrlKey,meta:j=>j.metaKey,shift:j=>j.shiftKey};let k=(()=>{class j extends X{constructor(M){super(M)}supports(M){return null!=j.parseEventName(M)}addEventListener(M,S,B){const ge=j.parseEventName(S),we=j.eventCallback(ge.fullKey,B,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,x.q)().onAndCancel(M,ge.domEventName,we))}static parseEventName(M){const S=M.toLowerCase().split("."),B=S.shift();if(0===S.length||"keydown"!==B&&"keyup"!==B)return null;const ge=j._normalizeKey(S.pop());let we="",ot=S.indexOf("code");if(ot>-1&&(S.splice(ot,1),we="code."),Mr.forEach(Vt=>{const An=S.indexOf(Vt);An>-1&&(S.splice(An,1),we+=Vt+".")}),we+=ge,0!=S.length||0===ge.length)return null;const et={};return et.domEventName=B,et.fullKey=we,et}static matchEventFullKeyCode(M,S){let B=Jn[M.key]||M.key,ge="";return S.indexOf("code.")>-1&&(B=M.code,ge="code."),!(null==B||!B)&&(B=B.toLowerCase()," "===B?B="space":"."===B&&(B="dot"),Mr.forEach(we=>{we!==B&&(0,F[we])(M)&&(ge+=we+".")}),ge+=B,ge===S)}static eventCallback(M,S,B){return ge=>{j.matchEventFullKeyCode(ge,M)&&B.runGuarded(()=>S(ge))}}static _normalizeKey(M){return"esc"===M?"escape":M}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(x.K0))};static#t=this.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac})}return j})();const ut=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:x.bD},{provide:p.g9A,useValue:function Se(){K.makeCurrent()},multi:!0},{provide:x.K0,useFactory:function yt(){return(0,p.RDi)(document),document},deps:[]}]),Nt=new p.OlP(""),rt=[{provide:p.rWj,useClass:class Pe{addToWindow(P){p.dqk.getAngularTestability=(S,B=!0)=>{const ge=P.findTestabilityInTree(S,B);if(null==ge)throw new p.vHH(5103,!1);return ge},p.dqk.getAllAngularTestabilities=()=>P.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>P.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(S=>{const B=p.dqk.getAllAngularTestabilities();let ge=B.length,we=!1;const ot=function(et){we=we||et,ge--,0==ge&&S(we)};B.forEach(et=>{et.whenStable(ot)})})}findTestabilityInTree(P,M,S){return null==M?null:P.getTestability(M)??(S?(0,x.q)().isShadowRoot(M)?this.findTestabilityInTree(P,M.host,!0):this.findTestabilityInTree(P,M.parentElement,!0):null)}},deps:[]},{provide:p.lri,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b,p.eoX,p.rWj]}],xt=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function ze(){return new p.qLn},deps:[]},{provide:te,useClass:Xn,multi:!0,deps:[x.K0,p.R0b,p.Lbi]},{provide:te,useClass:k,multi:!0,deps:[x.K0]},fe,pe,G,{provide:p.FYo,useExisting:fe},{provide:x.JF,useClass:ae,deps:[]},[]];let hn=(()=>{class j{constructor(M){}static withServerTransition(M){return{ngModule:j,providers:[{provide:p.AFp,useValue:M.appId}]}}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(Nt,12))};static#t=this.\u0275mod=p.oAB({type:j});static#n=this.\u0275inj=p.cJS({providers:[...xt,...rt],imports:[x.ez,p.hGG]})}return j})(),vn=(()=>{class j{constructor(M){this._doc=M}getTitle(){return this._doc.title}setTitle(M){this._doc.title=M||""}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(x.K0))};static#t=this.\u0275prov=p.Yz7({token:j,factory:function(S){let B=null;return B=S?new S:function Ye(){return new vn((0,p.LFG)(x.K0))}(),B},providedIn:"root"})}return j})();typeof window<"u"&&window;let Sn=(()=>{class j{static#e=this.\u0275fac=function(S){return new(S||j)};static#t=this.\u0275prov=p.Yz7({token:j,factory:function(S){let B=null;return B=S?new(S||j):p.LFG(qe),B},providedIn:"root"})}return j})(),qe=(()=>{class j extends Sn{constructor(M){super(),this._doc=M}sanitize(M,S){if(null==S)return null;switch(M){case p.q3G.NONE:return S;case p.q3G.HTML:return(0,p.qzn)(S,"HTML")?(0,p.z3N)(S):(0,p.EiD)(this._doc,String(S)).toString();case p.q3G.STYLE:return(0,p.qzn)(S,"Style")?(0,p.z3N)(S):S;case p.q3G.SCRIPT:if((0,p.qzn)(S,"Script"))return(0,p.z3N)(S);throw new p.vHH(5200,!1);case p.q3G.URL:return(0,p.qzn)(S,"URL")?(0,p.z3N)(S):(0,p.mCW)(String(S));case p.q3G.RESOURCE_URL:if((0,p.qzn)(S,"ResourceURL"))return(0,p.z3N)(S);throw new p.vHH(5201,!1);default:throw new p.vHH(5202,!1)}}bypassSecurityTrustHtml(M){return(0,p.JVY)(M)}bypassSecurityTrustStyle(M){return(0,p.L6k)(M)}bypassSecurityTrustScript(M){return(0,p.eBb)(M)}bypassSecurityTrustUrl(M){return(0,p.LAX)(M)}bypassSecurityTrustResourceUrl(M){return(0,p.pB0)(M)}static#e=this.\u0275fac=function(S){return new(S||j)(p.LFG(x.K0))};static#t=this.\u0275prov=p.Yz7({token:j,factory:function(S){let B=null;return B=S?new S:function Te(j){return new qe(j.get(x.K0))}(p.LFG(p.zs3)),B},providedIn:"root"})}return j})()},434:(ke,oe,T)=>{T.d(oe,{rH:()=>Wi,Bz:()=>da,lC:()=>bo});var p=T(212),x=T(592),Q=T(674),W=T(715),V=T(96),de=T(619);const{isArray:Pe}=Array,{getPrototypeOf:ae,prototype:te,keys:G}=Object;var pe=T(737),he=T(398);const{isArray:at}=Array;var vt=T(564),ue=T(251),re=T(103);function ve(...u){const f=(0,vt.yG)(u),c=(0,vt.jO)(u),{args:h,keys:v}=function X(u){if(1===u.length){const f=u[0];if(Pe(f))return{args:f,keys:null};if(function Ne(u){return u&&"object"==typeof u&&ae(u)===te}(f)){const c=G(f);return{args:c.map(h=>f[h]),keys:c}}}return{args:u,keys:null}}(u);if(0===h.length)return(0,W.D)([],f);const w=new x.y(function je(u,f,c=pe.y){return h=>{fe(f,()=>{const{length:v}=u,w=new Array(v);let _=v,R=v;for(let N=0;N{const ee=(0,W.D)(u[N],f);let xe=!1;ee.subscribe((0,ue.x)(h,Be=>{w[N]=Be,xe||(xe=!0,R--),R||h.next(c(w.slice()))},()=>{--_||h.complete()}))},h)},h)}}(h,f,v?_=>function jt(u,f){return u.reduce((c,h,v)=>(c[h]=f[v],c),{})}(v,_):pe.y));return c?w.pipe(function lt(u){return(0,he.U)(f=>function Ke(u,f){return at(f)?u(...f):u(f)}(u,f))}(c)):w}function fe(u,f,c){u?(0,re.f)(c,u,f):f()}const Fe=(0,T(306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var De=T(631);function At(u=1/0){return(0,De.z)(pe.y,u)}function bn(...u){return function Qn(){return At(1)}()((0,W.D)(u,(0,vt.yG)(u)))}var Vn=T(829);function Xn(u){return new x.y(f=>{(0,Vn.Xf)(u()).subscribe(f)})}var Mr=T(407);function Jn(u,f){const c=(0,Q.m)(u)?u:()=>u,h=v=>v.error(c());return new x.y(f?v=>f.schedule(h,0,v):h)}const F=new x.y(u=>u.complete());var $=T(394),Z=T(360);function J(){return(0,Z.e)((u,f)=>{let c=null;u._refCount++;const h=(0,ue.x)(f,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(c=null);const v=u._connection,w=c;c=null,v&&(!w||v===w)&&v.unsubscribe(),f.unsubscribe()});u.subscribe(h),h.closed||(c=u.connect())})}class Se extends x.y{constructor(f,c){super(),this.source=f,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,Z.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new $.w0;const c=this.getSubject();f.add(this.source.subscribe((0,ue.x)(c,void 0,()=>{this._teardown(),c.complete()},h=>{this._teardown(),c.error(h)},()=>this._teardown()))),f.closed&&(this._connection=null,f=$.w0.EMPTY)}return f}refCount(){return J()(this)}}var ze=T(645),yt=T(814),Ce=T(535);function ut(u){return u<=0?()=>F:(0,Z.e)((f,c)=>{let h=0;f.subscribe((0,ue.x)(c,v=>{++h<=u&&(c.next(v),u<=h&&c.complete())}))})}var rt=T(181);function xt(u){return(0,Z.e)((f,c)=>{let h=!1;f.subscribe((0,ue.x)(c,v=>{h=!0,c.next(v)},()=>{h||c.next(u),c.complete()}))})}function hn(u=Et){return(0,Z.e)((f,c)=>{let h=!1;f.subscribe((0,ue.x)(c,v=>{h=!0,c.next(v)},()=>h?c.complete():c.error(u())))})}function Et(){return new Fe}function Ae(u,f){const c=arguments.length>=2;return h=>h.pipe(u?(0,rt.h)((v,w)=>u(v,w,h)):pe.y,ut(1),c?xt(f):hn(()=>new Fe))}var Qt=T(328);function Ye(u,f,c){const h=(0,Q.m)(u)||f||c?{next:u,error:f,complete:c}:u;return h?(0,Z.e)((v,w)=>{var _;null===(_=h.subscribe)||void 0===_||_.call(h);let R=!0;v.subscribe((0,ue.x)(w,N=>{var ee;null===(ee=h.next)||void 0===ee||ee.call(h,N),w.next(N)},()=>{var N;R=!1,null===(N=h.complete)||void 0===N||N.call(h),w.complete()},N=>{var ee;R=!1,null===(ee=h.error)||void 0===ee||ee.call(h,N),w.error(N)},()=>{var N,ee;R&&(null===(N=h.unsubscribe)||void 0===N||N.call(h)),null===(ee=h.finalize)||void 0===ee||ee.call(h)}))}):pe.y}function vn(u){return(0,Z.e)((f,c)=>{let w,h=null,v=!1;h=f.subscribe((0,ue.x)(c,void 0,void 0,_=>{w=(0,Vn.Xf)(u(_,vn(u)(f))),h?(h.unsubscribe(),h=null,w.subscribe(c)):v=!0})),v&&(h.unsubscribe(),h=null,w.subscribe(c))})}function fr(u){return u<=0?()=>F:(0,Z.e)((f,c)=>{let h=[];f.subscribe((0,ue.x)(c,v=>{h.push(v),u{for(const v of h)c.next(v);c.complete()},void 0,()=>{h=null}))})}var We=T(716),Vs=T(420),ce=T(593);const _e="primary",Rt=Symbol("RouteTitle");class co{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c[0]:c}return null}getAll(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function ft(u){return new co(u)}function Yo(u,f,c){const h=c.path.split("/");if(h.length>u.length||"full"===c.pathMatch&&(f.hasChildren()||h.lengthh[w]===v)}return u===f}function qe(u){return u.length>0?u[u.length-1]:null}function Tn(u){return function K(u){return!!u&&(u instanceof x.y||(0,Q.m)(u.lift)&&(0,Q.m)(u.subscribe))}(u)?u:(0,p.QGY)(u)?(0,W.D)(Promise.resolve(u)):(0,V.of)(u)}const Zo={exact:function Br(u,f,c){if(!we(u.segments,f.segments)||!P(u.segments,f.segments,c)||u.numberOfChildren!==f.numberOfChildren)return!1;for(const h in f.children)if(!u.children[h]||!Br(u.children[h],f.children[h],c))return!1;return!0},subset:Ri},Ur={exact:function lo(u,f){return Xt(u,f)},subset:function Jt(u,f){return Object.keys(f).length<=Object.keys(u).length&&Object.keys(f).every(c=>Te(u[c],f[c]))},ignored:()=>!0};function $r(u,f,c){return Zo[c.paths](u.root,f.root,c.matrixParams)&&Ur[c.queryParams](u.queryParams,f.queryParams)&&!("exact"===c.fragment&&u.fragment!==f.fragment)}function Ri(u,f,c){return j(u,f,f.segments,c)}function j(u,f,c,h){if(u.segments.length>c.length){const v=u.segments.slice(0,c.length);return!(!we(v,c)||f.hasChildren()||!P(v,c,h))}if(u.segments.length===c.length){if(!we(u.segments,c)||!P(u.segments,c,h))return!1;for(const v in f.children)if(!u.children[v]||!Ri(u.children[v],f.children[v],h))return!1;return!0}{const v=c.slice(0,u.segments.length),w=c.slice(u.segments.length);return!!(we(u.segments,v)&&P(u.segments,v,h)&&u.children[_e])&&j(u.children[_e],f,w,h)}}function P(u,f,c){return f.every((h,v)=>Ur[c](u[v].parameters,h.parameters))}class M{constructor(f=new S([],{}),c={},h=null){this.root=f,this.queryParams=c,this.fragment=h}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return An.serialize(this)}}class S{constructor(f,c){this.segments=f,this.children=c,this.parent=null,Object.values(c).forEach(h=>h.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mt(this)}}class B{constructor(f,c){this.path=f,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return zr(this)}}function we(u,f){return u.length===f.length&&u.every((c,h)=>c.path===f[h].path)}let et=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:()=>new Vt,providedIn:"root"})}return u})();class Vt{parse(f){const c=new ti(f);return new M(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(f){const c=`/${Ie(f.root,!0)}`,h=function Xo(u){const f=Object.keys(u).map(c=>{const h=u[c];return Array.isArray(h)?h.map(v=>`${Qo(c)}=${Qo(v)}`).join("&"):`${Qo(c)}=${Qo(h)}`}).filter(c=>!!c);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${c}${h}${"string"==typeof f.fragment?`#${function au(u){return encodeURI(u)}(f.fragment)}`:""}`}}const An=new Vt;function mt(u){return u.segments.map(f=>zr(f)).join("/")}function Ie(u,f){if(!u.hasChildren())return mt(u);if(f){const c=u.children[_e]?Ie(u.children[_e],!1):"",h=[];return Object.entries(u.children).forEach(([v,w])=>{v!==_e&&h.push(`${v}:${Ie(w,!1)}`)}),h.length>0?`${c}(${h.join("//")})`:c}{const c=function ot(u,f){let c=[];return Object.entries(u.children).forEach(([h,v])=>{h===_e&&(c=c.concat(f(v,h)))}),Object.entries(u.children).forEach(([h,v])=>{h!==_e&&(c=c.concat(f(v,h)))}),c}(u,(h,v)=>v===_e?[Ie(u.children[_e],!1)]:[`${v}:${Ie(h,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[_e]?`${mt(u)}/${c[0]}`:`${mt(u)}/(${c.join("//")})`}}function Ko(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qo(u){return Ko(u).replace(/%3B/gi,";")}function Oi(u){return Ko(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ct(u){return decodeURIComponent(u)}function Hs(u){return ct(u.replace(/\+/g,"%20"))}function zr(u){return`${Oi(u.path)}${function fo(u){return Object.keys(u).map(f=>`;${Oi(f)}=${Oi(u[f])}`).join("")}(u.parameters)}`}const ho=/^[^\/()?;#]+/;function po(u){const f=u.match(ho);return f?f[0]:""}const go=/^[^\/()?;=#]+/,ei=/^[^=?&#]+/,xi=/^[^&#]+/;class ti{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new S([],{}):new S([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let h={};return this.peekStartsWith("(")&&(h=this.parseParens(!1)),(f.length>0||Object.keys(c).length>0)&&(h[_e]=new S(f,c)),h}parseSegment(){const f=po(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new p.vHH(4009,!1);return this.capture(f),new B(ct(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const c=function Jo(u){const f=u.match(go);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let h="";if(this.consumeOptional("=")){const v=po(this.remaining);v&&(h=v,this.capture(h))}f[ct(c)]=ct(h)}parseQueryParam(f){const c=function mo(u){const f=u.match(ei);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let h="";if(this.consumeOptional("=")){const _=function Ze(u){const f=u.match(xi);return f?f[0]:""}(this.remaining);_&&(h=_,this.capture(h))}const v=Hs(c),w=Hs(h);if(f.hasOwnProperty(v)){let _=f[v];Array.isArray(_)||(_=[_],f[v]=_),_.push(w)}else f[v]=w}parseParens(f){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const h=po(this.remaining),v=this.remaining[h.length];if("/"!==v&&")"!==v&&";"!==v)throw new p.vHH(4010,!1);let w;h.indexOf(":")>-1?(w=h.slice(0,h.indexOf(":")),this.capture(w),this.capture(":")):f&&(w=_e);const _=this.parseChildren();c[w]=1===Object.keys(_).length?_[_e]:new S([],_),this.consumeOptional("//")}return c}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new p.vHH(4011,!1)}}function vo(u){return u.segments.length>0?new S([],{[_e]:u}):u}function en(u){const f={};for(const h of Object.keys(u.children)){const w=en(u.children[h]);if(h===_e&&0===w.segments.length&&w.hasChildren())for(const[_,R]of Object.entries(w.children))f[_]=R;else(w.segments.length>0||w.hasChildren())&&(f[h]=w)}return function Pi(u){if(1===u.numberOfChildren&&u.children[_e]){const f=u.children[_e];return new S(u.segments.concat(f.segments),f.children)}return u}(new S(u.segments,f))}function pr(u){return u instanceof M}function Us(u){let f;const v=vo(function c(w){const _={};for(const N of w.children){const ee=c(N);_[N.outlet]=ee}const R=new S(w.url,_);return w===u&&(f=R),R}(u.root));return f??v}function $s(u,f,c,h){let v=u;for(;v.parent;)v=v.parent;if(0===f.length)return mr(v,v,v,c,h);const w=function Bs(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new yo(!0,0,u);let f=0,c=!1;const h=u.reduce((v,w,_)=>{if("object"==typeof w&&null!=w){if(w.outlets){const R={};return Object.entries(w.outlets).forEach(([N,ee])=>{R[N]="string"==typeof ee?ee.split("/"):ee}),[...v,{outlets:R}]}if(w.segmentPath)return[...v,w.segmentPath]}return"string"!=typeof w?[...v,w]:0===_?(w.split("/").forEach((R,N)=>{0==N&&"."===R||(0==N&&""===R?c=!0:".."===R?f++:""!=R&&v.push(R))}),v):[...v,w]},[]);return new yo(c,f,h)}(f);if(w.toRoot())return mr(v,v,new S([],{}),c,h);const _=function il(u,f,c){if(u.isAbsolute)return new Wr(f,!0,0);if(!c)return new Wr(f,!1,NaN);if(null===c.parent)return new Wr(c,!0,0);const h=Ue(u.commands[0])?0:1;return function zs(u,f,c){let h=u,v=f,w=c;for(;w>v;){if(w-=v,h=h.parent,!h)throw new p.vHH(4005,!1);v=h.segments.length}return new Wr(h,!1,v-w)}(c,c.segments.length-1+h,u.numberOfDoubleDots)}(w,v,u),R=_.processChildren?ni(_.segmentGroup,_.index,w.commands):uu(_.segmentGroup,_.index,w.commands);return mr(v,_.segmentGroup,R,c,h)}function Ue(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function gr(u){return"object"==typeof u&&null!=u&&u.outlets}function mr(u,f,c,h,v){let _,w={};h&&Object.entries(h).forEach(([N,ee])=>{w[N]=Array.isArray(ee)?ee.map(xe=>`${xe}`):`${ee}`}),_=u===f?c:Gr(u,f,c);const R=vo(en(_));return new M(R,w,v)}function Gr(u,f,c){const h={};return Object.entries(u.children).forEach(([v,w])=>{h[v]=w===f?c:Gr(w,f,c)}),new S(u.segments,h)}class yo{constructor(f,c,h){if(this.isAbsolute=f,this.numberOfDoubleDots=c,this.commands=h,f&&h.length>0&&Ue(h[0]))throw new p.vHH(4003,!1);const v=h.find(gr);if(v&&v!==qe(h))throw new p.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wr{constructor(f,c,h){this.segmentGroup=f,this.processChildren=c,this.index=h}}function uu(u,f,c){if(u||(u=new S([],{})),0===u.segments.length&&u.hasChildren())return ni(u,f,c);const h=function Do(u,f,c){let h=0,v=f;const w={match:!1,pathIndex:0,commandIndex:0};for(;v=c.length)return w;const _=u.segments[v],R=c[h];if(gr(R))break;const N=`${R}`,ee=h0&&void 0===N)break;if(N&&ee&&"object"==typeof ee&&void 0===ee.outlets){if(!Li(N,ee,_))return w;h+=2}else{if(!Li(N,{},_))return w;h++}v++}return{match:!0,pathIndex:v,commandIndex:h}}(u,f,c),v=c.slice(h.commandIndex);if(h.match&&h.pathIndexw!==_e)&&u.children[_e]&&1===u.numberOfChildren&&0===u.children[_e].segments.length){const w=ni(u.children[_e],f,c);return new S(u.segments,w.children)}return Object.entries(h).forEach(([w,_])=>{"string"==typeof _&&(_=[_]),null!==_&&(v[w]=uu(u.children[w],f,_))}),Object.entries(u.children).forEach(([w,_])=>{void 0===h[w]&&(v[w]=_)}),new S(u.segments,v)}}function tn(u,f,c){const h=u.segments.slice(0,f);let v=0;for(;v{"string"==typeof h&&(h=[h]),null!==h&&(f[c]=tn(new S([],{}),0,h))}),f}function Fi(u){const f={};return Object.entries(u).forEach(([c,h])=>f[c]=`${h}`),f}function Li(u,f,c){return u==c.path&&Xt(f,c.parameters)}const qr="imperative";class yn{constructor(f,c){this.id=f,this.url=c}}class Hn extends yn{constructor(f,c,h="imperative",v=null){super(f,c),this.type=0,this.navigationTrigger=h,this.restoredState=v}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Un extends yn{constructor(f,c,h){super(f,c),this.urlAfterRedirects=h,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dn extends yn{constructor(f,c,h,v){super(f,c),this.reason=h,this.code=v,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class br extends yn{constructor(f,c,h,v){super(f,c),this.reason=h,this.code=v,this.type=16}}class Ft extends yn{constructor(f,c,h,v){super(f,c),this.error=h,this.target=v,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ri extends yn{constructor(f,c,h,v){super(f,c),this.urlAfterRedirects=h,this.state=v,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends yn{constructor(f,c,h,v){super(f,c),this.urlAfterRedirects=h,this.state=v,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wo extends yn{constructor(f,c,h,v,w){super(f,c),this.urlAfterRedirects=h,this.state=v,this.shouldActivate=w,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class oi extends yn{constructor(f,c,h,v){super(f,c),this.urlAfterRedirects=h,this.state=v,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yr extends yn{constructor(f,c,h,v){super(f,c),this.urlAfterRedirects=h,this.state=v,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gs{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ws{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qs{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $n{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zr{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class er{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(f,c,h){this.routerEvent=f,this.position=c,this.anchor=h,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Xe{}class Sr{constructor(f){this.url=f}}class Ys{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Kr,this.attachRef=null}}let Kr=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(c,h){const v=this.getOrCreateContext(c);v.outlet=h,this.contexts.set(c,v)}onChildOutletDestroyed(c){const h=this.getContext(c);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let h=this.getContext(c);return h||(h=new Ys,this.contexts.set(c,h)),h}getContext(c){return this.contexts.get(c)||null}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class Tr{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const c=this.pathFromRoot(f);return c.length>1?c[c.length-2]:null}children(f){const c=Qr(f,this._root);return c?c.children.map(h=>h.value):[]}firstChild(f){const c=Qr(f,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(f){const c=Io(f,this._root);return c.length<2?[]:c[c.length-2].children.map(v=>v.value).filter(v=>v!==f)}pathFromRoot(f){return Io(f,this._root).map(c=>c.value)}}function Qr(u,f){if(u===f.value)return f;for(const c of f.children){const h=Qr(u,c);if(h)return h}return null}function Io(u,f){if(u===f.value)return[f];for(const c of f.children){const h=Io(u,c);if(h.length)return h.unshift(f),h}return[]}class Cn{constructor(f,c){this.value=f,this.children=c}toString(){return`TreeNode(${this.value})`}}function vr(u){const f={};return u&&u.children.forEach(c=>f[c.value.outlet]=c),f}class Zs extends Tr{constructor(f,c){super(f),this.snapshot=c,ui(this,f)}toString(){return this.snapshot.toString()}}function ii(u,f){const c=function Nn(u,f){const _=new ai([],{},{},"",{},_e,f,null,{});return new ki("",new Cn(_,[]))}(0,f),h=new de.X([new B("",{})]),v=new de.X({}),w=new de.X({}),_=new de.X({}),R=new de.X(""),N=new Xr(h,v,_,R,w,_e,f,c.root);return N.snapshot=c.root,new Zs(new Cn(N,[]),c)}class Xr{constructor(f,c,h,v,w,_,R,N){this.urlSubject=f,this.paramsSubject=c,this.queryParamsSubject=h,this.fragmentSubject=v,this.dataSubject=w,this.outlet=_,this.component=R,this._futureSnapshot=N,this.title=this.dataSubject?.pipe((0,he.U)(ee=>ee[Rt]))??(0,V.of)(void 0),this.url=f,this.params=c,this.queryParams=h,this.fragment=v,this.data=w}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((0,he.U)(f=>ft(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,he.U)(f=>ft(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function si(u,f,c="emptyOnly"){let h;const{routeConfig:v}=u;return h=null===f||"always"!==c&&""!==v?.path&&(f.component||f.routeConfig?.loadComponent)?{params:{...u.params},data:{...u.data},resolve:{...u.data,...u._resolvedData??{}}}:{params:{...f.params,...u.params},data:{...f.data,...u.data},resolve:{...u.data,...f.data,...v?.data,...u._resolvedData}},v&&Mo(v)&&(h.resolve[Rt]=v.title),h}class ai{get title(){return this.data?.[Rt]}constructor(f,c,h,v,w,_,R,N,ee){this.url=f,this.params=c,this.queryParams=h,this.fragment=v,this.data=w,this.outlet=_,this.component=R,this.routeConfig=N,this._resolve=ee}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=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(h=>h.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ki extends Tr{constructor(f,c){super(c),this.url=f,ui(this,c)}toString(){return Ks(this._root)}}function ui(u,f){f.value._routerState=u,f.children.forEach(c=>ui(u,c))}function Ks(u){const f=u.children.length>0?` { ${u.children.map(Ks).join(", ")} } `:"";return`${u.value}${f}`}function _o(u){if(u.snapshot){const f=u.snapshot,c=u._futureSnapshot;u.snapshot=c,Xt(f.queryParams,c.queryParams)||u.queryParamsSubject.next(c.queryParams),f.fragment!==c.fragment&&u.fragmentSubject.next(c.fragment),Xt(f.params,c.params)||u.paramsSubject.next(c.params),function Qe(u,f){if(u.length!==f.length)return!1;for(let c=0;cXt(c.parameters,f[h].parameters))}(u.url,f.url);return c&&!(!u.parent!=!f.parent)&&(!u.parent||tr(u.parent,f.parent))}function Mo(u){return"string"==typeof u.title||null===u.title}let bo=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=_e,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.parentContexts=(0,p.f3M)(Kr),this.location=(0,p.f3M)(p.s_b),this.changeDetector=(0,p.f3M)(p.sBO),this.environmentInjector=(0,p.f3M)(p.lqb),this.inputBinder=(0,p.f3M)(So,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(c){if(c.name){const{firstChange:h,previousValue:v}=c.name;if(h)return;this.isTrackedInParentContexts(v)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(v)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new p.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new p.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new p.vHH(4012,!1);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,h){this.activated=c,this._activatedRoute=h,this.location.insert(c.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,h){if(this.isActivated)throw new p.vHH(4013,!1);this._activatedRoute=c;const v=this.location,_=c.snapshot.component,R=this.parentContexts.getOrCreateContext(this.name).children,N=new ji(c,R,v.injector);this.activated=v.createComponent(_,{index:v.length,injector:N,environmentInjector:h??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275dir=p.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[p.TTD]})}return u})();class ji{constructor(f,c,h){this.route=f,this.childContexts=c,this.parent=h}get(f,c){return f===Xr?this.route:f===Kr?this.childContexts:this.parent.get(f,c)}}const So=new p.OlP("");let Vi=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(c){this.unsubscribeFromRouteData(c),this.subscribeToRouteData(c)}unsubscribeFromRouteData(c){this.outletDataSubscriptions.get(c)?.unsubscribe(),this.outletDataSubscriptions.delete(c)}subscribeToRouteData(c){const{activatedRoute:h}=c,v=ve([h.queryParams,h.params,h.data]).pipe((0,Ce.w)(([w,_,R],N)=>(R={...w,..._,...R},0===N?(0,V.of)(R):Promise.resolve(R)))).subscribe(w=>{if(!c.isActivated||!c.activatedComponentRef||c.activatedRoute!==h||null===h.component)return void this.unsubscribeFromRouteData(c);const _=(0,p.qFp)(h.component);if(_)for(const{templateName:R}of _.inputs)c.activatedComponentRef.setInput(R,w[R]);else this.unsubscribeFromRouteData(c)});this.outletDataSubscriptions.set(c,v)}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac})}return u})();function Dr(u,f,c){if(c&&u.shouldReuseRoute(f.value,c.value.snapshot)){const h=c.value;h._futureSnapshot=f.value;const v=function Qs(u,f,c){return f.children.map(h=>{for(const v of c.children)if(u.shouldReuseRoute(h.value,v.value.snapshot))return Dr(u,h,v);return Dr(u,h)})}(u,f,c);return new Cn(h,v)}{if(u.shouldAttach(f.value)){const w=u.retrieve(f.value);if(null!==w){const _=w.route;return _.value._futureSnapshot=f.value,_.children=f.children.map(R=>Dr(u,R)),_}}const h=function Hi(u){return new Xr(new de.X(u.url),new de.X(u.params),new de.X(u.queryParams),new de.X(u.fragment),new de.X(u.data),u.outlet,u.component,u)}(f.value),v=f.children.map(w=>Dr(u,w));return new Cn(h,v)}}const Ve="ngNavigationCancelingError";function Lt(u,f){const{redirectTo:c,navigationBehaviorOptions:h}=pr(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,v=Bt(!1,0,f);return v.url=c,v.navigationBehaviorOptions=h,v}function Bt(u,f,c){const h=new Error("NavigationCancelingError: "+(u||""));return h[Ve]=!0,h.cancellationCode=f,c&&(h.url=c),h}function zt(u){return u&&u[Ve]}let ci=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275cmp=p.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[p.jDz],decls:1,vars:0,template:function(h,v){1&h&&p._UZ(0,"router-outlet")},dependencies:[bo],encapsulation:2})}return u})();function Ht(u){const f=u.children&&u.children.map(Ht),c=f?{...u,children:f}:{...u};return!c.component&&!c.loadComponent&&(f||c.loadChildren)&&c.outlet&&c.outlet!==_e&&(c.component=ci),c}function kt(u){return u.outlet||_e}function Me(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let f=u.parent;f;f=f.parent){const c=f.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Oe{constructor(f,c,h,v,w){this.routeReuseStrategy=f,this.futureState=c,this.currState=h,this.forwardEvent=v,this.inputBindingEnabled=w}activate(f){const c=this.futureState._root,h=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,h,f),_o(this.futureState.root),this.activateChildRoutes(c,h,f)}deactivateChildRoutes(f,c,h){const v=vr(c);f.children.forEach(w=>{const _=w.value.outlet;this.deactivateRoutes(w,v[_],h),delete v[_]}),Object.values(v).forEach(w=>{this.deactivateRouteAndItsChildren(w,h)})}deactivateRoutes(f,c,h){const v=f.value,w=c?c.value:null;if(v===w)if(v.component){const _=h.getContext(v.outlet);_&&this.deactivateChildRoutes(f,c,_.children)}else this.deactivateChildRoutes(f,c,h);else w&&this.deactivateRouteAndItsChildren(c,h)}deactivateRouteAndItsChildren(f,c){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,c):this.deactivateRouteAndOutlet(f,c)}detachAndStoreRouteSubtree(f,c){const h=c.getContext(f.value.outlet),v=h&&f.value.component?h.children:c,w=vr(f);for(const _ of Object.keys(w))this.deactivateRouteAndItsChildren(w[_],v);if(h&&h.outlet){const _=h.outlet.detach(),R=h.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:_,route:f,contexts:R})}}deactivateRouteAndOutlet(f,c){const h=c.getContext(f.value.outlet),v=h&&f.value.component?h.children:c,w=vr(f);for(const _ of Object.keys(w))this.deactivateRouteAndItsChildren(w[_],v);h&&(h.outlet&&(h.outlet.deactivate(),h.children.onOutletDeactivated()),h.attachRef=null,h.route=null)}activateChildRoutes(f,c,h){const v=vr(c);f.children.forEach(w=>{this.activateRoutes(w,v[w.value.outlet],h),this.forwardEvent(new er(w.value.snapshot))}),f.children.length&&this.forwardEvent(new $n(f.value.snapshot))}activateRoutes(f,c,h){const v=f.value,w=c?c.value:null;if(_o(v),v===w)if(v.component){const _=h.getOrCreateContext(v.outlet);this.activateChildRoutes(f,c,_.children)}else this.activateChildRoutes(f,c,h);else if(v.component){const _=h.getOrCreateContext(v.outlet);if(this.routeReuseStrategy.shouldAttach(v.snapshot)){const R=this.routeReuseStrategy.retrieve(v.snapshot);this.routeReuseStrategy.store(v.snapshot,null),_.children.onOutletReAttached(R.contexts),_.attachRef=R.componentRef,_.route=R.route.value,_.outlet&&_.outlet.attach(R.componentRef,R.route.value),_o(R.route.value),this.activateChildRoutes(f,null,_.children)}else{const R=Me(v.snapshot);_.attachRef=null,_.route=v,_.injector=R,_.outlet&&_.outlet.activateWith(v,_.injector),this.activateChildRoutes(f,null,_.children)}}else this.activateChildRoutes(f,null,h)}}class Ar{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class eo{constructor(f,c){this.component=f,this.route=c}}function Nr(u,f,c){const h=u._root;return Bn(h,f?f._root:null,c,[h.value])}function En(u,f){const c=Symbol(),h=f.get(u,c);return h===c?"function"!=typeof u||(0,p.Z0I)(u)?f.get(u):u:h}function Bn(u,f,c,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const w=vr(f);return u.children.forEach(_=>{(function Rn(u,f,c,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const w=u.value,_=f?f.value:null,R=c?c.getContext(u.value.outlet):null;if(_&&w.routeConfig===_.routeConfig){const N=function to(u,f,c){if("function"==typeof c)return c(u,f);switch(c){case"pathParamsChange":return!we(u.url,f.url);case"pathParamsOrQueryParamsChange":return!we(u.url,f.url)||!Xt(u.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tr(u,f)||!Xt(u.queryParams,f.queryParams);default:return!tr(u,f)}}(_,w,w.routeConfig.runGuardsAndResolvers);N?v.canActivateChecks.push(new Ar(h)):(w.data=_.data,w._resolvedData=_._resolvedData),Bn(u,f,w.component?R?R.children:null:c,h,v),N&&R&&R.outlet&&R.outlet.isActivated&&v.canDeactivateChecks.push(new eo(R.outlet.component,_))}else _&&Cr(f,R,v),v.canActivateChecks.push(new Ar(h)),Bn(u,null,w.component?R?R.children:null:c,h,v)})(_,w[_.value.outlet],c,h.concat([_.value]),v),delete w[_.value.outlet]}),Object.entries(w).forEach(([_,R])=>Cr(R,c.getContext(_),v)),v}function Cr(u,f,c){const h=vr(u),v=u.value;Object.entries(h).forEach(([w,_])=>{Cr(_,v.component?f?f.children.getContext(w):null:f,c)}),c.canDeactivateChecks.push(new eo(v.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,v))}function fn(u){return"function"==typeof u}function _t(u){return u instanceof Fe||"EmptyError"===u?.name}const Gn=Symbol("INITIAL_VALUE");function Mt(){return(0,Ce.w)(u=>ve(u.map(f=>f.pipe(ut(1),function Nt(...u){const f=(0,vt.yG)(u);return(0,Z.e)((c,h)=>{(f?bn(u,c,f):bn(u,c)).subscribe(h)})}(Gn)))).pipe((0,he.U)(f=>{for(const c of f)if(!0!==c){if(c===Gn)return Gn;if(!1===c||c instanceof M)return c}return!0}),(0,rt.h)(f=>f!==Gn),ut(1)))}function hi(u){return(0,Mr.z)(Ye(f=>{if(pr(f))throw Lt(0,f)}),(0,he.U)(f=>!0===f))}class No{constructor(f){this.segmentGroup=f||null}}class ea extends Error{constructor(f){super(),this.urlTree=f}}function Ro(u){return Jn(new No(u))}class cl{constructor(f,c){this.urlSerializer=f,this.urlTree=c}lineralizeSegments(f,c){let h=[],v=c.root;for(;;){if(h=h.concat(v.segments),0===v.numberOfChildren)return(0,V.of)(h);if(v.numberOfChildren>1||!v.children[_e])return Jn(new p.vHH(4e3,!1));v=v.children[_e]}}applyRedirectCommands(f,c,h){const v=this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),f,h);if(c.startsWith("/"))throw new ea(v);return v}applyRedirectCreateUrlTree(f,c,h,v){const w=this.createSegmentGroup(f,c.root,h,v);return new M(w,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(f,c){const h={};return Object.entries(f).forEach(([v,w])=>{if("string"==typeof w&&w.startsWith(":")){const R=w.substring(1);h[v]=c[R]}else h[v]=w}),h}createSegmentGroup(f,c,h,v){const w=this.createSegments(f,c.segments,h,v);let _={};return Object.entries(c.children).forEach(([R,N])=>{_[R]=this.createSegmentGroup(f,N,h,v)}),new S(w,_)}createSegments(f,c,h,v){return c.map(w=>w.path.startsWith(":")?this.findPosParam(f,w,v):this.findOrReturn(w,h))}findPosParam(f,c,h){const v=h[c.path.substring(1)];if(!v)throw new p.vHH(4001,!1);return v}findOrReturn(f,c){let h=0;for(const v of c){if(v.path===f.path)return c.splice(h),v;h++}return f}}const ta={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ll(u,f,c,h,v){const w=ro(u,f,c);return w.matched?(h=function Xs(u,f){return u.providers&&!u._injector&&(u._injector=(0,p.MMx)(u.providers,f,`Route: ${u.path}`)),u._injector??f}(f,h),function fu(u,f,c,h){const v=f.canMatch;if(!v||0===v.length)return(0,V.of)(!0);const w=v.map(_=>{const R=En(_,u);return Tn(function In(u){return u&&fn(u.canMatch)}(R)?R.canMatch(f,c):(0,p.r_H)(u,()=>R(f,c)))});return(0,V.of)(w).pipe(Mt(),hi())}(h,f,c).pipe((0,he.U)(_=>!0===_?w:{...ta}))):(0,V.of)(w)}function ro(u,f,c){if("**"===f.path)return function hu(u){return{matched:!0,parameters:u.length>0?qe(u).parameters:{},consumedSegments:u,remainingSegments:[],positionalParamSegments:{}}}(c);if(""===f.path)return"full"===f.pathMatch&&(u.hasChildren()||c.length>0)?{...ta}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const v=(f.matcher||Yo)(c,u,f);if(!v)return{...ta};const w={};Object.entries(v.posParams??{}).forEach(([R,N])=>{w[R]=N.path});const _=v.consumed.length>0?{...w,...v.consumed[v.consumed.length-1].parameters}:w;return{matched:!0,consumedSegments:v.consumed,remainingSegments:c.slice(v.consumed.length),parameters:_,positionalParamSegments:v.posParams??{}}}function d(u,f,c,h){return c.length>0&&function y(u,f,c){return c.some(h=>O(u,f,h)&&kt(h)!==_e)}(u,c,h)?{segmentGroup:new S(f,g(h,new S(c,u.children))),slicedSegments:[]}:0===c.length&&function I(u,f,c){return c.some(h=>O(u,f,h))}(u,c,h)?{segmentGroup:new S(u.segments,C(u,0,c,h,u.children)),slicedSegments:c}:{segmentGroup:new S(u.segments,u.children),slicedSegments:c}}function C(u,f,c,h,v){const w={};for(const _ of h)if(O(u,c,_)&&!v[kt(_)]){const R=new S([],{});w[kt(_)]=R}return{...v,...w}}function g(u,f){const c={};c[_e]=f;for(const h of u)if(""===h.path&&kt(h)!==_e){const v=new S([],{});c[kt(h)]=v}return c}function O(u,f,c){return(!(u.hasChildren()||f.length>0)||"full"!==c.pathMatch)&&""===c.path}class it{}class $e{constructor(f,c,h,v,w,_,R){this.injector=f,this.configLoader=c,this.rootComponentType=h,this.config=v,this.urlTree=w,this.paramsInheritanceStrategy=_,this.urlSerializer=R,this.applyRedirects=new cl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(f){return new p.vHH(4002,`'${f.segmentGroup}'`)}recognize(){const f=d(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(f).pipe((0,he.U)(c=>{const h=new ai([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_e,this.rootComponentType,null,{}),v=new Cn(h,c),w=new ki("",v),_=function Pt(u,f,c=null,h=null){return $s(Us(u),f,c,h)}(h,[],this.urlTree.queryParams,this.urlTree.fragment);return _.queryParams=this.urlTree.queryParams,w.url=this.urlSerializer.serialize(_),this.inheritParamsAndData(w._root,null),{state:w,tree:_}}))}match(f){return this.processSegmentGroup(this.injector,this.config,f,_e).pipe(vn(h=>{if(h instanceof ea)return this.urlTree=h.urlTree,this.match(h.urlTree.root);throw h instanceof No?this.noMatchError(h):h}))}inheritParamsAndData(f,c){const h=f.value,v=si(h,c,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data),f.children.forEach(w=>this.inheritParamsAndData(w,h))}processSegmentGroup(f,c,h,v){return 0===h.segments.length&&h.hasChildren()?this.processChildren(f,c,h):this.processSegment(f,c,h,h.segments,v,!0).pipe((0,he.U)(w=>w instanceof Cn?[w]:[]))}processChildren(f,c,h){const v=[];for(const w of Object.keys(h.children))"primary"===w?v.unshift(w):v.push(w);return(0,W.D)(v).pipe((0,Qt.b)(w=>{const _=h.children[w],R=function Jr(u,f){const c=u.filter(h=>kt(h)===f);return c.push(...u.filter(h=>kt(h)!==f)),c}(c,w);return this.processSegmentGroup(f,R,_,w)}),function un(u,f){return(0,Z.e)(function qo(u,f,c,h,v){return(w,_)=>{let R=c,N=f,ee=0;w.subscribe((0,ue.x)(_,xe=>{const Be=ee++;N=R?u(N,xe,Be):(R=!0,xe),h&&_.next(N)},v&&(()=>{R&&_.next(N),_.complete()})))}}(u,f,arguments.length>=2,!0))}((w,_)=>(w.push(..._),w)),xt(null),function ye(u,f){const c=arguments.length>=2;return h=>h.pipe(u?(0,rt.h)((v,w)=>u(v,w,h)):pe.y,fr(1),c?xt(f):hn(()=>new Fe))}(),(0,De.z)(w=>{if(null===w)return Ro(h);const _=Ot(w);return function bt(u){u.sort((f,c)=>f.value.outlet===_e?-1:c.value.outlet===_e?1:f.value.outlet.localeCompare(c.value.outlet))}(_),(0,V.of)(_)}))}processSegment(f,c,h,v,w,_){return(0,W.D)(c).pipe((0,Qt.b)(R=>this.processSegmentAgainstRoute(R._injector??f,c,R,h,v,w,_).pipe(vn(N=>{if(N instanceof No)return(0,V.of)(null);throw N}))),Ae(R=>!!R),vn(R=>{if(_t(R))return function le(u,f,c){return 0===f.length&&!u.children[c]}(h,v,w)?(0,V.of)(new it):Ro(h);throw R}))}processSegmentAgainstRoute(f,c,h,v,w,_,R){return function H(u,f,c,h){return!!(kt(u)===h||h!==_e&&O(f,c,u))&&ro(f,u,c).matched}(h,v,w,_)?void 0===h.redirectTo?this.matchSegmentAgainstRoute(f,v,h,w,_):this.allowRedirects&&R?this.expandSegmentAgainstRouteUsingRedirect(f,v,c,h,w,_):Ro(v):Ro(v)}expandSegmentAgainstRouteUsingRedirect(f,c,h,v,w,_){const{matched:R,consumedSegments:N,positionalParamSegments:ee,remainingSegments:xe}=ro(c,v,w);if(!R)return Ro(c);v.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Be=this.applyRedirects.applyRedirectCommands(N,v.redirectTo,ee);return this.applyRedirects.lineralizeSegments(v,Be).pipe((0,De.z)(wt=>this.processSegment(f,h,c,wt.concat(xe),_,!1)))}matchSegmentAgainstRoute(f,c,h,v,w){const _=ll(c,h,v,f);return"**"===h.path&&(c.children={}),_.pipe((0,Ce.w)(R=>R.matched?this.getChildConfig(f=h._injector??f,h,v).pipe((0,Ce.w)(({routes:N})=>{const ee=h._loadedInjector??f,{consumedSegments:xe,remainingSegments:Be,parameters:wt}=R,Er=new ai(xe,wt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function xn(u){return u.data||{}}(h),kt(h),h.component??h._loadedComponent??null,h,function ir(u){return u.resolve||{}}(h)),{segmentGroup:vi,slicedSegments:oo}=d(c,xe,Be,N);if(0===oo.length&&vi.hasChildren())return this.processChildren(ee,N,vi).pipe((0,he.U)(io=>null===io?null:new Cn(Er,io)));if(0===N.length&&0===oo.length)return(0,V.of)(new Cn(Er,[]));const ha=kt(h)===w;return this.processSegment(ee,N,vi,oo,ha?_e:w,!0).pipe((0,he.U)(io=>new Cn(Er,io instanceof Cn?[io]:[])))})):Ro(c)))}getChildConfig(f,c,h){return c.children?(0,V.of)({routes:c.children,injector:f}):c.loadChildren?void 0!==c._loadedRoutes?(0,V.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function fi(u,f,c,h){const v=f.canLoad;if(void 0===v||0===v.length)return(0,V.of)(!0);const w=v.map(_=>{const R=En(_,u);return Tn(function zn(u){return u&&fn(u.canLoad)}(R)?R.canLoad(f,c):(0,p.r_H)(u,()=>R(f,c)))});return(0,V.of)(w).pipe(Mt(),hi())}(f,c,h).pipe((0,De.z)(v=>v?this.configLoader.loadChildren(f,c).pipe(Ye(w=>{c._loadedRoutes=w.routes,c._loadedInjector=w.injector})):function ul(u){return Jn(Bt(!1,3))}())):(0,V.of)({routes:[],injector:f})}}function ht(u){const f=u.value.routeConfig;return f&&""===f.path}function Ot(u){const f=[],c=new Set;for(const h of u){if(!ht(h)){f.push(h);continue}const v=f.find(w=>h.value.routeConfig===w.value.routeConfig);void 0!==v?(v.children.push(...h.children),c.add(v)):f.push(h)}for(const h of c){const v=Ot(h.children);f.push(new Cn(h.value,v))}return f.filter(h=>!c.has(h))}function Pn(u){const f=u.children.map(c=>Pn(c)).flat();return[u,...f]}function pu(u){return(0,Ce.w)(f=>{const c=u(f);return c?(0,W.D)(c).pipe((0,he.U)(()=>f)):(0,V.of)(f)})}let Dt=(()=>{class u{buildTitle(c){let h,v=c.root;for(;void 0!==v;)h=this.getResolvedTitleForRoute(v)??h,v=v.children.find(w=>w.outlet===_e);return h}getResolvedTitleForRoute(c){return c.data[Rt]}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:()=>(0,p.f3M)(na),providedIn:"root"})}return u})(),na=(()=>{class u extends Dt{constructor(c){super(),this.title=c}updateTitle(c){const h=this.buildTitle(c);void 0!==h&&this.title.setTitle(h)}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(ce.Dx))};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const ar=new p.OlP("",{providedIn:"root",factory:()=>({})}),$t=new p.OlP("ROUTES");let ra=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,p.f3M)(p.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,V.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const h=Tn(c.loadComponent()).pipe((0,he.U)(pn),Ye(w=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=w}),(0,We.x)(()=>{this.componentLoaders.delete(c)})),v=new Se(h,()=>new ze.x).pipe(J());return this.componentLoaders.set(c,v),v}loadChildren(c,h){if(this.childrenLoaders.get(h))return this.childrenLoaders.get(h);if(h._loadedRoutes)return(0,V.of)({routes:h._loadedRoutes,injector:h._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(h);const w=function pi(u,f,c,h){return Tn(u.loadChildren()).pipe((0,he.U)(pn),(0,De.z)(v=>v instanceof p.YKP||Array.isArray(v)?(0,V.of)(v):(0,W.D)(f.compileModuleAsync(v))),(0,he.U)(v=>{h&&h(u);let w,_,R=!1;return Array.isArray(v)?(_=v,!0):(w=v.create(c).injector,_=w.get($t,[],{optional:!0,self:!0}).flat()),{routes:_.map(Ht),injector:w}}))}(h,this.compiler,c,this.onLoadEndListener).pipe((0,We.x)(()=>{this.childrenLoaders.delete(h)})),_=new Se(w,()=>new ze.x).pipe(J());return this.childrenLoaders.set(h,_),_}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function pn(u){return function xo(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let oa=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:()=>(0,p.f3M)(ia),providedIn:"root"})}return u})(),ia=(()=>{class u{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,h){return c}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const gu=new p.OlP(""),Wn=new p.OlP("");function mu(u,f,c){const h=u.get(Wn),v=u.get(yt.K0);return u.get(p.R0b).runOutsideAngular(()=>{if(!v.startViewTransition||h.skipNextTransition)return h.skipNextTransition=!1,Promise.resolve();let w;const _=new Promise(ee=>{w=ee}),R=v.startViewTransition(()=>(w(),function fl(u){return new Promise(f=>{(0,p.T8G)(f,{injector:u})})}(u))),{onViewTransitionCreated:N}=h;return N&&(0,p.r_H)(u,()=>N({transition:R,from:f,to:c})),_})}let gi=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ze.x,this.transitionAbortSubject=new ze.x,this.configLoader=(0,p.f3M)(ra),this.environmentInjector=(0,p.f3M)(p.lqb),this.urlSerializer=(0,p.f3M)(et),this.rootContexts=(0,p.f3M)(Kr),this.location=(0,p.f3M)(yt.Ye),this.inputBindingEnabled=null!==(0,p.f3M)(So,{optional:!0}),this.titleStrategy=(0,p.f3M)(Dt),this.options=(0,p.f3M)(ar,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,p.f3M)(oa),this.createViewTransition=(0,p.f3M)(gu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,V.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=v=>this.events.next(new Ws(v)),this.configLoader.onLoadStartListener=v=>this.events.next(new Gs(v))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const h=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:h})}setupNavigations(c,h,v){return this.transitions=new de.X({id:0,currentUrlTree:h,currentRawUrl:h,extractedUrl:this.urlHandlingStrategy.extract(h),urlAfterRedirects:this.urlHandlingStrategy.extract(h),rawUrl:h,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qr,restoredState:null,currentSnapshot:v.snapshot,targetSnapshot:null,currentRouterState:v,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,rt.h)(w=>0!==w.id),(0,he.U)(w=>({...w,extractedUrl:this.urlHandlingStrategy.extract(w.rawUrl)})),(0,Ce.w)(w=>{this.currentTransition=w;let _=!1,R=!1;return(0,V.of)(w).pipe(Ye(N=>{this.currentNavigation={id:N.id,initialUrl:N.rawUrl,extractedUrl:N.extractedUrl,trigger:N.source,extras:N.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ce.w)(N=>{const ee=!c.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ee&&"reload"!==(N.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Be="";return this.events.next(new br(N.id,this.urlSerializer.serialize(N.rawUrl),Be,0)),N.resolve(null),F}if(this.urlHandlingStrategy.shouldProcessUrl(N.rawUrl))return(0,V.of)(N).pipe((0,Ce.w)(Be=>{const wt=this.transitions?.getValue();return this.events.next(new Hn(Be.id,this.urlSerializer.serialize(Be.extractedUrl),Be.source,Be.restoredState)),wt!==this.transitions?.getValue()?F:Promise.resolve(Be)}),function sr(u,f,c,h,v,w){return(0,De.z)(_=>function pt(u,f,c,h,v,w,_="emptyOnly"){return new $e(u,f,c,h,v,_,w).recognize()}(u,f,c,h,_.extractedUrl,v,w).pipe((0,he.U)(({state:R,tree:N})=>({..._,targetSnapshot:R,urlAfterRedirects:N}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,c.config,this.urlSerializer,this.paramsInheritanceStrategy),Ye(Be=>{w.targetSnapshot=Be.targetSnapshot,w.urlAfterRedirects=Be.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Be.urlAfterRedirects};const wt=new ri(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(wt)}));if(ee&&this.urlHandlingStrategy.shouldProcessUrl(N.currentRawUrl)){const{id:Be,extractedUrl:wt,source:Er,restoredState:vi,extras:oo}=N,ha=new Hn(Be,this.urlSerializer.serialize(wt),Er,vi);this.events.next(ha);const io=ii(0,this.rootComponentType).snapshot;return this.currentTransition=w={...N,targetSnapshot:io,urlAfterRedirects:wt,extras:{...oo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=wt,(0,V.of)(w)}{const Be="";return this.events.next(new br(N.id,this.urlSerializer.serialize(N.extractedUrl),Be,1)),N.resolve(null),F}}),Ye(N=>{const ee=new tt(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects),N.targetSnapshot);this.events.next(ee)}),(0,he.U)(N=>(this.currentTransition=w={...N,guards:Nr(N.targetSnapshot,N.currentSnapshot,this.rootContexts)},w)),function Ut(u,f){return(0,De.z)(c=>{const{targetSnapshot:h,currentSnapshot:v,guards:{canActivateChecks:w,canDeactivateChecks:_}}=c;return 0===_.length&&0===w.length?(0,V.of)({...c,guardsResult:!0}):function $i(u,f,c,h){return(0,W.D)(u).pipe((0,De.z)(v=>function du(u,f,c,h,v){const w=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!w||0===w.length)return(0,V.of)(!0);const _=w.map(R=>{const N=Me(f)??v,ee=En(R,N);return Tn(function no(u){return u&&fn(u.canDeactivate)}(ee)?ee.canDeactivate(u,f,c,h):(0,p.r_H)(N,()=>ee(u,f,c,h))).pipe(Ae())});return(0,V.of)(_).pipe(Mt())}(v.component,v.route,c,f,h)),Ae(v=>!0!==v,!0))}(_,h,v,u).pipe((0,De.z)(R=>R&&function To(u){return"boolean"==typeof u}(R)?function Or(u,f,c,h){return(0,W.D)(f).pipe((0,Qt.b)(v=>bn(function On(u,f){return null!==u&&f&&f(new qs(u)),(0,V.of)(!0)}(v.route.parent,h),function di(u,f){return null!==u&&f&&f(new Zr(u)),(0,V.of)(!0)}(v.route,h),function Js(u,f,c){const h=f[f.length-1],w=f.slice(0,f.length-1).reverse().map(_=>function It(u){const f=u.routeConfig?u.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:u,guards:f}:null}(_)).filter(_=>null!==_).map(_=>Xn(()=>{const R=_.guards.map(N=>{const ee=Me(_.node)??c,xe=En(N,ee);return Tn(function li(u){return u&&fn(u.canActivateChild)}(xe)?xe.canActivateChild(h,u):(0,p.r_H)(ee,()=>xe(h,u))).pipe(Ae())});return(0,V.of)(R).pipe(Mt())}));return(0,V.of)(w).pipe(Mt())}(u,v.path,c),function Bi(u,f,c){const h=f.routeConfig?f.routeConfig.canActivate:null;if(!h||0===h.length)return(0,V.of)(!0);const v=h.map(w=>Xn(()=>{const _=Me(f)??c,R=En(w,_);return Tn(function be(u){return u&&fn(u.canActivate)}(R)?R.canActivate(f,u):(0,p.r_H)(_,()=>R(f,u))).pipe(Ae())}));return(0,V.of)(v).pipe(Mt())}(u,v.route,c))),Ae(v=>!0!==v,!0))}(h,w,u,f):(0,V.of)(R)),(0,he.U)(R=>({...c,guardsResult:R})))})}(this.environmentInjector,N=>this.events.next(N)),Ye(N=>{if(w.guardsResult=N.guardsResult,pr(N.guardsResult))throw Lt(0,N.guardsResult);const ee=new wo(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects),N.targetSnapshot,!!N.guardsResult);this.events.next(ee)}),(0,rt.h)(N=>!!N.guardsResult||(this.cancelNavigationTransition(N,"",3),!1)),pu(N=>{if(N.guards.canActivateChecks.length)return(0,V.of)(N).pipe(Ye(ee=>{const xe=new oi(ee.id,this.urlSerializer.serialize(ee.extractedUrl),this.urlSerializer.serialize(ee.urlAfterRedirects),ee.targetSnapshot);this.events.next(xe)}),(0,Ce.w)(ee=>{let xe=!1;return(0,V.of)(ee).pipe(function qt(u,f){return(0,De.z)(c=>{const{targetSnapshot:h,guards:{canActivateChecks:v}}=c;if(!v.length)return(0,V.of)(c);const w=new Set(v.map(N=>N.route)),_=new Set;for(const N of w)if(!_.has(N))for(const ee of Pn(N))_.add(ee);let R=0;return(0,W.D)(_).pipe((0,Qt.b)(N=>w.has(N)?function wr(u,f,c,h){const v=u.routeConfig,w=u._resolve;return void 0!==v?.title&&!Mo(v)&&(w[Rt]=v.title),function Oo(u,f,c,h){const v=Sn(u);if(0===v.length)return(0,V.of)({});const w={};return(0,W.D)(v).pipe((0,De.z)(_=>function dl(u,f,c,h){const v=Me(f)??h,w=En(u,v);return Tn(w.resolve?w.resolve(f,c):(0,p.r_H)(v,()=>w(f,c)))}(u[_],f,c,h).pipe(Ae(),Ye(R=>{w[_]=R}))),fr(1),function Ge(u){return(0,he.U)(()=>u)}(w),vn(_=>_t(_)?F:Jn(_)))}(w,u,f,h).pipe((0,he.U)(_=>(u._resolvedData=_,u.data=si(u,u.parent,c).resolve,null)))}(N,h,u,f):(N.data=si(N,N.parent,u).resolve,(0,V.of)(void 0))),Ye(()=>R++),fr(1),(0,De.z)(N=>R===_.size?(0,V.of)(c):F))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ye({next:()=>xe=!0,complete:()=>{xe||this.cancelNavigationTransition(ee,"",2)}}))}),Ye(ee=>{const xe=new Yr(ee.id,this.urlSerializer.serialize(ee.extractedUrl),this.urlSerializer.serialize(ee.urlAfterRedirects),ee.targetSnapshot);this.events.next(xe)}))}),pu(N=>{const ee=xe=>{const Be=[];xe.routeConfig?.loadComponent&&!xe.routeConfig._loadedComponent&&Be.push(this.configLoader.loadComponent(xe.routeConfig).pipe(Ye(wt=>{xe.component=wt}),(0,he.U)(()=>{})));for(const wt of xe.children)Be.push(...ee(wt));return Be};return ve(ee(N.targetSnapshot.root)).pipe(xt(null),ut(1))}),pu(()=>this.afterPreactivation()),(0,Ce.w)(()=>{const{currentSnapshot:N,targetSnapshot:ee}=w,xe=this.createViewTransition?.(this.environmentInjector,N.root,ee.root);return xe?(0,W.D)(xe).pipe((0,he.U)(()=>w)):(0,V.of)(w)}),(0,he.U)(N=>{const ee=function yr(u,f,c){const h=Dr(u,f._root,c?c._root:void 0);return new Zs(h,f)}(c.routeReuseStrategy,N.targetSnapshot,N.currentRouterState);return this.currentTransition=w={...N,targetRouterState:ee},this.currentNavigation.targetRouterState=ee,w}),Ye(()=>{this.events.next(new Xe)}),((u,f,c,h)=>(0,he.U)(v=>(new Oe(f,v.targetRouterState,v.currentRouterState,c,h).activate(u),v)))(this.rootContexts,c.routeReuseStrategy,N=>this.events.next(N),this.inputBindingEnabled),ut(1),Ye({next:N=>{_=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Un(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects))),this.titleStrategy?.updateTitle(N.targetRouterState.snapshot),N.resolve(!0)},complete:()=>{_=!0}}),function hr(u){return(0,Z.e)((f,c)=>{(0,Vn.Xf)(u).subscribe((0,ue.x)(c,()=>c.complete(),Vs.Z)),!c.closed&&f.subscribe(c)})}(this.transitionAbortSubject.pipe(Ye(N=>{throw N}))),(0,We.x)(()=>{_||R||this.cancelNavigationTransition(w,"",1),this.currentNavigation?.id===w.id&&(this.currentNavigation=null)}),vn(N=>{if(R=!0,zt(N))this.events.next(new dn(w.id,this.urlSerializer.serialize(w.extractedUrl),N.message,N.cancellationCode)),function nr(u){return zt(u)&&pr(u.url)}(N)?this.events.next(new Sr(N.url)):w.resolve(!1);else{this.events.next(new Ft(w.id,this.urlSerializer.serialize(w.extractedUrl),N,w.targetSnapshot??void 0));try{w.resolve(c.errorHandler(N))}catch(ee){w.reject(ee)}}return F}))}))}cancelNavigationTransition(c,h,v){const w=new dn(c.id,this.urlSerializer.serialize(c.extractedUrl),h,v);this.events.next(w),c.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}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function vu(u){return u!==qr}let sa=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:()=>(0,p.f3M)(zi),providedIn:"root"})}return u})();class mi{shouldDetach(f){return!1}store(f,c){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,c){return f.routeConfig===c.routeConfig}}let zi=(()=>{class u extends mi{static#e=this.\u0275fac=(()=>{let c;return function(v){return(c||(c=p.n5z(u)))(v||u)}})();static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Gi=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:()=>(0,p.f3M)(Re),providedIn:"root"})}return u})(),Re=(()=>{class u extends Gi{constructor(){super(...arguments),this.location=(0,p.f3M)(yt.Ye),this.urlSerializer=(0,p.f3M)(et),this.options=(0,p.f3M)(ar,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,p.f3M)(oa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new M,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ii(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(c){return this.location.subscribe(h=>{"popstate"===h.type&&c(h.url,h.state)})}handleRouterEvent(c,h){if(c instanceof Hn)this.stateMemento=this.createStateMemento();else if(c instanceof br)this.rawUrlTree=h.initialUrl;else if(c instanceof ri){if("eager"===this.urlUpdateStrategy&&!h.extras.skipLocationChange){const v=this.urlHandlingStrategy.merge(h.finalUrl,h.initialUrl);this.setBrowserUrl(v,h)}}else c instanceof Xe?(this.currentUrlTree=h.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(h.finalUrl,h.initialUrl),this.routerState=h.targetRouterState,"deferred"===this.urlUpdateStrategy&&(h.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,h))):c instanceof dn&&(3===c.code||2===c.code)?this.restoreHistory(h):c instanceof Ft?this.restoreHistory(h,!0):c instanceof Un&&(this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId)}setBrowserUrl(c,h){const v=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(v)||h.extras.replaceUrl){const _={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId)};this.location.replaceState(v,"",_)}else{const w={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId+1)};this.location.go(v,"",w)}}restoreHistory(c,h=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-this.browserPageId;0!==w?this.location.historyGo(w):this.currentUrlTree===c.finalUrl&&0===w&&(this.resetState(c),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(h&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,h){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:h}:{navigationId:c}}static#e=this.\u0275fac=(()=>{let c;return function(v){return(c||(c=p.n5z(u)))(v||u)}})();static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Po=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Po||{});function hl(u,f){u.events.pipe((0,rt.h)(c=>c instanceof Un||c instanceof dn||c instanceof Ft||c instanceof br),(0,he.U)(c=>c instanceof Un||c instanceof br?Po.COMPLETE:c instanceof dn&&(0===c.code||1===c.code)?Po.REDIRECTING:Po.FAILED),(0,rt.h)(c=>c!==Po.REDIRECTING),ut(1)).subscribe(()=>{f()})}function pl(u){throw u}const gl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ml={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fn=(()=>{class u{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=(0,p.f3M)(p.c2e),this.stateManager=(0,p.f3M)(Gi),this.options=(0,p.f3M)(ar,{optional:!0})||{},this.pendingTasks=(0,p.f3M)(p.I6F),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,p.f3M)(gi),this.urlSerializer=(0,p.f3M)(et),this.location=(0,p.f3M)(yt.Ye),this.urlHandlingStrategy=(0,p.f3M)(oa),this._events=new ze.x,this.errorHandler=this.options.errorHandler||pl,this.navigated=!1,this.routeReuseStrategy=(0,p.f3M)(sa),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,p.f3M)($t,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,p.f3M)(So,{optional:!0}),this.eventsSubscription=new $.w0,this.isNgZoneEnabled=(0,p.f3M)(p.R0b)instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:c=>{this.console.warn(c)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const c=this.navigationTransitions.events.subscribe(h=>{try{const v=this.navigationTransitions.currentTransition,w=this.navigationTransitions.currentNavigation;if(null!==v&&null!==w)if(this.stateManager.handleRouterEvent(h,w),h instanceof dn&&0!==h.code&&1!==h.code)this.navigated=!0;else if(h instanceof Un)this.navigated=!0;else if(h instanceof Sr){const _=this.urlHandlingStrategy.merge(h.url,v.currentRawUrl),R={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vu(v.source)};this.scheduleNavigation(_,qr,null,R,{resolve:v.resolve,reject:v.reject,promise:v.promise})}(function vl(u){return!(u instanceof Xe||u instanceof Sr)})(h)&&this._events.next(h)}catch(v){this.navigationTransitions.transitionAbortSubject.next(v)}});this.eventsSubscription.add(c)}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),qr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((c,h)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(c,"popstate",h)},0)}))}navigateToSyncWithBrowser(c,h,v){const w={replaceUrl:!0},_=v?.navigationId?v:null;if(v){const N={...v};delete N.navigationId,delete N.\u0275routerPageId,0!==Object.keys(N).length&&(w.state=N)}const R=this.parseUrl(c);this.scheduleNavigation(R,h,_,w)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(c){this.config=c.map(Ht),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(c,h={}){const{relativeTo:v,queryParams:w,fragment:_,queryParamsHandling:R,preserveFragment:N}=h,ee=N?this.currentUrlTree.fragment:_;let Be,xe=null;switch(R){case"merge":xe={...this.currentUrlTree.queryParams,...w};break;case"preserve":xe=this.currentUrlTree.queryParams;break;default:xe=w||null}null!==xe&&(xe=this.removeEmptyProps(xe));try{Be=Us(v?v.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof c[0]||!c[0].startsWith("/"))&&(c=[]),Be=this.currentUrlTree.root}return $s(Be,c,xe,ee??null)}navigateByUrl(c,h={skipLocationChange:!1}){const v=pr(c)?c:this.parseUrl(c),w=this.urlHandlingStrategy.merge(v,this.rawUrlTree);return this.scheduleNavigation(w,qr,null,h)}navigate(c,h={skipLocationChange:!1}){return function Fo(u){for(let f=0;f{const w=c[v];return null!=w&&(h[v]=w),h},{})}scheduleNavigation(c,h,v,w,_){if(this.disposed)return Promise.resolve(!1);let R,N,ee;_?(R=_.resolve,N=_.reject,ee=_.promise):ee=new Promise((Be,wt)=>{R=Be,N=wt});const xe=this.pendingTasks.add();return hl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xe))}),this.navigationTransitions.handleNavigationRequest({source:h,restoredState:v,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:w,resolve:R,reject:N,promise:ee,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ee.catch(Be=>Promise.reject(Be))}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Wi=(()=>{class u{constructor(c,h,v,w,_,R){this.router=c,this.route=h,this.tabIndexAttribute=v,this.renderer=w,this.el=_,this.locationStrategy=R,this.href=null,this.commands=null,this.onChanges=new ze.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const N=_.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===N||"area"===N,this.isAnchorElement?this.subscription=c.events.subscribe(ee=>{ee instanceof Un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,h,v,w,_){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||h||v||w||_||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,p.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,h){const v=this.renderer,w=this.el.nativeElement;null!==h?v.setAttribute(w,c,h):v.removeAttribute(w,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(h){return new(h||u)(p.Y36(Fn),p.Y36(Xr),p.$8M("tabindex"),p.Y36(p.Qsj),p.Y36(p.SBq),p.Y36(yt.S$))};static#t=this.\u0275dir=p.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,v){1&h&&p.NdJ("click",function(_){return v.onClick(_.button,_.ctrlKey,_.shiftKey,_.altKey,_.metaKey)}),2&h&&p.uIk("target",v.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",p.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",p.VuI],replaceUrl:["replaceUrl","replaceUrl",p.VuI],routerLink:"routerLink"},standalone:!0,features:[p.Xq5,p.TTD]})}return u})();class yu{}let Cl=(()=>{class u{constructor(c,h,v,w,_){this.router=c,this.injector=v,this.preloadingStrategy=w,this.loader=_}setUpPreloading(){this.subscription=this.router.events.pipe((0,rt.h)(c=>c instanceof Un),(0,Qt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,h){const v=[];for(const w of h){w.providers&&!w._injector&&(w._injector=(0,p.MMx)(w.providers,c,`Route: ${w.path}`));const _=w._injector??c,R=w._loadedInjector??_;(w.loadChildren&&!w._loadedRoutes&&void 0===w.canLoad||w.loadComponent&&!w._loadedComponent)&&v.push(this.preloadConfig(_,w)),(w.children||w._loadedRoutes)&&v.push(this.processRoutes(R,w.children??w._loadedRoutes))}return(0,W.D)(v).pipe(At())}preloadConfig(c,h){return this.preloadingStrategy.preload(h,()=>{let v;v=h.loadChildren&&void 0===h.canLoad?this.loader.loadChildren(c,h):(0,V.of)(null);const w=v.pipe((0,De.z)(_=>null===_?(0,V.of)(void 0):(h._loadedRoutes=_.routes,h._loadedInjector=_.injector,this.processRoutes(_.injector??c,_.routes))));if(h.loadComponent&&!h._loadedComponent){const _=this.loader.loadComponent(h);return(0,W.D)([w,_]).pipe(At())}return w})}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(Fn),p.LFG(p.Sil),p.LFG(p.lqb),p.LFG(yu),p.LFG(ra))};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const aa=new p.OlP("");let gt=(()=>{class u{constructor(c,h,v,w,_={}){this.urlSerializer=c,this.transitions=h,this.viewportScroller=v,this.zone=w,this.options=_,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},_.scrollPositionRestoration=_.scrollPositionRestoration||"disabled",_.anchorScrolling=_.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Hn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof Un?(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment)):c instanceof br&&0===c.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Dn&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,h){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Dn(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,h))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(h){p.$Z()};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac})}return u})();function Gt(u,f){return{\u0275kind:u,\u0275providers:f}}function ca(){const u=(0,p.f3M)(p.zs3);return f=>{const c=u.get(p.z2F);if(f!==c.components[0])return;const h=u.get(Fn),v=u.get(cn);1===u.get(qn)&&h.initialNavigation(),u.get(wu,null,p.XFs.Optional)?.setUpPreloading(),u.get(aa,null,p.XFs.Optional)?.init(),h.resetRootComponentType(c.componentTypes[0]),v.closed||(v.next(),v.complete(),v.unsubscribe())}}const cn=new p.OlP("",{factory:()=>new ze.x}),qn=new p.OlP("",{providedIn:"root",factory:()=>1}),wu=new p.OlP("");function Eu(u){return Gt(0,[{provide:wu,useExisting:Cl},{provide:yu,useExisting:u}])}function _u(u){return Gt(9,[{provide:gu,useValue:mu},{provide:Wn,useValue:{skipNextTransition:!!u?.skipInitialTransition,...u}}])}const bu=new p.OlP("ROUTER_FORROOT_GUARD"),Su=[yt.Ye,{provide:et,useClass:Vt},Fn,Kr,{provide:Xr,useFactory:function Lo(u){return u.routerState.root},deps:[Fn]},ra,[]];let da=(()=>{class u{constructor(c){}static forRoot(c,h){return{ngModule:u,providers:[Su,[],{provide:$t,multi:!0,useValue:c},{provide:bu,useFactory:Ru,deps:[[Fn,new p.FiY,new p.tp0]]},{provide:ar,useValue:h||{}},h?.useHash?{provide:yt.S$,useClass:yt.Do}:{provide:yt.S$,useClass:yt.b0},{provide:aa,useFactory:()=>{const u=(0,p.f3M)(yt.EM),f=(0,p.f3M)(p.R0b),c=(0,p.f3M)(ar),h=(0,p.f3M)(gi),v=(0,p.f3M)(et);return c.scrollOffset&&u.setOffset(c.scrollOffset),new gt(v,h,u,f,c)}},h?.preloadingStrategy?Eu(h.preloadingStrategy).\u0275providers:[],h?.initialNavigation?fa(h):[],h?.bindToComponentInputs?Gt(8,[Vi,{provide:So,useExisting:Vi}]).\u0275providers:[],h?.enableViewTransitions?_u().\u0275providers:[],[{provide:Ou,useFactory:ca},{provide:p.tb,multi:!0,useExisting:Ou}]]}}static forChild(c){return{ngModule:u,providers:[{provide:$t,multi:!0,useValue:c}]}}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(bu,8))};static#t=this.\u0275mod=p.oAB({type:u});static#n=this.\u0275inj=p.cJS({})}return u})();function Ru(u){return"guarded"}function fa(u){return["disabled"===u.initialNavigation?Gt(3,[{provide:p.ip1,multi:!0,useFactory:()=>{const f=(0,p.f3M)(Fn);return()=>{f.setUpLocationChangeListener()}}},{provide:qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Gt(2,[{provide:qn,useValue:0},{provide:p.ip1,multi:!0,deps:[p.zs3],useFactory:f=>{const c=f.get(yt.V_,Promise.resolve());return()=>c.then(()=>new Promise(h=>{const v=f.get(Fn),w=f.get(cn);hl(v,()=>{h(!0)}),f.get(gi).afterPreactivation=()=>(h(!0),w.closed?(0,V.of)(void 0):w),v.initialNavigation()}))}}]).\u0275providers:[]]}const Ou=new p.OlP("")},582:(ke,oe,T)=>{function X(F,k,z,$){return new(z||(z=Promise))(function(J,Se){function ze(ut){try{Ce($.next(ut))}catch(Nt){Se(Nt)}}function yt(ut){try{Ce($.throw(ut))}catch(Nt){Se(Nt)}}function Ce(ut){ut.done?J(ut.value):function Z(J){return J instanceof z?J:new z(function(Se){Se(J)})}(ut.value).then(ze,yt)}Ce(($=$.apply(F,k||[])).next())})}function ue(F){return this instanceof ue?(this.v=F,this):new ue(F)}function re(F,k,z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z,$=z.apply(F,k||[]),J=[];return Z={},Se("next"),Se("throw"),Se("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function Se(rt){$[rt]&&(Z[rt]=function(xt){return new Promise(function(hn,Et){J.push([rt,xt,hn,Et])>1||ze(rt,xt)})})}function ze(rt,xt){try{!function yt(rt){rt.value instanceof ue?Promise.resolve(rt.value.v).then(Ce,ut):Nt(J[0][2],rt)}($[rt](xt))}catch(hn){Nt(J[0][3],hn)}}function Ce(rt){ze("next",rt)}function ut(rt){ze("throw",rt)}function Nt(rt,xt){rt(xt),J.shift(),J.length&&ze(J[0][0],J[0][1])}}function je(F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,k=F[Symbol.asyncIterator];return k?k.call(F):(F=function at(F){var k="function"==typeof Symbol&&Symbol.iterator,z=k&&F[k],$=0;if(z)return z.call(F);if(F&&"number"==typeof F.length)return{next:function(){return F&&$>=F.length&&(F=void 0),{value:F&&F[$++],done:!F}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")}(F),z={},$("next"),$("throw"),$("return"),z[Symbol.asyncIterator]=function(){return this},z);function $(J){z[J]=F[J]&&function(Se){return new Promise(function(ze,yt){!function Z(J,Se,ze,yt){Promise.resolve(yt).then(function(Ce){J({value:Ce,done:ze})},Se)}(ze,yt,(Se=F[J](Se)).done,Se.value)})}}}T.d(oe,{FC:()=>re,KL:()=>je,mG:()=>X,qq:()=>ue}),"function"==typeof SuppressedError&&SuppressedError}},ke=>{ke(ke.s=162)}]); \ No newline at end of file diff --git a/main.c4228b4298ad4f7e.js b/main.c4228b4298ad4f7e.js deleted file mode 100644 index 4bfec70..0000000 --- a/main.c4228b4298ad4f7e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[179],{543:(Le,ne,T)=>{var y=T(481),M=T(571),B=T(486);const Y=[{path:"",loadChildren:()=>T.e(503).then(T.bind(T,503)).then(J=>J.SlashModule)}];let X=(()=>{class J{}return J.\u0275fac=function(H){return new(H||J)},J.\u0275mod=M.oAB({type:J}),J.\u0275inj=M.cJS({imports:[B.Bz.forRoot(Y,{relativeLinkResolution:"legacy"}),B.Bz]}),J})(),ye=(()=>{class J{constructor(){this.title="offscale-www"}}return J.\u0275fac=function(H){return new(H||J)},J.\u0275cmp=M.Xpm({type:J,selectors:[["app-root"]],decls:1,vars:0,template:function(H,q){1&H&&M._UZ(0,"router-outlet")},dependencies:[B.lC]}),J})(),ae=(()=>{class J{}return J.\u0275fac=function(H){return new(H||J)},J.\u0275mod=M.oAB({type:J,bootstrap:[ye]}),J.\u0275inj=M.cJS({imports:[y.b2,X]}),J})();(0,M.G48)(),y.q6().bootstrapModule(ae).catch(J=>console.error(J))},135:(Le,ne,T)=>{T.d(ne,{X:()=>M});var y=T(579);class M extends y.x{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const X=super._subscribe(Y);return!X.closed&&Y.next(this._value),X}getValue(){const{hasError:Y,thrownError:X,_value:ye}=this;if(Y)throw X;return this._throwIfClosed(),ye}next(Y){super.next(this._value=Y)}}},751:(Le,ne,T)=>{T.d(ne,{y:()=>xe});var y=T(930),M=T(727),B=T(822),Y=T(635),X=T(416),ye=T(576),ae=T(806);let xe=(()=>{class q{constructor(le){le&&(this._subscribe=le)}lift(le){const re=new q;return re.source=this,re.operator=le,re}subscribe(le,re,ue){const Be=function H(q){return q&&q instanceof y.Lv||function $(q){return q&&(0,ye.m)(q.next)&&(0,ye.m)(q.error)&&(0,ye.m)(q.complete)}(q)&&(0,M.Nn)(q)}(le)?le:new y.Hp(le,re,ue);return(0,ae.x)(()=>{const{operator:Ke,source:he}=this;Be.add(Ke?Ke.call(Be,he):he?this._subscribe(Be):this._trySubscribe(Be))}),Be}_trySubscribe(le){try{return this._subscribe(le)}catch(re){le.error(re)}}forEach(le,re){return new(re=J(re))((ue,Be)=>{const Ke=new y.Hp({next:he=>{try{le(he)}catch(gt){Be(gt),Ke.unsubscribe()}},error:Be,complete:ue});this.subscribe(Ke)})}_subscribe(le){var re;return null===(re=this.source)||void 0===re?void 0:re.subscribe(le)}[B.L](){return this}pipe(...le){return(0,Y.U)(le)(this)}toPromise(le){return new(le=J(le))((re,ue)=>{let Be;this.subscribe(Ke=>Be=Ke,Ke=>ue(Ke),()=>re(Be))})}}return q.create=$e=>new q($e),q})();function J(q){var $e;return null!==($e=q??X.v.Promise)&&void 0!==$e?$e:Promise}},579:(Le,ne,T)=>{T.d(ne,{x:()=>ae});var y=T(751),M=T(727);const Y=(0,T(888).d)(J=>function(){J(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=T(737),ye=T(806);let ae=(()=>{class J extends y.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(H){const q=new xe(this,this);return q.operator=H,q}_throwIfClosed(){if(this.closed)throw new Y}next(H){(0,ye.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(H)}})}error(H){(0,ye.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=H;const{observers:q}=this;for(;q.length;)q.shift().error(H)}})}complete(){(0,ye.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:H}=this;for(;H.length;)H.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var H;return(null===(H=this.observers)||void 0===H?void 0:H.length)>0}_trySubscribe(H){return this._throwIfClosed(),super._trySubscribe(H)}_subscribe(H){return this._throwIfClosed(),this._checkFinalizedStatuses(H),this._innerSubscribe(H)}_innerSubscribe(H){const{hasError:q,isStopped:$e,observers:le}=this;return q||$e?M.Lc:(this.currentObservers=null,le.push(H),new M.w0(()=>{this.currentObservers=null,(0,X.P)(le,H)}))}_checkFinalizedStatuses(H){const{hasError:q,thrownError:$e,isStopped:le}=this;q?H.error($e):le&&H.complete()}asObservable(){const H=new y.y;return H.source=this,H}}return J.create=($,H)=>new xe($,H),J})();class xe extends ae{constructor($,H){super(),this.destination=$,this.source=H}next($){var H,q;null===(q=null===(H=this.destination)||void 0===H?void 0:H.next)||void 0===q||q.call(H,$)}error($){var H,q;null===(q=null===(H=this.destination)||void 0===H?void 0:H.error)||void 0===q||q.call(H,$)}complete(){var $,H;null===(H=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===H||H.call($)}_subscribe($){var H,q;return null!==(q=null===(H=this.source)||void 0===H?void 0:H.subscribe($))&&void 0!==q?q:M.Lc}}},930:(Le,ne,T)=>{T.d(ne,{Hp:()=>ue,Lv:()=>q});var y=T(576),M=T(727),B=T(416),Y=T(849),X=T(32);const ye=J("C",void 0,void 0);function J(z,W,Ie){return{kind:z,value:W,error:Ie}}var $=T(410),H=T(806);class q extends M.w0{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,M.Nn)(W)&&W.add(this)):this.destination=gt}static create(W,Ie,Xe){return new ue(W,Ie,Xe)}next(W){this.isStopped?he(function xe(z){return J("N",z,void 0)}(W),this):this._next(W)}error(W){this.isStopped?he(function ae(z){return J("E",void 0,z)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?he(ye,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const $e=Function.prototype.bind;function le(z,W){return $e.call(z,W)}class re{constructor(W){this.partialObserver=W}next(W){const{partialObserver:Ie}=this;if(Ie.next)try{Ie.next(W)}catch(Xe){Be(Xe)}}error(W){const{partialObserver:Ie}=this;if(Ie.error)try{Ie.error(W)}catch(Xe){Be(Xe)}else Be(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(Ie){Be(Ie)}}}class ue extends q{constructor(W,Ie,Xe){let Ce;if(super(),(0,y.m)(W)||!W)Ce={next:W??void 0,error:Ie??void 0,complete:Xe??void 0};else{let ce;this&&B.v.useDeprecatedNextContext?(ce=Object.create(W),ce.unsubscribe=()=>this.unsubscribe(),Ce={next:W.next&&le(W.next,ce),error:W.error&&le(W.error,ce),complete:W.complete&&le(W.complete,ce)}):Ce=W}this.destination=new re(Ce)}}function Be(z){B.v.useDeprecatedSynchronousErrorHandling?(0,H.O)(z):(0,Y.h)(z)}function he(z,W){const{onStoppedNotification:Ie}=B.v;Ie&&$.z.setTimeout(()=>Ie(z,W))}const gt={closed:!0,next:X.Z,error:function Ke(z){throw z},complete:X.Z}},727:(Le,ne,T)=>{T.d(ne,{Lc:()=>ye,w0:()=>X,Nn:()=>ae});var y=T(576);const B=(0,T(888).d)(J=>function(H){J(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((q,$e)=>`${$e+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=H});var Y=T(737);class X{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:H}=this;if(H)if(this._parentage=null,Array.isArray(H))for(const le of H)le.remove(this);else H.remove(this);const{initialTeardown:q}=this;if((0,y.m)(q))try{q()}catch(le){$=le instanceof B?le.errors:[le]}const{_finalizers:$e}=this;if($e){this._finalizers=null;for(const le of $e)try{xe(le)}catch(re){$=$??[],re instanceof B?$=[...$,...re.errors]:$.push(re)}}if($)throw new B($)}}add($){var H;if($&&$!==this)if(this.closed)xe($);else{if($ instanceof X){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(H=this._finalizers)&&void 0!==H?H:[]).push($)}}_hasParent($){const{_parentage:H}=this;return H===$||Array.isArray(H)&&H.includes($)}_addParent($){const{_parentage:H}=this;this._parentage=Array.isArray(H)?(H.push($),H):H?[H,$]:$}_removeParent($){const{_parentage:H}=this;H===$?this._parentage=null:Array.isArray(H)&&(0,Y.P)(H,$)}remove($){const{_finalizers:H}=this;H&&(0,Y.P)(H,$),$ instanceof X&&$._removeParent(this)}}X.EMPTY=(()=>{const J=new X;return J.closed=!0,J})();const ye=X.EMPTY;function ae(J){return J instanceof X||J&&"closed"in J&&(0,y.m)(J.remove)&&(0,y.m)(J.add)&&(0,y.m)(J.unsubscribe)}function xe(J){(0,y.m)(J)?J():J.unsubscribe()}},416:(Le,ne,T)=>{T.d(ne,{v:()=>y});const y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(Le,ne,T)=>{T.d(ne,{E:()=>M});const M=new(T(751).y)(X=>X.complete())},76:(Le,ne,T)=>{T.d(ne,{D:()=>Xe});var y=T(421),M=T(672),B=T(482),Y=T(403);function X(Ce,ce=0){return(0,B.e)((De,F)=>{De.subscribe((0,Y.x)(F,L=>(0,M.f)(F,Ce,()=>F.next(L),ce),()=>(0,M.f)(F,Ce,()=>F.complete(),ce),L=>(0,M.f)(F,Ce,()=>F.error(L),ce)))})}function ye(Ce,ce=0){return(0,B.e)((De,F)=>{F.add(Ce.schedule(()=>De.subscribe(F),ce))})}var J=T(751),H=T(202),q=T(576);function le(Ce,ce){if(!Ce)throw new Error("Iterable cannot be null");return new J.y(De=>{(0,M.f)(De,ce,()=>{const F=Ce[Symbol.asyncIterator]();(0,M.f)(De,ce,()=>{F.next().then(L=>{L.done?De.complete():De.next(L.value)})},0,!0)})})}var re=T(670),ue=T(239),Be=T(144),Ke=T(495),he=T(206),gt=T(532),z=T(260);function Xe(Ce,ce){return ce?function Ie(Ce,ce){if(null!=Ce){if((0,re.c)(Ce))return function ae(Ce,ce){return(0,y.Xf)(Ce).pipe(ye(ce),X(ce))}(Ce,ce);if((0,Be.z)(Ce))return function $(Ce,ce){return new J.y(De=>{let F=0;return ce.schedule(function(){F===Ce.length?De.complete():(De.next(Ce[F++]),De.closed||this.schedule())})})}(Ce,ce);if((0,ue.t)(Ce))return function xe(Ce,ce){return(0,y.Xf)(Ce).pipe(ye(ce),X(ce))}(Ce,ce);if((0,he.D)(Ce))return le(Ce,ce);if((0,Ke.T)(Ce))return function $e(Ce,ce){return new J.y(De=>{let F;return(0,M.f)(De,ce,()=>{F=Ce[H.h](),(0,M.f)(De,ce,()=>{let L,G;try{({value:L,done:G}=F.next())}catch(k){return void De.error(k)}G?De.complete():De.next(L)},0,!0)}),()=>(0,q.m)(F?.return)&&F.return()})}(Ce,ce);if((0,z.L)(Ce))return function W(Ce,ce){return le((0,z.Q)(Ce),ce)}(Ce,ce)}throw(0,gt.z)(Ce)}(Ce,ce):(0,y.Xf)(Ce)}},421:(Le,ne,T)=>{T.d(ne,{Xf:()=>$e});var y=T(655),M=T(144),B=T(239),Y=T(751),X=T(670),ye=T(206),ae=T(532),xe=T(495),J=T(260),$=T(576),H=T(849),q=T(822);function $e(z){if(z instanceof Y.y)return z;if(null!=z){if((0,X.c)(z))return function le(z){return new Y.y(W=>{const Ie=z[q.L]();if((0,$.m)(Ie.subscribe))return Ie.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);if((0,M.z)(z))return function re(z){return new Y.y(W=>{for(let Ie=0;Ie{z.then(Ie=>{W.closed||(W.next(Ie),W.complete())},Ie=>W.error(Ie)).then(null,H.h)})}(z);if((0,ye.D)(z))return Ke(z);if((0,xe.T)(z))return function Be(z){return new Y.y(W=>{for(const Ie of z)if(W.next(Ie),W.closed)return;W.complete()})}(z);if((0,J.L)(z))return function he(z){return Ke((0,J.Q)(z))}(z)}throw(0,ae.z)(z)}function Ke(z){return new Y.y(W=>{(function gt(z,W){var Ie,Xe,Ce,ce;return(0,y.mG)(this,void 0,void 0,function*(){try{for(Ie=(0,y.KL)(z);!(Xe=yield Ie.next()).done;)if(W.next(Xe.value),W.closed)return}catch(De){Ce={error:De}}finally{try{Xe&&!Xe.done&&(ce=Ie.return)&&(yield ce.call(Ie))}finally{if(Ce)throw Ce.error}}W.complete()})})(z,W).catch(Ie=>W.error(Ie))})}},451:(Le,ne,T)=>{T.d(ne,{T:()=>ye});var y=T(189),M=T(421),B=T(515),Y=T(669),X=T(76);function ye(...ae){const xe=(0,Y.yG)(ae),J=(0,Y._6)(ae,1/0),$=ae;return $.length?1===$.length?(0,M.Xf)($[0]):(0,y.J)(J)((0,X.D)($,xe)):B.E}},646:(Le,ne,T)=>{T.d(ne,{of:()=>B});var y=T(669),M=T(76);function B(...Y){const X=(0,y.yG)(Y);return(0,M.D)(Y,X)}},403:(Le,ne,T)=>{T.d(ne,{x:()=>M});var y=T(930);function M(Y,X,ye,ae,xe){return new B(Y,X,ye,ae,xe)}class B extends y.Lv{constructor(X,ye,ae,xe,J,$){super(X),this.onFinalize=J,this.shouldUnsubscribe=$,this._next=ye?function(H){try{ye(H)}catch(q){X.error(q)}}:super._next,this._error=xe?function(H){try{xe(H)}catch(q){X.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=ae?function(){try{ae()}catch(H){X.error(H)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ye}=this;super.unsubscribe(),!ye&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},351:(Le,ne,T)=>{T.d(ne,{b:()=>B});var y=T(577),M=T(576);function B(Y,X){return(0,M.m)(X)?(0,y.z)(Y,X,1):(0,y.z)(Y,1)}},300:(Le,ne,T)=>{T.d(ne,{h:()=>B});var y=T(482),M=T(403);function B(Y,X){return(0,y.e)((ye,ae)=>{let xe=0;ye.subscribe((0,M.x)(ae,J=>Y.call(X,J,xe++)&&ae.next(J)))})}},4:(Le,ne,T)=>{T.d(ne,{U:()=>B});var y=T(482),M=T(403);function B(Y,X){return(0,y.e)((ye,ae)=>{let xe=0;ye.subscribe((0,M.x)(ae,J=>{ae.next(Y.call(X,J,xe++))}))})}},189:(Le,ne,T)=>{T.d(ne,{J:()=>B});var y=T(577),M=T(671);function B(Y=1/0){return(0,y.z)(M.y,Y)}},577:(Le,ne,T)=>{T.d(ne,{z:()=>xe});var y=T(4),M=T(421),B=T(482),Y=T(672),X=T(403),ae=T(576);function xe(J,$,H=1/0){return(0,ae.m)($)?xe((q,$e)=>(0,y.U)((le,re)=>$(q,le,$e,re))((0,M.Xf)(J(q,$e))),H):("number"==typeof $&&(H=$),(0,B.e)((q,$e)=>function ye(J,$,H,q,$e,le,re,ue){const Be=[];let Ke=0,he=0,gt=!1;const z=()=>{gt&&!Be.length&&!Ke&&$.complete()},W=Xe=>Ke{le&&$.next(Xe),Ke++;let Ce=!1;(0,M.Xf)(H(Xe,he++)).subscribe((0,X.x)($,ce=>{$e?.(ce),le?W(ce):$.next(ce)},()=>{Ce=!0},void 0,()=>{if(Ce)try{for(Ke--;Be.length&&KeIe(ce)):Ie(ce)}z()}catch(ce){$.error(ce)}}))};return J.subscribe((0,X.x)($,W,()=>{gt=!0,z()})),()=>{ue?.()}}(q,$e,J,H)))}},505:(Le,ne,T)=>{T.d(ne,{b:()=>X});var y=T(576),M=T(482),B=T(403),Y=T(671);function X(ye,ae,xe){const J=(0,y.m)(ye)||ae||xe?{next:ye,error:ae,complete:xe}:ye;return J?(0,M.e)(($,H)=>{var q;null===(q=J.subscribe)||void 0===q||q.call(J);let $e=!0;$.subscribe((0,B.x)(H,le=>{var re;null===(re=J.next)||void 0===re||re.call(J,le),H.next(le)},()=>{var le;$e=!1,null===(le=J.complete)||void 0===le||le.call(J),H.complete()},le=>{var re;$e=!1,null===(re=J.error)||void 0===re||re.call(J,le),H.error(le)},()=>{var le,re;$e&&(null===(le=J.unsubscribe)||void 0===le||le.call(J)),null===(re=J.finalize)||void 0===re||re.call(J)}))}):Y.y}},410:(Le,ne,T)=>{T.d(ne,{z:()=>y});const y={setTimeout(M,B,...Y){const{delegate:X}=y;return X?.setTimeout?X.setTimeout(M,B,...Y):setTimeout(M,B,...Y)},clearTimeout(M){const{delegate:B}=y;return(B?.clearTimeout||clearTimeout)(M)},delegate:void 0}},202:(Le,ne,T)=>{T.d(ne,{h:()=>M});const M=function y(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},822:(Le,ne,T)=>{T.d(ne,{L:()=>y});const y="function"==typeof Symbol&&Symbol.observable||"@@observable"},669:(Le,ne,T)=>{T.d(ne,{_6:()=>ye,jO:()=>Y,yG:()=>X});var y=T(576);function B(ae){return ae[ae.length-1]}function Y(ae){return(0,y.m)(B(ae))?ae.pop():void 0}function X(ae){return function M(ae){return ae&&(0,y.m)(ae.schedule)}(B(ae))?ae.pop():void 0}function ye(ae,xe){return"number"==typeof B(ae)?ae.pop():xe}},737:(Le,ne,T)=>{function y(M,B){if(M){const Y=M.indexOf(B);0<=Y&&M.splice(Y,1)}}T.d(ne,{P:()=>y})},888:(Le,ne,T)=>{function y(M){const Y=M(X=>{Error.call(X),X.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}T.d(ne,{d:()=>y})},806:(Le,ne,T)=>{T.d(ne,{O:()=>Y,x:()=>B});var y=T(416);let M=null;function B(X){if(y.v.useDeprecatedSynchronousErrorHandling){const ye=!M;if(ye&&(M={errorThrown:!1,error:null}),X(),ye){const{errorThrown:ae,error:xe}=M;if(M=null,ae)throw xe}}else X()}function Y(X){y.v.useDeprecatedSynchronousErrorHandling&&M&&(M.errorThrown=!0,M.error=X)}},672:(Le,ne,T)=>{function y(M,B,Y,X=0,ye=!1){const ae=B.schedule(function(){Y(),ye?M.add(this.schedule(null,X)):this.unsubscribe()},X);if(M.add(ae),!ye)return ae}T.d(ne,{f:()=>y})},671:(Le,ne,T)=>{function y(M){return M}T.d(ne,{y:()=>y})},144:(Le,ne,T)=>{T.d(ne,{z:()=>y});const y=M=>M&&"number"==typeof M.length&&"function"!=typeof M},206:(Le,ne,T)=>{T.d(ne,{D:()=>M});var y=T(576);function M(B){return Symbol.asyncIterator&&(0,y.m)(B?.[Symbol.asyncIterator])}},576:(Le,ne,T)=>{function y(M){return"function"==typeof M}T.d(ne,{m:()=>y})},670:(Le,ne,T)=>{T.d(ne,{c:()=>B});var y=T(822),M=T(576);function B(Y){return(0,M.m)(Y[y.L])}},495:(Le,ne,T)=>{T.d(ne,{T:()=>B});var y=T(202),M=T(576);function B(Y){return(0,M.m)(Y?.[y.h])}},239:(Le,ne,T)=>{T.d(ne,{t:()=>M});var y=T(576);function M(B){return(0,y.m)(B?.then)}},260:(Le,ne,T)=>{T.d(ne,{L:()=>Y,Q:()=>B});var y=T(655),M=T(576);function B(X){return(0,y.FC)(this,arguments,function*(){const ae=X.getReader();try{for(;;){const{value:xe,done:J}=yield(0,y.qq)(ae.read());if(J)return yield(0,y.qq)(void 0);yield yield(0,y.qq)(xe)}}finally{ae.releaseLock()}})}function Y(X){return(0,M.m)(X?.getReader)}},482:(Le,ne,T)=>{T.d(ne,{A:()=>M,e:()=>B});var y=T(576);function M(Y){return(0,y.m)(Y?.lift)}function B(Y){return X=>{if(M(X))return X.lift(function(ye){try{return Y(ye,this)}catch(ae){this.error(ae)}});throw new TypeError("Unable to lift unknown Observable type")}}},32:(Le,ne,T)=>{function y(){}T.d(ne,{Z:()=>y})},635:(Le,ne,T)=>{T.d(ne,{U:()=>B,z:()=>M});var y=T(671);function M(...Y){return B(Y)}function B(Y){return 0===Y.length?y.y:1===Y.length?Y[0]:function(ye){return Y.reduce((ae,xe)=>xe(ae),ye)}}},849:(Le,ne,T)=>{T.d(ne,{h:()=>B});var y=T(416),M=T(410);function B(Y){M.z.setTimeout(()=>{const{onUnhandledError:X}=y.v;if(!X)throw Y;X(Y)})}},532:(Le,ne,T)=>{function y(M){return new TypeError(`You provided ${null!==M&&"object"==typeof M?"an invalid object":`'${M}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(ne,{z:()=>y})},655:(Le,ne,T)=>{function xe(F,L,G,k){return new(G||(G=Promise))(function(oe,Ae){function tt(At){try{Ve(k.next(At))}catch(Lt){Ae(Lt)}}function ut(At){try{Ve(k.throw(At))}catch(Lt){Ae(Lt)}}function Ve(At){At.done?oe(At.value):function fe(oe){return oe instanceof G?oe:new G(function(Ae){Ae(oe)})}(At.value).then(tt,ut)}Ve((k=k.apply(F,L||[])).next())})}function Be(F){return this instanceof Be?(this.v=F,this):new Be(F)}function Ke(F,L,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,k=G.apply(F,L||[]),oe=[];return fe={},Ae("next"),Ae("throw"),Ae("return"),fe[Symbol.asyncIterator]=function(){return this},fe;function Ae(ke){k[ke]&&(fe[ke]=function(be){return new Promise(function(Bt,Rt){oe.push([ke,be,Bt,Rt])>1||tt(ke,be)})})}function tt(ke,be){try{!function ut(ke){ke.value instanceof Be?Promise.resolve(ke.value.v).then(Ve,At):Lt(oe[0][2],ke)}(k[ke](be))}catch(Bt){Lt(oe[0][3],Bt)}}function Ve(ke){tt("next",ke)}function At(ke){tt("throw",ke)}function Lt(ke,be){ke(be),oe.shift(),oe.length&&tt(oe[0][0],oe[0][1])}}function gt(F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,L=F[Symbol.asyncIterator];return L?L.call(F):(F=function q(F){var L="function"==typeof Symbol&&Symbol.iterator,G=L&&F[L],k=0;if(G)return G.call(F);if(F&&"number"==typeof F.length)return{next:function(){return F&&k>=F.length&&(F=void 0),{value:F&&F[k++],done:!F}}};throw new TypeError(L?"Object is not iterable.":"Symbol.iterator is not defined.")}(F),G={},k("next"),k("throw"),k("return"),G[Symbol.asyncIterator]=function(){return this},G);function k(oe){G[oe]=F[oe]&&function(Ae){return new Promise(function(tt,ut){!function fe(oe,Ae,tt,ut){Promise.resolve(ut).then(function(Ve){oe({value:Ve,done:tt})},Ae)}(tt,ut,(Ae=F[oe](Ae)).done,Ae.value)})}}}T.d(ne,{FC:()=>Ke,KL:()=>gt,mG:()=>xe,qq:()=>Be})},895:(Le,ne,T)=>{T.d(ne,{Do:()=>gt,EM:()=>Nr,HT:()=>X,JF:()=>to,K0:()=>ae,Mx:()=>Gn,NF:()=>En,PC:()=>xr,PM:()=>oi,S$:()=>Be,V_:()=>$,Ye:()=>z,b0:()=>he,bD:()=>Wn,ez:()=>_n,mk:()=>ln,q:()=>B,w_:()=>ye});var y=T(571);let M=null;function B(){return M}function X(h){M||(M=h)}class ye{}const ae=new y.OlP("DocumentToken");let xe=(()=>{class h{historyGo(p){throw new Error("Not implemented")}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275prov=y.Yz7({token:h,factory:function(){return function J(){return(0,y.LFG)(H)}()},providedIn:"platform"}),h})();const $=new y.OlP("Location Initialized");let H=(()=>{class h extends xe{constructor(p){super(),this._doc=p,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return B().getBaseHref(this._doc)}onPopState(p){const w=B().getGlobalEventTarget(this._doc,"window");return w.addEventListener("popstate",p,!1),()=>w.removeEventListener("popstate",p)}onHashChange(p){const w=B().getGlobalEventTarget(this._doc,"window");return w.addEventListener("hashchange",p,!1),()=>w.removeEventListener("hashchange",p)}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(p){this.location.pathname=p}pushState(p,w,S){q()?this._history.pushState(p,w,S):this.location.hash=S}replaceState(p,w,S){q()?this._history.replaceState(p,w,S):this.location.hash=S}forward(){this._history.forward()}back(){this._history.back()}historyGo(p=0){this._history.go(p)}getState(){return this._history.state}}return h.\u0275fac=function(p){return new(p||h)(y.LFG(ae))},h.\u0275prov=y.Yz7({token:h,factory:function(){return function $e(){return new H((0,y.LFG)(ae))}()},providedIn:"platform"}),h})();function q(){return!!window.history.pushState}function le(h,v){if(0==h.length)return v;if(0==v.length)return h;let p=0;return h.endsWith("/")&&p++,v.startsWith("/")&&p++,2==p?h+v.substring(1):1==p?h+v:h+"/"+v}function re(h){const v=h.match(/#|\?|$/),p=v&&v.index||h.length;return h.slice(0,p-("/"===h[p-1]?1:0))+h.slice(p)}function ue(h){return h&&"?"!==h[0]?"?"+h:h}let Be=(()=>{class h{historyGo(p){throw new Error("Not implemented")}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275prov=y.Yz7({token:h,factory:function(){return(0,y.f3M)(he)},providedIn:"root"}),h})();const Ke=new y.OlP("appBaseHref");let he=(()=>{class h extends Be{constructor(p,w){super(),this._platformLocation=p,this._removeListenerFns=[],this._baseHref=w??this._platformLocation.getBaseHrefFromDOM()??(0,y.f3M)(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}prepareExternalUrl(p){return le(this._baseHref,p)}path(p=!1){const w=this._platformLocation.pathname+ue(this._platformLocation.search),S=this._platformLocation.hash;return S&&p?`${w}${S}`:w}pushState(p,w,S,V){const K=this.prepareExternalUrl(S+ue(V));this._platformLocation.pushState(p,w,K)}replaceState(p,w,S,V){const K=this.prepareExternalUrl(S+ue(V));this._platformLocation.replaceState(p,w,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}}return h.\u0275fac=function(p){return new(p||h)(y.LFG(xe),y.LFG(Ke,8))},h.\u0275prov=y.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),gt=(()=>{class h extends Be{constructor(p,w){super(),this._platformLocation=p,this._baseHref="",this._removeListenerFns=[],null!=w&&(this._baseHref=w)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}path(p=!1){let w=this._platformLocation.hash;return null==w&&(w="#"),w.length>0?w.substring(1):w}prepareExternalUrl(p){const w=le(this._baseHref,p);return w.length>0?"#"+w:w}pushState(p,w,S,V){let K=this.prepareExternalUrl(S+ue(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.pushState(p,w,K)}replaceState(p,w,S,V){let K=this.prepareExternalUrl(S+ue(V));0==K.length&&(K=this._platformLocation.pathname),this._platformLocation.replaceState(p,w,K)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}}return h.\u0275fac=function(p){return new(p||h)(y.LFG(xe),y.LFG(Ke,8))},h.\u0275prov=y.Yz7({token:h,factory:h.\u0275fac}),h})(),z=(()=>{class h{constructor(p){this._subject=new y.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=p;const w=this._locationStrategy.getBaseHref();this._baseHref=re(Xe(w)),this._locationStrategy.onPopState(S=>{this._subject.emit({url:this.path(!0),pop:!0,state:S.state,type:S.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(p=!1){return this.normalize(this._locationStrategy.path(p))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(p,w=""){return this.path()==this.normalize(p+ue(w))}normalize(p){return h.stripTrailingSlash(function Ie(h,v){return h&&v.startsWith(h)?v.substring(h.length):v}(this._baseHref,Xe(p)))}prepareExternalUrl(p){return p&&"/"!==p[0]&&(p="/"+p),this._locationStrategy.prepareExternalUrl(p)}go(p,w="",S=null){this._locationStrategy.pushState(S,"",p,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+ue(w)),S)}replaceState(p,w="",S=null){this._locationStrategy.replaceState(S,"",p,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+ue(w)),S)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(p=0){this._locationStrategy.historyGo?.(p)}onUrlChange(p){return this._urlChangeListeners.push(p),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(w=>{this._notifyUrlChangeListeners(w.url,w.state)})),()=>{const w=this._urlChangeListeners.indexOf(p);this._urlChangeListeners.splice(w,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(p="",w){this._urlChangeListeners.forEach(S=>S(p,w))}subscribe(p,w,S){return this._subject.subscribe({next:p,error:w,complete:S})}}return h.normalizeQueryParams=ue,h.joinWithSlash=le,h.stripTrailingSlash=re,h.\u0275fac=function(p){return new(p||h)(y.LFG(Be))},h.\u0275prov=y.Yz7({token:h,factory:function(){return function W(){return new z((0,y.LFG)(Be))}()},providedIn:"root"}),h})();function Xe(h){return h.replace(/\/index.html$/,"")}function Gn(h,v){v=encodeURIComponent(v);for(const p of h.split(";")){const w=p.indexOf("="),[S,V]=-1==w?[p,""]:[p.slice(0,w),p.slice(w+1)];if(S.trim()===v)return decodeURIComponent(V)}return null}let ln=(()=>{class h{constructor(p,w,S,V){this._iterableDiffers=p,this._keyValueDiffers=w,this._ngEl=S,this._renderer=V,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(p){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof p?p.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(p){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof p?p.split(/\s+/):p,this._rawClass&&((0,y.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const p=this._iterableDiffer.diff(this._rawClass);p&&this._applyIterableChanges(p)}else if(this._keyValueDiffer){const p=this._keyValueDiffer.diff(this._rawClass);p&&this._applyKeyValueChanges(p)}}_applyKeyValueChanges(p){p.forEachAddedItem(w=>this._toggleClass(w.key,w.currentValue)),p.forEachChangedItem(w=>this._toggleClass(w.key,w.currentValue)),p.forEachRemovedItem(w=>{w.previousValue&&this._toggleClass(w.key,!1)})}_applyIterableChanges(p){p.forEachAddedItem(w=>{if("string"!=typeof w.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,y.AaK)(w.item)}`);this._toggleClass(w.item,!0)}),p.forEachRemovedItem(w=>this._toggleClass(w.item,!1))}_applyClasses(p){p&&(Array.isArray(p)||p instanceof Set?p.forEach(w=>this._toggleClass(w,!0)):Object.keys(p).forEach(w=>this._toggleClass(w,!!p[w])))}_removeClasses(p){p&&(Array.isArray(p)||p instanceof Set?p.forEach(w=>this._toggleClass(w,!1)):Object.keys(p).forEach(w=>this._toggleClass(w,!1)))}_toggleClass(p,w){(p=p.trim())&&p.split(/\s+/g).forEach(S=>{w?this._renderer.addClass(this._ngEl.nativeElement,S):this._renderer.removeClass(this._ngEl.nativeElement,S)})}}return h.\u0275fac=function(p){return new(p||h)(y.Y36(y.ZZ4),y.Y36(y.aQg),y.Y36(y.SBq),y.Y36(y.Qsj))},h.\u0275dir=y.lG2({type:h,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),h})(),xr=(()=>{class h{constructor(p,w,S){this._ngEl=p,this._differs=w,this._renderer=S,this._ngStyle=null,this._differ=null}set ngStyle(p){this._ngStyle=p,!this._differ&&p&&(this._differ=this._differs.find(p).create())}ngDoCheck(){if(this._differ){const p=this._differ.diff(this._ngStyle);p&&this._applyChanges(p)}}_setStyle(p,w){const[S,V]=p.split("."),K=-1===S.indexOf("-")?void 0:y.JOm.DashCase;null!=w?this._renderer.setStyle(this._ngEl.nativeElement,S,V?`${w}${V}`:w,K):this._renderer.removeStyle(this._ngEl.nativeElement,S,K)}_applyChanges(p){p.forEachRemovedItem(w=>this._setStyle(w.key,null)),p.forEachAddedItem(w=>this._setStyle(w.key,w.currentValue)),p.forEachChangedItem(w=>this._setStyle(w.key,w.currentValue))}}return h.\u0275fac=function(p){return new(p||h)(y.Y36(y.SBq),y.Y36(y.aQg),y.Y36(y.Qsj))},h.\u0275dir=y.lG2({type:h,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),h})(),_n=(()=>{class h{}return h.\u0275fac=function(p){return new(p||h)},h.\u0275mod=y.oAB({type:h}),h.\u0275inj=y.cJS({}),h})();const Wn="browser";function En(h){return h===Wn}function oi(h){return"server"===h}let Nr=(()=>{class h{}return h.\u0275prov=(0,y.Yz7)({token:h,providedIn:"root",factory:()=>new ii((0,y.LFG)(ae),window)}),h})();class ii{constructor(v,p){this.document=v,this.window=p,this.offset=()=>[0,0]}setOffset(v){this.offset=Array.isArray(v)?()=>v:v}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(v){this.supportsScrolling()&&this.window.scrollTo(v[0],v[1])}scrollToAnchor(v){if(!this.supportsScrolling())return;const p=function pt(h,v){const p=h.getElementById(v)||h.getElementsByName(v)[0];if(p)return p;if("function"==typeof h.createTreeWalker&&h.body&&(h.body.createShadowRoot||h.body.attachShadow)){const w=h.createTreeWalker(h.body,NodeFilter.SHOW_ELEMENT);let S=w.currentNode;for(;S;){const V=S.shadowRoot;if(V){const K=V.getElementById(v)||V.querySelector(`[name="${v}"]`);if(K)return K}S=w.nextNode()}}return null}(this.document,v);p&&(this.scrollToElement(p),p.focus())}setHistoryScrollRestoration(v){if(this.supportScrollRestoration()){const p=this.window.history;p&&p.scrollRestoration&&(p.scrollRestoration=v)}}scrollToElement(v){const p=v.getBoundingClientRect(),w=p.left+this.window.pageXOffset,S=p.top+this.window.pageYOffset,V=this.offset();this.window.scrollTo(w-V[0],S-V[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const v=So(this.window.history)||So(Object.getPrototypeOf(this.window.history));return!(!v||!v.writable&&!v.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function So(h){return Object.getOwnPropertyDescriptor(h,"scrollRestoration")}class to{}},571:(Le,ne,T)=>{T.d(ne,{tb:()=>Sg,AFp:()=>Ig,ip1:()=>Eg,CZH:()=>iu,hGG:()=>C0,z2F:()=>au,sBO:()=>r0,Sil:()=>j_,_Vd:()=>Ss,EJc:()=>L_,Xts:()=>ju,SBq:()=>Ts,lqb:()=>zo,qLn:()=>As,vpe:()=>Dr,XFs:()=>Te,OlP:()=>at,zs3:()=>Yo,ZZ4:()=>Rc,aQg:()=>xc,soG:()=>su,YKP:()=>Np,h0i:()=>zi,PXZ:()=>Q_,R0b:()=>Ln,FiY:()=>ws,Lbi:()=>O_,g9A:()=>Mg,Qsj:()=>ay,FYo:()=>Ed,JOm:()=>pr,q3G:()=>Pt,tp0:()=>_s,Rgc:()=>zs,dDg:()=>Y_,eoX:()=>Ng,GfV:()=>Id,s_b:()=>nu,ifc:()=>Ot,MMx:()=>ic,Lck:()=>Ew,eFA:()=>kg,G48:()=>n0,f3M:()=>Cs,_c5:()=>D0,c2e:()=>N_,zSh:()=>$u,wAp:()=>Re,vHH:()=>he,lri:()=>Pg,rWj:()=>Og,EiD:()=>cd,mCW:()=>Aa,qzn:()=>Ii,JVY:()=>bm,pB0:()=>Am,eBb:()=>Sm,L6k:()=>Mm,LAX:()=>Tm,D6c:()=>w0,cg1:()=>Ql,kL8:()=>sp,dqk:()=>Ye,Z0I:()=>on,sIi:()=>Fs,CqO:()=>uh,QGY:()=>Wl,QP$:()=>R,F4k:()=>ah,RDi:()=>mm,AaK:()=>q,z3N:()=>Vr,qOj:()=>jl,TTD:()=>Pr,jDz:()=>Lp,uIk:()=>$l,Suo:()=>eg,Xpm:()=>Tn,lG2:()=>Mr,Yz7:()=>Je,cJS:()=>wr,oAB:()=>un,Yjl:()=>Kt,Y36:()=>Ri,_UZ:()=>Hl,qZA:()=>qa,TgZ:()=>Ka,n5z:()=>jo,LFG:()=>ct,$8M:()=>gs,$Z:()=>Df,NdJ:()=>Yl,CRH:()=>tg,Hsn:()=>ph,F$t:()=>hh,iGM:()=>Jp,LSH:()=>ku,_uU:()=>Bh});var y=T(579),M=T(727),B=T(751),Y=T(451),X=T(421),ye=T(930),ae=T(482);function J(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ye.Hp({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function H(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function $e(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=$({__forward_ref__:$});function re(e){return e.__forward_ref__=re,e.toString=function(){return q(this())},e}function ue(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===re}class he extends Error{constructor(t,n){super(function gt(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function z(e){return"string"==typeof e?e:null==e?"":String(e)}function ce(e,t){throw new he(-201,!1)}function ke(e,t){null==e&&function be(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wr(e){return{providers:e.providers||[],imports:e.imports||[]}}function tr(e){return Wt(e,_t)||Wt(e,_r)}function on(e){return null!==tr(e)}function Wt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wr(e){return e&&(e.hasOwnProperty(an)||e.hasOwnProperty(Jo))?e[an]:null}const _t=$({\u0275prov:$}),an=$({\u0275inj:$}),_r=$({ngInjectableDef:$}),Jo=$({ngInjectorDef:$});var Te=(()=>((Te=Te||{})[Te.Default=0]="Default",Te[Te.Host=1]="Host",Te[Te.Self=2]="Self",Te[Te.SkipSelf=4]="SkipSelf",Te[Te.Optional=8]="Optional",Te))();let nr;function Ee(e){const t=nr;return nr=e,t}function ot(e,t,n){const r=tr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Te.Optional?null:void 0!==t?t:void ce(q(e))}function _e(e){return{toString:e}.toString()}var Ut=(()=>((Ut=Ut||{})[Ut.OnPush=0]="OnPush",Ut[Ut.Default=1]="Default",Ut))(),Ot=(()=>{return(e=Ot||(Ot={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ot;var e})();const Ye=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),dt={},me=[],jn=$({\u0275cmp:$}),Sn=$({\u0275dir:$}),Yr=$({\u0275pipe:$}),Bn=$({\u0275mod:$}),Yt=$({\u0275fac:$}),Vn=$({__NG_ELEMENT_ID__:$});let Ir=0;function Tn(e){return _e(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ut.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||me,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,id:"c"+Ir++,styles:e.styles||me,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,a=e.features;return o.inputs=Un(e.inputs,r),o.outputs=Un(e.outputs),a&&a.forEach(c=>c(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Kr).filter($n):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(x).filter($n):null,o})}function Kr(e){return qe(e)||St(e)}function $n(e){return null!==e}function un(e){return _e(()=>({type:e.type,bootstrap:e.bootstrap||me,declarations:e.declarations||me,imports:e.imports||me,exports:e.exports||me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Un(e,t){if(null==e)return dt;const n={};for(const 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}const Mr=Tn;function Kt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function qe(e){return e[jn]||null}function St(e){return e[Sn]||null}function x(e){return e[Yr]||null}function R(e){const t=qe(e)||St(e)||x(e);return null!==t&&t.standalone}function I(e,t){const n=e[Bn]||null;if(!n&&!0===t)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}function It(e){return Array.isArray(e)&&"object"==typeof e[1]}function fn(e){return Array.isArray(e)&&!0===e[1]}function Qr(e){return 0!=(8&e.flags)}function Rr(e){return 2==(2&e.flags)}function xr(e){return 1==(1&e.flags)}function $t(e){return null!==e.template}function Xr(e){return 0!=(256&e[2])}function wn(e,t){return e.hasOwnProperty(Yt)?e[Yt]:null}class eo{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Pr(){return Io}function Io(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wn),_n}function _n(){const e=Mo(this),t=e?.current;if(t){const n=e.previous;if(n===dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Wn(e,t,n,r){const o=Mo(e)||function es(e,t){return e[bo]=t}(e,{previous:dt,current:null}),i=o.current||(o.current={}),a=o.previous,c=this.declaredInputs[n],f=a[c];i[c]=new eo(f&&f.currentValue,t,a===dt),e[r]=t}Pr.ngInherit=!0;const bo="__ngSimpleChanges__";function Mo(e){return e[bo]||null}function pt(e){for(;Array.isArray(e);)e=e[0];return e}function nt(e,t){return pt(t[e.index])}function sr(e,t){return e.data[t]}function kt(e,t){const n=t[e];return It(n)?n:n[0]}function no(e){return 64==(64&e[2])}function pn(e,t){return null==t?null:e[t]}function Ao(e){e[18]=0}function Ro(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Ne={lFrame:p(null),bindingsEnabled:!0};function ns(){return Ne.bindingsEnabled}function Z(){return Ne.lFrame.lView}function We(){return Ne.lFrame.tView}function bt(){let e=Fr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fr(){return Ne.lFrame.currentTNode}function gn(e,t){const n=Ne.lFrame;n.currentTNode=e,n.isParent=t}function so(){return Ne.lFrame.isParent}function xn(){Ne.lFrame.isParent=!1}function sa(e,t){const n=Ne.lFrame;n.bindingIndex=n.bindingRootIndex=e,xo(t)}function xo(e){Ne.lFrame.currentDirectiveIndex=e}function ss(){return Ne.lFrame.currentQueryIndex}function uo(e){Ne.lFrame.currentQueryIndex=e}function Po(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function cr(e,t,n){if(n&Te.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Te.Host||(o=Po(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Ne.lFrame=v();return r.currentTNode=t,r.lView=e,!0}function h(e){const t=v(),n=e[1];Ne.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function v(){const e=Ne.lFrame,t=null===e?null:e.child;return null===t?p(e):t}function p(e){const 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 null!==e&&(e.child=t),t}function w(){const e=Ne.lFrame;return Ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const S=w;function V(){const e=w();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 Ge(e){Ne.lFrame.selectedIndex=e}function yn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[18]+=65536),(c>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(c)}finally{}}}else try{i.call(c)}finally{}}class co{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function hi(e,t,n){let r=0;for(;rt){a=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let gi=!0;function Fo(e){const t=gi;return gi=e,t}let gu=0;const Nn={};function Lo(e,t){const n=fs(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ds(r.data,e),ds(t,null),ds(r.blueprint,null));const o=ko(e,t),i=e.injectorIndex;if(da(o)){const a=fo(o),c=ho(o,t),f=c[1].data;for(let m=0;m<8;m++)t[i+m]=c[a+m]|f[a+m]}return t[i+8]=o,i}function ds(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ko(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=ya(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function po(e,t,n){!function mu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vn)&&(r=n[Vn]),null==r&&(r=n[Vn]=gu++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Du:t}(n);if("function"==typeof i){if(!cr(t,e,r))return r&Te.Host?hs(o,0,r):yu(t,n,r,o);try{const a=i(r);if(null!=a||r&Te.Optional)return a;ce()}finally{S()}}else if("number"==typeof i){let a=null,c=fs(e,t),f=-1,m=r&Te.Host?t[16][6]:null;for((-1===c||r&Te.SkipSelf)&&(f=-1===c?ko(e,t):t[c+8],-1!==f&&vi(r,!1)?(a=t[1],c=fo(f),t=ho(f,t)):c=-1);-1!==c;){const C=t[1];if(yi(i,c,C.data)){const _=vu(c,t,n,a,r,m);if(_!==Nn)return _}f=t[c+8],-1!==f&&vi(r,t[1].data[c+8]===m)&&yi(i,c,t)?(a=C,c=fo(f),t=ho(f,t)):c=-1}}return o}function vu(e,t,n,r,o,i){const a=t[1],c=a.data[e+8],C=mi(c,a,n,null==r?Rr(c)&&gi:r!=a&&0!=(3&c.type),o&Te.Host&&i===c);return null!==C?fr(t,a,C,c):Nn}function mi(e,t,n,r,o){const i=e.providerIndexes,a=t.data,c=1048575&i,f=e.directiveStart,C=i>>20,A=o?c+C:e.directiveEnd;for(let N=r?c:c+C;N=f&&U.type===n)return N}if(o){const N=a[f];if(N&&$t(N)&&N.type===n)return f}return null}function fr(e,t,n,r){let o=e[n];const i=t.data;if(function Oo(e){return e instanceof co}(o)){const a=o;a.resolving&&function Ie(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new he(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():z(e)}(i[n]));const c=Fo(a.canSeeViewProviders);a.resolving=!0;const f=a.injectImpl?Ee(a.injectImpl):null;cr(e,r,Te.Default);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function mn(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const a=Io(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==f&&Ee(f),Fo(c),a.resolving=!1,S()}}return o}function yi(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Yt]||ps(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Yt]||ps(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ps(e){return Be(e)?()=>{const t=ps(ue(e));return t&&t()}:wn(e)}function ya(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function gs(e){return function ha(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function Di(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const a=new o(...i);return c.annotation=a,c;function c(f,m,C){const _=f.hasOwnProperty(jr)?f[jr]:Object.defineProperty(f,jr,{value:[]})[jr];for(;_.length<=C;)_.push(null);return(_[C]=_[C]||[]).push(a),f}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class at{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Jt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Kn(n,t):t(n))}function wa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $o(e,t){const n=[];for(let r=0;re,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sa}()?.createHTML(e)||e}class Ho{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Dm extends Ho{getTypeName(){return"HTML"}}class Cm extends Ho{getTypeName(){return"Style"}}class wm extends Ho{getTypeName(){return"Script"}}class _m extends Ho{getTypeName(){return"URL"}}class Em extends Ho{getTypeName(){return"ResourceURL"}}function Vr(e){return e instanceof Ho?e.changingThisBreaksApplicationSecurity:e}function Ii(e,t){const n=function Im(e){return e instanceof Ho&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function bm(e){return new Dm(e)}function Mm(e){return new Cm(e)}function Sm(e){return new wm(e)}function Tm(e){return new _m(e)}function Am(e){return new Em(e)}class Rm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Ei(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class xm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ei(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ei(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();Nu.hasOwnProperty(n)&&!id.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ld(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Lm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,km=/([^\#-~ |!])/g;function ld(e){return e.replace(/&/g,"&").replace(Lm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(km,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ra;function cd(e,t){let n=null;try{Ra=Ra||function od(e){const t=new xm(e);return function Pm(){try{return!!(new window.DOMParser).parseFromString(Ei(""),"text/html")}catch{return!1}}()?new Rm(t):t}(e);let r=t?String(t):"";n=Ra.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ra.getInertBodyElement(r)}while(r!==i);return Ei((new Fm).sanitizeChildren(Lu(n)||n))}finally{if(n){const r=Lu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lu(e){return"content"in e&&function jm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Pt=(()=>((Pt=Pt||{})[Pt.NONE=0]="NONE",Pt[Pt.HTML=1]="HTML",Pt[Pt.STYLE=2]="STYLE",Pt[Pt.SCRIPT=3]="SCRIPT",Pt[Pt.URL=4]="URL",Pt[Pt.RESOURCE_URL=5]="RESOURCE_URL",Pt))();function ku(e){const t=function Ms(){const e=Z();return e&&e[12]}();return t?t.sanitize(Pt.URL,e)||"":Ii(e,"URL")?Vr(e):Aa(z(e))}const ju=new at("ENVIRONMENT_INITIALIZER"),fd=new at("INJECTOR",-1),hd=new at("INJECTOR_DEF_TYPES");class pd{get(t,n=D){if(n===D){const r=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw r.name="NullInjectorError",r}return n}}function Wm(...e){return{\u0275providers:gd(0,e)}}function gd(e,...t){const n=[],r=new Set;let o;return Kn(t,i=>{const a=i;Bu(a,n,[],r)&&(o||(o=[]),o.push(a))}),void 0!==o&&md(o,n),n}function md(e,t){for(let n=0;n{t.push(i)})}}function Bu(e,t,n,r){if(!(e=ue(e)))return!1;let o=null,i=Wr(e);const a=!i&&qe(e);if(i||a){if(a&&!a.standalone)return!1;o=e}else{const f=e.ngModule;if(i=Wr(f),!i)return!1;o=f}const c=r.has(o);if(a){if(c)return!1;if(r.add(o),a.dependencies){const f="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const m of f)Bu(m,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let m;r.add(o);try{Kn(i.imports,C=>{Bu(C,t,n,r)&&(m||(m=[]),m.push(C))})}finally{}void 0!==m&&md(m,t)}if(!c){const m=wn(o)||(()=>new o);t.push({provide:o,useFactory:m,deps:me},{provide:hd,useValue:o,multi:!0},{provide:ju,useValue:()=>ct(o),multi:!0})}const f=i.providers;null==f||c||Kn(f,C=>{t.push(C)})}}return o!==e&&void 0!==e.providers}const Ym=$({provide:String,useValue:$});function Vu(e){return null!==e&&"object"==typeof e&&Ym in e}function Go(e){return"function"==typeof e}const $u=new at("Set Injector scope."),xa={},qm={};let Uu;function Pa(){return void 0===Uu&&(Uu=new pd),Uu}class zo{}class Dd extends zo{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,Gu(t,a=>this.processProvider(a)),this.records.set(fd,bi(void 0,this)),o.has("environment")&&this.records.set(zo,bi(void 0,this));const i=this.records.get($u);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(hd.multi,me,Te.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xt(this),r=Ee(void 0);try{return t()}finally{xt(n),Ee(r)}}get(t,n=D,r=Te.Default){this.assertNotDestroyed();const o=xt(this),i=Ee(void 0);try{if(!(r&Te.SkipSelf)){let c=this.records.get(t);if(void 0===c){const f=function ey(e){return"function"==typeof e||"object"==typeof e&&e instanceof at}(t)&&tr(t);c=f&&this.injectableDefInScope(f)?bi(Hu(t),xa):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&Te.Self?Pa():this.parent).get(t,n=r&Te.Optional&&n===D?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[b]=a[b]||[]).unshift(q(t)),o)throw a;return function im(e,t,n,r){const o=e[b];throw t[de]&&o.unshift(t[de]),e.message=function sm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=q(t);if(Array.isArray(t))o=t.map(q).join(" -> ");else if("object"==typeof t){let i=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];i.push(a+":"+("string"==typeof c?JSON.stringify(c):q(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ie,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[b]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ee(i),xt(o)}}resolveInjectorInitializers(){const t=xt(this),n=Ee(void 0);try{const r=this.get(ju.multi,me,Te.Self);for(const o of r)o()}finally{xt(t),Ee(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new he(205,!1)}processProvider(t){let n=Go(t=ue(t))?t:ue(t&&t.provide);const r=function Qm(e){return Vu(e)?bi(void 0,e.useValue):bi(function Cd(e,t,n){let r;if(Go(e)){const o=ue(e);return wn(o)||Hu(o)}if(Vu(e))r=()=>ue(e.useValue);else if(function vd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Br(e.deps||[]));else if(function yd(e){return!(!e||!e.useExisting)}(e))r=()=>ct(ue(e.useExisting));else{const o=ue(e&&(e.useClass||e.provide));if(!function Xm(e){return!!e.deps}(e))return wn(o)||Hu(o);r=()=>new o(...Br(e.deps))}return r}(e),xa)}(t);if(Go(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=bi(void 0,xa,!0),o.factory=()=>Br(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===xa&&(n.value=qm,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Jm(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Hu(e){const t=tr(e),n=null!==t?t.factory:wn(e);if(null!==n)return n;if(e instanceof at)throw new he(204,!1);if(e instanceof Function)return function Zm(e){const t=e.length;if(t>0)throw $o(t,"?"),new he(204,!1);const n=function wt(e){const t=e&&(e[_t]||e[_r]);if(t){const n=function sn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new he(204,!1)}function bi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ty(e){return!!e.\u0275providers}function Gu(e,t){for(const n of e)Array.isArray(n)?Gu(n,t):ty(n)?Gu(n.\u0275providers,t):t(n)}class wd{}class oy{resolveComponentFactory(t){throw function ry(e){const t=Error(`No component factory found for ${q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ss=(()=>{class e{}return e.NULL=new oy,e})();function iy(){return Mi(bt(),Z())}function Mi(e,t){return new Ts(nt(e,t))}let Ts=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=iy,e})();function sy(e){return e instanceof Ts?e.nativeElement:e}class Ed{}let ay=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function uy(){const e=Z(),n=kt(bt().index,e);return(It(n)?n:e)[11]}(),e})(),ly=(()=>{class e{}return e.\u0275prov=Je({token:e,providedIn:"root",factory:()=>null}),e})();class Id{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cy=new Id("14.2.10"),zu={};function Zu(e){return e.ngOriginalError}class As{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Zu(t);for(;n&&Zu(n);)n=Zu(n);return n||null}}const Qu=new Map;let _y=0;const Ju="__ngContext__";function Gt(e,t){It(t)?(e[Ju]=t[20],function Iy(e){Qu.set(e[20],e)}(t)):e[Ju]=t}function Ur(e){return e instanceof Function?e():e}var pr=(()=>((pr=pr||{})[pr.Important=1]="Important",pr[pr.DashCase=2]="DashCase",pr))();function tl(e,t){return undefined(e,t)}function xs(e){const t=e[3];return fn(t)?t[3]:t}function nl(e){return jd(e[13])}function rl(e){return jd(e[4])}function jd(e){for(;null!==e&&!fn(e);)e=e[4];return e}function Ti(e,t,n,r,o){if(null!=r){let i,a=!1;fn(r)?i=r:It(r)&&(a=!0,r=r[0]);const c=pt(r);0===e&&null!==n?null==o?Gd(t,n,c):Wo(t,n,c,o||null,!0):1===e&&null!==n?Wo(t,n,c,o||null,!0):2===e?function Qd(e,t,n){const r=Oa(e,t);r&&function Qy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,a):3===e&&t.destroyNode(c),null!=i&&function ev(e,t,n,r,o){const i=n[7];i!==pt(n)&&Ti(t,e,r,i,o);for(let c=10;c0&&(e[n-1][4]=r[4]);const i=Vo(e,10+t);!function Hy(e,t){Ps(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function $d(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ps(e,t,n,3,null,null),function Wy(e){let t=e[13];if(!t)return al(e[1],e);for(;t;){let n=null;if(It(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)It(t)&&al(t[1],t),t=t[3];null===t&&(t=e),It(t)&&al(t[1],t),n=t&&t[4]}t=n}}(t)}}function al(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Zy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=m]():r[o=-m].unsubscribe(),i+=2}else{const a=r[o=n[i+1]];n[i].call(a)}if(null!==r){for(let i=o+1;ii?"":o[_+1].toLowerCase();const N=8&r?A:null;if(N&&-1!==ef(N,m,0)||2&r&&m!==A){if(Zn(r))return!1;a=!0}}}}else{if(!a&&!Zn(r)&&!Zn(f))return!1;if(a&&Zn(f))continue;a=!1,r=f|1&r}}return Zn(r)||a}function Zn(e){return 0==(1&e)}function iv(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""!==o&&!Zn(a)&&(t+=sf(i,o),o=""),r=a,i=i||!Zn(r);n++}return""!==o&&(t+=sf(i,o)),t}const Ue={};function df(e,t=null,n=null,r){const o=ff(e,t,n,r);return o.resolveInjectorInitializers(),o}function ff(e,t=null,n=null,r,o=new Set){const i=[n||me,Wm(e)];return r=r||("object"==typeof e?void 0:q(e)),new Dd(i,t||Pa(),r||null,o)}let Yo=(()=>{class e{static create(n,r){if(Array.isArray(n))return df({name:""},r,n,"");{const o=n.name??"";return df({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=D,e.NULL=new pd,e.\u0275prov=Je({token:e,providedIn:"any",factory:()=>ct(fd)}),e.__NG_ELEMENT_ID__=-1,e})();function Ri(e,t=Te.Default){const n=Z();return null===n?ct(e,t):pa(bt(),n,ue(e),t)}function Df(){throw new Error("invalid")}function Rf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&function af(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Xt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&vn(t,i,0,n)}Ge(n)}(e,t,22,!1),n(r,o)}finally{Ge(i)}}function Of(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Rl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Rl(e,t,n,r,o,i,a,c,f,m){const C=22+r,_=C+o,A=function zv(e,t){const n=[];for(let r=0;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=f&&c.push(f),c.push(r,o,a)}}function Bf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Vf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function nD(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Ol(n)}}function Ol(e){for(let r=nl(e);null!==r;r=rl(r))for(let o=10;o0&&Ol(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Ol(o)}}function lD(e,t){const n=kt(t,e),r=n[1];(function cD(e,t){for(let n=t.length;n-1&&(sl(t,r),Vo(n,r))}this._attachedToViewContainer=!1}$d(this._lView[1],this._lView)}onDestroy(t){Nf(this._lView[1],this._lView,null,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ha(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new he(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zy(e,t){Ps(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new he(902,!1);this._appRef=t}}class dD extends Os{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ha(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class kl extends Ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=qe(t);return new Ns(n,this.ngModule)}}function Kf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class hD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,zu,r);return o!==zu||n===zu?o:this.parentInjector.get(t,n,r)}}class Ns extends wd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function dv(e){return e.map(cv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Kf(this.componentDef.inputs)}get outputs(){return Kf(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof zo?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const a=i?new hD(t,i):t,c=a.get(Ed,null);if(null===c)throw new he(407,!1);const f=a.get(ly,null),m=c.createRenderer(null,this.componentDef),C=this.componentDef.selectors[0][0]||"div",_=r?function Wv(e,t,n){return e.selectRootElement(t,n===Ot.ShadowDom)}(m,r,this.componentDef.encapsulation):il(m,C,function fD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(C)),A=this.componentDef.onPush?288:272,N=Rl(0,null,null,1,0,null,null,null,null,null),U=Va(null,N,null,A,null,null,c,m,f,a,null);let ee,se;h(U);try{const ge=function mD(e,t,n,r,o,i){const a=n[1];n[22]=e;const f=xi(a,22,2,"#host",null),m=f.mergedAttrs=t.hostAttrs;null!==m&&(Ga(f,m,!0),null!==e&&(hi(o,e,m),null!==f.classes&&dl(o,e,f.classes),null!==f.styles&&Jd(o,e,f.styles)));const C=r.createRenderer(e,t),_=Va(n,Of(t),null,t.onPush?32:16,n[22],f,r,C,i||null,null,null);return a.firstCreatePass&&(po(Lo(f,n),a,t.type),Vf(a,f),$f(f,n.length,1)),Ua(n,_),n[22]=_}(_,this.componentDef,U,c,m);if(_)if(r)hi(m,_,["ng-version",cy.full]);else{const{attrs:we,classes:Q}=function fv(e){const t=[],n=[];let r=1,o=2;for(;r0&&dl(m,_,Q.join(" "))}if(se=sr(N,22),void 0!==n){const we=se.projection=[];for(let Q=0;Q=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=pi(o.hostAttrs,n=pi(n,o.hostAttrs))}}(r)}function Bl(e){return e===dt?{}:e===me?[]:e}function CD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function wD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function _D(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Wa=null;function Ko(){if(!Wa){const e=Ye.Symbol;if(e&&e.iterator)Wa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nc(pt(rt[r.index])):r.index;let Oe=null;if(!c&&f&&(Oe=function kD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;if?c[f]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==Oe)(Oe.__ngLastListenerFn__||Oe).__ngNextListenerFn__=i,Oe.__ngLastListenerFn__=i,N=!1;else{i=fh(r,t,_,i,!1);const rt=n.listen(ge,o,i);A.push(i,rt),C&&C.push(o,Q,we,we+1)}}else i=fh(r,t,_,i,!1);const U=r.outputs;let ee;if(N&&null!==U&&(ee=U[o])){const se=ee.length;if(se)for(let ge=0;ge((Re=Re||{})[Re.LocaleId=0]="LocaleId",Re[Re.DayPeriodsFormat=1]="DayPeriodsFormat",Re[Re.DayPeriodsStandalone=2]="DayPeriodsStandalone",Re[Re.DaysFormat=3]="DaysFormat",Re[Re.DaysStandalone=4]="DaysStandalone",Re[Re.MonthsFormat=5]="MonthsFormat",Re[Re.MonthsStandalone=6]="MonthsStandalone",Re[Re.Eras=7]="Eras",Re[Re.FirstDayOfWeek=8]="FirstDayOfWeek",Re[Re.WeekendRange=9]="WeekendRange",Re[Re.DateFormat=10]="DateFormat",Re[Re.TimeFormat=11]="TimeFormat",Re[Re.DateTimeFormat=12]="DateTimeFormat",Re[Re.NumberSymbols=13]="NumberSymbols",Re[Re.NumberFormats=14]="NumberFormats",Re[Re.CurrencyCode=15]="CurrencyCode",Re[Re.CurrencySymbol=16]="CurrencySymbol",Re[Re.CurrencyName=17]="CurrencyName",Re[Re.Currencies=18]="Currencies",Re[Re.Directionality=19]="Directionality",Re[Re.PluralCase=20]="PluralCase",Re[Re.ExtraData=21]="ExtraData",Re))();const Gi="en-US";let up=Gi;class zi{}class Np{}function Ew(e,t){return new Fp(e,t??null)}class Fp extends zi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kl(this);const r=I(t);this._bootstrapComponents=Ur(r.bootstrap),this._r3Injector=ff(t,n,[{provide:zi,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class oc extends Np{constructor(t){super(),this.moduleType=t}create(t){return new Fp(this.moduleType,t)}}class Iw extends zi{constructor(t,n,r){super(),this.componentFactoryResolver=new kl(this),this.instance=null;const o=new Dd([...t,{provide:zi,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],n||Pa(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ic(e,t,n=null){return new Iw(e,t,n).injector}let bw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=gd(0,n.type),o=r.length>0?ic([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Je({token:e,providedIn:"environment",factory:()=>new e(ct(zo))}),e})();function Lp(e){e.getStandaloneInjector=t=>t.get(bw).getOrCreateStandaloneInjector(e)}function ac(e){return t=>{setTimeout(e,void 0,t)}}const Dr=class Qw extends y.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),a=r;if(t&&"object"==typeof t){const f=t;o=f.next?.bind(f),i=f.error?.bind(f),a=f.complete?.bind(f)}this.__isAsync&&(i=ac(i),o&&(o=ac(o)),a&&(a=ac(a)));const c=super.subscribe({next:o,error:i,complete:a});return t instanceof M.w0&&t.add(c),c}};function Xw(){return this._results[Ko()]()}class uc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Ko(),r=uc.prototype;r[n]||(r[n]=Xw)}get changes(){return this._changes||(this._changes=new Dr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Jt(t);(this._changesDetected=!function vs(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=t_,e})();const Jw=zs,e_=class extends Jw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(o[19]=a.createEmbeddedView(r)),Sl(r,o,t),new Os(o)}};function t_(){return tu(bt(),Z())}function tu(e,t){return 4&e.type?new e_(t,e,Mi(e,t)):null}let nu=(()=>{class e{}return e.__NG_ELEMENT_ID__=n_,e})();function n_(){return Zp(bt(),Z())}const r_=nu,Kp=class extends r_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Mi(this._hostTNode,this._hostLView)}get injector(){return new go(this._hostTNode,this._hostLView)}get parentInjector(){const t=ko(this._hostTNode,this._hostLView);if(da(t)){const n=ho(t,this._hostLView),r=fo(t);return new go(n[1].data[r+8],n)}return new go(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedView(n||{},i);return this.insert(a,o),a}createComponent(t,n,r,o,i){const a=t&&!function yo(e){return"function"==typeof e}(t);let c;if(a)c=n;else{const _=n||{};c=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef}const f=a?t:new Ns(qe(t)),m=r||this.parentInjector;if(!i&&null==f.ngModule){const A=(a?m:this.parentInjector).get(zo,null);A&&(i=A)}const C=f.create(m,o,void 0,i);return this.insert(C.hostView,c),C}insert(t,n){const r=t._lView,o=r[1];if(function ro(e){return fn(e[3])}(r)){const C=this.indexOf(t);if(-1!==C)this.detach(C);else{const _=r[3],A=new Kp(_,_[6],_[3]);A.detach(A.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function Yy(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(a[c/2]);else{const m=i[c+1],C=t[-f];for(let _=10;_{class e{constructor(n){this.appInits=n,this.resolve=ou,this.reject=ou,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:c,error:f})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ct(Eg,8))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ig=new at("AppId",{providedIn:"root",factory:function bg(){return`${Dc()}${Dc()}${Dc()}`}});function Dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Mg=new at("Platform Initializer"),O_=new at("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Sg=new at("appBootstrapListener");let N_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const su=new at("LocaleId",{providedIn:"root",factory:()=>Cs(su,Te.Optional|Te.SkipSelf)||function F_(){return typeof $localize<"u"&&$localize.locale||Gi}()}),L_=new at("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class k_{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let j_=(()=>{class e{compileModuleSync(n){return new oc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Ur(I(n).declarations).reduce((a,c)=>{const f=qe(c);return f&&a.push(new Ns(f)),a},[]);return new k_(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $_=(()=>Promise.resolve(0))();function Cc(e){typeof Zone>"u"?$_.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ln{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Dr(!1),this.onMicrotaskEmpty=new Dr(!1),this.onStable=new Dr(!1),this.onError=new Dr(!1),typeof Zone>"u")throw new he(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}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=function U_(){let e=Ye.requestAnimationFrame,t=Ye.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function z_(e){const t=()=>{!function G_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ye,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_c(e),e.isCheckStableRunning=!0,wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_c(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,a,c)=>{try{return Rg(e),n.invokeTask(o,i,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),xg(e)}},onInvoke:(n,r,o,i,a,c,f)=>{try{return Rg(e),n.invoke(o,i,a,c,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),xg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,_c(e),wc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ln.isInAngularZone())throw new he(909,!1)}static assertNotInAngularZone(){if(Ln.isInAngularZone())throw new he(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+o,t,H_,ou,ou);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const H_={};function wc(e){if(0==e._nesting&&!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 _c(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Rg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xg(e){e._nesting--,wc(e)}class W_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dr,this.onMicrotaskEmpty=new Dr,this.onStable=new Dr,this.onError=new Dr}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)}}const Pg=new at(""),Og=new at("");let Ec,Y_=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ec||(function K_(e){Ec=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.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:()=>{Ln.assertNotInAngularZone(),Cc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Cc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(ct(Ln),ct(Ng),ct(Og))},e.\u0275prov=Je({token:e,factory:e.\u0275fac}),e})(),Ng=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ec?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),wo=null;const Fg=new at("AllowMultipleToken"),Ic=new at("PlatformDestroyListeners");class Q_{constructor(t,n){this.name=t,this.token=n}}function kg(e,t,n=[]){const r=`Platform: ${t}`,o=new at(r);return(i=[])=>{let a=bc();if(!a||a.injector.get(Fg,!1)){const c=[...n,...i,{provide:o,useValue:!0}];e?e(c):function X_(e){if(wo&&!wo.get(Fg,!1))throw new he(400,!1);wo=e;const t=e.get(Bg);(function Lg(e){const t=e.get(Mg,null);t&&t.forEach(n=>n())})(e)}(function jg(e=[],t){return Yo.create({name:t,providers:[{provide:$u,useValue:"platform"},{provide:Ic,useValue:new Set([()=>wo=null])},...e]})}(c,r))}return function e0(e){const t=bc();if(!t)throw new he(401,!1);return t}()}}function bc(){return wo?.get(Bg)??null}let Bg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function $g(e,t){let n;return n="noop"===e?new W_:("zone.js"===e?void 0:e)||new Ln(t),n}(r?.ngZone,function Vg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ln,useValue:o}];return o.run(()=>{const a=Yo.create({providers:i,parent:this.injector,name:n.moduleType.name}),c=n.create(a),f=c.injector.get(As,null);if(!f)throw new he(402,!1);return o.runOutsideAngular(()=>{const m=o.onError.subscribe({next:C=>{f.handleError(C)}});c.onDestroy(()=>{uu(this._modules,c),m.unsubscribe()})}),function Ug(e,t,n){try{const r=n();return Wl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(f,o,()=>{const m=c.injector.get(iu);return m.runInitializers(),m.donePromise.then(()=>(function lp(e){ke(e,"Expected localeId to be defined"),"string"==typeof e&&(up=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(su,Gi)||Gi),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=Hg({},r);return function q_(e,t,n){const r=new oc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(au);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new he(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new he(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ic,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ct(Yo))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Hg(e,t){return Array.isArray(t)?t.reduce(Hg,e):{...e,...t}}let au=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new B.y(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),a=new B.y(c=>{let f;this._zone.runOutsideAngular(()=>{f=this._zone.onStable.subscribe(()=>{Ln.assertNotInAngularZone(),Cc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{Ln.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{f.unsubscribe(),m.unsubscribe()}});this.isStable=(0,Y.T)(i,a.pipe(function xe(e={}){const{connector:t=(()=>new y.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let a,c,f,m=0,C=!1,_=!1;const A=()=>{c?.unsubscribe(),c=void 0},N=()=>{A(),a=f=void 0,C=_=!1},U=()=>{const ee=a;N(),ee?.unsubscribe()};return(0,ae.e)((ee,se)=>{m++,!_&&!C&&A();const ge=f=f??t();se.add(()=>{m--,0===m&&!_&&!C&&(c=J(U,o))}),ge.subscribe(se),!a&&m>0&&(a=new ye.Hp({next:we=>ge.next(we),error:we=>{_=!0,A(),c=J(N,n,we),ge.error(we)},complete:()=>{C=!0,A(),c=J(N,r),ge.complete()}}),(0,X.Xf)(ee).subscribe(a))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof wd;if(!this._injector.get(iu).done)throw!o&&R(n),new he(405,false);let a;a=o?n:this._injector.get(Ss).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const c=function Z_(e){return e.isBoundToModule}(a)?void 0:this._injector.get(zi),m=a.create(Yo.NULL,[],r||a.selector,c),C=m.location.nativeElement,_=m.injector.get(Pg,null);return _?.registerApplication(C),m.onDestroy(()=>{this.detachView(m.hostView),uu(this.components,m),_?.unregisterApplication(C)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new he(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;uu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sg,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>uu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new he(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ct(Ln),ct(zo),ct(As))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function uu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let zg=!0;function n0(){zg=!1}let r0=(()=>{class e{}return e.__NG_ELEMENT_ID__=o0,e})();function o0(e){return function s0(e,t,n){if(Rr(e)&&!n){const r=kt(e.index,t);return new Os(r,r)}return 47&e.type?new Os(t[16],t):null}(bt(),Z(),16==(16&e))}class Zg{constructor(){}supports(t){return Fs(t)}create(t){return new f0(t)}}const d0=(e,t)=>t;class f0{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||d0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,c,a,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,a,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;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 null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new h0(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?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._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Qg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Qg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(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._nextIdentityChange=t,t}}class h0{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}}class p0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(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;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Qg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new p0,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Xg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const 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)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,a=o._next;return i&&(i._next=a),a&&(a._prev=i),o._next=null,o._prev=null,o}const r=new m0(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;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;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){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?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))}}class m0{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 em(){return new Rc([new Zg])}let Rc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||em()),deps:[[e,new _s,new ws]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new he(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:em}),e})();function tm(){return new xc([new Jg])}let xc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||tm()),deps:[[e,new _s,new ws]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new he(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:tm}),e})();const D0=kg(null,"core",[]);let C0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ct(au))},e.\u0275mod=un({type:e}),e.\u0275inj=wr({}),e})();function w0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},481:(Le,ne,T)=>{T.d(ne,{Dx:()=>Ee,H7:()=>Mr,b2:()=>_r,q6:()=>sn});var y=T(895),M=T(571);class B extends y.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends B{static makeCurrent(){(0,y.HT)(new Y)}onAndCancel(R,I,P){return R.addEventListener(I,P,!1),()=>{R.removeEventListener(I,P,!1)}}dispatchEvent(R,I){R.dispatchEvent(I)}remove(R){R.parentNode&&R.parentNode.removeChild(R)}createElement(R,I){return(I=I||this.getDefaultDocument()).createElement(R)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(R){return R.nodeType===Node.ELEMENT_NODE}isShadowRoot(R){return R instanceof DocumentFragment}getGlobalEventTarget(R,I){return"window"===I?window:"document"===I?R:"body"===I?R.body:null}getBaseHref(R){const I=function ye(){return X=X||document.querySelector("base"),X?X.getAttribute("href"):null}();return null==I?null:function xe(x){ae=ae||document.createElement("a"),ae.setAttribute("href",x);const R=ae.pathname;return"/"===R.charAt(0)?R:`/${R}`}(I)}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}getCookie(R){return(0,y.Mx)(document.cookie,R)}}let ae,X=null;const J=new M.OlP("TRANSITION_ID"),H=[{provide:M.ip1,useFactory:function $(x,R,I){return()=>{I.get(M.CZH).donePromise.then(()=>{const P=(0,y.q)(),O=R.querySelectorAll(`style[ng-transition="${x}"]`);for(let te=0;te{class x{build(){return new XMLHttpRequest}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})();const le=new M.OlP("EventManagerPlugins");let re=(()=>{class x{constructor(I,P){this._zone=P,this._eventNameToPlugin=new Map,I.forEach(O=>O.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,P,O){return this._findPluginFor(P).addEventListener(I,P,O)}addGlobalEventListener(I,P,O){return this._findPluginFor(P).addGlobalEventListener(I,P,O)}getZone(){return this._zone}_findPluginFor(I){const P=this._eventNameToPlugin.get(I);if(P)return P;const O=this._plugins;for(let te=0;te{class x{constructor(){this._stylesSet=new Set}addStyles(I){const P=new Set;I.forEach(O=>{this._stylesSet.has(O)||(this._stylesSet.add(O),P.add(O))}),this.onStylesAdded(P)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})(),Ke=(()=>{class x extends Be{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,P,O){I.forEach(te=>{const ve=this._doc.createElement("style");ve.textContent=te,O.push(P.appendChild(ve))})}addHost(I){const P=[];this._addStylesToHost(this._stylesSet,I,P),this._hostNodes.set(I,P)}removeHost(I){const P=this._hostNodes.get(I);P&&P.forEach(he),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach((P,O)=>{this._addStylesToHost(I,O,P)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(he))}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(y.K0))},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})();function he(x){(0,y.q)().remove(x)}const gt={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/"},z=/%COMP%/g;function F(x,R,I){for(let P=0;P{if("__ngUnwrap__"===R)return x;!1===x(R)&&(R.preventDefault(),R.returnValue=!1)}}let k=(()=>{class x{constructor(I,P,O){this.eventManager=I,this.sharedStylesHost=P,this.appId=O,this.rendererByCompId=new Map,this.defaultRenderer=new fe(I)}createRenderer(I,P){if(!I||!P)return this.defaultRenderer;switch(P.encapsulation){case M.ifc.Emulated:{let O=this.rendererByCompId.get(P.id);return O||(O=new ut(this.eventManager,this.sharedStylesHost,P,this.appId),this.rendererByCompId.set(P.id,O)),O.applyToHost(I),O}case 1:case M.ifc.ShadowDom:return new Ve(this.eventManager,this.sharedStylesHost,I,P);default:if(!this.rendererByCompId.has(P.id)){const O=F(P.id,P.styles,[]);this.sharedStylesHost.addStyles(O),this.rendererByCompId.set(P.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(re),M.LFG(Ke),M.LFG(M.AFp))},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})();class fe{constructor(R){this.eventManager=R,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(R,I){return I?document.createElementNS(gt[I]||I,R):document.createElement(R)}createComment(R){return document.createComment(R)}createText(R){return document.createTextNode(R)}appendChild(R,I){(tt(R)?R.content:R).appendChild(I)}insertBefore(R,I,P){R&&(tt(R)?R.content:R).insertBefore(I,P)}removeChild(R,I){R&&R.removeChild(I)}selectRootElement(R,I){let P="string"==typeof R?document.querySelector(R):R;if(!P)throw new Error(`The selector "${R}" did not match any elements`);return I||(P.textContent=""),P}parentNode(R){return R.parentNode}nextSibling(R){return R.nextSibling}setAttribute(R,I,P,O){if(O){I=O+":"+I;const te=gt[O];te?R.setAttributeNS(te,I,P):R.setAttribute(I,P)}else R.setAttribute(I,P)}removeAttribute(R,I,P){if(P){const O=gt[P];O?R.removeAttributeNS(O,I):R.removeAttribute(`${P}:${I}`)}else R.removeAttribute(I)}addClass(R,I){R.classList.add(I)}removeClass(R,I){R.classList.remove(I)}setStyle(R,I,P,O){O&(M.JOm.DashCase|M.JOm.Important)?R.style.setProperty(I,P,O&M.JOm.Important?"important":""):R.style[I]=P}removeStyle(R,I,P){P&M.JOm.DashCase?R.style.removeProperty(I):R.style[I]=""}setProperty(R,I,P){R[I]=P}setValue(R,I){R.nodeValue=I}listen(R,I,P){return"string"==typeof R?this.eventManager.addGlobalEventListener(R,I,L(P)):this.eventManager.addEventListener(R,I,L(P))}}function tt(x){return"TEMPLATE"===x.tagName&&void 0!==x.content}class ut extends fe{constructor(R,I,P,O){super(R),this.component=P;const te=F(O+"-"+P.id,P.styles,[]);I.addStyles(te),this.contentAttr=function ce(x){return"_ngcontent-%COMP%".replace(z,x)}(O+"-"+P.id),this.hostAttr=function De(x){return"_nghost-%COMP%".replace(z,x)}(O+"-"+P.id)}applyToHost(R){super.setAttribute(R,this.hostAttr,"")}createElement(R,I){const P=super.createElement(R,I);return super.setAttribute(P,this.contentAttr,""),P}}class Ve extends fe{constructor(R,I,P,O){super(R),this.sharedStylesHost=I,this.hostEl=P,this.shadowRoot=P.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const te=F(O.id,O.styles,[]);for(let ve=0;ve{class x extends ue{constructor(I){super(I)}supports(I){return!0}addEventListener(I,P,O){return I.addEventListener(P,O,!1),()=>this.removeEventListener(I,P,O)}removeEventListener(I,P,O){return I.removeEventListener(P,O)}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(y.K0))},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})();const Lt=["alt","control","meta","shift"],ke={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},be={alt:x=>x.altKey,control:x=>x.ctrlKey,meta:x=>x.metaKey,shift:x=>x.shiftKey};let Bt=(()=>{class x extends ue{constructor(I){super(I)}supports(I){return null!=x.parseEventName(I)}addEventListener(I,P,O){const te=x.parseEventName(P),ve=x.eventCallback(te.fullKey,O,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.q)().onAndCancel(I,te.domEventName,ve))}static parseEventName(I){const P=I.toLowerCase().split("."),O=P.shift();if(0===P.length||"keydown"!==O&&"keyup"!==O)return null;const te=x._normalizeKey(P.pop());let ve="",Ze=P.indexOf("code");if(Ze>-1&&(P.splice(Ze,1),ve="code."),Lt.forEach(ht=>{const qt=P.indexOf(ht);qt>-1&&(P.splice(qt,1),ve+=ht+".")}),ve+=te,0!=P.length||0===te.length)return null;const ft={};return ft.domEventName=O,ft.fullKey=ve,ft}static matchEventFullKeyCode(I,P){let O=ke[I.key]||I.key,te="";return P.indexOf("code.")>-1&&(O=I.code,te="code."),!(null==O||!O)&&(O=O.toLowerCase()," "===O?O="space":"."===O&&(O="dot"),Lt.forEach(ve=>{ve!==O&&(0,be[ve])(I)&&(te+=ve+".")}),te+=O,te===P)}static eventCallback(I,P,O){return te=>{x.matchEventFullKeyCode(te,I)&&O.runGuarded(()=>P(te))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(y.K0))},x.\u0275prov=M.Yz7({token:x,factory:x.\u0275fac}),x})();const sn=(0,M.eFA)(M._c5,"browser",[{provide:M.Lbi,useValue:y.bD},{provide:M.g9A,useValue:function tr(){Y.makeCurrent()},multi:!0},{provide:y.K0,useFactory:function Wt(){return(0,M.RDi)(document),document},deps:[]}]),Wr=new M.OlP(""),_t=[{provide:M.rWj,useClass:class q{addToWindow(R){M.dqk.getAngularTestability=(P,O=!0)=>{const te=R.findTestabilityInTree(P,O);if(null==te)throw new Error("Could not find testability for element.");return te},M.dqk.getAllAngularTestabilities=()=>R.getAllTestabilities(),M.dqk.getAllAngularRootElements=()=>R.getAllRootElements(),M.dqk.frameworkStabilizers||(M.dqk.frameworkStabilizers=[]),M.dqk.frameworkStabilizers.push(P=>{const O=M.dqk.getAllAngularTestabilities();let te=O.length,ve=!1;const Ze=function(ft){ve=ve||ft,te--,0==te&&P(ve)};O.forEach(function(ft){ft.whenStable(Ze)})})}findTestabilityInTree(R,I,P){return null==I?null:R.getTestability(I)??(P?(0,y.q)().isShadowRoot(I)?this.findTestabilityInTree(R,I.host,!0):this.findTestabilityInTree(R,I.parentElement,!0):null)}},deps:[]},{provide:M.lri,useClass:M.dDg,deps:[M.R0b,M.eoX,M.rWj]},{provide:M.dDg,useClass:M.dDg,deps:[M.R0b,M.eoX,M.rWj]}],an=[{provide:M.zSh,useValue:"root"},{provide:M.qLn,useFactory:function on(){return new M.qLn},deps:[]},{provide:le,useClass:At,multi:!0,deps:[y.K0,M.R0b,M.Lbi]},{provide:le,useClass:Bt,multi:!0,deps:[y.K0]},{provide:k,useClass:k,deps:[re,Ke,M.AFp]},{provide:M.FYo,useExisting:k},{provide:Be,useExisting:Ke},{provide:Ke,useClass:Ke,deps:[y.K0]},{provide:re,useClass:re,deps:[le,M.R0b]},{provide:y.JF,useClass:$e,deps:[]},[]];let _r=(()=>{class x{constructor(I){}static withServerTransition(I){return{ngModule:x,providers:[{provide:M.AFp,useValue:I.appId},{provide:J,useExisting:M.AFp},H]}}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(Wr,12))},x.\u0275mod=M.oAB({type:x}),x.\u0275inj=M.cJS({providers:[...an,..._t],imports:[y.ez,M.hGG]}),x})(),Ee=(()=>{class x{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(y.K0))},x.\u0275prov=M.Yz7({token:x,factory:function(I){let P=null;return P=I?new I:function kn(){return new Ee((0,M.LFG)(y.K0))}(),P},providedIn:"root"}),x})();typeof window<"u"&&window;let Mr=(()=>{class x{}return x.\u0275fac=function(I){return new(I||x)},x.\u0275prov=M.Yz7({token:x,factory:function(I){let P=null;return P=I?new(I||x):M.LFG(qe),P},providedIn:"root"}),x})(),qe=(()=>{class x extends Mr{constructor(I){super(),this._doc=I}sanitize(I,P){if(null==P)return null;switch(I){case M.q3G.NONE:return P;case M.q3G.HTML:return(0,M.qzn)(P,"HTML")?(0,M.z3N)(P):(0,M.EiD)(this._doc,String(P)).toString();case M.q3G.STYLE:return(0,M.qzn)(P,"Style")?(0,M.z3N)(P):P;case M.q3G.SCRIPT:if((0,M.qzn)(P,"Script"))return(0,M.z3N)(P);throw new Error("unsafe value used in a script context");case M.q3G.URL:return(0,M.qzn)(P,"URL")?(0,M.z3N)(P):(0,M.mCW)(String(P));case M.q3G.RESOURCE_URL:if((0,M.qzn)(P,"ResourceURL"))return(0,M.z3N)(P);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${I} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(I){return(0,M.JVY)(I)}bypassSecurityTrustStyle(I){return(0,M.L6k)(I)}bypassSecurityTrustScript(I){return(0,M.eBb)(I)}bypassSecurityTrustUrl(I){return(0,M.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,M.pB0)(I)}}return x.\u0275fac=function(I){return new(I||x)(M.LFG(y.K0))},x.\u0275prov=M.Yz7({token:x,factory:function(I){let P=null;return P=I?new I:function Kt(x){return new qe(x.get(y.K0))}(M.LFG(M.zs3)),P},providedIn:"root"}),x})()},486:(Le,ne,T)=>{T.d(ne,{yS:()=>ms,Bz:()=>en,lC:()=>Ao});var y=T(571),M=T(76),B=T(646),Y=T(135);const ye=(0,T(888).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var ae=T(751);const{isArray:xe}=Array,{getPrototypeOf:J,prototype:$,keys:H}=Object;var le=T(671),re=T(4);const{isArray:ue}=Array;var he=T(669),z=T(403),W=T(672);function Ie(...u){const l=(0,he.yG)(u),s=(0,he.jO)(u),{args:d,keys:g}=function q(u){if(1===u.length){const l=u[0];if(xe(l))return{args:l,keys:null};if(function $e(u){return u&&"object"==typeof u&&J(u)===$}(l)){const s=H(l);return{args:s.map(d=>l[d]),keys:s}}}return{args:u,keys:null}}(u);if(0===d.length)return(0,M.D)([],l);const D=new ae.y(function Xe(u,l,s=le.y){return d=>{Ce(l,()=>{const{length:g}=u,D=new Array(g);let E=g,b=g;for(let j=0;j{const ie=(0,M.D)(u[j],l);let Pe=!1;ie.subscribe((0,z.x)(d,de=>{D[j]=de,Pe||(Pe=!0,b--),b||d.next(s(D.slice()))},()=>{--E||d.complete()}))},d)},d)}}(d,l,g?E=>function gt(u,l){return u.reduce((s,d,g)=>(s[d]=l[g],s),{})}(g,E):le.y));return s?D.pipe(function Ke(u){return(0,re.U)(l=>function Be(u,l){return ue(l)?u(...l):u(l)}(u,l))}(s)):D}function Ce(u,l,s){u?(0,W.f)(s,u,l):l()}var ce=T(189);function F(...u){return function De(){return(0,ce.J)(1)}()((0,M.D)(u,(0,he.yG)(u)))}var L=T(421);function G(u){return new ae.y(l=>{(0,L.Xf)(u()).subscribe(l)})}var k=T(635),fe=T(576);function oe(u,l){const s=(0,fe.m)(u)?u:()=>u,d=g=>g.error(s());return new ae.y(l?g=>l.schedule(d,0,g):d)}var Ae=T(515),tt=T(727),ut=T(482);function Ve(){return(0,ut.e)((u,l)=>{let s=null;u._refCount++;const d=(0,z.x)(l,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(s=null);const g=u._connection,D=s;s=null,g&&(!D||g===D)&&g.unsubscribe(),l.unsubscribe()});u.subscribe(d),d.closed||(s=u.connect())})}class At extends ae.y{constructor(l,s){super(),this.source=l,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,ut.A)(l)&&(this.lift=l.lift)}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:l}=this;this._subject=this._connection=null,l?.unsubscribe()}connect(){let l=this._connection;if(!l){l=this._connection=new tt.w0;const s=this.getSubject();l.add(this.source.subscribe((0,z.x)(s,void 0,()=>{this._teardown(),s.complete()},d=>{this._teardown(),s.error(d)},()=>this._teardown()))),l.closed&&(this._connection=null,l=tt.w0.EMPTY)}return l}refCount(){return Ve()(this)}}var Lt=T(579),ke=T(895);function be(u,l){return(0,ut.e)((s,d)=>{let g=null,D=0,E=!1;const b=()=>E&&!g&&d.complete();s.subscribe((0,z.x)(d,j=>{g?.unsubscribe();let ie=0;const Pe=D++;(0,L.Xf)(u(j,Pe)).subscribe(g=(0,z.x)(d,de=>d.next(l?l(j,de,Pe,ie++):de),()=>{g=null,b()}))},()=>{E=!0,b()}))})}function Bt(u){return u<=0?()=>Ae.E:(0,ut.e)((l,s)=>{let d=0;l.subscribe((0,z.x)(s,g=>{++d<=u&&(s.next(g),u<=d&&s.complete())}))})}var rn=T(300),Je=T(577);function Cr(u){return(0,ut.e)((l,s)=>{let d=!1;l.subscribe((0,z.x)(s,g=>{d=!0,s.next(g)},()=>{d||s.next(u),s.complete()}))})}function wr(u=tr){return(0,ut.e)((l,s)=>{let d=!1;l.subscribe((0,z.x)(s,g=>{d=!0,s.next(g)},()=>d?s.complete():s.error(u())))})}function tr(){return new ye}function on(u,l){const s=arguments.length>=2;return d=>d.pipe(u?(0,rn.h)((g,D)=>u(g,D,d)):le.y,Bt(1),s?Cr(l):wr(()=>new ye))}var Wt=T(351),wt=T(505);function sn(u){return(0,ut.e)((l,s)=>{let D,d=null,g=!1;d=l.subscribe((0,z.x)(s,void 0,void 0,E=>{D=(0,L.Xf)(u(E,sn(u)(l))),d?(d.unsubscribe(),d=null,D.subscribe(s)):g=!0})),g&&(d.unsubscribe(),d=null,D.subscribe(s))})}function Wr(u,l,s,d,g){return(D,E)=>{let b=s,j=l,ie=0;D.subscribe((0,z.x)(E,Pe=>{const de=ie++;j=b?u(j,Pe,de):(b=!0,Pe),d&&E.next(j)},g&&(()=>{b&&E.next(j),E.complete()})))}}function _t(u,l){return(0,ut.e)(Wr(u,l,arguments.length>=2,!0))}function an(u){return u<=0?()=>Ae.E:(0,ut.e)((l,s)=>{let d=[];l.subscribe((0,z.x)(s,g=>{d.push(g),u{for(const g of d)s.next(g);s.complete()},void 0,()=>{d=null}))})}function _r(u,l){const s=arguments.length>=2;return d=>d.pipe(u?(0,rn.h)((g,D)=>u(g,D,d)):le.y,an(1),s?Cr(l):wr(()=>new ye))}function nr(u){return(0,ut.e)((l,s)=>{try{l.subscribe(s)}finally{s.add(u)}})}var kn=T(481);const Ee="primary",ot=Symbol("RouteTitle");class Me{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s[0]:s}return null}getAll(l){if(this.has(l)){const s=this.params[l];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function _e(u){return new Me(u)}function Ut(u,l,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(l.hasChildren()||d.lengthd[D]===g)}return u===l}function Ye(u){return Array.prototype.concat.apply([],u)}function Er(u){return u.length>0?u[u.length-1]:null}function dt(u,l){for(const s in u)u.hasOwnProperty(s)&&l(u[s],s)}function me(u){return(0,y.CqO)(u)?u:(0,y.QGY)(u)?(0,M.D)(Promise.resolve(u)):(0,B.of)(u)}const Yr={exact:function Ir(u,l,s){if(!Kt(u.segments,l.segments)||!$n(u.segments,l.segments,s)||u.numberOfChildren!==l.numberOfChildren)return!1;for(const d in l.children)if(!u.children[d]||!Ir(u.children[d],l.children[d],s))return!1;return!0},subset:br},Bn={exact:function Vn(u,l){return it(u,l)},subset:function Tn(u,l){return Object.keys(l).length<=Object.keys(u).length&&Object.keys(l).every(s=>Ot(u[s],l[s]))},ignored:()=>!0};function Yt(u,l,s){return Yr[s.paths](u.root,l.root,s.matrixParams)&&Bn[s.queryParams](u.queryParams,l.queryParams)&&!("exact"===s.fragment&&u.fragment!==l.fragment)}function br(u,l,s){return Kr(u,l,l.segments,s)}function Kr(u,l,s,d){if(u.segments.length>s.length){const g=u.segments.slice(0,s.length);return!(!Kt(g,s)||l.hasChildren()||!$n(g,s,d))}if(u.segments.length===s.length){if(!Kt(u.segments,s)||!$n(u.segments,s,d))return!1;for(const g in l.children)if(!u.children[g]||!br(u.children[g],l.children[g],d))return!1;return!0}{const g=s.slice(0,u.segments.length),D=s.slice(u.segments.length);return!!(Kt(u.segments,g)&&$n(u.segments,g,d)&&u.children[Ee])&&Kr(u.children[Ee],l,D,d)}}function $n(u,l,s){return l.every((d,g)=>Bn[s](u[g].parameters,d.parameters))}class un{constructor(l,s,d){this.root=l,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_e(this.queryParams)),this._queryParamMap}toString(){return R.serialize(this)}}class He{constructor(l,s){this.segments=l,this.children=s,this.parent=null,dt(s,(d,g)=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return I(this)}}class Un{constructor(l,s){this.path=l,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=_e(this.parameters)),this._parameterMap}toString(){return qt(this)}}function Kt(u,l){return u.length===l.length&&u.every((s,d)=>s.path===l[d].path)}let St=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=y.Yz7({token:u,factory:function(){return new x},providedIn:"root"}),u})();class x{parse(l){const s=new Nt(l);return new un(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(l){const s=`/${P(l.root,!0)}`,d=function Sr(u){const l=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(g=>`${te(s)}=${te(g)}`).join("&"):`${te(s)}=${te(d)}`}).filter(s=>!!s);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${s}${d}${"string"==typeof l.fragment?`#${function ve(u){return encodeURI(u)}(l.fragment)}`:""}`}}const R=new x;function I(u){return u.segments.map(l=>qt(l)).join("/")}function P(u,l){if(!u.hasChildren())return I(u);if(l){const s=u.children[Ee]?P(u.children[Ee],!1):"",d=[];return dt(u.children,(g,D)=>{D!==Ee&&d.push(`${D}:${P(g,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function qe(u,l){let s=[];return dt(u.children,(d,g)=>{g===Ee&&(s=s.concat(l(d,g)))}),dt(u.children,(d,g)=>{g!==Ee&&(s=s.concat(l(d,g)))}),s}(u,(d,g)=>g===Ee?[P(u.children[Ee],!1)]:[`${g}:${P(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Ee]?`${I(u)}/${s[0]}`:`${I(u)}/(${s.join("//")})`}}function O(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function te(u){return O(u).replace(/%3B/gi,";")}function Ze(u){return O(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ft(u){return decodeURIComponent(u)}function ht(u){return ft(u.replace(/\+/g,"%20"))}function qt(u){return`${Ze(u.path)}${function lt(u){return Object.keys(u).map(l=>`;${Ze(l)}=${Ze(u[l])}`).join("")}(u.parameters)}`}const Tr=/^[^\/()?;=#]+/;function je(u){const l=u.match(Tr);return l?l[0]:""}const or=/^[^=?&#]+/,qr=/^[^&#]+/;class Nt{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(l.length>0||Object.keys(s).length>0)&&(d[Ee]=new He(l,s)),d}parseSegment(){const l=je(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new y.vHH(4009,!1);return this.capture(l),new Un(ft(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const s=je(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const g=je(this.remaining);g&&(d=g,this.capture(d))}l[ft(s)]=ft(d)}parseQueryParam(l){const s=function An(u){const l=u.match(or);return l?l[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const E=function Hn(u){const l=u.match(qr);return l?l[0]:""}(this.remaining);E&&(d=E,this.capture(d))}const g=ht(s),D=ht(d);if(l.hasOwnProperty(g)){let E=l[g];Array.isArray(E)||(E=[E],l[g]=E),E.push(D)}else l[g]=D}parseParens(l){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=je(this.remaining),g=this.remaining[d.length];if("/"!==g&&")"!==g&&";"!==g)throw new y.vHH(4010,!1);let D;d.indexOf(":")>-1?(D=d.slice(0,d.indexOf(":")),this.capture(D),this.capture(":")):l&&(D=Ee);const E=this.parseChildren();s[D]=1===Object.keys(E).length?E[Ee]:new He([],E),this.consumeOptional("//")}return s}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new y.vHH(4011,!1)}}function Gn(u){return u.segments.length>0?new He([],{[Ee]:u}):u}function ln(u){const l={};for(const d of Object.keys(u.children)){const D=ln(u.children[d]);(D.segments.length>0||D.hasChildren())&&(l[d]=D)}return function Zt(u){if(1===u.numberOfChildren&&u.children[Ee]){const l=u.children[Ee];return new He(u.segments.concat(l.segments),l.children)}return u}(new He(u.segments,l))}function Vt(u){return u instanceof un}function Zr(u,l,s,d,g){if(0===s.length)return cn(l.root,l.root,l.root,d,g);const D=function ti(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Et(!0,0,u);let l=0,s=!1;const d=u.reduce((g,D,E)=>{if("object"==typeof D&&null!=D){if(D.outlets){const b={};return dt(D.outlets,(j,ie)=>{b[ie]="string"==typeof j?j.split("/"):j}),[...g,{outlets:b}]}if(D.segmentPath)return[...g,D.segmentPath]}return"string"!=typeof D?[...g,D]:0===E?(D.split("/").forEach((b,j)=>{0==j&&"."===b||(0==j&&""===b?s=!0:".."===b?l++:""!=b&&g.push(b))}),g):[...g,D]},[]);return new Et(s,l,d)}(s);return D.toRoot()?cn(l.root,l.root,new He([],{}),d,g):function E(j){const ie=function Qr(u,l,s,d){if(u.isAbsolute)return new It(l.root,!0,0);if(-1===d)return new It(s,s===l.root,0);return function Rr(u,l,s){let d=u,g=l,D=s;for(;D>g;){if(D-=g,d=d.parent,!d)throw new y.vHH(4005,!1);g=d.segments.length}return new It(d,!1,g-D)}(s,d+(zn(u.commands[0])?0:1),u.numberOfDoubleDots)}(D,l,u.snapshot?._urlSegment,j),Pe=ie.processChildren?Xr(ie.segmentGroup,ie.index,D.commands):$t(ie.segmentGroup,ie.index,D.commands);return cn(l.root,ie.segmentGroup,Pe,d,g)}(u.snapshot?._lastPathIndex)}function zn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Cn(u){return"object"==typeof u&&null!=u&&u.outlets}function cn(u,l,s,d,g){let E,D={};d&&dt(d,(j,ie)=>{D[ie]=Array.isArray(j)?j.map(Pe=>`${Pe}`):`${j}`}),E=u===l?s:dn(u,l,s);const b=Gn(ln(E));return new un(b,D,g)}function dn(u,l,s){const d={};return dt(u.children,(g,D)=>{d[D]=g===l?s:dn(g,l,s)}),new He(u.segments,d)}class Et{constructor(l,s,d){if(this.isAbsolute=l,this.numberOfDoubleDots=s,this.commands=d,l&&d.length>0&&zn(d[0]))throw new y.vHH(4003,!1);const g=d.find(Cn);if(g&&g!==Er(d))throw new y.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class It{constructor(l,s,d){this.segmentGroup=l,this.processChildren=s,this.index=d}}function $t(u,l,s){if(u||(u=new He([],{})),0===u.segments.length&&u.hasChildren())return Xr(u,l,s);const d=function hn(u,l,s){let d=0,g=l;const D={match:!1,pathIndex:0,commandIndex:0};for(;g=s.length)return D;const E=u.segments[g],b=s[d];if(Cn(b))break;const j=`${b}`,ie=d0&&void 0===j)break;if(j&&ie&&"object"==typeof ie&&void 0===ie.outlets){if(!Qi(j,ie,E))return D;d+=2}else{if(!Qi(j,{},E))return D;d++}g++}return{match:!0,pathIndex:g,commandIndex:d}}(u,l,s),g=s.slice(d.commandIndex);if(d.match&&d.pathIndex{"string"==typeof D&&(D=[D]),null!==D&&(g[E]=$t(u.children[E],l,D))}),dt(u.children,(D,E)=>{void 0===d[E]&&(g[E]=D)}),new He(u.segments,g)}}function _o(u,l,s){const d=u.segments.slice(0,l);let g=0;for(;g{"string"==typeof s&&(s=[s]),null!==s&&(l[d]=_o(new He([],{}),0,s))}),l}function Zi(u){const l={};return dt(u,(s,d)=>l[d]=`${s}`),l}function Qi(u,l,s){return u==s.path&&it(l,s.parameters)}class Rn{constructor(l,s){this.id=l,this.url=s}}class ni extends Rn{constructor(l,s,d="imperative",g=null){super(l,s),this.type=0,this.navigationTrigger=d,this.restoredState=g}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ir extends Rn{constructor(l,s,d){super(l,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Eo extends Rn{constructor(l,s,d,g){super(l,s),this.reason=d,this.code=g,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xi extends Rn{constructor(l,s,d,g){super(l,s),this.error=d,this.target=g,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ys extends Rn{constructor(l,s,d,g){super(l,s),this.urlAfterRedirects=d,this.state=g,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ks extends Rn{constructor(l,s,d,g){super(l,s),this.urlAfterRedirects=d,this.state=g,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qs extends Rn{constructor(l,s,d,g,D){super(l,s),this.urlAfterRedirects=d,this.state=g,this.shouldActivate=D,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zs extends Rn{constructor(l,s,d,g){super(l,s),this.urlAfterRedirects=d,this.state=g,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qs extends Rn{constructor(l,s,d,g){super(l,s),this.urlAfterRedirects=d,this.state=g,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xs{constructor(l){this.route=l,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Js{constructor(l){this.route=l,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ri{constructor(l){this.snapshot=l,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jr{constructor(l){this.snapshot=l,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ea{constructor(l){this.snapshot=l,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ta{constructor(l){this.snapshot=l,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ji{constructor(l,s,d){this.routerEvent=l,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class eo{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const s=this.pathFromRoot(l);return s.length>1?s[s.length-2]:null}children(l){const s=Pr(l,this._root);return s?s.children.map(d=>d.value):[]}firstChild(l){const s=Pr(l,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(l){const s=Io(l,this._root);return s.length<2?[]:s[s.length-2].children.map(g=>g.value).filter(g=>g!==l)}pathFromRoot(l){return Io(l,this._root).map(s=>s.value)}}function Pr(u,l){if(u===l.value)return l;for(const s of l.children){const d=Pr(u,s);if(d)return d}return null}function Io(u,l){if(u===l.value)return[l];for(const s of l.children){const d=Io(u,s);if(d.length)return d.unshift(l),d}return[]}class _n{constructor(l,s){this.value=l,this.children=s}toString(){return`TreeNode(${this.value})`}}function Wn(u){const l={};return u&&u.children.forEach(s=>l[s.value.outlet]=s),l}class bo extends eo{constructor(l,s){super(l),this.snapshot=s,Nr(this,l)}toString(){return this.snapshot.toString()}}function Mo(u,l){const s=function es(u,l){const E=new Or([],{},{},"",{},Ee,l,null,u.root,-1,{});return new ts("",new _n(E,[]))}(u,l),d=new Y.X([new Un("",{})]),g=new Y.X({}),D=new Y.X({}),E=new Y.X({}),b=new Y.X(""),j=new En(d,g,E,b,D,Ee,l,s.root);return j.snapshot=s.root,new bo(new _n(j,[]),s)}class En{constructor(l,s,d,g,D,E,b,j){this.url=l,this.params=s,this.queryParams=d,this.fragment=g,this.data=D,this.outlet=E,this.component=b,this.title=this.data?.pipe((0,re.U)(ie=>ie[ot]))??(0,B.of)(void 0),this._futureSnapshot=j}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((0,re.U)(l=>_e(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,re.U)(l=>_e(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oi(u,l="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==l)for(d=s.length-1;d>=1;){const g=s[d],D=s[d-1];if(g.routeConfig&&""===g.routeConfig.path)d--;else{if(D.component)break;d--}}return function Qt(u){return u.reduce((l,s)=>({params:{...l.params,...s.params},data:{...l.data,...s.data},resolve:{...s.data,...l.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class Or{constructor(l,s,d,g,D,E,b,j,ie,Pe,de,Qe){this.url=l,this.params=s,this.queryParams=d,this.fragment=g,this.data=D,this.outlet=E,this.component=b,this.title=this.data?.[ot],this.routeConfig=j,this._urlSegment=ie,this._lastPathIndex=Pe,this._correctedLastPathIndex=Qe??Pe,this._resolve=de}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=_e(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_e(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ts extends eo{constructor(l,s){super(s),this.url=l,Nr(this,s)}toString(){return ii(this._root)}}function Nr(u,l){l.value._routerState=u,l.children.forEach(s=>Nr(u,s))}function ii(u){const l=u.children.length>0?` { ${u.children.map(ii).join(", ")} } `:"";return`${u.value}${l}`}function So(u){if(u.snapshot){const l=u.snapshot,s=u._futureSnapshot;u.snapshot=s,it(l.queryParams,s.queryParams)||u.queryParams.next(s.queryParams),l.fragment!==s.fragment&&u.fragment.next(s.fragment),it(l.params,s.params)||u.params.next(s.params),function rr(u,l){if(u.length!==l.length)return!1;for(let s=0;sit(s.parameters,l[d].parameters))}(u.url,l.url);return s&&!(!u.parent!=!l.parent)&&(!u.parent||pt(u.parent,l.parent))}function to(u,l,s){if(s&&u.shouldReuseRoute(l.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=l.value;const g=function To(u,l,s){return l.children.map(d=>{for(const g of s.children)if(u.shouldReuseRoute(d.value,g.value.snapshot))return to(u,d,g);return to(u,d)})}(u,l,s);return new _n(d,g)}{if(u.shouldAttach(l.value)){const D=u.retrieve(l.value);if(null!==D){const E=D.route;return E.value._futureSnapshot=l.value,E.children=l.children.map(b=>to(u,b)),E}}const d=function nt(u){return new En(new Y.X(u.url),new Y.X(u.params),new Y.X(u.queryParams),new Y.X(u.fragment),new Y.X(u.data),u.outlet,u.component,u)}(l.value),g=l.children.map(D=>to(u,D));return new _n(d,g)}}const si="ngNavigationCancelingError";function sr(u,l){const{redirectTo:s,navigationBehaviorOptions:d}=Vt(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,g=ar(!1,0,l);return g.url=s,g.navigationBehaviorOptions=d,g}function ar(u,l,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[si]=!0,d.cancellationCode=l,s&&(d.url=s),d}function kt(u){return ai(u)&&Vt(u.url)}function ai(u){return u&&u[si]}class no{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ro,this.attachRef=null}}let ro=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const g=this.getOrCreateContext(s);g.outlet=d,this.contexts.set(s,g)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new no,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=y.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const pn=!1;let Ao=(()=>{class u{constructor(s,d,g,D,E){this.parentContexts=s,this.location=d,this.changeDetector=D,this.environmentInjector=E,this.activated=null,this._activatedRoute=null,this.activateEvents=new y.vpe,this.deactivateEvents=new y.vpe,this.attachEvents=new y.vpe,this.detachEvents=new y.vpe,this.name=g||Ee,s.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const s=this.parentContexts.getContext(this.name);s&&s.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y.vHH(4012,pn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y.vHH(4012,pn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y.vHH(4012,pn);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new y.vHH(4013,pn);this._activatedRoute=s;const g=this.location,E=s._futureSnapshot.component,b=this.parentContexts.getOrCreateContext(this.name).children,j=new Ro(s,b,g.injector);if(d&&function Ne(u){return!!u.resolveComponentFactory}(d)){const ie=d.resolveComponentFactory(E);this.activated=g.createComponent(ie,g.length,j)}else this.activated=g.createComponent(E,{index:g.length,injector:j,environmentInjector:d??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(s){return new(s||u)(y.Y36(ro),y.Y36(y.s_b),y.$8M("name"),y.Y36(y.sBO),y.Y36(y.lqb))},u.\u0275dir=y.lG2({type:u,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),u})();class Ro{constructor(l,s,d){this.route=l,this.childContexts=s,this.parent=d}get(l,s){return l===En?this.route:l===ro?this.childContexts:this.parent.get(l,s)}}let oo=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=y.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[y.jDz],decls:1,vars:0,template:function(s,d){1&s&&y._UZ(0,"router-outlet")},dependencies:[Ao],encapsulation:2}),u})();function io(u,l){return u.providers&&!u._injector&&(u._injector=(0,y.MMx)(u.providers,l,`Route: ${u.path}`)),u._injector??l}function li(u){const l=u.children&&u.children.map(li),s=l?{...u,children:l}:{...u};return!s.component&&!s.loadComponent&&(l||s.loadChildren)&&s.outlet&&s.outlet!==Ee&&(s.component=oo),s}function Ht(u){return u.outlet||Ee}function bt(u,l){const s=u.filter(d=>Ht(d)===l);return s.push(...u.filter(d=>Ht(d)!==l)),s}function Fr(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let l=u.parent;l;l=l.parent){const s=l.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class gn{constructor(l,s,d,g){this.routeReuseStrategy=l,this.futureState=s,this.currState=d,this.forwardEvent=g}activate(l){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,l),So(this.futureState.root),this.activateChildRoutes(s,d,l)}deactivateChildRoutes(l,s,d){const g=Wn(s);l.children.forEach(D=>{const E=D.value.outlet;this.deactivateRoutes(D,g[E],d),delete g[E]}),dt(g,(D,E)=>{this.deactivateRouteAndItsChildren(D,d)})}deactivateRoutes(l,s,d){const g=l.value,D=s?s.value:null;if(g===D)if(g.component){const E=d.getContext(g.outlet);E&&this.deactivateChildRoutes(l,s,E.children)}else this.deactivateChildRoutes(l,s,d);else D&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(l,s){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,s):this.deactivateRouteAndOutlet(l,s)}detachAndStoreRouteSubtree(l,s){const d=s.getContext(l.value.outlet),g=d&&l.value.component?d.children:s,D=Wn(l);for(const E of Object.keys(D))this.deactivateRouteAndItsChildren(D[E],g);if(d&&d.outlet){const E=d.outlet.detach(),b=d.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:E,route:l,contexts:b})}}deactivateRouteAndOutlet(l,s){const d=s.getContext(l.value.outlet),g=d&&l.value.component?d.children:s,D=Wn(l);for(const E of Object.keys(D))this.deactivateRouteAndItsChildren(D[E],g);d&&d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated(),d.attachRef=null,d.resolver=null,d.route=null)}activateChildRoutes(l,s,d){const g=Wn(s);l.children.forEach(D=>{this.activateRoutes(D,g[D.value.outlet],d),this.forwardEvent(new ta(D.value.snapshot))}),l.children.length&&this.forwardEvent(new Jr(l.value.snapshot))}activateRoutes(l,s,d){const g=l.value,D=s?s.value:null;if(So(g),g===D)if(g.component){const E=d.getOrCreateContext(g.outlet);this.activateChildRoutes(l,s,E.children)}else this.activateChildRoutes(l,s,d);else if(g.component){const E=d.getOrCreateContext(g.outlet);if(this.routeReuseStrategy.shouldAttach(g.snapshot)){const b=this.routeReuseStrategy.retrieve(g.snapshot);this.routeReuseStrategy.store(g.snapshot,null),E.children.onOutletReAttached(b.contexts),E.attachRef=b.componentRef,E.route=b.route.value,E.outlet&&E.outlet.attach(b.componentRef,b.route.value),So(b.route.value),this.activateChildRoutes(l,null,E.children)}else{const b=Fr(g.snapshot),j=b?.get(y._Vd)??null;E.attachRef=null,E.route=g,E.resolver=j,E.injector=b,E.outlet&&E.outlet.activateWith(g,E.injector),this.activateChildRoutes(l,null,E.children)}}else this.activateChildRoutes(l,null,d)}}class so{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class xn{constructor(l,s){this.component=l,this.route=s}}function ao(u,l,s){const d=u._root;return Lr(d,l?l._root:null,s,[d.value])}function lr(u,l){const s=Symbol(),d=l.get(u,s);return d===s?"function"!=typeof u||(0,y.Z0I)(u)?l.get(u):u:d}function Lr(u,l,s,d,g={canDeactivateChecks:[],canActivateChecks:[]}){const D=Wn(l);return u.children.forEach(E=>{(function jt(u,l,s,d,g={canDeactivateChecks:[],canActivateChecks:[]}){const D=u.value,E=l?l.value:null,b=s?s.getContext(u.value.outlet):null;if(E&&D.routeConfig===E.routeConfig){const j=function Pn(u,l,s){if("function"==typeof s)return s(u,l);switch(s){case"pathParamsChange":return!Kt(u.url,l.url);case"pathParamsOrQueryParamsChange":return!Kt(u.url,l.url)||!it(u.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pt(u,l)||!it(u.queryParams,l.queryParams);default:return!pt(u,l)}}(E,D,D.routeConfig.runGuardsAndResolvers);j?g.canActivateChecks.push(new so(d)):(D.data=E.data,D._resolvedData=E._resolvedData),Lr(u,l,D.component?b?b.children:null:s,d,g),j&&b&&b.outlet&&b.outlet.isActivated&&g.canDeactivateChecks.push(new xn(b.outlet.component,E))}else E&&kr(l,b,g),g.canActivateChecks.push(new so(d)),Lr(u,null,D.component?b?b.children:null:s,d,g)})(E,D[E.value.outlet],s,d.concat([E.value]),g),delete D[E.value.outlet]}),dt(D,(E,b)=>kr(E,s.getContext(b),g)),g}function kr(u,l,s){const d=Wn(u),g=u.value;dt(d,(D,E)=>{kr(D,g.component?l?l.children.getContext(E):null:l,s)}),s.canDeactivateChecks.push(new xn(g.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,g))}function In(u){return"function"==typeof u}function uo(u){return u instanceof ye||"EmptyError"===u?.name}const Po=Symbol("INITIAL_VALUE");function cr(){return be(u=>Ie(u.map(l=>l.pipe(Bt(1),function Rt(...u){const l=(0,he.yG)(u);return(0,ut.e)((s,d)=>{(l?F(u,s,l):F(u,s)).subscribe(d)})}(Po)))).pipe((0,re.U)(l=>{for(const s of l)if(!0!==s){if(s===Po)return Po;if(!1===s||s instanceof un)return s}return!0}),(0,rn.h)(l=>l!==Po),Bt(1)))}function Ge(u){return(0,k.z)((0,wt.b)(l=>{if(Vt(l))throw sr(0,l)}),(0,re.U)(l=>!0===l))}const ze={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yt(u,l,s,d,g){const D=et(u,l,s);return D.matched?function Se(u,l,s,d){const g=l.canMatch;if(!g||0===g.length)return(0,B.of)(!0);const D=g.map(E=>{const b=lr(E,u);return me(function xo(u){return u&&In(u.canMatch)}(b)?b.canMatch(l,s):u.runInContext(()=>b(l,s)))});return(0,B.of)(D).pipe(cr(),Ge())}(d=io(l,d),l,s).pipe((0,re.U)(E=>!0===E?D:{...ze})):(0,B.of)(D)}function et(u,l,s){if(""===l.path)return"full"===l.pathMatch&&(u.hasChildren()||s.length>0)?{...ze}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const g=(l.matcher||Ut)(s,u,l);if(!g)return{...ze};const D={};dt(g.posParams,(b,j)=>{D[j]=b.path});const E=g.consumed.length>0?{...D,...g.consumed[g.consumed.length-1].parameters}:D;return{matched:!0,consumedSegments:g.consumed,remainingSegments:s.slice(g.consumed.length),parameters:E,positionalParamSegments:g.posParams??{}}}function vt(u,l,s,d,g="corrected"){if(s.length>0&&function yn(u,l,s){return s.some(d=>vn(u,l,d)&&Ht(d)!==Ee)}(u,s,d)){const E=new He(l,function mn(u,l,s,d){const g={};g[Ee]=d,d._sourceSegment=u,d._segmentIndexShift=l.length;for(const D of s)if(""===D.path&&Ht(D)!==Ee){const E=new He([],{});E._sourceSegment=u,E._segmentIndexShift=l.length,g[Ht(D)]=E}return g}(u,l,d,new He(s,u.children)));return E._sourceSegment=u,E._segmentIndexShift=l.length,{segmentGroup:E,slicedSegments:[]}}if(0===s.length&&function Xt(u,l,s){return s.some(d=>vn(u,l,d))}(u,s,d)){const E=new He(u.segments,function Yn(u,l,s,d,g,D){const E={};for(const b of d)if(vn(u,s,b)&&!g[Ht(b)]){const j=new He([],{});j._sourceSegment=u,j._segmentIndexShift="legacy"===D?u.segments.length:l.length,E[Ht(b)]=j}return{...g,...E}}(u,l,s,d,u.children,g));return E._sourceSegment=u,E._segmentIndexShift=l.length,{segmentGroup:E,slicedSegments:s}}const D=new He(u.segments,u.children);return D._sourceSegment=u,D._segmentIndexShift=l.length,{segmentGroup:D,slicedSegments:s}}function vn(u,l,s){return(!(u.hasChildren()||l.length>0)||"full"!==s.pathMatch)&&""===s.path}function dr(u,l,s,d){return!!(Ht(u)===d||d!==Ee&&vn(l,s,u))&&("**"===u.path||et(l,u,s).matched)}function lo(u,l,s){return 0===l.length&&!u.children[s]}const fi=!1;class bn{constructor(l){this.segmentGroup=l||null}}class co{constructor(l){this.urlTree=l}}function Oo(u){return oe(new bn(u))}function aa(u){return oe(new co(u))}class hu{constructor(l,s,d,g,D){this.injector=l,this.configLoader=s,this.urlSerializer=d,this.urlTree=g,this.config=D,this.allowRedirects=!0}apply(){const l=vt(this.urlTree.root,[],[],this.config).segmentGroup,s=new He(l.segments,l.children);return this.expandSegmentGroup(this.injector,this.config,s,Ee).pipe((0,re.U)(D=>this.createUrlTree(ln(D),this.urlTree.queryParams,this.urlTree.fragment))).pipe(sn(D=>{if(D instanceof co)return this.allowRedirects=!1,this.match(D.urlTree);throw D instanceof bn?this.noMatchError(D):D}))}match(l){return this.expandSegmentGroup(this.injector,this.config,l.root,Ee).pipe((0,re.U)(g=>this.createUrlTree(ln(g),l.queryParams,l.fragment))).pipe(sn(g=>{throw g instanceof bn?this.noMatchError(g):g}))}noMatchError(l){return new y.vHH(4002,fi)}createUrlTree(l,s,d){const g=Gn(l);return new un(g,s,d)}expandSegmentGroup(l,s,d,g){return 0===d.segments.length&&d.hasChildren()?this.expandChildren(l,s,d).pipe((0,re.U)(D=>new He([],D))):this.expandSegment(l,d,s,d.segments,g,!0)}expandChildren(l,s,d){const g=[];for(const D of Object.keys(d.children))"primary"===D?g.unshift(D):g.push(D);return(0,M.D)(g).pipe((0,Wt.b)(D=>{const E=d.children[D],b=bt(s,D);return this.expandSegmentGroup(l,b,E,D).pipe((0,re.U)(j=>({segment:j,outlet:D})))}),_t((D,E)=>(D[E.outlet]=E.segment,D),{}),_r())}expandSegment(l,s,d,g,D,E){return(0,M.D)(d).pipe((0,Wt.b)(b=>this.expandSegmentAgainstRoute(l,s,d,b,g,D,E).pipe(sn(ie=>{if(ie instanceof bn)return(0,B.of)(null);throw ie}))),on(b=>!!b),sn((b,j)=>{if(uo(b))return lo(s,g,D)?(0,B.of)(new He([],{})):Oo(s);throw b}))}expandSegmentAgainstRoute(l,s,d,g,D,E,b){return dr(g,s,D,E)?void 0===g.redirectTo?this.matchSegmentAgainstRoute(l,s,g,D,E):b&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,s,d,g,D,E):Oo(s):Oo(s)}expandSegmentAgainstRouteUsingRedirect(l,s,d,g,D,E){return"**"===g.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,d,g,E):this.expandRegularSegmentAgainstRouteUsingRedirect(l,s,d,g,D,E)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,s,d,g){const D=this.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?aa(D):this.lineralizeSegments(d,D).pipe((0,Je.z)(E=>{const b=new He(E,{});return this.expandSegment(l,b,s,E,g,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,s,d,g,D,E){const{matched:b,consumedSegments:j,remainingSegments:ie,positionalParamSegments:Pe}=et(s,g,D);if(!b)return Oo(s);const de=this.applyRedirectCommands(j,g.redirectTo,Pe);return g.redirectTo.startsWith("/")?aa(de):this.lineralizeSegments(g,de).pipe((0,Je.z)(Qe=>this.expandSegment(l,s,d,Qe.concat(ie),E,!1)))}matchSegmentAgainstRoute(l,s,d,g,D){return"**"===d.path?(l=io(d,l),d.loadChildren?(d._loadedRoutes?(0,B.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):this.configLoader.loadChildren(l,d)).pipe((0,re.U)(b=>(d._loadedRoutes=b.routes,d._loadedInjector=b.injector,new He(g,{})))):(0,B.of)(new He(g,{}))):yt(s,d,g,l).pipe(be(({matched:E,consumedSegments:b,remainingSegments:j})=>E?this.getChildConfig(l=d._injector??l,d,g).pipe((0,Je.z)(Pe=>{const de=Pe.injector??l,Qe=Pe.routes,{segmentGroup:xt,slicedSegments:qn}=vt(s,b,j,Qe),ct=new He(xt.segments,xt.children);if(0===qn.length&&ct.hasChildren())return this.expandChildren(de,Qe,ct).pipe((0,re.U)(Uo=>new He(b,Uo)));if(0===Qe.length&&0===qn.length)return(0,B.of)(new He(b,{}));const Dn=Ht(d)===D;return this.expandSegment(de,ct,Qe,qn,Dn?Ee:D,!0).pipe((0,re.U)(Br=>new He(b.concat(Br.segments),Br.children)))})):Oo(s)))}getChildConfig(l,s,d){return s.children?(0,B.of)({routes:s.children,injector:l}):s.loadChildren?void 0!==s._loadedRoutes?(0,B.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function Fe(u,l,s,d){const g=l.canLoad;if(void 0===g||0===g.length)return(0,B.of)(!0);const D=g.map(E=>{const b=lr(E,u);return me(function ia(u){return u&&In(u.canLoad)}(b)?b.canLoad(l,s):u.runInContext(()=>b(l,s)))});return(0,B.of)(D).pipe(cr(),Ge())}(l,s,d).pipe((0,Je.z)(g=>g?this.configLoader.loadChildren(l,s).pipe((0,wt.b)(D=>{s._loadedRoutes=D.routes,s._loadedInjector=D.injector})):function as(u){return oe(ar(fi,3))}())):(0,B.of)({routes:[],injector:l})}lineralizeSegments(l,s){let d=[],g=s.root;for(;;){if(d=d.concat(g.segments),0===g.numberOfChildren)return(0,B.of)(d);if(g.numberOfChildren>1||!g.children[Ee])return oe(new y.vHH(4e3,fi));g=g.children[Ee]}}applyRedirectCommands(l,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),l,d)}applyRedirectCreateUrlTree(l,s,d,g){const D=this.createSegmentGroup(l,s.root,d,g);return new un(D,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(l,s){const d={};return dt(l,(g,D)=>{if("string"==typeof g&&g.startsWith(":")){const b=g.substring(1);d[D]=s[b]}else d[D]=g}),d}createSegmentGroup(l,s,d,g){const D=this.createSegments(l,s.segments,d,g);let E={};return dt(s.children,(b,j)=>{E[j]=this.createSegmentGroup(l,b,d,g)}),new He(D,E)}createSegments(l,s,d,g){return s.map(D=>D.path.startsWith(":")?this.findPosParam(l,D,g):this.findOrReturn(D,d))}findPosParam(l,s,d){const g=d[s.path.substring(1)];if(!g)throw new y.vHH(4001,fi);return g}findOrReturn(l,s){let d=0;for(const g of s){if(g.path===l.path)return s.splice(d),g;d++}return l}}class hi{}class pi{constructor(l,s,d,g,D,E,b,j){this.injector=l,this.rootComponentType=s,this.config=d,this.urlTree=g,this.url=D,this.paramsInheritanceStrategy=E,this.relativeLinkResolution=b,this.urlSerializer=j}recognize(){const l=vt(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,l,Ee).pipe((0,re.U)(s=>{if(null===s)return null;const d=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ee,this.rootComponentType,null,this.urlTree.root,-1,{}),g=new _n(d,s),D=new ts(this.url,g);return this.inheritParamsAndData(D._root),D}))}inheritParamsAndData(l){const s=l.value,d=oi(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),l.children.forEach(g=>this.inheritParamsAndData(g))}processSegmentGroup(l,s,d,g){return 0===d.segments.length&&d.hasChildren()?this.processChildren(l,s,d):this.processSegment(l,s,d,d.segments,g)}processChildren(l,s,d){return(0,M.D)(Object.keys(d.children)).pipe((0,Wt.b)(g=>{const D=d.children[g],E=bt(s,g);return this.processSegmentGroup(l,E,D,g)}),_t((g,D)=>g&&D?(g.push(...D),g):null),function Jo(u,l=!1){return(0,ut.e)((s,d)=>{let g=0;s.subscribe((0,z.x)(d,D=>{const E=u(D,g++);(E||l)&&d.next(D),!E&&d.complete()}))})}(g=>null!==g),Cr(null),_r(),(0,re.U)(g=>{if(null===g)return null;const D=fa(g);return function ca(u){u.sort((l,s)=>l.value.outlet===Ee?-1:s.value.outlet===Ee?1:l.value.outlet.localeCompare(s.value.outlet))}(D),D}))}processSegment(l,s,d,g,D){return(0,M.D)(s).pipe((0,Wt.b)(E=>this.processSegmentAgainstRoute(E._injector??l,E,d,g,D)),on(E=>!!E),sn(E=>{if(uo(E))return lo(d,g,D)?(0,B.of)([]):(0,B.of)(null);throw E}))}processSegmentAgainstRoute(l,s,d,g,D){if(s.redirectTo||!dr(s,d,g,D))return(0,B.of)(null);let E;if("**"===s.path){const b=g.length>0?Er(g).parameters:{},j=Fo(d)+g.length,ie=new Or(g,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ls(s),Ht(s),s.component??s._loadedComponent??null,s,gi(d),j,cs(s),j);E=(0,B.of)({snapshot:ie,consumedSegments:[],remainingSegments:[]})}else E=yt(d,s,g,l).pipe((0,re.U)(({matched:b,consumedSegments:j,remainingSegments:ie,parameters:Pe})=>{if(!b)return null;const de=Fo(d)+j.length;return{snapshot:new Or(j,Pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ls(s),Ht(s),s.component??s._loadedComponent??null,s,gi(d),de,cs(s),de),consumedSegments:j,remainingSegments:ie}}));return E.pipe(be(b=>{if(null===b)return(0,B.of)(null);const{snapshot:j,consumedSegments:ie,remainingSegments:Pe}=b;l=s._injector??l;const de=s._loadedInjector??l,Qe=function da(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(s),{segmentGroup:xt,slicedSegments:qn}=vt(d,ie,Pe,Qe.filter(Dn=>void 0===Dn.redirectTo),this.relativeLinkResolution);if(0===qn.length&&xt.hasChildren())return this.processChildren(de,Qe,xt).pipe((0,re.U)(Dn=>null===Dn?null:[new _n(j,Dn)]));if(0===Qe.length&&0===qn.length)return(0,B.of)([new _n(j,[])]);const ct=Ht(s)===D;return this.processSegment(de,Qe,xt,qn,ct?Ee:D).pipe((0,re.U)(Dn=>null===Dn?null:[new _n(j,Dn)]))}))}}function fo(u){const l=u.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function fa(u){const l=[],s=new Set;for(const d of u){if(!fo(d)){l.push(d);continue}const g=l.find(D=>d.value.routeConfig===D.value.routeConfig);void 0!==g?(g.children.push(...d.children),s.add(g)):l.push(d)}for(const d of s){const g=fa(d.children);l.push(new _n(d.value,g))}return l.filter(d=>!s.has(d))}function gi(u){let l=u;for(;l._sourceSegment;)l=l._sourceSegment;return l}function Fo(u){let l=u,s=l._segmentIndexShift??0;for(;l._sourceSegment;)l=l._sourceSegment,s+=l._segmentIndexShift??0;return s-1}function ls(u){return u.data||{}}function cs(u){return u.resolve||{}}function ko(u){return"string"==typeof u.title||null===u.title}function po(u){return be(l=>{const s=u(l);return s?(0,M.D)(s).pipe((0,re.U)(()=>l)):(0,B.of)(l)})}let ha=(()=>{class u{buildTitle(s){let d,g=s.root;for(;void 0!==g;)d=this.getResolvedTitleForRoute(g)??d,g=g.children.find(D=>D.outlet===Ee);return d}getResolvedTitleForRoute(s){return s.data[ot]}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275prov=y.Yz7({token:u,factory:function(){return(0,y.f3M)(hs)},providedIn:"root"}),u})(),hs=(()=>{class u extends ha{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}}return u.\u0275fac=function(s){return new(s||u)(y.LFG(kn.Dx))},u.\u0275prov=y.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class pa{}class vu extends class ga{shouldDetach(l){return!1}store(l,s){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,s){return l.routeConfig===s.routeConfig}}{}const fr=new y.OlP("",{providedIn:"root",factory:()=>({})}),yi=new y.OlP("ROUTES");let vi=(()=>{class u{constructor(s,d){this.injector=s,this.compiler=d,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,B.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=me(s.loadComponent()).pipe((0,wt.b)(D=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=D}),nr(()=>{this.componentLoaders.delete(s)})),g=new At(d,()=>new Lt.x).pipe(Ve());return this.componentLoaders.set(s,g),g}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,B.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const D=this.loadModuleFactoryOrRoutes(d.loadChildren).pipe((0,re.U)(b=>{this.onLoadEndListener&&this.onLoadEndListener(d);let j,ie,Pe=!1;Array.isArray(b)?ie=b:(j=b.create(s).injector,ie=Ye(j.get(yi,[],y.XFs.Self|y.XFs.Optional)));return{routes:ie.map(li),injector:j}}),nr(()=>{this.childrenLoaders.delete(d)})),E=new At(D,()=>new Lt.x).pipe(Ve());return this.childrenLoaders.set(d,E),E}loadModuleFactoryOrRoutes(s){return me(s()).pipe((0,Je.z)(d=>d instanceof y.YKP||Array.isArray(d)?(0,B.of)(d):(0,M.D)(this.compiler.compileModuleAsync(d))))}}return u.\u0275fac=function(s){return new(s||u)(y.LFG(y.zs3),y.LFG(y.Sil))},u.\u0275prov=y.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class go{}class Du{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,s){return l}}function ps(u){throw u}function Cu(u,l,s){return l.parse("/")}const ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function jr(){const u=(0,y.f3M)(St),l=(0,y.f3M)(ro),s=(0,y.f3M)(ke.Ye),d=(0,y.f3M)(y.zs3),g=(0,y.f3M)(y.Sil),D=(0,y.f3M)(yi,{optional:!0})??[],E=(0,y.f3M)(fr,{optional:!0})??{},b=(0,y.f3M)(hs),j=(0,y.f3M)(ha,{optional:!0}),ie=(0,y.f3M)(go,{optional:!0}),Pe=(0,y.f3M)(pa,{optional:!0}),de=new Dt(null,u,l,s,d,g,Ye(D));return ie&&(de.urlHandlingStrategy=ie),Pe&&(de.routeReuseStrategy=Pe),de.titleStrategy=j??b,function mo(u,l){u.errorHandler&&(l.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(l.malformedUriErrorHandler=u.malformedUriErrorHandler),u.onSameUrlNavigation&&(l.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.relativeLinkResolution&&(l.relativeLinkResolution=u.relativeLinkResolution),u.urlUpdateStrategy&&(l.urlUpdateStrategy=u.urlUpdateStrategy),u.canceledNavigationResolution&&(l.canceledNavigationResolution=u.canceledNavigationResolution)}(E,de),de}let Dt=(()=>{class u{constructor(s,d,g,D,E,b,j){this.rootComponentType=s,this.urlSerializer=d,this.rootContexts=g,this.location=D,this.config=j,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Lt.x,this.errorHandler=ps,this.malformedUriErrorHandler=Cu,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,B.of)(void 0),this.urlHandlingStrategy=new Du,this.routeReuseStrategy=new vu,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=E.get(vi),this.configLoader.onLoadEndListener=Qe=>this.triggerEvent(new Js(Qe)),this.configLoader.onLoadStartListener=Qe=>this.triggerEvent(new Xs(Qe)),this.ngModule=E.get(y.h0i),this.console=E.get(y.c2e);const de=E.get(y.R0b);this.isNgZoneEnabled=de instanceof y.R0b&&y.R0b.isInAngularZone(),this.resetConfig(j),this.currentUrlTree=function Sn(){return new un(new He([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mo(this.currentUrlTree,this.rootComponentType),this.transitions=new Y.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(s){const d=this.events;return s.pipe((0,rn.h)(g=>0!==g.id),(0,re.U)(g=>({...g,extractedUrl:this.urlHandlingStrategy.extract(g.rawUrl)})),be(g=>{let D=!1,E=!1;return(0,B.of)(g).pipe((0,wt.b)(b=>{this.currentNavigation={id:b.id,initialUrl:b.rawUrl,extractedUrl:b.extractedUrl,trigger:b.source,extras:b.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),be(b=>{const j=this.browserUrlTree.toString(),ie=!this.navigated||b.extractedUrl.toString()!==j||j!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ie)&&this.urlHandlingStrategy.shouldProcessUrl(b.rawUrl))return Di(b.source)&&(this.browserUrlTree=b.extractedUrl),(0,B.of)(b).pipe(be(de=>{const Qe=this.transitions.getValue();return d.next(new ni(de.id,this.serializeUrl(de.extractedUrl),de.source,de.restoredState)),Qe!==this.transitions.getValue()?Ae.E:Promise.resolve(de)}),function $c(u,l,s,d){return be(g=>function fu(u,l,s,d,g){return new hu(u,l,s,d,g).apply()}(u,l,s,g.extractedUrl,d).pipe((0,re.U)(D=>({...g,urlAfterRedirects:D}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,wt.b)(de=>{this.currentNavigation={...this.currentNavigation,finalUrl:de.urlAfterRedirects},g.urlAfterRedirects=de.urlAfterRedirects}),function gu(u,l,s,d,g,D){return(0,Je.z)(E=>function la(u,l,s,d,g,D,E="emptyOnly",b="legacy"){return new pi(u,l,s,d,g,E,b,D).recognize().pipe(be(j=>null===j?function ua(u){return new ae.y(l=>l.error(u))}(new hi):(0,B.of)(j)))}(u,l,s,E.urlAfterRedirects,d.serialize(E.urlAfterRedirects),d,g,D).pipe((0,re.U)(b=>({...E,targetSnapshot:b}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,wt.b)(de=>{if(g.targetSnapshot=de.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!de.extras.skipLocationChange){const xt=this.urlHandlingStrategy.merge(de.urlAfterRedirects,de.rawUrl);this.setBrowserUrl(xt,de)}this.browserUrlTree=de.urlAfterRedirects}const Qe=new Ys(de.id,this.serializeUrl(de.extractedUrl),this.serializeUrl(de.urlAfterRedirects),de.targetSnapshot);d.next(Qe)}));if(ie&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Qe,extractedUrl:xt,source:qn,restoredState:ct,extras:Dn}=b,Cs=new ni(Qe,this.serializeUrl(xt),qn,ct);d.next(Cs);const Br=Mo(xt,this.rootComponentType).snapshot;return g={...b,targetSnapshot:Br,urlAfterRedirects:xt,extras:{...Dn,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(g)}return this.rawUrlTree=b.rawUrl,b.resolve(null),Ae.E}),(0,wt.b)(b=>{const j=new Ks(b.id,this.serializeUrl(b.extractedUrl),this.serializeUrl(b.urlAfterRedirects),b.targetSnapshot);this.triggerEvent(j)}),(0,re.U)(b=>g={...b,guards:ao(b.targetSnapshot,b.currentSnapshot,this.rootContexts)}),function h(u,l){return(0,Je.z)(s=>{const{targetSnapshot:d,currentSnapshot:g,guards:{canActivateChecks:D,canDeactivateChecks:E}}=s;return 0===E.length&&0===D.length?(0,B.of)({...s,guardsResult:!0}):function v(u,l,s,d){return(0,M.D)(u).pipe((0,Je.z)(g=>function pe(u,l,s,d,g){const D=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!D||0===D.length)return(0,B.of)(!0);const E=D.map(b=>{const j=Fr(l)??g,ie=lr(b,j);return me(function os(u){return u&&In(u.canDeactivate)}(ie)?ie.canDeactivate(u,l,s,d):j.runInContext(()=>ie(u,l,s,d))).pipe(on())});return(0,B.of)(E).pipe(cr())}(g.component,g.route,s,l,d)),on(g=>!0!==g,!0))}(E,d,g,u).pipe((0,Je.z)(b=>b&&function On(u){return"boolean"==typeof u}(b)?function p(u,l,s,d){return(0,M.D)(l).pipe((0,Wt.b)(g=>F(function S(u,l){return null!==u&&l&&l(new ri(u)),(0,B.of)(!0)}(g.route.parent,d),function w(u,l){return null!==u&&l&&l(new ea(u)),(0,B.of)(!0)}(g.route,d),function K(u,l,s){const d=l[l.length-1],D=l.slice(0,l.length-1).reverse().map(E=>function ci(u){const l=u.routeConfig?u.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:u,guards:l}:null}(E)).filter(E=>null!==E).map(E=>G(()=>{const b=E.guards.map(j=>{const ie=Fr(E.node)??s,Pe=lr(j,ie);return me(function sa(u){return u&&In(u.canActivateChild)}(Pe)?Pe.canActivateChild(d,u):ie.runInContext(()=>Pe(d,u))).pipe(on())});return(0,B.of)(b).pipe(cr())}));return(0,B.of)(D).pipe(cr())}(u,g.path,s),function V(u,l,s){const d=l.routeConfig?l.routeConfig.canActivate:null;if(!d||0===d.length)return(0,B.of)(!0);const g=d.map(D=>G(()=>{const E=Fr(l)??s,b=lr(D,E);return me(function di(u){return u&&In(u.canActivate)}(b)?b.canActivate(l,u):E.runInContext(()=>b(l,u))).pipe(on())}));return(0,B.of)(g).pipe(cr())}(u,g.route,s))),on(g=>!0!==g,!0))}(d,D,u,l):(0,B.of)(b)),(0,re.U)(b=>({...s,guardsResult:b})))})}(this.ngModule.injector,b=>this.triggerEvent(b)),(0,wt.b)(b=>{if(g.guardsResult=b.guardsResult,Vt(b.guardsResult))throw sr(0,b.guardsResult);const j=new qs(b.id,this.serializeUrl(b.extractedUrl),this.serializeUrl(b.urlAfterRedirects),b.targetSnapshot,!!b.guardsResult);this.triggerEvent(j)}),(0,rn.h)(b=>!!b.guardsResult||(this.restoreHistory(b),this.cancelNavigationTransition(b,"",3),!1)),po(b=>{if(b.guards.canActivateChecks.length)return(0,B.of)(b).pipe((0,wt.b)(j=>{const ie=new Zs(j.id,this.serializeUrl(j.extractedUrl),this.serializeUrl(j.urlAfterRedirects),j.targetSnapshot);this.triggerEvent(ie)}),be(j=>{let ie=!1;return(0,B.of)(j).pipe(function Nn(u,l){return(0,Je.z)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:g}}=s;if(!g.length)return(0,B.of)(s);let D=0;return(0,M.D)(g).pipe((0,Wt.b)(E=>function mu(u,l,s,d){const g=u.routeConfig,D=u._resolve;return void 0!==g?.title&&!ko(g)&&(D[ot]=g.title),function Lo(u,l,s,d){const g=function ds(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===g.length)return(0,B.of)({});const D={};return(0,M.D)(g).pipe((0,Je.z)(E=>function fs(u,l,s,d){const g=Fr(l)??d,D=lr(u,g);return me(D.resolve?D.resolve(l,s):g.runInContext(()=>D(l,s)))}(u[E],l,s,d).pipe(on(),(0,wt.b)(b=>{D[E]=b}))),an(1),function Te(u){return(0,re.U)(()=>u)}(D),sn(E=>uo(E)?Ae.E:oe(E)))}(D,u,l,d).pipe((0,re.U)(E=>(u._resolvedData=E,u.data=oi(u,s).resolve,g&&ko(g)&&(u.data[ot]=g.title),null)))}(E.route,d,u,l)),(0,wt.b)(()=>D++),an(1),(0,Je.z)(E=>D===g.length?(0,B.of)(s):Ae.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,wt.b)({next:()=>ie=!0,complete:()=>{ie||(this.restoreHistory(j),this.cancelNavigationTransition(j,"",2))}}))}),(0,wt.b)(j=>{const ie=new Qs(j.id,this.serializeUrl(j.extractedUrl),this.serializeUrl(j.urlAfterRedirects),j.targetSnapshot);this.triggerEvent(ie)}))}),po(b=>{const j=ie=>{const Pe=[];ie.routeConfig?.loadComponent&&!ie.routeConfig._loadedComponent&&Pe.push(this.configLoader.loadComponent(ie.routeConfig).pipe((0,wt.b)(de=>{ie.component=de}),(0,re.U)(()=>{})));for(const de of ie.children)Pe.push(...j(de));return Pe};return Ie(j(b.targetSnapshot.root)).pipe(Cr(),Bt(1))}),po(()=>this.afterPreactivation()),(0,re.U)(b=>{const j=function na(u,l,s){const d=to(u,l._root,s?s._root:void 0);return new bo(d,l)}(this.routeReuseStrategy,b.targetSnapshot,b.currentRouterState);return g={...b,targetRouterState:j}}),(0,wt.b)(b=>{this.currentUrlTree=b.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(b.urlAfterRedirects,b.rawUrl),this.routerState=b.targetRouterState,"deferred"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,b),this.browserUrlTree=b.urlAfterRedirects)}),((u,l,s)=>(0,re.U)(d=>(new gn(l,d.targetRouterState,d.currentRouterState,s).activate(u),d)))(this.rootContexts,this.routeReuseStrategy,b=>this.triggerEvent(b)),(0,wt.b)({next(){D=!0},complete(){D=!0}}),nr(()=>{D||E||this.cancelNavigationTransition(g,"",1),this.currentNavigation?.id===g.id&&(this.currentNavigation=null)}),sn(b=>{if(E=!0,ai(b)){kt(b)||(this.navigated=!0,this.restoreHistory(g,!0));const j=new Eo(g.id,this.serializeUrl(g.extractedUrl),b.message,b.cancellationCode);if(d.next(j),kt(b)){const ie=this.urlHandlingStrategy.merge(b.url,this.rawUrlTree),Pe={skipLocationChange:g.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Di(g.source)};this.scheduleNavigation(ie,"imperative",null,Pe,{resolve:g.resolve,reject:g.reject,promise:g.promise})}else g.resolve(!1)}else{this.restoreHistory(g,!0);const j=new Xi(g.id,this.serializeUrl(g.extractedUrl),b,g.targetSnapshot??void 0);d.next(j);try{g.resolve(this.errorHandler(b))}catch(ie){g.reject(ie)}}return Ae.E}))}))}resetRootComponentType(s){this.rootComponentType=s,this.routerState.root.component=this.rootComponentType}setTransition(s){this.transitions.next({...this.transitions.value,...s})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{const g={replaceUrl:!0},D=s.state?.navigationId?s.state:null;if(D){const b={...D};delete b.navigationId,delete b.\u0275routerPageId,0!==Object.keys(b).length&&(g.state=b)}const E=this.parseUrl(s.url);this.scheduleNavigation(E,d,D,g)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(s){this.events.next(s)}resetConfig(s){this.config=s.map(li),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(s,d={}){const{relativeTo:g,queryParams:D,fragment:E,queryParamsHandling:b,preserveFragment:j}=d,ie=g||this.routerState.root,Pe=j?this.currentUrlTree.fragment:E;let de=null;switch(b){case"merge":de={...this.currentUrlTree.queryParams,...D};break;case"preserve":de=this.currentUrlTree.queryParams;break;default:de=D||null}return null!==de&&(de=this.removeEmptyProps(de)),Zr(ie,this.currentUrlTree,s,de,Pe??null)}navigateByUrl(s,d={skipLocationChange:!1}){const g=Vt(s)?s:this.parseUrl(s),D=this.urlHandlingStrategy.merge(g,this.rawUrlTree);return this.scheduleNavigation(D,"imperative",null,d)}navigate(s,d={skipLocationChange:!1}){return function va(u){for(let l=0;l{const D=s[g];return null!=D&&(d[g]=D),d},{})}processNavigations(){this.navigations.subscribe(s=>{this.navigated=!0,this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId,this.events.next(new ir(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),s.resolve(!0)},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}scheduleNavigation(s,d,g,D,E){if(this.disposed)return Promise.resolve(!1);let b,j,ie;E?(b=E.resolve,j=E.reject,ie=E.promise):ie=new Promise((Qe,xt)=>{b=Qe,j=xt});const Pe=++this.navigationId;let de;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(g=this.location.getState()),de=g&&g.\u0275routerPageId?g.\u0275routerPageId:D.replaceUrl||D.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):de=0,this.setTransition({id:Pe,targetPageId:de,source:d,restoredState:g,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:s,extras:D,resolve:b,reject:j,promise:ie,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ie.catch(Qe=>Promise.reject(Qe))}setBrowserUrl(s,d){const g=this.urlSerializer.serialize(s),D={...d.extras.state,...this.generateNgRouterState(d.id,d.targetPageId)};this.location.isCurrentPathEqualTo(g)||d.extras.replaceUrl?this.location.replaceState(g,"",D):this.location.go(g,"",D)}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const g=this.currentPageId-s.targetPageId;"popstate"!==s.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===g?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===g&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(g)}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(s,d,g){const D=new Eo(s.id,this.serializeUrl(s.extractedUrl),d,g);this.triggerEvent(D),s.resolve(!1)}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}}return u.\u0275fac=function(s){y.$Z()},u.\u0275prov=y.Yz7({token:u,factory:function(){return jr()},providedIn:"root"}),u})();function Di(u){return"imperative"!==u}let ms=(()=>{class u{constructor(s,d,g){this.router=s,this.route=d,this.locationStrategy=g,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Lt.x,this.subscription=s.events.subscribe(D=>{D instanceof ir&&this.updateTargetUrlAndHref()})}set preserveFragment(s){this._preserveFragment=(0,y.D6c)(s)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(s){this._skipLocationChange=(0,y.D6c)(s)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(s){this._replaceUrl=(0,y.D6c)(s)}get replaceUrl(){return this._replaceUrl}set routerLink(s){this.commands=null!=s?Array.isArray(s)?s:[s]:null}ngOnChanges(s){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(s,d,g,D,E){return!!(0!==s||d||g||D||E||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(s){return new(s||u)(y.Y36(Dt),y.Y36(En),y.Y36(ke.S$))},u.\u0275dir=y.lG2({type:u,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(s,d){1&s&&y.NdJ("click",function(D){return d.onClick(D.button,D.ctrlKey,D.shiftKey,D.altKey,D.metaKey)}),2&s&&y.uIk("target",d.target)("href",d.href,y.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[y.TTD]}),u})();class _u{}let Uc=(()=>{class u{constructor(s,d,g,D,E){this.router=s,this.injector=g,this.preloadingStrategy=D,this.loader=E}setUpPreloading(){this.subscription=this.router.events.pipe((0,rn.h)(s=>s instanceof ir),(0,Wt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(s,d){const g=[];for(const D of d){D.providers&&!D._injector&&(D._injector=(0,y.MMx)(D.providers,s,`Route: ${D.path}`));const E=D._injector??s,b=D._loadedInjector??E;D.loadChildren&&!D._loadedRoutes&&void 0===D.canLoad||D.loadComponent&&!D._loadedComponent?g.push(this.preloadConfig(E,D)):(D.children||D._loadedRoutes)&&g.push(this.processRoutes(b,D.children??D._loadedRoutes))}return(0,M.D)(g).pipe((0,ce.J)())}preloadConfig(s,d){return this.preloadingStrategy.preload(d,()=>{let g;g=d.loadChildren&&void 0===d.canLoad?this.loader.loadChildren(s,d):(0,B.of)(null);const D=g.pipe((0,Je.z)(E=>null===E?(0,B.of)(void 0):(d._loadedRoutes=E.routes,d._loadedInjector=E.injector,this.processRoutes(E.injector??s,E.routes))));if(d.loadComponent&&!d._loadedComponent){const E=this.loader.loadComponent(d);return(0,M.D)([D,E]).pipe((0,ce.J)())}return D})}}return u.\u0275fac=function(s){return new(s||u)(y.LFG(Dt),y.LFG(y.Sil),y.LFG(y.lqb),y.LFG(_u),y.LFG(vi))},u.\u0275prov=y.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Da=new y.OlP("");let Eu=(()=>{class u{constructor(s,d,g={}){this.router=s,this.viewportScroller=d,this.options=g,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},g.scrollPositionRestoration=g.scrollPositionRestoration||"disabled",g.anchorScrolling=g.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(s=>{s instanceof ni?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof ir&&(this.lastId=s.id,this.scheduleScrollEvent(s,this.router.parseUrl(s.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(s=>{s instanceof Ji&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.router.triggerEvent(new Ji(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return u.\u0275fac=function(s){y.$Z()},u.\u0275prov=y.Yz7({token:u,factory:u.\u0275fac}),u})();function Bo(u,l){return{\u0275kind:u,\u0275providers:l}}function Mt(u){return[{provide:yi,multi:!0,useValue:u}]}function yo(){const u=(0,y.f3M)(y.zs3);return l=>{const s=u.get(y.z2F);if(l!==s.components[0])return;const d=u.get(Dt),g=u.get(bu);1===u.get(vs)&&d.initialNavigation(),u.get(Vo,null,y.XFs.Optional)?.setUpPreloading(),u.get(Da,null,y.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),g.next(),g.complete()}}const bu=new y.OlP("",{factory:()=>new Lt.x}),vs=new y.OlP("",{providedIn:"root",factory:()=>1});const Vo=new y.OlP("");function $o(u){return Bo(0,[{provide:Vo,useExisting:Uc},{provide:_u,useExisting:u}])}const Su=new y.OlP("ROUTER_FORROOT_GUARD"),Gc=[ke.Ye,{provide:St,useClass:x},{provide:Dt,useFactory:jr},ro,{provide:En,useFactory:function Iu(u){return u.routerState.root},deps:[Dt]},vi];function _a(){return new y.PXZ("Router",Dt)}let en=(()=>{class u{constructor(s){}static forRoot(s,d){return{ngModule:u,providers:[Gc,[],Mt(s),{provide:Su,useFactory:Ea,deps:[[Dt,new y.FiY,new y.tp0]]},{provide:fr,useValue:d||{}},d?.useHash?{provide:ke.S$,useClass:ke.Do}:{provide:ke.S$,useClass:ke.b0},{provide:Da,useFactory:()=>{const u=(0,y.f3M)(Dt),l=(0,y.f3M)(ke.EM),s=(0,y.f3M)(fr);return s.scrollOffset&&l.setOffset(s.scrollOffset),new Eu(u,l,s)}},d?.preloadingStrategy?$o(d.preloadingStrategy).\u0275providers:[],{provide:y.PXZ,multi:!0,useFactory:_a},d?.initialNavigation?Tu(d):[],[{provide:Ia,useFactory:yo},{provide:y.tb,multi:!0,useExisting:Ia}]]}}static forChild(s){return{ngModule:u,providers:[Mt(s)]}}}return u.\u0275fac=function(s){return new(s||u)(y.LFG(Su,8))},u.\u0275mod=y.oAB({type:u}),u.\u0275inj=y.cJS({imports:[oo]}),u})();function Ea(u){return"guarded"}function Tu(u){return["disabled"===u.initialNavigation?Bo(3,[{provide:y.ip1,multi:!0,useFactory:()=>{const l=(0,y.f3M)(Dt);return()=>{l.setUpLocationChangeListener()}}},{provide:vs,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Bo(2,[{provide:vs,useValue:0},{provide:y.ip1,multi:!0,deps:[y.zs3],useFactory:l=>{const s=l.get(ke.V_,Promise.resolve());let d=!1;return()=>s.then(()=>new Promise(D=>{const E=l.get(Dt),b=l.get(bu);(function g(D){l.get(Dt).events.pipe((0,rn.h)(b=>b instanceof ir||b instanceof Eo||b instanceof Xi),(0,re.U)(b=>b instanceof ir||b instanceof Eo&&(0===b.code||1===b.code)&&null),(0,rn.h)(b=>null!==b),Bt(1)).subscribe(()=>{D()})})(()=>{D(!0),d=!0}),E.afterPreactivation=()=>(D(!0),d||b.closed?(0,B.of)(void 0):b),E.initialNavigation()}))}}]).\u0275providers:[]]}const Ia=new y.OlP("")}},Le=>{Le(Le.s=543)}]); \ No newline at end of file diff --git a/polyfills.4a23e6e36ff11e81.js b/polyfills.4a23e6e36ff11e81.js deleted file mode 100644 index 4799cdb..0000000 --- a/polyfills.4a23e6e36ff11e81.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[429],{435:(ie,Ee,de)=>{de(583)},583:()=>{!function(t){const n=t.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,T){n&&n.measure&&n.measure(M,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const p=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(p||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class M{constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(t.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 e=M.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(e,r,k=!1){if(oe.hasOwnProperty(e)){if(!k&&p)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),oe[e]=r(t,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=re;re=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CM.hasTask(e,r),onScheduleTask:(M,T,e,r)=>M.scheduleTask(e,r),onInvokeTask:(M,T,e,r,k,C)=>M.invokeTask(e,r,k,C),onCancelTask:(M,T,e,r)=>M.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:w,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,l,this,arguments)}}static invokeTask(T,e,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,M)}else t[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),t.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(t,n){return Zone.current.wrap(t,n)}function Me(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||"object"==typeof self&&self||global;function Le(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Ie(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!Pe&&!Be&&!(!we||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!we||!Te.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===t.type){const a=t;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&t.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault();return c};function qe(t,n,i){let o=ie(t,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,p=o.set,d=n.slice(2);let w=Re[d];w||(w=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[w]&&m.removeEventListener(d,We),p&&p.call(m,null),m[w]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[w];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(p,d){const w=i(p,d);return w.cbIdx>=0&&"function"==typeof d[w.cbIdx]?Me(w.name,d[w.cbIdx],w,c):a.apply(p,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,p=i.symbol,d=[],w=!0===t[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return e.reject(l)}const q=p("state"),R=p("value"),_=p("finally"),K=p("parentPromiseValue"),x=p("parentPromiseState"),j=null,E=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=p("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const y=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;y&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(y,void 0,O&&y!==J&&y!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let y of u)f++,s.push(e.resolve(y))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const b=[];return new e((y,D)=>{for(let O=0;O{g||(g=!0,y(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new T(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function y(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,y);return g}static all(u){return e.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof e?this:e).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),y=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,y--,0===y&&f(O)},F=>{s?(O[V]=s.errorCallback(F),y--,0===y&&f(O)):g(F)})}catch(F){g(F)}y++,D++}return y-=2,0===y&&f(O),b}constructor(u){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||e);const b=new g(M),y=n.current;return this[q]==j?this[R].push(y,b,u,s):ee(this,y,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=e);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=p("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new e((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=ke+i,a=ke+o;te[t]={},te[t][ae]=c,te[t][ce]=a}function dt(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,p=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",w=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const E=Z(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[w])return!1;const G=_&&_.eventNameToString,h={},I=E[w]=E[c],P=E[A(a)]=E[a],Q=E[A(p)]=E[p],oe=E[A(d)]=E[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let y=0;yfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const p=n[a]=n[o];n[o]=function(d,w,v){return w&&w.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=w.prototype;try{if(Z.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,L),t._redefineProperty(w.prototype,m,N)):Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=t.wrapWithCurrentZone(Z[m],L))}catch{}}),p.call(n,d,w,v)},t.attachOriginToPatched(n[o],p)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function He(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=He(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:Pe,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const p={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function w(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,w);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?p[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,L)}),a=le(t,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=p[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(t,L)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{i.patchMethod(t,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(w,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function mt(t,n){n.patchEventPrototype(t,n)})(t,i),function pt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let w=0;w{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function Tt(t,n){if(Pe&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function w(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[p]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),p=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function at(t,n){const i=t.constructor.name;for(let o=0;o{const w=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(w,d),w})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(p=>{const d=t.PromiseRejectionEvent;if(d){const w=new d(o,{promise:c.promise,reason:c.rejection});p.invoke(w)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=435)}]); \ No newline at end of file diff --git a/polyfills.f84ce651ad273867.js b/polyfills.f84ce651ad273867.js new file mode 100644 index 0000000..3d67924 --- /dev/null +++ b/polyfills.f84ce651ad273867.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkoffscale_www=self.webpackChunkoffscale_www||[]).push([[429],{321:(ie,Ee,de)=>{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;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=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); \ No newline at end of file diff --git a/runtime.6864fe0318ef8637.js b/runtime.6864fe0318ef8637.js new file mode 100644 index 0000000..d1bad2f --- /dev/null +++ b/runtime.6864fe0318ef8637.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,b={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return b[e](t,t.exports,r),t.exports}r.m=b,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(v=>r.O[v](t[u]))?t.splice(u--,1):(s=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+".c5a57f09bcdb9e70.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="offscale-www:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(v)),g)return g(v)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((l,c)=>i=e[f]=[l,c]);o.push(i[2]=a);var s=r.p+r.u(f),u=new Error;r.l(s,l=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;u.message="Loading chunk "+f+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,i[1](u)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var u,d,[i,a,s]=o,l=0;if(i.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(f&&f(o);l{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,o,f)=>{if(!t){var a=1/0;for(i=0;i=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(s=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,o,f]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+".16320fee8b0cf4f4.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="offscale-www:";r.l=(t,o,f,i)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==f)for(var u=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,f)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)f.push(i[2]);else if(666!=o){var a=new Promise((l,c)=>i=e[o]=[l,c]);f.push(i[2]=a);var s=r.p+r.u(o),u=new Error;r.l(s,l=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;u.message="Loading chunk "+o+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,i[1](u)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,f)=>{var u,d,[i,a,s]=f,l=0;if(i.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(o&&o(f);l