dealposbarcode 26.4.0 → 26.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-43BCQTCM.js +1 -0
- package/chunk-57HSFD3N.js +2 -0
- package/chunk-5L565USQ.js +1 -0
- package/chunk-5N2PPLNS.js +4 -0
- package/{chunk-K6VLF2CX.js → chunk-6YHELCHZ.js} +3 -3
- package/chunk-CRSEQHFC.js +83 -0
- package/chunk-CTU5AP7B.js +288 -0
- package/{chunk-O37DZVKS.js → chunk-D5QOHW5H.js} +2 -2
- package/{chunk-Z53QPZN7.js → chunk-E3QK3ODC.js} +69 -69
- package/{chunk-QDNPGTWL.js → chunk-EEO2HP5P.js} +9 -9
- package/chunk-GIG2MJLR.js +2 -0
- package/chunk-GMOHNLLM.js +1 -0
- package/chunk-HNED55G6.js +1 -0
- package/chunk-JBBJ3TPU.js +1 -0
- package/chunk-JICYLOOO.js +63 -0
- package/chunk-KCWHXHND.js +1 -0
- package/{chunk-L6DWHY3Q.js → chunk-L4O5R6UC.js} +20 -20
- package/chunk-LI6LV6I7.js +1 -0
- package/{chunk-B7JG3YXR.js → chunk-NBRHZTE2.js} +1 -1
- package/{chunk-VOTZJRUM.js → chunk-NJJZTNUV.js} +6 -6
- package/chunk-OTQBHQHW.js +1 -0
- package/chunk-PGAUJYBS.js +1 -0
- package/chunk-PTXA6NND.js +5 -0
- package/chunk-RO2KQWOI.js +1 -0
- package/{chunk-UHUOPLTU.js → chunk-S3GMQLAP.js} +1 -1
- package/chunk-UKYVM5IX.js +1 -0
- package/{chunk-GWMFCEGG.js → chunk-UQS3DAHQ.js} +2 -2
- package/{chunk-2XMDYF6Z.js → chunk-US5V2O4J.js} +2 -2
- package/chunk-X5DLVYC4.css +1 -0
- package/chunk-YGFG76LK.js +1 -0
- package/chunk-ZQF4J35F.js +1 -0
- package/index.html +2 -2
- package/main-AFTQPQ3A.js +241 -0
- package/main-NDUVILIU.css +1 -0
- package/ngsw-worker.js +1 -1
- package/ngsw.json +72 -72
- package/package.json +1 -1
- package/styles-WREZPC5C.css +1 -0
- package/chunk-4PKIW5DF.js +0 -1
- package/chunk-54HHS5GD.js +0 -1
- package/chunk-6LME3QQ3.js +0 -1
- package/chunk-6VVFPI5Y.js +0 -1
- package/chunk-7RSU6VFI.js +0 -1
- package/chunk-BSKMZ3TO.js +0 -83
- package/chunk-D4ALG4K6.js +0 -1
- package/chunk-DL4PJF23.js +0 -1
- package/chunk-GO6JR33E.js +0 -2
- package/chunk-H3UWUKL6.js +0 -5
- package/chunk-IKSROKD5.css +0 -1
- package/chunk-KB5NTCRW.js +0 -1
- package/chunk-LWOVZVNU.js +0 -1
- package/chunk-OBJ7BBBR.js +0 -2
- package/chunk-OII4QBYL.js +0 -1
- package/chunk-Q4BASK47.js +0 -1
- package/chunk-QMO7XFCP.js +0 -1
- package/chunk-S336NHAY.js +0 -63
- package/chunk-TPQNDUF7.js +0 -4
- package/chunk-UMKOCHRL.js +0 -288
- package/chunk-WKK7N6HR.js +0 -1
- package/main-4BFS7RVV.css +0 -1
- package/main-4R57OCWV.js +0 -241
- package/styles-XWKQSHJN.css +0 -1
- /package/{polyfills-DHHU6LMO.js → polyfills-NS4656QS.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-PTXA6NND.js";import"./chunk-D5QOHW5H.js";import{a as z,c as K,h as S}from"./chunk-KCWHXHND.js";import{a as ae,b as pe,c as de,d as ue}from"./chunk-L4O5R6UC.js";import{j as se}from"./chunk-NJJZTNUV.js";import"./chunk-UQS3DAHQ.js";import{a as le}from"./chunk-LI6LV6I7.js";import{k as ie,q as re,r as ne,s as oe}from"./chunk-EEO2HP5P.js";import"./chunk-CTU5AP7B.js";import"./chunk-57HSFD3N.js";import{E as y,F as Y,O as J,P as Q,T as X,W as Z,X as $,aa as ee,ca as te}from"./chunk-GIG2MJLR.js";import{Aa as d,Ac as g,Bc as M,Da as A,Db as F,Ec as j,Fc as E,Gc as D,Hc as P,J as G,Kc as N,M as L,O,Qb as I,Rb as k,Wb as c,Wc as U,Xb as o,Yb as s,Zb as v,Zc as T,_ as b,ec as C,gb as m,i as R,jc as _,ka as w,lc as p,pa as l,qa as a,u as q,ua as B,xb as H,yc as W}from"./chunk-5N2PPLNS.js";import{a as x,b as V}from"./chunk-YGFG76LK.js";var me=()=>({width:"25rem"}),ce=()=>({"min-width":"50rem"});function _e(r,h){if(r&1){let e=C();o(0,"p-button",19),_("onClick",function(){l(e);let i=p(2);return a(i.onDeleteUser())}),s()}}function ge(r,h){if(r&1){let e=C();o(0,"div",16),I(1,_e,1,0,"p-button",17),o(2,"p-button",18),_("onClick",function(){l(e);let i=p();return a(i.openAddUser())}),s()()}if(r&2){let e=p();m(),k(e.userChecked()&&e.userChecked().length>0?1:-1)}}function he(r,h){r&1&&(o(0,"tr")(1,"th",22),v(2,"p-tableHeaderCheckbox"),s(),o(3,"th"),g(4,"Login ID"),s(),o(5,"th"),g(6,"Group"),s()())}function fe(r,h){if(r&1){let e=C();o(0,"tr")(1,"td"),v(2,"p-tableCheckbox",23),s(),o(3,"td")(4,"button",24),_("click",function(){let i=l(e).$implicit,n=p(3);return a(n.openEditUser(i.UserID))}),o(5,"span"),g(6),s()()(),o(7,"td"),g(8),s()()}if(r&2){let e=h.$implicit;m(2),c("value",e),m(4),M(e.Name),m(2),M(e.GroupName)}}function be(r,h){if(r&1&&g(0),r&2){let e=p(3);j(" Showing ",e.displayStart()," to ",e.displayEnd()," of ",e.userCount()," entries ")}}function Ce(r,h){if(r&1){let e=C();o(0,"p-table",21),_("onPage",function(i){l(e);let n=p(2);return a(n.pageChange(i))})("onRowUnselect",function(i){l(e);let n=p(2);return a(n.onRowUnselect(i))})("onRowSelect",function(i){l(e);let n=p(2);return a(n.onRowSelect(i))}),F(1,he,7,0,"ng-template",null,3,U)(3,fe,9,3,"ng-template",null,4,U)(5,be,1,3,"ng-template",null,5,U),s()}if(r&2){let e=p(2);c("lazy",!0)("paginator",!0)("rows",e.rowsPerPage())("first",e.firstIndex())("totalRecords",e.userCount())("value",e.userList())("tableStyle",N(7,ce))}}function Ue(r,h){if(r&1&&(o(0,"p-panel"),I(1,Ce,7,8,"p-table",20),s()),r&2){let e=p();m(),k(e.filter()?1:-1)}}function ye(r,h){if(r&1){let e=C();o(0,"form",8)(1,"div",9)(2,"label",10),g(3,"Group"),s(),v(4,"p-select",12),s(),o(5,"div",13)(6,"p-button",14),_("onClick",function(){l(e);let i=p();return a(i.onCloseFilterDialog())}),s(),o(7,"p-button",25),_("onClick",function(){l(e);let i=p();return a(i.submitFilter())}),s()()()}if(r&2){let e=p();c("formGroup",e.dialogFilterForm),m(4),c("options",e.groupOptions())}}var Oe=(()=>{class r{constructor(){this.dialogFilterVisible=d(!1),this.userList=d([]),this.groupOptions=d([]),this.userOptions=d([]),this.userChecked=d([]),this.dialogVisible=d(!1),this.dialogMode=d(null),this.querySearch=d(""),this.filter=d(null),this.userCount=d(0),this.firstIndex=d(0),this.rowsPerPage=d(10),this.displayStart=T(()=>{let e=this.userCount();return e===0?0:Math.min(this.firstIndex()+1,e)}),this.displayEnd=T(()=>Math.min(this.firstIndex()+this.rowsPerPage(),this.userCount())),this.setupUsersService=w(le),this.fb=w(ee),this.route=w(z),this.router=w(K),this.destroyRef=w(B),this.initForm(),this.loadUsers(),this.loadOptions(),this.listenRouteState(),A(()=>{let e=Object.fromEntries(Object.entries(this.filter()??{}).filter(([t,i])=>i!==S));this.loadUsers(e)}),Y(this.querySearch).pipe(L(300),O(),y(this.destroyRef)).subscribe(e=>{this.firstIndex.set(0),this.filter.update(t=>t&&V(x({},t),{Name:e?.trim()?e.trim():S,PageNumber:1}))})}ngOnInit(){throw new Error("Method not implemented.")}initForm(){this.inviteUserForm=this.fb.group({UserID:this.fb.control(null),GroupID:this.fb.control(null)}),this.dialogFilterForm=this.fb.group({GroupID:this.fb.control(null)})}loadUsers(e){this.setupUsersService.getUserList(e).pipe(b(t=>{this.userList.set(t.Data),this.userCount.set(t.Count)}),G(t=>(this.userList.set([]),this.userCount.set(0),R)),y(this.destroyRef)).subscribe()}submitFilter(){if(this.dialogFilterForm.invalid){this.dialogFilterForm.markAllAsTouched();return}let e=this.dialogFilterForm.getRawValue();this.filter.update(t=>t&&V(x({},t),{GroupID:e.GroupID||S,PageNumber:1})),this.dialogFilterVisible.set(!1)}pageChange(e){console.log(e),this.firstIndex.set(e.first??0),this.rowsPerPage.set(e.rows??this.rowsPerPage());let t=(e.first??0)/(e.rows??this.rowsPerPage())+1;this.filter.update(i=>i&&V(x({},i),{PageNumber:t}))}loadOptions(){let e=this.route.snapshot.queryParamMap.has("id")?{ID:this.route.snapshot.queryParamMap.get("id")||""}:{};q([this.setupUsersService.getUserListLoader1(),this.setupUsersService.getUserListLoader2(e)]).pipe(b(([t,i])=>{this.filter.update(()=>V(x({},t.Filter),{Name:t.Filter.Name||S,GroupID:t.Filter.GroupID||S})),this.groupOptions.set(t.Options),this.userOptions.set(i.Data);let n=t.Filter.PageSize??this.rowsPerPage(),f=t.Filter.PageNumber??1;this.rowsPerPage.set(n),this.firstIndex.set((f-1)*n)}),y(this.destroyRef)).subscribe()}listenRouteState(){this.route.queryParamMap.pipe(b(e=>{let t=e.get("dialog"),i=e.get("id");if(t==="create"){this.dialogMode.update(n=>"create"),this.dialogVisible.update(n=>!0);return}if(t==="edit"&&i){this.dialogMode.update(n=>"edit"),this.dialogVisible.update(n=>!0),this.handleUserEdit(i);return}this.dialogVisible.update(n=>!1),this.dialogMode.update(n=>null)})).subscribe()}openAddUser(){this.router.navigate([],{queryParams:{dialog:"create"},queryParamsHandling:"merge"})}openEditUser(e){this.router.navigate([],{queryParams:{dialog:"edit",id:e},queryParamsHandling:"merge"})}closeModal(){this.router.navigate([],{queryParams:{dialog:null,id:null},queryParamsHandling:"merge"}),this.inviteUserForm.reset()}resetModalState(){this.dialogMode.update(e=>null),this.inviteUserForm.reset()}onSubmit(){if(this.inviteUserForm.invalid){this.inviteUserForm.markAllAsTouched();return}let e=this.inviteUserForm.getRawValue();(this.dialogMode()==="edit"?this.setupUsersService.updateUser(e.UserID,e.GroupID):this.setupUsersService.inviteUser(e)).pipe(b(()=>{this.loadUsers(),this.closeModal(),this.userChecked.set([]),this.inviteUserForm.reset()}),y(this.destroyRef)).subscribe()}onDeleteUser(){this.setupUsersService.deleteUser(this.userChecked()).pipe(b(()=>{this.loadUsers(),this.userChecked.set([])}),y(this.destroyRef)).subscribe()}handleUserEdit(e){this.inviteUserForm.reset(),this.setupUsersService.getUserByID(e).pipe(b(t=>{this.loadOptions(),this.inviteUserForm.controls.UserID.disable({emitEvent:!1}),this.inviteUserForm.patchValue({UserID:t.UserID,GroupID:t.GroupID})}),y(this.destroyRef)).subscribe()}onCloseFilterDialog(){this.dialogFilterVisible.set(!1)}onRowSelect(e){let t=e.data.UserID;this.userChecked().includes(t)||this.userChecked.update(i=>[...i,t])}onRowUnselect(e){if("UserID"in e.data){let t=e.data?.UserID;if(!t)return;this.userChecked.update(i=>i.filter(n=>n!==t))}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=H({type:r,selectors:[["app-users"]],decls:20,vars:13,consts:[["actionButton",""],["content",""],["filterDialog",""],["header",""],["body",""],["paginatorleft",""],["pageTitle","Users",3,"dialogFilterVisibleChange","querySearchChange","searchable","filterable","dialogFilterVisible","querySearch"],["appendTo","body",3,"visibleChange","onHide","header","modal","visible"],[1,"d-flex","flex-column","gap-4",3,"formGroup"],[1,"form-group","d-flex","flex-column","gap-1"],["for",""],["filter","","filterBy","Name","formControlName","UserID","appendTo","body","optionLabel","Name","optionValue","ID","placeholder","Select a User",3,"options"],["showClear","","filter","","filterBy","Name","formControlName","GroupID","appendTo","body","optionLabel","Name","optionValue","ID","placeholder","Select a Group",3,"options"],[1,"d-flex","justify-content-end","gap-2"],["label","Cancel","outlined","","severity","secondary",3,"onClick"],["severity","info","label","Save",3,"onClick"],[1,"d-flex","gap-2","justify-content-end","align-items-center"],["label","Delete"],["severity","info","label","Invite",3,"onClick"],["label","Delete",3,"onClick"],["dataKey","UserID",3,"lazy","paginator","rows","first","totalRecords","value","tableStyle"],["dataKey","UserID",3,"onPage","onRowUnselect","onRowSelect","lazy","paginator","rows","first","totalRecords","value","tableStyle"],[2,"width","4rem"],[3,"value"],[1,"btn","btn-link","link-primary","link-underline-opacity-0",3,"click"],["severity","info","label","Apply",3,"onClick"]],template:function(t,i){if(t&1){let n=C();o(0,"app-main-panel",6),P("dialogFilterVisibleChange",function(u){return l(n),D(i.dialogFilterVisible,u)||(i.dialogFilterVisible=u),a(u)})("querySearchChange",function(u){return l(n),D(i.querySearch,u)||(i.querySearch=u),a(u)}),F(1,ge,3,1,"ng-template",null,0,U)(3,Ue,2,1,"ng-template",null,1,U)(5,ye,8,2,"ng-template",null,2,U),s(),o(7,"p-dialog",7),P("visibleChange",function(u){return l(n),D(i.dialogVisible,u)||(i.dialogVisible=u),a(u)}),_("onHide",function(){return l(n),a(i.closeModal())}),o(8,"form",8)(9,"div",9)(10,"label",10),g(11,"User"),s(),v(12,"p-select",11),s(),o(13,"div",9)(14,"label",10),g(15,"Group"),s(),v(16,"p-select",12),s(),o(17,"div",13)(18,"p-button",14),_("onClick",function(){return l(n),a(i.closeModal())}),s(),o(19,"p-button",15),_("onClick",function(){return l(n),a(i.onSubmit())}),s()()()()}t&2&&(c("searchable",!0)("filterable",!0),E("dialogFilterVisible",i.dialogFilterVisible)("querySearch",i.querySearch),m(7),W(N(12,me)),c("header",i.dialogMode()==="edit"?"Edit User":"Invite User")("modal",!0),E("visible",i.dialogVisible),m(),c("formGroup",i.inviteUserForm),m(4),c("options",i.userOptions()),m(4),c("options",i.groupOptions()))},dependencies:[ne,ue,ae,pe,de,oe,ie,re,se,te,X,J,Q,$,Z],styles:[".p-datatable .p-datatable-thead tr th{background-color:#f6f6f6!important}"]})}}return r})();export{Oe as UsersComponent};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ as G,$b as re,A as p,B as q,F as w,H as Z,I as O,Ka as E,Lb as se,N as L,Nb as oe,P as X,Y as ee,Z as d,_ as te,_b as ae,c as Y,d as u,fa as m,ga as C,hd as R,i as K,ka as r,lb as V,mb as ie,mc as le,n as x,na as H,nc as ce,od as N,pc as de,qc as he,rc as ue,sa as b,t as F,ta as M,wa as v,xa as T,xb as $,xc as P,yb as S,zb as ne,zc as A}from"./chunk-5N2PPLNS.js";import{a as B,b as Q}from"./chunk-YGFG76LK.js";var be=["*"];var ve=["dialog"];var _e={animation:!0,transitionTimerDelayMs:5},pe=(()=>{class i{constructor(){this.animation=_e.animation}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function ye(i){let{transitionDelay:s,transitionDuration:e}=window.getComputedStyle(i),t=parseFloat(s),n=parseFloat(e);return(t+n)*1e3}function fe(i){return typeof i=="string"}function z(i){return i!=null}function De(i){return i&&i.then}function W(i){return(i||document.body).getBoundingClientRect()}function we(i){return s=>new Y(e=>{let t=a=>i.run(()=>e.next(a)),n=a=>i.run(()=>e.error(a)),o=()=>i.run(()=>e.complete());return s.subscribe({next:t,error:n,complete:o})})}var Ce=()=>{},{transitionTimerDelayMs:Te}=_e,k=new Map,f=(i,s,e,t)=>{let n=t.context||{},o=k.get(s);if(o)switch(t.runningTransition){case"continue":return K;case"stop":i.run(()=>o.transition$.complete()),n=Object.assign(o.context,n),k.delete(s)}let a=e(s,t.animation,n)||Ce;if(!t.animation||window.getComputedStyle(s).transitionProperty==="none")return i.run(()=>a()),x(void 0).pipe(we(i));let l=new u,c=new u,h=l.pipe(X(!0));k.set(s,{transition$:l,complete:()=>{c.next(),c.complete()},context:n});let D=ye(s);return i.runOutsideAngular(()=>{let _=p(s,"transitionend").pipe(d(h),w(({target:me})=>me===s)),g=q(D+Te).pipe(d(h));Z(g,_,c).pipe(d(h)).subscribe(()=>{k.delete(s),i.run(()=>{a(),l.next(),l.complete()})})}),l.asObservable()};function Se(i,s){if(typeof navigator>"u")return"0px";let{classList:e}=i,t=e.contains("show");t||e.add("show"),i.style[s]="";let n=i.getBoundingClientRect()[s]+"px";return t||e.remove("show"),n}var Oe=(i,s,e)=>{let{direction:t,maxSize:n,dimension:o}=e,{classList:a}=i;function l(){a.add("collapse"),t==="show"?a.add("show"):a.remove("show")}if(!s){l();return}return n||(n=Se(i,o),e.maxSize=n,i.style[o]=t!=="show"?n:"0px",a.remove("collapse","collapsing","show"),W(i),a.add("collapsing")),i.style[o]=t==="show"?n:"0px",()=>{l(),a.remove("collapsing"),i.style[o]=""}},Me=(()=>{class i{constructor(){this._ngbConfig=r(pe),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),hi=(()=>{class i{constructor(){this._config=r(Me),this._element=r(E),this._zone=r(T),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new v,this.horizontal=this._config.horizontal,this.shown=new v,this.hidden=new v}set collapsed(e){this._isCollapsed!==e&&(this._isCollapsed=e,this._afterInit&&this._runTransitionWithEvents(e,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(e=this._isCollapsed){this.collapsed=!e,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(e,t){return f(this._zone,this._element.nativeElement,Oe,{animation:t,runningTransition:"stop",context:{direction:e?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(e,t){this._runTransition(e,t).subscribe(()=>{e?this.hidden.emit():this.shown.emit()})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=ne({type:i,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(t,n){t&2&&P("collapse-horizontal",n.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]})}}return i})();var ui=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=S({type:i})}static{this.\u0275inj=C({})}}return i})();var _i=(()=>{let i=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,s=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(i()||s()):!1})();var Ee=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function ge(i){let s=Array.from(i.querySelectorAll(Ee)).filter(e=>e.tabIndex!==-1);return[s[0],s[s.length-1]]}var Pe=(i,s,e,t=!1)=>{i.runOutsideAngular(()=>{let n=p(s,"focusin").pipe(d(e),F(o=>o.target));p(s,"keydown").pipe(d(e),w(o=>o.key==="Tab"),G(n)).subscribe(([o,a])=>{let[l,c]=ge(s);(a===l||a===s)&&o.shiftKey&&(c.focus(),o.preventDefault()),a===c&&!o.shiftKey&&(l.focus(),o.preventDefault())}),t&&p(s,"click").pipe(d(e),G(n),F(o=>o[1])).subscribe(o=>o.focus())})};var pi=new Date(1882,10,12),fi=new Date(2174,10,25);var gi=1e3*60*60*24;var J=1080,Ae=24*J,Re=12*J+793,mi=29*Ae+Re,bi=11*J+204;var vi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=S({type:i})}static{this.\u0275inj=C({})}}return i})();var yi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=S({type:i})}static{this.\u0275inj=C({})}}return i})(),Ne=(()=>{class i{constructor(){this._ngbConfig=r(pe),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),y=class{constructor(s,e,t){this.nodes=s,this.viewRef=e,this.componentRef=t}};var ke=(()=>{class i{constructor(){this._document=r(M)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),t=this._document.body,n=t.style,{overflow:o,paddingRight:a}=n;if(e>0){let l=parseFloat(window.getComputedStyle(t).paddingRight);n.paddingRight=`${l+e}px`}return n.overflow="hidden",()=>{e>0&&(n.paddingRight=a),n.overflow=o}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ie=["animation","backdropClass"],Be=(()=>{class i{constructor(){this._nativeElement=r(E).nativeElement,this._zone=r(T),this._injector=r(b),this._cdRef=r(R)}ngOnInit(){V({mixedReadWrite:()=>f(this._zone,this._nativeElement,(e,t)=>{t&&W(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return f(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(e){Ie.forEach(t=>{z(e[t])&&(this[t]=e[t])}),this._cdRef.markForCheck()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=$({type:i,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(t,n){t&2&&(A("modal-backdrop"+(n.backdropClass?" "+n.backdropClass:"")),P("show",!n.animation)("fade",n.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,n){},encapsulation:2})}}return i})(),I=class{update(s){}close(s){}dismiss(s){}},j=class{update(s){this._windowCmptRef.instance.updateOptions(s),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(s)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(d(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(d(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(s,e,t,n){this._windowCmptRef=s,this._contentRef=e,this._backdropCmptRef=t,this._beforeDismiss=n,this._closed=new u,this._dismissed=new u,this._hidden=new u,s.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,a)=>{this._resolve=o,this._reject=a}),this.result.then(null,()=>{})}close(s){this._windowCmptRef&&(this._closed.next(s),this._resolve(s),this._removeModalElements())}_dismiss(s){this._dismissed.next(s),this._reject(s),this._removeModalElements()}dismiss(s){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(s);else{let e=this._beforeDismiss();De(e)?e.then(t=>{t!==!1&&this._dismiss(s)},()=>{}):e!==!1&&this._dismiss(s)}}_removeModalElements(){let s=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():x(void 0);s.subscribe(()=>{let{nativeElement:t}=this._windowCmptRef.location;t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:t}=this._backdropCmptRef.location;t.parentNode.removeChild(t),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),O(s,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},U=(function(i){return i[i.BACKDROP_CLICK=0]="BACKDROP_CLICK",i[i.ESC=1]="ESC",i})(U||{}),xe=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],Fe=(()=>{class i{constructor(){this._document=r(M),this._elRef=r(E),this._zone=r(T),this._injector=r(b),this._cdRef=r(R),this._closed$=new u,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new v,this.shown=new u,this.hidden=new u}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":fe(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,V({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,t={animation:this.animation,runningTransition:"stop"},n=f(this._zone,e,()=>e.classList.remove("show"),t),o=f(this._zone,this._dialogEl.nativeElement,()=>{},t),a=O(n,o);return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}updateOptions(e){xe.forEach(t=>{z(e[t])&&(this[t]=e[t])}),this._cdRef.markForCheck()}_show(){let e={animation:this.animation,runningTransition:"continue"},t=f(this._zone,this._elRef.nativeElement,(o,a)=>{a&&W(o),o.classList.add("show")},e),n=f(this._zone,this._dialogEl.nativeElement,()=>{},e);O(t,n).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{p(e,"keydown").pipe(d(this._closed$),w(n=>n.key==="Escape")).subscribe(n=>{this.keyboard?requestAnimationFrame(()=>{n.defaultPrevented||this._zone.run(()=>this.dismiss(U.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let t=!1;p(this._dialogEl.nativeElement,"mousedown").pipe(d(this._closed$),te(()=>t=!1),ee(()=>p(e,"mouseup").pipe(d(this._closed$),L(1))),w(({target:n})=>e===n)).subscribe(()=>{t=!0}),p(e,"click").pipe(d(this._closed$)).subscribe(({target:n})=>{e===n&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!t&&this._zone.run(()=>this.dismiss(U.BACKDROP_CLICK))),t=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let t=e.querySelector("[ngbAutofocus]"),n=ge(e)[0];(t||n||e).focus()}}_restoreFocus(){let e=this._document.body,t=this._elWithFocus,n;t&&t.focus&&e.contains(t)?n=t:n=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&f(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=$({type:i,selectors:[["ngb-modal-window"]],viewQuery:function(t,n){if(t&1&&de(ve,7),t&2){let o;he(o=ue())&&(n._dialogEl=o.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(t,n){t&2&&(oe("aria-modal",!0)("aria-labelledby",n.ariaLabelledBy)("aria-describedby",n.ariaDescribedBy)("role",n.role),A("modal d-block"+(n.windowClass?" "+n.windowClass:"")),P("fade",n.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:be,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(t,n){t&1&&(le(),ae(0,"div",1,0)(2,"div",2),ce(3),re()()),t&2&&A("modal-dialog"+(n.size?" modal-"+n.size:"")+(n.centered?" modal-dialog-centered":"")+n.fullscreenClass+(n.scrollable?" modal-dialog-scrollable":"")+(n.modalDialogClass?" "+n.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
|
|
2
|
+
`],encapsulation:2})}}return i})(),Le=(()=>{class i{constructor(){this._applicationRef=r(se),this._injector=r(b),this._environmentInjector=r(H),this._document=r(M),this._scrollBar=r(ke),this._activeWindowCmptHasChanged=new u,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new v;let e=r(T);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let t=this._windowCmpts[this._windowCmpts.length-1];Pe(e,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}_restoreScrollBar(){let e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,t,n){let o=n.container instanceof HTMLElement?n.container:z(n.container)?this._document.querySelector(n.container):this._document.body;if(!o)throw new Error(`The specified modal container "${n.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let a=new I;e=n.injector||e;let l=e.get(H,null)||this._environmentInjector,c=this._getContentRef(e,l,t,a,n),h=n.backdrop!==!1?this._attachBackdrop(o):void 0,D=this._attachWindowComponent(o,c.nodes),_=new j(D,c,h,n.beforeDismiss);return this._registerModalRef(_),this._registerWindowCmpt(D),_.hidden.pipe(L(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=g=>{_.close(g)},a.dismiss=g=>{_.dismiss(g)},a.update=g=>{_.update(g)},_.update(n),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),h&&h.instance&&h.changeDetectorRef.detectChanges(),D.changeDetectorRef.detectChanges(),_}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(t=>t.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let t=N(Be,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(t.hostView),e.appendChild(t.location.nativeElement),t}_attachWindowComponent(e,t){let n=N(Fe,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:t});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_getContentRef(e,t,n,o,a){return n?n instanceof ie?this._createFromTemplateRef(n,o):fe(n)?this._createFromString(n):this._createFromComponent(e,t,n,o,a):new y([])}_createFromTemplateRef(e,t){let n={$implicit:t,close(a){t.close(a)},dismiss(a){t.dismiss(a)}},o=e.createEmbeddedView(n);return this._applicationRef.attachView(o),new y([o.rootNodes],o)}_createFromString(e){let t=this._document.createTextNode(`${e}`);return new y([[t]])}_createFromComponent(e,t,n,o,a){let l=b.create({providers:[{provide:I,useValue:o}],parent:e}),c=N(n,{environmentInjector:t,elementInjector:l}),h=c.location.nativeElement;return a.scrollable&&h.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new y([[h]],c.hostView,c)}_setAriaHidden(e){let t=e.parentElement;t&&e!==this._document.body&&(Array.from(t.children).forEach(n=>{n!==e&&n.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(t))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){let t=()=>{let n=this._modalRefs.indexOf(e);n>-1&&(this._modalRefs.splice(n,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(t,t)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{let t=this._windowCmpts.indexOf(e);t>-1&&(this._windowCmpts.splice(t,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Di=(()=>{class i{constructor(){this._injector=r(b),this._modalStack=r(Le),this._config=r(Ne)}open(e,t={}){let n=B(Q(B({},this._config),{animation:this._config.animation}),t);return this._modalStack.open(this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var wi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=S({type:i})}static{this.\u0275inj=C({})}}return i})();export{hi as a,ui as b,vi as c,yi as d,I as e,Di as f,wi as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as K}from"./chunk-6YHELCHZ.js";import{a as d,b as H}from"./chunk-HNED55G6.js";import{c as N,g as T}from"./chunk-KCWHXHND.js";import{d as B}from"./chunk-57HSFD3N.js";import{J as I,K as F,O as j,P as A,U,W as G,X as R,aa as z,ca as L,f as O,p as V}from"./chunk-GIG2MJLR.js";import{Aa as x,Ac as i,Bc as E,Cc as D,Lc as _,Qb as b,Rb as S,Wb as a,Xb as e,Yb as t,Zb as l,db as y,ec as P,gb as n,jc as s,ka as f,pa as m,qa as c,vc as M,xb as k}from"./chunk-5N2PPLNS.js";import"./chunk-YGFG76LK.js";var C=r=>({active:r});function q(r,w){r&1&&(e(0,"h4"),i(1," This menu is for printing barcodes that will be placed directly on your products. "),t())}function J(r,w){r&1&&(e(0,"h4"),i(1," This option is designed for printing barcodes and labels that will be displayed on the shelves where your products are stored. "),t())}function Q(r,w){r&1&&(e(0,"h4"),i(1," This option is for setting up user accounts and managing user permissions. "),t())}var de=(()=>{class r{constructor(){this.domain=x(""),this.username=x(""),this.appStore=f(H),this.router=f(N),this.fb=f(z),this.authService=f(K)}ngOnInit(){this.initForm()}ngAfterViewInit(){this.domain.set(localStorage.getItem(d.Host)),this.username.set(localStorage.getItem(d.Username))}onNext(){let h=this.form.get("printMode").value;switch(this.appStore.clearAll(),h){case 1:this.form.get("rememberMe").value&&localStorage.setItem(d.PrintMode,"barcode"),this.router.navigate(["/pages/profile-template"]);break;case 2:this.form.get("rememberMe").value&&localStorage.setItem(d.PrintMode,"priceLabel"),this.router.navigate(["/pages/price-label"]);break;case 3:this.form.get("rememberMe").value&&localStorage.setItem(d.PrintMode,"setupUsers"),this.router.navigate(["/pages/setup/users"]);break;default:console.error("Unknown print mode selected:",h)}}initForm(){this.form=this.fb.group({printMode:this.fb.control(localStorage.getItem(d.PrintMode)==="priceLabel"?2:1),rememberMe:this.fb.control(!0)})}static{this.\u0275fac=function(g){return new(g||r)}}static{this.\u0275cmp=k({type:r,selectors:[["app-print-mode-selector"]],decls:70,vars:19,consts:[["radioDefault1",""],["radioDefault2",""],["radioDefault3",""],[1,"navbar","navbar-light","bg-white","shadow-sm","px-4","py-2"],[1,"fw-normal","mt-2"],[1,"dropdown"],["type","button","id","profileMenu","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-light","rounded-circle","d-flex","align-items-center","justify-content-center",2,"width","40px","height","40px"],[1,"fa-solid","fa-user"],["aria-labelledby","profileMenu",1,"dropdown-menu","dropdown-menu-end","shadow","border-0","p-3",2,"width","250px","border-radius","1rem"],[1,"mb-2"],[1,"fw-bold","text-uppercase"],[1,"d-flex","align-items-center","mb-3"],[1,"me-3"],[1,"fa-solid","fa-user-circle","fa-3x","text-secondary"],[1,"mt-3","fw-bold"],[1,"text-muted","fw-bolder"],["rel","noopener noreferrer","target","_blank",1,"text-primary","text-decoration-none",3,"href"],[1,"dropdown-divider"],["href","javascript:void(0)",1,"btn","btn-primary","w-100","rounded-pill",3,"click"],[1,"d-flex","flex-column",2,"height","calc(100vh - 56px)"],[1,"flex-grow-1","w-100","d-flex","flex-column","justify-content-center","align-items-center","gap-4","px-3"],["id","header",1,"text-center","mb-4"],[1,"row","g-4","justify-content-center","w-100",2,"max-width","960px",3,"formGroup"],["formControlName","printMode","type","radio","name","printMode",1,"form-check-input","d-none",3,"value"],["formControlName","printMode","type","radio","name","printMode","checked","",1,"form-check-input","d-none",3,"value"],[1,"d-flex","flex-column","align-items-center","gap-4","w-100"],[1,"d-flex","gap-5","justify-content-center","flex-wrap"],[1,"card","option-card",3,"click","ngClass"],[1,"card-body","text-center"],[1,"icon-wrapper","mb-2","mt-4"],[1,"fa-solid","fa-barcode"],[1,"text-muted","mb-1"],[1,"fw-normal"],[1,"fa-solid","fa-shelves"],[1,"form-check","d-flex","justify-content-center","align-items-center","gap-2","mt-3"],["type","checkbox","formControlName","rememberMe","id","checkDefault",1,"form-check-input"],["for","checkDefault",1,"form-check-label"],[1,"mt-3"],["type","button",1,"btn","btn-primary","btn-lg","px-5","rounded-pill","shadow-lg",3,"click"]],template:function(g,o){if(g&1){let p=P();e(0,"nav",3)(1,"h2",4),i(2,"Choose Barcode Mode"),t(),e(3,"div",5)(4,"button",6),l(5,"i",7),t(),e(6,"ul",8)(7,"li",9)(8,"span",10),i(9,"User Profile"),t()(),e(10,"li",11)(11,"div",12),l(12,"i",13),t(),e(13,"div")(14,"h6",14),i(15),t(),e(16,"h6",15)(17,"a",16),i(18),t()()()(),e(19,"li"),l(20,"hr",17),t(),e(21,"li")(22,"button",18),s("click",function(){return m(p),c(o.authService.logout())}),i(23,"SIGN OUT "),t()()()()(),e(24,"div",19)(25,"main",20)(26,"div",21),b(27,q,2,0,"h4"),b(28,J,2,0,"h4"),b(29,Q,2,0,"h4"),t(),e(30,"div",22),l(31,"input",23,0)(33,"input",24,1)(35,"input",24,2),e(37,"div",25)(38,"div",26)(39,"div",27),s("click",function(){m(p);let u=M(32);return c(u.click())}),e(40,"div",28)(41,"div",29),l(42,"i",30),t(),e(43,"h6",31),i(44,"Print"),t(),e(45,"h4",32),i(46,"Product"),t()()(),e(47,"div",27),s("click",function(){m(p);let u=M(34);return c(u.click())}),e(48,"div",28)(49,"div",29),l(50,"i",33),t(),e(51,"h6",31),i(52,"Print"),t(),e(53,"h4",32),i(54,"Shelf"),t()()(),e(55,"div",27),s("click",function(){m(p);let u=M(36);return c(u.click())}),e(56,"div",28)(57,"div",29),l(58,"i",7),t(),e(59,"h6",31),i(60,"Setup"),t(),e(61,"h4",32),i(62,"Users"),t()()()(),e(63,"div",34),l(64,"input",35),e(65,"label",36),i(66,"Remember my decision"),t()(),e(67,"div",37)(68,"button",38),s("click",function(){return m(p),c(o.onNext())}),i(69," Next "),t()()()()()()}g&2&&(n(15),E(o.username()),n(2),a("href","https://"+o.domain(),y),n(),D(" ",o.domain()," "),n(9),S(o.form.get("printMode").value===1?27:-1),n(),S(o.form.get("printMode").value===2?28:-1),n(),S(o.form.get("printMode").value===3?29:-1),n(),a("formGroup",o.form),n(),a("value",1),n(2),a("value",2),n(2),a("value",3),n(4),a("ngClass",_(13,C,o.form.get("printMode").value===1)),n(8),a("ngClass",_(15,C,o.form.get("printMode").value===2)),n(8),a("ngClass",_(17,C,o.form.get("printMode").value===3)))},dependencies:[V,O,T,L,F,I,U,j,A,R,G,B],styles:["[_nghost-%COMP%]{display:block}main[_ngcontent-%COMP%]{background-color:#f5f5f5}.card[_ngcontent-%COMP%]{width:205px;height:205px;border-radius:8px;transition:transform .3s ease,border-color .3s ease}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:4rem}.card.active[_ngcontent-%COMP%]{border:2px solid blue;transform:scale(1.05)}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;right:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(1){font-size:2rem;font-weight:500}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(2){font-size:.8rem}"],changeDetection:0})}}return r})();export{de as PrintModeSelectorComponent};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as z,b as Q}from"./chunk-YGFG76LK.js";function E(e){return typeof e=="function"}function Xe(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Sr=Xe(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function gt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof Sr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ml(i)}catch(s){t=t??[],s instanceof Sr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Sr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ml(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&>(n,t)}remove(t){let{_finalizers:n}=this;n&>(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var Oi=B.EMPTY;function xr(e){return e instanceof B||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function ml(e){E(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Bt={setTimeout(e,t,...n){let{delegate:r}=Bt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Bt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ar(e){Bt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function ye(){}var yl=Pi("C",void 0,void 0);function vl(e){return Pi("E",void 0,e)}function El(e){return Pi("N",e,void 0)}function Pi(e,t,n){return{kind:e,value:t,error:n}}var mt=null;function $t(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!mt;if(t&&(mt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=mt;if(mt=null,n)throw r}}else e()}function Il(e){me.useDeprecatedSynchronousErrorHandling&&mt&&(mt.errorThrown=!0,mt.error=e)}var yt=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=sg}static create(t,n,r){return new Ve(t,n,r)}next(t){this.isStopped?Fi(El(t),this):this._next(t)}error(t){this.isStopped?Fi(vl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fi(yl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},og=Function.prototype.bind;function Li(e,t){return og.call(e,t)}var ji=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rr(r)}else Rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rr(n)}}},Ve=class extends yt{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Li(t.next,i),error:t.error&&Li(t.error,i),complete:t.complete&&Li(t.complete,i)}):o=t}this.destination=new ji(o)}};function Rr(e){me.useDeprecatedSynchronousErrorHandling?Il(e):Ar(e)}function ig(e){throw e}function Fi(e,t){let{onStoppedNotification:n}=me;n&&Bt.setTimeout(()=>n(e,t))}var sg={closed:!0,next:ye,error:ig,complete:ye};var Ut=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function ag(...e){return Vi(e)}function Vi(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=lg(n)?n:new Ve(n,r,o);return $t(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Dl(r),new r((o,i)=>{let s=new Ve({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Ut](){return this}pipe(...n){return Vi(n)(this)}toPromise(n){return n=Dl(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Dl(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function cg(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function lg(e){return e&&e instanceof yt||cg(e)&&xr(e)}var He=new T(e=>e.complete());function kr(e){return e&&E(e.schedule)}function Hi(e){return e[e.length-1]}function et(e){return E(Hi(e))?e.pop():void 0}function _e(e){return kr(Hi(e))?e.pop():void 0}function Cl(e,t){return typeof Hi(e)=="number"?e.pop():t}function zb(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Tl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function bl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function vt(e){return this instanceof vt?(this.v=e,this):new vt(e)}function wl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(S,N){i.push([f,m,S,N])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof vt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function _l(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof bl=="function"?bl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var qt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Or(e){return E(e?.then)}function Pr(e){return E(e[Ut])}function Lr(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function Fr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ug(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var jr=ug();function Vr(e){return E(e?.[jr])}function Hr(e){return wl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield vt(n.read());if(o)return yield vt(void 0);yield yield vt(r)}}finally{n.releaseLock()}})}function Br(e){return E(e?.getReader)}function w(e){if(e instanceof T)return e;if(e!=null){if(Pr(e))return dg(e);if(qt(e))return fg(e);if(Or(e))return pg(e);if(Lr(e))return Ml(e);if(Vr(e))return hg(e);if(Br(e))return gg(e)}throw Fr(e)}function dg(e){return new T(t=>{let n=e[Ut]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fg(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function pg(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ar)})}function hg(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ml(e){return new T(t=>{mg(e,t).catch(n=>t.error(n))})}function gg(e){return Ml(Hr(e))}function mg(e,t){var n,r,o,i;return Tl(this,void 0,void 0,function*(){try{for(n=_l(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Y(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function yg(e){return E(e?.lift)}function b(e){return t=>{if(yg(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Bi(e,t,n,r,o)}var Bi=class extends yt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function An(e,t=0){return b((n,r)=>{n.subscribe(D(r,o=>Y(r,e,()=>r.next(o),t),()=>Y(r,e,()=>r.complete(),t),o=>Y(r,e,()=>r.error(o),t)))})}function Rn(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nl(e,t){return w(e).pipe(Rn(t),An(t))}function Sl(e,t){return w(e).pipe(Rn(t),An(t))}function xl(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Al(e,t){return new T(n=>{let r;return Y(n,t,()=>{r=e[jr](),Y(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function $r(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{Y(n,t,()=>{let r=e[Symbol.asyncIterator]();Y(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Rl(e,t){return $r(Hr(e),t)}function kl(e,t){if(e!=null){if(Pr(e))return Nl(e,t);if(qt(e))return xl(e,t);if(Or(e))return Sl(e,t);if(Lr(e))return $r(e,t);if(Vr(e))return Al(e,t);if(Br(e))return Rl(e,t)}throw Fr(e)}function Me(e,t){return t?kl(e,t):w(e)}function $i(...e){let t=_e(e);return Me(e,t)}function tt(e,t){return b((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:vg}=Array,{getPrototypeOf:Eg,prototype:Ig,keys:Dg}=Object;function Ur(e){if(e.length===1){let t=e[0];if(vg(t))return{args:t,keys:null};if(Cg(t)){let n=Dg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Cg(e){return e&&typeof e=="object"&&Eg(e)===Ig}var{isArray:bg}=Array;function Tg(e,t){return bg(t)?e(...t):e(t)}function Wt(e){return tt(t=>Tg(e,t))}function qr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wg(...e){let t=_e(e),n=et(e),{args:r,keys:o}=Ur(e);if(r.length===0)return Me([],t);let i=new T(_g(r,t,o?s=>qr(o,s):ee));return n?i.pipe(Wt(n)):i}function _g(e,t,n=ee){return r=>{Ol(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ol(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ol(e,t,n){e?Y(n,e,t):t()}function Ui(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=w(e(s,Ui(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Wr=class extends B{constructor(t,n){super()}schedule(t,n=0){return this}};var kn={setInterval(e,t,...n){let{delegate:r}=kn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=kn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Gt=class extends Wr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return kn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&kn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,gt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var On={now(){return(On.delegate||Date).now()},delegate:void 0};var zt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};zt.now=On.now;var Qt=class extends zt{constructor(t,n=zt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var nt=new Qt(Gt),qi=nt;function Mg(e,t=nt){return b((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ng(e,t=ee){return e=e??Sg,b((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Sg(e,t){return e===t}function Pl(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ee}var Ll=Xe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Gr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ll}next(n){$t(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$t(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){$t(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Oi:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,gt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new Gr(t,n),e})(),Gr=class extends se{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Oi}};var Pn=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ln=class extends se{constructor(t=1/0,n=1/0,r=On){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var zr=class extends Gt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Qr=class extends Qt{};var xg=new Qr(zr);function Ag(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Rg(e){return!!e&&(e instanceof T||E(e.lift)&&E(e.subscribe))}var Fn=Xe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Zr(e){return e instanceof Date&&!isNaN(e)}var Fl=Xe(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function jl(e,t){let{first:n,each:r,with:o=kg,scheduler:i=t??nt,meta:s=null}=Zr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return b((a,c)=>{let l,u,d=null,p=0,f=h=>{u=Y(c,i,()=>{try{l.unsubscribe(),w(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(m){c.error(m)}},h)};l=a.subscribe(D(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function kg(e){throw new Fl(e)}function Vl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?h(m):c.push(m),h=m=>{i&&t.next(m),l++;let S=!1;w(n(m,u++)).subscribe(D(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let N=c.shift();s?Y(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Be(e,t,n=1/0){return E(t)?Be((r,o)=>tt((i,s)=>t(r,i,o,s))(w(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>Vl(r,o,e,n)))}function jn(e=1/0){return Be(ee,e)}function Hl(){return jn(1)}function Zt(...e){return Hl()(Me(e,_e(e)))}function Og(e){return new T(t=>{w(e()).subscribe(t)})}function Pg(...e){let t=et(e),{args:n,keys:r}=Ur(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;w(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?qr(r,a):a),i.complete())}))}});return t?o.pipe(Wt(t)):o}var Lg=["addListener","removeListener"],Fg=["addEventListener","removeEventListener"],jg=["on","off"];function Wi(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return Wi(e,t,n).pipe(Wt(r));let[o,i]=Bg(e)?Fg.map(s=>a=>e[s](t,a,n)):Vg(e)?Lg.map(Bl(e,t)):Hg(e)?jg.map(Bl(e,t)):[];if(!o&&qt(e))return Be(s=>Wi(s,t,n))(w(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Bl(e,t){return n=>r=>e[n](t,r)}function Vg(e){return E(e.addListener)&&E(e.removeListener)}function Hg(e){return E(e.on)&&E(e.off)}function Bg(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Gi(e=0,t,n=qi){let r=-1;return t!=null&&(kr(t)?n=t:r=t),new T(o=>{let i=Zr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function $g(e=0,t=nt){return e<0&&(e=0),Gi(e,e,t)}function Ug(...e){let t=_e(e),n=Cl(e,1/0),r=e;return r.length?r.length===1?w(r[0]):jn(n)(Me(r,t)):He}var qg=new T(ye);var{isArray:Wg}=Array;function Yr(e){return e.length===1&&Wg(e[0])?e[0]:e}function $l(e,t){return(n,r)=>!e.call(t,n,r)}function $e(e,t){return b((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Gg(e,t,n){return[$e(t,n)(w(e)),$e($l(t,n))(w(e))]}function zg(...e){return e=Yr(e),e.length===1?w(e[0]):new T(Qg(e))}function Qg(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(w(e[r]).subscribe(D(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Zg(...e){let t=et(e),n=Yr(e);return n.length?new T(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)w(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):He}function Yg(e,t){return E(t)?Be(e,t,1):Be(e,1)}function Kg(e){return b((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(D(n,a=>{i?.unsubscribe(),r=!0,o=a,i=D(n,s,ye),w(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Ul(e){return b((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function zi(e){return e<=0?()=>He:b((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ql(e=Jg){return b((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jg(){return new Fn}function Xg(...e){return t=>Zt(t,$i(...e))}function em(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function tm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$e((o,i)=>e(o,i,r)):ee,zi(1),n?Ul(t):ql(()=>new Fn))}function nm(e){return e<=0?()=>He:b((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function rm(){return b((e,t)=>{let n,r=!1;e.subscribe(D(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Zi(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return b((m,S)=>{l++,!d&&!u&&p();let N=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=Qi(h,o))}),N.subscribe(S),!s&&l>0&&(s=new Ve({next:we=>N.next(we),error:we=>{d=!0,p(),a=Qi(f,n,we),N.error(we)},complete:()=>{u=!0,p(),a=Qi(f,r),N.complete()}}),w(m).subscribe(s))})(i)}}function Qi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ve({next:()=>{r.unsubscribe(),e()}});return w(t(...n)).subscribe(r)}function Wl(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Zi({connector:()=>new Ln(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function om(e){return $e((t,n)=>e<=n)}function im(...e){let t=_e(e);return b((n,r)=>{(t?Zt(e,n,t):Zt(e,n)).subscribe(r)})}function sm(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;w(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function am(e){return b((t,n)=>{w(e).subscribe(D(n,()=>n.complete(),ye)),!n.closed&&t.subscribe(n)})}function cm(...e){let t=et(e);return b((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)w(e[c]).subscribe(D(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(ee))&&(s=null))},ye));n.subscribe(D(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var K=null,Kr=!1,Xi=1,lm=null,$=Symbol("SIGNAL");function y(e){let t=K;return K=e,t}function Xr(){return K}var Yt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Et(e){if(Kr)throw new Error("");if(K===null)return;K.consumerOnSignalRead(e);let t=K.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=K.recomputing;if(r&&(n=t!==void 0?t.nextProducer:K.producers,n!==void 0&&n.producer===e)){K.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===K&&(!r||dm(o,K)))return;let i=Xt(K),s={producer:e,consumer:K,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};K.producersTail=s,t!==void 0?t.nextProducer=s:K.producers=s,i&&Zl(e,s)}function Gl(){Xi++}function es(e){if(!(Xt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xi)){if(!e.producerMustRecompute(e)&&!Jt(e)){Ji(e);return}e.producerRecomputeValue(e),Ji(e)}}function ts(e){if(e.consumers===void 0)return;let t=Kr;Kr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||um(r)}}finally{Kr=t}}function ns(){return K?.consumerAllowSignalWrites!==!1}function um(e){e.dirty=!0,ts(e),e.consumerMarkedDirty?.(e)}function Ji(e){e.dirty=!1,e.lastCleanEpoch=Xi}function It(e){return e&&zl(e),y(e)}function zl(e){e.producersTail=void 0,e.recomputing=!0}function Kt(e,t){y(t),e&&Ql(e)}function Ql(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Xt(e))do n=rs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Jt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(es(n),r!==n.version))return!0}return!1}function rt(e){if(Xt(e)){let t=e.producers;for(;t!==void 0;)t=rs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Zl(e,t){let n=e.consumersTail,r=Xt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Zl(o.producer,o)}function rs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Xt(t)){let i=t.producers;for(;i!==void 0;)i=rs(i)}return n}function Xt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function os(e){lm?.(e)}function dm(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function is(e,t){return Object.is(e,t)}function Vn(e,t){let n=Object.create(fm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(es(n),Et(n),n.value===Jr)throw n.error;return n.value};return r[$]=n,os(n),r}var Yi=Symbol("UNSET"),Ki=Symbol("COMPUTING"),Jr=Symbol("ERRORED"),fm=Q(z({},Yt),{value:Yi,dirty:!0,error:null,equal:is,kind:"computed",producerMustRecompute(e){return e.value===Yi||e.value===Ki},producerRecomputeValue(e){if(e.value===Ki)throw new Error("");let t=e.value;e.value=Ki;let n=It(e),r,o=!1;try{r=e.computation(),y(null),o=t!==Yi&&t!==Jr&&r!==Jr&&e.equal(t,r)}catch(i){r=Jr,e.error=i}finally{Kt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function pm(){throw new Error}var Yl=pm;function Kl(e){Yl(e)}function ss(e){Yl=e}var hm=null;function as(e,t){let n=Object.create(Hn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Jl(n);return r[$]=n,os(n),[r,s=>en(n,s),s=>Xl(n,s)]}function Jl(e){return Et(e),e.value}function en(e,t){ns()||Kl(e),e.equal(e.value,t)||(e.value=t,gm(e))}function Xl(e,t){ns()||Kl(e),en(e,t(e.value))}var Hn=Q(z({},Yt),{equal:is,value:void 0,kind:"signal"});function gm(e){e.version++,Gl(),ts(e),hm?.(e)}function cs(e){let t=y(null);try{return e()}finally{y(t)}}var ls=Q(z({},Yt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function us(e){if(e.dirty=!1,e.version>0&&!Jt(e))return;e.version++;let t=It(e);try{e.cleanup(),e.fn()}finally{Kt(e,t)}}var ds;function eo(){return ds}function Ne(e){let t=ds;return ds=e,t}var eu=Symbol("NotFound");function tn(e){return e===eu||e?.name==="\u0275NotFound"}var no=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},mm=new no("21.1.0");var co="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(t,n){super(zn(t,n)),this.code=t}};function ym(e){return`NG0${Math.abs(e)}`}function zn(e,t){return`${ym(e)}${t?": "+t:""}`}var xe=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function iu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function We(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(We).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function lo(e,t){return e?t?`${e} ${t}`:e:t||""}var vm=k({__forward_ref__:k});function uo(e){return e.__forward_ref__=uo,e.toString=function(){return We(this())},e}function U(e){return ws(e)?e():e}function ws(e){return typeof e=="function"&&e.hasOwnProperty(vm)&&e.__forward_ref__===uo}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function su(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qn(e){return Im(e,fo)}function Em(e){return Qn(e)!==null}function Im(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Dm(e){let t=e?.[fo]??null;return t||null}function ps(e){return e&&e.hasOwnProperty(ro)?e[ro]:null}var fo=k({\u0275prov:k}),ro=k({\u0275inj:k}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function _s(e){return e&&!!e.\u0275providers}var Ms=k({\u0275cmp:k}),Ns=k({\u0275dir:k}),Ss=k({\u0275pipe:k}),xs=k({\u0275mod:k}),$n=k({\u0275fac:k}),wt=k({__NG_ELEMENT_ID__:k}),tu=k({__NG_ENV_ID__:k});function As(e){return ho(e,"@NgModule"),e[xs]||null}function Ae(e){return ho(e,"@Component"),e[Ms]||null}function po(e){return ho(e,"@Directive"),e[Ns]||null}function au(e){return ho(e,"@Pipe"),e[Ss]||null}function ho(e,t){if(e==null)throw new _(-919,!1)}function Ie(e){return typeof e=="string"?e:e==null?"":String(e)}function cu(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ie(e)}var lu=k({ngErrorCode:k}),Cm=k({ngErrorMessage:k}),bm=k({ngTokenPath:k});function Rs(e,t){return uu("",-200,t)}function go(e,t){throw new _(-201,!1)}function uu(e,t,n){let r=new _(t,e);return r[lu]=t,r[Cm]=e,n&&(r[bm]=n),r}function Tm(e){return e[lu]}var hs;function du(){return hs}function te(e){let t=hs;return hs=e,t}function ks(e,t,n){let r=Qn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;go(e,"")}var wm={},Dt=wm,gs="__NG_DI_FLAG__",ms=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ct(n)||0;try{return this.injector.get(t,r&8?null:Dt,r)}catch(o){if(tn(o))return o;throw o}}};function _m(e,t=0){let n=eo();if(n===void 0)throw new _(-203,!1);if(n===null)return ks(e,void 0,t);{let r=Mm(t),o=n.retrieve(e,r);if(tn(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(du()||_m)(U(e),t)}function I(e,t){return Se(e,Ct(t))}function Ct(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Mm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ys(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Nm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function Os(e,t){return e[gs]=t,e.prototype[gs]=t,e}function Nm(e){return e[gs]}function ot(e,t){let n=e.hasOwnProperty($n);return n?e[$n]:null}function fu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function pu(e){return e.flat(Number.POSITIVE_INFINITY)}function mo(e,t){e.forEach(n=>Array.isArray(n)?mo(n,t):t(n))}function Ps(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function gu(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Yn(e,t,n){let r=rn(e,t);return r>=0?e[r|1]=n:(r=~r,gu(e,r,t,n)),r}function yo(e,t){let n=rn(e,t);if(n>=0)return e[n|1]}function rn(e,t){return Sm(e,t,1)}function Sm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var De={},J=[],_t=new R(""),Ls=new R("",-1),Fs=new R(""),Un=class{get(t,n=Dt){if(n===Dt){let o=uu("",-201);throw o.name="\u0275NotFound",o}return n}};function vo(e){return{\u0275providers:e}}function mu(...e){return{\u0275providers:js(!0,e),\u0275fromNgModule:!0}}function js(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return mo(t,s=>{let a=s;oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yu(o,i),n}function yu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Vs(o,i=>{t(i,r)})}}function oo(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=ps(e),s=!i&&Ae(e);if(!i&&!s){let c=e.ngModule;if(i=ps(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)oo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;mo(i.imports,u=>{oo(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&yu(l,t)}if(!a){let l=ot(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Fs,useValue:o,multi:!0},o),t({provide:_t,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Vs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Vs(e,t){for(let n of e)_s(n)&&(n=n.\u0275providers),Array.isArray(n)?Vs(n,t):t(n)}var xm=k({provide:String,useValue:k});function vu(e){return e!==null&&typeof e=="object"&&xm in e}function Am(e){return!!(e&&e.useExisting)}function Rm(e){return!!(e&&e.useFactory)}function bt(e){return typeof e=="function"}function Eu(e){return!!e.useClass}var Hs=new R(""),to={},nu={},fs;function on(){return fs===void 0&&(fs=new Un),fs}var le=class{},Tt=class extends le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Es(t,s=>this.processProvider(s)),this.records.set(Ls,nn(void 0,this)),o.has("environment")&&this.records.set(le,nn(void 0,this));let i=this.records.get(Hs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fs,J,{self:!0}))}retrieve(t,n){let r=Ct(n)||0;try{return this.get(t,Dt,r)}catch(o){if(tn(o))return o;throw o}}destroy(){Bn(this),this._destroyed=!0;let t=y(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(t)}}onDestroy(t){return Bn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Bn(this);let n=Ne(this),r=te(void 0),o;try{return t()}finally{Ne(n),te(r)}}get(t,n=Dt,r){if(Bn(this),t.hasOwnProperty(tu))return t[tu](this);let o=Ct(r),i,s=Ne(this),a=te(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Fm(t)&&Qn(t);u&&this.injectableDefInScope(u)?l=nn(vs(t),to):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?on():this.parent;return n=o&8&&n===Dt?null:n,c.get(t,n)}catch(c){let l=Tm(c);throw l===-200||l===-201?new _(l,null):c}finally{te(a),Ne(s)}}resolveInjectorInitializers(){let t=y(null),n=Ne(this),r=te(void 0),o;try{let i=this.get(_t,J,{self:!0});for(let s of i)s()}finally{Ne(n),te(r),y(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(We(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=bt(t)?t:U(t&&t.provide),r=Om(t);if(!bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nn(void 0,to,!0),o.factory=()=>ys(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=y(null);try{if(n.value===nu)throw Rs(We(t));return n.value===to&&(n.value=nu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Lm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function vs(e){let t=Qn(e),n=t!==null?t.factory:ot(e);if(n!==null)return n;if(e instanceof R)throw new _(204,!1);if(e instanceof Function)return km(e);throw new _(204,!1)}function km(e){if(e.length>0)throw new _(204,!1);let n=Dm(e);return n!==null?()=>n.factory(e):()=>new e}function Om(e){if(vu(e))return nn(void 0,e.useValue);{let t=Bs(e);return nn(t,to)}}function Bs(e,t,n){let r;if(bt(e)){let o=U(e);return ot(o)||vs(o)}else if(vu(e))r=()=>U(e.useValue);else if(Rm(e))r=()=>e.useFactory(...ys(e.deps||[]));else if(Am(e))r=(o,i)=>Se(U(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Pm(e))r=()=>new o(...ys(e.deps));else return ot(o)||vs(o)}return r}function Bn(e){if(e.destroyed)throw new _(205,!1)}function nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Pm(e){return!!e.deps}function Lm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Fm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Es(e,t){for(let n of e)Array.isArray(n)?Es(n,t):n&&_s(n)?Es(n.\u0275providers,t):t(n)}function Eo(e,t){let n;e instanceof Tt?(Bn(e),n=e):n=new ms(e);let r,o=Ne(n),i=te(void 0);try{return t()}finally{Ne(o),te(i)}}function Iu(){return du()!==void 0||eo()!=null}var ue=0,v=1,C=2,q=3,de=4,ne=5,Mt=6,sn=7,j=8,re=9,Re=10,A=11,an=12,$s=13,Nt=14,oe=15,ze=16,St=17,ke=18,Oe=19,Us=20,qe=21,Io=22,it=23,ae=24,xt=25,Qe=26,L=27,qs=1,Ws=6,at=7,Kn=8,At=9,F=10;function Pe(e){return Array.isArray(e)&&typeof e[qs]=="object"}function Ce(e){return Array.isArray(e)&&e[qs]===!0}function Gs(e){return(e.flags&4)!==0}function Ze(e){return e.componentOffset>-1}function cn(e){return(e.flags&1)===1}function fe(e){return!!e.template}function ln(e){return(e[C]&512)!==0}function Rt(e){return(e[C]&256)===256}var zs="svg",Du="math";function pe(e){for(;Array.isArray(e);)e=e[ue];return e}function Qs(e){for(;Array.isArray(e);){if(typeof e[qs]=="object")return e;e=e[ue]}return null}function Zs(e,t){return pe(t[e])}function ie(e,t){return pe(t[e.index])}function Jn(e,t){return e.data[t]}function Xn(e,t){return e[t]}function Ys(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function he(e,t){let n=t[e];return Pe(n)?n:n[ue]}function Cu(e){return(e[C]&4)===4}function Do(e){return(e[C]&128)===128}function bu(e){return Ce(e[q])}function ce(e,t){return t==null?null:e[t]}function Ks(e){e[St]=0}function Js(e){e[C]&1024||(e[C]|=1024,Do(e)&&kt(e))}function Tu(e,t){for(;e>0;)t=t[Nt],e--;return t}function er(e){return!!(e[C]&9216||e[ae]?.dirty)}function Co(e){e[Re].changeDetectionScheduler?.notify(8),e[C]&64&&(e[C]|=1024),er(e)&&kt(e)}function kt(e){e[Re].changeDetectionScheduler?.notify(0);let t=st(e);for(;t!==null&&!(t[C]&8192||(t[C]|=8192,!Do(t)));)t=st(t)}function Xs(e,t){if(Rt(e))throw new _(911,!1);e[qe]===null&&(e[qe]=[]),e[qe].push(t)}function wu(e,t){if(e[qe]===null)return;let n=e[qe].indexOf(t);n!==-1&&e[qe].splice(n,1)}function st(e){let t=e[q];return Ce(t)?t[q]:t}function ea(e){return e[sn]??=[]}function ta(e){return e.cleanup??=[]}function _u(e,t,n,r){let o=ea(t);o.push(n),e.firstCreatePass&&ta(e).push(r,o.length-1)}var M={lFrame:ju(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Is=!1;function Mu(){return M.lFrame.elementDepthCount}function Nu(){M.lFrame.elementDepthCount++}function na(){M.lFrame.elementDepthCount--}function bo(){return M.bindingsEnabled}function ra(){return M.skipHydrationRootTNode!==null}function oa(e){return M.skipHydrationRootTNode===e}function ia(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function P(){return M.lFrame.tView}function Su(e){return M.lFrame.contextLView=e,e[j]}function xu(e){return M.lFrame.contextLView=null,e}function V(){let e=sa();for(;e!==null&&e.type===64;)e=e.parent;return e}function sa(){return M.lFrame.currentTNode}function Au(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function un(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function aa(){return M.lFrame.isParent}function ca(){M.lFrame.isParent=!1}function Ru(){return M.lFrame.contextLView}function la(){return Is}function qn(e){let t=Is;return Is=e,t}function ge(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ua(){return M.lFrame.bindingIndex}function ku(e){return M.lFrame.bindingIndex=e}function Le(){return M.lFrame.bindingIndex++}function tr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ou(){return M.lFrame.inI18n}function Pu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,To(t)}function Lu(){return M.lFrame.currentDirectiveIndex}function To(e){M.lFrame.currentDirectiveIndex=e}function da(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wo(){return M.lFrame.currentQueryIndex}function nr(e){M.lFrame.currentQueryIndex=e}function jm(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function fa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=jm(i),o===null||(i=i[Nt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Fu();return r.currentTNode=t,r.lView=e,!0}function _o(e){let t=Fu(),n=e[v];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?ju(e):t}function ju(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Vu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var pa=Vu;function Mo(){let e=Vu();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 Hu(e){return(M.lFrame.contextLView=Tu(e,M.lFrame.contextLView))[j]}function be(){return M.lFrame.selectedIndex}function ct(e){M.lFrame.selectedIndex=e}function Ot(){let e=M.lFrame;return Jn(e.tView,e.selectedIndex)}function Bu(){M.lFrame.currentNamespace=zs}function $u(){return M.lFrame.currentNamespace}var Uu=!0;function No(){return Uu}function rr(e){Uu=e}function Ds(e,t=null,n=null,r){let o=ha(e,t,n,r);return o.resolveInjectorInitializers(),o}function ha(e,t=null,n=null,r,o=new Set){let i=[n||J,mu(e)];return r=r||(typeof e=="object"?void 0:We(e)),new Tt(i,t||on(),r||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Dt;static NULL=new Un;static create(t,n){if(Array.isArray(t))return Ds({name:""},n,t,"");{let r=t.name??"";return Ds({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:e,providedIn:"any",factory:()=>Se(Ls)});static __NG_ELEMENT_ID__=-1},ga=new R(""),Ye=(()=>{class e{static __NG_ELEMENT_ID__=Vm;static __NG_ENV_ID__=n=>n}return e})(),io=class extends Ye{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Rt(this._lView)}onDestroy(t){let n=this._lView;return Xs(n,t),()=>wu(n,t)}};function Vm(){return new io(g())}var ma=!1,qu=new R(""),lt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Pn(!1);debugTaskTracker=I(qu,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new T(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Cs=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Iu()&&(this.destroyRef=I(Ye,{optional:!0})??void 0,this.pendingTasks=I(lt,{optional:!0})??void 0)}emit(t){let n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ue=Cs;function so(...e){}function ya(e){let t,n;function r(){e=so;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Wu(e){return queueMicrotask(()=>e()),()=>{e=so}}var va="isAngularZone",Wn=va+"_ID",Hm=0,W=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ue(!1);onMicrotaskEmpty=new Ue(!1);onStable=new Ue(!1);onError=new Ue(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ma}=t;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Um(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(va)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Bm,so,so);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)}},Bm={};function Ea(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $m(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ya(()=>{e.callbackScheduled=!1,bs(e),e.isCheckStableRunning=!0,Ea(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bs(e)}function Um(e){let t=()=>{$m(e)},n=Hm++;e._inner=e._inner.fork({name:"angular",properties:{[va]:!0,[Wn]:n,[Wn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(qm(c))return r.invokeTask(i,s,a,c);try{return ru(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ou(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return ru(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Wm(c)&&t(),ou(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,bs(e),Ea(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function bs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ru(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ou(e){e._nesting--,Ea(e)}var Gn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ue;onMicrotaskEmpty=new Ue;onStable=new Ue;onError=new Ue;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function qm(e){return Gu(e,"__ignore_ng_zone__")}function Wm(e){return Gu(e,"__scheduler_tick__")}function Gu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ge=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ut=new R("",{factory:()=>{let e=I(W),t=I(le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ge),n.handleError(r))})}}}),zu={provide:_t,useValue:()=>{let e=I(Ge,{optional:!0})},multi:!0};function So(e,t){let[n,r,o]=as(e,t?.equal),i=n,s=i[$];return i.set=r,i.update=o,i.asReadonly=xo.bind(i),i}function xo(){let e=this[$];if(e.readonlyFn===void 0){let t=()=>this();t[$]=e,e.readonlyFn=t}return e.readonlyFn}var dn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Gm}return e})();function Gm(){return new dn(g(),V())}var Ee=class{},fn=new R("",{factory:()=>!0});var Ao=new R(""),Ia=(()=>{class e{internalPendingTasks=I(lt);scheduler=I(Ee);errorHandler=I(ut);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ro=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new Ts})}return e})(),Ts=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},ao=class{[$];constructor(t){this[$]=t}destroy(){this[$].destroy()}};function Qu(e,t){let n=t?.injector??I(ve),r=t?.manualCleanup!==!0?n.get(Ye):null,o,i=n.get(dn,null,{optional:!0}),s=n.get(Ee);return i!==null?(o=Zm(i.view,s,e),r instanceof io&&r._lView===i.view&&(r=null)):o=Ym(e,n.get(Ro),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ao(o)}var Zu=Q(z({},ls),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=qn(!1);try{us(this)}finally{qn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=y(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],y(e)}}}),zm=Q(z({},Zu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Qm=Q(z({},Zu),{consumerMarkedDirty(){this.view[C]|=8192,kt(this.view),this.notifier.notify(13)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[it]?.delete(this)}});function Zm(e,t,n){let r=Object.create(Qm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Yu(r,n),e[it]??=new Set,e[it].add(r),r.consumerMarkedDirty(r),r}function Ym(e,t,n){let r=Object.create(zm);return r.fn=Yu(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Yu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Da(e){return cs(e)}function Mn(e){return{toString:e}.toString()}var ko="__parameters__";function oy(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Fd(e,t,n){return Mn(()=>{let r=oy(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ko)?c[ko]:Object.defineProperty(c,ko,{value:[]})[ko];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var iy=Os(Fd("Optional"),8);var sy=Os(Fd("SkipSelf"),4);function ay(e){return typeof e=="function"}function jd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Wo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},cy=(()=>{let e=()=>Vd;return e.ngInherit=!0,e})();function Vd(e){return e.type.prototype.ngOnChanges&&(e.setInput=uy),ly}function ly(){let e=Bd(this),t=e?.current;if(t){let n=e.previous;if(n===De)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function uy(e,t,n,r,o){let i=this.declaredInputs[r],s=Bd(e)||dy(e,{previous:De,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Wo(l&&l.currentValue,n,c===De),jd(e,t,o,n)}var Hd="__ngSimpleChanges__";function Bd(e){return e[Hd]||null}function dy(e,t){return e[Hd]=t}var Ku=[];var O=function(e,t=null,n){for(let r=0;r<Ku.length;r++){let o=Ku[r];o(e,t,n)}},x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{});function fy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function $d(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function jo(e,t,n){Ud(e,t,3,n)}function Vo(e,t,n,r){(e[C]&3)===n&&Ud(e,t,n,r)}function Ca(e,t){let n=e[C];(n&3)===t&&(n&=16383,n+=1,e[C]=n)}function Ud(e,t,n,r){let o=r!==void 0?e[St]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[St]+=65536),(a<i||i==-1)&&(py(e,n,t,c),e[St]=(e[St]&4294901760)+c+2),c++}function Ju(e,t){O(x.LifecycleHookStart,e,t);let n=y(null);try{t.call(e)}finally{y(n),O(x.LifecycleHookEnd,e,t)}}function py(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[C]>>14<e[St]>>16&&(e[C]&3)===t&&(e[C]+=16384,Ju(a,i)):Ju(a,i)}var hn=-1,Ft=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function hy(e){return(e.flags&8)!==0}function gy(e){return(e.flags&16)!==0}function my(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];yy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qd(e){return e===3||e===4||e===6}function yy(e){return e.charCodeAt(0)===64}function yn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Xu(e,n,o,null,t[++r]):Xu(e,n,o,null,null))}}return e}function Xu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Wd(e){return e!==hn}function Go(e){return e&32767}function vy(e){return e>>16}function zo(e,t){let n=vy(e),r=t;for(;n>0;)r=r[Nt],n--;return r}var ka=!0;function Qo(e){let t=ka;return ka=e,t}var Ey=256,Gd=Ey-1,zd=5,Iy=0,Fe={};function Dy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(wt)&&(r=n[wt]),r==null&&(r=n[wt]=Iy++);let o=r&Gd,i=1<<o;t.data[e+(o>>zd)]|=i}function Zo(e,t){let n=Qd(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,ba(r.data,e),ba(t,null),ba(r.blueprint,null));let o=hc(e,t),i=e.injectorIndex;if(Wd(o)){let s=Go(o),a=zo(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function hc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Xd(o),r===null)return hn;if(n++,o=o[Nt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return hn}function Oa(e,t,n){Dy(e,t,n)}function Cy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(qd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Zd(e,t,n){if(n&8||e!==void 0)return e;go(t,"NodeInjector")}function Yd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[re],i=te(void 0);try{return o?o.get(t,r,n&8):ks(t,r,n&8)}finally{te(i)}}return Zd(r,t,n)}function Kd(e,t,n,r=0,o){if(e!==null){if(t[C]&2048&&!(r&2)){let s=My(e,t,n,r,Fe);if(s!==Fe)return s}let i=Jd(e,t,n,r,Fe);if(i!==Fe)return i}return Yd(t,n,r,o)}function Jd(e,t,n,r,o){let i=Ty(n);if(typeof i=="function"){if(!fa(t,e,r))return r&1?Zd(o,n,r):Yd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))go(n);else return s}finally{pa()}}else if(typeof i=="number"){let s=null,a=Qd(e,t),c=hn,l=r&1?t[oe][ne]:null;for((a===-1||r&4)&&(c=a===-1?hc(e,t):t[a+8],c===hn||!td(r,!1)?a=-1:(s=t[v],a=Go(c),t=zo(c,t)));a!==-1;){let u=t[v];if(ed(i,a,u.data)){let d=by(a,t,n,s,r,l);if(d!==Fe)return d}c=t[a+8],c!==hn&&td(r,t[v].data[a+8]===l)&&ed(i,a,t)?(s=u,a=Go(c),t=zo(c,t)):a=-1}}return o}function by(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?Ze(a)&&ka:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Ho(a,s,n,c,l);return u!==null?ar(t,s,u,a,o):Fe}function Ho(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&fe(f)&&f.type===n)return c}return null}function ar(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ft){let a=i;if(a.resolving){let f=cu(s[n]);throw Rs(f)}let c=Qo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?te(a.injectImpl):null,p=fa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&fy(n,s[n],t)}finally{d!==null&&te(d),Qo(c),a.resolving=!1,pa()}}return i}function Ty(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wt)?e[wt]:void 0;return typeof t=="number"?t>=0?t&Gd:wy:t}function ed(e,t,n){let r=1<<e;return!!(n[t+(e>>zd)]&r)}function td(e,t){return!(e&2)&&!(e&1&&t)}var Pt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Kd(this._tNode,this._lView,t,Ct(r),n)}};function wy(){return new Pt(V(),g())}function _y(e){return Mn(()=>{let t=e.prototype.constructor,n=t[$n]||Pa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$n]||Pa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pa(e){return ws(e)?()=>{let t=Pa(U(e));return t&&t()}:ot(e)}function My(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[C]&2048&&!ln(s);){let a=Jd(i,s,n,r|2,Fe);if(a!==Fe)return a;let c=i.parent;if(!c){let l=s[Us];if(l){let u=l.get(n,Fe,r);if(u!==Fe)return u}c=Xd(s),s=s[Nt]}i=c}return o}function Xd(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function ef(e){return Cy(V(),e)}function Ny(){return Nn(V(),g())}function Nn(e,t){return new mr(ie(e,t))}var mr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ny}return e})();function tf(e){return e instanceof mr?e.nativeElement:e}function Sy(){return this._results[Symbol.iterator]()}var Yo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new se}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=pu(t);(this._changesDetected=!fu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Sy};function nf(e){return(e.flags&128)===128}var gc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(gc||{}),rf=new Map,xy=0;function Ay(){return xy++}function Ry(e){rf.set(e[Oe],e)}function La(e){rf.delete(e[Oe])}var nd="__ngContext__";function vn(e,t){Pe(t)?(e[nd]=t[Oe],Ry(t)):e[nd]=t}function of(e){return af(e[an])}function sf(e){return af(e[de])}function af(e){for(;e!==null&&!Ce(e);)e=e[de];return e}var Fa;function ky(e){Fa=e}function cf(){if(Fa!==void 0)return Fa;if(typeof document<"u")return document;throw new _(210,!1)}var Oy=new R("",{factory:()=>Py}),Py="ng";var lf=new R(""),Ly=new R("",{providedIn:"platform",factory:()=>"unknown"}),Fy=new R(""),jy=new R("",{factory:()=>I(ga).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var uf="r";var df="di";var ff=!1,pf=new R("",{factory:()=>ff});var Vy=new R("");var Hy=(e,t,n,r)=>{};function By(e,t,n,r){Hy(e,t,n,r)}function di(e){return(e.flags&32)===32}var $y=()=>null;function hf(e,t,n=!1){return $y(e,t,n)}function gf(e,t){let n=e.contentQueries;if(n!==null){let r=y(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];nr(i),a.contentQueries(2,t[s],s)}}}finally{y(r)}}}function ja(e,t,n){nr(0);let r=y(null);try{t(e,n)}finally{y(r)}}function mc(e,t,n){if(Gs(t)){let r=y(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{y(r)}}}var jt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(jt||{});var Oo;function Uy(){if(Oo===void 0&&(Oo=null,xe.trustedTypes))try{Oo=xe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oo}function fi(e){return Uy()?.createHTML(e)||e}var Po;function mf(){if(Po===void 0&&(Po=null,xe.trustedTypes))try{Po=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Po}function rd(e){return mf()?.createHTML(e)||e}function od(e){return mf()?.createScriptURL(e)||e}var Ke=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${co})`}},Va=class extends Ke{getTypeName(){return"HTML"}},Ha=class extends Ke{getTypeName(){return"Style"}},Ba=class extends Ke{getTypeName(){return"Script"}},$a=class extends Ke{getTypeName(){return"URL"}},Ua=class extends Ke{getTypeName(){return"ResourceURL"}};function Ht(e){return e instanceof Ke?e.changingThisBreaksApplicationSecurity:e}function pi(e,t){let n=yf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${co})`)}return n===t}function yf(e){return e instanceof Ke&&e.getTypeName()||null}function qy(e){return new Va(e)}function Wy(e){return new Ha(e)}function Gy(e){return new Ba(e)}function zy(e){return new $a(e)}function Qy(e){return new Ua(e)}function Zy(e){let t=new Wa(e);return Yy()?new qa(t):t}var qa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(fi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Wa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=fi(t),n}};function Yy(){try{return!!new window.DOMParser().parseFromString(fi(""),"text/html")}catch{return!1}}var Ky=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(e){return e=String(e),e.match(Ky)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function yr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var vf=Je("area,br,col,hr,img,wbr"),Ef=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),If=Je("rp,rt"),Jy=yr(If,Ef),Xy=yr(Ef,Je("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ev=yr(If,Je("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),id=yr(vf,Xy,ev,Jy),Df=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tv=Je("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nv=Je("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),rv=yr(Df,tv,nv),ov=Je("script,style,template"),Ga=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=av(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=sv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=sd(t).toLowerCase();if(!id.hasOwnProperty(n))return this.sanitizedSomething=!0,!ov.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!rv.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Df[a]&&(c=yc(c)),this.buf.push(" ",s,'="',ad(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=sd(t).toLowerCase();id.hasOwnProperty(n)&&!vf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ad(t))}};function iv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Cf(t);return t}function av(e){let t=e.firstChild;if(t&&iv(e,t))throw Cf(t);return t}function sd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Cf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lv=/([^\#-~ |!])/g;function ad(e){return e.replace(/&/g,"&").replace(cv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(lv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Lo;function bf(e,t){let n=null;try{Lo=Lo||Zy(e);let r=t?String(t):"";n=Lo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Lo.getInertBodyElement(r)}while(r!==i);let a=new Ga().sanitizeChildren(cd(n)||n);return fi(a)}finally{if(n){let r=cd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function cd(e){return"content"in e&&uv(e)?e.content:null}function uv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var dv=/^>|^->|<!--|-->|--!>|<!-$/g,fv=/(<|>)/g,pv="\u200B$1\u200B";function hv(e){return e.replace(dv,t=>t.replace(fv,pv))}function gv(e,t){return e.createText(t)}function mv(e,t,n){e.setValue(t,n)}function yv(e,t){return e.createComment(hv(t))}function Tf(e,t,n){return e.createElement(t,n)}function Ko(e,t,n,r,o){e.insertBefore(t,n,r,o)}function wf(e,t,n){e.appendChild(t,n)}function ld(e,t,n,r,o){r!==null?Ko(e,t,n,r,o):wf(e,t,n)}function _f(e,t,n,r){e.removeChild(null,t,n,r)}function vv(e,t,n){e.setAttribute(t,"style",n)}function Ev(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&my(e,t,r),o!==null&&Ev(e,t,o),i!==null&&vv(e,t,i)}var vr=(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})(vr||{});function Iv(e){let t=vc();return t?rd(t.sanitize(vr.HTML,e)||""):pi(e,"HTML")?rd(Ht(e)):bf(cf(),Ie(e))}function Nf(e){let t=vc();return t?t.sanitize(vr.URL,e)||"":pi(e,"URL")?Ht(e):yc(Ie(e))}function Sf(e){let t=vc();if(t)return od(t.sanitize(vr.RESOURCE_URL,e)||"");if(pi(e,"ResourceURL"))return od(Ht(e));throw new _(904,!1)}var Dv=new Set(["embed","frame","iframe","media","script"]),Cv=new Set(["base","link","script"]);function bv(e,t){return t==="src"&&Dv.has(e)||t==="href"&&Cv.has(e)||t==="xlink:href"&&e==="script"?Sf:Nf}function Tv(e,t,n){return bv(t,n)(e)}function vc(){let e=g();return e&&e[Re].sanitizer}function wv(e){return e.ownerDocument}function xf(e){return e instanceof Function?e():e}function _v(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Af="ng-template";function Mv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&_v(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ec(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ec(e){return e.type===4&&e.value!==Af}function Nv(e,t,n){let r=e.type===4&&!n?Af:e.value;return t===r}function Sv(e,t,n){let r=4,o=e.attrs,i=o!==null?Rv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Te(r)&&!Te(c))return!1;if(s&&Te(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Nv(e,c,n)||c===""&&t.length===1){if(Te(r))return!1;s=!0}}else if(r&8){if(o===null||!Mv(e,o,c,n)){if(Te(r))return!1;s=!0}}else{let l=t[++a],u=xv(c,o,Ec(e),n);if(u===-1){if(Te(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function xv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return kv(t,e)}function Rf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sv(e,t[r],n))return!0;return!1}function Av(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Rv(e){for(let t=0;t<e.length;t++){let n=e[t];if(qd(n))return t}return e.length}function kv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Ov(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ud(e,t){return e?":not("+t.trim()+")":t}function Pv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Te(s)&&(t+=ud(i,o),o=""),r=s,i=i||!Te(r);n++}return o!==""&&(t+=ud(i,o)),t}function Lv(e){return e.map(Pv).join(",")}function Fv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Te(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Z={};function Ic(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=jv(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function jv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Z);return n}function Vv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ic(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ue]=o,d[C]=r|4|128|8|64|1024,(l!==null||e&&e[C]&2048)&&(d[C]|=2048),Ks(d),d[q]=d[Nt]=e,d[j]=n,d[Re]=s||e&&e[Re],d[A]=a||e&&e[A],d[re]=c||e&&e[re]||null,d[ne]=i,d[Oe]=Ay(),d[Mt]=u,d[Us]=l,d[oe]=t.type==2?e[oe]:d,d}function Hv(e,t,n){let r=ie(t,e),o=Vv(n),i=e[Re].rendererFactory,s=Cc(e,Dc(e,o,null,kf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function kf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Of(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Cc(e,t){return e[an]?e[$s][de]=t:e[an]=t,e[$s]=t,t}function Bv(e=1){Pf(P(),g(),be()+e,!1)}function Pf(e,t,n,r){if(!r)if((t[C]&3)===3){let i=e.preOrderCheckHooks;i!==null&&jo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Vo(t,i,0,n)}ct(n)}var hi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(hi||{});function za(e,t,n,r){let o=y(null);try{let[i,s,a]=e.inputs[n],c=null;(s&hi.SignalBased)!==0&&(c=t[i][$]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):jd(t,c,i,r)}finally{y(o)}}var Jo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Jo||{}),$v;function bc(e,t){return $v(e,t)}function Xo(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function gn(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Uv(e){let t=gn(e,"transition-property"),n=gn(e,"transition-duration"),r=gn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=Xo(r[i])+Xo(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function qv(e){let t=gn(e,"animation-name"),n=gn(e,"animation-delay"),r=gn(e,"animation-duration"),o={animationName:"",propertyName:void 0,duration:0};for(let i=0;i<t.length;i++){let s=Xo(n[i])+Xo(r[i]);s>o.duration&&(o.animationName=t[i],o.duration=s)}return o}function Lf(e,t){return e!==void 0&&e.duration>t.duration}function Ff(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function Wv(e,t){let n=getComputedStyle(e),r=qv(n),o=Uv(n),i=r.duration>o.duration?r:o;Lf(t.get(e),i)||Ff(i)&&t.set(e,i)}function jf(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?Wv(e,t):Gv(e,t,r)}function Gv(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming(),s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c,l;o.animationName?l=o.animationName:c=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:c,duration:a})}Lf(t.get(e),r)||Ff(r)&&t.set(e,r)}var En=new Set,gi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(gi||{}),Sn=new R(""),dd=new Set;function je(e){dd.has(e)||(dd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var mi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tc=[0,1,2,3],wc=(()=>{class e{ngZone=I(W);scheduler=I(Ee);errorHandler=I(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(Sn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(x.AfterRenderHooksStart),this.executing=!0;for(let r of Tc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[xt]??=[]).push(n),kt(r),r[C]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(gi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),cr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[xt];t&&(this.view[xt]=t.filter(n=>n!==this))}};function Vf(e,t){let n=t?.injector??I(ve);return je("NgAfterNextRender"),Qv(e,n,t,!0)}function zv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Qv(e,t,n,r){let o=t.get(mi);o.impl??=t.get(wc);let i=t.get(Sn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ye):null,a=t.get(dn,null,{optional:!0}),c=new cr(o.impl,zv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var yi=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:I(le)})});function Hf(e,t,n){let r=e.get(yi);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Zv(e,t){let n=e.get(yi);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Yv(e){let t=e.get(yi);t.isScheduled||(Vf(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Bf(e){let t=e.get(yi);t.scheduler=Yv,t.scheduler(e)}function $f(e,t){for(let[n,r]of t)Hf(e,r.animateFns)}function fd(e,t,n,r){let o=e?.[Qe]?.enter;t!==null&&o&&o.has(n.index)&&$f(r,o)}function pn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ce(o)?c=o:Pe(o)&&(l=!0,o=o[ue]);let u=pe(o);e===0&&r!==null?(fd(a,r,i,n),s==null?wf(t,r,u):Ko(t,r,u,s||null,!0)):e===1&&r!==null?(fd(a,r,i,n),Ko(t,r,u,s||null,!0)):e===2?pd(a,i,n,d=>{_f(t,u,l,d)}):e===3&&pd(a,i,n,()=>{t.destroyNode(u)}),c!=null&&aE(t,e,n,c,i,r,s)}}function Kv(e,t){Uf(e,t),t[ue]=null,t[ne]=null}function Jv(e,t,n,r,o,i){r[ue]=o,r[ne]=t,Ei(e,r,n,1,o,i)}function Uf(e,t){t[Re].changeDetectionScheduler?.notify(9),Ei(e,t,t[A],2,null,null)}function Xv(e){let t=e[an];if(!t)return Ta(e[v],e);for(;t;){let n=null;if(Pe(t))n=t[an];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)Pe(t)&&Ta(t[v],t),t=t[q];t===null&&(t=e),Pe(t)&&Ta(t[v],t),n=t&&t[de]}t=n}}function _c(e,t){let n=e[At],r=n.indexOf(t);n.splice(r,1)}function vi(e,t){if(Rt(t))return;let n=t[A];n.destroyNode&&Ei(e,t,n,3,null,null),Xv(t)}function Ta(e,t){if(Rt(t))return;let n=y(null);try{t[C]&=-129,t[C]|=256,t[ae]&&rt(t[ae]),nE(e,t),tE(e,t),t[v].type===1&&t[A].destroy();let r=t[ze];if(r!==null&&Ce(t[q])){r!==t[q]&&_c(r,t);let o=t[ke];o!==null&&o.detachView(e)}La(t)}finally{y(n)}}function pd(e,t,n,r){let o=e?.[Qe];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&En.add(e[Oe]),Hf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),eE(e,r)}else e&&En.delete(e[Oe]),r(!1)},o)}function eE(e,t){let n=e[Qe]?.running;if(n){n.then(()=>{e[Qe].running=void 0,En.delete(e[Oe]),t(!0)});return}t(!1)}function tE(e,t){let n=e.cleanup,r=t[sn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[sn]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[it];if(i!==null){t[it]=null;for(let s of i)s.destroy()}}function nE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Ft)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(x.LifecycleHookStart,a,c);try{c.call(a)}finally{O(x.LifecycleHookEnd,a,c)}}else{O(x.LifecycleHookStart,o,i);try{i.call(o)}finally{O(x.LifecycleHookEnd,o,i)}}}}}function qf(e,t,n){return rE(e,t.parent,n)}function rE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ue];if(Ze(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===jt.None||o===jt.Emulated)return null}return ie(r,n)}function Wf(e,t,n){return iE(e,t,n)}function oE(e,t,n){return e.type&40?ie(e,n):null}var iE=oE,hd;function Mc(e,t,n,r){let o=qf(e,r,t),i=t[A],s=r.parent||t[ne],a=Wf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ld(i,o,n[c],a,!1);else ld(i,o,n,a,!1);hd!==void 0&&hd(i,r,t,n,o)}function ir(e,t){if(t!==null){let n=t.type;if(n&3)return ie(t,e);if(n&4)return ei(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ir(e,r);{let o=e[t.index];return Ce(o)?ei(-1,o):pe(o)}}else{if(n&128)return ir(e,t.next);if(n&32)return bc(t,e)()||pe(e[t.index]);{let r=Gf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=st(e[oe]);return ir(o,r)}else return ir(e,t.next)}}}return null}function Gf(e,t){if(t!==null){let r=e[oe][ne],o=t.projection;return r.projection[o]}return null}function ei(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return ir(r,o)}return t[at]}function Nc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[re];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&vn(pe(c),r),n.flags|=2),!di(n))if(l&8)Nc(e,t,n.child,r,o,i,!1),pn(t,e,a,o,c,n,i,r);else if(l&32){let u=bc(n,r),d;for(;d=u();)pn(t,e,a,o,d,n,i,r);pn(t,e,a,o,c,n,i,r)}else l&16?zf(e,t,r,n,o,i):pn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ei(e,t,n,r,o,i){Nc(n,r,e.firstChild,t,o,i,!1)}function sE(e,t,n){let r=t[A],o=qf(e,n,t),i=n.parent||t[ne],s=Wf(i,n,t);zf(r,0,t,n,o,s)}function zf(e,t,n,r,o,i){let s=n[oe],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];pn(t,e,n[re],o,u,r,i,n)}else{let l=c,u=s[q];nf(r)&&(l.flags|=128),Nc(e,t,l,u,o,i,!0)}}function aE(e,t,n,r,o,i,s){let a=r[at],c=pe(r);a!==c&&pn(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];Ei(u[v],u,e,t,i,a)}}function cE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Jo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Jo.Important),e.setStyle(n,r,o,i))}}function Qf(e,t,n,r,o){let i=be(),s=r&2;try{ct(-1),s&&t.length>L&&Pf(e,t,L,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;O(a,o,n),n(r,o)}finally{ct(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;O(a,o,n)}}function Ii(e,t,n){pE(e,t,n),(n.flags&64)===64&&hE(e,t,n)}function Er(e,t,n=ie){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function lE(e,t,n,r){let i=r.get(pf,ff)||n===jt.ShadowDom||n===jt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return uE(s),s}function uE(e){dE(e)}var dE=()=>null;function fE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Zf(e,t,n,r,o,i){let s=t[v];if(Di(e,s,t,n,r)){Ze(e)&&Yf(t,e.index);return}e.type&3&&(n=fE(n)),Sc(e,t,n,r,o,i)}function Sc(e,t,n,r,o,i){if(e.type&3){let s=ie(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Yf(e,t){let n=he(t,e);n[C]&16||(n[C]|=64)}function pE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ze(n)&&Hv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Zo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ar(t,e,s,n);if(vn(c,t),i!==null&&yE(t,s-r,c,a,n,i),fe(a)){let l=he(n.index,t);l[j]=ar(t,e,s,n)}}}function hE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Lu();try{ct(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];To(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&gE(c,l)}}finally{ct(-1),To(s)}}function gE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function xc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Rf(t,i.selectors,!1)&&(r??=[],fe(i)?r.unshift(i):r.push(i))}return r}function mE(e,t,n,r,o,i){let s=ie(e,t);Kf(t[A],s,i,e.value,n,r,o)}function Kf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function yE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];za(r,n,c,l)}}function Ac(e,t,n,r,o){let i=L+n,s=t[v],a=o(s,t,e,r,n);t[i]=a,un(e,!0);let c=e.type===2;return c?(Mf(t[A],a,e),(Mu()===0||cn(e))&&vn(a,t),Nu()):vn(a,t),No()&&(!c||!di(e))&&Mc(s,t,a,e),e}function Rc(e){let t=e;return aa()?ca():(t=t.parent,un(t,!1)),t}function vE(e,t,n){return(e===null||fe(e))&&(n=Qs(n[t.index])),n[A]}function EE(e,t){let n=e[re];if(!n)return;let r;try{r=n.get(ut,null)}catch{r=null}r?.(t)}function Di(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];za(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];za(u,l,r,o),a=!0}return a}function IE(e,t){let n=he(t,e),r=n[v];DE(r,n);let o=n[ue];o!==null&&n[Mt]===null&&(n[Mt]=hf(o,n[re])),O(x.ComponentStart);try{kc(r,n,n[j])}finally{O(x.ComponentEnd,n[j])}}function DE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function kc(e,t,n){_o(t);try{let r=e.viewQuery;r!==null&&ja(1,r,n);let o=e.template;o!==null&&Qf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&gf(e,t),e.staticViewQueries&&ja(2,e.viewQuery,n);let i=e.components;i!==null&&CE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[C]&=-5,Mo()}}function CE(e,t){for(let n=0;n<t.length;n++)IE(e,t[n])}function Ir(e,t,n,r){let o=y(null);try{let i=t.tView,a=e[C]&4096?4096:16,c=Dc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ze]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),kc(i,c,n),c}finally{y(o)}}function In(e,t){return!t||t.firstChild===null||nf(e)}function lr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(pe(i)),Ce(i)&&Jf(i,r);let s=n.type;if(s&8)lr(e,t,n.child,r);else if(s&32){let a=bc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Gf(t,n);if(Array.isArray(a))r.push(...a);else{let c=st(t[oe]);lr(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Jf(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&lr(r[v],r,o,t)}e[at]!==e[ue]&&t.push(e[at])}function Xf(e){if(e[xt]!==null){for(let t of e[xt])t.impl.addSequence(t);e[xt].length=0}}var ep=[];function bE(e){return e[ae]??TE(e)}function TE(e){let t=ep.pop()??Object.create(_E);return t.lView=e,t}function wE(e){e.lView[ae]!==e&&(e.lView=null,ep.push(e))}var _E=Q(z({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{kt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function ME(e){let t=e[ae]??Object.create(NE);return t.lView=e,t}var NE=Q(z({},Yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=st(e.lView);for(;t&&!tp(t[v]);)t=st(t);t&&Js(t)},consumerOnSignalRead(){this.lView[ae]=this}});function tp(e){return e.type!==2}function np(e){if(e[it]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[it])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[C]&8192)}}var SE=100;function rp(e,t=0){let r=e[Re].rendererFactory,o=!1;o||r.begin?.();try{xE(e,t)}finally{o||r.end?.()}}function xE(e,t){let n=la();try{qn(!0),Qa(e,t);let r=0;for(;er(e);){if(r===SE)throw new _(103,!1);r++,Qa(e,1)}}finally{qn(n)}}function AE(e,t,n,r){if(Rt(t))return;let o=t[C],i=!1,s=!1;_o(t);let a=!0,c=null,l=null;i||(tp(e)?(l=bE(t),c=It(l)):Xr()===null?(a=!1,l=ME(t),c=It(l)):t[ae]&&(rt(t[ae]),t[ae]=null));try{Ks(t),ku(e.bindingStartIndex),n!==null&&Qf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&jo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Vo(t,f,0,null),Ca(t,0)}if(s||RE(t),np(t),op(t,0),e.contentQueries!==null&&gf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&jo(t,f)}else{let f=e.contentHooks;f!==null&&Vo(t,f,1),Ca(t,1)}OE(e,t);let d=e.components;d!==null&&sp(t,d,0);let p=e.viewQuery;if(p!==null&&ja(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&jo(t,f)}else{let f=e.viewHooks;f!==null&&Vo(t,f,2),Ca(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Io]){for(let f of t[Io])f();t[Io]=null}i||(Xf(t),t[C]&=-73)}catch(u){throw i||kt(t),u}finally{l!==null&&(Kt(l,c),a&&wE(l)),Mo()}}function op(e,t){for(let n=of(e);n!==null;n=sf(n))for(let r=F;r<n.length;r++){let o=n[r];ip(o,t)}}function RE(e){for(let t=of(e);t!==null;t=sf(t)){if(!(t[C]&2))continue;let n=t[At];for(let r=0;r<n.length;r++){let o=n[r];Js(o)}}}function kE(e,t,n){O(x.ComponentStart);let r=he(t,e);try{ip(r,n)}finally{O(x.ComponentEnd,r[j])}}function ip(e,t){Do(e)&&Qa(e,t)}function Qa(e,t){let r=e[v],o=e[C],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Jt(i)),s||=!1,i&&(i.dirty=!1),e[C]&=-9217,s)AE(r,e,r.template,e[j]);else if(o&8192){let a=y(null);try{np(e),op(e,1);let c=r.components;c!==null&&sp(e,c,1),Xf(e)}finally{y(a)}}}function sp(e,t,n){for(let r=0;r<t.length;r++)kE(e,t[r],n)}function OE(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)ct(~o);else{let i=o,s=n[++r],a=n[++r];Pu(s,i);let c=t[i];O(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{O(x.HostBindingsUpdateEnd,c)}}}}finally{ct(-1)}}function Oc(e,t){let n=la()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[C]|=n;let r=st(e);if(ln(e)&&!r)return e;e=r}return null}function ap(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function cp(e,t){let n=F+t;if(n<e.length)return e[n]}function Dr(e,t,n,r=!0){let o=t[v];if(PE(o,t,e,n),r){let s=ei(n,e),a=t[A],c=a.parentNode(e[at]);c!==null&&Jv(o,e[ne],a,t,c,s)}let i=t[Mt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function lp(e,t){let n=ur(e,t);return n!==void 0&&vi(n[v],n),n}function ur(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[ze];o!==null&&o!==e&&_c(o,r),t>0&&(e[n-1][de]=r[de]);let i=Zn(e,F+t);Kv(r[v],r);let s=i[ke];s!==null&&s.detachView(i[v]),r[q]=null,r[de]=null,r[C]&=-129}return r}function PE(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][de]=t),r<i-F?(t[de]=n[o],Ps(n,F+r,t)):(n.push(t),t[de]=null),t[q]=n;let s=t[ze];s!==null&&n!==s&&up(s,t);let a=t[ke];a!==null&&a.insertView(e),Co(t),t[C]|=128}function up(e,t){let n=e[At],r=t[q];if(Pe(r))e[C]|=2;else{let o=r[q][oe];t[oe]!==o&&(e[C]|=2)}n===null?e[At]=[t]:n.push(t)}var dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[v];return lr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Rt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(Ce(t)){let n=t[Kn],r=n?n.indexOf(this):-1;r>-1&&(ur(t,r),Zn(n,r))}this._attachedToViewContainer=!1}vi(this._lView[v],this._lView)}onDestroy(t){Xs(this._lView,t)}markForCheck(){Oc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[C]&=-129}reattach(){Co(this._lView),this._lView[C]|=128}detectChanges(){this._lView[C]|=1024,rp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ln(this._lView),n=this._lView[ze];n!==null&&!t&&_c(n,this._lView),Uf(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=ln(this._lView),r=this._lView[ze];r!==null&&!n&&up(r,this._lView),Co(this._lView)}};var dr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=LE;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ir(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new dt(i)}}return e})();function LE(){return Ci(V(),g())}function Ci(e,t){return e.type&4?new dr(t,e,Nn(e,t)):null}function xn(e,t,n,r,o){let i=e.data[t];if(i===null)i=FE(e,t,n,r,o),Ou()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Au();i.injectorIndex=s===null?-1:s.injectorIndex}return un(i,!0),i}function FE(e,t,n,r,o){let i=sa(),s=aa(),a=s?i:i&&i.parent,c=e.data[t]=VE(e,a,n,t,r,o);return jE(e,c,i,s),c}function jE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function VE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ra()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function HE(e){let t=e[Ws]??[],r=e[q][A],o=[];for(let i of t)i.data[df]!==void 0?o.push(i):BE(i,r);e[Ws]=o}function BE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[uf];for(;n<o;){let i=r.nextSibling;_f(t,r,!1),r=i,n++}}}var $E=()=>null,UE=()=>null;function ti(e,t){return $E(e,t)}function dp(e,t,n){return UE(e,t,n)}var fp=class{},bi=class{},Za=class{resolveComponentFactory(t){throw new _(917,!1)}},Cr=class{static NULL=new Za},fr=class{},qE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>WE()}return e})();function WE(){let e=g(),t=V(),n=he(t.index,e);return(Pe(n)?n:e)[A]}var pp=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();var Bo={},Ya=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Bo,r);return o!==Bo||n===Bo?o:this.parentInjector.get(t,n,r)}};function ni(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=lo(o,a);else if(i==2){let c=a,l=t[++s];r=lo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function br(e,t=0){let n=g();if(n===null)return Se(e,t);let r=V();return Kd(r,n,U(e),t)}function GE(){let e="invalid";throw new Error(e)}function hp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}ZE(e,t,n,a,i,c,l)}i!==null&&r!==null&&zE(n,r,i)}function zE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _(-301,!1);r.push(t[o],i)}}function QE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ZE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&fe(f)&&(c=f,QE(e,n,p)),Oa(Zo(n,t),e,f.type)}tI(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Of(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=yn(n.mergedAttrs,f.hostAttrs),KE(e,n,t,d,f),eI(d,f,o),s!==null&&s.has(f)){let[m,S]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,S+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}YE(e,n,i)}function YE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))gd(0,t,o,r),gd(1,t,o,r),yd(t,r,!1);else{let i=n.get(o);md(0,t,i,r),md(1,t,i,r),yd(t,r,!0)}}}function gd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),gp(t,i)}}function md(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),gp(t,s)}}function gp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ec(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function KE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ot(o.type,!0)),s=new Ft(i,fe(o),br,null);e.blueprint[r]=s,n[r]=s,JE(e,t,r,Of(e,n,o.hostVars,Z),o)}function JE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;XE(s)!=a&&s.push(a),s.push(n,r,i)}}function XE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function eI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fe(t)&&(n[""]=e)}}function tI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pc(e,t,n,r,o,i,s,a){let c=t[v],l=c.consts,u=ce(l,s),d=xn(c,e,n,r,u);return i&&hp(c,t,d,ce(l,a),o),d.mergedAttrs=yn(d.mergedAttrs,d.attrs),d.attrs!==null&&ni(d,d.attrs,!1),d.mergedAttrs!==null&&ni(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Lc(e,t){$d(e,t),Gs(t)&&e.queries.elementEnd(t)}function nI(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=xn(t,e,n,r,a);if(c.mergedAttrs=yn(c.mergedAttrs,c.attrs),i!=null){let l=ce(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ni(c,c.attrs,!1),c.mergedAttrs!==null&&ni(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Fc(e){return Ti(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function mp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Ti(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function pt(e,t,n){return e[t]=n}function wi(e,t){return e[t]}function X(e,t,n){if(n===Z)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Dn(e,t,n,r){let o=X(e,t,n);return X(e,t+1,r)||o}function jc(e,t,n,r,o){let i=Dn(e,t,n,r);return X(e,t+2,o)||i}function _i(e,t,n,r,o,i){let s=Dn(e,t,n,r);return Dn(e,t+2,o,i)||s}function $o(e,t,n){return function r(o){let i=Ze(e)?he(e.index,t):t;Oc(i,5);let s=t[j],a=vd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=vd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function vd(e,t,n,r){let o=y(null);try{return O(x.OutputStart,t,n),n(r)!==!1}catch(i){return EE(e,i),!1}finally{O(x.OutputEnd,t,n),y(o)}}function yp(e,t,n,r,o,i,s,a){let c=cn(e),l=!1,u=null;if(!r&&c&&(u=oI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ie(e,n),p=r?r(d):d;By(n,p,i,a);let f=o.listen(p,i,a);if(!rI(i)){let h=r?m=>r(pe(m[e.index])):e.index;vp(h,t,n,i,a,f,!1)}}return l}function rI(e){return e.startsWith("animation")||e.startsWith("transition")}function oI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[sn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function vp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ta(t):null,c=ea(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ed(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],d=s[l].subscribe(i);vp(e.index,a,t,o,i,d,!0)}var Ka=Symbol("BINDING");var ri=class extends Cr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ae(t);return new ft(n,this.ngModule)}};function iI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&hi.SignalBased)!==0};return o&&(i.transform=o),i})}function sI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function aI(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ya(n,r):n}function cI(e){let t=e.get(fr,null);if(t===null)throw new _(407,!1);let n=e.get(pp,null),r=e.get(Ee,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function lI(e,t){let n=Ep(e);return Tf(t,n,n==="svg"?zs:n==="math"?Du:null)}function Ep(e){return(e.selectors[0][0]||"div").toLowerCase()}var ft=class extends bi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=iI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=sI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Lv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(x.DynamicComponentStart);let a=y(null);try{let c=this.componentDef,l=uI(r,c,s,i),u=aI(c,o||this.ngModule,t),d=cI(u),p=d.rendererFactory.createRenderer(null,c),f=r?lE(p,r,c.encapsulation,u):lI(c,p),h=s?.some(Id)||i?.some(N=>typeof N!="function"&&N.bindings.some(Id)),m=Dc(null,l,null,512|kf(c),null,null,d,p,u,null,hf(f,u,!0));m[L]=f,_o(m);let S=null;try{let N=Pc(L,m,2,"#host",()=>l.directiveRegistry,!0,0);Mf(p,f,N),vn(f,m),Ii(l,m,N),mc(l,N,m),Lc(l,N),n!==void 0&&fI(N,this.ngContentSelectors,n),S=he(N.index,m),m[j]=S[j],kc(l,m,null)}catch(N){throw S!==null&&La(S),La(m),N}finally{O(x.DynamicComponentEnd),Mo()}return new oi(this.componentType,m,!!h)}finally{y(a)}}};function uI(e,t,n,r){let o=e?["ng-version","21.1.0"]:Fv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ka].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ka].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=po(d);c.push(p)}return Ic(0,null,dI(i,s),1,a,c,null,null,null,[o],null)}function dI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Id(e){let t=e[Ka].kind;return t==="input"||t==="twoWay"}var oi=class extends fp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Jn(n[v],L),this.location=Nn(this._tNode,n),this.instance=he(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Di(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);Oc(s,1)}get injector(){return new Pt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function fI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Mi=(()=>{class e{static __NG_ELEMENT_ID__=pI}return e})();function pI(){let e=V();return Dp(e,g())}var hI=Mi,Ip=class extends hI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new Pt(this._hostTNode,this._hostLView)}get parentInjector(){let t=hc(this._hostTNode,this._hostLView);if(Wd(t)){let n=zo(t,this._hostLView),r=Go(t),o=n[v].data[r+8];return new Pt(o,n)}else return new Pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Dd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ti(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,In(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ay(t),l;if(c)l=n;else{let S=n||{};l=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let u=c?t:new ft(Ae(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=(c?d:this.parentInjector).get(le,null);N&&(i=N)}let p=Ae(u.componentType??{}),f=ti(this._lContainer,p?.id??null),h=f?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,In(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],l=new Ip(c,c[ne],c[q]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Dr(s,o,i,r),t.attachToViewContainerRef(),Ps(wa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Dd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ur(this._lContainer,n);r&&(Zn(wa(this._lContainer),n),vi(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=ur(this._lContainer,n);return r&&Zn(wa(this._lContainer),n)!=null?new dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Dd(e){return e[Kn]}function wa(e){return e[Kn]||(e[Kn]=[])}function Dp(e,t){let n,r=t[e.index];return Ce(r)?n=r:(n=ap(r,t,null,e),t[e.index]=n,Cc(t,n)),mI(n,t,e,r),new Ip(n,e,t)}function gI(e,t){let n=e[A],r=n.createComment(""),o=ie(t,e),i=n.parentNode(o);return Ko(n,i,r,n.nextSibling(o),!1),r}var mI=EI,yI=()=>!1;function vI(e,t,n){return yI(e,t,n)}function EI(e,t,n,r){if(e[at])return;let o;n.type&8?o=pe(r):o=gI(t,n),e[at]=o}var Ja=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Xa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Hc(t,n).matches!==null&&this.queries[n].setDirty()}},ii=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=TI(t):this.predicate=t}},ec=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},tc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,II(n,i)),this.matchTNodeWithReadOption(t,n,Ho(n,t,i,!1,!1))}else r===dr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ho(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===mr||o===Mi||o===dr&&n.type&4)this.addMatch(n.index,-2);else{let i=Ho(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function II(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function DI(e,t){return e.type&11?Nn(e,t):e.type&4?Ci(e,t):null}function CI(e,t,n,r){return n===-1?DI(t,e):n===-2?bI(e,t,r):ar(e,e[v],n,t)}function bI(e,t,n){if(n===mr)return Nn(t,e);if(n===dr)return Ci(t,e);if(n===Mi)return Dp(t,e)}function Cp(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(CI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function nc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Cp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=F;d<u.length;d++){let p=u[d];p[ze]===p[q]&&nc(p[v],p,l,r)}if(u[At]!==null){let d=u[At];for(let p=0;p<d.length;p++){let f=d[p];nc(f[v],f,l,r)}}}}}return r}function Vc(e,t){return e[ke].queries[t].queryList}function bp(e,t,n){let r=new Yo((n&4)===4);return _u(e,t,r,r.destroy),(t[ke]??=new Xa).queries.push(new Ja(r))-1}function Tp(e,t,n){let r=P();return r.firstCreatePass&&(_p(r,new ii(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),bp(r,g(),t)}function wp(e,t,n,r){let o=P();if(o.firstCreatePass){let i=V();_p(o,new ii(t,n,r),i.index),wI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return bp(o,g(),n)}function TI(e){return e.split(",").map(t=>t.trim())}function _p(e,t,n){e.queries===null&&(e.queries=new ec),e.queries.track(new tc(t,n))}function wI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Hc(e,t){return e.queries.getByIndex(t)}function Mp(e,t){let n=e[v],r=Hc(n,t);return r.crossesNgTemplate?nc(n,e,t,[]):Cp(n,e,r,t)}function Bc(e,t,n){let r,o=Vn(()=>{r._dirtyCounter();let i=_I(r,e);if(t&&i===void 0)throw new _(-951,!1);return i});return r=o[$],r._dirtyCounter=So(0),r._flatValue=void 0,o}function $c(e){return Bc(!0,!1,e)}function Uc(e){return Bc(!0,!0,e)}function Np(e){return Bc(!1,!1,e)}function Sp(e,t){let n=e[$];n._lView=g(),n._queryIndex=t,n._queryList=Vc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function _I(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[C]&4)return t?void 0:J;let o=Vc(n,r),i=Mp(n,r);return o.reset(i,tf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Cn=class{},xp=class{};function MI(e,t){return new pr(e,t??null,[])}var pr=class extends Cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ri(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=As(t);this._bootstrapComponents=xf(i.bootstrap),this._r3Injector=ha(t,n,[{provide:Cn,useValue:this},{provide:Cr,useValue:this.componentFactoryResolver},...r],We(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},si=class extends xp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pr(this.moduleType,t,[])}};var hr=class extends Cn{injector;componentFactoryResolver=new ri(this);instance=null;constructor(t){super();let n=new Tt([...t.providers,{provide:Cn,useValue:this},{provide:Cr,useValue:this.componentFactoryResolver}],t.parent||on(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ap(e,t,n=null){return new hr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var NI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=js(!1,n.type),o=r.length>0?Ap([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(Se(le))})}return e})();function SI(e){return Mn(()=>{let t=Rp(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(NI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jt.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&je("NgStandalone"),kp(n);let r=e.dependencies;return n.directiveDefs=Cd(r,xI),n.pipeDefs=Cd(r,au),n.id=LI(n),n})}function xI(e){return Ae(e)||po(e)}function AI(e){return Mn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function RI(e,t){if(e==null)return De;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=hi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function kI(e){if(e==null)return De;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function OI(e){return Mn(()=>{let t=Rp(e);return kp(t),t})}function PI(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Rp(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||De,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:RI(e.inputs,t),outputs:kI(e.outputs),debugInfo:null}}function kp(e){e.features?.forEach(t=>t(e))}function Cd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function LI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function FI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=jI,n.hostDirectives=r?e.map(rc):[e]):r?n.hostDirectives.unshift(...e.map(rc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function jI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Op(s,t,r),o.set(s,[a,t.length-1])}i===0&&fe(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Op(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)bd(rc(i),t,n)}else bd(r,t,n)}function bd(e,t,n){let r=po(e.directive);VI(r.declaredInputs,e.inputs),Op(r,t,n),n.set(r,e),t.push(r)}function rc(e){return typeof e=="function"?{directive:U(e),inputs:De,outputs:De}:{directive:U(e.directive),inputs:Td(e.inputs),outputs:Td(e.outputs)}}function Td(e){if(e===void 0||e.length===0)return De;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function VI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function HI(e){return Object.getPrototypeOf(e.prototype).constructor}function Pp(e){let t=HI(e.type),n=!0,r=[e];for(;t;){let o;if(fe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=_a(e.inputs),s.declaredInputs=_a(e.declaredInputs),s.outputs=_a(e.outputs);let a=o.hostBindings;a&&WI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&UI(e,c),l&&qI(e,l),BI(e,o),iu(e.outputs,o.outputs),fe(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Pp&&(n=!1)}}t=Object.getPrototypeOf(t)}$I(r)}function BI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function $I(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=yn(o.hostAttrs,n=yn(n,o.hostAttrs))}}function _a(e){return e===De?{}:e===J?[]:e}function UI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function qI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function WI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Lp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=yn(e.mergedAttrs,e.attrs);let u=e.tView=Ic(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),un(e,!1);let c=zI(n,t,e,r);No()&&Mc(n,t,c,e),vn(c,t);let l=ap(c,t,c,e);t[r+L]=l,Cc(t,l),vI(l,e,t)}function GI(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;return t.firstCreatePass?(p=xn(t,d,4,s||null,a||null),bo()&&hp(t,e,p,ce(t.consts,l),xc),$d(t,p)):p=t.data[d],Lp(p,e,t,n,r,o,i,c),cn(p)&&Ii(t,e,p),l!=null&&Er(e,p,u),p}function bn(e,t,n,r,o,i,s,a,c,l,u){let d=n+L,p;if(t.firstCreatePass){if(p=xn(t,d,4,s||null,a||null),l!=null){let f=ce(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Lp(p,e,t,n,r,o,i,c),l!=null&&Er(e,p,u),p}function Fp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=ce(l.consts,i);return GI(c,l,e,t,n,r,o,u,void 0,s,a),Fp}function jp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=ce(l.consts,i);return bn(c,l,e,t,n,r,o,u,void 0,s,a),jp}var zI=QI;function QI(e,t,n,r){return rr(!0),t[A].createComment("")}var ZI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Vp(e){return typeof e=="function"&&e[$]!==void 0}function qc(e){return Vp(e)&&typeof e.set=="function"}var Hp=new R("");function Wc(e){return!!e&&typeof e.then=="function"}function Bp(e){return!!e&&typeof e.subscribe=="function"}var Gc=new R("");function YI(e){return vo([{provide:Gc,multi:!0,useValue:e}])}var zc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Gc,{optional:!0})??[];injector=I(ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Eo(this.injector,o);if(Wc(i))n.push(i);else if(Bp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$p=new R("");function Up(){ss(()=>{let e="";throw new _(600,e)})}function qp(e){return e.isBoundToModule}var KI=10;var Tr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(ut);afterRenderManager=I(mi);zonelessEnabled=I(fn);rootEffectScheduler=I(Ro);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=I(lt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(tt(n=>!n))}constructor(){I(Sn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ve.NULL){return this._injector.get(W).run(()=>{O(x.BootstrapComponentStart);let s=n instanceof bi;if(!this._injector.get(zc).done){let h="";throw new _(405,h)}let c;s?c=n:c=this._injector.get(Cr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=qp(c)?void 0:this._injector.get(Cn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Hp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),sr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(gi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw O(x.ChangeDetectionEnd),new _(101,!1);let n=y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,y(n),this.afterTick.next(),O(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(fr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<KI;){O(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{O(x.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!er(o))continue;let i=r&&!this.zonelessEnabled?0:1;rp(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>er(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;sr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get($p,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>sr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Wp(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Gp(e,t){let n=g(),r=Le();if(X(n,r,t)){let o=P(),i=Ot();if(Di(i,o,n,e,t))Ze(i)&&Yf(n,i.index);else{let a=ie(i,n);Kf(n[A],a,null,i.value,e,t,null)}}return Gp}function zp(e,t,n,r){let o=g(),i=Le();if(X(o,i,t)){let s=P(),a=Ot();mE(a,o,e,t,n,r)}return zp}var Qp=new R("",{factory:()=>!1});var JI=!1,wr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Zp(e){return e[re].get(Qp,JI)}function XI(e,t,n){let r=Tn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else Tn.set(e,{classList:t,cleanupFns:n})}function Qc(e){let t=Tn.get(e);if(t){for(let n of t.cleanupFns)n();Tn.delete(e)}Lt.delete(e)}var Tn=new WeakMap,Lt=new WeakMap,mn=new WeakMap;function wd(e,t){let n=mn.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&mn.delete(e)}function Yp(e,t){let n=mn.get(e)?.shift(),r=t[ze];if(r){let i=ei(e.index,r)?.previousSibling;n&&i&&n===i&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function eD(e,t){mn.has(e)?mn.get(e)?.push(t):mn.set(e,[t])}function _d(e){let t=e[Qe]??={};return t.enter??=new Map}function Ni(e){let t=e[Qe]??={};return t.leave??=new Map}function Kp(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function tD(e,t){if(!wr)return;let n=Tn.get(e);if(n&&n.classList.length>0&&nD(e,n.classList))for(let r of n.classList)t.removeClass(e,r);Qc(e)}function nD(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Jp(e,t){let n=Lt.get(t);return n===void 0?!0:t===e.target&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&e.propertyName===n.propertyName)}function Xp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function Md(e,t){if(e)for(let n of e)n();for(let n of t)n()}function Nd(e,t){let n=Ni(e).get(t.index);n&&(n.resolvers=void 0)}function Uo(e){if(je("NgAnimateEnter"),!wr)return Uo;let t=g();if(Zp(t))return Uo;let n=V();return Yp(n,t),Xp(_d(t),n,()=>rD(t,n,e)),Bf(t[re]),$f(t[re],_d(t)),Uo}function rD(e,t,n){let r=ie(t,e),o=e[A],i=e[re].get(W),s=Kp(n),a=[],c=u=>{if(u.target!==r)return;let d=u instanceof AnimationEvent?"animationend":"transitionend";i.runOutsideAngular(()=>{o.listen(r,d,l)})},l=u=>{u.target===r&&oD(u,r,o)};if(s&&s.length>0){i.runOutsideAngular(()=>{a.push(o.listen(r,"animationstart",c)),a.push(o.listen(r,"transitionstart",c))}),XI(r,s,a);for(let u of s)o.addClass(r,u);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(jf(r,Lt,wr),!Lt.has(r)){for(let u of s)o.removeClass(r,u);Qc(r)}})})}}function oD(e,t,n){let r=Tn.get(t);if(!(e.target!==t||!r)&&Jp(e,t)){e.stopImmediatePropagation();for(let o of r.classList)n.removeClass(t,o);Qc(t)}}function qo(e){if(je("NgAnimateLeave"),!wr)return qo;let t=g();if(Zp(t))return qo;let r=V();return Yp(r,t),Xp(Ni(t),r,()=>iD(t,r,e)),Bf(t[re]),qo}function iD(e,t,n){let{promise:r,resolve:o}=Wp(),i=ie(t,e),s=e[A],a=e[re].get(W);En.add(e[Oe]),(Ni(e).get(t.index).resolvers??=[]).push(o);let c=Kp(n);return c&&c.length>0?sD(i,t,e,c,s,a):o(),{promise:r,resolve:o}}function sD(e,t,n,r,o,i){tD(e,o);let s=[],a=Ni(n).get(t.index)?.resolvers,c=l=>{if(l.target===e&&(l instanceof CustomEvent||Jp(l,e))){if(l.stopImmediatePropagation(),Lt.delete(e),wd(t,e),Array.isArray(t.projection))for(let u of r)o.removeClass(e,u);Md(a,s),Nd(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",c)),s.push(o.listen(e,"transitionend",c))}),eD(t,e);for(let l of r)o.addClass(e,l);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{jf(e,Lt,wr),Lt.has(e)||(wd(t,e),Md(a,s),Nd(n,t))})})}var oc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ma(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function aD(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){y(r);let l=t.length-1;for(y(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Ma(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],m=Ma(a,f,l,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let S=n(s,u),N=n(a,f),we=n(s,d);if(Object.is(we,N)){let ki=n(l,h);Object.is(ki,S)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ai,i??=xd(e,s,a,n),ic(e,o,s,we))e.updateValue(s,d),s++,a++;else if(i.has(we))o.set(S,e.detach(s)),a--;else{let ki=e.create(s,t[s]);e.attach(s,ki),s++,a++}}for(;s<=l;)Sd(e,o,n,s,t[s]),s++}else if(t!=null){y(r);let l=t[Symbol.iterator]();y(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Ma(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new ai,i??=xd(e,s,a,n);let h=n(s,p);if(ic(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)Sd(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function ic(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Sd(e,t,n,r,o){if(ic(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ai=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function cD(e,t,n,r,o,i,s,a){je("NgControlFlow");let c=g(),l=P(),u=ce(l.consts,i);return bn(c,l,e,t,n,r,o,u,256,s,a),Zc}function Zc(e,t,n,r,o,i,s,a){je("NgControlFlow");let c=g(),l=P(),u=ce(l.consts,i);return bn(c,l,e,t,n,r,o,u,512,s,a),Zc}function lD(e,t){je("NgControlFlow");let n=g(),r=Le(),o=n[r]!==Z?n[r]:-1,i=o!==-1?ci(n,L+o):void 0,s=0;if(X(n,r,e)){let a=y(null);try{if(i!==void 0&&lp(i,s),e!==-1){let c=L+e,l=ci(n,c),u=lc(n[v],c),d=dp(l,u,n),p=Ir(n,u,t,{dehydratedView:d});Dr(l,p,s,In(u,d))}}finally{y(a)}}else if(i!==void 0){let a=cp(i,s);a!==void 0&&(a[j]=t)}}var sc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function uD(e){return e}function dD(e,t){return t}var ac=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function fD(e,t,n,r,o,i,s,a,c,l,u,d,p){je("NgControlFlow");let f=g(),h=P(),m=c!==void 0,S=g(),N=a?s.bind(S[oe][j]):s,we=new ac(m,N);S[L+e]=we,bn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),m&&bn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var cc=class extends oc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Mt];this.needsIndexUpdate||=t!==this.length,Dr(this.lContainer,n,t,In(this.templateTNode,r)),hD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,gD(this.lContainer,t),mD(this.lContainer,t)}create(t,n){let r=ti(this.lContainer,this.templateTNode.tView.ssrId);return Ir(this.hostLView,this.templateTNode,new sc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){vi(t[v],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return yD(this.lContainer,t)}};function pD(e){let t=y(null),n=be();try{let r=g(),o=r[v],i=r[n],s=n+1,a=ci(r,s);if(i.liveCollection===void 0){let l=lc(o,s);i.liveCollection=new cc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(aD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Le(),u=c.length===0;if(X(r,l,u)){let d=n+2,p=ci(r,d);if(u){let f=lc(o,d),h=dp(p,f,r),m=Ir(r,f,void 0,{dehydratedView:h});Dr(p,m,0,In(f,h))}else o.firstUpdatePass&&HE(p),lp(p,0)}}}finally{y(t)}}function ci(e,t){return e[t]}function hD(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Qe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[re];Zv(i,o),En.delete(r[Oe]),o.detachedLeaveAnimationFns=void 0}}function gD(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Qe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function mD(e,t){return ur(e,t)}function yD(e,t){return cp(e,t)}function lc(e,t){return Jn(e,t)}function eh(e,t,n){let r=g(),o=Le();if(X(r,o,t)){let i=P(),s=Ot();Zf(s,r,e,t,r[A],n)}return eh}function uc(e,t,n,r,o){Di(t,e,n,o?"class":"style",r)}function Yc(e,t,n,r){let o=g(),i=o[v],s=e+L,a=i.firstCreatePass?Pc(s,o,2,t,xc,bo(),n,r):i.data[s];if(Ac(a,o,e,t,rh),cn(a)){let c=o[v];Ii(c,o,a),mc(c,a,o)}return r!=null&&Er(o,a),Yc}function Kc(){let e=P(),t=V(),n=Rc(t);return e.firstCreatePass&&Lc(e,n),oa(n)&&ia(),na(),n.classesWithoutHost!=null&&hy(n)&&uc(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&gy(n)&&uc(e,n,g(),n.stylesWithoutHost,!1),Kc}function th(e,t,n,r){return Yc(e,t,n,r),Kc(),th}function Jc(e,t,n,r){let o=g(),i=o[v],s=e+L,a=i.firstCreatePass?nI(s,i,2,t,n,r):i.data[s];return Ac(a,o,e,t,rh),r!=null&&Er(o,a),Jc}function Xc(){let e=V(),t=Rc(e);return oa(t)&&ia(),na(),Xc}function nh(e,t,n,r){return Jc(e,t,n,r),Xc(),nh}var rh=(e,t,n,r,o)=>(rr(!0),Tf(t[A],r,$u()));function el(e,t,n){let r=g(),o=r[v],i=e+L,s=o.firstCreatePass?Pc(i,r,8,"ng-container",xc,bo(),t,n):o.data[i];if(Ac(s,r,e,"ng-container",vD),cn(s)){let a=r[v];Ii(a,r,s),mc(a,s,r)}return n!=null&&Er(r,s),el}function tl(){let e=P(),t=V(),n=Rc(t);return e.firstCreatePass&&Lc(e,n),tl}function oh(e,t,n){return el(e,t,n),tl(),oh}var vD=(e,t,n,r,o)=>(rr(!0),yv(t[A],""));function ED(){return g()}function ih(e,t,n){let r=g(),o=Le();if(X(r,o,t)){let i=P(),s=Ot();Sc(s,r,e,t,r[A],n)}return ih}function sh(e,t,n){let r=g(),o=Le();if(X(r,o,t)){let i=P(),s=Ot(),a=da(i.data),c=vE(a,s,r);Sc(s,r,e,t,c,n)}return sh}var or=void 0;function ID(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var DD=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],or,[["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"]],or,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",or,or,or],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ID],Na={};function CD(e){let t=bD(e),n=Ad(t);if(n)return n;let r=t.split("-")[0];if(n=Ad(r),n)return n;if(r==="en")return DD;throw new _(701,!1)}function Ad(e){return e in Na||(Na[e]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[e]),Na[e]}var ah=(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})(ah||{});function bD(e){return e.toLowerCase().replace(/_/g,"-")}var _r="en-US";var TD=_r;function ch(e){typeof e=="string"&&(TD=e.toLowerCase().replace(/_/g,"-"))}function lh(e,t,n){let r=g(),o=P(),i=V();return dh(o,r,r[A],i,e,t,n),lh}function uh(e,t,n){let r=g(),o=P(),i=V();return(i.type&3||n)&&yp(i,o,r,n,r[A],e,t,$o(i,r,t)),uh}function dh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=$o(r,t,i),yp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=$o(r,t,i),Ed(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=$o(r,t,i),Ed(r,t,d,o,o,c)}}function wD(e=1){return Hu(e)}function _D(e,t){let n=null,r=Av(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Rf(e,i,!0):Ov(r,i))return o}return n}function MD(e){let t=g()[oe][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=hu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?_D(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ND(e,t=0,n,r,o,i){let s=g(),a=P(),c=r?e+1:null;c!==null&&bn(s,a,c,r,o,i,null,n);let l=xn(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),ca();let d=!s[Mt]||ra();s[oe][ne].projection[l.projection]===null&&c!==null?SD(s,a,c):d&&!di(l)&&sE(a,s,l)}function SD(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=ti(i,o.tView.ssrId),a=Ir(e,o,void 0,{dehydratedView:s});Dr(i,a,0,In(o,s))}function fh(e,t,n,r){return wp(e,t,n,r),fh}function ph(e,t,n){return Tp(e,t,n),ph}function xD(e){let t=g(),n=P(),r=wo();nr(r+1);let o=Hc(n,r);if(e.dirty&&Cu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Mp(t,r);e.reset(i,tf),e.notifyOnChanges()}return!0}return!1}function AD(){return Vc(g(),wo())}function hh(e,t,n,r,o){return Sp(t,wp(e,n,r,o)),hh}function gh(e,t,n,r){return Sp(e,Tp(t,n,r)),gh}function RD(e=1){nr(wo()+e)}function kD(e){let t=Ru();return Xn(t,L+e)}function Fo(e,t){return e<<17|t<<2}function Vt(e){return e>>17&32767}function OD(e){return(e&2)==2}function PD(e,t){return e&131071|t<<17}function dc(e){return e|2}function wn(e){return(e&131068)>>2}function Sa(e,t){return e&-131069|t<<2}function LD(e){return(e&1)===1}function fc(e){return e|1}function FD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Vt(s),c=wn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||rn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Vt(e[a+1]);e[r+1]=Fo(p,a),p!==0&&(e[p+1]=Sa(e[p+1],r)),e[a+1]=PD(e[a+1],r)}else e[r+1]=Fo(a,0),a!==0&&(e[a+1]=Sa(e[a+1],r)),a=r;else e[r+1]=Fo(c,0),a===0?a=r:e[c+1]=Sa(e[c+1],r),c=r;l&&(e[r+1]=dc(e[r+1])),Rd(e,u,r,!0),Rd(e,u,r,!1),jD(t,u,e,r,i),s=Fo(a,c),i?t.classBindings=s:t.styleBindings=s}function jD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&rn(i,t)>=0&&(n[r+1]=fc(n[r+1]))}function Rd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Vt(o):wn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];VD(c,t)&&(a=!0,e[s+1]=r?fc(l):dc(l)),s=r?Vt(l):wn(l)}a&&(e[n+1]=r?dc(o):fc(o))}function VD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?rn(e,t)>=0:!1}var G={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mh(e){return e.substring(G.key,G.keyEnd)}function HD(e){return e.substring(G.value,G.valueEnd)}function BD(e){return Eh(e),yh(e,_n(e,0,G.textEnd))}function yh(e,t){let n=G.textEnd;return n===t?-1:(t=G.keyEnd=UD(e,G.key=t,n),_n(e,t,n))}function $D(e){return Eh(e),vh(e,_n(e,0,G.textEnd))}function vh(e,t){let n=G.textEnd,r=G.key=_n(e,t,n);return n===r?-1:(r=G.keyEnd=qD(e,r,n),r=kd(e,r,n,58),r=G.value=_n(e,r,n),r=G.valueEnd=WD(e,r,n),kd(e,r,n,59))}function Eh(e){G.key=0,G.keyEnd=0,G.value=0,G.valueEnd=0,G.textEnd=e.length}function _n(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function UD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function qD(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function kd(e,t,n,r){return t=_n(e,t,n),t<n&&t++,t}function WD(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Od(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Od(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Od(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Ih(e,t,n){return Ch(e,t,n,!1),Ih}function Dh(e,t){return Ch(e,t,null,!0),Dh}function GD(e){bh(_h,zD,e,!1)}function zD(e,t){for(let n=$D(t);n>=0;n=vh(t,n))_h(e,mh(t),HD(t))}function QD(e){bh(tC,ZD,e,!0)}function ZD(e,t){for(let n=BD(t);n>=0;n=yh(t,n))Yn(e,mh(t),!0)}function Ch(e,t,n,r){let o=g(),i=P(),s=tr(2);if(i.firstUpdatePass&&wh(i,e,s,r),t!==Z&&X(o,s,t)){let a=i.data[be()];Mh(i,a,o,o[A],e,o[s+1]=rC(t,n),r,s)}}function bh(e,t,n,r){let o=P(),i=tr(2);o.firstUpdatePass&&wh(o,null,i,r);let s=g();if(n!==Z&&X(s,i,n)){let a=o.data[be()];if(Nh(a,r)&&!Th(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=lo(c,n||"")),uc(o,a,s,n,r)}else nC(o,a,s,s[A],s[i+1],s[i+1]=eC(e,t,n),r,i)}}function Th(e,t){return t>=e.expandoStartIndex}function wh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[be()],s=Th(e,n);Nh(i,r)&&t===null&&!s&&(t=!1),t=YD(o,i,t,r),FD(o,i,t,n,s,r)}}function YD(e,t,n,r){let o=da(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xa(null,e,t,n,r),n=gr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xa(o,e,t,n,r),i===null){let c=KD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xa(null,e,t,c[1],r),c=gr(c,t.attrs,r),JD(e,t,r,c))}else i=XD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(wn(r)!==0)return e[Vt(r)]}function JD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Vt(o)]=r}function XD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=gr(r,s,n)}return gr(r,t.attrs,n)}function xa(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=gr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function gr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Yn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eC(e,t,n){if(n==null||n==="")return J;let r=[],o=Ht(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function _h(e,t,n){Yn(e,t,Ht(n))}function tC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Yn(e,r,n)}function nC(e,t,n,r,o,i,s,a){o===Z&&(o=J);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&Mh(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Mh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=LD(l)?Pd(c,t,n,o,wn(l),s):void 0;if(!li(u)){li(i)||OD(l)&&(i=Pd(c,null,n,o,a,s));let d=Zs(be(),n);cE(r,s,d,o,i)}}function Pd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Z&&(p=d?J:void 0);let f=d?yo(p,r):u===r?p:void 0;if(l&&!li(f)&&(f=yo(c,r)),li(f)&&(a=f,s))return a;let h=e[o+1];o=s?Vt(h):wn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yo(c,r))}return a}function li(e){return e!==void 0}function rC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=We(Ht(e)))),e}function Nh(e,t){return(e.flags&(t?8:16))!==0}function oC(e,t=""){let n=g(),r=P(),o=e+L,i=r.firstCreatePass?xn(r,o,1,t,null):r.data[o],s=iC(r,n,i,t,e);n[o]=s,No()&&Mc(r,n,s,i),un(i,!1)}var iC=(e,t,n,r,o)=>(rr(!0),gv(t[A],r));function Sh(e,t,n,r=""){return X(e,Le(),n)?t+Ie(n)+r:Z}function sC(e,t,n,r,o,i=""){let s=ua(),a=Dn(e,s,n,o);return tr(2),a?t+Ie(n)+r+Ie(o)+i:Z}function aC(e,t,n,r,o,i,s,a=""){let c=ua(),l=jc(e,c,n,o,s);return tr(3),l?t+Ie(n)+r+Ie(o)+i+Ie(s)+a:Z}function xh(e){return nl("",e),xh}function nl(e,t,n){let r=g(),o=Sh(r,e,t,n);return o!==Z&&rl(r,be(),o),nl}function Ah(e,t,n,r,o){let i=g(),s=sC(i,e,t,n,r,o);return s!==Z&&rl(i,be(),s),Ah}function Rh(e,t,n,r,o,i,s){let a=g(),c=aC(a,e,t,n,r,o,i,s);return c!==Z&&rl(a,be(),c),Rh}function rl(e,t,n){let r=Zs(t,e);mv(e[A],r,n)}function kh(e,t,n){qc(t)&&(t=t());let r=g(),o=Le();if(X(r,o,t)){let i=P(),s=Ot();Zf(s,r,e,t,r[A],n)}return kh}function cC(e,t){let n=qc(e);return n&&e.set(t),n}function Oh(e,t){let n=g(),r=P(),o=V();return dh(r,n,n[A],o,e,t),Oh}function lC(e,t,n=""){return Sh(g(),e,t,n)}function Ld(e,t,n){let r=P();r.firstCreatePass&&Ph(t,r.data,r.blueprint,fe(e),n)}function Ph(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ph(e[i],t,n,r,o);else{let i=P(),s=g(),a=V(),c=bt(e)?e:U(e.provide),l=Bs(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(bt(e)||!e.multi){let f=new Ft(l,o,br,null),h=Ra(c,t,o?u:u+p,d);h===-1?(Oa(Zo(a,s),i,c),Aa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ra(c,t,u+p,d),h=Ra(c,t,u,u+p),m=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!m){Oa(Zo(a,s),i,c);let N=fC(o?dC:uC,n.length,o,r,l,e);!o&&S&&(n[h].providerFactory=N),Aa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Lh(n[o?h:f],l,!o&&r);Aa(i,e,f>-1?f:h,N)}!o&&r&&S&&n[h].componentProviders++}}}function Aa(e,t,n,r){let o=bt(t),i=Eu(t);if(o||i){let c=(i?U(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Lh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ra(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uC(e,t,n,r,o){return pc(this.multi,[])}function dC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ar(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),pc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],pc(i,s);return s}function pc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function fC(e,t,n,r,o,i){let s=new Ft(e,n,br,null);return s.multi=[],s.index=t,s.componentProviders=0,Lh(s,o,r&&!n),s}function pC(e,t){return n=>{n.providersResolver=(r,o)=>Ld(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Ld(r,o?o(t):t,!0))}}function hC(e,t){let n=ge()+e,r=g();return r[n]===Z?pt(r,n,t()):wi(r,n)}function gC(e,t,n){return Fh(g(),ge(),e,t,n)}function mC(e,t,n,r){return jh(g(),ge(),e,t,n,r)}function yC(e,t,n,r,o){return Vh(g(),ge(),e,t,n,r,o)}function vC(e,t,n,r,o,i,s){return CC(g(),ge(),e,t,n,r,o,i)}function EC(e,t,n,r,o,i,s){let a=ge()+e,c=g(),l=_i(c,a,n,r,o,i);return X(c,a+4,s)||l?pt(c,a+5,t(n,r,o,i,s)):wi(c,a+5)}function IC(e,t,n,r,o,i,s,a){let c=ge()+e,l=g(),u=_i(l,c,n,r,o,i);return Dn(l,c+4,s,a)||u?pt(l,c+6,t(n,r,o,i,s,a)):wi(l,c+6)}function DC(e,t,n,r,o,i,s,a,c){let l=ge()+e,u=g(),d=_i(u,l,n,r,o,i);return jc(u,l+4,s,a,c)||d?pt(u,l+7,t(n,r,o,i,s,a,c)):wi(u,l+7)}function Si(e,t){let n=e[t];return n===Z?void 0:n}function Fh(e,t,n,r,o,i){let s=t+n;return X(e,s,o)?pt(e,s+1,i?r.call(i,o):r(o)):Si(e,s+1)}function jh(e,t,n,r,o,i,s){let a=t+n;return Dn(e,a,o,i)?pt(e,a+2,s?r.call(s,o,i):r(o,i)):Si(e,a+2)}function Vh(e,t,n,r,o,i,s,a){let c=t+n;return jc(e,c,o,i,s)?pt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Si(e,c+3)}function CC(e,t,n,r,o,i,s,a,c){let l=t+n;return _i(e,l,o,i,s,a)?pt(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Si(e,l+4)}function bC(e,t){let n=P(),r,o=e+L;n.firstCreatePass?(r=TC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ot(r.type,!0)),s,a=te(br);try{let c=Qo(!1),l=i();return Qo(c),Ys(n,g(),o,l),l}finally{te(a)}}function TC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function wC(e,t,n){let r=e+L,o=g(),i=Xn(o,r);return ol(o,r)?Fh(o,ge(),t,i.transform,n,i):i.transform(n)}function _C(e,t,n,r){let o=e+L,i=g(),s=Xn(i,o);return ol(i,o)?jh(i,ge(),t,s.transform,n,r,s):s.transform(n,r)}function MC(e,t,n,r,o){let i=e+L,s=g(),a=Xn(s,i);return ol(s,i)?Vh(s,ge(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function ol(e,t){return e[v].data[t].pure}function NC(e,t){return Ci(e,t)}var ui=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},SC=(()=>{class e{compileModuleSync(n){return new si(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=As(n),i=xf(o.declarations).reduce((s,a)=>{let c=Ae(a);return c&&s.push(new ft(c)),s},[]);return new ui(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hh=(()=>{class e{applicationErrorHandler=I(ut);appRef=I(Tr);taskService=I(lt);ngZone=I(W);zonelessEnabled=I(fn);tracing=I(Sn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Ao,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Wu:ya;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bh(){return[{provide:Ee,useExisting:Hh},{provide:W,useClass:Gn},{provide:fn,useValue:!0}]}function xC(){return typeof $localize<"u"&&$localize.locale||_r}var il=new R("",{factory:()=>I(il,{optional:!0,skipSelf:!0})||xC()});var Mr=class{destroyed=!1;listeners=null;errorHandler=I(Ge,{optional:!0});destroyRef=I(Ye);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(zn(953,!1));return}if(this.listeners===null)return;let n=y(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{y(n)}}};function AC(e,t){return Vn(e,t?.equal)}var Ri=Symbol("InputSignalNode#UNSET"),Kh=Q(z({},Hn),{transformFn:void 0,applyValueToInputSignal(e,t){en(e,t)}});function Jh(e,t){let n=Object.create(Kh);n.value=e,n.transformFn=t?.transform;function r(){if(Et(n),n.value===Ri){let o=null;throw new _(-950,o)}return n.value}return r[$]=n,r}var $h=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>ef(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function r0(e){return new Mr}function Uh(e,t){return Jh(e,t)}function kC(e){return Jh(Ri,e)}var o0=(Uh.required=kC,Uh);function qh(e,t){return $c(t)}function OC(e,t){return Uc(t)}var i0=(qh.required=OC,qh);function Wh(e,t){return $c(t)}function PC(e,t){return Uc(t)}var s0=(Wh.required=PC,Wh);function a0(e,t){return Np(t)}function Xh(e,t){let n=Object.create(Kh),r=new Mr;n.value=e;function o(){return Et(n),Gh(n.value),n.value}return o[$]=n,o.asReadonly=xo.bind(o),o.set=i=>{n.equal(n.value,i)||(en(n,i),r.emit(i))},o.update=i=>{Gh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Gh(e){if(e===Ri)throw new _(952,!1)}function zh(e,t){return Xh(e,t)}function LC(e){return Xh(Ri,e)}var c0=(zh.required=LC,zh);var FC=(()=>{class e{zone=I(W);changeDetectionScheduler=I(Ee);applicationRef=I(Tr);applicationErrorHandler=I(ut);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jC=new R("",{factory:()=>!1});function VC({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new W(Q(z({},eg()),{scheduleInRootZone:t})),[{provide:fn,useValue:!1},{provide:W,useFactory:e},{provide:_t,multi:!0,useFactory:()=>{let n=I(FC,{optional:!0});return()=>n.initialize()}},{provide:_t,multi:!0,useFactory:()=>{let n=I(HC);return()=>{n.initialize()}}},{provide:Ao,useValue:t??ma}]}function l0(e){let t=e?.scheduleInRootZone,n=VC({ngZoneFactory:()=>{let r=eg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&je("NgZone_CoalesceEvent"),new W(r)},scheduleInRootZone:t});return vo([{provide:jC,useValue:!0},n])}function eg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var HC=(()=>{class e{subscription=new B;initialized=!1;zone=I(W);pendingTasks=I(lt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var al=new R(""),BC=new R("");function Nr(e){return!e.moduleRef}function $C(e){let t=Nr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{Nr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ut),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Nr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(al);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(al);s.add(i),e.moduleRef.onDestroy(()=>{sr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qC(r,n,()=>{let i=t.get(lt),s=i.add(),a=t.get(zc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(il,_r);if(ch(c||_r),!t.get(BC,!0))return Nr(e)?t.get(Tr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Nr(e)){let u=t.get(Tr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return UC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var UC;function qC(e,t,n){try{let r=n();return Wc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var xi=null;function WC(e=[],t){return ve.create({name:t,providers:[{provide:Hs,useValue:"platform"},{provide:al,useValue:new Set([()=>xi=null])},...e]})}function GC(e=[]){if(xi)return xi;let t=WC(e);return xi=t,Up(),zC(t),t}function zC(e){let t=e.get(lf,null);Eo(e,()=>{t?.forEach(n=>n())})}function u0(){return!1}var QC=1e4;var d0=QC-1e3;var f0=(()=>{class e{static __NG_ELEMENT_ID__=ZC}return e})();function ZC(e){return YC(V(),g(),(e&16)===16)}function YC(e,t,n){if(Ze(e)&&!n){let r=he(e.index,t);return new dt(r,r)}else if(e.type&175){let r=t[oe];return new dt(r,t)}return null}var cl=class{constructor(){}supports(t){return Fc(t)}create(t){return new ll(t)}},KC=(e,t)=>t,ll=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||KC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Qh(r,o,i)?n:r,a=Qh(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Fc(t))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,mp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ul(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ai),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ai),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ul=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},dl=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ai=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new dl,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Qh(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var fl=class{constructor(){}supports(t){return t instanceof Map||Ti(t)}create(){return new pl}},pl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ti(t)))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new hl(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},hl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Zh(){return new JC([new cl])}var JC=(()=>{class e{factories;static \u0275prov=H({token:e,providedIn:"root",factory:Zh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Zh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new _(901,!1)}}return e})();function Yh(){return new XC([new fl])}var XC=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:Yh});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Yh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new _(901,!1)}}return e})();function p0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(x.BootstrapApplicationStart);try{let i=o?.injector??GC(r),s=[Bh(),zu,...n||[]],a=new hr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return $C({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(x.BootstrapApplicationEnd)}}function h0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function g0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var sl=Symbol("NOT_SET"),tg=new Set,eb=Q(z({},Hn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:sl,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==sl&&!Jt(this))return this.signal;try{for(let o of this.cleanup??tg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=It(this),r;try{r=this.userFn.apply(null,t)}finally{Kt(this,n)}return(this.value===sl||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),gl=class extends cr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ye),s),this.scheduler=o;for(let a of Tc){let c=n[a];if(c===void 0)continue;let l=Object.create(eb);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Et(l),l.value),l.signal[$]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??tg)n()}finally{rt(t)}}};function m0(e,t){let n=t?.injector??I(ve),r=n.get(Ee),o=n.get(mi),i=n.get(Sn,null,{optional:!0});o.impl??=n.get(wc);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(dn,null,{optional:!0}),c=new gl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function y0(e,t){let n=Ae(e),r=t.elementInjector||on();return new ft(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function v0(e){let t=Ae(e);if(!t)return null;let n=new ft(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var ht=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(ht||{}),T0="*";function w0(e,t){return{type:ht.Trigger,name:e,definitions:t,options:{}}}function _0(e,t=null){return{type:ht.Animate,styles:t,timings:e}}function M0(e,t=null){return{type:ht.Sequence,steps:e,options:t}}function N0(e){return{type:ht.Style,styles:e,offset:null}}function S0(e,t,n){return{type:ht.State,name:e,styles:t,options:n}}function x0(e){return{type:ht.Keyframes,steps:e}}function A0(e,t,n=null){return{type:ht.Transition,expr:e,animation:t,options:n}}var ng=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},rg=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},R0="!";export{B as a,ag as b,T as c,se as d,Pn as e,Ln as f,nt as g,xg as h,He as i,zb as j,An as k,Rn as l,Me as m,$i as n,Ag as o,Rg as p,Fn as q,Fl as r,jl as s,tt as t,wg as u,Be as v,jn as w,Zt as x,Og as y,Pg as z,Wi as A,Gi as B,$g as C,Ug as D,qg as E,$e as F,Gg as G,zg as H,Zg as I,Ui as J,Yg as K,Kg as L,Mg as M,zi as N,Ng as O,Xg as P,em as Q,tm as R,nm as S,rm as T,Zi as U,Wl as V,om as W,im as X,sm as Y,am as Z,Pl as _,cm as $,no as aa,mm as ba,_ as ca,zn as da,uo as ea,H as fa,su as ga,Em as ha,R as ia,Se as ja,I as ka,vo as la,Hs as ma,le as na,Eo as oa,Su as pa,xu as qa,Bu as ra,ve as sa,ga as ta,Ye as ua,lt as va,Ue as wa,W as xa,Ge as ya,ut as za,So as Aa,Ee as Ba,Ia as Ca,Qu as Da,Da as Ea,iy as Fa,sy as Ga,cy as Ha,_y as Ia,ef as Ja,mr as Ka,Yo as La,ky as Ma,Oy as Na,lf as Oa,Ly as Pa,Fy as Qa,jy as Ra,Vy as Sa,jt as Ta,Ht as Ua,pi as Va,qy as Wa,Wy as Xa,Gy as Ya,zy as Za,Qy as _a,yc as $a,bf as ab,vr as bb,Iv as cb,Nf as db,Tv as eb,wv as fb,Bv as gb,Jo as hb,En as ib,Sn as jb,je as kb,Vf as lb,dr as mb,Cr as nb,fr as ob,qE as pb,br as qb,GE as rb,Mi as sb,Cn as tb,xp as ub,MI as vb,Ap as wb,SI as xb,AI as yb,OI as zb,PI as Ab,FI as Bb,Pp as Cb,Fp as Db,jp as Eb,ZI as Fb,Vp as Gb,Wc as Hb,Bp as Ib,YI as Jb,$p as Kb,Tr as Lb,Gp as Mb,zp as Nb,Uo as Ob,qo as Pb,cD as Qb,lD as Rb,uD as Sb,dD as Tb,fD as Ub,pD as Vb,eh as Wb,Yc as Xb,Kc as Yb,th as Zb,Jc as _b,Xc as $b,nh as ac,el as bc,tl as cc,oh as dc,ED as ec,ih as fc,sh as gc,CD as hc,ah as ic,lh as jc,uh as kc,wD as lc,MD as mc,ND as nc,fh as oc,ph as pc,xD as qc,AD as rc,hh as sc,gh as tc,RD as uc,kD as vc,Ih as wc,Dh as xc,GD as yc,QD as zc,oC as Ac,xh as Bc,nl as Cc,Ah as Dc,Rh as Ec,kh as Fc,cC as Gc,Oh as Hc,lC as Ic,pC as Jc,hC as Kc,gC as Lc,mC as Mc,yC as Nc,vC as Oc,EC as Pc,IC as Qc,DC as Rc,bC as Sc,wC as Tc,_C as Uc,MC as Vc,NC as Wc,SC as Xc,il as Yc,AC as Zc,$h as _c,r0 as $c,o0 as ad,i0 as bd,s0 as cd,a0 as dd,c0 as ed,l0 as fd,u0 as gd,f0 as hd,JC as id,XC as jd,p0 as kd,h0 as ld,g0 as md,m0 as nd,y0 as od,v0 as pd,ht as qd,T0 as rd,w0 as sd,_0 as td,M0 as ud,N0 as vd,S0 as wd,x0 as xd,A0 as yd,ng as zd,rg as Ad,R0 as Bd};
|