diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 1733476..df372eb 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1,26 +1,28 @@ -@angular/common -MIT -@angular/core -MIT +-------------------------------------------------------------------------------- +Package: @angular/common +License: "MIT" -@angular/forms -MIT -@angular/platform-browser -MIT +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" -@angular/router -MIT -angular-date-value-accessor -MIT +-------------------------------------------------------------------------------- +Package: angular-date-value-accessor +License: "MIT" -book-monkey5-styles -MIT -rxjs -Apache-2.0 +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: rxjs +License: "Apache-2.0" + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -224,24 +226,36 @@ Apache-2.0 limitations under the License. +-------------------------------------------------------------------------------- +Package: tslib +License: "0BSD" + +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" -tslib -0BSD -Copyright (c) Microsoft Corporation. -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. +-------------------------------------------------------------------------------- +Package: @angular/router +License: "MIT" -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -zone.js -MIT +-------------------------------------------------------------------------------- +Package: zone.js +License: "MIT" + The MIT License Copyright (c) 2010-2023 Google LLC. https://angular.io/license @@ -263,3 +277,10 @@ 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. + +-------------------------------------------------------------------------------- +Package: book-monkey5-styles +License: "MIT" + + +-------------------------------------------------------------------------------- diff --git a/404.html b/404.html deleted file mode 100644 index 61d1fd1..0000000 --- a/404.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - BookMonkey - - - - - - -
Loading ...
-
- - diff --git a/881.34f2f4532b8f4bfe.js b/881.34f2f4532b8f4bfe.js deleted file mode 100644 index a7bb024..0000000 --- a/881.34f2f4532b8f4bfe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbook_monkey=self.webpackChunkbook_monkey||[]).push([[881],{4881:(N,u,r)=>{r.r(u),r.d(u,{BooksModule:()=>F});var c=r(6814),l=r(2413),t=r(6689),m=r(5008);let f=(()=>{class o{constructor(){this.confirm=new t.vpe}onClick(){window.confirm(this.confirmText)&&this.confirm.emit()}static#t=this.\u0275fac=function(n){return new(n||o)};static#o=this.\u0275dir=t.lG2({type:o,selectors:[["","bmConfirm",""]],hostBindings:function(n,s){1&n&&t.NdJ("click",function(){return s.onClick()})},inputs:{confirmText:["bmConfirm","confirmText"]},outputs:{confirm:"confirm"}})}return o})();var g=r(8645),_=r(9773),b=r(9346);let h=(()=>{class o{constructor(i,n,s){this.template=i,this.viewContainer=n,this.authService=s,this.destroy$=new g.x,this.authService.isAuthenticated$.pipe((0,_.R)(this.destroy$)).subscribe(a=>{a?this.viewContainer.createEmbeddedView(this.template):this.viewContainer.clear()})}ngOnDestroy(){this.destroy$.next()}static#t=this.\u0275fac=function(n){return new(n||o)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(b.e))};static#o=this.\u0275dir=t.lG2({type:o,selectors:[["","bmLoggedinOnly",""]]})}return o})(),p=(()=>{class o{transform(i){return i?`${i.substring(0,3)}-${i.substring(3)}`:""}static#t=this.\u0275fac=function(n){return new(n||o)};static#o=this.\u0275pipe=t.Yjl({name:"isbn",type:o,pure:!0})}return o})();function k(o,e){if(1&o&&(t.TgZ(0,"p",9),t._uU(1),t.qZA()),2&o){const i=t.oxw().ngIf;t.xp6(1),t.Oqu(i.subtitle)}}function d(o,e){if(1&o&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&o){const i=e.$implicit;t.xp6(1),t.Oqu(i)}}function v(o,e){if(1&o&&(t.TgZ(0,"div")(1,"h2"),t._uU(2,"Published"),t.qZA(),t._uU(3),t.ALo(4,"date"),t.qZA()),2&o){const i=t.oxw().ngIf;t.xp6(3),t.hij(" ",t.xi3(4,1,i.published,"longDate")," ")}}function Z(o,e){if(1&o&&t._UZ(0,"img",10),2&o){const i=t.oxw().ngIf;t.Q6J("src",i.thumbnailUrl,t.LSH)}}const x=function(o){return["/admin/edit",o]};function T(o,e){if(1&o){const i=t.EpF();t.ynx(0),t.TgZ(1,"button",11),t.NdJ("confirm",function(){t.CHM(i);const s=t.oxw().ngIf,a=t.oxw();return t.KtG(a.removeBook(s.isbn))}),t._uU(2," Remove book "),t.qZA(),t.TgZ(3,"a",12),t._uU(4," Edit book "),t.qZA(),t.BQk()}if(2&o){const i=t.oxw().ngIf;t.xp6(3),t.Q6J("routerLink",t.VKq(1,x,i.isbn))}}function C(o,e){if(1&o&&(t.TgZ(0,"div",1)(1,"h1"),t._uU(2),t.qZA(),t.YNc(3,k,2,1,"p",2),t.TgZ(4,"div",3)(5,"div")(6,"h2"),t._uU(7,"Authors"),t.qZA(),t.TgZ(8,"ul"),t.YNc(9,d,2,1,"li",4),t.qZA()(),t.TgZ(10,"div")(11,"h2"),t._uU(12,"ISBN"),t.qZA(),t._uU(13),t.ALo(14,"isbn"),t.qZA(),t.YNc(15,v,5,4,"div",5),t.qZA(),t.TgZ(16,"h2"),t._uU(17,"Description"),t.qZA(),t.TgZ(18,"p"),t._uU(19),t.qZA(),t.YNc(20,Z,1,1,"img",6),t.TgZ(21,"a",7),t._uU(22,"Back to list"),t.qZA(),t.YNc(23,T,5,3,"ng-container",8),t.qZA()),2&o){const i=e.ngIf;t.xp6(2),t.Oqu(i.title),t.xp6(1),t.Q6J("ngIf",i.subtitle),t.xp6(6),t.Q6J("ngForOf",i.authors),t.xp6(4),t.hij(" ",t.lcZ(14,7,i.isbn)," "),t.xp6(2),t.Q6J("ngIf",i.published),t.xp6(4),t.Oqu(i.description),t.xp6(1),t.Q6J("ngIf",i.thumbnailUrl)}}let B=(()=>{class o{constructor(i,n,s){this.service=i,this.route=n,this.router=s;const a=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(a)}removeBook(i){this.service.remove(i).subscribe(()=>{this.router.navigateByUrl("/books")})}static#t=this.\u0275fac=function(n){return new(n||o)(t.Y36(m.T),t.Y36(l.gz),t.Y36(l.F0))};static#o=this.\u0275cmp=t.Xpm({type:o,selectors:[["bm-book-details"]],decls:2,vars:3,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],["routerLink","..",1,"button","arrow-left"],[4,"bmLoggedinOnly"],["role","doc-subtitle"],["alt","Cover",3,"src"],["bmConfirm","Remove book?",1,"red",3,"confirm"],[1,"button",3,"routerLink"]],template:function(n,s){1&n&&(t.YNc(0,C,24,9,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,s.book$))},dependencies:[c.sg,c.O5,l.rH,f,h,c.Ov,c.uU,p]})}return o})();function A(o,e){if(1&o&&t._UZ(0,"img",6),2&o){const i=t.oxw(2);t.Q6J("src",i.book.thumbnailUrl,t.LSH)}}function I(o,e){if(1&o&&(t.TgZ(0,"p",7),t._uU(1),t.qZA()),2&o){const i=t.oxw(2);t.xp6(1),t.hij(" ",i.book.subtitle," ")}}function y(o,e){if(1&o&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&o){const i=e.$implicit;t.xp6(1),t.hij(" ",i," ")}}function U(o,e){if(1&o&&(t.TgZ(0,"a",1),t.YNc(1,A,1,1,"img",2),t.TgZ(2,"h2"),t._uU(3),t.qZA(),t.YNc(4,I,2,1,"p",3),t.TgZ(5,"ul",4),t.YNc(6,y,2,1,"li",5),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.ALo(9,"isbn"),t.qZA()()),2&o){const i=t.oxw();t.Q6J("routerLink",i.book.isbn),t.xp6(1),t.Q6J("ngIf",i.book.thumbnailUrl),t.xp6(2),t.Oqu(i.book.title),t.xp6(1),t.Q6J("ngIf",i.book.subtitle),t.xp6(2),t.Q6J("ngForOf",i.book.authors),t.xp6(2),t.hij("ISBN ",t.lcZ(9,6,i.book.isbn),"")}}let L=(()=>{class o{static#t=this.\u0275fac=function(n){return new(n||o)};static#o=this.\u0275cmp=t.Xpm({type:o,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(n,s){1&n&&t.YNc(0,U,10,8,"a",0),2&n&&t.Q6J("ngIf",s.book)},dependencies:[c.sg,c.O5,l.rH,p]})}return o})();function q(o,e){if(1&o&&(t.TgZ(0,"li"),t._UZ(1,"bm-book-list-item",4),t.qZA()),2&o){const i=e.$implicit;t.xp6(1),t.Q6J("book",i)}}function J(o,e){1&o&&(t.TgZ(0,"li"),t._uU(1," No books available. "),t.qZA())}function Y(o,e){if(1&o&&(t.TgZ(0,"ul",1),t.YNc(1,q,2,1,"li",2),t.YNc(2,J,2,0,"li",3),t.qZA()),2&o){const i=e.ngIf;t.xp6(1),t.Q6J("ngForOf",i),t.xp6(1),t.Q6J("ngIf",!i.length)}}const w=[{path:"",component:(()=>{class o{constructor(i){this.service=i,this.books$=this.service.getAll()}static#t=this.\u0275fac=function(n){return new(n||o)(t.Y36(m.T))};static#o=this.\u0275cmp=t.Xpm({type:o,selectors:[["bm-book-list"]],decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(n,s){1&n&&(t.TgZ(0,"h1"),t._uU(1,"Books"),t.qZA(),t.YNc(2,Y,3,2,"ul",0),t.ALo(3,"async")),2&n&&(t.xp6(2),t.Q6J("ngIf",t.lcZ(3,1,s.books$)))},dependencies:[c.sg,c.O5,L,c.Ov]})}return o})()},{path:":isbn",component:B}];let O=(()=>{class o{static#t=this.\u0275fac=function(n){return new(n||o)};static#o=this.\u0275mod=t.oAB({type:o});static#i=this.\u0275inj=t.cJS({imports:[l.Bz.forChild(w),l.Bz]})}return o})(),F=(()=>{class o{static#t=this.\u0275fac=function(n){return new(n||o)};static#o=this.\u0275mod=t.oAB({type:o});static#i=this.\u0275inj=t.cJS({imports:[c.ez,O]})}return o})()}}]); \ No newline at end of file diff --git a/98.f7b31c25c9a1e221.js b/98.f7b31c25c9a1e221.js deleted file mode 100644 index 663162a..0000000 --- a/98.f7b31c25c9a1e221.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbook_monkey=self.webpackChunkbook_monkey||[]).push([[98],{5098:(Ln,he,l)=>{l.r(he),l.d(he,{AdminModule:()=>Pn});var _=l(6814),o=l(6689),vt=l(7715),Vt=l(5592),Ct=l(7453),Dt=l(4829),At=l(4564),bt=l(8251),Mt=l(7400),Et=l(2714),q=l(7398);let fe=(()=>{class t{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(o.Qsj),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:t})}return t})(),y=(()=>{class t extends fe{static#e=this.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}();static#t=this.\u0275dir=o.lG2({type:t,features:[o.qOj]})}return t})();const h=new o.OlP("NgValueAccessor"),Ot={provide:h,useExisting:(0,o.Gpc)(()=>S),multi:!0},Nt=new o.OlP("CompositionEventMode");let S=(()=>{class t extends fe{constructor(e,r,i){super(e,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function St(){const t=(0,_.q)()?(0,_.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Nt,8))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&o.NdJ("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[o._Bn([Ot]),o.qOj]})}return t})();function p(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function me(t){return null!=t&&"number"==typeof t.length}const u=new o.OlP("NgValidators"),m=new o.OlP("NgAsyncValidators"),Bt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ge{static min(n){return function _e(t){return n=>{if(p(n.value)||p(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(p(n.value)||p(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function ve(t){return p(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function Ve(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function Ce(t){return p(t.value)||Bt.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function De(t){return n=>p(n.value)||!me(n.value)?null:n.value.lengthme(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function be(t){if(!t)return N;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(p(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return Se(n)}static composeAsync(n){return Ne(n)}}function N(t){return null}function Me(t){return null!=t}function Ee(t){return(0,o.QGY)(t)?(0,vt.D)(t):t}function Fe(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function we(t,n){return n.map(e=>e(t))}function Oe(t){return t.map(n=>function It(t){return!t.validate}(n)?n:e=>n.validate(e))}function Se(t){if(!t)return null;const n=t.filter(Me);return 0==n.length?null:function(e){return Fe(we(e,n))}}function Y(t){return null!=t?Se(Oe(t)):null}function Ne(t){if(!t)return null;const n=t.filter(Me);return 0==n.length?null:function(e){return function Ft(...t){const n=(0,At.jO)(t),{args:e,keys:r}=(0,Ct.D)(t),i=new Vt.y(s=>{const{length:a}=e;if(!a)return void s.complete();const d=new Array(a);let V=a,A=a;for(let j=0;j{de||(de=!0,A--),d[j]=Rn},()=>V--,void 0,()=>{(!V||!de)&&(A||s.next(r?(0,Et.n)(r,d):d),s.complete())}))}});return n?i.pipe((0,Mt.Z)(n)):i}(we(e,n).map(Ee)).pipe((0,q.U)(Fe))}}function $(t){return null!=t?Ne(Oe(t)):null}function Be(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Ie(t){return t._rawValidators}function Ge(t){return t._rawAsyncValidators}function Z(t){return t?Array.isArray(t)?t:[t]:[]}function B(t,n){return Array.isArray(t)?t.includes(n):t===n}function Te(t,n){const e=Z(n);return Z(t).forEach(i=>{B(e,i)||e.push(i)}),e}function ke(t,n){return Z(n).filter(e=>!B(t,e))}class xe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Y(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class c extends xe{get formDirective(){return null}get path(){return null}}class g extends xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ue{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let He=(()=>{class t extends Ue{constructor(e){super(e)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(g,2))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&o.ekj("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[o.qOj]})}return t})(),Pe=(()=>{class t extends Ue{constructor(e){super(e)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(c,10))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&o.ekj("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[o.qOj]})}return t})();const b="VALID",G="INVALID",C="PENDING",M="DISABLED";function J(t){return(T(t)?t.validators:t)||null}function Q(t,n){return(T(n)?n.asyncValidators:t)||null}function T(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function Le(t,n,e){const r=t.controls;if(!(n?Object.keys(r):r).length)throw new o.vHH(1e3,"");if(!r[e])throw new o.vHH(1001,"")}function je(t,n,e){t._forEachChild((r,i)=>{if(void 0===e[i])throw new o.vHH(1002,"")})}class X{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===b}get invalid(){return this.status===G}get pending(){return this.status==C}get disabled(){return this.status===M}get enabled(){return this.status!==M}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Te(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Te(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ke(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ke(n,this._rawAsyncValidators))}hasValidator(n){return B(this._rawValidators,n)}hasAsyncValidator(n){return B(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=C,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=M,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=b,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===b||this.status===C)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?M:b}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=C,this._hasOwnPendingAsyncValidator=!0;const e=Ee(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(n,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?M:this.errors?G:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(C)?C:this._anyControlsHaveStatus(G)?G:b}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){T(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function xt(t){return Array.isArray(t)?Y(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ut(t){return Array.isArray(t)?$(t):t||null}(this._rawAsyncValidators)}}class k extends X{constructor(n,e,r){super(J(e),Q(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){je(this,0,n),Object.keys(n).forEach(r=>{Le(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((i,s)=>{r=e(r,i,s)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const D=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>x}),x="always";function U(t,n){return[...n.path,t]}function E(t,n,e=x){K(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function Rt(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&qe(t,n)})}(t,n),function jt(t,n){const e=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function Lt(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&qe(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function Pt(t,n){if(n.valueAccessor.setDisabledState){const e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function H(t,n,e=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),R(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function P(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function K(t,n){const e=Ie(t);null!==n.validator?t.setValidators(Be(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const r=Ge(t);null!==n.asyncValidator?t.setAsyncValidators(Be(r,n.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const i=()=>t.updateValueAndValidity();P(n._rawValidators,i),P(n._rawAsyncValidators,i)}function R(t,n){let e=!1;if(null!==t){if(null!==n.validator){const i=Ie(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(a=>a!==n.validator);s.length!==i.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const i=Ge(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(a=>a!==n.asyncValidator);s.length!==i.length&&(e=!0,t.setAsyncValidators(s))}}}const r=()=>{};return P(n._rawValidators,r),P(n._rawAsyncValidators,r),e}function qe(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ze(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function We(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const f=class extends X{constructor(n=null,e,r){super(J(e),Q(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=We(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Ze(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Ze(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){We(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let ze=(()=>{class t extends c{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}();static#t=this.\u0275dir=o.lG2({type:t,features:[o.qOj]})}return t})(),Ke=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})(),tt=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=o.oAB({type:t});static#n=this.\u0275inj=o.cJS({})}return t})();const oe=new o.OlP("NgModelWithFormControlWarning"),rn={provide:c,useExisting:(0,o.Gpc)(()=>w)};let w=(()=>{class t extends c{constructor(e,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(R(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return E(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){H(e.control||null,e,!1),function Zt(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,function $e(t,n){t._syncPendingControls(),n.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,i=this.form.get(e.path);r!==i&&(H(r||null,e),(t=>t instanceof f)(i)&&(E(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);(function Ye(t,n){K(t,n)})(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function qt(t,n){return R(t,n)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){K(this.form,this),this._oldForm&&R(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(u,10),o.Y36(m,10),o.Y36(D,8))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&o.NdJ("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([rn]),o.qOj,o.TTD]})}return t})();const on={provide:c,useExisting:(0,o.Gpc)(()=>ie)};let ie=(()=>{class t extends ze{constructor(e,r,i){super(),this.name=null,this._parent=e,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){it(this._parent)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(c,13),o.Y36(u,10),o.Y36(m,10))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o._Bn([on]),o.qOj]})}return t})();const sn={provide:c,useExisting:(0,o.Gpc)(()=>L)};let L=(()=>{class t extends c{constructor(e,r,i){super(),this.name=null,this._parent=e,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){it(this._parent)}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(c,13),o.Y36(u,10),o.Y36(m,10))};static#t=this.\u0275dir=o.lG2({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o._Bn([sn]),o.qOj]})}return t})();function it(t){return!(t instanceof ie||t instanceof w||t instanceof L)}const an={provide:g,useExisting:(0,o.Gpc)(()=>se)};let se=(()=>{class t extends g{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,r,i,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function ne(t,n){if(!n)return null;let e,r,i;return Array.isArray(n),n.forEach(s=>{s.constructor===S?e=s:function $t(t){return Object.getPrototypeOf(t.constructor)===y}(s)?r=s:i=s}),i||r||e||null}(0,s)}ngOnChanges(e){this._added||this._setUpControl(),function te(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||t)(o.Y36(c,13),o.Y36(u,10),o.Y36(m,10),o.Y36(h,10),o.Y36(oe,8))};static#n=this.\u0275dir=o.lG2({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([an]),o.qOj,o.TTD]})}return t})(),Dn=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=o.oAB({type:t});static#n=this.\u0275inj=o.cJS({imports:[tt]})}return t})();class _t extends X{constructor(n,e,r){super(J(e),Q(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,r={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,e={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){je(this,0,n),n.forEach((r,i)=>{Le(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,r)=>{n(e,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}let bn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:oe,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:D,useValue:e.callSetDisabledState??x}]}}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=o.oAB({type:t});static#n=this.\u0275inj=o.cJS({imports:[Dn]})}return t})();var O=l(2413),ce=l(5008);let Mn=(()=>{class t{constructor(e){this.service=e}isbnExists(){return e=>this.service.check(e.value).pipe((0,q.U)(r=>r?{isbnexists:!0}:null))}static#e=this.\u0275fac=function(r){return new(r||t)(o.LFG(ce.T))};static#t=this.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const En=function(t){if(!t.value||"string"!=typeof t.value)return null;const e=t.value.replace(/-/g,"").length;return 10===e||13===e?null:{isbnformat:!0}},Fn=function(t){return!(t=>t instanceof _t)(t)||t.controls.some(n=>!!n.value)?null:{atleastonevalue:!0}};let wn=(()=>{class t{constructor(e,r){this.renderer=e,this.elementRef=r,this.onInput=i=>{const s=i?new Date(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()):null,a=s?s.toISOString():null;this.onChange(a)},this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){const r=e?new Date(e):null,i=r?new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())):null;this.renderer.setProperty(this.elementRef.nativeElement,"valueAsDate",i)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Qsj),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","useValueAsLocalIso",""]],hostBindings:function(e,r){1&e&&o.NdJ("input",function(s){return r.onInput(s.target.valueAsDate)})("blur",function(){return r.onTouched()})},standalone:!0,features:[o._Bn([{provide:h,useExisting:(0,o.Gpc)(()=>t),multi:!0}])]}),t})();function On(t,n){if(1&t&&(o.TgZ(0,"p",1),o._uU(1),o.qZA()),2&t){const e=n.$implicit;o.xp6(1),o.hij(" ",e,"\n")}}let Sn=(()=>{class t{constructor(e){this.form=e,this.messages={}}get errors(){if(!this.controlName)return[];const e=this.form.control.get(this.controlName);return e&&e.errors&&e.touched?Object.keys(e.errors).map(r=>this.messages[r]):[]}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(w))};static#t=this.\u0275cmp=o.Xpm({type:t,selectors:[["bm-form-errors"]],inputs:{controlName:"controlName",messages:"messages"},decls:1,vars:1,consts:[["class","error",4,"ngFor","ngForOf"],[1,"error"]],template:function(r,i){1&r&&o.YNc(0,On,2,1,"p",0),2&r&&o.Q6J("ngForOf",i.errors)},dependencies:[_.sg]})}return t})();function Nn(t,n){if(1&t&&o._UZ(0,"input",20),2&t){const e=n.index;o.Q6J("formControlName",e),o.uIk("aria-label","Author "+e)}}const Bn=function(){return{required:"Title is required"}},In=function(){return{required:"ISBN is required",isbnformat:"ISBN must have 10 or 13 chars",isbnexists:"ISBN already exists"}},Gn=function(){return{atleastonevalue:"At least one author required"}};let yt=(()=>{class t{constructor(){this.submitBook=new o.vpe,this.form=new k({title:new f("",{nonNullable:!0,validators:ge.required}),subtitle:new f("",{nonNullable:!0}),isbn:new f("",{nonNullable:!0,validators:[ge.required,En],asyncValidators:(0,o.f3M)(Mn).isbnExists()}),description:new f("",{nonNullable:!0}),published:new f("",{nonNullable:!0}),authors:this.buildAuthorsArray([""]),thumbnailUrl:new f("",{nonNullable:!0})})}ngOnChanges(){this.book?(this.setFormValues(this.book),this.setEditMode(!0)):this.setEditMode(!1)}setFormValues(e){this.form.patchValue(e),this.form.setControl("authors",this.buildAuthorsArray(e.authors))}setEditMode(e){const r=this.form.controls.isbn;e?r.disable():r.enable()}buildAuthorsArray(e){return new _t(e.map(r=>new f(r,{nonNullable:!0})),Fn)}get authors(){return this.form.controls.authors}addAuthorControl(){this.authors.push(new f("",{nonNullable:!0}))}submitForm(){const e=this.form.getRawValue(),r=e.authors.filter(s=>!!s),i={...e,authors:r};this.submitBook.emit(i)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275cmp=o.Xpm({type:t,selectors:[["bm-book-form"]],inputs:{book:"book"},outputs:{submitBook:"submitBook"},features:[o.TTD],decls:30,vars:9,consts:[[3,"formGroup","ngSubmit"],["for","title"],["id","title","formControlName","title"],["controlName","title",3,"messages"],["for","subtitle"],["id","subtitle","formControlName","subtitle"],["for","isbn"],["id","isbn","formControlName","isbn"],["controlName","isbn",3,"messages"],["type","button",1,"add",3,"click"],["formArrayName","authors"],[3,"formControlName",4,"ngFor","ngForOf"],["controlName","authors",3,"messages"],["for","description"],["id","description","formControlName","description"],["for","published"],["type","date","useValueAsLocalIso","","id","published","formControlName","published"],["for","thumbnailUrl"],["type","url","id","thumbnailUrl","formControlName","thumbnailUrl"],["type","submit",3,"disabled"],[3,"formControlName"]],template:function(r,i){1&r&&(o.TgZ(0,"form",0),o.NdJ("ngSubmit",function(){return i.submitForm()}),o.TgZ(1,"label",1),o._uU(2,"Title"),o.qZA(),o._UZ(3,"input",2)(4,"bm-form-errors",3),o.TgZ(5,"label",4),o._uU(6,"Subtitle"),o.qZA(),o._UZ(7,"input",5),o.TgZ(8,"label",6),o._uU(9,"ISBN"),o.qZA(),o._UZ(10,"input",7)(11,"bm-form-errors",8),o.TgZ(12,"label"),o._uU(13,"Authors"),o.qZA(),o.TgZ(14,"button",9),o.NdJ("click",function(){return i.addAuthorControl()}),o._uU(15," + Author "),o.qZA(),o.TgZ(16,"fieldset",10),o.YNc(17,Nn,1,2,"input",11),o.qZA(),o._UZ(18,"bm-form-errors",12),o.TgZ(19,"label",13),o._uU(20,"Description"),o.qZA(),o._UZ(21,"textarea",14),o.TgZ(22,"label",15),o._uU(23,"Published"),o.qZA(),o._UZ(24,"input",16),o.TgZ(25,"label",17),o._uU(26,"Thumbnail URL"),o.qZA(),o._UZ(27,"input",18),o.TgZ(28,"button",19),o._uU(29," Save "),o.qZA()()),2&r&&(o.Q6J("formGroup",i.form),o.xp6(4),o.Q6J("messages",o.DdM(6,Bn)),o.xp6(7),o.Q6J("messages",o.DdM(7,In)),o.xp6(6),o.Q6J("ngForOf",i.authors.controls),o.xp6(1),o.Q6J("messages",o.DdM(8,Gn)),o.xp6(10),o.Q6J("disabled",i.form.invalid))},dependencies:[_.sg,Ke,S,He,Pe,w,se,L,wn,Sn]})}return t})(),Tn=(()=>{class t{constructor(e,r){this.service=e,this.router=r}create(e){this.service.create(e).subscribe(r=>{this.router.navigate(["/books",r.isbn])})}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(ce.T),o.Y36(O.F0))};static#t=this.\u0275cmp=o.Xpm({type:t,selectors:[["bm-book-create"]],decls:3,vars:0,consts:[[3,"submitBook"]],template:function(r,i){1&r&&(o.TgZ(0,"h1"),o._uU(1,"Create Book"),o.qZA(),o.TgZ(2,"bm-book-form",0),o.NdJ("submitBook",function(a){return i.create(a)}),o.qZA())},dependencies:[yt]})}return t})();var kn=l(4664);function xn(t,n){if(1&t){const e=o.EpF();o.TgZ(0,"bm-book-form",1),o.NdJ("submitBook",function(i){o.CHM(e);const s=o.oxw();return o.KtG(s.update(i))}),o.qZA()}2&t&&o.Q6J("book",n.ngIf)}const Un=[{path:"",redirectTo:"create",pathMatch:"full"},{path:"create",component:Tn},{path:"edit/:isbn",component:(()=>{class t{constructor(e,r,i){this.service=e,this.route=r,this.router=i,this.book$=this.route.paramMap.pipe((0,q.U)(s=>s.get("isbn")),(0,kn.w)(s=>this.service.getSingle(s)))}update(e){this.service.update(e).subscribe(r=>{this.router.navigate(["/books",r.isbn])})}static#e=this.\u0275fac=function(r){return new(r||t)(o.Y36(ce.T),o.Y36(O.gz),o.Y36(O.F0))};static#t=this.\u0275cmp=o.Xpm({type:t,selectors:[["bm-book-edit"]],decls:4,vars:3,consts:[[3,"book","submitBook",4,"ngIf"],[3,"book","submitBook"]],template:function(r,i){1&r&&(o.TgZ(0,"h1"),o._uU(1,"Edit Book"),o.qZA(),o.YNc(2,xn,1,1,"bm-book-form",0),o.ALo(3,"async")),2&r&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,i.book$)))},dependencies:[_.O5,yt,_.Ov]})}return t})()}];let Hn=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=o.oAB({type:t});static#n=this.\u0275inj=o.cJS({imports:[O.Bz.forChild(Un),O.Bz]})}return t})(),Pn=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=o.oAB({type:t});static#n=this.\u0275inj=o.cJS({imports:[_.ez,Hn,bn]})}return t})()}}]); \ No newline at end of file diff --git a/browser/chunk-CTMD4SQN.js b/browser/chunk-CTMD4SQN.js new file mode 100644 index 0000000..3bc7a4a --- /dev/null +++ b/browser/chunk-CTMD4SQN.js @@ -0,0 +1,2 @@ +import{$ as E,A as we,B as de,D as B,E as j,F as g,G as s,H as S,I as v,J as he,K as h,L as fe,N as O,O as l,P as u,Q as D,T as Ie,U as Se,V as f,W as Ne,Y as c,_ as Oe,a as m,aa as q,b,ca as ke,da as xe,e as be,f as N,g as Ae,ha as pe,ja as z,k as Me,ka as Pe,la as Te,n as A,na as Be,o as W,p as ue,q as C,r as I,s as Ee,sa as je,t as ce,u as M,ua as Y,v as V,w as d,xa as me,y as T,ya as k,z as Fe}from"./chunk-LH4AV5V3.js";var qe=(()=>{let e=class e{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}};e.\u0275fac=function(r){return new(r||e)(s(j),s(B))},e.\u0275dir=d({type:e});let t=e;return t})(),St=(()=>{let e=class e extends qe{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=de(e)))(o||e)}})(),e.\u0275dir=d({type:e,features:[v]});let t=e;return t})(),ie=new I("NgValueAccessor");var Nt={provide:ie,useExisting:A(()=>ne),multi:!0};function Ot(){let t=pe()?pe().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var kt=new I("CompositionEventMode"),ne=(()=>{let e=class e extends qe{constructor(i,r,o){super(i,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ot())}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}};e.\u0275fac=function(r){return new(r||e)(s(j),s(B),s(kt,8))},e.\u0275dir=d({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&f("input",function(_){return o._handleInput(_.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(_){return o._compositionEnd(_.target.value)})},features:[E([Nt]),v]});let t=e;return t})();function F(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ze(t){return t!=null&&typeof t.length=="number"}var re=new I("NgValidators"),oe=new I("NgAsyncValidators"),xt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,U=class{static min(e){return Pt(e)}static max(e){return Tt(e)}static required(e){return Bt(e)}static requiredTrue(e){return jt(e)}static email(e){return Gt(e)}static minLength(e){return Rt(e)}static maxLength(e){return Ut(e)}static pattern(e){return Ht(e)}static nullValidator(e){return Ye(e)}static compose(e){return et(e)}static composeAsync(e){return it(e)}};function Pt(t){return e=>{if(F(e.value)||F(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(F(e.value)||F(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Bt(t){return F(t.value)?{required:!0}:null}function jt(t){return t.value===!0?null:{required:!0}}function Gt(t){return F(t.value)||xt.test(t.value)?null:{email:!0}}function Rt(t){return e=>F(e.value)||!ze(e.value)?null:e.value.lengthze(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function Ht(t){if(!t)return Ye;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(F(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function Ye(t){return null}function Ze(t){return t!=null}function Xe(t){return Se(t)?be(t):t}function Ke(t){let e={};return t.forEach(n=>{e=n!=null?m(m({},e),n):e}),Object.keys(e).length===0?null:e}function Je(t,e){return e.map(n=>n(t))}function Lt(t){return!t.validate}function Qe(t){return t.map(e=>Lt(e)?e:n=>e.validate(n))}function et(t){if(!t)return null;let e=t.filter(Ze);return e.length==0?null:function(n){return Ke(Je(n,e))}}function tt(t){return t!=null?et(Qe(t)):null}function it(t){if(!t)return null;let e=t.filter(Ze);return e.length==0?null:function(n){let i=Je(n,e).map(Xe);return Ae(i).pipe(N(Ke))}}function nt(t){return t!=null?it(Qe(t)):null}function Ge(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function rt(t){return t._rawValidators}function ot(t){return t._rawAsyncValidators}function ge(t){return t?Array.isArray(t)?t:[t]:[]}function X(t,e){return Array.isArray(t)?t.includes(e):t===e}function Re(t,e){let n=ge(e);return ge(t).forEach(r=>{X(n,r)||n.push(r)}),n}function Ue(t,e){return ge(e).filter(n=>!X(t,n))}var K=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=tt(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},p=class extends K{get formDirective(){return null}get path(){return null}},H=class extends K{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},J=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},$t={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ui=b(m({},$t),{"[class.ng-submitted]":"isSubmitted"}),st=(()=>{let e=class e extends J{constructor(i){super(i)}};e.\u0275fac=function(r){return new(r||e)(s(H,2))},e.\u0275dir=d({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&fe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[v]});let t=e;return t})(),at=(()=>{let e=class e extends J{constructor(i){super(i)}};e.\u0275fac=function(r){return new(r||e)(s(p,10))},e.\u0275dir=d({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&fe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[v]});let t=e;return t})();var G="VALID",Z="INVALID",x="PENDING",R="DISABLED";function ve(t){return(se(t)?t.validators:t)||null}function Wt(t){return Array.isArray(t)?tt(t):t||null}function ye(t,e){return(se(e)?e.asyncValidators:t)||null}function qt(t){return Array.isArray(t)?nt(t):t||null}function se(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function lt(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new W(1e3,"");if(!i[n])throw new W(1001,"")}function ut(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new W(1002,"")})}var L=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===Z}get pending(){return this.status==x}get disabled(){return this.status===R}get enabled(){return this.status!==R}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Re(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Re(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ue(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ue(e,this._rawAsyncValidators))}hasValidator(e){return X(this._rawValidators,e)}hasAsyncValidator(e){return X(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=x,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=R,this.errors=null,this._forEachChild(i=>{i.disable(b(m({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(b(m({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=G,this._forEachChild(i=>{i.enable(b(m({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(b(m({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===x)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?R:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=x,this._hasOwnPendingAsyncValidator=!0;let n=Xe(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new S,this.statusChanges=new S}_calculateStatus(){return this._allControlsDisabled()?R:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(x)?x:this._anyControlsHaveStatus(Z)?Z:G}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){se(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Wt(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=qt(this._rawAsyncValidators)}},Q=class extends L{constructor(e,n,i){super(ve(n),ye(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){ut(this,!0,e),Object.keys(e).forEach(i=>{lt(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var ct=new I("CallSetDisabledState",{providedIn:"root",factory:()=>_e}),_e="always";function Ce(t,e){return[...e.path,t]}function He(t,e,n=_e){Ve(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Yt(t,e),Xt(t,e),Zt(t,e),zt(t,e)}function Le(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),te(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ee(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function zt(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Ve(t,e){let n=rt(t);e.validator!==null?t.setValidators(Ge(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=ot(t);e.asyncValidator!==null?t.setAsyncValidators(Ge(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();ee(e._rawValidators,r),ee(e._rawAsyncValidators,r)}function te(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=rt(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.validator);o.length!==r.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=ot(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.asyncValidator);o.length!==r.length&&(n=!0,t.setAsyncValidators(o))}}}let i=()=>{};return ee(e._rawValidators,i),ee(e._rawAsyncValidators,i),n}function Yt(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&dt(t,e)})}function Zt(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&dt(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function dt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Xt(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Kt(t,e){t==null,Ve(t,e)}function Jt(t,e){return te(t,e)}function Qt(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function ei(t){return Object.getPrototypeOf(t.constructor)===St}function ti(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ii(t,e){if(!e)return null;Array.isArray(e);let n,i,r;return e.forEach(o=>{o.constructor===ne?n=o:ei(o)?i=o:r=o}),r||i||n||null}function ni(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function $e(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function We(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var y=class extends L{constructor(e=null,n,i){super(ve(n),ye(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),se(n)&&(n.nonNullable||n.initialValueIsDefault)&&(We(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){$e(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){$e(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){We(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ri=t=>t instanceof y,oi=(()=>{let e=class e extends p{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=de(e)))(o||e)}})(),e.\u0275dir=d({type:e,features:[v]});let t=e;return t})();var ht=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=d({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var si=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=V({type:e}),e.\u0275inj=C({});let t=e;return t})();var ft=new I("NgModelWithFormControlWarning");var ai={provide:p,useExisting:A(()=>P)},P=(()=>{let e=class e extends p{constructor(i,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new S,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(te(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return He(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){Le(i.control||null,i,!1),ni(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,ti(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,o=this.form.get(i.path);r!==o&&(Le(r||null,i),ri(o)&&(He(o,i,this.callSetDisabledState),i.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);Kt(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&Jt(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ve(this.form,this),this._oldForm&&te(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(s(re,10),s(oe,10),s(ct,8))},e.\u0275dir=d({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&f("submit",function(_){return o.onSubmit(_)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[E([ai]),v,T]});let t=e;return t})(),li={provide:p,useExisting:A(()=>pt)},pt=(()=>{let e=class e extends oi{constructor(i,r,o){super(),this.name=null,this._parent=i,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){mt(this._parent)}};e.\u0275fac=function(r){return new(r||e)(s(p,13),s(re,10),s(oe,10))},e.\u0275dir=d({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[E([li]),v]});let t=e;return t})(),ui={provide:p,useExisting:A(()=>ae)},ae=(()=>{let e=class e extends p{constructor(i,r,o){super(),this.name=null,this._parent=i,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){mt(this._parent)}};e.\u0275fac=function(r){return new(r||e)(s(p,13),s(re,10),s(oe,10))},e.\u0275dir=d({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[E([ui]),v]});let t=e;return t})();function mt(t){return!(t instanceof pt)&&!(t instanceof P)&&!(t instanceof ae)}var ci={provide:H,useExisting:A(()=>De)},De=(()=>{let e=class e extends H{set isDisabled(i){}constructor(i,r,o,a,_){super(),this._ngModelWarningConfig=_,this._added=!1,this.name=null,this.update=new S,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=ii(this,a)}ngOnChanges(i){this._added||this._setUpControl(),Qt(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return Ce(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(s(p,13),s(re,10),s(oe,10),s(ie,10),s(ft,8))},e.\u0275dir=d({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[E([ci]),v,T]});let t=e;return t})();var di=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=V({type:e}),e.\u0275inj=C({imports:[si]});let t=e;return t})(),$=class extends L{constructor(e,n,i){super(ve(n),ye(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,i={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(e,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,i={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),n&&(this.controls.splice(r,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){ut(this,!1,e),e.forEach((i,r)=>{lt(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,i)=>i._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,i)=>{e(n,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};var gt=t=>t instanceof $;var vt=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:[{provide:ft,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:ct,useValue:i.callSetDisabledState??_e}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=V({type:e}),e.\u0275inj=C({imports:[di]});let t=e;return t})();var _t=(()=>{class t{constructor(n,i){this.renderer=n,this.elementRef=i,this.onInput=r=>{let o=r?new Date(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()):null,a=o?o.toISOString():null;this.onChange(a)},this.onChange=()=>{},this.onTouched=()=>{}}writeValue(n){let i=n?new Date(n):null,r=i?new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())):null;this.renderer.setProperty(this.elementRef.nativeElement,"valueAsDate",r)}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",n)}}return t.\u0275fac=function(n){return new(n||t)(s(j),s(B))},t.\u0275dir=d({type:t,selectors:[["","useValueAsLocalIso",""]],hostBindings:function(n,i){n&1&&f("input",function(o){return i.onInput(o.target.valueAsDate)})("blur",function(){return i.onTouched()})},standalone:!0,features:[E([{provide:ie,useExisting:A(()=>t),multi:!0}])]}),t})();var Vt=(()=>{let e=class e{constructor(i){this.service=i}isbnExists(){return i=>this.service.check(i.value).pipe(N(r=>r?{isbnexists:!0}:null))}};e.\u0275fac=function(r){return new(r||e)(Ee(k))},e.\u0275prov=ue({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Dt=function(t){if(!t.value||typeof t.value!="string")return null;let n=t.value.replace(/-/g,"").length;return n===10||n===13?null:{isbnformat:!0}},bt=function(t){return!gt(t)||t.controls.some(e=>!!e.value)?null:{atleastonevalue:!0}};function fi(t,e){if(t&1&&(l(0,"p",1),c(1),u()),t&2){let n=e.$implicit;g(1),Oe(" ",n,` +`)}}var Mt=(()=>{let e=class e{constructor(i){this.form=i,this.messages={}}get errors(){if(!this.controlName)return[];let i=this.form.control.get(this.controlName);return!i||!i.errors||!i.touched?[]:Object.keys(i.errors).map(r=>this.messages[r])}};e.\u0275fac=function(r){return new(r||e)(s(P))},e.\u0275cmp=M({type:e,selectors:[["bm-form-errors"]],inputs:{controlName:"controlName",messages:"messages"},decls:1,vars:1,consts:[["class","error",4,"ngFor","ngForOf"],[1,"error"]],template:function(r,o){r&1&&O(0,fi,2,1,"p",0),r&2&&h("ngForOf",o.errors)},dependencies:[z]});let t=e;return t})();function mi(t,e){if(t&1&&D(0,"input",20),t&2){let n=e.index;h("formControlName",n),he("aria-label","Author "+n)}}var gi=()=>({required:"Title is required"}),vi=()=>({required:"ISBN is required",isbnformat:"ISBN must have 10 or 13 chars",isbnexists:"ISBN already exists"}),yi=()=>({atleastonevalue:"At least one author required"}),le=(()=>{let e=class e{constructor(){this.submitBook=new S,this.form=new Q({title:new y("",{nonNullable:!0,validators:U.required}),subtitle:new y("",{nonNullable:!0}),isbn:new y("",{nonNullable:!0,validators:[U.required,Dt],asyncValidators:ce(Vt).isbnExists()}),description:new y("",{nonNullable:!0}),published:new y("",{nonNullable:!0}),authors:this.buildAuthorsArray([""]),thumbnailUrl:new y("",{nonNullable:!0})})}ngOnChanges(){this.book?(this.setFormValues(this.book),this.setEditMode(!0)):this.setEditMode(!1)}setFormValues(i){this.form.patchValue(i),this.form.setControl("authors",this.buildAuthorsArray(i.authors))}setEditMode(i){let r=this.form.controls.isbn;i?r.disable():r.enable()}buildAuthorsArray(i){return new $(i.map(r=>new y(r,{nonNullable:!0})),bt)}get authors(){return this.form.controls.authors}addAuthorControl(){this.authors.push(new y("",{nonNullable:!0}))}submitForm(){let i=this.form.getRawValue(),r=i.authors.filter(a=>!!a),o=b(m({},i),{authors:r});this.submitBook.emit(o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=M({type:e,selectors:[["bm-book-form"]],inputs:{book:"book"},outputs:{submitBook:"submitBook"},features:[T],decls:30,vars:9,consts:[[3,"formGroup","ngSubmit"],["for","title"],["id","title","formControlName","title"],["controlName","title",3,"messages"],["for","subtitle"],["id","subtitle","formControlName","subtitle"],["for","isbn"],["id","isbn","formControlName","isbn"],["controlName","isbn",3,"messages"],["type","button",1,"add",3,"click"],["formArrayName","authors"],[3,"formControlName",4,"ngFor","ngForOf"],["controlName","authors",3,"messages"],["for","description"],["id","description","formControlName","description"],["for","published"],["type","date","useValueAsLocalIso","","id","published","formControlName","published"],["for","thumbnailUrl"],["type","url","id","thumbnailUrl","formControlName","thumbnailUrl"],["type","submit",3,"disabled"],[3,"formControlName"]],template:function(r,o){r&1&&(l(0,"form",0),f("ngSubmit",function(){return o.submitForm()}),l(1,"label",1),c(2,"Title"),u(),D(3,"input",2)(4,"bm-form-errors",3),l(5,"label",4),c(6,"Subtitle"),u(),D(7,"input",5),l(8,"label",6),c(9,"ISBN"),u(),D(10,"input",7)(11,"bm-form-errors",8),l(12,"label"),c(13,"Authors"),u(),l(14,"button",9),f("click",function(){return o.addAuthorControl()}),c(15," + Author "),u(),l(16,"fieldset",10),O(17,mi,1,2,"input",11),u(),D(18,"bm-form-errors",12),l(19,"label",13),c(20,"Description"),u(),D(21,"textarea",14),l(22,"label",15),c(23,"Published"),u(),D(24,"input",16),l(25,"label",17),c(26,"Thumbnail URL"),u(),D(27,"input",18),l(28,"button",19),c(29," Save "),u()()),r&2&&(h("formGroup",o.form),g(4),h("messages",q(6,gi)),g(7),h("messages",q(7,vi)),g(6),h("ngForOf",o.authors.controls),g(1),h("messages",q(8,yi)),g(10),h("disabled",o.form.invalid))},dependencies:[z,ht,ne,st,at,P,De,ae,_t,Mt]});let t=e;return t})();var Ft=(()=>{let e=class e{constructor(i,r){this.service=i,this.router=r}create(i){this.service.create(i).subscribe(r=>{this.router.navigate(["/books",r.isbn])})}};e.\u0275fac=function(r){return new(r||e)(s(k),s(Y))},e.\u0275cmp=M({type:e,selectors:[["bm-book-create"]],decls:3,vars:0,consts:[[3,"submitBook"]],template:function(r,o){r&1&&(l(0,"h1"),c(1,"Create Book"),u(),l(2,"bm-book-form",0),f("submitBook",function(_){return o.create(_)}),u())},dependencies:[le]});let t=e;return t})();function Ci(t,e){if(t&1){let n=Ie();l(0,"bm-book-form",1),f("submitBook",function(r){Fe(n);let o=Ne();return we(o.update(r))}),u()}if(t&2){let n=e.ngIf;h("book",n)}}var wt=(()=>{let e=class e{constructor(i,r,o){this.service=i,this.route=r,this.router=o,this.book$=this.route.paramMap.pipe(N(a=>a.get("isbn")),Me(a=>this.service.getSingle(a)))}update(i){this.service.update(i).subscribe(r=>{this.router.navigate(["/books",r.isbn])})}};e.\u0275fac=function(r){return new(r||e)(s(k),s(je),s(Y))},e.\u0275cmp=M({type:e,selectors:[["bm-book-edit"]],decls:4,vars:3,consts:[[3,"book","submitBook",4,"ngIf"],[3,"book","submitBook"]],template:function(r,o){r&1&&(l(0,"h1"),c(1,"Edit Book"),u(),O(2,Ci,1,1,"bm-book-form",0),ke(3,"async")),r&2&&(g(2),h("ngIf",xe(3,1,o.book$)))},dependencies:[Pe,le,Te]});let t=e;return t})();var Vi=[{path:"",redirectTo:"create",pathMatch:"full"},{path:"create",component:Ft},{path:"edit/:isbn",component:wt}],It=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=V({type:e}),e.\u0275inj=C({imports:[me.forChild(Vi),me]});let t=e;return t})();var En=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=V({type:e}),e.\u0275inj=C({imports:[Be,It,vt]});let t=e;return t})();export{En as AdminModule}; diff --git a/browser/chunk-KHUABC3J.js b/browser/chunk-KHUABC3J.js new file mode 100644 index 0000000..b2e41d5 --- /dev/null +++ b/browser/chunk-KHUABC3J.js @@ -0,0 +1 @@ +import{a as X}from"./chunk-LLWC3US5.js";import{A as P,C as E,F as r,G as d,H as R,K as c,M as U,N as p,O as m,P as n,Q as x,R as A,S as V,T as H,V as D,W as f,Y as a,Z as v,_ as b,ba as z,c as N,ca as u,da as g,ea as q,fa as G,ja as _,ka as I,l as $,la as L,ma as J,na as K,q as y,sa as Q,u as k,ua as W,v as B,va as w,w as S,x as j,xa as O,ya as F,z as M}from"./chunk-LH4AV5V3.js";var Y=(()=>{let t=class t{constructor(){this.confirm=new R}onClick(){window.confirm(this.confirmText)&&this.confirm.emit()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=S({type:t,selectors:[["","bmConfirm",""]],hostBindings:function(o,l){o&1&&D("click",function(){return l.onClick()})},inputs:{confirmText:["bmConfirm","confirmText"]},outputs:{confirm:"confirm"}});let e=t;return e})();var Z=(()=>{let t=class t{constructor(s,o,l){this.template=s,this.viewContainer=o,this.authService=l,this.destroy$=new N,this.authService.isAuthenticated$.pipe($(this.destroy$)).subscribe(C=>{C?this.viewContainer.createEmbeddedView(this.template):this.viewContainer.clear()})}ngOnDestroy(){this.destroy$.next()}};t.\u0275fac=function(o){return new(o||t)(d(G),d(U),d(X))},t.\u0275dir=S({type:t,selectors:[["","bmLoggedinOnly",""]]});let e=t;return e})();var T=(()=>{let t=class t{transform(s){return s?`${s.substring(0,3)}-${s.substring(3)}`:""}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=j({name:"isbn",type:t,pure:!0});let e=t;return e})();function pt(e,t){if(e&1&&(m(0,"p",9),a(1),n()),e&2){let i=f().ngIf;r(1),v(i.subtitle)}}function lt(e,t){if(e&1&&(m(0,"li"),a(1),n()),e&2){let i=t.$implicit;r(1),v(i)}}function ft(e,t){if(e&1&&(m(0,"div")(1,"h2"),a(2,"Published"),n(),a(3),u(4,"date"),n()),e&2){let i=f().ngIf;r(3),b(" ",q(4,1,i.published,"longDate")," ")}}function dt(e,t){if(e&1&&x(0,"img",10),e&2){let i=f().ngIf;c("src",i.thumbnailUrl,E)}}var ut=e=>["/admin/edit",e];function vt(e,t){if(e&1){let i=H();A(0),m(1,"button",11),D("confirm",function(){M(i);let o=f().ngIf,l=f();return P(l.removeBook(o.isbn))}),a(2," Remove book "),n(),m(3,"a",12),a(4," Edit book "),n(),V()}if(e&2){let i=f().ngIf;r(3),c("routerLink",z(1,ut,i.isbn))}}function bt(e,t){if(e&1&&(m(0,"div",1)(1,"h1"),a(2),n(),p(3,pt,2,1,"p",2),m(4,"div",3)(5,"div")(6,"h2"),a(7,"Authors"),n(),m(8,"ul"),p(9,lt,2,1,"li",4),n()(),m(10,"div")(11,"h2"),a(12,"ISBN"),n(),a(13),u(14,"isbn"),n(),p(15,ft,5,4,"div",5),n(),m(16,"h2"),a(17,"Description"),n(),m(18,"p"),a(19),n(),p(20,dt,1,1,"img",6),m(21,"a",7),a(22,"Back to list"),n(),p(23,vt,5,3,"ng-container",8),n()),e&2){let i=t.ngIf;r(2),v(i.title),r(1),c("ngIf",i.subtitle),r(6),c("ngForOf",i.authors),r(4),b(" ",g(14,7,i.isbn)," "),r(2),c("ngIf",i.published),r(4),v(i.description),r(1),c("ngIf",i.thumbnailUrl)}}var it=(()=>{let t=class t{constructor(s,o,l){this.service=s,this.route=o,this.router=l;let C=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(C)}removeBook(s){this.service.remove(s).subscribe(()=>{this.router.navigateByUrl("/books")})}};t.\u0275fac=function(o){return new(o||t)(d(F),d(Q),d(W))},t.\u0275cmp=k({type:t,selectors:[["bm-book-details"]],decls:2,vars:3,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],["routerLink","..",1,"button","arrow-left"],[4,"bmLoggedinOnly"],["role","doc-subtitle"],["alt","Cover",3,"src"],["bmConfirm","Remove book?",1,"red",3,"confirm"],[1,"button",3,"routerLink"]],template:function(o,l){o&1&&(p(0,bt,24,9,"div",0),u(1,"async")),o&2&&c("ngIf",g(1,1,l.book$))},dependencies:[_,I,w,Y,Z,L,J,T]});let e=t;return e})();function gt(e,t){if(e&1&&x(0,"img",6),e&2){let i=f(2);c("src",i.book.thumbnailUrl,E)}}function ht(e,t){if(e&1&&(m(0,"p",7),a(1),n()),e&2){let i=f(2);r(1),b(" ",i.book.subtitle," ")}}function kt(e,t){if(e&1&&(m(0,"li"),a(1),n()),e&2){let i=t.$implicit;r(1),b(" ",i," ")}}function xt(e,t){if(e&1&&(m(0,"a",1),p(1,gt,1,1,"img",2),m(2,"h2"),a(3),n(),p(4,ht,2,1,"p",3),m(5,"ul",4),p(6,kt,2,1,"li",5),n(),m(7,"div"),a(8),u(9,"isbn"),n()()),e&2){let i=f();c("routerLink",i.book.isbn),r(1),c("ngIf",i.book.thumbnailUrl),r(2),v(i.book.title),r(1),c("ngIf",i.book.subtitle),r(2),c("ngForOf",i.book.authors),r(2),b("ISBN ",g(9,6,i.book.isbn),"")}}var ot=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=k({type:t,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(o,l){o&1&&p(0,xt,10,8,"a",0),o&2&&c("ngIf",l.book)},dependencies:[_,I,w,T]});let e=t;return e})();function It(e,t){if(e&1&&(m(0,"li"),x(1,"bm-book-list-item",4),n()),e&2){let i=t.$implicit;r(1),c("book",i)}}function Ct(e,t){e&1&&(m(0,"li"),a(1," No books available. "),n())}function yt(e,t){if(e&1&&(m(0,"ul",1),p(1,It,2,1,"li",2)(2,Ct,2,0,"li",3),n()),e&2){let i=t.ngIf;r(1),c("ngForOf",i),r(1),c("ngIf",!i.length)}}var nt=(()=>{let t=class t{constructor(s){this.service=s,this.books$=this.service.getAll()}};t.\u0275fac=function(o){return new(o||t)(d(F))},t.\u0275cmp=k({type:t,selectors:[["bm-book-list"]],decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(o,l){o&1&&(m(0,"h1"),a(1,"Books"),n(),p(2,yt,3,2,"ul",0),u(3,"async")),o&2&&(r(2),c("ngIf",g(3,1,l.books$)))},dependencies:[_,I,ot,L]});let e=t;return e})();var Bt=[{path:"",component:nt},{path:":isbn",component:it}],rt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=B({type:t}),t.\u0275inj=y({imports:[O.forChild(Bt),O]});let e=t;return e})();var Zt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=B({type:t}),t.\u0275inj=y({imports:[K,rt]});let e=t;return e})();export{Zt as BooksModule}; diff --git a/browser/chunk-LH4AV5V3.js b/browser/chunk-LH4AV5V3.js new file mode 100644 index 0000000..21c67c1 --- /dev/null +++ b/browser/chunk-LH4AV5V3.js @@ -0,0 +1,8 @@ +var dg=Object.defineProperty,fg=Object.defineProperties;var hg=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var pg=Object.prototype.hasOwnProperty,gg=Object.prototype.propertyIsEnumerable;var Jc=(t,e,r)=>e in t?dg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,y=(t,e)=>{for(var r in e||={})pg.call(e,r)&&Jc(t,r,e[r]);if(Kc)for(var r of Kc(e))gg.call(e,r)&&Jc(t,r,e[r]);return t},Y=(t,e)=>fg(t,hg(e));var Xc=null;var Ds=1;function de(t){let e=Xc;return Xc=t,e}var el={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function mg(t){if(!(Es(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ds)){if(!t.producerMustRecompute(t)&&!ws(t)){t.dirty=!1,t.lastCleanEpoch=Ds;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ds}}function tl(t){return t&&(t.nextProducerIndex=0),de(t)}function nl(t,e){if(de(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Es(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ws(t){Yr(t);for(let e=0;e0}function Yr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function vg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function yg(){throw new Error}var Dg=yg;function ol(t){Dg=t}function M(t){return typeof t=="function"}function on(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Qr=on(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Pt(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Q=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(M(n))try{n()}catch(i){e=i instanceof Qr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{il(i)}catch(s){e=e??[],s instanceof Qr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Qr(e)}}add(e){var r;if(e&&e!==this)if(this.closed)il(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Pt(r,e)}remove(e){let{_finalizers:r}=this;r&&Pt(r,e),e instanceof t&&e._removeParent(this)}};Q.EMPTY=(()=>{let t=new Q;return t.closed=!0,t})();var Is=Q.EMPTY;function Kr(t){return t instanceof Q||t&&"closed"in t&&M(t.remove)&&M(t.add)&&M(t.unsubscribe)}function il(t){M(t)?t():t.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sn={setTimeout(t,e,...r){let{delegate:n}=sn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=sn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Jr(t){sn.setTimeout(()=>{let{onUnhandledError:e}=Oe;if(e)e(t);else throw t})}function Qn(){}var sl=(()=>bs("C",void 0,void 0))();function al(t){return bs("E",void 0,t)}function ul(t){return bs("N",t,void 0)}function bs(t,e,r){return{kind:t,value:e,error:r}}var Ft=null;function an(t){if(Oe.useDeprecatedSynchronousErrorHandling){let e=!Ft;if(e&&(Ft={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Ft;if(Ft=null,r)throw n}}else t()}function cl(t){Oe.useDeprecatedSynchronousErrorHandling&&Ft&&(Ft.errorThrown=!0,Ft.error=t)}var kt=class extends Q{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Kr(e)&&e.add(this)):this.destination=Eg}static create(e,r,n){return new et(e,r,n)}next(e){this.isStopped?Ss(ul(e),this):this._next(e)}error(e){this.isStopped?Ss(al(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ss(sl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},wg=Function.prototype.bind;function Ms(t,e){return wg.call(t,e)}var Ts=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Xr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Xr(n)}else Xr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Xr(r)}}},et=class extends kt{constructor(e,r,n){super();let o;if(M(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Oe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ms(e.next,i),error:e.error&&Ms(e.error,i),complete:e.complete&&Ms(e.complete,i)}):o=e}this.destination=new Ts(o)}};function Xr(t){Oe.useDeprecatedSynchronousErrorHandling?cl(t):Jr(t)}function Cg(t){throw t}function Ss(t,e){let{onStoppedNotification:r}=Oe;r&&sn.setTimeout(()=>r(t,e))}var Eg={closed:!0,next:Qn,error:Cg,complete:Qn};var un=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function fe(t){return t}function xs(...t){return _s(t)}function _s(t){return t.length===0?fe:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var P=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=bg(r)?r:new et(r,n,o);return an(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=ll(n),new n((o,i)=>{let s=new et({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[un](){return this}pipe(...r){return _s(r)(this)}toPromise(r){return r=ll(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function ll(t){var e;return(e=t??Oe.Promise)!==null&&e!==void 0?e:Promise}function Ig(t){return t&&M(t.next)&&M(t.error)&&M(t.complete)}function bg(t){return t&&t instanceof kt||Ig(t)&&Kr(t)}function As(t){return M(t?.lift)}function x(t){return e=>{if(As(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(t,e,r,n,o){return new Ns(t,e,r,n,o)}var Ns=class extends kt{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function cn(){return x((t,e)=>{let r=null;t._refCount++;let n=_(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var ln=class extends P{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,As(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Q;let r=this.getSubject();e.add(this.source.subscribe(_(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Q.EMPTY)}return e}refCount(){return cn()(this)}};var dl=on(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class t extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new eo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new dl}next(r){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Is:(this.currentObservers=null,i.push(r),new Q(()=>{this.currentObservers=null,Pt(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new P;return r.source=this,r}}return t.create=(e,r)=>new eo(e,r),t})(),eo=class extends ue{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Is}};var oe=class extends ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Rs={now(){return(Rs.delegate||Date).now()},delegate:void 0};var to=class extends Q{constructor(e,r){super()}schedule(e,r=0){return this}};var Kn={setInterval(t,e,...r){let{delegate:n}=Kn;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Kn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var no=class extends to{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return Kn.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Kn.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,Pt(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var dn=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};dn.now=Rs.now;var ro=class extends dn{constructor(e,r=dn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var fl=new ro(no);var ye=new P(t=>t.complete());function hl(t){return t&&M(t.schedule)}function Os(t){return t[t.length-1]}function oo(t){return M(Os(t))?t.pop():void 0}function Be(t){return hl(Os(t))?t.pop():void 0}function pl(t,e){return typeof Os(t)=="number"?t.pop():e}function ml(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function gl(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Lt(t){return this instanceof Lt?(this.v=t,this):new Lt(t)}function vl(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(g,S){i.push([f,h,g,S])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(g){d(i[0][3],g)}}function u(f){f.value instanceof Lt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function yl(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof gl=="function"?gl(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var io=t=>t&&typeof t.length=="number"&&typeof t!="function";function so(t){return M(t?.then)}function ao(t){return M(t[un])}function uo(t){return Symbol.asyncIterator&&M(t?.[Symbol.asyncIterator])}function co(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Mg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var lo=Mg();function fo(t){return M(t?.[lo])}function ho(t){return vl(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Lt(r.read());if(o)return yield Lt(void 0);yield yield Lt(n)}}finally{r.releaseLock()}})}function po(t){return M(t?.getReader)}function z(t){if(t instanceof P)return t;if(t!=null){if(ao(t))return Sg(t);if(io(t))return Tg(t);if(so(t))return xg(t);if(uo(t))return Dl(t);if(fo(t))return _g(t);if(po(t))return Ag(t)}throw co(t)}function Sg(t){return new P(e=>{let r=t[un]();if(M(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tg(t){return new P(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Jr)})}function _g(t){return new P(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Dl(t){return new P(e=>{Ng(t,e).catch(r=>e.error(r))})}function Ag(t){return Dl(ho(t))}function Ng(t,e){var r,n,o,i;return ml(this,void 0,void 0,function*(){try{for(r=yl(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function De(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function go(t,e=0){return x((r,n)=>{r.subscribe(_(n,o=>De(n,t,()=>n.next(o),e),()=>De(n,t,()=>n.complete(),e),o=>De(n,t,()=>n.error(o),e)))})}function mo(t,e=0){return x((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function wl(t,e){return z(t).pipe(mo(e),go(e))}function Cl(t,e){return z(t).pipe(mo(e),go(e))}function El(t,e){return new P(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Il(t,e){return new P(r=>{let n;return De(r,e,()=>{n=t[lo](),De(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>M(n?.return)&&n.return()})}function vo(t,e){if(!t)throw new Error("Iterable cannot be null");return new P(r=>{De(r,e,()=>{let n=t[Symbol.asyncIterator]();De(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function bl(t,e){return vo(ho(t),e)}function Ml(t,e){if(t!=null){if(ao(t))return wl(t,e);if(io(t))return El(t,e);if(so(t))return Cl(t,e);if(uo(t))return vo(t,e);if(fo(t))return Il(t,e);if(po(t))return bl(t,e)}throw co(t)}function B(t,e){return e?Ml(t,e):z(t)}function D(...t){let e=Be(t);return B(t,e)}function fn(t,e){let r=M(t)?t:()=>t,n=o=>o.error(r());return new P(e?o=>e.schedule(n,0,o):n)}function Ps(t){return!!t&&(t instanceof P||M(t.lift)&&M(t.subscribe))}var tt=on(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function R(t,e){return x((r,n)=>{let o=0;r.subscribe(_(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Rg}=Array;function Og(t,e){return Rg(e)?t(...e):t(e)}function yo(t){return R(e=>Og(t,e))}var{isArray:Pg}=Array,{getPrototypeOf:Fg,prototype:kg,keys:Lg}=Object;function Do(t){if(t.length===1){let e=t[0];if(Pg(e))return{args:e,keys:null};if(jg(e)){let r=Lg(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function jg(t){return t&&typeof t=="object"&&Fg(t)===kg}function wo(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Jn(...t){let e=Be(t),r=oo(t),{args:n,keys:o}=Do(t);if(n.length===0)return B([],e);let i=new P(Vg(n,e,o?s=>wo(o,s):fe));return r?i.pipe(yo(r)):i}function Vg(t,e,r=fe){return n=>{Sl(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=B(t[u],e),l=!1;c.subscribe(_(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Sl(t,e,r){t?De(r,t,e):e()}function Tl(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=S=>c{i&&e.next(S),c++;let I=!1;z(r(S,l++)).subscribe(_(e,w=>{o?.(w),i?h(w):e.next(w)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;u.length&&cg(w)):g(w)}f()}catch(w){e.error(w)}}))};return t.subscribe(_(e,h,()=>{d=!0,f()})),()=>{a?.()}}function K(t,e,r=1/0){return M(e)?K((n,o)=>R((i,s)=>e(n,i,o,s))(z(t(n,o))),r):(typeof e=="number"&&(r=e),x((n,o)=>Tl(n,o,t,r)))}function He(t=1/0){return K(fe,t)}function xl(){return He(1)}function hn(...t){return xl()(B(t,Be(t)))}function Co(t){return new P(e=>{z(t()).subscribe(e)})}function $g(...t){let e=oo(t),{args:r,keys:n}=Do(t),o=new P(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(n?wo(n,a):a),i.complete())}))}});return e?o.pipe(yo(e)):o}function Fs(...t){let e=Be(t),r=pl(t,1/0),n=t;return n.length?n.length===1?z(n[0]):He(r)(B(n,e)):ye}function he(t,e){return x((r,n)=>{let o=0;r.subscribe(_(n,i=>t.call(e,i,o++)&&n.next(i)))})}function Se(t){return x((e,r)=>{let n=null,o=!1,i;n=e.subscribe(_(r,void 0,void 0,s=>{i=z(t(s,Se(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function _l(t,e,r,n,o){return(i,s)=>{let a=r,u=e,c=0;i.subscribe(_(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function nt(t,e){return M(e)?K(t,e,1):K(t,1)}function Ug(t,e=fl){return x((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,n.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function vt(t){return x((e,r)=>{let n=!1;e.subscribe(_(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function rt(t){return t<=0?()=>ye:x((e,r)=>{let n=0;e.subscribe(_(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function ks(t){return R(()=>t)}function Eo(t,e=fe){return t=t??Bg,x((r,n)=>{let o,i=!0;r.subscribe(_(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function Bg(t,e){return t===e}function Io(t=Hg){return x((e,r)=>{let n=!1;e.subscribe(_(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function Hg(){return new tt}function yt(t){return x((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ze(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((o,i)=>t(o,i,n)):fe,rt(1),r?vt(e):Io(()=>new tt))}function pn(t){return t<=0?()=>ye:x((e,r)=>{let n=[];e.subscribe(_(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Ls(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((o,i)=>t(o,i,n)):fe,pn(1),r?vt(e):Io(()=>new tt))}function js(t,e){return x(_l(t,e,arguments.length>=2,!0))}function bo(t={}){let{connector:e=()=>new ue,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},g=()=>{let S=s;h(),S?.unsubscribe()};return x((S,I)=>{c++,!d&&!l&&f();let w=u=u??e();I.add(()=>{c--,c===0&&!d&&!l&&(a=Vs(g,o))}),w.subscribe(I),!s&&c>0&&(s=new et({next:Z=>w.next(Z),error:Z=>{d=!0,f(),a=Vs(h,r,Z),w.error(Z)},complete:()=>{l=!0,f(),a=Vs(h,n),w.complete()}}),z(S).subscribe(s))})(i)}}function Vs(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new et({next:()=>{n.unsubscribe(),t()}});return z(e(...r)).subscribe(n)}function $s(...t){let e=Be(t);return x((r,n)=>{(e?hn(t,r,e):hn(t,r)).subscribe(n)})}function ie(t,e){return x((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(_(n,u=>{o?.unsubscribe();let c=0,l=i++;z(t(u,l)).subscribe(o=_(n,d=>n.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mo(t){return x((e,r)=>{z(t).subscribe(_(r,()=>r.complete(),Qn)),!r.closed&&e.subscribe(r)})}function J(t,e,r){let n=M(t)||e||r?{next:t,error:e,complete:r}:t;return n?x((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(_(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):fe}function $(t){for(let e in t)if(t[e]===$)return e;throw Error("Could not find renamed property on target object.")}function So(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ce(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ce).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Al(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var zg=$({__forward_ref__:$});function gd(t){return t.__forward_ref__=gd,t.toString=function(){return ce(this())},t}function pe(t){return md(t)?t():t}function md(t){return typeof t=="function"&&t.hasOwnProperty(zg)&&t.__forward_ref__===gd}function vd(t){return t&&!!t.\u0275providers}var yd="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(ii(e,r)),this.code=e}};function ii(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Wg=$({\u0275cmp:$}),Gg=$({\u0275dir:$}),qg=$({\u0275pipe:$}),Zg=$({\u0275mod:$}),jo=$({\u0275fac:$}),Xn=$({__NG_ELEMENT_ID__:$}),Nl=$({__NG_ENV_ID__:$});function si(t){return typeof t=="string"?t:t==null?"":String(t)}function Yg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():si(t)}function Qg(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function Ga(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function Kg(t,e){t==null&&Jg(e,t,null,"!=")}function Jg(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function it(t){return{providers:t.providers||[],imports:t.imports||[]}}function ai(t){return Rl(t,wd)||Rl(t,Cd)}function Dd(t){return ai(t)!==null}function Rl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Xg(t){let e=t&&(t[wd]||t[Cd]);return e||null}function Ol(t){return t&&(t.hasOwnProperty(Pl)||t.hasOwnProperty(em))?t[Pl]:null}var wd=$({\u0275prov:$}),Pl=$({\u0275inj:$}),Cd=$({ngInjectableDef:$}),em=$({ngInjectorDef:$}),O=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(O||{}),ta;function Ed(){return ta}function we(t){let e=ta;return ta=t,e}function Id(t,e,r){let n=ai(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&O.Optional)return null;if(e!==void 0)return e;Ga(ce(t),"Injector")}var te=globalThis;var E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var tm={},nr=tm,na="__NG_DI_FLAG__",Vo="ngTempTokenPath",nm="ngTokenPath",rm=/\n/gm,om="\u0275",Fl="__source",Dn;function im(){return Dn}function Dt(t){let e=Dn;return Dn=t,e}function sm(t,e=O.Default){if(Dn===void 0)throw new v(-203,!1);return Dn===null?Id(t,void 0,e):Dn.get(t,e&O.Optional?null:void 0,e)}function m(t,e=O.Default){return(Ed()||sm)(pe(t),e)}function p(t,e=O.Default){return m(t,ui(e))}function ui(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ra(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(rm,` + `)}`}function lr(t){return{toString:t}.toString()}var Md=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Md||{}),Ze=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ze||{}),Cn={},Te=[];function Sd(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function oa(t,e,r){let n=0;for(;ne){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&Sd(h,c,0)!==-1||n&2&&c!==f){if(Pe(n))return!1;s=!0}}}}return Pe(n)||s}function Pe(t){return(t&1)===0}function pm(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Pe(s)&&(e+=Ll(i,o),o=""),n=s,i=i||!Pe(n);r++}return o!==""&&(e+=Ll(i,o)),e}function Dm(t){return t.map(ym).join(",")}function wm(t){let e=[],r=[],n=1,o=2;for(;n{let e=Fd(t),r=Y(y({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Md.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ze.Emulated,styles:t.styles||Te,_:null,schemas:t.schemas||null,tView:null,id:""});kd(r);let n=t.dependencies;return r.directiveDefs=Vl(n,!1),r.pipeDefs=Vl(n,!0),r.id=Im(r),r})}function Cm(t){return Et(t)||Nd(t)}function Em(t){return t!==null}function st(t){return lr(()=>({type:t.type,bootstrap:t.bootstrap||Te,declarations:t.declarations||Te,imports:t.imports||Te,exports:t.exports||Te,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jl(t,e){if(t==null)return Cn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,e&&(e[o]=i)}return r}function Qt(t){return lr(()=>{let e=Fd(t);return kd(e),e})}function qa(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Et(t){return t[Wg]||null}function Nd(t){return t[Gg]||null}function Rd(t){return t[qg]||null}function Od(t){let e=Et(t)||Nd(t)||Rd(t);return e!==null?e.standalone:!1}function Pd(t,e){let r=t[Zg]||null;if(!r&&e===!0)throw new Error(`Type ${ce(t)} does not have '\u0275mod' property.`);return r}function Fd(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Cn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Te,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jl(t.inputs,e),outputs:jl(t.outputs),debugInfo:null}}function kd(t){t.features?.forEach(e=>e(t))}function Vl(t,e){if(!t)return null;let r=e?Rd:Cm;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Em)}function Im(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var at=0,A=1,b=2,X=3,Fe=4,Le=5,ia=6,or=7,xe=8,En=9,In=10,ne=11,ir=12,$l=13,Nn=14,Ye=15,dr=16,gn=17,qe=18,ci=19,Ld=20,wt=21,Us=22,$t=23,Ie=25,jd=1;var Ut=7,$o=8,bn=9,Ee=10,Mn=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Mn||{});function Ct(t){return Array.isArray(t)&&typeof t[jd]=="object"}function ke(t){return Array.isArray(t)&&t[jd]===!0}function Za(t){return(t.flags&4)!==0}function li(t){return t.componentOffset>-1}function di(t){return(t.flags&1)===1}function It(t){return!!t.template}function bm(t){return(t[b]&512)!==0}function Bt(t,e){let r=t.hasOwnProperty(jo);return r?t[jo]:null}var sa=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Rn(){return Vd}function Vd(t){return t.type.prototype.ngOnChanges&&(t.setInput=Sm),Mm}Rn.ngInherit=!0;function Mm(){let t=Ud(this),e=t?.current;if(e){let r=t.previous;if(r===Cn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Sm(t,e,r,n){let o=this.declaredInputs[r],i=Ud(t)||Tm(t,{previous:Cn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new sa(u&&u.currentValue,e,a===Cn),t[n]=e}var $d="__ngSimpleChanges__";function Ud(t){return t[$d]||null}function Tm(t,e){return t[$d]=e}var Ul=null;var We=function(t,e,r){Ul?.(t,e,r)},xm="svg",_m="math";function Qe(t){for(;Array.isArray(t);)t=t[at];return t}function Bd(t,e){return Qe(e[t])}function _e(t,e){return Qe(e[t.index])}function Hd(t,e){return t.data[e]}function Ya(t,e){return t[e]}function St(t,e){let r=e[t];return Ct(r)?r:r[at]}function Am(t){return(t[b]&4)===4}function Qa(t){return(t[b]&128)===128}function Nm(t){return ke(t[X])}function Sn(t,e){return e==null?null:t[e]}function zd(t){t[gn]=0}function Rm(t){t[b]&1024||(t[b]|=1024,Qa(t)&&fi(t))}function Om(t,e){for(;t>0;)e=e[Nn],t--;return e}function Wd(t){t[b]&9216&&fi(t)}function fi(t){let e=t[X];for(;e!==null&&!(ke(e)&&e[b]&Mn.HasChildViewsToRefresh||Ct(e)&&e[b]&8192);){if(ke(e))e[b]|=Mn.HasChildViewsToRefresh;else if(e[b]|=8192,!Qa(e))break;e=e[X]}}function Gd(t,e){if((t[b]&256)===256)throw new v(911,!1);t[wt]===null&&(t[wt]=[]),t[wt].push(e)}function Pm(t,e){if(t[wt]===null)return;let r=t[wt].indexOf(e);r!==-1&&t[wt].splice(r,1)}var N={lFrame:Xd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fm(){return N.lFrame.elementDepthCount}function km(){N.lFrame.elementDepthCount++}function Lm(){N.lFrame.elementDepthCount--}function qd(){return N.bindingsEnabled}function jm(){return N.skipHydrationRootTNode!==null}function Vm(t){return N.skipHydrationRootTNode===t}function $m(){N.skipHydrationRootTNode=null}function F(){return N.lFrame.lView}function le(){return N.lFrame.tView}function UA(t){return N.lFrame.contextLView=t,t[xe]}function BA(t){return N.lFrame.contextLView=null,t}function me(){let t=Zd();for(;t!==null&&t.type===64;)t=t.parent;return t}function Zd(){return N.lFrame.currentTNode}function Um(){let t=N.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Kt(t,e){let r=N.lFrame;r.currentTNode=t,r.isParent=e}function Ka(){return N.lFrame.isParent}function Yd(){N.lFrame.isParent=!1}function Bm(){return N.lFrame.contextLView}function hi(){let t=N.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Hm(t){return N.lFrame.bindingIndex=t}function Ja(){return N.lFrame.bindingIndex++}function zm(t){let e=N.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Wm(){return N.lFrame.inI18n}function Gm(t,e){let r=N.lFrame;r.bindingIndex=r.bindingRootIndex=t,aa(e)}function qm(){return N.lFrame.currentDirectiveIndex}function aa(t){N.lFrame.currentDirectiveIndex=t}function Zm(t){let e=N.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Qd(){return N.lFrame.currentQueryIndex}function Xa(t){N.lFrame.currentQueryIndex=t}function Ym(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Le]:null}function Kd(t,e,r){if(r&O.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&O.Host);)if(o=Ym(i),o===null||(i=i[Nn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=N.lFrame=Jd();return n.currentTNode=e,n.lView=t,!0}function eu(t){let e=Jd(),r=t[A];N.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Jd(){let t=N.lFrame,e=t===null?null:t.child;return e===null?Xd(t):e}function Xd(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function ef(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var tf=ef;function tu(){let t=ef();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Qm(t){return(N.lFrame.contextLView=Om(t,N.lFrame.contextLView))[xe]}function On(){return N.lFrame.selectedIndex}function Ht(t){N.lFrame.selectedIndex=t}function nf(){let t=N.lFrame;return Hd(t.tView,t.selectedIndex)}function Km(){return N.lFrame.currentNamespace}var rf=!0;function pi(){return rf}function gi(t){rf=t}function Jm(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=Vd(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function mi(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[gn]+=65536),(a>14>16&&(t[b]&3)===e&&(t[b]+=16384,Bl(a,i)):Bl(a,i)}var wn=-1,zt=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function ev(t){return t instanceof zt}function tv(t){return(t.flags&8)!==0}function nv(t){return(t.flags&16)!==0}function sf(t){return t!==wn}function Uo(t){let e=t&32767;return t&32767}function rv(t){return t>>16}function Bo(t,e){let r=rv(t),n=e;for(;r>0;)n=n[Nn],r--;return n}var ua=!0;function Ho(t){let e=ua;return ua=t,e}var ov=256,af=ov-1,uf=5,iv=0,Ge={};function sv(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Xn)&&(n=r[Xn]),n==null&&(n=r[Xn]=iv++);let o=n&af,i=1<>uf)]|=i}function zo(t,e){let r=cf(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Hs(n.data,t),Hs(e,null),Hs(n.blueprint,null));let o=nu(t,e),i=t.injectorIndex;if(sf(o)){let s=Uo(o),a=Bo(o,e),u=a[A].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Hs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function cf(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function nu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=pf(o),n===null)return wn;if(r++,o=o[Nn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return wn}function ca(t,e,r){sv(t,e,r)}function av(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h=u&&g.type===r)return h}if(o){let h=s[u];if(h&&It(h)&&h.type===r)return u}return null}function Wt(t,e,r,n){let o=t[r],i=e.data;if(ev(o)){let s=o;s.resolving&&Qg(Yg(i[r]));let a=Ho(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?we(s.injectImpl):null,l=Kd(t,n,O.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Jm(r,i[r],e)}finally{c!==null&&we(c),Ho(a),s.resolving=!1,tf()}}return o}function cv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Xn)?t[Xn]:void 0;return typeof e=="number"?e>=0?e&af:lv:e}function Hl(t,e,r){let n=1<>uf)]&n)}function zl(t,e){return!(t&O.Self)&&!(t&O.Host&&e)}var Vt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return ff(this._tNode,this._lView,e,ui(n),r)}};function lv(){return new Vt(me(),F())}function ru(t){return lr(()=>{let e=t.prototype.constructor,r=e[jo]||la(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[jo]||la(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function la(t){return md(t)?()=>{let e=la(pe(t));return e&&e()}:Bt(t)}function dv(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=hf(i,s,r,n|O.Self,Ge);if(a!==Ge)return a;let u=i.parent;if(!u){let c=s[Ld];if(c){let l=c.get(r,Ge,n);if(l!==Ge)return l}u=pf(s),s=s[Nn]}i=u}return o}function pf(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Le]:null}function ou(t){return av(me(),t)}var To="__parameters__";function fv(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function gf(t,e,r){return lr(()=>{let n=fv(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(To)?u[To]:Object.defineProperty(u,To,{value:[]})[To];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function hv(t){let e=te.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function pv(t){return typeof t=="function"}function gv(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?iu(r,e):e(r))}function mf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Wo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function vv(t,e){let r=[];for(let n=0;ne;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function Dv(t,e,r){let n=fr(t,e);return n>=0?t[n|1]=r:(n=~n,yv(t,n,e,r)),n}function zs(t,e){let r=fr(t,e);if(r>=0)return t[r|1]}function fr(t,e){return wv(t,e,1)}function wv(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<e?o=i:n=i+1}return~(o<{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Sv(i));e.push(u)}),Iv(),Promise.all(e).then(()=>{})}var Go=new Map,Ev=new Set;function Iv(){let t=Go;return Go=new Map,t}function bv(){return Go.size===0}function Mv(t){return typeof t=="string"?t:t.text()}function Sv(t){Ev.delete(t)}var hr=new E("ENVIRONMENT_INITIALIZER"),vf=new E("INJECTOR",-1),yf=new E("INJECTOR_DEF_TYPES"),qo=class{get(e,r=nr){if(r===nr){let n=new Error(`NullInjectorError: No provider for ${ce(e)}!`);throw n.name="NullInjectorError",n}return r}};function yi(t){return{\u0275providers:t}}function Tv(...t){return{\u0275providers:Df(!0,t),\u0275fromNgModule:!0}}function Df(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return iu(e,s=>{let a=s;da(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&wf(o,i),r}function wf(t,e){for(let r=0;r{e(i,n)})}}function da(t,e,r,n){if(t=pe(t),!t)return!1;let o=null,i=Ol(t),s=!i&&Et(t);if(!i&&!s){let u=t.ngModule;if(i=Ol(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)da(c,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{iu(i.imports,l=>{da(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&wf(c,e)}if(!a){let c=Bt(o)||(()=>new o);e({provide:o,useFactory:c,deps:Te},o),e({provide:yf,useValue:o,multi:!0},o),e({provide:hr,useValue:()=>m(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;au(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function au(t,e){for(let r of t)vd(r)&&(r=r.\u0275providers),Array.isArray(r)?au(r,e):e(r)}var xv=$({provide:String,useValue:$});function Cf(t){return t!==null&&typeof t=="object"&&xv in t}function _v(t){return!!(t&&t.useExisting)}function Av(t){return!!(t&&t.useFactory)}function Tn(t){return typeof t=="function"}function Nv(t){return!!t.useClass}var Di=new E("Set Injector scope."),Fo={},Rv={},Ws;function uu(){return Ws===void 0&&(Ws=new qo),Ws}var ge=class{},sr=class extends ge{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ha(e,s=>this.processProvider(s)),this.records.set(vf,mn(void 0,this)),o.has("environment")&&this.records.set(ge,mn(void 0,this));let i=this.records.get(Di);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yf,Te,O.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Dt(this),n=we(void 0),o;try{return e()}finally{Dt(r),we(n)}}get(e,r=nr,n=O.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Nl))return e[Nl](this);n=ui(n);let o,i=Dt(this),s=we(void 0);try{if(!(n&O.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Lv(e)&&ai(e);c&&this.injectableDefInScope(c)?u=mn(fa(e),Fo):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&O.Self?uu():this.parent;return r=n&O.Optional&&r===nr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Vo]=a[Vo]||[]).unshift(ce(e)),i)throw a;return um(a,e,"R3InjectorError",this.source)}else throw a}finally{we(s),Dt(i)}}resolveInjectorInitializers(){let e=Dt(this),r=we(void 0),n;try{let o=this.get(hr,Te,O.Self);for(let i of o)i()}finally{Dt(e),we(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ce(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=pe(e);let r=Tn(e)?e:pe(e&&e.provide),n=Pv(e);if(!Tn(e)&&e.multi===!0){let o=this.records.get(r);o||(o=mn(void 0,Fo,!0),o.factory=()=>ra(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}else{let o=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Fo&&(r.value=Rv,r.value=r.factory()),typeof r.value=="object"&&r.value&&kv(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=pe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function fa(t){let e=ai(t),r=e!==null?e.factory:Bt(t);if(r!==null)return r;if(t instanceof E)throw new v(204,!1);if(t instanceof Function)return Ov(t);throw new v(204,!1)}function Ov(t){let e=t.length;if(e>0){let n=vv(e,"?");throw new v(204,!1)}let r=Xg(t);return r!==null?()=>r.factory(t):()=>new t}function Pv(t){if(Cf(t))return mn(void 0,t.useValue);{let e=Ef(t);return mn(e,Fo)}}function Ef(t,e,r){let n;if(Tn(t)){let o=pe(t);return Bt(o)||fa(o)}else if(Cf(t))n=()=>pe(t.useValue);else if(Av(t))n=()=>t.useFactory(...ra(t.deps||[]));else if(_v(t))n=()=>m(pe(t.useExisting));else{let o=pe(t&&(t.useClass||t.provide));if(Fv(t))n=()=>new o(...ra(t.deps));else return Bt(o)||fa(o)}return n}function mn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Fv(t){return!!t.deps}function kv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Lv(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function ha(t,e){for(let r of t)Array.isArray(r)?ha(r,e):r&&vd(r)?ha(r.\u0275providers,e):e(r)}function If(t,e){t instanceof sr&&t.assertNotDestroyed();let r,n=Dt(t),o=we(void 0);try{return e()}finally{Dt(n),we(o)}}function jv(t){if(!Ed()&&!im())throw new v(-203,!1)}function Wl(t,e=null,r=null,n){let o=bf(t,e,r,n);return o.resolveInjectorInitializers(),o}function bf(t,e=null,r=null,n,o=new Set){let i=[r||Te,Tv(t)];return n=n||(typeof t=="object"?void 0:ce(t)),new sr(i,e||uu(),n||null,o)}var je=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Wl({name:""},o,n,"");{let i=n.name??"";return Wl({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=nr,e.NULL=new qo,e.\u0275prov=C({token:e,providedIn:"any",factory:()=>m(vf)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var pa;function Mf(t){pa=t}function Vv(){if(pa!==void 0)return pa;if(typeof document<"u")return document;throw new v(210,!1)}var wi=new E("AppId",{providedIn:"root",factory:()=>$v}),$v="ng",cu=new E("Platform Initializer"),ut=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var lu=new E("CSP nonce",{providedIn:"root",factory:()=>Vv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Sf(t){return t instanceof Function?t():t}function Uv(t){return(t??p(je)).get(ut)==="browser"}function Tf(t){return(t.flags&128)===128}var ot=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ot||{}),Bv=/^>|^->||--!>|)/g,zv="\u200B$1\u200B";function Wv(t){return t.replace(Bv,e=>e.replace(Hv,zv))}var xf=new Map,Gv=0;function qv(){return Gv++}function Zv(t){xf.set(t[ci],t)}function Yv(t){xf.delete(t[ci])}var Gl="__ngContext__";function bt(t,e){Ct(e)?(t[Gl]=e[ci],Zv(e)):t[Gl]=e}var Qv;function du(t,e){return Qv(t,e)}function fu(t){let e=t[X];return ke(e)?e[X]:e}function _f(t){return Nf(t[ir])}function Af(t){return Nf(t[Fe])}function Nf(t){for(;t!==null&&!ke(t);)t=t[Fe];return t}function vn(t,e,r,n,o){if(n!=null){let i,s=!1;ke(n)?i=n:Ct(n)&&(s=!0,n=n[at]);let a=Qe(n);t===0&&r!==null?o==null?Ff(e,r,a):Zo(e,r,a,o||null,!0):t===1&&r!==null?Zo(e,r,a,o||null,!0):t===2?gy(e,a,s):t===3&&e.destroyNode(a),i!=null&&vy(e,t,i,r,o)}}function Kv(t,e){return t.createText(e)}function Jv(t,e,r){t.setValue(e,r)}function Xv(t,e){return t.createComment(Wv(e))}function Rf(t,e,r){return t.createElement(e,r)}function ey(t,e){let r=e[ne];pr(t,e,r,2,null,null),e[at]=null,e[Le]=null}function ty(t,e,r,n,o,i){n[at]=o,n[Le]=e,pr(t,n,r,1,o,i)}function ny(t,e){pr(t,e,e[ne],2,null,null)}function ry(t){let e=t[ir];if(!e)return Gs(t[A],t);for(;e;){let r=null;if(Ct(e))r=e[ir];else{let n=e[Ee];n&&(r=n)}if(!r){for(;e&&!e[Fe]&&e!==t;)Ct(e)&&Gs(e[A],e),e=e[X];e===null&&(e=t),Ct(e)&&Gs(e[A],e),r=e&&e[Fe]}e=r}}function oy(t,e,r,n){let o=Ee+n,i=r.length;n>0&&(r[o-1][Fe]=e),n0&&(t[r-1][Fe]=n[Fe]);let i=Wo(t,Ee+e);ey(n[A],n);let s=i[qe];s!==null&&s.detachView(i[A]),n[X]=null,n[Fe]=null,n[b]&=-129}return n}function Pf(t,e){if(!(e[b]&256)){let r=e[ne];e[$t]&&rl(e[$t]),r.destroyNode&&pr(t,e,r,3,null,null),ry(e)}}function Gs(t,e){if(!(e[b]&256)){e[b]&=-129,e[b]|=256,ay(t,e),sy(t,e),e[A].type===1&&e[ne].destroy();let r=e[dr];if(r!==null&&ke(e[X])){r!==e[X]&&Of(r,e);let n=e[qe];n!==null&&n.detachView(t)}Yv(e)}}function sy(t,e){let r=t.cleanup,n=e[or];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[or]=null);let o=e[wt];if(o!==null){e[wt]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Ze.None||i===Ze.Emulated)return null}return _e(n,r)}}function Zo(t,e,r,n,o){t.insertBefore(e,r,n,o)}function Ff(t,e,r){t.appendChild(e,r)}function ql(t,e,r,n,o){n!==null?Zo(t,e,r,n,o):Ff(t,e,r)}function ly(t,e,r,n){t.removeChild(e,r,n)}function hu(t,e){return t.parentNode(e)}function dy(t,e){return t.nextSibling(e)}function fy(t,e,r){return py(t,e,r)}function hy(t,e,r){return t.type&40?_e(t,r):null}var py=hy,Zl;function Ci(t,e,r,n){let o=uy(t,n,e),i=e[ne],s=n.parent||e[Le],a=fy(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return xo}function Yl(t){return wy()?.createScriptURL(t)||t}var Yo=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yd})`}};function gr(t){return t instanceof Yo?t.changingThisBreaksApplicationSecurity:t}function gu(t,e){let r=Cy(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${yd})`)}return r===e}function Cy(t){return t instanceof Yo&&t.getTypeName()||null}var Ey=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vf(t){return t=String(t),t.match(Ey)?t:"unsafe:"+t}var Ei=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ei||{});function Iy(t){let e=Uf();return e?e.sanitize(Ei.URL,t)||"":gu(t,"URL")?gr(t):Vf(si(t))}function by(t){let e=Uf();if(e)return Yl(e.sanitize(Ei.RESOURCE_URL,t)||"");if(gu(t,"ResourceURL"))return Yl(gr(t));throw new v(904,!1)}function My(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?by:Iy}function $f(t,e,r){return My(e,r)(t)}function Uf(){let t=F();return t&&t[In].sanitizer}var Sy="h",Ty="b";var xy=(t,e,r)=>null;function mu(t,e,r=!1){return xy(t,e,r)}var va=class{},Qo=class{};function _y(t){let e=Error(`No component factory found for ${ce(t)}.`);return e[Ay]=t,e}var Ay="ngComponent";var ya=class{resolveComponentFactory(e){throw _y(e)}},Ii=(()=>{let e=class e{};e.NULL=new ya;let t=e;return t})();function Ny(){return Pn(me(),F())}function Pn(t,e){return new ct(_e(t,e))}var ct=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Ny;let t=e;return t})();function Ry(t){return t instanceof ct?t.nativeElement:t}var ar=class{},mr=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Oy();let t=e;return t})();function Oy(){let t=F(),e=me(),r=St(e.index,t);return(Ct(r)?r:t)[ne]}var Py=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),xn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Fy=new xn("17.0.4"),qs={};function vu(t){let e=de(null);try{return t()}finally{de(e)}}function Bf(t){return Ly(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function ky(t,e){if(Array.isArray(t))for(let r=0;re,wa=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||jy}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new Ca(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ko),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ko),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ca=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Ea=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Ko=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Ea,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ql(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Kl()),deps:[[e,new su,new vi]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new v(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:Kl});let t=e;return t})();function Jo(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(Qe(i)),ke(i)&&Vy(i,n);let s=r.type;if(s&8)Jo(t,e,r.child,n);else if(s&32){let a=du(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=kf(e,r);if(Array.isArray(a))n.push(...a);else{let u=fu(e[Ye]);Jo(u[A],u,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function Vy(t,e){for(let r=Ee;r{fi(t.lView)},consumerOnSignalRead(){this.lView[$t]=this}}),zy="ngOriginalError";function Zs(t){return t[zy]}var Ke=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Zs(e);for(;r&&Zs(r);)r=Zs(r);return r||null}};var zf=!1,Wy=new E("",{providedIn:"root",factory:()=>zf});var Tt={};function HA(t){Wf(le(),F(),On()+t,!1)}function Wf(t,e,r,n){if(!n)if((e[b]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ro(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Oo(e,i,0,r)}Ht(r)}function W(t,e=O.Default){let r=F();if(r===null)return m(t,e);let n=me();return ff(n,r,pe(t),e)}function Gf(){let t="invalid";throw new Error(t)}function Gy(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;nIe&&Wf(t,e,Ie,!1),We(s?2:0,o),r(n,o)}finally{Ht(i),We(s?3:1,o)}}function Du(t,e,r){if(Za(e)){let n=de(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Jy(t,e,r,n){let o=th(e);o.push(r),t.firstCreatePass&&nh(t).push(n,o.length-1)}function Xy(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return jm()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value: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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Jl(t,e,r,n){for(let o in t)if(t.hasOwnProperty(o)){r=r===null?{}:r;let i=t[o];n===null?Xl(r,e,o,i):n.hasOwnProperty(o)&&Xl(r,e,n[o],i)}return r}function Xl(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function eD(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function sD(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;li(r)&&hD(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||zo(r,e),bt(n,e);let s=r.initialInputs;for(let a=o;a-1&&(ga(e,n),Wo(r,n))}this._attachedToViewContainer=!1}Pf(this._lView[A],this._lView)}onDestroy(e){Gd(this._lView,e)}markForCheck(){Mu(this._cdRefInjectingView||this._lView)}detach(){this._lView[b]&=-129}reattach(){Wd(this._lView),this._lView[b]|=128}detectChanges(){wD(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ny(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},Fn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=MD;let t=e;return t})();function MD(t){return SD(me(),F(),(t&16)===16)}function SD(t,e,r){if(li(t)&&!r){let n=St(t.index,e);return new Gt(n,n)}else if(t.type&47){let n=e[Ye];return new Gt(n,e)}return null}var ch=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=TD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ma=class extends ch{constructor(e){super(),this._lView=e}onDestroy(e){return Gd(this._lView,e),()=>Pm(this._lView,e)}};function TD(){return new Ma(F())}var ed=new Set;function Si(t){ed.has(t)||(ed.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Sa=class extends ue{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ys(i),o&&(o=Ys(o)),s&&(s=Ys(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof Q&&e.add(a),a}};function Ys(t){return e=>{setTimeout(t,void 0,e)}}var se=Sa;function td(...t){}function xD(){let t=typeof te.requestAnimationFrame=="function",e=te[t?"requestAnimationFrame":"setTimeout"],r=te[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var V=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=xD().nativeRequestAnimationFrame,ND(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,_D,td,td);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},_D={};function Su(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function AD(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(te,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ta(t),t.isCheckStableRunning=!0,Su(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ta(t))}function ND(t){let e=()=>{AD(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(RD(a))return r.invokeTask(o,i,s,a);try{return nd(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),rd(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return nd(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),rd(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ta(t),Su(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Ta(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function nd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function rd(t){t._nesting--,Su(t)}var xa=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new se,this.onMicrotaskEmpty=new se,this.onStable=new se,this.onError=new se}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}},lh=new E("",{providedIn:"root",factory:dh});function dh(){let t=p(V),e=!0,r=new P(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),n=new P(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{V.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Fs(r,n.pipe(bo()))}function RD(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var yn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(yn||{}),OD={destroy(){}};function Tu(t,e){!e&&jv(Tu);let r=e?.injector??p(je);if(!Uv(r))return OD;Si("NgAfterNextRender");let n=r.get(fh),o=n.handler??=new Aa,i=e?.phase??yn.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(ch).onDestroy(s),u=new _a(r,i,()=>{s(),t()});return o.register(u),{destroy:s}}var _a=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(V),this.errorHandler=e.get(Ke,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Aa=class{constructor(){this.executingCallbacks=!1,this.buckets={[yn.EarlyRead]:new Set,[yn.Write]:new Set,[yn.MixedReadWrite]:new Set,[yn.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new v(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},fh=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function PD(t,e){let r=St(e,t),n=r[A];FD(n,r);let o=r[at];o!==null&&r[ia]===null&&(r[ia]=mu(o,r[En])),xu(n,r,r[xe])}function FD(t,e){for(let r=e.length;r0&&Lf(t,r,i.join(" "))}}function HD(t,e,r){let n=t.projection=[];for(let o=0;o=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=rr(o.hostAttrs,r=rr(r,o.hostAttrs))}}function _o(t){return t===Cn?{}:t===Te?[]:t}function ZD(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function YD(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function QD(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function _u(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[2]&&(r[n]=o[2])}t.inputTransforms=r}function Au(t,e,r){return t[e]=r}function KD(t,e){return t[e]}function qt(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function JD(t,e,r,n){let o=qt(t,e,r);return qt(t,e+1,n)||o}function Nu(t,e,r,n){let o=F(),i=Ja();if(qt(o,i,e)){let s=le(),a=nf();pD(a,o,t,e,r,n)}return Nu}function XD(t,e,r,n){return qt(t,Ja(),r)?e+si(r)+n:Tt}function Ao(t,e){return t<<17|e<<2}function Zt(t){return t>>17&32767}function ew(t){return(t&2)==2}function tw(t,e){return t&131071|e<<17}function Oa(t){return t|2}function An(t){return(t&131068)>>2}function Qs(t,e){return t&-131069|e<<2}function nw(t){return(t&1)===1}function Pa(t){return t|1}function rw(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=Zt(s),u=An(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||fr(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=Zt(t[a+1]);t[n+1]=Ao(f,a),f!==0&&(t[f+1]=Qs(t[f+1],n)),t[a+1]=tw(t[a+1],n)}else t[n+1]=Ao(a,0),a!==0&&(t[a+1]=Qs(t[a+1],n)),a=n;else t[n+1]=Ao(u,0),a===0?a=n:t[u+1]=Qs(t[u+1],n),u=n;c&&(t[n+1]=Oa(t[n+1])),id(t,l,n,!0,i),id(t,l,n,!1,i),ow(e,l,t,n,i),s=Ao(a,u),i?e.classBindings=s:e.styleBindings=s}function ow(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&fr(i,e)>=0&&(r[n+1]=Pa(r[n+1]))}function id(t,e,r,n,o){let i=t[r+1],s=e===null,a=n?Zt(i):An(i),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];iw(c,e)&&(u=!0,t[a+1]=n?Pa(l):Oa(l)),a=n?Zt(l):An(l)}u&&(t[r+1]=n?Oa(i):Pa(i))}function iw(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fr(t,e)>=0:!1}function sw(t,e,r){let n=F(),o=Ja();if(qt(n,o,e)){let i=le(),s=nf();nD(i,s,n,t,e,n[ne],r,!1)}return sw}function sd(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";bu(t,r,i[s],s,n)}function aw(t,e){return uw(t,e,null,!0),aw}function uw(t,e,r,n){let o=F(),i=le(),s=zm(2);if(i.firstUpdatePass&&lw(i,t,s,n),e!==Tt&&qt(o,s,e)){let a=i.data[On()];gw(i,a,o,o[ne],t,o[s+1]=mw(e,r),n,s)}}function cw(t,e){return e>=t.expandoStartIndex}function lw(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[On()],s=cw(t,r);vw(i,n)&&e===null&&!s&&(e=!1),e=dw(o,i,e,n),rw(o,i,e,r,s,n)}}function dw(t,e,r,n){let o=Zm(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ks(null,t,e,r,n),r=ur(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ks(o,t,e,r,n),i===null){let u=fw(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Ks(null,t,e,u[1],n),u=ur(u,e.attrs,n),hw(t,e,n,u))}else i=pw(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function fw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(An(n)!==0)return t[Zt(n)]}function hw(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[Zt(o)]=n}function pw(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===Tt&&(f=d?Te:void 0);let h=d?zs(f,n):l===n?f:void 0;if(c&&!ti(h)&&(h=zs(u,n)),ti(h)&&(a=h,s))return a;let g=t[o+1];o=s?Zt(g):An(g)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=zs(u,n))}return a}function ti(t){return t!==void 0}function mw(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ce(gr(t)))),t}function vw(t,e){return(t.flags&(e?8:16))!==0}var zA=new RegExp(`^(\\d+)*(${Ty}|${Sy})*(.*)`);var yw=(t,e)=>null;function ud(t,e){return yw(t,e)}function Dw(t,e,r,n){let o=e.tView,s=t[b]&4096?4096:16,a=bi(t,o,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),u=t[e.index];a[dr]=u;let c=t[qe];return c!==null&&(a[qe]=c.createEmbeddedView(o)),xu(o,a,r),a}function cd(t,e){return!e||Tf(t)}function ww(t,e,r,n=!0){let o=e[A];if(oy(o,e,t,r),n){let i=ma(r,t),s=e[ne],a=hu(s,t[Ut]);a!==null&&ty(o,t[Le],s,e,a,i)}}var xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Cw;let t=e;return t})();function Cw(){let t=me();return ph(t,F())}var Ew=xt,hh=class extends Ew{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Pn(this._hostTNode,this._hostLView)}get injector(){return new Vt(this._hostTNode,this._hostLView)}get parentInjector(){let e=nu(this._hostTNode,this._hostLView);if(sf(e)){let r=Bo(e,this._hostLView),n=Uo(e),o=r[A].data[n+8];return new Vt(o,r)}else return new Vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=ld(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ee}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=ud(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,cd(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!pv(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let u=s?e:new _n(Et(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let S=(s?c:this.parentInjector).get(ge,null);S&&(i=S)}let l=Et(u.componentType??{}),d=ud(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,cd(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(Nm(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[X],c=new hh(u,u[Le],u[X]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return ww(s,o,i,n),e.attachToViewContainerRef(),mf(Js(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=ld(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ga(this._lContainer,r);n&&(Wo(Js(this._lContainer),r),Pf(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=ga(this._lContainer,r);return n&&Wo(Js(this._lContainer),r)!=null?new Gt(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function ld(t){return t[$o]}function Js(t){return t[$o]||(t[$o]=[])}function ph(t,e){let r,n=e[t.index];return ke(n)?r=n:(r=Xf(n,e,null,t),e[t.index]=r,Mi(e,r)),bw(r,e,t,n),new hh(r,t,e)}function Iw(t,e){let r=t[ne],n=r.createComment(""),o=_e(e,t),i=hu(r,o);return Zo(r,i,n,dy(r,o),!1),n}var bw=Tw,Mw=(t,e,r)=>!1;function Sw(t,e,r){return Mw(t,e,r)}function Tw(t,e,r,n){if(t[Ut])return;let o;r.type&8?o=Qe(n):o=Iw(e,r),t[Ut]=o}function xw(t,e,r,n,o,i,s,a,u){let c=e.consts,l=vr(e,t,4,s||null,Sn(c,a));Iu(e,r,l,Sn(c,u)),mi(e,l);let d=l.tView=Eu(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function _w(t,e,r,n,o,i,s,a){let u=F(),c=le(),l=t+Ie,d=c.firstCreatePass?xw(l,c,u,e,r,n,o,i,s):c.data[l];Kt(d,!1);let f=Aw(c,u,d,t);pi()&&Ci(c,u,f,d),bt(f,u);let h=Xf(f,u,f,d);return u[l]=h,Mi(u,h),Sw(h,d,u),di(d)&&wu(c,u,d),s!=null&&Cu(u,d,a),_w}var Aw=Nw;function Nw(t,e,r,n){return gi(!0),e[ne].createComment("")}function Rw(t,e,r,n,o,i){let s=e.consts,a=Sn(s,o),u=vr(e,t,2,n,a);return Iu(e,r,u,Sn(s,i)),u.attrs!==null&&Xo(u,u.attrs,!1),u.mergedAttrs!==null&&Xo(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function gh(t,e,r,n){let o=F(),i=le(),s=Ie+t,a=o[ne],u=i.firstCreatePass?Rw(s,i,o,e,r,n):i.data[s],c=Ow(i,o,u,a,e,t);o[s]=c;let l=di(u);return Kt(u,!0),jf(a,c,u),(u.flags&32)!==32&&pi()&&Ci(i,o,c,u),Fm()===0&&bt(c,o),km(),l&&(wu(i,o,u),Du(i,u,o)),n!==null&&Cu(o,u),gh}function mh(){let t=me();Ka()?Yd():(t=t.parent,Kt(t,!1));let e=t;Vm(e)&&$m(),Lm();let r=le();return r.firstCreatePass&&(mi(r,t),Za(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&tv(e)&&sd(r,e,F(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&nv(e)&&sd(r,e,F(),e.stylesWithoutHost,!1),mh}function Ru(t,e,r,n){return gh(t,e,r,n),mh(),Ru}var Ow=(t,e,r,n,o,i)=>(gi(!0),Rf(n,o,Km()));function Pw(t,e,r,n,o){let i=e.consts,s=Sn(i,n),a=vr(e,t,8,"ng-container",s);s!==null&&Xo(a,s,!0);let u=Sn(i,o);return Iu(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function Fw(t,e,r){let n=F(),o=le(),i=t+Ie,s=o.firstCreatePass?Pw(i,o,n,e,r):o.data[i];Kt(s,!0);let a=Lw(o,n,s,t);return n[i]=a,pi()&&Ci(o,n,a,s),bt(a,n),di(s)&&(wu(o,n,s),Du(o,s,n)),r!=null&&Cu(n,s),Fw}function kw(){let t=me(),e=le();return Ka()?Yd():(t=t.parent,Kt(t,!1)),e.firstCreatePass&&(mi(e,t),Za(t)&&e.queries.elementEnd(t)),kw}var Lw=(t,e,r,n)=>(gi(!0),Xv(e[ne],""));function GA(){return F()}var jt=void 0;function jw(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var Vw=["en",[["a","p"],["AM","PM"],jt],[["AM","PM"],jt,jt],[["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"]],jt,[["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"]],jt,[["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}",jt,"{1} 'at' {0}",jt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",jw],er={};function vh(t,e,r){typeof e!="string"&&(r=e,e=t[q.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),er[e]=t,r&&(er[e][q.ExtraData]=r)}function Ae(t){let e=$w(t),r=dd(e);if(r)return r;let n=e.split("-")[0];if(r=dd(n),r)return r;if(n==="en")return Vw;throw new v(701,!1)}function dd(t){return t in er||(er[t]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[t]),er[t]}var q=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(q||{});function $w(t){return t.toLowerCase().replace(/_/g,"-")}var ni="en-US";var Uw=ni;function Bw(t){Kg(t,"Expected localeId to be defined"),typeof t=="string"&&(Uw=t.toLowerCase().replace(/_/g,"-"))}function kn(t){return!!t&&typeof t.then=="function"}function Ou(t){return!!t&&typeof t.subscribe=="function"}function Pu(t,e,r,n){let o=F(),i=le(),s=me();return zw(i,o,o[ne],s,t,e,n),Pu}function Hw(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function zw(t,e,r,n,o,i,s){let a=di(n),c=t.firstCreatePass&&nh(t),l=e[xe],d=th(e),f=!0;if(n.type&3||s){let S=_e(n,e),I=s?s(S):S,w=d.length,Z=s?G=>s(Qe(G[n.index])):n.index,re=null;if(!s&&a&&(re=Hw(t,e,o,n.index)),re!==null){let G=re.__ngLastListenerFn__||re;G.__ngNextListenerFn__=i,re.__ngLastListenerFn__=i,f=!1}else{i=hd(n,e,l,i,!1);let G=r.listen(I,o,i);d.push(i,G),c&&c.push(o,Z,w,w+1)}}else i=hd(n,e,l,i,!1);let h=n.outputs,g;if(f&&h!==null&&(g=h[o])){let S=g.length;if(S)for(let I=0;I-1?St(t.index,e):e;Mu(a);let u=fd(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=fd(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function qA(t=1){return Qm(t)}function Ww(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function ZA(t){let e=Bm();return Ya(e,Ie+t)}function YA(t,e=""){let r=F(),n=le(),o=t+Ie,i=n.firstCreatePass?vr(n,o,1,e,null):n.data[o],s=Gw(n,r,i,e,t);r[o]=s,pi()&&Ci(n,r,s,i),Kt(i,!1)}var Gw=(t,e,r,n,o)=>(gi(!0),Kv(e[ne],n));function qw(t){return yh("",t,""),qw}function yh(t,e,r){let n=F(),o=XD(n,t,e,r);return o!==Tt&&yD(n,On(),o),yh}function Zw(t,e,r){let n=le();if(n.firstCreatePass){let o=It(t);Fa(r,n.data,n.blueprint,o,!0),Fa(e,n.data,n.blueprint,o,!1)}}function Fa(t,e,r,n,o){if(t=pe(t),Array.isArray(t))for(let i=0;i>20;if(Tn(t)||!t.multi){let h=new zt(c,o,W),g=ea(u,e,o?l:l+f,d);g===-1?(ca(zo(a,s),i,u),Xs(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[g]=h,s[g]=h)}else{let h=ea(u,e,l+f,d),g=ea(u,e,l,l+f),S=h>=0&&r[h],I=g>=0&&r[g];if(o&&!I||!o&&!S){ca(zo(a,s),i,u);let w=Kw(o?Qw:Yw,r.length,o,n,c);!o&&I&&(r[g].providerFactory=w),Xs(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(w),s.push(w)}else{let w=Dh(r[o?g:h],c,!o&&n);Xs(i,t,h>-1?h:g,w)}!o&&n&&I&&r[g].componentProviders++}}}function Xs(t,e,r,n){let o=Tn(e),i=Nv(e);if(o||i){let u=(i?pe(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function Dh(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ea(t,e,r,n){for(let o=r;o{r.providersResolver=(n,o)=>Zw(n,o?o(t):t,e)}}var Mt=class{},cr=class{};var ri=class extends Mt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ei(this);let o=Pd(e);this._bootstrapComponents=Sf(o.bootstrap),this._r3Injector=bf(e,r,[{provide:Mt,useValue:this},{provide:Ii,useValue:this.componentFactoryResolver},...n],ce(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},oi=class extends cr{constructor(e){super(),this.moduleType=e}create(e){return new ri(this.moduleType,e,[])}};function Jw(t,e,r){return new ri(t,e,r)}var La=class extends Mt{constructor(e){super(),this.componentFactoryResolver=new ei(this),this.instance=null;let r=new sr([...e.providers,{provide:Mt,useValue:this},{provide:Ii,useValue:this.componentFactoryResolver}],e.parent||uu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ti(t,e,r=null){return new La({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var Xw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Df(!1,n.type),i=o.length>0?Ti([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(m(ge))});let t=e;return t})();function wh(t){Si("NgStandalone"),t.getStandaloneInjector=e=>e.get(Xw).getOrCreateStandaloneInjector(t)}function KA(t,e,r){let n=hi()+t,o=F();return o[n]===Tt?Au(o,n,r?e.call(r):e()):KD(o,n)}function JA(t,e,r,n){return Eh(F(),hi(),t,e,r,n)}function Ch(t,e){let r=t[e];return r===Tt?void 0:r}function Eh(t,e,r,n,o,i){let s=e+r;return qt(t,s,o)?Au(t,s+1,i?n.call(i,o):n(o)):Ch(t,s+1)}function eC(t,e,r,n,o,i,s){let a=e+r;return JD(t,a,o,i)?Au(t,a+2,s?n.call(s,o,i):n(o,i)):Ch(t,a+2)}function XA(t,e){let r=le(),n,o=t+Ie;r.firstCreatePass?(n=tC(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=Bt(n.type,!0)),s,a=we(W);try{let u=Ho(!1),c=i();return Ho(u),Ww(r,F(),o,c),c}finally{we(a)}}function tC(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function eN(t,e,r){let n=t+Ie,o=F(),i=Ya(o,n);return Ih(o,n)?Eh(o,hi(),e,i.transform,r,i):i.transform(r)}function tN(t,e,r,n){let o=t+Ie,i=F(),s=Ya(i,o);return Ih(i,o)?eC(i,hi(),e,s.transform,r,n,s):s.transform(r,n)}function Ih(t,e){return t[A].data[e].pure}function nC(){return this._results[Symbol.iterator]()}var ja=class t{get changes(){return this._changes||(this._changes=new se)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=nC)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=mv(e);(this._changesDetected=!gv(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Yt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iC;let t=e;return t})(),rC=Yt,oC=class extends rC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=Dw(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new Gt(o)}};function iC(){return Fu(me(),F())}function Fu(t,e){return t.type&4?new oC(e,t,Pn(t,e)):null}var Va=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},$a=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=Ee;d{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(xi,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(kn(s))n.push(s);else if(Ou(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_i=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function gC(){return typeof $localize<"u"&&$localize.locale||ni}var Ai=new E("LocaleId",{providedIn:"root",factory:()=>p(Ai,O.Optional|O.SkipSelf)||gC()});var Ln=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wa=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ni=(()=>{let e=class e{compileModuleSync(n){return new oi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Pd(n),s=Sf(i.declarations).reduce((a,u)=>{let c=Et(u);return c&&a.push(new _n(c)),a},[]);return new Wa(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mC=new E("compilerOptions");var ku=new E(""),yr=new E(""),Ri=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Lu||(vC(i),i.addToWindow(o)),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:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(m(V),m(Oi),m(yr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Oi=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}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,o=!0){return Lu?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function vC(t){Lu=t}var Lu,tr=null,Ah=new E("AllowMultipleToken"),Nh=new E("PlatformDestroyListeners"),Pi=new E("appBootstrapListener");function yC(t,e,r){let n=new oi(r);return Promise.resolve(n)}function DC(){ol(()=>{throw new v(600,!1)})}function wC(t){return t.isBoundToModule}function CC(t){if(tr&&!tr.get(Ah,!1))throw new v(400,!1);DC(),tr=t;let e=t.get(Oh);return EC(t),e}function EC(t){t.get(cu,null)?.forEach(r=>r())}function ju(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=Rh();if(!s||s.injector.get(Ah,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):CC(bC(a,n))}return IC(o)}}function IC(t){let e=Rh();if(!e)throw new v(401,!1);return e}function bC(t=[],e){return je.create({name:e,providers:[{provide:Di,useValue:"platform"},{provide:Nh,useValue:new Set([()=>tr=null])},...t]})}function Rh(){return tr?.get(Oh)??null}var Oh=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=SC(o?.ngZone,MC({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=Jw(n.moduleType,this.injector,AC(()=>i)),a=s.injector.get(Ke,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Lo(this._modules,s),u.unsubscribe()})}),TC(a,i,()=>{let u=s.injector.get(_h);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Ai,ni);return Bw(c||ni),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=Ph({},o);return yC(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Jt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Nh,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(m(je))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function MC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function SC(t="zone.js",e){return t==="noop"?new xa:t==="zone.js"?new V(e):t}function TC(t,e,r){try{let n=r();return kn(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Ph(t,e){return Array.isArray(e)?e.reduce(Ph,t):y(y({},t),e)}var Jt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Fh),this.zoneIsStable=p(lh),this.componentTypes=[],this.components=[],this.isStable=p(Ln).hasPendingTasks.pipe(ie(n=>n?D(!1):this.zoneIsStable),Eo(),bo()),this._injector=p(ge)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Qo;if(!this._injector.get(_h).done){let g="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&Od(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;i?a=n:a=this._injector.get(Ii).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=wC(a)?void 0:this._injector.get(Mt),c=o||a.selector,l=a.create(je.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ku,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Lo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(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){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Lo(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Pi,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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),()=>Lo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lo(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function pd(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Fh=new E("",{providedIn:"root",factory:()=>p(Ke).handleError.bind(void 0)});function xC(){let t=p(V),e=p(Ke);return r=>t.runOutsideAngular(()=>e.handleError(r))}var _C=(()=>{let e=class e{constructor(){this.zone=p(V),this.applicationRef=p(Jt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function AC(t){return[{provide:V,useFactory:t},{provide:hr,multi:!0,useFactory:()=>{let e=p(_C,{optional:!0});return()=>e.initialize()}},{provide:Fh,useFactory:xC},{provide:lh,useFactory:dh}]}var kh=ju(null,"core",[]),Lh=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(m(Jt))},e.\u0275mod=st({type:e}),e.\u0275inj=it({});let t=e;return t})();function Dr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function jh(t){let e=Et(t);if(!e)return null;let r=new _n(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Bu=null;function Xt(){return Bu}function zh(t){Bu||(Bu=t)}var Bi=class{},ae=new E("DocumentToken"),Zu=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(NC))(),providedIn:"platform"});let t=e;return t})(),Wh=new E("Location Initialized"),NC=(()=>{let e=class e extends Zu{constructor(){super(),this._doc=p(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xt().getBaseHref(this._doc)}onPopState(n){let o=Xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Xt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function Yu(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Vh(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function dt(t){return t&&t[0]!=="?"?"?"+t:t}var pt=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(Qu))(),providedIn:"root"});let t=e;return t})(),Gh=new E("appBaseHref"),Qu=(()=>{let e=class e extends pt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Yu(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+dt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+dt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+dt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(m(Zu),m(Gh,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qh=(()=>{let e=class e extends pt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash;return o==null&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Yu(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+dt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+dt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(m(Zu),m(Gh,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Vn=(()=>{let e=class e{constructor(n){this._subject=new se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=PC(Vh($h(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+dt(o))}normalize(n){return e.stripTrailingSlash(OC(this._basePath,$h(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=dt,e.joinWithSlash=Yu,e.stripTrailingSlash=Vh,e.\u0275fac=function(o){return new(o||e)(m(pt))},e.\u0275prov=C({token:e,factory:()=>RC(),providedIn:"root"});let t=e;return t})();function RC(){return new Vn(m(pt))}function OC(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function $h(t){return t.replace(/\/index.html$/,"")}function PC(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var ve=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(ve||{}),U=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(U||{}),be=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(be||{}),ft=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(ft||{});function FC(t){return Ae(t)[q.LocaleId]}function kC(t,e,r){let n=Ae(t),o=[n[q.DayPeriodsFormat],n[q.DayPeriodsStandalone]],i=Ne(o,e);return Ne(i,r)}function LC(t,e,r){let n=Ae(t),o=[n[q.DaysFormat],n[q.DaysStandalone]],i=Ne(o,e);return Ne(i,r)}function jC(t,e,r){let n=Ae(t),o=[n[q.MonthsFormat],n[q.MonthsStandalone]],i=Ne(o,e);return Ne(i,r)}function VC(t,e){let n=Ae(t)[q.Eras];return Ne(n,e)}function Fi(t,e){let r=Ae(t);return Ne(r[q.DateFormat],e)}function ki(t,e){let r=Ae(t);return Ne(r[q.TimeFormat],e)}function Li(t,e){let n=Ae(t)[q.DateTimeFormat];return Ne(n,e)}function zi(t,e){let r=Ae(t),n=r[q.NumberSymbols][e];if(typeof n>"u"){if(e===ft.CurrencyDecimal)return r[q.NumberSymbols][ft.Decimal];if(e===ft.CurrencyGroup)return r[q.NumberSymbols][ft.Group]}return n}function Zh(t){if(!t[q.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[q.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function $C(t){let e=Ae(t);return Zh(e),(e[q.ExtraData][2]||[]).map(n=>typeof n=="string"?Vu(n):[Vu(n[0]),Vu(n[1])])}function UC(t,e,r){let n=Ae(t);Zh(n);let o=[n[q.ExtraData][0],n[q.ExtraData][1]],i=Ne(o,e)||[];return Ne(i,r)||[]}function Ne(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Vu(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var BC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Cr={},HC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ht=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(ht||{}),L=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(L||{}),k=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(k||{});function zC(t,e,r,n){let o=XC(t);e=lt(r,e)||e;let s=[],a;for(;e;)if(a=HC.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let u=o.getTimezoneOffset();n&&(u=Qh(n,u),o=JC(o,n,!0));let c="";return s.forEach(l=>{let d=QC(l);c+=d?d(o,r,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Hi(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function lt(t,e){let r=FC(t);if(Cr[r]=Cr[r]||{},Cr[r][e])return Cr[r][e];let n="";switch(e){case"shortDate":n=Fi(t,be.Short);break;case"mediumDate":n=Fi(t,be.Medium);break;case"longDate":n=Fi(t,be.Long);break;case"fullDate":n=Fi(t,be.Full);break;case"shortTime":n=ki(t,be.Short);break;case"mediumTime":n=ki(t,be.Medium);break;case"longTime":n=ki(t,be.Long);break;case"fullTime":n=ki(t,be.Full);break;case"short":let o=lt(t,"shortTime"),i=lt(t,"shortDate");n=ji(Li(t,be.Short),[o,i]);break;case"medium":let s=lt(t,"mediumTime"),a=lt(t,"mediumDate");n=ji(Li(t,be.Medium),[s,a]);break;case"long":let u=lt(t,"longTime"),c=lt(t,"longDate");n=ji(Li(t,be.Long),[u,c]);break;case"full":let l=lt(t,"fullTime"),d=lt(t,"fullDate");n=ji(Li(t,be.Full),[l,d]);break}return n&&(Cr[r][e]=n),n}function ji(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ve(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length0||a>-r)&&(a+=r),t===L.Hours)a===0&&r===-12&&(a=12);else if(t===L.FractionalSeconds)return WC(a,e);let u=zi(s,ft.MinusSign);return Ve(a,e,u,n,o)}}function GC(t,e){switch(t){case L.FullYear:return e.getFullYear();case L.Month:return e.getMonth();case L.Date:return e.getDate();case L.Hours:return e.getHours();case L.Minutes:return e.getMinutes();case L.Seconds:return e.getSeconds();case L.FractionalSeconds:return e.getMilliseconds();case L.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function H(t,e,r=ve.Format,n=!1){return function(o,i){return qC(o,i,t,e,r,n)}}function qC(t,e,r,n,o,i){switch(r){case k.Months:return jC(e,o,n)[t.getMonth()];case k.Days:return LC(e,o,n)[t.getDay()];case k.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=$C(e),l=UC(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,g]=f,S=s>=h.hours&&a>=h.minutes,I=s0?Math.floor(o/60):Math.ceil(o/60);switch(t){case ht.Short:return(o>=0?"+":"")+Ve(s,2,i)+Ve(Math.abs(o%60),2,i);case ht.ShortGMT:return"GMT"+(o>=0?"+":"")+Ve(s,1,i);case ht.Long:return"GMT"+(o>=0?"+":"")+Ve(s,2,i)+":"+Ve(Math.abs(o%60),2,i);case ht.Extended:return n===0?"Z":(o>=0?"+":"")+Ve(s,2,i)+":"+Ve(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var ZC=0,Ui=4;function YC(t){let e=Hi(t,ZC,1).getDay();return Hi(t,0,1+(e<=Ui?Ui:Ui+7)-e)}function Yh(t){return Hi(t.getFullYear(),t.getMonth(),t.getDate()+(Ui-t.getDay()))}function $u(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=Yh(r),s=YC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ve(o,t,zi(n,ft.MinusSign))}}function $i(t,e=!1){return function(r,n){let i=Yh(r).getFullYear();return Ve(i,t,zi(n,ft.MinusSign),e)}}var Uu={};function QC(t){if(Uu[t])return Uu[t];let e;switch(t){case"G":case"GG":case"GGG":e=H(k.Eras,U.Abbreviated);break;case"GGGG":e=H(k.Eras,U.Wide);break;case"GGGGG":e=H(k.Eras,U.Narrow);break;case"y":e=ee(L.FullYear,1,0,!1,!0);break;case"yy":e=ee(L.FullYear,2,0,!0,!0);break;case"yyy":e=ee(L.FullYear,3,0,!1,!0);break;case"yyyy":e=ee(L.FullYear,4,0,!1,!0);break;case"Y":e=$i(1);break;case"YY":e=$i(2,!0);break;case"YYY":e=$i(3);break;case"YYYY":e=$i(4);break;case"M":case"L":e=ee(L.Month,1,1);break;case"MM":case"LL":e=ee(L.Month,2,1);break;case"MMM":e=H(k.Months,U.Abbreviated);break;case"MMMM":e=H(k.Months,U.Wide);break;case"MMMMM":e=H(k.Months,U.Narrow);break;case"LLL":e=H(k.Months,U.Abbreviated,ve.Standalone);break;case"LLLL":e=H(k.Months,U.Wide,ve.Standalone);break;case"LLLLL":e=H(k.Months,U.Narrow,ve.Standalone);break;case"w":e=$u(1);break;case"ww":e=$u(2);break;case"W":e=$u(1,!0);break;case"d":e=ee(L.Date,1);break;case"dd":e=ee(L.Date,2);break;case"c":case"cc":e=ee(L.Day,1);break;case"ccc":e=H(k.Days,U.Abbreviated,ve.Standalone);break;case"cccc":e=H(k.Days,U.Wide,ve.Standalone);break;case"ccccc":e=H(k.Days,U.Narrow,ve.Standalone);break;case"cccccc":e=H(k.Days,U.Short,ve.Standalone);break;case"E":case"EE":case"EEE":e=H(k.Days,U.Abbreviated);break;case"EEEE":e=H(k.Days,U.Wide);break;case"EEEEE":e=H(k.Days,U.Narrow);break;case"EEEEEE":e=H(k.Days,U.Short);break;case"a":case"aa":case"aaa":e=H(k.DayPeriods,U.Abbreviated);break;case"aaaa":e=H(k.DayPeriods,U.Wide);break;case"aaaaa":e=H(k.DayPeriods,U.Narrow);break;case"b":case"bb":case"bbb":e=H(k.DayPeriods,U.Abbreviated,ve.Standalone,!0);break;case"bbbb":e=H(k.DayPeriods,U.Wide,ve.Standalone,!0);break;case"bbbbb":e=H(k.DayPeriods,U.Narrow,ve.Standalone,!0);break;case"B":case"BB":case"BBB":e=H(k.DayPeriods,U.Abbreviated,ve.Format,!0);break;case"BBBB":e=H(k.DayPeriods,U.Wide,ve.Format,!0);break;case"BBBBB":e=H(k.DayPeriods,U.Narrow,ve.Format,!0);break;case"h":e=ee(L.Hours,1,-12);break;case"hh":e=ee(L.Hours,2,-12);break;case"H":e=ee(L.Hours,1);break;case"HH":e=ee(L.Hours,2);break;case"m":e=ee(L.Minutes,1);break;case"mm":e=ee(L.Minutes,2);break;case"s":e=ee(L.Seconds,1);break;case"ss":e=ee(L.Seconds,2);break;case"S":e=ee(L.FractionalSeconds,1);break;case"SS":e=ee(L.FractionalSeconds,2);break;case"SSS":e=ee(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Vi(ht.Short);break;case"ZZZZZ":e=Vi(ht.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Vi(ht.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Vi(ht.Long);break;default:return null}return Uu[t]=e,e}function Qh(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function KC(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function JC(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=Qh(e,o);return KC(t,n*(i-o))}function XC(t){if(Uh(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return Hi(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(BC))return eE(n)}let e=new Date(t);if(!Uh(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function eE(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,u,c),e}function Uh(t){return t instanceof Date&&!isNaN(t.valueOf())}function IN(t,e,r){return vh(t,e,r)}function Wi(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Hu=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},bN=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Hu(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),Bh(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Bh(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(W(xt),W(Yt),W(yu))},e.\u0275dir=Qt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Bh(t,e){t.context.$implicit=e.item}var MN=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new zu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Hh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Hh("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(W(xt),W(Yt))},e.\u0275dir=Qt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),zu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Hh(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ce(e)}'.`)}function Kh(t,e){return new v(2100,!1)}var Wu=class{createSubscription(e,r){return vu(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){vu(()=>e.unsubscribe())}},Gu=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},tE=new Gu,nE=new Wu,SN=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(kn(n))return tE;if(Ou(n))return nE;throw Kh(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(W(Fn,16))},e.\u0275pipe=qa({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var rE="mediumDate",oE=new E("DATE_PIPE_DEFAULT_TIMEZONE"),iE=new E("DATE_PIPE_DEFAULT_OPTIONS"),TN=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??rE,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return zC(n,a,s||this.locale,u)}catch(a){throw Kh(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(W(Ai,16),W(oE,24),W(iE,24))},e.\u0275pipe=qa({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Jh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=st({type:e}),e.\u0275inj=it({});let t=e;return t})(),Xh="browser",sE="server";function Ku(t){return t===sE}var ep=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new qu(m(ae),window)});let t=e;return t})(),qu=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=aE(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function aE(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var jn=class{};var Ir=class{},qi=class{},en=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Xu=class{encodeKey(e){return np(e)}encodeValue(e){return np(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function lE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}var dE=/%(\d[a-f0-9])/gi,fE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function np(t){return encodeURIComponent(t).replace(dE,(e,r)=>fE[r]??e)}function Gi(t){return`${t}`}var _t=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Xu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=lE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Gi):[Gi(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Gi(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Gi(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var ec=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function hE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function rp(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function op(t){return typeof Blob<"u"&&t instanceof Blob}function ip(t){return typeof FormData<"u"&&t instanceof FormData}function pE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Er=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(hE(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,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 en),this.context||(this.context=new ec),!this.params)this.params=new _t,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),u=a===-1?"?":ad.set(f,e.setHeaders[f]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}},$n=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}($n||{}),br=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new en,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},tc=class t extends br{constructor(e={}){super(e),this.type=$n.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Zi=class t extends br{constructor(e={}){super(e),this.type=$n.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Yi=class extends br{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Ju(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var nc=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Er)s=n;else{let c;i.headers instanceof en?c=i.headers:c=new en(i.headers);let l;i.params&&(i.params instanceof _t?l=i.params:l=new _t({fromObject:i.params})),s=new Er(n,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=D(s).pipe(nt(c=>this.handler.handle(c)));if(n instanceof Er||i.observe==="events")return a;let u=a.pipe(he(c=>c instanceof Zi));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(R(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new _t().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Ju(i,o))}post(n,o,i={}){return this.request("POST",n,Ju(i,o))}put(n,o,i={}){return this.request("PUT",n,Ju(i,o))}};e.\u0275fac=function(o){return new(o||e)(m(Ir))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function cp(t,e){return e(t)}function gE(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function mE(t,e,r){return(n,o)=>r.runInContext(()=>e(n,i=>t(i,o)))}var vE=new E(""),rc=new E(""),yE=new E(""),DE=new E("");function wE(){let t=null;return(e,r)=>{t===null&&(t=(p(vE,{optional:!0})??[]).reduceRight(gE,cp));let n=p(Ln),o=n.add();return t(e,r).pipe(yt(()=>n.remove(o)))}}var sp=(()=>{let e=class e extends Ir{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=p(Ln);let i=p(DE,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rc),...this.injector.get(yE,[])]));this.chain=i.reduceRight((s,a)=>mE(s,a,this.injector),cp)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(yt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(m(qi),m(ge))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();var CE=/^\)\]\}',?\n/;function EE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var ap=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?B(o.\u0275loadImpl()):D(null)).pipe(ie(()=>new P(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((I,w)=>a.setRequestHeader(I,w.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let I=n.detectContentTypeHeader();I!==null&&a.setRequestHeader("Content-Type",I)}if(n.responseType){let I=n.responseType.toLowerCase();a.responseType=I!=="json"?I:"text"}let u=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let I=a.statusText||"OK",w=new en(a.getAllResponseHeaders()),Z=EE(a)||n.url;return c=new tc({headers:w,status:a.status,statusText:I,url:Z}),c},d=()=>{let{headers:I,status:w,statusText:Z,url:re}=l(),G=null;w!==204&&(G=typeof a.response>"u"?a.responseText:a.response),w===0&&(w=G?200:0);let Ue=w>=200&&w<300;if(n.responseType==="json"&&typeof G=="string"){let Ce=G;G=G.replace(CE,"");try{G=G!==""?JSON.parse(G):null}catch(mt){G=Ce,Ue&&(Ue=!1,G={error:mt,text:G})}}Ue?(s.next(new Zi({body:G,headers:I,status:w,statusText:Z,url:re||void 0})),s.complete()):s.error(new Yi({error:G,headers:I,status:w,statusText:Z,url:re||void 0}))},f=I=>{let{url:w}=l(),Z=new Yi({error:I,status:a.status||0,statusText:a.statusText||"Unknown Error",url:w||void 0});s.error(Z)},h=!1,g=I=>{h||(s.next(l()),h=!0);let w={type:$n.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(w.total=I.total),n.responseType==="text"&&a.responseText&&(w.partialText=a.responseText),s.next(w)},S=I=>{let w={type:$n.UploadProgress,loaded:I.loaded};I.lengthComputable&&(w.total=I.total),s.next(w)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",g),u!==null&&a.upload&&a.upload.addEventListener("progress",S)),a.send(u),s.next({type:$n.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",g),u!==null&&a.upload&&a.upload.removeEventListener("progress",S)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(m(jn))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),lp=new E("XSRF_ENABLED"),IE="XSRF-TOKEN",bE=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>IE}),ME="X-XSRF-TOKEN",SE=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ME}),Qi=class{},TE=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wi(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(m(ae),m(ut),m(bE))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function xE(t,e){let r=t.url.toLowerCase();if(!p(lp)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(Qi).getToken(),o=p(SE);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var dp=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(dp||{});function _E(t,e){return{\u0275kind:t,\u0275providers:e}}function AE(...t){let e=[nc,ap,sp,{provide:Ir,useExisting:sp},{provide:qi,useExisting:ap},{provide:rc,useValue:xE,multi:!0},{provide:lp,useValue:!0},{provide:Qi,useClass:TE}];for(let r of t)e.push(...r.\u0275providers);return yi(e)}var up=new E("LEGACY_INTERCEPTOR_FN");function NE(){return _E(dp.LegacyInterceptors,[{provide:up,useFactory:wE},{provide:rc,useExisting:up,multi:!0}])}var BN=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=st({type:e}),e.\u0275inj=it({providers:[AE(NE())]});let t=e;return t})();var sc=class extends Bi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ac=class t extends sc{static makeCurrent(){zh(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=OE();return r==null?null:PE(r)}resetBaseElement(){Mr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Wi(document.cookie,e)}},Mr=null;function OE(){return Mr=Mr||document.querySelector("base"),Mr?Mr.getAttribute("href"):null}var Ki;function PE(t){Ki=Ki||document.createElement("a"),Ki.setAttribute("href",t);let e=Ki.pathname;return e.charAt(0)==="/"?e:`/${e}`}var uc=class{addToWindow(e){te.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},te.getAllAngularTestabilities=()=>e.getAllTestabilities(),te.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=te.getAllAngularTestabilities(),i=o.length,s=!1,a=function(u){s=s||u,i--,i==0&&n(s)};o.forEach(u=>{u.whenStable(a)})};te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?Xt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),cc=new E("EventManagerPlugins"),gp=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(m(cc),m(V))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Ji=class{constructor(e){this._doc=e}},oc="ng-app-id",mp=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ku(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${oc}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(oc),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(oc,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(m(ae),m(wi),m(lu,8),m(ut))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),ic={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/"},dc=/%COMP%/g,vp="%COMP%",kE=`_nghost-${vp}`,LE=`_ngcontent-${vp}`,jE=!0,VE=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>jE});function $E(t){return LE.replace(dc,t)}function UE(t){return kE.replace(dc,t)}function yp(t,e){return e.map(r=>r.replace(dc,t))}var fp=(()=>{let e=class e{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ku(u),this.defaultRenderer=new Sr(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ze.ShadowDom&&(o=Y(y({},o),{encapsulation:Ze.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Xi?i.applyToHost(n):i instanceof Tr&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ze.Emulated:s=new Xi(c,l,o,this.appId,d,a,u,f);break;case Ze.ShadowDom:return new lc(c,l,n,o,a,u,this.nonce,f);default:s=new Tr(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(m(gp),m(mp),m(wi),m(VE),m(ae),m(ut),m(V),m(lu))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(ic[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(hp(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(hp(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=ic[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=ic[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(ot.DashCase|ot.Important)?e.style.setProperty(r,n,o&ot.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ot.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Xt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function hp(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var lc=class extends Sr{constructor(e,r,n,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=yp(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Tr=class extends Sr{constructor(e,r,n,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?yp(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Xi=class extends Tr{constructor(e,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(e,r,n,i,s,a,u,c),this.contentAttr=$E(c),this.hostAttr=UE(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},BE=(()=>{let e=class e extends Ji{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(m(ae))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),pp=["alt","control","meta","shift"],HE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},WE=(()=>{let e=class e extends Ji{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),pp.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=HE[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),pp.forEach(a=>{if(a!==i){let u=zE[a];u(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(m(ae))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function GE(){ac.makeCurrent()}function qE(){return new Ke}function ZE(){return Mf(document),document}var YE=[{provide:ut,useValue:Xh},{provide:cu,useValue:GE,multi:!0},{provide:ae,useFactory:ZE,deps:[]}],sR=ju(kh,"browser",YE),QE=new E(""),KE=[{provide:yr,useClass:uc,deps:[]},{provide:ku,useClass:Ri,deps:[V,Oi,yr]},{provide:Ri,useClass:Ri,deps:[V,Oi,yr]}],JE=[{provide:Di,useValue:"root"},{provide:Ke,useFactory:qE,deps:[]},{provide:cc,useClass:BE,multi:!0,deps:[ae,V,ut]},{provide:cc,useClass:WE,multi:!0,deps:[ae]},fp,mp,gp,{provide:ar,useExisting:fp},{provide:jn,useClass:FE,deps:[]},[]],aR=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:wi,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(m(QE,12))},e.\u0275mod=st({type:e}),e.\u0275inj=it({providers:[...JE,...KE],imports:[Jh,Lh]});let t=e;return t})();function XE(){return new fc(m(ae))}var fc=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(m(ae))},e.\u0275prov=C({token:e,factory:function(o){let i=null;return o?i=new o:i=XE(),i},providedIn:"root"});let t=e;return t})();var T="primary",Br=Symbol("RouteTitle"),vc=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Wn(t){return new vc(t)}function tI(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Ap(t){return t.length>0?t[t.length-1]:null}function Ot(t){return Ps(t)?t:kn(t)?B(Promise.resolve(t)):D(t)}var rI={exact:Rp,subset:Op},Np={exact:oI,subset:iI,ignored:()=>!0};function Dp(t,e,r){return rI[r.paths](t.root,e.root,r.matrixParams)&&Np[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function oI(t,e){return Je(t,e)}function Rp(t,e,r){if(!nn(t.segments,e.segments)||!ns(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Rp(t.children[n],e.children[n],r))return!1;return!0}function iI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>_p(t[r],e[r]))}function Op(t,e,r){return Pp(t,e,e.segments,r)}function Pp(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!nn(o,r)||e.hasChildren()||!ns(o,r,n))}else if(t.segments.length===r.length){if(!nn(t.segments,r)||!ns(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!Op(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!nn(t.segments,o)||!ns(t.segments,o,n)||!t.children[T]?!1:Pp(t.children[T],e,i,n)}}function ns(t,e,r){return e.every((n,o)=>Np[r](t[o].parameters,n.parameters))}var At=class{constructor(e=new j([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wn(this.queryParams)),this._queryParamMap}toString(){return uI.serialize(this)}},j=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rs(this)}},tn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=Wn(this.parameters)),this._parameterMap}toString(){return kp(this)}};function sI(t,e){return nn(t,e)&&t.every((r,n)=>Je(r.parameters,e[n].parameters))}function nn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function aI(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===T&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==T&&(r=r.concat(e(o,n)))}),r}var Hr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>new Pr)(),providedIn:"root"});let t=e;return t})(),Pr=class{parse(e){let r=new wc(e);return new At(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${xr(e.root,!0)}`,n=dI(e.queryParams),o=typeof e.fragment=="string"?`#${cI(e.fragment)}`:"";return`${r}${n}${o}`}},uI=new Pr;function rs(t){return t.segments.map(e=>kp(e)).join("/")}function xr(t,e){if(!t.hasChildren())return rs(t);if(e){let r=t.children[T]?xr(t.children[T],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==T&&n.push(`${o}:${xr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=aI(t,(n,o)=>o===T?[xr(t.children[T],!1)]:[`${o}:${xr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[T]!=null?`${rs(t)}/${r[0]}`:`${rs(t)}/(${r.join("//")})`}}function Fp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function es(t){return Fp(t).replace(/%3B/gi,";")}function cI(t){return encodeURI(t)}function Dc(t){return Fp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function os(t){return decodeURIComponent(t)}function wp(t){return os(t.replace(/\+/g,"%20"))}function kp(t){return`${Dc(t.path)}${lI(t.parameters)}`}function lI(t){return Object.keys(t).map(e=>`;${Dc(e)}=${Dc(t[e])}`).join("")}function dI(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(o=>`${es(r)}=${es(o)}`).join("&"):`${es(r)}=${es(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var fI=/^[^\/()?;#]+/;function hc(t){let e=t.match(fI);return e?e[0]:""}var hI=/^[^\/()?;=#]+/;function pI(t){let e=t.match(hI);return e?e[0]:""}var gI=/^[^=?&#]+/;function mI(t){let e=t.match(gI);return e?e[0]:""}var vI=/^[^&#]+/;function yI(t){let e=t.match(vI);return e?e[0]:""}var wc=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[T]=new j(e,r)),n}parseSegment(){let e=hc(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new tn(os(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=pI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=hc(this.remaining);o&&(n=o,this.capture(n))}e[os(r)]=os(n)}parseQueryParam(e){let r=mI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=yI(this.remaining);s&&(n=s,this.capture(n))}let o=wp(r),i=wp(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=hc(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=T);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[T]:new j([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Lp(t){return t.segments.length>0?new j([],{[T]:t}):t}function jp(t){let e={};for(let n of Object.keys(t.children)){let o=t.children[n],i=jp(o);if(n===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new j(t.segments,e);return DI(r)}function DI(t){if(t.numberOfChildren===1&&t.children[T]){let e=t.children[T];return new j(t.segments.concat(e.segments),e.children)}return t}function Gn(t){return t instanceof At}function wI(t,e,r=null,n=null){let o=Vp(t);return $p(o,e,r,n)}function Vp(t){let e;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new j(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=Lp(n);return e??o}function $p(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return pc(o,o,o,r,n);let i=CI(e);if(i.toRoot())return pc(o,o,new j([],{}),r,n);let s=EI(i,o,t),a=s.processChildren?Nr(s.segmentGroup,s.index,i.commands):Bp(s.segmentGroup,s.index,i.commands);return pc(o,s.segmentGroup,a,r,n)}function is(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Fr(t){return typeof t=="object"&&t!=null&&t.outlets}function pc(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=Up(t,e,r);let a=Lp(jp(s));return new At(a,i,o)}function Up(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Up(i,e,r)}),new j(t.segments,n)}var ss=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&is(n[0]))throw new v(4003,!1);let o=n.find(Fr);if(o&&o!==Ap(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function CI(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ss(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ss(r,e,n)}var Hn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function EI(t,e,r){if(t.isAbsolute)return new Hn(e,!0,0);if(!r)return new Hn(e,!1,NaN);if(r.parent===null)return new Hn(r,!0,0);let n=is(t.commands[0])?0:1,o=r.segments.length-1+n;return II(r,o,t.numberOfDoubleDots)}function II(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new Hn(n,!1,o-i)}function bI(t){return Fr(t[0])?t[0].outlets:{[T]:t}}function Bp(t,e,r){if(t||(t=new j([],{})),t.segments.length===0&&t.hasChildren())return Nr(t,e,r);let n=MI(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==T)&&t.children[T]&&t.numberOfChildren===1&&t.children[T].segments.length===0){let i=Nr(t.children[T],e,r);return new j(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Bp(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new j(t.segments,o)}}function MI(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(Fr(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ep(u,c,s))return i;n+=2}else{if(!Ep(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Cc(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Cc(new j([],{}),0,n))}),e}function Cp(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Ep(t,e,r){return t==r.path&&Je(e,r.parameters)}var Rr="imperative",Re=class{constructor(e,r){this.id=e,this.url=r}},qn=class extends Re{constructor(e,r,n="imperative",o=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},$e=class extends Re{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Nt=class extends Re{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rt=class extends Re{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=16}},kr=class extends Re{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},as=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class extends Re{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},bc=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mc=class extends Re{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sc=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tc=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},xc=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ac=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},us=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Lr=class{},jr=class{constructor(e){this.url=e}};var Rc=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new zr,this.attachRef=null}},zr=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Rc,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Oc(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Oc(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Pc(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return Pc(e,this._root).map(r=>r.value)}};function Oc(t,e){if(t===e.value)return e;for(let r of e.children){let n=Oc(t,r);if(n)return n}return null}function Pc(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Pc(t,r);if(n.length)return n.unshift(e),n}return[]}var Me=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Bn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ls=class extends cs{constructor(e,r){super(e),this.snapshot=r,zc(this,e)}toString(){return this.snapshot.toString()}};function Hp(t,e){let r=TI(t,e),n=new oe([new tn("",{})]),o=new oe({}),i=new oe({}),s=new oe({}),a=new oe(""),u=new rn(n,o,s,a,i,T,e,r.root);return u.snapshot=r.root,new ls(new Me(u,[]),r)}function TI(t,e){let r={},n={},o={},i="",s=new Vr([],r,o,i,n,T,e,null,{});return new ds("",new Me(s,[]))}var rn=class{constructor(e,r,n,o,i,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(R(c=>c[Br]))??D(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}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(R(e=>Wn(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(R(e=>Wn(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Hc(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:y(y({},e.params),t.params),data:y(y({},e.data),t.data),resolve:y(y(y(y({},t.data),e.data),o?.data),t._resolvedData)}:n={params:t.params,data:t.data,resolve:y(y({},t.data),t._resolvedData??{})},o&&Wp(o)&&(n.resolve[Br]=o.title),n}var Vr=class{get title(){return this.data?.[Br]}constructor(e,r,n,o,i,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Wn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wn(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ds=class extends cs{constructor(e,r){super(r),this.url=e,zc(this,r)}toString(){return zp(this._root)}};function zc(t,e){e.value._routerState=t,e.children.forEach(r=>zc(t,r))}function zp(t){let e=t.children.length>0?` { ${t.children.map(zp).join(", ")} } `:"";return`${t.value}${e}`}function gc(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Je(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Je(e.params,r.params)||t.paramsSubject.next(r.params),nI(e.url,r.url)||t.urlSubject.next(r.url),Je(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Fc(t,e){let r=Je(t.params,e.params)&&sI(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Fc(t.parent,e.parent))}function Wp(t){return typeof t.title=="string"||t.title===null}var xI=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=T,this.activateEvents=new se,this.deactivateEvents=new se,this.attachEvents=new se,this.detachEvents=new se,this.parentContexts=p(zr),this.location=p(xt),this.changeDetector=p(Fn),this.environmentInjector=p(ge),this.inputBinder=p(ms,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new kc(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Qt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Rn]});let t=e;return t})(),kc=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===rn?this.route:e===zr?this.childContexts:this.parent.get(e,r)}},ms=new E(""),Ip=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Jn([o.queryParams,o.params,o.data]).pipe(ie(([s,a,u],c)=>(u=y(y(y({},s),a),u),c===0?D(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=jh(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function _I(t,e,r){let n=$r(t,e._root,r?r._root:void 0);return new ls(n,e)}function $r(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=AI(t,e,r);return new Me(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>$r(t,a)),s}}let n=NI(e.value),o=e.children.map(i=>$r(t,i));return new Me(n,o)}}function AI(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return $r(t,n,o);return $r(t,n)})}function NI(t){return new rn(new oe(t.url),new oe(t.params),new oe(t.queryParams),new oe(t.fragment),new oe(t.data),t.outlet,t.component,t)}var Gp="ngNavigationCancelingError";function qp(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Gn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Zp(!1,0,e);return o.url=r,o.navigationBehaviorOptions=n,o}function Zp(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Gp]=!0,n.cancellationCode=e,r&&(n.url=r),n}function RI(t){return Yp(t)&&Gn(t.url)}function Yp(t){return t&&t[Gp]}var OI=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Ad({type:e,selectors:[["ng-component"]],standalone:!0,features:[wh],decls:1,vars:0,template:function(o,i){o&1&&Ru(0,"router-outlet")},dependencies:[xI],encapsulation:2});let t=e;return t})();function PI(t,e){return t.providers&&!t._injector&&(t._injector=Ti(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Wc(t){let e=t.children&&t.children.map(Wc),r=e?Y(y({},t),{children:e}):y({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==T&&(r.component=OI),r}function Xe(t){return t.outlet||T}function FI(t,e){let r=t.filter(n=>Xe(n)===e);return r.push(...t.filter(n=>Xe(n)!==e)),r}function Wr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var kI=(t,e,r,n)=>R(o=>(new Lc(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Lc=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),gc(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Bn(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Bn(e);for(let s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Bn(e);for(let s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=Bn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Nc(i.value.snapshot))}),e.children.length&&this.forwardEvent(new _c(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(gc(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),gc(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Wr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},fs=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},zn=class{constructor(e,r){this.component=e,this.route=r}};function LI(t,e,r){let n=t._root,o=e?e._root:null;return _r(n,o,r,[n.value])}function jI(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Yn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Dd(t)?t:e.get(t):n}function _r(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Bn(e);return t.children.forEach(s=>{VI(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Or(a,r.getContext(s),o)),o}function VI(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=$I(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new fs(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?_r(t,e,a?a.children:null,n,o):_r(t,e,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new zn(a.outlet.component,s))}else s&&Or(e,a,o),o.canActivateChecks.push(new fs(n)),i.component?_r(t,null,a?a.children:null,n,o):_r(t,null,r,n,o);return o}function $I(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!nn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!nn(t.url,e.url)||!Je(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fc(t,e)||!Je(t.queryParams,e.queryParams);case"paramsChange":default:return!Fc(t,e)}}function Or(t,e,r){let n=Bn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Or(s,e.children.getContext(i),r):Or(s,null,r):Or(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zn(e.outlet.component,o)):r.canDeactivateChecks.push(new zn(null,o)):r.canDeactivateChecks.push(new zn(null,o))}function Gr(t){return typeof t=="function"}function UI(t){return typeof t=="boolean"}function BI(t){return t&&Gr(t.canLoad)}function HI(t){return t&&Gr(t.canActivate)}function zI(t){return t&&Gr(t.canActivateChild)}function WI(t){return t&&Gr(t.canDeactivate)}function GI(t){return t&&Gr(t.canMatch)}function Qp(t){return t instanceof tt||t?.name==="EmptyError"}var ts=Symbol("INITIAL_VALUE");function Zn(){return ie(t=>Jn(t.map(e=>e.pipe(rt(1),$s(ts)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===ts)return ts;if(r===!1||r instanceof At)return r}return!0}),he(e=>e!==ts),rt(1)))}function qI(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?D(Y(y({},r),{guardsResult:!0})):ZI(s,n,o,t).pipe(K(a=>a&&UI(a)?YI(n,i,t,e):D(a)),R(a=>Y(y({},r),{guardsResult:a})))})}function ZI(t,e,r,n){return B(t).pipe(K(o=>eb(o.component,o.route,r,e,n)),ze(o=>o!==!0,!0))}function YI(t,e,r,n){return B(e).pipe(nt(o=>hn(KI(o.route.parent,n),QI(o.route,n),XI(t,o.path,r),JI(t,o.route,r))),ze(o=>o!==!0,!0))}function QI(t,e){return t!==null&&e&&e(new Ac(t)),D(!0)}function KI(t,e){return t!==null&&e&&e(new xc(t)),D(!0)}function JI(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return D(!0);let o=n.map(i=>Co(()=>{let s=Wr(e)??r,a=Yn(i,s),u=HI(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return Ot(u).pipe(ze())}));return D(o).pipe(Zn())}function XI(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>jI(s)).filter(s=>s!==null).map(s=>Co(()=>{let a=s.guards.map(u=>{let c=Wr(s.node)??r,l=Yn(u,c),d=zI(l)?l.canActivateChild(n,t):c.runInContext(()=>l(n,t));return Ot(d).pipe(ze())});return D(a).pipe(Zn())}));return D(i).pipe(Zn())}function eb(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let u=Wr(e)??o,c=Yn(a,u),l=WI(c)?c.canDeactivate(t,e,r,n):u.runInContext(()=>c(t,e,r,n));return Ot(l).pipe(ze())});return D(s).pipe(Zn())}function tb(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=Yn(s,t),u=BI(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return Ot(u)});return D(i).pipe(Zn(),Kp(n))}function Kp(t){return xs(J(e=>{if(Gn(e))throw qp(t,e)}),R(e=>e===!0))}function nb(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=Yn(s,t),u=GI(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return Ot(u)});return D(i).pipe(Zn(),Kp(n))}var Ur=class{constructor(e){this.segmentGroup=e||null}},hs=class extends Error{constructor(e){super(),this.urlTree=e}};function Un(t){return fn(new Ur(t))}function rb(t){return fn(new v(4e3,!1))}function ob(t){return fn(Zp(!1,3))}var jc=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new v(4002,!1)}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return D(n);if(o.numberOfChildren>1||!o.children[T])return rb(e.redirectTo);o=o.children[T]}}applyRedirectCommands(e,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new hs(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new At(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(e,u,n,o)}),new j(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Vc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ib(t,e,r,n,o){let i=Gc(t,e,r);return i.matched?(n=PI(e,n),nb(n,e,r,o).pipe(R(s=>s===!0?i:y({},Vc)))):D(i)}function Gc(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?y({},Vc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||tI)(r,t,e);if(!o)return y({},Vc);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function bp(t,e,r,n){return r.length>0&&ub(t,r,n)?{segmentGroup:new j(e,ab(n,new j(r,t.children))),slicedSegments:[]}:r.length===0&&cb(t,r,n)?{segmentGroup:new j(t.segments,sb(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new j(t.segments,t.children),slicedSegments:r}}function sb(t,e,r,n,o){let i={};for(let s of n)if(vs(t,r,s)&&!o[Xe(s)]){let a=new j([],{});i[Xe(s)]=a}return y(y({},o),i)}function ab(t,e){let r={};r[T]=e;for(let n of t)if(n.path===""&&Xe(n)!==T){let o=new j([],{});r[Xe(n)]=o}return r}function ub(t,e,r){return r.some(n=>vs(t,e,n)&&Xe(n)!==T)}function cb(t,e,r){return r.some(n=>vs(t,e,n))}function vs(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function lb(t,e,r,n){return Xe(t)!==n&&(n===T||!vs(e,r,t))?!1:t.path==="**"?!0:Gc(e,t,r).matched}function db(t,e,r){return e.length===0&&!t.children[r]}var $c=class{};function fb(t,e,r,n,o,i,s="emptyOnly"){return new Uc(t,e,r,n,o,s,i).recognize()}var hb=31,Uc=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new jc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,!1)}recognize(){let e=bp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(r=>{let n=new Vr([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,{},T,this.rootComponentType,null,{}),o=new Me(n,r),i=new ds("",o),s=wI(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,T).pipe(Se(n=>{if(n instanceof hs)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Ur?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=Hc(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(e,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,o,!0).pipe(R(i=>i instanceof Me?[i]:[]))}processChildren(e,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return B(o).pipe(nt(i=>{let s=n.children[i],a=FI(r,i);return this.processSegmentGroup(e,a,s,i)}),js((i,s)=>(i.push(...s),i)),vt(null),Ls(),K(i=>{if(i===null)return Un(n);let s=Jp(i);return pb(s),D(s)}))}processSegment(e,r,n,o,i,s){return B(r).pipe(nt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(Se(u=>{if(u instanceof Ur)return D(null);throw u}))),ze(a=>!!a),Se(a=>{if(Qp(a))return db(n,o,i)?D(new $c):Un(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return lb(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s):Un(o):Un(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=o.path==="**"?Mp(i):Gc(r,o,i);if(!a)return Un(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>hb&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(K(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,o,i){let s;return n.path==="**"?(s=D(Mp(o)),r.children={}):s=ib(r,n,o,e,this.urlSerializer),s.pipe(ie(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ie(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Vr(l,f,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,mb(n),Xe(n),n.component??n._loadedComponent??null,n,vb(n)),{segmentGroup:g,slicedSegments:S}=bp(r,l,d,u);if(S.length===0&&g.hasChildren())return this.processChildren(c,u,g).pipe(R(w=>w===null?null:new Me(h,w)));if(u.length===0&&S.length===0)return D(new Me(h,[]));let I=Xe(n)===i;return this.processSegment(c,u,g,S,I?T:i,!0).pipe(R(w=>new Me(h,w instanceof Me?[w]:[])))}))):Un(r)))}getChildConfig(e,r,n){return r.children?D({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?D({routes:r._loadedRoutes,injector:r._loadedInjector}):tb(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(J(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):ob(r))):D({routes:[],injector:e})}};function pb(t){t.sort((e,r)=>e.value.outlet===T?-1:r.value.outlet===T?1:e.value.outlet.localeCompare(r.value.outlet))}function gb(t){let e=t.value.routeConfig;return e&&e.path===""}function Jp(t){let e=[],r=new Set;for(let n of t){if(!gb(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=Jp(n.children);e.push(new Me(n.value,o))}return e.filter(n=>!r.has(n))}function mb(t){return t.data||{}}function vb(t){return t.resolve||{}}function Mp(t){return{matched:!0,parameters:t.length>0?Ap(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function yb(t,e,r,n,o,i){return K(s=>fb(t,e,r,n,s.extractedUrl,o,i).pipe(R(({state:a,tree:u})=>Y(y({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Db(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return D(r);let i=o.map(c=>c.route),s=new Set(i),a=Xp(i[0].parent).slice(1),u=0;return B(a).pipe(nt(c=>s.has(c)?wb(c,n,t,e):(c.data=Hc(c,c.parent,t).resolve,D(void 0))),J(()=>u++),pn(1),K(c=>u===a.length?D(r):ye))})}function Xp(t){let e=t.children.map(r=>Xp(r)).flat();return[t,...e]}function wb(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Wp(o)&&(i[Br]=o.title),Cb(i,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Hc(t,t.parent,r).resolve,null)))}function Cb(t,e,r,n){let o=yc(t);if(o.length===0)return D({});let i={};return B(o).pipe(K(s=>Eb(t[s],e,r,n).pipe(ze(),J(a=>{i[s]=a}))),pn(1),ks(i),Se(s=>Qp(s)?ye:fn(s)))}function Eb(t,e,r,n){let o=Wr(e)??n,i=Yn(t,o),s=i.resolve?i.resolve(e,r):o.runInContext(()=>i(e,r));return Ot(s)}function mc(t){return ie(e=>{let r=t(e);return r?B(r).pipe(R(()=>e)):D(e)})}var eg=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===T);return o}getResolvedTitleForRoute(n){return n.data[Br]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(Ib))(),providedIn:"root"});let t=e;return t})(),Ib=(()=>{let e=class e extends eg{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(m(fc))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qr=new E("",{providedIn:"root",factory:()=>({})}),ps=new E("ROUTES"),qc=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Ni)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return D(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Ot(n.loadComponent()).pipe(R(tg),J(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),yt(()=>{this.componentLoaders.delete(n)})),i=new ln(o,()=>new ue).pipe(cn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=bb(o,this.compiler,n,this.onLoadEndListener).pipe(yt(()=>{this.childrenLoaders.delete(o)})),a=new ln(s,()=>new ue).pipe(cn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function bb(t,e,r,n){return Ot(t.loadChildren()).pipe(R(tg),K(o=>o instanceof cr||Array.isArray(o)?D(o):B(e.compileModuleAsync(o))),R(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(ps,[],{optional:!0,self:!0}).flat()),{routes:s.map(Wc),injector:i}}))}function Mb(t){return t&&typeof t=="object"&&"default"in t}function tg(t){return Mb(t)?t.default:t}var Zc=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(Sb))(),providedIn:"root"});let t=e;return t})(),Sb=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ng=new E(""),rg=new E("");function Tb(t,e,r){let n=t.get(rg),o=t.get(ae);return t.get(V).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let i,s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),xb(t))),{onViewTransitionCreated:u}=n;return u&&If(t,()=>u({transition:a,from:e,to:r})),s})}function xb(t){return new Promise(e=>{Tu(e,{injector:t})})}var Yc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ue,this.transitionAbortSubject=new ue,this.configLoader=p(qc),this.environmentInjector=p(ge),this.urlSerializer=p(Hr),this.rootContexts=p(zr),this.location=p(Vn),this.inputBindingEnabled=p(ms,{optional:!0})!==null,this.titleStrategy=p(eg),this.options=p(qr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Zc),this.createViewTransition=p(ng,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Sc(i)),o=i=>this.events.next(new Tc(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Y(y(y({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new oe({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Rr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(he(s=>s.id!==0),R(s=>Y(y({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ie(s=>{this.currentTransition=s;let a=!1,u=!1;return D(s).pipe(J(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Y(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ie(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Rt(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),ye}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return D(c).pipe(ie(f=>{let h=this.transitions?.getValue();return this.events.next(new qn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ye:Promise.resolve(f)}),yb(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Y(y({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new as(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:S,extras:I}=c,w=new qn(f,this.urlSerializer.serialize(h),g,S);this.events.next(w);let Z=Hp(h,this.rootComponentType).snapshot;return this.currentTransition=s=Y(y({},c),{targetSnapshot:Z,urlAfterRedirects:h,extras:Y(y({},I),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new Rt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),ye}}),J(c=>{let l=new Ec(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),R(c=>(this.currentTransition=s=Y(y({},c),{guards:LI(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),qI(this.environmentInjector,c=>this.events.next(c)),J(c=>{if(s.guardsResult=c.guardsResult,Gn(c.guardsResult))throw qp(this.urlSerializer,c.guardsResult);let l=new Ic(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),he(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),mc(c=>{if(c.guards.canActivateChecks.length)return D(c).pipe(J(l=>{let d=new bc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ie(l=>{let d=!1;return D(l).pipe(Db(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),J(l=>{let d=new Mc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),mc(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(J(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Jn(l(c.targetSnapshot.root)).pipe(vt(),rt(1))}),mc(()=>this.afterPreactivation()),ie(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?B(d).pipe(R(()=>s)):D(s)}),R(c=>{let l=_I(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=Y(y({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),J(()=>{this.events.next(new Lr)}),kI(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),rt(1),J({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $e(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Mo(this.transitionAbortSubject.pipe(J(c=>{throw c}))),yt(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Se(c=>{if(u=!0,Yp(c))this.events.next(new Nt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),RI(c)?this.events.next(new jr(c.url)):s.resolve(!1);else{this.events.next(new kr(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){s.reject(l)}}return ye}))}))}cancelNavigationTransition(n,o,i){let s=new Nt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _b(t){return t!==Rr}var Ab=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(Nb))(),providedIn:"root"});let t=e;return t})(),Bc=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Nb=(()=>{let e=class e extends Bc{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ru(e)))(i||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),og=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>(()=>p(Rb))(),providedIn:"root"});let t=e;return t})(),Rb=(()=>{let e=class e extends og{constructor(){super(...arguments),this.location=p(Vn),this.urlSerializer=p(Hr),this.options=p(qr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Zc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new At,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hp(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof qn)this.stateMemento=this.createStateMemento();else if(n instanceof Rt)this.rawUrlTree=o.initialUrl;else if(n instanceof as){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Lr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof Nt&&(n.code===3||n.code===2)?this.restoreHistory(o):n instanceof kr?this.restoreHistory(o,!0):n instanceof $e&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=y(y({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=y(y({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ru(e)))(i||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ar=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ar||{});function ig(t,e){t.events.pipe(he(r=>r instanceof $e||r instanceof Nt||r instanceof kr||r instanceof Rt),R(r=>r instanceof $e||r instanceof Rt?Ar.COMPLETE:(r instanceof Nt?r.code===0||r.code===1:!1)?Ar.REDIRECTING:Ar.FAILED),he(r=>r!==Ar.REDIRECTING),rt(1)).subscribe(()=>{e()})}function Ob(t){throw t}var Pb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},gt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(_i),this.stateManager=p(og),this.options=p(qr,{optional:!0})||{},this.pendingTasks=p(Ln),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Yc),this.urlSerializer=p(Hr),this.location=p(Vn),this.urlHandlingStrategy=p(Zc),this._events=new ue,this.errorHandler=this.options.errorHandler||Ob,this.navigated=!1,this.routeReuseStrategy=p(Ab),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(ps,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(ms,{optional:!0}),this.eventsSubscription=new Q,this.isNgZoneEnabled=p(V)instanceof V&&V.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Nt&&o.code!==0&&o.code!==1)this.navigated=!0;else if(o instanceof $e)this.navigated=!0;else if(o instanceof jr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||_b(i.source)};this.scheduleNavigation(a,Rr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Lb(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)}))}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=y({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Wc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=y(y({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Vp(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return $p(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Gn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Rr,null,o)}navigate(n,o={skipLocationChange:!1}){return kb(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=y({},Pb):o===!1?i=y({},Fb):i=o,Gn(n))return Dp(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Dp(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.keys(n).reduce((o,i)=>{let s=n[i];return s!=null&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return ig(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kb(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a,u){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new ue,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof $e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:$f(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(W(gt),W(rn),ou("tabindex"),W(mr),W(ct),W(pt))},e.\u0275dir=Qt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Pu("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Nu("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Dr],skipLocationChange:["skipLocationChange","skipLocationChange",Dr],replaceUrl:["replaceUrl","replaceUrl",Dr],routerLink:"routerLink"},standalone:!0,features:[_u,Rn]});let t=e;return t})(),MR=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new se,this.routerEventsSubscription=n.events.subscribe(u=>{u instanceof $e&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe(He()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=B(n).pipe(He()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let o=jb(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>i.urlTree?n.isActive(i.urlTree,o):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(W(gt),W(ct),W(mr),W(Fn),W(Sp,8))},e.\u0275dir=Qt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Sh(s,Sp,5),o&2){let a;Mh(a=Th())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Rn]});let t=e;return t})();function jb(t){return!!t.paths}var gs=class{};var Vb=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(he(n=>n instanceof $e),nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=Ti(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(u,s.children??s._loadedRoutes))}return B(i).pipe(He())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=D(null);let s=i.pipe(K(a=>a===null?D(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return B([s,a]).pipe(He())}else return s})}};e.\u0275fac=function(o){return new(o||e)(m(gt),m(Ni),m(ge),m(gs),m(qc))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sg=new E(""),$b=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof qn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof $e?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Rt&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof us&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new us(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Gf()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function Ub(t){return t.routerState.root}function Zr(t,e){return{\u0275kind:t,\u0275providers:e}}function Bb(){let t=p(je);return e=>{let r=t.get(Jt);if(e!==r.components[0])return;let n=t.get(gt),o=t.get(ag);t.get(Qc)===1&&n.initialNavigation(),t.get(ug,null,O.Optional)?.setUpPreloading(),t.get(sg,null,O.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var ag=new E("",{factory:()=>new ue}),Qc=new E("",{providedIn:"root",factory:()=>1});function Hb(){return Zr(2,[{provide:Qc,useValue:0},{provide:xi,multi:!0,deps:[je],useFactory:e=>{let r=e.get(Wh,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(gt),i=e.get(ag);ig(o,()=>{n(!0)}),e.get(Yc).afterPreactivation=()=>(n(!0),i.closed?D(void 0):i),o.initialNavigation()}))}}])}function zb(){return Zr(3,[{provide:xi,multi:!0,useFactory:()=>{let e=p(gt);return()=>{e.setUpLocationChangeListener()}}},{provide:Qc,useValue:2}])}var ug=new E("");function Wb(t){return Zr(0,[{provide:ug,useExisting:Vb},{provide:gs,useExisting:t}])}function Gb(){return Zr(8,[Ip,{provide:ms,useExisting:Ip}])}function qb(t){let e=[{provide:ng,useValue:Tb},{provide:rg,useValue:y({skipNextTransition:!!t?.skipInitialTransition},t)}];return Zr(9,e)}var Tp=new E("ROUTER_FORROOT_GUARD"),Zb=[Vn,{provide:Hr,useClass:Pr},gt,zr,{provide:rn,useFactory:Ub,deps:[gt]},qc,[]],SR=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[Zb,[],{provide:ps,multi:!0,useValue:n},{provide:Tp,useFactory:Jb,deps:[[gt,new vi,new su]]},{provide:qr,useValue:o||{}},o?.useHash?Qb():Kb(),Yb(),o?.preloadingStrategy?Wb(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?Xb(o):[],o?.bindToComponentInputs?Gb().\u0275providers:[],o?.enableViewTransitions?qb().\u0275providers:[],e0()]}}static forChild(n){return{ngModule:e,providers:[{provide:ps,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(m(Tp,8))},e.\u0275mod=st({type:e}),e.\u0275inj=it({});let t=e;return t})();function Yb(){return{provide:sg,useFactory:()=>{let t=p(ep),e=p(V),r=p(qr),n=p(Yc),o=p(Hr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new $b(o,n,t,e,r)}}}function Qb(){return{provide:pt,useClass:qh}}function Kb(){return{provide:pt,useClass:Qu}}function Jb(t){return"guarded"}function Xb(t){return[t.initialNavigation==="disabled"?zb().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Hb().\u0275providers:[]]}var xp=new E("");function e0(){return[{provide:xp,useFactory:Bb},{provide:Pi,multi:!0,useExisting:xp}]}var AR=(()=>{let e=class e{constructor(n){this.http=n,this.apiUrl="https://api5.angular-buch.com"}getAll(){return this.http.get(`${this.apiUrl}/books`).pipe(Se(n=>(console.error(n),D([]))))}getSingle(n){return this.http.get(`${this.apiUrl}/books/${n}`)}remove(n){return this.http.delete(`${this.apiUrl}/books/${n}`)}getAllSearch(n){return this.http.get(`${this.apiUrl}/books/search/${n}`).pipe(Se(o=>(console.error(o),D([]))))}create(n){return this.http.post(`${this.apiUrl}/books`,n)}update(n){return this.http.put(`${this.apiUrl}/books/${n.isbn}`,n)}check(n){return this.http.get(`${this.apiUrl}/books/${n}/check`)}};e.\u0275fac=function(o){return new(o||e)(m(nc))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();export{y as a,Y as b,ue as c,oe as d,B as e,R as f,$g as g,he as h,Ug as i,Eo as j,ie as k,Mo as l,J as m,gd as n,v as o,C as p,it as q,E as r,m as s,p as t,Ad as u,st as v,Qt as w,qa as x,Rn as y,UA as z,BA as A,ru as B,Iy as C,ct as D,mr as E,HA as F,W as G,se as H,GD as I,Nu as J,sw as K,aw as L,xt as M,_w as N,gh as O,mh as P,Ru as Q,Fw as R,kw as S,GA as T,kn as U,Pu as V,qA as W,ZA as X,YA as Y,qw as Z,yh as _,QA as $,KA as aa,JA as ba,XA as ca,eN as da,tN as ea,Yt as fa,Ai as ga,Xt as ha,IN as ia,bN as ja,MN as ka,SN as la,TN as ma,Jh as na,vE as oa,BN as pa,sR as qa,aR as ra,rn as sa,xI as ta,gt as ua,Sp as va,MR as wa,SR as xa,AR as ya}; diff --git a/browser/chunk-LLWC3US5.js b/browser/chunk-LLWC3US5.js new file mode 100644 index 0000000..5c708f8 --- /dev/null +++ b/browser/chunk-LLWC3US5.js @@ -0,0 +1 @@ +import{d as i,p as s}from"./chunk-LH4AV5V3.js";var c=(()=>{let t=class t{constructor(){this._isAuthenticated$=new i(!0),this.isAuthenticated$=this._isAuthenticated$.asObservable()}get isAuthenticated(){return this._isAuthenticated$.value}login(){this._isAuthenticated$.next(!0)}logout(){this._isAuthenticated$.next(!1)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{c as a}; diff --git a/browser/favicon.ico b/browser/favicon.ico new file mode 100644 index 0000000..57614f9 Binary files /dev/null and b/browser/favicon.ico differ diff --git a/index.html b/browser/index.html similarity index 58% rename from index.html rename to browser/index.html index 61d1fd1..0ab3149 100644 --- a/index.html +++ b/browser/index.html @@ -6,10 +6,11 @@ - +
Loading ...
- + diff --git a/browser/main-SSBWUHCZ.js b/browser/main-SSBWUHCZ.js new file mode 100644 index 0000000..672155d --- /dev/null +++ b/browser/main-SSBWUHCZ.js @@ -0,0 +1,2 @@ +import{a as d}from"./chunk-LLWC3US5.js";import{A as h,F as c,G as C,K as m,L as R,N as g,O as o,P as n,Q as _,T as M,V as S,W as y,X as O,Y as a,Z as z,_ as B,ba as $,c as E,ca as j,da as G,ga as V,h as N,i as L,ia as P,j as I,ja as U,k as T,ka as k,la as W,m as F,oa as K,p as J,pa as X,q as b,qa as Y,ra as Z,s as H,t as x,ta as q,u as p,ua as Q,v as A,va as l,wa as tt,xa as w,ya as et,z as f}from"./chunk-LH4AV5V3.js";function lt(e){let t=e,s=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return s===1&&r===0?1:5}var it=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",lt];var ft=e=>["/books",e];function ht(e,t){if(e&1&&(o(0,"li")(1,"a",6),a(2),o(3,"p",7),a(4),n()()()),e&2){let s=t.$implicit;c(1),m("routerLink",$(3,ft,s.isbn)),c(1),B(" ",s.title," "),c(2),z(s.subtitle)}}function gt(e,t){e&1&&(o(0,"li"),a(1,"No results"),n())}function Mt(e,t){if(e&1&&(o(0,"ul",3),g(1,ht,5,5,"li",4)(2,gt,2,0,"li",5),n()),e&2){let s=t.ngIf;c(1),m("ngForOf",s),c(1),m("ngIf",!s.length)}}var ot=(()=>{let t=class t{constructor(r){this.service=r,this.input$=new E,this.isLoading=!1,this.results$=this.input$.pipe(N(i=>i.length>=3),L(500),I(),F(()=>this.isLoading=!0),T(i=>this.service.getAllSearch(i)),F(()=>this.isLoading=!1))}};t.\u0275fac=function(i){return new(i||t)(C(et))},t.\u0275cmp=p({type:t,selectors:[["bm-search"]],decls:4,vars:5,consts:[["type","search","autocomplete","off","aria-label","Search",3,"input"],["searchInput",""],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(i,u){if(i&1){let D=M();o(0,"input",0,1),S("input",function(){f(D);let pt=O(1);return h(u.input$.next(pt.value))}),n(),g(2,Mt,3,2,"ul",2),j(3,"async")}i&2&&(R("loading",u.isLoading),c(2),m("ngIf",G(3,3,u.results$)))},dependencies:[U,k,l,W]});let e=t;return e})();var nt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=p({type:t,selectors:[["bm-home"]],decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(i,u){i&1&&(o(0,"h1"),a(1,"Home"),n(),o(2,"a",0),a(3,` Show book list +`),n(),o(4,"h2"),a(5,"Search"),n(),_(6,"bm-search"))},dependencies:[l,ot]});let e=t;return e})();var at=()=>{let e=x(d),t=x(Q);return e.isAuthenticated?!0:(window.alert("Not logged in!"),t.parseUrl("/home"))};var vt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:nt},{path:"books",loadChildren:()=>import("./chunk-KHUABC3J.js").then(e=>e.BooksModule)},{path:"admin",loadChildren:()=>import("./chunk-CTMD4SQN.js").then(e=>e.AdminModule),canActivate:[at]}],st=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=b({imports:[w.forRoot(vt),w]});let e=t;return e})();function At(e,t){if(e&1){let s=M();o(0,"button",6),S("click",function(){f(s);let i=y();return h(i.auth.login())}),a(1,"Login"),n()}}function Ct(e,t){if(e&1){let s=M();o(0,"button",7),S("click",function(){f(s);let i=y();return h(i.auth.logout())}),a(1,"Logout"),n()}}var ct=(()=>{let t=class t{constructor(r){this.auth=r}};t.\u0275fac=function(i){return new(i||t)(C(d))},t.\u0275cmp=p({type:t,selectors:[["bm-root"]],decls:12,vars:2,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/admin","routerLinkActive","active","ariaCurrentWhenActive","page"],[1,"actions"],["class","green",3,"click",4,"ngIf"],["class","red",3,"click",4,"ngIf"],[1,"green",3,"click"],[1,"red",3,"click"]],template:function(i,u){i&1&&(o(0,"nav")(1,"a",0),a(2,"Home"),n(),o(3,"a",1),a(4,"Books"),n(),o(5,"a",2),a(6,"Administration"),n(),o(7,"div",3),g(8,At,2,0,"button",4)(9,Ct,2,0,"button",5),n()(),o(10,"main"),_(11,"router-outlet"),n()),i&2&&(c(8),m("ngIf",!u.auth.isAuthenticated),c(1),m("ngIf",u.auth.isAuthenticated))},dependencies:[k,q,l,tt]});let e=t;return e})();var ut=(()=>{let t=class t{constructor(r){this.authService=r}intercept(r,i){let u="1234567890";if(this.authService.isAuthenticated){let D=r.clone({setHeaders:{Authorization:`Bearer ${u}`}});return i.handle(D)}else return i.handle(r)}};t.\u0275fac=function(i){return new(i||t)(H(d))},t.\u0275prov=J({token:t,factory:t.\u0275fac});let e=t;return e})();var mt=(()=>{let t=class t{constructor(){P(it)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t,bootstrap:[ct]}),t.\u0275inj=b({providers:[{provide:K,useClass:ut,multi:!0},{provide:V,useValue:"de"}],imports:[Z,st,X]});let e=t;return e})();Y().bootstrapModule(mt).catch(e=>console.error(e)); diff --git a/loader.ee3cf4c614872a86.svg b/browser/media/loader-5Y6PJRQU.svg similarity index 100% rename from loader.ee3cf4c614872a86.svg rename to browser/media/loader-5Y6PJRQU.svg diff --git a/search.d0af5a2290579f05.svg b/browser/media/search-2CXVUIUQ.svg similarity index 100% rename from search.d0af5a2290579f05.svg rename to browser/media/search-2CXVUIUQ.svg diff --git a/browser/polyfills-LZBJRJJE.js b/browser/polyfills-LZBJRJJE.js new file mode 100644 index 0000000..57d4c33 --- /dev/null +++ b/browser/polyfills-LZBJRJJE.js @@ -0,0 +1,2 @@ +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.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=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)}); diff --git a/browser/styles-ILYRG3NJ.css b/browser/styles-ILYRG3NJ.css new file mode 100644 index 0000000..6c54a24 --- /dev/null +++ b/browser/styles-ILYRG3NJ.css @@ -0,0 +1 @@ +*{font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif}h1,h2,h3,h4,h5,h6{color:#000000de;box-sizing:inherit;line-height:1.3em;margin:calc(2rem - .15em) 0em 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem;margin-top:0}h2,[role=doc-subtitle]{font-size:1.4rem}h3{margin:10px 0}p{margin:0 0 1em;line-height:1.4em}ul{padding:0;list-style:none}img{object-fit:contain}button,a.button{box-sizing:inherit;overflow:visible;cursor:pointer;display:inline-block;min-height:1em;border:none;vertical-align:initial;background:#e0e1e2 none;color:#0009;font-family:Lato,Helvetica Neue,Arial,Helvetica,sans-serif;margin:.25em .25em 0 0;padding:.8em 1.5em;text-transform:none;text-shadow:none;font-weight:700;line-height:1em;font-style:normal;text-align:center;text-decoration:none;border-radius:.3rem;-webkit-user-select:none;user-select:none;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 0 1px transparent,inset 0 0 #22242626;font-size:.8rem}button:hover,a.button:hover{background-color:#cacbcd}button:disabled,a.button:disabled,button:disabled:hover,a.button:disabled:hover{cursor:not-allowed!important;background-color:#0000000d!important;color:#888!important}button.arrow-left,a.arrow-left{position:relative;padding-left:1.9rem}button.arrow-left:before,a.arrow-left:before{content:"\a";border-style:solid;border-width:7px 12px 7px 0;border-color:transparent #444 transparent transparent;position:absolute;left:.7rem}input,textarea{box-sizing:inherit;background:#FFFFFF;border:1px solid rgba(10,10,10,.3);color:#000000e6;border-radius:.3rem;transition:color .1s ease,border-color .1s ease;line-height:1.2}input{font-size:100%;overflow:visible;margin:0;max-width:100%;flex:1 0 auto;text-align:left;padding:.7em 1em;box-shadow:none;padding-right:2.7em!important;border-radius:.3rem}input[type=search]{background:url("./media/search-2CXVUIUQ.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}input.loading,input.ng-pending{background:url("./media/loader-5Y6PJRQU.svg") no-repeat scroll calc(100% - 10px) 10px;background-size:22px 22px}textarea{overflow:auto;padding:1em;box-shadow:inset 0 0 0 0 transparent;font-size:1em;line-height:1.2857;resize:vertical;vertical-align:top;height:12em;min-height:8em;max-height:24em}input.ng-invalid.ng-touched,textarea.ng-invalid.ng-touched,fieldset.ng-invalid.ng-touched input,fieldset.ng-invalid.ng-touched textarea{outline-color:#d01919;border-bottom-color:#d01919;border-bottom-width:.2em;margin-bottom:20px;outline:0}input.ng-pending,textarea.ng-pending,fieldset.ng-pending input,fieldset.ng-pending textarea{animation:pulse 1.2s infinite}@keyframes pulse{0%{box-shadow:0 0 #e2bc00}50%{box-shadow:0 0 0 .2em #e2bc0080}to{box-shadow:0 0 #e2bc00}}body{margin:20px;min-width:320px}.yellow{background-color:#fbbd08!important;color:#fff!important}.yellow:hover{background-color:#eaae00!important}.red{background-color:#db2828!important;color:#fff!important}.red:hover{background-color:#d01919!important}.green{background-color:#287e2b!important;color:#fff!important}.green:hover{background-color:#096c0d!important}ul.comma-list{display:inline-flex;list-style:none;gap:.2em;flex-wrap:wrap}ul.comma-list li{display:inline-flex}ul.comma-list li:after{content:", "}ul.comma-list li:last-child:after{content:""}.visually-hidden{display:none}.loader{color:#000;text-align:center;font-family:sans-serif;font-size:16px;perspective:350px;padding-top:130px}.loader:before,.loader:after{content:"";display:block;width:45px;height:70px;border:4px solid #000000;margin:5% auto 30px;position:absolute;top:-10px;left:50%}.loader:before{border-left:1px solid #db2828;overflow:hidden;background:#db2828;transform-style:preserve-3d;transform-origin:left center;animation:pageTurn 1.3s cubic-bezier(0,.39,1,.68) .1s infinite}@keyframes pageTurn{0%{transform:rotateY(0)}20%{background:#d01919}40%{background:#db2828;transform:rotateY(-180deg)}to{background:#db2828;transform:rotateY(-180deg)}}@keyframes Dots{0%{content:""}33%{content:"."}66%{content:".."}to{content:"..."}}nav{line-height:1.4em;color:#000000de;box-sizing:inherit;margin:0rem 0em 1rem;background:#FFFFFF;font-weight:400;border:1px solid rgba(34,36,38,.15);box-shadow:0 1px 2px #22242626;border-radius:.3em;min-height:2.9em;font-size:1rem;display:flex;flex-wrap:wrap}nav a{font-size:1rem;box-sizing:inherit;position:relative;vertical-align:middle;line-height:1;text-decoration:none;-webkit-tap-highlight-color:transparent;flex:0 0 auto;-webkit-user-select:none;user-select:none;background:none;padding:.9em 1.1em;text-transform:none;color:#000000de;font-weight:400;transition:background .1s ease,box-shadow .1s ease,color .1s ease;display:flex;align-items:center}nav a:hover{cursor:pointer;background:rgba(0,0,0,.03);color:#000000f2}nav a.active{background:rgba(0,0,0,.05);color:#000000f2;font-weight:400;box-shadow:none}nav .actions{display:flex;flex-grow:1;flex-direction:row-reverse;margin:.25em .75em;gap:.5em}nav .actions button{margin:0}button.notification:before{content:"\1f514"}button.notification.red:before{content:"\1f515"}span.icon.loading{position:relative;text-align:center;width:2.7em;top:19px;left:-20px}span.icon:after{position:absolute;content:"";width:1.3em;font-style:normal;height:1.3em}span.icon.star:after{content:"\2605";color:#fbbd08;position:relative}span.icon.loading:after{margin:-.7em 0 0 -.7em;-webkit-animation:button-spin .6s linear;animation:button-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#767676 transparent transparent;border-style:solid;border-width:.2em;-webkit-box-shadow:0 0 0 1px transparent;box-shadow:0 0 0 1px transparent}ul.search-results{line-height:1.4em;color:#000000de;font-size:1em;box-sizing:inherit;animation-iteration-count:1;animation-duration:.3s;animation-timing-function:ease;animation-fill-mode:both;display:block!important;visibility:visible!important;top:100%;left:0%;transform-origin:center top;white-space:normal;text-align:left;text-transform:none;background:#FFFFFF;margin-top:.5em;width:18em;border-radius:.3em;box-shadow:0 2px 4px #2224261f,0 2px 10px #22242626;border:1px solid #D4D4D5;z-index:998;max-width:calc(100vw - 2rem)}ul.search-results>li:not(:has(>a)){padding:.9em 1.1em}ul.search-results>li>a{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;box-sizing:inherit;background-color:transparent;text-decoration:none;border-radius:.3 .3 0em 0em;cursor:initial;display:block;overflow:hidden;font-size:1em;padding:.9em 1.1em;color:#000000de;line-height:1.33;border-bottom:1px solid rgba(34,36,38,.1)}ul.search-results>li>a{cursor:pointer}ul.search-results>li>a:hover{background:#F9FAFB}ul.search-results>li>a>p{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;cursor:pointer;box-sizing:inherit;margin:0;line-height:1.4em;font-size:.92857143em;color:#505050}.book-list{margin:0}.book-list .list-item{display:grid;grid-template-columns:minmax(50px,120px) auto;gap:0px 0px;grid-template-areas:"thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail .";border-bottom:1px solid rgba(34,36,38,.15);padding:1em;column-gap:1em}.book-list a{text-decoration:none;color:inherit}.book-list a:hover{color:#000c}.book-list img{grid-area:thumbnail;min-width:120px;width:120px;height:150px}.book-list h2{margin:0}.book-list h3{margin-top:0}.details>h2{padding-bottom:10px;border-bottom:1px solid rgba(34,36,38,.15)}.details h2{margin-bottom:0;font-size:1.3em}.details .header{display:flex;justify-content:space-between;padding-bottom:10px;flex-wrap:wrap}.details .header ul{margin:0}.details .header h2{margin-top:10px}.details .header>div{padding-right:20px}.details .header>div:last-child{padding-right:0;min-width:80px}.details p{padding-top:10px;white-space:pre-wrap}.details img{width:200px;height:250px;display:block;margin:1em 0}form{max-width:700px}form input{width:calc(100% - 4em);margin:5px 0 22px}form textarea{width:calc(100% - 2.4em);margin:5px 0 22px}form input:disabled,form textarea:disabled{background-color:#0000000d}form button.add{margin-left:10px}form fieldset{width:100%;border:none;margin:0;padding:0}form fieldset>input:only-child{width:calc(100% - 4em)}form fieldset>input{width:calc(50% - 4em)}form fieldset input:nth-child(odd){margin-right:.2em}form>button[type=submit]{background-color:#287e2b;color:#fff}form>button[type=submit]:hover{background-color:#096c0d}input[type=date],input[type=time]{min-height:1.2em;-webkit-appearance:none}.error{top:-20px;position:relative;color:#db2828;font-size:14px}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@media only screen and (max-width: 700px){nav{display:flex;border:none;box-shadow:none;gap:.5em 0}nav>a{border:1px solid rgba(34,36,38,.15)}nav>a:first-of-type{border-top-left-radius:.3em;border-bottom-left-radius:.3em;border-right:none}nav>a:last-of-type{border-top-right-radius:.3em;border-bottom-right-radius:.3em;border-left:none;margin-right:2em}nav .actions{margin:0;gap:.5rem;min-width:200px}nav .actions button{margin:0}}@media only screen and (max-width: 600px){nav .actions{justify-content:flex-end}}@media only screen and (max-width: 500px){nav>a{padding:.7em}nav>a:last-of-type{margin-right:0}}@media only screen and (max-width: 460px){h2{font-size:1.2em}[role=doc-subtitle]{font-size:1.1rem}.book-list img{grid-area:thumbnail;min-width:100px;width:100px;height:100px}.book-list .list-item{column-gap:2em;grid-template-columns:1fr 2fr}}@media only screen and (max-width: 360px){.book-list img{grid-area:thumbnail;min-width:80px;width:80px;height:100px}.book-list .list-item{column-gap:1em}} diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index 997406a..0000000 Binary files a/favicon.ico and /dev/null differ diff --git a/main.a2f645916bfe4017.js b/main.a2f645916bfe4017.js deleted file mode 100644 index 3cdc404..0000000 --- a/main.a2f645916bfe4017.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbook_monkey=self.webpackChunkbook_monkey||[]).push([[179],{9346:(He,te,w)=>{w.d(te,{e:()=>J});var p=w(5619),b=w(6689);let J=(()=>{class z{constructor(){this._isAuthenticated$=new p.X(!0),this.isAuthenticated$=this._isAuthenticated$.asObservable()}get isAuthenticated(){return this._isAuthenticated$.value}login(){this._isAuthenticated$.next(!0)}logout(){this._isAuthenticated$.next(!1)}static#e=this.\u0275fac=function(re){return new(re||z)};static#t=this.\u0275prov=b.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},5008:(He,te,w)=>{w.d(te,{T:()=>F});var p=w(6306),b=w(2096),J=w(6689),z=w(9862);let F=(()=>{class B{constructor(le){this.http=le,this.apiUrl="https://api5.angular-buch.com"}getAll(){return this.http.get(`${this.apiUrl}/books`).pipe((0,p.K)(le=>(console.error(le),(0,b.of)([]))))}getSingle(le){return this.http.get(`${this.apiUrl}/books/${le}`)}remove(le){return this.http.delete(`${this.apiUrl}/books/${le}`)}getAllSearch(le){return this.http.get(`${this.apiUrl}/books/search/${le}`).pipe((0,p.K)(de=>(console.error(de),(0,b.of)([]))))}create(le){return this.http.post(`${this.apiUrl}/books`,le)}update(le){return this.http.put(`${this.apiUrl}/books/${le.isbn}`,le)}check(le){return this.http.get(`${this.apiUrl}/books/${le}/check`)}static#e=this.\u0275fac=function(de){return new(de||B)(J.LFG(z.eN))};static#t=this.\u0275prov=J.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},6694:(He,te,w)=>{var p=w(6593),b=w(6689),J=w(9862),z=w(6814);const F=void 0,re=["de",[["AM","PM"],F,F],F,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],F,F],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",F,"{1} 'um' {0}",F],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[F,"\u0440."],CUC:[F,"Cub$"],DEM:["DM"],FKP:[F,"Fl\xa3"],GHS:[F,"\u20b5"],GNF:[F,"F.G."],KMF:[F,"FC"],PHP:[F,"\u20b1"],RON:[F,"L"],RUR:[F,"\u0440."],RWF:[F,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[F,"K"]},"ltr",function B(pe){const ae=Math.floor(Math.abs(pe)),ge=pe.toString().replace(/^[^.]*\.?/,"").length;return 1===ae&&0===ge?1:5}];var le=w(2413),de=w(8645),oe=w(2181),V=w(7394);class se extends V.w0{constructor(Z,ae){super()}schedule(Z,ae=0){return this}}const Se={setInterval(pe,Z,...ae){const{delegate:ge}=Se;return ge?.setInterval?ge.setInterval(pe,Z,...ae):setInterval(pe,Z,...ae)},clearInterval(pe){const{delegate:Z}=Se;return(Z?.clearInterval||clearInterval)(pe)},delegate:void 0};var ye=w(9039);const ct={now:()=>(ct.delegate||Date).now(),delegate:void 0};class Je{constructor(Z,ae=Je.now){this.schedulerActionCtor=Z,this.now=ae}schedule(Z,ae=0,ge){return new this.schedulerActionCtor(this,Z).schedule(ge,ae)}}Je.now=ct.now;const ht=new class Ne extends Je{constructor(Z,ae=Je.now){super(Z,ae),this.actions=[],this._active=!1}flush(Z){const{actions:ae}=this;if(this._active)return void ae.push(Z);let ge;this._active=!0;do{if(ge=Z.execute(Z.state,Z.delay))break}while(Z=ae.shift());if(this._active=!1,ge){for(;Z=ae.shift();)Z.unsubscribe();throw ge}}}(class Re extends se{constructor(Z,ae){super(Z,ae),this.scheduler=Z,this.work=ae,this.pending=!1}schedule(Z,ae=0){var ge;if(this.closed)return this;this.state=Z;const Le=this.id,dt=this.scheduler;return null!=Le&&(this.id=this.recycleAsyncId(dt,Le,ae)),this.pending=!0,this.delay=ae,this.id=null!==(ge=this.id)&&void 0!==ge?ge:this.requestAsyncId(dt,this.id,ae),this}requestAsyncId(Z,ae,ge=0){return Se.setInterval(Z.flush.bind(Z,this),ge)}recycleAsyncId(Z,ae,ge=0){if(null!=ge&&this.delay===ge&&!1===this.pending)return ae;null!=ae&&Se.clearInterval(ae)}execute(Z,ae){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ge=this._execute(Z,ae);if(ge)return ge;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Z,ae){let Le,ge=!1;try{this.work(Z)}catch(dt){ge=!0,Le=dt||new Error("Scheduled action threw falsy error")}if(ge)return this.unsubscribe(),Le}unsubscribe(){if(!this.closed){const{id:Z,scheduler:ae}=this,{actions:ge}=ae;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ye.P)(ge,this),null!=Z&&(this.id=this.recycleAsyncId(ae,Z,null)),this.delay=null,super.unsubscribe()}}});var De=w(9360),me=w(8251),ve=w(3997),Ee=w(9397),fe=w(4664),Ue=w(5008);const je=function(pe){return["/books",pe]};function he(pe,Z){if(1&pe&&(b.TgZ(0,"li")(1,"a",6),b._uU(2),b.TgZ(3,"p",7),b._uU(4),b.qZA()()()),2&pe){const ae=Z.$implicit;b.xp6(1),b.Q6J("routerLink",b.VKq(3,je,ae.isbn)),b.xp6(1),b.hij(" ",ae.title," "),b.xp6(2),b.Oqu(ae.subtitle)}}function Ft(pe,Z){1&pe&&(b.TgZ(0,"li"),b._uU(1,"No results"),b.qZA())}function ke(pe,Z){if(1&pe&&(b.TgZ(0,"ul",3),b.YNc(1,he,5,5,"li",4),b.YNc(2,Ft,2,0,"li",5),b.qZA()),2&pe){const ae=Z.ngIf;b.xp6(1),b.Q6J("ngForOf",ae),b.xp6(1),b.Q6J("ngIf",!ae.length)}}let Ve=(()=>{class pe{constructor(ae){this.service=ae,this.input$=new de.x,this.isLoading=!1,this.results$=this.input$.pipe((0,oe.h)(ge=>ge.length>=3),function xe(pe,Z=ht){return(0,De.e)((ae,ge)=>{let Le=null,dt=null,yt=null;const Ce=()=>{if(Le){Le.unsubscribe(),Le=null;const dn=dt;dt=null,ge.next(dn)}};function ln(){const dn=yt+pe,eo=Z.now();if(eo{dt=dn,yt=Z.now(),Le||(Le=Z.schedule(ln,pe),ge.add(Le))},()=>{Ce(),ge.complete()},void 0,()=>{dt=Le=null}))})}(500),(0,ve.x)(),(0,Ee.b)(()=>this.isLoading=!0),(0,fe.w)(ge=>this.service.getAllSearch(ge)),(0,Ee.b)(()=>this.isLoading=!1))}static#e=this.\u0275fac=function(ge){return new(ge||pe)(b.Y36(Ue.T))};static#t=this.\u0275cmp=b.Xpm({type:pe,selectors:[["bm-search"]],decls:4,vars:5,consts:[["type","search","autocomplete","off","aria-label","Search",3,"input"],["searchInput",""],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(ge,Le){if(1&ge){const dt=b.EpF();b.TgZ(0,"input",0,1),b.NdJ("input",function(){b.CHM(dt);const Ce=b.MAs(1);return b.KtG(Le.input$.next(Ce.value))}),b.qZA(),b.YNc(2,ke,3,2,"ul",2),b.ALo(3,"async")}2&ge&&(b.ekj("loading",Le.isLoading),b.xp6(2),b.Q6J("ngIf",b.lcZ(3,3,Le.results$)))},dependencies:[z.sg,z.O5,le.rH,z.Ov]})}return pe})(),Lt=(()=>{class pe{static#e=this.\u0275fac=function(ge){return new(ge||pe)};static#t=this.\u0275cmp=b.Xpm({type:pe,selectors:[["bm-home"]],decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(ge,Le){1&ge&&(b.TgZ(0,"h1"),b._uU(1,"Home"),b.qZA(),b.TgZ(2,"a",0),b._uU(3," Show book list\n"),b.qZA(),b.TgZ(4,"h2"),b._uU(5,"Search"),b.qZA(),b._UZ(6,"bm-search"))},dependencies:[le.rH,Ve]})}return pe})();var lt=w(9346);const j=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Lt},{path:"books",loadChildren:()=>w.e(881).then(w.bind(w,4881)).then(pe=>pe.BooksModule)},{path:"admin",loadChildren:()=>w.e(98).then(w.bind(w,5098)).then(pe=>pe.AdminModule),canActivate:[()=>{const pe=(0,b.f3M)(lt.e),Z=(0,b.f3M)(le.F0);return!!pe.isAuthenticated||(window.alert("Not logged in!"),Z.parseUrl("/home"))}]}];let G=(()=>{class pe{static#e=this.\u0275fac=function(ge){return new(ge||pe)};static#t=this.\u0275mod=b.oAB({type:pe});static#n=this.\u0275inj=b.cJS({imports:[le.Bz.forRoot(j),le.Bz]})}return pe})();function $(pe,Z){if(1&pe){const ae=b.EpF();b.TgZ(0,"button",6),b.NdJ("click",function(){b.CHM(ae);const Le=b.oxw();return b.KtG(Le.auth.login())}),b._uU(1,"Login"),b.qZA()}}function ce(pe,Z){if(1&pe){const ae=b.EpF();b.TgZ(0,"button",7),b.NdJ("click",function(){b.CHM(ae);const Le=b.oxw();return b.KtG(Le.auth.logout())}),b._uU(1,"Logout"),b.qZA()}}let ue=(()=>{class pe{constructor(ae){this.auth=ae}static#e=this.\u0275fac=function(ge){return new(ge||pe)(b.Y36(lt.e))};static#t=this.\u0275cmp=b.Xpm({type:pe,selectors:[["bm-root"]],decls:12,vars:2,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/admin","routerLinkActive","active","ariaCurrentWhenActive","page"],[1,"actions"],["class","green",3,"click",4,"ngIf"],["class","red",3,"click",4,"ngIf"],[1,"green",3,"click"],[1,"red",3,"click"]],template:function(ge,Le){1&ge&&(b.TgZ(0,"nav")(1,"a",0),b._uU(2,"Home"),b.qZA(),b.TgZ(3,"a",1),b._uU(4,"Books"),b.qZA(),b.TgZ(5,"a",2),b._uU(6,"Administration"),b.qZA(),b.TgZ(7,"div",3),b.YNc(8,$,2,0,"button",4),b.YNc(9,ce,2,0,"button",5),b.qZA()(),b.TgZ(10,"main"),b._UZ(11,"router-outlet"),b.qZA()),2&ge&&(b.xp6(8),b.Q6J("ngIf",!Le.auth.isAuthenticated),b.xp6(1),b.Q6J("ngIf",Le.auth.isAuthenticated))},dependencies:[z.O5,le.lC,le.rH,le.Od]})}return pe})(),$e=(()=>{class pe{constructor(ae){this.authService=ae}intercept(ae,ge){if(this.authService.isAuthenticated){const dt=ae.clone({setHeaders:{Authorization:"Bearer 1234567890"}});return ge.handle(dt)}return ge.handle(ae)}static#e=this.\u0275fac=function(ge){return new(ge||pe)(b.LFG(lt.e))};static#t=this.\u0275prov=b.Yz7({token:pe,factory:pe.\u0275fac})}return pe})(),rt=(()=>{class pe{constructor(){(0,z.qS)(re)}static#e=this.\u0275fac=function(ge){return new(ge||pe)};static#t=this.\u0275mod=b.oAB({type:pe,bootstrap:[ue]});static#n=this.\u0275inj=b.cJS({providers:[{provide:J.TP,useClass:$e,multi:!0},{provide:b.soG,useValue:"de"}],imports:[p.b2,G,J.JF]})}return pe})();p.q6().bootstrapModule(rt).catch(pe=>console.error(pe))},5619:(He,te,w)=>{w.d(te,{X:()=>b});var p=w(8645);class b extends p.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const F=super._subscribe(z);return!F.closed&&z.next(this._value),F}getValue(){const{hasError:z,thrownError:F,_value:B}=this;if(z)throw F;return this._throwIfClosed(),B}next(z){super.next(this._value=z)}}},5592:(He,te,w)=>{w.d(te,{y:()=>le});var p=w(305),b=w(7394),J=w(4850),z=w(8407),F=w(2653),B=w(4674),re=w(1441);let le=(()=>{class se{constructor(ye){ye&&(this._subscribe=ye)}lift(ye){const Re=new se;return Re.source=this,Re.operator=ye,Re}subscribe(ye,Re,ct){const Je=function V(se){return se&&se instanceof p.Lv||function oe(se){return se&&(0,B.m)(se.next)&&(0,B.m)(se.error)&&(0,B.m)(se.complete)}(se)&&(0,b.Nn)(se)}(ye)?ye:new p.Hp(ye,Re,ct);return(0,re.x)(()=>{const{operator:Ne,source:ht}=this;Je.add(Ne?Ne.call(Je,ht):ht?this._subscribe(Je):this._trySubscribe(Je))}),Je}_trySubscribe(ye){try{return this._subscribe(ye)}catch(Re){ye.error(Re)}}forEach(ye,Re){return new(Re=de(Re))((ct,Je)=>{const Ne=new p.Hp({next:ht=>{try{ye(ht)}catch(Ze){Je(Ze),Ne.unsubscribe()}},error:Je,complete:ct});this.subscribe(Ne)})}_subscribe(ye){var Re;return null===(Re=this.source)||void 0===Re?void 0:Re.subscribe(ye)}[J.L](){return this}pipe(...ye){return(0,z.U)(ye)(this)}toPromise(ye){return new(ye=de(ye))((Re,ct)=>{let Je;this.subscribe(Ne=>Je=Ne,Ne=>ct(Ne),()=>Re(Je))})}}return se.create=Se=>new se(Se),se})();function de(se){var Se;return null!==(Se=se??F.config.Promise)&&void 0!==Se?Se:Promise}},8645:(He,te,w)=>{w.d(te,{x:()=>re});var p=w(5592),b=w(7394);const z=(0,w(2306).d)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var F=w(9039),B=w(1441);let re=(()=>{class de extends p.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const se=new le(this,this);return se.operator=V,se}_throwIfClosed(){if(this.closed)throw new z}next(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const se of this.currentObservers)se.next(V)}})}error(V){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:se}=this;for(;se.length;)se.shift().error(V)}})}complete(){(0,B.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:se,isStopped:Se,observers:ye}=this;return se||Se?b.Lc:(this.currentObservers=null,ye.push(V),new b.w0(()=>{this.currentObservers=null,(0,F.P)(ye,V)}))}_checkFinalizedStatuses(V){const{hasError:se,thrownError:Se,isStopped:ye}=this;se?V.error(Se):ye&&V.complete()}asObservable(){const V=new p.y;return V.source=this,V}}return de.create=(oe,V)=>new le(oe,V),de})();class le extends re{constructor(oe,V){super(),this.destination=oe,this.source=V}next(oe){var V,se;null===(se=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===se||se.call(V,oe)}error(oe){var V,se;null===(se=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===se||se.call(V,oe)}complete(){var oe,V;null===(V=null===(oe=this.destination)||void 0===oe?void 0:oe.complete)||void 0===V||V.call(oe)}_subscribe(oe){var V,se;return null!==(se=null===(V=this.source)||void 0===V?void 0:V.subscribe(oe))&&void 0!==se?se:b.Lc}}},305:(He,te,w)=>{w.d(te,{Hp:()=>ct,Lv:()=>se});var p=w(4674),b=w(7394),J=w(2653),z=w(3894),F=w(2420);const B=de("C",void 0,void 0);function de(De,me,xe){return{kind:De,value:me,error:xe}}var oe=w(7599),V=w(1441);class se extends b.w0{constructor(me){super(),this.isStopped=!1,me?(this.destination=me,(0,b.Nn)(me)&&me.add(this)):this.destination=Ze}static create(me,xe,ve){return new ct(me,xe,ve)}next(me){this.isStopped?ht(function le(De){return de("N",De,void 0)}(me),this):this._next(me)}error(me){this.isStopped?ht(function re(De){return de("E",void 0,De)}(me),this):(this.isStopped=!0,this._error(me))}complete(){this.isStopped?ht(B,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(me){this.destination.next(me)}_error(me){try{this.destination.error(me)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Se=Function.prototype.bind;function ye(De,me){return Se.call(De,me)}class Re{constructor(me){this.partialObserver=me}next(me){const{partialObserver:xe}=this;if(xe.next)try{xe.next(me)}catch(ve){Je(ve)}}error(me){const{partialObserver:xe}=this;if(xe.error)try{xe.error(me)}catch(ve){Je(ve)}else Je(me)}complete(){const{partialObserver:me}=this;if(me.complete)try{me.complete()}catch(xe){Je(xe)}}}class ct extends se{constructor(me,xe,ve){let Ee;if(super(),(0,p.m)(me)||!me)Ee={next:me??void 0,error:xe??void 0,complete:ve??void 0};else{let fe;this&&J.config.useDeprecatedNextContext?(fe=Object.create(me),fe.unsubscribe=()=>this.unsubscribe(),Ee={next:me.next&&ye(me.next,fe),error:me.error&&ye(me.error,fe),complete:me.complete&&ye(me.complete,fe)}):Ee=me}this.destination=new Re(Ee)}}function Je(De){J.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(De):(0,z.h)(De)}function ht(De,me){const{onStoppedNotification:xe}=J.config;xe&&oe.z.setTimeout(()=>xe(De,me))}const Ze={closed:!0,next:F.Z,error:function Ne(De){throw De},complete:F.Z}},7394:(He,te,w)=>{w.d(te,{Lc:()=>B,w0:()=>F,Nn:()=>re});var p=w(4674);const J=(0,w(2306).d)(de=>function(V){de(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((se,Se)=>`${Se+1}) ${se.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var z=w(9039);class F{constructor(oe){this.initialTeardown=oe,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let oe;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const ye of V)ye.remove(this);else V.remove(this);const{initialTeardown:se}=this;if((0,p.m)(se))try{se()}catch(ye){oe=ye instanceof J?ye.errors:[ye]}const{_finalizers:Se}=this;if(Se){this._finalizers=null;for(const ye of Se)try{le(ye)}catch(Re){oe=oe??[],Re instanceof J?oe=[...oe,...Re.errors]:oe.push(Re)}}if(oe)throw new J(oe)}}add(oe){var V;if(oe&&oe!==this)if(this.closed)le(oe);else{if(oe instanceof F){if(oe.closed||oe._hasParent(this))return;oe._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(oe)}}_hasParent(oe){const{_parentage:V}=this;return V===oe||Array.isArray(V)&&V.includes(oe)}_addParent(oe){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(oe),V):V?[V,oe]:oe}_removeParent(oe){const{_parentage:V}=this;V===oe?this._parentage=null:Array.isArray(V)&&(0,z.P)(V,oe)}remove(oe){const{_finalizers:V}=this;V&&(0,z.P)(V,oe),oe instanceof F&&oe._removeParent(this)}}F.EMPTY=(()=>{const de=new F;return de.closed=!0,de})();const B=F.EMPTY;function re(de){return de instanceof F||de&&"closed"in de&&(0,p.m)(de.remove)&&(0,p.m)(de.add)&&(0,p.m)(de.unsubscribe)}function le(de){(0,p.m)(de)?de():de.unsubscribe()}},2653:(He,te,w)=>{w.d(te,{config:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(He,te,w)=>{w.d(te,{E:()=>b});const b=new(w(5592).y)(F=>F.complete())},7715:(He,te,w)=>{w.d(te,{D:()=>ve});var p=w(4829),b=w(7103),J=w(9360),z=w(8251);function F(Ee,fe=0){return(0,J.e)((Ue,je)=>{Ue.subscribe((0,z.x)(je,he=>(0,b.f)(je,Ee,()=>je.next(he),fe),()=>(0,b.f)(je,Ee,()=>je.complete(),fe),he=>(0,b.f)(je,Ee,()=>je.error(he),fe)))})}function B(Ee,fe=0){return(0,J.e)((Ue,je)=>{je.add(Ee.schedule(()=>Ue.subscribe(je),fe))})}var de=w(5592),V=w(4971),se=w(4674);function ye(Ee,fe){if(!Ee)throw new Error("Iterable cannot be null");return new de.y(Ue=>{(0,b.f)(Ue,fe,()=>{const je=Ee[Symbol.asyncIterator]();(0,b.f)(Ue,fe,()=>{je.next().then(he=>{he.done?Ue.complete():Ue.next(he.value)})},0,!0)})})}var Re=w(8382),ct=w(4026),Je=w(4266),Ne=w(3664),ht=w(5726),Ze=w(9853),De=w(541);function ve(Ee,fe){return fe?function xe(Ee,fe){if(null!=Ee){if((0,Re.c)(Ee))return function re(Ee,fe){return(0,p.Xf)(Ee).pipe(B(fe),F(fe))}(Ee,fe);if((0,Je.z)(Ee))return function oe(Ee,fe){return new de.y(Ue=>{let je=0;return fe.schedule(function(){je===Ee.length?Ue.complete():(Ue.next(Ee[je++]),Ue.closed||this.schedule())})})}(Ee,fe);if((0,ct.t)(Ee))return function le(Ee,fe){return(0,p.Xf)(Ee).pipe(B(fe),F(fe))}(Ee,fe);if((0,ht.D)(Ee))return ye(Ee,fe);if((0,Ne.T)(Ee))return function Se(Ee,fe){return new de.y(Ue=>{let je;return(0,b.f)(Ue,fe,()=>{je=Ee[V.h](),(0,b.f)(Ue,fe,()=>{let he,Ft;try{({value:he,done:Ft}=je.next())}catch(ke){return void Ue.error(ke)}Ft?Ue.complete():Ue.next(he)},0,!0)}),()=>(0,se.m)(je?.return)&&je.return()})}(Ee,fe);if((0,De.L)(Ee))return function me(Ee,fe){return ye((0,De.Q)(Ee),fe)}(Ee,fe)}throw(0,Ze.z)(Ee)}(Ee,fe):(0,p.Xf)(Ee)}},4829:(He,te,w)=>{w.d(te,{Xf:()=>Se});var p=w(7582),b=w(4266),J=w(4026),z=w(5592),F=w(8382),B=w(5726),re=w(9853),le=w(3664),de=w(541),oe=w(4674),V=w(3894),se=w(4850);function Se(De){if(De instanceof z.y)return De;if(null!=De){if((0,F.c)(De))return function ye(De){return new z.y(me=>{const xe=De[se.L]();if((0,oe.m)(xe.subscribe))return xe.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(De);if((0,b.z)(De))return function Re(De){return new z.y(me=>{for(let xe=0;xe{De.then(xe=>{me.closed||(me.next(xe),me.complete())},xe=>me.error(xe)).then(null,V.h)})}(De);if((0,B.D)(De))return Ne(De);if((0,le.T)(De))return function Je(De){return new z.y(me=>{for(const xe of De)if(me.next(xe),me.closed)return;me.complete()})}(De);if((0,de.L)(De))return function ht(De){return Ne((0,de.Q)(De))}(De)}throw(0,re.z)(De)}function Ne(De){return new z.y(me=>{(function Ze(De,me){var xe,ve,Ee,fe;return(0,p.mG)(this,void 0,void 0,function*(){try{for(xe=(0,p.KL)(De);!(ve=yield xe.next()).done;)if(me.next(ve.value),me.closed)return}catch(Ue){Ee={error:Ue}}finally{try{ve&&!ve.done&&(fe=xe.return)&&(yield fe.call(xe))}finally{if(Ee)throw Ee.error}}me.complete()})})(De,me).catch(xe=>me.error(xe))})}},2096:(He,te,w)=>{w.d(te,{of:()=>J});var p=w(4564),b=w(7715);function J(...z){const F=(0,p.yG)(z);return(0,b.D)(z,F)}},8251:(He,te,w)=>{w.d(te,{x:()=>b});var p=w(305);function b(z,F,B,re,le){return new J(z,F,B,re,le)}class J extends p.Lv{constructor(F,B,re,le,de,oe){super(F),this.onFinalize=de,this.shouldUnsubscribe=oe,this._next=B?function(V){try{B(V)}catch(se){F.error(se)}}:super._next,this._error=le?function(V){try{le(V)}catch(se){F.error(se)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(V){F.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var F;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:B}=this;super.unsubscribe(),!B&&(null===(F=this.onFinalize)||void 0===F||F.call(this))}}}},6306:(He,te,w)=>{w.d(te,{K:()=>z});var p=w(4829),b=w(8251),J=w(9360);function z(F){return(0,J.e)((B,re)=>{let oe,le=null,de=!1;le=B.subscribe((0,b.x)(re,void 0,void 0,V=>{oe=(0,p.Xf)(F(V,z(F)(B))),le?(le.unsubscribe(),le=null,oe.subscribe(re)):de=!0})),de&&(le.unsubscribe(),le=null,oe.subscribe(re))})}},6328:(He,te,w)=>{w.d(te,{b:()=>J});var p=w(1631),b=w(4674);function J(z,F){return(0,b.m)(F)?(0,p.z)(z,F,1):(0,p.z)(z,1)}},3997:(He,te,w)=>{w.d(te,{x:()=>z});var p=w(2737),b=w(9360),J=w(8251);function z(B,re=p.y){return B=B??F,(0,b.e)((le,de)=>{let oe,V=!0;le.subscribe((0,J.x)(de,se=>{const Se=re(se);(V||!B(oe,Se))&&(V=!1,oe=Se,de.next(se))}))})}function F(B,re){return B===re}},2181:(He,te,w)=>{w.d(te,{h:()=>J});var p=w(9360),b=w(8251);function J(z,F){return(0,p.e)((B,re)=>{let le=0;B.subscribe((0,b.x)(re,de=>z.call(F,de,le++)&&re.next(de)))})}},4716:(He,te,w)=>{w.d(te,{x:()=>b});var p=w(9360);function b(J){return(0,p.e)((z,F)=>{try{z.subscribe(F)}finally{F.add(J)}})}},7398:(He,te,w)=>{w.d(te,{U:()=>J});var p=w(9360),b=w(8251);function J(z,F){return(0,p.e)((B,re)=>{let le=0;B.subscribe((0,b.x)(re,de=>{re.next(z.call(F,de,le++))}))})}},7537:(He,te,w)=>{w.d(te,{J:()=>J});var p=w(1631),b=w(2737);function J(z=1/0){return(0,p.z)(b.y,z)}},1631:(He,te,w)=>{w.d(te,{z:()=>le});var p=w(7398),b=w(4829),J=w(9360),z=w(7103),F=w(8251),re=w(4674);function le(de,oe,V=1/0){return(0,re.m)(oe)?le((se,Se)=>(0,p.U)((ye,Re)=>oe(se,ye,Se,Re))((0,b.Xf)(de(se,Se))),V):("number"==typeof oe&&(V=oe),(0,J.e)((se,Se)=>function B(de,oe,V,se,Se,ye,Re,ct){const Je=[];let Ne=0,ht=0,Ze=!1;const De=()=>{Ze&&!Je.length&&!Ne&&oe.complete()},me=ve=>Ne{ye&&oe.next(ve),Ne++;let Ee=!1;(0,b.Xf)(V(ve,ht++)).subscribe((0,F.x)(oe,fe=>{Se?.(fe),ye?me(fe):oe.next(fe)},()=>{Ee=!0},void 0,()=>{if(Ee)try{for(Ne--;Je.length&&Nexe(fe)):xe(fe)}De()}catch(fe){oe.error(fe)}}))};return de.subscribe((0,F.x)(oe,me,()=>{Ze=!0,De()})),()=>{ct?.()}}(se,Se,de,V)))}},4664:(He,te,w)=>{w.d(te,{w:()=>z});var p=w(4829),b=w(9360),J=w(8251);function z(F,B){return(0,b.e)((re,le)=>{let de=null,oe=0,V=!1;const se=()=>V&&!de&&le.complete();re.subscribe((0,J.x)(le,Se=>{de?.unsubscribe();let ye=0;const Re=oe++;(0,p.Xf)(F(Se,Re)).subscribe(de=(0,J.x)(le,ct=>le.next(B?B(Se,ct,Re,ye++):ct),()=>{de=null,se()}))},()=>{V=!0,se()}))})}},9773:(He,te,w)=>{w.d(te,{R:()=>F});var p=w(9360),b=w(8251),J=w(4829),z=w(2420);function F(B){return(0,p.e)((re,le)=>{(0,J.Xf)(B).subscribe((0,b.x)(le,()=>le.complete(),z.Z)),!le.closed&&re.subscribe(le)})}},9397:(He,te,w)=>{w.d(te,{b:()=>F});var p=w(4674),b=w(9360),J=w(8251),z=w(2737);function F(B,re,le){const de=(0,p.m)(B)||re||le?{next:B,error:re,complete:le}:B;return de?(0,b.e)((oe,V)=>{var se;null===(se=de.subscribe)||void 0===se||se.call(de);let Se=!0;oe.subscribe((0,J.x)(V,ye=>{var Re;null===(Re=de.next)||void 0===Re||Re.call(de,ye),V.next(ye)},()=>{var ye;Se=!1,null===(ye=de.complete)||void 0===ye||ye.call(de),V.complete()},ye=>{var Re;Se=!1,null===(Re=de.error)||void 0===Re||Re.call(de,ye),V.error(ye)},()=>{var ye,Re;Se&&(null===(ye=de.unsubscribe)||void 0===ye||ye.call(de)),null===(Re=de.finalize)||void 0===Re||Re.call(de)}))}):z.y}},7599:(He,te,w)=>{w.d(te,{z:()=>p});const p={setTimeout(b,J,...z){const{delegate:F}=p;return F?.setTimeout?F.setTimeout(b,J,...z):setTimeout(b,J,...z)},clearTimeout(b){const{delegate:J}=p;return(J?.clearTimeout||clearTimeout)(b)},delegate:void 0}},4971:(He,te,w)=>{w.d(te,{h:()=>b});const b=function p(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(He,te,w)=>{w.d(te,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(He,te,w)=>{w.d(te,{_6:()=>B,jO:()=>z,yG:()=>F});var p=w(4674);function J(re){return re[re.length-1]}function z(re){return(0,p.m)(J(re))?re.pop():void 0}function F(re){return function b(re){return re&&(0,p.m)(re.schedule)}(J(re))?re.pop():void 0}function B(re,le){return"number"==typeof J(re)?re.pop():le}},7453:(He,te,w)=>{w.d(te,{D:()=>F});const{isArray:p}=Array,{getPrototypeOf:b,prototype:J,keys:z}=Object;function F(re){if(1===re.length){const le=re[0];if(p(le))return{args:le,keys:null};if(function B(re){return re&&"object"==typeof re&&b(re)===J}(le)){const de=z(le);return{args:de.map(oe=>le[oe]),keys:de}}}return{args:re,keys:null}}},9039:(He,te,w)=>{function p(b,J){if(b){const z=b.indexOf(J);0<=z&&b.splice(z,1)}}w.d(te,{P:()=>p})},2306:(He,te,w)=>{function p(b){const z=b(F=>{Error.call(F),F.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}w.d(te,{d:()=>p})},2714:(He,te,w)=>{function p(b,J){return b.reduce((z,F,B)=>(z[F]=J[B],z),{})}w.d(te,{n:()=>p})},1441:(He,te,w)=>{w.d(te,{O:()=>z,x:()=>J});var p=w(2653);let b=null;function J(F){if(p.config.useDeprecatedSynchronousErrorHandling){const B=!b;if(B&&(b={errorThrown:!1,error:null}),F(),B){const{errorThrown:re,error:le}=b;if(b=null,re)throw le}}else F()}function z(F){p.config.useDeprecatedSynchronousErrorHandling&&b&&(b.errorThrown=!0,b.error=F)}},7103:(He,te,w)=>{function p(b,J,z,F=0,B=!1){const re=J.schedule(function(){z(),B?b.add(this.schedule(null,F)):this.unsubscribe()},F);if(b.add(re),!B)return re}w.d(te,{f:()=>p})},2737:(He,te,w)=>{function p(b){return b}w.d(te,{y:()=>p})},4266:(He,te,w)=>{w.d(te,{z:()=>p});const p=b=>b&&"number"==typeof b.length&&"function"!=typeof b},5726:(He,te,w)=>{w.d(te,{D:()=>b});var p=w(4674);function b(J){return Symbol.asyncIterator&&(0,p.m)(J?.[Symbol.asyncIterator])}},4674:(He,te,w)=>{function p(b){return"function"==typeof b}w.d(te,{m:()=>p})},8382:(He,te,w)=>{w.d(te,{c:()=>J});var p=w(4850),b=w(4674);function J(z){return(0,b.m)(z[p.L])}},3664:(He,te,w)=>{w.d(te,{T:()=>J});var p=w(4971),b=w(4674);function J(z){return(0,b.m)(z?.[p.h])}},4026:(He,te,w)=>{w.d(te,{t:()=>b});var p=w(4674);function b(J){return(0,p.m)(J?.then)}},541:(He,te,w)=>{w.d(te,{L:()=>z,Q:()=>J});var p=w(7582),b=w(4674);function J(F){return(0,p.FC)(this,arguments,function*(){const re=F.getReader();try{for(;;){const{value:le,done:de}=yield(0,p.qq)(re.read());if(de)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(le)}}finally{re.releaseLock()}})}function z(F){return(0,b.m)(F?.getReader)}},9360:(He,te,w)=>{w.d(te,{A:()=>b,e:()=>J});var p=w(4674);function b(z){return(0,p.m)(z?.lift)}function J(z){return F=>{if(b(F))return F.lift(function(B){try{return z(B,this)}catch(re){this.error(re)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(He,te,w)=>{w.d(te,{Z:()=>z});var p=w(7398);const{isArray:b}=Array;function z(F){return(0,p.U)(B=>function J(F,B){return b(B)?F(...B):F(B)}(F,B))}},2420:(He,te,w)=>{function p(){}w.d(te,{Z:()=>p})},8407:(He,te,w)=>{w.d(te,{U:()=>J,z:()=>b});var p=w(2737);function b(...z){return J(z)}function J(z){return 0===z.length?p.y:1===z.length?z[0]:function(B){return z.reduce((re,le)=>le(re),B)}}},3894:(He,te,w)=>{w.d(te,{h:()=>J});var p=w(2653),b=w(7599);function J(z){b.z.setTimeout(()=>{const{onUnhandledError:F}=p.config;if(!F)throw z;F(z)})}},9853:(He,te,w)=>{function p(b){return new TypeError(`You provided ${null!==b&&"object"==typeof b?"an invalid object":`'${b}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}w.d(te,{z:()=>p})},6814:(He,te,w)=>{w.d(te,{Do:()=>ct,EM:()=>Qn,HT:()=>z,JF:()=>Ur,K0:()=>B,Mx:()=>In,O5:()=>yo,Ov:()=>Uo,PM:()=>tn,S$:()=>Se,V_:()=>le,Ye:()=>Je,b0:()=>Re,bD:()=>be,ez:()=>kt,q:()=>J,qS:()=>qt,sg:()=>Xt,uU:()=>oo,w_:()=>F});var p=w(6689);let b=null;function J(){return b}function z(l){b||(b=l)}class F{}const B=new p.OlP("DocumentToken");let re=(()=>{class l{historyGo(g){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275prov=p.Yz7({token:l,factory:function(){return(0,p.f3M)(de)},providedIn:"platform"})}return l})();const le=new p.OlP("Location Initialized");let de=(()=>{class l extends re{constructor(){super(),this._doc=(0,p.f3M)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(g){const y=J().getGlobalEventTarget(this._doc,"window");return y.addEventListener("popstate",g,!1),()=>y.removeEventListener("popstate",g)}onHashChange(g){const y=J().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,M){this._history.pushState(g,y,M)}replaceState(g,y,M){this._history.replaceState(g,y,M)}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||l)};static#t=this.\u0275prov=p.Yz7({token:l,factory:function(){return new l},providedIn:"platform"})}return l})();function oe(l,D){if(0==l.length)return D;if(0==D.length)return l;let g=0;return l.endsWith("/")&&g++,D.startsWith("/")&&g++,2==g?l+D.substring(1):1==g?l+D:l+"/"+D}function V(l){const D=l.match(/#|\?|$/),g=D&&D.index||l.length;return l.slice(0,g-("/"===l[g-1]?1:0))+l.slice(g)}function se(l){return l&&"?"!==l[0]?"?"+l:l}let Se=(()=>{class l{historyGo(g){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275prov=p.Yz7({token:l,factory:function(){return(0,p.f3M)(Re)},providedIn:"root"})}return l})();const ye=new p.OlP("appBaseHref");let Re=(()=>{class l extends Se{constructor(g,y){super(),this._platformLocation=g,this._removeListenerFns=[],this._baseHref=y??this._platformLocation.getBaseHrefFromDOM()??(0,p.f3M)(B).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 oe(this._baseHref,g)}path(g=!1){const y=this._platformLocation.pathname+se(this._platformLocation.search),M=this._platformLocation.hash;return M&&g?`${y}${M}`:y}pushState(g,y,M,U){const q=this.prepareExternalUrl(M+se(U));this._platformLocation.pushState(g,y,q)}replaceState(g,y,M,U){const q=this.prepareExternalUrl(M+se(U));this._platformLocation.replaceState(g,y,q)}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||l)(p.LFG(re),p.LFG(ye,8))};static#t=this.\u0275prov=p.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),ct=(()=>{class l extends Se{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=oe(this._baseHref,g);return y.length>0?"#"+y:y}pushState(g,y,M,U){let q=this.prepareExternalUrl(M+se(U));0==q.length&&(q=this._platformLocation.pathname),this._platformLocation.pushState(g,y,q)}replaceState(g,y,M,U){let q=this.prepareExternalUrl(M+se(U));0==q.length&&(q=this._platformLocation.pathname),this._platformLocation.replaceState(g,y,q)}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||l)(p.LFG(re),p.LFG(ye,8))};static#t=this.\u0275prov=p.Yz7({token:l,factory:l.\u0275fac})}return l})(),Je=(()=>{class l{constructor(g){this._subject=new p.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=g;const y=this._locationStrategy.getBaseHref();this._basePath=function De(l){if(new RegExp("^(https?:)?//").test(l)){const[,g]=l.split(/\/\/[^\/]+/);return g}return l}(V(Ze(y))),this._locationStrategy.onPopState(M=>{this._subject.emit({url:this.path(!0),pop:!0,state:M.state,type:M.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+se(y))}normalize(g){return l.stripTrailingSlash(function ht(l,D){if(!l||!D.startsWith(l))return D;const g=D.substring(l.length);return""===g||["/",";","?","#"].includes(g[0])?g:D}(this._basePath,Ze(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._locationStrategy.prepareExternalUrl(g)}go(g,y="",M=null){this._locationStrategy.pushState(M,"",g,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+se(y)),M)}replaceState(g,y="",M=null){this._locationStrategy.replaceState(M,"",g,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+se(y)),M)}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(M=>M(g,y))}subscribe(g,y,M){return this._subject.subscribe({next:g,error:y,complete:M})}static#e=this.normalizeQueryParams=se;static#t=this.joinWithSlash=oe;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(y){return new(y||l)(p.LFG(Se))};static#o=this.\u0275prov=p.Yz7({token:l,factory:function(){return function Ne(){return new Je((0,p.LFG)(Se))}()},providedIn:"root"})}return l})();function Ze(l){return l.replace(/\/index.html$/,"")}var Ee=function(l){return l[l.Format=0]="Format",l[l.Standalone=1]="Standalone",l}(Ee||{}),fe=function(l){return l[l.Narrow=0]="Narrow",l[l.Abbreviated=1]="Abbreviated",l[l.Wide=2]="Wide",l[l.Short=3]="Short",l}(fe||{}),Ue=function(l){return l[l.Short=0]="Short",l[l.Medium=1]="Medium",l[l.Long=2]="Long",l[l.Full=3]="Full",l}(Ue||{}),je=function(l){return l[l.Decimal=0]="Decimal",l[l.Group=1]="Group",l[l.List=2]="List",l[l.PercentSign=3]="PercentSign",l[l.PlusSign=4]="PlusSign",l[l.MinusSign=5]="MinusSign",l[l.Exponential=6]="Exponential",l[l.SuperscriptingExponent=7]="SuperscriptingExponent",l[l.PerMille=8]="PerMille",l[l.Infinity=9]="Infinity",l[l.NaN=10]="NaN",l[l.TimeSeparator=11]="TimeSeparator",l[l.CurrencyDecimal=12]="CurrencyDecimal",l[l.CurrencyGroup=13]="CurrencyGroup",l}(je||{});function j(l,D){return Ce((0,p.cg1)(l)[p.wAp.DateFormat],D)}function G(l,D){return Ce((0,p.cg1)(l)[p.wAp.TimeFormat],D)}function $(l,D){return Ce((0,p.cg1)(l)[p.wAp.DateTimeFormat],D)}function ce(l,D){const g=(0,p.cg1)(l),y=g[p.wAp.NumberSymbols][D];if(typeof y>"u"){if(D===je.CurrencyDecimal)return g[p.wAp.NumberSymbols][je.Decimal];if(D===je.CurrencyGroup)return g[p.wAp.NumberSymbols][je.Group]}return y}function ge(l){if(!l[p.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${l[p.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ce(l,D){for(let g=D;g>-1;g--)if(typeof l[g]<"u")return l[g];throw new Error("Locale data API: locale data undefined")}function ln(l){const[D,g]=l.split(":");return{hours:+D,minutes:+g}}const ar=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Sn={},zt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var wn=function(l){return l[l.Short=0]="Short",l[l.ShortGMT=1]="ShortGMT",l[l.Long=2]="Long",l[l.Extended=3]="Extended",l}(wn||{}),st=function(l){return l[l.FullYear=0]="FullYear",l[l.Month=1]="Month",l[l.Date=2]="Date",l[l.Hours=3]="Hours",l[l.Minutes=4]="Minutes",l[l.Seconds=5]="Seconds",l[l.FractionalSeconds=6]="FractionalSeconds",l[l.Day=7]="Day",l}(st||{}),ze=function(l){return l[l.DayPeriods=0]="DayPeriods",l[l.Days=1]="Days",l[l.Months=2]="Months",l[l.Eras=3]="Eras",l}(ze||{});function Wn(l,D,g,y){let M=function Y(l){if(S(l))return l;if("number"==typeof l&&!isNaN(l))return new Date(l);if("string"==typeof l){if(l=l.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(l)){const[M,U=1,q=1]=l.split("-").map(Oe=>+Oe);return Fn(M,U-1,q)}const g=parseFloat(l);if(!isNaN(l-g))return new Date(g);let y;if(y=l.match(ar))return function L(l){const D=new Date(0);let g=0,y=0;const M=l[8]?D.setUTCFullYear:D.setFullYear,U=l[8]?D.setUTCHours:D.setHours;l[9]&&(g=Number(l[9]+l[10]),y=Number(l[9]+l[11])),M.call(D,Number(l[1]),Number(l[2])-1,Number(l[3]));const q=Number(l[4]||0)-g,Oe=Number(l[5]||0)-y,Ct=Number(l[6]||0),_t=Math.floor(1e3*parseFloat("0."+(l[7]||0)));return U.call(D,q,Oe,Ct,_t),D}(y)}const D=new Date(l);if(!S(D))throw new Error(`Unable to convert "${l}" into a date`);return D}(l);D=Ut(g,D)||D;let Oe,q=[];for(;D;){if(Oe=zt.exec(D),!Oe){q.push(D);break}{q=q.concat(Oe.slice(1));const pt=q.pop();if(!pt)break;D=pt}}let Ct=M.getTimezoneOffset();y&&(Ct=lr(y,Ct),M=function to(l,D,g){const y=g?-1:1,M=l.getTimezoneOffset();return function si(l,D){return(l=new Date(l.getTime())).setMinutes(l.getMinutes()+D),l}(l,y*(lr(D,M)-M))}(M,y,!0));let _t="";return q.forEach(pt=>{const tt=function cr(l){if(Zn[l])return Zn[l];let D;switch(l){case"G":case"GG":case"GGG":D=Xe(ze.Eras,fe.Abbreviated);break;case"GGGG":D=Xe(ze.Eras,fe.Wide);break;case"GGGGG":D=Xe(ze.Eras,fe.Narrow);break;case"y":D=bt(st.FullYear,1,0,!1,!0);break;case"yy":D=bt(st.FullYear,2,0,!0,!0);break;case"yyy":D=bt(st.FullYear,3,0,!1,!0);break;case"yyyy":D=bt(st.FullYear,4,0,!1,!0);break;case"Y":D=_n(1);break;case"YY":D=_n(2,!0);break;case"YYY":D=_n(3);break;case"YYYY":D=_n(4);break;case"M":case"L":D=bt(st.Month,1,1);break;case"MM":case"LL":D=bt(st.Month,2,1);break;case"MMM":D=Xe(ze.Months,fe.Abbreviated);break;case"MMMM":D=Xe(ze.Months,fe.Wide);break;case"MMMMM":D=Xe(ze.Months,fe.Narrow);break;case"LLL":D=Xe(ze.Months,fe.Abbreviated,Ee.Standalone);break;case"LLLL":D=Xe(ze.Months,fe.Wide,Ee.Standalone);break;case"LLLLL":D=Xe(ze.Months,fe.Narrow,Ee.Standalone);break;case"w":D=ur(1);break;case"ww":D=ur(2);break;case"W":D=ur(1,!0);break;case"d":D=bt(st.Date,1);break;case"dd":D=bt(st.Date,2);break;case"c":case"cc":D=bt(st.Day,1);break;case"ccc":D=Xe(ze.Days,fe.Abbreviated,Ee.Standalone);break;case"cccc":D=Xe(ze.Days,fe.Wide,Ee.Standalone);break;case"ccccc":D=Xe(ze.Days,fe.Narrow,Ee.Standalone);break;case"cccccc":D=Xe(ze.Days,fe.Short,Ee.Standalone);break;case"E":case"EE":case"EEE":D=Xe(ze.Days,fe.Abbreviated);break;case"EEEE":D=Xe(ze.Days,fe.Wide);break;case"EEEEE":D=Xe(ze.Days,fe.Narrow);break;case"EEEEEE":D=Xe(ze.Days,fe.Short);break;case"a":case"aa":case"aaa":D=Xe(ze.DayPeriods,fe.Abbreviated);break;case"aaaa":D=Xe(ze.DayPeriods,fe.Wide);break;case"aaaaa":D=Xe(ze.DayPeriods,fe.Narrow);break;case"b":case"bb":case"bbb":D=Xe(ze.DayPeriods,fe.Abbreviated,Ee.Standalone,!0);break;case"bbbb":D=Xe(ze.DayPeriods,fe.Wide,Ee.Standalone,!0);break;case"bbbbb":D=Xe(ze.DayPeriods,fe.Narrow,Ee.Standalone,!0);break;case"B":case"BB":case"BBB":D=Xe(ze.DayPeriods,fe.Abbreviated,Ee.Format,!0);break;case"BBBB":D=Xe(ze.DayPeriods,fe.Wide,Ee.Format,!0);break;case"BBBBB":D=Xe(ze.DayPeriods,fe.Narrow,Ee.Format,!0);break;case"h":D=bt(st.Hours,1,-12);break;case"hh":D=bt(st.Hours,2,-12);break;case"H":D=bt(st.Hours,1);break;case"HH":D=bt(st.Hours,2);break;case"m":D=bt(st.Minutes,1);break;case"mm":D=bt(st.Minutes,2);break;case"s":D=bt(st.Seconds,1);break;case"ss":D=bt(st.Seconds,2);break;case"S":D=bt(st.FractionalSeconds,1);break;case"SS":D=bt(st.FractionalSeconds,2);break;case"SSS":D=bt(st.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":D=yr(wn.Short);break;case"ZZZZZ":D=yr(wn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":D=yr(wn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":D=yr(wn.Long);break;default:return null}return Zn[l]=D,D}(pt);_t+=tt?tt(M,g,Ct):"''"===pt?"'":pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_t}function Fn(l,D,g){const y=new Date(0);return y.setFullYear(l,D,g),y.setHours(0,0,0),y}function Ut(l,D){const g=function Ft(l){return(0,p.cg1)(l)[p.wAp.LocaleId]}(l);if(Sn[g]=Sn[g]||{},Sn[g][D])return Sn[g][D];let y="";switch(D){case"shortDate":y=j(l,Ue.Short);break;case"mediumDate":y=j(l,Ue.Medium);break;case"longDate":y=j(l,Ue.Long);break;case"fullDate":y=j(l,Ue.Full);break;case"shortTime":y=G(l,Ue.Short);break;case"mediumTime":y=G(l,Ue.Medium);break;case"longTime":y=G(l,Ue.Long);break;case"fullTime":y=G(l,Ue.Full);break;case"short":const M=Ut(l,"shortTime"),U=Ut(l,"shortDate");y=Yn($(l,Ue.Short),[M,U]);break;case"medium":const q=Ut(l,"mediumTime"),Oe=Ut(l,"mediumDate");y=Yn($(l,Ue.Medium),[q,Oe]);break;case"long":const Ct=Ut(l,"longTime"),_t=Ut(l,"longDate");y=Yn($(l,Ue.Long),[Ct,_t]);break;case"full":const pt=Ut(l,"fullTime"),tt=Ut(l,"fullDate");y=Yn($(l,Ue.Full),[pt,tt])}return y&&(Sn[g][D]=y),y}function Yn(l,D){return D&&(l=l.replace(/\{([^}]+)}/g,function(g,y){return null!=D&&y in D?D[y]:g})),l}function Kt(l,D,g="-",y,M){let U="";(l<0||M&&l<=0)&&(M?l=1-l:(l=-l,U=g));let q=String(l);for(;q.length0||Oe>-g)&&(Oe+=g),l===st.Hours)0===Oe&&-12===g&&(Oe=12);else if(l===st.FractionalSeconds)return function et(l,D){return Kt(l,3).substring(0,D)}(Oe,D);const Ct=ce(q,je.MinusSign);return Kt(Oe,D,Ct,y,M)}}function Xe(l,D,g=Ee.Format,y=!1){return function(M,U){return function vr(l,D,g,y,M,U){switch(g){case ze.Months:return function Lt(l,D,g){const y=(0,p.cg1)(l),U=Ce([y[p.wAp.MonthsFormat],y[p.wAp.MonthsStandalone]],D);return Ce(U,g)}(D,M,y)[l.getMonth()];case ze.Days:return function Ve(l,D,g){const y=(0,p.cg1)(l),U=Ce([y[p.wAp.DaysFormat],y[p.wAp.DaysStandalone]],D);return Ce(U,g)}(D,M,y)[l.getDay()];case ze.DayPeriods:const q=l.getHours(),Oe=l.getMinutes();if(U){const _t=function Le(l){const D=(0,p.cg1)(l);return ge(D),(D[p.wAp.ExtraData][2]||[]).map(y=>"string"==typeof y?ln(y):[ln(y[0]),ln(y[1])])}(D),pt=function dt(l,D,g){const y=(0,p.cg1)(l);ge(y);const U=Ce([y[p.wAp.ExtraData][0],y[p.wAp.ExtraData][1]],D)||[];return Ce(U,g)||[]}(D,M,y),tt=_t.findIndex(At=>{if(Array.isArray(At)){const[wt,Yt]=At,hr=q>=wt.hours&&Oe>=wt.minutes,nr=q0?Math.floor(M/60):Math.ceil(M/60);switch(l){case wn.Short:return(M>=0?"+":"")+Kt(q,2,U)+Kt(Math.abs(M%60),2,U);case wn.ShortGMT:return"GMT"+(M>=0?"+":"")+Kt(q,1,U);case wn.Long:return"GMT"+(M>=0?"+":"")+Kt(q,2,U)+":"+Kt(Math.abs(M%60),2,U);case wn.Extended:return 0===y?"Z":(M>=0?"+":"")+Kt(q,2,U)+":"+Kt(Math.abs(M%60),2,U);default:throw new Error(`Unknown zone width "${l}"`)}}}const St=0,Un=4;function Wt(l){return Fn(l.getFullYear(),l.getMonth(),l.getDate()+(Un-l.getDay()))}function ur(l,D=!1){return function(g,y){let M;if(D){const U=new Date(g.getFullYear(),g.getMonth(),1).getDay()-1,q=g.getDate();M=1+Math.floor((q+U)/7)}else{const U=Wt(g),q=function ot(l){const D=Fn(l,St,1).getDay();return Fn(l,0,1+(D<=Un?Un:Un+7)-D)}(U.getFullYear()),Oe=U.getTime()-q.getTime();M=1+Math.round(Oe/6048e5)}return Kt(M,l,ce(y,je.MinusSign))}}function _n(l,D=!1){return function(g,y){return Kt(Wt(g).getFullYear(),l,ce(y,je.MinusSign),D)}}const Zn={};function lr(l,D){l=l.replace(/:/g,"");const g=Date.parse("Jan 01, 1970 00:00:00 "+l)/6e4;return isNaN(g)?D:g}function S(l){return l instanceof Date&&!isNaN(l.valueOf())}function qt(l,D,g){return(0,p.dwT)(l,D,g)}function In(l,D){D=encodeURIComponent(D);for(const g of l.split(";")){const y=g.indexOf("="),[M,U]=-1==y?[g,""]:[g.slice(0,y),g.slice(y+1)];if(M.trim()===D)return decodeURIComponent(U)}return null}class Jt{constructor(D,g,y,M){this.$implicit=D,this.ngForOf=g,this.index=y,this.count=M}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Xt=(()=>{class l{set ngForOf(g){this._ngForOf=g,this._ngForOfDirty=!0}set ngForTrackBy(g){this._trackByFn=g}get ngForTrackBy(){return this._trackByFn}constructor(g,y,M){this._viewContainer=g,this._template=y,this._differs=M,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(g){g&&(this._template=g)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const g=this._ngForOf;!this._differ&&g&&(this._differ=this._differs.find(g).create(this.ngForTrackBy))}if(this._differ){const g=this._differ.diff(this._ngForOf);g&&this._applyChanges(g)}}_applyChanges(g){const y=this._viewContainer;g.forEachOperation((M,U,q)=>{if(null==M.previousIndex)y.createEmbeddedView(this._template,new Jt(M.item,this._ngForOf,-1,-1),null===q?void 0:q);else if(null==q)y.remove(null===U?void 0:U);else if(null!==U){const Oe=y.get(U);y.move(Oe,q),qn(Oe,M)}});for(let M=0,U=y.length;M{qn(y.get(M.currentIndex),M)})}static ngTemplateContextGuard(g,y){return!0}static#e=this.\u0275fac=function(y){return new(y||l)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(p.ZZ4))};static#t=this.\u0275dir=p.lG2({type:l,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return l})();function qn(l,D){l.context.$implicit=D.item}let yo=(()=>{class l{constructor(g,y){this._viewContainer=g,this._context=new ro,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=y}set ngIf(g){this._context.$implicit=this._context.ngIf=g,this._updateView()}set ngIfThen(g){Dr("ngIfThen",g),this._thenTemplateRef=g,this._thenViewRef=null,this._updateView()}set ngIfElse(g){Dr("ngIfElse",g),this._elseTemplateRef=g,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(g,y){return!0}static#e=this.\u0275fac=function(y){return new(y||l)(p.Y36(p.s_b),p.Y36(p.Rgc))};static#t=this.\u0275dir=p.lG2({type:l,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return l})();class ro{constructor(){this.$implicit=null,this.ngIf=null}}function Dr(l,D){if(D&&!D.createEmbeddedView)throw new Error(`${l} must be a TemplateRef, but received '${(0,p.AaK)(D)}'.`)}function sn(l,D){return new p.vHH(2100,!1)}class Co{createSubscription(D,g){return(0,p.rg0)(()=>D.subscribe({next:g,error:y=>{throw y}}))}dispose(D){(0,p.rg0)(()=>D.unsubscribe())}}class ui{createSubscription(D,g){return D.then(g,y=>{throw y})}dispose(D){}}const us=new ui,cs=new Co;let Uo=(()=>{class l{constructor(g){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=g}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(g){return this._obj?g!==this._obj?(this._dispose(),this.transform(g)):this._latestValue:(g&&this._subscribe(g),this._latestValue)}_subscribe(g){this._obj=g,this._strategy=this._selectStrategy(g),this._subscription=this._strategy.createSubscription(g,y=>this._updateLatestValue(g,y))}_selectStrategy(g){if((0,p.QGY)(g))return us;if((0,p.F4k)(g))return cs;throw sn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(g,y){g===this._obj&&(this._latestValue=y,this._ref.markForCheck())}static#e=this.\u0275fac=function(y){return new(y||l)(p.Y36(p.sBO,16))};static#t=this.\u0275pipe=p.Yjl({name:"async",type:l,pure:!1,standalone:!0})}return l})();const ps=new p.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),gs=new p.OlP("DATE_PIPE_DEFAULT_OPTIONS");let oo=(()=>{class l{constructor(g,y,M){this.locale=g,this.defaultTimezone=y,this.defaultOptions=M}transform(g,y,M,U){if(null==g||""===g||g!=g)return null;try{return Wn(g,y??this.defaultOptions?.dateFormat??"mediumDate",U||this.locale,M??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(q){throw sn()}}static#e=this.\u0275fac=function(y){return new(y||l)(p.Y36(p.soG,16),p.Y36(ps,24),p.Y36(gs,24))};static#t=this.\u0275pipe=p.Yjl({name:"date",type:l,pure:!0,standalone:!0})}return l})(),kt=(()=>{class l{static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275mod=p.oAB({type:l});static#n=this.\u0275inj=p.cJS({})}return l})();const be="browser",Ge="server";function tn(l){return l===Ge}let Qn=(()=>{class l{static#e=this.\u0275prov=(0,p.Yz7)({token:l,providedIn:"root",factory:()=>new We((0,p.LFG)(B),window)})}return l})();class We{constructor(D,g){this.document=D,this.window=g,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const g=function ao(l,D){const g=l.getElementById(D)||l.getElementsByName(D)[0];if(g)return g;if("function"==typeof l.createTreeWalker&&l.body&&"function"==typeof l.body.attachShadow){const y=l.createTreeWalker(l.body,NodeFilter.SHOW_ELEMENT);let M=y.currentNode;for(;M;){const U=M.shadowRoot;if(U){const q=U.getElementById(D)||U.querySelector(`[name="${D}"]`);if(q)return q}M=y.nextNode()}}return null}(this.document,D);g&&(this.scrollToElement(g),g.focus())}setHistoryScrollRestoration(D){this.supportsScrolling()&&(this.window.history.scrollRestoration=D)}scrollToElement(D){const g=D.getBoundingClientRect(),y=g.left+this.window.pageXOffset,M=g.top+this.window.pageYOffset,U=this.offset();this.window.scrollTo(y-U[0],M-U[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Ur{}},9862:(He,te,w)=>{w.d(te,{JF:()=>O,TP:()=>ge,eN:()=>H});var p=w(6689),b=w(2096),J=w(7715),z=w(5592),F=w(6328),B=w(2181),re=w(7398),le=w(4716),de=w(4664),oe=w(6814);class V{}class se{}class Se{constructor(T){this.normalizedNames=new Map,this.lazyUpdate=null,T?"string"==typeof T?this.lazyInit=()=>{this.headers=new Map,T.split("\n").forEach(A=>{const X=A.indexOf(":");if(X>0){const ee=A.slice(0,X),Te=ee.toLowerCase(),we=A.slice(X+1).trim();this.maybeSetNormalizedName(ee,Te),this.headers.has(Te)?this.headers.get(Te).push(we):this.headers.set(Te,[we])}})}:typeof Headers<"u"&&T instanceof Headers?(this.headers=new Map,T.forEach((A,X)=>{this.setHeaderEntries(X,A)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(T).forEach(([A,X])=>{this.setHeaderEntries(A,X)})}:this.headers=new Map}has(T){return this.init(),this.headers.has(T.toLowerCase())}get(T){this.init();const A=this.headers.get(T.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(T){return this.init(),this.headers.get(T.toLowerCase())||null}append(T,A){return this.clone({name:T,value:A,op:"a"})}set(T,A){return this.clone({name:T,value:A,op:"s"})}delete(T,A){return this.clone({name:T,value:A,op:"d"})}maybeSetNormalizedName(T,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,T)}init(){this.lazyInit&&(this.lazyInit instanceof Se?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(T=>this.applyUpdate(T)),this.lazyUpdate=null))}copyFrom(T){T.init(),Array.from(T.headers.keys()).forEach(A=>{this.headers.set(A,T.headers.get(A)),this.normalizedNames.set(A,T.normalizedNames.get(A))})}clone(T){const A=new Se;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof Se?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([T]),A}applyUpdate(T){const A=T.name.toLowerCase();switch(T.op){case"a":case"s":let X=T.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(T.name,A);const ee=("a"===T.op?this.headers.get(A):void 0)||[];ee.push(...X),this.headers.set(A,ee);break;case"d":const Te=T.value;if(Te){let we=this.headers.get(A);if(!we)return;we=we.filter(Dt=>-1===Te.indexOf(Dt)),0===we.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,we)}else this.headers.delete(A),this.normalizedNames.delete(A)}}setHeaderEntries(T,A){const X=(Array.isArray(A)?A:[A]).map(Te=>Te.toString()),ee=T.toLowerCase();this.headers.set(ee,X),this.maybeSetNormalizedName(T,ee)}forEach(T){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>T(this.normalizedNames.get(A),this.headers.get(A)))}}class Re{encodeKey(T){return ht(T)}encodeValue(T){return ht(T)}decodeKey(T){return decodeURIComponent(T)}decodeValue(T){return decodeURIComponent(T)}}const Je=/%(\d[a-f0-9])/gi,Ne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ht(P){return encodeURIComponent(P).replace(Je,(T,A)=>Ne[A]??T)}function Ze(P){return`${P}`}class De{constructor(T={}){if(this.updates=null,this.cloneFrom=null,this.encoder=T.encoder||new Re,T.fromString){if(T.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ct(P,T){const A=new Map;return P.length>0&&P.replace(/^\?/,"").split("&").forEach(ee=>{const Te=ee.indexOf("="),[we,Dt]=-1==Te?[T.decodeKey(ee),""]:[T.decodeKey(ee.slice(0,Te)),T.decodeValue(ee.slice(Te+1))],Ke=A.get(we)||[];Ke.push(Dt),A.set(we,Ke)}),A}(T.fromString,this.encoder)}else T.fromObject?(this.map=new Map,Object.keys(T.fromObject).forEach(A=>{const X=T.fromObject[A],ee=Array.isArray(X)?X.map(Ze):[Ze(X)];this.map.set(A,ee)})):this.map=null}has(T){return this.init(),this.map.has(T)}get(T){this.init();const A=this.map.get(T);return A?A[0]:null}getAll(T){return this.init(),this.map.get(T)||null}keys(){return this.init(),Array.from(this.map.keys())}append(T,A){return this.clone({param:T,value:A,op:"a"})}appendAll(T){const A=[];return Object.keys(T).forEach(X=>{const ee=T[X];Array.isArray(ee)?ee.forEach(Te=>{A.push({param:X,value:Te,op:"a"})}):A.push({param:X,value:ee,op:"a"})}),this.clone(A)}set(T,A){return this.clone({param:T,value:A,op:"s"})}delete(T,A){return this.clone({param:T,value:A,op:"d"})}toString(){return this.init(),this.keys().map(T=>{const A=this.encoder.encodeKey(T);return this.map.get(T).map(X=>A+"="+this.encoder.encodeValue(X)).join("&")}).filter(T=>""!==T).join("&")}clone(T){const A=new De({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(T),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(T=>this.map.set(T,this.cloneFrom.map.get(T))),this.updates.forEach(T=>{switch(T.op){case"a":case"s":const A=("a"===T.op?this.map.get(T.param):void 0)||[];A.push(Ze(T.value)),this.map.set(T.param,A);break;case"d":if(void 0===T.value){this.map.delete(T.param);break}{let X=this.map.get(T.param)||[];const ee=X.indexOf(Ze(T.value));-1!==ee&&X.splice(ee,1),X.length>0?this.map.set(T.param,X):this.map.delete(T.param)}}}),this.cloneFrom=this.updates=null)}}class xe{constructor(){this.map=new Map}set(T,A){return this.map.set(T,A),this}get(T){return this.map.has(T)||this.map.set(T,T.defaultValue()),this.map.get(T)}delete(T){return this.map.delete(T),this}has(T){return this.map.has(T)}keys(){return this.map.keys()}}function Ee(P){return typeof ArrayBuffer<"u"&&P instanceof ArrayBuffer}function fe(P){return typeof Blob<"u"&&P instanceof Blob}function Ue(P){return typeof FormData<"u"&&P instanceof FormData}class he{constructor(T,A,X,ee){let Te;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=T.toUpperCase(),function ve(P){switch(P){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ee?(this.body=void 0!==X?X:null,Te=ee):Te=X,Te&&(this.reportProgress=!!Te.reportProgress,this.withCredentials=!!Te.withCredentials,Te.responseType&&(this.responseType=Te.responseType),Te.headers&&(this.headers=Te.headers),Te.context&&(this.context=Te.context),Te.params&&(this.params=Te.params)),this.headers||(this.headers=new Se),this.context||(this.context=new xe),this.params){const we=this.params.toString();if(0===we.length)this.urlWithParams=A;else{const Dt=A.indexOf("?");this.urlWithParams=A+(-1===Dt?"?":Dtjt.set(qt,T.setHeaders[qt]),Ke)),T.setParams&&(rn=Object.keys(T.setParams).reduce((jt,qt)=>jt.set(qt,T.setParams[qt]),rn)),new he(A,X,Te,{params:rn,headers:Ke,context:hn,reportProgress:Dt,responseType:ee,withCredentials:we})}}var Ft=function(P){return P[P.Sent=0]="Sent",P[P.UploadProgress=1]="UploadProgress",P[P.ResponseHeader=2]="ResponseHeader",P[P.DownloadProgress=3]="DownloadProgress",P[P.Response=4]="Response",P[P.User=5]="User",P}(Ft||{});class ke{constructor(T,A=200,X="OK"){this.headers=T.headers||new Se,this.status=void 0!==T.status?T.status:A,this.statusText=T.statusText||X,this.url=T.url||null,this.ok=this.status>=200&&this.status<300}}class Ve extends ke{constructor(T={}){super(T),this.type=Ft.ResponseHeader}clone(T={}){return new Ve({headers:T.headers||this.headers,status:void 0!==T.status?T.status:this.status,statusText:T.statusText||this.statusText,url:T.url||this.url||void 0})}}class Lt extends ke{constructor(T={}){super(T),this.type=Ft.Response,this.body=void 0!==T.body?T.body:null}clone(T={}){return new Lt({body:void 0!==T.body?T.body:this.body,headers:T.headers||this.headers,status:void 0!==T.status?T.status:this.status,statusText:T.statusText||this.statusText,url:T.url||this.url||void 0})}}class lt extends ke{constructor(T){super(T,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${T.url||"(unknown url)"}`:`Http failure response for ${T.url||"(unknown url)"}: ${T.status} ${T.statusText}`,this.error=T.error||null}}function Zt(P,T){return{body:T,headers:P.headers,context:P.context,observe:P.observe,params:P.params,reportProgress:P.reportProgress,responseType:P.responseType,withCredentials:P.withCredentials}}let H=(()=>{class P{constructor(A){this.handler=A}request(A,X,ee={}){let Te;if(A instanceof he)Te=A;else{let Ke,rn;Ke=ee.headers instanceof Se?ee.headers:new Se(ee.headers),ee.params&&(rn=ee.params instanceof De?ee.params:new De({fromObject:ee.params})),Te=new he(A,X,void 0!==ee.body?ee.body:null,{headers:Ke,context:ee.context,params:rn,reportProgress:ee.reportProgress,responseType:ee.responseType||"json",withCredentials:ee.withCredentials})}const we=(0,b.of)(Te).pipe((0,F.b)(Ke=>this.handler.handle(Ke)));if(A instanceof he||"events"===ee.observe)return we;const Dt=we.pipe((0,B.h)(Ke=>Ke instanceof Lt));switch(ee.observe||"body"){case"body":switch(Te.responseType){case"arraybuffer":return Dt.pipe((0,re.U)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ke.body}));case"blob":return Dt.pipe((0,re.U)(Ke=>{if(null!==Ke.body&&!(Ke.body instanceof Blob))throw new Error("Response is not a Blob.");return Ke.body}));case"text":return Dt.pipe((0,re.U)(Ke=>{if(null!==Ke.body&&"string"!=typeof Ke.body)throw new Error("Response is not a string.");return Ke.body}));default:return Dt.pipe((0,re.U)(Ke=>Ke.body))}case"response":return Dt;default:throw new Error(`Unreachable: unhandled observe type ${ee.observe}}`)}}delete(A,X={}){return this.request("DELETE",A,X)}get(A,X={}){return this.request("GET",A,X)}head(A,X={}){return this.request("HEAD",A,X)}jsonp(A,X){return this.request("JSONP",A,{params:(new De).append(X,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,X={}){return this.request("OPTIONS",A,X)}patch(A,X,ee={}){return this.request("PATCH",A,Zt(ee,X))}post(A,X,ee={}){return this.request("POST",A,Zt(ee,X))}put(A,X,ee={}){return this.request("PUT",A,Zt(ee,X))}static#e=this.\u0275fac=function(X){return new(X||P)(p.LFG(V))};static#t=this.\u0275prov=p.Yz7({token:P,factory:P.\u0275fac})}return P})();function pe(P,T){return T(P)}function Z(P,T){return(A,X)=>T.intercept(A,{handle:ee=>P(ee,X)})}const ge=new p.OlP(""),Le=new p.OlP(""),dt=new p.OlP("");function yt(){let P=null;return(T,A)=>{null===P&&(P=((0,p.f3M)(ge,{optional:!0})??[]).reduceRight(Z,pe));const X=(0,p.f3M)(p.HDt),ee=X.add();return P(T,A).pipe((0,le.x)(()=>X.remove(ee)))}}let Ce=(()=>{class P extends V{constructor(A,X){super(),this.backend=A,this.injector=X,this.chain=null,this.pendingTasks=(0,p.f3M)(p.HDt)}handle(A){if(null===this.chain){const ee=Array.from(new Set([...this.injector.get(Le),...this.injector.get(dt,[])]));this.chain=ee.reduceRight((Te,we)=>function ae(P,T,A){return(X,ee)=>A.runInContext(()=>T(X,Te=>P(Te,ee)))}(Te,we,this.injector),pe)}const X=this.pendingTasks.add();return this.chain(A,ee=>this.backend.handle(ee)).pipe((0,le.x)(()=>this.pendingTasks.remove(X)))}static#e=this.\u0275fac=function(X){return new(X||P)(p.LFG(se),p.LFG(p.lqb))};static#t=this.\u0275prov=p.Yz7({token:P,factory:P.\u0275fac})}return P})();const Fn=/^\)\]\}',?\n/;let Yn=(()=>{class P{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new p.vHH(-2800,!1);const X=this.xhrFactory;return(X.\u0275loadImpl?(0,J.D)(X.\u0275loadImpl()):(0,b.of)(null)).pipe((0,de.w)(()=>new z.y(Te=>{const we=X.build();if(we.open(A.method,A.urlWithParams),A.withCredentials&&(we.withCredentials=!0),A.headers.forEach((Pe,Et)=>we.setRequestHeader(Pe,Et.join(","))),A.headers.has("Accept")||we.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const Pe=A.detectContentTypeHeader();null!==Pe&&we.setRequestHeader("Content-Type",Pe)}if(A.responseType){const Pe=A.responseType.toLowerCase();we.responseType="json"!==Pe?Pe:"text"}const Dt=A.serializeBody();let Ke=null;const rn=()=>{if(null!==Ke)return Ke;const Pe=we.statusText||"OK",Et=new Se(we.getAllResponseHeaders()),An=function Ut(P){return"responseURL"in P&&P.responseURL?P.responseURL:/^X-Request-URL:/m.test(P.getAllResponseHeaders())?P.getResponseHeader("X-Request-URL"):null}(we)||A.url;return Ke=new Ve({headers:Et,status:we.status,statusText:Pe,url:An}),Ke},hn=()=>{let{headers:Pe,status:Et,statusText:An,url:Kn}=rn(),Jt=null;204!==Et&&(Jt=typeof we.response>"u"?we.responseText:we.response),0===Et&&(Et=Jt?200:0);let Xt=Et>=200&&Et<300;if("json"===A.responseType&&"string"==typeof Jt){const qn=Jt;Jt=Jt.replace(Fn,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(no){Jt=qn,Xt&&(Xt=!1,Jt={error:no,text:Jt})}}Xt?(Te.next(new Lt({body:Jt,headers:Pe,status:Et,statusText:An,url:Kn||void 0})),Te.complete()):Te.error(new lt({error:Jt,headers:Pe,status:Et,statusText:An,url:Kn||void 0}))},jt=Pe=>{const{url:Et}=rn(),An=new lt({error:Pe,status:we.status||0,statusText:we.statusText||"Unknown Error",url:Et||void 0});Te.error(An)};let qt=!1;const In=Pe=>{qt||(Te.next(rn()),qt=!0);let Et={type:Ft.DownloadProgress,loaded:Pe.loaded};Pe.lengthComputable&&(Et.total=Pe.total),"text"===A.responseType&&we.responseText&&(Et.partialText=we.responseText),Te.next(Et)},$t=Pe=>{let Et={type:Ft.UploadProgress,loaded:Pe.loaded};Pe.lengthComputable&&(Et.total=Pe.total),Te.next(Et)};return we.addEventListener("load",hn),we.addEventListener("error",jt),we.addEventListener("timeout",jt),we.addEventListener("abort",jt),A.reportProgress&&(we.addEventListener("progress",In),null!==Dt&&we.upload&&we.upload.addEventListener("progress",$t)),we.send(Dt),Te.next({type:Ft.Sent}),()=>{we.removeEventListener("error",jt),we.removeEventListener("abort",jt),we.removeEventListener("load",hn),we.removeEventListener("timeout",jt),A.reportProgress&&(we.removeEventListener("progress",In),null!==Dt&&we.upload&&we.upload.removeEventListener("progress",$t)),we.readyState!==we.DONE&&we.abort()}})))}static#e=this.\u0275fac=function(X){return new(X||P)(p.LFG(oe.JF))};static#t=this.\u0275prov=p.Yz7({token:P,factory:P.\u0275fac})}return P})();const Kt=new p.OlP("XSRF_ENABLED"),bt=new p.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Xe=new p.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class vr{}let yr=(()=>{class P{constructor(A,X,ee){this.doc=A,this.platform=X,this.cookieName=ee,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,oe.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}static#e=this.\u0275fac=function(X){return new(X||P)(p.LFG(oe.K0),p.LFG(p.Lbi),p.LFG(bt))};static#t=this.\u0275prov=p.Yz7({token:P,factory:P.\u0275fac})}return P})();function St(P,T){const A=P.url.toLowerCase();if(!(0,p.f3M)(Kt)||"GET"===P.method||"HEAD"===P.method||A.startsWith("http://")||A.startsWith("https://"))return T(P);const X=(0,p.f3M)(vr).getToken(),ee=(0,p.f3M)(Xe);return null!=X&&!P.headers.has(ee)&&(P=P.clone({headers:P.headers.set(ee,X)})),T(P)}var ot=function(P){return P[P.Interceptors=0]="Interceptors",P[P.LegacyInterceptors=1]="LegacyInterceptors",P[P.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",P[P.NoXsrfProtection=3]="NoXsrfProtection",P[P.JsonpSupport=4]="JsonpSupport",P[P.RequestsMadeViaParent=5]="RequestsMadeViaParent",P[P.Fetch=6]="Fetch",P}(ot||{});function ur(...P){const T=[H,Yn,Ce,{provide:V,useExisting:Ce},{provide:se,useExisting:Yn},{provide:Le,useValue:St,multi:!0},{provide:Kt,useValue:!0},{provide:vr,useClass:yr}];for(const A of P)T.push(...A.\u0275providers);return(0,p.MR2)(T)}const Zn=new p.OlP("LEGACY_INTERCEPTOR_FN");function cr(){return function Wt(P,T){return{\u0275kind:P,\u0275providers:T}}(ot.LegacyInterceptors,[{provide:Zn,useFactory:yt},{provide:Le,useExisting:Zn,multi:!0}])}let O=(()=>{class P{static#e=this.\u0275fac=function(X){return new(X||P)};static#t=this.\u0275mod=p.oAB({type:P});static#n=this.\u0275inj=p.cJS({providers:[ur(cr())]})}return P})()},6689:(He,te,w)=>{w.d(te,{tb:()=>Nd,AFp:()=>yh,ip1:()=>mv,hGG:()=>_M,z2F:()=>is,Ojb:()=>rE,sBO:()=>aM,Sil:()=>AI,EJc:()=>bI,Xts:()=>Ks,SBq:()=>Xs,lqb:()=>Zr,qLn:()=>Fo,vpe:()=>Kr,XFs:()=>et,OlP:()=>Mt,zs3:()=>Fr,ZZ4:()=>jd,aQg:()=>Hd,soG:()=>Wu,YKP:()=>vm,h0i:()=>oi,PXZ:()=>QI,R0b:()=>Cn,FiY:()=>Ga,Lbi:()=>cl,g9A:()=>Dh,Qsj:()=>yE,FYo:()=>Mh,JOm:()=>Qa,tp0:()=>Wa,Rgc:()=>ma,dDg:()=>KI,eoX:()=>Iv,GfV:()=>bh,s_b:()=>zu,ifc:()=>In,VuI:()=>xM,MMx:()=>Dm,Lck:()=>f_,eFA:()=>Tv,Gpc:()=>xe,f3M:()=>ee,$WT:()=>dr,MR2:()=>nl,_c5:()=>wM,qFp:()=>LM,rg0:()=>At,c2e:()=>vv,zSh:()=>il,HDt:()=>yv,wAp:()=>ts,vHH:()=>he,lri:()=>wv,rWj:()=>_v,cg1:()=>id,kL8:()=>$g,dqk:()=>St,Z0I:()=>wn,eJc:()=>wd,QGY:()=>ql,F4k:()=>Wp,dwT:()=>f0,RDi:()=>ID,AaK:()=>Ze,qOj:()=>Hl,Xq5:()=>Mp,TTD:()=>Dn,_Bn:()=>mm,jDz:()=>Em,xp6:()=>qh,uIk:()=>Bl,ekj:()=>nd,Suo:()=>Km,Xpm:()=>ci,lG2:()=>ms,Yz7:()=>Ae,cJS:()=>Sn,oAB:()=>oo,Yjl:()=>li,Y36:()=>$i,_UZ:()=>Kl,BQk:()=>xu,ynx:()=>Pu,qZA:()=>Nu,TgZ:()=>Ou,EpF:()=>Gp,n5z:()=>ff,LFG:()=>A,$8M:()=>Tc,$Z:()=>Xh,NdJ:()=>Jl,CRH:()=>qm,oxw:()=>Jp,ALo:()=>xm,lcZ:()=>Fm,xi3:()=>Lm,Q6J:()=>Yl,DdM:()=>Sm,VKq:()=>Tm,iGM:()=>Zm,MAs:()=>Bp,KtG:()=>mc,CHM:()=>Na,LSH:()=>el,P3R:()=>lh,YNc:()=>jp,_uU:()=>Cg,Oqu:()=>od,hij:()=>ku});var p=w(8645),b=w(7394),J=w(5592),z=w(7537),F=w(4829),B=w(6232),re=w(4564),le=w(7715),oe=w(5619),V=w(2096),se=w(305),Se=w(9360);function ye(e={}){const{connector:t=(()=>new p.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,c,f,v=0,E=!1,_=!1;const R=()=>{c?.unsubscribe(),c=void 0},N=()=>{R(),s=f=void 0,E=_=!1},W=()=>{const ie=s;N(),ie?.unsubscribe()};return(0,Se.e)((ie,Ie)=>{v++,!_&&!E&&R();const Fe=f=f??t();Ie.add(()=>{v--,0===v&&!_&&!E&&(c=Re(W,o))}),Fe.subscribe(Ie),!s&&v>0&&(s=new se.Hp({next:Q=>Fe.next(Q),error:Q=>{_=!0,R(),c=Re(N,n,Q),Fe.error(Q)},complete:()=>{E=!0,R(),c=Re(N,r),Fe.complete()}}),(0,F.Xf)(ie).subscribe(s))})(i)}}function Re(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new se.Hp({next:()=>{r.unsubscribe(),e()}});return(0,F.Xf)(t(...n)).subscribe(r)}var ct=w(4664),Je=w(3997);function Ne(e){for(let t in e)if(e[t]===Ne)return t;throw Error("Could not find renamed property on target object.")}function ht(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ze).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 De(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const me=Ne({__forward_ref__:Ne});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return Ze(this())},e}function ve(e){return Ee(e)?e():e}function Ee(e){return"function"==typeof e&&e.hasOwnProperty(me)&&e.__forward_ref__===xe}function fe(e){return e&&!!e.\u0275providers}const je="https://g.co/ng/security#xss";class he extends Error{constructor(t,n){super(function Ft(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ke(e){return"string"==typeof e?e:null==e?"":String(e)}function H(e,t){throw new he(-201,!1)}function yt(e,t){null==e&&function Ce(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Sn(e){return{providers:e.providers||[],imports:e.imports||[]}}function zt(e){return st(e,Fn)||st(e,Yn)}function wn(e){return null!==zt(e)}function st(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wn(e){return e&&(e.hasOwnProperty(Ut)||e.hasOwnProperty(Kt))?e[Ut]:null}const Fn=Ne({\u0275prov:Ne}),Ut=Ne({\u0275inj:Ne}),Yn=Ne({ngInjectableDef:Ne}),Kt=Ne({ngInjectorDef:Ne});var et=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}(et||{});let bt;function Xe(e){const t=bt;return bt=e,t}function vr(e,t,n){const r=zt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&et.Optional?null:void 0!==t?t:void H(Ze(e))}const St=globalThis,O={},K="__NG_DI_FLAG__",Me="ngTempTokenPath",mt=/\n/gm,Bt="__source";let nn;function P(e){const t=nn;return nn=e,t}function T(e,t=et.Default){if(void 0===nn)throw new he(-203,!1);return null===nn?vr(e,void 0,t):nn.get(e,t&et.Optional?null:void 0,t)}function A(e,t=et.Default){return(function jr(){return bt}()||T)(ve(e),t)}function ee(e,t=et.Default){return A(e,Te(t))}function Te(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function we(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[_+1].toLowerCase();const N=8&r?R:null;if(N&&-1!==yo(N,v,0)||2&r&&v!==R){if(on(r))return!1;s=!0}}}}else{if(!s&&!on(r)&&!on(f))return!1;if(s&&on(f))continue;s=!1,r=f|1&r}}return on(r)||s}function on(e){return 0==(1&e)}function Eo(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+="."+s:4&r&&(o+=" "+s);else""!==o&&!on(s)&&(t+=Uo(i,o),o=""),r=s,i=i||!on(r);n++}return""!==o&&(t+=Uo(i,o)),t}function ci(e){return jt(()=>{const t=Cr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||In.Emulated,styles:e.styles||Pe,_:null,schemas:e.schemas||null,tView:null,id:""};io(n);const r=e.dependencies;return n.directiveDefs=wr(r,!1),n.pipeDefs=wr(r,!0),n.id=function Hr(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 ps(e){return it(e)||Qt(e)}function gs(e){return null!==e}function oo(e){return jt(()=>({type:e.type,bootstrap:e.bootstrap||Pe,declarations:e.declarations||Pe,imports:e.imports||Pe,exports:e.exports||Pe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wo(e,t){if(null==e)return $t;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 ms(e){return jt(()=>{const t=Cr(e);return io(t),t})}function li(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 it(e){return e[Et]||null}function Qt(e){return e[An]||null}function en(e){return e[Kn]||null}function dr(e){const t=it(e)||Qt(e)||en(e);return null!==t&&t.standalone}function Vt(e,t){const n=e[Jt]||null;if(!n&&!0===t)throw new Error(`Type ${Ze(e)} does not have '\u0275mod' property.`);return n}function Cr(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||$t,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Pe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wo(e.inputs,t),outputs:wo(e.outputs)}}function io(e){e.features?.forEach(t=>t(e))}function wr(e,t){if(!e)return null;const n=t?en:ps;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(gs)}const kt=0,be=1,Ge=2,Ot=3,Mn=4,so=5,tn=6,_r=7,Ht=8,Ir=9,Qn=10,We=11,ao=12,uo=13,Ur=14,Gt=15,er=16,Br=17,Ln=18,co=19,$o=20,Rn=21,tr=22,Vo=23,_o=24,at=25,di=1,vs=2,Bn=7,Mr=9,an=11;function bn(e){return Array.isArray(e)&&"object"==typeof e[di]}function vn(e){return Array.isArray(e)&&!0===e[di]}function fi(e){return 0!=(4&e.flags)}function fr(e){return e.componentOffset>-1}function br(e){return 1==(1&e.flags)}function kn(e){return!!e.template}function hi(e){return 0!=(512&e[Ge])}function Vr(e,t){return e.hasOwnProperty(Xt)?e[Xt]:null}let un=null,Wo=!1;function yn(e){const t=un;return un=e,t}const pi={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function gi(e){if(!Ao(e)||e.dirty){if(!e.producerMustRecompute(e)&&!To(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function vi(e){e.dirty=!0,function Is(e){if(void 0===e.liveConsumerNode)return;const t=Wo;Wo=!0;try{for(const n of e.liveConsumerNode)n.dirty||vi(n)}finally{Wo=t}}(e),e.consumerMarkedDirty?.(e)}function So(e){return e&&(e.nextProducerIndex=0),yn(e)}function Yo(e,t){if(yn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ao(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function To(e){fo(e);for(let t=0;t0}function fo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let l=null;function At(e){const t=yn(null);try{return e()}finally{yn(t)}}const Yt=()=>{},hr=(()=>({...pi,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Yt}))();class rr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Dn(){return or}function or(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gr),Ar}function Ar(){const e=Ma(this),t=e?.current;if(t){const n=e.previous;if(n===$t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gr(e,t,n,r){const o=this.declaredInputs[n],i=Ma(e)||function Di(e,t){return e[Ia]=t}(e,{previous:$t,current:null}),s=i.current||(i.current={}),c=i.previous,f=c[o];s[o]=new rr(f&&f.currentValue,t,c===$t),e[r]=t}Dn.ngInherit=!0;const Ia="__ngSimpleChanges__";function Ma(e){return e[Ia]||null}const On=function(e,t,n){};function Pt(e){for(;Array.isArray(e);)e=e[kt];return e}function Ei(e,t){return Pt(t[e])}function xt(e,t){return Pt(t[e.index])}function As(e,t){return e.data[t]}function Rr(e,t){return e[t]}function Nn(e,t){const n=t[e];return bn(n)?n:n[kt]}function ho(e,t){return null==t?null:e[t]}function Ta(e){e[Br]=0}function Rs(e){1024&e[Ge]||(e[Ge]|=1024,fc(e,1))}function Os(e){1024&e[Ge]&&(e[Ge]&=-1025,fc(e,-1))}function fc(e,t){let n=e[Ot];if(null===n)return;n[so]+=t;let r=n;for(n=n[Ot];null!==n&&(1===t&&1===r[so]||-1===t&&0===r[so]);)n[so]+=t,r=n,n=n[Ot]}const Ye={lFrame:_e(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ci(){return Ye.bindingsEnabled}function ne(){return Ye.lFrame.lView}function gt(){return Ye.lFrame.tView}function Na(e){return Ye.lFrame.contextLView=e,e[Ht]}function mc(e){return Ye.lFrame.contextLView=null,e}function fn(){let e=Pa();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pa(){return Ye.lFrame.currentTNode}function pr(e,t){const n=Ye.lFrame;n.currentTNode=e,n.isParent=t}function Ps(){return Ye.lFrame.isParent}function xs(){Ye.lFrame.isParent=!1}function En(){const e=Ye.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qo(){return Ye.lFrame.bindingIndex++}function qd(e,t){const n=Ye.lFrame;n.bindingIndex=n.bindingRootIndex=e,d(t)}function d(e){Ye.lFrame.currentDirectiveIndex=e}function h(){return Ye.lFrame.currentQueryIndex}function m(e){Ye.lFrame.currentQueryIndex=e}function C(e){const t=e[be];return 2===t.type?t.declTNode:1===t.type?e[tn]:null}function I(e,t,n){if(n&et.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&et.Host||(o=C(i),null===o||(i=i[Ur],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Ye.lFrame=x();return r.currentTNode=t,r.lView=e,!0}function k(e){const t=x(),n=e[be];Ye.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function x(){const e=Ye.lFrame,t=null===e?null:e.child;return null===t?_e(e):t}function _e(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 qe(){const e=Ye.lFrame;return Ye.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const It=qe;function ft(){const e=qe();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 cn(){return Ye.lFrame.selectedIndex}function xr(e){Ye.lFrame.selectedIndex=e}function Rt(){const e=Ye.lFrame;return As(e.tView,e.selectedIndex)}let Xd=!0;function Fa(){return Xd}function Po(e){Xd=e}function La(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[Br]+=65536),(c>13>16&&(3&e[Ge])===t&&(e[Ge]+=8192,ef(c,i)):ef(c,i)}const wi=-1;class Fs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _c(e){return e!==wi}function Ls(e){return 32767&e}function ks(e,t){let n=function cy(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ur],n--;return r}let Ic=!0;function Ha(e){const t=Ic;return Ic=e,t}const tf=255,nf=5;let ly=0;const Yr={};function Ua(e,t){const n=rf(e,t);if(-1!==n)return n;const r=t[be];r.firstCreatePass&&(e.injectorIndex=t.length,Mc(r.data,e),Mc(t,null),Mc(r.blueprint,null));const o=Ba(e,t),i=e.injectorIndex;if(_c(o)){const s=Ls(o),c=ks(o,t),f=c[be].data;for(let v=0;v<8;v++)t[i+v]=c[s+v]|f[s+v]}return t[i+8]=o,i}function Mc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ba(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=hf(o),null===r)return wi;if(n++,o=o[Ur],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return wi}function bc(e,t,n){!function dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qn)&&(r=n[qn]),null==r&&(r=n[qn]=ly++);const o=r&tf;t.data[e+(o>>nf)]|=1<=0?t&tf:my:t}(n);if("function"==typeof i){if(!I(t,e,r))return r&et.Host?sf(o,0,r):af(t,n,r,o);try{let s;if(s=i(r),null!=s||r&et.Optional)return s;H()}finally{It()}}else if("number"==typeof i){let s=null,c=rf(e,t),f=wi,v=r&et.Host?t[Gt][tn]:null;for((-1===c||r&et.SkipSelf)&&(f=-1===c?Ba(e,t):t[c+8],f!==wi&&df(r,!1)?(s=t[be],c=Ls(f),t=ks(f,t)):c=-1);-1!==c;){const E=t[be];if(lf(i,c,E.data)){const _=hy(c,t,n,s,r,v);if(_!==Yr)return _}f=t[c+8],f!==wi&&df(r,t[be].data[c+8]===v)&&lf(i,c,t)?(s=E,c=Ls(f),t=ks(f,t)):c=-1}}return o}function hy(e,t,n,r,o,i){const s=t[be],c=s.data[e+8],E=$a(c,s,n,null==r?fr(c)&&Ic:r!=s&&0!=(3&c.type),o&et.Host&&i===c);return null!==E?Xo(t,s,E,c):Yr}function $a(e,t,n,r,o){const i=e.providerIndexes,s=t.data,c=1048575&i,f=e.directiveStart,E=i>>20,R=o?c+E:e.directiveEnd;for(let N=r?c:c+E;N=f&&W.type===n)return N}if(o){const N=s[f];if(N&&kn(N)&&N.type===n)return f}return null}function Xo(e,t,n,r){let o=e[n];const i=t.data;if(function sy(e){return e instanceof Fs}(o)){const s=o;s.resolving&&function Lt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new he(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ke(e)}(i[n]));const c=Ha(s.canSeeViewProviders);s.resolving=!0;const v=s.injectImpl?Xe(s.injectImpl):null;I(e,r,et.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oy(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=or(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!==v&&Xe(v),Ha(c),s.resolving=!1,It()}}return o}function lf(e,t,n){return!!(n[t+(e>>nf)]&1<{const t=e.prototype.constructor,n=t[Xt]||Sc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Xt]||Sc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Sc(e){return Ee(e)?()=>{const t=Sc(ve(e));return t&&t()}:Vr(e)}function hf(e){const t=e[be],n=t.type;return 2===n?t.declTNode:1===n?e[tn]:null}function Tc(e){return function fy(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 Ac(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 c.annotation=s,c;function c(f,v,E){const _=f.hasOwnProperty(Ii)?f[Ii]:Object.defineProperty(f,Ii,{value:[]})[Ii];for(;_.length<=E;)_.push(null);return(_[E]=_[E]||[]).push(s),f}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ti(e,t){e.forEach(n=>Array.isArray(n)?Ti(n,t):t(n))}function gf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Va(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ir(e,t,n){let r=Ai(e,t);return r>=0?e[1|r]=n:(r=~r,function Iy(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 Rc(e,t){const n=Ai(e,t);if(n>=0)return e[1|n]}function Ai(e,t){return function mf(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<|^->||--!>|)/g,Yy="\u200b$1\u200b";const Fc=new Map;let Zy=0;const kc="__ngContext__";function Pn(e,t){bn(t)?(e[kc]=t[co],function qy(e){Fc.set(e[co],e)}(t)):e[kc]=t}let jc;function Hc(e,t){return jc(e,t)}function Vs(e){const t=e[Ot];return vn(t)?t[Ot]:t}function Lf(e){return jf(e[ao])}function kf(e){return jf(e[Mn])}function jf(e){for(;null!==e&&!vn(e);)e=e[Mn];return e}function Ni(e,t,n,r,o){if(null!=r){let i,s=!1;vn(r)?i=r:bn(r)&&(s=!0,r=r[kt]);const c=Pt(r);0===e&&null!==n?null==o?$f(t,n,c):Qo(t,n,c,o||null,!0):1===e&&null!==n?Qo(t,n,c,o||null,!0):2===e?function iu(e,t,n){const r=ru(e,t);r&&function gD(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=i&&function yD(e,t,n,r,o){const i=n[Bn];i!==Pt(n)&&Ni(t,e,r,i,o);for(let c=an;ct.replace(Wy,Yy))}(t))}function tu(e,t,n){return e.createElement(t,n)}function Uf(e,t){const n=e[Mr],r=n.indexOf(t);Os(t),n.splice(r,1)}function nu(e,t){if(e.length<=an)return;const n=an+t,r=e[n];if(r){const o=r[er];null!==o&&o!==e&&Uf(o,r),t>0&&(e[n-1][Mn]=r[Mn]);const i=Va(e,an+t);!function aD(e,t){Gs(e,t,t[We],2,null,null),t[kt]=null,t[tn]=null}(r[be],r);const s=i[Ln];null!==s&&s.detachView(i[be]),r[Ot]=null,r[Mn]=null,r[Ge]&=-129}return r}function Bc(e,t){if(!(256&t[Ge])){const n=t[We];t[Vo]&&yi(t[Vo]),t[_o]&&yi(t[_o]),n.destroyNode&&Gs(e,t,n,3,null,null),function lD(e){let t=e[ao];if(!t)return $c(e[be],e);for(;t;){let n=null;if(bn(t))n=t[ao];else{const r=t[an];r&&(n=r)}if(!n){for(;t&&!t[Mn]&&t!==e;)bn(t)&&$c(t[be],t),t=t[Ot];null===t&&(t=e),bn(t)&&$c(t[be],t),n=t&&t[Mn]}t=n}}(t)}}function $c(e,t){if(!(256&t[Ge])){t[Ge]&=-129,t[Ge]|=256,function pD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[_r]=null);const o=t[Rn];if(null!==o){t[Rn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===In.None||i===In.Emulated)return null}return xt(r,n)}}(e,t.parent,n)}function Qo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $f(e,t,n){e.appendChild(t,n)}function Vf(e,t,n,r,o){null!==r?Qo(e,t,n,r,o):$f(e,t,n)}function ru(e,t){return e.parentNode(t)}let zc,Zc,au,Wf=function Gf(e,t,n){return 40&e.type?xt(e,n):null};function ou(e,t,n,r){const o=Vc(e,r,t),i=t[We],c=function zf(e,t,n){return Wf(e,t,n)}(r.parent||t[tn],r,t);if(null!=o)if(Array.isArray(n))for(let f=0;fe,createScript:e=>e,createScriptURL:e=>e})}catch{}return au}()?.createScriptURL(e)||e}class nh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${je})`}}function xo(e){return e instanceof nh?e.changingThisBreaksApplicationSecurity:e}function Ws(e,t){const n=function RD(e){return e instanceof nh&&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 ${je})`)}return n===t}const xD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Fi=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}(Fi||{});function el(e){const t=Zs();return t?t.sanitize(Fi.URL,e)||"":Ws(e,"URL")?xo(e):function qc(e){return(e=String(e)).match(xD)?e:"unsafe:"+e}(ke(e))}function ch(e){const t=Zs();if(t)return th(t.sanitize(Fi.RESOURCE_URL,e)||"");if(Ws(e,"ResourceURL"))return th(xo(e));throw new he(904,!1)}function lh(e,t,n){return function WD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ch:el}(t,n)(e)}function Zs(){const e=ne();return e&&e[Qn].sanitizer}class Mt{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=Ae({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ks=new Mt("ENVIRONMENT_INITIALIZER"),dh=new Mt("INJECTOR",-1),fh=new Mt("INJECTOR_DEF_TYPES");class tl{get(t,n=O){if(n===O){const r=new Error(`NullInjectorError: No provider for ${Ze(t)}!`);throw r.name="NullInjectorError",r}return n}}function nl(e){return{\u0275providers:e}}function YD(...e){return{\u0275providers:hh(0,e),\u0275fromNgModule:!0}}function hh(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Ti(t,s=>{const c=s;cu(c,i,[],r)&&(o||=[],o.push(c))}),void 0!==o&&ph(o,i),n}function ph(e,t){for(let n=0;n{t(i,r)})}}function cu(e,t,n,r){if(!(e=ve(e)))return!1;let o=null,i=Wn(e);const s=!i&&it(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const f=e.ngModule;if(i=Wn(f),!i)return!1;o=f}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const f="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const v of f)cu(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let v;r.add(o);try{Ti(i.imports,E=>{cu(E,t,n,r)&&(v||=[],v.push(E))})}finally{}void 0!==v&&ph(v,t)}if(!c){const v=Vr(o)||(()=>new o);t({provide:o,useFactory:v,deps:Pe},o),t({provide:fh,useValue:o,multi:!0},o),t({provide:Ks,useValue:()=>A(o),multi:!0},o)}const f=i.providers;if(null!=f&&!c){const v=e;rl(f,E=>{t(E,v)})}}}return o!==e&&void 0!==e.providers}function rl(e,t){for(let n of e)fe(n)&&(n=n.\u0275providers),Array.isArray(n)?rl(n,t):t(n)}const ZD=Ne({provide:String,useValue:Ne});function ol(e){return null!==e&&"object"==typeof e&&ZD in e}function ei(e){return"function"==typeof e}const il=new Mt("Set Injector scope."),lu={},qD={};let sl;function du(){return void 0===sl&&(sl=new tl),sl}class Zr{}class fu extends Zr{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,ul(t,s=>this.processProvider(s)),this.records.set(dh,Li(void 0,this)),o.has("environment")&&this.records.set(Zr,Li(void 0,this));const i=this.records.get(il);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fh.multi,Pe,et.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=P(this),r=Xe(void 0);try{return t()}finally{P(n),Xe(r)}}get(t,n=O,r=et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(no))return t[no](this);r=Te(r);const i=P(this),s=Xe(void 0);try{if(!(r&et.SkipSelf)){let f=this.records.get(t);if(void 0===f){const v=function tE(e){return"function"==typeof e||"object"==typeof e&&e instanceof Mt}(t)&&zt(t);f=v&&this.injectableDefInScope(v)?Li(al(t),lu):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&et.Self?du():this.parent).get(t,n=r&et.Optional&&n===O?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[Me]=c[Me]||[]).unshift(Ze(t)),i)throw c;return function rn(e,t,n,r){const o=e[Me];throw t[Bt]&&o.unshift(t[Bt]),e.message=function hn(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ze(t);if(Array.isArray(t))o=t.map(Ze).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):Ze(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(mt,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Me]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Xe(s),P(i)}}resolveInjectorInitializers(){const t=P(this),n=Xe(void 0);try{const o=this.get(Ks.multi,Pe,et.Self);for(const i of o)i()}finally{P(t),Xe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ze(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new he(205,!1)}processProvider(t){let n=ei(t=ve(t))?t:ve(t&&t.provide);const r=function XD(e){return ol(e)?Li(void 0,e.useValue):Li(vh(e),lu)}(t);if(ei(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Li(void 0,lu,!0),o.factory=()=>we(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===lu&&(n.value=qD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function eE(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=ve(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 al(e){const t=zt(e),n=null!==t?t.factory:Vr(e);if(null!==n)return n;if(e instanceof Mt)throw new he(204,!1);if(e instanceof Function)return function JD(e){const t=e.length;if(t>0)throw function Us(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new he(204,!1)}function vh(e,t,n){let r;if(ei(e)){const o=ve(e);return Vr(o)||al(o)}if(ol(e))r=()=>ve(e.useValue);else if(function mh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...we(e.deps||[]));else if(function gh(e){return!(!e||!e.useExisting)}(e))r=()=>A(ve(e.useExisting));else{const o=ve(e&&(e.useClass||e.provide));if(!function QD(e){return!!e.deps}(e))return Vr(o)||al(o);r=()=>new o(...we(e.deps))}return r}function Li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ul(e,t){for(const n of e)Array.isArray(n)?ul(n,t):n&&fe(n)?ul(n.\u0275providers,t):t(n)}const yh=new Mt("AppId",{providedIn:"root",factory:()=>nE}),nE="ng",Dh=new Mt("Platform Initializer"),cl=new Mt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rE=new Mt("CSP nonce",{providedIn:"root",factory:()=>function xi(){if(void 0!==Zc)return Zc;if(typeof document<"u")return document;throw new he(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Eh=(e,t,n)=>null;function vl(e,t,n=!1){return Eh(e,t,n)}class hE{}class _h{}class gE{resolveComponentFactory(t){throw function pE(e){const t=Error(`No component factory found for ${Ze(e)}.`);return t.ngComponent=e,t}(t)}}let yu=(()=>{class e{static#e=this.NULL=new gE}return e})();function mE(){return Hi(fn(),ne())}function Hi(e,t){return new Xs(xt(e,t))}let Xs=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=mE}return e})();function vE(e){return e instanceof Xs?e.nativeElement:e}class Mh{}let yE=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function DE(){const e=ne(),n=Nn(fn().index,e);return(bn(n)?n:e)[We]}()}return e})(),EE=(()=>{class e{static#e=this.\u0275prov=Ae({token:e,providedIn:"root",factory:()=>null})}return e})();class bh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const CE=new bh("16.2.9"),El={};function Rh(e,t=null,n=null,r){const o=Oh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Oh(e,t=null,n=null,r,o=new Set){const i=[n||Pe,YD(e)];return r=r||("object"==typeof e?void 0:Ze(e)),new fu(i,t||du(),r||null,o)}let Fr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=O;static#t=this.NULL=new tl;static create(n,r){if(Array.isArray(n))return Rh({name:""},r,n,"");{const o=n.name??"";return Rh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=Ae({token:e,providedIn:"any",factory:()=>A(dh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function wl(e){return e.ngOriginalError}class Fo{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&&wl(t);for(;n&&wl(n);)n=wl(n);return n||null}}function Il(e){return t=>{setTimeout(e,void 0,t)}}const Kr=class TE extends p.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 f=t;o=f.next?.bind(f),i=f.error?.bind(f),s=f.complete?.bind(f)}this.__isAsync&&(i=Il(i),o&&(o=Il(o)),s&&(s=Il(s)));const c=super.subscribe({next:o,error:i,complete:s});return t instanceof b.w0&&t.add(c),c}};function Ph(...e){}class Cn{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 he(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 AE(){const e="function"==typeof St.requestAnimationFrame;let t=St[e?"requestAnimationFrame":"setTimeout"],n=St[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 NE(e){const t=()=>{!function OE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(St,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bl(e),e.isCheckStableRunning=!0,Ml(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{if(function xE(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(o,i,s,c);try{return xh(e),n.invokeTask(o,i,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Fh(e)}},onInvoke:(n,r,o,i,s,c,f)=>{try{return xh(e),n.invoke(o,i,s,c,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),Fh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,bl(e),Ml(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(!Cn.isInAngularZone())throw new he(909,!1)}static assertNotInAngularZone(){if(Cn.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,s=i.scheduleEventTask("NgZoneEvent: "+o,t,RE,Ph,Ph);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 RE={};function Ml(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 bl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fh(e){e._nesting--,Ml(e)}class PE{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)}}const Lh=new Mt("",{providedIn:"root",factory:kh});function kh(){const e=ee(Cn);let t=!0;return function de(...e){const t=(0,re.yG)(e),n=(0,re._6)(e,1/0),r=e;return r.length?1===r.length?(0,F.Xf)(r[0]):(0,z.J)(n)((0,le.D)(r,t)):B.E}(new J.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new J.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Cn.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Cn.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(ye()))}function go(e){return e instanceof Function?e():e}let Sl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Ae({token:e,providedIn:"root",factory:()=>new e})}return e})();function Qs(e){for(;e;){e[Ge]|=64;const t=Vs(e);if(hi(e)&&!t)return e;e=t}return null}const $h=new Mt("",{providedIn:"root",factory:()=>!1});let Eu=null;function Wh(e,t){return e[t]??Kh()}function Yh(e,t){const n=Kh();n.producerNode?.length&&(e[t]=Eu,n.lView=e,Eu=Zh())}const zE={...pi,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Qs(e.lView)},lView:null};function Zh(){return Object.create(zE)}function Kh(){return Eu??=Zh(),Eu}const nt={};function qh(e){Jh(gt(),ne(),cn()+e,!1)}function Jh(e,t,n,r){if(!r)if(3==(3&t[Ge])){const i=e.preOrderCheckHooks;null!==i&&ka(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ja(t,i,0,n)}xr(n)}function $i(e,t=et.Default){const n=ne();return null===n?A(e,t):uf(fn(),n,ve(e),t)}function Xh(){throw new Error("invalid")}function Cu(e,t,n,r,o,i,s,c,f,v,E){const _=t.blueprint.slice();return _[kt]=o,_[Ge]=140|r,(null!==v||e&&2048&e[Ge])&&(_[Ge]|=2048),Ta(_),_[Ot]=_[Ur]=e,_[Ht]=n,_[Qn]=s||e&&e[Qn],_[We]=c||e&&e[We],_[Ir]=f||e&&e[Ir]||null,_[tn]=i,_[co]=function Ky(){return Zy++}(),_[tr]=E,_[$o]=v,_[Gt]=2==t.type?e[Gt]:_,_}function Vi(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Tl(e,t,n,r,o){const i=Pa(),s=Ps(),f=e.data[t]=function XE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,c=0;return function No(){return null!==Ye.skipHydrationRootTNode}()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,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=f),null!==i&&(s?null==i.child&&null!==f.parent&&(i.child=f):null===i.next&&(i.next=f,f.prev=i)),f}(e,t,n,r,o),function Kd(){return Ye.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ko(){const e=Ye.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return pr(i,!0),i}function ea(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iat&&Jh(e,t,at,!1),On(c?2:0,o);const v=c?i:null,E=So(v);try{null!==v&&(v.dirty=!1),n(r,o)}finally{Yo(v,E)}}finally{c&&null===t[Vo]&&Yh(t,Vo),xr(s),On(c?3:1,o)}}function Al(e,t,n){if(fi(t)){const r=yn(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function np(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?rp(n,t,o,i):r.hasOwnProperty(o)&&rp(n,t,r[o],i)}return n}function rp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Pl(e,t,n,r){if(Ci()){const o=null===r?null:{"":-1},i=function aC(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(e,t,r,ea(e,n,o.hostVars,nt),o)}function qr(e,t,n,r,o,i){const s=xt(e,t);!function Fl(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const c=null==s?ke(i):s(i,r||"",o);e.setAttribute(t,o,c,n)}}(t[We],s,i,e.value,n,r,o)}function hC(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let c=0;c{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function wt(e,t,n){const r=Object.create(hr);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>vi(r),run:()=>{if(r.dirty=!1,r.hasRun&&!To(r))return;r.hasRun=!0;const s=So(r);try{r.cleanupFn(),r.cleanupFn=Yt,r.fn(o)}finally{Yo(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,v=>{this.all.has(v)&&this.queue.set(v,i)},o);let c;this.all.add(s),s.notify();const f=()=>{s.cleanup(),c?.(),this.all.delete(s),this.queue.delete(s)};return c=r?.onDestroy(f),{destroy:f}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Ae({token:e,providedIn:"root",factory:()=>new e})}return e})();function _u(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){mp(e,1);const o=n.components;null!==o&&yp(e,o,1)}}function yp(e,t,n){for(let r=0;r-1&&(nu(t,r),Va(n,r))}this._attachedToViewContainer=!1}Bc(this._lView[be],this._lView)}onDestroy(t){!function Ns(e,t){if(256==(256&e[Ge]))throw new he(911,!1);null===e[Rn]&&(e[Rn]=[]),e[Rn].push(t)}(this._lView,t)}markForCheck(){Qs(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ge]&=-129}reattach(){this._lView[Ge]|=128}detectChanges(){Iu(this._lView[be],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new he(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function cD(e,t){Gs(e,t,t[We],2,null,null)}(this._lView[be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new he(902,!1);this._appRef=t}}class wC extends na{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Iu(t[be],t,t[Ht],!1)}checkNoChanges(){}get context(){return null}}class Dp extends yu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=it(t);return new ra(n,this.ngModule)}}function Ep(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class IC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Te(r);const o=this.injector.get(t,El,r);return o!==El||n===El?o:this.parentInjector.get(t,n,r)}}class ra extends _h{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ep(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ep(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ds(e){return e.map(ls).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Zr?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new IC(t,i):t,c=s.get(Mh,null);if(null===c)throw new he(407,!1);const _={rendererFactory:c,sanitizer:s.get(EE,null),effectManager:s.get(hp,null),afterRenderEventManager:s.get(Sl,null)},R=c.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",W=r?function YE(e,t,n,r){const i=r.get($h,!1)||n===In.ShadowDom,s=e.selectRootElement(t,i);return function ZE(e){tp(e)}(s),s}(R,r,this.componentDef.encapsulation,s):tu(R,N,function _C(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(N)),Fe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Q=null;null!==W&&(Q=vl(W,s,!0));const Qe=Nl(0,null,null,1,0,null,null,null,null,null,null),ut=Cu(null,Qe,null,Fe,null,null,_,R,s,null,Q);let Nt,Gn;k(ut);try{const vo=this.componentDef;let ss,Bd=null;vo.findHostDirectiveDefs?(ss=[],Bd=new Map,vo.findHostDirectiveDefs(vo,ss,Bd),ss.push(vo)):ss=[vo];const kM=function bC(e,t){const n=e[be],r=at;return e[r]=t,Vi(n,r,2,"#host",null)}(ut,W),jM=function SC(e,t,n,r,o,i,s){const c=o[be];!function TC(e,t,n,r){for(const o of e)t.mergedAttrs=Jn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(_u(t,t.mergedAttrs,!0),null!==n&&Xf(r,n,t))}(r,e,t,s);let f=null;null!==t&&(f=vl(t,o[Ir]));const v=i.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const _=Cu(o,ep(n),null,E,o[e.index],e,i,v,null,null,f);return c.firstCreatePass&&xl(c,e,r.length-1),wu(o,_),o[e.index]=_}(kM,W,vo,ss,ut,_,R);Gn=As(Qe,at),W&&function RC(e,t,n,r){if(r)ro(e,n,["ng-version",CE.full]);else{const{attrs:o,classes:i}=function fs(e){const t=[],n=[];let r=1,o=2;for(;r0&&Jf(e,n,i.join(" "))}}(R,vo,W,r),void 0!==n&&function OC(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Jn(o.hostAttrs,n=Jn(n,o.hostAttrs))}}(r)}function Mu(e){return e===$t?{}:e===Pe?[]:e}function xC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function FC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function LC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Mp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function bu(e){return!!Ul(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ul(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Jr(e,t,n){return e[t]=n}function xn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Bl(e,t,n,r){const o=ne();return xn(o,qo(),t)&&(gt(),qr(Rt(),o,e,t,n,r)),Bl}function jp(e,t,n,r,o,i,s,c){const f=ne(),v=gt(),E=e+at,_=v.firstCreatePass?function aw(e,t,n,r,o,i,s,c,f){const v=t.consts,E=Vi(t,e,4,s||null,ho(v,c));Pl(t,n,E,ho(v,f)),La(t,E);const _=E.tView=Nl(2,E,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,v,null);return null!==t.queries&&(t.queries.template(t,E),_.queries=t.queries.embeddedTView(E)),E}(E,v,f,t,n,r,o,i,s):v.data[E];pr(_,!1);const R=Hp(v,f,_,e);Fa()&&ou(v,f,R,_),Pn(R,f),wu(f,f[E]=ap(R,f,R,_)),br(_)&&Rl(v,f,_),null!=s&&Ol(f,_,c)}let Hp=function Up(e,t,n,r){return Po(!0),t[We].createComment("")};function Bp(e){return Rr(function vc(){return Ye.lFrame.contextLView}(),at+e)}function Yl(e,t,n){const r=ne();return xn(r,qo(),t)&&function sr(e,t,n,r,o,i,s,c){const f=xt(t,n);let E,v=t.inputs;!c&&null!=v&&(E=v[r])?(kl(e,n,E,r,o),fr(t)&&function tC(e,t){const n=Nn(t,e);16&n[Ge]||(n[Ge]|=64)}(n,t.index)):3&t.type&&(r=function eC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(f,r,o))}(gt(),Rt(),r,e,t,r[We],n,!1),Yl}function Zl(e,t,n,r,o){const s=o?"class":"style";kl(e,n,t.inputs[s],s,r)}function Ou(e,t,n,r){const o=ne(),i=gt(),s=at+e,c=o[We],f=i.firstCreatePass?function dw(e,t,n,r,o,i){const s=t.consts,f=Vi(t,e,2,r,ho(s,o));return Pl(t,n,f,ho(s,i)),null!==f.attrs&&_u(f,f.attrs,!1),null!==f.mergedAttrs&&_u(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,o,t,n,r):i.data[s],v=$p(i,o,f,c,t,e);o[s]=v;const E=br(f);return pr(f,!0),Xf(c,v,f),32!=(32&f.flags)&&Fa()&&ou(i,o,v,f),0===function Gd(){return Ye.lFrame.elementDepthCount}()&&Pn(v,o),function Aa(){Ye.lFrame.elementDepthCount++}(),E&&(Rl(i,o,f),Al(i,f,o)),null!==r&&Ol(o,f),Ou}function Nu(){let e=fn();Ps()?xs():(e=e.parent,pr(e,!1));const t=e;(function pc(e){return Ye.skipHydrationRootTNode===e})(t)&&function Yd(){Ye.skipHydrationRootTNode=null}(),function Ra(){Ye.lFrame.elementDepthCount--}();const n=gt();return n.firstCreatePass&&(La(n,e),fi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ay(e){return 0!=(8&e.flags)}(t)&&Zl(n,t,ne(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function uy(e){return 0!=(16&e.flags)}(t)&&Zl(n,t,ne(),t.stylesWithoutHost,!1),Nu}function Kl(e,t,n,r){return Ou(e,t,n,r),Nu(),Kl}let $p=(e,t,n,r,o,i)=>(Po(!0),tu(r,o,function Jd(){return Ye.lFrame.currentNamespace}()));function Pu(e,t,n){const r=ne(),o=gt(),i=e+at,s=o.firstCreatePass?function pw(e,t,n,r,o){const i=t.consts,s=ho(i,r),c=Vi(t,e,8,"ng-container",s);return null!==s&&_u(c,s,!0),Pl(t,n,c,ho(i,o)),null!==t.queries&&t.queries.elementStart(t,c),c}(i,o,r,t,n):o.data[i];pr(s,!0);const c=zp(o,r,s,e);return r[i]=c,Fa()&&ou(o,r,c,s),Pn(c,r),br(s)&&(Rl(o,r,s),Al(o,s,r)),null!=n&&Ol(r,s),Pu}function xu(){let e=fn();const t=gt();return Ps()?xs():(e=e.parent,pr(e,!1)),t.firstCreatePass&&(La(t,e),fi(e)&&t.queries.elementEnd(e)),xu}let zp=(e,t,n,r)=>(Po(!0),Uc(t[We],""));function Gp(){return ne()}function ql(e){return!!e&&"function"==typeof e.then}function Wp(e){return!!e&&"function"==typeof e.subscribe}function Jl(e,t,n,r){const o=ne(),i=gt(),s=fn();return function Zp(e,t,n,r,o,i,s){const c=br(r),v=e.firstCreatePass&&lp(e),E=t[Ht],_=cp(t);let R=!0;if(3&r.type||s){const ie=xt(r,t),Ie=s?s(ie):ie,Fe=_.length,Q=s?ut=>s(Pt(ut[r.index])):r.index;let Qe=null;if(!s&&c&&(Qe=function vw(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;if?c[f]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Qe)(Qe.__ngLastListenerFn__||Qe).__ngNextListenerFn__=i,Qe.__ngLastListenerFn__=i,R=!1;else{i=qp(r,t,E,i,!1);const ut=n.listen(Ie,o,i);_.push(i,ut),v&&v.push(o,Q,Fe,Fe+1)}}else i=qp(r,t,E,i,!1);const N=r.outputs;let W;if(R&&null!==N&&(W=N[o])){const ie=W.length;if(ie)for(let Ie=0;Ie-1?Nn(e.index,t):t);let f=Kp(t,n,r,s),v=i.__ngNextListenerFn__;for(;v;)f=Kp(t,n,v,s)&&f,v=v.__ngNextListenerFn__;return o&&!1===f&&s.preventDefault(),f}}function Jp(e=1){return function Pr(e){return(Ye.lFrame.contextLView=function Jo(e,t){for(;e>0;)t=t[Ur],e--;return t}(e,Ye.lFrame.contextLView))[Ht]}(e)}function Fu(e,t){return e<<17|t<<2}function Lo(e){return e>>17&32767}function Ql(e){return 2|e}function ni(e){return(131068&e)>>2}function ed(e,t){return-131069&e|t<<2}function td(e){return 1|e}function ag(e,t,n,r,o){const i=e[n+1],s=null===t;let c=r?Lo(i):ni(i),f=!1;for(;0!==c&&(!1===f||s);){const E=e[c+1];bw(e[c],t)&&(f=!0,e[c+1]=r?td(E):Ql(E)),c=r?Lo(E):ni(E)}f&&(e[n+1]=r?Ql(i):td(i))}function bw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ai(e,t)>=0}function nd(e,t){return function Lr(e,t,n,r){const o=ne(),i=gt(),s=function Wr(e){const t=Ye.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function mg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[cn()],s=function gg(e,t){return t>=e.expandoStartIndex}(e,n);(function Eg(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function Fw(e,t,n,r){const o=function a(e){const t=Ye.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=ua(n=rd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=rd(o,e,t,n,r),null===i){let f=function Lw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ni(r))return e[Lo(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=rd(null,e,t,f[1],r),f=ua(f,t.attrs,r),function kw(e,t,n,r){e[Lo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else i=function jw(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(v=!0)):E=n,o)if(0!==f){const R=Lo(e[c+1]);e[r+1]=Fu(R,c),0!==R&&(e[R+1]=ed(e[R+1],r)),e[c+1]=function ww(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Fu(c,0),0!==c&&(e[c+1]=ed(e[c+1],r)),c=r;else e[r+1]=Fu(f,0),0===c?c=r:e[f+1]=ed(e[f+1],r),f=r;v&&(e[r+1]=Ql(e[r+1])),ag(e,E,r,!0),ag(e,E,r,!1),function Mw(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ai(i,t)>=0&&(n[r+1]=td(n[r+1]))}(t,E,e,r,i),s=Fu(c,f),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==nt&&xn(o,s,t)&&function yg(e,t,n,r,o,i,s,c){if(!(3&t.type))return;const f=e.data,v=f[c+1],E=function _w(e){return 1==(1&e)}(v)?Dg(f,t,n,o,ni(v),s):void 0;Lu(E)||(Lu(i)||function Cw(e){return 2==(2&e)}(v)&&(i=Dg(f,null,n,o,c,s)),function DD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Qa.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Qa.Important),e.setStyle(n,r,o,i))}}(r,s,Ei(cn(),n),o,i))}(i,i.data[cn()],o,o[We],e,o[s+1]=function $w(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ze(xo(e)))),e}(t,n),r,s)}(e,t,null,!0),nd}function rd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const f=e[o],v=Array.isArray(f),E=v?f[1]:f,_=null===E;let R=n[o+1];R===nt&&(R=_?Pe:void 0);let N=_?Rc(R,r):E===r?R:void 0;if(v&&!Lu(N)&&(N=Rc(f,r)),Lu(N)&&(c=N,s))return c;const W=e[o+1];o=s?Lo(W):ni(W)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(c=Rc(f,r))}return c}function Lu(e){return void 0!==e}function Cg(e,t=""){const n=ne(),r=gt(),o=e+at,i=r.firstCreatePass?Vi(r,o,1,t,null):r.data[o],s=wg(r,n,i,t,e);n[o]=s,Fa()&&ou(r,n,s,i),pr(i,!1)}let wg=(e,t,n,r,o)=>(Po(!0),function eu(e,t){return e.createText(t)}(t[We],r));function od(e){return ku("",e,""),od}function ku(e,t,n){const r=ne(),o=function Gi(e,t,n,r){return xn(e,qo(),n)?t+ke(n)+r:nt}(r,e,t,n);return o!==nt&&function mo(e,t,n){const r=Ei(t,e);!function Hf(e,t,n){e.setValue(t,n)}(e[We],r,n)}(r,cn(),o),ku}const ri=void 0;var d0=["en",[["a","p"],["AM","PM"],ri],[["AM","PM"],ri,ri],[["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"]],ri,[["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"]],ri,[["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}",ri,"{1} 'at' {0}",ri],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function l0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let es={};function f0(e,t,n){"string"!=typeof t&&(n=t,t=e[ts.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),es[t]=e,n&&(es[t][ts.ExtraData]=n)}function id(e){const t=function h0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Vg(t);if(n)return n;const r=t.split("-")[0];if(n=Vg(r),n)return n;if("en"===r)return d0;throw new he(701,!1)}function $g(e){return id(e)[ts.PluralCase]}function Vg(e){return e in es||(es[e]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[e]),es[e]}var ts=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}(ts||{});const ns="en-US";let zg=ns;function ud(e,t,n,r,o){if(e=ve(e),Array.isArray(e))for(let i=0;i>20;if(ei(e)||!e.multi){const N=new Fs(v,o,$i),W=ld(f,t,o?E:E+R,_);-1===W?(bc(Ua(c,s),i,f),cd(i,e,t.length),t.push(f),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(N),s.push(N)):(n[W]=N,s[W]=N)}else{const N=ld(f,t,E+R,_),W=ld(f,t,E,E+R),Ie=W>=0&&n[W];if(o&&!Ie||!o&&!(N>=0&&n[N])){bc(Ua(c,s),i,f);const Fe=function d_(e,t,n,r,o){const i=new Fs(e,n,$i);return i.multi=[],i.index=t,i.componentProviders=0,gm(i,o,r&&!n),i}(o?l_:c_,n.length,o,r,v);!o&&Ie&&(n[W].providerFactory=Fe),cd(i,e,t.length,0),t.push(f),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(Fe),s.push(Fe)}else cd(i,e,N>-1?N:W,gm(n[o?W:N],v,!o&&r));!o&&r&&Ie&&n[W].componentProviders++}}}function cd(e,t,n,r){const o=ei(t),i=function KD(e){return!!e.useClass}(t);if(o||i){const f=(i?ve(t.useClass):t).prototype.ngOnDestroy;if(f){const v=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const E=v.indexOf(n);-1===E?v.push(n,[r,f]):v[E+1].push(r,f)}else v.push(n,f)}}}function gm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ld(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function u_(e,t,n){const r=gt();if(r.firstCreatePass){const o=kn(e);ud(n,r.data,r.blueprint,o,!0),ud(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class oi{}class vm{}function f_(e,t){return new fd(e,t??null,[])}class fd extends oi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dp(this);const o=Vt(t);this._bootstrapComponents=go(o.bootstrap),this._r3Injector=Oh(t,n,[{provide:oi,useValue:this},{provide:yu,useValue:this.componentFactoryResolver},...r],Ze(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 hd extends vm{constructor(t){super(),this.moduleType=t}create(t){return new fd(this.moduleType,t,[])}}class ym extends oi{constructor(t){super(),this.componentFactoryResolver=new Dp(this),this.instance=null;const n=new fu([...t.providers,{provide:oi,useValue:this},{provide:yu,useValue:this.componentFactoryResolver}],t.parent||du(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Dm(e,t,n=null){return new ym({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let p_=(()=>{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=hh(0,n.type),o=r.length>0?Dm([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=Ae({token:e,providedIn:"environment",factory:()=>new e(A(Zr))})}return e})();function Em(e){e.getStandaloneInjector=t=>t.get(p_).getOrCreateStandaloneInjector(e)}function Sm(e,t,n){const r=En()+e,o=ne();return o[r]===nt?Jr(o,r,n?t.call(n):t()):function oa(e,t){return e[t]}(o,r)}function Tm(e,t,n,r){return Am(ne(),En(),e,t,n,r)}function pa(e,t){const n=e[t];return n===nt?void 0:n}function Am(e,t,n,r,o,i){const s=t+n;return xn(e,s,o)?Jr(e,s+1,i?r.call(i,o):r(o)):pa(e,s+1)}function Rm(e,t,n,r,o,i,s){const c=t+n;return function ti(e,t,n,r){const o=xn(e,t,n);return xn(e,t+1,r)||o}(e,c,o,i)?Jr(e,c+2,s?r.call(s,o,i):r(o,i)):pa(e,c+2)}function xm(e,t){const n=gt();let r;const o=e+at;n.firstCreatePass?(r=function O_(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Vr(r.type)),c=Xe($i);try{const f=Ha(!1),v=i();return Ha(f),function lw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ne(),o,v),v}finally{Xe(c)}}function Fm(e,t,n){const r=e+at,o=ne(),i=Rr(o,r);return ga(o,r)?Am(o,En(),t,i.transform,n,i):i.transform(n)}function Lm(e,t,n,r){const o=e+at,i=ne(),s=Rr(i,o);return ga(i,o)?Rm(i,En(),t,s.transform,n,r,s):s.transform(n,r)}function ga(e,t){return e[be].data[t].pure}function F_(){return this._results[Symbol.iterator]()}class gd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Kr)}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=gd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=F_)}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=function gr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[o-1][Mn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=U_}return e})();const j_=ma,H_=class extends j_{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 L_(e,t,n,r){const o=t.tView,c=Cu(e,o,n,4096&e[Ge]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);c[er]=e[t.index];const v=e[Ln];return null!==v&&(c[Ln]=v.createEmbeddedView(o)),jl(o,c,n),c}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new na(o)}};function U_(){return $u(fn(),ne())}function $u(e,t){return 4&e.type?new H_(t,e,Hi(e,t)):null}let zu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=W_}return e})();function W_(){return Vm(fn(),ne())}const Y_=zu,Bm=class extends Y_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hi(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ba(this._hostTNode,this._hostLView);if(_c(t)){const n=ks(t,this._hostLView),r=Ls(t);return new jn(n[be].data[r+8],n)}return new jn(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-an}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const c=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(c,o,false),c}createComponent(t,n,r,o,i){const s=t&&!function Hs(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const ie=n||{};c=ie.index,r=ie.injector,o=ie.projectableNodes,i=ie.environmentInjector||ie.ngModuleRef}const f=s?t:new ra(it(t)),v=r||this.parentInjector;if(!i&&null==f.ngModule){const Ie=(s?v:this.parentInjector).get(Zr,null);Ie&&(i=Ie)}it(f.componentType??{});const N=f.create(v,o,null,i);return this.insertImpl(N.hostView,c,false),N}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function zd(e){return vn(e[Ot])}(o)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const v=o[Ot],E=new Bm(v,v[tn],v[Ot]);E.detach(E.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;return k_(c,o,s,!r),t.attachToViewContainerRef(),gf(md(c),s,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=nu(this._lContainer,n);r&&(Va(md(this._lContainer),n),Bc(r[be],r))}detach(t){const n=this._adjustIndex(t,-1),r=nu(this._lContainer,n);return r&&null!=Va(md(this._lContainer),n)?new na(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $m(e){return e[8]}function md(e){return e[8]||(e[8]=[])}function Vm(e,t){let n;const r=t[e.index];return vn(r)?n=r:(n=ap(r,t,null,e),t[e.index]=n,wu(t,n)),zm(n,t,e,r),new Bm(n,e,t)}let zm=function Gm(e,t,n,r){if(e[Bn])return;let o;o=8&n.type?Pt(r):function Z_(e,t){const n=e[We],r=n.createComment(""),o=xt(t,e);return Qo(n,ru(n,o),r,function mD(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Bn]=o};class vd{constructor(t){this.queryList=t,this.matches=null}clone(){return new vd(this.queryList)}setDirty(){this.queryList.setDirty()}}class yd{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[c/2]);else{const v=i[c+1],E=t[-f];for(let _=an;_{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ee(mv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(ql(i))n.push(i);else if(Wp(i)){const s=new Promise((c,f)=>{i.subscribe({complete:c,error:f})});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=Ae({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vv=(()=>{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=Ae({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Wu=new Mt("LocaleId",{providedIn:"root",factory:()=>ee(Wu,et.Optional|et.SkipSelf)||function MI(){return typeof $localize<"u"&&$localize.locale||ns}()}),bI=new Mt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let yv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe.X(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ae({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class TI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let AI=(()=>{class e{compileModuleSync(n){return new hd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=go(Vt(n).declarations).reduce((s,c)=>{const f=it(c);return f&&s.push(new ra(f)),s},[]);return new TI(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=Ae({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wv=new Mt(""),_v=new Mt("");let Rd,KI=(()=>{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,Rd||(function qI(e){Rd=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:()=>{Cn.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)(A(Cn),A(Iv),A(_v))};static#t=this.\u0275prov=Ae({token:e,factory:e.\u0275fac})}return e})(),Iv=(()=>{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 Rd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ae({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ko=null;const Mv=new Mt("AllowMultipleToken"),Od=new Mt("PlatformDestroyListeners"),Nd=new Mt("appBootstrapListener");class QI{constructor(t,n){this.name=t,this.token=n}}function Tv(e,t,n=[]){const r=`Platform: ${t}`,o=new Mt(r);return(i=[])=>{let s=Pd();if(!s||s.injector.get(Mv,!1)){const c=[...n,...i,{provide:o,useValue:!0}];e?e(c):function eM(e){if(ko&&!ko.get(Mv,!1))throw new he(400,!1);(function bv(){!function g(e){l=e}(()=>{throw new he(600,!1)})})(),ko=e;const t=e.get(Rv);(function Sv(e){e.get(Dh,null)?.forEach(n=>n())})(e)}(function Av(e=[],t){return Fr.create({name:t,providers:[{provide:il,useValue:"platform"},{provide:Od,useValue:new Set([()=>ko=null])},...e]})}(c,r))}return function nM(e){const t=Pd();if(!t)throw new he(401,!1);return t}()}}function Pd(){return ko?.get(Rv)??null}let Rv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function rM(e="zone.js",t){return"noop"===e?new PE:"zone.js"===e?new Cn(t):e}(r?.ngZone,function Ov(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function h_(e,t,n){return new fd(e,t,n)}(n.moduleType,this.injector,function Lv(e){return[{provide:Cn,useFactory:e},{provide:Ks,multi:!0,useFactory:()=>{const t=ee(iM,{optional:!0});return()=>t.initialize()}},{provide:Fv,useFactory:oM},{provide:Lh,useFactory:kh}]}(()=>o)),s=i.injector.get(Fo,null);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:f=>{s.handleError(f)}});i.onDestroy(()=>{Zu(this._modules,i),c.unsubscribe()})}),function Nv(e,t,n){try{const r=n();return ql(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const c=i.injector.get(Sd);return c.runInitializers(),c.donePromise.then(()=>(function Gg(e){yt(e,"Expected localeId to be defined"),"string"==typeof e&&(zg=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Wu,ns)||ns),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Pv({},r);return function JI(e,t,n){const r=new hd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(is);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(Od,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)(A(Fr))};static#t=this.\u0275prov=Ae({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Pv(e,t){return Array.isArray(t)?t.reduce(Pv,e):{...e,...t}}let is=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ee(Fv),this.zoneIsStable=ee(Lh),this.componentTypes=[],this.components=[],this.isStable=ee(yv).hasPendingTasks.pipe((0,ct.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,Je.x)(),ye()),this._injector=ee(Zr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof _h;if(!this._injector.get(Sd).done)throw!o&&dr(n),new he(405,!1);let s;s=o?n:this._injector.get(yu).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function XI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(oi),v=s.create(Fr.NULL,[],r||s.selector,c),E=v.location.nativeElement,_=v.injector.get(wv,null);return _?.registerApplication(E),v.onDestroy(()=>{this.detachView(v.hostView),Zu(this.components,v),_?.unregisterApplication(E)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new he(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;Zu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Nd,[]);r.push(...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),()=>Zu(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(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ae({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Fv=new Mt("",{providedIn:"root",factory:()=>ee(Fo).handleError.bind(void 0)});function oM(){const e=ee(Cn),t=ee(Fo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let iM=(()=>{class e{constructor(){this.zone=ee(Cn),this.applicationRef=ee(is)}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=Ae({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let aM=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uM}return e})();function uM(e){return function cM(e,t,n){if(fr(e)&&!n){const r=Nn(e.index,t);return new na(r,r)}return 47&e.type?new na(t[Gt],t):null}(fn(),ne(),16==(16&e))}class Uv{constructor(){}supports(t){return bu(t)}create(t){return new gM(t)}}const pM=(e,t)=>t;class gM{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||pM}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<$v(r,o,i)?n:r,c=$v(s,o,i),f=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const v=c-o,E=f-o;if(v!=E){for(let R=0;R{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,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 mM(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 Bv),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 Bv),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 mM{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 vM{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 Bv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new vM,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 $v(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 DM(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 DM{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 zv(){return new jd([new Uv])}let jd=(()=>{class e{static#e=this.\u0275prov=Ae({token:e,providedIn:"root",factory:zv});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||zv()),deps:[[e,new Wa,new Ga]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new he(901,!1)}}return e})();function Gv(){return new Hd([new Vv])}let Hd=(()=>{class e{static#e=this.\u0275prov=Ae({token:e,providedIn:"root",factory:Gv});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||Gv()),deps:[[e,new Wa,new Ga]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new he(901,!1)}}return e})();const wM=Tv(null,"core",[]);let _M=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(A(is))};static#t=this.\u0275mod=oo({type:e});static#n=this.\u0275inj=Sn({})}return e})();function xM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function LM(e){const t=it(e);if(!t)return null;const n=new ra(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}}}},6593:(He,te,w)=>{w.d(te,{Dx:()=>ar,b2:()=>Ce,q6:()=>ge});var p=w(6689),b=w(6814);class J extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends J{static makeCurrent(){(0,b.HT)(new z)}onAndCancel(L,S,O){return L.addEventListener(S,O),()=>{L.removeEventListener(S,O)}}dispatchEvent(L,S){L.dispatchEvent(S)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,S){return(S=S||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,S){return"window"===S?window:"document"===S?L:"body"===S?L.body:null}getBaseHref(L){const S=function B(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==S?null:function le(Y){re=re||document.createElement("a"),re.setAttribute("href",Y);const L=re.pathname;return"/"===L.charAt(0)?L:`/${L}`}(S)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,b.Mx)(document.cookie,L)}}let re,F=null,oe=(()=>{class Y{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(O){return new(O||Y)};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const V=new p.OlP("EventManagerPlugins");let se=(()=>{class Y{constructor(S,O){this._zone=O,this._eventNameToPlugin=new Map,S.forEach(K=>{K.manager=this}),this._plugins=S.slice().reverse()}addEventListener(S,O,K){return this._findPluginFor(O).addEventListener(S,O,K)}getZone(){return this._zone}_findPluginFor(S){let O=this._eventNameToPlugin.get(S);if(O)return O;if(O=this._plugins.find(Me=>Me.supports(S)),!O)throw new p.vHH(5101,!1);return this._eventNameToPlugin.set(S,O),O}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(V),p.LFG(p.R0b))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();class Se{constructor(L){this._doc=L}}const ye="ng-app-id";let Re=(()=>{class Y{constructor(S,O,K,Me={}){this.doc=S,this.appId=O,this.nonce=K,this.platformId=Me,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,b.PM)(Me),this.resetHostNodes()}addStyles(S){for(const O of S)1===this.changeUsageCount(O,1)&&this.onStyleAdded(O)}removeStyles(S){for(const O of S)this.changeUsageCount(O,-1)<=0&&this.onStyleRemoved(O)}ngOnDestroy(){const S=this.styleNodesInDOM;S&&(S.forEach(O=>O.remove()),S.clear());for(const O of this.getAllStyles())this.onStyleRemoved(O);this.resetHostNodes()}addHost(S){this.hostNodes.add(S);for(const O of this.getAllStyles())this.addStyleToHost(S,O)}removeHost(S){this.hostNodes.delete(S)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(S){for(const O of this.hostNodes)this.addStyleToHost(O,S)}onStyleRemoved(S){const O=this.styleRef;O.get(S)?.elements?.forEach(K=>K.remove()),O.delete(S)}collectServerRenderedStyles(){const S=this.doc.head?.querySelectorAll(`style[${ye}="${this.appId}"]`);if(S?.length){const O=new Map;return S.forEach(K=>{null!=K.textContent&&O.set(K.textContent,K)}),O}return null}changeUsageCount(S,O){const K=this.styleRef;if(K.has(S)){const Me=K.get(S);return Me.usage+=O,Me.usage}return K.set(S,{usage:O,elements:[]}),O}getStyleElement(S,O){const K=this.styleNodesInDOM,Me=K?.get(O);if(Me?.parentNode===S)return K.delete(O),Me.removeAttribute(ye),Me;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=O,this.platformIsServer&&Be.setAttribute(ye,this.appId),Be}}addStyleToHost(S,O){const K=this.getStyleElement(S,O);S.appendChild(K);const Me=this.styleRef,Be=Me.get(O)?.elements;Be?Be.push(K):Me.set(O,{elements:[K],usage:1})}resetHostNodes(){const S=this.hostNodes;S.clear(),S.add(this.doc.head)}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(b.K0),p.LFG(p.AFp),p.LFG(p.Ojb,8),p.LFG(p.Lbi))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const ct={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/"},Je=/%COMP%/g,me=new p.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Ee(Y,L){return L.map(S=>S.replace(Je,Y))}let fe=(()=>{class Y{constructor(S,O,K,Me,Be,mt,vt,Bt=null){this.eventManager=S,this.sharedStylesHost=O,this.appId=K,this.removeStylesOnCompDestroy=Me,this.doc=Be,this.platformId=mt,this.ngZone=vt,this.nonce=Bt,this.rendererByCompId=new Map,this.platformIsServer=(0,b.PM)(mt),this.defaultRenderer=new Ue(S,Be,vt,this.platformIsServer)}createRenderer(S,O){if(!S||!O)return this.defaultRenderer;this.platformIsServer&&O.encapsulation===p.ifc.ShadowDom&&(O={...O,encapsulation:p.ifc.Emulated});const K=this.getOrCreateRenderer(S,O);return K instanceof Lt?K.applyToHost(S):K instanceof Ve&&K.applyStyles(),K}getOrCreateRenderer(S,O){const K=this.rendererByCompId;let Me=K.get(O.id);if(!Me){const Be=this.doc,mt=this.ngZone,vt=this.eventManager,Bt=this.sharedStylesHost,nn=this.removeStylesOnCompDestroy,Tn=this.platformIsServer;switch(O.encapsulation){case p.ifc.Emulated:Me=new Lt(vt,Bt,O,this.appId,nn,Be,mt,Tn);break;case p.ifc.ShadowDom:return new ke(vt,Bt,S,O,Be,mt,this.nonce,Tn);default:Me=new Ve(vt,Bt,O,nn,Be,mt,Tn)}K.set(O.id,Me)}return Me}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(se),p.LFG(Re),p.LFG(p.AFp),p.LFG(me),p.LFG(b.K0),p.LFG(p.Lbi),p.LFG(p.R0b),p.LFG(p.Ojb))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();class Ue{constructor(L,S,O,K){this.eventManager=L,this.doc=S,this.ngZone=O,this.platformIsServer=K,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,S){return S?this.doc.createElementNS(ct[S]||S,L):this.doc.createElement(L)}createComment(L){return this.doc.createComment(L)}createText(L){return this.doc.createTextNode(L)}appendChild(L,S){(Ft(L)?L.content:L).appendChild(S)}insertBefore(L,S,O){L&&(Ft(L)?L.content:L).insertBefore(S,O)}removeChild(L,S){L&&L.removeChild(S)}selectRootElement(L,S){let O="string"==typeof L?this.doc.querySelector(L):L;if(!O)throw new p.vHH(-5104,!1);return S||(O.textContent=""),O}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,S,O,K){if(K){S=K+":"+S;const Me=ct[K];Me?L.setAttributeNS(Me,S,O):L.setAttribute(S,O)}else L.setAttribute(S,O)}removeAttribute(L,S,O){if(O){const K=ct[O];K?L.removeAttributeNS(K,S):L.removeAttribute(`${O}:${S}`)}else L.removeAttribute(S)}addClass(L,S){L.classList.add(S)}removeClass(L,S){L.classList.remove(S)}setStyle(L,S,O,K){K&(p.JOm.DashCase|p.JOm.Important)?L.style.setProperty(S,O,K&p.JOm.Important?"important":""):L.style[S]=O}removeStyle(L,S,O){O&p.JOm.DashCase?L.style.removeProperty(S):L.style[S]=""}setProperty(L,S,O){L[S]=O}setValue(L,S){L.nodeValue=S}listen(L,S,O){if("string"==typeof L&&!(L=(0,b.q)().getGlobalEventTarget(this.doc,L)))throw new Error(`Unsupported event target ${L} for event ${S}`);return this.eventManager.addEventListener(L,S,this.decoratePreventDefault(O))}decoratePreventDefault(L){return S=>{if("__ngUnwrap__"===S)return L;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>L(S)):L(S))&&S.preventDefault()}}}function Ft(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class ke extends Ue{constructor(L,S,O,K,Me,Be,mt,vt){super(L,Me,Be,vt),this.sharedStylesHost=S,this.hostEl=O,this.shadowRoot=O.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Bt=Ee(K.id,K.styles);for(const nn of Bt){const Tn=document.createElement("style");mt&&Tn.setAttribute("nonce",mt),Tn.textContent=nn,this.shadowRoot.appendChild(Tn)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}appendChild(L,S){return super.appendChild(this.nodeOrShadowRoot(L),S)}insertBefore(L,S,O){return super.insertBefore(this.nodeOrShadowRoot(L),S,O)}removeChild(L,S){return super.removeChild(this.nodeOrShadowRoot(L),S)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ve extends Ue{constructor(L,S,O,K,Me,Be,mt,vt){super(L,Me,Be,mt),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=K,this.styles=vt?Ee(vt,O.styles):O.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Lt extends Ve{constructor(L,S,O,K,Me,Be,mt,vt){const Bt=K+"-"+O.id;super(L,S,O,Me,Be,mt,vt,Bt),this.contentAttr=function xe(Y){return"_ngcontent-%COMP%".replace(Je,Y)}(Bt),this.hostAttr=function ve(Y){return"_nghost-%COMP%".replace(Je,Y)}(Bt)}applyToHost(L){this.applyStyles(),this.setAttribute(L,this.hostAttr,"")}createElement(L,S){const O=super.createElement(L,S);return super.setAttribute(O,this.contentAttr,""),O}}let lt=(()=>{class Y extends Se{constructor(S){super(S)}supports(S){return!0}addEventListener(S,O,K){return S.addEventListener(O,K,!1),()=>this.removeEventListener(S,O,K)}removeEventListener(S,O,K){return S.removeEventListener(O,K)}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(b.K0))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const Zt=["alt","control","meta","shift"],H={"\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"},j={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let G=(()=>{class Y extends Se{constructor(S){super(S)}supports(S){return null!=Y.parseEventName(S)}addEventListener(S,O,K){const Me=Y.parseEventName(O),Be=Y.eventCallback(Me.fullKey,K,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(S,Me.domEventName,Be))}static parseEventName(S){const O=S.toLowerCase().split("."),K=O.shift();if(0===O.length||"keydown"!==K&&"keyup"!==K)return null;const Me=Y._normalizeKey(O.pop());let Be="",mt=O.indexOf("code");if(mt>-1&&(O.splice(mt,1),Be="code."),Zt.forEach(Bt=>{const nn=O.indexOf(Bt);nn>-1&&(O.splice(nn,1),Be+=Bt+".")}),Be+=Me,0!=O.length||0===Me.length)return null;const vt={};return vt.domEventName=K,vt.fullKey=Be,vt}static matchEventFullKeyCode(S,O){let K=H[S.key]||S.key,Me="";return O.indexOf("code.")>-1&&(K=S.code,Me="code."),!(null==K||!K)&&(K=K.toLowerCase()," "===K?K="space":"."===K&&(K="dot"),Zt.forEach(Be=>{Be!==K&&(0,j[Be])(S)&&(Me+=Be+".")}),Me+=K,Me===O)}static eventCallback(S,O,K){return Me=>{Y.matchEventFullKeyCode(Me,S)&&K.runGuarded(()=>O(Me))}}static _normalizeKey(S){return"esc"===S?"escape":S}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(b.K0))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:Y.\u0275fac})}return Y})();const ge=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:b.bD},{provide:p.g9A,useValue:function rt(){z.makeCurrent()},multi:!0},{provide:b.K0,useFactory:function Z(){return(0,p.RDi)(document),document},deps:[]}]),Le=new p.OlP(""),dt=[{provide:p.rWj,useClass:class de{addToWindow(L){p.dqk.getAngularTestability=(O,K=!0)=>{const Me=L.findTestabilityInTree(O,K);if(null==Me)throw new p.vHH(5103,!1);return Me},p.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(O=>{const K=p.dqk.getAllAngularTestabilities();let Me=K.length,Be=!1;const mt=function(vt){Be=Be||vt,Me--,0==Me&&O(Be)};K.forEach(vt=>{vt.whenStable(mt)})})}findTestabilityInTree(L,S,O){return null==S?null:L.getTestability(S)??(O?(0,b.q)().isShadowRoot(S)?this.findTestabilityInTree(L,S.host,!0):this.findTestabilityInTree(L,S.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]}],yt=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function pe(){return new p.qLn},deps:[]},{provide:V,useClass:lt,multi:!0,deps:[b.K0,p.R0b,p.Lbi]},{provide:V,useClass:G,multi:!0,deps:[b.K0]},fe,Re,se,{provide:p.FYo,useExisting:fe},{provide:b.JF,useClass:oe,deps:[]},[]];let Ce=(()=>{class Y{constructor(S){}static withServerTransition(S){return{ngModule:Y,providers:[{provide:p.AFp,useValue:S.appId}]}}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(Le,12))};static#t=this.\u0275mod=p.oAB({type:Y});static#n=this.\u0275inj=p.cJS({providers:[...yt,...dt],imports:[b.ez,p.hGG]})}return Y})(),ar=(()=>{class Y{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}static#e=this.\u0275fac=function(O){return new(O||Y)(p.LFG(b.K0))};static#t=this.\u0275prov=p.Yz7({token:Y,factory:function(O){let K=null;return K=O?new O:function Ae(){return new ar((0,p.LFG)(b.K0))}(),K},providedIn:"root"})}return Y})();typeof window<"u"&&window},2413:(He,te,w)=>{w.d(te,{gz:()=>Hr,F0:()=>xt,rH:()=>Rr,Od:()=>Nn,Bz:()=>pr,lC:()=>Ht});var p=w(6689),b=w(5592),J=w(4674),F=w(7715),B=w(2096),re=w(5619),le=w(7453),de=w(2737),oe=w(7400),V=w(4564),se=w(2714),Se=w(8251),ye=w(7103);function Re(...u){const d=(0,V.yG)(u),a=(0,V.jO)(u),{args:h,keys:m}=(0,le.D)(u);if(0===h.length)return(0,F.D)([],d);const C=new b.y(function ct(u,d,a=de.y){return h=>{Je(d,()=>{const{length:m}=u,C=new Array(m);let I=m,k=m;for(let x=0;x{const _e=(0,F.D)(u[x],d);let qe=!1;_e.subscribe((0,Se.x)(h,It=>{C[x]=It,qe||(qe=!0,k--),k||h.next(a(C.slice()))},()=>{--I||h.complete()}))},h)},h)}}(h,d,m?I=>(0,se.n)(m,I):de.y));return a?C.pipe((0,oe.Z)(a)):C}function Je(u,d,a){u?(0,ye.f)(a,u,d):d()}const ht=(0,w(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var Ze=w(7537);function me(...u){return function De(){return(0,Ze.J)(1)}()((0,F.D)(u,(0,V.yG)(u)))}var xe=w(4829);function ve(u){return new b.y(d=>{(0,xe.Xf)(u()).subscribe(d)})}var Ee=w(8407);function fe(u,d){const a=(0,J.m)(u)?u:()=>u,h=m=>m.error(a());return new b.y(d?m=>d.schedule(h,0,m):h)}var Ue=w(6232),je=w(7394),he=w(9360);function Ft(){return(0,he.e)((u,d)=>{let a=null;u._refCount++;const h=(0,Se.x)(d,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(a=null);const m=u._connection,C=a;a=null,m&&(!C||m===C)&&m.unsubscribe(),d.unsubscribe()});u.subscribe(h),h.closed||(a=u.connect())})}class ke extends b.y{constructor(d,a){super(),this.source=d,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,he.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new je.w0;const a=this.getSubject();d.add(this.source.subscribe((0,Se.x)(a,void 0,()=>{this._teardown(),a.complete()},h=>{this._teardown(),a.error(h)},()=>this._teardown()))),d.closed&&(this._connection=null,d=je.w0.EMPTY)}return d}refCount(){return Ft()(this)}}var Ve=w(8645),Lt=w(6814),lt=w(7398),Zt=w(4664);function H(u){return u<=0?()=>Ue.E:(0,he.e)((d,a)=>{let h=0;d.subscribe((0,Se.x)(a,m=>{++h<=u&&(a.next(m),u<=h&&a.complete())}))})}var G=w(2181),$=w(1631);function ce(u){return(0,he.e)((d,a)=>{let h=!1;d.subscribe((0,Se.x)(a,m=>{h=!0,a.next(m)},()=>{h||a.next(u),a.complete()}))})}function ue(u=$e){return(0,he.e)((d,a)=>{let h=!1;d.subscribe((0,Se.x)(a,m=>{h=!0,a.next(m)},()=>h?a.complete():a.error(u())))})}function $e(){return new ht}function rt(u,d){const a=arguments.length>=2;return h=>h.pipe(u?(0,G.h)((m,C)=>u(m,C,h)):de.y,H(1),a?ce(d):ue(()=>new ht))}var pe=w(6328),Z=w(9397),ae=w(6306);function dt(u){return u<=0?()=>Ue.E:(0,he.e)((d,a)=>{let h=[];d.subscribe((0,Se.x)(a,m=>{h.push(m),u{for(const m of h)a.next(m);a.complete()},void 0,()=>{h=null}))})}var ln=w(4716),dn=w(9773),eo=w(6593);const Ae="primary",ar=Symbol("RouteTitle");class Sn{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a[0]:a}return null}getAll(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function zt(u){return new Sn(u)}function wn(u,d,a){const h=a.path.split("/");if(h.length>u.length||"full"===a.pathMatch&&(d.hasChildren()||h.lengthh[C]===m)}return u===d}function Fn(u){return u.length>0?u[u.length-1]:null}function Ut(u){return function z(u){return!!u&&(u instanceof b.y||(0,J.m)(u.lift)&&(0,J.m)(u.subscribe))}(u)?u:(0,p.QGY)(u)?(0,F.D)(Promise.resolve(u)):(0,B.of)(u)}const Yn={exact:function jr(u,d,a){if(!_n(u.segments,d.segments)||!St(u.segments,d.segments,a)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const h in d.children)if(!u.children[h]||!jr(u.children[h],d.children[h],a))return!1;return!0},subset:vr},Kt={exact:function bt(u,d){return ze(u,d)},subset:function Xe(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(a=>Wn(u[a],d[a]))},ignored:()=>!0};function et(u,d,a){return Yn[a.paths](u.root,d.root,a.matrixParams)&&Kt[a.queryParams](u.queryParams,d.queryParams)&&!("exact"===a.fragment&&u.fragment!==d.fragment)}function vr(u,d,a){return yr(u,d,d.segments,a)}function yr(u,d,a,h){if(u.segments.length>a.length){const m=u.segments.slice(0,a.length);return!(!_n(m,a)||d.hasChildren()||!St(m,a,h))}if(u.segments.length===a.length){if(!_n(u.segments,a)||!St(u.segments,a,h))return!1;for(const m in d.children)if(!u.children[m]||!vr(u.children[m],d.children[m],h))return!1;return!0}{const m=a.slice(0,u.segments.length),C=a.slice(u.segments.length);return!!(_n(u.segments,m)&&St(u.segments,m,h)&&u.children[Ae])&&yr(u.children[Ae],d,C,h)}}function St(u,d,a){return d.every((h,m)=>Kt[a](u[m].parameters,h.parameters))}class Un{constructor(d=new ot([],{}),a={},h=null){this.root=d,this.queryParams=a,this.fragment=h}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return si.serialize(this)}}class ot{constructor(d,a){this.segments=d,this.children=a,this.parent=null,Object.values(a).forEach(h=>h.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return to(this)}}class Wt{constructor(d,a){this.path=d,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=zt(this.parameters)),this._parameterMap}toString(){return mt(this)}}function _n(u,d){return u.length===d.length&&u.every((a,h)=>a.path===d[h].path)}let cr=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:function(){return new lr},providedIn:"root"})}return u})();class lr{parse(d){const a=new we(d);return new Un(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(d){const a=`/${Y(d.root,!0)}`,h=function Bt(u){const d=Object.keys(u).map(a=>{const h=u[a];return Array.isArray(h)?h.map(m=>`${S(a)}=${S(m)}`).join("&"):`${S(a)}=${S(h)}`}).filter(a=>!!a);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${a}${h}${"string"==typeof d.fragment?`#${function O(u){return encodeURI(u)}(d.fragment)}`:""}`}}const si=new lr;function to(u){return u.segments.map(d=>mt(d)).join("/")}function Y(u,d){if(!u.hasChildren())return to(u);if(d){const a=u.children[Ae]?Y(u.children[Ae],!1):"",h=[];return Object.entries(u.children).forEach(([m,C])=>{m!==Ae&&h.push(`${m}:${Y(C,!1)}`)}),h.length>0?`${a}(${h.join("//")})`:a}{const a=function Zn(u,d){let a=[];return Object.entries(u.children).forEach(([h,m])=>{h===Ae&&(a=a.concat(d(m,h)))}),Object.entries(u.children).forEach(([h,m])=>{h!==Ae&&(a=a.concat(d(m,h)))}),a}(u,(h,m)=>m===Ae?[Y(u.children[Ae],!1)]:[`${m}:${Y(h,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Ae]?`${to(u)}/${a[0]}`:`${to(u)}/(${a.join("//")})`}}function L(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function S(u){return L(u).replace(/%3B/gi,";")}function K(u){return L(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(u){return decodeURIComponent(u)}function Be(u){return Me(u.replace(/\+/g,"%20"))}function mt(u){return`${K(u.path)}${function vt(u){return Object.keys(u).map(d=>`;${K(d)}=${K(u[d])}`).join("")}(u.parameters)}`}const nn=/^[^\/()?;#]+/;function Tn(u){const d=u.match(nn);return d?d[0]:""}const P=/^[^\/()?;=#]+/,A=/^[^=?&#]+/,ee=/^[^&#]+/;class we{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let h={};return this.peekStartsWith("(")&&(h=this.parseParens(!1)),(d.length>0||Object.keys(a).length>0)&&(h[Ae]=new ot(d,a)),h}parseSegment(){const d=Tn(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new p.vHH(4009,!1);return this.capture(d),new Wt(Me(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const a=function T(u){const d=u.match(P);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let h="";if(this.consumeOptional("=")){const m=Tn(this.remaining);m&&(h=m,this.capture(h))}d[Me(a)]=Me(h)}parseQueryParam(d){const a=function X(u){const d=u.match(A);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let h="";if(this.consumeOptional("=")){const I=function Te(u){const d=u.match(ee);return d?d[0]:""}(this.remaining);I&&(h=I,this.capture(h))}const m=Be(a),C=Be(h);if(d.hasOwnProperty(m)){let I=d[m];Array.isArray(I)||(I=[I],d[m]=I),I.push(C)}else d[m]=C}parseParens(d){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const h=Tn(this.remaining),m=this.remaining[h.length];if("/"!==m&&")"!==m&&";"!==m)throw new p.vHH(4010,!1);let C;h.indexOf(":")>-1?(C=h.slice(0,h.indexOf(":")),this.capture(C),this.capture(":")):d&&(C=Ae);const I=this.parseChildren();a[C]=1===Object.keys(I).length?I[Ae]:new ot([],I),this.consumeOptional("//")}return a}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new p.vHH(4011,!1)}}function Dt(u){return u.segments.length>0?new ot([],{[Ae]:u}):u}function Ke(u){const d={};for(const h of Object.keys(u.children)){const C=Ke(u.children[h]);if(h===Ae&&0===C.segments.length&&C.hasChildren())for(const[I,k]of Object.entries(C.children))d[I]=k;else(C.segments.length>0||C.hasChildren())&&(d[h]=C)}return function rn(u){if(1===u.numberOfChildren&&u.children[Ae]){const d=u.children[Ae];return new ot(u.segments.concat(d.segments),d.children)}return u}(new ot(u.segments,d))}function hn(u){return u instanceof Un}function qt(u){let d;const m=Dt(function a(C){const I={};for(const x of C.children){const _e=a(x);I[x.outlet]=_e}const k=new ot(C.url,I);return C===u&&(d=k),k}(u.root));return d??m}function In(u,d,a,h){let m=u;for(;m.parent;)m=m.parent;if(0===d.length)return Et(m,m,m,a,h);const C=function Jt(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Kn(!0,0,u);let d=0,a=!1;const h=u.reduce((m,C,I)=>{if("object"==typeof C&&null!=C){if(C.outlets){const k={};return Object.entries(C.outlets).forEach(([x,_e])=>{k[x]="string"==typeof _e?_e.split("/"):_e}),[...m,{outlets:k}]}if(C.segmentPath)return[...m,C.segmentPath]}return"string"!=typeof C?[...m,C]:0===I?(C.split("/").forEach((k,x)=>{0==x&&"."===k||(0==x&&""===k?a=!0:".."===k?d++:""!=k&&m.push(k))}),m):[...m,C]},[]);return new Kn(a,d,h)}(d);if(C.toRoot())return Et(m,m,new ot([],{}),a,h);const I=function qn(u,d,a){if(u.isAbsolute)return new Xt(d,!0,0);if(!a)return new Xt(d,!1,NaN);if(null===a.parent)return new Xt(a,!0,0);const h=$t(u.commands[0])?0:1;return function no(u,d,a){let h=u,m=d,C=a;for(;C>m;){if(C-=m,h=h.parent,!h)throw new p.vHH(4005,!1);m=h.segments.length}return new Xt(h,!1,m-C)}(a,a.segments.length-1+h,u.numberOfDoubleDots)}(C,m,u),k=I.processChildren?Dr(I.segmentGroup,I.index,C.commands):ro(I.segmentGroup,I.index,C.commands);return Et(m,I.segmentGroup,k,a,h)}function $t(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Pe(u){return"object"==typeof u&&null!=u&&u.outlets}function Et(u,d,a,h,m){let I,C={};h&&Object.entries(h).forEach(([x,_e])=>{C[x]=Array.isArray(_e)?_e.map(qe=>`${qe}`):`${_e}`}),I=u===d?a:An(u,d,a);const k=Dt(Ke(I));return new Un(k,C,m)}function An(u,d,a){const h={};return Object.entries(u.children).forEach(([m,C])=>{h[m]=C===d?a:An(C,d,a)}),new ot(u.segments,h)}class Kn{constructor(d,a,h){if(this.isAbsolute=d,this.numberOfDoubleDots=a,this.commands=h,d&&h.length>0&&$t(h[0]))throw new p.vHH(4003,!1);const m=h.find(Pe);if(m&&m!==Fn(h))throw new p.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(d,a,h){this.segmentGroup=d,this.processChildren=a,this.index=h}}function ro(u,d,a){if(u||(u=new ot([],{})),0===u.segments.length&&u.hasChildren())return Dr(u,d,a);const h=function Do(u,d,a){let h=0,m=d;const C={match:!1,pathIndex:0,commandIndex:0};for(;m=a.length)return C;const I=u.segments[m],k=a[h];if(Pe(k))break;const x=`${k}`,_e=h0&&void 0===x)break;if(x&&_e&&"object"==typeof _e&&void 0===_e.outlets){if(!as(x,_e,I))return C;h+=2}else{if(!as(x,{},I))return C;h++}m++}return{match:!0,pathIndex:m,commandIndex:h}}(u,d,a),m=a.slice(h.commandIndex);if(h.match&&h.pathIndexC!==Ae)&&u.children[Ae]&&1===u.numberOfChildren&&0===u.children[Ae].segments.length){const C=Dr(u.children[Ae],d,a);return new ot(u.segments,C.children)}return Object.entries(h).forEach(([C,I])=>{"string"==typeof I&&(I=[I]),null!==I&&(m[C]=ro(u.children[C],d,I))}),Object.entries(u.children).forEach(([C,I])=>{void 0===h[C]&&(m[C]=I)}),new ot(u.segments,m)}}function Jn(u,d,a){const h=u.segments.slice(0,d);let m=0;for(;m{"string"==typeof h&&(h=[h]),null!==h&&(d[a]=Jn(new ot([],{}),0,h))}),d}function jo(u){const d={};return Object.entries(u).forEach(([a,h])=>d[a]=`${h}`),d}function as(u,d,a){return u==a.path&&ze(d,a.parameters)}const Er="imperative";class Xn{constructor(d,a){this.id=d,this.url=a}}class Ho extends Xn{constructor(d,a,h="imperative",m=null){super(d,a),this.type=0,this.navigationTrigger=h,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class on extends Xn{constructor(d,a,h){super(d,a),this.urlAfterRedirects=h,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Eo extends Xn{constructor(d,a,h,m){super(d,a),this.reason=h,this.code=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class sn extends Xn{constructor(d,a,h,m){super(d,a),this.reason=h,this.code=m,this.type=16}}class Co extends Xn{constructor(d,a,h,m){super(d,a),this.error=h,this.target=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ui extends Xn{constructor(d,a,h,m){super(d,a),this.urlAfterRedirects=h,this.state=m,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class us extends Xn{constructor(d,a,h,m){super(d,a),this.urlAfterRedirects=h,this.state=m,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cs extends Xn{constructor(d,a,h,m,C){super(d,a),this.urlAfterRedirects=h,this.state=m,this.shouldActivate=C,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Uo extends Xn{constructor(d,a,h,m){super(d,a),this.urlAfterRedirects=h,this.state=m,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ls extends Xn{constructor(d,a,h,m){super(d,a),this.urlAfterRedirects=h,this.state=m,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ds{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fs{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ci{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hs{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ps{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gs{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oo{constructor(d,a,h){this.routerEvent=d,this.position=a,this.anchor=h,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bo{}class wo{constructor(d){this.url=d}}class li{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new it,this.attachRef=null}}let it=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(a,h){const m=this.getOrCreateContext(a);m.outlet=h,this.contexts.set(a,m)}onChildOutletDestroyed(a){const h=this.getContext(a);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let h=this.getContext(a);return h||(h=new li,this.contexts.set(a,h)),h}getContext(a){return this.contexts.get(a)||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 Qt{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const a=this.pathFromRoot(d);return a.length>1?a[a.length-2]:null}children(d){const a=en(d,this._root);return a?a.children.map(h=>h.value):[]}firstChild(d){const a=en(d,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(d){const a=dr(d,this._root);return a.length<2?[]:a[a.length-2].children.map(m=>m.value).filter(m=>m!==d)}pathFromRoot(d){return dr(d,this._root).map(a=>a.value)}}function en(u,d){if(u===d.value)return d;for(const a of d.children){const h=en(u,a);if(h)return h}return null}function dr(u,d){if(u===d.value)return[d];for(const a of d.children){const h=dr(u,a);if(h.length)return h.unshift(d),h}return[]}class Vt{constructor(d,a){this.value=d,this.children=a}toString(){return`TreeNode(${this.value})`}}function Cr(u){const d={};return u&&u.children.forEach(a=>d[a.value.outlet]=a),d}class io extends Qt{constructor(d,a){super(d),this.snapshot=a,Mn(this,d)}toString(){return this.snapshot.toString()}}function wr(u,d){const a=function Da(u,d){const I=new Ge([],{},{},"",{},Ae,d,null,{});return new Ot("",new Vt(I,[]))}(0,d),h=new re.X([new Wt("",{})]),m=new re.X({}),C=new re.X({}),I=new re.X({}),k=new re.X(""),x=new Hr(h,m,I,k,C,Ae,d,a.root);return x.snapshot=a.root,new io(new Vt(x,[]),a)}class Hr{constructor(d,a,h,m,C,I,k,x){this.urlSubject=d,this.paramsSubject=a,this.queryParamsSubject=h,this.fragmentSubject=m,this.dataSubject=C,this.outlet=I,this.component=k,this._futureSnapshot=x,this.title=this.dataSubject?.pipe((0,lt.U)(_e=>_e[ar]))??(0,B.of)(void 0),this.url=d,this.params=a,this.queryParams=h,this.fragment=m,this.data=C}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,lt.U)(d=>zt(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,lt.U)(d=>zt(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kt(u,d="emptyOnly"){const a=u.pathFromRoot;let h=0;if("always"!==d)for(h=a.length-1;h>=1;){const m=a[h],C=a[h-1];if(m.routeConfig&&""===m.routeConfig.path)h--;else{if(C.component)break;h--}}return function be(u){return u.reduce((d,a)=>({params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(h))}class Ge{get title(){return this.data?.[ar]}constructor(d,a,h,m,C,I,k,x,_e){this.url=d,this.params=a,this.queryParams=h,this.fragment=m,this.data=C,this.outlet=I,this.component=k,this.routeConfig=x,this._resolve=_e}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=zt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(h=>h.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ot extends Qt{constructor(d,a){super(a),this.url=d,Mn(this,a)}toString(){return so(this._root)}}function Mn(u,d){d.value._routerState=u,d.children.forEach(a=>Mn(u,a))}function so(u){const d=u.children.length>0?` { ${u.children.map(so).join(", ")} } `:"";return`${u.value}${d}`}function tn(u){if(u.snapshot){const d=u.snapshot,a=u._futureSnapshot;u.snapshot=a,ze(d.queryParams,a.queryParams)||u.queryParamsSubject.next(a.queryParams),d.fragment!==a.fragment&&u.fragmentSubject.next(a.fragment),ze(d.params,a.params)||u.paramsSubject.next(a.params),function st(u,d){if(u.length!==d.length)return!1;for(let a=0;aze(a.parameters,d[h].parameters))}(u.url,d.url);return a&&!(!u.parent!=!d.parent)&&(!u.parent||_r(u.parent,d.parent))}let Ht=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ae,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)(it),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)(Qn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:h,previousValue:m}=a.name;if(h)return;this.isTrackedInParentContexts(m)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(m)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.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 a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,h){this.activated=a,this._activatedRoute=h,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,h){if(this.isActivated)throw new p.vHH(4013,!1);this._activatedRoute=a;const m=this.location,I=a.snapshot.component,k=this.parentContexts.getOrCreateContext(this.name).children,x=new Ir(a,k,m.injector);this.activated=m.createComponent(I,{index:m.length,injector:x,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 Ir{constructor(d,a,h){this.route=d,this.childContexts=a,this.parent=h}get(d,a){return d===Hr?this.route:d===it?this.childContexts:this.parent.get(d,a)}}const Qn=new p.OlP("");let We=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:h}=a,m=Re([h.queryParams,h.params,h.data]).pipe((0,Zt.w)(([C,I,k],x)=>(k={...C,...I,...k},0===x?(0,B.of)(k):Promise.resolve(k)))).subscribe(C=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==h||null===h.component)return void this.unsubscribeFromRouteData(a);const I=(0,p.qFp)(h.component);if(I)for(const{templateName:k}of I.inputs)a.activatedComponentRef.setInput(k,C[k]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,m)}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac})}return u})();function uo(u,d,a){if(a&&u.shouldReuseRoute(d.value,a.value.snapshot)){const h=a.value;h._futureSnapshot=d.value;const m=function Ur(u,d,a){return d.children.map(h=>{for(const m of a.children)if(u.shouldReuseRoute(h.value,m.value.snapshot))return uo(u,h,m);return uo(u,h)})}(u,d,a);return new Vt(h,m)}{if(u.shouldAttach(d.value)){const C=u.retrieve(d.value);if(null!==C){const I=C.route;return I.value._futureSnapshot=d.value,I.children=d.children.map(k=>uo(u,k)),I}}const h=function Gt(u){return new Hr(new re.X(u.url),new re.X(u.params),new re.X(u.queryParams),new re.X(u.fragment),new re.X(u.data),u.outlet,u.component,u)}(d.value),m=d.children.map(C=>uo(u,C));return new Vt(h,m)}}const er="ngNavigationCancelingError";function Br(u,d){const{redirectTo:a,navigationBehaviorOptions:h}=hn(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,m=Ln(!1,0,d);return m.url=a,m.navigationBehaviorOptions=h,m}function Ln(u,d,a){const h=new Error("NavigationCancelingError: "+(u||""));return h[er]=!0,h.cancellationCode=d,a&&(h.url=a),h}function $o(u){return u&&u[er]}let Rn=(()=>{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,m){1&h&&p._UZ(0,"router-outlet")},dependencies:[Ht],encapsulation:2})}return u})();function Mr(u){const d=u.children&&u.children.map(Mr),a=d?{...u,children:d}:{...u};return!a.component&&!a.loadComponent&&(d||a.loadChildren)&&a.outlet&&a.outlet!==Ae&&(a.component=Rn),a}function mn(u){return u.outlet||Ae}function Mo(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const a=d.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class fi{constructor(d,a,h,m,C){this.routeReuseStrategy=d,this.futureState=a,this.currState=h,this.forwardEvent=m,this.inputBindingEnabled=C}activate(d){const a=this.futureState._root,h=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,h,d),tn(this.futureState.root),this.activateChildRoutes(a,h,d)}deactivateChildRoutes(d,a,h){const m=Cr(a);d.children.forEach(C=>{const I=C.value.outlet;this.deactivateRoutes(C,m[I],h),delete m[I]}),Object.values(m).forEach(C=>{this.deactivateRouteAndItsChildren(C,h)})}deactivateRoutes(d,a,h){const m=d.value,C=a?a.value:null;if(m===C)if(m.component){const I=h.getContext(m.outlet);I&&this.deactivateChildRoutes(d,a,I.children)}else this.deactivateChildRoutes(d,a,h);else C&&this.deactivateRouteAndItsChildren(a,h)}deactivateRouteAndItsChildren(d,a){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,a):this.deactivateRouteAndOutlet(d,a)}detachAndStoreRouteSubtree(d,a){const h=a.getContext(d.value.outlet),m=h&&d.value.component?h.children:a,C=Cr(d);for(const I of Object.keys(C))this.deactivateRouteAndItsChildren(C[I],m);if(h&&h.outlet){const I=h.outlet.detach(),k=h.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:I,route:d,contexts:k})}}deactivateRouteAndOutlet(d,a){const h=a.getContext(d.value.outlet),m=h&&d.value.component?h.children:a,C=Cr(d);for(const I of Object.keys(C))this.deactivateRouteAndItsChildren(C[I],m);h&&(h.outlet&&(h.outlet.deactivate(),h.children.onOutletDeactivated()),h.attachRef=null,h.route=null)}activateChildRoutes(d,a,h){const m=Cr(a);d.children.forEach(C=>{this.activateRoutes(C,m[C.value.outlet],h),this.forwardEvent(new gs(C.value.snapshot))}),d.children.length&&this.forwardEvent(new hs(d.value.snapshot))}activateRoutes(d,a,h){const m=d.value,C=a?a.value:null;if(tn(m),m===C)if(m.component){const I=h.getOrCreateContext(m.outlet);this.activateChildRoutes(d,a,I.children)}else this.activateChildRoutes(d,a,h);else if(m.component){const I=h.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const k=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),I.children.onOutletReAttached(k.contexts),I.attachRef=k.componentRef,I.route=k.route.value,I.outlet&&I.outlet.attach(k.componentRef,k.route.value),tn(k.route.value),this.activateChildRoutes(d,null,I.children)}else{const k=Mo(m.snapshot);I.attachRef=null,I.route=m,I.injector=k,I.outlet&&I.outlet.activateWith(m,I.injector),this.activateChildRoutes(d,null,I.children)}}else this.activateChildRoutes(d,null,h)}}class fr{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class br{constructor(d,a){this.component=d,this.route=a}}function kn(u,d,a){const h=u._root;return Tt(h,d?d._root:null,a,[h.value])}function lo(u,d){const a=Symbol(),h=d.get(u,a);return h===a?"function"!=typeof u||(0,p.Z0I)(u)?d.get(u):u:h}function Tt(u,d,a,h,m={canDeactivateChecks:[],canActivateChecks:[]}){const C=Cr(d);return u.children.forEach(I=>{(function Xu(u,d,a,h,m={canDeactivateChecks:[],canActivateChecks:[]}){const C=u.value,I=d?d.value:null,k=a?a.getContext(u.value.outlet):null;if(I&&C.routeConfig===I.routeConfig){const x=function Ea(u,d,a){if("function"==typeof a)return a(u,d);switch(a){case"pathParamsChange":return!_n(u.url,d.url);case"pathParamsOrQueryParamsChange":return!_n(u.url,d.url)||!ze(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_r(u,d)||!ze(u.queryParams,d.queryParams);default:return!_r(u,d)}}(I,C,C.routeConfig.runGuardsAndResolvers);x?m.canActivateChecks.push(new fr(h)):(C.data=I.data,C._resolvedData=I._resolvedData),Tt(u,d,C.component?k?k.children:null:a,h,m),x&&k&&k.outlet&&k.outlet.isActivated&&m.canDeactivateChecks.push(new br(k.outlet.component,I))}else I&&bo(d,k,m),m.canActivateChecks.push(new fr(h)),Tt(u,null,C.component?k?k.children:null:a,h,m)})(I,C[I.value.outlet],a,h.concat([I.value]),m),delete C[I.value.outlet]}),Object.entries(C).forEach(([I,k])=>bo(k,a.getContext(I),m)),m}function bo(u,d,a){const h=Cr(u),m=u.value;Object.entries(h).forEach(([C,I])=>{bo(I,m.component?d?d.children.getContext(C):null:d,a)}),a.canDeactivateChecks.push(new br(m.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,m))}function zo(u){return"function"==typeof u}function Ds(u){return u instanceof ht||"EmptyError"===u?.name}const Go=Symbol("INITIAL_VALUE");function Sr(){return(0,Zt.w)(u=>Re(u.map(d=>d.pipe(H(1),function j(...u){const d=(0,V.yG)(u);return(0,he.e)((a,h)=>{(d?me(u,a,d):me(u,a)).subscribe(h)})}(Go)))).pipe((0,lt.U)(d=>{for(const a of d)if(!0!==a){if(a===Go)return Go;if(!1===a||a instanceof Un)return a}return!0}),(0,G.h)(d=>d!==Go),H(1)))}function un(u){return(0,Ee.z)((0,Z.b)(d=>{if(hn(d))throw Br(0,d)}),(0,lt.U)(d=>!0===d))}class yn{constructor(d){this.segmentGroup=d||null}}class pi{constructor(d){this.urlTree=d}}function zr(u){return fe(new yn(u))}function gi(u){return fe(new pi(u))}class vi{constructor(d,a){this.urlSerializer=d,this.urlTree=a}noMatchError(d){return new p.vHH(4002,!1)}lineralizeSegments(d,a){let h=[],m=a.root;for(;;){if(h=h.concat(m.segments),0===m.numberOfChildren)return(0,B.of)(h);if(m.numberOfChildren>1||!m.children[Ae])return fe(new p.vHH(4e3,!1));m=m.children[Ae]}}applyRedirectCommands(d,a,h){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),d,h)}applyRedirectCreateUrlTree(d,a,h,m){const C=this.createSegmentGroup(d,a.root,h,m);return new Un(C,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(d,a){const h={};return Object.entries(d).forEach(([m,C])=>{if("string"==typeof C&&C.startsWith(":")){const k=C.substring(1);h[m]=a[k]}else h[m]=C}),h}createSegmentGroup(d,a,h,m){const C=this.createSegments(d,a.segments,h,m);let I={};return Object.entries(a.children).forEach(([k,x])=>{I[k]=this.createSegmentGroup(d,x,h,m)}),new ot(C,I)}createSegments(d,a,h,m){return a.map(C=>C.path.startsWith(":")?this.findPosParam(d,C,m):this.findOrReturn(C,h))}findPosParam(d,a,h){const m=h[a.path.substring(1)];if(!m)throw new p.vHH(4001,!1);return m}findOrReturn(d,a){let h=0;for(const m of a){if(m.path===d.path)return a.splice(h),m;h++}return d}}const So={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yo(u,d,a,h,m){const C=To(u,d,a);return C.matched?(h=function tr(u,d){return u.providers&&!u._injector&&(u._injector=(0,p.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}(d,h),function Wo(u,d,a,h){const m=d.canMatch;if(!m||0===m.length)return(0,B.of)(!0);const C=m.map(I=>{const k=lo(I,u);return Ut(function rc(u){return u&&zo(u.canMatch)}(k)?k.canMatch(d,a):u.runInContext(()=>k(d,a)))});return(0,B.of)(C).pipe(Sr(),un())}(h,d,a).pipe((0,lt.U)(I=>!0===I?C:{...So}))):(0,B.of)(C)}function To(u,d,a){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||a.length>0)?{...So}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const m=(d.matcher||wn)(a,u,d);if(!m)return{...So};const C={};Object.entries(m.posParams??{}).forEach(([k,x])=>{C[k]=x.path});const I=m.consumed.length>0?{...C,...m.consumed[m.consumed.length-1].parameters}:C;return{matched:!0,consumedSegments:m.consumed,remainingSegments:a.slice(m.consumed.length),parameters:I,positionalParamSegments:m.posParams??{}}}function yi(u,d,a,h){return a.length>0&&function Ao(u,d,a){return a.some(h=>Ro(u,d,h)&&mn(h)!==Ae)}(u,a,h)?{segmentGroup:new ot(d,Zo(h,new ot(a,u.children))),slicedSegments:[]}:0===a.length&&function fo(u,d,a){return a.some(h=>Ro(u,d,h))}(u,a,h)?{segmentGroup:new ot(u.segments,Ms(u,0,a,h,u.children)),slicedSegments:a}:{segmentGroup:new ot(u.segments,u.children),slicedSegments:a}}function Ms(u,d,a,h,m){const C={};for(const I of h)if(Ro(u,a,I)&&!m[mn(I)]){const k=new ot([],{});C[mn(I)]=k}return{...m,...C}}function Zo(u,d){const a={};a[Ae]=d;for(const h of u)if(""===h.path&&mn(h)!==Ae){const m=new ot([],{});a[mn(h)]=m}return a}function Ro(u,d,a){return(!(u.hasChildren()||d.length>0)||"full"!==a.pathMatch)&&""===a.path}class _a{constructor(d,a,h,m,C,I,k){this.injector=d,this.configLoader=a,this.rootComponentType=h,this.config=m,this.urlTree=C,this.paramsInheritanceStrategy=I,this.urlSerializer=k,this.allowRedirects=!0,this.applyRedirects=new vi(this.urlSerializer,this.urlTree)}noMatchError(d){return new p.vHH(4002,!1)}recognize(){const d=yi(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,Ae).pipe((0,ae.K)(a=>{if(a instanceof pi)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof yn?this.noMatchError(a):a}),(0,lt.U)(a=>{const h=new Ge([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ae,this.rootComponentType,null,{}),m=new Vt(h,a),C=new Ot("",m),I=function jt(u,d,a=null,h=null){return In(qt(u),d,a,h)}(h,[],this.urlTree.queryParams,this.urlTree.fragment);return I.queryParams=this.urlTree.queryParams,C.url=this.urlSerializer.serialize(I),this.inheritParamsAndData(C._root),{state:C,tree:I}}))}match(d){return this.processSegmentGroup(this.injector,this.config,d.root,Ae).pipe((0,ae.K)(h=>{throw h instanceof yn?this.noMatchError(h):h}))}inheritParamsAndData(d){const a=d.value,h=kt(a,this.paramsInheritanceStrategy);a.params=Object.freeze(h.params),a.data=Object.freeze(h.data),d.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(d,a,h,m){return 0===h.segments.length&&h.hasChildren()?this.processChildren(d,a,h):this.processSegment(d,a,h,h.segments,m,!0)}processChildren(d,a,h){const m=[];for(const C of Object.keys(h.children))"primary"===C?m.unshift(C):m.push(C);return(0,F.D)(m).pipe((0,pe.b)(C=>{const I=h.children[C],k=function an(u,d){const a=u.filter(h=>mn(h)===d);return a.push(...u.filter(h=>mn(h)!==d)),a}(a,C);return this.processSegmentGroup(d,k,I,C)}),function Le(u,d){return(0,he.e)(function ge(u,d,a,h,m){return(C,I)=>{let k=a,x=d,_e=0;C.subscribe((0,Se.x)(I,qe=>{const It=_e++;x=k?u(x,qe,It):(k=!0,qe),h&&I.next(x)},m&&(()=>{k&&I.next(x),I.complete()})))}}(u,d,arguments.length>=2,!0))}((C,I)=>(C.push(...I),C)),ce(null),function yt(u,d){const a=arguments.length>=2;return h=>h.pipe(u?(0,G.h)((m,C)=>u(m,C,h)):de.y,dt(1),a?ce(d):ue(()=>new ht))}(),(0,$.z)(C=>{if(null===C)return zr(h);const I=l(C);return function Oo(u){u.sort((d,a)=>d.value.outlet===Ae?-1:a.value.outlet===Ae?1:d.value.outlet.localeCompare(a.value.outlet))}(I),(0,B.of)(I)}))}processSegment(d,a,h,m,C,I){return(0,F.D)(a).pipe((0,pe.b)(k=>this.processSegmentAgainstRoute(k._injector??d,a,k,h,m,C,I).pipe((0,ae.K)(x=>{if(x instanceof yn)return(0,B.of)(null);throw x}))),rt(k=>!!k),(0,ae.K)(k=>{if(Ds(k))return function sc(u,d,a){return 0===d.length&&!u.children[a]}(h,m,C)?(0,B.of)([]):zr(h);throw k}))}processSegmentAgainstRoute(d,a,h,m,C,I,k){return function ic(u,d,a,h){return!!(mn(u)===h||h!==Ae&&Ro(d,a,u))&&("**"===u.path||To(d,u,a).matched)}(h,m,C,I)?void 0===h.redirectTo?this.matchSegmentAgainstRoute(d,m,h,C,I,k):k&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,m,a,h,C,I):zr(m):zr(m)}expandSegmentAgainstRouteUsingRedirect(d,a,h,m,C,I){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,h,m,I):this.expandRegularSegmentAgainstRouteUsingRedirect(d,a,h,m,C,I)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,a,h,m){const C=this.applyRedirects.applyRedirectCommands([],h.redirectTo,{});return h.redirectTo.startsWith("/")?gi(C):this.applyRedirects.lineralizeSegments(h,C).pipe((0,$.z)(I=>{const k=new ot(I,{});return this.processSegment(d,a,k,I,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,a,h,m,C,I){const{matched:k,consumedSegments:x,remainingSegments:_e,positionalParamSegments:qe}=To(a,m,C);if(!k)return zr(a);const It=this.applyRedirects.applyRedirectCommands(x,m.redirectTo,qe);return m.redirectTo.startsWith("/")?gi(It):this.applyRedirects.lineralizeSegments(m,It).pipe((0,$.z)(ft=>this.processSegment(d,h,a,ft.concat(_e),I,!1)))}matchSegmentAgainstRoute(d,a,h,m,C,I){let k;if("**"===h.path){const x=m.length>0?Fn(m).parameters:{},_e=new Ge(m,x,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,g(h),mn(h),h.component??h._loadedComponent??null,h,y(h));k=(0,B.of)({snapshot:_e,consumedSegments:[],remainingSegments:[]}),a.children={}}else k=Yo(a,h,m,d).pipe((0,lt.U)(({matched:x,consumedSegments:_e,remainingSegments:qe,parameters:It})=>x?{snapshot:new Ge(_e,It,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,g(h),mn(h),h.component??h._loadedComponent??null,h,y(h)),consumedSegments:_e,remainingSegments:qe}:null));return k.pipe((0,Zt.w)(x=>null===x?zr(a):this.getChildConfig(d=h._injector??d,h,m).pipe((0,Zt.w)(({routes:_e})=>{const qe=h._loadedInjector??d,{snapshot:It,consumedSegments:ft,remainingSegments:Pr}=x,{segmentGroup:Jo,slicedSegments:cn}=yi(a,ft,Pr,_e);if(0===cn.length&&Jo.hasChildren())return this.processChildren(qe,_e,Jo).pipe((0,lt.U)(Rt=>null===Rt?null:[new Vt(It,Rt)]));if(0===_e.length&&0===cn.length)return(0,B.of)([new Vt(It,[])]);const xr=mn(h)===C;return this.processSegment(qe,_e,Jo,cn,xr?Ae:C,!0).pipe((0,lt.U)(Rt=>[new Vt(It,Rt)]))}))))}getChildConfig(d,a,h){return a.children?(0,B.of)({routes:a.children,injector:d}):a.loadChildren?void 0!==a._loadedRoutes?(0,B.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function _s(u,d,a,h){const m=d.canLoad;if(void 0===m||0===m.length)return(0,B.of)(!0);const C=m.map(I=>{const k=lo(I,u);return Ut(function ec(u){return u&&zo(u.canLoad)}(k)?k.canLoad(d,a):u.runInContext(()=>k(d,a)))});return(0,B.of)(C).pipe(Sr(),un())}(d,a,h).pipe((0,$.z)(m=>m?this.configLoader.loadChildren(d,a).pipe((0,Z.b)(C=>{a._loadedRoutes=C.routes,a._loadedInjector=C.injector})):function mi(u){return fe(Ln(!1,3))}())):(0,B.of)({routes:[],injector:d})}}function uc(u){const d=u.value.routeConfig;return d&&""===d.path}function l(u){const d=[],a=new Set;for(const h of u){if(!uc(h)){d.push(h);continue}const m=d.find(C=>h.value.routeConfig===C.value.routeConfig);void 0!==m?(m.children.push(...h.children),a.add(m)):d.push(h)}for(const h of a){const m=l(h.children);d.push(new Vt(h.value,m))}return d.filter(h=>!a.has(h))}function g(u){return u.data||{}}function y(u){return u.resolve||{}}function pt(u){return"string"==typeof u.title||null===u.title}function tt(u){return(0,Zt.w)(d=>{const a=u(d);return a?(0,F.D)(a).pipe((0,lt.U)(()=>d)):(0,B.of)(d)})}const At=new p.OlP("ROUTES");let wt=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,p.f3M)(p.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,B.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const h=Ut(a.loadComponent()).pipe((0,lt.U)(nr),(0,Z.b)(C=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=C}),(0,ln.x)(()=>{this.componentLoaders.delete(a)})),m=new ke(h,()=>new Ve.x).pipe(Ft());return this.componentLoaders.set(a,m),m}loadChildren(a,h){if(this.childrenLoaders.get(h))return this.childrenLoaders.get(h);if(h._loadedRoutes)return(0,B.of)({routes:h._loadedRoutes,injector:h._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(h);const C=function Yt(u,d,a,h){return Ut(u.loadChildren()).pipe((0,lt.U)(nr),(0,$.z)(m=>m instanceof p.YKP||Array.isArray(m)?(0,B.of)(m):(0,F.D)(d.compileModuleAsync(m))),(0,lt.U)(m=>{h&&h(u);let C,I,k=!1;return Array.isArray(m)?(I=m,!0):(C=m.create(a).injector,I=C.get(At,[],{optional:!0,self:!0}).flat()),{routes:I.map(Mr),injector:C}}))}(h,this.compiler,a,this.onLoadEndListener).pipe((0,ln.x)(()=>{this.childrenLoaders.delete(h)})),I=new ke(C,()=>new Ve.x).pipe(Ft());return this.childrenLoaders.set(h,I),I}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 nr(u){return function hr(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let rr=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ve.x,this.transitionAbortSubject=new Ve.x,this.configLoader=(0,p.f3M)(wt),this.environmentInjector=(0,p.f3M)(p.lqb),this.urlSerializer=(0,p.f3M)(cr),this.rootContexts=(0,p.f3M)(it),this.inputBindingEnabled=null!==(0,p.f3M)(Qn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,B.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=m=>this.events.next(new fs(m)),this.configLoader.onLoadStartListener=m=>this.events.next(new ds(m))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const h=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:h})}setupNavigations(a,h,m){return this.transitions=new re.X({id:0,currentUrlTree:h,currentRawUrl:h,currentBrowserUrl:h,extractedUrl:a.urlHandlingStrategy.extract(h),urlAfterRedirects:a.urlHandlingStrategy.extract(h),rawUrl:h,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:m.snapshot,targetSnapshot:null,currentRouterState:m,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,G.h)(C=>0!==C.id),(0,lt.U)(C=>({...C,extractedUrl:a.urlHandlingStrategy.extract(C.rawUrl)})),(0,Zt.w)(C=>{this.currentTransition=C;let I=!1,k=!1;return(0,B.of)(C).pipe((0,Z.b)(x=>{this.currentNavigation={id:x.id,initialUrl:x.rawUrl,extractedUrl:x.extractedUrl,trigger:x.source,extras:x.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Zt.w)(x=>{const _e=x.currentBrowserUrl.toString(),qe=!a.navigated||x.extractedUrl.toString()!==_e||_e!==x.currentUrlTree.toString();if(!qe&&"reload"!==(x.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const ft="";return this.events.next(new sn(x.id,this.urlSerializer.serialize(x.rawUrl),ft,0)),x.resolve(null),Ue.E}if(a.urlHandlingStrategy.shouldProcessUrl(x.rawUrl))return(0,B.of)(x).pipe((0,Zt.w)(ft=>{const Pr=this.transitions?.getValue();return this.events.next(new Ho(ft.id,this.urlSerializer.serialize(ft.extractedUrl),ft.source,ft.restoredState)),Pr!==this.transitions?.getValue()?Ue.E:Promise.resolve(ft)}),function M(u,d,a,h,m,C){return(0,$.z)(I=>function ac(u,d,a,h,m,C,I="emptyOnly"){return new _a(u,d,a,h,m,I,C).recognize()}(u,d,a,h,I.extractedUrl,m,C).pipe((0,lt.U)(({state:k,tree:x})=>({...I,targetSnapshot:k,urlAfterRedirects:x}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),(0,Z.b)(ft=>{C.targetSnapshot=ft.targetSnapshot,C.urlAfterRedirects=ft.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ft.urlAfterRedirects};const Pr=new ui(ft.id,this.urlSerializer.serialize(ft.extractedUrl),this.urlSerializer.serialize(ft.urlAfterRedirects),ft.targetSnapshot);this.events.next(Pr)}));if(qe&&a.urlHandlingStrategy.shouldProcessUrl(x.currentRawUrl)){const{id:ft,extractedUrl:Pr,source:Jo,restoredState:cn,extras:xr}=x,Rt=new Ho(ft,this.urlSerializer.serialize(Pr),Jo,cn);this.events.next(Rt);const Ec=wr(0,this.rootComponentType).snapshot;return this.currentTransition=C={...x,targetSnapshot:Ec,urlAfterRedirects:Pr,extras:{...xr,skipLocationChange:!1,replaceUrl:!1}},(0,B.of)(C)}{const ft="";return this.events.next(new sn(x.id,this.urlSerializer.serialize(x.extractedUrl),ft,1)),x.resolve(null),Ue.E}}),(0,Z.b)(x=>{const _e=new us(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(_e)}),(0,lt.U)(x=>(this.currentTransition=C={...x,guards:kn(x.targetSnapshot,x.currentSnapshot,this.rootContexts)},C)),function $r(u,d){return(0,$.z)(a=>{const{targetSnapshot:h,currentSnapshot:m,guards:{canActivateChecks:C,canDeactivateChecks:I}}=a;return 0===I.length&&0===C.length?(0,B.of)({...a,guardsResult:!0}):function Es(u,d,a,h){return(0,F.D)(u).pipe((0,$.z)(m=>function wa(u,d,a,h,m){const C=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!C||0===C.length)return(0,B.of)(!0);const I=C.map(k=>{const x=Mo(d)??m,_e=lo(k,x);return Ut(function nc(u){return u&&zo(u.canDeactivate)}(_e)?_e.canDeactivate(u,d,a,h):x.runInContext(()=>_e(u,d,a,h))).pipe(rt())});return(0,B.of)(I).pipe(Sr())}(m.component,m.route,a,d,h)),rt(m=>!0!==m,!0))}(I,h,m,u).pipe((0,$.z)(k=>k&&function Qu(u){return"boolean"==typeof u}(k)?function oc(u,d,a,h){return(0,F.D)(d).pipe((0,pe.b)(m=>me(function ws(u,d){return null!==u&&d&&d(new ci(u)),(0,B.of)(!0)}(m.route.parent,h),function Cs(u,d){return null!==u&&d&&d(new ps(u)),(0,B.of)(!0)}(m.route,h),function Tr(u,d,a){const h=d[d.length-1],C=d.slice(0,d.length-1).reverse().map(I=>function hi(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(I)).filter(I=>null!==I).map(I=>ve(()=>{const k=I.guards.map(x=>{const _e=Mo(I.node)??a,qe=lo(x,_e);return Ut(function Ca(u){return u&&zo(u.canActivateChild)}(qe)?qe.canActivateChild(h,u):_e.runInContext(()=>qe(h,u))).pipe(rt())});return(0,B.of)(k).pipe(Sr())}));return(0,B.of)(C).pipe(Sr())}(u,m.path,a),function Vr(u,d,a){const h=d.routeConfig?d.routeConfig.canActivate:null;if(!h||0===h.length)return(0,B.of)(!0);const m=h.map(C=>ve(()=>{const I=Mo(d)??a,k=lo(C,I);return Ut(function tc(u){return u&&zo(u.canActivate)}(k)?k.canActivate(d,u):I.runInContext(()=>k(d,u))).pipe(rt())}));return(0,B.of)(m).pipe(Sr())}(u,m.route,a))),rt(m=>!0!==m,!0))}(h,C,u,d):(0,B.of)(k)),(0,lt.U)(k=>({...a,guardsResult:k})))})}(this.environmentInjector,x=>this.events.next(x)),(0,Z.b)(x=>{if(C.guardsResult=x.guardsResult,hn(x.guardsResult))throw Br(0,x.guardsResult);const _e=new cs(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot,!!x.guardsResult);this.events.next(_e)}),(0,G.h)(x=>!!x.guardsResult||(this.cancelNavigationTransition(x,"",3),!1)),tt(x=>{if(x.guards.canActivateChecks.length)return(0,B.of)(x).pipe((0,Z.b)(_e=>{const qe=new Uo(_e.id,this.urlSerializer.serialize(_e.extractedUrl),this.urlSerializer.serialize(_e.urlAfterRedirects),_e.targetSnapshot);this.events.next(qe)}),(0,Zt.w)(_e=>{let qe=!1;return(0,B.of)(_e).pipe(function U(u,d){return(0,$.z)(a=>{const{targetSnapshot:h,guards:{canActivateChecks:m}}=a;if(!m.length)return(0,B.of)(a);let C=0;return(0,F.D)(m).pipe((0,pe.b)(I=>function q(u,d,a,h){const m=u.routeConfig,C=u._resolve;return void 0!==m?.title&&!pt(m)&&(C[ar]=m.title),function Oe(u,d,a,h){const m=function Ct(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===m.length)return(0,B.of)({});const C={};return(0,F.D)(m).pipe((0,$.z)(I=>function _t(u,d,a,h){const m=Mo(d)??h,C=lo(u,m);return Ut(C.resolve?C.resolve(d,a):m.runInContext(()=>C(d,a)))}(u[I],d,a,h).pipe(rt(),(0,Z.b)(k=>{C[I]=k}))),dt(1),function Ce(u){return(0,lt.U)(()=>u)}(C),(0,ae.K)(I=>Ds(I)?Ue.E:fe(I)))}(C,u,d,h).pipe((0,lt.U)(I=>(u._resolvedData=I,u.data=kt(u,a).resolve,m&&pt(m)&&(u.data[ar]=m.title),null)))}(I.route,h,u,d)),(0,Z.b)(()=>C++),dt(1),(0,$.z)(I=>C===m.length?(0,B.of)(a):Ue.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),(0,Z.b)({next:()=>qe=!0,complete:()=>{qe||this.cancelNavigationTransition(_e,"",2)}}))}),(0,Z.b)(_e=>{const qe=new ls(_e.id,this.urlSerializer.serialize(_e.extractedUrl),this.urlSerializer.serialize(_e.urlAfterRedirects),_e.targetSnapshot);this.events.next(qe)}))}),tt(x=>{const _e=qe=>{const It=[];qe.routeConfig?.loadComponent&&!qe.routeConfig._loadedComponent&&It.push(this.configLoader.loadComponent(qe.routeConfig).pipe((0,Z.b)(ft=>{qe.component=ft}),(0,lt.U)(()=>{})));for(const ft of qe.children)It.push(..._e(ft));return It};return Re(_e(x.targetSnapshot.root)).pipe(ce(),H(1))}),tt(()=>this.afterPreactivation()),(0,lt.U)(x=>{const _e=function ao(u,d,a){const h=uo(u,d._root,a?a._root:void 0);return new io(h,d)}(a.routeReuseStrategy,x.targetSnapshot,x.currentRouterState);return this.currentTransition=C={...x,targetRouterState:_e},C}),(0,Z.b)(()=>{this.events.next(new Bo)}),((u,d,a,h)=>(0,lt.U)(m=>(new fi(d,m.targetRouterState,m.currentRouterState,a,h).activate(u),m)))(this.rootContexts,a.routeReuseStrategy,x=>this.events.next(x),this.inputBindingEnabled),H(1),(0,Z.b)({next:x=>{I=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new on(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects))),a.titleStrategy?.updateTitle(x.targetRouterState.snapshot),x.resolve(!0)},complete:()=>{I=!0}}),(0,dn.R)(this.transitionAbortSubject.pipe((0,Z.b)(x=>{throw x}))),(0,ln.x)(()=>{I||k||this.cancelNavigationTransition(C,"",1),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),(0,ae.K)(x=>{if(k=!0,$o(x))this.events.next(new Eo(C.id,this.urlSerializer.serialize(C.extractedUrl),x.message,x.cancellationCode)),function co(u){return $o(u)&&hn(u.url)}(x)?this.events.next(new wo(x.url)):C.resolve(!1);else{this.events.next(new Co(C.id,this.urlSerializer.serialize(C.extractedUrl),x,C.targetSnapshot??void 0));try{C.resolve(a.errorHandler(x))}catch(_e){C.reject(_e)}}return Ue.E}))}))}cancelNavigationTransition(a,h,m){const C=new Eo(a.id,this.urlSerializer.serialize(a.extractedUrl),h,m);this.events.next(C),a.resolve(!1)}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 Dn(u){return u!==Er}let or=(()=>{class u{buildTitle(a){let h,m=a.root;for(;void 0!==m;)h=this.getResolvedTitleForRoute(m)??h,m=m.children.find(C=>C.outlet===Ae);return h}getResolvedTitleForRoute(a){return a.data[ar]}static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:function(){return(0,p.f3M)(Ar)},providedIn:"root"})}return u})(),Ar=(()=>{class u extends or{constructor(a){super(),this.title=a}updateTitle(a){const h=this.buildTitle(a);void 0!==h&&this.title.setTitle(h)}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(eo.Dx))};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Gr=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:function(){return(0,p.f3M)(Ma)},providedIn:"root"})}return u})();class Ia{shouldDetach(d){return!1}store(d,a){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,a){return d.routeConfig===a.routeConfig}}let Ma=(()=>{class u extends Ia{static#e=this.\u0275fac=function(){let a;return function(m){return(a||(a=p.n5z(u)))(m||u)}}();static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Di=new p.OlP("",{providedIn:"root",factory:()=>({})});let bs=(()=>{class u{static#e=this.\u0275fac=function(h){return new(h||u)};static#t=this.\u0275prov=p.Yz7({token:u,factory:function(){return(0,p.f3M)(cc)},providedIn:"root"})}return u})(),cc=(()=>{class u{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,h){return a}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})();var On=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(On||{});function Ss(u,d){u.events.pipe((0,G.h)(a=>a instanceof on||a instanceof Eo||a instanceof Co||a instanceof sn),(0,lt.U)(a=>a instanceof on||a instanceof sn?On.COMPLETE:a instanceof Eo&&(0===a.code||1===a.code)?On.REDIRECTING:On.FAILED),(0,G.h)(a=>a!==On.REDIRECTING),H(1)).subscribe(()=>{d()})}function ba(u){throw u}function Pt(u,d,a){return d.parse("/")}const Ts={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ei={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xt=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,p.f3M)(p.c2e),this.isNgZoneEnabled=!1,this._events=new Ve.x,this.options=(0,p.f3M)(Di,{optional:!0})||{},this.pendingTasks=(0,p.f3M)(p.HDt),this.errorHandler=this.options.errorHandler||ba,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Pt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,p.f3M)(bs),this.routeReuseStrategy=(0,p.f3M)(Gr),this.titleStrategy=(0,p.f3M)(or),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,p.f3M)(At,{optional:!0})?.flat()??[],this.navigationTransitions=(0,p.f3M)(rr),this.urlSerializer=(0,p.f3M)(cr),this.location=(0,p.f3M)(Lt.Ye),this.componentInputBindingEnabled=!!(0,p.f3M)(Qn,{optional:!0}),this.eventsSubscription=new je.w0,this.isNgZoneEnabled=(0,p.f3M)(p.R0b)instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Un,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(h=>{try{const{currentTransition:m}=this.navigationTransitions;if(null===m)return void(As(h)&&this._events.next(h));if(h instanceof Ho)Dn(m.source)&&(this.browserUrlTree=m.extractedUrl);else if(h instanceof sn)this.rawUrlTree=m.rawUrl;else if(h instanceof ui){if("eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(C,m)}this.browserUrlTree=m.urlAfterRedirects}}else if(h instanceof Bo)this.currentUrlTree=m.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl),this.routerState=m.targetRouterState,"deferred"===this.urlUpdateStrategy&&(m.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,m),this.browserUrlTree=m.urlAfterRedirects);else if(h instanceof Eo)0!==h.code&&1!==h.code&&(this.navigated=!0),(3===h.code||2===h.code)&&this.restoreHistory(m);else if(h instanceof wo){const C=this.urlHandlingStrategy.merge(h.url,m.currentRawUrl),I={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Dn(m.source)};this.scheduleNavigation(C,Er,null,I,{resolve:m.resolve,reject:m.reject,promise:m.promise})}h instanceof Co&&this.restoreHistory(m,!0),h instanceof on&&(this.navigated=!0),As(h)&&this._events.next(h)}catch(m){this.navigationTransitions.transitionAbortSubject.next(m)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Er,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const h="popstate"===a.type?"popstate":"hashchange";"popstate"===h&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,h,a.state)},0)}))}navigateToSyncWithBrowser(a,h,m){const C={replaceUrl:!0},I=m?.navigationId?m:null;if(m){const x={...m};delete x.navigationId,delete x.\u0275routerPageId,0!==Object.keys(x).length&&(C.state=x)}const k=this.parseUrl(a);this.scheduleNavigation(k,h,I,C)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(Mr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,h={}){const{relativeTo:m,queryParams:C,fragment:I,queryParamsHandling:k,preserveFragment:x}=h,_e=x?this.currentUrlTree.fragment:I;let It,qe=null;switch(k){case"merge":qe={...this.currentUrlTree.queryParams,...C};break;case"preserve":qe=this.currentUrlTree.queryParams;break;default:qe=C||null}null!==qe&&(qe=this.removeEmptyProps(qe));try{It=qt(m?m.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),It=this.currentUrlTree.root}return In(It,a,qe,_e??null)}navigateByUrl(a,h={skipLocationChange:!1}){const m=hn(a)?a:this.parseUrl(a),C=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(C,Er,null,h)}navigate(a,h={skipLocationChange:!1}){return function lc(u){for(let d=0;d{const C=a[m];return null!=C&&(h[m]=C),h},{})}scheduleNavigation(a,h,m,C,I){if(this.disposed)return Promise.resolve(!1);let k,x,_e;I?(k=I.resolve,x=I.reject,_e=I.promise):_e=new Promise((It,ft)=>{k=It,x=ft});const qe=this.pendingTasks.add();return Ss(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(qe))}),this.navigationTransitions.handleNavigationRequest({source:h,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:C,resolve:k,reject:x,promise:_e,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_e.catch(It=>Promise.reject(It))}setBrowserUrl(a,h){const m=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(m)||h.extras.replaceUrl){const I={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId)};this.location.replaceState(m,"",I)}else{const C={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId+1)};this.location.go(m,"",C)}}restoreHistory(a,h=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-this.browserPageId;0!==C?this.location.historyGo(C):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===C&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(h&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,h){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:h}:{navigationId:a}}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 As(u){return!(u instanceof Bo||u instanceof wo)}let Rr=(()=>{class u{constructor(a,h,m,C,I,k){this.router=a,this.route=h,this.tabIndexAttribute=m,this.renderer=C,this.el=I,this.locationStrategy=k,this.href=null,this.commands=null,this.onChanges=new Ve.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const x=I.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===x||"area"===x,this.isAnchorElement?this.subscription=a.events.subscribe(_e=>{_e instanceof on&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,h,m,C,I){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||h||m||C||I||"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 a=null===this.href?null:(0,p.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,h){const m=this.renderer,C=this.el.nativeElement;null!==h?m.setAttribute(C,a,h):m.removeAttribute(C,a)}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(xt),p.Y36(Hr),p.$8M("tabindex"),p.Y36(p.Qsj),p.Y36(p.SBq),p.Y36(Lt.S$))};static#t=this.\u0275dir=p.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,m){1&h&&p.NdJ("click",function(I){return m.onClick(I.button,I.ctrlKey,I.shiftKey,I.altKey,I.metaKey)}),2&h&&p.uIk("target",m.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})(),Nn=(()=>{class u{get isActive(){return this._isActive}constructor(a,h,m,C,I){this.router=a,this.element=h,this.renderer=m,this.cdr=C,this.link=I,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new p.vpe,this.routerEventsSubscription=a.events.subscribe(k=>{k instanceof on&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,(0,B.of)(null)).pipe((0,Ze.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(h=>!!h).map(h=>h.onChanges);this.linkInputChangesSubscription=(0,F.D)(a).pipe((0,Ze.J)()).subscribe(h=>{this._isActive!==this.isLinkActive(this.router)(h)&&this.update()})}set routerLinkActive(a){const h=Array.isArray(a)?a:a.split(" ");this.classes=h.filter(m=>!!m)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(h=>{a?this.renderer.addClass(this.element.nativeElement,h):this.renderer.removeClass(this.element.nativeElement,h)}),a&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(a))})}isLinkActive(a){const h=function dc(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return m=>!!m.urlTree&&a.isActive(m.urlTree,h)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(h){return new(h||u)(p.Y36(xt),p.Y36(p.SBq),p.Y36(p.Qsj),p.Y36(p.sBO),p.Y36(Rr,8))};static#t=this.\u0275dir=p.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(h,m,C){if(1&h&&p.Suo(C,Rr,5),2&h){let I;p.iGM(I=p.CRH())&&(m.links=I)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[p.TTD]})}return u})();class Sa{}let Ta=(()=>{class u{constructor(a,h,m,C,I){this.router=a,this.injector=m,this.preloadingStrategy=C,this.loader=I}setUpPreloading(){this.subscription=this.router.events.pipe((0,G.h)(a=>a instanceof on),(0,pe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,h){const m=[];for(const C of h){C.providers&&!C._injector&&(C._injector=(0,p.MMx)(C.providers,a,`Route: ${C.path}`));const I=C._injector??a,k=C._loadedInjector??I;(C.loadChildren&&!C._loadedRoutes&&void 0===C.canLoad||C.loadComponent&&!C._loadedComponent)&&m.push(this.preloadConfig(I,C)),(C.children||C._loadedRoutes)&&m.push(this.processRoutes(k,C.children??C._loadedRoutes))}return(0,F.D)(m).pipe((0,Ze.J)())}preloadConfig(a,h){return this.preloadingStrategy.preload(h,()=>{let m;m=h.loadChildren&&void 0===h.canLoad?this.loader.loadChildren(a,h):(0,B.of)(null);const C=m.pipe((0,$.z)(I=>null===I?(0,B.of)(void 0):(h._loadedRoutes=I.routes,h._loadedInjector=I.injector,this.processRoutes(I.injector??a,I.routes))));if(h.loadComponent&&!h._loadedComponent){const I=this.loader.loadComponent(h);return(0,F.D)([C,I]).pipe((0,Ze.J)())}return C})}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(xt),p.LFG(p.Sil),p.LFG(p.lqb),p.LFG(Sa),p.LFG(wt))};static#t=this.\u0275prov=p.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Rs=new p.OlP("");let Os=(()=>{class u{constructor(a,h,m,C,I={}){this.urlSerializer=a,this.transitions=h,this.viewportScroller=m,this.zone=C,this.options=I,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},I.scrollPositionRestoration=I.scrollPositionRestoration||"disabled",I.anchorScrolling=I.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(a=>{a instanceof Ho?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof on?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof sn&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof oo&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,h){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new oo(a,"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 Or(u,d){return{\u0275kind:u,\u0275providers:d}}function Aa(){const u=(0,p.f3M)(p.zs3);return d=>{const a=u.get(p.z2F);if(d!==a.components[0])return;const h=u.get(xt),m=u.get(Ra);1===u.get(Ci)&&h.initialNavigation(),u.get(Oa,null,p.XFs.Optional)?.setUpPreloading(),u.get(Rs,null,p.XFs.Optional)?.init(),h.resetRootComponentType(a.componentTypes[0]),m.closed||(m.next(),m.complete(),m.unsubscribe())}}const Ra=new p.OlP("",{factory:()=>new Ve.x}),Ci=new p.OlP("",{providedIn:"root",factory:()=>1}),Oa=new p.OlP("");function gc(u){return Or(0,[{provide:Oa,useExisting:Ta},{provide:Sa,useExisting:u}])}const fn=new p.OlP("ROUTER_FORROOT_GUARD"),Pa=[Lt.Ye,{provide:cr,useClass:lr},xt,it,{provide:Hr,useFactory:function Ns(u){return u.routerState.root},deps:[xt]},wt,[]];function Ko(){return new p.PXZ("Router",xt)}let pr=(()=>{class u{constructor(a){}static forRoot(a,h){return{ngModule:u,providers:[Pa,[],{provide:At,multi:!0,useValue:a},{provide:fn,useFactory:Zd,deps:[[xt,new p.FiY,new p.tp0]]},{provide:Di,useValue:h||{}},h?.useHash?{provide:Lt.S$,useClass:Lt.Do}:{provide:Lt.S$,useClass:Lt.b0},{provide:Rs,useFactory:()=>{const u=(0,p.f3M)(Lt.EM),d=(0,p.f3M)(p.R0b),a=(0,p.f3M)(Di),h=(0,p.f3M)(rr),m=(0,p.f3M)(cr);return a.scrollOffset&&u.setOffset(a.scrollOffset),new Os(m,h,u,d,a)}},h?.preloadingStrategy?gc(h.preloadingStrategy).\u0275providers:[],{provide:p.PXZ,multi:!0,useFactory:Ko},h?.initialNavigation?xa(h):[],h?.bindToComponentInputs?Or(8,[We,{provide:Qn,useExisting:We}]).\u0275providers:[],[{provide:En,useFactory:Aa},{provide:p.tb,multi:!0,useExisting:En}]]}}static forChild(a){return{ngModule:u,providers:[{provide:At,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(h){return new(h||u)(p.LFG(fn,8))};static#t=this.\u0275mod=p.oAB({type:u});static#n=this.\u0275inj=p.cJS({})}return u})();function Zd(u){return"guarded"}function xa(u){return["disabled"===u.initialNavigation?Or(3,[{provide:p.ip1,multi:!0,useFactory:()=>{const d=(0,p.f3M)(xt);return()=>{d.setUpLocationChangeListener()}}},{provide:Ci,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Or(2,[{provide:Ci,useValue:0},{provide:p.ip1,multi:!0,deps:[p.zs3],useFactory:d=>{const a=d.get(Lt.V_,Promise.resolve());return()=>a.then(()=>new Promise(h=>{const m=d.get(xt),C=d.get(Ra);Ss(m,()=>{h(!0)}),d.get(rr).afterPreactivation=()=>(h(!0),C.closed?(0,B.of)(void 0):C),m.initialNavigation()}))}}]).\u0275providers:[]]}const En=new p.OlP("")},7582:(He,te,w)=>{function se(H,j,G,$){return new(G||(G=Promise))(function(ue,$e){function rt(ae){try{Z($.next(ae))}catch(ge){$e(ge)}}function pe(ae){try{Z($.throw(ae))}catch(ge){$e(ge)}}function Z(ae){ae.done?ue(ae.value):function ce(ue){return ue instanceof G?ue:new G(function($e){$e(ue)})}(ae.value).then(rt,pe)}Z(($=$.apply(H,j||[])).next())})}function De(H){return this instanceof De?(this.v=H,this):new De(H)}function me(H,j,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ce,$=G.apply(H,j||[]),ue=[];return ce={},$e("next"),$e("throw"),$e("return"),ce[Symbol.asyncIterator]=function(){return this},ce;function $e(Le){$[Le]&&(ce[Le]=function(dt){return new Promise(function(yt,Ce){ue.push([Le,dt,yt,Ce])>1||rt(Le,dt)})})}function rt(Le,dt){try{!function pe(Le){Le.value instanceof De?Promise.resolve(Le.value.v).then(Z,ae):ge(ue[0][2],Le)}($[Le](dt))}catch(yt){ge(ue[0][3],yt)}}function Z(Le){rt("next",Le)}function ae(Le){rt("throw",Le)}function ge(Le,dt){Le(dt),ue.shift(),ue.length&&rt(ue[0][0],ue[0][1])}}function ve(H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,j=H[Symbol.asyncIterator];return j?j.call(H):(H=function ct(H){var j="function"==typeof Symbol&&Symbol.iterator,G=j&&H[j],$=0;if(G)return G.call(H);if(H&&"number"==typeof H.length)return{next:function(){return H&&$>=H.length&&(H=void 0),{value:H&&H[$++],done:!H}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}(H),G={},$("next"),$("throw"),$("return"),G[Symbol.asyncIterator]=function(){return this},G);function $(ue){G[ue]=H[ue]&&function($e){return new Promise(function(rt,pe){!function ce(ue,$e,rt,pe){Promise.resolve(pe).then(function(Z){ue({value:Z,done:rt})},$e)}(rt,pe,($e=H[ue]($e)).done,$e.value)})}}}w.d(te,{FC:()=>me,KL:()=>ve,mG:()=>se,qq:()=>De}),"function"==typeof SuppressedError&&SuppressedError}},He=>{He(He.s=6694)}]); \ No newline at end of file diff --git a/polyfills.05d3fc8f3ed355bc.js b/polyfills.05d3fc8f3ed355bc.js deleted file mode 100644 index 1775c76..0000000 --- a/polyfills.05d3fc8f3ed355bc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbook_monkey=self.webpackChunkbook_monkey||[]).push([[429],{8332:()=>{!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||J).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||J).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"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,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}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=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__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,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 Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||Y.event))return;let n=we[e.type];n||(n=we[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"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 We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(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=we[d];b||(b=we[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,Ue),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,Ue,!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},pe(e,n,o),e[c]=!0}function qe(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 le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.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=!0===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 O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=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[J]),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 S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=w);const D=u.run(m,void 0,Z&&m!==K&&m!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},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,S)=>{for(let Z=0;Z{g||(g=!0,m(D))},D=>{w.push(D),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function w(S){s(S)}function m(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.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((D,V)=>{f=D,g=V}),m=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,m--,0===m&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),m--,0===m&&f(Z)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(Z),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((S,Z)=>{f.call(this,S,Z)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(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 Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){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,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(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 K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.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=ve(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=J?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=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[$e]=!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,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(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 et(e,n,i,o){e&&qe(e,Qe(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=qe,i.patchMethod=ae,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=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(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=ae(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={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{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=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=ae(e,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=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";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(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{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Pe&&!Be||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=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(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[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Oe],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===K){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],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(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===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function O(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 le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(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)})}},ue=>{ue(ue.s=8332)}]); \ No newline at end of file diff --git a/runtime.b09f303a38ead200.js b/runtime.b09f303a38ead200.js deleted file mode 100644 index a1c475c..0000000 --- a/runtime.b09f303a38ead200.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,v={},m={};function r(e){var i=m[e];if(void 0!==i)return i.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(i,t,o,u)=>{if(!t){var a=1/0;for(n=0;n=u)&&Object.keys(r.O).every(b=>r.O[b](t[f]))?t.splice(f--,1):(s=!1,u0&&e[n-1][2]>u;n--)e[n]=e[n-1];e[n]=[t,o,u]},r.d=(e,i)=>{for(var t in i)r.o(i,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((i,t)=>(r.f[t](e,i),i),[])),r.u=e=>e+"."+{98:"f7b31c25c9a1e221",881:"34f2f4532b8f4bfe"}[e]+".js",r.miniCssF=e=>{},r.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),(()=>{var e={},i="book-monkey:";r.l=(t,o,u,n)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==u)for(var f=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var y=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),y&&y.forEach(_=>_(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:i=>i},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,u)=>{var n=r.o(e,o)?e[o]:void 0;if(0!==n)if(n)u.push(n[2]);else if(666!=o){var a=new Promise((l,c)=>n=e[o]=[l,c]);u.push(n[2]=a);var s=r.p+r.u(o),f=new Error;r.l(s,l=>{if(r.o(e,o)&&(0!==(n=e[o])&&(e[o]=void 0),n)){var c=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;f.message="Loading chunk "+o+" failed.\n("+c+": "+p+")",f.name="ChunkLoadError",f.type=c,f.request=p,n[1](f)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var i=(o,u)=>{var f,d,[n,a,s]=u,l=0;if(n.some(p=>0!==e[p])){for(f in a)r.o(a,f)&&(r.m[f]=a[f]);if(s)var c=s(r)}for(o&&o(u);lli:not(:has(>a)){padding:.9em 1.1em}ul.search-results>li>a{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;box-sizing:inherit;background-color:transparent;text-decoration:none;border-radius:.3 .3 0em 0em;cursor:initial;display:block;overflow:hidden;font-size:1em;padding:.9em 1.1em;color:#000000de;line-height:1.33;border-bottom:1px solid rgba(34,36,38,.1)}ul.search-results>li>a{cursor:pointer}ul.search-results>li>a:hover{background:#F9FAFB}ul.search-results>li>a>p{visibility:visible!important;white-space:normal;text-align:left;text-transform:none;cursor:pointer;box-sizing:inherit;margin:0;line-height:1.4em;font-size:.92857143em;color:#505050}.book-list{margin:0}.book-list .list-item{display:grid;grid-template-columns:minmax(50px,120px) auto;gap:0px 0px;grid-template-areas:"thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail ." "thumbnail .";border-bottom:1px solid rgba(34,36,38,.15);padding:1em;column-gap:1em}.book-list a{text-decoration:none;color:inherit}.book-list a:hover{color:#000c}.book-list img{grid-area:thumbnail;min-width:120px;width:120px;height:150px}.book-list h2{margin:0}.book-list h3{margin-top:0}.details>h2{padding-bottom:10px;border-bottom:1px solid rgba(34,36,38,.15)}.details h2{margin-bottom:0;font-size:1.3em}.details .header{display:flex;justify-content:space-between;padding-bottom:10px;flex-wrap:wrap}.details .header ul{margin:0}.details .header h2{margin-top:10px}.details .header>div{padding-right:20px}.details .header>div:last-child{padding-right:0;min-width:80px}.details p{padding-top:10px;white-space:pre-wrap}.details img{width:200px;height:250px;display:block;margin:1em 0}form{max-width:700px}form input{width:calc(100% - 4em);margin:5px 0 22px}form textarea{width:calc(100% - 2.4em);margin:5px 0 22px}form input:disabled,form textarea:disabled{background-color:#0000000d}form button.add{margin-left:10px}form fieldset{width:100%;border:none;margin:0;padding:0}form fieldset>input:only-child{width:calc(100% - 4em)}form fieldset>input{width:calc(50% - 4em)}form fieldset input:nth-child(odd){margin-right:.2em}form>button[type=submit]{background-color:#287e2b;color:#fff}form>button[type=submit]:hover{background-color:#096c0d}input[type=date],input[type=time]{min-height:1.2em;-webkit-appearance:none}.error{top:-20px;position:relative;color:#db2828;font-size:14px}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media only screen and (max-width: 700px){nav{display:flex;border:none;box-shadow:none;gap:.5em 0}nav>a{border:1px solid rgba(34,36,38,.15)}nav>a:first-of-type{border-top-left-radius:.3em;border-bottom-left-radius:.3em;border-right:none}nav>a:last-of-type{border-top-right-radius:.3em;border-bottom-right-radius:.3em;border-left:none;margin-right:2em}nav .actions{margin:0;gap:.5rem;min-width:200px}nav .actions button{margin:0}}@media only screen and (max-width: 600px){nav .actions{justify-content:flex-end}}@media only screen and (max-width: 500px){nav>a{padding:.7em}nav>a:last-of-type{margin-right:0}}@media only screen and (max-width: 460px){h2{font-size:1.2em}[role=doc-subtitle]{font-size:1.1rem}.book-list img{grid-area:thumbnail;min-width:100px;width:100px;height:100px}.book-list .list-item{column-gap:2em;grid-template-columns:1fr 2fr}}@media only screen and (max-width: 360px){.book-list img{grid-area:thumbnail;min-width:80px;width:80px;height:100px}.book-list .list-item{column-gap:1em}}